Brake Switch Fault Identification Method, Device, Equipment and Storage Medium

By obtaining and analyzing voltage information in the brake switch circuit, determining whether the brake switch meets the fault conditions and collecting voltage information, the problem of false alarms of brake switch faults is solved and the user experience is improved.

CN114910783BActive Publication Date: 2025-07-25DONGFENG LIUZHOU MOTOR
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210483063.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-05
Publication Date
2025-07-25
Estimated Expiration
2042-05-05

AI Technical Summary

Technical Problem

In the prior art, brake switch failures are likely to cause false alarms, increasing user repair costs and reducing user experience.

Method used

By acquiring the voltage information of the electronic control unit in the brake switch circuit, it is determined whether the preliminary fault condition is met, and when the conditions are met, the voltage information is collected according to the preset acquisition strategy to determine whether the brake switch is faulty.

Benefits of technology

It effectively avoids misjudgment of brake switch failure, reduces user repair costs, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114910783B_ABST
    Figure CN114910783B_ABST
Patent Text Reader

Abstract

The present invention belongs to the field of automobiles, and discloses a method, device, equipment and storage medium for identifying brake switch faults. The method includes: obtaining a first voltage at a first position of an electronic control unit in a brake switch circuit and a second voltage at a second position; judging whether the brake switch meets a preliminary fault condition according to the first voltage and the second voltage; if so, collecting voltage information of the electronic control unit according to a preset acquisition strategy, and judging whether the brake switch is faulty according to the voltage information. Since the present invention collects voltage information of the electronic control unit according to a preset acquisition strategy when the brake switch meets the preliminary fault condition, and judges whether the brake switch is faulty according to the voltage information. Compared with the existing method of directly judging whether the brake switch is faulty according to the first voltage and the second voltage of the brake switch, the above method of the present invention can avoid misjudgment of the existence of faults in the brake switch.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of automobiles, and particularly to a method, device, equipment and storage medium for identifying brake switch failures. Background Art

[0002] Currently, a four-wire brake switch is generally used to determine whether an electronic control unit (ECU) receives a brake signal. Initially, the brake light circuit switch in the brake switch is normally open, and the ignition power supply circuit switch in the ignition switch is normally closed. At this time, the brake light does not work, and the electronic control unit does not receive a brake signal. When the brake pedal is depressed, the brake light circuit switch in the brake switch closes, and the ignition power supply circuit switch in the ignition switch opens. At this time, the battery supplies power to the brake light, the brake light starts to work, and the brake signal is transmitted to the electronic control unit and the antilock brake system (ABS), and a series of control commands are issued to related systems of the vehicle. However, due to reasons such as manufacturing precision, in specific scenarios, the ignition power supply circuit switch and the brake light circuit switch may open or close simultaneously. At this time, an alarm message for abnormal brake switch will be generated. However, when the user repairs the vehicle, it will be found that the alarm message is a misjudgment of the brake switch. At this time, it will increase the user's repair cost and the user experience is poor.

[0003] The above content is only used to assist in understanding the technical solution of the present invention, and does not represent an admission that the above content is prior art. Summary of the Invention

[0004] The main purpose of the present invention is to provide a method, device, equipment and storage medium for identifying brake switch failures, aiming to solve the technical problem that the vehicle in the prior art may have false alarms of brake switch failures, resulting in a decline in user experience.

[0005] To achieve the above object, the present invention provides a method for identifying brake switch failures, the method comprising the following steps:

[0006] Obtain a first voltage at a first position of an electronic control unit and a second voltage at a second position in a brake switch circuit;

[0007] Judge whether the brake switch meets the preliminary failure condition according to the first voltage and the second voltage;

[0008] If it is satisfied, collect the voltage information of the electronic control unit according to a preset acquisition strategy, and judge whether the brake switch fails according to the voltage information.

