Vehicle brake lamp switch control method, device and equipment and storage medium

By judging the vehicle power-on status when the brake pedal is detected and diagnosing the dual-channel signal of the brake light switch, the problem of vehicle function and performance degradation caused by the high failure rate of mechanical brake light switch is solved, ensuring the accurate identification of braking intentions and the normal operation of the vehicle functions, improving the user experience.

CN120396827APending Publication Date: 2025-08-01DONGFENG MOTOR GRP
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202510691734.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-27
Publication Date
2025-08-01

AI Technical Summary

Technical Problem

The high failure rate of mechanical brake light switches leads to degradation of the functions and performance of the vehicle, affecting the customer's driving experience.

Method used

By determining the vehicle power-on status when the brake pedal is detected, and the brake light switch dual-channel signals are diagnosed based on the stroke signal of the line-controlled driving, the brake light switch is controlled according to the diagnosis results to ensure the accurate identification of the braking intention and avoid the degradation of the vehicle's functions and performance when a single-channel mechanical failure is performed.

Benefits of technology

The functions and performance of the entire vehicle are not degraded when the single-channel machinery of the brake light switch fails, avoiding problems such as the inability to start the vehicle, the output limit of the driving torque and the inability to shift gears, and improving the user's driving safety and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120396827A_ABST
    Figure CN120396827A_ABST
Patent Text Reader

Abstract

The invention discloses a vehicle brake lamp switch control method, device and equipment and a storage medium. According to the method, when it is detected that a brake pedal of a current vehicle is in a treading state, whether the current vehicle is in a power-on state or not is judged; when the current vehicle is in a power-on state, diagnosing a two-way signal of a brake lamp switch according to a travel signal of brake-by-wire; controlling the brake lamp switch according to the diagnosis result of the two-way signal of the brake lamp switch; accurate identification of the braking intention can be fully guaranteed, the function and performance of the whole vehicle are not degraded when the brake lamp switch is in one-way mechanical failure, the problems that the vehicle cannot be started, the driving torque output is limited, gear shifting cannot be achieved and the like are solved, and the driving safety and the use experience of a user are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of automotive braking, and particularly to a vehicle brake light switch control method, device, equipment, and storage medium. Background Art

[0002] The mechanical brake light switch realizes the on-off of the circuit by the contact of contacts or elastic pieces, changes the magnitude of the output level, and identifies the state of the driver stepping on the brake pedal. Due to the simple mechanical structure and the absence of a chip circuit, the cost is relatively more advantageous than that of the Hall brake light switch; in addition, the mechanical brake light switch can be set into a structure with normally energized and normally open, and there is no dark current after the switch is disconnected, avoiding the problem of battery power consumption caused by dark current after the vehicle is powered off, and is suitable for use scenarios where the brake light switch needs to be normally energized, such as induction start.

[0003] The mechanical brake light switch needs to bear relatively harsh working conditions such as the on-off arc impact of large current and the durable deformation of frequent actions. Therefore, the mechanical brake light switch is prone to problems such as durable deformation of the contact point and poor contact caused by arc carbon deposition; the inability of the mechanical brake light switch to close often leads to the brake light not being on and no brake signal output, resulting in problems such as the vehicle being unable to start and shift gears; the brake light switch is generally designed with dual-channel signal redundancy, and the dual-channel signal is used to verify whether the switch is faulty. When it is diagnosed that the brake light switch is faulty, the drive torque output is restricted, resulting in the problem that the vehicle does not move when refueling; the after-sales failure rate of the brake light switch is relatively high. Although the component cost is relatively low, it causes a relatively serious degradation of the vehicle's overall functions and performance, affecting the customer experience.

[0004] With the development of wire-controlled braking, when the vehicle is powered on, the stroke signal of the wire-controlled braking can be used to identify that the brake pedal is depressed. The dual-channel stroke sensor is set so that the pedal stroke signal can meet the functional safety of Automotive Safety Integrity Level D (ASIL D); however, after the wire-controlled brake controller goes to sleep when the vehicle is powered off, it still relies on the signal of the brake light switch to control the vehicle to start when powered on, and cannot replace the role of the brake light switch.

[0005] The existing patent CN102290265A discloses a dual-channel brake light switch, which can realize the dual-channel control of one on and one off. The normal operation of the brake light switch can be identified through the verification of the dual-channel signal. However, after a single loop fails, the switch verification outputs that the switch is faulty, and after the switch fails, it still affects the vehicle start and the vehicle's acceleration torque output, and cannot solve the impact on the customer's driving experience after the mechanical failure of the switch.

[0006] Another existing patent, CN110749817A, discloses a brake light switch fault detection method and device, which can solve the problem of distinguishing and handling normal transition areas and actual faults. However, after identifying a brake light switch fault, the function and performance degradation of the entire vehicle caused by the brake light switch signal fault is inevitable, which will still affect the user's safety and driving experience. Summary of the Invention

[0007] The main purpose of the present invention is to provide a vehicle brake light switch control method, device, equipment and storage medium, aiming to solve the technical problems in the prior art that the high failure rate of mechanical brake light switches leads to degradation of the function and performance of the entire vehicle, and the mechanical failure of the brake light switch affects the customer's driving experience.

[0008] In a first aspect, the present invention provides a vehicle brake light switch control method, the vehicle brake light switch control method comprising the following steps:

[0009] When detecting that the brake pedal of the current vehicle is in a depressed state, determining whether the current vehicle is in a powered-on state;

[0010] When the current vehicle is in a powered-on state, diagnosing a brake light switch dual-path signal according to a brake-by-wire travel signal;

[0011] The brake light switch is controlled according to the diagnosis result of the brake light switch dual-path signal.

[0012] Optionally, when detecting that the brake pedal of the current vehicle is in a depressed state, determining whether the current vehicle is in a powered-on state includes:

[0013] When the brake pedal is in a depressed state, the body domain controller determines whether the current vehicle is in a powered-on state.

[0014] Optionally, when the brake pedal is in the depressed state, before the body domain controller determines whether the current vehicle is in the powered-on state, the vehicle brake light switch control method further includes:

[0015] A brake pedal stroke of a brake pedal of the current vehicle is detected by a dual-path stroke sensor. When the brake pedal stroke is greater than a preset pedal stroke threshold, it is determined that the brake pedal is in a depressed state.

[0016] Optionally, when detecting that the brake pedal of the current vehicle is in a depressed state, after determining whether the current vehicle is in a powered-on state, the vehicle brake light switch control method further includes:

[0017] When the current vehicle is in a power-off state, continuously monitoring the output level change of the brake light switch through the body domain controller;

