CRS10 gyroscope and its application in angular rate and rotation angle measurement

Publisher:幸福如愿Latest update time:2011-06-28 Keywords:CRSl0 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

Micro-electromechanical sensor (MEMS) inertial sensor has developed rapidly in recent years and has been widely used. As an important MEMS, micro-inertial sensor consists of micro-gyroscope, micro-accelerometer, application-specific integrated circuit (ASIC), embedded microprocessor and corresponding software. The output can contain angular velocity, acceleration, attitude and other information. It is small in size, highly integrated and easy to use. It has been widely used in military and civilian fields.
CRSl0 is a high-precision MEMS single-axis gyroscope from Silicon SENSING. It is a digital output that outputs the angular velocity of the sensor's motion process and the ambient temperature of the sensor's operation.
In terms of angle measurement, the traditional method is to use an angle sensor to measure the angle value at the start time, and then compare it to get the angle of rotation. Here, according to the principle of kinematics, an angular velocity and angle measurement system is designed using the CRSl0 gyroscope. The system is equipped with a data output interface and a liquid crystal display interface.

1 CRS10 Function Introduction and Use
CRS10 is a high-precision digital angular rate gyroscope with high integration, wide operating temperature (-40~80℃), high bandwidth and wide frequency range, extremely low angular rate random drift, standard 5 V voltage supply, SPI data output and analog port output 2 output modes to meet the different needs of various applications. The default configuration of CRS10 is 75 Hz bandwidth, ±375(°)/s angular rate measurement access. Users can set its angular rate measurement range and bandwidth according to their needs. For example, the measurement range of ±75(°)/s can be set, and the bandwidth can also be set to 5, 10, 25, 40, 50, 60 and 100 Hz.
CRS10 adopts 23 mmx17 mmx10 mm package. It can be surface mounted on PCB either vertically or with a horizontal bracket. It has small size, high integration and is easy to install. It can be widely used in automotive yaw rate determination, guidance and control, platform stabilization, image stabilization, inertial measurement device, robotics and navigation and other fields.
1.1 Introduction to CRS10 functions
Figure 1(a) and Figure 1(b) are the physical picture and functional block diagram of CRS10 respectively. As shown in Figure 1(b), in CRS10, the MEMS gyroscope first senses the external signal and outputs the signal to the data acquisition dedicated integrated circuit, and the data acquisition circuit outputs the processed signal to the microcontroller. The microcontroller stores the obtained data results in the output register. Through the SPI bus, the external SPI master device
sends control instructions to CRS10 or reads. CRS10 is internally set with a control register, and the register has a default value. By modifying and writing the control register, the control effect of the angular rate measurement range frequency and output bandwidth can be changed.

4z.jpg


CRSl0 measures the angular rate parallel to the PCB plane. CLK_N, SPI_IN, SPI_OUT and pins are the SPI interface of the sensor, and pin is the reset pin of the sensor. A-NL_OUT is the analog output port of the angular rate.
The digital output part of CRSl0 also contains the temperature value of its working environment. If the gyroscope performance is poor under uncompensated conditions, it can be modeled and compensated by using this temperature. [page]

1.2 How to use CRS10
1.2.1 Hardware connection of CRS10
The connection between the SPI interface of CRS10 and various microprocessor SPI master control devices is shown in Figure 2. The clock frequency of the SPI bus can reach up to 2.5 MHz, and 1 MHz is recommended.

b.JPG


1.2.2 CRSl0 data reading, writing and data processing
CRSl0 can be read and written through the SPI bus. The control register value can be set according to the design requirements to achieve the control effect, or the default setting of the register can be used. The control instruction consists of 6 bytes, including 1 byte status bit, 4 bytes data bit and 1 byte check bit. When writing control instructions to CRSl0, just send the instruction string to CRSl0 through the SPI bus.
When reading the data output by CRSl0, 6 bytes of data are read from the bus, which are: 1 byte status bit, 2 bytes angular rate data bit, 2 bytes temperature data bit and 1 byte check bit.
The data format of the angular rate value (RATE_OUT) and the temperature value (TEMP_OUT) output are both 16-bit binary complement, which can be solved using formula (1):
c.JPG
In the formula, DATA_VALUE is the output data of the register, VALUE is the actual measured value after conversion, Scale is the smallest unit represented by the minimum value of the register value, and n is the number of data bits of the corresponding register.
Here is a little trick. Since the data is a 16-bit binary complement type, you can use the data type of integer (int) to store the data, which can also omit the data processing process.