[0009] Optionally, the step of collecting the voltage information of the electronic control unit according to a preset collection strategy and judging whether the brake switch is faulty based on the voltage information includes:

[0010] Collect the third voltage and the fourth voltage of the electronic control unit once every preset period;

[0011] Judge whether the brake switch meets the preset fault condition according to the third voltage and the fourth voltage;

[0012] If it is satisfied, increment the count by one and judge whether the count result is equal to a preset count threshold;

[0013] If it is equal, determine that the brake switch is faulty.

[0014] Optionally, after the step of judging whether the third voltage and the fourth voltage meet the preset fault condition, the following steps are further included:

[0015] If it is not satisfied, clear the count result and return to the step of judging whether the third voltage and the fourth voltage meet the preset fault condition.

[0016] Optionally, after the step of if it is satisfied, increment the count by one and judge whether the count result is equal to a preset count threshold, the following steps are further included:

[0017] If it is not equal, return to the step of judging whether the third voltage and the fourth voltage meet the preset fault condition.

[0018] Optionally, the step of judging whether the brake switch meets the preset fault condition according to the third voltage and the fourth voltage includes:

[0019] Judge whether the third voltage and the fourth voltage are the same;

[0020] If the third voltage and the fourth voltage are the same, determine that the brake switch meets the preset fault condition.

[0021] Optionally, the step of judging whether the brake switch meets the preliminary fault condition according to the first voltage and the second voltage includes:

[0022] Judge whether the first voltage and the second voltage are the same;

[0023] If the first voltage and the second voltage are the same, determine that the brake switch meets the preliminary fault condition.

[0024] Optionally, after the step of judging whether the first voltage and the second voltage are the same, the following steps are further included:

[0025] If the first voltage and the second voltage are not the same;

[0026] Then determine whether both the first voltage and the second voltage are within a preset voltage range;

[0027] If so, determine that the brake switch meets the preliminary fault condition.

[0028] In addition, to achieve the above object, the present invention also provides a brake switch fault identification device, the device includes:

[0029] An acquisition module, configured to acquire a first voltage at a first position of an electronic control unit and a second voltage at a second position in a brake switch circuit;

[0030] A preliminary fault judgment module, configured to judge whether the brake switch meets the preliminary fault condition according to the first voltage and the second voltage;

[0031] A fault judgment module, configured to, if satisfied, collect voltage information of the electronic control unit according to a preset acquisition strategy, and judge whether the brake switch is faulty according to the voltage information.

[0032] In addition, to achieve the above object, the present invention also proposes a brake switch fault identification device, the device includes: a memory, a processor, and a brake switch fault identification program stored on the memory and executable on the processor, the brake switch fault identification program is configured to implement the steps of the brake switch fault identification method as described above.

[0033] In addition, to achieve the above object, the present invention also proposes a storage medium, on which a brake switch fault identification program is stored, and when the brake switch fault identification program is executed by a processor, it implements the steps of the brake switch fault identification method as described above.

[0034] The present invention acquires a first voltage at a first position of an electronic control unit and a second voltage at a second position in a brake switch circuit; judges whether the brake switch meets the preliminary fault condition according to the first voltage and the second voltage; if satisfied, collects voltage information of the electronic control unit according to a preset acquisition strategy, and judges whether the brake switch is faulty according to the voltage information. Since the present invention collects voltage information of the electronic control unit according to a preset acquisition strategy when the brake switch meets the preliminary fault condition, and judges whether the brake switch is faulty according to the voltage information. Compared with the existing method of directly judging whether the brake switch is faulty according to the first voltage and the second voltage of the brake switch, the above method of the present invention can avoid misjudgment of the brake switch having a fault. Description of the Drawings

[0035] Figure 1It is a schematic structural diagram of a braking switch fault recognition device for the hardware operating environment involved in the embodiment solution of the present invention;

[0036] Figure 2 It is a schematic flowchart of the first embodiment of the braking switch fault recognition method of the present invention;

