Switch detection control circuit, control system and test method thereof, and vehicle

By designing a switch detection control circuit, emergency power outage is achieved using switch status detection, which solves the problems of complexity and poor integration of existing emergency power outage systems, and achieves rapid power outage and circuit simplification.

CN119527205APending Publication Date: 2025-02-28BEIJING FOTONDAIMLER AUTOMOTIVE
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411550736.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-01
Publication Date
2025-02-28

AI Technical Summary

Technical Problem

The existing emergency power outage system is designed in complex, which is not conducive to integration with other electric control systems of the vehicle and is difficult to achieve rapid power outage.

Method used

A switch detection control circuit is designed, and the voltage detection signal is output through the state detection of the first switch and the second switch. The controller sends a vehicle power-off control command based on the signal to achieve rapid power-off.

Benefits of technology

It realizes rapid power outage in emergency situations, has a simple circuit structure and is easy to integrate with other electronic control systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119527205A_ABST
    Figure CN119527205A_ABST
Patent Text Reader

Abstract

The invention discloses a switch detection control circuit, a control system, a test method of the control system and a vehicle, the switch detection control circuit comprises a first switch, a second switch, a voltage detection module and a controller, the first switch and the second switch are respectively used for switching between a first state and a second state, the voltage detection module is used for outputting a first voltage detection signal when at least one of the first switch and the second switch is in a first state, and the controller is connected with the voltage detection module and used for sending a whole vehicle power-off control instruction according to the first voltage detection signal. According to the switch detection control circuit provided by the invention, the whole vehicle power-off control instruction is further controlled and sent by monitoring the on-off states of the first switch and the second switch, and rapid power-off of the vehicle in an emergency can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of vehicles, and in particular to a switch detection control circuit, a control system and a test method thereof, and a vehicle. Background Art

[0002] According to national regulations, hazardous chemical transport vehicles require that the vehicle can quickly cut off power in an emergency. The emergency power-off system used in the existing technology is mostly composed of an electronic control unit, a relay, a control switch and a connecting harness.

[0003] In the prior art, the design structure of the above-mentioned emergency power-off system is usually complex and is not conducive to integration with other electronic control systems of the vehicle. Summary of the invention

[0004] The present invention aims to solve at least one of the technical problems existing in the prior art. To this end, the first object of the present invention is to provide a switch detection control circuit, which can achieve rapid power off in an emergency by operating any switch, and has a simple circuit structure and is easy to integrate.

[0005] The second objective of the present invention is to provide a dangerous goods switch detection and control system.

[0006] A third object of the present invention is to provide a vehicle.

[0007] A fourth objective of the present invention is to provide a test method for detecting dangerous goods switches.

[0008] In order to achieve the above-mentioned purpose, an embodiment of the first aspect of the present invention proposes a switch detection control circuit, including: a first switch and a second switch, wherein the first switch and the second switch are respectively used to switch between a first state and a second state; a voltage detection module, wherein the voltage detection module is used to output a first voltage detection signal when at least one of the first switch and the second switch is in the first state; and a controller, wherein the controller is connected to the voltage detection module and is used to send a vehicle power-off control instruction according to the first voltage detection signal.

[0009] According to the switch detection control circuit proposed in the embodiment of the present invention, by monitoring the switch state of the first switch and / or the second switch, when at least one of the first switch and the second switch is in the first state, the voltage detection module outputs a first voltage detection signal, and the controller further sends a vehicle power-off control instruction according to the first voltage detection signal. In other words, operating any one of the first switch and the second switch can realize rapid power-off of the whole vehicle, and the overall circuit structure is simple and easy to integrate. Among them, the first switch and the second switch can be respectively set at different positions in the vehicle, so that the user can realize the operation of controlling the power-off of the whole vehicle when the user is in different positions.

[0010] In addition, the switch detection control circuit of the embodiment of the present invention can also be used as a control circuit for testing the switch function of dangerous goods in trucks. The circuit structure is simple and easy to arrange on the vehicle side, and is conducive to integration with other electronic control systems of the vehicle.

[0011] In some embodiments of the present invention, inside the first switch, when the first end of the first switch and the second end of the first switch are conducted, the first switch is in the first state, and when the first end of the first switch and the third end of the first switch are conducted, the first switch is in the second state.

