Design of Micro Inertial Measurement Unit Based on KXR94 Accelerometer

Publisher:xinyi9008Latest update time:2011-09-01 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
Micro Inertial Measurement Unit (MIMU) is not only used in traditional application fields, but also occupies a certain market in the commercial field due to its small size and low cost. This paper designs a highly integrated, low-power and low-cost micro inertial measurement unit, which can accurately measure the heading angle, pitch angle and position of the carrier, laying the foundation for motion trajectory tracking experiments, and can also be widely used in civil aviation, vehicle control, robotics, industrial automation, prospecting, toys and other fields.

1 System hardware design
1.1 Selection of inertial measurement devices
According to the characteristics of motion trajectory tracking and the characteristics of the experiment itself, the micro-inertial measurement device should meet the following design requirements: small size, light weight, low power consumption, high acquisition frequency and acquisition accuracy, low cost and strong impact resistance. In order to achieve these requirements, the hardware of the micro-inertial measurement device is mainly composed of micro-inertial sensor unit MEMS and microprocessor unit DSP. The micro-inertial sensor unit consists of a micro-mechanical gyroscope and a micro-accelerometer, which can accurately measure the three-axis angular velocity information and three-axis acceleration information of the carrier. Accelerometers
are an important type of sensitive element in inertial navigation and inertial guidance systems. They are used to measure the acceleration of the carrier relative to the inertial space. After integration and related operations, the position of the carrier space can be obtained. The accelerometer is a direct measurement element that can continuously measure the acceleration of the carrier, and then calculate the carrier speed, longitude and latitude, and range through a computer. The KXR94 accelerometer chip used in this system is a three-axis accelerometer produced by Kionix. The accelerometer has been designed to compensate for the deviation caused by temperature and voltage fluctuations, so the deviation caused by voltage and temperature is small. The device has a measurement range of ±2 g, a sensitivity coefficient of 560 mV/g, a nonlinearity of 0.1%, and a zero acceleration drift of ±150 mg; it can work at 2.8 to 3.3 V; the power consumption is very low, and the static current is about 1.1 mA. Its schematic diagram is shown in Figure 1.

[page]

The gyroscope is used to measure the angular velocity of the carrier. In this design, the IDG-300 dual-axis gyroscope produced by InvenSense is used. It takes 200 ms for its accuracy to stabilize within ±3°/s. The device is powered by 3.0~3.3 V; the range of measuring yaw angular velocity is ±500°/s, the sensitivity is 2 mV/(rad·s-1), and the zero output voltage is 1.5 V; the range, bandwidth and zero output voltage of the angular velocity can be set by external resistors and capacitors. Its schematic diagram is shown in Figure 2.

This gyro does not compensate for the fluctuations caused by internal temperature and voltage, which should be fully considered in the design. The shortcomings can be compensated from two aspects: ① When designing the circuit board layout, the gyro and accelerometer chips should be kept as far away as possible from the power supply, serial port and other chips on the circuit board that generate heat and have large voltage fluctuations; ② When designing the software algorithm, the temperature drift coefficient of the gyro should be used to correct it.
1.2 Hardware circuit design
The DSP uses the C2000 series 32-bit fixed-point signal processor TMS320F2812 released by TI. It integrates a high-performance DSP core, 128 KB on-chip Flash memory, 16-channel 12-bit A/D converter and SCI serial communication interface. The analog quantity measured by the sensor unit is collected and written into the on-chip Flash by the A/D converter integrated on the DSP chip. All information is processed by the DSP's strapdown inertial navigation to obtain the position information of the measured target. The final result is sent directly to the host computer through RS232 and displayed and output.
Two IDG-300 gyroscopes are used in the construction of the system, and the angle measurement of one axis can be used as a redundant design. Because the algorithm requires that the acquisition of accelerometer and gyroscope analog signals be strictly controlled at the same time, two AD684 sample-and-hold amplifiers are selected. Each sampling channel of AD684 can complete sampling within 1μs, and the signal loss rate is no more than 0.01 μV/μs, and it has good linearity and AC characteristics. The control signal of AD684 is S/Hn. Pulling this pin low will perform sampling and holding. The system connects the S/Hn signals of two AD684 to an I/O pin of DSP, so that all collected signals can be sampled and held to prepare for DSP acquisition. Figure 3 is the hardware connection diagram of the inertial measurement device. The DSP peripheral part is powered by 3.3 V, so the signal characteristics of its SCI pin are TTL level. In actual use, it is usually necessary to convert the TTL level to RS232 level. MAX3232 is selected in the system to convert the SCI interface signal of DSP into the RS232 signal of the computer for communication. This is because the working range of RS232 is -15 to +15 V. Even if there is voltage attenuation in such a wide range, the transmission signal can be reliably identified; and in general, the longer the transmission line, the more serious the attenuation. Therefore, under the same conditions, RS232 is more capable of long-distance transmission. In order to enable the device to achieve long-distance transmission, and considering the versatility of the RS232 interface, this system chooses MAX3232 for communication with the host computer.

2 System software design
The inertial navigation system is a dead reckoning navigation method, that is, according to the continuously measured heading angle and velocity of the carrier, the position of the next point is deduced from the position of a known point, so that the current position of the moving body can be continuously measured. The gyroscope in the inertial navigation system is used to form a navigation coordinate system, so that the measuring axis of the accelerometer is stable in the coordinate system, and the heading and attitude angle are given; the accelerometer is used to measure the acceleration of the moving body, and the velocity is obtained by integrating the time once, and the distance is obtained by integrating the time once again. Therefore, based on the measurement of the carrier's angular velocity and acceleration information, the device can determine the position of the carrier and the parameters of the earth's gravity field, thereby realizing the measurement of various motion state information of the carrier. After the DSP is reset, this system first initializes the chip, configures various functional modules such as PLL, ADC, GPIO, SCI, and then configures peripherals such as AD684; when AD684 completes the signal acquisition of the accelerometer and gyroscope, it enters the positioning solution program and stores the results in the buffer; finally, the positioning information is output to the host computer. The system software flow is shown in Figure 4.

[page]

3 Experimental results
Under laboratory conditions, the micro-inertial measurement device was tied to the legs of a person, and tracking experiments were carried out on the person walking down the stairs and walking around a circular corridor. The experimental results show that the device can correctly track every step of the person under test, and the effect is good. Figures 5 and 6 show the movement trajectory of the person under test output by the device in two cases.

4 Conclusion
This system consists of a TMS320F2812 signal processor, an IDG-300 gyroscope, and a KXR94 accelerometer to form a miniature inertial measurement device. The device can accurately track moving targets and has the advantages of small size, light weight, low power consumption, and low cost. Given the characteristics of the device, it can also be applied to mobile phones with motion detection and state perception to monitor the location and usage of the mobile phone; laptops and media players with hard disk protection systems; mobile game consoles that provide more interactive, intuitive, and interesting gaming experiences by improving current game interfaces and developing new motion-based games; digital cameras that automatically help users take better photos by detecting position, motion, and vibration, etc.

Reference address:Design of Micro Inertial Measurement Unit Based on KXR94 Accelerometer

Previous article:Embedded test solutions and high-speed test technology
Next article:Design of high-precision multi-channel temperature measurement system based on SPCE061A

Latest Test Measurement 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号