[0037] Figure 3 It is a four-wire braking switch circuit under normal conditions in the first embodiment of the braking switch fault recognition method of the present invention;

[0038] Figure 4 It is a four-wire braking switch circuit under braking conditions in the first embodiment of the braking switch fault recognition method of the present invention;

[0039] Figure 5 It is a schematic flowchart of the second embodiment of the braking switch fault recognition method of the present invention;

[0040] Figure 6 It is a structural block diagram of the first embodiment of the braking switch fault recognition device of the present invention.

[0041] The realization, functional characteristics and advantages of the object of the present invention will be further described with reference to the embodiments and the accompanying drawings. Specific Embodiments

[0042] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0043] Refer to Figure 1 , Figure 1 It is a schematic structural diagram of a braking switch fault recognition device for the hardware operating environment involved in the embodiment solution of the present invention.

[0044] Such as Figure 1As shown in the figure, the braking switch fault identification device may include: a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display) and an input unit such as a keyboard (Keyboard). Optionally, the user interface 1003 may further include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a Wireless-Fidelity (WI-FI) interface). The memory 1005 may be a high-speed Random Access Memory (RAM) or a stable Non-Volatile Memory (NVM), such as a disk memory. Optionally, the memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0045] Those skilled in the art can understand that Figure 1 the structure shown in the figure does not constitute a limitation on the braking switch fault identification device, and may include more or fewer components than shown in the figure, or combine some components, or have different component arrangements.

[0046] As Figure 1 shown, the memory 1005, as a storage medium, may include an operating system, a network communication module, a user interface module, and a braking switch fault identification program.

[0047] In Figure 1 the braking switch fault identification device shown in the figure, the network interface 1004 is mainly used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 in the braking switch fault identification device of the present invention may be arranged in the braking switch fault identification device. The braking switch fault identification device calls the braking switch fault identification program stored in the memory 1005 through the processor 1001 and executes the braking switch fault identification method provided by the embodiments of the present invention.

[0048] Based on the above braking switch fault identification device, an embodiment of the present invention provides a braking switch fault identification method. Referring to Figure 2 , Figure 2 it is a schematic flowchart of the first embodiment of the braking switch fault identification method of the present invention.

[0049] In this embodiment, the braking switch fault identification method includes the following steps:

[0050] Step S10: Obtain a first voltage at a first position of an electronic control unit in a brake switch circuit and a second voltage at a second position.

[0051] It should be noted that the execution subject of this embodiment may be a computing service device with data processing, network communication, and program running functions, such as a mobile phone, a tablet computer, a personal computer, etc., or an electronic device or a brake switch fault identification device capable of implementing the above functions. Hereinafter, taking the brake switch fault identification device as an example, this embodiment and the following embodiments will be described.

[0052] It should be understood that referring to Figure 3 , Figure 3 is the four-wire brake switch circuit in the normal state of the first embodiment of the brake switch fault identification method of the present invention. Referring to Figure 3 , it can be seen that in the initial situation, the brake light circuit switch in the brake switch circuit is normally open, and the ignition power supply circuit switch in the ignition switch is normally closed. At this time, the brake light does not work, and the ECU will not receive a braking signal. Referring to Figure 4 , Figure 4 is the four-wire brake switch circuit in the braking state of the first embodiment of the brake switch fault identification method of the present invention. Referring to Figure 4 , it can be seen that when the brake pedal is depressed, the brake light circuit switch in the brake switch circuit is closed, and the ignition power supply circuit switch in the ignition switch is opened. At this time, the battery supplies power to the brake light, the brake light starts to work, and the braking signal is transmitted to the ECU and the ABS, and a series of control instructions are issued to the relevant systems of the vehicle. Under normal circumstances, only the ignition power supply circuit is connected. At this time, that is, there is a fault that the brake switch is initially closed simultaneously. However, at this time, in order to avoid misjudgment due to manufacturing accuracy, no alarm is temporarily issued. Figure 3 And Figure 4 , the voltage measured at position 1 of the ECU is 0V, and the voltage measured at position 2 of the ECU is the ignition power supply voltage of 9 - 16V. At this time, it means that the ECU has not received an instruction for vehicle braking. When the vehicle is ignited and the driver depresses the brake switch, only the brake light circuit is connected. After the current passes through the brake switch, the voltage measured at position 1 of the ECU in the figure should be 9 - 16V, and the voltage measured at position 2 of the ECU should be 0V. At this time, the ECU knows that the vehicle has been braked according to the measured voltage signal and will issue corresponding control instructions to other modules.

