Accelerator pedal opening degree control method and device and vehicle
By dynamically adjusting the filtering time and using a first-order filter to process the opening of the accelerator pedal, the fluctuation problem caused by the fixed filtering parameters of the accelerator pedal in the prior art is solved, and the stability and reliability of the vehicle in bumpy road sections are improved.
Patent Information
- Application Number
- CN202411229920.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-03
- Publication Date
- 2024-11-08
AI Technical Summary
In the prior art, the throttle pedal opening filtering parameters are fixed values and cannot be dynamically adjusted according to the dynamic working conditions of the vehicle, resulting in unnecessary fluctuations in the opening of the accelerator pedal during bumpy roads, affecting the reliability of the engine and the entire vehicle.
By obtaining the vertical acceleration of the vehicle and the change in the opening degree of the accelerator pedal, the filtering time is dynamically adjusted, and the original opening degree is filtered using a first-order filter to obtain the correction of the opening degree and control the opening degree of the accelerator pedal.
It effectively reduces the fluctuation of the accelerator pedal opening, improves the stability and reliability of the vehicle in bumpy road sections, and adapts to the filtering effect in a variety of driving situations.
Smart Images

Figure CN118906807A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of vehicle accelerator pedal control, and in particular, to an accelerator pedal opening control method, an accelerator pedal opening control device, a computer-readable storage medium, and a vehicle. Background Art
[0002] When the vehicle is driving on a bumpy road, the road surface will cause the cab and the driver's seat to vibrate, which will cause unnecessary fluctuations in the accelerator pedal opening. For example, the existing technology lacks the whole vehicle's operating status and cannot effectively distinguish whether the change in the accelerator pedal signal is caused by the external environment or the driver's demand. In extreme cases, it will cause extreme changes in the accelerator pedal opening, affecting the reliability of the engine and the whole vehicle.
[0003] In order to avoid abnormal fluctuations in the opening of the accelerator pedal, a filtering parameter is generally used to filter the original value of the accelerator pedal opening. However, the filtering parameters used in the prior art are generally fixed values, which cannot be dynamically switched according to the dynamic working conditions of the vehicle, and thus cannot adapt to the fluctuations in the throttle opening under various conditions, affecting the operation of the vehicle. Summary of the invention
[0004] The main purpose of the present application is to provide an accelerator pedal opening control method, an accelerator pedal opening control device, a computer-readable storage medium and a vehicle, so as to at least solve the problem in the prior art that the filter time cannot be adjusted and thus the pedal opening cannot be adjusted.
[0005] In order to achieve the above-mentioned purpose, according to one aspect of the present application, a method for controlling the opening of an accelerator pedal is provided, comprising: obtaining the vertical acceleration of the vehicle, and obtaining the original opening and current opening of the accelerator pedal, wherein the current opening represents the opening corresponding to the current moment, the original opening represents the opening of the accelerator pedal corresponding to the start moment of the accelerator pedal, and the vertical acceleration represents the acceleration in a direction perpendicular to the ground; determining the opening change of the accelerator pedal according to the original opening and the current opening, and determining the opening filtering time according to the vertical acceleration and the opening change of the accelerator pedal, wherein the opening filtering time is the filtering working time of the filter, and the filter is used to filter the original opening; filtering the original opening according to the opening filtering time to obtain a corrected opening, and controlling the opening of the accelerator pedal to be the corrected opening.
[0006] Optionally, the opening filter time is determined according to the vertical acceleration and the opening change of the accelerator pedal, including: calculating the absolute value of the vertical acceleration, and when the absolute value is greater than a severe impact threshold, determining the opening filter time to be a maximum filtering time; when the absolute value is less than a minimum impact threshold, determining the opening filter time to be a minimum filtering time, wherein the maximum filtering time is greater than the minimum filtering time; when the absolute value is greater than the minimum impact threshold and less than the severe impact threshold, determining the opening filter time according to the positive and negative values of the vertical acceleration and the opening change of the accelerator pedal.
[0007] Optionally, when the absolute value is greater than the minimum impact threshold and less than the severe impact threshold, the opening filter time is determined according to the positive and negative values of the vertical acceleration and the change in the opening of the accelerator pedal, including: when the vertical acceleration is a positive value and the opening of the accelerator pedal increases, the opening filter time is determined to be a first filtering time, wherein the first filtering time is less than the maximum filtering time and greater than the minimum filtering time; when the vertical acceleration is a positive value and the opening of the accelerator pedal decreases, the opening filter time is determined to be a second filtering time, wherein the second filtering time is less than the first filtering time; when the vertical acceleration is a negative value and the opening of the accelerator pedal increases, the opening filter time is determined to be a third filtering time, wherein the third filtering time is less than the second filtering time; when the vertical acceleration is a negative value and the opening of the accelerator pedal decreases, the opening filter time is determined to be a fourth filtering time, wherein the fourth filtering time is less than the third filtering time.
[0008] Optionally, determining the opening change of the accelerator pedal based on the original opening and the current opening includes: calculating the difference between the original opening and the current opening to obtain the opening difference; when the opening difference is a positive value, determining that the opening change is a decrease in the opening; when the opening difference is a negative value, determining that the opening change is an increase in the opening.
[0009] Optionally, the original opening is filtered according to the opening filtering time to obtain a corrected opening, including: constructing a first-order filter, wherein the filtering time of the first-order filter is the opening filtering time; and filtering the original opening through the first-order filter to obtain the corrected opening.
[0010] Optionally, the method also includes: obtaining a clutch pedal state and a brake pedal state, wherein the clutch pedal state indicates whether the clutch pedal is pressed, and the brake pedal state indicates whether the brake pedal is pressed; when the clutch pedal state indicates that the clutch pedal is pressed or the brake pedal state indicates that the brake pedal is pressed, resetting the opening of the accelerator pedal to the original opening.
[0011] Optionally, obtaining the vertical acceleration of the vehicle includes: obtaining the vertical acceleration through an acceleration sensor, wherein the acceleration sensor is built into the vehicle or externally disposed on the outside of the vehicle and is communicatively connected to the accelerator pedal.
[0012] According to another aspect of the present application, a throttle pedal opening control device is provided, comprising: a first acquisition unit, used to acquire the vertical acceleration of the vehicle, and acquire the original opening and current opening of the throttle pedal, wherein the current opening represents the opening corresponding to the current moment, the original opening represents the opening of the throttle pedal corresponding to the start moment of the throttle pedal, and the vertical acceleration represents the acceleration in the direction perpendicular to the ground; a determination unit, used to determine the opening change of the throttle pedal according to the original opening and the current opening, and determine the opening filtering time according to the vertical acceleration and the opening change of the throttle pedal, wherein the opening filtering time is the working time of the filter, and the filter is used to filter the original opening; a control unit, used to filter the original opening according to the opening filtering time to obtain a corrected opening, and control the opening of the throttle pedal to be the corrected opening.
[0013] According to another aspect of the present application, a computer-readable storage medium is provided, which includes a stored program, wherein when the program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the methods for controlling the opening of the accelerator pedal.
[0014] According to another aspect of the present application, a vehicle is provided, comprising an acceleration sensor, an accelerator pedal, a clutch pedal, a brake pedal and a controller, wherein the controller comprises one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include a method for executing any one of the accelerator pedal opening control methods.
[0015] The technical solution of the present application is applied to obtain the vertical acceleration of the vehicle, and obtain the original opening and current opening of the accelerator pedal, wherein the current opening indicates the opening corresponding to the current moment, the original opening indicates the opening of the accelerator pedal corresponding to the start moment of the accelerator pedal, and the vertical acceleration indicates the acceleration perpendicular to the ground direction; the opening change of the accelerator pedal is determined according to the original opening and the current opening, and the opening filtering time is determined according to the vertical acceleration and the opening change of the accelerator pedal, wherein the opening filtering time is the filtering working time of the filter, and the filter is used to filter the original opening; the original opening is filtered according to the opening filtering time to obtain the corrected opening, and the opening of the accelerator pedal is controlled to be the corrected opening. Compared with the prior art, which adopts a fixed filtering time and cannot be adjusted according to the actual driving situation, resulting in the inability to adjust the pedal according to the actual situation, the present application monitors the vertical acceleration and determines the filtering time of the filter in combination with the opening change of the accelerator pedal, that is, selects different filtering times according to different acceleration situations, can adapt to various situations, and achieve better filtering effect. Therefore, the problem in the prior art that the filter time cannot be adjusted and thus the pedal opening cannot be adjusted can be solved, so that the pedal opening can be adjusted according to the actual situation of the vehicle to reduce vehicle fluctuations and improve vehicle reliability. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The drawings constituting part of the present application are used to provide a further understanding of the present application. The exemplary embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0017] Figure 1 A hardware structure block diagram of a mobile terminal for executing an accelerator pedal opening control method provided in an embodiment of the present application is shown;
[0018] Figure 2 A schematic flow chart of a method for controlling the opening of an accelerator pedal provided in an embodiment of the present application is shown;
[0019] Figure 3 A communication connection diagram of an accelerator pedal provided in an embodiment of the present application is shown;
[0020] Figure 4 A flow chart of a specific accelerator pedal opening control method provided in an embodiment of the present application is shown;
[0021] Figure 5 A flow chart of a method for calculating filtering time provided in an embodiment of the present application is shown;
[0022] Figure 6 A flow chart of a specific method for calculating the opening change of an accelerator pedal provided in an embodiment of the present application is shown;
[0023] Figure 7 A structural block diagram of an accelerator pedal opening control device provided in an embodiment of the present application is shown.
[0024] The above drawings include the following reference numerals:
[0025] 102, processor; 104, memory; 106, transmission device; 108, input and output devices. DETAILED DESCRIPTION
[0026] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0027] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0028] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0029] As introduced in the background technology, the prior art adopts a fixed filtering time and cannot be adjusted according to the actual driving conditions, resulting in the inability to adjust the pedal according to the actual conditions. In order to solve the problem that the filtering time cannot be adjusted and thus the pedal opening cannot be adjusted, the embodiments of the present application provide an accelerator pedal opening control method, an accelerator pedal opening control device, a computer-readable storage medium and a vehicle.
[0030] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention.
[0031] The method embodiments provided in the embodiments of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a mobile terminal as an example, Figure 1 1 is a hardware structure block diagram of a mobile terminal of a method for controlling the opening of an accelerator pedal according to an embodiment of the present invention. Figure 1 As shown, the mobile terminal may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the mobile terminal may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the mobile terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations shown.
[0032] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the method for controlling the opening of the accelerator pedal in the embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, the above method is implemented. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories can be connected to the mobile terminal via a network. Examples of the above-mentioned network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof. The transmission device 106 is used to receive or send data via a network. The above-mentioned specific examples of the network may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0033] In this embodiment, a method for controlling the opening of an accelerator pedal running on a mobile terminal, a computer terminal or a similar computing device is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0034] Figure 2 FIG. 1 is a flow chart of a method for controlling the opening degree of an accelerator pedal according to an embodiment of the present application. Figure 2 As shown, the method comprises the following steps:
[0035] Step S201, obtaining the vertical acceleration of the vehicle, and obtaining the original opening and current opening of the accelerator pedal, wherein the current opening indicates the opening corresponding to the current moment, the original opening indicates the opening of the accelerator pedal corresponding to the start moment of the accelerator pedal, and the vertical acceleration indicates the acceleration in the direction perpendicular to the ground;
[0036] Specifically, since the vehicle will generate acceleration perpendicular to the ground when it is bumpy, in order to measure the bumpy state of the vehicle, the built-in acceleration sensor is used to measure the acceleration value in the vertical direction of the vehicle, that is, the acceleration perpendicular to the ground, which can reflect the movement state of the vehicle in the direction perpendicular to the ground. According to the acceleration value, different accelerator pedal filter values are selected to reduce the impact of the road, which helps to improve the economy and reliability of the whole vehicle. The filter value also needs to be determined by the change in the pedal opening. Therefore, it is also necessary to obtain the original opening corresponding to the accelerator pedal start time and the current opening corresponding to the current time after the accelerator pedal is started.
[0037] Step S202, determining the opening change of the accelerator pedal according to the original opening and the current opening, and determining the opening filtering time according to the vertical acceleration and the opening change of the accelerator pedal, wherein the opening filtering time is the filtering working time of the filter, and the filter is used to filter the original opening;
[0038] Specifically, after obtaining the original opening and the current opening, the opening change of the accelerator pedal in the time period from the start time to the current time can be determined. Of course, in the actual application process, the opening change of the accelerator pedal in any time period can be counted, for example: once every half a minute, once every one minute, etc., that is, the opening change from a certain moment after the start to the current moment can be counted. Then, the filtering time can be determined according to the vertical acceleration and the opening change of the accelerator pedal, and then the current opening can be filtered.
[0039] Step S203, filtering the original opening according to the opening filtering time to obtain a corrected opening, and controlling the opening of the accelerator pedal to be the corrected opening.
[0040] Specifically, after calculating the opening filtering time, the current opening is filtered to obtain a corrected opening, and the opening of the accelerator pedal is controlled to be the corrected opening. This can filter out the impact of external environment such as bumpy road conditions on the vehicle, making the vehicle more stable and reliable.
[0041] Through this embodiment, the vertical acceleration of the vehicle is obtained, and the original opening and current opening of the accelerator pedal are obtained, wherein the current opening represents the opening corresponding to the current moment, the original opening represents the opening of the accelerator pedal corresponding to the start moment of the accelerator pedal, and the vertical acceleration represents the acceleration perpendicular to the ground direction; the opening change of the accelerator pedal is determined according to the original opening and the current opening, and the opening filtering time is determined according to the vertical acceleration and the opening change of the accelerator pedal, wherein the opening filtering time is the filtering working time of the filter, and the filter is used to filter the original opening; the original opening is filtered according to the opening filtering time to obtain the corrected opening, and the opening of the accelerator pedal is controlled to be the corrected opening. Compared with the prior art, which adopts a fixed filtering time and cannot be adjusted according to the actual driving situation, resulting in the inability to adjust the pedal according to the actual situation, the present application monitors the vertical acceleration and determines the filtering time of the filter in combination with the opening change of the accelerator pedal, that is, selects different filtering times according to different acceleration situations, can adapt to various situations, and achieve better filtering effect. Therefore, the problem in the prior art that the filter time cannot be adjusted and thus the pedal opening cannot be adjusted can be solved, so that the pedal opening can be adjusted according to the actual situation of the vehicle to reduce vehicle fluctuations and improve vehicle reliability.
[0042] In the specific implementation process, the above step S202 determines the opening filter time according to the vertical acceleration and the opening change of the accelerator pedal, which can be implemented by the following steps: Step S2021: Calculate the absolute value of the vertical acceleration, and when the absolute value is greater than the severe impact threshold, determine the opening filter time as the maximum filter time; Step S2022: When the absolute value is less than the minimum impact threshold, determine the opening filter time as the minimum filter time, wherein the maximum filter time is greater than the minimum filter time; Step S2023: When the absolute value is greater than the minimum impact threshold and less than the severe impact threshold, determine the opening filter time according to the positive and negative values of the vertical acceleration and the opening change of the accelerator pedal. The method determines the opening filter time under different circumstances through the above steps, so that different filter times can be selected according to actual conditions, so as to achieve the effect of dynamically switching the filter time to dynamically adjust the accelerator pedal opening.
[0043] In the specific implementation process, the calculation logic of the accelerator pedal opening includes a first-order filter and a filter time calculation module. The first-order filter is used to perform first-order filtering on the original accelerator pedal opening. When the brake pedal is pressed or the clutch pedal is pressed, the state of the first-order filter is reset to the original accelerator pedal opening. At this time, the filtered accelerator pedal opening is consistent with the original accelerator pedal opening. The filter time calculation module selects different filter times according to the accelerator pedal opening change value and the vehicle vertical acceleration value to filter non-driver intention signals. When the absolute value of the vertical acceleration exceeds the severe impact threshold, the opening filter time is the maximum filter time, and the maximum filter time is the severe impact filter time. The filter time becomes longer to effectively filter the impact of the impact signal on the accelerator pedal signal. When the absolute value of the vertical acceleration is less than the minimum impact threshold, it is switched to the minimum filter time, that is, the normal filter time. At this time, it is considered that the vehicle dynamics will not affect the accelerator pedal opening. In the remaining cases, that is, when the absolute value is greater than the minimum impact threshold and less than the severe impact threshold, the opening filtering time is further determined according to four cases of positive and negative values of the vertical acceleration and the opening change of the accelerator pedal.
[0044] In order to divide the operation of the vehicle more finely to determine the opening filter time under different circumstances, step S2023 determines the opening filter time according to the positive and negative values of the vertical acceleration and the change in the opening of the accelerator pedal when the absolute value is greater than the minimum impact threshold and less than the severe impact threshold. This can be achieved by the following steps: when the vertical acceleration is a positive value and the opening of the accelerator pedal increases, the opening filter time is determined to be a first filtering time, wherein the first filtering time is less than the maximum filtering time and greater than the minimum filtering time; when the vertical acceleration is a positive value and the opening of the accelerator pedal decreases, the opening filter time is determined to be a second filtering time, wherein the second filtering time is less than the first filtering time; when the vertical acceleration is a negative value and the opening of the accelerator pedal increases, the opening filter time is determined to be a third filtering time, wherein the third filtering time is less than the second filtering time; when the vertical acceleration is a negative value and the opening of the accelerator pedal decreases, the opening filter time is determined to be a fourth filtering time, wherein the fourth filtering time is less than the third filtering time. The method determines the corresponding filtering time in each different situation through the above steps, so that different filtering times can be used for filtering in different situations.
[0045] Specifically, when the vertical acceleration is positive and the opening of the accelerator pedal becomes larger, it indicates that the vehicle has a downward acceleration, and the increasing opening of the accelerator pedal indicates that the vehicle is accelerating, so the corresponding bumpy situation may be more serious, requiring a longer filtering time for filtering, and the opening filtering time is determined to be the first filtering time; when the vertical acceleration is positive and the opening of the accelerator pedal becomes smaller, it indicates that the vehicle has a downward acceleration, and the decreasing opening of the accelerator pedal indicates that the vehicle may be decelerating, and the corresponding bumpy situation is lighter than the first case above, so this case The second filtering time corresponding to the first case can be less than the first filtering time; when the vertical acceleration is a negative value and the opening of the accelerator pedal becomes larger, it indicates that the vehicle has an upward acceleration, and the increase in the opening of the accelerator pedal indicates that the vehicle is accelerating, indicating that the vehicle is generally bumpy, so the third filtering time can be less than the above second filtering time; in the last case, the vertical acceleration is a negative value and the opening of the accelerator pedal becomes smaller, which indicates that the vehicle is less bumpy and may be decelerating, so the corresponding fourth filtering time can be less than the third filtering time. The above first filtering time, second filtering time, third filtering time and fourth filtering time are all greater than the minimum filtering time and less than the maximum filtering time. The size of the specific filtering time can be calibrated according to experiments.
[0046] In some optional implementations, the above step S202 determines the opening change of the accelerator pedal according to the original opening and the current opening, which can be achieved by the following steps: calculating the difference between the original opening and the current opening to obtain the opening difference; when the opening difference is a positive value, determining that the opening change is a smaller opening; when the opening difference is a negative value, determining that the opening change is an increased opening. The method determines the opening change through the above steps, which can provide a reference for determining the opening filter time.
[0047] During the specific implementation process, the opening difference is a positive value, indicating that the original opening is greater than the current opening, that is, the opening has become smaller from the time the accelerator pedal is activated to the current moment; the opening difference is a negative value, indicating that the original opening is less than the current opening, that is, the opening has become larger from the time the accelerator pedal is activated to the current moment.
[0048] In order to adjust the opening, in some optional implementations, the above step S203 filters the original opening according to the opening filtering time to obtain the corrected opening, which can be achieved by the following steps: step S2031: construct a first-order filter, wherein the filtering time of the first-order filter is the opening filtering time; step S2032: filter the original opening through the first-order filter to obtain the corrected opening. The method performs first-order filtering on the original opening through the above steps, and the filtering time of the first-order filter is the opening filtering time, so that filtering can be accurately and conveniently achieved.
[0049] Specifically, the transfer function expression of the first-order filter is G(s)=1 / (Ts+1), where T is the opening filtering time, s is the Laplace operator, and G(s) represents the transfer function value of the accelerator pedal opening after filtering, that is, the corrected opening. In actual application, other filters can also be used.
[0050] In order to improve the control process of the pedal opening filter time, the method further includes the following steps: Step S204: obtaining the clutch pedal state and the brake pedal state, wherein the clutch pedal state indicates whether the clutch pedal is stepped on, and the brake pedal state indicates whether the brake pedal is stepped on; Step S205: when the clutch pedal state indicates that the clutch pedal is stepped on or the brake pedal state indicates that the brake pedal is stepped on, resetting the opening of the accelerator pedal to the original opening. The method controls the resetting of the accelerator pedal through the above steps, so that the opening of the accelerator pedal can be dynamically adjusted in the above situation.
[0051] In the specific implementation process, when the brake pedal is pressed or the clutch pedal is pressed, the state of the first-order filter is reset to the original accelerator pedal opening. At this time, the filtered accelerator pedal opening is consistent with the original accelerator pedal opening.
[0052] In some optional implementations, the above step S201 of obtaining the vertical acceleration of the vehicle can be implemented by the following steps: obtaining the vertical acceleration through an acceleration sensor, wherein the acceleration sensor is built into the vehicle or externally placed outside the vehicle and is in communication with the accelerator pedal. The method obtains the vertical acceleration by setting the acceleration sensor, so that the acceleration can be accurately obtained.
[0053] Specifically, the acceleration sensor can be built-in or external, and transmits the acceleration signal measured by the acceleration sensor to the corresponding controller, so that the controller further calculates the filtering time and performs filtering processing on the original opening.
[0054] In order to enable those skilled in the art to more clearly understand the technical solution of the present application, the implementation process of the accelerator pedal opening control method of the present application will be described in detail below in conjunction with specific embodiments.
[0055] Figure 3 A communication connection schematic diagram of an accelerator pedal is shown, and a controller receives and processes the signal of the accelerator pedal and the signal of the acceleration sensor respectively to execute the above-mentioned accelerator pedal opening control method.
[0056] This embodiment relates to a specific accelerator pedal opening control method, such as Figure 4 As shown, the following steps are included:
[0057] Step S1: The original opening of the accelerator pedal in the first-order filter is used as input and initial state value;
[0058] Step S2: the clutch pedal is pressed or the brake pedal is pressed, and the initial state pin is reset to the above initial state value by setting the initial state pin;
[0059] Step S3: The vehicle vertical acceleration value and the original accelerator pedal opening are used together to calculate the filtering time (T). The expression of the first-order filter is G(s)=1 / (Ts+1), and the filtered accelerator pedal opening is output.
[0060] Figure 5 A flow chart of a method for calculating filtering time is shown, such as Figure 5 As shown, the following steps are included:
[0061] Step S4: Pedal change calculation: Calculate the change value of the original opening of the accelerator pedal according to the original opening of the accelerator pedal;
[0062] Step S5: When the vehicle vertical acceleration value |u|≥severe impact threshold (maximum impact threshold), the filtering time is switched to severe impact filtering time;
[0063] Step S6: When the absolute value of the vertical acceleration |u| is less than or equal to the impact threshold (minimum impact threshold), the normal filtering time is switched to, and it is considered that the vehicle dynamics will not affect the accelerator pedal opening;
[0064] Step S7: The remaining situations are divided into four situations for processing. When the acceleration signal is positive and the accelerator pedal opening increases, the scenario 1 filtering time (the first filtering time) is adopted.
[0065] Step S8: When the acceleration signal is positive and the accelerator pedal opening decreases, the scenario 2 filtering time (second filtering time) is used;
[0066] Step S9: When the acceleration signal is negative and the accelerator pedal opening increases, the scenario 3 filtering time (third filtering time) is used;
[0067] Step S10: When the acceleration signal is negative and the accelerator pedal opening decreases, the scenario 4 filtering time (the fourth filtering time) is adopted.
[0068] Figure 6 A specific flow chart of a device for calculating the opening change of an accelerator pedal is shown, Figure 6 As shown, the following steps are included:
[0069] The original opening of the accelerator pedal passes the signal delay time t 0 , calculate the opening difference after the delay and get the original opening change value of the accelerator pedal.
[0070] The embodiment of the present application also provides an opening control device for an accelerator pedal. It should be noted that the opening control device for an accelerator pedal in the embodiment of the present application can be used to execute the opening control device for an accelerator pedal provided in the embodiment of the present application. The device is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware for a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0071] The following is an introduction to the accelerator pedal opening control device provided in an embodiment of the present application.
[0072] Figure 7 Schematic diagram of an accelerator pedal opening control device according to an embodiment of the present application. Figure 7 As shown, the device comprises:
[0073] A first acquisition unit 10 is used to acquire the vertical acceleration of the vehicle, and acquire the original opening and current opening of the accelerator pedal, wherein the current opening represents the opening corresponding to the current moment, the original opening represents the opening of the accelerator pedal corresponding to the start moment of the accelerator pedal, and the vertical acceleration represents the acceleration in a direction perpendicular to the ground;
[0074] Specifically, since the vehicle will generate acceleration perpendicular to the ground when it is bumpy, in order to measure the bumpy state of the vehicle, the built-in acceleration sensor is used to measure the acceleration value in the vertical direction of the vehicle, that is, the acceleration perpendicular to the ground, which can reflect the movement state of the vehicle in the direction perpendicular to the ground. According to the acceleration value, different accelerator pedal filter values are selected to reduce the impact of the road, which helps to improve the economy and reliability of the whole vehicle. The filter value also needs to be determined by the change in the pedal opening. Therefore, it is also necessary to obtain the original opening corresponding to the accelerator pedal start time and the current opening corresponding to the current time after the accelerator pedal is started.
[0075] a determination unit 20, configured to determine the opening change of the accelerator pedal according to the original opening and the current opening, and to determine the opening filtering time according to the vertical acceleration and the opening change of the accelerator pedal, wherein the opening filtering time is the working time of a filter, and the filter is used to filter the original opening;
[0076] Specifically, after obtaining the original opening and the current opening, the opening change of the accelerator pedal in the time period from the start time to the current time can be determined. Of course, in the actual application process, the opening change of the accelerator pedal in any time period can be counted, for example: once every half a minute, once every one minute, etc., that is, the opening change from a certain moment after the start to the current moment can be counted. Then, the filtering time can be determined according to the vertical acceleration and the opening change of the accelerator pedal, and then the current opening can be filtered.
[0077] The control unit 30 is used to filter the original opening according to the opening filtering time to obtain a corrected opening, and control the opening of the accelerator pedal to be the corrected opening.
[0078] Specifically, after calculating the opening filtering time, the current opening is filtered to obtain a corrected opening, and the opening of the accelerator pedal is controlled to be the corrected opening. This can filter out the impact of external environment such as bumpy road conditions on the vehicle, making the vehicle more stable and reliable.
[0079] Through this embodiment, the vertical acceleration of the vehicle is obtained, and the original opening and current opening of the accelerator pedal are obtained, wherein the current opening represents the opening corresponding to the current moment, the original opening represents the opening of the accelerator pedal corresponding to the start moment of the accelerator pedal, and the vertical acceleration represents the acceleration perpendicular to the ground direction; the opening change of the accelerator pedal is determined according to the original opening and the current opening, and the opening filtering time is determined according to the vertical acceleration and the opening change of the accelerator pedal, wherein the opening filtering time is the filtering working time of the filter, and the filter is used to filter the original opening; the original opening is filtered according to the opening filtering time to obtain the corrected opening, and the opening of the accelerator pedal is controlled to be the corrected opening. Compared with the prior art, which adopts a fixed filtering time and cannot be adjusted according to the actual driving situation, resulting in the inability to adjust the pedal according to the actual situation, the present application monitors the vertical acceleration and determines the filtering time of the filter in combination with the opening change of the accelerator pedal, that is, selects different filtering times according to different acceleration situations, can adapt to various situations, and achieve better filtering effect. Therefore, the problem in the prior art that the filter time cannot be adjusted and thus the pedal opening cannot be adjusted can be solved, so that the pedal opening can be adjusted according to the actual situation of the vehicle to reduce vehicle fluctuations and improve vehicle reliability.
[0080] In the specific implementation process, the above-mentioned determination unit includes a first determination module, a second determination module and a third determination module. The first determination module is used to calculate the absolute value of the vertical acceleration, and when the absolute value is greater than the severe impact threshold, the opening filter time is determined to be the maximum filter time; the second determination module is used to determine the opening filter time as the minimum filter time when the absolute value is less than the minimum impact threshold, wherein the maximum filter time is greater than the minimum filter time; the third determination module is used to determine the opening filter time according to the positive and negative values of the vertical acceleration and the opening change of the accelerator pedal when the absolute value is greater than the minimum impact threshold and less than the severe impact threshold. The device determines the opening filter time under different circumstances through the above steps, so that different filter times can be selected according to actual conditions, so as to achieve the effect of dynamically switching the filter time to dynamically adjust the accelerator pedal opening.
[0081] In the specific implementation process, the calculation logic of the accelerator pedal opening includes a first-order filter and a filter time calculation module. The first-order filter is used to perform first-order filtering on the original accelerator pedal opening. When the brake pedal is pressed or the clutch pedal is pressed, the state of the first-order filter is reset to the original accelerator pedal opening. At this time, the filtered accelerator pedal opening is consistent with the original accelerator pedal opening. The filter time calculation module selects different filter times according to the accelerator pedal opening change value and the vehicle vertical acceleration value to filter non-driver intention signals. When the absolute value of the vertical acceleration exceeds the severe impact threshold, the opening filter time is the maximum filter time, and the maximum filter time is the severe impact filter time. The filter time becomes longer to effectively filter the impact of the impact signal on the accelerator pedal signal. When the absolute value of the vertical acceleration is less than the minimum impact threshold, it is switched to the minimum filter time, that is, the normal filter time. At this time, it is considered that the vehicle dynamics will not affect the accelerator pedal opening. In the remaining cases, that is, when the absolute value is greater than the minimum impact threshold and less than the severe impact threshold, the opening filtering time is further determined according to four cases of positive and negative values of the vertical acceleration and the opening change of the accelerator pedal.
[0082] In order to divide the running conditions of the vehicle more finely to determine the opening filtering time under different conditions, the third determining module includes a first determining submodule, a second determining submodule, a third determining submodule and a fourth determining submodule. The first determining submodule is used to determine that the opening filtering time is a first filtering time when the vertical acceleration is a positive value and the opening of the accelerator pedal becomes larger, wherein the first filtering time is less than the maximum filtering time and greater than the minimum filtering time; the second determining submodule is used to determine that the opening filtering time is a second filtering time when the vertical acceleration is a positive value and the opening of the accelerator pedal becomes smaller, wherein the second filtering time is less than the first filtering time; the third determining submodule is used to determine that the opening filtering time is a third filtering time when the vertical acceleration is a negative value and the opening of the accelerator pedal becomes larger, wherein the third filtering time is less than the second filtering time; the fourth determining submodule is used to determine that the opening filtering time is a fourth filtering time when the vertical acceleration is a negative value and the opening of the accelerator pedal becomes smaller, wherein the fourth filtering time is less than the third filtering time. The device determines the corresponding filtering time in each different situation through the above steps, so that different filtering times can be used for filtering in different situations.
[0083] Specifically, when the vertical acceleration is positive and the opening of the accelerator pedal becomes larger, it indicates that the vehicle has a downward acceleration, and the increasing opening of the accelerator pedal indicates that the vehicle is accelerating, so the corresponding bumpy situation may be more serious, requiring a longer filtering time for filtering, and the opening filtering time is determined to be the first filtering time; when the vertical acceleration is positive and the opening of the accelerator pedal becomes smaller, it indicates that the vehicle has a downward acceleration, and the decreasing opening of the accelerator pedal indicates that the vehicle may be decelerating, and the corresponding bumpy situation is lighter than the first case above, so this case The second filtering time corresponding to the first case can be less than the first filtering time; when the vertical acceleration is a negative value and the opening of the accelerator pedal becomes larger, it indicates that the vehicle has an upward acceleration, and the increase in the opening of the accelerator pedal indicates that the vehicle is accelerating, indicating that the vehicle is generally bumpy, so the third filtering time can be less than the above second filtering time; in the last case, the vertical acceleration is a negative value and the opening of the accelerator pedal becomes smaller, which indicates that the vehicle is less bumpy and may be decelerating, so the corresponding fourth filtering time can be less than the third filtering time. The above first filtering time, second filtering time, third filtering time and fourth filtering time are all greater than the minimum filtering time and less than the maximum filtering time. The size of the specific filtering time can be calibrated according to experiments.
[0084] In some optional implementations, the determination unit further includes a calculation module, a fourth calculation module and a fifth determination module, wherein the calculation module is used to calculate the difference between the original opening and the current opening to obtain the opening difference; the fourth calculation module is used to determine that the opening change is a smaller opening when the opening difference is a positive value; and the fifth determination module is used to determine that the opening change is an increased opening when the opening difference is a negative value. The device determines the opening change through the above steps, which can provide a reference for determining the opening filter time.
[0085] During the specific implementation process, the opening difference is a positive value, indicating that the original opening is greater than the current opening, that is, the opening has become smaller from the time the accelerator pedal is activated to the current moment; the opening difference is a negative value, indicating that the original opening is less than the current opening, that is, the opening has become larger from the time the accelerator pedal is activated to the current moment.
[0086] In order to adjust the opening, in some optional implementations, the control unit includes a construction module and a filtering processing module, the construction module is used to construct a first-order filter, wherein the filtering time of the first-order filter is the opening filtering time; the filtering processing module is used to filter the original opening through the first-order filter to obtain the corrected opening. The device performs first-order filtering on the original opening through the above steps, and the filtering time of the first-order filter is the opening filtering time, so that filtering can be accurately and conveniently achieved.
[0087] Specifically, the transfer function expression of the first-order filter is G(s)=1 / (Ts+1), where T is the opening filtering time, s is the Laplace operator, and G(s) represents the transfer function value of the accelerator pedal opening after filtering, that is, the corrected opening. In actual application, other filters can also be used.
[0088] In order to improve the control process of the pedal opening filter time, the device also includes a second acquisition unit and a reset unit. The second acquisition unit is used to acquire the clutch pedal state and the brake pedal state, wherein the clutch pedal state indicates whether the clutch pedal is stepped on, and the brake pedal state indicates whether the brake pedal is stepped on; the reset unit is used to reset the opening of the accelerator pedal to the original opening when the clutch pedal state indicates that the clutch pedal is stepped on or the brake pedal state indicates that the brake pedal is stepped on. The device controls the resetting of the accelerator pedal through the above steps, so that the opening of the accelerator pedal can be dynamically adjusted in the above situation.
[0089] In the specific implementation process, when the brake pedal is pressed or the clutch pedal is pressed, the state of the first-order filter is reset to the original accelerator pedal opening. At this time, the filtered accelerator pedal opening is consistent with the original accelerator pedal opening.
[0090] In some optional embodiments, the first acquisition unit includes a first acquisition module, which is used to acquire the vertical acceleration through an acceleration sensor, wherein the acceleration sensor is built into the vehicle or externally placed outside the vehicle and is in communication with the accelerator pedal. The device acquires the vertical acceleration by setting the acceleration sensor, so that the acceleration can be accurately acquired.
[0091] Specifically, the acceleration sensor can be built-in or external, and transmits the acceleration signal measured by the acceleration sensor to the corresponding controller, so that the controller further calculates the filtering time and performs filtering processing on the original opening.
[0092] The accelerator pedal opening control device includes a processor and a memory, and the first acquisition unit, the determination unit and the control unit are stored in the memory as program units, and the processor executes the program units stored in the memory to implement corresponding functions. The above modules are all located in the same processor; or, the above modules are located in different processors in any combination.
[0093] The processor includes a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be set, and the opening of the accelerator pedal can be adjusted by adjusting the kernel parameters.
[0094] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0095] An embodiment of the present invention provides a computer-readable storage medium, which includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the accelerator pedal opening control method.
[0096] Specifically, the accelerator pedal opening control method includes:
[0097] Step S201, obtaining the vertical acceleration of the vehicle, and obtaining the original opening and current opening of the accelerator pedal, wherein the current opening indicates the opening corresponding to the current moment, the original opening indicates the opening of the accelerator pedal corresponding to the start moment of the accelerator pedal, and the vertical acceleration indicates the acceleration in the direction perpendicular to the ground;
[0098] Specifically, since the vehicle will generate acceleration perpendicular to the ground when it is bumpy, in order to measure the bumpy state of the vehicle, the built-in acceleration sensor is used to measure the acceleration value in the vertical direction of the vehicle, that is, the acceleration perpendicular to the ground, which can reflect the movement state of the vehicle in the direction perpendicular to the ground. According to the acceleration value, different accelerator pedal filter values are selected to reduce the impact of the road, which helps to improve the economy and reliability of the whole vehicle. The filter value also needs to be determined by the change in the pedal opening. Therefore, it is also necessary to obtain the original opening corresponding to the accelerator pedal start time and the current opening corresponding to the current time after the accelerator pedal is started.
[0099] Step S202, determining the opening change of the accelerator pedal according to the original opening and the current opening, and determining the opening filtering time according to the vertical acceleration and the opening change of the accelerator pedal, wherein the opening filtering time is the filtering working time of the filter, and the filter is used to filter the original opening;
[0100] Specifically, after obtaining the original opening and the current opening, the opening change of the accelerator pedal in the time period from the start time to the current time can be determined. Of course, in the actual application process, the opening change of the accelerator pedal in any time period can be counted, for example: once every half a minute, once every one minute, etc., that is, the opening change from a certain moment after the start to the current moment can be counted. Then, the filtering time can be determined according to the vertical acceleration and the opening change of the accelerator pedal, and then the current opening can be filtered.
[0101] Step S203, filtering the original opening according to the opening filtering time to obtain a corrected opening, and controlling the opening of the accelerator pedal to be the corrected opening.
[0102] Specifically, after calculating the opening filtering time, the current opening is filtered to obtain a corrected opening, and the opening of the accelerator pedal is controlled to be the corrected opening. This can filter out the impact of external environment such as bumpy road conditions on the vehicle, making the vehicle more stable and reliable.
[0103] An embodiment of the present invention provides an electronic device, including a processor, a memory, and a program stored in the memory and executable on the processor, wherein when the processor executes the program, at least the following steps are implemented:
[0104] Step S201, obtaining the vertical acceleration of the vehicle, and obtaining the original opening and current opening of the accelerator pedal, wherein the current opening indicates the opening corresponding to the current moment, the original opening indicates the opening of the accelerator pedal corresponding to the start moment of the accelerator pedal, and the vertical acceleration indicates the acceleration in the direction perpendicular to the ground;
[0105] Specifically, since the vehicle will generate acceleration perpendicular to the ground when it is bumpy, in order to measure the bumpy state of the vehicle, the built-in acceleration sensor is used to measure the acceleration value in the vertical direction of the vehicle, that is, the acceleration perpendicular to the ground, which can reflect the movement state of the vehicle in the direction perpendicular to the ground. According to the acceleration value, different accelerator pedal filter values are selected to reduce the impact of the road, which helps to improve the economy and reliability of the whole vehicle. The filter value also needs to be determined by the change in the pedal opening. Therefore, it is also necessary to obtain the original opening corresponding to the accelerator pedal start time and the current opening corresponding to the current time after the accelerator pedal is started.
[0106] Step S202, determining the opening change of the accelerator pedal according to the original opening and the current opening, and determining the opening filtering time according to the vertical acceleration and the opening change of the accelerator pedal, wherein the opening filtering time is the filtering working time of the filter, and the filter is used to filter the original opening;
[0107] Specifically, after obtaining the original opening and the current opening, the opening change of the accelerator pedal in the time period from the start time to the current time can be determined. Of course, in the actual application process, the opening change of the accelerator pedal in any time period can be counted, for example: once every half a minute, once every one minute, etc., that is, the opening change from a certain moment after the start to the current moment can be counted. Then, the filtering time can be determined according to the vertical acceleration and the opening change of the accelerator pedal, and then the current opening can be filtered.
[0108] Step S203, filtering the original opening according to the opening filtering time to obtain a corrected opening, and controlling the opening of the accelerator pedal to be the corrected opening.
[0109] Specifically, after calculating the opening filtering time, the current opening is filtered to obtain a corrected opening, and the opening of the accelerator pedal is controlled to be the corrected opening. This can filter out the impact of external environment such as bumpy road conditions on the vehicle, making the vehicle more stable and reliable.
[0110] The devices in this article can be servers, PCs, PADs, mobile phones, etc.
[0111] The present application also provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the method described in each embodiment of the present application:
[0112] Step S201, obtaining the vertical acceleration of the vehicle, and obtaining the original opening and current opening of the accelerator pedal, wherein the current opening indicates the opening corresponding to the current moment, the original opening indicates the opening of the accelerator pedal corresponding to the start moment of the accelerator pedal, and the vertical acceleration indicates the acceleration in the direction perpendicular to the ground;
[0113] Specifically, since the vehicle will generate acceleration perpendicular to the ground when it is bumpy, in order to measure the bumpy state of the vehicle, the built-in acceleration sensor is used to measure the acceleration value in the vertical direction of the vehicle, that is, the acceleration perpendicular to the ground, which can reflect the movement state of the vehicle in the direction perpendicular to the ground. According to the acceleration value, different accelerator pedal filter values are selected to reduce the impact of the road, which helps to improve the economy and reliability of the whole vehicle. The filter value also needs to be determined by the change in the pedal opening. Therefore, it is also necessary to obtain the original opening corresponding to the accelerator pedal start time and the current opening corresponding to the current time after the accelerator pedal is started.
[0114] Step S202, determining the opening change of the accelerator pedal according to the original opening and the current opening, and determining the opening filtering time according to the vertical acceleration and the opening change of the accelerator pedal, wherein the opening filtering time is the filtering working time of the filter, and the filter is used to filter the original opening;
[0115] Specifically, after obtaining the original opening and the current opening, the opening change of the accelerator pedal in the time period from the start time to the current time can be determined. Of course, in the actual application process, the opening change of the accelerator pedal in any time period can be counted, for example: once every half a minute, once every one minute, etc., that is, the opening change from a certain moment after the start to the current moment can be counted. Then, the filtering time can be determined according to the vertical acceleration and the opening change of the accelerator pedal, and then the current opening can be filtered.
[0116] Step S203, filtering the original opening according to the opening filtering time to obtain a corrected opening, and controlling the opening of the accelerator pedal to be the corrected opening.
[0117] Specifically, after calculating the opening filtering time, the current opening is filtered to obtain a corrected opening, and the opening of the accelerator pedal is controlled to be the corrected opening. This can filter out the impact of external environment such as bumpy road conditions on the vehicle, making the vehicle more stable and reliable.
[0118] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.
[0119] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0120] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0121] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0122] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0123] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0124] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0125] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0126] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0127] From the above description, it can be seen that the above embodiments of the present application achieve the following technical effects:
[0128] 1) In the accelerator pedal opening control method of the present application, the vertical acceleration of the vehicle is obtained, and the original opening and current opening of the accelerator pedal are obtained, wherein the current opening represents the opening corresponding to the current moment, the original opening represents the opening of the accelerator pedal corresponding to the start moment of the accelerator pedal, and the vertical acceleration represents the acceleration in the direction perpendicular to the ground; the opening change of the accelerator pedal is determined according to the original opening and the current opening, and the opening filtering time is determined according to the vertical acceleration and the opening change of the accelerator pedal, wherein the opening filtering time is the filtering working time of the filter, and the filter is used to filter the original opening; the original opening is filtered according to the opening filtering time to obtain a corrected opening, and the opening of the accelerator pedal is controlled to be the corrected opening. Compared with the prior art, which uses a fixed filtering time and cannot be adjusted according to the actual driving situation, resulting in the inability to adjust the pedal according to the actual situation, the present application monitors the vertical acceleration and determines the filtering time of the filter in combination with the change in the opening of the accelerator pedal, that is, selects different filtering times according to different acceleration conditions, can adapt to a variety of situations, and achieve a better filtering effect. Therefore, it can solve the problem that the filtering time cannot be adjusted in the prior art and thus the pedal opening cannot be adjusted, and achieves the effect of adjusting the pedal opening according to the actual situation of the vehicle to reduce vehicle fluctuations and improve vehicle reliability.
[0129] 2) In the accelerator pedal opening control device of the present application, the vertical acceleration of the vehicle is obtained, and the original opening and current opening of the accelerator pedal are obtained, wherein the current opening represents the opening corresponding to the current moment, the original opening represents the opening of the accelerator pedal corresponding to the start moment of the accelerator pedal, and the vertical acceleration represents the acceleration in the direction perpendicular to the ground; the opening change of the accelerator pedal is determined according to the original opening and the current opening, and the opening filtering time is determined according to the vertical acceleration and the opening change of the accelerator pedal, wherein the opening filtering time is the filtering working time of the filter, and the filter is used to filter the original opening; the original opening is filtered according to the opening filtering time to obtain a corrected opening, and the opening of the accelerator pedal is controlled to be the corrected opening. Compared with the prior art, which uses a fixed filtering time and cannot be adjusted according to the actual driving situation, resulting in the inability to adjust the pedal according to the actual situation, the present application monitors the vertical acceleration and determines the filtering time of the filter in combination with the change in the opening of the accelerator pedal, that is, selects different filtering times according to different acceleration conditions, can adapt to a variety of situations, and achieve a better filtering effect. Therefore, it can solve the problem that the filtering time cannot be adjusted in the prior art and thus the pedal opening cannot be adjusted, and achieves the effect of adjusting the pedal opening according to the actual situation of the vehicle to reduce vehicle fluctuations and improve vehicle reliability.
[0130] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A method for controlling the opening of an accelerator pedal, characterized in that: include: Obtaining the vertical acceleration of the vehicle, and obtaining the original opening and current opening of the accelerator pedal, wherein the current opening indicates the opening corresponding to the current moment, the original opening indicates the opening of the accelerator pedal corresponding to the start moment of the accelerator pedal, and the vertical acceleration indicates the acceleration in a direction perpendicular to the ground; Determining the opening change of the accelerator pedal according to the original opening and the current opening, and determining the opening filtering time according to the vertical acceleration and the opening change of the accelerator pedal, wherein the opening filtering time is the filtering working time of the filter, and the filter is used to filter the original opening; The original opening is filtered according to the opening filtering time to obtain a corrected opening, and the opening of the accelerator pedal is controlled to be the corrected opening.
2. The opening control method according to claim 1, characterized in that: Determining the opening filtering time according to the vertical acceleration and the opening change of the accelerator pedal includes: Calculating the absolute value of the vertical acceleration, and when the absolute value is greater than a severe impact threshold, determining the opening filter time to be a maximum filter time; When the absolute value is less than the minimum impact threshold, the opening filtering time is determined to be the minimum filtering time, wherein the maximum filtering time is greater than the minimum filtering time; When the absolute value is greater than the minimum impact threshold and less than the severe impact threshold, the opening filtering time is determined according to the positive and negative values of the vertical acceleration and the opening change of the accelerator pedal.
3. The opening control method according to claim 2, characterized in that: When the absolute value is greater than the minimum impact threshold and less than the severe impact threshold, determining the opening filtering time according to the positive and negative values of the vertical acceleration and the opening change of the accelerator pedal includes: When the vertical acceleration is positive and the opening of the accelerator pedal increases, determining the opening filtering time to be a first filtering time, wherein the first filtering time is less than the maximum filtering time and greater than the minimum filtering time; When the vertical acceleration is positive and the opening of the accelerator pedal becomes smaller, determining the opening filtering time to be a second filtering time, wherein the second filtering time is smaller than the first filtering time; When the vertical acceleration is a negative value and the opening of the accelerator pedal increases, determining the opening filtering time to be a third filtering time, wherein the third filtering time is less than the second filtering time; When the vertical acceleration is a negative value and the opening of the accelerator pedal becomes smaller, the opening filtering time is determined to be a fourth filtering time, wherein the fourth filtering time is smaller than the third filtering time.
4. The opening control method according to claim 1, characterized in that: Determining the opening change of the accelerator pedal according to the original opening and the current opening includes: Calculating the difference between the original opening and the current opening to obtain an opening difference; When the opening difference is a positive value, determining that the opening change is a decrease in the opening; When the opening difference is a negative value, it is determined that the opening change is an increase in the opening.
5. The opening control method according to claim 1, characterized in that: The original opening is filtered according to the opening filtering time to obtain a corrected opening, including: Constructing a first-order filter, wherein the filtering time of the first-order filter is the opening filtering time; The original opening is filtered by the first-order filter to obtain the corrected opening.
6. The opening control method according to claim 1, characterized in that: The method further comprises: Acquire a clutch pedal state and a brake pedal state, wherein the clutch pedal state indicates whether the clutch pedal is pressed, and the brake pedal state indicates whether the brake pedal is pressed; When the clutch pedal state indicates that the clutch pedal is depressed or the brake pedal state indicates that the brake pedal is depressed, the opening degree of the accelerator pedal is reset to the original opening degree.
7. The opening control method according to claim 1, characterized in that: Get the vertical acceleration of the vehicle, including: The vertical acceleration is acquired by an acceleration sensor, wherein the acceleration sensor is built into the vehicle or externally disposed on the vehicle and is communicatively connected with the accelerator pedal.
8. An accelerator pedal opening control device, characterized in that: include: A first acquisition unit is used to acquire the vertical acceleration of the vehicle, and acquire the original opening and current opening of the accelerator pedal, wherein the current opening represents the opening corresponding to the current moment, the original opening represents the opening of the accelerator pedal corresponding to the start moment of the accelerator pedal, and the vertical acceleration represents the acceleration in a direction perpendicular to the ground; a determination unit, configured to determine the opening change of the accelerator pedal according to the original opening and the current opening, and to determine the opening filtering time according to the vertical acceleration and the opening change of the accelerator pedal, wherein the opening filtering time is the working time of a filter, and the filter is used to filter the original opening; The control unit is used to filter the original opening according to the opening filtering time to obtain a corrected opening, and control the opening of the accelerator pedal to be the corrected opening.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the accelerator pedal opening control method according to any one of claims 1 to 7.
10. A vehicle, characterized in that: It includes an acceleration sensor, an accelerator pedal, a clutch pedal, a brake pedal and a controller, wherein the controller includes one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include a method for executing the opening control method of the accelerator pedal described in any one of claims 1 to 7.
