CN-121973624-A - Vehicle control method, device, vehicle, storage medium, and program product
Abstract
The application discloses a vehicle control method, a vehicle control device, a vehicle, a storage medium and a program product. The method comprises the steps of collecting first voltage corresponding to a first path of signal of an accelerator pedal and second voltage corresponding to a second path of signal during power-on of a vehicle, determining effective signals in the first path of signal and the second path of signal based on the containing relation between the first voltage and the second voltage and a normal voltage range respectively, determining the control state of the driver on the accelerator pedal based on the magnitude relation between the third voltage corresponding to the effective signals and a voltage threshold value when the effective signals are any one of the first path of signal and the second path of signal, and obtaining target opening degree generated by the fact that the driver steps on the accelerator pedal again based on the effective signals when the control state is that the driver releases the accelerator pedal, and controlling the vehicle based on the target opening degree. According to the embodiment of the application, the safety of the vehicle can be improved under the complex fault modes such as a short power supply and the like.
Inventors
- LU LILAI
Assignees
- 上海洛轲智能科技有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20260206
Claims (10)
- 1. A vehicle control method characterized by comprising: during the power-on period of the vehicle, collecting a first voltage corresponding to a first path of signal of an accelerator pedal and a second voltage corresponding to a second path of signal; Determining effective signals in the first path of signals and the second path of signals based on inclusion relations between the first voltage and the second voltage and normal voltage ranges respectively; Determining a control state of the driver on the accelerator pedal based on a magnitude relation between a third voltage currently corresponding to the effective signal and a voltage threshold value under the condition that the effective signal is any one of the first path signal and the second path signal; acquiring a target opening degree generated by the driver pressing the accelerator pedal again based on the effective signal when the control state is that the driver releases the accelerator pedal; And controlling the vehicle based on the target opening degree.
- 2. The method of claim 1, wherein the determining the driver's control state of the accelerator pedal based on the magnitude relation between the third voltage to which the effective signal currently corresponds and a voltage threshold value comprises: determining the control state as the driver releasing the accelerator pedal in the case where the third voltage is less than or equal to the voltage threshold; And determining the control state as the driver does not release the accelerator pedal when the third voltage is greater than the voltage threshold.
- 3. The method of claim 1, wherein after said determining the driver's control state of the accelerator pedal, the method further comprises: and setting the opening degree of the accelerator pedal to a first value under the condition that the control state is that the driver does not release the accelerator pedal, and returning to execute the magnitude relation between the third voltage currently corresponding to the effective signal and the voltage threshold value to determine the control state of the accelerator pedal by the driver until the control state is that the driver releases the accelerator pedal, wherein the first value is used for interrupting the power output of the vehicle.
- 4. The method according to claim 1, wherein, in the case where the control state is that the driver releases the accelerator pedal, the obtaining the target opening degree due to the driver's depression of the accelerator pedal again based on the effective signal includes: Acquiring a fourth voltage generated by the driver pressing the accelerator pedal again based on the effective signal when the control state is that the driver releases the accelerator pedal; The target opening degree is determined based on the fourth voltage.
- 5. The method of claim 4, wherein the determining the target opening based on the fourth voltage comprises: determining a first opening corresponding to the fourth voltage; Determining the first opening as the target opening in the case that the first opening is less than or equal to an opening threshold; and determining the opening threshold as the target opening when the first opening is greater than the opening threshold.
- 6. The method of any of claims 1-5, wherein after determining a valid signal in the first and second signals, the method further comprises: Setting an opening degree of the accelerator pedal to a second value for limiting a power output of the vehicle in a case where the effective signal is null; And controlling the vehicle based on the opening corresponding to the second value.
- 7. A vehicle control apparatus, characterized in that the apparatus comprises: The acquisition module is used for acquiring a first voltage corresponding to a first path of signal of the accelerator pedal and a second voltage corresponding to a second path of signal during the power-on period of the vehicle; The determining module is used for determining effective signals in the first path of signals and the second path of signals based on the inclusion relation between the first voltage and the second voltage and the normal voltage range respectively; The determining module is further configured to determine, when the effective signal is any one of the first signal and the second signal, a control state of the driver on the accelerator pedal based on a magnitude relation between a third voltage currently corresponding to the effective signal and a voltage threshold; The acquisition module is used for acquiring a target opening degree generated by the fact that the driver presses the accelerator pedal again based on the effective signal under the condition that the control state is that the driver releases the accelerator pedal; and the control module is used for controlling the vehicle based on the target opening degree.
- 8. A vehicle comprising a processor and a memory storing computer program instructions; The processor, when executing the computer program instructions, implements the vehicle control method as claimed in any one of claims 1-6.
- 9. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon computer program instructions, which when executed by a processor, implement the vehicle control method according to any one of claims 1-6.
- 10. A computer program product, characterized in that instructions in the computer program product, when executed by a processor of an electronic device, cause the electronic device to perform the vehicle control method according to any one of claims 1-6.
Description
Vehicle control method, device, vehicle, storage medium, and program product Technical Field The present application relates to the field of vehicle technologies, and in particular, to a vehicle control method, a device, a vehicle, a storage medium, and a program product. Background With the improvement of the electric and intelligent levels of the automobile, the power and the dynamic response speed of the driving system of the automobile are obviously enhanced. The accelerator pedal is used as a central control input of the vehicle, and the functional safety of the accelerator pedal directly relates to the safety of the vehicle. Any unintended acceleration or abnormal stall due to an error in the accelerator pedal signal may cause a serious safety accident. Hardware redundancy design is currently commonly adopted to improve vehicle safety. Specifically, the accelerator pedal sensor is typically equipped with two separate signal acquisition circuits, including a separate power supply, a sensing unit, and a signal transmission path. When one of the signals fails due to hardware faults such as circuit breaking, ground short circuit and the like, the system can be automatically switched to the other normal signal, so that the basic acceleration control function is maintained. However, the above-described method cannot cope with a complicated failure mode such as a short power supply. For example, in the case where one signal continues to output a high level due to a short power failure and the other signal is normal, simple signal switching logic may erroneously determine a failed high level as a valid driving instruction, resulting in unintended acceleration of the vehicle, constituting a significant safety hazard. Therefore, there is a need for a vehicle control scheme to improve vehicle safety in complex failure modes. Disclosure of Invention Embodiments of the present application provide a vehicle control method, apparatus, vehicle, computer-readable storage medium, and computer program product, capable of avoiding unexpected acceleration that may be caused by directly switching signals and blindly trusting an effective signal at a fault moment, thereby improving vehicle safety in complex fault modes such as a short power supply. In a first aspect, an embodiment of the present application provides a vehicle control method, including: during the power-on period of the vehicle, collecting a first voltage corresponding to a first path of signal of an accelerator pedal and a second voltage corresponding to a second path of signal; Determining effective signals in the first path of signals and the second path of signals based on inclusion relations between the first voltage and the second voltage and normal voltage ranges respectively; Determining a control state of the driver on the accelerator pedal based on a magnitude relation between a third voltage currently corresponding to the effective signal and a voltage threshold value under the condition that the effective signal is any one of the first path signal and the second path signal; acquiring a target opening degree generated by the driver pressing the accelerator pedal again based on the effective signal when the control state is that the driver releases the accelerator pedal; And controlling the vehicle based on the target opening degree. In one possible implementation manner, the determining the control state of the accelerator pedal by the driver based on the magnitude relation between the third voltage currently corresponding to the effective signal and the voltage threshold includes: determining the control state as the driver releasing the accelerator pedal in the case where the third voltage is less than or equal to the voltage threshold; And determining the control state as the driver does not release the accelerator pedal when the third voltage is greater than the voltage threshold. In one possible implementation, after the determining the control state of the accelerator pedal by the driver, the method further includes: and setting the opening degree of the accelerator pedal to a first value under the condition that the control state is that the driver does not release the accelerator pedal, and returning to execute the magnitude relation between the third voltage currently corresponding to the effective signal and the voltage threshold value to determine the control state of the accelerator pedal by the driver until the control state is that the driver releases the accelerator pedal, wherein the first value is used for interrupting the power output of the vehicle. In one possible implementation manner, the obtaining, based on the valid signal, the target opening degree generated by the driver pressing the accelerator pedal again when the control state is that the driver releases the accelerator pedal includes: Acquiring a fourth voltage generated by the driver pressing the accelerator pedal again based on the effective signal when the control