1)最簡單原型
2) 介紹10M數字示波器的特點
最大輸入頻率:5MHz
最大顯示頻率不走樣:10MHz
輸入電路頻寬:20MHz
顯示解析度:240x128
解析度靈敏度:40mV/div
耦合:DC輸入
阻抗:10K
電源:12V
時間(數字調整):1s/div,500ms/div,200ms/div,100ms/div,50ms/div
/,20ms/div,10ms/div,5ms/div,2ms/div,1ms/div,500us /格,200us/div,100us/div,50us/div,20us/div,10us/div,5us/div,2us/div,1us/div,500ns/div
觸發電平:可調
數字偏移:數位控制
主要元件:
ATmega162
XC9572 - PC44
IDT7201
ADS830
OPA2652U
PCB大概一下午的時間就可以製作出來!
Published on Saturday, 07 July 2012 12:27Written by AdiHits: 33471
1. Preamble
The oscilloscope is one of the the most important tools to be used by any electronics hobbyist but not everybody can afford to have one. As commercial scopes are often too expensive, almost every electronics hobbyist thought at a certain time to build one from scratch. The classical oscilloscope (cathode ray tube) is difficult to build at home because of its size, mechanical fragility, high voltages presence, etc. An alternative solution is the modern "PC oscilloscope", having the advantage of post-processing and recording capabilities, and kind of reduced complexity. However, this solution is often non-portable, expensive (requires an PC) and dangerous for the PC if not isolated from it's chassis. The third solution, commonly used these days by all commercial oscilloscope manufacturers, is the digital oscilloscope with LCD screen. Therefore, the authors decided to use this solution, and tried to develop it using common parts from today's component retailers.
2. Features
Maximum sample frequency: 40MSPS
Maximum input frequency: 5MHz
Maximum displayed frequency without aliasing: 10MHz
Input circuit bandwidth: 20MHz
Display resolution: 240x128 total, trace resolution 200x125
Sensitivity: 40mV/div
Coupling: DC
Input impedance: 10K
Power supply: single DC source 8V..10V, 1A
No incremental mode
Time base: 1s/div, 500ms/div, 200ms/div, 100ms/div, 50ms/div/, 20ms/div, 10ms/div, 5ms/div, 2ms/div, 1ms/div, 500us/div, 200us/div, 100us/div, 50us/div, 20us/div, 10us/div, 5us/div, 2us/div, 1us/div, 500ns/div
Trigger: digitally adjustable
Trace offset: digitally adjustable
3. Electrical diagram
Short description:
The Input circuit is built with one OPA2652 operational amplifier from Texas Instruments, and together with a low-pass RC filter sets the bandwidth to 20MHz. Additionally, the input circuit handles the vertical trace shift (offset) using the input from a PWM signal generated by the microcontroller (pin 15). The ADC converter is an 8bit ADS830 from Texas Instruments, capable of working up to 60MSPS. In this design, the ADC works at a maximum of 40MHz, and this clock is generated by the QOS40 (plastic) or QOM40 (metal) oscillator, wich is programmed (divided) through the CPLD circuit (XC9572 from Xilinx). To handle the high throughput of the ADC at high-rate acquisition, the digital output of the ADC is connected to a high speed FIFO memory IDT7201 (512 bytes long) from IDT. After a full memory buffer is reached, the whole memory content is discarded to microcontroller's memory, where the samples are further processed and then displayed on the LCD. The microcontroller is an ATMega162 from Atmel, a member of the popular AVR family. The display is a LMG6402PFLR from Hitachi, but any other HD61830B compatible LCD displays can be used (the pinout should be checked for compatibility, of course). The power supply circuit is built with two 7805 series regulators, and the negative voltages (needed for the LCD and the input circuit) are obtained using three ICL7660A integrated circuits from Intersil.
4. PCB
The PCB is organised as two separate boards: the mainboard and the keyboard. Both of them are designed as single side boards, easy to manufacture using amateur methods. The authors had realised them using the Press'n'Peel method, but any other method can be used if enough accuracy is obtained (SMD parts were used on the board).
Because of the high complexity of the design and routing constraints derived from single side routing, a few of the connexions must be soldered as "air wires". You can find instructions for "air wires" connections in the picture above.
5. Software
The software for the microcontroller was developed in C and compiled with GCC for AVR. Additionally, in the development phase, Avrstudio 4.xx debugger was also used (for the connection with an JTAG ICE emulator). The microcontroller can be programmed using any AVR programmer, like STK200, PonyProg, AVR910, etc.
6. Firmware
The CPLD circuit was used in the design to generate the clock for the ADC (time base is devided from the XTAL circuit) and also for keyboard interfacing (serialisation). The CPLD circuit must be programmed using the IMPACT module from Xilinx ISE WebPack software (free of charge) and a simple programmer circuit, XilinxCable (very easy to build).
7. Bill of materials
Qty Value Parts
9 0.1uF C10, C11, C13, C15, C17, C19, C22, C23, C24
5 1K R7, R8, R9, R10, R11
1 1N4004 D1
7 4.7uF C5, C9, C12, C16, C18, C25, C28
1 4.7uF C14
1 4K7 R2
1 4K7 R3
2 10K R4, R6
1 10K R1
3 10uF C3, C4, C26
3 10uF/25V C6, C7, C27
1 40.0000MHz QG1
1 47pF C21
1 50 R5
2 78XX U$1, U$4
2 100uF/16V C2, C8
1 150pF C20
1 2200uF/25V C1
1 ADS830 U$9
1 ATMEGA162 U$5
1 BNC U$7
1 DCJ025 U$2
3 ICL7660CPA IC1, IC2, IC4
1 IDT7201 U$8
1 LMG6402PLFR_2X9 U$3
1 OPA2652U IC3
1 XC9572-PC44 U$6
8. Pictures Updated
More pictures from wordwide eOscope builders...
9. Download
The archive contains the schematics, PCB and the byte-files needed to program the microcontroller and the cpld:eoscope_1.2.zip
The development files (Eagle PCB files, C software and the VHDL code for the CPLD) are contained in the following archive :eoscope_develop.zip
NEW Toshiba T6963 based software(Ver1.3):software_T6963_1.3.zip
T6963 based hardware Eagle files:hardware_T6963.zip
10. License
The software of the project is free to use even for comercial purposes, subject to the GPLv3 license.
If you have questions related to the projects don't hesitate to use the comments section bellow, we will try to answer all your support requests. For special requests or discussions you can contact us on e-mail:
沒有留言:
張貼留言
注意:只有此網誌的成員可以留言。