[0012] In some embodiments of the present invention, inside the second switch, a first resistor is arranged between the second end and the third end of the second switch; when the first end of the second switch is conductively connected to the second end of the first switch, the second switch is in the first state; when the first end of the second switch is conductively connected to the third end of the second switch, the second switch is in the second state.

[0013] In some embodiments of the present invention, the voltage detection module is provided with a first detection terminal, a second detection terminal and a third detection terminal. Outside the first switch, the first terminal of the first switch is connected to the second detection terminal, and the second terminal of the first switch is connected to the first detection terminal. Also, outside the second switch, the first terminal of the second switch is connected to the third terminal of the first switch, the second terminal of the second switch is connected to the second terminal of the first switch and the first detection terminal, and the third terminal of the second switch is connected to the third detection terminal.

[0014] In some embodiments of the present invention, when the first switch and the second switch are both in the second state, the output voltage of the first detection terminal voltage is the first voltage, and the output voltage of the second detection terminal and the output voltage of the third detection terminal are the second voltage; when at least one of the first switch and the second switch is in the first state, the first detection terminal voltage and the second detection terminal voltage are the first voltage, the third detection terminal voltage is the second voltage, and the first voltage is not equal to the second voltage.

[0015] In order to achieve the above-mentioned purpose, the second aspect of the present invention proposes a dangerous goods switch detection and control system, comprising: the switch detection control circuit described in any one of the above embodiments; a vehicle-mounted battery and a solenoid valve, one end of the solenoid valve is connected to the switch detection control circuit, and the other end of the solenoid valve is connected to the vehicle-mounted battery, the solenoid valve is disconnected in response to the vehicle power-off control instruction, and the vehicle-mounted battery is powered off.

[0016] According to the dangerous goods switch detection and control system proposed in the embodiment of the present invention, the switch state of the solenoid valve is controlled by setting the switch detection control circuit of any of the above embodiments. When at least one of the first switch and the second switch is in the first state, the controller will send a power-off control instruction to control the solenoid valve to disconnect, so as to cut off the power supply line of the vehicle battery, thereby realizing rapid power off in an emergency. The entire control system has a simple structure and is easy to integrate.

[0017] In order to achieve the above-mentioned purpose, a third aspect of the present invention provides a vehicle, comprising: a vehicle body; and the dangerous goods switch detection control system described in the above embodiments, wherein the dangerous goods switch detection system is arranged on the vehicle body.

[0018] The vehicle proposed in an embodiment of the present invention is provided with two control switches, namely a first switch and a second switch, by setting up the dangerous goods switch detection and control system of the above embodiment. When it is detected that at least one of the first switch and the second switch is in the first state, both can directly control the vehicle battery to cut off power, thereby realizing rapid power-off of the vehicle in an emergency.

[0019] In order to achieve the above-mentioned purpose, a test method for detecting a dangerous goods switch proposed in an embodiment of the fourth aspect of the present invention is used for a diagnostic instrument, and the diagnostic instrument is connected to a diagnostic interface in the vehicle. The test method includes: sending a first diagnostic signal to a controller in a switch detection control circuit in the vehicle; confirming the presence of a dangerous goods switch detection control system in the vehicle based on a first positive feedback signal obtained, and sending a second diagnostic signal to a vehicle controller in the vehicle; confirming engine start based on the second positive feedback signal obtained; and confirming the power supply status of the vehicle based on the received first switch closure signal and / or second switch closure signal.

[0020] According to the test method for dangerous goods switch detection in an embodiment of the present invention, a first diagnostic signal is sent to a controller in a switch detection control circuit in a vehicle, and first, the presence of a dangerous goods switch detection control system in the vehicle is confirmed based on the obtained first positive feedback signal, and a second diagnostic signal is sent to a vehicle controller in the vehicle. After the engine is started, it is confirmed based on the obtained second positive feedback signal, and the dangerous goods switch detection control system in the vehicle is tested, which can provide data reference for subsequent development and improve the safety of the vehicle.

[0021] In addition, the detection method can be applied to a vehicle production line, so that functional testing can be performed on vehicles equipped with the above-mentioned dangerous goods switch detection and control system.

[0022] In some embodiments of the present invention, the test method for detecting a dangerous goods switch further includes: obtaining a test result according to the power supply status of the entire vehicle; and printing and saving the test result.

[0023] In some embodiments of the present invention, the testing method further includes: confirming that the hazardous material switch detection and control system does not exist in the vehicle based on the first negative feedback signal obtained, and reporting an error; or, confirming that reading the engine start information has failed based on the second negative feedback signal obtained, and reporting an error.

