Application of magnetostrictive displacement sensor based on single chip microcomputer

Publisher:火箭少年Latest update time:2011-03-10 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
Introduction

Magnetostrictive displacement sensor is a displacement sensor for high-precision, long-stroke absolute position measurement manufactured based on the principle of magnetostriction. It adopts a non-contact measurement method. Since the active magnetic ring used for measurement and the sensor itself have no direct contact, they will not be rubbed or worn. Therefore, it has a long service life, strong environmental adaptability, high reliability, good safety, and is convenient for system automation . It can work normally even in harsh industrial environments (such as those prone to oil spills, dust or other pollution). In addition, it can withstand high temperature, high pressure and strong vibration. It has been widely used in the measurement and control of mechanical displacement. However, this measurement method has some shortcomings: ① The analog signal has limited anti-interference ability and cannot be transmitted over long distances; ② The noise introduced by circuit conversion makes its measurement accuracy low; ③ The signal interchangeability is poor, and expensive A/D interchange equipment is required. The single-chip microcomputer and its peripheral circuits are used for better processing, and multi-point high-precision measurement is achieved, and long-distance transmission and access to the industrial monitoring network are achieved through RS-485 serial communication. In addition, due to the use of PIC low-power single-chip microcomputers and other low-power chips, the circuit structure is optimized, and the system power consumption is greatly reduced. 1 Introduction to magnetostrictive displacement sensor 1.1 Sensor structure The magnetostrictive displacement sensor consists of two parts: one is a measuring rod with a movable magnet; the other is a measuring circuit located at the upper end of the measuring rod. The structure of the magnetostrictive displacement sensor is shown in Figure 1. In Figure 1, the magnetostrictive displacement sensor mainly includes the following parts: waveguide wire, protective tube sleeve, moving magnet, and circuit board. The measuring tube is the core sensing part of the entire sensor, which includes: bias magnet, waveguide wire, protective tube sleeve, end attenuation damping device, non-contact magnetic ring, and converter output.





newmaker.com
Figure 1 Structure of magnetostrictive displacement sensor

1.2 Working principle of the sensor

The magnetostrictive wire is installed in a stainless steel tube, and the outer side of the steel tube can slide freely. The pulse generator in the electronic device generates a current pulse (starting pulse) and propagates along the waveguide. The generated magnetic field is superimposed with the inherent magnetic field vector of the active magnetic ring to form a spiral magnetic field, which generates instantaneous torque, causing the waveguide to twist and generate a tension pulse (waveguide pulse). This pulse is transmitted back along the waveguide at a fixed speed, generating an induction pulse (termination pulse) at both ends of the coil (converter). By measuring the time difference between the starting pulse and the termination pulse, the measured displacement can be accurately determined. As shown in Figure 2. Because the speed of the tension pulse on the waveguide is constant, the measured time difference is multiplied by this speed to obtain the position of the magnetic ring. This process is continuous, and every time the magnetic ring moves, the new position will be sensed.

newmaker.com
Figure 2. Magnetostrictive displacement sensor waveform

1.3 Signal characteristics and existing problems

At present, it is not easy to directly measure the time interval between the start and end pulses of the sensor and obtain the accurate position. The method currently used is to convert the time interval between the two pulse signals into a PWM signal proportional to the position of the magnetic ring, and then output it in the form of a current loop. In the actual measurement process, the current pulse and induction pulse in the sensor will cause certain interference to the output signal; and the magnetic field induced by the magnetic material of the sensor itself and the current in the waveguide will inevitably produce electromagnetic interference (EMIElectroMagneticInterference), which makes the measured output signal have a certain degree of distortion, as shown in Figure 3, which is the waveform obtained by converting the current loop output signal of the sensor into a voltage signal. In addition, if it is necessary to use several magnetostrictive displacement sensors in the same system for displacement measurement, there will be interference between the sensors. The existence of these interference signals makes the dynamic and static performance of the control system poor. For control systems with high precision and fast response frequency, the degree of influence is very obvious, which will affect the stability of the system and must be eliminated. A sensor signal processing system based on a single-chip microcomputer is designed, and the stable output signal obtained after processing is directly transmitted to the computer for control in the form of a digital signal through remote communication. This makes the output signal of this type of magnetostrictive displacement sensor stable, with high accuracy and long transmission distance. The interface with the control system is simple, interchangeable and practical, making the sensor more intelligent and the overall performance greatly optimized and improved.

newmaker.com
Figure 3. Original waveform of magnetostrictive displacement sensor signal

