Calculation method and storage medium for number of gears and transmission ratio of transmission

By collecting driving data to calculate the polar angle and pole diameter, building the objective function and solving it, the problem of gear number and transmission ratio identification under unknown transmission configuration is solved, and high-accurate transmission configuration information recognition is achieved.

CN112989502BActive Publication Date: 2025-08-26XIAMEN YAXON ZHILLAN TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN201911272891.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-12-12
Publication Date
2025-08-26
Estimated Expiration
2039-12-12

AI Technical Summary

Technical Problem

In the case of unknown transmission configuration, it is difficult for the prior art to accurately calculate the number of gears and transmission ratios of the transmission, especially in multi-speed gearboxes, which is difficult and unbalanced, affecting the calculation accuracy.

Method used

By collecting driving data, calculating the polar angle and pole diameter, randomly generating simulation values, constructing the objective function and solving it, and finally identifying the gearbox gear and transmission ratio based on the polar angle approximation and the engine speed at idle.

Benefits of technology

In the unknown transmission configuration, the gear number and transmission ratio of the gearbox are accurately identified only through driving data, improving the accuracy of calculation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112989502B_ABST
    Figure CN112989502B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for calculating the number of gears and the transmission ratio of a transmission, and a storage medium thereof. The method comprises: collecting driving data under normal driving conditions when the clutch pedal is not depressed, the driving data including the engine speed and the transmission output shaft speed; calculating the polar angle and polar radius corresponding to each driving data based on the engine speed and the transmission output shaft speed of each driving data; randomly generating multiple sets of simulation values; substituting the multiple sets of simulation values ​​into a preset objective function, and obtaining a set of simulation values ​​when the objective function value is optimal as the optimal simulation value; obtaining a transmission gear number identification result based on the simulated number of gears in the optimal simulation value, and calculating the transmission ratio of each gear and the engine speed at idle based on the set of simulated polar angles and simulated speed in the optimal simulation value. The present invention can accurately identify the number of gears in the transmission and the transmission ratio of each gear.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of vehicle parameter identification, and in particular to a method for calculating the number of gears and the transmission ratio of a transmission and a storage medium thereof. Background Art

[0002] When the gearbox configuration is completely unknown and the actual driving data cannot be labeled with the gear position, that is, when the "current gear position" cannot be known, and only driving data such as engine speed, gearbox output shaft speed or vehicle speed are relied upon, it will be very difficult to obtain the gearbox's number of gears, transmission ratio and other configuration information through a data-driven approach.

[0003] Chinese patent publication number CN109780192A, "Method, Device, Terminal, and Storage Medium for Determining Transmission Gear Ratios," also effectively calculates and solves transmission gear ratios under completely unknown transmission configuration conditions. However, this method presents significant computational difficulties when processing data for transmissions with multiple gears, such as 9- and 12-speed transmissions. Furthermore, relying solely on actual driving data may result in underutilization of one or more gears, leading to a significant imbalance in the amount of data available for each gear, which in turn affects the accuracy of the calculation. Summary of the Invention

[0004] The technical problem to be solved by the present invention is to provide a method for calculating the number of gears and the transmission ratio of a transmission, and a storage medium thereof, which can accurately identify the number of gears and the transmission ratio of each gear based only on driving data.

[0005] In order to solve the above technical problems, the technical solution adopted by the present invention is: a method for calculating the number of gears and the transmission ratio of a gearbox, comprising:

[0006] Collecting driving data under normal driving conditions when the clutch pedal is not depressed, the driving data including engine speed and transmission output shaft speed;

[0007] Calculate the polar angle and polar diameter corresponding to each driving data according to the engine speed and gearbox output shaft speed of each driving data;

[0008] Randomly generate multiple groups of simulation values, each group of simulation values ​​includes a simulated number of gears, a group of simulated pole angles and a simulated speed;

[0009] Substituting the plurality of sets of simulation values ​​into a preset objective function respectively, and obtaining a set of simulation values ​​when the objective function value is an optimal value as the optimal simulation value;

[0010] Obtaining an identification result of the number of gears of a transmission according to the simulated number of gears in the optimal simulated value;

[0011] Obtaining an objective function value corresponding to the optimal simulation value as a first objective function value;

[0012] Using each simulated polar angle in the optimal simulated value as an approximate polar angle value of each gear, and using the simulated speed in the optimal simulated value as an approximate value of the engine speed at idle;

[0013] Calculating the distances corresponding to the driving conditions for each driving data item based on the approximate polar angles of the respective gear positions and the approximate engine speed at idle, and determining the driving condition corresponding to each driving data item based on the minimum value of the distances;

[0014] Adding the polar angles of the driving data corresponding to the same gear to the polar angle list of the same gear to obtain a polar angle list of each gear;

[0015] Calculating the average value of the polar angle list of each gear respectively to obtain the average polar angle value corresponding to each gear, and updating the polar angle approximation value of each gear according to the average polar angle value corresponding to each gear;

[0016] Add the engine speed corresponding to the neutral coasting driving data to the neutral coasting engine speed list;

[0017] Calculating an average value of the neutral coasting engine speed list to obtain an average value of the neutral coasting engine speed, and updating an approximate value of the idling engine speed based on the average value of the engine speed;

[0018] Recalculating the objective function value according to the updated polar angle approximation of each gear and the approximate value of the engine speed at idle speed to obtain a second objective function value;

[0019] Determining whether a relative difference or an absolute difference between the first objective function value and the second objective function value is less than a preset threshold;

[0020] If so, the transmission ratio of each gear is calculated based on the updated polar angle approximation of each gear, and the updated approximate value of the engine speed at idle is used as the engine speed at idle.

[0021] The present invention also relates to a computer-readable storage medium having a computer program stored thereon, which implements the steps described above when the program is executed by a processor.

[0022] The beneficial effect of the present invention is that the present invention can, based on unknown gearbox configuration information and only according to driving data, realize the identification of the number of gears, the transmission ratio of each gear and the engine speed at idle speed in the gearbox configuration information by constructing and solving the objective function, and the identification accuracy is high. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 This is a flow chart of a method for calculating the number of gears and the transmission ratio of a transmission according to a first embodiment of the present invention;

[0024] Figure 2 Flowchart of the method for randomly generating multiple sets of simulation values ​​in step S104 of embodiment 1 of the present invention

[0025] Figure 3 A statistical distribution histogram of the θ value of each driving data in each second interval according to the first embodiment of the present invention;

[0026] Figure 4 Based on Figure 3 A waterfall chart generated by the correspondence between each second interval in and the accumulated frequency sequence;

[0027] Figure 5 Based on Figure 3 The probability comparison chart after random standardization;

[0028] Figure 6 This is a two-dimensional scatter plot of the transmission output shaft speed and the engine speed in Example 1 of the present invention. DETAILED DESCRIPTION