[0053] It should be noted that the brake switch circuit can refer to Figure 3 or Figure 4 . The first voltage at the first position of the electronic control unit may be the voltage measured at position 1 in Figure 3 . The second voltage at the second position may be the voltage measured at position 2 in Figure 3 .

[0054] Step S20: Determine whether the brake switch meets the preliminary fault condition according to the first voltage and the second voltage.

[0055] It should be noted that the preliminary fault condition may be that the first voltage is equal to the second voltage, or both the first voltage and the second voltage are within a preset voltage range. For example, both the first voltage and the second voltage are 0, or both the first voltage and the second voltage are between 9V and 16V. The determination of whether the brake switch meets the preliminary fault condition according to the first voltage and the second voltage may be to determine whether both the first voltage and the second voltage are 0 or within the preset voltage range.

[0056] Further, in order to improve the efficiency of brake switch fault judgment, step S20 may include: determining whether the first voltage and the second voltage are the same; if the first voltage and the second voltage are the same, it is determined that the brake switch meets the preliminary fault condition.

[0057] It should be noted that the determination of whether the first voltage and the second voltage are the same may be to determine whether both the first voltage and the second voltage are 0. If the first voltage and the second voltage are the same and both are 0, it means that both switches in the brake switch are turned on at the same time. At this time, it can be determined that the brake switch meets the preliminary fault condition. If the first voltage and the second voltage are not the same, then determine whether both the first voltage and the second voltage are within the preset voltage range; if so, it is determined that the brake switch meets the preliminary fault condition, that is, the brake switch has a preliminary simultaneous closing fault. However, at this time, in order to avoid misjudgment due to manufacturing precision, no alarm is given temporarily.

[0058] It should be noted that the preset voltage range may be 9V - 16V. If both the first voltage and the second voltage are within 9V - 16V, it means that both switches in the brake switch are turned off at the same time. At this time, it is determined that the brake switch meets the preliminary fault condition, that is, the brake switch has a preliminary simultaneous closing fault. However, at this time, in order to avoid misjudgment due to manufacturing precision, no alarm is given temporarily.

[0059] Step S30: If it is satisfied, collect the voltage information of the electronic control unit according to a preset acquisition strategy, and determine whether the brake switch is faulty according to the voltage information.

[0060] It should be noted that the preset acquisition strategy may collect at intervals of a preset time duration. The voltage information may be the voltages at the first position and the second position of the electronic control unit collected each time. The determination of whether the brake switch is faulty according to the voltage information may be to determine whether the voltage information collected each time all meets the preliminary fault condition. If so, it is determined that the brake switch is faulty.

[0061] In this embodiment, the first voltage at the first position of the electronic control unit in the brake switch circuit and the second voltage at the second position are obtained; it is determined whether the brake switch meets the preliminary fault condition according to the first voltage and the second voltage; if it meets, the voltage information of the electronic control unit is collected according to a preset acquisition strategy, and it is determined whether the brake switch is faulty according to the voltage information. Since in this embodiment, when the brake switch meets the preliminary fault condition, the voltage information of the electronic control unit is collected according to a preset acquisition strategy, and it is determined whether the brake switch is faulty according to the voltage information. Compared with the existing method of directly determining whether the brake switch is faulty according to the first voltage and the second voltage of the brake switch, the above method of this embodiment can avoid misjudgment of the brake switch having a fault.

