CN113179192A - SENT protocol test system and method thereof - Google Patents

SENT protocol test system and method thereof Download PDF

Info

Publication number
CN113179192A
CN113179192A CN202110404462.XA CN202110404462A CN113179192A CN 113179192 A CN113179192 A CN 113179192A CN 202110404462 A CN202110404462 A CN 202110404462A CN 113179192 A CN113179192 A CN 113179192A
Authority
CN
China
Prior art keywords
sent
sent signal
module
ecu
signal
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.)
Pending
Application number
CN202110404462.XA
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.)
Changzhou Yikong Automotive Electronics Co ltd
Original Assignee
Changzhou Yikong Automotive Electronics 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 Changzhou Yikong Automotive Electronics Co ltd filed Critical Changzhou Yikong Automotive Electronics Co ltd
Priority to CN202110404462.XA priority Critical patent/CN113179192A/en
Publication of CN113179192A publication Critical patent/CN113179192A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/18Protocol analysers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the invention provides a SENT protocol testing system and a method thereof, wherein the SENT protocol testing system comprises: the system comprises an upper computer, a SENT signal simulator, an ECU and a monitoring module; the upper computer is configured to be used for inputting corresponding virtual sensor parameters under the test environment condition, generating virtual data according to the virtual sensor parameters and transmitting the virtual data to the SENT signal simulator; the SENT signal simulator is configured to simulate the transmission of the SENT signal after decoding the received dummy data; the ECU is configured for receiving the transmitted simulated send signal; the monitoring module is configured to detect transmission of the SENT signal and monitor actions of the authentication ECU upon receipt of the SENT signal. According to the invention, the virtual sensor parameters are input through the upper computer, and the SENT signal simulator simulates the SENT signal and sends the SENT signal to the ECU, so that the problem that the SENT protocol test can be carried out only after the whole vehicle sensor is placed in an actual environment in the prior art is solved, the test condition is simplified, the test complexity is reduced, the test time period is shortened, and the test cost is greatly reduced.

Description