[0029] To illustrate the technical content, achieved objectives and effects of the present invention in detail, the following is a detailed description in conjunction with the embodiments and accompanying drawings.

[0030] The key concept of the present invention is to use only driving data including engine speed and transmission output shaft speed, establish and solve the optimization model through a data-driven method, and realize the identification of transmission configuration information.

[0031] See also Figure 1 , a method for calculating the number of gears and the transmission ratio of a gearbox, comprising:

[0032] Collecting driving data under normal driving conditions when the clutch pedal is not depressed, the driving data including engine speed and transmission output shaft speed;

[0033] Calculate the polar angle and polar diameter corresponding to each driving data according to the engine speed and gearbox output shaft speed of each driving data;

[0034] Randomly generate multiple groups of simulation values, each group of simulation values ​​includes a simulated number of gears, a group of simulated pole angles and a simulated speed;

[0035] Substituting the plurality of sets of simulation values ​​into a preset objective function respectively, and obtaining a set of simulation values ​​when the objective function value is an optimal value as the optimal simulation value;

[0036] Obtaining an identification result of the number of gears of a transmission according to the simulated number of gears in the optimal simulated value;

[0037] Obtaining an objective function value corresponding to the optimal simulation value as a first objective function value;

[0038] Using each simulated polar angle in the optimal simulated value as an approximate polar angle value of each gear, and using the simulated speed in the optimal simulated value as an approximate value of the engine speed at idle;

[0039] Calculating the distances corresponding to the driving conditions for each driving data item based on the approximate polar angles of the respective gear positions and the approximate engine speed at idle, and determining the driving condition corresponding to each driving data item based on the minimum value of the distances;

[0040] Adding the polar angles of the driving data corresponding to the same gear to the polar angle list of the same gear to obtain a polar angle list of each gear;

[0041] Calculating the average value of the polar angle list of each gear respectively to obtain the average polar angle value corresponding to each gear, and updating the polar angle approximation value of each gear according to the average polar angle value corresponding to each gear;

[0042] Add the engine speed corresponding to the neutral coasting driving data to the neutral coasting engine speed list;

[0043] Calculating an average value of the neutral coasting engine speed list to obtain an average value of the neutral coasting engine speed, and updating an approximate value of the idling engine speed based on the average value of the engine speed;

[0044] Recalculating the objective function value according to the updated polar angle approximation of each gear and the approximate value of the engine speed at idle speed to obtain a second objective function value;

[0045] Determining whether a relative difference or an absolute difference between the first objective function value and the second objective function value is less than a preset threshold;

[0046] If so, the transmission ratio of each gear is calculated based on the updated polar angle approximation of each gear, and the updated approximate value of the engine speed at idle is used as the engine speed at idle.

[0047] As can be seen from the above description, the beneficial effects of the present invention are that the number of gears in the transmission and the transmission ratio of each gear can be accurately identified based only on driving data, and the engine speed at idle speed can also be identified.

[0048] Furthermore, after determining whether the relative difference or absolute difference between the first objective function value and the second objective function value is less than a preset threshold, the method further includes:

[0049] If not, the second objective function value is used as a new first objective function value, and the polar angle approximation value of each gear position and the approximate value of the engine speed at idle speed are continuously updated to calculate a new second objective function value;

[0050] Determine whether a relative difference or an absolute difference between the new first objective function value and the new second objective function value is less than a preset threshold.

[0051] Furthermore, the multiple sets of simulation values ​​are substituted into a preset objective function respectively, and a set of simulation values ​​when the objective function value is an optimal value is obtained as the optimal simulation value:

[0052] Iterating through the plurality of sets of simulation values;

[0053] According to the formula d = min{ρ|θ-β i |,|ω e -ω idle |,ω t}, i = 1, 2, ..., m, calculate the minimum distance of each driving data corresponding to each driving situation, the driving situation includes m gears, neutral coasting and parking with the engine not turned off, ω e 、ω t , θ and ρ are respectively the engine speed, gearbox output shaft speed, polar angle and polar diameter corresponding to the same driving data, m is the number of simulated gears in the current group of simulation values, β i is the i-th simulated polar angle in a set of simulated polar angles in the current set of simulated values, ω idle It is the analog speed in the current group analog value;

[0054] Determine the driving conditions corresponding to each driving data according to the minimum value of the distance corresponding to each driving condition of each driving data;

[0055] Add the minimum distance value corresponding to each driving data to the distance list of the corresponding driving situation to obtain the distance list of each driving situation;

[0056] According to the distance list of each driving situation and the preset objective function, the objective function value corresponding to the current group simulation value is calculated. The objective function is m i D i The number of elements in d ij Indicates D i The jth element in D i Represents the distance list of the i-th driving situation, where p and λ are preset parameters;

[0057] After traversing the multiple groups of simulation values, the objective function values ​​corresponding to the multiple groups of simulation values ​​are compared, and a group of simulation values ​​corresponding to the minimum objective function value is taken as the optimal simulation value.

[0058] As can be seen from the above description, based on the two-dimensional scatter plot of the transmission output shaft speed and engine speed, the driving data corresponding to the same driving situation exhibits certain patterns in the two-dimensional scatter plot. Generally speaking, driving data for the same gear is generally distributed near a line passing through the origin, while driving data during neutral coasting is generally distributed near a line parallel to the horizontal axis. This step preliminarily determines the driving situation corresponding to the driving data by calculating the distance between the corresponding point of the driving data in the rectangular coordinate system and the line corresponding to each driving situation. The more accurate the driving data division, the closer the distance of all driving data to the line corresponding to the driving situation. Based on this principle, the optimal model of the objective function is set. At the same time, the number of gears is also included in the objective function. The number of gears is used as a regularization term in machine learning, and λ is the regularization term parameter. This can avoid the extreme case of too many gears in data-driven processing.

[0059] Furthermore, the polar angle and polar diameter corresponding to each driving data are calculated based on the engine speed and the gearbox output shaft speed of each driving data respectively as follows:

[0060] The polar angle and polar diameter corresponding to each driving data are calculated according to the first formula and the second formula respectively. The first formula is θ=arctan(ω e / ω t ), the second formula is Among them, θ is the polar angle, ρ is the polar diameter, ω e and ω t They are the engine speed and transmission output shaft speed in the same driving data respectively.

[0061] Furthermore, the random generation of multiple sets of simulation values ​​is specifically as follows:

[0062] Divide the first interval into a plurality of second intervals, where the first interval is [0, π / 2);

[0063] According to the distribution of the polar angle corresponding to each driving data in each second interval, the occurrence frequency of the driving data in each second interval is counted;

[0064] Randomly assign a second interval;

