Data transmission equipment and method capable of acquiring multiple paths of inertia measurement units

文档序号:1859043 发布日期:2021-11-19 浏览:15次 中文

阅读说明:本技术 一种可采集多路惯性测量单元的数据传输设备及传输方法 (Data transmission equipment and method capable of acquiring multiple paths of inertia measurement units ) 是由 徐波 韩金龙 于 2021-07-01 设计创作,主要内容包括:本发明公开了一种可采集多路惯性测量单元的数据传输设备,包括机壳,所述机壳的一侧上设置有接线端子排和天线,所述接线端子排上设置有多个接线端子插口,所述接线端子排上还设置有数据采集模块,所述机壳内设置有数据处理模块和无线传输模块,所述接线端子排与数据处理模块之间、数据处理模块和无线传输模块之间以及无线传输模块与天线之间进行数据传输;数据传输方法,包括从机传输方法和主机传输方法;所述从机传输方法包括:数据采集模块从各个接线端子插口采集产品的原始数据,然后将采集到的原始数据发送给数据处理模块;主机传输方法:数据处理模块将数据传输给无线传输模块,无线传输模块将数据传输给天线,天线将数据传输给上位机。(The invention discloses data transmission equipment capable of acquiring a plurality of paths of inertia measurement units, which comprises a shell, wherein a wiring terminal row and an antenna are arranged on one side of the shell, a plurality of wiring terminal sockets are arranged on the wiring terminal row, a data acquisition module is also arranged on the wiring terminal row, a data processing module and a wireless transmission module are arranged in the shell, and data transmission is carried out between the wiring terminal row and the data processing module, between the data processing module and the wireless transmission module and between the wireless transmission module and the antenna; the data transmission method comprises a slave computer transmission method and a master computer transmission method; the slave transmission method comprises the following steps: the data acquisition module acquires original data of a product from each wiring terminal socket and then sends the acquired original data to the data processing module; the host transmission method comprises the following steps: the data processing module transmits the data to the wireless transmission module, the wireless transmission module transmits the data to the antenna, and the antenna transmits the data to the upper computer.)

1. A data transmission equipment capable of acquiring multiple paths of inertial measurement units comprises a machine shell (1), and is characterized in that: the novel multifunctional binding post is characterized in that a binding post row (2) and an antenna (3) are arranged on one side of the casing (1), a plurality of binding post sockets (4) are arranged on the binding post row (2), a data acquisition module is further arranged on the binding post row (2), a data processing module (5) and a wireless transmission module (6) are arranged in the casing (1), data transmission is carried out between the binding post row (2) and the data processing module (5), data transmission is carried out between the data processing module (5) and the wireless transmission module (6), data transmission is carried out between the wireless transmission module (6) and the antenna (3), the binding post sockets are used for inserting a product to be detected, the data acquisition module is used for acquiring original data of the product to be detected and transmitting the acquired original data to the data processing module, and the data processing module is used for receiving the original data transmitted by the data acquisition module, And processing the original data, and transmitting the processed data to a wireless transmission module, wherein the wireless transmission module is used for transmitting the data to an antenna.

2. The data transmission device capable of acquiring multiple paths of inertial measurement units according to claim 1, wherein: the wiring terminal strip (2) is connected with the data processing module (5) through a data line, and the data processing module (5) is connected with the wireless transmission module (6) through a data line.

3. The data transmission device capable of acquiring multiple paths of inertial measurement units according to claim 1, wherein: the wireless transmission module (6) is in wireless connection with the antenna (3).

4. The data transmission device capable of acquiring multiple paths of inertial measurement units according to claim 1, wherein: the data acquisition module comprises a first chip.

5. The data transmission device capable of acquiring multiple paths of inertial measurement units according to claim 1, wherein: the data processing module includes a second chip.

6. The utility model provides a data transmission method that can gather multichannel inertia measurement unit, includes casing (1), be provided with binding post row (2) and antenna (3) on one side of casing (1), be provided with data processing module (5) and wireless transmission module (6) in casing (1), its characterized in that: the method comprises a slave computer transmission method and a master computer transmission method;

the slave transmission method comprises the following steps: the data acquisition module acquires original data of the product from each wiring terminal socket (4), and then sends the acquired original data to the data processing module;

the host transmission method comprises the following steps: the data processing module transmits the data to the wireless transmission module, the wireless transmission module transmits the data to the antenna, and the antenna transmits the data to the upper computer.

7. The data transmission method of the acquirable multipath inertial measurement unit of claim 4, characterized in that: when the product to be tested is inserted into the corresponding socket, initializing the product to be tested;