[0024] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which: Figure 1 is a block diagram of a switch detection control circuit according to an embodiment of the present invention; Figure 2 is a circuit diagram of a switch detection control circuit according to an embodiment of the present invention; Figure 3 A block diagram of a dangerous goods switch detection control system according to an embodiment of the present invention; Figure 4 A timing diagram of a dangerous goods switch detection and control system according to an embodiment of the present invention; Figure 5 is a block diagram of a vehicle according to an embodiment of the present invention; Figure 6 A flowchart of a test method for detecting a dangerous goods switch according to an embodiment of the present invention; Figure 7 A flowchart of a test method for detecting a dangerous goods switch according to another embodiment of the present invention; Figure 8 The figure is a flow chart of a test method for detecting a dangerous goods switch according to yet another embodiment of the present invention.

[0026] Reference numerals: Vehicles 1000; Dangerous goods switch detection control system 100, vehicle body 200; Switch detection control circuit 10, vehicle battery 20, solenoid valve 30; Voltage detection module 1, controller 2; A first switch S31, a second switch S30, a control chip A33, and a recorder TC; A first end 11 of the first switch, a second end 12 of the first switch, a third end 13 of the first switch, a first end 21 of the second switch, a second end 22 of the second switch, and a third end 23 of the second switch. DETAILED DESCRIPTION

[0027] Embodiments of the present invention are described in detail below. The embodiments described with reference to the accompanying drawings are exemplary. Embodiments of the present invention are described in detail below.

[0028] Reference below Figure 1 and Figure 2 Describe the switch detection control circuit according to the embodiment of the present invention, Figure 1 is a block diagram of a switch detection control circuit according to an embodiment of the present invention, Figure 2 FIG. 4 is a circuit diagram of a switch detection control circuit according to an embodiment of the present invention.

[0029] like Figure 1 As shown, the switch detection control circuit 10 of the embodiment of the present invention includes: a first switch S31 and a second switch S30, a voltage detection module 1 and a controller 2. Figure 2 As shown, in the actual structure, the voltage detection module 1 and the controller 2 can be integrated into a control chip A33 with detection function and control function, that is, the control chip A33 can execute both the function of the voltage detection module 1 and the control function of the controller 2. The first switch S31 and the second switch S30 are respectively used to switch between the first state and the second state. The voltage detection module 1 is used to output a first voltage detection signal when at least one of the first switch S31 and the second switch S30 is in the first state. The controller 2 is connected to the voltage detection module 1, and is used to send a vehicle power-off control instruction according to the first voltage detection signal.

[0030] It can be understood that both the first switch S31 and the second switch S30 can be used to control the power off of the whole vehicle, and the first switch S31 and the second switch S30 can be respectively set at different positions of the vehicle, wherein the first switch S31 is set in the cab of the vehicle, and the second switch S30 is set in the chassis of the vehicle. Specifically, the first switch S31 can be set in the cab, and the user can control the power off of the whole vehicle by operating the first switch S31 while driving the vehicle. The second switch S30 can be set on the chassis of the vehicle and close to the vehicle battery. When the user is not in the cab, the power supply of the whole vehicle can also be cut off in time by operating the second switch S30.

[0031] Specifically, the first switch S31 and the second switch S30 both have two states: a first state and a second state. The first state can be set to an open state, and the second state can be set to a closed state. When at least one of the first switch S31 and the second switch S30 is in the first state, both will be detected by the voltage detection module 1, and the voltage detection module 1 will output a first voltage detection signal. After receiving the first voltage detection signal sent by the voltage detection module 1, the controller 2 confirms that the vehicle power supply needs to be cut off immediately, and then sends a vehicle power-off control instruction to control the vehicle to power off.

[0032] According to the switch detection control circuit 10 proposed in the embodiment of the present invention, by monitoring the switch state of the first switch S31 and / or the second switch S30, when at least one of the first switch S31 and the second switch S30 is in the first state, the voltage detection module 1 outputs a first voltage detection signal, and the controller 2 further sends a vehicle power-off control instruction according to the first voltage detection signal. In other words, by operating any one of the first switch S31 and the second switch S30, the whole vehicle can be powered off quickly, and the overall circuit structure is simple and easy to integrate. Among them, the first switch S31 and the second switch S30 can be respectively set at different positions in the vehicle, so that the user can realize the operation of controlling the power off of the whole vehicle when in different positions.

