车辆参数自学习方法、装置、程序产品、设备、存储介质
By adjusting the control range of vehicle operating parameters through a self-learning method and utilizing probability distribution and normal distribution functions, the problem of inaccurate vehicle parameter control was solved, thereby improving vehicle stability and user experience.
Patent Information
- Application Number
- CN202410309364.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-18
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2044-03-18
AI Technical Summary
Existing technologies make it difficult to accurately control vehicle parameters during vehicle development and use, leading to false or missed fault reports from the system, which affects vehicle stability and user experience.
By using a self-learning method, the vehicle's operating parameters are adjusted based on the vehicle's current control parameters and preset nominal values. Multiple second operating parameters are obtained, the operating parameter control range is determined, and the parameter range is adjusted using probability distribution and normal distribution functions to ensure stable operation of the vehicle under the target state.
It reduces false alarms and missed faults in vehicle systems, improves vehicle stability and user experience, and ensures the rationality and adaptability of the control range of operating parameters.
Smart Images

Figure CN118025205B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the automotive field, and includes, but is not limited to, a vehicle parameter self-learning method, apparatus, program product, device, and storage medium. Background Technology
[0002] With the rapid development of automotive technology and the widespread adoption of cars in households, the number of cars on the road is increasing year by year, and users are placing higher demands on the performance and safety of their vehicles. This necessitates that automakers optimize and adjust various parameters of their vehicles to ensure they maintain optimal operating conditions.
[0003] Therefore, how to accurately control various parameters of a vehicle for different scenarios during the testing phase and user use has become an urgent problem to be solved in the industry. Summary of the Invention
[0004] In view of this, embodiments of the present disclosure provide a vehicle parameter self-learning method, apparatus, program product, device, and storage medium.
[0005] In a first aspect, embodiments of this disclosure provide a self-learning method for vehicle parameters, including:
[0006] Based on the current control parameters, control the vehicle to operate and acquire multiple first operating parameters of the vehicle;
[0007] The current control parameters are adjusted according to the plurality of first operating parameters and preset nominal values; the preset nominal values are used to represent the operating parameters of the vehicle in the target operating state.
[0008] Acquire multiple second operating parameters of the vehicle after adjusting the current control parameters;
[0009] The control range of the vehicle's operating parameters is determined based on the plurality of second operating parameters;
[0010] Based on the control range of the operating parameters, determine whether the vehicle is in an abnormal operating state.
[0011] In some embodiments, determining the vehicle's operating parameter control range based on the plurality of second operating parameters includes:
[0012] The initial operating parameter control range is determined based on the plurality of second operating parameters;
[0013] Based on the preset nominal value, determine whether the initial operating parameter control range has deviated;
[0014] If the initial operating parameter control range deviates, the plurality of second operating parameters are converted into probability scores, and the operating parameter control range is determined using the probability distribution;
[0015] If the initial operating parameter control range does not deviate, the initial operating parameter control range is determined as the operating parameter control range.
[0016] In some embodiments, converting the plurality of second operating parameters into probability scores and determining the control range of the operating parameters using a probability distribution includes:
[0017] Determine multiple ranks that correspond one-to-one with the multiple second working parameters;
[0018] The cumulative probability corresponding to each rank is determined using a proportional estimation method.
[0019] The control range of the operating parameters is determined based on the cumulative probability and using a normal distribution function.
[0020] In some embodiments, the cumulative probability is determined by the following proportional estimation formula:
[0021] P = (ra) / (w+b),
[0022] Where P is the cumulative probability, r is the rank, w is the total number of the plurality of second working parameters, a is the rank correction coefficient, b is the sample size correction coefficient, and 0 ≤ a <b<1。
[0023] In some embodiments, determining the cumulative probability corresponding to each rank using a proportional estimation method includes:
[0024] Determine the rank correction coefficient and the total sample size correction coefficient;
[0025] Based on the rank correction coefficient and the total sample size correction coefficient, the cumulative probability corresponding to each rank is calculated using the proportional estimation formula.
[0026] The method further includes:
[0027] Solve for the normal distribution function based on the cumulative probability, and then verify the normal distribution.
[0028] If the normality verification fails, the rank correction coefficient and the total sample size correction coefficient are re-determined.
[0029] In some embodiments, acquiring a plurality of second operating parameters of the vehicle after adjusting the current control parameters includes:
[0030] Obtain N second operating parameters of the vehicle after adjusting the current control parameters; where N is an integer greater than 1;
[0031] The step of determining the initial operating parameter control range based on the plurality of second operating parameters includes:
[0032] The maximum control limit of the initial operating parameter control range is determined based on the largest i second operating parameters among the N second operating parameters; where i is a positive integer and i is less than N;
[0033] The minimum control limit of the initial operating parameter control range is determined based on the j smallest second operating parameters among the N second operating parameters; where j is a positive integer and j is less than N;
[0034] The step of determining whether the initial operating parameter control range deviates based on the preset nominal value includes:
[0035] Determine a first difference between the maximum control limit and the preset nominal value, and a second difference between the minimum control limit and the preset nominal value;
[0036] Based on the first difference and the second difference, it is determined whether the initial operating parameter control range has deviated.
[0037] In some embodiments, adjusting the current control parameter based on the plurality of first operating parameters and a preset nominal value includes:
[0038] The current nominal value is determined based on the plurality of first working parameters, and a third difference between the current nominal value and the preset nominal value is determined;
[0039] If the third difference is greater than or equal to the first preset value, the current control parameter is adjusted according to the third difference.
[0040] In some embodiments, adjusting the current control parameter based on the third difference includes:
[0041] When the current nominal value is less than the preset nominal value, the step increment is determined based on the third difference, and the step increment is increased by one step increment successively based on the current control parameter;
[0042] or,
[0043] If the current nominal value is greater than the preset nominal value, the step reduction amount is determined based on the third difference, and the step reduction amount is reduced one by one based on the current control parameter.
[0044] In some embodiments, the current control parameter includes motor current, the first operating parameter includes motor speed, and the second operating parameter includes motor speed.
[0045] Secondly, embodiments of this disclosure provide a self-learning device for vehicle parameters, comprising:
[0046] A control module, which controls the vehicle to operate according to current control parameters;
[0047] An acquisition module is used to acquire multiple first operating parameters of the vehicle;
[0048] The processing module is used to adjust the current control parameters according to the plurality of first operating parameters and preset nominal values; the preset nominal values are used to represent the operating parameters of the vehicle in the target operating state.
[0049] The acquisition module is also used to acquire multiple second operating parameters of the vehicle after the processing module adjusts the current control parameters;
[0050] The processing module is also used to determine the operating parameter control range of the vehicle based on the plurality of second operating parameters, and to determine whether the vehicle has an abnormal operating state based on the operating parameter control range.
[0051] Thirdly, embodiments of this disclosure provide a computer program product, including a computer program that, when executed, implements the steps of any of the methods described in the above embodiments.
[0052] Fourthly, embodiments of this disclosure provide an electronic device, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor performs the steps of any of the methods described in the above embodiments.
[0053] Fifthly, embodiments of this disclosure provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any of the methods described in the above embodiments.
[0054] In this embodiment, the vehicle's current control parameters can be adjusted using the acquired first operating parameters and preset nominal values to achieve a target operating state. Then, multiple second operating parameters of the vehicle in the target operating state are acquired, and the vehicle's operating parameter control range is determined based on these parameters. This control range allows for the determination of whether the vehicle exhibits an abnormal operating state. Thus, the self-learning method for vehicle parameters provided by this disclosure can offer suitable operating parameter control ranges in various usage scenarios, thereby reducing false alarms or missed alarms in the vehicle system and improving vehicle stability and user experience. Attached Figure Description
[0055] Figure 1 A schematic diagram illustrating the deviation of overall operating parameter data provided in an embodiment of this disclosure;
[0056] Figure 2 A flowchart illustrating the steps of a self-learning method for vehicle parameters provided in this embodiment of the disclosure;
[0057] Figure 3 A detailed flowchart of a self-learning method for vehicle parameters provided in this embodiment of the disclosure;
[0058] Figure 4 A flowchart for adjusting current control parameters based on current nominal values and preset nominal values is provided in this embodiment of the disclosure;
[0059] Figure 5 A flowchart for determining the control range of operating parameters using probability distribution is provided in an embodiment of this disclosure;
[0060] Figure 6 A schematic diagram illustrating the result of correcting sampled data by transforming cumulative probability, as provided in an embodiment of this disclosure;
[0061] Figure 7 A schematic diagram of a self-learning device for vehicle parameters provided in an embodiment of this disclosure;
[0062] Figure 8 This is a schematic diagram of an electronic device provided in an embodiment of the present disclosure. Detailed Implementation
[0063] To facilitate understanding of this disclosure, exemplary embodiments of the disclosure will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the disclosure are shown in the drawings, it should be understood that the disclosure may be implemented in various forms and should not be limited to the specific embodiments set forth herein. Rather, these embodiments are provided to enable a more thorough understanding of the disclosure and to fully convey the scope of the disclosure to those skilled in the art.
[0064] In the following description, numerous specific details are set forth in order to provide a more thorough understanding of this disclosure. However, it will be apparent to those skilled in the art that this disclosure may be practiced without one or more of these details. In some embodiments, to avoid confusion with this disclosure, certain technical features well-known in the art are not described; that is, not all features of the actual embodiments, nor well-known functions and structures, may be described herein.
[0065] Generally, terms can be understood at least in part from their use in context. For example, depending at least in part on the context, the term "one or more" as used herein can be used to describe any feature, structure, or characteristic in a singular sense, or it can be used to describe a combination of features, structures, or characteristics in a plural sense. Similarly, terms such as "a" or "described" can also be understood to convey either a singular or a plural usage, depending at least in part on the context. Additionally, the use of "based on" can be understood to not necessarily convey an exclusive set of factors, and can alternatively allow for the presence of additional factors that are not necessarily explicitly described, also depending at least in part on the context.
[0066] Unless otherwise defined, the terminology used herein is intended only to describe particular embodiments and is not intended to limit the scope of this disclosure. When used herein, the singular forms “a,” “an,” and “the” are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the terms “comprise” and / or “comprising,” when used in this specification, identify the presence of the stated features, integers, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups. When used herein, the term “and / or” includes any and all combinations of the associated listed items.
[0067] To fully understand this disclosure, detailed steps and structures will be presented in the following description to illustrate the technical solutions of this disclosure. Preferred embodiments of this disclosure are described in detail below; however, other embodiments may also be implemented in addition to these detailed descriptions.
[0068] In some embodiments, the control method for various operating parameters in a vehicle is generally implemented by using preset nominal values in conjunction with the upper and lower limits of the operating parameter control range. These operating parameters include, but are not limited to, motor speed, oil pump speed, shift motor speed, braking intensity, energy recovery intensity, and throttle response driving force. For example, for the speed control of the oil pump motor, a target speed (i.e., a preset nominal value) can be set according to different operating conditions, and then implemented in conjunction with control limits (i.e., the control range of the operating parameters), such as a target speed of 500 rpm and upper and lower limits of 500 ± 100 rpm. During project development, due to differences in the regions where actual vehicles are located, variations in components and assemblies, or the influence of temperature, some control parameters may differ. Therefore, it is necessary to accurately control the operating parameters based on the actual situation.
[0069] For example, the control method for the hybrid electric drive signal in a hybrid powertrain system can be implemented by using a preset nominal value in conjunction with the upper and lower limits of the control range of the operating parameters, and then combining this with actual self-learning of the control limits. During vehicle development, due to the lack of prior data accumulation, control relies solely on data provided by suppliers, resulting in poor system compatibility. Furthermore, influenced by real-world vehicle usage scenarios, mismatches between actual operating parameters and the control range of the operating parameters are prone to occur. For instance, if the designed control range of the operating parameters is too narrow, frequent false alarms may occur; if the control range is too wide, some faults may go undetected, requiring significant manpower and resources for troubleshooting. Therefore, during development, upon detecting an out-of-tolerance speed signal, speed values are collected for a period of time for self-learning. The self-learning method can include averaging the largest i speed values among the collected speed values to obtain the upper limit of the new control range of the operating parameters, and averaging the smallest j speed values among the collected speed values to obtain the lower limit of the new control range of the operating parameters. Here, i and j are both positive integers, and both i and j are less than the number of collected speed values.
[0070] In practice, the operating parameters provided during the early development or trial production stages are insufficient, and variations in the consistency of components from different batches can cause fluctuations in product performance. Therefore, the range of operating parameters is prone to fluctuation, making it impossible to monitor the operation of the hybrid electric drive assembly and increasing the risk of missed and false alarms. Factors such as component deviations, ambient temperature, lubricant viscosity, and current settings can cause the overall operating parameter data to be too high or too low. Figure 1As shown, the speed data collected during actual control is smaller than the preset nominal value (500 rpm). If control is performed according to the initially determined control range of 500 ± 100 rpm, the actual deviation cannot be reflected, resulting in false alarms due to exceeding the tolerance. If the upper and lower limits of the speed control range are redefined using the self-learning method described above, i.e., the maximum or minimum value is selected and averaged for monitoring, changes in the environment or operating conditions may cause data fluctuations. For example, Figure 1 The overall data is biased downwards, with an upper limit of 700 rpm and a lower limit of 350 rpm, indicating an overall deviation in the control range. An unreasonable control range design leads to repeated corrections during development or user experience. Each control range update necessitates a batch software refresh, resulting in a significant workload and impacting development progress or user experience.
[0071] like Figure 2 As shown, this disclosure provides a self-learning method for vehicle parameters, including the following steps:
[0072] Step S10: Control the vehicle to work according to the current control parameters, and obtain multiple first working parameters of the vehicle;
[0073] Step S20: Adjust the current control parameters according to the plurality of first operating parameters and preset nominal values; the preset nominal values are used to represent the operating parameters of the vehicle in the target operating state;
[0074] Step S30: Obtain multiple second operating parameters of the vehicle after adjusting the current control parameters;
[0075] Step S40: Determine the control range of the vehicle's operating parameters based on the plurality of second operating parameters;
[0076] Step S50: Determine whether the vehicle is in an abnormal working state based on the control range of the operating parameters.
[0077] It should be understood that Figure 2 The steps shown are not exclusive, and other steps may be performed before, after, or between any of the steps shown.
[0078] In this embodiment, the vehicle can be controlled to operate based on its current control parameters, and multiple first operating parameters of the vehicle can be acquired. These first operating parameters can be real-time operating parameters collected when the vehicle is running under the current control parameters, reflecting the vehicle's real-time operating status. For ease of understanding, this is illustrated using the motor current as the current control parameter and the collected real-time motor speed as the first operating parameter. Thus, based on a pre-set motor current (such as the motor current set by the designer, manufacturer, or vehicle computer to achieve a target motor speed), the vehicle's motor is controlled to operate, and multiple first real-time speeds of the vehicle's motor are collected within a first preset time period. It should be noted that the control parameters (such as the current control parameters) and operating parameters (such as the first operating parameters and the second operating parameters mentioned later) in this disclosure can be any related parameters in the vehicle; no excessive restrictions are imposed here.
[0079] Next, the current control parameters can be adjusted based on preset nominal values and multiple collected first operating parameters, where the preset nominal values can represent the operating parameters of the vehicle in the target operating state. In other words, to make the vehicle operate in the target operating state, the current control parameters can be adjusted based on the sampled multiple first operating parameters, thereby gradually bringing the vehicle's operating parameters closer to the preset nominal values. For example, based on multiple first real-time speeds of the vehicle motor collected within a first preset time period and a preset target speed, the vehicle motor current can be adjusted, thereby bringing the real-time speed of the vehicle motor closer to the preset target speed.
[0080] Then, after adjusting the current control parameters, multiple second operating parameters of the vehicle can be acquired again. These second operating parameters can be real-time operating parameters collected when the vehicle is running under the adjusted current control parameters, i.e., operating parameters collected when the vehicle is operating close to the target operating state. For example, after adjusting the vehicle's motor current, multiple second real-time speeds of the vehicle motor can be acquired within a second preset time period. Here, the second preset time period can be the same as the first preset time period, and the sampling time interval of the multiple first real-time speeds can be the same as the sampling time interval of the multiple second real-time speeds.
[0081] Thus, various data processing methods and statistical algorithms can be used to process the collected multiple second operating parameters to redetermine the control range of the vehicle's operating parameters. These data processing methods and statistical algorithms include, but are not limited to, various probability distributions and proportional estimation methods. For example, the control range of the vehicle's motor speed can be determined based on the collected multiple second real-time speeds.
[0082] Finally, based on the control range of the operating parameters, it can be determined whether the vehicle is in an abnormal operating state. For example, by using the newly determined control range of the vehicle motor speed, the real-time speed of the vehicle is monitored. If the real-time speed of the vehicle exceeds the control range of the vehicle motor speed, it indicates that the vehicle motor is in an abnormal operating state, and an error is reported.
[0083] In this embodiment, the vehicle's current control parameters can be adjusted first using the acquired first operating parameters and preset nominal values to bring the vehicle close to or reach a target operating state. Then, multiple second operating parameters are acquired when the vehicle is close to or reaches the target operating state, and the vehicle's operating parameter control range is determined based on these parameters. This control range allows for the determination of whether the vehicle is in an abnormal operating state. Thus, the self-learning method for vehicle parameters provided in this disclosure can offer suitable operating parameter control ranges in various usage scenarios, thereby reducing false alarms or missed alarms in the vehicle system and improving vehicle stability and user experience.
[0084] In some embodiments, the current control parameter includes motor current, the first operating parameter includes motor speed, and the second operating parameter includes motor speed.
[0085] In this embodiment of the disclosure, the current control parameter, the first operating parameter, and the second operating parameter can be any associated parameter in the vehicle. For example, the current control parameter may include motor current, such as the vehicle water pump motor current, the shift motor current, the drive motor current, etc.; the first operating parameter and the second operating parameter may include the real-time collected vehicle water pump motor speed, shift motor speed, drive motor speed, etc.
[0086] In some embodiments, adjusting the current control parameter according to the plurality of first operating parameters and a preset nominal value includes: determining a current nominal value according to the plurality of first operating parameters, and determining a third difference between the current nominal value and the preset nominal value; if the third difference is greater than or equal to a first preset value, adjusting the current control parameter according to the third difference.
[0087] In the embodiments disclosed herein, such as Figure 3 The diagram shows the flowchart of the self-learning method for vehicle parameters. (Reference) Figure 3The part that adjusts the current control parameters based on multiple first operating parameters and preset nominal values can determine the current nominal value based on the collected first operating parameters, and determine a third difference between the current nominal value and the preset nominal value. If the third difference is greater than or equal to the first preset value (i.e., it is determined that the current nominal value has deviated), the current control parameters are adjusted based on the third difference. For example, the average value of multiple sampled first real-time speeds is taken as the current nominal value, and then the third difference between the current nominal value and the preset nominal value (i.e., the preset target speed) is determined. If the third difference is greater than or equal to the first preset value, the vehicle's motor current can be adjusted based on the third difference. Here, the first preset value can be preset by the designer or manufacturer. A third difference greater than or equal to the first preset value indicates that the difference between the vehicle's actual speed and the preset target speed is too large, and the vehicle's motor current needs to be compensated (increased or decreased) so that the vehicle operates at the preset target speed.
[0088] In some embodiments, adjusting the current control parameter based on the third difference includes: when the current nominal value is less than the preset nominal value, determining a step increase amount based on the third difference, and successively increasing the current control parameter by one step increase amount; or, when the current nominal value is greater than the preset nominal value, determining a step decrease amount based on the third difference, and successively decreasing the current control parameter by one step decrease amount.
[0089] In the embodiments disclosed herein, such as Figure 4 As shown, adjusting the current control parameter based on the third difference may specifically include: determining the magnitude of the current nominal value and the preset nominal value; if the current nominal value is less than the preset nominal value, then determining the step increment based on the third difference, and successively increasing the current control parameter by one step increment; if the current nominal value is greater than the preset nominal value, then determining the step decrement based on the third difference, and successively decreasing the current control parameter by one step decrement. It can be understood that after each increase or decrease by one step increment, the vehicle's operating parameters can be resampled, and the current nominal value of the vehicle and the third difference between the current nominal value and the preset nominal value can be re-determined. Then, it is determined whether the re-determined third difference is less than the first preset value. If so, the current control parameter is no longer adjusted; otherwise, it is further increased or decreased by one step increment. In some embodiments, the step increment or step decrement may be the control parameter corresponding to half of the third difference.
[0090] In some embodiments, determining the operating parameter control range of the vehicle based on the plurality of second operating parameters includes: determining an initial operating parameter control range based on the plurality of second operating parameters; determining whether the initial operating parameter control range deviates based on the preset nominal value; if the initial operating parameter control range deviates, converting the plurality of second operating parameters into probability scores and determining the operating parameter control range using probability distributions; and if the initial operating parameter control range does not deviate, determining the initial operating parameter control range as the operating parameter control range.
[0091] In this disclosure embodiment, reference is made to Figure 3 After adjusting the current control parameters, the vehicle's operating parameter control range can be determined based on multiple collected second operating parameters. For example, after adjusting the vehicle's motor current, multiple second real-time speeds of the vehicle motor are collected within a second preset time period. Then, the average of the i largest second real-time speeds is taken as the upper limit of the initial vehicle motor speed control range, and the average of the j smallest second real-time speeds is taken as the lower limit of the initial vehicle motor speed control range. Here, i and j are positive integers, and both i and j are less than the number of collected second real-time speeds.
[0092] Next, it can be determined whether the initial operating parameter control range has deviated based on preset nominal values, where the preset nominal values can represent the operating parameters of the vehicle under the target operating state. For example, the difference between the preset target speed and the upper limit of the initial vehicle motor speed control range can be taken as the maximum deviation value, and the difference between the preset target speed and the lower limit of the initial vehicle motor speed control range can be taken as the minimum deviation value. Then, it is determined whether the difference between the maximum deviation value and the minimum deviation value is greater than the preset difference. If it is greater, it indicates that the initial vehicle motor speed control range has deviated; if it is less, it indicates that the initial vehicle motor speed control range has not deviated.
[0093] If the initial operating parameter control range is within acceptable limits, it can be directly determined as the final operating parameter control range, thereby monitoring the vehicle's operating status. However, if the initial operating parameter control range deviates, multiple secondary operating parameters can be converted into probability fractions, and the operating parameter control range can be redefined using probability distributions. For example, if the initial vehicle motor speed control range deviates, methods such as proportional estimation can be used to convert multiple collected secondary real-time speeds into probability fractions, and then various probability distributions can be used to redefine the new vehicle motor speed control range.
[0094] In some embodiments, obtaining a plurality of second operating parameters of the vehicle after adjusting the current control parameter includes: obtaining N second operating parameters of the vehicle after adjusting the current control parameter; wherein N is an integer greater than 1; determining an initial operating parameter control range based on the plurality of second operating parameters includes: determining a maximum control limit of the initial operating parameter control range based on the largest i second operating parameters among the N second operating parameters; wherein i is a positive integer and i is less than N; determining a minimum control limit of the initial operating parameter control range based on the smallest j second operating parameters among the N second operating parameters; wherein j is a positive integer and j is less than N; determining whether the initial operating parameter control range deviates based on the preset nominal value includes: determining a first difference between the maximum control limit and the preset nominal value, and a second difference between the minimum control limit and the preset nominal value; determining whether the initial operating parameter control range deviates based on the first difference and the second difference.
[0095] In this embodiment, after adjusting the current control parameters, N second operating parameters of the vehicle can be collected. Then, the maximum control limit of the initial operating parameter control range can be determined based on the largest i second operating parameters (e.g., the average of the largest i second operating parameters), and the minimum control limit of the initial operating parameter control range can be determined based on the smallest j second operating parameters (e.g., the average of the smallest j second operating parameters), where i and j are positive integers and both i and j are less than N. Then, a first difference between the maximum control limit and the preset nominal value, and a second difference between the minimum control limit and the preset nominal value can be calculated. It is then determined whether the difference between the first difference and the second difference is greater than a preset difference. If it is greater, it indicates that the initial operating parameter control range has deviated; if it is less, it indicates that the initial operating parameter control range has not deviated. For example, after adjusting the vehicle's motor current, N second real-time speeds of the vehicle motor are collected within a second preset time period. The average of the largest (i) second real-time speeds among the N is then taken as the maximum control limit of the initial vehicle motor speed control range, and the average of the smallest (j) second real-time speeds among the N is taken as the minimum control limit of the initial vehicle motor speed control range. The difference between the preset target speed and the maximum control limit of the initial vehicle motor speed control range is taken as the first difference, and the difference between the preset target speed and the minimum control limit of the initial vehicle motor speed control range is taken as the second difference. Then, it is determined whether the difference between the first difference and the second difference is greater than the preset difference. If it is greater, it indicates that the initial vehicle motor speed control range has deviated; if it is less, it indicates that the initial vehicle motor speed control range has not deviated.
[0096] In some embodiments, converting the plurality of second operating parameters into probability scores and determining the operating parameter control range using a probability distribution includes: determining a plurality of ranks corresponding one-to-one with the plurality of second operating parameters; determining the cumulative probability corresponding to each rank using a proportional estimation method; and determining the operating parameter control range based on the cumulative probability and using a normal distribution function.
[0097] In this embodiment, the N collected second working parameters can be sorted based on their size relationship, and then a corresponding rank can be assigned to each second working parameter. For example, the rank of the first second working parameter is 1, the rank of the second second working parameter is 2, the rank of the third second working parameter is 3, and so on, with the rank of the Nth second working parameter being N. Next, the cumulative probability corresponding to each rank is determined using a proportional estimation method. Since all second working parameters will follow a normal distribution when the number of samples (the number of collected second working parameters) is sufficiently large, the cumulative probability corresponding to each rank can be calculated using the proportional estimation method. The cumulative probability corresponding to each rank gradually increases from close to 0 to close to 1 as the rank increases from 1 to N. Finally, based on the cumulative probability and by solving the normal distribution function, a new control range for the working parameters can be determined.
[0098] In some embodiments, the cumulative probability is determined by the following proportional estimation formula: P = (ra) / (w+b), where P is the cumulative probability, r is the rank, w is the total number of the plurality of second working parameters, a is the rank correction coefficient, b is the sample size correction coefficient, and 0 ≤ a <b<1。
[0099] In this embodiment of the disclosure, the proportion estimation method includes, but is not limited to, Blom proportion estimation, Tukey proportion estimation, rank proportion estimation, and Van der Waerden proportion estimation. Specifically, the proportion estimation formula can be P = (ra) / (w+b), where P is the cumulative probability, r is the rank, w is the total number of the plurality of second working parameters, a is the rank correction coefficient, and b is the sample size correction coefficient. For Blom proportion estimation, the formula is P = (r-3 / 8) / (w+1 / 4); for Tukey proportion estimation, the formula is P = (r-1 / 3) / (w+1 / 3); for rank proportion estimation, the formula is P = (r-1 / 2) / w; and for Van der Waerden proportion estimation, the formula is P = r / (w+1). Preferably, in the proportion estimation formula of this embodiment, a = 1 / 4 and b = 1 / 3, that is, the proportion estimation formula is P = (r - 1 / 4) / (w + 1 / 3), so that the rank correction coefficient is slightly smaller than the total sample correction coefficient, ensuring the stability of the data in the early stage of the sample and that the tail is not significantly amplified.
[0100] In some embodiments, determining the cumulative probability corresponding to each rank using the proportional estimation method includes: determining the rank correction coefficient and the total sample size correction coefficient; calculating the cumulative probability corresponding to each rank using the proportional estimation formula based on the rank correction coefficient and the total sample size correction coefficient; the method further includes: solving the normal distribution function based on the cumulative probability and performing a normal distribution verification; if the normal distribution verification fails, re-determining the rank correction coefficient and the total sample size correction coefficient.
[0101] In the embodiments disclosed herein, such as Figure 5 As shown, after calculating the cumulative probability corresponding to each rank (after probability score estimation), the normal distribution function can be solved based on the cumulative probability. The normal distribution function is shown in the following formula:
[0102]
[0103] Where z is the z-score of the normal distribution, and P is the corresponding cumulative probability.
[0104] By solving the normal distribution function, the corresponding z-score can be obtained. Then, the z-score is subjected to a normality check. If the normality check fails, the rank correction coefficient 'a' and the total sample size correction coefficient 'b' are re-determined, and proportional estimation is performed again to obtain the cumulative probability, until the normality check passes. If the normality check passes, a new operating parameter control range can be obtained based on the mapping between the z-score and specific operating parameter values. In this disclosure, the z-score can be calculated from the 3σ range of the normal distribution to obtain the new operating parameter control range (e.g., using the finite difference method), thereby ensuring the accuracy of the operating parameter control range.
[0105] The following is an embodiment of this disclosure for obtaining a reasonable operating parameter control range using the above-mentioned self-learning method when there is insufficient sampling data for operating parameters in the early stages of vehicle development. The principle is as follows: In the early stages of development, when the sample size is insufficient, the determination of the operating parameter control range is mainly due to sampling deviation errors. To address the deviation in the operating parameter control range caused by sampling deviation, when it is found that the sampling data is biased due to insufficient sample size, the operating parameter control range can be corrected by adjusting the data and estimating the control range for a larger sample size.
[0106] Specifically, this explanation uses the oil pump motor speed (operating parameter) and oil pump motor current (control parameter) as examples. We can first sample 200 initial real-time speeds, and the distribution of these sampled initial real-time speeds can be referenced. Figure 1The preset target speed is 500 rpm. The distribution of the 200 sampled first real-time speeds is checked to see if there are any instances of overall data being too high or too low, or if there is dispersion. If such cases exist, the control parameters are adjusted and corrected. Here, the average value of the 200 sampled first real-time speeds can be taken as the current nominal value, and a third difference between the current nominal value and the preset nominal value (i.e., the preset target speed) is determined. If the third difference is greater than or equal to the first preset value, the vehicle's motor current can be adjusted based on the third difference. If the current nominal value is less than the preset nominal value (the sampled speed data is generally too low), the step increase is determined based on the third difference, and the current control parameters are increased by one step at a time. If the current nominal value is greater than the preset nominal value (the sampled speed data is generally too high), the step decrease is determined based on the third difference, and the current control parameters are decreased by one step at a time. After each increment or decrement by a step, the vehicle's real-time rotational speed is resampled, and the vehicle's current nominal value and a third difference between the current nominal value and a preset nominal value are re-determined. It is then determined whether the re-determined third difference is less than a first preset value. If so, the motor current is no longer adjusted; otherwise, the increment or decrement is increased or decreased by another step. In some embodiments, the increment or decrement can be the current corresponding to half of the third difference (rotational speed). Figure 1 As shown, the 200 sampled first real-time speed data points are generally too low, concentrated around 400 rpm (the average of the 200 first real-time speed points), which is lower than the target speed of 500 rpm. Therefore, the oil pump motor current needs to be compensated. Since the data is generally 100 rpm lower (i.e., the third difference), the oil pump motor current is increased in steps corresponding to 50 rpm (1 / 2 of the third difference), so that the current nominal value of the vehicle reaches or approaches the preset nominal value (i.e., the third difference is less than the first preset value).
[0107] After adjusting the oil pump motor current (control parameter), another 200 real-time speeds can be sampled. If the sampled data is too large or too small, or has a large amount of dispersion that fails to meet the requirements of a normal distribution, the sampled data needs to be corrected to obtain a suitable control range for the operating parameters. The 200 real-time speeds should be sorted in ascending order, and referenced... Figure 1For example, the minimum speed of 350 rpm is recorded with a rank of 1, and the speed of 750 rpm is recorded with a rank of 200. Since the probability of all speed points appearing within a certain time period follows a normal distribution when the sample size is large enough, the cumulative probability corresponding to the ranks from 1 to 200 is obtained according to the following estimation formula: P = (r - 1 / 4) / (w + 1 / 3), where r is the rank (i.e., 1 to 200), w is the total number of sampled second real-time speeds (i.e., 200), and 1 / 4 and 1 / 3 are preferred proportional estimation parameters. The core of proportional estimation here is to convert the sampled data into probability scores. How to establish reasonable probability scores is an important feature that reflects the accuracy of proportional estimation. Commonly used proportional estimation formulas include the rank proportional estimation formula P = (r - 1 / 2) / w and the Blom proportional estimation formula P = (r - 3 / 8) / (w + 1 / 4). The rank proportion formula corrects the sample rank *r*, but not the total sample size *w*. The correction parameter for the sample rank *r* is 1 / 2. Since the interval between each rank in the proportion estimation is 1, a rank correction parameter of 1 / 2 (i.e., taking the 50th percentile of rank 1) has a significant impact on the proportion estimate when the initial rank is small. This can lead to a reduction in the probability of a small rank, while amplifying the probability at the end of the data. If the overall data is small, the impact is substantial. In the Blom estimation formula, the rank *r* correction parameter is reduced to 3 / 8 (i.e., taking the 37.5th percentile of rank 1), and a parameter correction for the total sample size is added. This ensures that the probability is not significantly amplified at the end of the data. However, because the set rank correction coefficient is greater than the total sample size correction coefficient, the slope of the sampled data is greater than the overall slope. Although the rank correction parameter 3 / 8 is less than 1 / 2 of the rank estimate, it is still relatively large. When the initial rank is small, the data probability is easily compressed. To address the aforementioned issues and improve the overall accuracy of the estimation, the rank correction parameter needs to be reduced, and it should be slightly smaller than the total estimation parameter. This ensures data stability in the early stages of the sample and prevents significant amplification of the tail. The preferred option is to use 1 / 4, which represents the 25th percentile of the data. This is slightly smaller than the total estimation parameter of 1 / 3, but they are essentially the same and easy to calculate. Verification has shown that the overall stability is good.
[0108] Based on the cumulative probability P above, calculate the inverse function z of the corresponding normal distribution. Refer to the above example for the specific normal distribution function. Through the above transformation, the following can be obtained: Figure 6 The corrected data results shown can be compared with the original data to obtain the new oil pump motor speed control range, which is 500±200rpm. Here, 3σ is selected for characteristic value control to ensure a capability value of approximately 1.
[0109] Referring to the above embodiments, the self-learning method for operating parameters includes two parts: control parameter adjustment and determination of the operating parameter control range. Figure 3Specifically, the process includes the following steps: sampling multiple first operating parameters; determining whether the current nominal value deviates (i.e., whether the third difference between the current nominal value and the preset nominal value is greater than or equal to the first preset value); adjusting the control parameters; determining whether the initial operating parameter control range deviates; determining the operating parameter control range; and running a check of the results. The relevant steps for adjusting the control parameters are detailed below. Figure 4 The control process is divided into two schemes: direct control parameters and indirect control parameters. For example, oil pump motor speed control is usually achieved by controlling the oil pump motor current; motor torque control is usually achieved by controlling the motor current, which is direct control. Some characteristic parameters are implemented using indirect control schemes, such as motor temperature, which is achieved by controlling the oil pump motor speed. When using indirect control, the direct control of the subsystem must be considered simultaneously. If the sampled data shows dispersion or irregularity, the control system should be checked first to confirm its stability. For example, if the sampled data shows dispersion or irregularity when controlling the oil pump speed, the stability of the oil pump motor current output should be checked (motor mechanical faults such as three-phase power supply, inter-turn or inter-phase short circuits, controller overload, lubrication system faults, etc. can also be checked). In addition, control parameter correction is generally performed in 50% increments to avoid overcorrection. The core of the correction process for the control range of working parameters lies in the data conversion method. For details, please refer to [reference needed]. Figure 5 First, the probability score is estimated based on the sampled data. Then, the z-score is solved based on the normal distribution function. The normal distribution of the data is verified based on the obtained z-score. If the normal distribution verification fails, the probability score estimation may be abnormal and the estimation parameters need to be readjusted. If the normal distribution verification passes, the working parameter control range is updated based on the estimated value.
[0110] like Figure 7 As shown, this embodiment of the disclosure provides a self-learning device 100 for vehicle parameters, including:
[0111] Control module 110, the control module is used to control the operation of the vehicle according to the current control parameters;
[0112] Acquisition module 120, the acquisition module is used to acquire multiple first operating parameters of the vehicle;
[0113] Processing module 130, the processing module is used to adjust the current control parameters according to the plurality of first working parameters and preset nominal values; the preset nominal values are used to represent the working parameters of the vehicle in the target working state;
[0114] The acquisition module 120 is also used to acquire multiple second operating parameters of the vehicle after the processing module adjusts the current control parameters;
[0115] The processing module 130 is further configured to determine the operating parameter control range of the vehicle based on the plurality of second operating parameters, and to determine whether the vehicle has an abnormal operating state based on the operating parameter control range.
[0116] It should be noted that the self-learning device 100 for vehicle parameters provided in the above embodiments is only illustrated by the division of the above program modules when performing self-learning of vehicle parameters. In actual applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the device can be divided into different program modules to complete all or part of the processing described above.
[0117] The vehicle parameter self-learning device 100 and the vehicle parameter self-learning method embodiment provided in the above embodiments belong to the same concept. For details of its specific implementation process, please refer to the vehicle parameter self-learning method embodiment, which will not be repeated here.
[0118] This disclosure provides a computer program product, including a computer program that, when executed, implements the steps of any of the methods described in the above embodiments.
[0119] like Figure 8 As shown, this disclosure provides an electronic device 10, including a memory 11 and a processor 12. The memory 11 stores a computer program. When the computer program is executed by the processor 12, the processor 12 performs the steps of any of the methods described in the above embodiments.
[0120] In an exemplary embodiment, the electronic device 10 may be implemented by one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers (MCUs), microprocessors, or other electronic components to execute the aforementioned self-learning method for vehicle parameters.
[0121] It is understood that the memory in the embodiments of this disclosure can be volatile memory or non-volatile memory, or both. Non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), ferromagnetic random access memory (FRAM), flash memory, magnetic surface memory, optical disc, or compact disc read-only memory (CD-ROM); magnetic surface memory can be disk storage or magnetic tape storage. Volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), SyncLink Dynamic Random Access Memory (SLDRAM), and Direct Rambus Random Access Memory (DRRAM).The memories described in the embodiments of this disclosure are intended to include, but are not limited to, these and any other suitable types of memories.
[0122] This disclosure provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any of the methods described in the above embodiments.
[0123] In an exemplary embodiment, this disclosure also provides a storage medium, namely a computer storage medium, specifically a computer-readable storage medium, such as a memory that stores a computer program, which can be executed by a processor in an electronic device to complete the steps of the aforementioned self-learning method for vehicle parameters. The computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disc, or CD-ROM.
[0124] The vehicle parameter self-learning method, apparatus, program product, device, and storage medium provided in this disclosure can first adjust the current control parameters of the vehicle using the acquired first operating parameters and preset nominal values to bring the vehicle to a target operating state. Then, multiple second operating parameters of the vehicle in the target operating state are acquired, and the vehicle's operating parameter control range is determined based on these multiple second operating parameters. This control range allows for the determination of whether the vehicle is in an abnormal operating state. Thus, the vehicle parameter self-learning method provided in this disclosure can provide appropriate operating parameter control ranges in various usage scenarios, thereby reducing false alarms or missed alarms in the vehicle system and improving vehicle stability and user experience.
[0125] It should be noted that the features disclosed in the several method or device embodiments provided in this disclosure can be arbitrarily combined to obtain new method or device embodiments without conflict.
[0126] The above description is merely a specific embodiment of this disclosure, but the scope of protection of this disclosure is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this disclosure should be included within the scope of protection of this disclosure. Therefore, the scope of protection of this disclosure should be determined by the scope of the claims.
Claims
1. A self-learning method for vehicle parameters, characterized in that, The method includes: Based on the current control parameters, control the vehicle to operate and acquire multiple first operating parameters of the vehicle; The current control parameters are adjusted according to the plurality of first operating parameters and preset nominal values; the preset nominal values are used to represent the operating parameters of the vehicle in the target operating state. Acquire multiple second operating parameters of the vehicle after adjusting the current control parameters; The control range of the vehicle's operating parameters is determined based on the plurality of second operating parameters; Based on the control range of the operating parameters, determine whether the vehicle is in an abnormal operating state; The step of adjusting the current control parameter according to the plurality of first operating parameters and preset nominal values includes: The current nominal value is determined based on the plurality of first working parameters, and a third difference between the current nominal value and the preset nominal value is determined; If the third difference is greater than or equal to the first preset value, the current control parameter is adjusted according to the third difference; Determining the vehicle's operating parameter control range based on the plurality of second operating parameters includes: The initial operating parameter control range is determined based on the plurality of second operating parameters; Based on the preset nominal value, determine whether the initial operating parameter control range has deviated; If the initial operating parameter control range deviates, the plurality of second operating parameters are converted into probability scores, and the operating parameter control range is determined using the probability distribution; If the initial operating parameter control range does not deviate, the initial operating parameter control range is determined as the operating parameter control range.
2. The self-learning method according to claim 1, characterized in that, The step of converting the plurality of second operating parameters into probability scores and using the probability distribution to determine the control range of the operating parameters includes: Determine multiple ranks that correspond one-to-one with the multiple second working parameters; The cumulative probability corresponding to each rank is determined using a proportional estimation method. The control range of the operating parameters is determined based on the cumulative probability and using a normal distribution function.
3. The self-learning method according to claim 2, characterized in that, The cumulative probability is determined by the following proportional estimation formula: P=(ra) / (w+b), Where P is the cumulative probability, r is the rank, w is the total number of the plurality of second working parameters, a is the rank correction coefficient, b is the sample size correction coefficient, and 0 ≤ a <b<1。 4. The self-learning method according to claim 3, characterized in that, The method of determining the cumulative probability corresponding to each rank using the proportional estimation method includes: Determine the rank correction coefficient and the total sample size correction coefficient; Based on the rank correction coefficient and the total sample size correction coefficient, the cumulative probability corresponding to each rank is calculated using the proportional estimation formula. The method further includes: Solve for the normal distribution function based on the cumulative probability, and then verify the normal distribution. If the normality verification fails, the rank correction coefficient and the total sample size correction coefficient are re-determined.
5. The self-learning method according to claim 1, characterized in that, The acquisition of multiple second operating parameters of the vehicle after adjusting the current control parameters includes: Obtain N second operating parameters of the vehicle after adjusting the current control parameters; where N is an integer greater than 1; The step of determining the initial operating parameter control range based on the plurality of second operating parameters includes: The maximum control limit of the initial operating parameter control range is determined based on the largest i second operating parameters among the N second operating parameters; where i is a positive integer and i is less than N; The minimum control limit of the initial operating parameter control range is determined based on the j smallest second operating parameters among the N second operating parameters; where j is a positive integer and j is less than N; The step of determining whether the initial operating parameter control range deviates based on the preset nominal value includes: Determine a first difference between the maximum control limit and the preset nominal value, and a second difference between the minimum control limit and the preset nominal value; Based on the first difference and the second difference, it is determined whether the initial operating parameter control range has deviated.
6. The self-learning method according to claim 1, characterized in that, The step of adjusting the current control parameter based on the third difference includes: When the current nominal value is less than the preset nominal value, the step increment is determined based on the third difference, and the step increment is increased by one step increment successively based on the current control parameter; or, If the current nominal value is greater than the preset nominal value, the step reduction amount is determined based on the third difference, and the step reduction amount is reduced one by one based on the current control parameter.
7. The self-learning method according to claim 1, characterized in that, The current control parameters include motor current, the first operating parameter includes motor speed, and the second operating parameter includes motor speed.
8. A self-learning device for vehicle parameters, characterized in that, include: A control module, which controls the vehicle to operate according to current control parameters; An acquisition module is used to acquire multiple first operating parameters of the vehicle; The processing module is used to adjust the current control parameters according to the plurality of first operating parameters and preset nominal values; the preset nominal values are used to represent the operating parameters of the vehicle in the target operating state. The acquisition module is also used to acquire multiple second operating parameters of the vehicle after the processing module adjusts the current control parameters; The processing module is also used to determine the operating parameter control range of the vehicle based on the plurality of second operating parameters, and to determine whether the vehicle has an abnormal operating state based on the operating parameter control range; The processing module is configured to adjust the current control parameter according to the plurality of first operating parameters and a preset nominal value, including: the processing module determines the current nominal value according to the plurality of first operating parameters, and determines a third difference between the current nominal value and the preset nominal value; if the third difference is greater than or equal to the first preset value, the current control parameter is adjusted according to the third difference. The processing module is used to determine the operating parameter control range of the vehicle based on the plurality of second operating parameters, including: the processing module determines an initial operating parameter control range based on the plurality of second operating parameters; determines whether the initial operating parameter control range deviates based on the preset nominal value; if the initial operating parameter control range deviates, converts the plurality of second operating parameters into probability scores and uses the probability distribution to determine the operating parameter control range; if the initial operating parameter control range does not deviate, determines the initial operating parameter control range as the operating parameter control range.
9. A computer program product, comprising a computer program, characterized in that, When the computer program is executed, it implements the steps of the method according to any one of claims 1 to 7.
10. An electronic device comprising a memory and a processor, the memory storing a computer program, wherein when the computer program is executed by the processor, the processor performs the steps of the method as claimed in any one of claims 1 to 7.
11. A computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Method and system for controlling an automated driving system of a vehicle
CN111610781A
Variable valve timing self-learning control method, device and system, vehicle, electronic equipment and storage medium
CN116557156A