[0062] Reference Figure 5 , Figure 5 is a schematic flowchart of the second embodiment of the brake switch fault identification method of the present invention.

[0063] Based on the above first embodiment, in this embodiment, the step S30 includes:

[0064] Step S301: Collect the third voltage and the fourth voltage of the electronic control unit once every preset period.

[0065] It should be noted that the preset period can be a preset acquisition period. For example, the voltage information can be collected once every 10 ms. The third voltage can be the voltage at position 1 of the electronic control unit. The fourth voltage can be the voltage at position 2 of the electronic control unit, and reference can be made to Figure 3 or Figure 4 .

[0066] Step S302: Determine whether the brake switch meets the preset fault condition according to the third voltage and the fourth voltage.

[0067] It should be noted that the preset fault condition can be that the third voltage is equal to the fourth voltage, or both the third voltage and the fourth voltage are within a preset voltage range. For example, both the third voltage and the fourth voltage are 0. Or both the third voltage and the fourth voltage are between 9V and 16V. Determining whether the brake switch meets the preset fault condition according to the third voltage and the fourth voltage can be determining whether both the third voltage and the fourth voltage are 0 or within a preset voltage range.

[0068] Further, in order to avoid misjudgment of the brake switch fault, after the step S302, it further includes: if it does not meet, clear the count result and return to the step of determining whether the third voltage and the fourth voltage meet the preset fault condition.

[0069] It should be noted that if the third voltage and the fourth voltage are used to judge that the brake switch does not meet the preset fault condition, it can be that the third voltage is 0 and the fourth voltage is within the preset voltage range, or the fourth voltage is 0 and the third voltage is within the preset voltage range. At this time, it can be determined that the brake switch has no fault. At this time, the counting result can be cleared, and the third voltage and the fourth voltage of the ECU can be continuously measured.

[0070] Step S303: If it is satisfied, increment the counting times by one, and judge whether the counting result is equal to the preset counting threshold.

[0071] It should be noted that the counting times can be the number of times that the third voltage and the fourth voltage are used to judge that the brake switch meets the preset fault condition. The preset counting threshold can be preset such that when the counting times reach the preset counting threshold, it is determined that the brake switch has a fault.

[0072] Further, in order to avoid misjudgment of the brake switch fault, after the step S303, it further includes: if it is not equal, return to the step of judging whether the third voltage and the fourth voltage meet the preset fault condition.

[0073] It should be noted that if the counting result is not equal to the preset counting threshold, it cannot be determined whether the brake switch actually has a brake switch fault. At this time, it is necessary to continuously measure the third voltage and the fourth voltage of the ECU to judge whether the brake switch actually has a fault.

[0074] Step S304: If it is equal, determine that the brake switch has a fault.

[0075] It should be noted that if the counting times is equal to the preset counting threshold, it means that the current misjudgment of the fault is not caused by manufacturing precision. Therefore, it can be determined that the brake switch actually has a brake switch fault.

[0076] In a specific implementation, Table 1 below can be referred to. Table 1 is a comparison table for judging brake switch faults. Referring to Table 1 below, if the switches are both closed, the voltages measured at position 1 of the ECU and position 2 of the ECU are both 9 - 16V at this time. Once the original control strategy receives this state, it judges that there is a brake switch synchronization fault. To avoid generating false brake fault reports, in this embodiment, voltage information is collected once every 10 ms. When the ③ state appears once, the count is 1. If the ① or ② state appears, the count is cleared, and the ECU does not report a brake switch fault; if the ③ state appears 300 times, at this time the ECU can judge that there is a brake switch synchronization fault.