SENT protocol test system and method thereof
Technical Field
The invention relates to the technical field of testing, in particular to a SENT protocol testing system and a method thereof.
Background
The unilateral half word Transmission protocol (SENT) is a reliable and economical vehicle-mounted data communication scheme with point-to-point and unidirectional Transmission, is used for data Transmission between a vehicle-mounted sensor and an Electronic Control Unit (ECU), has lower cost compared with CAN or Lin due to no need of a receiver and an integrated transmitter, has good Transmission precision and speed, and CAN reach the digital data Transmission speed of 30kb/s, and is gradually adopted in a power system by some companies and applied to subsystems such as a vehicle sensor, an actuator and a Drive-by-wire, so that more and more sensors support SENT type signals.
The SENT protocol adopts single-wire data transmission, reduces signal wires, adds a power supply and a ground wire, and has 3 wires in total. The SENT is used for transmitting data by frames or in the form of data packets, each frame is composed of pulses without width, namely nibbles, the data transmission can be divided into a fast channel and a slow channel, important signals are updated by the fast channel to achieve high frequency, such as pressure and the like, and non-critical signals, such as diagnosis and the like, can be transmitted by the slow channel.
However, in the related art, the send protocol test is a method in which a vehicle sensor actually used is connected to an ECU, and then the vehicle sensor is placed in various environments to test an operation of the ECU after receiving a send signal transmitted from the sensor. By adopting the test mode, the transmission of the SENT signal can be tested, and the ECU can be verified to act after receiving the SENT, but because the whole automobile sensors and the ECU used in one automobile are numerous, the number of wire harnesses and connectors required in actual test is more, and the universality among all the ECUs cannot be realized, in addition, part of test environment conditions are harsh, professional testers are required to operate, the cost for carrying out one-time SENT protocol test is high, the time period is long, the complexity is high, and the SENT protocol test is very difficult.
Disclosure of Invention
The present specification provides a send protocol testing system and a method thereof to overcome at least one technical problem in the prior art.
According to an embodiment of the present specification, there is provided a send protocol test system including: the system comprises an upper computer, a SENT signal simulator, an ECU and a monitoring module;
the upper computer is configured to be used for inputting corresponding virtual sensor parameters under the test environment condition, generating virtual data according to the virtual sensor parameters and transmitting the virtual data to the SENT signal simulator;
the SENT signal simulator is configured to simulate the transmission of the SENT signal after decoding the received virtual data;
the ECU configured for receiving the transmitted simulated SENT signal;
the monitoring module is configured to detect transmission of the SENT signal and monitor actions after verifying that the ECU receives the SENT signal.
Optionally, the send signal simulator includes a microcontroller, a clock module and a GPIO module;
the microcontroller configured to receive and decode the dummy data;
the clock module is electrically connected with the microcontroller; the microcontroller is configured for triggering the clock module; the clock module sends a clock beat to the GPIO module after being triggered;
the GPIO module is electrically connected with the microcontroller and the clock module respectively; the GPIO module is configured to output an analog signal according to the decoded virtual data, and to trigger and control the output of the analog signal through a clock beat so as to simulate the transmission of the SENT signal.
Further optionally, the clock module comprises a timer; the timer is used for controlling the output of the analog signal.
Optionally, the upper computer includes an input module and a sending module;
the input module is configured to input virtual sensor parameters under simulated test environment conditions, and data can be rewritten in real time;
the sending module is configured to generate the virtual data according to the input virtual sensor parameters and send the virtual data to the SENT signal simulator.
Optionally, the upper computer transmits the virtual data to the SENT signal simulator through the CAN.
Optionally, the monitoring module includes a detection transmission unit and a monitoring verification unit; the detection transmission unit is used for detecting the transmission state of the SENT signal; and the monitoring and verifying unit is used for monitoring and verifying the action of the ECU after receiving the SENT signal.
According to an embodiment of the present specification, there is also provided a send protocol testing method, including:
inputting parameters of a virtual sensor under the simulated test environment condition into an upper computer;
the upper computer generates virtual data according to the virtual sensor parameters and sends the virtual data to a SENT signal simulator;
the SENT signal simulator receives the virtual data and decodes the virtual data;
the SENT signal simulator sends the decoded virtual data simulation SENT signal to an ECU;
the ECU receives the simulated SENT signal and carries out corresponding action;
and monitoring and verifying the action of the ECU after receiving the SENT signal.
Optionally, the send protocol testing method further includes:
and detecting the transmission state of the SENT signal SENT by the SENT signal simulator.
Optionally, the upper computer transmits the virtual data to the SENT signal simulator through the CAN.
Optionally, the send signal simulator simulates transmission of the send signal through a clock function and a GPIO function.
By applying the embodiment of the invention, the virtual sensor parameters are input through the upper computer, the SENT signal simulator simulates the SENT signal and sends the SENT signal to the ECU, so that the SENT testing process is greatly simplified, the SENT signal in the required testing environment can be virtualized and transmitted to the ECU without using an actual sensor or placing the sensor in a real testing environment, the action state of the ECU in various environments or faults is simulated, the problem that the SENT protocol testing can be carried out only after the whole vehicle sensor is placed in the actual environment in the prior art is solved, the testing condition is simplified, the testing complexity is reduced, the testing time period is shortened, and the testing cost is greatly reduced.
The innovation points of the embodiment of the specification comprise:
1. in the embodiment, virtual sensor parameters are input through the upper computer, the SENT signal simulator simulates SENT signals and sends the SENT signals to the ECU, the SENT testing process is greatly simplified, the SENT signals under the testing environment can be virtualized and transmitted to the ECU without using an actual sensor or placing the sensor in a real testing environment, and therefore the action state of the ECU under various environments or faults is simulated, and the method is one of innovation points of the embodiment of the specification.
2. In the embodiment, the test condition is simplified, the test complexity is reduced, the test time period is shortened, and the test cost is greatly reduced, which is one of the innovation points of the embodiment of the specification.
3. In this embodiment, the input virtual sensor parameters can be rewritten in real time according to the test requirements to simulate sensor data or sensor faults in different test environments, so that the method is more convenient and faster, has strong universality, can be applied to various ECUs, and is one of the innovative points in the embodiments of the present specification.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present disclosure, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a block diagram of a send protocol test system provided in an embodiment of the present specification;
fig. 2 is a schematic flowchart of a send protocol testing method provided in an embodiment of the present specification.
Detailed Description
The technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without inventive effort based on the embodiments of the present invention, are within the scope of the present invention.
It should be noted that the terms "including" and "having" and any variations thereof in the embodiments of the present specification and the drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
The embodiment of the invention discloses a SENT protocol testing system. The following are detailed below.
Fig. 1 is a diagram illustrating a send protocol testing system according to an embodiment of the present invention. As shown in fig. 1, the send protocol test system includes: host computer 1, SENT signal simulator 2, ECU3 and monitoring module (not shown in the figure).
In the embodiment of the present invention, the upper computer 1 is configured to input corresponding virtual sensor parameters under the test environment condition, generate virtual data according to the virtual sensor parameters, and transmit the virtual data to the send signal simulator 2; the SENT signal simulator 2 is configured to simulate the transmission of the SENT signal after decoding the received dummy data; ECU3 is configured to receive the transmitted simulated send signal; the monitoring module is configured to detect the transmission of the SENT signal and to monitor the action of the verification ECU3 upon receipt of the SENT signal.
Wherein, the output of host computer 1 is connected with the input of SENT signal simulator 2 electricity, the output of SENT signal simulator 2 is connected with ECU 3's input electricity, virtual sensor parameter under the test environment is input through host computer 1, host computer 1 generates virtual data and transmits to SENT signal simulator 2 according to virtual sensor parameter, utilize SENT signal simulator 2 simulation SENT signal's transmission, SENT signal simulator 2 transmits the SENT signal of simulation to ECU3 in, with this detect the transmission of SENT signal and monitor the action after verifying ECU received the SENT signal, accomplish the SENT protocol test.
The SENT protocol testing system in the embodiment of the invention can be applied to the SENT protocol test of data transmission between the vehicle-mounted sensor and the ECU of the vehicle electronic control unit, virtual sensor parameters under a testing environment are input through the upper computer 1, the upper computer 1 sends virtual data to the SENT signal simulator 2, according to the virtual data, the SENT signal simulator 2 simulates SENT signals and transmits the SENT signals to the ECU3, so that the SENT protocol test is carried out, the SENT protocol test in different testing environments can be carried out by changing the virtual sensor parameters, the complicated process of placing the whole vehicle sensor and the ECU in the testing environment is omitted, the problem that more wire harnesses and connectors are needed in the actual test is solved, the test complexity is greatly reduced, the testing time period is shortened, the universality among the ECUs can be realized, the applicability is strong, and the cost of the SENT protocol test is reduced.
In one implementation mode of the invention, the SENT signal simulator 2 comprises a microcontroller, a clock module and a GPIO module, wherein the clock module is electrically connected with the microcontroller; the GPIO module is electrically connected with the microcontroller and the clock module respectively.
In particular, the microcontroller is configured for receiving and decoding dummy data; meanwhile, the microcontroller is configured to trigger the clock module; the clock module sends a clock beat to the GPIO module after being triggered; the GPIO module is configured to output an analog signal according to the decoded virtual data, and trigger and control the output of the analog signal through clock beat so as to simulate the transmission of the SENT signal. Further, the clock module comprises a timer, and the clock module controls the output of the analog signal through the timer.
The SENT signal simulator 2 in the embodiment of the invention simulates the transmission of the SENT signal by using a clock function and a GPIO function.
In another implementation manner of the present invention, the upper computer 1 includes an input module and a sending module, wherein the input module is configured to input virtual sensor parameters under a simulated test environment condition, and data can be rewritten in real time; the transmitting module is configured to generate dummy data from the inputted dummy sensor parameters and transmit the dummy data into the send signal simulator 2.
The virtual sensor parameters are input into the upper computer 1 through the input module, the sending module is used for generating virtual data and sending the virtual data to the SENT signal simulator 2, and the virtual sensor parameters are input through the input module, so that the parameters can be changed in real time according to different testing environments to simulate SENT protocol testing in different testing environments, and the operation is simpler and faster.
In a specific embodiment, the sending module in the upper computer 1 may transmit the virtual data to the send signal simulator 2 through the CAN, and the input module may be an external input device such as a keyboard, a mouse, a touch screen, and the like.
In another implementation manner of the present invention, the monitoring module includes a detection transmission unit and a monitoring verification unit, the detection transmission unit detects the transmission state of the send signal, and the monitoring verification unit monitors and verifies the action of the ECU3 after receiving the send signal. In one specific implementation, the monitoring module may also generate a test report based on the detected transmission status of the send signal and the action status of the ECU3 after receiving the send signal.
The above is an explanation of the components of the send protocol test system and the connection relationship between them provided in this embodiment, and the operation principle of the send protocol test system is described in detail below with reference to fig. 1.
In the present embodiment, the data of the simulated environment or the sensor fault is transmitted to the send signal simulator 2 through the CAN by the software of the upper computer 1, and then the send signal simulator 2 transmits the data transmitted by the upper computer 1 to the ECU3 through the send signal simulated by the IO port of the microcontroller. That is, the operation state of ECU3 after receiving the send signal can be monitored without simulating the process of sending the send signal to ECU3 when the vehicle sensor is in a special environment in a real test environment. By adopting the test mode, complex sensors, wiring harnesses and connectors are not needed, and the test complexity and the test cost are reduced.
In the test mode adopted by the SENT protocol test system in the embodiment of the invention, firstly, the data set in the upper computer 1 is transmitted to the SENT signal simulator 2 by utilizing the CAN bus, the microcontroller in the SENT signal simulator 2 decodes the data to be transmitted, and the fast channel or the slow channel using the SENT signal is determined according to the importance degree of the signal set in the upper computer 1. Since the nature of the transmitted data is binary data, i.e., 1 or 0, the microcontroller, after interpreting the data, can use the clock function as well as the GPIO function to simulate the transmission of the send signal.
The SENT signal is transmitted through a series of pulse sequences between two falling edge periods, the time precision of the SENT signal is defined by one clock Tick (Tick), the range of one clock Tick is 3-10 mus, generally 3 mus, and therefore, the SENT signal simulator 2 is arranged to simulate a normal SENT signal through a clock and a timer of a microcontroller.
The SENT signal transfers data by means of nibbles, one Nibble represents 4 Bits (namely, one Nibble), since one Nibble can represent the value range of 0000-1111, the sensor data can be represented by the size of 6 Nibbles, the size of each Nibble can be represented by the number of clock Ticks, and the size of each Nibble is represented by 12-27 Ticks according to the protocol. The SENT signal data is then defined as shown in Table 1 below:
Figure BDA0003021704050000091
TABLE 1
A send signal typically comprises 56 fixed synchronization pulses, i.e. the time interval between the pulse and the subsequent falling edge is equivalent to 56 clock beats, and the data output by the IO port of the microcontroller should output a high level before the 56 th clock beat and output a low level when the 56 clock beats arrive, so as to simulate the synchronization pulses. The sync pulse is followed by a status and communication field (1 nibble), a data field (1-6 nibbles), a CRC check field (1 nibble) and a pause pulse. The pause pulse can dynamically adjust the number of clock beats so as to realize that the whole SENT protocol is a clock beat with a fixed length. The state and communication field, the data segment and the CRC check segment simulate the data transmitted by the SENT signal in a mode of a timer and an IO port.
The data transmission of the SENT signal starts from a falling edge for each nibble and then maintains a logic 0 state for at least 4 clock ticks, after which the time difference between the next falling edge and the first falling edge is used as the encoding basis for the nibble value. And the last falling edge is at least 12 clock beats away from the first falling edge, at most 27 clock beats away from the first falling edge, and the number of clock beats minus 12 is the final number of half bytes, so that the minimum value of the half byte is 0, the maximum value is 15, and the binary representation is 4 bits. Therefore, the send signal can be simulated according to the clock of the microcontroller and the IO port, the clock beat of the microcontroller is firstly defined, then the timer is set, and different IO port states (namely 1 or 0) are output at each clock beat according to the data transmitted by the upper computer 1, so that the send signal can be simulated to be transmitted to the ECU 3.
The embodiment of the invention also discloses a SENT protocol testing method. The details will be described below.
Fig. 2 is a diagram illustrating a test method of the send protocol according to an embodiment of the present invention. As shown in fig. 2, the specific steps of the send protocol testing method include:
step 101, inputting parameters of the virtual sensor under the simulated test environment condition into an upper computer.
In a specific embodiment, the parameters of the virtual sensor are set according to the environment to be tested, and the set parameters are input into the upper computer through the input module. In the process, the data can be rewritten in real time to input virtual sensor data under different test environments, and the input data can be modified in real time to ensure the real accuracy of simulation. The virtual sensor parameters may include data of the simulated environment or sensor failure information, among other things.
And 102, generating virtual data by the upper computer according to the virtual sensor parameters, and sending the virtual data to the SENT signal simulator.
Specifically, the upper computer transmits the virtual data to the SENT signal simulator through the CAN.
In a specific embodiment, an input module in the upper computer inputs virtual sensor parameters, virtual data are generated according to the virtual sensor parameters, and the sending module in the upper computer transmits the virtual data to the SENT signal simulator through the CAN, so that virtual data required for simulating the SENT signal are provided for the SENT signal simulator. In addition, the upper computer can set the importance degree of the signal according to the input virtual sensor parameters so as to determine the transmission channel of the SENT signal.
Step 103, the SENT signal simulator receives the dummy data and decodes the dummy data.
In a specific embodiment, a microcontroller in the send signal simulator receives virtual data SENT by an upper computer, and decodes the virtual data to obtain data to be transmitted.
And 104, the SENT signal simulator sends the decoded virtual data simulation SENT signal to the ECU.
Specifically, the SENT signal simulator simulates the transmission of the SENT signal through a clock function and a GPIO function.
In a specific embodiment, a clock module in the SENT signal simulator is set according to the virtual data obtained by decoding, and a normal SENT signal is simulated by setting a clock and a timer of the SENT signal simulator. The microcontroller of the SENT signal simulator simulates the transmission of the SENT signal by using a clock function and a GPIO function, and sends the simulated SENT signal to the ECU.
In the process, the microcontroller determines to use a fast channel or a slow channel of the SENT signal according to the importance of the decoded signal so as to simulate the transmission condition of real important signal high-frequency updating and non-critical signal slow transmission.
And step 105, detecting the transmission state of the SENT signal SENT by the SENT signal simulator.
In a specific embodiment, the detection transmission unit of the monitoring module is used for detecting the transmission state of the send signal SENT by the send signal simulator so as to judge whether the transmission of the send signal is normal in the current test environment. A detection report can be generated according to the detection result, and when the transmission has errors, possible error reasons are described in the detection report.
And step 106, receiving the analog SENT signal by the ECU, and performing corresponding action.
In a specific embodiment, after the simulated SENT signal is transmitted normally, the ECU receives the SENT signal to simulate the action state of the ECU under various environments or faults.
Step 107, monitoring and verifying the operation of the ECU after receiving the send signal.
In a specific embodiment, a monitoring and verifying unit in the monitoring module monitors the action state of the ECU, generates and stores a test report, so that a worker can check the action state of the ECU under various environments or faults at any time, and unnecessary repeated tests are avoided.
To sum up, the present specification discloses a send protocol testing system and a method thereof, inputting virtual sensor parameters through an upper computer, simulating a send signal by a send signal simulator, and sending the send signal to an ECU, greatly simplifying the test send process, virtualizing the send signal under the required test environment without using an actual sensor or placing the sensor in a real test environment, and transmitting the send signal to the ECU, thereby simulating the action state of the ECU under various environments or faults, solving the problem that the send protocol test can be carried out only after the whole vehicle sensor is placed in the actual environment in the prior art, simplifying the test conditions, reducing the test complexity, shortening the test time period, and greatly reducing the test cost.
Those of ordinary skill in the art will understand that: the figures are merely schematic representations of one embodiment, and the blocks or flow diagrams in the figures are not necessarily required to practice the present invention.
Those of ordinary skill in the art will understand that: modules in the devices in the embodiments may be distributed in the devices in the embodiments according to the description of the embodiments, or may be located in one or more devices different from the embodiments with corresponding changes. The modules of the above embodiments may be combined into one module, or further split into multiple sub-modules.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A send protocol testing system, the send protocol testing system comprising: the system comprises an upper computer, a SENT signal simulator, an ECU and a monitoring module;
the upper computer is configured to be used for inputting corresponding virtual sensor parameters under the test environment condition, generating virtual data according to the virtual sensor parameters and transmitting the virtual data to the SENT signal simulator;
the SENT signal simulator is configured to simulate the transmission of the SENT signal after decoding the received virtual data;
the ECU configured for receiving the transmitted simulated SENT signal;
the monitoring module is configured to detect transmission of the SENT signal and monitor actions after verifying that the ECU receives the SENT signal.
2. The SENT protocol testing system of claim 1, wherein the SENT signal simulator comprises a microcontroller, a clock module, and a GPIO module;
the microcontroller configured to receive and decode the dummy data;
the clock module is electrically connected with the microcontroller; the microcontroller is configured for triggering the clock module; the clock module sends a clock beat to the GPIO module after being triggered;
the GPIO module is electrically connected with the microcontroller and the clock module respectively; the GPIO module is configured to output an analog signal according to the decoded virtual data, and to trigger and control the output of the analog signal through a clock beat so as to simulate the transmission of the SENT signal.
3. The SENT protocol testing system of claim 2, wherein the clock module includes a timer; the timer is used for controlling the output of the analog signal.
4. The SENT protocol testing system of claim 1, wherein the upper computer comprises an input module, a sending module;
the input module is configured to input virtual sensor parameters under simulated test environment conditions, and data can be rewritten in real time;
the sending module is configured to generate the virtual data according to the input virtual sensor parameters and send the virtual data to the SENT signal simulator.
5. The SENT protocol testing system of claim 1, wherein the host computer transmits the dummy data to the SENT signal simulator over CAN.
6. The SENT protocol testing system of claim 1, wherein the monitoring module includes a detection transmission unit and a monitoring verification unit; the detection transmission unit is used for detecting the transmission state of the SENT signal; and the monitoring and verifying unit is used for monitoring and verifying the action of the ECU after receiving the SENT signal.
7. A SENT protocol testing method is characterized by comprising the following steps:
inputting parameters of a virtual sensor under the simulated test environment condition into an upper computer;
the upper computer generates virtual data according to the virtual sensor parameters and sends the virtual data to a SENT signal simulator;
the SENT signal simulator receives the virtual data and decodes the virtual data;
the SENT signal simulator sends the decoded virtual data simulation SENT signal to an ECU;
the ECU receives the simulated SENT signal and carries out corresponding action;
and monitoring and verifying the action of the ECU after receiving the SENT signal.
8. The SENT protocol testing method according to claim 7, characterized in that the SENT protocol testing method further comprises:
and detecting the transmission state of the SENT signal SENT by the SENT signal simulator.
9. The SENT protocol testing method of claim 7, wherein the upper computer transmits the dummy data to the SENT signal simulator through a CAN.
10. The SENT protocol testing method of claim 7, wherein the SENT signal emulator simulates transmission of the SENT signal through a clock function and a GPIO function.
CN202110404462.XA 2021-04-15 2021-04-15 SENT protocol test system and method thereof Pending CN113179192A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110404462.XA CN113179192A (en) 2021-04-15 2021-04-15 SENT protocol test system and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110404462.XA CN113179192A (en) 2021-04-15 2021-04-15 SENT protocol test system and method thereof