[0018] Determine the signal state of the brake light switch according to the change of the output level;

[0019] When any one of the signals of the brake light switch is closed in the signal state, control the current vehicle to power on and start.

[0020] Optionally, when the current vehicle is in the powered-on state, diagnosing the dual-channel signals of the brake light switch according to the stroke signal of the electronic brake includes:

[0021] When the current vehicle is in the powered-on state, obtain the stroke signal of the electronic brake;

[0022] Obtain the first output level signal and the second output level signal in the dual-channel signals of the brake light switch;

[0023] Judge whether there is a fault in the dual-channel signals of the brake light switch according to the stroke signal, the first output level signal and the second output level signal.

[0024] Optionally, controlling the brake light switch according to the diagnosis result of the dual-channel signals of the brake light switch includes:

[0025] When the diagnosis result of the dual-channel signals of the brake light switch is that both channels of the dual-channel signals of the brake light switch are normal, it is determined that the brake light switch is working properly without faults;

[0026] When the diagnosis result of the dual-channel signals of the brake light switch is that any one of the dual-channel signals of the brake light switch is short-circuited, keep the functions and performance of the whole vehicle from degrading, turn on the fault light of the brake light switch, control the current vehicle to be unable to power off normally, and give a maintenance reminder for the brake light switch;

[0027] When the diagnosis result of the dual-channel signals of the brake light switch is that there is an open circuit in the dual-channel signals of the brake light switch, select different control strategies to control the brake light switch according to the open circuit condition of the signal.

[0028] Optionally, when the diagnosis result of the dual-channel signals of the brake light switch is that there is an open circuit in the dual-channel signals of the brake light switch, selecting different control strategies to control the brake light switch according to the open circuit condition of the signal includes:

[0029] When the diagnosis result of the dual-channel signals of the brake light switch is that there is an open circuit in the dual-channel signals of the brake light switch, judge the open circuit condition of the dual-channel signals of the brake light switch;

[0030] When the open circuit condition of the signal is that both channels are open, keep the functions and performance of the whole vehicle from degrading, turn on the fault light of the brake light switch, control the current vehicle to power off normally, and give a maintenance reminder for the brake light switch;

[0031] When one of the signals is open in the signal open - circuit condition, the functions and performance of the whole vehicle are maintained without degradation, the brake - light - switch fault light is not lit, and the single - path open - circuit fault of the brake - light switch is recorded.

[0032] In a second aspect, to achieve the above object, the present invention further provides a vehicle brake - light - switch control device, which includes:

[0033] A power - on judgment module, configured to judge whether the current vehicle is in a powered - on state when it is detected that the brake pedal of the current vehicle is in a depressed state;

[0034] A signal diagnosis module, configured to diagnose the dual - path signals of the brake - light switch according to the stroke signal of the electronic brake when the current vehicle is in a powered - on state;

[0035] A switch control module, configured to control the brake - light switch according to the diagnosis result of the dual - path signals of the brake - light switch.

[0036] In a third aspect, to achieve the above object, the present invention further provides a vehicle brake - light - switch control device, which includes: a memory, a processor, and a vehicle brake - light - switch control program stored on the memory and executable on the processor. The vehicle brake - light - switch control program is configured to implement the steps of the vehicle brake - light - switch control method as described above.

[0037] In a fourth aspect, to achieve the above object, the present invention further provides a storage medium, on which a vehicle brake - light - switch control program is stored. When the vehicle brake - light - switch control program is executed by a processor, it implements the steps of the vehicle brake - light - switch control method as described above.

[0038] The vehicle brake - light - switch control method provided by the present invention judges whether the current vehicle is in a powered - on state when it is detected that the brake pedal of the current vehicle is in a depressed state; diagnoses the dual - path signals of the brake - light switch according to the stroke signal of the electronic brake when the current vehicle is in a powered - on state; controls the brake - light switch according to the diagnosis result of the dual - path signals of the brake - light switch; can fully ensure the accurate recognition of the braking intention, realizes that the functions and performance of the whole vehicle do not degrade when a single - path mechanical failure of the brake - light switch occurs, avoids problems such as the vehicle being unable to start, drive torque output limitation, and unable to shift gears, and improves the user's driving safety and usage experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 It is a schematic diagram of the device structure of the hardware operating environment related to the embodiment solution of the present invention;

[0040] Figure 2Schematic flowchart of the first embodiment of the vehicle brake lamp switch control method of the present invention;

[0041] Figure 3 Schematic flowchart of the second embodiment of the vehicle brake lamp switch control method of the present invention;

[0042] Figure 4 Schematic flowchart of the third embodiment of the vehicle brake lamp switch control method of the present invention;

[0043] Figure 5 Schematic flowchart of the fourth embodiment of the vehicle brake lamp switch control method of the present invention;

[0044] Figure 6 Schematic flowchart of the fifth embodiment of the vehicle brake lamp switch control method of the present invention;

[0045] Figure 7 Schematic diagram of the state where the pedal is not depressed in the vehicle brake lamp switch control method of the present invention;

[0046] Figure 8 Schematic diagram of the state where the pedal is depressed in the vehicle brake lamp switch control method of the present invention;

[0047] Figure 9 Schematic flowchart of the fault detection and handling of the brake lamp switch in the vehicle brake lamp switch control method of the present invention;

[0048] Figure 10 Schematic flowchart in the vehicle brake lamp switch control method of the present invention;

[0049] Figure 11 Functional module diagram of the first embodiment of the vehicle brake lamp switch control device of the present invention.

[0050] The implementation, functional features and advantages of the object of the present invention will be further described with reference to the embodiments and the accompanying drawings. Detailed implementation manners

[0051] 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.

[0052] The solution of the embodiment of the present invention mainly includes: when it is detected that the brake pedal of the current vehicle is in the depressed state, determining whether the current vehicle is in the powered-on state; when the current vehicle is in the powered-on state, diagnosing the dual-channel signal of the brake light switch according to the stroke signal of the wire-controlled brake; controlling the brake light switch according to the diagnosis result of the dual-channel signal of the brake light switch; which can fully ensure the accurate recognition of the braking intention, realizes that the functions and performances of the whole vehicle do not degrade when a single-channel mechanical failure of the brake light switch occurs, avoids problems such as the vehicle being unable to start, drive torque output limitation, and unable to shift gears, improves the driving safety and user experience of the user, and solves the technical problems in the prior art that the high failure rate of the mechanical brake light switch causes the degradation of the functions and performances of the whole vehicle and affects the driving experience of the customer after the mechanical failure of the brake light switch.

