Professional Documents
Culture Documents
Gyroscope
8bit
Pre-treatment
Circuit
Acceleration
8bit
SDRAM
IMU
Direction
16-bit A / D
Temperature converter AT91RM9200
Compensation RS232
Attitude
FLASH
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
Wait /CS=0?
Start up
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