[0065] Calculating a random standardized probability list based on the occurrence frequency of the driving data in each second interval and the occurrence frequency of the driving data in the randomly designated second interval;

[0066] Generate a plurality of first random numbers uniformly distributed between 0 and 1 to obtain a random number list, wherein the number of the first random numbers is the same as the number of the second random numbers;

[0067] Analyze and obtain an indication list according to the probability list and the random number list;

[0068] Obtaining the number of simulated gears according to the number of non-zero elements in the indication list;

[0069] Obtain the sequence numbers of the non-zero elements in the indication list in the indication list to obtain a sequence number set;

[0070] respectively obtaining a value of a point in the second interval corresponding to each serial number in the serial number set to obtain a set of simulated polar angles;

[0071] generating a second random number uniformly distributed between 0 and 1, and calculating a simulated speed based on the second random number and a first engine speed and a second engine speed, where the first engine speed and the second engine speed are respectively two endpoints of a preset idle engine speed range;

[0072] Obtaining a set of simulation values ​​according to the simulated number of gears, a set of simulated polar angles, and a simulated speed;

[0073] Repeat the steps of randomly specifying a second interval to obtaining a set of simulation values ​​according to the simulated number of gears, a set of simulated polar angles and a simulated speed, to obtain multiple sets of simulation values.

[0074] Furthermore, the randomly designated second interval is specifically:

[0075] Calculate a cumulative frequency sequence based on the occurrence frequencies of the driving data in each second interval, where the first cumulative frequency in the cumulative frequency sequence is 0, and the w+1th cumulative frequency is the sum of the occurrence frequencies of the driving data in the first w second intervals, where w=1, 2, ..., h, where h is the number of second intervals;

[0076] Generate a third random number, where the third random number is a random number uniformly distributed between 0 and 1;

[0077] If the value of the third random number is between the values ​​of the w-1th cumulative frequency and the wth cumulative frequency, the wth second interval is used as a randomly designated second interval.

[0078] It can be seen from the above description that the probability of each second interval being designated is exactly equal to the occurrence frequency of its driving data.

[0079] Furthermore, the random normalized probability list is calculated based on the occurrence frequency of the driving data in each second interval and the occurrence frequency of the driving data in the randomly specified second interval, specifically:

[0080] According to the third formula, the probability list of random standardization is calculated, and the third formula is σ w =min{f w / f z, 1}, w=1,2,…,h,σ w is the wth probability in the random normalized probability list, f w is the frequency of occurrence of driving data in the wth second interval, f z is the frequency of occurrence of the driving data in the randomly specified second interval, and h is the number of the second intervals.

[0081] From the above description, it can be seen that the value of the random normalization probability is guaranteed to be between 0 and 1, and the probability of the second interval with a lower frequency of driving data being selected in the subsequent step can be appropriately increased.

[0082] Furthermore, the indication list obtained by analyzing the probability list and the random number list is specifically:

[0083] If the wth first random number in the random number list is less than or equal to the wth probability in the probability list, then let the value of the wth element in the indicator list be 1, otherwise it is 0, w = 1, 2,…, h, where h is the number of the second interval.

[0084] It can be seen from the above description that it is convenient to randomly select a number of second intervals in the subsequent step to obtain the number of simulated gears and a set of simulated polar angles.

[0085] Furthermore, the step of respectively obtaining the value of a point in the second interval corresponding to each serial number in the serial number set to obtain a set of simulated polar angles is specifically:

[0086] According to the fourth formula, a set of simulated polar angles is calculated, and the fourth formula is β i =(t qi-1 +t qi ) / 2, i=1,2,…,n, β i is the ith simulated polar angle in a set of simulated polar angles, n is the number of non-zero elements in the indicator list, qi is the ith serial number in the serial number list, t qi-1 and t qi They are the two endpoint values ​​of the qith second interval respectively.

[0087] It can be seen from the above description that the value of the midpoint of the second interval is used as the value of the simulated polar angle.

[0088] The present invention also relates to a computer-readable storage medium having a computer program stored thereon, which implements the steps described above when the program is executed by a processor.

[0089] Example 1

[0090] Please refer to Figure 1-6 , the embodiment 1 of the present invention is: a method for calculating the number of gears and the transmission ratio of a gearbox, which can be applied to the identification of gearbox configuration information, such as Figure 1As shown, the following steps are included:

[0091] S101: Collect driving data from normal driving conditions when the clutch pedal is not pressed. The driving data includes a timestamp, engine speed, and transmission output shaft speed. Specifically, sample data from all moments of normal driving conditions can be collected first. The sample data includes a timestamp, a clutch signal (indicating whether the clutch pedal is pressed), engine speed, and transmission output shaft speed. Then, sample data without a clutch signal is acquired to obtain driving data when the clutch pedal is not pressed. Furthermore, the transmission output shaft speed can also be converted from the vehicle speed.

[0092] S102: Calculate the polar angle and polar diameter corresponding to each driving data respectively.

[0093] First, a rectangular coordinate system can be established with the transmission output shaft speed as the X-axis and the engine speed as the Y-axis. Each driving data corresponds to a point on the rectangular coordinate system. The X-coordinate value of the point is the transmission output shaft speed of the driving data, and the Y-coordinate value is the engine speed of the driving data. The polar angle corresponding to the driving data is the angle between the line connecting the point corresponding to the driving data and the origin and the X-axis. The polar diameter corresponding to the driving data is the distance between the point corresponding to the driving data and the origin. Alternatively, the origin O(0,0) of the rectangular coordinate system can be used as the pole, the X-axis as the polar axis, and the counterclockwise direction as the positive direction. Then, the point corresponding to the driving data (ω t ,ω e )'s polar angle and polar diameter.

[0094] Specifically, the polar angle and polar diameter corresponding to each driving data are calculated according to the first formula and the second formula respectively;

[0095] The first formula is θ=arctan(ω e / ω t )

[0096] The second formula is

[0097] Among them, θ is the polar angle, ρ is the polar diameter, ω e and ω t They are the engine speed and transmission output shaft speed in the same driving data respectively.

[0098] S103: Constructing the objective function. This step is to build a model by assuming parameters, where the assumed parameters are the unknowns to be determined in the model.

[0099] Assume that the number of gears in the gearbox is m and the transmission ratio of the i-th gear is k i(i=1,2,…,m), then the angle between the straight line corresponding to the standard correspondence between the engine speed and the transmission output shaft speed of the i-th gear and the X-axis of the rectangular coordinate system (the rectangular coordinate system with the transmission output shaft speed as the X-axis and the engine speed as the Y-axis) (that is, the polar angle of the standard correspondence between the engine speed and the transmission output shaft speed of the i-th gear in the polar coordinate system) is β i =arctan(k i ), and in the rectangular coordinate system, the straight line corresponding to the i-th gear position and the driving data at a certain moment (ω t ,ω e ) is approximately ρ|θ-β i |, where θ is the polar angle corresponding to the driving data, and ρ is the polar diameter corresponding to the driving data.

