The following is a brief introduction to the basic principles of oscilloscopes, and then a brief comparison between digital oscilloscopes and analog oscilloscopes. Physics theory can prove that when a heavy object fixed at one end by a thin rope swings, the distance from the central vertical line satisfies the sine wave law. The hourglass experiment can clearly show this waveform that changes with time: use an hourglass as a heavy object, and lay a piece of paper on the table under the hourglass. When the hourglass starts to swing, let the paper move at a constant speed. In this way, the fine sand flowing out of the hourglass leaves a sine wave mark on the paper, as shown in Figure 1. Using this design idea, the waveform can be unfolded on a plane (corresponding to the flow of time).
This design concept is widely used in waveform recording and display. For example, an electrocardiograph uses an electric heating needle that swings in place to record the ECG waveform on a recording paper tape that moves at a constant speed.
Although the structure of the electrocardiograph can record voltage signals, in a large number of applications, the oscilloscope does not need to consume paper to record waveforms, but only observes waveforms. Therefore, reusable CRT oscilloscopes are applied to the design of oscilloscopes. The analog oscilloscope adds the two electrical signals to be observed to the X and Y channels of the oscilloscope to control the offset of the electron beam, thereby obtaining the display waveform of the relationship between the two electrical signals on the fluorescent screen. This analog oscilloscope is large in size, heavy in weight, high in cost, expensive, and not suitable for measuring non-periodic, single-shot signals. The digital oscilloscope first samples the analog signal at high speed to obtain the corresponding digital data and stores it. The sampled digital signal is processed and calculated using digital signal processing technology to obtain the required various signal parameters. The signal waveform is drawn according to the obtained signal parameters, and the measured signal can be analyzed in real time and transiently, so that the user can understand the signal quality and diagnose the fault quickly and accurately. At the beginning of measurement, the operator can select the measurement type, measurement parameters and measurement range through the operation interface (automatic setting can be selected, and the instrument automatically sets the optimal range); the microprocessor automatically interprets the measurement settings to the sampling circuit and starts data acquisition; after the acquisition is completed, the microprocessor processes the sampled data according to the measurement settings, extracts the required measurement parameters, and sends the results to the display component.
Both analog and digital oscilloscopes can usually be used to observe simple repetitive signals well. However, both have their advantages and limitations, as shown in Figure 2. For analog oscilloscopes, it is difficult to display signals with very low frequencies because the afterglow time of the CRT is very short. Since the brightness of the scanning track on the oscilloscope tube is inversely proportional to the scanning speed, it is difficult to see low repetition rate signals with fast rise and fall times. The brightness and scanning speed of the scanning track of the digital oscilloscope are independent of the signal repetition rate, so they can be well reflected. For displaying the fast rise and fall edges of repetitive signals with high repetition rates, there is almost no difference in the performance of digital storage oscilloscopes and analog oscilloscopes, and both oscilloscopes can be used to observe signal waveforms well. When measuring signal parameters, the advantage of digital storage oscilloscopes is that they have the ability to automatically measure various parameters. When using an analog oscilloscope, you must set the cursor yourself and analyze and understand the displayed waveform to obtain the measurement results. However, if you need to make adjustments, it is generally best to use an analog oscilloscope. This is because the real-time display capability of the analog oscilloscope enables it to display the input voltage at all times. Its waveform update rate (the number of times the scan track is drawn on the screen per second) is very high, so any changes in the signal will be displayed immediately. In contrast to analog oscilloscopes, digital oscilloscopes display waveforms reconstructed from acquired waveform data, so their waveform update rate is much lower than that of analog oscilloscopes. As a result, there is a certain time delay between the signal changing and the changed signal being displayed on the screen, which is a major disadvantage of digital oscilloscopes.
But overall, digital oscilloscopes still have great advantages.
When making your own oscilloscope, should you make an analog oscilloscope or a digital oscilloscope? Of course, if you want to make one, make a digital one! Because making a digital oscilloscope is easier, please read on:
1. Analog oscilloscopes require CRT oscilloscopes that are compatible with the bandwidth. As the frequency increases, the process requirements for CRT oscilloscopes are strict, the cost increases, and there are technical bottlenecks. Therefore, it is not easy to buy in the electronics market. Most of the ones with good performance are imported brands. They are expensive and need to deal with many problems, such as generating anode high voltage, scanning sawtooth waves, and electromagnetic shielding of the oscilloscope, etc. Moreover, the volume is large, let alone portability. Digital oscilloscopes only need high-speed A/D converters that are compatible with the bandwidth. Other memories, D/A converters, and displays are all relatively low-speed components. The display can use LCD display modules, which are easy to buy in the electronics market, are not expensive, and are simple to use. You only need to consider the interface with the microprocessor, which is small in size and consumes much less power than CRT oscilloscopes. It is easy to make an oscilloscope portable using an LCD display module, and it is no problem to make it into an oscilloscope! Of course, LCD display modules also have their shortcomings, such as brightness and contrast are not as good as CRT oscilloscopes, but considering all factors, the advantages of LCD display modules are still quite obvious.
2. The analog oscilloscope is a complete hardware structure. It is difficult to upgrade the function after it is completed. However, the digital oscilloscope is different. After ensuring the basic hardware, its control and other functions are realized by software. This makes it very easy to upgrade. You can even use it as a development board to practice programming! Are you still hesitating to make an oscilloscope that can be used as a development board?
Based on the above two reasons, making a digital oscilloscope is of course the best choice!
This article introduces a portable digital oscilloscope I made (as shown in Figure 3).
Because of the 320×240 resolution display, the displayed waveform is very detailed. Figures 4 to 11 are actual photos of the oscilloscope measuring signals of different frequencies. [page]
When measuring a 5Hz signal with a general analog oscilloscope, you can only see a bright spot moving on the screen, and you can't see the complete waveform at all. However, the oscilloscope I made can display the complete waveform, which is a great advantage when measuring low-frequency signals. [page]
The oscilloscope consists of 6 circuits, namely:
1. Input program-controlled amplification (attenuation) circuit 2. High-speed AD conversion circuit 3. FIFO storage circuit 4. Display control circuit 5. Clock generation circuit 6. Frequency measurement and control circuit Among these parts, the most important are the program-controlled amplification circuit and the AD conversion circuit, because these two circuits are the throat of this digital oscilloscope. The program-controlled amplification circuit determines the input bandwidth and vertical resolution of the oscilloscope, and the AD conversion circuit determines the horizontal resolution of the oscilloscope. These two resolutions directly determine the performance of the oscilloscope. These two parts of the circuit convert the measured signal into the data signal required by the subsequent processing circuit. Fortunately, these parts of the circuit can be composed of high-performance integrated circuits plus a small number of peripheral devices. The circuit design is simple and debugging is also simple. I think the most difficult part of the entire oscilloscope should be the program, that is, the software aspect.
The software is responsible for all data processing and control tasks of the oscilloscope, including AD sampling control, horizontal sweep speed control, vertical sensitivity control, display processing, peak-to-peak value measurement, frequency measurement, etc. In order to improve performance, this oscilloscope uses two single-chip microcomputers, one for display and one for control, so the design of the program also needs to consider the communication between the two single-chip microcomputers, which will be described and explained in detail in each chapter of the article.
Through the production of this oscilloscope, you will learn a lot of things, such as how to use operational amplifiers to design combined amplifier circuits, the application of high-speed AD converters, the application of FIFO memories, the SPI bus interface protocol of AVR microcontrollers, and the driving of high-resolution dot-matrix LCD displays. These contents are also very useful for other electronic designs.
Previous article:Three steps to faster, in-depth debugging of high-speed storage failures
Next article:Engineers' Stories: An Oscilloscope Allergic to Beautiful Engineers?!
- Keysight Technologies Helps Samsung Electronics Successfully Validate FiRa® 2.0 Safe Distance Measurement Test Case
- From probes to power supplies, Tektronix is leading the way in comprehensive innovation in power electronics testing
- Seizing the Opportunities in the Chinese Application Market: NI's Challenges and Answers
- Tektronix Launches Breakthrough Power Measurement Tools to Accelerate Innovation as Global Electrification Accelerates
- Not all oscilloscopes are created equal: Why ADCs and low noise floor matter
- Enable TekHSI high-speed interface function to accelerate the remote transmission of waveform data
- How to measure the quality of soft start thyristor
- How to use a multimeter to judge whether a soft starter is good or bad
- What are the advantages and disadvantages of non-contact temperature sensors?
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- MSP430F5438 study notes FLAHS operation
- Wiring diagram of Hall current sensor
- Application of switch Hall sensor DRV5032 in TWS headset design
- Some learning experiences of NBIoT
- EEWORLD University Hall ---- Digital Signal Processing Beihang Wang Jun
- Application analysis of CC1310 low power consumption advantage
- I am currently using powerSTEP01 to drive a 86mm stepper motor. Does anyone have a driver for this chip?
- C6000 Program Optimization Process and Method
- "Analog input signal" protection circuit
- Simple---a TMS320F28035 key driver