CN209784830U - Sensor simulation board card suitable for peripheral sensor interface - Google Patents

Sensor simulation board card suitable for peripheral sensor interface Download PDF

Info

Publication number
CN209784830U
CN209784830U CN201920915353.2U CN201920915353U CN209784830U CN 209784830 U CN209784830 U CN 209784830U CN 201920915353 U CN201920915353 U CN 201920915353U CN 209784830 U CN209784830 U CN 209784830U
Authority
CN
China
Prior art keywords
resistor
sensor interface
electrically connected
sensor
interface
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
CN201920915353.2U
Other languages
Chinese (zh)
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 Jingwei Hirain Tech Co Ltd
Original Assignee
Beijing Jingwei Hirain Tech 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 Jingwei Hirain Tech Co Ltd filed Critical Beijing Jingwei Hirain Tech Co Ltd
Priority to CN201920915353.2U priority Critical patent/CN209784830U/en
Application granted granted Critical
Publication of CN209784830U publication Critical patent/CN209784830U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The utility model discloses a sensor simulation board card suitable for an external sensor interface, which comprises an upper computer interface, a communication control module, a first external sensor interface, a second external sensor interface and at least one isolation channel; the first end of the communication control module is electrically connected with the upper computer interface, the second end of the communication control module is electrically connected with the first end of the isolation channel, and two terminals of the second end of the isolation channel are respectively used as a first external sensor interface and a second external sensor interface of the sensor simulation board card. This sensor emulation integrated circuit board passes through the multiple sensor data of host computer in the host computer interface receipt software model output, and communication control module satisfies the data signal of output protocol according to the sensor data signal output that receives to the data signal output that will satisfy the output protocol is to corresponding isolation channel, has higher commonality, can be applicable to the emulation of the most PSI5 interface sensors, improves ECU efficiency of software testing and coverage greatly.

Description