[0077] If the switches are turned on simultaneously, the voltages measured at position 1 and position 2 of the ECU are both 0V at this time. Once the original control strategy receives this state from the ECU, it determines that there is a brake switch synchronization fault. In this embodiment, it is set to collect voltage information once every 10 ms. When the ④ state appears once, the count is incremented by 1. If the counter shows the ① or ② state, the count is cleared to 0, and the ECU does not report a brake switch fault. If the ④ state appears 300 times, at this time the ECU can determine that there is a brake switch synchronization fault. Among them, the ① state means that the voltage measured at position 1 of the ECU is 0V, and the voltage measured at position 2 of the ECU is 9V - 16V; the ② state means that the voltage measured at position 2 of the ECU is 0V, and the voltage measured at position 1 of the ECU is 9V - 16V; the ③ state means that the voltages measured at position 1 and position 2 of the ECU are both 9V - 16V; the ④ state means that the voltages measured at position 1 and position 2 of the ECU are both 0V.

[0078] Table 1 - Brake Switch Fault Judgment Comparison Table

[0079]

[0080] In this embodiment, the third voltage and the fourth voltage of the electronic control unit are collected at intervals of a preset period; it is determined whether the brake switch meets the preset fault condition according to the third voltage and the fourth voltage; if it meets, the count is incremented by one, and it is determined whether the count result is equal to the preset count threshold; if it is equal, it is determined that there is a fault in the brake switch. In this embodiment, by collecting the third voltage and the fourth voltage of the electronic control unit at intervals of a preset period; and determining whether the brake switch meets the preset fault condition according to the third voltage and the fourth voltage, false judgment of the brake switch is avoided, the vehicle maintenance cost of the user is avoided from increasing, and the user experience is improved.

[0081] Refer to Figure 6 , Figure 6 which is the structural block diagram of the first embodiment of the brake switch fault recognition device of the present invention.

[0082] As Figure 6 shown, the brake switch fault recognition device proposed in the embodiment of the present invention includes:

[0083] An acquisition module 10, configured to acquire a first voltage at a first position and a second voltage at a second position of an electronic control unit in a brake switch circuit;

[0084] A preliminary fault judgment module 20, configured to determine whether the brake switch meets a preliminary fault condition according to the first voltage and the second voltage;

[0085] The fault judgment module 30 is configured to, if the condition is satisfied, collect the voltage information of the electronic control unit according to a preset collection strategy, and judge whether the brake switch is faulty based on the voltage information.

[0086] In this embodiment, the first voltage at the first position of the electronic control unit and the second voltage at the second position of the electronic control unit in the brake switch circuit are obtained; it is judged whether the brake switch satisfies the preliminary fault condition according to the first voltage and the second voltage; if it is satisfied, the voltage information of the electronic control unit is collected according to a preset collection strategy, and it is judged whether the brake switch is faulty based on the voltage information. Since in this embodiment, when the brake switch satisfies the preliminary fault condition, the voltage information of the electronic control unit is collected according to a preset collection strategy, and it is judged whether the brake switch is faulty based on the voltage information. Compared with the existing method of directly judging whether the brake switch is faulty according to the first voltage and the second voltage of the brake switch, the above method in this embodiment can avoid misjudging that the brake switch has a fault.

[0087] It should be noted that the above-described work process is only illustrative and does not limit the protection scope of the present invention. In actual applications, those skilled in the art can select some or all of them according to actual needs to achieve the purpose of the solution of this embodiment, and no limitation is made here.

[0088] In addition, for the technical details not described in detail in this embodiment, reference can be made to the brake switch fault identification method provided in any embodiment of the present invention, and details are not described here again.

[0089] Based on the first embodiment of the brake switch fault identification device of the present invention, a second embodiment of the brake switch fault identification device of the present invention is proposed.

[0090] In this embodiment, the fault judgment module 30 is further configured to collect the third voltage and the fourth voltage of the electronic control unit once every preset period; judge whether the brake switch satisfies the preset fault condition according to the third voltage and the fourth voltage; if it is satisfied, increment the count by one, and judge whether the count result is equal to the preset count threshold; if it is equal, it is determined that the brake switch is faulty.

