In recent years, information technology based on microelectronics and computer technology has developed rapidly, and ultrasonic non-destructive testing instruments have also gained unprecedented development momentum. In order to improve the reliability and efficiency of detection, the development of digital, intelligent, automated, and image-based ultrasonic instruments is an important trend in the development of non-destructive testing today. However, traditional ultrasonic detectors have problems such as poor accuracy, low precision, large size, high power consumption, and unfriendly human-machine interface. The ultrasonic emission and control circuit is based on an ARM-based ultrasonic detection system, with the ARM microcontroller as the core, and is programmed in C language, which conveniently realizes the adjustment of the emission frequency and the excitation voltage pulse amplitude.
1 Overall design structure of ultrasonic detection system
The overall structural block diagram of the ARM-based ultrasonic detection system is shown in Figure 1. The system mainly consists of three parts: ultrasonic front-end transmitting and receiving circuits, DSP and ARM processor.
The ultrasonic front-end transmitting circuit is responsible for generating the excitation pulse voltage and the ultrasonic wave with adjustable repetition frequency. The receiving circuit firstly processes the reflected weak signal through the amplification and filtering circuits, then collects the signal through the A/D conversion circuit and sends the collected signal to the DSP through the data buffer FIF0.
DSP receives the data buffered by FIF0 from A/D converter, and mainly completes the signal processing algorithm with complex calculation structure to improve the accuracy and data processing capability of ultrasonic flaw detection instrument.
The ARM processor mainly performs two functions: one is the control function, which adjusts the width and repetition frequency of the excitation pulse and the amplification factor of the amplifier circuit; the other is to realize the real-time display, storage and external communication of the signal. The ARM microprocessor uses the 16/32-bit RISC microprocessor S3C2440A based on ARM920T. Its core frequency is up to 400 MHz, with low power consumption, small size, many integrated peripherals, and good data processing capabilities, so it can be widely used in handheld devices, etc.
2 Ultrasonic transmitting circuit
Depending on the material and thickness of the object under test, the frequency and transmission voltage of the corresponding ultrasonic probe are also different. The frequency of the transmitted ultrasonic wave is generally several MHz, the high-voltage excitation pulse is generally tens to hundreds of volts, and the rise time of the pulse does not exceed 100 ns. According to spectrum analysis, there is an optimal relationship between the excitation pulse width and the probe frequency. When the pulse width satisfies this relationship, the receiving probe has the best receiving signal quality. The relationship is:
In the formula, f0 is the probe frequency and 2a is the pulse width. The probe frequency selected in this design is 2.5 MHz, and the pulse width determined by formula (1) is 600 ns, so the discharge time should be controlled within 600 ns as much as possible.
There are many types of ultrasonic flaw detection methods. In practical applications, most of them use pulse reflection method, and the transmitting circuit mostly uses non-tuned type. The ultrasonic transmitting circuit is shown in Figure 2. The circuit consists of an adjustable high-voltage power supply, resistors R1 and R2, energy storage capacitor C, insulated gate bipolar transistor (IGBT) VQ, fast recovery diodes VD1, VD2 and probe. Let the diode equivalent resistance be R3 and the switch equivalent resistance be R4. The PWM module of the ARM microprocessor generates pulses with adjustable frequency and duty cycle, which are sent to the gate of the switch tube VQ to form a control pulse V1 after passing through the IGBT drive and protection circuit. When V1 is a negative pulse, the IGBT is turned off, and the high-voltage power supply charges the capacitor C through R1 and VD2. The charging time constant is τ1=C(R1+R3). When t>5τ1, the capacitor C is considered to be full. When V1 is a positive pulse, the IGBT is turned on, and the capacitor C discharges to the probe through the switch tube VQ, R2 and diode VD1. The discharge time constant is τl=C(R2+R3+R4). After receiving the excitation of the high-voltage negative pulse, the ultrasonic probe generates ultrasonic waves of a certain frequency.
Functions of components in the circuit:
1) Resistor R1 is used to limit the charging current of capacitor C from the high voltage power supply during charging, that is, to play a current limiting role and reduce the impact of the transmitting unit on the power supply during operation. From this point of view, the larger the resistance of resistor R1, the better. On the other hand, the repetition frequency f of the circuit is high. In order to fully charge capacitor C before triggering, CR1 < 1/5f must be satisfied. Therefore, it is necessary to select a suitable resistance value of resistor R1.
2) Resistor R2 has two functions: one is to adjust the discharge time and transmission power, and the other is to act as a damping resistor to adjust the ultrasonic pulse width. The smaller the resistance of R2, the smaller the transmission power and the narrower the transmission pulse; the larger the resistance of R2, the greater the transmission power and the wider the transmission pulse.
3) Fast recovery diodes Vd1 and Vd2 filter out the charging pulse, so that point A only has the negative voltage excitation pulse during discharge.
When charging, the relationship between the current i and the voltage UR is shown in equations (2) to (3).
3 Generation of PWM pulses based on ARM
ARM embedded processor is a high-performance processor with extremely low power consumption and low cost. It has fast operation speed, high precision, and is easy to transplant to real-time operating system, making it a real-time multi-tasking system. The S3C2440A embedded PWM pulse module contains 4-channel 16-bit timers, with programmable duty cycle, frequency, and polarity, and has automatic reload and double buffering functions. The main frequency FCLK is up to 400M-Hz, and the PCLK used by APB bus devices is up to 68 MHz. The specific process is: first, turn on the automatic reload function, and set the various parameters of the PWM pulse through the PWM register, such as the timer configuration register (TCFGn), timer control register (TCON), timer count buffer register (TCNTBn), timer comparison buffer register (TCMPBn), timer count observation counter (TCNTOn), etc. Secondly, set the manual update bit of the corresponding timer, and then set the start bit. After the waiting time, the timer starts to count down. When the values of TCNTn and TCMPn are the same, the logic level of TOUTn changes from low to high. When TCNTn is 0, TCNTn is automatically reloaded with the value of TCNTBn. If you want to reset the initial value of TCNTn, you must perform a manual update.
By using TCMPBn to perform the PWM function, the PWM frequency is determined by TCNTBn. The double buffering function allows the ISR or other programs to rewrite TCMPBn at any time point in the current PWM cycle for the next PWM cycle.
4 High voltage power supply and its control
The ultrasonic transmitting circuit has high requirements for the excitation voltage pulse, which requires a certain amplitude, and the pulse width is required to be as small as possible, and a certain transmitting power is required, which determines the sensitivity of ultrasonic flaw detection and is also related to the depth of flaw detection of the workpiece. If you want to penetrate a thicker workpiece, you need to convert a larger electrical power into sound power. The transmitting power is:
In the formula, uA0 is the instantaneous voltage when the capacitor is discharged, C is the capacitance, and t is the discharge time.
is the effective power.
When the discharge time constant is determined, the discharge time and C are determined. Therefore, increasing the emission voltage is the main way to increase the emission power. From the discharge voltage formula, it can be seen that in addition to the influence of each resistor in the circuit, the voltage of the high-voltage power supply is a major factor. But the voltage cannot be too high, otherwise it will accelerate the aging of the piezoelectric chip. Generally, the emission voltage does not exceed 1 800 V.
The high voltage power supply module of Ultravoh Company in the United States is used here. The model of the "V" series is 1V12-P0.4 power supply module, which can fully meet the needs of this design. Its input voltage is 12 V, output voltage is 0-1 000 V, control voltage is 0-5 V, and power is 0.4 W. It has low power consumption, small size, light weight, and is equipped with output voltage monitoring and self-protection circuits. The high voltage power supply control circuit is shown in Figure 3.
The control signal output by the ARM microprocessor can output a 0-5 V control signal V2 after D/A conversion, and the corresponding high-voltage power supply module can output a voltage of 0-1 000 V.
5 Simulation and Analysis
In order to verify whether this design can meet the needs of the experiment, the circuit is simulated by software. Because t=5τ1, which is about 500μs, the charging capacitor is considered to be fully charged, so the switching frequency is set to 1kHz. The simulation results are shown in Figures 4 and 5.
In Figure 4, the high voltage power supply output is 725V, R1=10 kΩ, R2=100 Ω, C=0.01μF, and the obtained excitation pulse is about 600 V and 600 ns wide. This pulse meets the excitation pulse width requirement of the probe when the ultrasonic frequency is 2.5 MHz in this design.
In Figure 5, when the high-voltage power supply output is a maximum of 1 000 V, R1 = 10 kΩ, R2 = 100 Ω, and C = 0.01 μF, the excitation pulse obtained is approximately 830 V and has a width of 600 ns.
Since the efficiency of the high-voltage DC power supply with a charging resistor is not very high, the voltage of the excitation pulse cannot reach the voltage of the high-voltage power supply. By transmitting control pulses of different frequencies and duty cycles through the ARM microprocessor, the transmitting circuit can be controlled to transmit excitation pulses with adjustable width and repetition frequency.
6 Conclusion
By analyzing the working principle of the transmitting circuit and the role of each component, we can find out the different roles played by each component on the ultrasonic wave and how the PWM module of ARM modulates the excitation pulse width and repetition frequency. It has been verified that the ultrasonic wave power, pulse width and repetition frequency emitted by this circuit are adjustable, which can meet various detection requirements.
Previous article:Application of AT91RM9200 PIO Interrupt in Shortwave Communication System
Next article:System design of X86 to ARM binary translation and execution function based on SoC
Recommended ReadingLatest update time:2024-11-17 00:45
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- 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
- [phyBOARD-i.MX 8M Plus Development Board] Review 3: File Analysis in the System Root Directory
- How to implement without PLC
- SL1584 4-30V/3A 380KHz Buck Circuit
- TI Power Management Experiment Kit Boost Experiment Manual
- Hangxin Data-F070 Development Board & Touch Board Introduction, LCD Board Schematic Diagram
- TI op amp stability analysis
- MSP430F5438 Evaluation Board
- Servo Motor Driver Problems
- [Mil MYD-YA15XC-T Review] + Using QT to read temperature and humidity sensor data
- Question about freewheeling diode