Opening degree determination method and device and computer equipment
By obtaining and calculating the calibration and actual voltage of the pedal system, the opening of the vehicle pedal is accurately determined, which solves the problems of misjudgment and misjudgment of voltage signal processing in traditional pedal systems, and improves driving performance and safety.
Patent Information
- Application Number
- CN202411102144.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-12
- Publication Date
- 2024-11-19
AI Technical Summary
Traditional pedal systems have problems of misjudgment or misjudgment in voltage signal processing, which affects vehicle driving performance and safety, especially due to voltage signal interference and sensor aging.
By obtaining the calibration zero voltage, actual zero voltage and percentage voltage, the theoretical opening is calculated, and the current opening of the vehicle pedal is determined using this theoretical opening. The error correction mechanism is used to accurately determine the actual opening to reduce voltage signal interference and sensors Error caused by aging.
It improves the accuracy of vehicle pedal opening measurement, reduces misjudgment and misjudgment, and enhances the driving performance and safety of the vehicle.
Smart Images

Figure CN118977718A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle technology, and in particular to a method, device and computer equipment for determining an opening. Background Art
[0002] In the field of automotive electronic control systems, the pedal system is a key technology, and its performance directly affects the driving performance and safety of the vehicle. The main function of the pedal system is to convert the force of the driver's pedal into a voltage signal, and then process this voltage signal through the Electronic Control Unit (ECU) to control the engine speed. In this process, the voltage signal processing technology is very important, which determines the accuracy and reliability of the pedal system.
[0003] In conventional technology, when judging whether a pedal is faulty, the current pedal opening and the self-learning opening are calculated and compared to determine whether the pedal is stuck.
[0004] However, in practice, due to various reasons, such as interference of voltage signals, aging of sensors, etc., there may be deviations in the analysis of pedal signals or calculation of the degree of opening, leading to misjudgment or missed judgment. Therefore, improvement is urgently needed. Summary of the invention
[0005] Based on this, it is necessary to provide a method, device and computer equipment for determining the opening of a vehicle pedal that can improve the accuracy of the opening measurement in actual use in order to solve the above technical problems.
[0006] In a first aspect, the present application provides a method for determining an opening, comprising:
[0007] Obtain the calibrated zero-point voltage of the vehicle pedal at zero opening in the factory link, the actual zero-point voltage of the vehicle pedal at zero opening in the use link, and the percentage point voltage of the vehicle pedal at the maximum opening in the use link;
[0008] According to the calibrated zero-point voltage, the actual zero-point voltage and the percentage point voltage, determine the theoretical opening corresponding to the actual zero-point voltage in the use link;
[0009] According to the theoretical opening, the actual current opening of the vehicle pedal under the current opening voltage during the use phase is determined.
[0010] In one embodiment, determining the theoretical opening corresponding to the actual zero point voltage in the use link according to the calibrated zero point voltage, the actual zero point voltage and the percentage point voltage includes:
[0011] Subtract the calibrated zero point voltage from the actual zero point voltage to obtain the zero point offset voltage;
[0012] Subtract the calibration zero voltage from the percentage voltage to obtain the percentage offset voltage;
[0013] The ratio between the zero point offset voltage and the percentage point offset voltage is taken as the theoretical opening corresponding to the actual zero point voltage.
[0014] In one embodiment, determining the actual current opening of the vehicle pedal at the current opening voltage during the use phase according to the theoretical opening includes:
[0015] If the time duration of the theoretical opening being less than the jamming fault opening reaches a set time threshold, the actual current opening of the vehicle pedal under the current opening voltage during the use phase is determined based on the theoretical opening.
[0016] In one embodiment, determining the actual current opening of the vehicle pedal at the current opening voltage during the use phase according to the theoretical opening includes:
[0017] The opening ratio corresponding to the theoretical opening is used as the use error factor of the vehicle pedal in the use link;
[0018] According to the calibrated zero-point voltage, the standard current opening of the vehicle pedal under the current opening voltage in the factory process is determined;
[0019] According to the use error factor, the standard current opening is corrected to obtain the actual current opening of the vehicle pedal under the current opening voltage in the use link.
[0020] In one embodiment, the standard current opening is corrected according to the use error factor to obtain the actual current opening of the vehicle pedal at the current opening voltage during the use phase, including:
[0021] Subtract the usage error factor from 1 to obtain the opening correction factor of the vehicle pedal in the usage phase;
[0022] Subtract the actual zero voltage from the percentage voltage to obtain the theoretical percentage opening of the vehicle pedal in the use phase;
[0023] The product of the theoretical percentage opening and the opening correction factor is taken as the correction percentage opening;
[0024] The ratio between the standard current opening and the correction percentage point opening is used as the actual current opening of the vehicle pedal under the current opening voltage during the use phase.
[0025] In one embodiment, if the number of vehicle pedals is two, obtaining the calibrated zero-point voltage of the vehicle pedal at zero opening during the factory process includes:
[0026] Obtain the initial zero-point voltage of each vehicle pedal at zero-point opening during the factory delivery process;
[0027] Verify whether the initial zero-point voltage corresponding to the pedals of each vehicle is a valid voltage;
[0028] According to the verification results, the calibrated zero-point voltage of the vehicle pedal at the zero-point opening during the factory delivery process is determined from the initial zero-point voltage corresponding to each vehicle pedal.
[0029] In one embodiment, according to the verification result, the calibrated zero-point voltage of the vehicle pedal at the zero-point opening in the factory link is determined from the initial zero-point voltage corresponding to each vehicle pedal, including:
[0030] If the verification result indicates that the initial zero-point voltages corresponding to the pedals of various vehicles are all valid voltages, the minimum value of the initial zero-point voltages corresponding to the pedals of various vehicles is used as the calibrated zero-point voltage of the vehicle pedal at the zero-point opening during the factory delivery process;
[0031] If the verification result indicates that only one initial zero-point voltage corresponding to one vehicle pedal is a valid voltage, then the initial zero-point voltage corresponding to the vehicle pedal is used as the calibrated zero-point voltage when the vehicle pedal is at zero opening during the factory delivery process.
[0032] In one embodiment, verifying whether the initial zero-point voltage corresponding to each vehicle pedal is a valid voltage includes:
[0033] For each vehicle pedal, determine the reference voltage range according to the theoretical voltage upper limit and theoretical voltage lower limit corresponding to the vehicle pedal;
[0034] According to the voltage error upper limit and voltage error lower limit corresponding to the vehicle pedal at the factory stage, the reference voltage range is adjusted to obtain the effective voltage range;
[0035] When the initial zero-point voltage corresponding to the vehicle pedal falls within the effective voltage interval, the initial zero-point voltage corresponding to the vehicle pedal is determined to be the effective voltage.
[0036] In a second aspect, the present application also provides an opening determination device, comprising:
[0037] An acquisition module is used to acquire the calibrated zero-point voltage of the vehicle pedal at zero opening in the factory link, the actual zero-point voltage of the vehicle pedal at zero opening in the use link, and the percentage point voltage of the vehicle pedal at the maximum opening in the use link;
[0038] Theoretical calculation module, used to determine the theoretical opening corresponding to the actual zero point voltage in the use link according to the calibrated zero point voltage, the actual zero point voltage and the percentage point voltage;
[0039] The opening determination module is used to determine the actual current opening of the vehicle pedal under the current opening voltage during the use phase according to the theoretical opening.
[0040] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0041] Obtain the calibrated zero-point voltage of the vehicle pedal at zero opening in the factory link, the actual zero-point voltage of the vehicle pedal at zero opening in the use link, and the percentage point voltage of the vehicle pedal at the maximum opening in the use link;
[0042] According to the calibrated zero-point voltage, the actual zero-point voltage and the percentage point voltage, determine the theoretical opening corresponding to the actual zero-point voltage in the use link;
[0043] According to the theoretical opening, the actual current opening of the vehicle pedal under the current opening voltage during the use phase is determined.
[0044] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the following steps are implemented:
[0045] Obtain the calibrated zero-point voltage of the vehicle pedal at zero opening in the factory link, the actual zero-point voltage of the vehicle pedal at zero opening in the use link, and the percentage point voltage of the vehicle pedal at the maximum opening in the use link;
[0046] According to the calibrated zero-point voltage, the actual zero-point voltage and the percentage point voltage, determine the theoretical opening corresponding to the actual zero-point voltage in the use link;
[0047] According to the theoretical opening, the actual current opening of the vehicle pedal under the current opening voltage during the use phase is determined.
[0048] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:
[0049] Obtain the calibrated zero-point voltage of the vehicle pedal at zero opening in the factory link, the actual zero-point voltage of the vehicle pedal at zero opening in the use link, and the percentage point voltage of the vehicle pedal at the maximum opening in the use link;
[0050] According to the calibrated zero-point voltage, the actual zero-point voltage and the percentage point voltage, determine the theoretical opening corresponding to the actual zero-point voltage in the use link;
[0051] According to the theoretical opening, the actual current opening of the vehicle pedal under the current opening voltage during the use phase is determined.
[0052] The above-mentioned method, device and computer equipment for determining the opening actually measure the voltage of the vehicle pedal at the zero point position (i.e., the actual zero point voltage) and the voltage at the percentage point position (percentage point voltage), and calculate the theoretical opening corresponding to the actual zero point voltage in the use link based on the above-mentioned voltage measurement results and the calibrated zero point voltage; the corresponding relationship between the actual zero point voltage and the theoretical opening represents the performance of the vehicle pedal in actual use, and under this performance, the actual current opening of the vehicle pedal under the current opening voltage in the use link is determined, thereby achieving the effect of accurately determining the opening of the vehicle pedal in combination with the actual performance of the vehicle pedal. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0054] FIG1 is a schematic flow chart of a method for determining an opening degree in one embodiment;
[0055] FIG2 is a flow chart of a step of determining the actual current opening of a vehicle pedal at a current opening voltage during use in one embodiment;
[0056] FIG3 is a flow chart of a step of determining a theoretical opening corresponding to an actual zero voltage in a use link in another embodiment;
[0057] FIG4 is a schematic diagram of a flow chart of steps for correcting the standard current opening in one embodiment;
[0058] FIG5 is a flow chart of a step of obtaining a calibrated zero-point voltage of a vehicle pedal at a zero-point opening in a factory delivery link in one embodiment;
[0059] FIG6 is a structural block diagram of an opening determination device in one embodiment;
[0060] FIG. 7 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0061] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0062] In a vehicle, when the driver steps on a pedal (such as the accelerator pedal or brake pedal), the slider of an angle sensor (usually a voltage divider type) will rotate. This rotation will change the resistance distribution inside the sensor, thereby generating a voltage corresponding to the angle (i.e. the pedal opening). This voltage analog quantity is the key signal used by the vehicle's Electronic Control Unit (ECU) to determine the pedal position.
[0063] In an exemplary embodiment, as shown in FIG1 , a method for determining the degree of opening is provided, which is described by taking the method applied to a vehicle controller as an example, and includes the following S101 to S103. Among them:
[0064] S101, obtaining the calibrated zero-point voltage of the vehicle pedal at zero opening in the factory stage, the actual zero-point voltage of the vehicle pedal at zero opening in the use stage, and the percentage voltage of the vehicle pedal at the maximum opening in the use stage.
[0065] The calibrated zero voltage is the calibrated voltage value measured at zero opening when the vehicle pedal leaves the factory. It represents the standard voltage that the sensor should output when the pedal is not stepped on.
[0066] The actual zero voltage is the voltage value measured when the pedal is at zero opening during actual use of the vehicle pedal. Due to factors such as sensor aging and environmental changes, this value may be different from the factory calibrated zero voltage.
[0067] The percentage point voltage is the voltage value measured when the pedal reaches the maximum opening during the actual use of the vehicle pedal. It represents the voltage that the sensor should output when the pedal is fully stepped on.
[0068] S102, determining the theoretical opening corresponding to the actual zero point voltage in the use link according to the calibrated zero point voltage, the actual zero point voltage and the percentage point voltage.
[0069] It can be understood that, when there is no fault in the vehicle pedal, the ratio between the calibrated zero point voltage and the calibrated percentage point voltage can be characterized as the vehicle pedal being at the zero point position.
[0070] However, if a fault occurs during the use of the vehicle pedal but the fault has not yet reached the point of replacement, the actual zero-point voltage and percentage voltage corresponding to the vehicle pedal will be offset. At this time, the ratio between the actual zero-point voltage after the offset and the percentage voltage after the offset cannot accurately indicate that the vehicle pedal is in the zero-point position, but may indicate that the vehicle pedal is in other opening positions.
[0071] For example, in the factory stage, a pedal opening of 0% corresponds to a voltage of 1V, and a pedal opening of 100% corresponds to a voltage of 2V. In the use stage, the output voltage of the pedal at zero opening is 1.2V, and the output voltage of the pedal at 100% opening is 2.2V.
[0072] If calculated directly according to the factory calibration relationship (linear relationship), the opening ratio of 1.2V / 2V will not be 0%, but a value greater than 0%, such as 20%, which represents the actual opening of the vehicle pedal; if calculated according to the opening relationship in the usage link, the ratio corresponding to 1.2V is 1.2V / 2.2V, which cannot represent the actual opening of the vehicle pedal.
[0073] Therefore, in this embodiment, with the calibrated zero-point voltage as a reference, a self-learning method can be used to measure the proportional relationship between the actual zero-point voltage and the percentage point voltage multiple times to determine the actual proportional relationship between the voltage and the opening degree when the vehicle pedal is in use; based on the actual proportional relationship, the theoretical opening degree corresponding to the actual zero-point voltage is determined.
[0074] S103, determining the actual current opening of the vehicle pedal at the current opening voltage during the use phase according to the theoretical opening.
[0075] The current opening voltage is the current opening voltage output by the vehicle pedal when it is in use.
[0076] Specifically, the opening relationship between the actual current opening and the theoretical opening can be determined according to the voltage difference between the current opening voltage and the actual zero point voltage, and then the actual current opening of the vehicle pedal under the current opening voltage during use can be calculated.
[0077] In the above-mentioned method for determining the opening, the voltage of the vehicle pedal at the zero point position (i.e., the actual zero point voltage) and the voltage at the percentage point position (percentage point voltage) are actually measured. Through the above-mentioned voltage measurement results, the theoretical opening corresponding to the actual zero point voltage in the use link is calculated with the calibrated zero point voltage as a reference; the corresponding relationship between the actual zero point voltage and the theoretical opening represents the performance of the vehicle pedal in actual use. Under this performance, the actual current opening of the vehicle pedal under the current opening voltage in the use link is determined, thereby achieving the effect of accurately determining the opening of the vehicle pedal in combination with the actual performance of the vehicle pedal.
[0078] In an exemplary embodiment, as shown in FIG2 , determining the theoretical opening corresponding to the actual zero point voltage in the use link according to the calibrated zero point voltage, the actual zero point voltage and the percentage point voltage includes:
[0079] S201, subtract the calibrated zero point voltage from the actual zero point voltage to obtain a zero point offset voltage.
[0080] Optionally, the zero offset voltage is used to characterize the actual performance of the vehicle pedal at the zero position during use.
[0081] S202, subtract the calibration zero point voltage from the percentage point voltage to obtain a percentage point offset voltage.
[0082] Optionally, the percentile offset voltage is used to characterize the actual performance of the vehicle pedal at the percentile position during use.
[0083] S203, taking the ratio between the zero point offset voltage and the percentage point offset voltage as the theoretical opening corresponding to the actual zero point voltage.
[0084] Optionally, the actual zero point opening is divided by the actual percentage opening, i.e., the overall performance of the vehicle pedal; in this case, the opening corresponding to the actual zero point voltage is determined as the theoretical opening used to characterize the overall performance of the vehicle pedal without external interference.
[0085] Exemplarily, the calibrated zero-point voltage is set to X, the actual zero-point voltage is set to Y, and the actual percentage point voltage is set to Z; the theoretical opening corresponding to the actual zero-point voltage is P=(YX) / (ZX).
[0086] It is understood that a pedal stuck fault refers to a phenomenon in which a pedal in a vehicle (such as the accelerator pedal, brake pedal, etc.) fails to move smoothly or reset to the expected position during operation. For example, the signal of the brake pedal can be monitored to determine whether the driver has stepped on the brake pedal and the accelerator pedal at the same time (which is not allowed under normal circumstances). If the accelerator pedal opening remains unchanged while the brake pedal signal changes, it may indicate that the accelerator pedal is stuck.
[0087] In an exemplary embodiment, the actual current opening of the vehicle pedal during use is determined based on the theoretical opening at the current opening voltage, including: if the theoretical opening is less than the stuck fault opening for a period of time that reaches a set time threshold, then the actual current opening of the vehicle pedal during use is determined based on the theoretical opening at the current opening voltage.
[0088] Among them, the jam fault opening is set to C, and the duration threshold is set to Q.
[0089] Optionally, when the vehicle detects that the KL15 hard-wire signal state is ON and the battery voltage value is within the normal range, it starts to judge whether the vehicle pedal is stuck. Specifically, when it is detected that C>P, the start time is recorded as T0, and the end time is recorded as T1. When C>P and T1-T0>Q, it is judged that the vehicle pedal is stuck, and the vehicle pedal stuck fault DTC needs to be recorded, and the fault light is not turned on.
[0090] In this embodiment, the overall performance of the vehicle is determined by the performance of the vehicle pedal at the zero point position and the percentage point position during use, and when the overall performance is determined, the theoretical opening corresponding to the actual zero point voltage is determined. The opening offset difference between the theoretical opening and the zero point opening can be used to quantify the overall performance of the vehicle pedal.
[0091] In an exemplary embodiment, as shown in FIG3 , determining the actual current opening of the vehicle pedal at the current opening voltage during the use phase according to the theoretical opening includes:
[0092] S301, taking the opening ratio corresponding to the theoretical opening as a usage error factor of the vehicle pedal in the usage phase.
[0093] Among them, the theoretical opening is converted into a percentage (i.e. P*100%) to obtain the opening ratio corresponding to the theoretical opening; the error opening ratio of the vehicle pedal at the zero position during use is used as the usage error factor of the vehicle pedal during use.
[0094] S302, determining the standard current opening of the vehicle pedal at the current opening voltage during the factory delivery process according to the calibrated zero point voltage.
[0095] Specifically, at the factory stage, the voltage difference of the current opening voltage minus the calibrated zero voltage is divided by the calibrated percentage voltage of the vehicle pedal to obtain the standard current opening of the vehicle pedal at the current opening voltage at the factory stage.
[0096] S303, correcting the standard current opening according to the use error factor to obtain the actual current opening of the vehicle pedal under the current opening voltage during the use phase.
[0097] Specifically, the usage error factor refers to the ratio between the actual zero point voltage and the calibrated zero point voltage. Therefore, the actual current voltage can be obtained by dividing the calibrated current voltage by the usage error factor.
[0098] Specifically, as shown in FIG4 , the standard current opening is corrected according to the use error factor to obtain the actual current opening of the vehicle pedal under the current opening voltage during the use phase, including:
[0099] S401, subtracting the usage error factor from 1 to obtain the opening correction factor of the vehicle pedal in the usage phase.
[0100] Among them, the opening correction factor is (1-P*100%), and the opening correction factor is the opening scaling factor of the vehicle in the usage phase.
[0101] S402, subtract the actual zero point voltage from the percentage point voltage to obtain the theoretical percentage point opening of the vehicle pedal in the use phase.
[0102] Specifically, the percentage point voltage minus the actual zero point voltage is set to (ZY).
[0103] S403, taking the product of the theoretical percentage opening and the opening correction factor as the correction percentage opening.
[0104] Among them, the correction percentage point opening is (ZY)*(1-P*100%).
[0105] S404, taking the ratio between the standard current opening and the correction percentage point opening as the actual current opening of the vehicle pedal at the current opening voltage during the use phase.
[0106] Specifically, the actual current opening PACT = (G0-X) / (ZY)*(1-P*100%).
[0107] It is understandable that the vehicle pedal usually has two signal outputs to ensure the redundancy and reliability of the system. Each signal has a specific voltage range when it is at the zero position. For example, when the first vehicle pedal signal of a certain vehicle model is at the zero position, its voltage value may be in the range of [0.75±0.15V], indicating that when the signal input value is within this range, the vehicle pedal is considered to be in a completely unpressed state (i.e., the opening is 0%). The zero position voltage range of the second signal may be different, such as [0.375±0.2V], which also means that when the signal input value is within this range, the vehicle pedal is considered to be not pressed.
[0108] In an exemplary embodiment, as shown in FIG5 , if the number of vehicle pedals is two, obtaining the calibrated zero-point voltage of the vehicle pedal at zero opening in the factory link includes:
[0109] S501, obtaining the initial zero-point voltage of each vehicle pedal at zero-point opening during the factory delivery process.
[0110] Exemplarily, A0 is set as the initial zero point voltage of one path; B0 is set as the initial zero point voltage of the second path of the vehicle pedal.
[0111] S502, verify whether the initial zero-point voltage corresponding to the pedals of each vehicle is a valid voltage.
[0112] Among them, whether the initial zero-point voltage corresponding to each vehicle pedal is a valid voltage can be verified according to the set voltage valid range corresponding to the vehicle pedal.
[0113] Optionally, verify whether the initial zero-point voltage corresponding to each vehicle pedal is a valid voltage, including: for each vehicle pedal, determine the reference voltage interval according to the theoretical voltage upper limit and theoretical voltage lower limit corresponding to the vehicle pedal; adjust the reference voltage interval according to the voltage error upper limit and voltage error lower limit corresponding to the vehicle pedal at the factory stage to obtain a valid voltage interval. When the initial zero-point voltage corresponding to the vehicle pedal falls within the valid voltage interval, determine that the initial zero-point voltage corresponding to the vehicle pedal is a valid voltage.
[0114] Optionally, the initial zero voltage A corresponding to one of the vehicle pedals x For example, A x is the average value of N voltage sampling values of the pedals of one vehicle;
[0115] Set the effective voltage range corresponding to the vehicle pedal to: {(A 0MIN +A 0MAX ) / 2-ΔA 0MIN , (A 0MIN +A 0MAX ) / 2+ΔA 0MAX};
[0116] Among them, the reference voltage range is {(A 0MIN +A 0MAX ) / 2,(A 0MIN +A 0MAX) / 2};
[0117] Where ΔA 0MAX is the upper limit of the voltage value error range; ΔA 0MIN It is the lower limit of voltage value error range;
[0118] Specifically, ΔA 0MAX and ΔA 0MIN The calculation process is as follows:
[0119] (1)
[0120] (2)
[0121] Where ΔA 0为 Vehicle pedal voltage upper and lower limit error, ΔA 0 The calculation process of is as follows (3);
[0122] (3)
[0123] Where ΔA 0 The upper and lower limit errors of the vehicle pedal voltage value;
[0124] A 0is the measured vehicle pedal voltage value;
[0125] A 0MAX The theoretical upper voltage limit of the vehicle pedal;
[0126] A 0MIN It is the theoretical lower limit of the vehicle pedal voltage.
[0127] Furthermore, when A0 = {(A 0MIN +A 0MAX ) / 2-ΔA 0MIN , (A 0MIN +A 0MAX ) / 2+ΔA 0MAX )}, it is considered that the initial zero point voltage is within the error range and the initial zero point voltage is valid; when A0 >(A 0MIN +A 0MAX ) / 2+ΔA 0MAX Or A0<A 0MIN +A 0MAX ) / 2-ΔA 0MIN When , it is considered that the initial zero point voltage exceeds the error range and the initial zero point voltage is invalid.
[0128] S503, according to the verification result, determine the calibrated zero-point voltage of the vehicle pedal at the zero-point opening in the factory process from the initial zero-point voltage corresponding to each vehicle pedal.
[0129] Optionally, assume that the initial zero-point voltage valid signal of the vehicle pedal one is M, and the initial zero-point voltage valid signal of the vehicle pedal two is N. 0 Within the valid range, the initial zero voltage is judged to be valid, then M=1, A 0 If it is not within the valid range, the initial zero voltage is judged to be invalid, and M=0. 0 Within the valid range, N=1, B 0 If it is not within the valid range, N=0.
[0130] In one feasible method, if the verification result indicates that the initial zero-point voltages corresponding to the pedals of each vehicle are all valid voltages, the minimum value of the initial zero-point voltages corresponding to the pedals of each vehicle is used as the calibrated zero-point voltage of the vehicle pedal at zero opening during the factory delivery.
[0131] Specifically, if M=1 and N=1, the voltage of the two channels is the smaller output, and the zero-point voltage output is calibrated to be X=MIN (A 0 , B 0 ).
[0132] In another possible implementation, if the verification result indicates that only one initial zero-point voltage corresponding to one vehicle pedal is a valid voltage, the initial zero-point voltage corresponding to the vehicle pedal is used as the calibrated zero-point voltage when the vehicle pedal is at zero opening during factory delivery.
[0133] Optionally, if M=0 and N=1, the voltage of the two channels is taken from the two outputs of the vehicle pedal, and the calibrated zero point voltage output is X=B 0 ; If M=1 and N=0, the voltage of the two paths is output from the vehicle pedal, and the calibrated zero point voltage output is X=A 0 ; If M=1 and N=0, the voltage of the two channels is taken from the two outputs of the vehicle pedal, and the calibrated zero point voltage output is X=0.
[0134] In addition, the actual zero-point voltage of the vehicle pedal at zero opening during use, and the percentage voltage of the vehicle pedal at maximum opening during use, can be verified and determined using the above S401 to S403 (including S501 to S503).
[0135] In this embodiment, the operating status of the vehicle pedal is monitored in real time. When a pedal jam is detected (such as abnormal pedal position, slow response, etc.), the fault handling mechanism is triggered; after the jam fault is detected, the pedal opening is re-analyzed. The actual pedal opening is calculated by analyzing the voltage signal output by the pedal position sensor, combining the vehicle dynamics model and the mechanical characteristics of the pedal; according to the re-analyzed pedal opening, the system performs mapping adjustment on the pedal input; the mapping adjustment is intended to convert the actual pedal opening into an input signal that can be accurately recognized by the vehicle control system. Through mapping adjustment, misjudgment or missed judgment caused by voltage signal interference, sensor aging, etc. can be reduced.
[0136] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0137] Based on the same inventive concept, the embodiment of the present application also provides an opening determination device for implementing the above-mentioned opening determination method. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above-mentioned method, so the specific limitations in one or more embodiments of the opening determination device provided below can refer to the limitations of the opening determination method above, and will not be repeated here.
[0138] In an exemplary embodiment, as shown in FIG6 , an opening determination device is provided, comprising: an acquisition module 11, a theoretical calculation module 12 and an opening determination module 13, wherein:
[0139] The acquisition module 11 is used to obtain the calibrated zero-point voltage of the vehicle pedal at the zero-point opening in the factory link, the actual zero-point voltage of the vehicle pedal at the zero-point opening in the use link, and the percentage point voltage of the vehicle pedal at the maximum opening in the use link;
[0140] Theoretical calculation module 12, used to determine the theoretical opening corresponding to the actual zero point voltage in the use link according to the calibrated zero point voltage, the actual zero point voltage and the percentage point voltage;
[0141] The opening determination module 13 is used to determine the actual current opening of the vehicle pedal under the current opening voltage during the use phase according to the theoretical opening.
[0142] Each module in the above-mentioned opening determination device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each module above.
[0143] In an exemplary embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be shown in FIG7. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected via a system bus, and the communication interface is connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides a link for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data of the opening determination method. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, a method for determining the opening is implemented.
[0144] Those skilled in the art will understand that the structure shown in FIG. 7 is merely a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0145] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0146] Obtain the calibrated zero-point voltage of the vehicle pedal at zero opening in the factory link, the actual zero-point voltage of the vehicle pedal at zero opening in the use link, and the percentage point voltage of the vehicle pedal at the maximum opening in the use link;
[0147] According to the calibrated zero-point voltage, the actual zero-point voltage and the percentage point voltage, determine the theoretical opening corresponding to the actual zero-point voltage in the use link;
[0148] According to the theoretical opening, the actual current opening of the vehicle pedal under the current opening voltage during the use phase is determined.
[0149] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0150] Obtain the calibrated zero-point voltage of the vehicle pedal at zero opening in the factory link, the actual zero-point voltage of the vehicle pedal at zero opening in the use link, and the percentage point voltage of the vehicle pedal at the maximum opening in the use link;
[0151] According to the calibrated zero-point voltage, the actual zero-point voltage and the percentage point voltage, determine the theoretical opening corresponding to the actual zero-point voltage in the use link;
[0152] According to the theoretical opening, the actual current opening of the vehicle pedal under the current opening voltage during the use phase is determined.
[0153] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:
[0154] Obtain the calibrated zero-point voltage of the vehicle pedal at zero opening in the factory link, the actual zero-point voltage of the vehicle pedal at zero opening in the use link, and the percentage point voltage of the vehicle pedal at the maximum opening in the use link;
[0155] According to the calibrated zero-point voltage, the actual zero-point voltage and the percentage point voltage, determine the theoretical opening corresponding to the actual zero-point voltage in the use link;
[0156] According to the theoretical opening, the actual current opening of the vehicle pedal under the current opening voltage during the use phase is determined.
[0157] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0158] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0159] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for determining an opening, characterized in that: The method comprises: Obtaining the calibrated zero-point voltage of the vehicle pedal at zero opening in the factory phase, the actual zero-point voltage of the vehicle pedal at zero opening in the use phase, and the percentage point voltage of the vehicle pedal at the maximum opening in the use phase; Determine the theoretical opening corresponding to the actual zero point voltage in the use link according to the calibrated zero point voltage, the actual zero point voltage and the percentage point voltage; According to the theoretical opening, the actual current opening of the vehicle pedal at the current opening voltage in the use link is determined.
2. The method according to claim 1, characterized in that Determining the theoretical opening corresponding to the actual zero point voltage in the use link according to the calibrated zero point voltage, the actual zero point voltage and the percentage point voltage includes: Subtract the calibrated zero point voltage from the actual zero point voltage to obtain a zero point offset voltage; Subtract the calibrated zero voltage from the percentage point voltage to obtain a percentage point offset voltage; The ratio between the zero point offset voltage and the percentage point offset voltage is used as the theoretical opening corresponding to the actual zero point voltage.
3. The method according to claim 1, characterized in that The determining, based on the theoretical opening, the actual current opening of the vehicle pedal at the current opening voltage in the use link comprises: If the time duration during which the theoretical opening is less than the jamming fault opening reaches a set time threshold, the actual current opening of the vehicle pedal at the current opening voltage in the use link is determined based on the theoretical opening.
4. The method according to claim 1 or 3, characterized in that: The determining, based on the theoretical opening, the actual current opening of the vehicle pedal at the current opening voltage in the use link comprises: Using the opening ratio corresponding to the theoretical opening as a usage error factor of the vehicle pedal in the usage link; Determining, according to the calibrated zero-point voltage, a standard current opening of the vehicle pedal at the current opening voltage in the factory delivery link; The standard current opening is corrected according to the usage error factor to obtain the actual current opening of the vehicle pedal at the current opening voltage in the usage link.
5. The method according to claim 4, characterized in that The method of correcting the standard current opening according to the use error factor to obtain the actual current opening of the vehicle pedal under the current opening voltage in the use link includes: Subtracting the usage error factor from 1 to obtain an opening correction factor of the vehicle pedal in the usage phase; Subtracting the actual zero point voltage from the percentage point voltage to obtain a theoretical percentage point opening of the vehicle pedal in the use link; The product of the theoretical percentage point opening and the opening correction factor is used as the correction percentage point opening; The ratio between the standard current opening and the correction percentage point opening is used as the actual current opening of the vehicle pedal at the current opening voltage in the use link.
6. The method according to claim 1, characterized in that If the number of the vehicle pedals is two, the step of obtaining the calibrated zero-point voltage of the vehicle pedal at the zero-point opening during the factory delivery process includes: Obtain the initial zero-point voltage of each vehicle pedal at zero-point opening during the factory delivery process; Verify whether the initial zero-point voltage corresponding to the pedals of each vehicle is a valid voltage; According to the verification results, the calibrated zero-point voltage of the vehicle pedal at the zero-point opening during the factory delivery process is determined from the initial zero-point voltage corresponding to each vehicle pedal.
7. The method according to claim 6, characterized in that The method of determining the calibrated zero-point voltage of the vehicle pedal at the zero-point opening in the factory process from the initial zero-point voltage corresponding to each vehicle pedal according to the verification result includes: If the verification result indicates that the initial zero-point voltages corresponding to the pedals of various vehicles are all valid voltages, the minimum value of the initial zero-point voltages corresponding to the pedals of various vehicles is used as the calibrated zero-point voltage of the vehicle pedal at the zero-point opening during the factory delivery process; If the verification result indicates that only one initial zero-point voltage corresponding to one vehicle pedal is a valid voltage, the initial zero-point voltage corresponding to the vehicle pedal is used as the calibrated zero-point voltage of the vehicle pedal at zero opening during the factory delivery process.
8. The method according to claim 6, characterized in that Verify whether the initial zero-point voltage corresponding to the pedals of each vehicle is a valid voltage, including: For each vehicle pedal, determining a reference voltage range according to a theoretical voltage upper limit and a theoretical voltage lower limit corresponding to the vehicle pedal; According to the voltage error upper limit and voltage error lower limit corresponding to the vehicle pedal at the factory stage, the reference voltage range is adjusted to obtain an effective voltage range; In the case that the initial zero-point voltage corresponding to the vehicle pedal falls within the effective voltage interval, the initial zero-point voltage corresponding to the vehicle pedal is determined to be an effective voltage.
9. An opening determination device, characterized in that: The device comprises: An acquisition module, used to acquire a calibrated zero-point voltage of a vehicle pedal at a zero-point opening in a factory phase, an actual zero-point voltage of the vehicle pedal at a zero-point opening in a use phase, and a percentage point voltage of the vehicle pedal at a maximum opening in a use phase; A theoretical calculation module, used to determine the theoretical opening corresponding to the actual zero point voltage in the use link according to the calibrated zero point voltage, the actual zero point voltage and the percentage point voltage; The opening determination module is used to determine the actual current opening of the vehicle pedal at the current opening voltage in the use link according to the theoretical opening.
10. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 8 are implemented.