[0053] Refer to Figure 1 , Figure 1 which is a schematic structural diagram of the device for the hardware operating environment involved in the solution of the embodiment of the present invention.

[0054] As Figure 1 shown, the device may include: a processor 1001, such as a 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 Wi-Fi interface). The memory 1005 may be a high-speed RAM memory or a stable memory (Non-Volatile Memory), such as a disk memory. Optionally, the memory 1005 may also be a storage device independent of the foregoing processor 1001.

[0055] Those skilled in the art can understand that Figure 1 the device structure shown in

[0056] As Figure 1 shown, the memory 1005 as a storage medium may include an operating device, a network communication module, a user interface module, and a vehicle brake light switch control program.

[0057] The device of the present invention calls the vehicle brake light switch control program stored in the memory 1005 through the processor 1001 and performs the following operations:

[0058] When it is detected that the brake pedal of the current vehicle is in the depressed state, determine whether the current vehicle is in the powered-on state;

[0059] When the current vehicle is in the powered-on state, diagnose the dual-channel signal of the brake light switch according to the stroke signal of the wire-controlled brake;

[0060] Control the brake light switch according to the diagnosis result of the dual-channel signal of the brake light switch.

[0061] The device of the present invention calls the vehicle brake light switch control program stored in the memory 1005 through the processor 1001, and also performs the following operations:

[0062] When the brake pedal is in the depressed state, determine whether the current vehicle is in the powered-on state through the body domain controller.

[0063] The device of the present invention calls the vehicle brake light switch control program stored in the memory 1005 through the processor 1001, and also performs the following operations:

[0064] Detect the brake pedal stroke of the brake pedal of the current vehicle through a dual-channel stroke sensor. When the brake pedal stroke is greater than the preset pedal stroke threshold, it is determined that the brake pedal is in the depressed state.

[0065] The device of the present invention calls the vehicle brake light switch control program stored in the memory 1005 through the processor 1001, and also performs the following operations:

[0066] When the current vehicle is in the powered-off state, continuously monitor the change of the output level of the brake light switch through the body domain controller;

[0067] Determine the signal state of the brake light switch according to the change of the output level;

[0068] When the signal state is that any one of the signals of the brake light switch is closed, control the current vehicle to power on and start.

[0069] The device of the present invention calls the vehicle brake light switch control program stored in the memory 1005 through the processor 1001, and also performs the following operations:

[0070] When the current vehicle is in the powered-on state, obtain the stroke signal of the wire-controlled brake;

[0071] Obtain the first output level signal and the second output level signal in the dual-channel signal of the brake light switch;

[0072] Judge whether there is a fault in the dual-channel signal of the brake light switch according to the stroke signal, the first output level signal and the second output level signal.

[0073] The device of the present invention calls the vehicle brake light switch control program stored in the memory 1005 through the processor 1001 and also performs the following operations:

[0074] When the diagnosis result of the dual-channel signal of the brake light switch is that both dual-channel signals of the brake light switch are normal, it is determined that the brake light switch is working properly without faults;

[0075] When the diagnosis result of the dual-channel signal of the brake light switch is that any one of the dual-channel signals of the brake light switch is short-circuited, the overall vehicle functions and performance are maintained without degradation, the brake light switch fault lamp is lit, the current vehicle is controlled to be unable to power off normally, and a maintenance reminder for the brake light switch is given;

[0076] When the diagnosis result of the dual-channel signal of the brake light switch is that there is an open circuit in the dual-channel signal of the brake light switch, different control strategies are selected according to the signal open-circuit condition to control the brake light switch.

[0077] The device of the present invention calls the vehicle brake light switch control program stored in the memory 1005 through the processor 1001 and also performs the following operations:

[0078] When the diagnosis result of the dual-channel signal of the brake light switch is that there is an open circuit in the dual-channel signal of the brake light switch, the signal open-circuit condition of the dual-channel signal of the brake light switch is judged;

[0079] When the signal open-circuit condition is that both dual-channel signals are open, the overall vehicle functions and performance are maintained without degradation, the brake light switch fault lamp is lit, the current vehicle is controlled to power off normally, and a maintenance reminder for the brake light switch is given;

[0080] When the signal open-circuit condition is that one of the signals is open, the overall vehicle functions and performance are maintained without degradation, the brake light switch fault lamp is not lit, and the single-channel open-circuit fault of the brake light switch is recorded.

[0081] Through the above solution in this embodiment, when it is detected that the brake pedal of the current vehicle is in the depressed state, it is judged whether the current vehicle is in the powered-on state; when the current vehicle is in the powered-on state, the dual-channel signal of the brake light switch is diagnosed according to the stroke signal of the electronic brake; the brake light switch is controlled according to the diagnosis result of the dual-channel signal of the brake light switch; it can fully ensure the accurate identification of the braking intention, realize that the overall vehicle functions and performance do not degrade when there is a single-channel mechanical failure of the brake light switch, avoid problems such as the vehicle being unable to start, drive torque output limitation, and unable to shift gears, and improve the user's driving safety and usage experience.

[0082] Based on the above hardware structure, an embodiment of the vehicle brake light switch control method of the present invention is proposed.

[0083] Refer to Figure 2, Figure 2 It is a schematic flow chart of the first embodiment of the vehicle brake light switch control method of the present invention.

[0084] In the first embodiment, the vehicle brake light switch control method includes the following steps:

[0085] Step S10: When it is detected that the brake pedal of the current vehicle is in the depressed state, determine whether the current vehicle is in the powered-on state.

[0086] It should be noted that when it is detected that the brake pedal of the current vehicle is in the depressed state, that is, after it is detected that the driver depresses the brake pedal, it can be determined whether the current vehicle is in the powered-on state.

[0087] Step S20: When the current vehicle is in the powered-on state, diagnose the dual-channel signals of the brake light switch according to the stroke signal of the electronic brake.

[0088] It should be understood that when the current vehicle is in the powered-on state, the dual-channel signals of the brake light switch can be diagnosed according to the driving signal of the electronic brake.

[0089] Step S30: Control the brake light switch according to the diagnosis result of the dual-channel signals of the brake light switch.

[0090] It can be understood that after obtaining the diagnosis result of the dual-channel signals of the brake light switch, the brake light switch can be controlled according to the diagnosis result.

[0091] In a specific implementation, the brake light switch is set to a structure with dual-channel synchronous triggering, which is used to recognize the depression of the brake pedal by the brake light switch to control the power-on start of the whole vehicle after the lower power controller of the whole vehicle goes to sleep; after the whole vehicle is powered on, the depression state of the brake pedal is recognized through the input stroke signal of the electronic brake system, and whether there is a fault in the dual-channel brake light switch is diagnosed through the input stroke signal of the electronic brake, and corresponding control strategies are executed according to the fault state of the dual-channel signals of the brake light switch.

