Color-changing display device based on object motion acceleration

文档序号:1844021 发布日期:2021-11-16 浏览:14次 中文

阅读说明:本技术 一种基于物体运动加速的变色显示装置 (Color-changing display device based on object motion acceleration ) 是由 张火明 丁正旺 陆萍蓝 于 2020-05-12 设计创作,主要内容包括:本发明装置是一种根据物体的加速度来显示其运动姿态的变色显示装置,属于检测技术领域。其结构主要由单片机控制模块(1),姿态检测传感器模块(2),液晶显示模块(3),几何载体包含了发光二极管和传感(4),电源模块(5)组成。所述装置的设计是基于单片机为控制核心,通过传感器对物体运动姿态进行检查,得到其加速度等姿态信息,经处理后将数据传送给单片机。单片机系统处理后,控制二极管显示出传感器的载体运动加速度大小、方向相关的不同颜色。同时在显示屏上实时显示出加速度大小等信息。通过显示屏可以显示出各种字体的文字或单色图像。单片机通过控制74HC573芯片行列扫描,能够在屏幕上显示图像、文字。这就是该装置的实用意义。(The invention discloses a color-changing display device for displaying a motion posture of an object according to the acceleration of the object, and belongs to the technical field of detection. The structure of the device mainly comprises a single chip microcomputer control module (1), an attitude detection sensor module (2), a liquid crystal display module (3), a geometric carrier, a light emitting diode, a sensor (4) and a power module (5). The device is designed based on a single chip microcomputer as a control core, the motion attitude of an object is checked through a sensor to obtain attitude information such as acceleration and the like of the object, and the data is transmitted to the single chip microcomputer after being processed. After the single chip system processes, the control diode displays different colors related to the motion acceleration and the direction of the carrier of the sensor. And simultaneously displaying information such as acceleration magnitude on a display screen in real time. Characters with various fonts or monochrome images can be displayed through the display screen. The singlechip can display images and characters on a screen by controlling the 74HC573 chip to scan in rows and columns. This is the practical significance of the device.)

1. A color-changing display device based on object motion acceleration mainly comprises a single-chip microcomputer control module (1), an attitude detection sensor module (2), a liquid crystal display module (3), a geometric carrier, a light-emitting diode, a sensor (4) and a power module (5). The device is designed based on a control platform with a single chip microcomputer as a core, and the whole device finishes motion attitude information acquisition, data processing, RGB color display and display of various information on a screen under the control of the single chip microcomputer.

2. The device as claimed in claim 1, wherein RGB LEDs are placed on each surface of the geometric carrier, the 9-axis attitude detection sensor MPU9250 is placed on a central horizontal platform inside the geometric carrier, the acquisition of motion attitude information and the display of colors are completed, and data information can be displayed on a liquid crystal display module.

3. The apparatus of claim 2, characterized by a 3D printed geometrical carrier and a liquid crystal display module.

4. The device according to claim 2, characterized in that the adopted sensor is a 9-axis attitude detection sensor MPU9250, which is a digital sensor integrating 9 axes into a whole in the first world. Compared with the prior sensor, the volume of the sensor is greatly reduced, the power consumption of the system is reduced, and most importantly, the problem of the inter-axis difference of the combined use of a plurality of sensors is solved.

5. The apparatus of claim 3, wherein the geometric carrier is de-nested with the light emitting diodes and the attitude sensing sensors.

Technical Field

The invention relates to a color-changing display device for displaying the motion attitude of an object according to the acceleration of the object, in particular to a display device which acquires the motion attitude information by using a multi-axis sensor, performs serial communication and data processing with the control of a single chip microcomputer to display in real time and can show the motion direction of the object through the color change of RGB light-emitting diodes. Belongs to the technical field of detection.

Background

With the continuous development of science and technology, the precision requirement on motion control is also continuously improved, the motion control mainly obtains attitude information through object attitude detection, and the object attitude detection also becomes a precondition for obtaining the attitude information and realizing the precise motion control. The acceleration posture color-changing display device is designed based on an MPU9250 multi-axis posture sensor module and a single chip microcomputer and is used for displaying the acceleration and the speed of the movement of an object.

High-precision inertial navigation sensors such as mechanical gyroscopes and optical fiber gyroscopes are expensive and bulky. Therefore, in most applications, sensors such as gyroscopes, accelerometers, and electronic compasses manufactured using MEMS technology are used for attitude detection. However, the attitude detection of a single sensor is susceptible to inertial device drift and accumulated errors, resulting in a decrease in measurement accuracy. In addition, if the attitude detection is carried out by adopting multiple sensors such as independent accelerometers, gyroscopes and the like, the defects of large occupied space of multiple chips, large error between attitude data axes, low data fusion precision and the like exist. Therefore, it is a research hotspot to improve the accuracy of attitude detection by adopting multi-sensor attitude detection and data fusion algorithms. Therefore, the device is based on a 9-axis attitude detection sensor MPU9250, an attitude detection system which takes a single chip microcomputer development board as a processing core is designed, the motion of an object is measured by the angular velocity of a gyroscope, then the calculated angle is measured by utilizing an accelerometer and an electronic compass to respectively measure the acceleration and the geomagnetic field, and the two unrelated three-dimensional vectors are measured to calibrate the value calculated by the gyroscope measurement.

