You are on page 1of 4

International Symposium on Intelligent Information Technology Application Workshops

Design of Data Acquisition and Processing System for IMU


Chunpeng Kang1, Zhong Su 2
1
Institute of Intelligence Control,
Beijing Information Science and Technology University, Beijing, 100101, China
2
Institute of Intelligence Control,
Beijing Information Science and Technology University, Beijing, 100101, China
yongren2006@126.com, sz@bistu.edu.cn

Abstract high-speed data acquisition and processing system with low-


cost, small size, low power consumption, good stability.
Inertia Measurement Unit (IMU), which is mainly used to
measure triaxial acceleration and angular velocity, is an 2. Scheme Design
important part of the navigation control system. Data
acquisition for gyroscopes and acceleration in IMU is According strapdown inertial navigation system
primarily explored. A design scheme based on AT91RM9200 requirements, the accelerometers and gyroscopes transmits
and embedded Linux operating system is introduced. Before signal to A/D conversion module, and AT92RM9200
analogy signals from IMU are imported into A/D converter, microprocessor receive input information from A/D
they should be filtered by pre-treatment circuit, and then module ,through attitude arithmetic, data integration, it gets
processed by Micro-computer. Lastly, direction and attitude direction and attitude, and real-time data is transmitted
can be exported through RS232.System driver is developed by through the serial port. AT91RM9200 is configured an
Linux, and software compiler mainly employs U-boot 1.3. erasable memory, it can store attitude arithmetic programme
When the supply power is ± 5 V, compare with the data from debugged but also can be used to store the collected data, thus,
system and Fluke 8845A with high accuracy. It’s proved that it greatly enhances practicability of the IMU. Overall
the data acquisition system is achieved the needs of design. hardware structure of the system as shown in Figure 1:
Moreover, the system is small in size, low in power
consumption, and good in stability and practicality. In the 3. Hardware structure
military field, it has a wide use.
3.1 IMU pretreatment circuit
1. Introduction
IMU output signal is very weak, and much interference.
IMU contains three gyroscopes and three accelerometers. The noise contains too much random noise. In order to ensure
Input axises of these sensitive components is configured in 3D data accuracy. So it must be filtered to weak the high
direction according to roller, pitch and yaw axis of flight harmonics or higher frequency interference and the noise
carrier, which comes into being a three-dimensional inertial before sampling.
coordinate system. In strapdown inertial navigation systems, The system uses active filter circuit which constitutes
inertial components are riveted in the carrier, which makes the integrated operational amplifier, R and C components. So the
inertial coordinate system parallel with the flight carrier system has advantage of no inductors, small size, and light
coordinate system. Output vector information of gyroscopes weight. Integrated operational amplifier open-loop voltage
and accelerometers is attitude and course relating with inertial gain and input impedance are high, the output resistor is small.
space. Therefore, IMU data acquisition and processing in the So it plays a role of voltage amplification and buffer.
navigation control system is extraordinarily importance. In
recent years, with the DSP, ARM technology developing, 3.2 CPU Module
people also make more require, such as smaller size, lower
power consumption, higher accuracy, reliability, and dynamic. The AT91RM9200 is a complete system-on-chip built
Data acquisition is an important means of access to data, it around the ARM920T ARM Thumb processor, which includes
is a process that measured from the sensor equipment or other Memory Management Unit, 8-KByte Data Cache and 16-
analog or digital units collected information automatically. KByte Instruction Cache. Working in 180MHZ, the
Based on AT91RM9200 as the core processor, design an IMU computing speed can up to 200MHZ. And it incorporates a
rich set of system and application peripherals and standard

978-0-7695-3505-0/08 $25.00 © 2008 IEEE 585


DOI 10.1109/IITA.Workshops.2008.82
interfaces in order to provide a single-chip solution for a wide The AT91RM9200 incorporates a high-speed on-chip
range of compute-intensive applications that require maximum SRAM workspace, and a low-latency External Bus Interface
functionality at minimum power consumption at lowest cost. (EBI) for seamless connection to whatever configuration of
The ARM9TDMI is a member of the ARM family of off-chip memories and memory-mapped peripherals is
general-purpose microprocessors. It supports both the 32-bit required by the application. The EBI incorporates controllers
ARM and 16-bit Thumb instruction sets, allowing the user to for synchronous DRAM (SDRAM), Burst Flash and Static
trade off between high performance and high code density. memories and features specific circuitry facilitating the
And it also supports the ARM debug architecture and includes interface for NAND Flash/SmartMedia and Compact Flash.
logic to assist in both hardware and software debug.

Gyroscope
8bit
Pre-treatment
Circuit

Acceleration
8bit
SDRAM
IMU
Direction
16-bit A / D
Temperature converter AT91RM9200
Compensation RS232
Attitude

FLASH

Fig-1. Overall hardware structure

