CN-122009129-A - Braking state analysis method, vehicle and medium
Abstract
The application discloses a braking state analysis method, a vehicle and a medium, wherein a brake pedal is connected with a brake push rod and mechanically linked with a two-way switch, and the method comprises the following steps: determining a travel signal corresponding to the brake push rod based on the displacement information of the brake push rod, determining a switch signal corresponding to the two-way switch based on the switch state of the two-way switch, combining the travel signal and the switch signal to obtain a first brake state code, and determining an analysis result of the brake state based on the first brake state code and a preset mapping relation between the brake state code and the brake state. The application can perform unified characterization and fusion judgment on the signals collected by the sensor, avoid the signals from being isolated or simply compared, and form a comprehensive braking state code which can be processed efficiently. The capability of analyzing the braking state is improved, and the running safety of the vehicle is ensured.
Inventors
- LIU BING
- YU YONGZHI
- LI YI
- LI WEI
- SHI ZITAO
- WU JIALIN
Assignees
- 重庆蓝电汽车科技有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20260211
Claims (15)
- 1. A method of braking state resolution, wherein a brake pedal is connected to a brake pushrod, the brake pedal mechanically linked to a two-way switch, the method comprising: determining a travel signal corresponding to the brake push rod based on the displacement information of the brake push rod, and determining a switching signal corresponding to the two-way switch based on the switching state of the two-way switch; combining the travel signal and the switch signal to obtain a first braking state code; And determining an analysis result of the braking state based on the first braking state code and a mapping relation between the preset braking state code and the braking state.
- 2. The method of claim 1, wherein the two-way switch comprises a first switch and a second switch, wherein the switch states of the two-way switch comprise a first switch state corresponding to the first switch and a second switch state corresponding to the second switch, wherein the switch signals comprise a first switch signal and a second switch signal, wherein the first switch signal and the second switch signal are binary logic values, wherein the determining the switch signal corresponding to the two-way switch based on the switch states of the two-way switch comprises: Assigning a first logic value to the first switching signal in response to the first switching state being closed, and assigning a second logic value to the first switching signal in response to the first switching state being open; The method includes providing a first logic value to a second switching signal in response to the second switching state being closed, and providing a second logic value to the second switching signal in response to the second switching state being open.
- 3. The method of claim 1 or 2, wherein the travel signal is a binary logic value, and wherein the determining the travel signal corresponding to the brake pushrod based on the displacement information of the brake pushrod comprises: Calculating the magnitude relation between the displacement information and a preset first threshold value, and determining a travel signal corresponding to the brake push rod based on the magnitude relation; the determining the travel signal corresponding to the brake push rod based on the magnitude relation comprises the following steps: If the magnitude relation indicates that the displacement information is larger than the first threshold value, a first logic value is assigned to a travel signal; and if the magnitude relation indicates that the displacement information is smaller than or equal to the first threshold value, a second logic value is assigned to the travel signal.
- 4. A method according to claim 1 or 3, wherein the travel signal and the switch signal are binary logic values, the switch signal comprises a first switch signal and a second switch signal, the first brake state code is obtained by combining the travel signal and the switch signal in a preset sequence, the preset brake state code comprises the first brake state code, and the method further comprises: The method comprises the steps of sequentially arranging and combining a travel signal corresponding to a brake push rod signal into a first logic value or a second logic value, a first switch signal into the first logic value or the second logic value and a second switch signal into the first logic value or the second logic value to obtain a plurality of preset brake state codes, wherein each first brake state code comprises three binary logic values, and the arrangement sequence of the three binary logic values is the same as the combination sequence of the travel signal and the switch signal in the first brake state code; Acquiring braking state data in a first time period, wherein the braking state data comprises a braking state in the first time period, a travel signal of a braking push rod and a switching signal of a two-way switch; And determining a corresponding braking state for each braking state code based on the braking state data in the first time period, and obtaining a preset mapping relation between the braking state code and the braking state.
- 5. The method of claim 4, wherein the brake status comprises a brake pedal status and a brake failure status, and wherein the predetermined map of brake status codes and brake status comprises: If the preset braking state code consists of a travel signal with a first logic value, a first switch signal with a first logic value and a second switch signal with a second logic value, determining that the braking state code is a first code, and the corresponding braking pedal state is a stepping state and the braking fault state is a fault-free state; if the preset braking state code consists of a travel signal with a first logic value, a first switch signal with the first logic value and a second switch signal with the first logic value, determining that the braking state code is a second code, and the corresponding braking pedal state is a release state and the braking fault state is a normal transition state; If the preset braking state code consists of a travel signal with a first logic value, a first switch signal with a second logic value and a second switch signal with a first logic value, determining that the braking state code is a third code, the corresponding braking pedal state is a stepping state, and the braking fault state is a first switch fault; if the preset braking state code consists of a travel signal with a first logic value, a first switch signal with a second logic value and a second switch signal with a second logic value, the braking state code is determined to be a fourth code, the corresponding braking pedal state is a release state, and the braking fault state is a signal contradiction fault.
- 6. The method of claim 5, wherein the predetermined mapping between brake status codes and brake status further comprises: if the preset braking state code consists of a travel signal with a second logic value, a first switch signal with a first logic value and a second switch signal with a second logic value, determining that the braking state code is a fifth code, and the corresponding braking pedal state is a release state and the braking fault state is a second switch fault; If the preset braking state code consists of a travel signal with a second logic value, a first switch signal with a first logic value and a second switch signal with a first logic value, determining that the braking state code is a sixth code, and the corresponding braking pedal state is a release state and the braking fault state is a normal transition state; if the preset braking state code consists of a travel signal with a second logic value, a first switch signal with a second logic value and a second switch signal with a first logic value, determining that the braking state code is a seventh code, and the corresponding braking pedal state is a release state and the braking fault state is a fault-free state; If the preset braking state code consists of a travel signal with a second logic value, a first switch signal with a second logic value and a second switch signal with a second logic value, the braking state code is determined to be an eighth code, the corresponding braking pedal state is a release state, and the braking fault state is a two-way switch fault.
- 7. The method of claim 1, wherein the brake pedal is connected to a master cylinder through the brake push rod, and wherein determining the brake state analysis result based on the first brake state code and a preset map of brake state codes and brake states comprises: Determining a corresponding pressure signal of the brake master cylinder based on the pressure information of the brake master cylinder; combining the pressure signal and the first braking state code to obtain a second braking state code; And determining an analysis result of the braking state based on the second braking state code and a mapping relation between the preset braking state code and the braking state.
- 8. The method of claim 7, wherein the pressure signal is a binary logic value, and wherein the determining the corresponding pressure signal for the master cylinder based on the pressure information for the master cylinder comprises: If the pressure information is larger than a preset second threshold value, a first logic value is given to the pressure signal; And if the pressure information is smaller than or equal to the second threshold value, a second logic value is assigned to the pressure signal.
- 9. The method of claim 8, wherein the travel signal, the pressure signal, and the switch signal are binary logic values, the switch signal comprises a first switch signal and a second switch signal, the first brake state code is obtained by combining the travel signal and the switch signal in a preset order, the second brake state code is obtained by combining the first brake code and the pressure signal in a preset order, the second brake state code is included in the preset brake state code, the method further comprises: The first braking code is a first logic value or a second logic value, and the pressure signal is the first logic value or the second logic value, and the first logic value or the second logic value and the pressure signal are sequentially arranged and combined to obtain a plurality of preset braking state codes; and determining a corresponding braking state for each braking state code based on the braking state data in the second time period, and obtaining a preset mapping relation between the braking state code and the braking state.
- 10. The method of claim 9, wherein the brake status comprises a brake pedal status and a brake failure status, and wherein the predetermined map of brake status codes and brake status comprises: If the preset brake code consists of a first code and a pressure signal with a first logic value, the corresponding brake pedal state is a stepping state, and the brake fault state is a fault-free state; if the preset brake code consists of a second code and a pressure signal with a first logic value, the corresponding brake pedal state is a stepping state, and the brake fault state is a normal transition state; if the preset brake code consists of a third code and a pressure signal with a first logic value, the corresponding brake pedal state is a stepping state, and the brake fault state is a first switch fault; if the preset brake code consists of a fourth code and a pressure signal with a first logic value, the corresponding brake pedal state is a stepping state, and the brake fault state is a two-way switch fault; If the preset brake code consists of a fifth code and a pressure signal with a first logic value, the corresponding brake pedal state is a release state, and the brake fault state is a signal contradiction fault; If the preset brake code consists of a sixth code and a pressure signal with a first logic value, the corresponding brake pedal state is a release state, and the brake fault state is a contradictory transition state; If the preset brake code consists of a seventh code and a pressure signal with a first logic value, the corresponding brake pedal state is a release state, and the brake fault state is a signal contradiction fault; if the preset brake code consists of an eighth code and a pressure signal with a first logic value, the corresponding brake pedal state is a release state, and the brake fault state is a signal contradiction fault.
- 11. The method of claim 10, wherein the predetermined mapping between brake status codes and brake status further comprises: if the preset brake code consists of a first code and a pressure signal with a second logic value, the corresponding brake pedal state is a release state, and the brake fault state is a signal contradiction fault; If the preset brake code consists of a second code and a pressure signal with a second logic value, the corresponding brake pedal state is a release state, and the brake fault state is a contradictory transition state; if the preset brake code consists of a third code and a pressure signal with a second logic value, the corresponding brake pedal state is a release state, and the brake fault state is a signal contradiction fault; if the preset brake code consists of a fourth code and a pressure signal with a value of a second logic value, the corresponding brake pedal state is a release state, and the brake fault state is a signal contradiction fault; if the preset brake code consists of a fifth code and a pressure signal with a second logic value, the corresponding brake pedal state is a release state, and the brake fault state is a second switch fault; If the preset brake code consists of a sixth code and a pressure signal with a second logic value, the corresponding brake pedal state is a release state, and the brake fault state is a normal transition state; if the preset brake code consists of a seventh code and a pressure signal with a second logic value, the corresponding brake pedal state is a release state, and the brake fault state is a fault-free state; if the preset brake code consists of an eighth code and a pressure signal with a second logic value, the corresponding brake pedal state is a release state, and the brake fault state is a two-way switch fault.
- 12. The method of claim 11, wherein the method further comprises: If the duration of the braking fault state being the contradictory transition state exceeds the preset monitoring duration, the corresponding braking pedal state is a release state, and the braking fault state is a signal contradictory fault.
- 13. The method of claim 7, wherein the method further comprises: if the displacement information exceeds a preset first range and the pressure information exceeds a preset second range, the corresponding brake pedal state is a release state, and the brake failure state is a brake failure.
- 14. A vehicle comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, the program or instruction when executed by the processor implementing the method of any one of claims 1 to 13.
- 15. A readable storage medium, characterized in that it stores thereon a program or instructions, which when executed by a processor, implements the method according to any of claims 1-13.
Description
Braking state analysis method, vehicle and medium Technical Field The application belongs to the technical field of vehicle braking, and particularly relates to a braking state analysis method, a vehicle and a medium. Background With the development of new energy automobiles and automatic driving technologies, the brake pedal is used as a key execution component, and the requirements on accuracy and reliability of state sensing are increasingly improved. Currently, detection techniques for brake pedal status rely primarily on a single signal source or a simple dual redundancy design. However, in practical applications, existing detection techniques have significant limitations. Because of single signal sources or simple redundant design, the system is susceptible to specific electromagnetic interference, mechanical wear or hydraulic fluctuation, so that the accuracy of identifying the basic state of the brake pedal, such as the pressing or releasing, is difficult to ensure. Therefore, how to accurately identify the brake pedal state is one of the hot problems of the current research. Disclosure of Invention The embodiment of the application aims to provide a braking state analysis method, a vehicle and a medium. In a first aspect, an embodiment of the present application provides a braking state analysis method, where a brake pedal is connected to a brake push rod, and the brake pedal is mechanically linked with a two-way switch, where the method includes: determining a travel signal corresponding to the brake push rod based on the displacement information of the brake push rod, and determining a switching signal corresponding to the two-way switch based on the switching state of the two-way switch; combining the travel signal and the switch signal to obtain a first braking state code; And determining an analysis result of the braking state based on the first braking state code and a mapping relation between the preset braking state code and the braking state. In a second aspect, an embodiment of the present application provides a vehicle comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing a method as described above In a third aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which, when executed by a processor, implement a method as described above. The embodiment of the application has the following advantages: According to the embodiment of the application, the travel signal corresponding to the brake push rod is determined based on the displacement information of the brake push rod, and the switch signal corresponding to the two-way switch is determined based on the switch state of the two-way switch. The application can perform unified characterization and fusion judgment on the signals acquired by the sensor by combining the travel signal and the switch signal to obtain the first braking state code, so that the signals are prevented from being isolated or simply compared, and the comprehensive braking state code which can be processed efficiently is formed. According to the application, the analysis result of the braking state is determined based on the first braking state code and the preset mapping relation between the braking state code and the braking state, so that the complex working condition jointly reflected by various signals can be accurately analyzed, the risk of misjudgment of the state is reduced, the capability of cooperatively judging the fault state of each component of the braking system is improved, and the running safety of the vehicle is fully ensured. Drawings In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following description will make brief description of the drawings used in the description of the embodiments or the prior art. FIG. 1 is a flowchart illustrating a braking state analyzing method according to an embodiment of the present application; FIG. 2 is a schematic diagram of a braking state analysis system according to an embodiment of the present application; FIG. 3 is a logic flow diagram of a brake status resolution according to an embodiment of the present application; FIG. 4 is a logic flow diagram of another braking state resolution provided by an embodiment of the present application. Detailed Description For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the following detailed description of the embodiments of the present application will be given with reference to the accompanying drawings. However, those of ordinary skill in the art will understand that in various embodiments of the present application, numerous technical details have been set forth in order to provide a better underst