Introduction
The MPXM2010 device produced by Freescale is a silicon piezoresistive pressure sensor. The MPXM2010 has high accuracy and the output voltage has a good linear relationship with the input pressure. This sensor is a monolithic integrated circuit that integrates a pressure strain gauge and a film resistor network, and has a laser trimming module for temperature compensation and offset correction. The microcontroller 68HC908QT4 is a low-end 8-bit microcontroller with 4 8-bit A/D conversion channels and a 16-bit PWM module, which can be used for A/D and D/A conversion.
Combining the two chips together can form a practical low-cost pressure measurement and control system. The only drawback is that its accuracy is a bit low. If the A/D bit is increased, the cost will increase greatly. This shortcoming can be compensated by hardware matching and software programming, that is, it does not increase hardware costs and can improve product performance.
1. Pressure sensor module design
The MPXM2010 device produced by Freescale is a silicon piezoresistive pressure sensor, and its internal principle is shown in Figure 1. The MPXM2010 has high accuracy, and the output voltage has a good linear relationship with the input pressure. This sensor is a monolithic integrated circuit that integrates a pressure strain gauge and a film resistor network, and has a laser trimming module for temperature compensation and offset correction.
MPXM2010 features are as follows:
- The pressure measurement range is 0~10 kPa, and the accuracy can reach ±0.01 kPa;
- It has temperature compensation function between 0~85℃;
- The linear relationship between the output signal and pressure is good;
- The sensor contact surface can be equipped with or without an outlet.
There is an easy-to-use packaging form of Tape & Reel, the specific sample is shown in Figure 2.
The output signal of MPXM2010 is relatively weak, so an additional MOC2A60 is needed to amplify the small signal and convert DC into AC. In this way, the motor can be directly controlled to cut off or connect the power supply. When debugging the module, separate the various parts for easy debugging. The op amp uses MC33179, and then connects some resistors to output the signal of the pressure sensor, and the size of the output signal can be adjusted by adjusting the resistance value. Figures 3 and 4 are the schematic diagram and PCB board diagram of the pressure sensor module design.
2. Design of pressure measurement and control system and its accuracy improvement
2.1 Direct-connected pressure measurement and control system
Normally, the design can be completed by using the A/D module of 68HC908QT4, just connect the output of the pressure sensor module to the input of the A/D module of 68HC908QT4. Figure 5 shows the block diagram of the pressure measurement and control system.
The features of the microcontroller 68HC908QT4 are as follows:
◇4 KB Flash memory, 128 B RAM memory;
◇4-channel 8-bit A/D converter, 16-bit PWM module;
◇ Low price, the price of each piece can be reduced to less than US$1 for batches of 1,000 or more.
The measurement range of MPXM2010 is 0-10 kPa, and its output voltage signal is limited to 0-5 V, so its accuracy is:
S=5 V/10 kPa="500" mV/kPa
The A/D of 68HC908QT4 is 8 bits and the voltage limit is 5 V, so its accuracy is:
R=5 V/(20-1)bit≈19.61 mV/bit
The pressure accuracy of the entire system is:
R/S=19.61/500 kPa/bit=0.039 22 kPa/bit
If you want to improve the accuracy, increase the A/D to 10 bits, the accuracy is:
R/S=O. 03 922X(28-1)/(210-1)kPa/bit=0.009 776 kPa/bit
After A/D is upgraded to 12 bits, the accuracy is:
R/S=0.039 22×(28-1)/(212-1)kPa/bit=0.002 442 kPa/bit
This can indeed improve the accuracy, but it will increase the hardware cost.Using the PWM module of 68HC908QT4 as D/A converter can improve the accuracy of A/D conversion ingeniously.
2.2 Improved pressure measurement and control system
The reason for the error is that the decimal point is discarded at the A/D, for example, 176.51 bits will be treated as 176 bits. The solution to the problem should also start from here to reduce the error.
The error can be solved by D/A. The data read by A/D is processed by D/A and sent out, and then subtracted from the original data. The error cannot be sent back to A/D directly, but it can be amplified and sent back. Then another A/D in 68HC908QT4 is used to convert the amplified error to A/D. After the MCU obtains the result, it is reduced by the same multiple and added to the original A/D conversion result to obtain a more accurate result. In Figure 6, the entire system can be divided into the pressure sensor module, the analog part, the microcontroller part and the output circuit part. The key to improving the accuracy lies in the design of the analog part. As shown in Figure 7. Assume that the amplification factor of amplifier G is 10. The performance of A/D itself has not been improved, and the accuracy is still R=19.61 mV/bit, which is the limit value. After amplification by 10 times, the original maximum error of 19.61 mV/bit is enlarged to 196.1 mV/bit. A/D processes the amplified data, and its ability is amplified by 10 times. When processing the data, it will be divided by 10 to restore it. From the overall point of view, it is as if the accuracy R is divided by 10, becoming 1.961 mV/bit.
For example, the initial A/D conversion error is 10 mV, which becomes 100 mV after amplification. At this time, after A/D conversion again, the second remaining error is 100 mV-19.61 mV/bit×5 bit="1".95 mV, which becomes 0.195 mV after dividing by 10. The error is greatly reduced, and its limit value is one tenth of the original accuracy.
The magnification of G can be adjusted by yourself, but it must be consistent with the performance of the selected microprocessor and the accuracy of the circuit itself. It is meaningless to choose too high a magnification.
In the circuit shown in Figure 7, Vm, D, and Vc are the same as those shown in Figure 6. The calculated value of D is:
D=(Vm—Vc)×(R14/R13)[l+(R17/R16)]
The magnification of G is (R14/R13)[1+(R17/R16)].
Conclusion
Cost is a very important factor in the product design and development process. By cleverly using the modules in the microcontroller and assisting with the corresponding simple analog circuits, the chip utilization efficiency can be greatly improved and the system performance can be enhanced. Using what you have at hand to improve and recreate can often achieve twice the result with half the effort.
2010/12/24 19:16:52
Previous article:Parameter Design of Complex Passive Filter Based on Genetic Algorithm
Next article:Design of Thermoelectric Cooling Laser Temperature Control Circuit
- Popular Resources
- Popular amplifiers
- High signal-to-noise ratio MEMS microphone drives artificial intelligence interaction
- Advantages of using a differential-to-single-ended RF amplifier in a transmit signal chain design
- ON Semiconductor CEO Appears at Munich Electronica Show and Launches Treo Platform
- ON Semiconductor Launches Industry-Leading Analog and Mixed-Signal Platform
- Analog Devices ADAQ7767-1 μModule DAQ Solution for Rapid Development of Precision Data Acquisition Systems Now Available at Mouser
- Domestic high-precision, high-speed ADC chips are on the rise
- Microcontrollers that combine Hi-Fi, intelligence and USB multi-channel features – ushering in a new era of digital audio
- Using capacitive PGA, Naxin Micro launches high-precision multi-channel 24/16-bit Δ-Σ ADC
- Fully Differential Amplifier Provides High Voltage, Low Noise Signals for Precision Data Acquisition Signal Chain
- 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
- About New Energy Vehicle Mode 2 IC-CPD Charging Gun Type A Leakage Current Sensor
- Help! What brand are the 2 UV sensors in the picture?
- A current transformer is marked as CT501 15(60)A/10mA. Does 10mA correspond to 15A? What current does 60A correspond to?
- [RTT & Renesas high-performance CPK-RA6M4 development board evaluation] - Creating a project and GPIO control
- Proteus Pro v8.11 SP1
- Difference between LOG_printf() and printf() in DSP
- Is there a RTC_SetCounter function in the STM32 HAL library
- Are ADC sampling accuracy and resolution the same concept?
- [Atria AT32WB415 Series Bluetooth BLE 5.0 MCU] ADC acquisition temperature sensor in FreeRTOS
- Playing with Zynq Serial 49——[ex68] Image FFT Filtering Processing of MT9V034 Camera