[0033] In addition, the switch detection control circuit 10 of the embodiment of the present invention can also be used as a control circuit for testing the switch function of dangerous goods in trucks. The circuit structure is simple and easy to arrange on the vehicle side, and is conducive to integration with other electronic control systems of the vehicle.

[0034] In some embodiments of the present invention, inside the first switch S31, when the first end 11 of the first switch and the second end 12 of the first switch are turned on, the first switch S31 is in the first state, and when the first end 11 of the first switch and the third end 13 of the first switch are turned on, the first switch S31 is in the second state.

[0035] In some embodiments of the present invention, inside the second switch S30, a first resistor R is provided between the second end 22 of the second switch and the third end 23 of the second switch. When the first end 21 of the second switch is conductively connected to the second end 12 of the first switch, the second switch S30 is in the first state. When the first end 21 of the second switch is conductively connected to the third end 23 of the second switch, the second switch S30 is in the second state.

[0036] In some embodiments, the voltage detection module 1 is provided with a first detection terminal, a second detection terminal and a third detection terminal. Figure 2 As shown, outside the first switch S31, the first end of the first switch S31 is connected to the second detection end, and the second end of the first switch S31 is connected to the first detection end. Also, outside the second switch S30, the first end of the second switch S30 is connected to the third end of the first switch S31, the second end of the second switch S30 is connected to the second end of the first switch S31 and the first detection end, and the third end of the second switch S30 is connected to the third detection end.

[0037] Specifically, Figure 2As shown, the first detection terminal of the voltage detection module 1 is pin 6, the second detection terminal is pin 7, and the third detection terminal is pin 5. Under normal circumstances, that is, when the first switch S31 and the second switch S30 are both in the second state, the voltage of the second detection terminal is equal to the voltage of the third detection terminal, both are the second voltage, and the voltage of the first detection terminal is the first voltage; when at least one of the first switch S31 and the second switch S30 changes its state, the voltage of the second detection terminal changes from the second voltage to the first voltage, at this time, the voltage of the first detection terminal and the voltage of the second detection terminal are equal, both are the first voltage, and the voltage of the third detection terminal is the second voltage.

[0038] In some embodiments of the present invention, when the first switch S31 and the second switch S30 are both in the second state, the output voltage of the first detection terminal is the first voltage, and the output voltage of the second detection terminal and the output voltage of the third detection terminal are the second voltage; when at least one of the first switch S31 and the second switch S30 is in the first state, the voltage of the first detection terminal and the voltage of the second detection terminal are the first voltage, the voltage of the third detection terminal is the second voltage, and the first voltage is not equal to the second voltage.

[0039] The situation where at least one of the first switch S31 and the second switch S30 is in the first state includes: the first switch S31 is in the first state and the second switch S30 is in the second state; the first switch S31 is in the second state and the second switch S30 is in the first state; and the first switch S31 and the second switch S30 are both in the first state.

[0040] Specifically, only when the switching state of the first switch S31 changes, that is, the first switch S31 is in the first state and the second switch S30 is in the second state, inside the first switch S31, the first end 11 of the first switch is connected to the second end 12 of the first switch; outside the first switch S31 and the second switch S30, the second end of the first switch S31 is connected to the second end of the second switch S30; inside the second switch S30, the second end 22 of the second switch is connected to the third end 23 of the second switch through the first resistor R, at this time, the output voltage of the first detection end and the output voltage of the second detection end are both the first voltage, and the output voltage of the third detection end is the second voltage.

[0041] Furthermore, only when the switching state of the second switch S32 changes, that is, the first switch S31 is in the second state and the second switch S30 is in the first state, inside the first switch S31, the first end 11 of the first switch is connected to the third end 13 of the first switch; outside the first switch S31 and the second switch S30, the third end of the first switch S31 is connected to the first end of the second switch S30; inside the second switch S30, the first end 21 of the second switch is connected to the second end 22 of the second switch, and the second end 22 of the second switch is connected to the third end 23 of the second switch through the first resistor R. At this time, the output voltage of the first detection end and the output voltage of the second detection end are both the first voltage, and the output voltage of the third detection end is the second voltage.