2 Angular rate and rotation angle measurement system design
Here we give the principle and design of the inclination measurement system based on LMS8962 and CRSl0.
2.1 Rotation angle measurement principle
CRSl0 measures the angular rate of the PCB plane where it is located. According to the principle of kinematics, the angle is equal to the integral of the angular rate over time. Therefore, the relationship between the rotation angle and the angular rate can be obtained:
d.JPG
where θ is the current angle, θo is the initial rotation angle at the beginning of the movement, ω is the angular rate, to is the initial time, and t is the current time.
In the digital system, its discrete equation is used:
e.JPG
where θ, θo, and ω have the same meaning as in formula (2), and △t represents the time interval of the sampling data.
According to the above principle, the rotation angle measurement system is designed using CRSl0. As long as the sampling frequency is fast enough, the rotation angle platform is stable, and the noise is small, it can be used.
2.2 Hardware circuit design
The inclination measurement system is built using LMS8962 and CRSl0. LMS8962 is a high-performance 32-bit Cortex-M3 core microprocessor. It has abundant on-chip peripherals, such as analog-to-digital conversion (ADC), PWM, CAN and serial bus (SSI), etc. It is powerful and easy to integrate.
The hardware design block diagram of the angular rate and angle measurement system composed of LMS8962 and CRSl0 is shown in Figure 3. LMS8962 communicates with CRSIO through the SSI bus. The collected data is stored in the SD card, and the calculated results are displayed on the LCD module in real time. The data storage of the SD card provides a good data acquisition platform for future data analysis. SSI is a serial communication bus, which is compatible with the SPI bus.

f.JPG [page]

2.3 Software Design
Figure 4 is the software design process of the system. The program starts to enter the system initialization, then writes control instructions to CRSl0 to set CRSl0 to work in the required mode, then reads the returned data and performs calculations, and finally stores the data in the SD card and displays it on the LCD module.

g.JPG

3 Test results
In order to verify the effectiveness of the system in measuring angular rate and angle, the attitude and heading reference system AHRS500GA-226 sensor was used as a reference for testing. AHRS500GA-226 is a high-precision IMU from Crossbow Technology. The two systems were fixedly installed on the same platform so that the angular rate plane measured by CRSl0 was consistent with the YAW plane (the heading angular rate and heading angle measurement plane) of AHRS. The angular rate and angle data output by the two systems were compared, and the results shown in Figure 5 were obtained.

h.JPG


As can be seen from Figure 5, the angular rate measured by CRSl0 is consistent with the angular rate movement obtained by AHRS, and the result of AHRS is relatively smooth. CRSl0 is noisy and locally steep. When stationary and moving at a small angular rate, the measurement results of the two are basically coincident, with an error of about 0.1 (°)/s. When moving at a large angle and rotating rapidly, the coincidence effect of the two is not good, and the error is large, reaching 7 (°)/s. This is because the data obtained by AHRS is filtered and fused. The trend of angle measurement is consistent, and the local coincidence is relatively good. However, the error of angle measurement is relatively large. The reason lies in the angle calculation method used in this article: 1) The original angular rate data is used, the angular rate is not filtered, the noise is large, and the deviation obtained by integrating and superimposing on the angle is also large; 2) A simple integral is used to calculate the angle, without compensation and smoothing. In summary, the angular rate measurement effect is relatively good, the angle measurement is feasible, but the algorithm needs to be improved.

4 Conclusion
The angular rate and rotation angle measurement system based on LMS8962 ARM microprocessor and CRS10 gyroscope has an average angular rate measurement error of 0.550 (°)/s and a maximum of 7 (°)/s, which is better when measuring small angular rates. The average rotation angle measurement error is 2.5°, and the measurement accuracy needs to be further improved. The main reason for the angle measurement error is that the obtained angular rate is not filtered and the data is not fused. The use and improvement of filtering algorithms and fusion algorithms are the main tasks to be improved in the future. From the measurement results, it is feasible to improve the accuracy of the system as long as the filtering and fusion processing are done well.

Keywords:CRSl0 Reference address:CRS10 gyroscope and its application in angular rate and rotation angle measurement

Previous article:A New Method for Current Detection in Switching Regulators
Next article:Measuring Special Signals Using Digital Storage Oscilloscope

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号