the data acquisition module acquires initial data of a product to be detected and then stores the initial data into a cache, and then all data in the cache are packaged into frames and sent to the data processing module.

Technical Field

The invention relates to the field of data transmission, in particular to data transmission equipment and a data transmission method capable of acquiring multiple paths of inertia measurement units.

Background

The existing testing equipment of company products comprises special equipment (such as a temperature box, a single-shaft speed turntable, a high-low temperature impact box, a vibration table and the like), and the internal working structure and the data transmission mode of the equipment are customized, so that standardized equipment cannot be purchased on the market to connect the company testing equipment and the products;

at present, products to be tested are placed in testing equipment and connected to an external computer in a traditional wired transmission mode for data acquisition, analysis and testing, only one product can be tested at a time, the equipment space utilization rate is low, and the process of replacing the testing products is complex.

Disclosure of Invention

The invention aims to provide data transmission equipment and a data transmission method which can test a plurality of products at one time and have high working efficiency and can acquire a plurality of paths of inertia measurement units.

The technical scheme adopted by the invention for solving the technical problems is as follows: the utility model provides a can gather multichannel inertia measuring unit's data transmission equipment, includes the casing, be provided with binding post row and antenna on one side of casing, binding post row is last to be provided with a plurality of binding post sockets, binding post row is last still to be provided with data acquisition module, be provided with data processing module and wireless transmission module in the casing, carry out data transmission between binding post row and the data processing module, carry out data transmission between data processing module and the wireless transmission module, carry out data transmission between wireless transmission module and the antenna, the binding post socket is used for supplying the product that awaits measuring to insert, data acquisition module is the raw data that is used for gathering the product that awaits measuring to give data processing module with the raw data transmission who gathers, data processing module is the raw data that is used for receiving data acquisition module transmission, and, And processing the original data, and transmitting the processed data to a wireless transmission module, wherein the wireless transmission module is used for transmitting the data to an antenna.

Further, the method comprises the following steps: the wiring terminal strip is connected with the data processing module through a data line, and the data processing module is connected with the wireless transmission module through a data line.

Further, the method comprises the following steps: the wireless transmission module is wirelessly connected with the antenna and used for enabling the equipment to be located in a closed space.

Further, the method comprises the following steps: the data acquisition module comprises a first chip.

Further, the method comprises the following steps: the data processing module includes a second chip.

A data transmission method capable of collecting multiple paths of inertia measurement units comprises a shell, wherein a wiring terminal row and an antenna are arranged on one side of the shell, a data processing module and a wireless transmission module are arranged in the shell, and the data transmission method comprises a slave computer transmission method and a host computer transmission method;

the slave transmission method comprises the following steps:

the data acquisition module acquires original data of a product from each wiring terminal socket and then sends the acquired original data to the data processing module;

the host transmission method comprises the following steps: the data processing module transmits the data to the wireless transmission module, the wireless transmission module transmits the data to the antenna, and the antenna transmits the data to the upper computer.

Further, the method comprises the following steps: when the product to be tested is inserted into the corresponding socket, initializing the product to be tested;

the data acquisition module acquires initial data of a product to be detected and then stores the initial data into a cache, and then packs all the data in the cache and sends the packed data to the data processing module.

The invention has the beneficial effects that: the invention can test a plurality of products at one time, saves the time for replacing the products, improves the working efficiency and saves the occupied space of the equipment.

Drawings

FIG. 1 is a schematic diagram of an overall structure of a data transmission device capable of acquiring multiple paths of inertia measurement units;

FIG. 2 is a flowchart illustrating a first embodiment;

labeled as: 1. a housing; 2. a terminal block; 3. an antenna; 4. a wiring terminal socket; 5. a data processing module; 6. and a wireless transmission module.

Detailed Description

The invention is further described with reference to the following figures and detailed description.

The utility model provides a can gather multichannel inertia measuring unit's data transmission equipment, includes casing 1, be provided with binding post row 2 and antenna 3 on one side of casing 1, binding post row 2 is last to be provided with a plurality of binding post sockets 4, still be provided with data acquisition module on binding post row 2, be provided with data processing module 5 and wireless transmission module 6 in the casing 1, carry out data transmission between binding post row 2 and the data processing module 5, carry out data transmission between data processing module 5 and the wireless transmission module 6, carry out data transmission between wireless transmission module 6 and the antenna 3.

The binding post socket is used for supplying the product that awaits measuring to insert, the data acquisition module is the raw data that is used for gathering the product that awaits measuring to the raw data transmission who will gather gives data processing module, data processing module is used for receiving the raw data that data acquisition module transmitted, handles raw data, and gives wireless transmission module with the data transmission after handling, wireless transmission module is used for giving the antenna with data transmission.

