Movatterモバイル変換


[0]ホーム

URL:


CN118625698B - Echo signal simulation device, echo signal simulation method and semi-physical simulation test system - Google Patents

Echo signal simulation device, echo signal simulation method and semi-physical simulation test system
Download PDF

Info

Publication number
CN118625698B
CN118625698BCN202411106801.6ACN202411106801ACN118625698BCN 118625698 BCN118625698 BCN 118625698BCN 202411106801 ACN202411106801 ACN 202411106801ACN 118625698 BCN118625698 BCN 118625698B
Authority
CN
China
Prior art keywords
instruction
echo signal
response
signal simulation
voltage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202411106801.6A
Other languages
Chinese (zh)
Other versions
CN118625698A (en
Inventor
王飞
赵军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaowei Technology Co ltd
Original Assignee
Beijing Xiaowei Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaowei Technology Co ltdfiledCriticalBeijing Xiaowei Technology Co ltd
Priority to CN202411106801.6ApriorityCriticalpatent/CN118625698B/en
Publication of CN118625698ApublicationCriticalpatent/CN118625698A/en
Application grantedgrantedCritical
Publication of CN118625698BpublicationCriticalpatent/CN118625698B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本公开提供了一种回波信号仿真装置、回波信号仿真方法以及半实物仿真测试系统。其中,回波信号仿真装置包括:输入处理单元、控制单元、输出处理单元。输入处理单元用于对接收到的指令进行电压转换,以得到控制单元能够接收的有效指令。控制单元用于对有效指令进行处理以获取指令的指令信息,以及基于指令信息和被配置的回应参数生成回应信息。输出处理单元用于基于回应信息生成特性匹配的调制电流,以作为对指令的响应。上述回波信号仿真装置可以对真实超声波传感器的回波信号进行仿真,使被测控制器可以将接收到的电流信号视为超声波传感器返回的回波信号进行处理,进而完成对被测控制器进行的与环境感知相关的半实物仿真测试。

The present disclosure provides an echo signal simulation device, an echo signal simulation method and a semi-physical simulation test system. The echo signal simulation device includes: an input processing unit, a control unit and an output processing unit. The input processing unit is used to perform voltage conversion on the received instructions to obtain valid instructions that can be received by the control unit. The control unit is used to process the valid instructions to obtain the instruction information of the instructions, and to generate response information based on the instruction information and the configured response parameters. The output processing unit is used to generate a characteristic-matched modulated current based on the response information as a response to the instruction. The above-mentioned echo signal simulation device can simulate the echo signal of a real ultrasonic sensor, so that the controller under test can treat the received current signal as the echo signal returned by the ultrasonic sensor for processing, thereby completing the semi-physical simulation test related to environmental perception of the controller under test.

Description

Echo signal simulation device, echo signal simulation method and semi-physical simulation test system
Technical Field
The disclosure relates to the field of signal simulation, and in particular relates to an echo signal simulation device, an echo signal simulation method and a semi-physical simulation test system.
Background
In automatic parking and assisted driving, an ultrasonic sensor is generally used to sense the surrounding environment so that the vehicle is automatically parked without error. With the development of ultrasonic technology, the new generation ultrasonic sensor not only ranges farther, but also has smaller sensing blind areas, and can sense close-range obstacles more accurately, so that the new generation ultrasonic sensor is increasingly applied to vehicles. The vehicle controller adopts a communication chip corresponding to the sensor, so that the data can be processed more efficiently, and the refresh period of the sensing system is shortened.
In the development test process of a vehicle controller, a real-vehicle live-action test is a common test means, and a tester collects obstacle information to verify the function of the controller when driving a vehicle. Compared with the actual vehicle test with low efficiency and safety risk, the semi-physical simulation is more convenient and safer, and the simulation equipment for simulating the sensor function is a core part of the semi-physical simulation test, but with iteration of the ultrasonic technology, the existing simulation test means are not perfect, and cannot meet the increasing test demands.
Disclosure of Invention
Aiming at the problems, the disclosure provides an echo signal simulation device, an echo signal simulation method and a semi-physical simulation test system, so as to solve or improve the problem of low efficiency of the existing real-vehicle real-scene test mode.
In one aspect, there is provided an echo signal simulation apparatus including: the device comprises an input processing unit, a control unit and an output processing unit. The input processing unit is used for performing voltage conversion on the received instruction to obtain an effective instruction which can be received by the control unit; the control unit is used for processing the effective instruction to acquire instruction information of the instruction, and generating response information based on the instruction information and the configured response parameters; the output processing unit is used for generating the modulation current with matched characteristics based on the response information as a response to the instruction.
In one possible implementation, the input processing unit includes: the first conversion module is used for converting the voltage of the received instruction into a first voltage so as to obtain an effective instruction.
In one possible implementation, the input processing unit may further include: and the first judging module is used for judging whether the received instruction is valid or not, and if the received instruction is valid, the control unit is enabled to process the valid instruction.
In this implementation manner, the echo signal simulation device receives the instruction sent by the measured controller through the bus and receives the power supply, and the first judging module is used for judging whether the power supply voltage of the echo signal simulation device on the bus accords with the working voltage of the echo signal simulation device and/or judging whether the voltage of the instruction on the bus accords with the working voltage of the control unit, and when the power supply voltage accords with the working voltage of the echo signal simulation device and/or the voltage of the instruction accords with the working voltage of the control unit, the instruction received by the echo signal simulation device is valid.
The fact that the power supply voltage accords with the working voltage of the echo signal simulation device means that the power supply voltage of the echo signal simulation device on the bus is in a voltage range capable of enabling the echo signal simulation device to receive and process instructions; the command voltage conforming to the operating voltage of the control unit means that the command voltage is within a voltage range that covers all command types of the controller under test.
In one possible implementation, the control unit includes: the device comprises a decoding module, a response module and an encoding module. The decoding module is used for decoding the effective instruction to acquire instruction information of the instruction, wherein the instruction information comprises: the type of instruction; the response module is used for determining a response mode based on the instruction information, receiving response parameters configured by the upper computer, and further generating response contents according to the instruction information, the response mode and the response parameters; the encoding module is used for encoding based on response content to obtain response information, the response information comprises a check code which is calculated and generated based on the response content by a preset algorithm, the check code is used for a measured controller to verify whether a received echo signal is correct or not based on the same preset algorithm, and the echo signal refers to a modulation current which is generated based on the response information and is matched with the characteristic.
In one possible implementation, the response module includes: the system comprises a configuration sub-module, a generation sub-module and a selection sub-module. The configuration sub-module is used for receiving response parameters configured by the upper computer according to the instruction information, wherein the response parameters comprise: echo data which need to be responded by the echo signal simulation device; the generation submodule is used for identifying and recording the type of the instruction based on the instruction information, judging whether the instruction needs to be responded, and if the instruction needs to be responded, generating response content according to the response parameters; the selection submodule is used for determining a response mode according to the type of the instruction and sending response contents to the encoding module in the selected response mode.
In one possible implementation, the response module further includes: and the verification submodule is used for verifying whether the instruction information is correct, receiving the instruction information by the generation submodule under the condition that the instruction information is correct, identifying and recording the type of the instruction based on the instruction information, and judging whether the instruction needs to be responded or not.
In one possible implementation, the output processing unit includes: the second conversion module and the third conversion module. The second conversion module is used for converting the response information into a voltage signal; the third conversion module is used for converting the voltage signal into a modulation current with characteristics matched with the response information, and responding the modulation current as an echo signal to the instruction received by the echo signal simulation device.
In another aspect, there is provided an echo signal simulation method applied to the control unit of the echo signal simulation apparatus described in any one of the embodiments above, and the echo signal simulation apparatus further includes: an input processing unit and an output processing unit.
The echo signal simulation method in the embodiment of the disclosure includes, when the input processing unit converts the received instruction into an effective instruction with a voltage being a first voltage and determines that the instruction is effective: the method includes the steps of processing an effective instruction to obtain instruction information of the instruction, generating response information based on the instruction information and configured response parameters, enabling an output processing unit to convert the response information into a voltage signal, generating a modulation current with characteristics matched with the response information based on the voltage signal, and responding the modulation current as an echo signal to the instruction received by an echo signal simulation device.
Specifically, the echo signal simulation device receives the instruction sent by the controlled controller and receives the power supply through the bus, and in this case, the determining that the instruction is valid includes: the input processing unit judges whether the power supply voltage of the echo signal simulation device on the bus accords with the working voltage of the echo signal simulation device and/or judges whether the command voltage on the bus accords with the working voltage of the control unit, and when the power supply voltage accords with the working voltage of the echo signal simulation device and/or the command voltage accords with the working voltage of the control unit, the command received by the echo signal simulation device is effective. The power supply voltage accords with the working voltage of the echo signal simulation device, namely the power supply voltage of the echo signal simulation device on the bus is in a voltage range capable of enabling the echo signal simulation device to receive and process instructions; the command voltage conforming to the operating voltage of the control unit means that the command voltage is within a voltage range that covers all command types of the controller under test.
In one possible implementation, the step of processing the valid instruction to obtain instruction information of the instruction, and generating response information based on the instruction information and the configured response parameters includes: decoding the valid instruction to obtain instruction information of the instruction, wherein the instruction information comprises: the type of instruction; determining a response mode based on the instruction information, receiving response parameters configured by the upper computer, and generating response contents according to the instruction information, the response mode and the response parameters; and encoding based on the response content to obtain response information, wherein the response information comprises a check code which is calculated and generated based on the response content by a preset algorithm, and the check code is used for a measured controller to verify whether the received echo signal is correct based on the same preset algorithm.
In one possible implementation manner, the step of determining the response mode based on the instruction information and receiving the response parameter configured by the upper computer, and further generating the response content according to the instruction information, the response mode and the response parameter includes: verifying whether the instruction information is correct; under the condition that the instruction information is correct, receiving response parameters configured by the upper computer according to the instruction information, wherein the response parameters comprise: echo data which need to be responded by the echo signal simulation device; identifying and recording the type of the instruction based on the instruction information, judging whether the instruction needs to be responded, and if the instruction needs to be responded, generating response content according to response parameters; and determining a response mode according to the type of the instruction, and responding the response content in the selected response mode.
In yet another aspect, a semi-physical simulation test system is provided, the test system comprising: the device comprises a measured controller, an upper computer and the echo signal simulation device described in any embodiment. Specifically, the at least one echo signal simulation device is connected to the bus of the measured controller and is connected with the upper computer, and is used for receiving the command issued by the measured controller and the response parameter containing echo data configured by the upper computer according to the command, converting the response information generated based on the command and the response parameter into a modulation current with characteristics matched with the response information, and further responding the modulation current as an echo signal to the measured controller.
The beneficial effects that this disclosure provided technical scheme brought include at least: the echo signal simulation device and the echo signal simulation method realize the simulation of the echo signal of the real ultrasonic sensor, so that the measured controller can treat the received current signal as the echo signal returned by the ultrasonic sensor, and further complete the semi-physical simulation test of environment perception performed by the measured controller.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the disclosure, nor is it intended to be used to limit the scope of the disclosure. Other features of the present disclosure will become apparent from the detailed description of the invention.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings required for the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present disclosure, and other drawings may be obtained according to these drawings without inventive effort for a person of ordinary skill in the art.
FIG. 1 schematically illustrates a structural diagram of a semi-physical simulation test system in accordance with an embodiment of the present disclosure.
Fig. 2 exemplarily shows a schematic structural diagram of an echo signal simulation apparatus according to an embodiment of the present disclosure.
Fig. 3 exemplarily shows a schematic structural diagram of an input processing unit of an embodiment of the present disclosure.
Fig. 4 exemplarily shows another structural schematic diagram of an input processing unit of an embodiment of the present disclosure.
Fig. 5 exemplarily shows a schematic structural diagram of a control unit of an embodiment of the present disclosure.
Fig. 6 exemplarily shows a schematic structural view of a response module of an embodiment of the present disclosure.
Fig. 7 schematically illustrates another structural diagram of the response module according to an embodiment of the present disclosure.
Fig. 8 exemplarily shows a schematic structural diagram of an output processing unit of an embodiment of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present disclosure to facilitate understanding, and should be considered as merely exemplary. Accordingly, one of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
The term "comprising" and variations thereof as used herein means open ended, i.e., "including but not limited to. The term "or" means "and/or" unless specifically stated otherwise. The term "based on" means "based at least in part on". The terms "one example embodiment" and "one embodiment" mean "at least one example embodiment. The term "another embodiment" means "at least one additional embodiment". The terms "first," "second," and the like, may refer to different or the same object. Other explicit and implicit definitions are also possible below.
As mentioned above, with the update iteration of the ultrasonic sensor technology, more and more vehicles begin to adopt new generation sensors to improve the accuracy of sensing the surrounding environment by the vehicles, so as to shorten the refresh period of the vehicle sensing system. For this purpose, the controllers of the vehicle employ communication chips corresponding to the sensors, which need to be tested comprehensively in order to verify the functions of these controllers. Semi-physical simulation testing is one of the common approaches, where the simulation equipment used to simulate the sensor function is the core of the test system, however, existing simulation equipment is not suitable for new generation sensors.
Based on the above, the embodiment of the disclosure provides an echo signal simulation device, an echo signal simulation method and a semi-physical simulation test system, which can complete the semi-physical simulation test of a vehicle controller adopting a chip corresponding to a new generation of ultrasonic sensor.
Referring to fig. 1, an exemplary structure diagram of a semi-physical simulation test system is shown in an embodiment of the disclosure. As shown, the test system includes: the measured controller 100, the echo signal simulation device 200 and the upper computer 300 are connected in sequence.
In the test system, the echo signal simulation device 200 is connected to the measured controller 100 through a bus, and is used for simulating an echo signal generated when a real ultrasonic sensor senses an environment. When there are a plurality of ultrasonic sensors to be simulated, there may be a plurality of echo signal simulation devices 200 connected to the bus of the controlled controller 100. The simulation devices 200 may be connected in parallel or in series on a bus, and the simulation devices 200 may be connected in communication with the host computer 300. In the embodiment of the disclosure, the echo signal simulation device 200 can receive the instruction issued by the measured controller 100, and the upper computer 300 generates response information according to the received instruction and the corresponding response parameter according to the response parameter including echo data configured by the instruction, and converts the response information into a modulated current with matched characteristics to be fed back to the measured controller 100 as a response to the received instruction.
An echo signal simulation apparatus 200 according to an embodiment of the present disclosure will be exemplarily described with reference to fig. 2 to 8.
Referring to fig. 2, an exemplary structure diagram of an echo signal simulation device 200 is shown in an embodiment of the disclosure, where the echo signal simulation device 200 is connected to a measured controller 100, and receives an instruction issued by the measured controller 100. As shown, the echo signal simulation apparatus 200 includes: an input processing unit 210, a control unit 220, and an output processing unit 230, which are sequentially connected.
The input processing unit 210 is configured to perform voltage conversion on the received command to obtain a valid command that can be received by the control unit 220. The control unit 220 receives and processes the valid instruction to obtain instruction information contained in the instruction issued by the controlled controller 100, and the control unit 220 is further configured to generate response information based on the instruction information and the configured response parameters. The output processing unit 230 is configured to generate a modulated current having characteristics matching the response information based on the response information, and the echo signal simulation device 200 according to the embodiment of the present disclosure responds the modulated current signal as an echo signal to the instruction sent by the measured controller 100.
In practical application, the ultrasonic sensor is connected with the controller through the bus, receives a measurement instruction of the controller, starts a new measurement sequence, analyzes measurement data, further determines echo information of the obstacle, and feeds back relevant information to the controller. The echo signal simulation device 200 of the embodiment of the present disclosure is intended to simulate the function of an ultrasonic sensor, and can communicate with the measured controller 100 based on a communication protocol between the actual ultrasonic sensor and the controller, for example, analyze an instruction issued by the measured controller 100 and respond to corresponding data. The control unit 220 in the echo signal simulation device 200 of the embodiments of the present disclosure may be an integrated Circuit chip having signal processing capabilities, such as a general purpose Processor, a Digital Signal Processor (DSP), an Application SPECIFIC INTEGRATED Circuit (ASIC), a field programmable gate array (Field Programmable GATE ARRAY, FPGA), or other programmable logic device. The command of the controller 100 is sent in the form of a voltage, and the voltage signal cannot be directly processed by the control unit 220 having the signal processing capability in general. Therefore, the echo signal simulation device 200 of the embodiment of the present disclosure is provided with an input processing unit 210, which is used for preprocessing the instruction output by the measured controller 100, and the specific processing mode is voltage conversion, so as to obtain an effective instruction that can be received and processed by the control unit 220. Accordingly, the response information generated by the control unit 220 is also required to be processed by the output processing unit 230 and then output to the controlled controller 100. Thus, the echo signal simulation device 200 of the embodiment of the present disclosure realizes the simulation of the process of detecting an obstacle by the ultrasonic sensor and feeding the related information of the obstacle back to the measured controller 100, that is, the echo signal simulation device 200 of the embodiment of the present disclosure can realize the semi-physical simulation test of the measured controller 100.
Referring to fig. 3, an exemplary configuration of the input processing unit 210 is shown in an embodiment of the present disclosure. As shown, the input processing unit 210 includes: the input end of the first conversion module 211 is connected to the measured controller 100, and the output end is connected to the input end of the control unit 220.
The first conversion module 211 is configured to convert the voltage of the command received by the echo signal simulation device 200 into a first voltage, so as to obtain a valid command. For example, in view of stability and reliability of bus communication, the on-board controller is generally designed to output a voltage signal of 5V, however, taking the control unit 220 as an example using an FPGA device, the FPGA is generally capable of processing a voltage signal of 3.3V, and therefore, it is required to perform voltage conversion on an instruction issued by the measured controller 100 through the first conversion module 211, to convert the voltage signal from 5V to 3.3V.
Referring to fig. 4, another structural schematic diagram of the input processing unit 210 is schematically shown in an embodiment of the disclosure. As shown, the input processing unit 210 further includes: the first judging module 212 has an input terminal connected to the bus between the echo signal simulation device 200 and the measured controller 100, and an output terminal connected to the input terminal of the control unit 220.
The first determining module 212 is configured to determine whether the instruction received by the echo signal simulation device 200 is valid, and if the received instruction is determined to be valid, the input processing unit 210 may enable the control unit 220 to process the valid instruction after voltage conversion by sending an instruction signal to the control unit 220.
As mentioned above, the echo signal simulation device 200 receives the command sent by the controlled controller 100 and receives the power through the bus, and in one possible implementation, a plurality of echo signal simulation devices 200 may be simultaneously disposed on the bus connected to the controlled controller 100, and these echo signal simulation devices 200 may be connected to the bus in parallel or serial manner.
Then, the first judging module 212 may judge that the instruction received by the echo signal simulation device 200 is valid in the following three cases.
When the power supply voltage for the target echo signal simulation device 200 collected by the first judging module 212 on the bus meets the working voltage of the target echo signal simulation device 200, the instruction received by the target echo signal simulation device 200 is valid. It may be understood that the supply voltage accords with the working voltage of the echo signal simulation device 200 means that the supply voltage acquired by the first determining module 212 is within a voltage range capable of enabling the echo signal simulation device 200 to receive the instruction and process the instruction.
Or when the voltage of the command for the target echo signal simulation device 200 collected by the first judging module 212 on the bus meets the working voltage of the control unit 220 of the target echo signal simulation device 200, the command received by the target echo signal simulation device 200 is valid. The voltage of the command conforms to the operating voltage of the control unit 220, that is, the voltage of the command collected by the first judging module 212 is within a voltage range covering all command types of the controlled controller 100.
Or when the power supply voltage for the target echo signal simulation device 200 collected by the first judging module 212 on the bus accords with the working voltage of the target echo signal simulation device 200, and the voltage of the collected command accords with the working voltage of the control unit 220 of the target echo signal simulation device 200, the command received by the target echo signal simulation device 200 is valid.
In some embodiments of the present disclosure, if the received instruction is determined to be invalid, the first determining module 212 may also make the control unit 220 not process the valid instruction after the voltage conversion by sending an instruction signal to the control unit 220. If the received instruction is determined to be valid, the control unit 220 may default to be valid and process the valid instruction, or may wait for an instruction signal to temporarily process the valid instruction.
Referring to fig. 5, an exemplary embodiment of the present disclosure shows a schematic structural diagram of the control unit 220. As shown, the control unit 220 includes: a decoding module 221, a responding module 222 and an encoding module 223. The input end of the decoding module 221 is connected to the output end of the input processing unit 210, the input end of the response module 222 is connected to the output end of the decoding module 221, the output end is connected to the input end of the encoding module 223, and the output end of the encoding module 223 is connected to the input end of the output processing unit 230.
Specifically, the voltage of the effective command obtained by converting the voltage input to the processing unit 210 corresponds to the processing capability of the control unit 220, and after the control unit 220 receives the voltage signal, the decoding module 221 decodes the effective command to obtain the command information that the original command wants to transmit, and then transmits the command information to the response module 222 of the next stage. The instruction information may include: the type of instruction. In some embodiments of the present disclosure, the types of instructions may include starting measurements, stopping measurements, measuring writing and reading of configuration data, reading bus states, and so forth. Taking the start measurement command as an example, in practical application, the ultrasonic sensor starts an ultrasonic measurement period after detecting the start measurement command, and in one measurement period, the sensor transmits data to the measured controller 100 through the bus. Accordingly, the response module 222 of the embodiment of the disclosure determines the response mode based on the instruction information, and receives the response parameters configured to the response module 222 by the external host computer 300, so as to generate the response content corresponding to the instruction by combining the instruction information and the response parameters.
Referring further to fig. 6, in some embodiments of the present disclosure, the response module 222 may include: the configuration sub-module 2221, the generation sub-module 2222, and the selection sub-module 2223. The input end of the generating sub-module 2222 is connected with the output end of the decoding module 221 and the output end of the configuring sub-module 2221, the input end of the configuring sub-module 2221 is connected with the upper computer 300, the output end of the generating sub-module 2222 is connected with the input end of the selecting sub-module 2223, and the output end of the selecting sub-module 2223 is connected with the input end of the encoding module 223.
In some embodiments of the present disclosure, the generating sub-module 2222 may be configured to identify instruction information generated by the decoding module 221, so as to obtain and record the type of the instruction issued by the controlled controller 100. The configuration sub-module 2221 is configured to receive response parameters configured by the upper computer 300 according to the instruction information, where the response parameters refer to echo data that the echo signal simulation device 200 needs to respond to the measured controller 100, and may include basic configuration parameters of the simulated sensor and parameters configured according to the type of the instruction sent by the measured controller 100.
The generating sub-module 2222 is further configured to determine whether to respond to the instruction according to the type of the instruction. In some embodiments of the present disclosure, the partial type of instruction issued by the measured controller 100 is a command that requires the echo signal simulation device 200 to execute and respond to data, such as a start measurement command. Therefore, for the echo signal simulation device 200 of the embodiment of the disclosure, if the generating sub-module 2222 identifies that the instruction is of a type that needs to be responded, the response content is generated according to the response parameters configured to the configuring sub-module 2221 by the host computer 300. For example, the response content may include information about the obstacle, such as a position of the obstacle with respect to the detection point, a size of the obstacle, a temperature condition of an environment in which the obstacle is located, and the like.
The selection sub-module 2223 is configured to determine the response mode according to the type of the instruction, and transmit the response content to the encoding module 223 in the selected response mode. In some embodiments of the present disclosure, the response pattern may include a single response and a periodic response. Illustratively, for an instruction of the type to begin a measurement, echo signal simulation device 200 typically responds to the controller under test 100 in a periodically responding response mode.
It should be noted that the response content needs to be transmitted to the output processing unit 230 through the encoding process of the encoding module 223. Illustratively, the encoding module 223 generates a set of binary numbers based on the response content, the binary numbers can be converted into current codes, each current code can have a corresponding current value, and further, the encoding module 223 converts the current values into digital values to obtain the response information. The control unit 220 transmits the response information to the output processing unit 230, and the output processing unit 230 generates a current signal based on the response information of the digital quantity as a response to the instruction issued by the controlled controller 100. It should be noted that, since the data may be in error during the transmission process, in order to prevent the measured controller 100 from failing to work normally due to receiving the error data, the response message in the embodiment of the disclosure includes a verification code, where the verification code is calculated by the decoding module 223 based on the foregoing response content by adopting a preset algorithm. When the measured controller 100 receives the echo signal, the same preset algorithm is used to verify the signal, so as to avoid receiving erroneous data.
Referring to fig. 7, in some embodiments of the present disclosure, the response module 222 may further include: the input end of the verification sub-module 2224 is connected to the output end of the decoding module 221, and the output end is connected to the input end of the generating sub-module 2222.
The checking sub-module 2224 is configured to verify whether the instruction information is correct, and the instruction information transmitted to the control unit 220 by the input processing unit 210 may be checked by the checking sub-module 2224 to avoid data transmission errors. In the case that the instruction information is correct, the generation sub-module 2222 receives the instruction information and identifies and records the type of instruction based on the instruction information.
Referring to fig. 8, an exemplary configuration of the output processing unit 230 is shown in an embodiment of the disclosure. As shown, the output processing unit 230 includes: the input end of the second conversion module 231 is connected with the output end of the control unit 220, the output end of the second conversion module 231 is connected with the input end of the third conversion module 232, and the output end of the third conversion module 232 is connected with the measured controller 100.
The second conversion module 231 is configured to convert the digital quantity in the response information into a specific voltage value, so as to obtain a corresponding voltage signal. The second conversion module 231 may be a digital-to-analog conversion device, and the third conversion module 232 may be a controllable current source device, which is configured to generate a modulated current with characteristics matching the response information according to the aforementioned voltage signal, and respond the modulated current to the measured controller 100 as an echo signal, so as to respond to the command issued by the measured controller 100 by the echo signal simulation apparatus 200. The modulation current can transmit information to be transmitted to a circuit, the modulation current can combine a basic signal with a carrier signal, and the purpose of transmitting different information can be achieved by changing characteristics of the signal, such as changing frequency, amplitude or phase of the signal.
In summary, the echo signal simulation device 200 according to the embodiment of the disclosure can simulate the echo signal of the real ultrasonic sensor, so that the measured controller 100 can treat the received current signal as the echo signal returned by the ultrasonic sensor, and further complete the semi-physical simulation test of the measured controller 100 related to the environmental perception.
An echo signal simulation method based on the above-described echo signal simulation apparatus 200 will be exemplarily described below by way of an embodiment.
It should be noted that, in the embodiments of the present disclosure, the description of the echo signal simulation method is similar to the description of the device embodiments described above, and has similar beneficial effects as the device embodiments, and for technical details not disclosed in the embodiments of the present method, please refer to the description of the embodiments of the device of the present disclosure for understanding.
The disclosed embodiment shows an echo signal simulation method implemented by the control unit 220 of the echo signal simulation device 200 described in any of the above embodiments. The echo signal simulation method includes the following steps when the input processing unit 210 converts the received command into an effective command with a voltage being the first voltage and determines that the command is effective.
Step 1: the effective instruction is processed to obtain instruction information of the instruction, and response information is generated based on the instruction information and the configured response parameters, so that the output processing unit 230 converts the response information into a voltage signal, generates a modulation current with characteristics matching the response information based on the voltage signal, and responds the modulation current as an echo signal to the instruction received by the echo signal simulation device 200.
As described above, the received instruction can be judged to be valid in the following cases.
When the power supply voltage for the target echo signal simulation device 200 collected by the first judging module 212 on the bus accords with the working voltage of the target echo signal simulation device 200, the instruction received by the target echo signal simulation device 200 is valid; or when the voltage of the command for the target echo signal simulation device 200 collected by the first judging module 212 on the bus accords with the working voltage of the control unit 220 of the target echo signal simulation device 200, the command received by the target echo signal simulation device 200 is valid; or when the power supply voltage for the target echo signal simulation device 200 collected by the first judging module 212 on the bus accords with the working voltage of the target echo signal simulation device 200, and the voltage of the collected command accords with the working voltage of the control unit 220 of the target echo signal simulation device 200, the command received by the target echo signal simulation device 200 is valid.
Wherein, the fact that the power supply voltage on the bus meets the working voltage of the echo signal simulation device 200 means that the power supply voltage on the bus is in a voltage range capable of enabling the echo signal simulation device 200 to receive and process instructions; the command voltage conforming to the operating voltage of the control unit 220 means that the command voltage is within a voltage range covering all command types of the controlled controller 100.
In some embodiments of the present disclosure, step 1 above may include.
Step 11: decoding the valid instruction to obtain instruction information of the instruction, wherein the instruction information comprises: the type of instruction.
Step 12: and determining a response mode based on the instruction information, receiving response parameters configured by the upper computer 300, and generating response contents according to the instruction information, the response mode and the response parameters.
Step 13: and encoding based on the response content to obtain response information.
Specifically, the response information includes a check code calculated and generated based on the response content by a preset algorithm, and the check code is used for the measured controller 100 to verify the received echo signal. It should be noted that, since the data may be in error during the transmission process, in order to prevent the measured controller 100 from failing to work normally due to receiving the error data, the response message in the embodiment of the disclosure includes a verification code, where the verification code is calculated by the decoding module 223 based on the foregoing response content by adopting a preset algorithm. When the measured controller 100 receives the echo signal, the same preset algorithm is used to verify the signal, so as to avoid receiving erroneous data.
In some embodiments of the present disclosure, step 12 above may include.
Step 121: and verifying whether the instruction information is correct.
Step 122: in the case that the instruction information is correct, the receiving host computer 300 configures response parameters according to the instruction information, where the response parameters include: the echo signal simulation device 200 needs echo data to be responded to.
Step 123: and identifying and recording the type of the instruction based on the instruction information, judging whether the instruction needs to be responded, and if the instruction needs to be responded, generating response content according to the echo data.
Step 124: and determining a response mode according to the type of the instruction, and responding the response content in the selected response mode.
As previously described, the above-described method may be implemented by the control unit 220 in the echo signal simulation device 200 of the embodiment of the present disclosure. The control unit 220 may be an integrated Circuit chip having signal processing capabilities such as a general purpose Processor, digital signal Processor (DIGITAL SIGNAL Processor, DSP), application SPECIFIC INTEGRATED Circuit (ASIC), field programmable gate array (Field Programmable GATE ARRAY, FPGA), or other programmable logic device. It should be understood that in implementation, the steps of the above method embodiments may be accomplished by instructions in the form of integrated logic circuits or software of hardware in the control unit 220. The steps of the methods disclosed in the embodiments of the present disclosure may be directly performed by a hardware decoding processor, or performed by a combination of hardware and software modules in the decoding processor. The software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in a memory, and the processor reads the information in the memory and, in combination with its hardware, performs the steps of the above method.
The memory in embodiments of the present disclosure may be either volatile memory or nonvolatile memory, or include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable EPROM (EEPROM), or a flash Memory. The volatile memory may be random access memory (Random Access Memory, RAM) which acts as external cache memory. By way of example, and not limitation, many forms of RAM are available, such as static random access memory (STATIC RAM, SRAM), dynamic random access memory (DYNAMIC RAM, DRAM), synchronous Dynamic Random Access Memory (SDRAM), double data rate Synchronous dynamic random access memory (Double DATA RATE SDRAM, DDR SDRAM), enhanced Synchronous dynamic random access memory (ENHANCED SDRAM, ESDRAM), synchronous link dynamic random access memory (SYNCHLINK DRAM, SLDRAM), and Direct memory bus RAM (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
The various embodiments of the present disclosure have been described above, but it should be understood that the description above is illustrative, not exhaustive, and not limited to the embodiments disclosed. Any modifications, equivalent substitutions, improvements, etc. made by those skilled in the art without departing from the scope and spirit of the described embodiments are intended to be included within the scope of the present disclosure. The terminology used herein was chosen in order to best explain the principles of the embodiments, the practical application, or the technical improvement in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

Claims (9)

CN202411106801.6A2024-08-132024-08-13Echo signal simulation device, echo signal simulation method and semi-physical simulation test systemActiveCN118625698B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202411106801.6ACN118625698B (en)2024-08-132024-08-13Echo signal simulation device, echo signal simulation method and semi-physical simulation test system

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202411106801.6ACN118625698B (en)2024-08-132024-08-13Echo signal simulation device, echo signal simulation method and semi-physical simulation test system

Publications (2)

Publication NumberPublication Date
CN118625698A CN118625698A (en)2024-09-10
CN118625698Btrue CN118625698B (en)2024-11-22

Family

ID=92596528

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202411106801.6AActiveCN118625698B (en)2024-08-132024-08-13Echo signal simulation device, echo signal simulation method and semi-physical simulation test system

Country Status (1)

CountryLink
CN (1)CN118625698B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111624609A (en)*2020-06-052020-09-04南京英锐创电子科技有限公司Ultrasonic ranging method and device
CN219915928U (en)*2023-09-202023-10-27北京啸为科技有限公司Ultrasonic sensor simulation device and ultrasonic testing system
CN118466469A (en)*2024-07-102024-08-09中汽智联技术有限公司Domain controller parking function test system based on DSI3 protocol

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN209131799U (en)*2019-01-212019-07-19苏州赫兹流体设备有限公司The Traffic simulation device of ultrasonic flowmeter
CN111123222B (en)*2019-12-132022-06-28南京理工大学 FPGA-based multi-array radar echo simulator for highway vehicles and its realization method
US12339394B2 (en)*2022-12-152025-06-24Rohde & Schwarz Gmbh & Co. KgDistributed and scalable system for emulating radio frequency channels
CN116360293A (en)*2023-03-202023-06-30武汉光庭信息技术股份有限公司 An ultrasonic simulation board and signal processing method for simulation testing
CN219737765U (en)*2023-08-242023-09-22北京啸为科技有限公司Echo driving device and ultrasonic testing system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111624609A (en)*2020-06-052020-09-04南京英锐创电子科技有限公司Ultrasonic ranging method and device
CN219915928U (en)*2023-09-202023-10-27北京啸为科技有限公司Ultrasonic sensor simulation device and ultrasonic testing system
CN118466469A (en)*2024-07-102024-08-09中汽智联技术有限公司Domain controller parking function test system based on DSI3 protocol

Also Published As

Publication numberPublication date
CN118625698A (en)2024-09-10

Similar Documents

PublicationPublication DateTitle
CN113225232B (en)Hardware testing method and device, computer equipment and storage medium
US20190367042A1 (en)System for diagnosing software for vehicle and operating method thereof
CN111145826B (en)Memory built-in self-test method, circuit and computer storage medium
CN116746064A (en)Lock step comparator and related method
CN114218882A (en)SoC chip inspection method, device and related equipment
KR20230076317A (en)simulation device and control method thereof
CN118625698B (en)Echo signal simulation device, echo signal simulation method and semi-physical simulation test system
CN112327797A (en) Test method, system and storage medium for ultrasonic radar vehicle control strategy
CN114333959B (en) Memory self-checking device and method
CN116736823A (en) Cross-platform controller hardware-in-the-loop testing method, device and system
CN114297966A (en) Method, device, electronic device and storage medium for chip back pressure function verification
CN107977315B (en)Embedded software object code unit testing method based on Bootloader mode
CN112782551B (en)Chip and test system thereof
CN116257437A (en)ADAS system defect verification method and device based on real vehicle data reinjection
CN101088223A (en)Using a parametric measurement unit for converter testing
CN109491845B (en)Test method and system for storage product controller
CN112540211A (en)Current checking method and system, upper computer and storage medium
CN120407024B (en)Verification method and device for instruction sequence, electronic equipment and storage medium
CN112924854B (en)Arbitrary waveform format generation method, apparatus, test device and storage medium
CN119170082A (en) Test method, device, storage medium and program product
CN117806281A (en)Diagnostic data verification method, device, system, equipment and storage medium
CN118250730A (en)Control method and device of wireless communication test instrument and electronic equipment
US9430340B2 (en)Information processing device and semiconductor device
CN107562617B (en) A Module Verification System Based on NC System
CN119179632A (en)Software data calibration method, device, equipment, medium, product and vehicle

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp