Figure 1 A basic feedback system
Q: You make a lot of sense. I have a real project that I would like to get your advice on.
Answer: Please speak.
Q: To qualify a recent project, I have been using a programmable feedback network and have been asked to collect real data to verify that it is meeting the required performance. To collect the data, I sized up the test equipment I already had and connected it together to form a crude open-loop test system using a IEEE-488 interface board, a simple digital oscilloscope, and an arbitrary function generator (see Figure 2).
Figure 2 Functional model of the test system
I used an existing GPIB interface development software library and wrote a program to collect the data points for drawing the Bode plot, which is very similar to the manual drawing of Bode plots we learned in engineering college. The function generator is set to output a sine wave, and the frequency of the sine wave is gradually changed as the "input" of the system. Then, the input and output of the system are measured with an oscilloscope, and the gain at a given frequency point is calculated from this.
A: So what was the result?
Q: After running the DUT through multiple iterations, the problem of exceeding the scheduled time for open-loop measurements using standard lab equipment became apparent. High-precision measurements require many data points, and for each data point, a significant amount of time is spent simply exchanging data between the software and the test equipment. The resolution of the oscilloscope also plays a role: triggering becomes difficult when input amplitudes are small because noise dominates the system. I also observed intermittent erroneous samples (see Figure 3). Analyzing the erroneous samples, I found that they occurred before the test equipment had finished updating, which was actually a system stabilization time issue. In the end, each test took an incredible 35 minutes. When analyzing how this time was used in the test, I found that for each data point, most of the time was spent communicating between the host and the test equipment, rather than actually testing.
Figure 3 Data samples collected from three different tests of the same structure
A: Execution time can be improved if hardware functions are used instead of software routines. For example, using the existing I2C serial bus on a programmable device will take less time to transmit ASCII characters to form a text-based command message. With this adjustment, several abstraction layers and command interpretation operations are eliminated from the test loop, resulting in precise and direct control of system operation.
Q: So, what hardware circuits will be needed to implement such a testing method?
A: Use a broadband direct digital synthesizer (DDS), such as the AD5932 1, to replace the function generator. This DDS can provide excellent frequency range and high-quality sine wave output for your design. When using the AD8307 2 logarithmic amplifier and a differential amplifier, gain measurement becomes very simple. The last key acquisition system hardware is an analog-to-digital converter to replace the digital oscilloscope. Using a multi-channel input ADC, such as the AD7992 3 or AD7994 4, will reduce the total cost of the system. In this way, we can use two of the existing channels to acquire the results of the logarithmic amplifier and then use software to complete the difference calculation. The modified test structure is shown in Figure 4.
Figure 4 New test system block diagram
Q: How is gain measurement performed using a logarithmic amplifier?
A: With an ac input, the low-cost and convenient AD8307 logarithmic amplifier will produce a dc output into a 50-ohm load that is equivalent to 25mV/dB of input power (0.5V per decade). The AD8307 has a 92-dB dynamic range and can be used to measure very small input signals in high-gain open-loop circuits. While you are not actually driving a 50-ohm load, this scheme will allow you to calculate the gain (in dB) using the difference between the outputs of the two AD8307 devices that are testing the input and output of the signal.
Q: Can you explain this in more detail?
A: Let's briefly review how to calculate logarithms:
|
Previous article:Spectrum hole detection scheme based on spectral correlation analysis
Next article:Principle and calculation method of rechargeable battery fuel gauge
- Popular Resources
- Popular amplifiers
- 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!
- Rambus Launches Industry's First HBM 4 Controller IP: What Are the Technical Details Behind It?
- 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
- 【RPi PICO】Soil Moisture Indicator
- Gaoyun Yunyuan software edits multiple lines at the same time, and the problem of Chinese input method
- Raspberry Pi Windows IoT Development (Part 3) Flashing LED
- Laptop Power Management
- If you are doing technology, you must learn to read datasheets!
- Inductor selection and layout of switching power supplies
- Interaction between data collection and MATLAB
- Tips for taming ADC
- MSP430 MCU Timer A Structure and Application Examples
- How should the chassis ground of a high-speed interface connector be designed?