Disclosure of Invention

The device is used for carrying out rough motion attitude detection to acquire object motion information when the object motion attitude needs to be detected. The device is designed based on a control platform with a single chip microcomputer system as a core, the motion attitude of an object is checked through a multi-axis attitude sensor module, the data of the multi-axis attitude sensor such as the acceleration, the deflection angle, the pitch angle and the roll angle are acquired, then the data are integrated by Kalman filtering, and the data are transmitted to a single chip microcomputer control center after being processed. After the control center collects and processes the attitude information, the control center controls the RGB light-emitting diodes to display different colors related to the magnitude and direction of the motion acceleration of the geometric carrier provided with the multi-axis attitude sensor. And simultaneously, the acceleration and the attitude information of the sensor can be displayed on a liquid crystal display screen in real time. Characters with various fonts or monochrome images can be displayed through the display screen. The singlechip can display images and characters on the liquid crystal display screen by controlling the 74HC573 chip to scan in rows and columns. This is the practical significance of the device.

The single chip microcomputer adopted by the invention is STM32 series, and in order to ensure the stable operation of the single chip microcomputer, the mini USB port is used for supplying power. In order to achieve the display effect, the liquid crystal display screen is connected with the display screen to display various acquired and processed data information, and the required content can be intuitively reflected.

The sensor adopted by the invention is a 9-axis attitude detection sensor MPU9250, which is a digital sensor integrating 9 axes into a whole in the first world. Compared with the prior sensor, the volume of the sensor is greatly reduced, the power consumption of the system is reduced, and most importantly, the problem of the inter-axis difference of the combined use of a plurality of sensors is solved.

The display lamp adopted by the invention is an RGB diode, a plurality of diodes are arranged in different directions, when the display lamp moves to different directions, the diode lamp in the direction is on, and different colors are displayed according to the acceleration obtained by calculation processing.

In order to more intuitively display the movement direction, the invention is additionally provided with a geometric carrier model, the diodes are placed on each surface of the geometric body model, the multi-axis attitude sensor is placed in the geometric carrier, and when the device moves towards a certain direction, the light emitting diodes on the geometric surface display corresponding colors according to the movement state of the light emitting diodes.

The device has a simple integral structure, the sensor is arranged on a horizontal platform in the geometric body, and the diode is embedded on the surface of the geometric carrier to display color change. The sensor is connected with the singlechip control module to form a connected communication interface, an I2C interface is used, I2C is a serial communication interface and needs one bit of data to be transmitted, so that a clock signal is needed to provide clock pulses, an Integrated Circuit bus I2C (Inter-Integrated Circuit) is a serial communication bus, and the connecting wires of the serial bus are few, so that the pins of a chip are saved, and the space of a PCB is saved. Therefore, the hardware design of the system is greatly simplified by adopting the serial line. The device is simple, does not have complicated structural design, and portable can detect anytime and anywhere, does not have other stricter environmental restriction factor to the detection result error value is also less, and this is the advantage of the device.

Drawings

Fig. 1 is a schematic structural diagram of the device. The specific structure is that the device is composed of a single chip microcomputer control module (1), an attitude detection sensor module (2), a liquid crystal display module (3), a geometric carrier, a light emitting diode, a sensor (4) and a power module (5).

Fig. 2 is a hardware block diagram of the apparatus.

FIG. 3 is a diagram of a geometric carrier.

Fig. 4 is a cross-sectional view of a geometric carrier.

Fig. 5 is a block flow diagram of the operation of the apparatus.

Detailed Description

The program is compiled in a PC through software, the program displays acceleration data acquired by the MPU9250 attitude sensor through a liquid crystal display screen, then the geometric carrier is irregularly changed, and the motion trail curve of the carrier can be smoothed through Kalman filtering. And observing whether the data on the liquid crystal display screen changes along with the movement of the sensor. If the displayed data changes along with the movement of the sensor, the MPU9250 can be normally connected with the single chip microcomputer control module and can normally work.

After the verification of the MPU9250 is completed, whether the RGB light-emitting diodes can normally operate is further verified. Each pin of the 6 three-color light-emitting diodes is respectively connected with a 1K current-limiting resistor and is connected to the pin of the singlechip control module through the current-limiting resistor. Each led has 4 pins, one pin being the anode and 3 pins being the cathode, each controlling one color (red, green, blue). And determining to give each stage acceleration a color by establishing a color mathematical model. When the geometrical carrier of the MPU9250 attitude sensor moves or changes the attitude, 6 light-emitting diodes can make corresponding color changes.

The hardware is connected well and the written program code is burned into the singlechip. After the single chip microcomputer is reset, all the light emitting diodes are lightened, and different colors are presented according to different postures of the MPU9250 carrier. When the geometric carrier is placed, the light emitting diode above the geometric carrier is red, and other diodes are green. When the carrier is biased to the left, the top diode changes from red to purple, blue, cyan to green and finally to green, at the same time, the left diode changes from green to cyan, blue, magenta to red and the other directions are similar. No matter how the posture of the geometric carrier changes, the light-emitting diode can make corresponding color changes.

7页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:定位方法、装置、电子设备及存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!