2 Application in displacement measurement

2.1 System structure

The hardware structure of the magnetostrictive displacement sensor displacement measurement system is shown in Figure 4. Since the magnetostrictive displacement sensor adopts the form of 4-20mA current loop output that meets the industrial control standard, it is necessary to first convert the output current signal of the sensor into a voltage signal, then collect it for A/D conversion, and then output it to the microcontroller for signal processing and communication processing, and finally transmit the ideal sensor signal in binary form to the LCD screen and PC. The sensor circuit is composed of a sensitive element head, a receiving circuit, a signal shaping circuit, a parameter correction input circuit, a computer processing circuit, a display circuit, and a measurement parameter output circuit.

newmaker.com
Figure 4 System hardware design

2.2 Microprocessor Circuit

The single-chip microcomputer uses the AT89C4051 8-bit microprocessor based on CMOS technology from ATMEL, which is fully compatible with the instructions of the MCS-51 product series. It contains a 4kb Flash EPROM. Its most prominent feature is that the chip is small in size and has only 20 pins, which is particularly suitable for the design of miniaturized systems. In addition, the AT89C4051 is cheap and has a high cost performance.

2.3 Signal Shaping Circuit

The sliding digital filtering algorithm based on extracting the characteristic quantity of the measured signal is adopted. As shown in Figure 3, it is the analog signal waveform output by the sensor when the magnetic ring is in a static state. It can be seen that there is a high-frequency interference signal superimposed on the measured stable value, with a maximum peak-to-peak value of about 25mV and a period of 440μs. If the single measurement value is directly sampled and transmitted to the controller, the probability of randomly obtaining an abnormal measurement value is relatively high in high-precision measurement occasions, and the maximum error is 12 LSB. Therefore, it is best to measure a certain displacement multiple times continuously to obtain a group of N measurement values, and make this group of measurement values ​​contain an interference cycle, so as to obtain a measurement value that can represent the correct value. The structure of the signal shaping circuit includes a measurement operational amplifier and an optocoupler; its function is to shape the measurement amplified signal and send it to the computer. 89C4051 is the core part of the system hardware to realize digital processing. Its main frequency works at 11.0592MHz and includes a peripheral reset circuit. It is mainly used to complete the functions of controlling A/D conversion, signal processing, and sending data to the host and LCD in serial mode. The P3 port of the microcontroller is used as the control line for A/D conversion and communication. When reading the A/D conversion value, the 12-bit A/D conversion value is directly read in twice using the PI port.

Figure 5 shows the measurement characteristics of the magnetic ring of the sensor using the digital processing system when it is in static and dynamic state. Figure 5 (a) shows that the system has good measurement accuracy and stability, and the error is only 1 LSB; Figure 5 (b) shows that the system has good dynamic measurement characteristics.

newmaker.com
Figure 5 Static and dynamic characteristics of magnetostrictive displacement sensor

2.4 Parameter input correction circuit

The correction circuit is composed of MAX25C045, keyboard and selection switch. Its function is to adjust the zero position and full scale of the sensor, and set the transmission speed of waveguide current pulse and store parameters.

2.5 Display circuit

Based on the structure and principle of LCD display, the code corresponding to the number to be displayed is converted and written, that is, the corresponding segment selection code table is written. The table is called from the display main program, and the output change value of the sensor can be displayed on the LCD.

2.6 Measurement parameter output circuit

The data output includes the 12bit high-speed D/A conversion chip MAX5302 and the operational amplifier output 0~5V, 0~10V, 0~10mA, 4~20mA measurement data; the binary data output includes the 485 interface chip MAX1428 output binary measurement data, and the data transmission distance can reach more than 1000m.

3 Development direction of magnetostrictive displacement sensor

The Temposonics ER displacement sensor being developed by MTS represents the development direction of magnetostrictive displacement sensor. The Temposonics ER displacement sensor is based on the magnetostrictive measurement principle, and uses the accurate speed and time measurement of ultrasonic waves (torsion wave pulses generated by the sensor) to calculate the target position. The sensor directly converts the measurement results into standard output by processing the signal conversion process. Magnetostrictive displacement sensors have developed in the direction of long measurement distance and high measurement accuracy. In the future, the use of modular design, modular assembly, digital output, strong electromagnetic interference resistance and temperature detection compensation technologies will greatly reduce the cost of such sensors, significantly improve performance, and expand the scope of application. In order to meet the requirements of sensor engineering and practicality, the sensor is also durable in the worst industrial environment. Regardless of whether the target position is difficult or not, the sensor will adjust the parameters according to the actual situation and configure the corresponding structure to suit the application system. The structure and packaging technology of the sensor also need to be broken through, and the effective integration of mechanical design and electronic devices should be achieved.