[0092] The brake light switch is set to a structure with dual-channel synchronous triggering, that is, the dual-channel switches are designed with the same mechanical structure, and the dual-channel signals are both normally electrically connected and set as normally open switches. That is, when the brake pedal is not depressed, both dual-channel switches are in the open state, and the signals output by the switches are both low level; after the driver depresses the brake pedal, the dual-channel signals close simultaneously, the switch closes and conducts, and the dual-channel signals output by the switch both switch to high level; the controller obtains the switch level switching and recognizes the depression state of the brake pedal.

[0093] The dual-channel brake light switch is used for the sleep state of the vehicle power-off controller. By recognizing the state of the brake pedal being depressed through the brake light switch, it controls the vehicle to power on and start. After the vehicle power-off wire control brake controller enters the sleep state, it cannot perform the acquisition and transmission of the line control brake input stroke signal. After the vehicle start controller obtains that the level of the brake light switch signal switches to high level, it controls the vehicle to power on and start. After the vehicle powers on, it recognizes the state of the brake pedal being depressed through the input stroke signal of the line control brake system, and no longer uses the brake light switch signal for judgment, and then performs corresponding vehicle function controls, such as vehicle gear shifting, brake priority and other functions.

[0094] Through the above solution in this embodiment, when it is detected that the brake pedal of the current vehicle is in the depressed state, it is judged whether the current vehicle is in the powered-on state; when the current vehicle is in the powered-on state, the dual-channel signal of the brake light switch is diagnosed according to the stroke signal of the line control brake; the brake light switch is controlled according to the diagnosis result of the dual-channel signal of the brake light switch; it can fully ensure the accurate recognition of the braking intention, realize that the vehicle functions and performance do not degrade when a single-channel mechanical failure of the brake light switch occurs, avoid problems such as the vehicle being unable to start, drive torque output limitation, and unable to shift gears, and improve the user's driving safety and usage experience.

[0095] Further, Figure 3 is a schematic flowchart of the second embodiment of the vehicle brake light switch control method of the present invention. As Figure 3 shown, based on the first embodiment, the second embodiment of the vehicle brake light switch control method of the present invention is proposed. In this embodiment, the step S10 specifically includes the following steps:

[0096] Step S11, when the brake pedal is in the depressed state, judge whether the current vehicle is in the powered-on state through the body domain controller.

[0097] It should be noted that when the brake pedal is in the depressed state, it can be judged whether the current vehicle is in the powered-on state through the body domain controller.

[0098] In specific implementation, the body domain controller collects the brake light switch signal and controls the vehicle to start and power on according to the brake light switch signal.

[0099] Further, before the step S11, the vehicle brake light switch control method further specifically includes the following steps:

[0100] Detect the brake pedal stroke of the brake pedal of the current vehicle through a dual-channel stroke sensor. When the brake pedal stroke is greater than a preset pedal stroke threshold, it is determined that the brake pedal is in the depressed state.

[0101] It can be understood that the electronic brake system detects the brake pedal stroke through a dual-channel stroke sensor. When the stroke is greater than a preset threshold, it is determined that the brake pedal is in the depressed state.

[0102] In a specific implementation, the electronic brake input stroke signal is used to diagnose and identify whether there is a fault in the dual-channel brake light switch. That is, when the brake pedal is depressed, according to the electronic brake input stroke signal and the output level signals of the first and second channels of the switch, it is determined whether there is a fault in the first and second channels of the brake light switch. The faults include an open circuit fault of the switch, that is, the brake light switch cannot be closed and conduct after the pedal is depressed and always outputs a low level, and a short circuit fault of the switch, that is, the brake light switch conducts and outputs a high level regardless of whether the pedal is depressed or not.

[0103] In this embodiment, through the above solution, when the brake pedal is in the depressed state, the body domain controller is used to determine whether the current vehicle is in the powered-on state, so that the powered-on state of the vehicle can be accurately obtained, thereby improving the speed and efficiency of vehicle brake light switch control.

[0104] Further, Figure 4 FIG. is a schematic flow chart of the third embodiment of the vehicle brake light switch control method of the present invention. As Figure 4 shown, based on the first embodiment, the second embodiment of the vehicle brake light switch control method of the present invention is proposed. In this embodiment, after the step S10, the vehicle brake light switch control method of the present invention further includes the following steps:

[0105] Step S101: When the current vehicle is in the powered-off state, the body domain controller continuously monitors the change in the output level of the brake light switch.

[0106] It should be noted that when the whole vehicle is in the powered-off state, the body domain controller can continuously monitor the change in the output level of the brake light switch.

[0107] Step S102: Determine the signal state of the brake light switch according to the change in the output level.

[0108] It can be understood that the signal state of the brake light switch is determined according to the change in the output level.

[0109] Step S103: When the signal state is that any one of the signals of the brake light switch is closed, control the current vehicle to power on and start.

[0110] It should be understood that when the signal state is that any one of the signals of the brake light switch is closed, the current vehicle can be controlled to power on and start, that is, when it is obtained that any one of the signals of the brake light switch is closed, the whole vehicle is controlled to power on and start.

[0111] In this embodiment, through the above solution, when the current vehicle is in the power-off state, the body domain controller continuously monitors the change in the output level of the brake light switch; determines the signal state of the brake light switch according to the change in the output level; and when the signal state is that any one of the signals of the brake light switch is closed, controls the current vehicle to power on and start, so that the power-on state of the vehicle can be accurately obtained, thereby improving the speed and efficiency of the vehicle brake light switch control.

[0112] Further, Figure 5 FIG. is a schematic flowchart of the fourth embodiment of the vehicle brake light switch control method of the present invention. As Figure 5 shown, based on the first embodiment, the fourth embodiment of the vehicle brake light switch control method of the present invention is proposed. In this embodiment, the step S20 specifically includes the following steps:

[0113] Step S21: When the current vehicle is in the power-on state, obtain the stroke signal of the electronic brake.

[0114] It should be noted that when the current vehicle is in the power-on state, the stroke signal of the electronic brake can be obtained.

[0115] Step S22: Obtain the first output level signal and the second output level signal in the dual-channel signals of the brake light switch.

[0116] It can be understood that the dual-channel signals of the brake light switch correspond to the first output level signal and the second output level signal.

[0117] Step S23: Determine whether there is a fault in the dual-channel signals of the brake light switch according to the stroke signal, the first output level signal, and the second output level signal.

