CN113276819B - Fault processing method and system for brake switch and computer storage medium - Google Patents

Fault processing method and system for brake switch and computer storage medium Download PDF

Info

Publication number
CN113276819B
CN113276819B CN202110620551.8A CN202110620551A CN113276819B CN 113276819 B CN113276819 B CN 113276819B CN 202110620551 A CN202110620551 A CN 202110620551A CN 113276819 B CN113276819 B CN 113276819B
Authority
CN
China
Prior art keywords
brake switch
vehicle
esc
motor
accelerator pedal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110620551.8A
Other languages
Chinese (zh)
Other versions
CN113276819A (en
Inventor
张雅
张明
严习胜
李拾成
尚武刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lantu Automobile Technology Co Ltd
Original Assignee
Lantu Automobile Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lantu Automobile Technology Co Ltd filed Critical Lantu Automobile Technology Co Ltd
Priority to CN202110620551.8A priority Critical patent/CN113276819B/en
Publication of CN113276819A publication Critical patent/CN113276819A/en
Application granted granted Critical
Publication of CN113276819B publication Critical patent/CN113276819B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60TVEHICLE BRAKE CONTROL SYSTEMS OR PARTS THEREOF; BRAKE CONTROL SYSTEMS OR PARTS THEREOF, IN GENERAL; ARRANGEMENT OF BRAKING ELEMENTS ON VEHICLES IN GENERAL; PORTABLE DEVICES FOR PREVENTING UNWANTED MOVEMENT OF VEHICLES; VEHICLE MODIFICATIONS TO FACILITATE COOLING OF BRAKES
    • B60T17/00Component parts, details, or accessories of power brake systems not covered by groups B60T8/00, B60T13/00 or B60T15/00, or presenting other characteristic features
    • B60T17/18Safety devices; Monitoring
    • B60T17/22Devices for monitoring or checking brake systems; Signal devices
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60KARRANGEMENT OR MOUNTING OF PROPULSION UNITS OR OF TRANSMISSIONS IN VEHICLES; ARRANGEMENT OR MOUNTING OF PLURAL DIVERSE PRIME-MOVERS IN VEHICLES; AUXILIARY DRIVES FOR VEHICLES; INSTRUMENTATION OR DASHBOARDS FOR VEHICLES; ARRANGEMENTS IN CONNECTION WITH COOLING, AIR INTAKE, GAS EXHAUST OR FUEL SUPPLY OF PROPULSION UNITS IN VEHICLES
    • B60K28/00Safety devices for propulsion-unit control, specially adapted for, or arranged in, vehicles, e.g. preventing fuel supply or ignition in the event of potentially dangerous conditions
    • B60K28/10Safety devices for propulsion-unit control, specially adapted for, or arranged in, vehicles, e.g. preventing fuel supply or ignition in the event of potentially dangerous conditions responsive to conditions relating to the vehicle 
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
    • B60R16/023Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements for transmission of signals between vehicle parts or subsystems
    • B60R16/0231Circuits relating to the driving or the functioning of the vehicle
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60KARRANGEMENT OR MOUNTING OF PROPULSION UNITS OR OF TRANSMISSIONS IN VEHICLES; ARRANGEMENT OR MOUNTING OF PLURAL DIVERSE PRIME-MOVERS IN VEHICLES; AUXILIARY DRIVES FOR VEHICLES; INSTRUMENTATION OR DASHBOARDS FOR VEHICLES; ARRANGEMENTS IN CONNECTION WITH COOLING, AIR INTAKE, GAS EXHAUST OR FUEL SUPPLY OF PROPULSION UNITS IN VEHICLES
    • B60K28/00Safety devices for propulsion-unit control, specially adapted for, or arranged in, vehicles, e.g. preventing fuel supply or ignition in the event of potentially dangerous conditions
    • B60K2028/003Safety devices for propulsion-unit control, specially adapted for, or arranged in, vehicles, e.g. preventing fuel supply or ignition in the event of potentially dangerous conditions inhibiting the starter motor, e.g. by controlling ignition or park lock circuits

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Transportation (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Automation & Control Theory (AREA)
  • Regulating Braking Force (AREA)
  • Electric Propulsion And Braking For Vehicles (AREA)
  • Valves And Accessory Devices For Braking Systems (AREA)

Abstract

The application relates to a fault processing method, a system and a computer storage medium of a brake switch, relating to the technical field of automobile electronic control, wherein the method is applied to a vehicle control unit VCU on a motor vehicle, the VCU is connected with a normally open circuit and a normally closed circuit of the brake switch, and the method comprises the following steps: detecting switching signals of a normally open circuit and a normally closed circuit of the brake switch, and determining whether the brake switch is abnormal or not; if the brake switch is abnormal, when the effective zone bit of the pressure of the brake master cylinder acquired by the ESC is detected to be true, the torque output of the motor is forbidden or the limp of the vehicle is controlled according to the pressure of the brake master cylinder acquired by the ESC, otherwise, the power output is stopped according to the effective zone bit of the vehicle speed acquired by the ESC, or when the road gradient is obtained according to the acceleration acquired by the acceleration sensor and the opening of the accelerator pedal acquired by the accelerator pedal sensor meets the set limiting condition, the torque output of the motor is forbidden or the limp of the vehicle is controlled according to the vehicle speed acquired by the ESC, so that the safety of the motor vehicle is ensured.

Description

Fault processing method and system for brake switch and computer storage medium
Technical Field
The present disclosure relates to the field of automotive electronic control technologies, and in particular, to a method and a system for processing a fault of a brake switch, and a computer storage medium.
Background
In the technical field of automobile electronic control, a brake switch is used as an important input in an automobile electronic control system, and if misdiagnosis or missed diagnosis of a brake switch signal occurs, serious consequences of failure of a vehicle brake system can be caused.
In the related technology, a general double-circuit is provided with a brake switch, when the brake switch has a short circuit or an open circuit fault, if a CAN Bus Off state fault occurs in a CAN local area network (CAN) of a chassis controller or a node communication of an electronic stability control system (ESC) is lost, an automotive electronic control system CAN judge that a driver steps on a brake pedal, and further a vehicle cannot run.
Disclosure of Invention
The embodiment of the application provides a fault processing method and system for a brake switch and a computer storage medium, and aims to solve the problem that in the related technology, the state of the brake switch cannot be identified due to Bus Off fault of a chassis CAN or full or partial loss of ESC node communication.
In a first aspect, a method for handling a fault of a brake switch is provided, which is applied to a vehicle control unit VCU on a motor vehicle, where the vehicle control unit VCU is connected to both a normally open circuit and a normally closed circuit of the brake switch, and the method includes the following steps:
detecting switch signals of a normally open circuit and a normally closed circuit of the brake switch, and determining whether the brake switch is abnormal or not;
if the brake switch is abnormal, when the effective flag bit of the pressure of the brake master cylinder acquired by the ESC of the electronic stability control system is detected to be true, determining whether to prohibit the torque output of the motor or control the limping of the vehicle according to the pressure of the brake master cylinder acquired by the ESC, otherwise,
stopping power output according to the detected effective zone bit of the vehicle speed collected by the ESC, or
And when determining that the road gradient is obtained according to the acceleration collected by the acceleration sensor and the opening degree of the accelerator pedal collected by the accelerator pedal sensor meets the set limiting condition, determining whether to prohibit the torque output of the motor or control the limp of the vehicle according to the detected deceleration obtained according to the vehicle speed collected by the ESC.
In some embodiments, the specific step of determining whether to inhibit the motor torque output or control vehicle limp home based on the brake master cylinder pressure obtained by the ESC comprises:
determining the pressure of a brake master cylinder acquired by the ESC;
and judging whether the detected pressure of the brake master cylinder is greater than a set first threshold value, if so, prohibiting the torque output of the motor and giving a first alarm, otherwise, controlling the vehicle to limp and giving a second alarm.
In some embodiments, the specific steps of determining that the road gradient is obtained according to the acceleration collected by the acceleration sensor and the accelerator opening meets the set limit condition according to the acceleration collected by the accelerator sensor include:
acquiring acceleration acquired by an acceleration sensor to obtain a road gradient;
acquiring the opening degree of an accelerator pedal acquired by an accelerator pedal sensor;
when the road gradient is in a set gradient section and the accelerator opening is smaller than a set opening threshold value, the road gradient and the accelerator opening meet set limiting conditions.
In some embodiments, the specific step of determining whether to inhibit motor torque output or control vehicle limp home based on the detected deceleration from ESC collected vehicle speed comprises:
acquiring the speed of the ESC;
obtaining a detection deceleration within a detection duration according to the obtained vehicle speed;
and judging whether the obtained detected deceleration is larger than a set second threshold value, if so, prohibiting the torque output of the motor and giving a first alarm, and otherwise, controlling the vehicle to limp and giving a second alarm.
In some embodiments, the step of determining whether the brake switch is abnormal or not includes:
if the switch signal output by the normally open circuit is different from that output by the normally closed circuit, judging that the brake switch is normal;
and if the switch signal output by the normally open circuit is the same as that output by the normally closed circuit, judging that the brake switch is abnormal.
In some embodiments, the switching signal includes a high level and a low level.
In some embodiments, after said determining whether to inhibit motor torque output or control vehicle limp home, further comprising the steps of:
and judging whether the normally closed circuit or the normally open circuit of the brake switch is short-circuited or open-circuited according to the switching signal.
In some embodiments, the specific step of determining whether the normally closed circuit or the normally open circuit of the brake switch is short-circuited or open-circuited according to the switch signal includes:
if the torque output of the motor is determined to be forbidden, when the output switching signal is in a high level, the normally closed circuit is in a short circuit with the power supply, and when the output switching signal is in a low level, the normally open circuit is in a ground connection or an open circuit;
if the limp home control is determined, when the output switching signal is at a high level, the normally open circuit is short-circuited to the power supply, and when the output switching signal is at a low level, the normally closed circuit is grounded or disconnected.
In a second aspect, a fault handling system for a brake switch is provided, including:
the brake switch comprises a normally open circuit and a normally closed circuit which are respectively used for outputting a switch signal;
the electronic stability control system ESC is used for acquiring a brake master cylinder pressure effective mark position, brake master cylinder pressure and vehicle speed;
a motor controller MCU for outputting a torque of the motor;
an acceleration sensor for acquiring acceleration;
an accelerator pedal sensor for acquiring an accelerator pedal opening degree;
VCU of vehicle control unit for
Detecting switch signals of a normally open circuit and a normally closed circuit of the brake switch, and determining whether the brake switch is abnormal or not;
if the brake switch is abnormal, when the effective flag bit of the pressure of the brake master cylinder acquired by the ESC of the electronic stability control system is detected to be true, determining whether to prohibit the torque output of the motor or control the limping of the vehicle according to the pressure of the brake master cylinder acquired by the ESC, otherwise,
stopping power output according to the detected effective zone bit of the vehicle speed collected by the ESC, or
And when determining that the road gradient is obtained according to the acceleration collected by the acceleration sensor and the opening degree of the accelerator pedal collected by the accelerator pedal sensor meets the set limiting condition, determining whether to prohibit the torque output of the motor or control the limp of the vehicle according to the detected deceleration obtained according to the vehicle speed collected by the ESC.
In a third aspect, a computer storage medium is provided, and a readable fault processing program of a brake switch is stored on the computer storage medium, wherein when the fault processing program of the brake switch is executed by a processor, the steps of the fault processing method of the brake switch are implemented.
The technical scheme who provides this application brings beneficial effect includes: the comprehensive diagnosis of the brake switch fault is ensured, and the running safety of the motor vehicle is ensured when the brake switch is abnormal.
The embodiment of the application provides a method and a system for processing the fault of a brake switch and a computer storage medium, when the VCU of a vehicle control unit determines that the brake switch is abnormal, whether a brake master cylinder pressure effective zone bit and a brake master cylinder pressure obtained by an ESC (electronic stability control) system can be detected or not is judged, and if yes, whether motor torque output is forbidden or vehicle limping is controlled is determined according to the brake master cylinder pressure obtained by the ESC; if not, stopping power output according to the detectable ESC collected speed, or determining to prohibit motor torque output or control vehicle limp-home according to the detected deceleration obtained by the ESC collected speed when the road gradient and the accelerator pedal opening meet the set limit conditions. Therefore, when the state of the brake switch cannot be identified due to Bus Off fault of the chassis CAN or loss of all or part of ESC node communication, the fault of the brake switch CAN be comprehensively diagnosed, and the driving safety of the motor vehicle is ensured.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a block flow diagram of a fault handling method for a brake switch according to an embodiment of the present disclosure;
fig. 2 is a block diagram of a fault handling system of a brake switch according to an embodiment of the present disclosure.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making creative efforts shall fall within the protection scope of the present application.
The embodiment of the application provides a method for processing speed faults of an electric automobile, which ensures the comprehensiveness of fault diagnosis of a brake switch and ensures the driving safety of a motor vehicle when the brake switch is abnormal.
The embodiment of the application provides a fault processing method of a brake switch, which is applied to a vehicle control unit VCU on a motor vehicle, wherein the vehicle control unit VCU is connected with a normally open circuit and a normally closed circuit of the brake switch, and the fault processing method is characterized by comprising the following steps of:
detecting switch signals of a normally open circuit and a normally closed circuit of the brake switch, and determining whether the brake switch is abnormal or not;
if the brake switch is abnormal, when the effective flag bit of the pressure of the brake master cylinder acquired by the ESC of the electronic stability control system is detected to be true, determining whether to prohibit the torque output of the motor or control the limping of the vehicle according to the pressure of the brake master cylinder acquired by the ESC, otherwise,
stopping power output according to the detected effective zone bit of the vehicle speed collected by the ESC, or
When the road gradient obtained according to the acceleration collected by the acceleration sensor is determined and the opening degree of the accelerator pedal collected by the accelerator pedal sensor meets the set limiting condition, the motor torque output is determined to be prohibited or the vehicle limp is controlled according to the detected deceleration obtained according to the vehicle speed collected by the ESC.
In the above fault handling method, as shown in fig. 2, the brake switch is connected with the vehicle control unit VCU through a normally open circuit and a normally closed circuit, the normally open circuit and the normally closed circuit output a switch signal to the vehicle control unit, the vehicle control unit judges whether the brake switch is abnormal or not according to the two received switch signals, if the brake switch is normal, the vehicle control unit finishes the fault handling method, if the brake switch is abnormal, when the detected effective zone bit of the pressure of the brake master cylinder obtained by the ESC is true, the torque output of the motor is determined to be prohibited or the vehicle limping is controlled according to the pressure of the brake master cylinder obtained by the ESC, if the detected effective zone bit of the pressure of the brake master cylinder obtained by the ESC is false, the effective zone bit of the vehicle speed collected by the ESC is determined to be true, if the effective zone bit of the vehicle speed collected by the ESC is false, namely, the vehicle speed is stopped if the communication of the chassis CAN is failed or the ESC node is lost, if the vehicle speed is true, the vehicle speed is detected by the vehicle control unit VCU, and if the pressure signal of the brake master cylinder is invalid, determining whether to prohibit the torque output of the motor or control the limp of the vehicle according to the detected deceleration obtained by the vehicle speed acquired by the ESC when determining that the road gradient obtained according to the acceleration acquired by the acceleration sensor and the opening degree of the accelerator acquired by the accelerator sensor meet the set limiting conditions.
Therefore, when Bus Off fault occurs in the chassis CAN or ESC node communication is completely or partially lost to cause that the state of the brake switch CAN not be identified, the embodiment of the application CAN still comprehensively diagnose the fault of the brake switch, and the driving safety of the motor vehicle is ensured.
Preferably, the specific step of determining whether to prohibit the motor torque output or control the vehicle limp home according to the brake master cylinder pressure acquired by the ESC comprises:
determining the pressure of a brake master cylinder acquired by the ESC;
and judging whether the detected pressure of the brake master cylinder is greater than a set first threshold value, if so, prohibiting the torque output of the motor and giving a first alarm, otherwise, controlling the vehicle to limp and giving a second alarm.
In the embodiment of the application, a vehicle control unit VCU communicates with an ESC node on a chassis CAN, when the effective flag bit of the pressure of a brake master cylinder acquired by ESC is detected to be 1, master cylinder pressure auxiliary diagnosis is carried out, namely whether the detected pressure of the brake master cylinder is greater than a set first threshold value K1 is judged, if yes, a signal of a brake switch is broadcasted to fail to be trusted, a fault code is recorded, motor torque output is forbidden, if not, a signal of the brake switch is broadcasted to have a circuit fault, the fault code is recorded, and vehicle limping is controlled. The first threshold value K1 is determined empirically or calibrated according to the corresponding relationship between the master cylinder pressure and the brake pedal by considering the hysteresis characteristic of the brake pedal.
Preferably, the concrete steps of determining that the road gradient is obtained according to the acceleration collected by the acceleration sensor and the accelerator opening meets the set limit condition according to the acceleration collected by the accelerator sensor include:
acquiring acceleration acquired by an acceleration sensor to obtain a road gradient;
acquiring the opening degree of an accelerator pedal acquired by an accelerator pedal sensor;
when the road gradient is in a set gradient section and the accelerator opening is smaller than a set opening threshold value, the road gradient and the accelerator opening meet set limiting conditions.
In the embodiment of the application, the precondition for determining whether the road gradient and the accelerator pedal opening meet the set limiting conditions is that an effective flag bit of the vehicle speed collected by the ESC detected by the vehicle control VCU is true. The road gradient is calculated according to the collected acceleration and the longitudinal dynamics principle, and the opening threshold is 3% in the embodiment.
Further, the specific step of determining whether to inhibit the motor torque output or control vehicle limp home from the detected deceleration based on the ESC collected vehicle speed comprises:
acquiring the vehicle speed collected by the ESC;
obtaining a detection deceleration within a detection duration according to the obtained vehicle speed;
and judging whether the obtained detected deceleration is larger than a set second threshold value, if so, prohibiting the torque output of the motor and giving a first alarm, and otherwise, controlling the vehicle to limp and giving a second alarm.
In the embodiment of the application, when the vehicle speed acquired by the ESC is detected by the VCU of the vehicle controller, the vehicle speed auxiliary diagnosis is carried out, that is, whether the detected deceleration detected by the ESC is greater than a set second threshold value K2 is judged, if yes, a signal of the brake switch is reported, a fault code is recorded, the torque output of the motor is forbidden, and if not, a signal of the brake switch is reported, a circuit fault occurs, the fault code is recorded, and the limping of the vehicle is controlled. The second threshold K2 is determined empirically or determined through dynamic simulation, a certain margin is required, and the second threshold K2 is verified through a real vehicle test.
When the driver releases the accelerator pedal, the vehicle control unit VCU performs auxiliary diagnosis on the vehicle speed variation per unit time (also referred to as the detection duration), that is, determines whether the detected deceleration detected by the ESC is greater than the set second threshold K2.
Further, the specific step of determining whether the brake switch is abnormal or not includes:
if the switch signal output by the normally open circuit is different from that output by the normally closed circuit, the brake switch is judged to be normal;
and if the switch signal output by the normally open circuit is the same as that output by the normally closed circuit, judging that the brake switch is abnormal.
Further, the switching signal includes a high level and a low level.
In this application embodiment, when the level signal of normally open circuit with normally closed circuit output is high level signal or is low level signal simultaneously, judges brake switch unusual, when the level signal of normally open circuit with normally closed circuit output is a high level signal low level signal, brake switch is normal.
Preferably, after the determination of whether to prohibit the output of the motor torque or control the limp home of the vehicle, further comprising the steps of:
and judging whether the normally closed circuit or the normally open circuit of the brake switch is short-circuited or open-circuited according to the switching signal.
Furthermore, the specific step of judging whether the normally closed circuit or the normally open circuit of the brake switch is short-circuited or open-circuited according to the switch signal includes:
if the torque output of the motor is determined to be forbidden, when the output switching signal is in a high level, the normally closed circuit is in a short circuit with the power supply, and when the output switching signal is in a low level, the normally open circuit is in a ground connection or an open circuit;
if the limp-home control is determined to control the vehicle, the normally open circuit is short-circuited to the power supply when the output switching signal is at a high level, and the normally closed circuit is grounded or disconnected when the output switching signal is at a low level.
In the embodiment of the application, the motor torque output is forbidden to correspond to the signal unreliable fault broadcasting the brake switch, the vehicle limping is controlled to correspond to the circuit fault broadcasting the signal of the brake switch, and then when the signal unreliable fault or the circuit fault occurs, which circuit of the brake switch has the fault and what fault can be determined according to the output high and low levels.
Meanwhile, if the effective zone bit of the vehicle speed detected by the VCU of the vehicle controller is false, stopping power output and giving an alarm, reporting that the vehicle speed cannot acquire a serious fault, and when the effective zone bit of the vehicle speed detected is false, namely the vehicle speed cannot be detected, judging the abnormal condition of a brake switch, so that the circuit fault condition under the condition of stopping power output is not discussed.
As shown in fig. 1, assuming that the communication between the VCU and the ESC is normal, the VCU can receive a brake master cylinder signal and a vehicle speed signal output by the ESC, and the method for processing the fault of the brake switch includes the following steps:
s1: determining whether the brake switch is abnormal according to the detected switch signals of the normally open circuit and the normally closed circuit of the brake switch, if so, turning to S3, and if not, turning to S2;
s2: the brake switch is normal;
s3: judging whether a brake master cylinder signal acquired by an electronic stability control system ESC is effective or not, if so, turning to S4, and if not, turning to S5 when a road gradient is obtained according to acceleration acquired by an acceleration sensor and an accelerator pedal opening degree acquired by an accelerator pedal sensor meets set limiting conditions;
s4: according to whether the pressure of the brake master cylinder acquired by the ESC is larger than a set first threshold value or not, inhibiting the torque output of the motor or controlling the limping of the vehicle
S5: and according to whether the detected deceleration obtained by the ESC-collected vehicle speed is larger than a set second threshold value, prohibiting the torque output of the motor or controlling the vehicle to limp.
In general, the embodiment of the application CAN be applied to various situations that normal communication cannot be carried out on the CAN bus, but part of nodes of the ESC are lost or master cylinder pressure signals are invalid, CAN comprehensively process abnormal situations of the brake switch, and improves the driving safety of motor vehicles.
As shown in fig. 2, an embodiment of the present application further provides a fault handling system for a brake switch, including:
the brake switch comprises a normally open circuit and a normally closed circuit which are respectively used for outputting a switch signal;
the electronic stability control system ESC is used for acquiring a brake master cylinder pressure effective mark position, brake master cylinder pressure and vehicle speed;
a motor controller MCU for outputting a torque of the motor;
an acceleration sensor for acquiring acceleration;
an accelerator pedal sensor for acquiring an accelerator pedal opening degree;
VCU of vehicle control unit for
Detecting switch signals of a normally open circuit and a normally closed circuit of the brake switch, and determining whether the brake switch is abnormal or not;
if the brake switch is abnormal, when the effective flag bit of the pressure of the brake master cylinder acquired by the ESC of the electronic stability control system is detected to be true, determining whether to prohibit the torque output of the motor or control the limping of the vehicle according to the pressure of the brake master cylinder acquired by the ESC, otherwise,
and when determining that the road gradient is obtained according to the acceleration collected by the acceleration sensor and the opening degree of the accelerator pedal collected by the accelerator pedal sensor meets the set limiting condition, determining whether to prohibit the torque output of the motor or control the limp of the vehicle according to the detected deceleration obtained according to the vehicle speed collected by the ESC.
As shown in fig. 2, the brake switch is connected with the vehicle control unit VCU through a normally open circuit and a normally closed circuit, the normally open circuit and the normally closed circuit output a switching signal to the vehicle control unit, the vehicle control unit determines whether the brake switch is abnormal according to the received two switching signals, if the brake switch is normal, the operation is finished, if the brake switch is abnormal, when the detected effective zone bit of the pressure of the brake master cylinder obtained by the ESC is true, the torque output of the motor is prohibited or the vehicle limp is controlled according to the pressure of the brake master cylinder obtained by the ESC, when the detected effective zone bit of the pressure of the brake master cylinder obtained by the ESC is false or the detected effective zone bit of the pressure of the brake master cylinder obtained by the ESC is not detected, whether the vehicle speed collected by the detected ESC is zero is judged, if the detected vehicle speed is zero, the vehicle is stationary or the vehicle control unit VCU does not detect the vehicle speed, that is a chassis CAN communication has a fault or an ESC node is lost, and stopping power output, if the power output is not zero, the VCU of the vehicle controller detects the vehicle speed, the pressure signal of the brake master cylinder is effective, and when determining that the road gradient is obtained according to the acceleration acquired by the acceleration sensor and the opening degree of the accelerator pedal acquired by the accelerator pedal sensor meets the set limiting condition, determining whether to prohibit motor torque output or control vehicle limping according to the detected deceleration obtained according to the vehicle speed acquired by the ESC.
Therefore, when Bus Off fault occurs in the chassis CAN or ESC node communication is completely or partially lost to cause that the state of the brake switch CAN not be identified, the embodiment of the application CAN still comprehensively diagnose the fault of the brake switch, and the driving safety of the motor vehicle is ensured.
The system embodiments provided in the embodiments of the present application have been explained in detail in the above method embodiments, and are not repeated herein.
The embodiment of the present application further provides a computer storage medium, which can be read by the computer storage medium, and the fault processing program of the brake switch is stored on the computer storage medium, wherein when the fault processing program of the brake switch is executed by a processor, the steps of the fault processing method of the brake switch are implemented as described above.
In the description of the present application, it should be noted that the terms "upper", "lower", and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, which are only for convenience in describing the present application and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed in a specific orientation, and operate, and thus, should not be construed as limiting the present application. Unless expressly stated or limited otherwise, the terms "mounted," "connected," and "coupled" are to be construed broadly and encompass, for example, both fixed and removable coupling as well as integral coupling; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art as appropriate.
It is noted that, in the present application, relational terms such as "first" and "second", and the like, are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or 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 other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is merely exemplary of the present application and is presented to enable those skilled in the art to understand and practice the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (7)

1. A fault processing method of a brake switch is applied to a Vehicle Control Unit (VCU) on a motor vehicle, wherein the VCU is connected with a normally open circuit and a normally closed circuit of the brake switch, and the method is characterized by comprising the following steps:
detecting switch signals of a normally open circuit and a normally closed circuit of the brake switch, and determining whether the brake switch is abnormal or not;
if the brake switch is abnormal, when the effective flag bit of the pressure of the brake master cylinder acquired by the ESC of the electronic stability control system is detected to be true, determining whether to prohibit the torque output of the motor or control the limping of the vehicle according to the pressure of the brake master cylinder acquired by the ESC, otherwise,
stopping power output according to the detected effective zone bit of the vehicle speed collected by the ESC, or
When determining that the road gradient is obtained according to the acceleration collected by the acceleration sensor and the opening degree of the accelerator pedal collected by the accelerator pedal sensor meets the set limiting condition, determining whether to prohibit the torque output of the motor or control the limping of the vehicle according to the detected deceleration obtained by the vehicle speed collected by the ESC;
the concrete steps of determining that the road gradient is obtained according to the acceleration collected by the acceleration sensor and the opening degree of the accelerator pedal collected by the accelerator pedal sensor meets the set limiting conditions comprise:
acquiring acceleration acquired by an acceleration sensor to obtain a road gradient;
acquiring the opening degree of an accelerator pedal acquired by an accelerator pedal sensor;
when the road gradient is in a set gradient section and the opening degree of the accelerator pedal is smaller than a set opening degree threshold value, the road gradient and the opening degree of the accelerator pedal meet set limiting conditions;
the specific steps of determining whether to prohibit the motor torque output or control the vehicle limp according to the pressure of the brake master cylinder acquired by the ESC comprise:
determining the pressure of a brake master cylinder acquired by the ESC;
judging whether the detected pressure of the brake master cylinder is greater than a set first threshold value, if so, prohibiting the torque output of the motor and sending a first alarm, otherwise, controlling the vehicle to limp and sending a second alarm;
the specific steps of determining whether to prohibit motor torque output or control vehicle limp-home according to the detected deceleration obtained from the vehicle speed collected by the ESC comprise:
acquiring the speed of the ESC;
obtaining a detection deceleration within a detection duration according to the obtained vehicle speed;
and judging whether the obtained detected deceleration is larger than a set second threshold value, if so, prohibiting the torque output of the motor and giving a first alarm, and otherwise, controlling the vehicle to limp and giving a second alarm.
2. The method for processing the malfunction of the brake switch according to claim 1, wherein the step of determining whether the brake switch is abnormal or not comprises:
if the switch signal output by the normally open circuit is different from that output by the normally closed circuit, the brake switch is judged to be normal;
and if the switch signal output by the normally open circuit is the same as that output by the normally closed circuit, judging that the brake switch is abnormal.
3. The method for fault handling of a brake switch of claim 2, wherein the switching signal comprises a high level and a low level.
4. The method for fault handling of a brake switch of claim 1, wherein after said determining whether to inhibit motor torque output or control vehicle limp home, further comprising the steps of:
and judging whether the normally closed circuit or the normally open circuit of the brake switch is short-circuited or open-circuited according to the switching signal.
5. The method for processing the fault of the brake switch according to claim 4, wherein the step of determining whether the normally closed circuit or the normally open circuit of the brake switch is short-circuited or open-circuited according to the switching signal comprises:
if the torque output of the motor is determined to be forbidden, when the output switching signal is in a high level, the normally closed circuit is in a short circuit with the power supply, and when the output switching signal is in a low level, the normally open circuit is in a ground connection or an open circuit;
if the limp home control is determined, when the output switching signal is at a high level, the normally open circuit is short-circuited to the power supply, and when the output switching signal is at a low level, the normally closed circuit is grounded or disconnected.
6. A brake switch fault handling system, comprising:
the brake switch comprises a normally open circuit and a normally closed circuit which are respectively used for outputting a switch signal;
the electronic stability control system ESC is used for acquiring a brake master cylinder pressure effective mark position, brake master cylinder pressure and vehicle speed;
a motor controller MCU for outputting a torque of the motor;
an acceleration sensor for acquiring acceleration;
an accelerator pedal sensor for acquiring an accelerator pedal opening degree;
VCU of vehicle control unit for
Detecting switch signals of a normally open circuit and a normally closed circuit of the brake switch, and determining whether the brake switch is abnormal or not;
if the brake switch is abnormal, when the effective flag bit of the pressure of the brake master cylinder acquired by the ESC of the electronic stability control system is detected to be true, determining whether to prohibit the torque output of the motor or control the limping of the vehicle according to the pressure of the brake master cylinder acquired by the ESC, otherwise,
stopping power output according to the detected effective zone bit of the vehicle speed collected by the ESC, or
When determining that the road gradient is obtained according to the acceleration collected by the acceleration sensor and the opening degree of the accelerator pedal collected by the accelerator pedal sensor meets the set limiting condition, determining whether to prohibit the torque output of the motor or control the limping of the vehicle according to the detected deceleration obtained by the vehicle speed collected by the ESC;
the concrete steps of determining that the road gradient is obtained according to the acceleration collected by the acceleration sensor and the opening degree of the accelerator pedal collected by the accelerator pedal sensor meets the set limiting conditions include:
acquiring acceleration acquired by an acceleration sensor to obtain a road gradient;
acquiring the opening degree of an accelerator pedal acquired by an accelerator pedal sensor;
when the road gradient is in a set gradient section and the opening degree of the accelerator pedal is smaller than a set opening degree threshold value, the road gradient and the opening degree of the accelerator pedal meet set limiting conditions;
the specific steps of determining whether to prohibit the motor torque output or control the vehicle limp according to the pressure of the brake master cylinder acquired by the ESC comprise:
determining the pressure of a brake master cylinder obtained by the ESC;
judging whether the detected pressure of the brake master cylinder is greater than a set first threshold value, if so, prohibiting the torque output of the motor and giving a first alarm, otherwise, controlling the vehicle to limp and giving a second alarm;
the specific steps of determining whether to prohibit motor torque output or control vehicle limp-home according to the detected deceleration obtained from the vehicle speed collected by the ESC comprise:
acquiring the speed of the ESC;
obtaining a detection deceleration within a detection duration according to the obtained vehicle speed;
and judging whether the obtained detected deceleration is larger than a set second threshold value, if so, prohibiting the torque output of the motor and sending a first alarm, otherwise, controlling the vehicle to limp and sending a second alarm.
7. A computer storage medium readable by a computer, wherein a fault handling program of a brake switch is stored on the computer storage medium, and when the fault handling program of the brake switch is executed by a processor, the steps of the fault handling method of the brake switch according to any one of claims 1 to 5 are implemented.
CN202110620551.8A 2021-06-03 2021-06-03 Fault processing method and system for brake switch and computer storage medium Active CN113276819B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110620551.8A CN113276819B (en) 2021-06-03 2021-06-03 Fault processing method and system for brake switch and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110620551.8A CN113276819B (en) 2021-06-03 2021-06-03 Fault processing method and system for brake switch and computer storage medium

Publications (2)

Publication Number Publication Date
CN113276819A CN113276819A (en) 2021-08-20
CN113276819B true CN113276819B (en) 2022-09-16

Family

ID=77283245

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110620551.8A Active CN113276819B (en) 2021-06-03 2021-06-03 Fault processing method and system for brake switch and computer storage medium

Country Status (1)

Country Link
CN (1) CN113276819B (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102490717B (en) * 2011-12-20 2014-03-12 奇瑞汽车股份有限公司 Control method for electromobile brake switch control system
JP6182311B2 (en) * 2012-11-30 2017-08-16 日立オートモティブシステムズ株式会社 Brake device
CN103921783B (en) * 2014-04-01 2016-06-29 中国第一汽车股份有限公司 Utilize the system and method that brake switch and master cylinder Pressure identification are truly braked
JP6222334B1 (en) * 2016-11-15 2017-11-01 マツダ株式会社 Switch circuit, failure detection method thereof, and control device
CN108340835A (en) * 2017-01-23 2018-07-31 东洋建苍电机股份有限公司 Vehicle condition exception alarming device and vehicle containing the device
CN110749817A (en) * 2019-10-09 2020-02-04 北京长城华冠汽车科技股份有限公司 Brake lamp switch fault detection method and device

Also Published As

Publication number Publication date
CN113276819A (en) 2021-08-20

Similar Documents

Publication Publication Date Title
US7328092B2 (en) Method and device for monitoring brake signals in a vehicle
KR101675145B1 (en) A system and a method for protection of abrupt acceleration for vehicle
KR101673780B1 (en) Control method of breakdown diagnosis
CN105620459A (en) Electric vehicle brake pedal diagnosing method and device
JPH09501626A (en) Brake system control circuit with ABS and TCS
JPH0159937B2 (en)
US20060069476A1 (en) Device and method for evaluating a sensor signal indicating a position of an accelerator pedal of a motor vehicle
CN111391866B (en) Method and system for monitoring function safety torque
CN113997923B (en) Automobile double-brake switch control system and fault diagnosis method thereof
US9671769B2 (en) ECU monitoring system and monitoring method
CN113276819B (en) Fault processing method and system for brake switch and computer storage medium
JP2002502755A (en) Method and apparatus for handling errors in electronic brake systems
CN115123172B (en) Brake system fault processing method and device, readable storage medium and vehicle
CN106627553A (en) Air pressure brake anomaly detection method and system
US20020108797A1 (en) Method and apparatus for monitoring wheel speeds
JPH06307274A (en) Abnormal condition monitoring device
CN108873747B (en) Double inflation signal control method for new energy passenger car
KR20130039082A (en) Method for diagnosis of a trouble of accelerator pedal sensor
WO2020012815A1 (en) Brake switch diagnostic method and module
CN114715109A (en) Fault diagnosis method and device for vehicle brake switch and vehicle
US7503580B2 (en) Vehicle occupant protection system with disable mode
CN113459820B (en) Method for controlling vehicle start, system thereof, vehicle and medium
JP3077489B2 (en) In-vehicle multiplex communication device having fail-safe function
JP3042264B2 (en) Failure detection device for in-vehicle sensor
CN213600837U (en) Relay detection circuit and detection device based on negative pole

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20220128

Address after: 430000 No. n3010, 3rd floor, R & D building, building n, Artificial Intelligence Science Park, Wuhan Economic and Technological Development Zone, Hubei Province

Applicant after: Lantu Automobile Technology Co.,Ltd.

Address before: 430056 No. 1 Dongfeng Avenue, Wuhan economic and Technological Development Zone, Hubei, Wuhan

Applicant before: Dongfeng Motor Corp.

GR01 Patent grant
GR01 Patent grant