CN-121973749-A - Method, medium, equipment and product for determining brake pedal state
Abstract
The embodiment of the application discloses a method, medium, equipment and product for determining a brake pedal state, which are used for acquiring a brake stroke signal, a brake switch signal and a brake lamp switch signal, determining the stroke state of a brake stroke according to the brake stroke signal, determining the monitoring state of the brake pedal according to the stroke state, the brake switch signal and the brake lamp switch signal, and determining the target state of the brake pedal according to the stroke state and the monitoring state. According to the embodiment of the application, the travel state is determined firstly by acquiring three signals of the brake travel, the switch and the lamp, then the monitoring state is determined by combining the two switch signals, finally the target state is obtained by arbitration, the switch signals are used for further verification or decision based on the travel state, the error output caused by abnormal synchronization of the switch can be effectively avoided, and under the working conditions of signal failure and abnormal switch, the output still meets the ASIL C function safety requirement, and the risk of torque out-of-control is eliminated.
Inventors
- YANG YULING
- LU LEIPING
Assignees
- 奇瑞汽车股份有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20260228
Claims (10)
- 1. A method of determining a brake pedal condition, comprising: acquiring a braking travel signal, a braking switch signal and a braking lamp switch signal; determining a stroke state of a braking stroke according to the braking stroke signal; determining a monitoring state of a brake pedal according to the travel state, the brake switch signal and the brake lamp switch signal; And determining the target state of the brake pedal according to the stroke state and the monitoring state.
- 2. The method of claim 1, wherein determining a travel state of a brake travel from the brake travel signal comprises: determining the stroke of a brake rod according to the brake stroke signal; determining a signal state of a brake stroke signal according to the brake rod stroke; And determining the stroke state according to the signal state and the brake rod stroke.
- 3. The method of claim 2, wherein said determining said travel state from said signal state and said brake lever travel comprises: when the signal state is valid and the brake lever stroke is greater than a first preset stroke, determining the stroke state as a brake pedal valid depression state; determining the stroke state as a brake pedal valid release state when the signal state is valid and the brake lever stroke is less than a second preset stroke; When the signal state is effective and the stroke of the brake rod is smaller than or equal to a first preset stroke and larger than or equal to a second preset stroke, acquiring a history stroke effective state, and determining the stroke state as the history stroke effective state; And when the signal state is invalid, determining the stroke state as an invalid state.
- 4. The method of claim 1, wherein said determining a monitored state of a brake pedal based on said travel state, said brake switch signal, and said brake light switch signal comprises: When the travel state is an effective state, determining the monitoring state according to the brake switch signal, the brake lamp switch signal and a preset mutual exclusion logic; And when the travel state is an invalid state, determining the monitoring state according to the brake switch signal, the brake lamp switch signal and a preset consistent logic.
- 5. The method of claim 4, wherein the preset exclusive logic includes a preset exclusive state and a preset abnormal state, and wherein the determining the monitoring state according to the brake switch signal, the brake light switch signal, and the preset exclusive logic when the travel state is an active state includes: Acquiring the on-off state of the brake switch signal and the on-off state of the brake lamp switch signal; When the on-off state of the brake switch signal and the on-off state of the brake lamp switch signal accord with the preset mutual exclusion state, determining the monitoring state as a pedal effective state; and when the on-off state of the brake switch signal and the on-off state of the brake lamp switch signal accord with the preset abnormal state, determining the monitoring state as a pedal invalid state.
- 6. The method of claim 4, wherein the preset compliance logic comprises a preset compliance state and a preset fault state, and wherein determining the monitored state based on the brake switch signal, the brake light switch signal, and the preset compliance logic comprises: Acquiring the on-off state of the brake switch signal and the on-off state of the brake lamp switch signal; When the on-off state of the brake switch signal and the on-off state of the brake lamp switch signal accord with the preset consistent state, determining the monitoring state as a pedal effective state; And when the on-off state of the brake switch signal and the on-off state of the brake lamp switch signal accord with the preset fault state, determining the monitoring state as a pedal invalid state.
- 7. The method of claim 1, wherein said determining a target state of a brake pedal based on said travel state and said monitored state comprises: Determining the target state according to the travel state when the travel state is effective and the monitoring state is ineffective; When the travel state and the monitoring state are both valid or the travel state is invalid and the monitoring state is valid, determining the travel state and the monitoring state as the target state according to the monitoring state; And when the stroke state and the monitoring state are invalid, determining the target state as a pedal release invalid state.
- 8. A storage medium storing computer instructions which, when executed by a computer, are adapted to carry out a method of determining a brake pedal status according to any one of claims 1 to 7.
- 9. An electronic device comprising at least one processor, and A memory communicatively coupled to the at least one processor, wherein, The memory stores instructions executable by the at least one processor to enable the at least one processor to perform a method of determining a brake pedal status as claimed in any one of claims 1 to 7.
- 10. A computer program product comprising computer program/instructions which, when executed by a processor, implements a method of determining a brake pedal state as claimed in any one of claims 1 to 7.
Description
Method, medium, equipment and product for determining brake pedal state Technical Field The application belongs to the field of automobile electronic control, and particularly relates to a method for determining a brake pedal state, a storage medium, electronic equipment and a computer program product. Background According to the ISO 26262 functional safety standard, the vehicle braking system needs to reach the ASIL C safety class. The existing brake pedal state judgment mostly adopts two-way signal acquisition, namely a brake stroke signal is used for accurately identifying the pedal position, and a brake switch signal is used for rapidly responding to a brake action. In a software architecture of a typical HCU (Hybrid Control Unit ), the functional layer calculates braking demand based on the trip signal, and the monitoring layer validates the functional layer results. However, in the conventional scheme, it is assumed that the brake switch and the brake lamp switch are always in a mutually exclusive state, but in practical application, abnormal synchronization (for example, the switch is released but the lamp is still turned on) may be caused by switch clamping stagnation, line fault or electromagnetic interference. At this time, if the monitoring layer only depends on the brake switch signal to judge the state, an error result may be output, and finally the vehicle may not be able to limit the driving torque in time, and the risk that the torque output is greater than the braking torque occurs and violates the ASIL C safety target may occur. Disclosure of Invention The embodiment of the application aims to provide a method, medium, equipment and product for determining the state of a brake pedal, which can solve the problem that a monitoring layer only depends on a brake switch signal to judge that the state of the pedal can output an error result so as to violate a safety target. In a first aspect, an embodiment of the present application provides a method for determining a brake pedal state, including: acquiring a braking travel signal, a braking switch signal and a braking lamp switch signal; determining a stroke state of a braking stroke according to the braking stroke signal; determining a monitoring state of a brake pedal according to the travel state, the brake switch signal and the brake lamp switch signal; And determining the target state of the brake pedal according to the stroke state and the monitoring state. Optionally, the determining the stroke state of the braking stroke according to the braking stroke signal includes: determining the stroke of a brake rod according to the brake stroke signal; determining a signal state of a brake stroke signal according to the brake rod stroke; And determining the stroke state according to the signal state and the brake rod stroke. Optionally, the determining the travel state according to the signal state and the brake lever travel includes: when the signal state is valid and the brake lever stroke is greater than a first preset stroke, determining the stroke state as a brake pedal valid depression state; determining the stroke state as a brake pedal valid release state when the signal state is valid and the brake lever stroke is less than a second preset stroke; When the signal state is effective and the stroke of the brake rod is smaller than or equal to a first preset stroke and larger than or equal to a second preset stroke, acquiring a history stroke effective state, and determining the stroke state as the history stroke effective state; And when the signal state is invalid, determining the stroke state as an invalid state. Optionally, the determining the monitoring state of the brake pedal according to the travel state, the brake switch signal and the brake lamp switch signal includes: When the travel state is an effective state, determining the monitoring state according to the brake switch signal, the brake lamp switch signal and a preset mutual exclusion logic; And when the travel state is an invalid state, determining the monitoring state according to the brake switch signal, the brake lamp switch signal and a preset consistent logic. Optionally, the preset exclusive logic includes a preset exclusive state and a preset abnormal state, and when the travel state is an effective state, determining the monitoring state according to the brake switch signal, the brake lamp switch signal and the preset exclusive logic includes: Acquiring the on-off state of the brake switch signal and the on-off state of the brake lamp switch signal; When the on-off state of the brake switch signal and the on-off state of the brake lamp switch signal accord with the preset mutual exclusion state, determining the monitoring state as a pedal effective state; and when the on-off state of the brake switch signal and the on-off state of the brake lamp switch signal accord with the preset abnormal state, determining the monitoring state as a pedal invalid state. Optionall