[0100] Assume that the engine speed at idle is ω idle , the corresponding driving condition is neutral coasting. Since the straight line corresponding to the standard correspondence between the engine speed and the transmission output shaft speed at idle is parallel to the X-axis, the straight line is consistent with the driving data at a certain moment (ω t ,ω e ) is |ω e -ω idle |.

[0101] In addition, there is another driving situation where the car is parked but the engine is not turned off and the accelerator pedal may be pressed. This situation is then compared with the driving data at a certain moment (ω t ,ω e ) is taken as ω t .

[0102] Through the above analysis, we can get the distances corresponding to m+2 driving conditions for the driving data at the same time, and compare ρ|θ-β i |(i=1,2,…,m),|ω e -ω idle |、ω t The size of these m+2 values ​​is used to take the driving condition corresponding to the minimum value as the driving condition corresponding to the driving data, that is, let d = min{ρ|θ-β i |,|ω e -ω idle |,ω t}, according to the d value, the driving data (ω t ,ω e ) corresponds to one of the m gears, coasting in neutral, or parking with the engine running.

[0103] For all driving data, the corresponding d value can be calculated according to the above method to determine the corresponding driving situation, and then the d value corresponding to each driving data is added to the list D of its corresponding driving situation.i (i=1,2,…,m+2), where D i (i=1,2,…,m) represents the list of the i-th gear, D m+1 Indicates a list of neutral coasting, D m+2 Indicates a list of vehicles that have not been turned off. Further, each list can also be represented as D i =[d i1 ,d i2 ,…,d imi ], where mi is the list D i The number of elements in .

[0104] The objective function constructed in this embodiment is: In this objective function, Definition D i ={d i1 ,d i2 ,…,d imi} is a form of calculating the "average", For D i (i=1,2,…,m+2) The sum is calculated for the distances defined above; the number of gears m is then used as part of the objective function to limit the extreme situation of too many gears, such as when each driving data forms a gear; and when the two are balanced, the number of gears can be accurately identified, and the transmission ratio can be calculated.

[0105] Wherein, p and λ are preset parameters, both of which are positive values. Preferably, p=2.

[0106] Furthermore, an optimization model is established That is, when F reaches its minimum value, m, β i and ω idle The value of .

[0107] S104: randomly generating multiple groups of simulation values, each group of simulation values ​​including a simulated number of gears, a group of simulated polar angles, and a simulated rotational speed.

[0108] Specifically, if Figure 2 As shown, this step includes the following steps:

[0109] S201: Divide the first interval [0,π / 2) into h second intervals closed on the left and open on the right. Assume that the endpoints of each second interval are t0, t1, ..., t h , and 0=t0<t1<…<t h =π / 2, then the wth second interval is the end points of which are t w-1 and t wThe second interval of w=1, 2, ..., h. Preferably, the division method adopts an equal division method, that is, the length Δt of each second interval is the same, that is, the endpoints of any adjacent second intervals have the same difference.

[0110] S202: Counting the frequency of occurrence of the driving data in each second interval according to the distribution of the polar angle corresponding to each driving data in each second interval.

[0111] Specifically, the distribution of the polar angle corresponding to each driving data in each second interval is counted, that is, the distribution of the θ value of the driving data is counted to obtain the frequency of occurrence of the driving data in each second interval; Figure 3 As shown, Figure 3 The distribution histogram is obtained by evenly dividing the left-closed and right-open interval from 0 to π / 2 into 180 small intervals and counting the θ values. The frequency of occurrence of the driving data in each second interval is then calculated based on the frequency of occurrence of the driving data in each second interval and the total number of the driving data.

[0112] S203: Randomly specify a second interval.

[0113] Specifically, according to the occurrence frequency of the driving data in each second interval, a cumulative frequency sequence is calculated. The first cumulative frequency in the cumulative frequency sequence is 0, and the w+1th cumulative frequency is the sum of the occurrence frequencies of the driving data in the first w second intervals, that is, let g0=0, w=1,2,…,h,f u is the frequency of occurrence of the driving data in the u-th second interval, thereby obtaining the cumulative frequency sequence 0 = g0≤g1≤g2≤…≤g h =1. Then generate a third random number, which is a random number uniformly distributed from 0 to 1; if the value of the third random number is between the value of the w-1th cumulative frequency and the value of the wth cumulative frequency, then set the two end points to t w-1 and t w The w-th second interval is taken as a randomly designated second interval, that is, the w-th second interval is taken as a randomly designated second interval.

[0114] Since the second interval t w-1 ~t w Can be used with g w-1 ~g w The range of t is one to one, and the above method can make the second interval t w-1 ~t w The probability of being assigned is exactly equal to the frequency of occurrence of its driving data f w .like Figure 4 As shown, Figure 4 The waterfall chart is generated by one-to-one correspondence between the second interval and the accumulated frequency.

[0115] S204: Calculate and obtain a random standardized probability list according to the occurrence frequency of the driving data in each second interval and the occurrence frequency of the driving data in the randomly designated second interval.

[0116] Specifically, according to the third formula, the random normalized probability list [σ1,σ2,…,σ h ], the third formula is σ w =min{f w / f z , 1}, w=1,2,…,h,σ w is the wth probability in the random normalized probability list, f w is the frequency of occurrence of driving data in the wth second interval, f z The occurrence frequency of the driving data in the randomly specified second interval.

[0117] like Figure 5 As shown, Figure 5 is the probability comparison chart after random standardization, Figure 5 and Figure 3 Correspondingly, the designated second interval is a second interval around π / 4.

[0118] S205: Generate multiple first random numbers uniformly distributed from 0 to 1 respectively to obtain a random number list, where the number of the first random numbers is the same as the number of the second interval; that is, independently generate h first random numbers uniformly distributed from 0 to 1 to form a random number list [r1, r2, ..., r h ].

[0119] S206: Analyze and obtain an indication list according to the probability list and the random number list.

[0120] Specifically, if the wth first random number in the random number list is less than or equal to the wth probability in the probability list, then the value of the wth element in the indicator list is set to 1, otherwise it is set to 0; that is, if r w ≤σ w , then δ w =1, otherwise δ w =0, w = 1, 2, ..., h, so that the indicator list [δ1, δ2, ..., δ h ].

[0121] S207: Obtaining the number of simulated gears and a set of simulated polar angles according to the non-zero elements in the indication list.

[0122] Specifically, the number of simulated gears is obtained based on the number of non-zero elements in the indicator list. The sequence numbers of the non-zero elements in the indicator list are obtained and sorted to obtain a sequence number set. The value of a point in the second interval corresponding to each sequence number in the sequence number set is then obtained to obtain a set of simulated polar angles. Preferably, the value of the midpoint of the second interval corresponding to each sequence number can be obtained.

