Disclosure of Invention
The invention aims to provide a data acquisition and playback device and a data acquisition and playback system, which adopt a set of complete system to solve the problems of radar data acquisition and playback.
In a first aspect, the present invention first provides a data acquisition and playback device, specifically, the data acquisition and playback device includes an information processing module, an acquisition interface, an upper computer interface, and a recharge interface, wherein: the information processing module is connected with the acquisition interface, the upper computer interface and the recharge interface, and is used for receiving an acquisition interface signal through the acquisition interface in an acquisition state, converting the acquisition interface signal into an upper computer interface signal and then transmitting the upper computer interface signal to the upper computer interface; and when in a recharging state, receiving an upper computer interface signal through the upper computer interface, converting the upper computer interface signal into a recharging interface signal and then sending the recharging interface signal to the recharging interface.
Furthermore, the information processing module is an FPGA data processing circuit.
Further, the acquisition interface is an LVDS interface.
Further, the upper computer interface is a gigabit Ethernet interface.
Furthermore, the data acquisition playback device also comprises a power module connected with the information processing module, and the power module is used for providing working voltage to the information processing module.
Furthermore, the data acquisition playback device also comprises a control interface connected with the information processing module, and the control interface is used for outputting a control signal.
Furthermore, the data acquisition playback device also comprises a feedback interface connected with the information processing module, and the feedback interface is used for receiving a feedback signal.
Furthermore, the data acquisition playback device also comprises a state indication module connected with the information processing module, and the state indication module is used for indicating the working state.
Further, the working state is selected from one or more of the working state of the information processing module, the working state of the acquisition interface and the working state of the recharging interface.
In a second aspect, the present invention further provides a data acquisition and playback system, specifically, the data acquisition and playback system includes an upper computer, a radar, and the data acquisition and playback device described above, wherein: the upper computer is connected with the radar through the data acquisition and playback device, acquires environment data acquired by the radar from the radar through the data acquisition and playback device in an acquisition state, and sends the recharge environment data to the radar through the data acquisition and playback device in a recharge state.
The data acquisition playback device and the data acquisition playback system provided by the invention adopt the same complete system to be used for the radar system to perform data acquisition and playback in the bench test process under the whole vehicle experimental environment, simplify the complexity of data acquisition and in-loop test work, and effectively reduce the production cost.
Detailed Description
The following detailed description of embodiments of the present invention is provided in connection with the accompanying drawings and examples. The following examples are intended to illustrate the invention but are not intended to limit the scope of the invention.
In a first aspect of the invention, a data acquisition playback device is provided. Fig. 1 is a block diagram of a data acquisition and playback device according to an embodiment of the present invention.
As shown in fig. 1, in an embodiment, the data acquisition and playback device includes an acquisition interface 11, an information processing module 12, an upper computer interface 13, and a recharge interface 14.
The information processing module 12 is connected with the acquisition interface 11, the upper computer interface 13 and the recharge interface 14, and has a basic working state comprising an acquisition state and a recharge state.
When the collection state, the radar is with the environmental data who gathers and generate the collection interface signal, and information processing module 12 receives the collection interface signal of radar through gathering interface 11 to gather interface signal conversion and host computer interface signal, then send to host computer interface 13 so that the host computer can read the environmental data that the radar gathered.
In a recharging state, the upper computer generates recharging environment data into an upper computer interface signal, the information processing module 12 receives the upper computer interface signal through the upper computer interface 13, converts the upper computer interface signal into a recharging interface signal, and then sends the recharging interface signal to the recharging interface 14 so that the recharging environment data can be recharged to the radar.
Through the two working modes of acquisition and recharging of the information processing module 12, the same complete system is adopted for data recharging when the radar system is used for data acquisition in the whole vehicle experimental environment and data recharging in the bench test process, and the complexity of data acquisition and in-loop test work is simplified.
The information processing module 12 can be implemented by various programmable functional architectures such as CPU, GPU, MCU, ARM, and DSP. In one embodiment, the information processing module 12 is an fpga (field Programmable Gate array) data processing circuit. The FPGA is a product further developed on the basis of programmable devices such as PAL, GAL and the like, has larger parallelism, and can be customized and reconfigured. And because the programming mode of the FPGA adopts hardware digital logic processing, the FPGA is particularly suitable for modulating and demodulating high-speed signals, and the effectiveness of data transmission is ensured.
When the acquisition interface signal of the radar is received through the acquisition interface 11, it can be acquired through various conventional high-speed data interfaces. Since the environment data collected by the radar includes raw data collected by the radar and radar post-processing data, in an embodiment, the collection interface 11 is an LVDS (Low-Voltage Differential Signaling) interface. Accordingly, an interface signal, i.e., an LVDS signal, is acquired. The LVDS interface has the characteristics of low voltage, low power consumption, low noise, strong anti-interference performance and high-speed transmission capability.
The host computer is typically implemented using a computer or other microcomputer-type device. Therefore, a connection method including ethernet may be used to connect with the upper computer. To ensure transmission capability, in one embodiment, the host interface 13 is a gigabit ethernet interface. Accordingly, the upper computer interface signal is a gigabit ethernet signal. In other embodiments, other data communication interfaces, such as HDMI and USB, may be used to communicate with the host computer.
Similarly, recharge interface 14 may be a radar-enabled interface, which is not described in detail herein.
Fig. 2 is a block diagram of a data acquisition and playback device according to another embodiment of the present invention.
As shown in fig. 2, in an embodiment, the data collection and playback device further includes a power module 15 connected to the information processing module 12. The power module 15 is used for supplying an operating voltage to the information processing module 12.
In one embodiment, power module 15 is adapted to accommodate wide voltage power inputs including 6-36V vehicle-mounted environments, and generates multiple power rails via a series of Buck/Boost circuits to provide operating voltages for information handling module 12.
Fig. 3 is a block diagram of a data acquisition and playback device according to another embodiment of the present invention.
As shown in fig. 3, in an embodiment, the data acquisition playback device further includes a control interface 16 connected to the information processing module 12. The control interface 16 is used to output control signals to the radar.
The control interface 16 may be any of a variety of conventional IO interfaces such as an I2C interface, an SPI interface, a GPIO interface, and a UART interface. Set up control interface 16, send control signal to radar through data acquisition playback device, the host computer can control the mode of radar, also can refresh the radar program through control interface 16.
Referring to fig. 3, in an embodiment, the data collection and playback device further includes a feedback interface 17 connected to the information processing module 12. The feedback interface 17 adopts a GPIO interface form for transmission, and the feedback interface 17 is used for receiving a feedback signal sent by a radar.
And a feedback interface 17 is arranged, and the radar can report the working state of the radar and the feedback of a control command at any time by sending a feedback signal through the feedback interface 17 in the working process. In other embodiments, the feedback interface 17 may also be other various interfaces supported by radar, which is not described herein.
With continued reference to fig. 3, in one embodiment, the data collection and playback device further includes a status indication module 18 connected to the information processing module 12. The status indication module 18 is used for indicating various working statuses related to the data acquisition and playback device.
The status indication may include a visual indication such as a light or display screen or an audible indication such as a voice. In one embodiment, an LED light is used to indicate the operating status.
In one embodiment, the operating state is selected from one or more of the operating state of information handling module 12, the operating state of acquisition interface 11, and the operating state of recharge interface 14. For example, one of the indicator lights is used to indicate a power state, one of the indicator lights is used to indicate a working state of the information processing module 12 itself, one of the indicator lights is used to indicate a connection state of the acquisition interface 11 and/or the recharge interface 14 between the information processing module 12 and the radar, one of the indicator lights is used to indicate a connection state of the upper computer interface 13 between the information processing module 12 and the upper computer, and one of the indicator lights is used to indicate a working state of the upper computer.
By arranging the state indicating module 18, the state monitoring of the information processing module 12 and the connected equipment is realized, and a user can know the state of the system conveniently.
In a second aspect, the invention also provides a data acquisition playback system. Fig. 4 is a block diagram of a data acquisition and playback system according to an embodiment of the present invention.
As shown in fig. 4, the data acquisition and playback system includes the upper computer 30, the radar 20, and the data acquisition and playback device 10 as described above.
The upper computer 30 is connected with the data acquisition and playback device 10 through an upper computer interface, and the data acquisition and playback device 10 is connected with the radar 20 through an acquisition interface and a recharge interface. The system has a basic working state including an acquisition state and a recharge state.
In the collection state, the radar 20 generates collected environmental data and a collection interface signal, and the data collection playback device 10 acquires the collection interface signal from the radar 20 through the collection interface, converts the collection interface signal into an upper computer interface signal, and then sends the upper computer interface signal to the upper computer 30.
In the recharging state, the upper computer 30 generates recharging environment data into an upper computer interface signal, and the data acquisition and playback device 10 receives the upper computer interface signal sent by the upper computer 30 through the upper computer interface, converts the upper computer interface signal into a recharging interface signal, and sends the recharging interface signal to the radar 20 through the recharging interface.
The data acquisition playback device and the data acquisition playback system provided by the invention adopt the same complete system to be used for the radar system to perform data acquisition and playback in the bench test process under the whole vehicle experimental environment, simplify the complexity of data acquisition and in-loop test work, and effectively reduce the production cost.
In this document, unless expressly stated or limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meaning of the above terms can be understood in a specific case to those of ordinary skill in the art.
As used herein, the ordinal adjectives "first", "second", etc., used to describe an element are merely to distinguish between similar elements and do not imply that the elements so described must be in a given sequence, either temporally, spatially, in ranking, or in any other manner.
As used herein, the meaning of "a plurality" or "a plurality" is two or more unless otherwise specified.
It will be understood by those skilled in the art that all or part of the steps of implementing the above method embodiments may be implemented by hardware associated with program instructions, and the program may be stored in a computer readable storage medium, and when executed, performs the steps including the above method embodiments. The foregoing storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
As used herein, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, including not only those elements listed, but also other elements not expressly listed.
The above description is only an embodiment of the present invention, but the scope of the present invention is not limited thereto. Any person skilled in the art can easily conceive of changes or substitutions within the technical scope of the present disclosure, and all such changes or substitutions are included in the scope of the present disclosure. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.