Publications (1)

Publication Number Publication Date
CN113179192A true CN113179192A (en) 2021-07-27

Family

ID=76923266

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110404462.XA Pending CN113179192A (en) 2021-04-15 2021-04-15 SENT protocol test system and method thereof

Country Status (1)

Country Link
CN (1) CN113179192A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114019840A (en) * 2021-09-26 2022-02-08 武汉神动汽车电子电器股份有限公司 Device for testing SENT sending and receiving and control method
CN114040035A (en) * 2021-11-02 2022-02-11 深圳驰越科技有限公司 SENT analyzer
CN114323102A (en) * 2021-12-17 2022-04-12 中国重汽集团济南动力有限公司 SENT interface sensor fault diagnosis method, device and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202583869U (en) * 2012-04-27 2012-12-05 于树怀 ECU detection and diagnosis control device
CN107942995A (en) * 2017-11-16 2018-04-20 联合汽车电子(重庆)有限公司 ECU environment Durable test systems
CN108388239A (en) * 2018-04-25 2018-08-10 中国重汽集团济南动力有限公司 A kind of device of test engine electronic control unit function
CN211653464U (en) * 2020-04-30 2020-10-09 中国汽车工程研究院股份有限公司 Sent communication signal generator based on singlechip
CN111800380A (en) * 2020-05-27 2020-10-20 苏州国方汽车电子有限公司 Sent signal simulation analysis platform based on J2716 protocol

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202583869U (en) * 2012-04-27 2012-12-05 于树怀 ECU detection and diagnosis control device
CN107942995A (en) * 2017-11-16 2018-04-20 联合汽车电子(重庆)有限公司 ECU environment Durable test systems
CN108388239A (en) * 2018-04-25 2018-08-10 中国重汽集团济南动力有限公司 A kind of device of test engine electronic control unit function
CN211653464U (en) * 2020-04-30 2020-10-09 中国汽车工程研究院股份有限公司 Sent communication signal generator based on singlechip
CN111800380A (en) * 2020-05-27 2020-10-20 苏州国方汽车电子有限公司 Sent signal simulation analysis platform based on J2716 protocol

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114019840A (en) * 2021-09-26 2022-02-08 武汉神动汽车电子电器股份有限公司 Device for testing SENT sending and receiving and control method
CN114040035A (en) * 2021-11-02 2022-02-11 深圳驰越科技有限公司 SENT analyzer
CN114323102A (en) * 2021-12-17 2022-04-12 中国重汽集团济南动力有限公司 SENT interface sensor fault diagnosis method, device and system
CN114323102B (en) * 2021-12-17 2024-01-19 中国重汽集团济南动力有限公司 SENT interface sensor fault diagnosis method, device and system