[0123] For example, suppose there are n non-zero δ in the indicator list w value, and the corresponding serial numbers w are arranged from small to large as q1, q2, ..., qn, then the number of simulated gears m = n, and then a set of simulated polar angles is calculated according to the fourth formula, the fourth formula is β i =(t qi-1 +t qi ) / 2, i=1,2,…,n.

[0124] S208: Generate a second random number uniformly distributed from 0 to 1, and calculate a simulated speed based on the second random number and a preset first engine speed and a second engine speed, where the first engine speed and the second engine speed are respectively two endpoint values ​​of a preset range of engine speeds at idle speed.

[0125] For example, first determine the approximate range of the engine speed at idle as ω1~ω2, and then use a second random number r generated by a uniform distribution from 0 to 1 to perform a linear combination of ω1 and ω2, that is, let ω idle =rω1+(1-r)ω2, the simulated speed ω is calculated idle ; Preferably, ω1=500, ω2=1000.

[0126] S209: Obtain a set of simulation values ​​according to the simulated number of gears, a set of simulated polar angles, and a simulated rotational speed.

[0127] Then, steps S203-S209 are repeated to obtain multiple sets of simulation values.

[0128] S105: Substitute the multiple groups of simulation values ​​into a preset objective function respectively, and obtain a group of simulation values ​​when the objective function value is an optimal value as the optimal simulation value.

[0129] Specifically, the plurality of groups of simulation values ​​are traversed, and one group of simulation values ​​is sequentially obtained as the current group of simulation values; then, according to the current group of simulation values ​​and the formula d=min{ρ|θ-β i |,|ω e -ω idle |,ω t}, i = 1, 2, ..., m, calculate the minimum value of the distance corresponding to each driving situation for each driving data, where ω e 、ω t, θ and ρ are respectively the engine speed, gearbox output shaft speed, polar angle and polar diameter corresponding to the same driving data, m is the number of simulated gears in the current group of simulation values, β i is the i-th simulated polar angle in a set of simulated polar angles in the current set of simulated values, ω idle is the simulated speed in the current group of simulation values; then, the driving conditions corresponding to each driving data are determined according to the minimum value of the distance corresponding to each driving condition, and the minimum distance corresponding to each driving data is added to the distance list of its corresponding driving condition to obtain the distance list D for each driving condition. i =[d i1 ,d i2 ,…,d imi ], mi is list D i Finally, according to the distance list of each driving situation and the above objective function, the objective function value corresponding to the current group simulation value is calculated.

[0130] After traversing the multiple sets of simulation values, the objective function values ​​corresponding to each set of simulation values ​​are obtained. The objective function values ​​corresponding to each set of simulation values ​​are then compared, and the set of simulation values ​​corresponding to the minimum objective function value is selected as the optimal simulation value. In other words, the set of simulation values ​​that satisfies the above optimization model is selected from the multiple sets of simulation values.

[0131] S106: Obtaining an identification result of the number of gears of the transmission according to the simulated number of gears in the optimal simulation value.

[0132] When enough simulation values ​​are simulated, the optimal number of gears can always be obtained, but it is not clear how many simulation values ​​are needed. Therefore, further optimization and solution can be performed through intelligent optimization algorithms to improve the solution efficiency. Intelligent optimization algorithms are like simulated annealing algorithms, which seek solutions for individual individuals; they are also like genetic algorithms, which seek solutions for populations. Specifically, a set of simulation values ​​that makes the above optimization model better is selected from multiple sets of simulation values ​​as the initial solution, and the indicator list [δ1,δ2,…,δ h ] and simulated speed ω idle Perform neighborhood solution changes; or select multiple groups of results that make the above optimization model better as multiple individuals to form an initial population, and use genetic algorithms to perform the initial population on the indicator list [δ1,δ2,…,δ h ] and simulated speed ω idle Perform population transformation to generate a result that makes the above optimization model more optimized. Similarly, the number of simulated gears in the result is used as the recognition result.

[0133] S107: Obtain the objective function value corresponding to the optimal simulation value as the first objective function value, and at the same time use each simulated polar angle in the optimal simulation value as the polar angle approximation of each gear, and use the simulated speed in the optimal simulation value as the approximate value of the engine speed at idle speed.

[0134] S108: Determine the driving conditions corresponding to each driving data based on the approximate polar angle of each gear position and the approximate engine speed at idle speed; the specific steps can refer to step S105, that is, according to the calculation formula of the d value, calculate the d value corresponding to each driving data respectively, and then determine the corresponding driving condition based on the d value.

[0135] S109: Add the polar angles of the driving data corresponding to the same gear to the polar angle list of the same gear to obtain a polar angle list of each gear. That is, if the driving condition corresponding to a line of driving data is the i-th gear, then add the θ value corresponding to the driving data to the polar angle list Ω of the i-th gear. i In, i=1,2,…,n.

[0136] S110: Calculate the average value of the polar angle list of each gear respectively, obtain the average polar angle value corresponding to each gear, and update the polar angle approximation of each gear according to the average polar angle value corresponding to each gear. That is, calculate the polar angle list Ω of the i-th gear i The average value of the elements in β i to update.

[0137] S111: Add the engine speed corresponding to the driving data of neutral coasting to the neutral coasting engine speed list. That is, if the driving condition corresponding to a line of driving data is neutral coasting, then add the engine speed of the driving data to the neutral coasting engine speed list Ω n+1 middle.

[0138] S112: Calculate the average value of the neutral coasting engine speed list to obtain the neutral coasting engine speed average value, and update the approximate value of the idle engine speed based on the engine speed average value. That is, calculate the neutral coasting engine speed list Ω n+1 The average value of the elements in ω idle to update.

[0139] S113: Recalculating the objective function value based on the updated polar angle approximation of each gear and the approximate value of the engine speed at idle speed to obtain a second objective function value.

[0140] Specifically, based on the updated polar angle approximation of each gear and the approximate value of the engine speed at idle, the d value corresponding to each driving data is calculated respectively, and then a distance list of each driving condition is obtained. The elements in these distance lists are substituted into the above-mentioned objective function to obtain the second objective function value.

[0141] S114: Determine whether the relative difference or absolute difference between the first objective function value and the second objective function value is less than a preset threshold. If so, it is determined that convergence has occurred and step S115 is executed. If not, it is determined that convergence has occurred and step S116 is executed. The absolute difference is the absolute value of the difference between the first objective function value and the second objective function value, and the relative difference is the ratio of the absolute difference to the first objective function value. Preferably, the determination is based on the absolute difference, and the threshold is 10 -10 Under normal circumstances, after several updates, the algorithm will converge, and even the relative and absolute differences will be equal to zero.