4 Conclusion

The use of single-chip microcomputer chips and EIA RS-422/485 international serial data transmission standard circuits, and the use of ultra-small electronic components for surface welding in the built-in electronic module can make the new magnetostrictive sensor more stable and reliable, greatly extend the data transmission distance of the sensor, and can communicate directly with PLC, computers, etc., saving expensive transmitters and A/D conversions, so that the measurement and control system composed of the magnetostrictive sensor is more convenient and stable, and the cost is greatly reduced.

While improving the elastic modulus and mechanical strength of the waveguide wire, ensuring its stable expansion coefficient is the key to the development of sensitive components, and is also a very important part of the development of magnetostrictive displacement sensors. High-precision time detection technology and packaging technology that can resist harsh environments cannot be ignored. The research on magnetostrictive displacement sensors has broad market prospects.
Reference address:Application of magnetostrictive displacement sensor based on single chip microcomputer

Previous article:Freescale proximity sensors accelerate touch-control design for portable terminals
Next article:Application of Intelligent Magnetostrictive Displacement Sensor on Ships

Recommended ReadingLatest update time:2024-11-16 23:51

What are the advantages and disadvantages of non-contact temperature sensors?
As the name implies, non-contact temperature sensors are sensors that can measure temperature without direct contact with the object being measured. This type of sensor is widely used in industry, medicine, scientific research and other fields. This article will introduce the advantages and disadvantages of non-cont
[Test Measurement]
Design and implementation of a sensorless DC brushless motor control system
introduction Traditionally, permanent magnet synchronous motors with trapezoidal wave back EMF are called brushless DC motors. Torque control of brushless DC motors requires rotor position information to achieve effective stator current control. Moreover, speed control also requires speed signals. The use of
[Power Management]
Design and implementation of a sensorless DC brushless motor control system
Linear sensors (potentiometers) linear sensors
A potentiometer is a resistor element with three terminals and whose resistance value can be adjusted according to a certain law of change. A potentiometer is usually composed of a resistor body and a movable brush. When the brush moves along the resistor body, a resistance value or voltage that is related to the di
[Analog Electronics]
Renesas Electronics launches industry's first programmable motor driver IC that enables sensorless brushless DC motors to achieve full torque at zero speed
New technology increases horsepower, efficiency, speed and reliability while reducing cost and board space Beijing, China, December 6, 2023 - Renesas Electronics, a global semiconductor solutions provider, today announced the launch of its first sensorless motor driver IC series for brushless DC (BLDC) motor appl
[Industrial Control]
Renesas Electronics launches industry's first programmable motor driver IC that enables sensorless brushless DC motors to achieve full torque at zero speed
Morse Microelectronics and Starlink IoT jointly launch Wi-Fi HaLow gateway, sensor camera and people counting sensor
Morse Microelectronics and Starlink IoT jointly launch Wi-Fi HaLow gateway, sensor camera and people counting sensor Improving IoT connectivity range and bringing Wi-Fi HaLow to market August 16, 2024 - Xiamen, China and Sydney, Australia - Morse Micro, a leading fabless semiconductor com
[Internet of Things]
Morse Microelectronics and Starlink IoT jointly launch Wi-Fi HaLow gateway, sensor camera and people counting sensor
Selection and use of non-contact temperature sensors
There are three main challenges when selecting and using a non-contact temperature sensor:   ● Filling the field of view   ● Overcoming object transparency issues   ● Achieving the correct emissivity Adjusting   the field of view The thermal radiation from an object "reflects" the temperature of its surface, muc
[Analog Electronics]
Selection and use of non-contact temperature sensors
The main structure and working principle of the resolver position sensor
We know that switch Hall sensors are often used in some small controllers with low precision requirements, relatively simple working conditions and low cost due to their own characteristics. As for large motors used in cars, the most commonly used position sensors are resolvers (rotators). So, here is a d
[Embedded]
The main structure and working principle of the resolver position sensor
Dual-sensor speedometer test system in navigation system
In the navigation system, the odometer is used to continuously measure the speed of the moving ship and calculate the cumulative distance of the ship. The odometer system designed in this paper adopts a dual sensor combination structure and combines microprocessor technology (MCS-51 series single-chip micr
[sensor]
Dual-sensor speedometer test system in navigation system
Latest sensor Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号