[0042] Secondly, when the switch states of the first switch S31 and the second switch S30 both change, that is, the first switch S31 and the second switch S30 are both in the first state, inside the first switch S31, the first end 11 of the first switch is connected to the second end 12 of the first switch; outside the first switch S31 and the second switch S30, the second end of the first switch S31 is connected to the second end of the second switch S30; inside the second switch S30, the second end 22 of the second switch is connected to the third end 23 of the second switch through the first resistor R, at this time, the output voltage of the first detection end and the output voltage of the second detection end are both the first voltage, and the output voltage of the third detection end is the second voltage.

[0043] In some embodiments of the present invention, the first voltage is less than the second voltage. Specifically, the first voltage and the second voltage can be set according to actual needs to ensure that the first voltage is less than the second voltage. The embodiment of the present invention is described by taking the first voltage as 3V and the second voltage as 5.9V as an example.

[0044] The following can be combined Figure 3 To understand the dangerous goods switch detection and control system of the embodiment of the present invention, Figure 3 FIG. 1 is a block diagram of a dangerous goods switch detection control system according to an embodiment of the present invention. Figure 3 As shown, the dangerous goods switch detection control system 100 of the embodiment of the present invention includes: a switch detection control circuit 10 of any of the above embodiments, a vehicle battery 20 and a solenoid valve 30, one end of the solenoid valve 30 is connected to the switch detection control circuit 10, and the other end of the solenoid valve 30 is connected to the vehicle battery 20. The solenoid valve 30 is disconnected in response to the vehicle power-off control command, and the vehicle battery 20 is powered off.

[0045] Among them, Figure 2It can be seen that one end of the solenoid valve 30 is connected to the switch detection control circuit 10, and the other end is connected to the vehicle battery 20. In addition, the solenoid valve 30 is connected to the vehicle device F. The vehicle battery 20 is connected to the recorder TC in the vehicle through a fuse. The fuse is used to prevent the recorder TC from being broken down when the voltage is too high. Figure 1 In the example, the fuse breaking current is 1A.

[0046] Specifically, when the solenoid valve 30 receives the vehicle power-off control command sent by the controller 2, it will be disconnected, thereby cutting off the power supply line of the vehicle battery 20, that is, the vehicle battery 20 is powered off. In addition, the recorder TC in the vehicle is directly connected to the vehicle battery 20 without passing through the solenoid valve 30, so even if the vehicle is powered off, the recorder TC can still work normally.

[0047] Figure 4 This is a timing diagram of a dangerous goods switch detection and control system according to an embodiment of the present invention. Through the dangerous goods switch detection and control system 100 of the embodiment of the present invention, it takes a total of 850ms from the change of the switch state of the first switch S31 and / or the second switch S30 to realize system power off. Figure 2 As shown in the figure, assuming that the driver performs a switch action at 0ms, the system will detect the switch action at 20ms, send PWM at 25ms, send CAN at 30ms, energize the bistable relay at 820ms, and power off the system at 835ms. It takes 800ms from detecting the switch action to energizing the bistable relay.

[0048] According to the dangerous goods switch detection control system 100 proposed in the embodiment of the present invention, the switch state of the solenoid valve 30 is controlled by setting the switch detection control circuit 10 of any of the above embodiments. When at least one of the first switch S31 and the second switch S30 is in the first state, the controller 2 will send a power-off control instruction to control the solenoid valve 30 to disconnect, so as to cut off the power supply line of the vehicle battery 20, thereby realizing rapid power off in an emergency. The entire control system has a simple structure and is easy to integrate.

[0049] In some embodiments of the present invention, a vehicle 1000 is also provided. Figure 5 , which is a block diagram of a vehicle according to an embodiment of the present invention, the vehicle 1000 includes a vehicle body 200 and the dangerous goods switch detection control system 100 of the above embodiment, and the dangerous goods switch detection system 100 is arranged on the vehicle body 200.

[0050] The vehicle 1000 proposed according to the embodiment of the present invention is provided with the dangerous goods switch detection and control system 100 of the above embodiment, and two control switches, namely the first switch S31 and the second switch S30, are provided. When it is detected that at least one of the first switch S31 and the second switch S30 is in the first state, the vehicle-mounted battery 20 can be directly controlled to be powered off, thereby realizing rapid power-off of the entire vehicle in an emergency situation.

