Control system and method for power-on and power-off of test vehicle
By using a control system consisting of a host computer, transceiver, control equipment, and relays in vehicle testing, the power on and off of the test vehicle is automatically controlled, solving the problem of low manual operation efficiency and achieving efficient vehicle testing.
Patent Information
- Application Number
- CN202511006716.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-22
- Publication Date
- 2025-09-19
AI Technical Summary
During the automotive R&D process, frequent power-on and power-off operations during vehicle testing rely on manual operation, resulting in low testing efficiency and the inability to achieve automation.
A control system consisting of a host computer, transceiver, control equipment, CAN bus, relays and power supply equipment is used to automatically control the CAN bus and relays to achieve power-on and power-off operations on the test vehicle, and to monitor voltage signals in real time to determine the power-on and power-off status.
The test vehicle can be powered on and off automatically, which improves test efficiency and ensures the accuracy and reliability of operations through real-time monitoring.
Smart Images

Figure CN120669684A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of whole vehicle testing, and in particular to a control system and method for powering on and off a test vehicle. Background Art
[0002] During the automobile R&D process, it is necessary to manufacture test vehicles for whole vehicle testing. With the development of electrification and intelligence in automobiles, more and more electronic control units are used in automobiles, so more and more items need to be tested during the whole vehicle testing process. In most test items, the whole vehicle needs to be powered on for testing and powered off after the test items are completed. In the existing technology, the whole vehicle is powered on and off by the staff manually operating the ignition switch of the test vehicle to realize the on and off of the whole vehicle power supply circuit. In some test items, frequent power on and off operations are required, resulting in low efficiency of whole vehicle functional testing and the inability to realize automated testing of the whole vehicle. Summary of the Invention
[0003] To solve at least one aspect of the above problems, the present invention provides a control system and method for powering on and off a test vehicle.
[0004] In the first aspect, the present application provides a control system for powering on and off a test vehicle, comprising a host computer, a transceiver, a control device, a CAN bus, a first relay, a second relay and a power supply device; the host computer is used to send power-on signals and power-off signals; the first input end of the transceiver is communicatively connected to the host computer, and the first output end of the transceiver is communicatively connected to the CAN bus, and is used to send a first type of message to the CAN bus when receiving a power-on signal from the host computer, and to send a second type of message to the CAN bus when receiving a power-off signal from the host computer; the first input end of the control device is communicatively connected to the CAN bus, and is used to output a high-level signal at its first output end and second output end when receiving the first type of message, and to output a low-level signal at its first output end and second output end when receiving the second type of message; the input end of the first relay is communicatively connected to the control device The first output end of the first relay is communicatively connected to the first start pin of the ignition switch on the test vehicle, and the second output end of the first relay is electrically connected to the KL31 (representing the negative electrode of the battery) interface of the test vehicle; the input end of the second relay is communicatively connected to the second output end of the control device, the first output end of the second relay is electrically connected to the second start pin of the ignition switch on the test vehicle, and the second output end of the second relay is electrically connected to the KL31 interface of the test vehicle; the first relay and the second relay are closed when receiving a high-level signal, so that the ignition switch forms an ignition action and the test vehicle is powered on; the first relay and the second relay are disconnected when receiving a low-level signal, so that the test vehicle is powered off; the power supply device is electrically connected to the transceiver and the control device, and is used to supply power to the transceiver and the control device.
[0005] Preferably, the second input end of the control device is used to communicate with the KL31 interface, KL30 (representing the positive electrode of the battery) interface and KL15 (representing the ignition signal) interface of the test vehicle respectively, and read the voltage analog signals on the KL31 line, KL30 line and KL15 line on the test vehicle respectively; the third output end of the control device is communicated with the CAN bus and is used to send a third type of message to the CAN bus according to the voltage analog signals on the KL31 line, KL30 line and KL15 line on the test vehicle. ; The second input end of the transceiver is communicatively connected to the CAN bus, and the second output end of the transceiver is communicatively connected to the host computer, and is used to receive the third type of message from the CAN bus and parse out the voltage analog values on the KL31 line, KL30 line and KL15 line and send them to the host computer; the host computer is also used to receive the voltage analog values on the KL31 line, KL30 line and KL15 line, and judge whether the test vehicle is successfully powered on or powered off based on the voltage analog values on the KL31 line, KL30 line and KL15 line.
[0006] Preferably, a timing module is provided in the control device, which is used to time the reading of the voltage analog signals on the KL31 line, KL30 line and KL15 line on the test vehicle, and read the voltage analog signals on the KL31 line, KL30 line and KL15 line on the test vehicle again when the timing reaches a preset threshold.
[0007] Preferably, the host computer includes a first sending module, a receiving module, a first comparing module, a first judging module, a second sending module, a second comparing module, a second judging module, a testing module and a reminding module; the first sending module is configured to send a power-on signal to the transceiver; the receiving module is configured to receive the voltage analog values on the KL31 line, the KL30 line and the KL15 line from the transceiver; the first comparing module is configured to receive the voltage analog values on the KL31 line, the KL30 line and the KL15 line from the receiving module after the first sending module sends the power-on signal, And respectively compare the voltage analog value on the KL31 line with the first preset range of the first line, the voltage analog value on the KL30 line with the first preset range of the second line, and the voltage analog value on the KL15 line with the first preset range of the third line; the first judgment module is configured to receive the comparison result from the first comparison module, and when the voltage analog values on the KL31 line, the KL30 line and the KL15 line are respectively within the corresponding first preset range of the first line, the first preset range of the second line and the first preset range of the third line, it is judged that the test vehicle is powered on successfully, otherwise it is judged that the test vehicle is powered on successfully. Failure; the test module is configured to receive a power-on success signal of the test vehicle from the first judgment module, and test the test vehicle in the startup state; the second sending module is configured to send a power-off signal to the transceiver; the second comparing module is configured to receive the voltage analog values on the KL31 line, the KL30 line and the KL15 line from the receiving module after the second sending module sends the power-off signal, and compare the voltage analog value on the KL31 line with the second preset range of the first line, the voltage analog value on the KL30 line with the second preset range of the second line, and the voltage analog value on the KL15 line respectively. The voltage analog value on the KL31 line, the KL30 line and the KL15 line are respectively within the corresponding second preset range of the first line, the second preset range of the second line and the second preset range of the third line. The second judgment module is configured to receive the comparison result from the second comparison module, and judge that the test vehicle is powered off successfully when the voltage analog values on the KL31 line, the KL30 line and the KL15 line are respectively within the corresponding second preset range of the first line, the second preset range of the second line and the second preset range of the third line, otherwise it is judged that the test vehicle fails to be powered off; the reminder module is configured to receive the power-on failure result from the first judgment module and the power-off failure result from the second judgment module, and give a prompt according to the power-on failure result and the power-off failure result.
[0008] Preferably, the test module is further configured to obtain the current voltage analog values on the KL31 line, the KL30 line and the KL15 line from the receiving module in real time for testing the test vehicle.
[0009] Preferably, the control device is a configurable programmable I / O module connected to CANFD.
[0010] Preferably, the first output end of the first relay is electrically connected to the first start pin of the ignition switch through a Y-shaped wire, and the first output end of the second relay is electrically connected to the second start pin of the ignition switch through a Y-shaped wire.
[0011] In the second aspect, the present application provides a control method for powering on and off a test vehicle, which adopts any of the above-mentioned control systems for powering on and off a test vehicle, including the following steps: the host computer sends a power-on signal to the transceiver; the transceiver sends a first type of message to the CAN bus when receiving the power-on signal from the host computer; the control device outputs a high-level signal at its first output terminal and second output terminal when receiving the first type of message; the first relay and the second relay are closed when receiving the high-level signal, so that the ignition switch performs an ignition action and the test vehicle is powered on; the host computer sends a power-off signal to the transceiver; the transceiver sends a second type of message to the CAN bus when receiving the power-on signal from the host computer; the control device outputs a low-level signal at its first output terminal and second output terminal when receiving the second type of message; the first relay and the second relay are disconnected when receiving the low-level signal, so that the test vehicle is powered off.
[0012] Preferably, the following steps are also included: the control device reads the voltage analog signals on the KL31 line, KL30 line and KL15 line on the test vehicle in real time, and sends a third type of message to the CAN bus according to the read voltage analog signals on the KL31 line, KL30 line and KL15 line on the test vehicle; the transceiver receives the third type of message from the CAN bus and parses the voltage analog values on the KL31 line, KL30 line and KL15 line and sends them to the host computer; after the host computer sends the power-on signal, it compares the current voltage analog value on the KL31 line with the first preset range of the first line, the voltage analog value on the KL30 line with the first preset range of the second line, and the voltage analog value on the KL15 line with the first preset range of the third line; when the KL31 line, When the voltage analog values on the KL30 line and the KL15 line are respectively within the corresponding first preset range of the first line, the first preset range of the second line and the first preset range of the third line, it is judged that the test vehicle is powered on successfully; otherwise, it is judged that the test vehicle has failed to power on; after sending the power-off signal, the upper computer compares the current voltage analog value on the KL31 line with the second preset range of the first line, the voltage analog value on the KL30 line with the second preset range of the second line, and the voltage analog value on the KL15 line with the second preset range of the third line; when the voltage analog values on the KL31 line, the KL30 line and the KL15 line are respectively within the corresponding second preset range of the first line, the second preset range of the second line and the second preset range of the third line, it is judged that the test vehicle has successfully powered off; otherwise, it is judged that the test vehicle has failed to power off.
[0013] The control system and method for powering on and off a test vehicle of the present invention have the following beneficial effects:
[0014] (1) The control device receives the power-on signal sent by the host computer through the transceiver and the CAN bus, outputs a high-level signal at its first output terminal and the second output terminal, controls the first relay and the second relay to be closed, so that the first start pin and the second start pin of the ignition switch are pulled down to KL31 to form a loop to complete the ignition action, and the test vehicle is powered on; when the control device receives the power-off signal, it outputs a low-level signal at its first output terminal and the second output terminal, controls the first relay and the second relay to be disconnected, so that the first start pin and the second start pin of the ignition switch are disconnected from the vehicle wiring harness, and the test vehicle is powered off. This can replace the manual operation of the ignition switch power-on and power-off operation, help improve test efficiency, and provide the necessary conditions for automated testing.
[0015] (2) By connecting the control device to the KL31 interface, KL30 interface and KL15 interface of the test vehicle, the voltage analog signals on the KL31 line, KL30 line and KL15 line on the test vehicle can be read, and then fed back to the host computer through the transceiver and CAN bus. The ignition status information and battery voltage of the test vehicle can be monitored in real time, and feedback on the automatic power-on and power-off execution process can be achieved to ensure the accuracy of the execution of this application system.
[0016] (3) A Y-shaped line is used to connect the first output terminal of the first relay and the first start pin of the ignition switch with the first output terminal of the second relay and the second start pin of the ignition switch, respectively, to achieve the coexistence of two ignition operation modes: manual operation of the ignition switch and automatic control of the ignition switch by the control system of this application. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] To better understand the above and other objects, features, advantages, and functions of the present invention, reference may be made to the embodiments shown in the accompanying drawings. Like reference numerals in the accompanying drawings refer to like components. Those skilled in the art should understand that the accompanying drawings are intended to schematically illustrate preferred embodiments of the present invention and have no limiting effect on the scope of the present invention. The components in the drawings are not drawn to scale.
[0018] Figure 1 A block diagram of a control system for powering on and off a test vehicle according to an embodiment of the present invention is shown;
[0019] Figure 2 A block diagram of a host computer of a control system for powering on and off a test vehicle according to an embodiment of the present invention is shown;
[0020] Figure 3 A flow chart of a method for controlling power on and off a test vehicle according to an embodiment of the present invention is shown.
[0021] Description of reference numerals:
[0022] 1. Host computer; 101. First sending module; 102. Receiving module; 103. First comparison module; 104. First judgment module; 105. Second sending module; 106. Second comparison module; 107. Second judgment module; 108. Test module; 109. Reminder module; 2. Transceiver; 3. Control device; 4. CAN bus; 5. First relay; 6. Second relay; 7. Power supply device; 81. Ignition switch; 82. Vehicle wiring harness. DETAILED DESCRIPTION
[0023] The following description of exemplary embodiments of the present disclosure is made in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding. These details should be considered as merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.
[0024] As used herein, the term "including" and its variations represent open inclusion, i.e., "including but not limited to." Unless otherwise stated, the term "or" means "and / or." The term "based on" means "based at least in part on." The terms "an example embodiment" and "an embodiment" mean "at least one example embodiment." The term "another embodiment" means "at least one additional embodiment." The terms "first," "second," etc. may refer to different or the same objects. Other explicit and implicit definitions may also be included below.
[0025] In order to at least partially solve one or more of the above problems and other potential problems, the embodiments of the present disclosure provide a control system for powering on and off a test vehicle, such as Figure 1 As shown, it includes a host computer 1, a transceiver 2, a control device 3, a CAN bus 4, a first relay 5, a second relay 6 and a power supply device 7.
[0026] The host computer 1 is used to send power-on signals and power-off signals; specifically, the host computer 1 is an industrial personal computer, and the host computer 1 includes a first sending module 101 and a second sending module 105, the first sending module 101 is used to send a power-on signal, and the second sending module 105 is used to send a power-off signal; more specifically, the host computer 1 includes a memory and a processor, and a test program is stored in the memory. When the test program is executed, a power-on signal and a power-off signal will be sent to the transceiver 2. Preferably, a test program for multiple test items is stored in the memory.
[0027] The first input terminal of transceiver 2 is communicatively connected to host computer 1, and the first output terminal of transceiver 2 is communicatively connected to CAN bus 4. Transceiver 2 is configured to transmit a first type of message to CAN bus 4 upon receiving a power-up signal from host computer 1, and to transmit a second type of message to CAN bus 4 upon receiving a power-down signal from host computer 1. Control device 3 is preferably a configurable and programmable I / O module for CAN FD connectivity. The first input terminal of control device 3 is communicatively connected to CAN bus 4, and is configured to output a high-level signal at its first and second output terminals upon receiving a first type of message, and to output a low-level signal at its first and second output terminals upon receiving a second type of message. Power supply device 7 is electrically connected to both transceiver 2 and control device 3, and is configured to supply power to both transceiver 2 and control device 3.
[0028] The input end of the first relay 5 is communicatively connected to the first output end of the control device 3. The first output end of the first relay 5 is used to electrically connect to the first start pin of the ignition switch 81 on the test vehicle. Preferably, the first output end of the first relay 5 is electrically connected to the first start pin of the ignition switch 81 via a Y-shaped cable. The second output end of the first relay 5 is used to electrically connect to the KL31 interface of the test vehicle. The input end of the second relay 6 is communicatively connected to the second output end of the control device 3. The first output end of the second relay 6 is used to electrically connect to the second start pin of the ignition switch 81 on the test vehicle. Preferably, the first output end of the second relay 6 is electrically connected to the second start pin of the ignition switch 81 via a Y-shaped cable. The second output end of the second relay 6 is used to electrically connect to the KL31 interface of the test vehicle. The first relay 5 and the second relay 6 are closed when receiving a high-level signal, so that the first start pin and the second start pin of the ignition switch 81 are pulled down to KL31 to form an ignition action, and the test vehicle is powered on; the first relay 5 and the second relay 6 are disconnected when receiving a low-level signal, so that the first start pin and the second start pin of the ignition switch 81 are disconnected from the vehicle wiring harness 82, and the test vehicle is powered off.
[0029] In a preferred embodiment, the second input end of the control device 3 is used to communicate with the KL31 interface, KL30 interface and KL15 interface of the test vehicle respectively, and read the voltage analog signals on the KL31 line, KL30 line and KL15 line on the test vehicle respectively. Preferably, a timing module is provided in the control device 3 for timing after the voltage analog signals on the KL31 line, KL30 line and KL15 line on the test vehicle are read. When the timing reaches a preset threshold, the voltage analog signals on the KL31 line, KL30 line and KL15 line on the test vehicle are read again to realize real-time monitoring of the battery voltage of the test vehicle; the third output end of the control device 3 is communicatively connected to the CAN bus 4 , used to send a third type of message to the CAN bus 4 according to the voltage analog signals on the KL31 line, KL30 line and KL15 line on the test vehicle; the second input end of the transceiver 2 is communicatively connected to the CAN bus 4, and the second output end of the transceiver 2 is communicatively connected to the host computer 1, used to receive the third type of message from the CAN bus 4 and parse out the voltage analog values on the KL31 line, KL30 line and KL15 line and send them to the host computer 1; the host computer 1 is also used to receive the voltage analog values on the KL31 line, KL30 line and KL15 line, and judge whether the test vehicle is successfully powered on or powered off according to the voltage analog values on the KL31 line, KL30 line and KL15 line.
[0030] In a specific embodiment, if Figure 2As shown, the host computer 1 includes a first sending module 101, a receiving module 102, a first comparing module 103, a first judging module 104, a second sending module 105, a second comparing module 106, a second judging module 107, a testing module 108 and a reminding module 109; the first sending module 101 is configured to send a power-on signal to the transceiver 2; the receiving module 102 is configured to receive the voltage analog values on the KL31 line, the KL30 line and the KL15 line from the transceiver 2; the first comparing module 103 is configured to receive the voltage analog values on the KL31 line, the KL30 line and the KL15 line from the receiving module 102 after the first sending module 101 sends the power-on signal. The voltage analog values on the KL30 line and the KL15 line are compared, and the voltage analog value on the KL31 line is compared with the first preset range of the first line, the voltage analog value on the KL30 line is compared with the first preset range of the second line, and the voltage analog value on the KL15 line is compared with the first preset range of the third line; the first judgment module 104 is configured to receive the comparison result from the first comparison module 103, and judge that the test vehicle is powered on successfully when the voltage analog values on the KL31 line, the KL30 line and the KL15 line are respectively within the corresponding first preset range of the first line, the first preset range of the second line and the first preset range of the third line, otherwise Determine whether the test vehicle fails to power on; the test module 108 is configured to receive a power-on success signal of the test vehicle from the first judgment module 104, and test the test vehicle in the startup state; the second sending module 105 is configured to send a power-off signal to the transceiver 2; the second comparing module 106 is configured to receive the voltage analog values on the KL31 line, the KL30 line, and the KL15 line from the receiving module 102 after the second sending module 105 sends the power-off signal, and compare the voltage analog value on the KL31 line with the second preset range of the first line, the voltage analog value on the KL30 line with the second preset range of the second line, and the voltage analog value on the KL15 line with the second preset range of the second line. The voltage analog value on the line is within the second preset range of the third line; the second judgment module 107 is configured to receive the comparison result from the second comparison module 106, and when the voltage analog values on the KL31 line, the KL30 line, and the KL15 line are respectively within the corresponding second preset range of the first line, the second preset range of the second line, and the second preset range of the third line, it is determined that the test vehicle has been powered off successfully; otherwise, it is determined that the test vehicle has been powered off unsuccessfully; the reminder module 109 is configured to receive the power-on failure result from the first judgment module 104 and the power-off failure result from the second judgment module 107, and to provide a prompt based on the power-on failure result and the power-off failure result. Preferably, the test module 108 is further configured to obtain the current voltage analog values on the KL31 line, the KL30 line, and the KL15 line from the receiving module 102 in real time for testing the test vehicle.
[0031] More specifically, the host computer 1 includes a memory and a processor, the memory stores a test program, and sends a power-on signal to the transceiver 2 when the test program is executed; receives the voltage analog values on the KL31 line, the KL30 line, and the KL15 line from the transceiver 2; compares the current voltage analog value on the KL31 line with the first preset range of the first line, the current voltage analog value on the KL30 line with the first preset range of the second line, and the current voltage analog value on the KL15 line with the first preset range of the third line; when the voltage analog values on the KL31 line, the KL30 line, and the KL15 line are respectively within the corresponding first preset range of the first line, the first preset range of the second line, and the first preset range of the third line, it is determined that the test vehicle is powered on. success, otherwise it is judged that the test vehicle has failed to power on; when the test vehicle is successfully powered on, the test vehicle is tested, and when the test vehicle fails to power on, a reminder is given; a power-off signal is sent to transceiver 2; the voltage analog value on the current KL31 line is compared with the second preset range of the first line, the voltage analog value on the current KL30 line is compared with the second preset range of the second line, and the voltage analog value on the current KL15 line is compared with the second preset range of the third line; when the voltage analog values on the KL31 line, the KL30 line and the KL15 line are respectively within the corresponding second preset range of the first line, the second preset range of the second line and the second preset range of the third line, it is judged that the test vehicle has successfully powered off, otherwise it is judged that the test vehicle has failed to power off; when the test vehicle fails to power off, a reminder is given.
[0032] The present application also provides a control method for powering on and off a test vehicle, which uses any of the above-mentioned control systems for powering on and off a test vehicle, such as Figure 3 Shown, including:
[0033] The steps of controlling the power-on of the test vehicle include: the host computer 1 sends a power-on signal to the transceiver 2; the transceiver 2 sends a first type of message to the CAN bus 4 when receiving the power-on signal from the host computer 1; the control device 3 outputs a high level signal at its first output terminal and the second output terminal when receiving the first type of message; the first relay 5 and the second relay 6 are closed when receiving the high level signal, so that the ignition switch 81 forms an ignition action and the test vehicle is powered on; in a preferred embodiment, it also includes: the control device 3 reads the voltage analog signals on the KL31 line, KL30 line and KL15 line on the test vehicle in real time, and sends the voltage analog signals on the KL31 line, KL30 line and KL15 line on the test vehicle according to the read voltage analog signals. The third type of message is sent to the CAN bus 4; the transceiver 2 receives the third type of message from the CAN bus 4 and parses the voltage analog values on the KL31 line, the KL30 line and the KL15 line and sends them to the host computer 1; respectively compare the current voltage analog value on the KL31 line with the first preset range of the first line, the voltage analog value on the KL30 line with the first preset range of the second line, and the voltage analog value on the KL15 line with the first preset range of the third line; when the voltage analog values on the KL31 line, the KL30 line and the KL15 line are respectively within the corresponding first preset range of the first line, the first preset range of the second line and the first preset range of the third line, it is judged that the test vehicle is powered on successfully, otherwise it is judged that the test vehicle is powered on unsuccessfully.
[0034] The steps of controlling the power-off of the test vehicle include: the upper computer 1 sends a power-off signal to the transceiver 2; the transceiver 2 sends a second type of message to the CAN bus 4 when receiving the power-on signal from the upper computer 1; the control device 3 outputs a low level signal at its first output terminal and the second output terminal when receiving the second type of message; the first relay 5 and the second relay 6 are disconnected when receiving the low level signal, so that the test vehicle is powered off; in a preferred embodiment, it also includes: the control device 3 reads the voltage analog signals on the KL31 line, KL30 line and KL15 line on the test vehicle in real time, and sends a third type of message to the control device 3 according to the voltage analog signals on the KL31 line, KL30 line and KL15 line on the test vehicle. CAN bus 4; transceiver 2 receives the third type of message from CAN bus 4 and parses the voltage analog values on KL31 line, KL30 line and KL15 line and sends them to host computer 1; respectively compares the current voltage analog value on KL31 line with the second preset range of the first line, the voltage analog value on KL30 line with the second preset range of the second line, and the voltage analog value on KL15 line with the second preset range of the third line; when the voltage analog values on KL31 line, KL30 line and KL15 line are respectively within the corresponding second preset range of the first line, the second preset range of the second line and the second preset range of the third line, it is judged that the test vehicle is powered off successfully; otherwise, it is judged that the test vehicle fails to be powered off.
[0035] While various embodiments of the present disclosure have been described above, the foregoing description is intended to be illustrative, non-exhaustive, and not limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is selected to best explain the principles of the embodiments, their practical applications, or technological improvements in the marketplace, or to enable others skilled in the art to understand this document.
Claims
1. A control system for powering on and off a test vehicle, characterized by: It includes a host computer (1), a transceiver (2), a control device (3), a CAN bus (4), a first relay (5), a second relay (6) and a power supply device (7); The host computer (1) is used to send power-on signals and power-off signals; The first input end of the transceiver (2) is communicatively connected to the host computer (1), and the first output end of the transceiver (2) is communicatively connected to the CAN bus (4), and is used to send a first type of message to the CAN bus (4) when receiving a power-on signal from the host computer (1), and to send a second type of message to the CAN bus (4) when receiving a power-off signal from the host computer (1); The first input terminal of the control device (3) is communicatively connected to the CAN bus (4), and is configured to output a high-level signal at its first output terminal and its second output terminal when receiving a first-type message, and output a low-level signal at its first output terminal and its second output terminal when receiving a second-type message; The input end of the first relay (5) is communicatively connected to the first output end of the control device (3), the first output end of the first relay (5) is used to be electrically connected to the first start pin of the ignition switch (81) on the test vehicle, and the second output end of the first relay (5) is used to be electrically connected to the KL31 interface of the test vehicle; The input end of the second relay (6) is communicatively connected to the second output end of the control device (3), the first output end of the second relay (6) is used to be electrically connected to the second start pin of the ignition switch (81) on the test vehicle, and the second output end of the second relay (6) is used to be electrically connected to the KL31 interface of the test vehicle; The first relay (5) and the second relay (6) are closed when receiving a high-level signal, so that the ignition switch (81) forms an ignition action and the test vehicle is powered on; the first relay (5) and the second relay (6) are disconnected when receiving a low-level signal, so that the test vehicle is powered off; The power supply device (7) is electrically connected to both the transceiver (2) and the control device (3) and is used to supply power to the transceiver (2) and the control device (3).
2. A control system for powering on and off a test vehicle according to claim 1, characterized in that: The second input end of the control device (3) is used for communication connection with the KL31 interface, the KL30 interface and the KL15 interface of the test vehicle respectively, and reads the voltage analog signals on the KL31 line, the KL30 line and the KL15 line of the test vehicle respectively; the third output end of the control device (3) is connected to the CAN bus (4) for communication connection, and is used for sending a third type message to the CAN bus (4) according to the voltage analog signals on the KL31 line, the KL30 line and the KL15 line of the test vehicle read; the second input end of the transceiver (2) is connected to the C The CAN bus (4) is communicatively connected, and the second output end of the transceiver (2) is communicatively connected to the host computer (1), and is used for receiving the third type message from the CAN bus (4) and parsing the voltage analog values on the KL31 line, the KL30 line and the KL15 line, and sending them to the host computer (1); the host computer (1) is also used for receiving the voltage analog values on the KL31 line, the KL30 line and the KL15 line, and judging whether the test vehicle is successfully powered on or powered off according to the voltage analog values on the KL31 line, the KL30 line and the KL15 line.
3. A control system for powering on and off a test vehicle according to claim 2, characterized in that: The control device (3) is provided with a timing module for timing after the voltage analog signals on the KL31 line, the KL30 line and the KL15 line on the test vehicle are read, and when the timing reaches a preset threshold, the voltage analog signals on the KL31 line, the KL30 line and the KL15 line on the test vehicle are read again.
4. A control system for powering on and off a test vehicle according to claim 3, characterized in that: The host computer (1) comprises a first sending module (101), a receiving module (102), a first comparing module (103), a first judging module (104), a second sending module (105), a second comparing module (106), a second judging module (107), a testing module (108) and a reminding module (109); The first sending module (101) is configured to send a power-on signal to the transceiver (2); The receiving module (102) is configured to receive voltage analog values on the KL31 line, the KL30 line and the KL15 line from the transceiver (2); The first comparison module (103) is configured to receive voltage analog values on the KL31 line, the KL30 line, and the KL15 line from the receiving module (102) after the first sending module (101) sends a power-on signal, and respectively compare the voltage analog value on the KL31 line with a first preset range of the first line, the voltage analog value on the KL30 line with a first preset range of the second line, and the voltage analog value on the KL15 line with a first preset range of the third line; The first judgment module (104) is configured to receive the comparison result from the first comparison module (103), and judge that the test vehicle is powered on successfully when the voltage analog values on the KL31 line, the KL30 line, and the KL15 line are respectively within the corresponding first preset range of the first line, the first preset range of the second line, and the first preset range of the third line; otherwise, judge that the test vehicle is powered on unsuccessfully; The test module (108) is configured to receive a power-on success signal of the test vehicle from the first judgment module (104), and to test the test vehicle in the startup state; The second sending module (105) is configured to send a power-off signal to the transceiver (2); The second comparison module (106) is configured to receive the voltage analog values on the KL31 line, the KL30 line, and the KL15 line from the receiving module (102) after the second sending module (105) sends the power-off signal, and respectively compare the voltage analog value on the KL31 line with the second preset range of the first line, the voltage analog value on the KL30 line with the second preset range of the second line, and the voltage analog value on the KL15 line with the second preset range of the third line; The second judgment module (107) is configured to receive the comparison result from the second comparison module (106), and judge that the test vehicle is powered off successfully when the voltage analog values on the KL31 line, the KL30 line, and the KL15 line are respectively within the corresponding second preset range of the first line, the second preset range of the second line, and the second preset range of the third line; otherwise, judge that the test vehicle is powered off successfully; The reminder module (109) is configured to receive a power-on failure result from the first judgment module (104) and a power-off failure result from the second judgment module (107), and to provide a prompt based on the power-on failure result and the power-off failure result.
5. A control system for powering on and off a test vehicle according to claim 4, characterized in that: The test module (108) is also used to obtain the current voltage simulation values on the KL31 line, the KL30 line and the KL15 line from the receiving module (102) in real time for testing the test vehicle.
6. The control system for powering on and off a test vehicle according to claim 1, characterized in that: The control device (3) is a configurable and programmable I / O module connected to CANFD.
7. The control system for powering on and off a test vehicle according to claim 1, characterized in that: The first output end of the first relay (5) is electrically connected to the first start pin of the ignition switch (81) through a Y-shaped wire, and the first output end of the second relay (6) is electrically connected to the second start pin of the ignition switch (81) through a Y-shaped wire.
8. A method for controlling power on and off a test vehicle, using the control system for power on and off a test vehicle according to any one of claims 1 to 7, characterized in that: The following steps are involved: The host computer (1) sends a power-on signal to the transceiver (2); The transceiver (2) sends a first type message to the CAN bus (4) when receiving a power-on signal from the host computer (1); The control device (3) outputs a high level signal at its first output terminal and second output terminal when receiving a first type of message; The first relay (5) and the second relay (6) are closed when receiving a high-level signal, so that the ignition switch (81) forms an ignition action and the test vehicle is powered on; The host computer (1) sends a power-off signal to the transceiver (2); The transceiver (2) sends a second type message to the CAN bus (4) when receiving a power-on signal from the host computer (1); The control device (3) outputs a low-level signal at its first output terminal and second output terminal when receiving the second type of message; The first relay (5) and the second relay (6) are disconnected when receiving a low-level signal, causing the test vehicle to be powered off.
9. The method for controlling power on and off of a test vehicle according to claim 8, characterized in that: The following steps are also included: The control device (3) reads the voltage analog signals on the KL31 line, the KL30 line and the KL15 line on the test vehicle in real time, and sends a third type message to the CAN bus (4) according to the read voltage analog signals on the KL31 line, the KL30 line and the KL15 line on the test vehicle; The transceiver (2) receives the third type message from the CAN bus (4) and parses the voltage analog values on the KL31 line, the KL30 line and the KL15 line and sends them to the host computer (1); After sending a power-on signal, the host computer (1) compares the current voltage analog value on the KL31 line with the first preset range of the first line, the voltage analog value on the KL30 line with the first preset range of the second line, and the voltage analog value on the KL15 line with the first preset range of the third line; When the voltage simulation values on the KL31 line, the KL30 line, and the KL15 line are respectively within the corresponding first preset range of the first line, the first preset range of the second line, and the first preset range of the third line, it is determined that the test vehicle is powered on successfully; otherwise, it is determined that the test vehicle is powered on unsuccessfully; After sending the power-off signal, the upper computer (1) compares the voltage analog value on the current KL31 line with the second preset range of the first line, the voltage analog value on the KL30 line with the second preset range of the second line, and the voltage analog value on the KL15 line with the second preset range of the third line; When the voltage simulation values on the KL31 line, the KL30 line and the KL15 line are respectively within the corresponding second preset range of the first line, the second preset range of the second line and the second preset range of the third line, it is judged that the test vehicle is powered off successfully; otherwise, it is judged that the test vehicle fails to be powered off.
Citation Information
Patent Citations
Test control system and method for whole vehicle IGN power-on and power-off
CN118795807A
Method and system for remotely starting unmanned mine car, electronic equipment and medium
CN119828655A
ECU broken string box and car network integration testing system
CN206523784U
Detection method and apparatus for engine start of a motor
TWI229644B