FLASH ROM is used to storage bootstrap program, SCLK: Serial clock input. When the device work in the
the kernel of operating system and applications. Select external clock mode, SCLK control entire conversion
two 16 M × 8, the expansion of 32 M ROM, the room is process and the output data.
assigned to the NCS0 address space of the AT91RM9200. E O C : End-of-Conversion Output. In internal clock
SDRAM is used to temporarily memory operating mode, a logic low at EOC signals the end of a conversion
system and related data in running system. with the result available at DOUT. In external clock mode,
In order to improve the speed, two 32 M × 8, the EOC remains high.
expansion of the 64 M SDRAM, the room is assigned to Connect SCLK port to IRQ4SPCK/PA2 pin of ARM.
the NCS1 address space of the AT91RM9200. AT91RM9200 produce crystal to drive the MAX1168
chip. DOUT and DIN pin connect with MOSI and MISO
3.3 A / D Converter pins of AT91RM9200 respectively. The chip-select signal
is generated by the PCSO, Schematic is as follows (Fig-2):
There is much more data needed to acquire, and the
real-time requirement is relatively high, so the MAXIM 3.4 Serial Communication Interface
MAX1168 chip is employed to design. The MAX1168
low-power, multichannel, 16-bit analog-to-digital RS-232, called asynchronous ports or a COM
converters (ADCs) feature a successive-approximation (communications) ports, is used to communicate with the
ADC, integrated +4.096V reference, a reference buffer, PC. On the one hand, PC real-time receives parameters,
an internal oscillator, automatic power-down. such as direction and attitude. On the other hand, the
AIN0~7: Analog input. direction and attitude of the working parameters can be
DIN: Serial Data Input. Use DIN to communicate with set through the PC. Owing to the output voltage of
the command/configuration/control S3C44B0X is from 0 to 3.3 V, it doesn’t match with
Register. In SPI/QSPI/MICROWIRE mode, the rising RS232 standards voltage, so it’s necessary to do electrical
edge of SCLK clocks in data at DIN. conversion. The system employs MAX3232 chip to
DOUT: Serial data output. When it was high, DOUT is achieve this function in the paper, Schematic is as follows
the high resistance state. (Fig-3):
DSEL: Data-Bit Transfer-Select Input. Logic low on
DSEL places the device in 8-bit-wide data transfer mode.
Logic high places the device in 16-bit-wide data-transfer
mode. Do not leave DSEL unconnected.

586
Start up

Initial ports and register

Wait /CS=0?

Fig.-2 A / D Converter Circuit Data Acquisition

Fig.-5 Flow chart of Data Acquisition

Start up

Induct from ROM

Fig.-3 Serial Communication Interface Circuit

4. Some Common Mistakes Check Normally N

4.1Flow chart of the main software system

The flow chart is showed as in Fig-4.


(1) Design of transplantation main program and
Load Linux EMS memory,drive
operating system program,Run main process
The design of the system main program is developed
object / host mode, compile in environment of cross
compiler of host, generate executable binary files in target
board, download to the target board through serial ports
and implement. Development environment uses ARM- User Setup
Linux cross compiler environment (cross-2.95.3), Linux
kernel is Linux-2.4.19, System cross-compiler
environment establish under the host Data Acquisition
usr/local/arm/2.95.3/bin.
(2) U-boot Compile
U-boot.1.3 is used to design this system, because it
Data Storage
comes with drivers of Ethernet interface chip and serial
ports. It needs to make configuration modified in structure
directory accord with hardware configuration, and then
performance make clean; make proper; make
at91rm9200dac-config; make all, the system can be End
generated the binary image file U-boot. bin adapted with
this system.
Fig.-4 Flow chart of the main software system
4.2 Data Acquisition Software Design
5. System Testing

587
[5] Zhu, Xin-Hua , Xia, Yun-Xiang; Wan, De-Jun .Design of
There is some problems in debugging the circuit, such data acquisition system in distributed strapdown attitude
as the A/D conversion result is nonlinear and one channel reference system. Chinese Journal of Sensors and Actuators,
disturbing another channel. It is find that these problems v 19, n 3, June, 2006, p 741~745
[6] Wang. Wei-feng, Yu Hai-xun, Design on Embedded Data
were caused by too short delay of control signal, so these
Acquisition System Based on AT91RM9200 Microcomputer
problems can resolved in software. Application Vol.23,No.10.2007 12~15
The power supplies of data acquisition system is ± 5 V. [7] Hongbing Xiao,Shiyi Li,Qiang Shen . Automatic
Serial port program of upper computer is programmed by Positioning of Spinning Projectile in Trajectory Correction
MFC.It’s used to receive 6-way data from the gyroscopes Fuze via GPS/IMU Integration. Mechatronics and
and accelerometers. At the same time, employ a high Automation, 2007, 5-8 Aug. 2007, 717-722
accuracy multimeter to receive the data, and the
multimeter is adopted FUKE 8845A, which has 6.5 digital
resolution. Then compare the data with PC data to correct
the system to zero. We can see the data from TABLE I.

6. Conclusion
From the table we obtained, the data are high accuracy,
and real-time is fully satisfied the requirements of attitude
measurement. At the same time, replacing the A/D
converter, digital filtering and increased compensation
algorithm can further improve the system accuracy.
TABLE I Data Compared
Fluke System
8845A Acquisition
1 0.02123 0.021656
2 0.50374 0.504125
3 1.00343 1.003813
4 1.5043 1.504680
5 2.0010 2.001271
6 2.5050 2.505280
7 2.9981 2.998257
8 3.4988 3.498840
9 4.0067 4.006650

Acknowledgements
This work is supported by Fund of Beforehand
Research of National Defense.
Grant #9140A09020507DZ0301in China.

References
[1] Karnick, Drew A. Low cost inertial measuring unit. Record -
IEEE PLANS, Position Location and Navigation
Symposium, Apr, 1992, p 422-425
[2] Wang Qi, Xu Xiao-su.Application of IMU rotation in FOG
strapdown attitude and heading reference system. Journal of
Chinese Inertial Technology. Vol.15 No.3.2007.265~268
[3] Tian Ze, Embedded Systems Development and Application,
Beijing University of Aeronautics and Astronautics Press,
2004.
[4] Qian Xingfang “Missile flight mechanics”, Beijing
Technology of institute Press, 2000

588

You might also like