The wiring terminal strip 2 is provided with a plurality of wiring terminal sockets 4 for enabling the data transmission equipment to collect data of a plurality of products to be tested at one time, improving the working efficiency,

on the basis, the wiring terminal block 2 is connected with the data processing module 5 through a data line, and the data processing module 5 is connected with the wireless transmission module 6 through a data line.

On the basis, the wireless transmission module 6 is in wireless data connection with the antenna 3, so that the device can be in a closed space.

On the basis, the data acquisition module comprises a first chip.

The wireless transmission module 6 is an ESP8266 chip.

On the basis, the data processing module comprises a second chip, and the product to be tested outputs original data by using a UART serial port signal, so that enough MCU (microprogrammed control unit) for GPIO (general purpose input/output) needs to be selected to increase the access quantity and the mode of simulating the UART serial port by GPIO is supported to receive data. And the data processing module 5 is determined to select an STM32F103ZCT6 chip by comprehensive cost consideration, the chip is packaged by LQFP144, the number of general GPIO ports is 112, UART is a two-wire transmission protocol, and the theoretical maximum access equipment number is 56.

A data transmission method capable of collecting multiple paths of inertia measurement units comprises a machine shell 1, wherein a wiring terminal block 2 and an antenna 3 are arranged on one side of the machine shell 1, a data processing module 5 and a wireless transmission module 6 are arranged in the machine shell 1, and the method comprises a slave machine transmission method and a host machine transmission method;

the slave transmission method comprises the following steps: the data acquisition module acquires original data of a product to be detected from each wiring terminal socket 4, and then sends the acquired original data to the data processing module, wherein the product is a sensor in the embodiment, for a receiving end, the falling edge of a receiving pin is detected through external interruption, a timer is started after an initial signal is detected, the timer sets time according to a baud rate, the timer enters the timer at intervals to interrupt the received data, and the timer is closed after one byte is completed;

the host transmission method comprises the following steps: the data processing module transmits the data to the wireless transmission module, the wireless transmission module transmits the data to the antenna, the antenna transmits the data to the upper computer, and the upper computer is a personal computer.

The first embodiment is as follows:

a data transmission method capable of acquiring a plurality of paths of inertia measurement units comprises a shell 1, wherein a wiring terminal block 2 and an antenna 3 are arranged on one side of the shell 1, a second chip with the model of STM32F103ZCT6 and a chip with the model of ESP8266 are arranged in the shell 1, and the method comprises a slave computer transmission method and a master computer transmission method;

the slave transmission method comprises the following steps:

the method comprises the following steps: the method comprises the following steps that (1) first chip internal initialization comprises clock frequency, beat, timer and pin configuration, peripheral register configuration and the like of a first chip;

step two: initializing a sensor;

step three: the method comprises the steps that a first chip collects original data of a product to be detected;

step four: storing the data into a cache;

step five: the product to be tested transmits data to the data processing module through the UART serial port, and the delay time corresponding to different baud rates is calculated for the transmitting end to transmit the data;

the host transmission method comprises the following steps:

step A: initializing the data processing module 5;

and B: initializing a wireless transmission module 6;

and C: the wireless transmission module 6 is connected with the PC;

step D: traversing the slave to check whether a product to be tested exists;

step E: establishing communication with a slave;

step F: receiving slave data, detecting the falling edge of a receiving pin through external interruption for a receiving end, starting a timer after detecting a starting signal, setting time by the timer according to a baud rate, entering the timer at intervals to interrupt the receiving data, and closing the timer after finishing one byte;

the specific implementation method comprises the following steps:

starting a timer 1 to make background time, wherein the frequency after frequency division of the timer is 1MHz, the time of one bit is 52.08 microseconds for the baud rate of 19200bps, and the whole time is 52 microseconds.

At the same time, a timer 2 is started, and the time is set to be greater than 52 × 10 — 520 microseconds, for example, 530 microseconds.

And analyzing according to the actual value received by the serial port communication timing diagram to obtain a received value, wherein if the MSB is '1', the corresponding bit is also '1', and if the received value is a non-1 number, the received value is filled with '0'. Therefore, the corresponding analysis code is written out to realize the analog receiving function.

The data processing module 5 packages the received data into frames, and the data processing module 5 adds key bytes such as address bits and the like to each path of received original data and then repackages the data;

the data processing module 5 sends the data to the wireless transmission module 6;

the wireless transmission module 6 sends the data to the PC end;

the above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the present invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

8页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:泊车轨迹生成方法、装置、计算机设备和存储介质

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!