Sensor simulation board card suitable for peripheral sensor interface
Technical Field
the utility model relates to a vehicle sensor simulation technique especially relates to a sensor emulation integrated circuit board suitable for peripheral hardware sensor interface.
Background
With the rapid development of vehicles and rail transit, the complexity of vehicle Electronic Control Units (ECU) is rapidly increased, the Control algorithm and functions are continuously enhanced, the traditional ECU test method has long test period and high cost, is difficult to realize abnormal condition test and the like, and cannot meet the complex test requirements. Software algorithm model based automated hardware in the loop (HIL) equipment is gradually meeting more complex test requirements and is gradually popular among various home and abroad automobile manufacturers.
existing vehicle sensor-based ECU tests include real sensor-based test protocols, real vehicle test protocols, and custom test protocols. However, the test scheme based on the real sensor has the disadvantages of complex operation, long test period, high cost, difficulty in realizing sensor fault test and inconvenience in parameter calibration. The real vehicle test scheme adopts real collision for testing, and the problems also exist. The customized test scheme is a sensor simulator manufactured according to the characteristics of a specific sensor, such as a collision sensor simulation device; the test scheme has certain improvement on test convenience and test coverage and cannot be used universally.
SUMMERY OF THE UTILITY MODEL
the utility model provides a sensor emulation integrated circuit board suitable for peripheral hardware sensor interface to realize improving ECU efficiency of software testing and convenience, and improve the commonality of sensor emulation integrated circuit board.
The embodiment of the utility model provides a sensor emulation integrated circuit board suitable for peripheral hardware sensor interface, include: the system comprises an upper computer interface, a communication control module, a first external sensor interface, a second external sensor interface and at least one isolation channel;
The upper computer interface is connected with an upper computer;
The communication control module comprises a first end and a second end, the first end of the communication control module is electrically connected with the upper computer interface, the second end of the communication control module is electrically connected with the first end of the isolation channel, the second ends of the communication control module connected with different isolation channels are different, the second end of the isolation channel comprises two terminals, the two terminals of the second end are respectively used as a first peripheral sensor interface and a second peripheral sensor interface of the sensor simulation board card, and the first peripheral sensor interface and the second peripheral sensor interface are respectively electrically connected with a first interface and a second interface of the vehicle electric control unit.
optionally, each isolation channel includes a digital isolator, a digital-to-analog conversion circuit, an amplification circuit, a current output circuit, and a detection circuit;
the first end of the digital isolator is electrically connected with the communication control module, and the digital-to-analog conversion circuit and the amplifying circuit are sequentially connected in series between the second end of the digital isolator and the input end of the current output circuit;
The current output circuit also comprises a first output end and a second output end, and the first output end and the second output end are used as a first external sensor interface and a second external sensor interface;
The input end of the detection circuit is electrically connected with a first peripheral sensor interface of the vehicle electric control unit, and the output end of the detection circuit is electrically connected with the communication control module.
Optionally, the communication control module is connected with the digital isolator, the digital isolator is connected with the digital-to-analog conversion circuit, and the digital-to-analog conversion circuit and the amplifying circuit through two wires.
Optionally, the amplifying circuit includes a first operational amplifier, a first resistor, a second resistor, a third resistor, and a first capacitor, the non-inverting input terminal of the first operational amplifier is electrically connected to the digital-to-analog conversion circuit through the first resistor, the inverting input terminal of the first operational amplifier is grounded through the second resistor, the output terminal of the first operational amplifier is electrically connected to the inverting input terminal of the operational amplifier through the third resistor, and the first capacitor is connected to the third resistor in parallel.
Optionally, the current output circuit includes a second operational amplifier, a fourth resistor, a fifth resistor, a sixth resistor, a seventh resistor, a second capacitor, and a control switch;
the non-inverting input end of the second operational amplifier is electrically connected with the output end of the first operational amplifier, the output end of the second operational amplifier is electrically connected with the inverting input end of the second operational amplifier through a fourth resistor, a second capacitor is connected with the fourth resistor in parallel, and the output end of the second operational amplifier is also electrically connected with the control end of the control switch through a fifth resistor;
the first end of the control switch is electrically connected with the first external sensor interface, the second end of the control switch is electrically connected with one end of the sixth resistor, the other end of the sixth resistor is electrically connected with the output end of the second operational amplifier and the common end of the fourth resistor, and the other end of the sixth resistor is further connected to the second external sensor interface through the seventh resistor.
optionally, the sensor simulation board further includes a filter circuit, the filter circuit includes an eighth resistor and a third capacitor, a first end of the eighth resistor is electrically connected to the output end of the first operational amplifier, a second end of the eighth resistor is electrically connected to the non-inverting input end of the second operational amplifier, one end of the third capacitor is electrically connected to a second end of the eighth resistor, and a second end of the third capacitor is grounded.
Optionally, the sensor simulation board further includes a third peripheral sensor interface, and the third peripheral sensor interface is electrically connected to the output end of the current output circuit and the common end of the second peripheral sensor interface through the mode selection circuit.
Optionally, the mode selection circuit includes a ninth resistor and an optocoupler, the optocoupler includes an optocoupler diode and an optocoupler switch, a power supply voltage is input to an anode of the optocoupler diode, a cathode of the optocoupler diode is electrically connected with the communication control module through the ninth resistor, and two ends of the optocoupler switch are respectively connected with a third external sensor interface and a common end of the second external sensor interface and the seventh resistor.
optionally, the detection circuit includes a first comparator, a second comparator, a tenth resistor, an eleventh resistor, a twelfth resistor, a thirteenth resistor, a fourteenth resistor, and a fifteenth resistor, and further includes an undervoltage threshold setting circuit and a synchronization signal threshold setting circuit;
The undervoltage threshold setting circuit is electrically connected with a first input end of a first comparator through a tenth resistor, a second input end of the comparator is electrically connected with a first external sensor interface through an eleventh resistor, a common end of the eleventh resistor and the first comparator is electrically connected with a first end of a twelfth resistor, a second end of the twelfth resistor is connected to a second external sensor interface, an output end of the first comparator is electrically connected with the communication control module, and an output end of the first comparator is also electrically connected with a first input end of the first comparator through a thirteenth resistor;
the first input end of the second comparator is electrically connected with the synchronizing signal threshold setting circuit through a fourteenth resistor, the second input end of the second comparator is electrically connected with the common end of the twelfth resistor and the second input end of the first comparator, the output end of the second comparator is electrically connected with the communication control module, and the output end of the second comparator is also electrically connected with the first input end of the second comparator through a fifteenth resistor.
Optionally, the sensor simulation board further includes a system power supply and an isolation power supply, and the system power supply is used for providing a power supply for the communication control module; the isolation power supplies correspond to the isolation channels one by one and are used for providing power supplies for the isolation channels; the communication control module is an FPGA.
optionally, the sensor simulation board card suitable for the peripheral sensor interface includes four isolation channels.
The utility model provides a sensor emulation integrated circuit board suitable for peripheral hardware sensor interface, including host computer interface, communication control module, first peripheral hardware sensor interface, second peripheral hardware sensor interface and at least one isolation channel; the upper computer interface is connected with an upper computer; the first end of the communication control module is electrically connected with the upper computer interface, the second end of the communication control module is electrically connected with the first end of the isolation channel, and two terminals of the second end of the isolation channel are respectively used as a first external sensor interface and a second external sensor interface of the sensor simulation board card to be electrically connected with a first interface and a second interface of the vehicle electronic control unit. The sensor simulation board card is connected with an upper computer through an upper computer interface and can receive various sensor data output by a software model in the upper computer through the upper computer interface, the communication control module can output data signals meeting an output protocol according to the received sensor data signals and output the data signals meeting the output protocol to a corresponding isolation channel, so that the sensor simulation board card has universality and can be suitable for simulation of most PSI5 interface sensors, the problem of low test efficiency during test based on a test scheme of a real sensor, a real vehicle test scheme and a customized test scheme can be solved when an ECU (electronic control Unit) is tested, and the test efficiency of the ECU is greatly improved; and because the sensor simulation board card has universality, the sensor simulation board card can be suitable for simulation of most PSI5 interface sensors, so that the coverage rate of the sensors on real sensors can be greatly improved, and a powerful tool is provided for the reliability of ECU (electronic control unit) testing.
Drawings
Fig. 1 is a schematic structural diagram of a sensor simulation board card suitable for an external sensor interface provided in an embodiment of the present invention;
Fig. 2 is a schematic diagram of a connection relationship between a vehicle electronic control unit and a sensor simulated board card adapted to an external sensor interface in a synchronous mode according to an embodiment of the present invention;
Fig. 3 is a schematic diagram of signals output by the vehicle electronic control unit and the sensor emulation board card suitable for the peripheral sensor interface in the synchronous mode provided by the embodiment of the present invention;
fig. 4 is a schematic diagram of a connection relationship between a vehicle electronic control unit and a sensor simulated board card adapted to an external sensor interface in an asynchronous mode according to an embodiment of the present invention;
Fig. 5 is a schematic diagram of signals output by the vehicle electronic control unit and the sensor emulation board card suitable for the peripheral sensor interface in the asynchronous mode provided by the embodiment of the present invention;
Fig. 6 is a schematic diagram of Manchester coding provided by an embodiment of the present invention;
fig. 7 is a schematic structural diagram of another sensor emulation board suitable for a peripheral sensor interface according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a partial circuit in a sensor simulation board card suitable for a peripheral sensor interface provided in an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a detection circuit in the sensor emulation integrated circuit board suitable for the peripheral hardware sensor interface provided by the embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
fig. 1 is the embodiment of the utility model provides a pair of sensor emulation integrated circuit board's that is applicable to peripheral hardware sensor interface structure schematic diagram, this embodiment is applicable to and carries out the condition based on software algorithm's automatic semi-physical simulation test to vehicle electrical unit, refers to fig. 1, and this sensor emulation integrated circuit board 100 includes: the system comprises an upper computer interface 110, a communication control module 120, a first external sensor interface PSI5+, a second external sensor interface PSI 5-and at least one isolation channel 130;
The upper computer interface 110 is connected with an upper computer 200;
The communication control module 120 comprises a first end and a second end, the first end of the communication control module 120 is electrically connected with the upper computer interface 110, the second end of the communication control module 120 is electrically connected with the first end of the isolation channel 130, optionally, the communication control module 120 comprises a plurality of second ends, the second ends of the communication control modules 120 connected with different isolation channels 130 are different, that is, the communication control module 120 can be correspondingly electrically connected with different isolation channels 130 through different second ends, the second end of the isolation channel 130 comprises two terminals, the two terminals of the second end are respectively used as a first external sensor interface PSI5+ and a second external sensor interface PSI5 of the sensor simulation board, and the first external sensor interface PSI5+ and the second external sensor interface PSI5 are respectively electrically connected with a first interface a + and a second interface a-of the vehicle electronic control unit 300.
Specifically, a Peripheral Sensor Interface (PSI) is a relatively new Sensor Interface, wherein the PSI5 Interface is one of the Peripheral Sensor interfaces, and is suitable for automobile-level Sensor applications. The PSI5 interface is a two-wire interface, can transmit voltage signals and current signals in a time-sharing manner, and has the characteristics of convenience in use, less wiring harness and low cost; the communication interface transmits sensor data through Manchester coded current signals, has the characteristics of high speed and high reliability, and is increasingly applied to automobile chassis, safety and power train sensors, such as acceleration sensors, shaft height sensors, pressure sensors and the like, wherein the application in airbags is the most extensive in recent years.
The sensor simulation board card suitable for the peripheral sensor interface provided by the embodiment can be used for simulating a PSI5 sensor and supports PSI5V2.2 protocols. The sensor simulation board comprises an upper computer interface 110 and is connected with an upper computer 200 through the upper computer interface 110, wherein the upper computer 200 can be a computer, and the upper computer interface 110 can be a Compact PCIe (Compact peripheral component interface express) interface, so that the sensor simulation board conforms to the CPCIe specification and is compatible with an NI PXIe platform; in the HIL system, the sensor physical quantity data output by the computer software model may include information such as acceleration data, position data, pressure data, and the like, and may be sent to the sensor simulation board via the PCIe link, where the sensor simulation board receives the data, may simulate an acceleration sensor, a position sensor, or a pressure sensor, and transmit the received data to the vehicle electronic control unit 300. The sensor simulation board card directly communicates with the vehicle electronic control unit 300 through a PSI5 communication interface protocol, and particularly, the communication control module 120 completes the communication function, so that the purpose of semi-physical real-time simulation of the PSI5 sensor is achieved. The sensor simulation board card suitable for the peripheral sensor interface can be connected with the upper computer 200 through the upper computer interface 110, and can receive various sensor data output by a software model in the upper computer 200 through the upper computer interface 110, the communication control module 120 can convert the received sensor data signals into data signals meeting an output protocol and output the data signals meeting the output protocol to the corresponding isolation channel 130, so that the sensor simulation board card has universality and can be suitable for simulation of most PSI5 interface sensors, the problem of low test efficiency during test based on a test scheme of a real sensor, a real vehicle test scheme and a customized test scheme can be solved when an ECU (electronic control Unit) is tested, and the test efficiency of the ECU is greatly improved; and because the sensor simulation board card has universality, the sensor simulation board card can be suitable for simulation of most PSI5 interface sensors, so that the coverage rate of a real sensor can be greatly improved, and a powerful tool is provided for the reliability of ECU (electronic control Unit) testing.
And, the utility model provides an in the embodiment of the sensor emulation integrated circuit board suitable for peripheral hardware sensor interface include at least one isolation channel 130, it is optional, the sensor emulation integrated circuit board suitable for peripheral hardware sensor interface includes four isolation channels 130 and has exemplified in FIG. 1 with this sensor emulation integrated circuit board suitable for peripheral hardware sensor interface includes four isolation channels 130 and has explained schematically, refer to FIG. 1, this sensor emulation integrated circuit board suitable for peripheral hardware sensor interface can include four-layer structure, and first layer structure 101, second layer structure 102, third layer structure 103 and fourth layer structure 104, wherein every isolation channel 130 is located one deck structure, upper computer interface 110 and communication control module 120 can be located arbitrary one deck structure. Wherein, this sensor emulation integrated circuit board suitable for peripheral hardware sensor interface can dispose different PSI5 modes, wherein include synchronous mode and asynchronous mode etc, wherein synchronous mode can include PSI5-P, PSI5-U, under the synchronous mode, every isolation channel 130 can simulate a plurality of sensors, FIG. 2 is the utility model discloses the connection relation's of vehicle electrical control unit 300 and the sensor emulation integrated circuit board that is applicable to peripheral hardware sensor interface simulation sensor under the synchronous mode that the embodiment provided of the utility model provides a schematic diagram, FIG. 3 is the utility model discloses vehicle electrical control unit 300 and the sensor emulation integrated circuit board that is applicable to peripheral hardware sensor interface output signal's under the synchronous mode that the embodiment provided of the utility model are schematic diagram, refer to FIG. 2 and FIG. 3, wherein, the connection relation of vehicle electrical control unit 300(ECU) and the sensor emulation integrated circuit board that is applicable to peripheral hardware sensor interface simulation sensor that is shown in FIG. 2 only represents under the synchronous mode and keeps apart channel 130 and vehicle electrical control Correspondingly, fig. 3 only represents a signal output by one isolation channel 130 of the vehicle electronic control unit 300 and the sensor emulation board card adapted to the peripheral sensor interface in the synchronous mode, and with reference to fig. 2 and 3, the ECU sends a synchronous voltage signal to the sensor emulation board card adapted to the peripheral sensor interface, and when sending the synchronous voltage signal, within a synchronous signal period Tsync, may send a voltage signal to the sensor (S1, S2 … … Sn) emulated by the sensor emulation board card adapted to the peripheral sensor interface in a time-sharing manner, where V1 is a supply voltage of the vehicle electronic control unit to the sensor emulation board card adapted to the peripheral sensor interface, V2 is a synchronous voltage of the vehicle electronic control unit to the sensor emulation board card adapted to the peripheral sensor interface, V0 is a detection threshold of the synchronous voltage, and after the sensor emulation board card adapted to the peripheral sensor interface receives the synchronous voltage signal, for example, after receiving the synchronous voltage signal, the communication control module 120 may transmit a current signal to the ECU through the isolation channel 130 from the sensor data received from the host computer 200, and the sensors (S1, S2 … … Sn) may transmit data in a time-sharing manner.
Wherein asynchronous mode can include PSI5-A, PSI5-D, and under asynchronous mode, every isolation channel 130 can simulate a sensor, and fig. 4 is the utility model discloses the automatically controlled unit of vehicle under the asynchronous mode that provides and the schematic view of the sensor that is applicable to the sensor emulation integrated circuit board of peripheral hardware sensor interface simulates, and fig. 5 is the utility model discloses the automatically controlled unit of vehicle under the asynchronous mode that provides and the schematic view of the sensor emulation integrated circuit board output signal that is applicable to peripheral hardware sensor interface, refer to fig. 4 and 5, and wherein, the automatically controlled unit of vehicle 300 that is shown in fig. 4 only represents the relation of connection of the automatically controlled unit of vehicle 130 and the automatically controlled unit of vehicle 300 under the asynchronous mode with the sensor emulation integrated circuit board of sensor interface simulates, and is corresponding, and fig. 5 only represents under the asynchronous mode one in automatically controlled unit of vehicle 300 and the sensor emulation integrated circuit board that is applicable to peripheral hardware sensor interface and isolates channel 130 The output signal, with continued reference to fig. 4 and 5, the sensor emulation board card analog sensor S1 suitable for the peripheral sensor interface sends current type sensor data to the ECU at regular time, the data IS sent to the communication control module 120 by the upper computer 200 software, and then IS output to the first interface a + and the second interface a-of the ECU through the isolation channel 130 by the communication control module 120, wherein, the signal output by the isolation channel 130 IS a current signal, and the output current signal IS Manchester encoding, fig. 6 IS a schematic diagram of Manchester encoding provided by the embodiment of the present invention, referring to fig. 6, the Manchester encoding includes a current pulse signal, that IS, includes a High level current signal IS, a High level and a Low level current signal IS, Low level. During simulation test, which mode is specifically selected is determined by the design of an external ECU (electronic control unit), namely the connection relationship between the ECU and an actual sensor, the upper computer 200 can control the selection mode according to the connection relationship between the ECU and the actual sensor, for example, when all sensors are connected with the same interface of the ECU, the upper computer 200 can select a synchronous mode during simulation test; when the connection relationship between each sensor and the ECU is different, the upper computer 200 may select an asynchronous mode during a simulation test. In the asynchronous mode, the vehicle electric control single source only provides a power supply voltage V1 for the sensor simulation board card suitable for the peripheral sensor interface.
it should be noted that fig. 2 to 5 only schematically illustrate one isolation channel 130, and when the sensor emulation board suitable for the peripheral sensor interface includes a plurality of isolation channels 130, the situation of other isolation channels 130 in the synchronous mode is similar to that in fig. 2 to 3, and the other isolation channels 130 in the asynchronous mode is similar to that in fig. 4 to 5, and details thereof are not repeated here.
Optionally, the communication control module 120 is an FPGA.
the sensor simulation board card suitable for the peripheral sensor interface provided by the embodiment comprises an upper computer interface, a communication control module, a first peripheral sensor interface, a second peripheral sensor interface and at least one isolation channel; the upper computer interface is connected with an upper computer; the first end of the communication control module is electrically connected with the upper computer interface, the second end of the communication control module is electrically connected with the first end of the isolation channel, and two terminals of the second end of the isolation channel are respectively used as a first external sensor interface and a second external sensor interface of a sensor simulation board card suitable for the external sensor interface and are electrically connected with a first interface and a second interface of the vehicle electric control unit. The sensor simulation board card suitable for the peripheral sensor interface is connected with an upper computer through an upper computer interface and can receive various sensor data output by a software model in the upper computer through the upper computer interface, the communication control module can output data signals meeting an output protocol according to the received sensor data signals and output the data signals meeting the output protocol to a corresponding isolation channel, so that the sensor simulation board card suitable for the peripheral sensor interface is universal and can be suitable for simulation of most PSI5 interface sensors, the problem of low test efficiency during test based on a test scheme of a real sensor, a real vehicle test scheme and a customized test scheme can be solved when an ECU (electronic control unit) is tested, and the test efficiency of the ECU is greatly improved; and because the sensor simulation board card suitable for the peripheral sensor interface is universal, the sensor simulation board card can be suitable for simulation of most PSI5 interface sensors, so that the coverage rate of the sensors on real sensors can be greatly improved, and a powerful tool is provided for the reliability of ECU testing.
Fig. 7 is a schematic structural diagram of another sensor emulation board suitable for a peripheral sensor interface according to an embodiment of the present invention, referring to fig. 7, each isolation channel 130 includes a digital isolator 131, a digital-to-analog conversion circuit 132, an amplification circuit 133, a current output circuit 134, and a detection circuit 135;
The first end of the digital isolator 131 is electrically connected to the communication control module 120, and the digital-to-analog conversion circuit 132 and the amplification circuit 133 are sequentially connected in series between the second end of the digital isolator 131 and the input end of the current output circuit 134;
the current output circuit 134 further includes a first output terminal and a second output terminal, the first output terminal and the second output terminal being used as a first external sensor interface PSI5+ and a second external sensor interface PSI 5-;
The input end of the detection circuit 135 is electrically connected with the first peripheral sensor interface PSI5+ of the vehicle electronic control unit 300, and the output end of the detection circuit 135 is electrically connected with the communication control module 120.
Referring to fig. 7, the communication control module 120 mainly performs a data communication task and functions of a controller, wherein the controller functions to output a signal satisfying an output protocol according to an input signal. The digital isolator 131 isolates the control signal of the communication control module 120 from the digital-to-analog conversion circuit 132. The voltage value output by the digital-to-analog conversion circuit 132 is amplified by the amplifying circuit 133 to control the current output circuit 134, and is used for setting the quiescent current and the working absorption current on the PSI5 bus; the static current on the PSI5 bus refers to the current between the first external sensor interface PSI5+ and the second external sensor interface PSI 5-when the sensor simulation board card suitable for the external sensor interface is not in operation; the working absorption current on the PSI5 bus refers to the current between the first external sensor interface PSI5+ and the second external sensor interface PSI 5-when the sensor simulation board card suitable for the external sensor interfaces works. The detection circuit 135 is used for detecting the voltage on the PSI5 bus in real time (provided by a vehicle electronic control unit and applied between the first external sensor interface PSI5+ and the second external sensor interface PSI 5-), and when the bus voltage is lower than a set undervoltage threshold, the sensor simulation board card suitable for the external sensor interface stops working; when the bus voltage is higher than the set synchronous signal threshold value, the sensor simulation board card suitable for the peripheral sensor interface outputs a current signal.
With continued reference to fig. 7, optionally, the communication control module 120 and the digital isolator 131, the digital isolator 131 and the digital-to-analog conversion circuit 132, the digital-to-analog conversion circuit 132 and the amplification circuit 133 are connected by two wires.
With continued reference to fig. 7, on the basis of the above scheme, the sensor emulation board card for the peripheral sensor interface further includes a system power supply 140 and an isolation power supply 136, where the system power supply 140 is configured to provide power for the communication control module 120; the isolation power supplies 136 are in one-to-one correspondence with the isolation channels 130 for providing power to the isolation channels 130. Each isolation channel 130 corresponds to an isolation power supply 136, and the system power supply 140 provides power for a portion, which is applicable to the peripheral sensor interface, shared by each isolation channel 130 in the sensor simulation board, for example, provides power for the communication control module 120, so that the isolation power supply 136 isolates each isolation channel 130 from the system (the system refers to the whole hardware system at the upper computer 200 end), and can ensure that sensor data transmission between each isolation channel 130 cannot be influenced mutually, and ensure the accuracy of data transmission of each isolation channel 130.
Fig. 8 is a schematic structural diagram of a partial circuit in a sensor emulation integrated circuit board suitable for a peripheral sensor interface, referring to fig. 8, a partial circuit shown in fig. 8 includes an amplifying circuit 133 and a current output circuit 134, the amplifying circuit 133 includes a first operational amplifier 1331, a first resistor R1, a second resistor R2, a third resistor R3 and a first capacitor C1, a non-inverting input terminal of the first operational amplifier 1331 is electrically connected with a digital-to-analog conversion circuit 132 through the first resistor R1, an inverting input terminal of the first operational amplifier 1331 is grounded through the second resistor R2, an output terminal of the first operational amplifier 1331 is electrically connected with an inverting input terminal of the operational amplifier through the third resistor R3, and the first capacitor C1 is connected in parallel with the third resistor R3.
Specifically, the amplification factor of the amplifying circuit 133 is determined by the ratio of the third resistor R3 to the second resistor R2; the second resistor R2 plays a role in offset compensation of the input end of the operational amplifier; the first capacitor C1 is used for phase compensation of the operational amplifier, so that the output of the amplifying circuit 133 is more accurate and stable.
With continued reference to fig. 8, optionally, the current output circuit 134 includes a second operational amplifier 1341, a fourth resistor R4, a fifth resistor R5, a sixth resistor R6, a seventh resistor R7, a second capacitor C2 and a control switch;
the non-inverting input terminal of the second operational amplifier 1341 is electrically connected to the output terminal of the first operational amplifier 1331, the output terminal of the second operational amplifier 1341 is electrically connected to the inverting input terminal of the second operational amplifier 1341 through a fourth resistor R4, the second capacitor C2 is connected in parallel to the fourth resistor R4, and the output terminal of the second operational amplifier 1341 is further electrically connected to the control terminal of the control switch through a fifth resistor R5;
the first end of the control switch is electrically connected with the first peripheral sensor interface PSI5+, the second end of the control switch is electrically connected with one end of the sixth resistor R6, the other end of the sixth resistor R6 is electrically connected with the output end of the second operational amplifier 1341 and the common end of the fourth resistor R4, and the other end of the sixth resistor R6 is further connected with the second peripheral sensor interface PSI 5-through the seventh resistor R7.
referring to fig. 8, the current output circuit 134 may convert the voltage signal inputted from the non-inverting input terminal of the second operational amplifier 1341 into a current between the first external sensor interface PSI5+ and the second external sensor interface PSI5-, the current being a ratio of the voltage of the non-inverting input terminal to the seventh resistor R7. The control switch may be a MOS transistor Q1 shown in fig. 8, and the fifth resistor R5 may play a role in limiting an instantaneous current at the control end of the control switch, so as to protect the control switch. The second capacitor C2 can perform phase compensation on the second operational amplifier 1341, so that the output of the second operational amplifier 1341 is more stable. Referring to fig. 8, a diode D1 may be further included between the first terminal of the control switch and the first peripheral sensor interface PSI5+, and the diode D1 may serve to prevent reverse.
With continued reference to fig. 8, the sensor emulation board suitable for the peripheral sensor interface further includes a filter circuit 137, the filter circuit 137 includes an eighth resistor R8 and a third capacitor C3, a first end of the eighth resistor R8 is electrically connected to the output end of the first operational amplifier 1331, a second end of the eighth resistor R8 is electrically connected to the non-inverting input end of the second operational amplifier 1341, one end of the third capacitor C3 is electrically connected to the second end of the eighth resistor R8, and a second end of the third capacitor C3 is grounded. The filter circuit 137 may filter the output of the amplifying circuit 133 and then input the filtered output to the non-inverting input terminal of the second operational amplifier 1341, so as to filter the interference signal in the voltage signal output by the amplifying circuit 133.
With continued reference to fig. 8, the sensor emulation board suitable for the peripheral sensor interface further includes a third peripheral sensor interface PSI5-D, where the third peripheral sensor interface PSI5-D is electrically connected to the output terminal of the current output circuit 134 and the common terminal of the second peripheral sensor interface PSI 5-through the mode selection circuit 138; the mode selection circuit 138 comprises a ninth resistor R9 and an optical coupler 1381, the optical coupler 1381 comprises an optical coupler diode D2 and an optical coupler switch T1, the anode of the optical coupler diode D2 inputs power supply voltage, the cathode of the optical coupler diode D2 is electrically connected with the communication control module 120 through a ninth resistor R9, and two ends of the optical coupler switch T1 are respectively connected with the public ends of a third peripheral sensor interface PSI5-D and a second peripheral sensor interface PSI 5-and a seventh resistor R7. Optionally, the anode of the optocoupler diode D2 may be electrically isolated from the power supply.
specifically, the third peripheral sensor interface PSI5-D may be electrically connected to a third interface (different from the interfaces of the first interface and the second interface) of the vehicle electronic control unit 300, and after the third peripheral sensor interface PSI5-D is communicated with the current output circuit 134, each isolation channel 130 is connected to a Daisy Chain mode when the sensor emulation board adapted to the peripheral sensor interface is configured to the Daisy Chain mode. The ninth resistor R9 and the optical coupler 1381 form the mode selection circuit 138, the switching signal is controlled by the communication control module 120, for example, when the communication control module 120 outputs a low level, the optical coupler switch T1 is turned on, and the second external sensor interface PSI 5-is connected to the third external sensor interface PSI 5-D.
fig. 9 is a schematic structural diagram of a detection circuit 135 in a sensor emulation board suitable for a peripheral sensor interface according to an embodiment of the present invention, referring to fig. 9, the detection circuit 135 includes a first comparator 1351, a second comparator 1352, a tenth resistor R10, an eleventh resistor R11, a twelfth resistor R12, a thirteenth resistor R13, a fourteenth resistor R14, and a fifteenth resistor R15, and further includes an under-voltage threshold setting circuit 1353 and a synchronization signal threshold setting circuit 1354;
The undervoltage threshold setting circuit 1353 is electrically connected to the first input terminal of the first comparator 1351 through a tenth resistor R10, the second input terminal of the comparator is electrically connected to the first peripheral sensor interface PSI5+ through an eleventh resistor R11, a common terminal of the eleventh resistor R11 and the first comparator 1351 is electrically connected to the first terminal of the twelfth resistor R12, the second terminal of the twelfth resistor R12 is connected to the second peripheral sensor interface PSI5-, the output terminal of the first comparator 1351 is electrically connected to the communication control module 120, and the output terminal of the first comparator 1351 is also electrically connected to the first input terminal of the first comparator 1351 through a thirteenth resistor R13;
a first input terminal of the second comparator 1352 is electrically connected to the synchronization signal threshold setting circuit 1354 through a fourteenth resistor R14, a second input terminal is electrically connected to a twelfth resistor R12 and a common terminal of the second input terminal of the first comparator 1351, an output terminal of the second comparator 1352 is electrically connected to the communication control module 120, and an output terminal of the second comparator 1352 is also electrically connected to the first input terminal of the second comparator 1352 through a fifteenth resistor R15.
Wherein the brown-out threshold setting circuit 1353 and the synchronization signal threshold setting circuit 1354 are respectively used for setting a brown-out threshold and a synchronization signal threshold, wherein the brown-out threshold setting circuit 1353 and the synchronization signal threshold setting circuit 1354 may be digital-to-analog conversion circuits. The voltage on the PSI5 bus is input to the first peripheral sensor interface PSI5+, and is divided by the eleventh resistor R11 and the twelfth resistor R12 and input to the second input terminals of the first comparator 1351 and the second comparator 1352. The tenth resistor R10, the thirteenth resistor R13 and the first comparator 1351 form a comparison circuit as an under-voltage detection circuit, which is used for comparing an under-voltage threshold inputted by the under-voltage threshold setting circuit 1353 with a voltage on the PSI5 bus, and when the voltage on the PSI5 bus is smaller than the under-voltage threshold, the first comparator 1351 outputs a first level signal (for example, a low level signal), and the communication control module 120 controls the sensor emulation board card suitable for the peripheral sensor interface to stop working after receiving the first level signal; the fourteenth resistor R14, the fifteenth resistor R15 and the second comparator 1352 form another comparing circuit as a synchronizing signal detecting circuit for comparing the synchronizing signal threshold inputted by the synchronizing signal threshold setting circuit 1354 with the voltage on the PSI5 bus, and when the bus voltage is higher than the set synchronizing signal threshold, the sensor outputs a current signal. The outputs of the first comparator 1351 and the second comparator 1352 are connected to the communication control module 120, and the communication control module 120 detects the synchronization signal and the brown-out signal through high and low levels.
it should be noted that the foregoing is only a preferred embodiment of the present invention and the technical principles applied. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail with reference to the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the scope of the present invention.