[0118] It should be understood that the dual-channel brake light switch is diagnosed and identified for faults through the electronic brake input stroke signal, that is, when the brake pedal is depressed, according to the electronic brake input stroke signal and the first and second output level signals of the switch, it is determined whether there is a fault in the first and second channels of the brake light switch.

[0119] In this embodiment, through the above solution, when the current vehicle is in the power-on state, obtain the stroke signal of the electronic brake; obtain the first output level signal and the second output level signal in the dual-channel signals of the brake light switch; determine whether there is a fault in the dual-channel signals of the brake light switch according to the stroke signal, the first output level signal, and the second output level signal, which can fully ensure the accurate identification of the braking intention, improve the user driving safety and experience, and improve the speed and efficiency of the vehicle brake light switch control.

[0120] Further, Figure 6Schematic flow chart of the fifth embodiment of the vehicle brake light switch control method according to the present invention, as Figure 6 shown. The fifth embodiment of the vehicle brake light switch control method according to the present invention is proposed based on the first embodiment. In this embodiment, step S30 specifically includes the following steps:

[0121] Step S31: When the diagnostic result of the dual-channel signal of the brake light switch is that both channels of the dual-channel signal of the brake light switch are normal, it is determined that the brake light switch is working properly without faults.

[0122] It should be noted that when both channels of the brake light dual-channel signal are normal, the system works properly without faults; that is, when both channels of the dual-channel signal of the brake light switch are normal, it can be determined that the brake light switch is working properly without faults.

[0123] Step S32: When the diagnostic result of the dual-channel signal of the brake light switch is that any one of the dual-channel signals of the brake light switch is short-circuited, keep the vehicle functions and performance from degrading, turn on the brake light switch fault lamp, control the current vehicle from being able to power off normally, and give a maintenance reminder for the brake light switch.

[0124] It can be understood that when any one of the dual-channel signals is short-circuited, the vehicle functions and performance do not degrade, the vehicle turns on the brake light switch fault lamp, controls the vehicle from being able to power off normally, and the brake light switch needs to be repaired. That is, when any one of the dual-channel signals of the brake light switch is short-circuited, the vehicle functions and performance can be kept from degrading, the brake light switch fault lamp can be turned on, the current vehicle can be controlled from being able to power off normally, and a maintenance reminder for the brake light switch can be given.

[0125] Step S33: When the diagnostic result of the dual-channel signal of the brake light switch is that there is an open circuit in the dual-channel signal of the brake light switch, select different control strategies to control the brake light switch according to the open circuit condition of the signal.

[0126] It should be understood that when there is an open circuit in the brake light switch, further analysis and judgment of the open circuit situation are carried out, and then different control strategies are selected to control the brake light switch according to the open circuit condition of the signal.

[0127] In specific implementation, corresponding control strategies are executed according to the fault status of the dual-channel signals of the brake light switch. When both dual-channel signals of the brake light switch are valid, the system operates normally. In most cases, the mechanical brake light switch fails due to arc carbon deposition, resulting in poor contact. When one of the dual-channel signals of the brake light switch is open, the functions and performance of the whole vehicle do not degrade, no fault light of the whole vehicle is lit, the whole vehicle can be normally powered on and off, but the vehicle controller records that there is a single-channel open circuit fault in the brake light switch. In a few cases, when both dual-channel signals of the brake light switch are open, when the whole vehicle is in the powered-on state, the functions and performance of the whole vehicle do not degrade, the fault light of the whole vehicle is lit, the whole vehicle cannot be normally powered off, and it is prompted that the brake light switch needs to be repaired. In a few cases, when any one of the dual-channel signals of the brake light switch is short-circuited, the functions and performance of the whole vehicle do not degrade, the fault light of the whole vehicle is lit, the whole vehicle cannot be normally powered off, and the brake light switch needs to be repaired.

[0128] Further, the step S33 specifically includes the following steps:

[0129] When the diagnosis result of the dual-channel signals of the brake light switch is that there is an open circuit in the dual-channel signals of the brake light switch, judge the signal open circuit condition of the dual-channel signals of the brake light switch;

[0130] When the signal open circuit condition is that both dual-channel signals are open, keep the functions and performance of the whole vehicle from degrading, light the fault light of the brake light switch, control the current vehicle to be normally powered off, and give a maintenance reminder for the brake light switch;

[0131] When the signal open circuit condition is that one of the signals is open, keep the functions and performance of the whole vehicle from degrading, do not light the fault light of the brake light switch, and record that there is a single-channel open circuit fault in the brake light switch.

[0132] It can be understood that when both dual-channel signals are open, ensure that the functions and performance of the whole vehicle do not degrade, the whole vehicle lights the fault light of the brake light switch, control the whole vehicle to be normally powered off, and the brake light switch needs to be repaired; when one of the signals is open, the functions and performance of the whole vehicle do not degrade, the whole vehicle does not light the fault light, but the whole vehicle records that there is a single-channel open circuit fault in the brake light switch.

[0133] In specific implementation, the whole vehicle cannot be powered off normally, that is, the power supply of the whole vehicle cannot be turned off by means of locking the vehicle, etc., but the vehicle can be powered off under the guidance of after-sales maintenance personnel, or the user can drive the vehicle to the after-sales service station for repair; when open-circuit faults occur in both switch signals, if the whole vehicle is in the powered-off state and the vehicle cannot be started through the switch signal, the vehicle can be powered on by other means such as the door control signal for closing the door and the key signal. After the whole vehicle is powered on, the vehicle is started by the stroke signal of the electronic brake. The functions and performance of the whole vehicle do not degrade, including the driving performance, braking performance, gear shifting and other normal driving functions of the vehicle are all normal, without performance degradation, and the user can drive the vehicle normally; the fault lamp of the whole vehicle is lit, and the yellow warning lamp can be lit, which only indicates that there is a fault in the brake lamp switch. The braking system works normally, the fault lamp of the braking system is not lit, the power system is normal, and the fault lamp of the power system is not lit.

[0134] The vehicle controller records a single open-circuit fault in the brake lamp switch. The vehicle controller can be a body domain controller. The body domain controller collects the brake lamp switch signal to control the start-up and power-on of the vehicle, verifies the switch state according to the stroke signal sent by the electronic brake controller, and records the fault information of the switch; or a brake controller, obtains the brake lamp switch signal sent by the body domain controller, verifies the switch state through the electronic brake stroke signal, and then records the fault information of the brake lamp switch. The single open-circuit fault of the brake lamp switch can be read by a diagnostic instrument or a host computer. When the customer comes to the store for repair and maintenance and it is recognized that the vehicle has a single open-circuit fault in the brake lamp switch, the brake lamp switch can be repaired and replaced to avoid the occurrence of a double open-circuit fault in the brake lamp switch in extreme cases during long-term use after the single open-circuit fault of the brake lamp switch, which may lead to vehicle repair.