[0051] In an embodiment of the present invention, a test method for detecting a hazardous goods switch is also proposed, which is used for a diagnostic instrument. The diagnostic instrument is connected to a diagnostic interface in a vehicle. A relevant control program is written in advance in the diagnostic instrument. When the diagnostic instrument is connected to the diagnostic interface in the vehicle, data interaction can be achieved through a CAN line, and the program automatically runs to execute the test method for detecting a hazardous goods switch in an embodiment of the present invention.

[0052] in, Figure 6 Flow chart of a test method for detecting a dangerous goods switch according to an embodiment of the present invention. The test method at least includes steps S1-S4, which are specifically as follows.

[0053] S1, sending a first diagnostic signal to a controller in a switch detection control circuit in a vehicle.

[0054] Specifically, for the case where a separate controller is provided in the dangerous goods switch detection and control system in the above embodiment, after the diagnostic instrument is successfully connected to the diagnostic interface in the vehicle, the diagnostic instrument will send a first diagnostic signal to the controller in the switch detection control circuit in the vehicle, that is, the controller 2 in the above embodiment, wherein the first diagnostic signal can be a signal whose first four digits are 0X22, such as 0X2201, 0X22F189, etc. The following description takes the first diagnostic signal 0X2201 as an example.

[0055] S2, confirming the presence of a dangerous goods switch detection and control system in the vehicle according to the acquired first positive feedback signal, and sending a second diagnostic signal to a vehicle controller in the vehicle.

[0056] Specifically, after receiving the first diagnostic signal sent by the diagnostic instrument, the controller will send a first feedback signal to the diagnostic instrument. The first feedback signal includes a first positive feedback signal and a first negative feedback signal: the first positive feedback signal can also be a signal whose first four digits are 0X62, such as 0X6210, 0X6211, 0X6212, etc., and the first positive feedback signal is the corresponding part number; the first negative feedback signal is 0X7F. The following description takes the first positive feedback signal of 0X6210 as an example. The diagnostic instrument confirms that the vehicle is equipped with a dangerous goods switch detection and control system based on the received first positive feedback signal, and the identification is successful.

[0057] And, in some other embodiments, the test method further includes: confirming that there is no dangerous goods switch detection and control system in the vehicle based on the obtained first negative feedback signal, and reporting an error. For example, if the diagnostic instrument receives a 0X7F signal, it means that the information reading has failed. For example, the vehicle is not equipped with a dangerous goods switch detection and control system, or the vehicle is equipped with a dangerous goods switch detection and control system but cannot communicate and identify with the diagnostic instrument or an identification error occurs, etc., and the test plan cannot be executed at this time. Therefore, the diagnostic instrument can confirm whether there is relevant configuration of the dangerous goods switch detection and control system in the vehicle based on the first feedback signal, and confirm whether the parts are installed correctly, that is, confirm whether the first switch and the second switch are installed as required.

[0058] Furthermore, after the engine is started, the diagnostic instrument will send a second diagnostic signal to the vehicle controller in the vehicle. This step is a signal interaction between the diagnostic instrument and the vehicle controller in the vehicle, which is used to identify the vehicle status. Among them, the second diagnostic signal can also be a signal with the first four bits being 0X22, such as 0X2202, etc. The following description takes the second diagnostic signal being 0X2202 as an example.

[0059] S3, confirming the engine start according to the acquired second positive feedback signal.

[0060] Specifically, after receiving the second diagnostic signal sent by the diagnostic instrument, the vehicle controller will send a second feedback signal to the diagnostic instrument to confirm whether the engine is started, wherein the second feedback signal includes a second positive feedback signal and a second negative feedback signal, and the second positive feedback signal includes 0X6200, 0X6201 and 0X6202, wherein 0X6200 indicates that the vehicle is in the parking state, 0X6201 indicates that the vehicle is in the off state, and 0X6202 indicates that the vehicle is on and the engine is in the starting state; the second negative feedback signal is 0X7F, and the diagnostic instrument receives a 0X7F signal indicating that the reading fails. The diagnostic instrument reads the vehicle status information, wherein only when the second positive feedback signal received by the diagnostic interface is 0X6202, the tester can perform the operation detection of the first switch and / or the second switch, otherwise an error will be reported.

[0061] S4, confirming the power supply status of the entire vehicle according to the received first switch closing signal and / or the second switch closing signal.

