Many of today’s industrial and instrumentation applications involve sensor measurements. The function of a sensor is to monitor changes in a system and then feed this data back to a host controller. Sensors used for simple voltage or current measurements may be resistive. However, some sensor systems may be inductive or capacitive, meaning that the impedance changes are nonlinear over the sensor’s frequency range.
Typical examples of this type of complex impedance sensor are proximity sensors, which are used to detect the relative distance of a moving object; in addition, capacitive sensors or inductive sensors are used in medical equipment to measure blood flow or analyze blood pressure or blood quality.
In order to make measurements with these "complex impedance sensors", an alternating current (AC) excitation frequency source must be provided to sweep across the frequency range of the sensor. This article attempts to show how such frequency sweeps up to 10 MHz can be easily achieved using a single-chip digital waveform generator. A single-chip sensor solution with integrated excitation, response, and digital signal processor (DSP) functionality is also presented for applications requiring excitation frequencies up to nearly 50 kHz.
Sensor: Working Principle
Figure 1 shows a complex impedance sensor model consisting of inductive and capacitive reactance characteristics.
The excitation frequency signal passing through the sensor will show a change in amplitude, frequency or phase according to the instantaneous value of the sensor's L or C. For example, an ultrasonic flow meter will show a phase shift, while a proximity sensor will cause an amplitude change.
Figure 1. Sensor model with complex impedance characteristics
The most common method of tracking this changing impedance is to monitor the resonant frequency of the circuit. The resonant frequency is the frequency at which the capacitance is equal to the inductance. This is also the frequency at which the maximum impedance value occurs on the frequency curve. For example, consider the proximity sensor shown in Figure 2. Under normal circumstances, such as static conditions, the sensor's L, R, and C all have a unique value, with a maximum impedance value at the resonant frequency Fo. When a moving object approaches the sensor, the sensor's L and C values change and a new resonant frequency is created. By monitoring the change in resonant frequency (and thus the change in impedance), it is possible to infer how far the moving object has moved relative to the sensor.
Figure 2. The resonant frequency of a proximity sensor changes with distance traveled.
Calculating the resonant frequency
Calculating the resonant frequency of a circuit requires measuring the relationship between frequency and impedance (as shown in Figure 2), and specifically requires a waveform generator that has the ability to sweep over a range of frequencies. A simple, low-cost approach to this is to use the AD5930 waveform generator. The AD5930 has the ability to provide a linear sweep over a set of preset frequency ranges. Once the conditions are set, no further control is required, except for a trigger to initiate the frequency sweep.
AD5930 has many advantages: The output frequency resolution is 28 bits, so users can control the output frequency with less than 0.1 Hz. Its output frequency range is 0 to 10 MHz, which provides great flexibility in selecting sensors. For example, some sensors have a narrow frequency range, but require high resolution within this frequency range. Other sensors may require a wide frequency modulation range, but require lower resolution.
Using this method it is easy to calculate the resonant frequency of the sensor.
System Block Diagram
A typical block diagram of such a system is shown in Figure 3. The AD5930 digital waveform generator is set up by the BF-535 DSP processor. The sine wave output voltage waveform generated from the AD5930 needs to be low-pass filtered and amplified to eliminate feedthrough caused by the master clock (MCLK), image frequencies, and high-frequency noise. The filtered signal can be used as the excitation frequency source for the sensor. Depending on the impedance response of the sensor, the signal may need to be amplified to bring it into the dynamic range of the analog-to-digital converter (ADC). The output of the sensor and the excitation frequency source are input to the AD7266, a 12-bit, 2 MSPS simultaneous sampling dual ADC. The data output from the ADC is saved in memory for further analysis to calculate the phase and amplitude offset of the sensor.
Figure 3. System block diagram
Complete Integrated Sensor Solution The
discrete solution described above is a commonly used sensor impedance measurement solution. This solution may require many discrete components, making it a high-cost sensor analysis solution. These individual components also add their own error sources. The active components in the design also add phase errors, which also need to be corrected. In addition, the DSP is required to handle some complex mathematical calculations, which may require external memory to store the raw ADC data, further increasing the cost.
The solution to the above low-frequency sensor analysis problem is the AD5933/4 device, which integrates the above major processing blocks into a single chip. The core of the chip includes three main units: a direct digital frequency synthesizer (DDS) waveform generator for providing frequency sweeps; a 12-bit, 1 MSPS ADC for measuring the sensor's response; and finally a DSP engine capable of performing a 1024-point discrete Fourier transform (DFT) operation on the ADC measurement data.
The DFT operation result provides a real part (R) and an imaginary part (I) data, which can be easily calculated from the impedance. The magnitude and phase of the impedance can be easily calculated using the following formula:
In order to determine the actual real impedance value Z(ω), a frequency sweep is usually required. The impedance at each frequency point can be calculated, so that a frequency-amplitude curve can be obtained. This makes it easy to measure impedance in the range of 100 Ω to 20 MΩ. The system allows the user to set a 2 V peak-to-peak (PK-PK) sinusoidal signal as the excitation frequency source for the external load. The output range can also be set to 1V, 500 mV and 200 mV. The frequency resolution can reach 27 bits (< 0.1 Hz).
Implementing frequency scanning:
In order to implement frequency scanning, the user must first set the conditions required for frequency scanning: a starting frequency, frequency interval and number of sweep points are required. Then a start command is required to start the scan. At each sweep frequency point, the ADC first completes 1024 samples, and then performs DFT calculations to provide the real and imaginary data of the waveform. This real and imaginary data is provided to the user in the form of two 16-bit words through the I2C interface. The advantage of the on-chip DSP processing unit is that the user does not have to perform complex mathematical calculations or store the ADC raw data, but only needs to provide two 16-bit data. Therefore, it also allows the selection of a cheaper DSP solution because the requirements for the final processing power are greatly reduced.
Previous article:Flow detection instrument classification
Next article:TOPSwitch-GX and Performance Testing
- 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?
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- 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
- Maxwell's Equations 3D Animation
- Some issues with ob6572 chip
- [RVB2601 creative application development] hello world
- MicroPython further improves the file system
- Do you use cmake a lot in practice? Please share your thoughts on using it, having used it, or thinking of using it.
- TMS320C62x Boot Mode
- GPIO block diagram of C6000 series DSP
- [New version of Zhongke Bluexun AB32VG1 RISC-V development board] - 0: Unboxing post - At this point it surpasses "UNO"
- ADCPro and DXP FAQ
- Prize-winning survey | Keysight Technologies’ entry-level R&D oscilloscope EXR is now online with a surprise!