[0135] Since the open-circuit fault of the brake lamp switch may be caused by occasional poor contact due to arc carbon deposition, and the switch works normally after the fault is eliminated. In order to accurately record the open-circuit fault of the switch, after the switch has an open-circuit fault for the first time, the open-circuit fault of the switch is recorded. Even if the occasional fault of the switch is eliminated, the fault is still recorded as the current fault and cannot be automatically cleared. After repairing and replacing the brake lamp switch, the fault code is cleared through the diagnostic instrument and the host computer.

[0136] In specific implementation, further, Figure 7 This is a schematic diagram of the state when the pedal is not depressed in the vehicle brake lamp switch control method of the present invention, as Figure 7As shown, the brake light switch is a dual-channel synchronous mechanical brake light switch. Among them, ①-② is the first-channel signal of the brake light switch, and ③-④ is the second-channel signal of the brake light switch. Both channels of signals are connected to the positive pole of the battery to maintain the power-on state of the battery. When the brake pedal is not depressed, both channels of the switch are in the off state, that is, both ② and ④ output low levels. The body domain controller obtains the levels output by ② and ④ to judge the state of the brake pedal being depressed. When the vehicle is powered off, the body domain controller can still continue to detect the levels output by ② and ④.

[0137] Correspondingly, further, Figure 8 This is a schematic diagram of the state of the brake pedal being depressed in the vehicle brake light switch control method of the present invention. As Figure 8 shown, the dual-channel brake light switch is designed with the same mechanical structure. When the driver depresses the brake pedal, the switch push rod extends, and both channels of the switch signals are conducted simultaneously, that is, ① and ② are conducted, ③ and ④ are conducted, and both ② and ④ output high levels; in the case of vehicle power-off, when the body domain controller detects that any one of ② and ④ outputs a high level, it controls the vehicle to power on and start.

[0138] In a specific implementation, refer to Figure 9 , Figure 9 This is a schematic diagram of the fault detection and processing flow of the brake light switch in the vehicle brake light switch control method of the present invention. As Figure 9 shown, A0: The driver depresses the brake pedal, and the body domain controller judges whether the vehicle is in the power-on state. If the vehicle is in the power-on state, it transfers to A1. If the vehicle is in the power-off state, the body domain controller continuously monitors the change of the output level of the brake light switch. When it obtains that any one of the signals of the brake light switch is closed, it controls the vehicle to power on and start.

[0139] A1: Judge the state of the brake pedal being depressed according to the stroke signal of the wire-controlled brake, and diagnose the dual-channel signals of the brake light switch according to the stroke signal of the wire-controlled brake. When both channels of the brake light signals are normal, the system works normally without faults and returns to A0; when any one of the two channels of signals is short-circuited, it transfers to A2; when there is an open circuit in the brake light switch, it transfers to A3.

[0140] The wire-controlled brake system detects the brake pedal stroke through a dual-channel stroke sensor. When the stroke is greater than the preset threshold, it judges that the brake pedal is in the depressed state.

[0141] A2: The functions and performance of the vehicle do not degrade. The vehicle lights up the fault light of the brake light switch, controls the vehicle to be unable to power off normally, and the brake light switch needs to be repaired, and then returns to A0.

[0142] A3: Judge the open-circuit signal of the brake light switch. If one of them is open-circuited, it transfers to A31. If both of them are open-circuited, it transfers to A32.

[0143] A31: The functions and performance of the whole vehicle do not degrade, and the fault lamp of the whole vehicle is not lit. However, the whole vehicle records that there is a single - path open - circuit fault in the brake lamp switch. After the program ends, it returns to A0.

[0144] A32: The functions and performance of the whole vehicle do not degrade, and the whole vehicle lights up the fault lamp of the brake lamp switch. Control the normal power - off of the whole vehicle. The brake lamp switch needs to be repaired. After the end, it returns to A0.

[0145] In the specific implementation, refer to Figure 10 , Figure 10 which is the flow schematic diagram in the vehicle brake lamp switch control method of the present invention. As Figure 10 shown, as the brake pedal is depressed, the line - controlled brake input push - rod stroke signal S gradually increases. When both paths of the brake lamp switch are normal, when the stroke is greater than S1 for the two - path signals of the brake lamp switch, both two - path signals are set to 1, indicating that both two - path switch signals are conducting and outputting a high level. When the stroke is less than S2, both two - path signals are reset to 0, indicating that both two - path signals are disconnected and outputting a low level. When there is an open - circuit in one of the two - path signals of the brake lamp switch, for example, the first - path signal of the brake lamp switch is open - circuited and the second - path signal of the brake lamp switch is normally triggered, the first - path signal is not set after the pedal stroke is greater than S1 and always remains in the off state, outputting a low level. When there is a short - circuit in one of the two - path signals of the brake lamp switch, for example, the first - path signal of the brake lamp switch is short - circuited and the second - path signal of the brake lamp switch is normally triggered, the first - path signal remains in the closed state and outputs a high level regardless of whether the brake pedal is depressed or not.

[0146] The brake lamp switch is provided with two - path synchronous signals, and diagnoses and identifies whether there is a fault in the two - path brake lamp switch through the line - controlled brake input stroke signal, and executes corresponding control strategies according to the fault states of the two - path signals of the brake lamp switch; fully ensures the accurate recognition of the braking intention, realizes that the functions and performance of the whole vehicle do not degrade when there is a single - path mechanical failure of the brake lamp switch, avoids problems such as the vehicle being unable to start, drive torque output limitation, and unable to shift gears, and improves the user's driving safety and usage experience.

[0147] In this embodiment, through the above solution, when the diagnostic result of the dual-channel signal of the brake lamp switch is that both channels of the dual-channel signal of the brake lamp switch are normal, it is determined that the brake lamp switch is working properly without faults; when the diagnostic result of the dual-channel signal of the brake lamp switch is that any one of the dual-channel signals of the brake lamp switch is short-circuited, the functions and performance of the whole vehicle are maintained without degradation, the fault lamp of the brake lamp switch is lit, the current vehicle is controlled to be unable to power off normally, and a maintenance reminder for the brake lamp switch is given; when the diagnostic result of the dual-channel signal of the brake lamp switch is that there is an open circuit in the dual-channel signal of the brake lamp switch, different control strategies are selected according to the signal open-circuit condition to control the brake lamp switch; it can fully ensure the accurate recognition of the braking intention, realize that the functions and performance of the whole vehicle do not degrade when a single-channel mechanical failure of the brake lamp switch occurs, avoid problems such as the vehicle being unable to start, drive torque output limitation, and unable to shift gears, improve the driving safety and user experience of users, and improve the speed and efficiency of vehicle brake lamp switch control.

