Motion attitude dipmeter based on MEMS nine-axis sensor

By using the MEMS nine-axis sensor and serial port connection design in the motion attitude inclination measurement device, combined with the Madgwick algorithm and threshold wavelet filtering algorithm, the problems of portability and accuracy are solved, and flexible attitude measurement and high-precision output are achieved.

CN221685485UInactive Publication Date: 2024-09-10SOUTHEAST UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202323070605.1
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2023-11-14
Publication Date
2024-09-10
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing motion posture inclination measurement equipment has deficiencies in portability and flexibility of measurement methods, especially low accuracy and large errors during motion, and lacks software algorithm switching features.

Method used

A motion attitude inclinometer based on a MEMS nine-axis sensor is designed, including a microprocessor, sensor, display and host computer. It uses serial port connection and Madgwick algorithm for data processing, and implements a threshold wavelet filtering algorithm on the host computer to support two working mode to improve accuracy and portability.

Benefits of technology

It improves the accuracy and flexibility of motion attitude inclination measurement in portable devices, allows the algorithm to be updated without changing the processor, and allows intuitive observation of waveforms through the MATLAB program, reducing dependence on oscilloscope equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221685485U
    Figure CN221685485U
Patent Text Reader

Abstract

The utility model discloses a motion posture dipmeter based on an MEMS nine-axis sensor, which comprises a microprocessor, a sensor, a display and an upper computer, and the microprocessor is respectively connected with the sensor, the display, a power supply module and the upper computer. The sensor is used for receiving motion data of a target object and transmitting the motion data to the microprocessor, and the system has two working modes, namely a microprocessor independent working mode and an upper computer cooperative working mode. A known resolving program is stored in the microprocessor and used for receiving motion data output by the sensor and outputting the inclination angle of a target object to the displayer, and a known improved threshold wavelet filtering algorithm program is stored in the upper computer and used for receiving electric signal data output by the microprocessor and outputting the inclination angle of the target object to the plotter. The device is high in measurement precision, simple in structure, small in size and easy to implement.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model belongs to the field of inclination measuring devices, and in particular relates to a motion posture inclination measuring instrument based on a MEMS nine-axis sensor. Background Art

[0002] MEMS (micro-electromechanical systems) can integrate a variety of micro-nano processing technologies and provide small, low-power sensors for embedded applications, eliminating the need for large dedicated measuring instruments, while being less prone to damage and improving system stability.

[0003] Attitude and inclination measurement technology is used in many fields, such as the Internet of Things, smart cars, personal navigation devices, etc. For example, on drones, attitude measurement can make the flight of the drone more stable and prevent it from yaw.

[0004] The static attitude inclination can be measured more accurately using accelerometers and magnetometers, and can be calibrated to the north-south direction. However, the inclination during movement is difficult to track using accelerometers and magnetometers, with low accuracy and large errors. The gyroscope uses integration to obtain the inclination in all directions, which has good dynamic characteristics. However, due to the mechanical structure of the gyroscope itself, it is inevitable to introduce zero drift and produce cumulative errors. Combining the two types of sensors, weighted fusion of the measured angles, and using filtering algorithms can reduce noise, solve the final attitude, and obtain good dynamic response capabilities. However, previous measurement equipment needs to be portable and does not have the characteristics of software algorithm switching, lacking certain flexibility. Summary of the invention

[0005] The technical problem to be solved by the utility model is: in view of the problem that the existing measuring equipment is not portable and the measuring mode is not easy to switch flexibly, a motion posture inclinometer based on MEMS nine-axis sensor is provided, which improves the measuring accuracy, is easy to implement and carry.

[0006] In order to solve the above technical problems, the utility model provides the following technical solutions: a motion attitude inclinometer based on a MEMS nine-axis sensor, comprising: a microprocessor, a sensor, a display, a host computer, and a power supply module for power supply; the microprocessor is respectively connected to the sensor, the display, and the host computer; wherein

[0007] The sensor includes: an accelerometer, an accelerometer measurement circuit, a gyroscope, a gyroscope processing circuit, a magnetometer, and a magnetometer processing circuit;