[0091] Further, the fault judgment module 30 is further configured to, if the third voltage and the fourth voltage do not satisfy the preset fault condition, clear the count result, and return to the step of judging whether the third voltage and the fourth voltage satisfy the preset fault condition.

[0092] Further, the fault judgment module 30 is further configured to, if the count result is not equal to the preset count threshold, return to the step of judging whether the third voltage and the fourth voltage satisfy the preset fault condition.

[0093] Further, the fault determination module 30 is further configured to determine whether the third voltage is the same as the fourth voltage; if the third voltage is the same as the fourth voltage, it is determined that the brake switch meets the preset fault condition.

[0094] Further, the preliminary fault determination module 20 is further configured to determine whether the first voltage is the same as the second voltage; if the first voltage is the same as the second voltage, it is determined that the brake switch meets the preliminary fault condition.

[0095] Further, the preliminary fault determination module 20 is further configured to, if the first voltage is not the same as the second voltage, determine whether both the first voltage and the second voltage are within a preset voltage range; if so, it is determined that the brake switch meets the preliminary fault condition.

[0096] For other embodiments or specific implementation manners of the brake switch fault identification device of the present invention, reference may be made to the above method embodiments, and details are not described herein again.

[0097] In addition, an embodiment of the present invention further provides a storage medium, on which a brake switch fault identification program is stored. When the brake switch fault identification program is executed by a processor, the steps of the brake switch fault identification method as described above are implemented.

[0098] It should be noted that, in this article, the terms "include", "comprise" or any other variant thereof are intended to cover a non-exclusive inclusion, such that a process, method, article or system including a series of elements not only includes those elements but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article or system. Without further limitation, an element defined by the phrase "including a..." does not exclude the existence of additional identical elements in the process, method, article or system including the element.

[0099] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0100] Through the description of the above embodiments, those skilled in the art can clearly understand that the above embodiment methods can be implemented by means of software plus a necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation manner. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. The computer software product is stored in a storage medium (such as a read-only memory / random access memory, magnetic disk, optical disc), and includes several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in the various embodiments of the present invention.

[0101] The above are only the preferred embodiments of the present invention, and do not limit the patent scope of the present invention accordingly. Any equivalent structure or equivalent process transformation made by using the content of the specification and drawings of the present invention, or directly or indirectly applied in other related technical fields, shall be similarly included in the patent protection scope of the present invention.

Claims

1. A method for identifying a brake switch fault, characterized in that, The method for identifying the brake switch fault includes the following steps: Obtain a first voltage at a first position of an electronic control unit and a second voltage at a second position in the brake switch circuit; Judge whether the brake switch meets the preliminary fault condition according to the first voltage and the second voltage; If it meets, collect the voltage information of the electronic control unit according to a preset acquisition strategy, and judge whether the brake switch is faulty according to the voltage information; The step of collecting the voltage information of the electronic control unit according to a preset acquisition strategy and judging whether the brake switch is faulty includes: Collect a third voltage and a fourth voltage of the electronic control unit every preset period; Judge whether the brake switch meets the preset fault condition according to the third voltage and the fourth voltage; If it meets, increment the count by one, and judge whether the count result is equal to a preset count threshold; If it is equal, determine that the brake switch is faulty; Wherein, the brake switch circuit includes an ABS, an ECU, a battery and an ignition power supply, the ABS and the ECU are connected to the battery, the ECU is also connected to the ignition power supply, the first position is the connection position between the battery and the ECU, the second position is the connection position between the ignition power supply and the ECU, the third voltage is the voltage at the first position, the fourth voltage is the voltage at the second position. Under normal circumstances, only the ignition power supply line is connected. When the brake pedal is depressed, the brake light line switch in the brake switch circuit is closed, and the ignition power supply line switch in the ignition switch is opened. At this time, the battery supplies power to the brake light, the brake light starts to work, and the brake signal is transmitted to the ECU and the ABS.