[0142] S115: Calculate the transmission ratio of each gear according to the updated polar angle approximation of each gear, and use the updated approximate value of the engine speed at idle as the engine speed at idle. That is, calculate the transmission ratio of each gear according to the current polar angle approximation of each gear. For example, the polar angle approximation of the i-th gear is β i , then the transmission ratio of the i-th gear is k i =tan(β i ); the approximate value of the current idle engine speed is used as the idle engine speed.

[0143] S116: Use the second objective function value as the first objective function value, then continue to update the polar angle approximation of each gear and the approximate value of the engine speed at idle, calculate the new second objective function value, and then judge whether convergence is achieved, that is, continue to execute steps S108-S114 based on the current polar angle approximation of each gear and the approximate value of the engine speed at idle.

[0144] In actual application scenarios, let p = 2 and λ = 0.8 in the objective function. For the actual driving data of a certain car, the above method is used to obtain that the number of gears in its gearbox is 9, and the gear ratios are 11.5232, 6.5710, 4.6786, 3.3713, 2.7142, 1.9496, 1.3812, 0.9992, and 0.8054, respectively. In addition, the engine speed at idle is about 766 rpm. If the driving data of the car when the clutch pedal is not pressed at all is plotted in a rectangular coordinate system with the horizontal axis as the gearbox output shaft speed and the vertical axis as the engine speed, the following can be obtained: Figure 6As shown in the two-dimensional scatter plot, it can be roughly seen that there are 9 inclined straight lines and a straight line parallel to the horizontal axis. Among them, the 9 inclined straight lines correspond to the corresponding relationship between the transmission output shaft speed and the engine speed in the 9 non-neutral gear positions, and the straight line parallel to the horizontal axis corresponds to the corresponding relationship between the transmission output shaft speed and the engine speed in neutral idling.

[0145] Through the above steps, the complete or partial (when some gear data is missing) configuration information of the transmission can be quickly and accurately obtained only by relying on driving data.

[0146] This embodiment does not foresee the transmission configuration information and only uses driving data including engine speed and transmission output shaft speed. An optimization model is established and solved through a data-driven method to achieve the identification of the number of gears in the transmission configuration information and the calculation of the transmission ratio. At the same time, it can also output the engine speed data at idle speed.

[0147] Example 2

[0148] This embodiment is a computer-readable storage medium corresponding to the above embodiment, on which a computer program is stored. When the program is executed by a processor, the following steps are implemented:

[0149] Collecting driving data under normal driving conditions when the clutch pedal is not depressed, the driving data including engine speed and transmission output shaft speed;

[0150] Calculate the polar angle and polar diameter corresponding to each driving data according to the engine speed and gearbox output shaft speed of each driving data;

[0151] Randomly generate multiple groups of simulation values, each group of simulation values ​​includes a simulated number of gears, a group of simulated pole angles and a simulated speed;

[0152] Substituting the plurality of sets of simulation values ​​into a preset objective function respectively, and obtaining a set of simulation values ​​when the objective function value is an optimal value as the optimal simulation value;

[0153] Obtaining an identification result of the number of gears of a transmission according to the simulated number of gears in the optimal simulated value;

[0154] Obtaining an objective function value corresponding to the optimal simulation value as a first objective function value;

[0155] Using each simulated polar angle in the optimal simulated value as an approximate polar angle value of each gear, and using the simulated speed in the optimal simulated value as an approximate value of the engine speed at idle;

[0156] Calculating the distances corresponding to the driving conditions for each driving data item based on the approximate polar angles of the respective gear positions and the approximate engine speed at idle, and determining the driving condition corresponding to each driving data item based on the minimum value of the distances;

[0157] Adding the polar angles of the driving data corresponding to the same gear to the polar angle list of the same gear to obtain a polar angle list of each gear;

[0158] Calculating the average value of the polar angle list of each gear respectively to obtain the average polar angle value corresponding to each gear, and updating the polar angle approximation value of each gear according to the average polar angle value corresponding to each gear;

[0159] Add the engine speed corresponding to the neutral coasting driving data to the neutral coasting engine speed list;

[0160] Calculating an average value of the neutral coasting engine speed list to obtain an average value of the neutral coasting engine speed, and updating an approximate value of the idling engine speed based on the average value of the engine speed;

[0161] Recalculating the objective function value according to the updated polar angle approximation of each gear and the approximate value of the engine speed at idle speed to obtain a second objective function value;

[0162] Determining whether a relative difference or an absolute difference between the first objective function value and the second objective function value is less than a preset threshold;

[0163] If so, the transmission ratio of each gear is calculated based on the updated polar angle approximation of each gear, and the updated approximate value of the engine speed at idle is used as the engine speed at idle.

[0164] Furthermore, after determining whether the relative difference or absolute difference between the first objective function value and the second objective function value is less than a preset threshold, the method further includes:

[0165] If not, the second objective function value is used as a new first objective function value, and the polar angle approximation value of each gear position and the approximate value of the engine speed at idle speed are continuously updated to calculate a new second objective function value;

[0166] Determine whether a relative difference or an absolute difference between the new first objective function value and the new second objective function value is less than a preset threshold.

[0167] Furthermore, the multiple sets of simulation values ​​are substituted into a preset objective function respectively, and a set of simulation values ​​when the objective function value is an optimal value is obtained as the optimal simulation value:

[0168] Iterating through the plurality of sets of simulation values;

[0169] According to the formula d = min{ρ|θ-β i |,|ω e -ω idle |,ω t}, i = 1, 2, ..., m, calculate the minimum distance of each driving data corresponding to each driving situation, the driving situation includes m gears, neutral coasting and parking with the engine not turned off, ω e 、ω t , θ and ρ are respectively the engine speed, gearbox output shaft speed, polar angle and polar diameter corresponding to the same driving data, m is the number of simulated gears in the current group of simulation values, β i is the i-th simulated polar angle in a set of simulated polar angles in the current set of simulated values, ω idle It is the analog speed in the current group analog value;

[0170] Determine the driving conditions corresponding to each driving data according to the minimum value of the distance corresponding to each driving condition of each driving data;

[0171] Add the minimum distance value corresponding to each driving data to the distance list of the corresponding driving situation to obtain the distance list of each driving situation;

[0172] According to the distance list of each driving situation and the preset objective function, the objective function value corresponding to the current group simulation value is calculated. The objective function is m i D i The number of elements in d ij Indicates D i The jth element in D i Represents the distance list of the i-th driving situation, where p and λ are preset parameters;

[0173] After traversing the multiple groups of simulation values, the objective function values ​​corresponding to the multiple groups of simulation values ​​are compared, and a group of simulation values ​​corresponding to the minimum objective function value is taken as the optimal simulation value.