Similar Documents

Publication Publication Date Title
CN113179192A (en) SENT protocol test system and method thereof
CN107222362B (en) Automatic test platform for finished vehicle CAN network and optimization method thereof
CN111090556B (en) System on chip and USB physical layer test method
US11283646B2 (en) Monitoring local interconnect network (LIN) nodes
CN113064618B (en) System and method for simulating new energy vehicle conformance detection
US7343279B2 (en) Universal approach for simulating, emulating, and testing a variety of serial bus types
CN116384305B (en) Data communication method, device, system, equipment and computer storage medium
CN110968004B (en) Cable test system based on FPGA prototype verification development board
CN115509846A (en) INTEL SVID power supply verification and fault diagnosis method and equipment
CN211296735U (en) Controller internal delay testing device
CN106019021B (en) The universal test tooling and its test method of testing for electrical equipment device
US7000170B2 (en) Method and apparatus for generating CRC/parity error in network environment
CN110741353A (en) Graphical user interface tool for configuring an intrusion detection system for a vehicle
CN111786842B (en) Data processing method and hardware-in-the-loop test system
CN112965470A (en) Commercial car data center test system
RU75070U1 (en) MODULE FOR SIMULATION OF A CONTROL OBJECT WITH INPUT PARAMETERS CONTROL
CN117478548B (en) Fault tolerance capability test system and method for I2C slave equipment
CN112987690B (en) Espi controller verification system and method
CN116996590B (en) Ethernet speed reducer of FPGA prototype verification platform and data transmission method
CN110557298A (en) method and system for testing a system
CN117370081A (en) Signal simulation method, device, electronic equipment and storage medium
JPH0777384B2 (en) Line simulator
CN117579530A (en) Test method, device, system, test host and medium for diagnosing route
JP3567069B2 (en) Matrix test equipment
CN118012681A (en) Full duplex function verification method and device for universal asynchronous receiving and transmitting device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210727