[0062] Specifically, when the tester performs the operation of disconnecting the first switch and / or the second switch, the diagnostic instrument will read the status signal of the first switch, the status signal of the second switch and the status signal of the whole vehicle from the CAN line, and then confirm the power supply status of the whole vehicle. It is understandable that when the first switch and / or the second switch are disconnected, the diagnostic instrument will receive the closing signal of the first switch and / or the closing signal of the second switch, and further read the status signal of the whole vehicle to determine the status of the whole vehicle.

[0063] It is understandable that the first switch and the second switch are used to control the power-on status of the entire vehicle and affect the operating status of the engine. Under normal circumstances, at least one of the first switch and the second switch is disconnected, the entire vehicle is powered off, and the engine stops running. Therefore, after the diagnostic instrument reads the first switch closing signal and / or the second switch closing signal, it will also read the vehicle power-off signal, the engine stop running signal, etc., and then confirm whether the vehicle power-off and engine shutdown conditions are met.

[0064] According to the test method for dangerous goods switch detection in an embodiment of the present invention, a first diagnostic signal is sent to a controller in a switch detection control circuit in a vehicle, and first, the presence of a dangerous goods switch detection control system in the vehicle is confirmed based on the obtained first positive feedback signal, and a second diagnostic signal is sent to a vehicle controller in the vehicle. After the engine is started, it is confirmed based on the obtained second positive feedback signal, and the dangerous goods switch detection control system in the vehicle is tested, which can provide data reference for subsequent development and improve the safety of the vehicle.

[0065] In addition, the detection method can be applied to a vehicle production line, so that functional testing can be performed on vehicles equipped with the above-mentioned dangerous goods switch detection and control system.

[0066] The existing production line inspection process does not have a process for automatically saving the inspection results. If a vehicle catches fire due to failure to shut down the power in time, there may be legal risks. Figure 7 FIG. 2 is a flow chart of a test method for detecting a dangerous goods switch according to another embodiment of the present invention. The test method further includes step S5 and step S6, which are specifically as follows.

[0067] S5, obtaining the test result according to the power supply status of the whole vehicle.

[0068] Specifically, after the diagnostic instrument reads the first switch closing signal and / or the second switch closing signal, if the power-off signal of the whole vehicle, the engine stopping signal, etc. are read, it is confirmed whether the whole vehicle is powered off and the engine is turned off, and the test is successful; and, in other embodiments, the test method also includes: confirming the failure to read the engine start information according to the acquired second negative feedback signal, and reporting an error. For example, when the diagnostic instrument receives the second negative feedback signal of 0X7F, the reading fails; or, if the diagnostic instrument does not read the power-off signal of the whole vehicle, the engine stopping signal, etc., the test fails.

[0069] Also saves and prints the test results for failed tests.

[0070] S6, print and save the test results.

[0071] The diagnostic instrument and the printer are connected wirelessly to transmit wireless communication data, and the diagnostic instrument can remotely control the printer to print out the test results.

[0072] The test result of success or failure can be obtained according to the power supply status of the whole vehicle. If the whole vehicle is powered off after the first switch and / or the second switch is closed, the test is successful; if the whole vehicle is not powered off, the test fails. In addition, after obtaining the test result, the test result is printed and saved accordingly. By automatically saving the test results, if the vehicle catches fire due to failure to cut off the power in time during the operation of the vehicle, legal risks can also be avoided.

[0073] In some embodiments of the present invention, Figure 8 This is a flow chart of a test method for detecting a dangerous goods switch according to yet another embodiment of the present invention. The test method includes steps S101-S108, which are specifically as follows.

[0074] S101, read the part number. This process is the signal interaction process between the diagnostic instrument in the above embodiment and the controller in the switch detection control circuit in the vehicle, that is, the diagnostic instrument sends a first diagnostic signal to the controller.

[0075] S102, determine whether a dangerous goods switch detection and control system is configured. If the judgment result is "yes", execute step S103. If the judgment result is "no", execute step S108. If the test fails, save and print the test result.

[0076] S103, start the engine and read the engine status. This process is the signal interaction process between the diagnostic instrument and the vehicle body controller in the above embodiment, that is, the diagnostic instrument sends the second diagnostic signal to the vehicle body controller.

[0077] S104, determine whether the engine is started, if the judgment result is "yes", execute step S105, if the judgment result is "no", execute step S108, the test fails, save and print the test result.

[0078] S105, turning off the first switch and / or the second switch.