2. The braking switch fault identification method according to claim 1, characterized in that, After the step of judging whether the third voltage and the fourth voltage meet the preset fault condition, it further includes: If it does not meet, clear the count result, and return to the step of judging whether the third voltage and the fourth voltage meet the preset fault condition.

3. The braking switch fault identification method according to claim 1, characterized in that, After the step of if it meets, increment the count by one and judge whether the count result is equal to the preset count threshold, it further includes: If it is not equal, return to the step of judging whether the third voltage and the fourth voltage meet the preset fault condition.

4. The braking switch fault identification method according to claim 1, characterized in that, The step of judging whether the brake switch meets the preset fault condition according to the third voltage and the fourth voltage includes: Judge whether the third voltage and the fourth voltage are the same; If the third voltage and the fourth voltage are the same, determine that the brake switch meets the preset fault condition.

5. The braking switch fault identification method according to any one of claims 1-4, characterized in that The step of judging whether the brake switch meets the preliminary fault condition according to the first voltage and the second voltage includes: Judge whether the first voltage and the second voltage are the same; If the first voltage and the second voltage are the same, determine that the brake switch meets the preliminary fault condition.

6. The braking switch fault identification method according to any one of claims 1-4, characterized in that, After the step of judging whether the first voltage and the second voltage are the same, it further includes: If the first voltage and the second voltage are not the same; Then judge whether the first voltage and the second voltage are both within the preset voltage range; If so, determine that the brake switch meets the preliminary fault condition.

7. A braking switch fault identification device, characterized in that, The braking switch fault identification device includes: An acquisition module, configured to acquire a first voltage at a first position of an electronic control unit and a second voltage at a second position in a braking switch circuit; A preliminary fault judgment module, configured to judge whether the braking switch meets the preliminary fault condition according to the first voltage and the second voltage; A fault judgment module, configured to, if the braking switch meets the preliminary fault condition, acquire voltage information of the electronic control unit according to a preset acquisition strategy, and judge whether the braking switch is faulty according to the voltage information; The fault judgment module is further configured to acquire a third voltage and a fourth voltage of the electronic control unit every preset period; Judge whether the braking switch meets a preset fault condition according to the third voltage and the fourth voltage; If it is satisfied, increment the count by one, and judge whether the count result is equal to a preset count threshold; If it is equal, determine that the braking switch is faulty; Wherein, the braking switch circuit includes an ABS, an ECU, a storage battery, and an ignition power supply. The ABS and the ECU are connected to the storage battery, and the ECU is further connected to the ignition power supply. The first position is the connection position between the storage battery and the ECU, and the second position is the connection position between the ignition power supply and the ECU. The third voltage is the voltage at the first position, and the fourth voltage is the voltage at the second position. Under normal circumstances, only the ignition power supply line is connected. When the brake pedal is depressed, the brake light line switch in the braking switch circuit is closed, and the ignition power supply line switch in the ignition switch is opened. At this time, the storage battery supplies power to the brake lights, the brake lights start to work, and the braking signal is transmitted to the ECU and the ABS.

8. A braking switch fault identification device, characterized in that, The device includes: a memory, a processor, and a braking switch fault identification program stored on the memory and executable on the processor. The braking switch fault identification program is configured to implement the steps of the braking switch fault identification method according to any one of claims 1 to 6.

9. A storage medium, characterized in that, A braking switch fault identification program is stored on the storage medium. When the braking switch fault identification program is executed by a processor, the steps of the braking switch fault identification method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Brake switch fault diagnosis method and device, electronic equipment and storage medium

    CN111775921A

  • Accelerator pedal fault diagnosis method and device and vehicle

    CN111775959A