[0174] Furthermore, the polar angle and polar diameter corresponding to each driving data are calculated based on the engine speed and the gearbox output shaft speed of each driving data respectively as follows:

[0175] The polar angle and polar diameter corresponding to each driving data are calculated according to the first formula and the second formula respectively. The first formula is θ=arctan(ω e / ω t ), the second formula is Among them, θ is the polar angle, ρ is the polar diameter, ω e and ω t They are the engine speed and transmission output shaft speed in the same driving data respectively.

[0176] Furthermore, the random generation of multiple sets of simulation values ​​is specifically as follows:

[0177] Divide the first interval into a plurality of second intervals, where the first interval is [0, π / 2);

[0178] According to the distribution of the polar angle corresponding to each driving data in each second interval, the occurrence frequency of the driving data in each second interval is counted;

[0179] Randomly assign a second interval;

[0180] Calculating a random standardized probability list based on the occurrence frequency of the driving data in each second interval and the occurrence frequency of the driving data in the randomly designated second interval;

[0181] Generate a plurality of first random numbers uniformly distributed between 0 and 1 to obtain a random number list, wherein the number of the first random numbers is the same as the number of the second random numbers;

[0182] Analyze and obtain an indication list according to the probability list and the random number list;

[0183] Obtaining the number of simulated gears according to the number of non-zero elements in the indication list;

[0184] Obtain the sequence numbers of the non-zero elements in the indication list in the indication list to obtain a sequence number set;

[0185] respectively obtaining a value of a point in the second interval corresponding to each serial number in the serial number set to obtain a set of simulated polar angles;

[0186] generating a second random number uniformly distributed between 0 and 1, and calculating a simulated speed based on the second random number and a first engine speed and a second engine speed, where the first engine speed and the second engine speed are respectively two endpoints of a preset idle engine speed range;

[0187] Obtaining a set of simulation values ​​according to the simulated number of gears, a set of simulated polar angles, and a simulated speed;

[0188] Repeat the steps of randomly specifying a second interval to obtaining a set of simulation values ​​according to the simulated number of gears, a set of simulated polar angles and a simulated speed to obtain multiple sets of simulation values.

[0189] Furthermore, the randomly designated second interval is specifically:

[0190] Calculate a cumulative frequency sequence based on the occurrence frequencies of the driving data in each second interval, where the first cumulative frequency in the cumulative frequency sequence is 0, and the w+1th cumulative frequency is the sum of the occurrence frequencies of the driving data in the first w second intervals, where w=1, 2, ..., h, where h is the number of second intervals;

[0191] Generate a third random number, where the third random number is a random number uniformly distributed between 0 and 1;

[0192] If the value of the third random number is between the values ​​of the w-1th cumulative frequency and the wth cumulative frequency, the wth second interval is used as a randomly designated second interval.

[0193] Furthermore, the random normalized probability list is calculated based on the occurrence frequency of the driving data in each second interval and the occurrence frequency of the driving data in the randomly specified second interval, specifically:

[0194] According to the third formula, the probability list of random standardization is calculated, and the third formula is σ w =min{f w / f z , 1}, w=1,2,…,h,σ w is the wth probability in the random normalized probability list, f w is the frequency of occurrence of driving data in the wth second interval, f z is the frequency of occurrence of the driving data in the randomly specified second interval, and h is the number of the second intervals.

[0195] Furthermore, the indication list obtained by analyzing the probability list and the random number list is specifically:

[0196] If the wth first random number in the random number list is less than or equal to the wth probability in the probability list, then let the value of the wth element in the indicator list be 1, otherwise it is 0, w = 1, 2,…, h, where h is the number of the second interval.

[0197] Furthermore, the step of respectively obtaining the value of a point in the second interval corresponding to each serial number in the serial number set to obtain a set of simulated polar angles is specifically:

[0198] According to the fourth formula, a set of simulated polar angles is calculated, and the fourth formula is β i =(t qi-1 +t qi ) / 2, i=1,2,…,n, β i is the ith simulated polar angle in a set of simulated polar angles, n is the number of non-zero elements in the indicator list, qi is the ith serial number in the serial number list, t qi-1 and t qiThey are the two endpoint values ​​of the qith second interval respectively.

[0199] In summary, the present invention provides a method for calculating the number of gears and the transmission ratio of a transmission, and a storage medium. Based on unknown transmission configuration information and only according to driving data, the objective function is constructed and solved to realize the identification of the number of gears in the transmission configuration information and the calculation of the transmission ratio. At the same time, the engine speed data at idle speed can also be output.

[0200] The above descriptions are merely embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent transformations made using the contents of the present invention's description and drawings, or directly or indirectly applied in related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A method for calculating the number of gears and the transmission ratio of a gearbox, characterized in that: include: Collecting driving data under normal driving conditions when the clutch pedal is not depressed, the driving data including engine speed and transmission output shaft speed; Calculate the polar angle and polar diameter corresponding to each driving data according to the engine speed and gearbox output shaft speed of each driving data; Randomly generate multiple groups of simulation values, each group of simulation values ​​includes a simulated number of gears, a group of simulated pole angles and a simulated speed; Substituting the plurality of sets of simulation values ​​into a preset objective function respectively, and obtaining a set of simulation values ​​when the objective function value is an optimal value as the optimal simulation value; Obtaining an identification result of the number of gears of a transmission according to the simulated number of gears in the optimal simulated value; Obtaining an objective function value corresponding to the optimal simulation value as a first objective function value; Using each simulated polar angle in the optimal simulated value as an approximate polar angle value of each gear, and using the simulated speed in the optimal simulated value as an approximate value of the engine speed at idle; Calculating the distances corresponding to the driving conditions for each driving data item based on the approximate polar angles of the respective gear positions and the approximate engine speed at idle, and determining the driving condition corresponding to each driving data item based on the minimum value of the distances; Adding the polar angles of the driving data corresponding to the same gear to the polar angle list of the same gear to obtain a polar angle list of each gear; Calculating the average value of the polar angle list of each gear respectively to obtain the average polar angle value corresponding to each gear, and updating the polar angle approximation value of each gear according to the average polar angle value corresponding to each gear; Add the engine speed corresponding to the neutral coasting driving data to the neutral coasting engine speed list; Calculating an average value of the neutral coasting engine speed list to obtain an average value of the neutral coasting engine speed, and updating an approximate value of the idling engine speed based on the average value of the engine speed; Recalculating the objective function value according to the updated polar angle approximation of each gear and the approximate value of the engine speed at idle speed to obtain a second objective function value; Determining whether a relative difference or an absolute difference between the first objective function value and the second objective function value is less than a preset threshold; If so, the transmission ratio of each gear is calculated based on the updated polar angle approximation of each gear, and the updated approximate value of the engine speed at idle is used as the engine speed at idle.