[0148] Correspondingly, the present invention further provides a vehicle brake lamp switch control device.

[0149] Referring to Figure 11 , Figure 11 is a functional module diagram of the first embodiment of the vehicle brake lamp switch control device of the present invention.

[0150] In the first embodiment of the vehicle brake lamp switch control device of the present invention, the vehicle brake lamp switch control device includes:

[0151] The power-on judgment module 10 is configured to judge whether the current vehicle is in a powered-on state when it is detected that the brake pedal of the current vehicle is in a depressed state.

[0152] The signal diagnosis module 20 is configured to diagnose the dual-channel signal of the brake lamp switch according to the stroke signal of the electronic brake when the current vehicle is in a powered-on state.

[0153] The switch control module 30 is configured to control the brake lamp switch according to the diagnostic result of the dual-channel signal of the brake lamp switch.

[0154] The power-on judgment module 10 is further configured to judge whether the current vehicle is in a powered-on state through the body domain controller when the brake pedal is in a depressed state.

[0155] The power-on judgment module 10 is further configured to detect the brake pedal stroke of the brake pedal of the current vehicle through a dual-channel stroke sensor, and when the brake pedal stroke is greater than a preset pedal stroke threshold, it is determined that the brake pedal is in a depressed state.

[0156] The power-on judgment module 10 is further configured to continuously monitor the change of the output level of the brake light switch through the body domain controller when the current vehicle is in a power-off state; determine the signal state of the brake light switch according to the change of the output level; when the signal state is that any one of the signals of the brake light switch is closed, control the current vehicle to power on and start.

[0157] The signal diagnosis module 20 is further configured to obtain the travel signal of the wire-controlled brake when the current vehicle is in a power-on state; obtain the first output level signal and the second output level signal in the dual-channel signals of the brake light switch; judge whether there is a fault in the dual-channel signals of the brake light switch according to the travel signal, the first output level signal and the second output level signal.

[0158] The switch control module 30 is further configured to, when the diagnosis result of the dual-channel signals of the brake light switch is that both dual-channel signals of the brake light switch are normal, determine that the brake light switch is working properly without a fault; when the diagnosis result of the dual-channel signals of the brake light switch is that any one of the dual-channel signals of the brake light switch is short-circuited, keep the functions and performance of the whole vehicle from degrading, light up the brake light switch fault lamp, control the current vehicle to be unable to power off normally, and give a maintenance reminder for the brake light switch; when the diagnosis result of the dual-channel signals of the brake light switch is that there is an open circuit in the dual-channel signals of the brake light switch, select different control strategies to control the brake light switch according to the signal open-circuit condition.

[0159] The switch control module 30 is further configured to, when the diagnosis result of the dual-channel signals of the brake light switch is that there is an open circuit in the dual-channel signals of the brake light switch, judge the signal open-circuit condition of the dual-channel signals of the brake light switch; when the signal open-circuit condition is that both dual-channel signals are open, keep the functions and performance of the whole vehicle from degrading, light up the brake light switch fault lamp, control the current vehicle to power off normally, and give a maintenance reminder for the brake light switch; when the signal open-circuit condition is that one of the signals is open, keep the functions and performance of the whole vehicle from degrading, do not light up the brake light switch fault lamp, and record that the brake light switch has a single-channel open-circuit fault.

[0160] Wherein, the steps implemented by each functional module of the vehicle brake light switch control device can refer to each embodiment of the vehicle brake light switch control method of the present invention, which will not be elaborated here.

[0161] In addition, an embodiment of the present invention further provides a storage medium, on which a vehicle brake light switch control program is stored. When the vehicle brake light switch control program is executed by a processor, the following operations are implemented:

[0162] When it is detected that the brake pedal of the current vehicle is in a depressed state, judge whether the current vehicle is in a power-on state;

[0163] When the current vehicle is in the powered-on state, diagnose the dual-channel signal of the brake light switch according to the stroke signal of the by-wire brake;

[0164] Control the brake light switch according to the diagnosis result of the dual-channel signal of the brake light switch.

[0165] Further, when the vehicle brake light switch control program is executed by a processor, the following operations are also implemented:

[0166] When the brake pedal is in the depressed state, determine whether the current vehicle is in the powered-on state through the body domain controller.

[0167] Further, when the vehicle brake light switch control program is executed by a processor, the following operations are also implemented:

[0168] Detect the brake pedal stroke of the brake pedal of the current vehicle through a dual-channel stroke sensor. When the brake pedal stroke is greater than a preset pedal stroke threshold, determine that the brake pedal is in the depressed state.

[0169] Further, when the vehicle brake light switch control program is executed by a processor, the following operations are also implemented:

[0170] When the current vehicle is in the powered-off state, continuously monitor the change in the output level of the brake light switch through the body domain controller;

[0171] Determine the signal state of the brake light switch according to the change in the output level;

[0172] When the signal state is that any one of the signals of the brake light switch is closed, control the current vehicle to power on and start.

[0173] Further, when the vehicle brake light switch control program is executed by a processor, the following operations are also implemented:

[0174] When the current vehicle is in the powered-on state, obtain the stroke signal of the by-wire brake;

[0175] Obtain the first output level signal and the second output level signal in the dual-channel signal of the brake light switch;

[0176] Judge whether there is a fault in the dual-channel signal of the brake light switch according to the stroke signal, the first output level signal and the second output level signal.

[0177] Further, when the vehicle brake light switch control program is executed by a processor, the following operations are also implemented:

[0178] When the diagnostic result of the dual-channel signal of the brake light switch indicates that both channels of the dual-channel signal of the brake light switch are normal, it is determined that the brake light switch is working properly without faults;

[0179] When the diagnostic result of the dual-channel signal of the brake light switch indicates that any one of the dual-channel signals of the brake light switch is short-circuited, the functions and performance of the entire vehicle are maintained without degradation, the brake light switch fault light is lit, the current vehicle is controlled to be unable to power off normally, and a maintenance reminder for the brake light switch is given;

[0180] When the diagnostic result of the dual-channel signal of the brake light switch indicates that there is an open circuit in the dual-channel signal of the brake light switch, different control strategies are selected according to the open-circuit condition of the signal to control the brake light switch.

