There are currently three methods for implementing RLC measurements. 1) The bridge method, which has high measurement accuracy and is widely used, has now been derived into many types. However, the bridge method requires repeated balance adjustments, takes a long time to measure, and is difficult to achieve fast automatic measurement. 2) The resonance method, which requires a higher frequency excitation signal, is generally not easy to meet high-precision requirements. Since the test frequency is not fixed, the test speed is also difficult to increase. 3) The volt-ampere method, which is the most classic method, comes from the definition of impedance. Obviously, pure resistance can be divided by DC voltage, but for impedance and capacitive reactance, a higher frequency AC must be used. The circuit is relatively complex, making this solution unrecognized. This system uses the volt-ampere method, which relatively simplifies the circuit and has better human-computer interaction.
1 System Solution Implementation
The overall design idea is to add an excitation signal to one end of the network device to be tested, and add a sampling resistor to the ground at the other end. Through the automatic switching of the frequency, the AD reads different sampling voltages. We can judge the properties of the components to be tested according to the AD sampling voltage corresponding to the excitation signal, and further switch the sampling resistor to accurately measure the size of the components to be tested. This series of operations are all completed automatically. The system principle implementation block diagram is shown in Figure 1.
2 Hardware Implementation
2.1 Hardware Circuit Diagram
The system hardware implementation circuit is shown in Figure 2. Considering that the analog switch has internal resistance, we choose relays as the gear switch. In order to ensure accurate measurement, this paper uses multiple voltage followers to prevent excessive current from dividing the voltage at the signal source end.
2.2 True RMS circuit
system hardware implementation circuit is shown in Figure 3. Considering the internal resistance of the analog switch, we choose relays as the gear switch. In order to measure accurately, this paper uses multiple voltage followers to prevent excessive current from dividing the voltage at the signal source end.
2.3 Self-made test signal source circuit
According to the needs, take low-pass passive filters with cut-off frequencies of 1kHz, 10kHz, and 100kHz, and shape the PWM or square wave output by the microcontroller (because the MSP430 microcontroller cannot output PWM with too high a frequency, we directly output 10kHz and 10kHz square waves, and filter out the second harmonic and above components through a low-pass filter to obtain its fundamental component) into a sine wave. Use relays to switch different filters to obtain different signals. Each frequency point is filtered and connected to a first-level op amp; amplify to the same amplitude. In order to meet the gain bandwidth product and slew rate of the amplified 100kHz signal, the op amp uses TL084. Through testing, it is found that the passive filter resistor is gradually increased and the capacitor is gradually reduced, which has the best filtering effect. Therefore, the parameters of the filter amplifier circuit diagram shown in Figure 4 are obtained through simulation. [page]
3 Software Implementation
3.1 Algorithm Mathematical Description
Resistance measurement can be directly obtained by a DC voltage divider, and its formula is:
R = (V / Vad-1) * R0 (1)
Capacitance measurement can be obtained by a moderate low frequency f. At this time, the impedance of the capacitor is large. For the capacitor, because there is a -90° phase shift, we take the overall modulus and simplify it to obtain the calculation formula of capacitance:
3.2 Software Flowchart
According to the above algorithm analysis, the software flow chart of this paper is shown in Figure 5:
4 Experimental results and analysis
After the circuit design is completed, this paper gives three sets of experimental test data, which are shown in Table 1, Table 2 and Table 3, respectively. Table 1 is the test data of the resistor network, Table 2 is the test data of the capacitor network, and Table 3 is the test data of the inductor network. The experimental data show that except for the relatively large error of inductance measurement, other measurements can accurately reflect the properties and size of the components to be tested, which can meet general practical needs.
5 Conclusion
This paper designs an intelligent resistance, inductance and capacitance measuring instrument based on digital control. After the circuit design is completed, it can be seen from the actual measurement data that, except for the relatively large error in inductance measurement, other measurements can more accurately reflect the properties and sizes of the components to be measured; by consulting the data, it is found that the size of the inductance is different at different frequency points, that is, the size of the inductance is related to the corresponding measured frequency point. The design of this system only takes three frequency points, and the maximum frequency is 100kHz, so the error is large. We can reduce the error by increasing the number of frequency points and the maximum frequency and increasing the sampling resistance.
Previous article:Design and implementation of a digitally adjustable boost switching power supply
Next article:Design of controller for brushless DC motor direct drive oil pumping system
- Naxin Micro and Xinxian jointly launched the NS800RT series of real-time control MCUs
- How to learn embedded systems based on ARM platform
- Summary of jffs2_scan_eraseblock issues
- Application of SPCOMM Control in Serial Communication of Delphi7.0
- Using TComm component to realize serial communication in Delphi environment
- Bar chart code for embedded development practices
- Embedded Development Learning (10)
- Embedded Development Learning (8)
- Embedded Development Learning (6)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Intel promotes AI with multi-dimensional efforts in technology, application, and ecology
- ChinaJoy Qualcomm Snapdragon Theme Pavilion takes you to experience the new changes in digital entertainment in the 5G era
- Infineon's latest generation IGBT technology platform enables precise control of speed and position
- Two test methods for LED lighting life
- Don't Let Lightning Induced Surges Scare You
- Application of brushless motor controller ML4425/4426
- Easy identification of LED power supply quality
- World's first integrated photovoltaic solar system completed in Israel
- Sliding window mean filter for avr microcontroller AD conversion
- What does call mean in the detailed explanation of ABB robot programming instructions?
- STMicroelectronics discloses its 2027-2028 financial model and path to achieve its 2030 goals
- 2024 China Automotive Charging and Battery Swapping Ecosystem Conference held in Taiyuan
- State-owned enterprises team up to invest in solid-state battery giant
- The evolution of electronic and electrical architecture is accelerating
- The first! National Automotive Chip Quality Inspection Center established
- BYD releases self-developed automotive chip using 4nm process, with a running score of up to 1.15 million
- GEODNET launches GEO-PULSE, a car GPS navigation device
- Should Chinese car companies develop their own high-computing chips?
- Infineon and Siemens combine embedded automotive software platform with microcontrollers to provide the necessary functions for next-generation SDVs
- Continental launches invisible biometric sensor display to monitor passengers' vital signs
- download
- Question about bandpass filtering
- [Introduction] DS1302 operating program of AVR microcontroller
- EEWORLD University ---- Linux multi-threaded programming
- Let’s talk about the internal design of a power chip
- Why Japan failed to kill South Korea's semiconductor industry
- Issues with line width and wiring in PCB circuits
- Application of Embedded Linux in CNC System
- How to select all device bit numbers or nominal values in the SCH file for AD1904 version
- How to modify the initial position of Comment when editing Altium schematic library