[0079] S106, determine whether the engine is turned off and whether the vehicle is powered off. If the judgment result is "yes", execute step S107, the test is successful, and the test result is saved and printed; if the judgment result is "no", execute step S108, the test fails, and the test result is saved and printed.

[0080] Based on the above, by adopting the test method for detecting hazardous materials switches in the embodiment of the present invention, the function test of the hazardous materials switch of a truck is realized. The hazardous materials switch detection control system in the vehicle can be tested before the vehicle leaves the factory, and the test results can be automatically printed and saved after the test is completed, which can provide data reference for subsequent development and improve the safety of the vehicle.

[0081] Other structures and operations of the switch detection control circuit 10, the dangerous goods switch detection control system 100 and the vehicle 1000 according to the embodiment of the present invention are known to those skilled in the art and will not be described in detail here.

[0082] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials, or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example.

[0083] Although the embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the claims and their equivalents.

Claims

1. A switch detection control circuit, characterized in that: include: a first switch and a second switch, wherein the first switch and the second switch are respectively used to switch between a first state and a second state; a voltage detection module, configured to output a first voltage detection signal when at least one of the first switch and the second switch is in the first state; A controller is connected to the voltage detection module and is used to send a vehicle power-off control instruction according to the first voltage detection signal.

2. The switch detection control circuit according to claim 1, characterized in that: Inside the first switch, when the first end of the first switch and the second end of the first switch are conductive, the first switch is in the first state; when the first end of the first switch and the third end of the first switch are conductive, the first switch is in the second state.

3. The switch detection control circuit according to claim 1, characterized in that: Inside the second switch, a first resistor is arranged between the second end and the third end of the second switch. When the first end of the second switch is conductively connected to the second end of the first switch, the second switch is in the first state. When the first end of the second switch is conductively connected to the third end of the second switch, the second switch is in the second state.

4. The switch detection control circuit according to claim 1, characterized in that: The voltage detection module is provided with a first detection terminal, a second detection terminal and a third detection terminal. Outside the first switch, a first end of the first switch is connected to the second detection end, and a second end of the first switch is connected to the first detection end. And, outside the second switch, the first end of the second switch is connected to the third end of the first switch, the second end of the second switch is connected to the second end of the first switch and the first detection end, and the third end of the second switch is connected to the third detection end.

5. The switch detection control circuit according to any one of claims 1 to 4, characterized in that: When both the first switch and the second switch are in the second state, the output voltage of the first detection terminal voltage is a first voltage, and the output voltage of the second detection terminal and the output voltage of the third detection terminal are a second voltage; When at least one of the first switch and the second switch is in the first state, the first detection terminal voltage and the second detection terminal voltage are the first voltage, the third detection terminal voltage is the second voltage, and the first voltage is not equal to the second voltage.

6. A dangerous goods switch detection and control system, characterized in that: include: The switch detection control circuit according to any one of claims 1 to 5; A vehicle battery and a solenoid valve, one end of the solenoid valve is connected to the switch detection control circuit, and the other end of the solenoid valve is connected to the vehicle battery. The solenoid valve is disconnected in response to the vehicle power-off control instruction, and the vehicle battery is powered off.

7. A vehicle, characterized in that: include: Vehicle body; The dangerous goods switch detection control system as described in claim 6, wherein the dangerous goods switch detection system is arranged on the vehicle body.

8. A test method for detecting dangerous goods switches, characterized in that: For use with a diagnostic instrument, the diagnostic instrument is connected to a diagnostic interface in the vehicle, and the testing method comprises: sending a first diagnostic signal to a controller in a switch detection control circuit in the vehicle; Confirming that there is a dangerous goods switch detection control system in the vehicle according to the acquired first positive feedback signal, and sending a second diagnostic signal to a vehicle controller in the vehicle; confirming engine start according to the acquired second positive feedback signal; The power supply status of the entire vehicle is confirmed according to the received first switch closing signal and / or the second switch closing signal.

9. The test method for detecting dangerous goods switches according to claim 8, characterized in that: Also includes: Acquire a test result according to the power supply status of the whole vehicle; Print and save the test results.

10. The test method for detecting dangerous goods switches according to claim 8, characterized in that: The test method also includes: confirming, according to the acquired first negative feedback signal, that the dangerous goods switch detection and control system does not exist in the vehicle, and reporting an error; Alternatively, it is confirmed according to the acquired second negative feedback signal that the reading of the engine startup information has failed, and an error is reported.