Accelerator pedal zero position self-learning method, vehicle and storage medium
By calculating the accelerator pedal zero-position voltage value based on the vehicle status and voltage conditions in the vehicle's accelerator pedal zero-position self-learning method, the problems of inaccurate and excessively high frequency zero-position voltage self-learning are solved, achieving higher accuracy and lower learning frequency, and improving driving experience and safety.
Patent Information
- Application Number
- CN202510048434.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-13
- Publication Date
- 2025-10-10
- Estimated Expiration
- 2045-01-13
AI Technical Summary
The existing accelerator pedal zero position self-learning method has the problem that the zero position voltage self-learning result is not accurate enough and the frequency is too high.
By obtaining the current working status of the vehicle, determining whether the first preset condition is met, obtaining the measured voltage value of the accelerator pedal, and when the second preset condition is met, using the accelerator pedal linear loss difference to calculate the accelerator pedal zero-position voltage value, reducing the learning frequency, storing and updating the zero-position voltage value when the vehicle is powered off.
The accuracy of the accelerator pedal zero-position voltage self-learning results is improved, the learning frequency is reduced, and the driver's driving experience and vehicle safety are enhanced.
Smart Images

Figure CN119898186B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of vehicles, and in particular to an accelerator pedal zero position self-learning method, a vehicle and a storage medium. Background Art
[0002] Accelerator pedal signal analysis is a key step in identifying the driver's driving intent. During vehicle use, the probability of accelerator pedal zero-position signal drift increases with the frequency of accelerator pedal operation, ultimately leading to deviations in the accelerator pedal signal analysis results. Accelerator pedal zero-position self-learning methods have been proposed to alleviate this problem. However, existing accelerator pedal zero-position self-learning methods often suffer from the following technical issues: inaccurate zero-position voltage self-learning results and excessively high accelerator pedal zero-position self-learning frequencies. Summary of the Invention
[0003] The purpose of the present invention is to provide an accelerator pedal zero position self-learning method, a vehicle and a storage medium to alleviate or eliminate at least one of the above-mentioned technical problems.
[0004] The accelerator pedal zero position self-learning method of the present invention comprises the following steps:
[0005] Get the current working status of the vehicle;
[0006] If the current working state indicates that the vehicle currently meets a first preset condition for performing accelerator pedal zero position self-learning, obtaining a measured voltage value of the accelerator pedal;
[0007] If the measured voltage value satisfies the second preset condition, a voltage calculation value obtained by subtracting a preset accelerator pedal linear loss difference from the measured voltage value is used as the accelerator pedal zero position voltage value for this learning.
[0008] Optionally, the first preset condition includes: the vehicle is in a parked state, the accelerator pedal is not depressed, and the current zero position of the accelerator pedal is less than the zero position learned last time.
[0009] Optionally, the measured voltage value includes a first loop voltage value and a second loop voltage value, and the second preset condition includes a first sub-condition, and the first sub-condition includes: the first loop voltage value is within a valid range, the current accelerator pedal linearity is within a preset range, and the error between the first loop voltage value and the second loop voltage value is less than the theoretical error.
[0010] Optionally, the lower limit of the preset range is: (the minimum effective voltage value of the first circuit at full opening - the maximum effective voltage value of the first circuit at zero position) / 100%, the upper limit of the preset range is: (the maximum effective voltage value of the first circuit at full opening - the minimum effective voltage value of the first circuit at zero position) / 100%, and the current accelerator pedal linearity is: (the minimum effective voltage value of the first circuit at full opening - the first circuit voltage value) / 100%.
[0011] Optionally, the accelerator pedal zero-position voltage value learned this time is a voltage calculation value obtained by subtracting a preset accelerator pedal linear loss difference from the first circuit voltage value.
[0012] Optionally, the second preset condition further includes a second sub-condition, and the second sub-condition is that the duration of satisfying the first sub-condition is greater than a preset time.
[0013] Optionally, the accelerator pedal zero position self-learning method further includes the following steps: when the vehicle is powered off, storing the voltage calculation value.
[0014] Optionally, the accelerator pedal zero position self-learning method further includes the following steps: when the vehicle is powered on again, the accelerator pedal opening is calculated using the voltage calculation value as the accelerator pedal zero position voltage value.
[0015] The present invention also proposes a vehicle, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it can implement any one of the above-mentioned accelerator pedal zero position self-learning methods.
[0016] The present invention further proposes a storage medium having a computer program stored thereon. When the computer program is executed by a processor, the accelerator pedal zero position self-learning method as described in any one of the above items can be implemented.
[0017] The present invention can reduce the frequency of accelerator pedal zero position self-learning and improve the accuracy of the accelerator pedal zero position voltage self-learning result. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 is a flow chart of the accelerator pedal zero position self-learning method described in some embodiments;
[0019] Figure 2 is a flow chart of the accelerator pedal zero position self-learning method described in a specific example;
[0020] Figure 3 Schematic diagram of a vehicle described in some embodiments. DETAILED DESCRIPTION
[0021] The following describes the embodiments of the present invention with reference to the accompanying drawings and preferred embodiments. Those skilled in the art will readily appreciate the other advantages and benefits of the present invention from the disclosure herein. The present invention may also be implemented or applied through various other specific embodiments, and the various details in this specification may be modified or altered based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are intended only to illustrate the present invention and are not intended to limit the scope of protection of the present invention.
[0022] It should be noted that the illustrations provided in the following embodiments are merely schematic illustrations of the basic concept of the present invention. Therefore, the illustrations only show components related to the present invention and are not drawn according to the number, shape, and size of components in actual implementation. In actual implementation, the type, quantity, and proportion of each component may be changed arbitrarily, and the component layout may also be more complex.
[0023] like Figure 1 The accelerator pedal zero position self-learning method shown includes the following steps:
[0024] S100: Obtain the current working status of the vehicle;
[0025] S200: If the current working state indicates that the vehicle currently meets the first preset condition for performing accelerator pedal zero position self-learning, obtaining a measured voltage value of the accelerator pedal;
[0026] S300: If the measured voltage value satisfies the second preset condition, a voltage calculated value obtained by subtracting a preset accelerator pedal linear loss difference (in V) from the measured voltage value is used as the accelerator pedal zero position voltage value for this learning.
[0027] By adopting the above-mentioned accelerator pedal zero position self-learning method and introducing the accelerator pedal linear loss difference as the hysteresis factor, the time interval of accelerator pedal zero position learning can be determined more accurately based on the loss time required by the accelerator pedal linear loss degree, thereby reducing the number of accelerator pedal zero position learning times, effectively solving the problem of too frequent accelerator pedal zero position learning, and helping to improve the driver's driving experience.
[0028] During specific implementation, the accelerator pedal linear loss difference may be calibrated according to the accelerator pedal loss characteristics of the vehicle. For example, the accelerator pedal linear loss difference may be set to 0.005V.
[0029] In a specific implementation, the working state of the vehicle includes the running state of the vehicle and the state of the vehicle and vehicle components detected by the vehicle's sensors.
[0030] In some embodiments, the first pre-set condition includes: the vehicle is parked, the accelerator pedal is not depressed, and the accelerator pedal's current zero position is less than the last learned zero position. The accelerator pedal's zero position directly impacts driving safety. Therefore, by properly setting the first pre-set condition, accelerator pedal zero position self-learning is only permitted when the vehicle meets the first pre-set condition, helping to ensure driver and vehicle safety.
[0031] In a specific implementation, whether the vehicle is parked can be determined based on whether the vehicle speed is less than a preset speed value. The preset speed value is typically set at 3 km / h. When the vehicle speed is less than 3 km / h, the vehicle is determined to be parked. Whether the accelerator pedal's current zero position is less than the last learned zero position can be determined based on whether the accelerator pedal's opening is less than zero. When the accelerator pedal's opening is less than zero, the accelerator pedal's current zero position is determined to be less than the last learned zero position.
[0032] In some embodiments, the measured voltage value includes a first loop voltage value and a second loop voltage value, and the second preset condition includes a first sub-condition, and the first sub-condition includes: the first loop voltage value is within a valid range, the current accelerator pedal linearity is within a preset range, and the actual error between the first loop voltage value and the second loop voltage value is less than the theoretical error.
[0033] In practice, the aforementioned accelerator pedal zero position self-learning method is typically performed by a vehicle controller. This controller is affected by various factors, including the vehicle's state, component operating conditions, and component installation conditions. Consequently, it may receive abnormal accelerator pedal signal voltage values. Given that the learned accelerator pedal zero position voltage value is also calculated based on the received accelerator pedal signal voltage value, it is crucial to prevent the learning of an accelerator pedal zero position voltage value that is too large or too small. Setting the aforementioned first sub-condition prevents the learning of an accelerator pedal zero position voltage value that is too large or too small.
[0034] As a specific example, the lower limit of the preset range is: (the minimum effective voltage value of the first circuit at full opening - the maximum effective voltage value of the first circuit at zero position) / 100%, the upper limit of the preset range is: (the maximum effective voltage value of the first circuit at full opening - the minimum effective voltage value of the first circuit at zero position) / 100%, and the current accelerator pedal linearity is: (the minimum effective voltage value of the first circuit at full opening - the voltage value of the first circuit) / 100%. The above technical solution can better determine the preset range and the previous accelerator pedal linearity, and thus better determine whether the current accelerator pedal linearity is within the preset range.
[0035] During specific implementation, the effective range of the zero-position voltage of the first circuit [first preset value, second preset value] and the effective range of the full-opening voltage of the first circuit [second preset value, third preset value] can be obtained based on the voltage-opening characteristic curve of the accelerator pedal when it leaves the factory; the effective range of the zero-position voltage of the second circuit [fourth preset value, fifth preset value] and the effective range of the full-opening voltage of the second circuit [sixth preset value, seventh preset value] can be obtained; the second preset value can be set as the initial value of the zero-position voltage of the vehicle, and the third preset value can be set as the initial value of the full-opening voltage of the vehicle, and written into the VCU controller of the vehicle as a storage value.
[0036] The first preset value and the second preset value are respectively the minimum effective voltage value of the first circuit zero position and the maximum effective voltage value of the first circuit zero position, which are usually set to 1.8V and 2.4V respectively. The first preset value and the second preset value can be obtained through the accelerator pedal characteristic parameters and stored in the vehicle's VCU controller in advance.
[0037] The third preset value and the fourth preset value are respectively the minimum effective voltage value of the first circuit at full opening and the maximum effective voltage value of the first circuit at full opening, which are usually set to 3.8V and 4.4V respectively. The third preset value and the fourth preset value can be obtained through the accelerator pedal characteristic parameters and stored in the vehicle's VCU controller in advance.
[0038] Actual error X act You can refer to the formula: X act = U1-2*U2. The theoretical error X can be calculated using the formula: X = U1*allowable error coefficient. In the formula, U1 is the voltage value of the accelerator pedal's first circuit, U2 is the voltage value of the accelerator pedal's second circuit, and the error coefficient (in %) is usually set to 5%.
[0039] As a preferred example, the accelerator pedal zero-position voltage value learned this time is a voltage calculation value obtained by subtracting a preset accelerator pedal linear loss difference from the first circuit voltage value.
[0040] In some embodiments, the second preset condition also includes a second sub-condition, where the first sub-condition must be met for a duration greater than a preset time. Using the aforementioned technical solution, the preset time is incorporated into the second preset condition as a time factor. The new voltage calculation value is learned and stored in the controller only when the first sub-condition is met and the duration exceeds the preset time. This prevents the reception of a sudden accelerator pedal voltage signal from affecting the learning condition. In specific implementations, the preset time primarily considers the entire process from vehicle power-up to the driver driving the vehicle, and is typically set to 5 seconds.
[0041] In some embodiments, the method further comprises the step of storing the voltage calculation value when the vehicle is powered off. With the above technical solution, repeated self-learning when the vehicle is powered off and then powered on again can be prevented. In specific implementation, the voltage calculation value is usually stored in the VCU controller of the vehicle.
[0042] In specific implementation, the method further comprises the step of calculating the accelerator pedal opening degree with the voltage calculation value as the accelerator pedal zero position voltage value when the vehicle is powered on again.
[0043] To better illustrate the present application, the present application is described below in combination with a specific example, as shown in the accompanying drawings, wherein Figure 2 After the vehicle is powered on, the VCU controller enters the working state and starts to execute the accelerator pedal zero position self-learning method, which specifically comprises the following steps:
[0044] S101: read the vehicle speed, read the first preset value and the second preset value, read the first loop voltage value and the second loop voltage value, and read the accelerator pedal opening degree value to obtain the current working state of the vehicle.
[0045] S201: determine whether the vehicle speed is less than the vehicle speed preset value and the accelerator pedal opening degree value is less than zero; if the vehicle speed is less than the vehicle speed preset value and the accelerator pedal opening degree value is less than zero, execute S301, otherwise return to execute S101.
[0046] S301: start timing T.
[0047] S302: determine whether the first loop voltage value is within the valid range; if yes, execute S303, otherwise return to execute S101.
[0048] S303: calculate the current accelerator pedal linearity.
[0049] S304: determine whether the current accelerator pedal linearity is within the preset range and T is greater than the preset time; if the current accelerator pedal linearity is within the preset range and T is greater than the preset time, execute S305, otherwise return to execute S101.
[0050] S305: calculate the actual error and the theoretical error between the first loop voltage value and the second loop voltage value.
[0051] S306: determine whether the actual error between the first loop voltage value and the second loop voltage value is less than the theoretical error; if yes, execute S307, otherwise return to execute S101.
[0052] S307: calculate and learn the accelerator pedal zero position voltage value.
[0053] After learning the accelerator pedal zero position voltage value, if the vehicle is not powered off, the process returns to step S101. If the vehicle is powered off, the accelerator pedal zero position self-learning method ends.
[0054] like Figure 3 As shown, in some embodiments, the present invention also proposes a vehicle 10, which includes a memory 20, a processor 30, and a computer program stored in the memory 20 and executable on the processor 30. When the processor 30 executes the computer program, it can implement any of the above-mentioned accelerator pedal zero position self-learning methods.
[0055] The present invention also provides a storage medium having a computer program stored thereon. When the computer program is executed by a processor, any of the above-mentioned accelerator pedal zero position self-learning methods can be implemented.
[0056] The above embodiments are merely preferred embodiments for fully illustrating the present invention, and the scope of protection of the present invention is not limited thereto. Equivalent substitutions or transformations made by those skilled in the art on the basis of the present invention are all within the scope of protection of the present invention. In the description of this specification, the descriptions with reference to the terms "one embodiment", "some embodiments", "example", "specific example" or "some examples" etc. mean that the specific features, structures, materials or characteristics of the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification.
Claims
1. A method for self-learning the accelerator pedal zero position, characterized in that: The following steps are involved: Get the current working status of the vehicle; If the current working state indicates that the vehicle currently meets a first preset condition for performing accelerator pedal zero position self-learning, obtaining a measured voltage value of the accelerator pedal; If the measured voltage value satisfies the second preset condition, a voltage calculation value obtained by subtracting a preset accelerator pedal linear loss difference from the measured voltage value is used as the accelerator pedal zero position voltage value for this learning.
2. The accelerator pedal zero position self-learning method according to claim 1, characterized in that: The first preset condition includes: the vehicle is in a parked state, the accelerator pedal is not depressed, and the current zero position of the accelerator pedal is smaller than the last learned zero position.
3. The accelerator pedal zero position self-learning method according to claim 1, characterized in that: The measured voltage value includes a first loop voltage value and a second loop voltage value, and the second preset condition includes a first sub-condition, and the first sub-condition includes: the first loop voltage value is within a valid range, the current accelerator pedal linearity is within a preset range, and the error between the first loop voltage value and the second loop voltage value is less than a theoretical error.
4. The accelerator pedal zero position self-learning method according to claim 3, characterized in that: The lower limit of the preset range is: (the minimum effective voltage value of the first circuit at full opening - the maximum effective voltage value of the first circuit at zero position) / 100%, the upper limit of the preset range is: (the maximum effective voltage value of the first circuit at full opening - the minimum effective voltage value of the first circuit at zero position) / 100%, and the current accelerator pedal linearity is: (the minimum effective voltage value of the first circuit at full opening - the first circuit voltage value) / 100%.
5. The accelerator pedal zero position self-learning method according to claim 3, characterized in that: The accelerator pedal zero-position voltage value learned this time is a voltage calculation value obtained by subtracting a preset accelerator pedal linear loss difference from the first circuit voltage value.
6. The accelerator pedal zero position self-learning method according to claim 3, characterized in that: The second preset condition also includes a second sub-condition, and the second sub-condition is that the duration of satisfying the first sub-condition is greater than a preset time.
7. The accelerator pedal zero position self-learning method according to claim 1, characterized in that: The following steps are also included: When the vehicle is powered off, the voltage calculation value is stored.
8. The accelerator pedal zero position self-learning method according to claim 7, characterized in that: The following steps are also included: When the vehicle is powered on again, the accelerator pedal opening is calculated using the calculated voltage value as the accelerator pedal zero position voltage value.
9. A vehicle, characterized in that: It includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it can implement the accelerator pedal zero position self-learning method as described in any one of claims 1 to 8.
10. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the accelerator pedal zero position self-learning method according to any one of claims 1 to 8 can be implemented.
Citation Information
Patent Citations
Method and device for correcting opening degree of accelerator pedal, controller and vehicle
CN114572124A
Accelerator pedal zero point self-learning method, electronic equipment and storage medium
CN114802281A