[0008] The accelerometer, gyroscope, and magnetometer are used as the input of the sensor to receive the target object motion data;

[0009] The accelerometer measurement circuit, the gyroscope processing circuit and the gyroscope processing circuit are respectively used as the output ends of the sensor, and the motion data output by the accelerometer, the gyroscope and the magnetometer are respectively converted into electrical signal data and output to the microprocessor and the host computer;

[0010] A known calculation program is stored in the microprocessor. According to the electrical signal data output by the sensor, the calculation program calculates the inclination angle of the target object and outputs it to the display for display;

[0011] The host computer stores a known threshold wavelet filter algorithm program, which is used to receive the electrical signal data output by the microprocessor, and outputs the inclination angle of the target object to an external plotter through the known threshold wavelet filter algorithm program, and the plotter outputs an angle waveform.

[0012] Furthermore, the aforementioned sensor is MPU9250 / MPU6050.

[0013] Furthermore, the aforementioned microprocessor is STM32F103C8T6.

[0014] Furthermore, the aforementioned display screen is LCD1602A.

[0015] Furthermore, the aforementioned microprocessor stores known solution programs including Madgwick algorithm programs.

[0016] Furthermore, in the aforementioned motion posture inclinometer based on MEMS nine-axis sensor, the microprocessor is connected to the sensor and the host computer respectively through serial port connection.

[0017] Furthermore, the aforementioned motion posture inclinometer based on MEMS nine-axis sensor also includes a power module including: a power adapter external power supply and a lithium battery.

[0018] Compared with the prior art, the beneficial technical effects of the present invention using the above technical solution are as follows:

[0019] The utility model adopts a single-chip microcomputer for processing, which can easily change the communication protocol between the single-chip microcomputer and the host computer, and can also conveniently update the algorithm adopted by the entire single-chip microcomputer on the host computer without replacing the processor, and has certain scalability. The software of the host computer collaborative working mode adopts a built-in MATLAB program, which can visually observe the waveform without the need for a large oscilloscope device. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 The structure block diagram of a known motion attitude inclinometer based on a MEMS nine-axis sensor.

[0021] Figure 2It is a real-time angle waveform drawn by software in the upper computer collaborative working mode of the utility model. DETAILED DESCRIPTION

[0022] In order to better understand the technical content of the present invention, specific embodiments are given and described as follows in conjunction with the accompanying drawings.

[0023] Various aspects of the invention are described herein with reference to the accompanying drawings, in which many illustrative embodiments are shown. The embodiments of the invention are not limited to those described in the accompanying drawings. It should be understood that the invention is implemented by any of the various concepts and embodiments described above, as well as the concepts and embodiments described in detail below, because the concepts and embodiments disclosed in the invention are not limited to any implementation. In addition, some aspects of the invention may be used alone or in any appropriate combination with other aspects disclosed in the invention.

[0024] refer to Figure 1 The utility model provides 1. A motion attitude inclination measuring instrument based on a MEMS nine-axis sensor, characterized in that it includes: a microprocessor, a sensor, a display, a host computer, and a power supply module for power supply; the microprocessor is respectively connected to the sensor, the display, and the host computer in a serial port connection form; wherein

[0025] The sensor includes: an accelerometer, an accelerometer measurement circuit, a gyroscope, a gyroscope processing circuit, a magnetometer, and a magnetometer processing circuit; the model of the sensor in the embodiment is MPU9250 / MPU6050.

[0026] The accelerometer, gyroscope, and magnetometer are used as the input of the sensor to receive the target object motion data;

[0027] The accelerometer measurement circuit, the gyroscope processing circuit and the gyroscope processing circuit are respectively used as the output ends of the sensor, and the motion data output by the accelerometer, the gyroscope and the magnetometer are respectively converted into electrical signal data and output to the microprocessor and the host computer;

[0028] The known Madgwick solution program is stored in the microprocessor STM32F103C8T6. According to the electrical signal data output by the sensor, the inclination angle of the target object is calculated by the solution program and output to the display LCD1602A for display;