[0181] Furthermore, when the vehicle brake light switch control program is executed by a processor, the following operations are also implemented:

[0182] When the diagnostic result of the dual-channel signal of the brake light switch indicates that there is an open circuit in the dual-channel signal of the brake light switch, the open-circuit condition of the dual-channel signal of the brake light switch is judged;

[0183] When the open-circuit condition of the signal is that both channels of the signal are open, the functions and performance of the entire vehicle are maintained without degradation, the brake light switch fault light is lit, the current vehicle is controlled to power off normally, and a maintenance reminder for the brake light switch is given;

[0184] When the open-circuit condition of the signal is that one of the channels of the signal is open, the functions and performance of the entire vehicle are maintained without degradation, the brake light switch fault light is not lit, and a single-channel open-circuit fault of the brake light switch is recorded.

[0185] Those skilled in the art can understand that all or part of the steps in the above implementation methods can be completed by instructing relevant hardware through a program. This program is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor to execute all or part of the steps of the methods described in various embodiments of the present application; and the aforementioned storage medium is a computer-readable storage medium, including: USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks, or optical discs, etc., which can store program codes.

[0186] It should be noted that, in this document, the terms "include", "comprise" or any other variant thereof are intended to cover non-exclusive inclusion, such that a process, method, article or apparatus comprising 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 apparatus. Without further limitation, an element defined by the phrase "comprising an..." does not exclude the presence of additional identical elements in the process, method, article or apparatus comprising such element.

[0187] The serial numbers of the embodiments of the present invention above are only for description and do not represent the superiority or inferiority of the embodiments.

[0188] 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 equally included in the patent protection scope of the present invention.

Claims

1. A vehicle brake light switch control method, characterized in that, The vehicle brake light switch control method includes: When it is detected that the brake pedal of the current vehicle is in the depressed state, determine whether the current vehicle is in the powered-on state; When the current vehicle is in the powered-on state, diagnose the dual-channel signals of the brake light switch according to the stroke signal of the wire-controlled brake; Control the brake light switch according to the diagnosis result of the dual-channel signals of the brake light switch.

2. The vehicle brake light switch control method according to claim 1, wherein, The step of, when it is detected that the brake pedal of the current vehicle is in the depressed state, determining whether the current vehicle is in the powered-on state includes: When the brake pedal is in the depressed state, determine whether the current vehicle is in the powered-on state through the body domain controller.

3. The vehicle brake light switch control method according to claim 2, wherein, Before the step of, when the brake pedal is in the depressed state, determining whether the current vehicle is in the powered-on state through the body domain controller, the vehicle brake light switch control method further includes: Detect the brake pedal stroke of the brake pedal of the current vehicle through a dual-channel stroke sensor, and when the brake pedal stroke is greater than a preset pedal stroke threshold, determine that the brake pedal is in the depressed state.

4. The vehicle brake lamp switch control method according to claim 1, characterized in that, After the step of, when it is detected that the brake pedal of the current vehicle is in the depressed state, determining whether the current vehicle is in the powered-on state, the vehicle brake light switch control method further includes: When the current vehicle is in the powered-off state, continuously monitor the output level change of the brake light switch through the body domain controller; Determine the signal state of the brake light switch according to the output level change; When the signal state is that any one of the dual-channel signals of the brake light switch is closed, control the current vehicle to power on and start.

5. The vehicle brake light switch control method according to claim 1, wherein, The step of, when the current vehicle is in the powered-on state, diagnosing the dual-channel signals of the brake light switch according to the stroke signal of the wire-controlled brake includes: When the current vehicle is in the powered-on state, obtain the stroke signal of the wire-controlled brake; Obtain the first output level signal and the second output level signal in the dual-channel signals of the brake light switch; Judge whether there is a fault in the dual-channel signals of the brake light switch according to the stroke signal, the first output level signal and the second output level signal.

6. The vehicle brake light switch control method according to claim 1, wherein, The step of, controlling the brake light switch according to the diagnosis result of the dual-channel signals of the brake light switch includes: When the diagnosis result of the dual-channel signals of the brake light switch is that both dual-channel signals of the brake light switch are normal, determine that the brake light switch is working normally without faults; When the diagnosis result of the dual-channel signals of the brake light switch is that any one of the dual-channel signals of the brake light switch is short-circuited, keep the vehicle functions and performance from degrading, turn on the brake light switch fault light, control the current vehicle to be unable to power off normally, and give a maintenance reminder for the brake light switch; When the diagnosis result of the dual-channel signals of the brake light switch is that there is an open circuit in the dual-channel signals of the brake light switch, select different control strategies to control the brake light switch according to the signal open circuit condition.

7. The vehicle brake lamp switch control method according to claim 5, characterized in that, The step of, when the diagnosis result of the dual-channel signals of the brake light switch is that there is an open circuit in the dual-channel signals of the brake light switch, selecting different control strategies to control the brake light switch according to the signal open circuit condition includes: When the diagnostic result of the dual-channel signal of the brake light switch indicates an open circuit in the dual-channel signal of the brake light switch, judge the signal open-circuit condition of the dual-channel signal of the brake light switch; When the signal open-circuit condition is that both channels of the signal are open, maintain the vehicle's functions and performance without degradation, turn on the brake light switch fault light, control the current vehicle to power off normally, and give a maintenance reminder for the brake light switch; When the signal open-circuit condition is that one of the channels of the signal is open, maintain the vehicle's functions and performance without degradation, do not turn on the brake light switch fault light, and record that there is a single-channel open-circuit fault in the brake light switch.

8. A vehicle brake light switch control device, characterized in that, The vehicle brake light switch control device includes: A power-on judgment module, configured to judge whether the current vehicle is in a powered-on state when it is detected that the brake pedal of the current vehicle is in a depressed state; A signal diagnosis module, configured to diagnose the dual-channel signal of the brake light switch according to the stroke signal of the wire-controlled brake when the current vehicle is in a powered-on state; A switch control module, configured to control the brake light switch according to the diagnostic result of the dual-channel signal of the brake light switch.

9. A vehicle brake light switch control device, characterized in that, The vehicle brake light switch control equipment includes: a memory, a processor, and a vehicle brake light switch control program stored on the memory and executable on the processor, and the vehicle brake light switch control program is configured to implement the steps of the vehicle brake light switch control method according to any one of claims 1 to 7.

10. A storage medium, characterized in that, A vehicle brake light switch control program is stored on the storage medium, and when the vehicle brake light switch control program is executed by the processor, it implements the steps of the vehicle brake light switch control method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Dual-channel brake light switch

    CN102290265A