2. The method for calculating the number of gears and the transmission ratio of a gearbox according to claim 1, characterized in that: After determining whether the relative difference or absolute difference between the first objective function value and the second objective function value is less than a preset threshold, the method further includes: If not, the second objective function value is used as a new first objective function value, and the polar angle approximation value of each gear position and the approximate value of the engine speed at idle speed are continuously updated to calculate a new second objective function value; Determine whether a relative difference or an absolute difference between the new first objective function value and the new second objective function value is less than a preset threshold.

3. The method for calculating the number of gears and the transmission ratio of a gearbox according to claim 1, characterized in that: The multiple sets of simulation values ​​are respectively substituted into a preset objective function, and a set of simulation values ​​when the objective function value is an optimal value is obtained as the optimal simulation value: Iterating through the plurality of sets of simulation values; According to the formula d = min{ρ|θ-β i |,|ω e -ω idle |,ω t }, i = 1, 2, ..., m, calculate the minimum distance of each driving data corresponding to each driving situation, the driving situation includes m gears, neutral coasting and parking with the engine not turned off, ω e 、ω t , θ and ρ are respectively the engine speed, gearbox output shaft speed, polar angle and polar diameter corresponding to the same driving data, m is the number of simulated gears in the current group of simulation values, β i is the i-th simulated polar angle in a set of simulated polar angles in the current set of simulated values, ω idle It is the analog speed in the current group analog value; Determine the driving conditions corresponding to each driving data according to the minimum value of the distance corresponding to each driving condition of each driving data; Add the minimum distance value corresponding to each driving data to the distance list of the corresponding driving situation to obtain the distance list of each driving situation; According to the distance list of each driving situation and the preset objective function, the objective function value corresponding to the current group simulation value is calculated. The objective function is m i D i The number of elements in d ij Indicates D i The jth element in D i Represents the distance list of the i-th driving situation, where p and λ are preset parameters; After traversing the multiple groups of simulation values, the objective function values ​​corresponding to the multiple groups of simulation values ​​are compared, and a group of simulation values ​​corresponding to the minimum objective function value is taken as the optimal simulation value.

4. The method for calculating the number of gears and the transmission ratio of a transmission according to claim 1, characterized in that: The polar angle and polar diameter corresponding to each driving data are calculated based on the engine speed and the gearbox output shaft speed of each driving data as follows: The polar angle and polar diameter corresponding to each driving data are calculated according to the first formula and the second formula respectively. The first formula is θ=arctan(ω e / ω t ), the second formula is Among them, θ is the polar angle, ρ is the polar diameter, ω e and ω t They are the engine speed and transmission output shaft speed in the same driving data respectively.

5. The method for calculating the number of gears and the transmission ratio of a transmission according to claim 1, characterized in that: The random generation of multiple groups of simulation values ​​is specifically as follows: Divide the first interval into a plurality of second intervals, where the first interval is [0, π / 2); According to the distribution of the polar angle corresponding to each driving data in each second interval, the occurrence frequency of the driving data in each second interval is counted; Randomly assign a second interval; Calculating a random standardized probability list based on the occurrence frequency of the driving data in each second interval and the occurrence frequency of the driving data in the randomly designated second interval; Generate a plurality of first random numbers uniformly distributed between 0 and 1 to obtain a random number list, wherein the number of the first random numbers is the same as the number of the second random numbers; Analyze and obtain an indication list according to the probability list and the random number list; Obtaining the number of simulated gears according to the number of non-zero elements in the indication list; Obtain the sequence numbers of the non-zero elements in the indication list in the indication list to obtain a sequence number set; respectively obtaining a value of a point in the second interval corresponding to each serial number in the serial number set to obtain a set of simulated polar angles; generating a second random number uniformly distributed between 0 and 1, and calculating a simulated speed based on the second random number and a first engine speed and a second engine speed, where the first engine speed and the second engine speed are respectively two endpoints of a preset idle engine speed range; Obtaining a set of simulation values ​​according to the simulated number of gears, a set of simulated polar angles, and a simulated speed; Repeat the steps of randomly specifying a second interval to obtaining a set of simulation values ​​according to the simulated number of gears, a set of simulated polar angles and a simulated speed to obtain multiple sets of simulation values.

6. The method for calculating the number of gears and the transmission ratio of a transmission according to claim 5, characterized in that: The random assignment of a second interval is specifically: Calculate a cumulative frequency sequence based on the occurrence frequencies of the driving data in each second interval, where the first cumulative frequency in the cumulative frequency sequence is 0, and the w+1th cumulative frequency is the sum of the occurrence frequencies of the driving data in the first w second intervals, where w=1, 2, ..., h, where h is the number of second intervals; Generate a third random number, where the third random number is a random number uniformly distributed between 0 and 1; If the value of the third random number is between the values ​​of the w-1th cumulative frequency and the wth cumulative frequency, the wth second interval is used as a randomly designated second interval.

7. The method for calculating the number of gears and the transmission ratio of a transmission according to claim 5, characterized in that: The random normalized probability list is calculated based on the occurrence frequency of the driving data in each second interval and the occurrence frequency of the driving data in the randomly specified second interval, specifically: According to the third formula, the probability list of random standardization is calculated, and the third formula is σ w =min{f w / f z , 1}, w=1,2,…,h,σ w is the wth probability in the random normalized probability list, f w is the frequency of occurrence of driving data in the wth second interval, f z is the frequency of occurrence of the driving data in the randomly specified second interval, and h is the number of the second intervals.

8. The method for calculating the number of gears and the transmission ratio of a transmission according to claim 5, characterized in that: The indication list obtained by analyzing the probability list and the random number list is specifically: If the wth first random number in the random number list is less than or equal to the wth probability in the probability list, then let the value of the wth element in the indicator list be 1, otherwise it is 0, w = 1, 2,…, h, where h is the number of the second interval.

9. The method for calculating the number of gears and the transmission ratio of a transmission according to claim 5, characterized in that: The method of respectively obtaining the value of a point in the second interval corresponding to each serial number in the serial number set to obtain a set of simulated polar angles is specifically: According to the fourth formula, a set of simulated polar angles is calculated, and the fourth formula is β i =(t qi-1 +t qi ) / 2, i=1,2,…,n, β i is the ith simulated polar angle in a set of simulated polar angles, n is the number of non-zero elements in the indicator list, qi is the ith serial number in the serial number list, t qi-1 and t qi They are the two endpoint values ​​of the qith second interval respectively.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method according to any one of claims 1 to 9 are implemented.

Citation Information

Patent Citations

  • Method, device and terminal for solving gear transmission ratios of gearbox, and storage medium

    CN109780192A

  • System and method for simulating the performance of a virtual vehicle

    WO2013142508A2