[0029] The host computer stores a known threshold wavelet filter algorithm program, which is used to receive the electrical signal data output by the microprocessor, and outputs the inclination angle of the target object to an external plotter through the known threshold wavelet filter algorithm program, and the plotter outputs an angle waveform.

[0030] The power module can choose a power adapter external power supply or a lithium battery.

[0031] The sensor has three 16-bit acceleration outputs, three 16-bit gyroscope outputs, and three 6-bit magnetometer outputs. Precise slow and fast motion tracking, full-scale programmable gyroscope parameter selection, programmable acceleration parameter selection, and a maximum magnetometer of ±4800uT. The measuring instrument has two main working modes.

[0032] The utility model has two working modes: a microprocessor independent working mode and a host computer cooperative working mode.

[0033] (1) Microprocessor independent working mode: The sensor transmits the collected acceleration data, gyroscope data, and magnetometer data to the STM32 microcontroller through I2C. After the Madgwick algorithm stored in the microcontroller calculates the inclination angle, the LCD1602A liquid crystal screen displays the values ​​of the roll angle Roll, pitch angle Pitch, and yaw angle Yaw. This working mode is real-time and portable, and its dynamic characteristics are better than the host computer collaborative working mode.

[0034] (2) Host computer collaborative working mode: In this working mode, the host computer is connected to the microprocessor. The host computer stores the known improved threshold wavelet filter algorithm program, which is used to receive the electrical signal data output by the microprocessor and output the inclination angle of the target object to the display. On the basis of the independent working mode, the inclination measurement device realizes data transmission with the host computer through the serial port. The final calculated attitude inclination angle can be displayed on the LCD screen through the display module, or the real-time waveform can be drawn using software by reading the serial port, such as Figure 2 This working mode has the advantage of high accuracy, but it will sacrifice a certain degree of portability.

[0035] Although the present invention has been described above with preferred embodiments, it is not intended to limit the present invention. A person with ordinary knowledge in the technical field to which the present invention belongs may make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention shall be determined by the definition of the claims.

Claims

1. A motion attitude inclinometer based on a MEMS nine-axis sensor, characterized in that: include: Microprocessor, sensor, display, host computer, and power module for power supply; The microprocessor is connected to the sensor, display, and host computer respectively; in The sensor includes: an accelerometer, an accelerometer measurement circuit, a gyroscope, a gyroscope processing circuit, a magnetometer, and a magnetometer processing circuit; The accelerometer, gyroscope, and magnetometer are used as the input of the sensor to receive the target object motion data; The accelerometer measurement circuit, the gyroscope processing circuit and the gyroscope processing circuit are respectively used as the output ends of the sensor, and the motion data output by the accelerometer, the gyroscope and the magnetometer are respectively converted into electrical signal data and output to the microprocessor and the host computer; A known calculation program is stored in the microprocessor. According to the electrical signal data output by the sensor, the calculation program calculates the inclination angle of the target object and outputs it to the display for display; The host computer stores a known threshold wavelet filter algorithm program, which is used to receive the electrical signal data output by the microprocessor. After the known threshold wavelet filter algorithm program, the inclination angle of the target object is output to the external plotter, and the plotter outputs the angle waveform. The sensor is MPU9250 / MPU6050; the microprocessor is STM32F103C8T6.

2. The motion posture inclinometer based on MEMS nine-axis sensor according to claim 1, characterized in that: The display screen is LCD1602A.

3. The motion posture inclinometer based on MEMS nine-axis sensor according to claim 1, characterized in that: A known solution program stored in the microprocessor is the Madgwick algorithm program.

4. The motion posture inclinometer based on MEMS nine-axis sensor according to claim 3, characterized in that: The microprocessor is connected to the sensor and the host computer respectively through serial port connection.

5. The motion posture inclinometer based on MEMS nine-axis sensor according to claim 1, characterized in that: The power module includes: a power adapter external power supply and a lithium battery.