Driving force determination method and device, vehicle, storage medium and product
By acquiring the operating information of the suspension system and using a genetic algorithm to optimize the weights to determine the active force, the problem of the active suspension system being unable to accurately determine the active force is solved, thus achieving real-time performance and accuracy of the suspension system and improving vehicle comfort and handling stability.
Patent Information
- Application Number
- CN202410217208.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-27
- Publication Date
- 2026-11-20
- Estimated Expiration
- 2044-02-27
AI Technical Summary
Existing active suspension systems cannot accurately determine the active force required for the current operating conditions, affecting the control effect and making it difficult to simultaneously satisfy the comfort and handling stability of the driver and passengers.
By acquiring operational information such as vehicle suspension dynamic deflection, vehicle body vertical acceleration, and wheel dynamic load, a genetic algorithm is used to optimize and determine the initial grade group, calculate the weight of each piece of information, and then accurately determine the active force required by the suspension system.
This improves the real-time performance and accuracy of the suspension system's active force, thereby enhancing vehicle comfort and handling stability.
Smart Images

Figure CN117962535B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of automotive control, and more particularly to a method, apparatus, vehicle, storage medium, and product for determining active power. Background Technology
[0002] The suspension system integrates technical knowledge from mechanics and electronics, and is a relatively complex high-tech device. An active suspension system dynamically and adaptively adjusts the stiffness and damping performance of the suspension according to the vehicle's driving conditions (vehicle motion and road conditions, etc.) to ensure the suspension system is always in an optimal damping state.
[0003] Current active suspension technology cannot accurately determine the active force required by the suspension system under current operating conditions, which affects the control effect of the active suspension and thus cannot simultaneously meet the comfort and handling stability requirements of the driver and passengers. Summary of the Invention
[0004] In view of this, embodiments of this application provide a method, apparatus, vehicle, storage medium, and product for determining active power.
[0005] The technical solution of this application embodiment is implemented as follows: In a first aspect, embodiments of this application provide a method for determining active force, applied to a suspension system. The method includes: acquiring at least two sets of operating information for a vehicle; each set of operating information includes at least two items of operating information: suspension dynamic deflection, vehicle vertical acceleration, and wheel dynamic load; determining an initial level group corresponding to each of the at least two sets of operating information based on an offline database of the operating information; each initial level group includes an initial level corresponding to each item of operating information; determining the at least two initial level groups as an initial population; performing selection, crossover, and mutation operations on the initial population to evolve the population, and obtaining a target level group when the number of population evolutions meets a preset number of evolutions; the target level group is the result obtained after the preset number of evolutions; the target level group includes a target level corresponding to each item of operating information; using the ratio of the target levels corresponding to each item of operating information as the weight corresponding to each item of operating information; and determining the active force required for the operation of the suspension system based on the target levels and the weights.
[0006] Secondly, embodiments of this application provide an active force determination device, the device comprising: a first acquisition module, configured to acquire at least two sets of operating information of a vehicle; the operating information sets include at least two items of operating information: suspension dynamic deflection of the suspension system, vehicle vertical acceleration, and wheel dynamic load; a first determination module, configured to determine an initial level group corresponding to the at least two sets of operating information based on an offline database of the operating information; the initial level group includes an initial level corresponding to each item of operating information; a second determination module, configured to determine the at least two initial level groups as an initial population; an evolution module, configured to perform selection, crossover, and mutation operations on the initial population to evolve the population, and obtain a target level group when the number of population evolutions meets a preset number of evolutions; the target level group is the result after the preset number of evolutions; the target level group includes a target level corresponding to each item of operating information; a third determination module, configured to use the ratio of the target levels corresponding to each item of operating information as the weight corresponding to each item of operating information; and a fourth determination module, configured to determine the active force required for the operation of the suspension system based on the target level and the weight.
[0007] Thirdly, embodiments of this application provide a vehicle including a memory and a controller. The memory stores a computer program that can run on the controller, and the controller executes the program to implement the steps in the above-described method.
[0008] Fourthly, embodiments of this application provide a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps in the above-described method.
[0009] Fifthly, embodiments of this application provide a computer program product, the computer program product including a computer program or instructions, which, when executed by a processor, implement the steps in the above-described method.
[0010] In this embodiment, at least two sets of vehicle operation information are obtained, and initial level groups corresponding to the operation information sets are determined. An initial population containing at least two initial level groups is obtained. The initial population is subjected to selection, crossover, and mutation operations to evolve the population and obtain a target level group. The ratio of the target level of each operation information item is determined as the weight of each operation information item. Based on the weight and the target level, the active force required by the current vehicle's suspension system is comprehensively determined. Thus, by using a genetic algorithm, multiple primary level groups are continuously optimized to obtain the optimal target level group. The weight of each operation information item is determined according to the target level group. The active force of the currently adapted suspension system is accurately determined using the weight, so that the active force of the suspension system has real-time performance and accuracy, thereby improving the vehicle's comfort and handling stability.
[0011] It should be understood that the above general description and the following detailed description are merely exemplary and explanatory, and are not intended to limit the technical solutions of this application. Attached Figure Description
[0012] In the accompanying drawings (which are not necessarily drawn to scale), similar reference numerals may describe similar parts in different views. Similar reference numerals with different letter suffixes may indicate different examples of similar parts. The drawings illustrate, by way of example and not limitation, the various embodiments discussed herein.
[0013] Figure 1 A method flow for determining active power provided in the embodiments of this application Figure 1 ; Figure 2 This is a schematic diagram of a fourth group generation structure provided in an embodiment of this application; Figure 3 A method flow for determining active power provided in the embodiments of this application Figure 2 ; Figure 4 A flowchart of the NSGA-II algorithm provided for embodiments of this application; Figure 5 This is a schematic diagram of the composition structure of a power determination device provided in an embodiment of this application; Figure 6 This is a schematic diagram of the hardware entity of a vehicle provided in an embodiment of this application. Detailed Implementation
[0014] Exemplary embodiments of the present application will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the present application are shown in the drawings, it should be understood that the present application 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 present application and to fully convey the scope of the disclosure of the present application to those skilled in the art.
[0015] In the following description, numerous specific details are set forth in order to provide a more thorough understanding of this application. However, it will be apparent to those skilled in the art that this application can be practiced without one or more of these details. In other instances, to avoid confusion with this application, some technical features well-known in the art have not been described; that is, not all features of actual embodiments are described herein, nor are well-known functions and structures described in detail.
[0016] It should be understood that although the terms first, second, third, etc., may be used to describe various elements, components, areas, layers, and / or parts, these elements, components, areas, layers, and / or parts should not be limited by these terms. These terms are only used to distinguish one element, component, area, layer, or part from another element, component, area, layer, or part. Therefore, without departing from the teachings of this application, the first element, component, area, layer, or part discussed below may be referred to as a second element, component, area, layer, or part. And the discussion of a second element, component, area, layer, or part does not imply that the first element, component, area, layer, or part necessarily exists in this application.
[0017] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the scope of this application. 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 “comprising” and / or “including,” 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.
[0018] Currently, related technologies employ sliding mode control algorithms, which, while achieving stability quickly, suffer from inaccurate calculations of the active suspension's power, impacting its control effectiveness and consequently affecting passenger comfort and handling. Furthermore, the establishment of energy evaluation systems and datasets cannot guarantee the real-time accuracy of the output power when dealing with rapidly changing driving conditions, further affecting the active suspension's control and consequently impacting passenger comfort and handling. Moreover, current control algorithms lack adaptability to different driving conditions. Therefore, simultaneously satisfying comfort and handling requirements while improving the robustness of the control algorithm is a key research focus for suspension systems.
[0019] Based on the aforementioned issues, this application provides a method for determining the active power of the suspension system. The method involves acquiring at least two sets of vehicle operating information and determining the initial level groups corresponding to these sets. An initial population containing at least two initial level groups is obtained. The initial population is then subjected to selection, crossover, and mutation operations to evolve it, resulting in a target level group. The ratio of the target level to each piece of operating information is determined as the weight of that information. Based on the weights and target levels, the active power required by the vehicle's suspension system is comprehensively determined. Thus, by using a genetic algorithm, multiple initial level groups are continuously optimized to obtain the optimal target level group. The weights of each piece of operating information are determined according to the target level group, and the active power of the currently adapted suspension system is accurately determined using these weights. This ensures the real-time and accurate determination of the active power of the suspension system, thereby improving vehicle comfort and handling stability.
[0020] This application provides a method for determining the active force, applied to a suspension system, such as... Figure 1 As shown, the method includes the following steps S110 to S160: Step S110: Obtain at least two sets of operating information for the vehicle; the sets of operating information include at least two of the following operating information: the suspension dynamic deflection of the suspension system, the vehicle body vertical acceleration, and the wheel dynamic load.
[0021] Here, the operational information sets can be collected in real time via sensors, or they can be collected at preset intervals, typically 1 or 2 seconds. Each operational information set includes at least two of the following: suspension dynamic deflection, vehicle vertical acceleration, and wheel dynamic load. Generally, operational information sets include suspension dynamic deflection, vehicle vertical acceleration, and wheel dynamic load.
[0022] Step S120: Based on the offline database of the operation information, determine the initial level group corresponding to each of the at least two operation information groups; the initial level group includes the initial level corresponding to each operation information item.
[0023] Here, the offline database of operational information can be built based on the vehicle's historical operational information, which can be obtained through onboard sensors or driving simulators and stored in the vehicle's memory.
[0024] It should be understood that each operational information group is collected at different times, and the data for each operational information item contained in each operational information group is different, with a different initial level. For example, the data on suspension dynamic deflection collected at the first time corresponds to level 1, the data on vehicle vertical acceleration corresponds to level 3, and the data on wheel dynamic load corresponds to level 2, so the initial level group for the first time is (1, 2, 3); the data on suspension dynamic deflection collected at the second time corresponds to level 2, the data on vehicle vertical acceleration corresponds to level 1, and the data on wheel dynamic load corresponds to level 4, so the initial level group for the second time is (2, 1, 4).
[0025] Step S130: Determine at least two of the initial rank groups as the initial population.
[0026] An initial rank group can be understood as an individual, while a population consists of multiple individuals.
[0027] Step S140: Perform selection, crossover, and mutation operations on the initial population to make the population evolve. If the number of population evolutions meets the preset number of evolutions, a target level group is obtained. The target level group is the result obtained after the preset number of evolutions. The target level group includes the target level corresponding to each item of running information.
[0028] The preset generation number refers to the maximum number of generations to be evolved. The maximum number of generations to be evolved can be customized according to the actual situation, and is generally an integer greater than 1. The larger the generation number, the more accurate the optimal solution is obtained; the smaller the generation number, the coarser the optimal solution is obtained.
[0029] It is understandable that after each set of operational information is acquired, a corresponding initial level set is obtained. The initial population is optimized by selecting, crossing over, and mutating multiple initial level sets, and the target level set is determined comprehensively. The target level set contains the target level corresponding to each piece of operational information.
[0030] Step S150: Use the ratio of the target level corresponding to each piece of operational information as the weight corresponding to each piece of operational information.
[0031] It should be understood that the target level group is the optimal solution. Therefore, the weight obtained from the ratio of the target level corresponding to each piece of operational information is the optimal weight of the operational information.
[0032] Step S160: Based on the target level and the weight, determine the active force required for the suspension system to operate.
[0033] In this embodiment of the application, after determining the initial level group corresponding to each of the multiple operating information groups, a genetic algorithm is used to continuously optimize the multiple initial level groups to obtain the optimal target level group. The weight of each operating information is determined according to the target level group, and the active force of the current adaptive suspension system is accurately determined using the weight, so that the active force of the suspension system has real-time performance and accuracy, thereby improving the comfort and handling stability of the vehicle.
[0034] In some embodiments, the implementation of step S160 may include the following steps S161 to S163: Step S161: Determine the force value corresponding to the target level of each piece of operational information; It should be understood that the levels corresponding to the operational information data are pre-calibrated, and the range of force values corresponding to each level are also pre-calibrated. By looking up tables, the maximum and minimum adjustable forces of the target level can be determined, and the force value corresponding to that level can be calculated.
[0035] Step S162: Add the squares of each force value multiplied by the weights to obtain a first result; Step S163: Take the square root of the first result to obtain the active force.
[0036] Here, the formula for calculating the active force required by the suspension system is as follows (1): (1); in, , , These represent the maximum adjustable forces corresponding to the target level for suspension dynamic deflection, vehicle vertical acceleration, and wheel dynamic load, respectively. , , These represent the minimum adjustable forces corresponding to the target level for suspension dynamic deflection, vehicle vertical acceleration, and wheel dynamic load, respectively. , , These represent the optimal weights for the three indicators: suspension dynamic deflection, vehicle vertical acceleration, and wheel dynamic load, respectively. The symbol is the square root.
[0037] In this embodiment, by determining the force value corresponding to the target level of each operational information, and by utilizing the force value and corresponding weight of each operational information, the active force required by the suspension system at present can be comprehensively determined, so that the active force of the suspension system has real-time performance and accuracy, thereby improving the comfort and handling stability of the vehicle.
[0038] In some embodiments, the implementation of step S140 may include the following steps S141 to S148: Step S141: Define the objective function based on the initial level group; Here, the objective function formula can be the following formula (2): (2); in, , , These represent the initial levels corresponding to suspension dynamic deflection, vehicle vertical acceleration, and wheel dynamic load, respectively. This represents the objective function.
[0039] Here, the objective function is constructed with the goal of achieving the optimal values for the levels corresponding to three operational information items: suspension dynamic deflection, vehicle vertical acceleration, and wheel dynamic load.
[0040] Step S142: Determine the objective function value corresponding to each initial level group as the first fitness value of the initial level group; It should be understood that fitness values are used to represent the relative quality of initial rank groups. The smaller the fitness value, the better the corresponding initial rank group; the larger the fitness value, the worse the corresponding initial rank group.
[0041] Furthermore, fitness values can be used for fast non-dominated ranking, where a smaller fitness value indicates a lower non-dominated level and fewer individuals dominating an individual. For example, in the first group, if no individual can dominate individual a, then the non-dominated level of individual a is 1; if one individual dominates individual b, then the non-dominated level of individual b is 2.
[0042] Suppose there are k objective functions denoted as fz(x), where z is any integer from 1, 2, ..., k, and j is also any integer from 1, 2, ..., k, but z is not equal to j. If for any objective function, fz(x1) is less than fz(x2), then the initial ranking set x1 is said to dominate x2. If for any objective function, fz(x1) is less than or equal to fz(x2) and there is at least one objective function such that fj(x1) is less than or equal to fj(x2), then x1 is said to weakly dominate x2. If there exists an objective function such that fz(x1) is less than or equal to fz(x2) and there exists an objective function such that fj(x1) is greater than or equal to fj(x2), then the initial ranking sets x1 and x2 are said to be non-dominant.
[0043] Step S143: Randomly select a preset number of initial rank groups from the initial population, retain the initial rank group with the highest first fitness value, repeat N times to obtain the second population; where N is the number of initial rank groups in the initial population, and N is an integer greater than or equal to 2; Here, the selection operation can use the binary tournament method. The tournament method selection strategy takes a certain number of initial rank groups from the population each time, and then selects the initial rank group with the lowest fitness value, i.e., the lowest non-dominant rank, to enter the second population. This operation is repeated until the number of initial rank groups in the second population reaches the number of initial rank groups in the initial population.
[0044] Step S144: Randomly select two initial rank groups in the second group and perform a crossover operation. Repeat the crossover operation N times to obtain the third group. Here, the crossover operation can use a simulated binary crossover algorithm, which can be expressed as follows in formulas (3) and (4): (3); (4); in, This is the value of the first initial rank group of generation k+1 generated after crossover. After crossover, the values of the second type of initial rank group for generation k+1 are generated. and These are the values of the two selected initial rank groups for the kth generation. It is the uniform distribution factor, where The calculation method is as follows: (5) (5); in, It is a random number belonging to the range [0, 1). It is the cross-distribution index, generally defined as 20-30. The size of the initial level group will affect how close the generated initial level group is to the selected initial level group.
[0045] Step S145: Define a mutation operator to perform a mutation operation on the initial rank group in the third population to obtain the first generation subgroup; Here, the initial population can be understood as the first generation of parent population, which generates the first generation of child population through selection, crossover, and mutation.
[0046] Here, the mutation operator can be a polynomial mutation operator, and the mutation formula for the initial level group of the (k+1)th generation is as follows (6): (6); in, It is the selected kth generation initial rank group. yes The initial level group of generation k+1 obtained after mutation operation It is the upper bound of the decision variable. The lower bound of the decision variable, It is a variable factor.
[0047] in, The calculation formula is as follows (7): (7); in, A uniformly distributed random number in [0,1]. This is the variation distribution index.
[0048] Step S146: Merge the initial population and the first generation subpopulation to generate a fourth population; Here, the fourth group can be understood as the new generation parent group.
[0049] Step S147: Perform selection, crossover, and mutation operations on the fourth population to obtain the second generation of subpopulations; wherein, each generation of subpopulations represents the completion of one population evolution. Step S148: If the number of evolutions meets the preset number of evolutions, the target level is obtained.
[0050] In this embodiment, fitness values are used to quickly determine excellent initial rank groups, and then selection, crossover, and mutation are performed to continuously evolve the population, making the initial rank groups of the population even better. This helps to improve the speed of selecting excellent initial rank groups and the accuracy of target rank groups, further improving the real-time performance and accuracy of the active force of the suspension system, and ensuring the comfort and handling stability of the vehicle.
[0051] In some embodiments, the implementation of step S146 may include the following steps S1461 to S1462: Step S1461: Merge the initial population and the first generation subpopulation to obtain the fifth population; Here, the number of initial rank groups in the initial population is the same as that in the first generation subgroup, and the number of initial rank groups in the fifth population is twice that in the initial population.
[0052] Step S1462: Sort, calculate crowding, and select elite strategies for the initial rank groups in the fifth group to obtain the fourth group.
[0053] In this embodiment, operations such as fast non-dominated sorting, crowding calculation, selection, crossover, and mutation are used to improve the algorithm's computation speed, prevent premature convergence to local optima, and enhance the algorithm's convergence speed and robustness. This improves the speed of determining the target level and the accuracy of identifying the globally optimal target level, thereby improving the real-time performance and accuracy of the suspension system's active force, ensuring vehicle comfort and handling stability.
[0054] In some embodiments, the implementation of step S1462 may include the following steps S14621 to S14627: Step S14621: Determine the second fitness value for each initial rank group in the fifth population; Step S14622: Divide the initial rank groups with the same second fitness value into the same fitness rank set to obtain at least one fitness rank set; Step S14623: Sort the fitness level set in descending order of fitness level; Here, the sorting operation can use quick non-dominated sort, which essentially sorts based on fitness values. The set of fitness levels is the set of non-dominated levels.
[0055] It is important to understand that individuals with lower fitness values (initially ranked groups) dominate individuals with higher fitness values.
[0056] Each initial rank group in the fifth population has two parameters, ni and Si. ni is the number of dominant initial rank groups in the population, and Si is the set of other initial rank groups dominated by initial rank group i. The fast non-dominated sorting includes: (1) finding all initial rank groups in the population with ni = 0 by iterative comparison, assigning them a non-dominated rank of 1, and storing these initial rank groups in the first non-dominated set rank1; (2) for each initial rank group in set rank1, subtracting 1 from the ni of each second initial rank group in the set of initial rank groups it dominates. If ni-1 = 0, the second initial rank group is stored in the second non-dominated set rank2, and the initial rank groups in it are assigned a non-dominated rank of 2; (3) repeating the above operation for the initial rank groups in rank2 until all initial rank groups are assigned a non-dominated (Pareto) rank.
[0057] Step S14624: If the sum of the number of initial rank groups in the first M fitness rank sets is less than the number of initial rank groups in the initial population, retain all initial rank groups in the first M fitness rank sets; M is an integer greater than or equal to 1. Step S14625: If the sum of the number of initial rank groups in the first M+1 fitness rank sets is greater than the number of initial rank groups in the initial population, determine the crowding degree of each initial rank group in the M+1th fitness rank set. Here, crowding is used to assess the distribution density of the initial rank group in the target space. The formula for calculating crowding can be as follows (8): (8); in, The value represents the degree of congestion, where i represents the initial level group for calculating the congestion degree. The objective function value for the next position after sorting the i-th initial rank group. The objective function value is the one preceding the i-th initial rank group in the sorting process, and / represents the division symbol.
[0058] Step S14626: Compare the crowding of each initial level group in the (M+1)th fitness level set, and retain the initial level groups whose crowding satisfies the preset crowding condition, wherein the number of initial level groups that satisfy the preset crowding condition is the number of initial level groups in the first population minus the sum of the number of initial level groups in the first M fitness level sets. The preset crowding condition can be that the crowding level is greater than the preset crowding level. The preset crowding level can be determined by subtracting the sum of the initial rank groups in the first M non-dominated ranks from the number of initial rank groups in the first population.
[0059] Step S14627: The initial level group in the first M fitness level sets and the initial level group whose crowding degree meets the preset crowding degree condition are determined as the fourth group.
[0060] In this embodiment, when the non-dominated levels are the same, the crowding degree is calculated to determine the excellent initial level group, preventing the algorithm from converging to the local optimum too early. The elite strategy selects the initial level group with low fitness (i.e. low non-dominated level) to form a new population, which improves the accuracy of the global optimal target level, thereby improving the real-time performance and accuracy of the active force of the suspension system and ensuring the comfort and handling stability of the vehicle.
[0061] It should be understood that after performing fast non-dominated sorting and crowding calculation, each initial level group in the (M+1)th non-dominated level has two attributes: non-dominated level and crowding. When comparing two initial level groups i and j, if the non-dominated level of initial level group i is better than that of initial level group j, then initial level group i wins; if the non-dominated levels of initial level group i and initial level group j are the same, and initial level group i has a larger crowding than initial level group j, then initial level group i wins.
[0062] This application provides a fourth type of group generation structure, such as... Figure 2As shown, the fourth population generation structure 200 includes an initial population 201 and a first-generation subgroup 202, wherein the number of initial rank groups in the initial population 201 and the first-generation subgroup 202 are N respectively; the initial population 201 and the first-generation subgroup 202 are merged to form a fifth population, and a non-dominated sorting operation is performed on the fifth population to obtain a non-dominated sorting table 203, which contains 6 non-dominated ranks; then the fourth population generation is performed, placing the initial rank group with non-dominated rank 1 into the fourth population set, and then placing the initial rank group with non-dominated rank 2 into the fourth population set, and so on. And so on; if after all the initial level groups of level 2 are put into the new fourth population set, the number of initial level groups in the fourth population set is less than N, while after all the initial level groups of level 3 are put into the fourth population set, the number of initial level groups in the fourth population set is greater than N, then the crowding degree of all initial level groups of level 3 is calculated and all initial level groups are sorted in descending order of crowding degree to obtain crowding degree ranking list 204, in which the initial level groups below the dotted line of crowding degree ranking list 204 are eliminated; then all initial level groups of level greater than 3 are eliminated, and the remaining initial level groups constitute the fourth population 205.
[0063] In this embodiment, the initial grade group with low non-dominance level is first retained. When the non-dominance level is the same, the crowding degree operator is compared and the initial grade group with high crowding degree is retained. A new population containing excellent initial grade groups is generated. A better target grade is obtained based on the new population, so that the active force of the suspension system has real-time performance and accuracy, thereby improving the comfort and handling stability of the vehicle.
[0064] In some embodiments, the method further includes the steps S170 to S190: Step S170: Obtain historical operation information; Historical operational information can be data stored in the vehicle's storage devices. This stored operational information can be obtained through onboard sensors or driving simulators.
[0065] Step S180: Determine the difference between the maximum and minimum values in each item of historical operation information; It should be understood that each piece of operational information in the historical operational information has a maximum value and a minimum value, and the difference between the maximum value and the minimum value is taken as the total range corresponding to that piece of operational information.
[0066] Step S190: Divide the difference equally to obtain an offline database; the offline database includes the data range corresponding to each level of each item of running information; wherein the number of levels is greater than or equal to the number of items of running information plus a constant.
[0067] It should be understood that after equally dividing the difference, the data range corresponding to each level of each operational information item is obtained. The historical operational information and the levels divided based on the historical operational information data are stored to obtain an offline database. The number of levels is greater than or equal to the number of operational information items plus a constant value; for example, if there are 3 operational information items and the constant value is 2.
[0068] In this embodiment, historical operating information is classified into levels, an offline database is constructed, and the levels of real-time operating information are predetermined to ensure that the active force of the vehicle's suspension system is adjusted within a certain range, avoiding excessively frequent output of the main force by the suspension system, which may not be executed in time and affect the comfort of the vehicle. Furthermore, the number of levels is greater than or equal to the number of operating information plus a constant value, and the number of levels is set according to specific circumstances to ensure that the operating information data is divided more finely.
[0069] In some embodiments, the implementation of step S120 may include the following steps S121 to S122: Step S121: Match each piece of running information in each running information group with the running information in the offline database to obtain the data range of each piece of running information; Step S122: Determine the level corresponding to the data interval as the initial level corresponding to each item of running information, and obtain the initial level group corresponding to each running information group.
[0070] In an offline database built based on historical operational information, the real-time operational information is matched with the operational information in the offline database, and the level corresponding to the data range that matches the operational information is determined as the initial level of the operational information.
[0071] In this embodiment, an offline database is pre-built, and the acquired real-time operating information is matched with the operating information in the offline database to directly and quickly obtain the initial level of the operating information, thereby improving the control efficiency of the suspension system. Furthermore, by determining the level, the active force of the vehicle's suspension system is ensured to be adjusted within a certain range, avoiding excessively frequent output of the main force by the suspension system, which may not be able to execute in time and affect the comfort of the vehicle.
[0072] The method for determining the active power provided in the embodiments of this application will be described in detail below with reference to specific application scenarios.
[0073] The following section will provide a detailed explanation of another method for determining the active force, such as... Figure 3 As shown, the method includes steps S31 to S35: Step S31: Build an offline database.
[0074] Here, historical operating information is obtained, which essentially consists of three indicators: suspension dynamic deflection, vehicle vertical acceleration, and wheel dynamic load. The data corresponding to the historical operating information is then classified into different levels to obtain an offline database.
[0075] Step S32: Real-time acquisition of three operational information items: vehicle suspension dynamic deflection, vehicle body vertical acceleration, and wheel dynamic load, and determination of the initial grade group based on the offline database.
[0076] Step S33: Construct an objective function with the goal of achieving the optimal values for three operating information items: suspension dynamic deflection, vehicle vertical acceleration, and wheel dynamic load.
[0077] Here, the objective function can be constructed using the above formula (2), and the purpose of the algorithm is to make the output of the objective function the minimum value.
[0078] Step S34: Calculate the weights corresponding to the three running information items using the non-dominated sorting genetic algorithm II.
[0079] The Non-dominated Sorting Genetic Algorithm II (NSGA-II) achieves effective stratification and selection of the population through non-dominated sorting and crowding comparison operators, thereby gradually approaching the optimal solution set while ensuring population diversity.
[0080] It should be understood that the optimal solution obtained using the NSGA-II algorithm should be the target level corresponding to each piece of operational information. Here, the ratio of the target levels corresponding to the three pieces of operational information is used as the corresponding weight.
[0081] Step S35: Calculate the active force required for the suspension system to operate based on the weights corresponding to the three operational information items.
[0082] Here, the calculation method for the active force of the suspension system based on the target level and weight can be referred to the above formula (1), which will not be elaborated here.
[0083] In the embodiments of this application, such as Figure 4 As shown, the implementation of calculating the weights corresponding to the three operational information items using the NSGA-II algorithm may include the following steps S41 to S412: Step S41: Identify at least two initial rank groups as the initial population and set the generation number Gen=1.
[0084] Step S42: Perform a fast non-dominated sort of the initial population based on the fitness value of each initial rank group.
[0085] Step S43: Select, crossover, and mutate to generate the first generation of offspring.
[0086] Here, crossover can be performed using formulas (3) and (4) above; mutation can be performed using formula (6) above. Further details are omitted here.
[0087] Step S44: Set the generation number Gen = 2.
[0088] Step S45: Merge the initial population and the first generation subpopulation to obtain the fifth population.
[0089] Step S46: Perform a fast non-dominated sort on the fifth population.
[0090] Step S47: Crowding Calculation.
[0091] Here, the formula for calculating congestion can be found in the formula (8) above.
[0092] Step S48: Elite strategy selection, resulting in the fourth group.
[0093] Step S49: Perform selection, crossover, and mutation operations on the fourth population to obtain the second generation subpopulation.
[0094] Step S410: Determine whether Gen has reached the maximum algebra. If it has reached the maximum algebra, proceed to step S411; otherwise, proceed to step S412.
[0095] Step S411: Output the weight corresponding to each piece of running information, then end.
[0096] Step S412: Assign Gen the value of Gen plus 1, and then proceed to step S45.
[0097] The active force determination method provided in this application embodiment can, compared with the prior art, quickly and accurately estimate the active force required for the suspension system to work based on the current vehicle operating information, thereby improving the comfort and handling stability of the driver and passengers.
[0098] This application provides a device for determining the active power source, such as... Figure 5 As shown, the active power determination device 500 includes: The first acquisition module 501 is used to acquire at least two sets of operating information of the vehicle; the sets of operating information include at least two of the following operating information: suspension dynamic deflection of the suspension system, vertical acceleration of the vehicle body, and wheel dynamic load; The first determining module 502 is used to determine the initial level group corresponding to the at least two running information groups based on the offline database of the running information; the initial level group includes the initial level corresponding to each running information item. The second determining module 503 is used to determine at least two of the initial rank groups as the initial population; The evolution module 504 is used to perform selection, crossover, and mutation operations on the initial population to evolve the population. When the number of population evolutions meets the preset number of evolutions, a target level group is obtained. The target level group is the result after the preset number of evolutions. The target level group includes the target level corresponding to each item of running information. The third determining module 505 is used to take the ratio of the target level corresponding to each item of operational information as the weight corresponding to each item of operational information; The fourth determining module 506 is used to determine the active force required for the suspension system to operate based on the target level and the weight.
[0099] In some embodiments, the fourth determining module 506 includes: a first determining submodule, configured to determine the force value corresponding to the target level of each item of operational information; a first calculating submodule, configured to add the results of multiplying the square of each force value by the weight to obtain a first result; and a second calculating submodule, configured to take the square root of the first result to obtain the active force.
[0100] In some embodiments, the evolution module 504 includes: a definition submodule, configured to define an objective function based on the initial rank groups; a second determination submodule, configured to determine the objective function value corresponding to each initial rank group as the first fitness value of the initial rank group; a first retention submodule, configured to randomly select a preset number of initial rank groups in the initial population, retain the initial rank group with the highest first fitness value, repeat N times to obtain a second population; where N is the number of initial rank groups in the initial population, and N is an integer greater than or equal to 2; and a crossover submodule, configured to randomly select two initial rank groups from the second population. The initial rank group undergoes a crossover operation, which is repeated N times to obtain a third population. A mutation submodule defines a mutation operator to perform a mutation operation on the initial rank group in the third population to obtain a first-generation subpopulation. A fusion submodule merges the initial population and the first-generation subpopulation to generate a fourth population. A first processing submodule performs selection, crossover, and mutation operations on the fourth population to obtain a second-generation subpopulation. Each generation of subpopulation represents the completion of one population evolution. A judgment submodule determines the target rank if the number of evolutions meets a preset number of evolutions.
[0101] In some embodiments, the fusion submodule includes: a merging unit for merging the initial population and the first generation subgroup to obtain a fifth population; and a first processing unit for sorting, crowding calculation, and elite strategy selection operations on the initial rank groups in the fifth population to obtain a sixth population.
[0102] In some embodiments, the first processing unit includes: a first determining subunit, configured to determine a second fitness value for each initial rank group in the fifth population; a second determining subunit, configured to divide initial rank groups with the same second fitness value into the same fitness rank set, obtaining at least one fitness rank set; a sorting subunit, configured to sort the fitness rank sets in descending order of fitness rank; a retaining subunit, configured to retain all initial rank groups in the first M fitness rank sets if the sum of the number of initial rank groups in the first M fitness rank sets is less than the number of initial rank groups in the initial population; M is an integer greater than or equal to 1; and a third determining subunit, configured to retain all initial rank groups in the first M+1 fitness rank sets. If the sum of the number of initial rank groups in the rank set is greater than the number of initial rank groups in the initial population, the crowding degree of each initial rank group in the (M+1)th fitness rank set is determined; a comparison subunit is used to compare the crowding degree of each initial rank group in the (M+1)th fitness rank set, and retain the initial rank groups whose crowding degree satisfies a preset crowding degree condition, wherein the number of initial rank groups that satisfy the preset crowding degree condition is the number of initial rank groups in the first population minus the sum of the number of initial rank groups in the first M fitness rank sets; a fourth determining subunit is used to determine the initial rank groups in the first M fitness rank sets and the initial rank groups whose crowding degree satisfies the preset crowding degree condition as the sixth population.
[0103] In some embodiments, the active power determination device 500 further includes: a second acquisition module for acquiring historical operation information; a fifth determination module for determining the difference between the maximum and minimum values in each item of operation information in the historical operation information; and a division module for equally dividing the difference to obtain the offline database; the offline database includes data intervals corresponding to each level of each item of operation information; wherein the number of levels is greater than or equal to the number of items of operation information plus a constant.
[0104] In some embodiments, the first determining module 502 includes: a matching submodule, configured to match each item of running information in each running information group with information in the offline database to obtain the data range in which each item of running information is located; and a sixth determining module, configured to determine the level corresponding to the data range as the initial level corresponding to each item of running information to obtain the initial level group corresponding to each running information group.
[0105] The description of the above embodiments of the active power determination device is similar to the description of the above embodiments of the active power determination method, and has similar beneficial effects. In some embodiments, the functions or modules included in the active power determination device provided in this application can be used to execute the methods described in the above embodiments of the active power determination method. For technical details not disclosed in the device embodiments of this application, please refer to the description of the active power determination method embodiments of this application for understanding.
[0106] It should be noted that, in the embodiments of this application, if the above-described method for determining the main power source is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiments of this application, or the part that contributes to related technologies, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a vehicle to execute all or part of the main power source determination method described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, a portable hard drive, a read-only memory (ROM), a magnetic disk, or an optical disk. Thus, the embodiments of this application are not limited to any specific hardware, software, or firmware, or any combination of hardware, software, and firmware.
[0107] This application provides a vehicle including a memory and a controller. The memory stores a computer program that can run on the controller. When the controller executes the program, it implements some or all of the steps in the above-described method for determining the active power.
[0108] This application provides a computer-readable storage medium storing a computer program that, when executed by a controller, implements some or all of the steps in the above-described active power determination method. The computer-readable storage medium can be transient or non-transient.
[0109] This application provides a computer program including computer-readable code, wherein when the computer-readable code is run in a vehicle, the controller in the vehicle executes some or all of the steps in the above-described active force determination method.
[0110] This application provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program. When the computer program is read and executed by a computer, it implements some or all of the steps in the above-described method for determining the active force. This computer program product can be implemented specifically through hardware, software, or a combination thereof. In some embodiments, the computer program product is specifically embodied as a computer storage medium; in other embodiments, the computer program product is specifically embodied as a software product, such as a software development kit (SDK), etc.
[0111] It should be noted that the descriptions of the various embodiments above tend to emphasize the differences between them, while their similarities or commonalities can be referenced interchangeably. The descriptions of the above embodiments of the device, storage medium, computer program, and computer program product are similar to the descriptions of the above embodiments of the active power determination method, and have similar beneficial effects. For technical details not disclosed in the embodiments of the device, storage medium, computer program, and computer program product of this application, please refer to the descriptions of the embodiments of the active power determination method of this application for understanding.
[0112] It should be noted that the embodiments of this application provide a hardware entity for a vehicle, such as... Figure 6 As shown, the hardware entities of the vehicle 600 include: a controller 601, a communication interface 602, and a memory 603. The controller 601 typically controls the overall operation of the vehicle 600. The communication interface 602 enables the active power determination device to communicate with other terminals or servers via a network. The memory 603 is configured to store instructions and applications executable by the controller 601, and can also cache data to be processed or already processed by the controller 601 and various modules in the vehicle 600 (e.g., image data, audio data, voice communication data, and video communication data). It can be implemented using flash memory or random access memory (RAM). Data transmission between the controller 601, the communication interface 602, and the memory 603 can be performed via a bus 604.
[0113] It should be understood that the phrase "one embodiment" or "an embodiment" throughout the specification means that a specific feature, structure, or characteristic related to the embodiment is included in at least one embodiment of this application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. It should be understood that in the various embodiments of this application, the sequence numbers of the above steps / processes do not imply a sequential order of execution; the execution order of each step / process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application. The sequence numbers of the above embodiments of this application are merely descriptive and do not represent the superiority or inferiority of the embodiments.
[0114] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0115] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods, such as: multiple units or components can be combined, or integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the various components shown or discussed can be through some interfaces, and the indirect coupling or communication connection between devices or units can be electrical, mechanical, or other forms.
[0116] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units. They may be located in one place or distributed across multiple network units. Some or all of the units may be selected to achieve the purpose of this embodiment according to actual needs.
[0117] In addition, each functional unit in the various embodiments of this application can be integrated into one processing unit, or each unit can be a separate unit, or two or more units can be integrated into one unit; the integrated unit can be implemented in hardware or in the form of hardware plus software functional units.
[0118] Those skilled in the art will understand that all or part of the steps of the above method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps of the above method embodiments. The aforementioned storage medium includes various media that can store program code, such as mobile storage devices, read-only memory (ROM), magnetic disks, or optical disks.
[0119] Alternatively, if the integrated units described above are implemented as software functional modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence or the part that contributes to related technologies, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a vehicle to execute all or part of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage devices, ROMs, magnetic disks, or optical disks.
[0120] The above description is merely an embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application.
Claims
1. A method for determining active power, characterized in that, Applied to a suspension system, the method includes: Acquire at least two sets of operational information collected by the vehicle at different times; the operational information sets include at least two of the following operational information: suspension dynamic deflection of the suspension system, vehicle vertical acceleration, and wheel dynamic load; Based on the offline database of the operational information, an initial level group is determined for each of the at least two operational information groups; the initial level group includes the initial level corresponding to each piece of operational information. At least two of the aforementioned initial rank groups are identified as the initial population; The initial population is subjected to selection, crossover, and mutation operations to evolve it. When the number of population evolutions meets a preset number of evolutions, a target level group is obtained. The target level group is the result obtained after the preset number of evolutions. The target level group includes the target level corresponding to each item of operational information. The ratio of the target level corresponding to each piece of operational information is used as the weight corresponding to each piece of operational information; Based on the target level and the weight, the active force required for the suspension system to operate is determined.
2. The method according to claim 1, characterized in that, The determination of the active force required for the suspension system to operate based on the target level and the weight includes: Determine the force value corresponding to the target level of each piece of operational information; The first result is obtained by adding the square of each force value multiplied by the weight; The square root of the first result is used to obtain the active force.
3. The method according to claim 1, characterized in that, The initial population is subjected to selection, crossover, and mutation operations to evolve. When the number of evolutions meets a preset number, a target level group is obtained, including: Based on the initial level group, define the objective function; The objective function value corresponding to each initial level group is determined as the first fitness value of the initial level group; A predetermined number of initial rank groups are randomly selected from the initial population, and the initial rank group with the highest fitness value is retained. This process is repeated N times to obtain a second population; where N is the number of initial rank groups in the initial population, and N is an integer greater than or equal to 2. In the second group, two initial rank groups are randomly selected for crossover operation, and the crossover operation is repeated N times to obtain the third group. Define a mutation operator to perform a mutation operation on the initial rank group in the third population to obtain the first generation subgroup; The initial population and the first generation subpopulation are merged to generate a fourth population; The fourth population is subjected to selection, crossover, and mutation operations to obtain the second generation of subpopulations; each generation of subpopulations represents the completion of one population evolution. The target level is obtained when the number of evolutions meets the preset number of evolutions.
4. The method according to claim 3, characterized in that, The process of merging the initial population and the first generation subpopulation to generate a fourth population includes: The initial population and the first generation subpopulation are merged to obtain the fifth population; The initial rank groups in the fifth group are sorted, crowding is calculated, and elite strategy selection is performed to obtain the fourth group.
5. The method according to claim 4, characterized in that, The process of sorting, crowding calculation, and elite strategy selection in the initial rank groups of the fifth group yields a fourth group, including: Determine the second fitness value for each initial rank group in the fifth population; By grouping initial rank groups with the same second fitness value into the same fitness rank set, at least one fitness rank set is obtained. Sort the fitness level set in descending order of fitness level; If the sum of the number of initial rank groups in the first M fitness rank sets is less than the number of initial rank groups in the initial population, all initial rank groups in the first M fitness rank sets are retained; M is an integer greater than or equal to 1. If the sum of the number of initial rank groups in the first M+1 fitness rank sets is greater than the number of initial rank groups in the initial population, determine the crowding degree of each initial rank group in the M+1 fitness rank set. Compare the crowding of each initial level group in the (M+1)th fitness level set, and retain the initial level groups whose crowding satisfies the preset crowding condition. The number of initial level groups that satisfy the preset crowding condition is the number of initial level groups in the first population minus the sum of the number of initial level groups in the first M fitness level sets. The initial rank group in the first M fitness rank sets and the initial rank group whose crowding satisfies the preset crowding condition are determined as the fourth group.
6. The method according to any one of claims 1 to 5, characterized in that, The method further includes: Obtain historical operation information; Determine the difference between the maximum and minimum values for each item in the historical operation information; The difference is divided equally to obtain the offline database; the offline database includes the data range corresponding to each level of each item of operation information; wherein the number of levels is greater than or equal to the number of items of operation information plus a constant.
7. The method according to any one of claims 1 to 5, characterized in that, The offline database based on the operational information determines the initial level group corresponding to each of the at least two operational information groups, including: Each piece of running information in each running information group is matched with the information in the offline database to obtain the data range in which each piece of running information is located; The level corresponding to the data interval is determined as the initial level corresponding to each item of operational information, thus obtaining the initial level group corresponding to each group of operational information.
8. A device for determining active force, characterized in that, The device includes: The first acquisition module is used to acquire at least two sets of operating information collected by the vehicle at different times; the sets of operating information include at least two of the following operating information: suspension dynamic deflection of the suspension system, vertical acceleration of the vehicle body, and wheel dynamic load; The first determining module is used to determine the initial level group corresponding to the at least two operation information groups based on an offline database of the operation information; the initial level group includes the initial level corresponding to each operation information item. The second determining module is used to determine at least two of the initial rank groups as the initial population; An evolution module is used to perform selection, crossover, and mutation operations on the initial population to evolve the population. When the number of population evolutions meets a preset number of evolutions, a target level group is obtained. The target level group is the result after the preset number of evolutions. The target level group includes the target level corresponding to each item of operational information. The third determining module is used to take the ratio of the target level corresponding to each item of operational information as the weight corresponding to each item of operational information; The fourth determining module is used to determine the active force required for the suspension system to operate based on the target level and the weight.
9. A vehicle comprising a memory and a controller, the memory storing a computer program executable on the controller, characterized in that, When the controller executes the program, it implements the steps of the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Novel LQG control method
CN114282361A
Method for constructing direct-drive semi-active suspension control system based on self-adaptive LQR (Linear Quadrature Radar) hub
CN114590090A