Claims (10)

1. the utility model provides a sensor emulation integrated circuit board suitable for peripheral hardware sensor interface which characterized in that includes: the system comprises an upper computer interface, a communication control module, a first external sensor interface, a second external sensor interface and at least one isolation channel;
The upper computer interface is connected with an upper computer;
Communication control module includes first end and second end, communication control module's first end with host computer interface electricity is connected, communication control module's second end with keep apart the first end electricity of passageway and connect, different keep apart the passageway and connect communication control module's second end is different, the second end of keeping apart the passageway includes two terminals, two terminals of second end do not conduct the first peripheral hardware sensor interface and the second peripheral hardware sensor interface of sensor emulation integrated circuit board, first peripheral hardware sensor interface and second peripheral hardware sensor interface are connected with vehicle electric control unit's first interface and second interface electricity respectively.
2. the sensor emulation board suitable for use with a peripheral sensor interface of claim 1, wherein each isolation channel comprises a digital isolator, a digital-to-analog conversion circuit, an amplification circuit, a current output circuit, and a detection circuit;
The first end of the digital isolator is electrically connected with the communication control module, and the digital-to-analog conversion circuit and the amplifying circuit are sequentially connected in series between the second end of the digital isolator and the input end of the current output circuit;
the current output circuit further comprises a first output end and a second output end, and the first output end and the second output end are used as the first external sensor interface and the second external sensor interface;
the input end of the detection circuit is electrically connected with a first peripheral sensor interface of the vehicle electric control unit, and the output end of the detection circuit is electrically connected with the communication control module.
3. the sensor emulation board card for the peripheral sensor interface of claim 2, wherein the communication control module is connected to the digital isolator, the digital isolator is connected to the digital-to-analog conversion circuit, and the amplification circuit by two wires.
4. the sensor emulation board suitable for the peripheral sensor interface of claim 3, wherein the amplifying circuit comprises a first operational amplifier, a first resistor, a second resistor, a third resistor, and a first capacitor, wherein a non-inverting input terminal of the first operational amplifier is electrically connected to the digital-to-analog conversion circuit through the first resistor, an inverting input terminal of the first operational amplifier is grounded through the second resistor, an output terminal of the first operational amplifier is electrically connected to the inverting input terminal of the first operational amplifier through the third resistor, and the first capacitor is connected to the third resistor in parallel.
5. the sensor emulation board suitable for use in a peripheral sensor interface of claim 4, wherein the current output circuit comprises a second operational amplifier, a fourth resistor, a fifth resistor, a sixth resistor, a seventh resistor, a second capacitor, and a control switch;
The non-inverting input end of the second operational amplifier is electrically connected with the output end of the first operational amplifier, the output end of the second operational amplifier is electrically connected with the inverting input end of the second operational amplifier through the fourth resistor, the second capacitor is connected with the fourth resistor in parallel, and the output end of the second operational amplifier is also electrically connected with the control end of the control switch through the fifth resistor;
The first end of the control switch is electrically connected with the first peripheral sensor interface, the second end of the control switch is electrically connected with one end of the sixth resistor, the other end of the sixth resistor is electrically connected with the output end of the second operational amplifier and the common end of the fourth resistor, and the other end of the sixth resistor is further connected to the second peripheral sensor interface through the seventh resistor.
6. the sensor emulation board suitable for a peripheral sensor interface of claim 5, further comprising a filter circuit, wherein the filter circuit comprises an eighth resistor and a third capacitor, a first end of the eighth resistor is electrically connected to the output terminal of the first operational amplifier, a second end of the eighth resistor is electrically connected to the non-inverting input terminal of the second operational amplifier, one end of the third capacitor is electrically connected to the second end of the eighth resistor, and a second end of the third capacitor is grounded.
7. The sensor emulation board suitable for a peripheral sensor interface of claim 5, further comprising a third peripheral sensor interface electrically connected to the output of the current output circuit and the common of the second peripheral sensor interface through a mode selection circuit;
the mode selection circuit comprises a ninth resistor and an optical coupler, the optical coupler comprises an optical coupler diode and an optical coupler switch, the anode of the optical coupler diode inputs power supply voltage, the cathode of the optical coupler diode is connected with the communication control module through the ninth resistor, and two ends of the optical coupler switch are respectively connected with the third peripheral sensor interface and the second peripheral sensor interface and the public end of the seventh resistor.
8. The sensor emulation board suitable for use in a peripheral sensor interface of claim 2, wherein the detection circuit comprises a first comparator, a second comparator, a tenth resistor, an eleventh resistor, a twelfth resistor, a thirteenth resistor, a fourteenth resistor, and a fifteenth resistor, and further comprises an undervoltage threshold setting circuit and a synchronization signal threshold setting circuit;
The undervoltage threshold setting circuit is electrically connected with a first input end of the first comparator through a tenth resistor, a second input end of the comparator is electrically connected with the first peripheral sensor interface through an eleventh resistor, a common end of the eleventh resistor and the first comparator is electrically connected with a first end of the twelfth resistor, a second end of the twelfth resistor is connected to the second peripheral sensor interface, an output end of the first comparator is electrically connected with the communication control module, and an output end of the first comparator is also electrically connected with the first input end of the first comparator through a thirteenth resistor;
a first input end of the second comparator is electrically connected with the synchronization signal threshold setting circuit through a fourteenth resistor, a second input end of the second comparator is electrically connected with a common end of the twelfth resistor and a second input end of the first comparator, an output end of the second comparator is electrically connected with the communication control module, and an output end of the second comparator is also electrically connected with a first input end of the second comparator through the fifteenth resistor.
9. The sensor emulation board suitable for use with a peripheral sensor interface of claim 1, further comprising a system power supply and an isolated power supply, the system power supply configured to provide power to the communication control module; the isolation power supplies correspond to the isolation channels one by one and are used for providing power supplies for the isolation channels; the communication control module is an FPGA.
10. The sensor emulation board for a peripheral sensor interface of claim 1, wherein the sensor emulation board for a peripheral sensor interface comprises four of the isolation channels.
CN201920915353.2U 2019-06-18 2019-06-18 Sensor simulation board card suitable for peripheral sensor interface Active CN209784830U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201920915353.2U CN209784830U (en) 2019-06-18 2019-06-18 Sensor simulation board card suitable for peripheral sensor interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201920915353.2U CN209784830U (en) 2019-06-18 2019-06-18 Sensor simulation board card suitable for peripheral sensor interface

Publications (1)

Publication Number Publication Date
CN209784830U true CN209784830U (en) 2019-12-13

Family

ID=68788934

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201920915353.2U Active CN209784830U (en) 2019-06-18 2019-06-18 Sensor simulation board card suitable for peripheral sensor interface

Country Status (1)

Country Link
CN (1) CN209784830U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114518740A (en) * 2022-01-11 2022-05-20 杭州迪为科技有限公司 PSI5 signal simulation device based on FPGA processor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114518740A (en) * 2022-01-11 2022-05-20 杭州迪为科技有限公司 PSI5 signal simulation device based on FPGA processor

Similar Documents

Publication Publication Date Title
CN111220401B (en) General motor train unit single-train debugging simulation device and method
CN102621436B (en) Single vehicle debugging test stand and debugging method
KR101165941B1 (en) Control/monitor signal transmission system
CN209784830U (en) Sensor simulation board card suitable for peripheral sensor interface
CN204883358U (en) Detection apparatus for SIMATICS7 -300 inputs output module
CN102507208A (en) Vehicle impact sensor simulation device and method
CN102004188A (en) Device for simulating insulation resistor and method for calibrating accuracy of monitoring device
CN201555656U (en) Dynamic number weighting converter
CN202661873U (en) Intelligent phone-based automobile diagnosing system
CN212846496U (en) Imotion controller test bench
CN102426452A (en) Vehicle-mounted system with long-distance diagnostic function
CN202264734U (en) Automobile collision sensor simulator
CN109613373B (en) Electric automobile high-voltage loop protection diagnosis system and method and vehicle
CN210376528U (en) Device for automatic detection of alternating current charging interface
CN211123150U (en) TCR test system of track circuit transmission module
CN204129514U (en) A kind of detection device for electronic control unit based on FlexRay bus
CN219447008U (en) Unstability steady monitoring devices and system
CN211293745U (en) Driver controller system
JP2002051088A (en) Transmitting/receiving unit for two-wire bus
CN211044009U (en) Pulse width modulation automobile diagnosis bus interface circuit and diagnosis system
CN109839879B (en) Data simulation device and simulation method thereof, upper computer-LKJ device and LKJ simulation system
CN109857091B (en) EM2000 microcomputer plug-in detection device
CN215811660U (en) Motor vehicle cloud detection system based on single chip microcomputer
CN219831682U (en) Safety circuit applied to medical equipment, medical equipment and system
CN116192711B (en) Ethernet physical layer testing device, method and storage medium

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant
CP03 "change of name, title or address"

Address after: 4 / F, building 1, No.14 Jiuxianqiao Road, Chaoyang District, Beijing 100020

Patentee after: Beijing Jingwei Hengrun Technology Co., Ltd

Address before: 100101 Beijing city Chaoyang District Anxiang Beili 11 B block 8 layer

Patentee before: Beijing Jingwei HiRain Technologies Co.,Ltd.

CP03 "change of name, title or address"