Tractor slope recognition method, device and equipment and storage medium

By limiting the longitudinal acceleration and eliminating the effects of angular velocity on the tractor's acceleration signal, combined with Kalman gain adjustment, the accuracy of slope recognition of the tractor in complex road conditions is improved, and the problem of inaccurate slope recognition in the existing technology is solved.

CN118618388APending Publication Date: 2024-09-10SOUTH CHINA AGRICULTURAL UNIVERSITY
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410717974.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-04
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

In complex terrain and slope change scenarios, the slope recognition accuracy of the tractor is affected. The angular velocity and acceleration input of the existing Kalman algorithm are inaccurate, resulting in inaccurate fusion results.

Method used

By limiting the longitudinal acceleration of the tractor acceleration signal, the corrected acceleration is calculated, the angular velocity is obtained according to the tractor balance equation, the influence of the roll vertical angular velocity is eliminated, the gain adjustment rule is queried to adjust the Kalman gain, and finally the tractor slope identification result is obtained through weighted summation .

Benefits of technology

It improves the slope recognition accuracy of the tractor in complex road conditions, reduces the errors in acceleration and angular velocity measurement, and enhances the accuracy of subsequent Kalman slope calculations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118618388A
    Figure CN118618388A
Patent Text Reader

Abstract

The invention relates to a slope recognition technology, and discloses a tractor slope recognition method, device and equipment and a storage medium. The method comprises the steps that longitudinal acceleration limiting based on gradient sudden change is carried out on a tractor acceleration signal to obtain corrected acceleration; angular velocity calculation is carried out on the real-time driving force parameters to obtain the angular velocity of the tractor, and influence elimination calculation based on transverse rolling and vertical angular velocity is carried out on the angular velocity of the tractor to obtain the longitudinal pitch angular velocity; calculating the step length number of the difference value between the corrected acceleration and the gravitational acceleration in the preset time period belonging to a preset threshold value, and querying a preset gain adjustment rule according to the step length number to obtain an adjustment Kalman gain; performing slope solving on the corrected acceleration to obtain a first slope value, performing integration on the longitudinal pitch angular velocity to obtain a second slope value, and performing weighted summation on the first slope value and the second slope value according to the adjusted Kalman gain to obtain the slope of the tractor. According to the invention, the identification accuracy of slope identification of the tractor under complex road conditions can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of slope recognition, and in particular to a tractor slope recognition method, device, equipment and computer-readable storage medium. Background Art

[0002] Farmers can identify the slope of the road in real time, which helps to ensure safe driving and reduce accidents caused by slopes. It also helps to better plan the driving route when encountering slopes. More power is needed when going uphill and power recovery is needed when going downhill, which reduces fuel consumption and brake wear.

[0003] When a tractor is operating, the scene is very complex and changeable, and it needs to operate on various terrains, including slopes and hilly areas. Knowing the real-time slope can help farmers or operators better control the tractor to avoid rollovers or other accidents. Especially when working on slopes, knowing the real-time slope can help people take appropriate safety measures to ensure the safety of the tractor and the operator. For different agricultural operations (such as tilling, sowing, harvesting, etc.), knowing the slope can help optimize the operation plan and improve the efficiency of the operation. Reasonable route planning and adjusting the working method according to the slope can help improve the quality and efficiency of the operation.

[0004] Nowadays, tractor road slope recognition is mainly carried out through a Kalman-based multi-sensor fusion method. However, in complex practical scenarios of tractors, such as bumpy terrain and slope changes, the angular velocity input and acceleration input of the Kalman algorithm are affected by the terrain, resulting in inaccurate data and the final fusion result is also inaccurate. Summary of the invention

[0005] The present invention provides a tractor slope recognition method, device, equipment and storage medium, the main purpose of which is to improve the recognition accuracy of the tractor's slope real-time recognition under complex road conditions.

[0006] To achieve the above object, the present invention provides a tractor slope recognition method, comprising:

[0007] The tractor acceleration signal collected by the pre-built sensor assembly is subjected to longitudinal acceleration limitation based on the slope mutation to obtain a corrected acceleration;

[0008] Acquire the real-time driving force parameter of the tractor, perform angular velocity calculation on the real-time driving force parameter according to the pre-constructed tractor balance equation to obtain the tractor angular velocity, and perform an influence elimination calculation based on the rolling vertical angular velocity on the tractor angular velocity to obtain the longitudinal pitch angular velocity;

[0009] Calculate the number of steps within a preset time period for which the difference between the correction acceleration and the gravity acceleration is within a preset threshold, and query a preset gain adjustment rule according to the step number to obtain an adjusted Kalman gain;

[0010] The correction acceleration is slope solved to obtain a first slope value, and the longitudinal pitch angular velocity is integrated to obtain a second slope value, and the first slope value and the second slope value are weighted summed according to the adjusted Kalman gain to obtain a tractor slope recognition result.

[0011] Optionally, the step of limiting the longitudinal acceleration based on the sudden change in slope on the tractor acceleration signal collected by the pre-built sensor assembly to obtain the corrected acceleration includes:

[0012] Using the pre-built sensor components, the tractor acceleration signal is collected:

[0013]

[0014] Where a represents the acceleration collected by the sensor component, represents the velocity change rate, g represents the acceleration due to gravity, and θ represents the slope value;

[0015] Performing longitudinal acceleration limitation on the tractor acceleration signal to obtain a correction acceleration;

[0016] Among them, the mathematical expression formula of longitudinal acceleration limit is:

[0017] g(sin(α+β)―sin(α))―Δαcc≤Δα≤g(sin(α+β)―sin(α))+Δαcc

[0018] Wherein, when T is the moment when the road slope changes, α represents the slope before the Tth second, β represents the angle change after the Tth second, and α+β represents the slope after the Tth second; Δαx represents the allowable increment of longitudinal acceleration, and Δαcc represents the influence of the zero drift of the angular velocity sensor in the Tth second and the integral calculation error;

[0019] The angle variation is decomposed into:

[0020] β=β1+β2

[0021] Wherein, β1 represents the actual tilt angle change value of the tractor in the Tth second; β2 represents the angle obtained by integrating the angular velocity measured by the angular velocity sensor in the Tth second, minus the actual tilt angle change value of the tractor in the Tth second;

[0022] Then the mathematical expression of Δαcc is:

[0023] Δαcc=―gcos(α+β1 )sin(β 2 )≈―gcos(α+β)sin(β 2 )

[0024] In the formula, β 2 According to the empirical value measured in the experiment, the configuration is -0.2≤β 2 ≤0.2.

[0025] Optionally, performing calculation to eliminate the influence of the rolling vertical angular velocity on the tractor angular velocity to obtain the longitudinal pitch angular velocity includes:

[0026] Calculating the average value of the tractor angular velocity within a preset power-on initialization time period to obtain the zero drift of the angular velocity sensor;

[0027] Calculate the angular velocity in the pitch direction after subtracting the zero drift from the angular velocity of the tractor to obtain an initial pitch angular velocity;

[0028] Obtaining the vehicle speed and the vertical angular velocity of the tractor in rolling, and calculating the influence coefficient between the pitch angular velocity and the vertical angular velocity according to the short-time integral of the vehicle speed and the vertical angular velocity;

[0029] The initial pitch angular velocity is corrected according to the influence coefficient to obtain a longitudinal pitch angular velocity.

[0030] Optionally, the numerical parameter of the Kalman gain in the preset gain adjustment rule is divided into very trusted, generally trusted, slightly trusted and not trusted according to the numerical range of the step number.

[0031] Optionally, performing slope calculation on the correction acceleration to obtain a first slope value includes:

[0032] Obtain an estimated value of the speed change rate, and calculate the slope value based on the corrected acceleration and the estimated value:

[0033]

[0034] Where a represents the acceleration processed by the sensor assembly, v represents the velocity change rate, g represents the gravitational acceleration, θ gravity Indicates the slope value after acceleration correction;

[0035] A filtering operation is performed on the calculated slope value to obtain a first slope value.

[0036] Optionally, performing weighted summation of the first slope value and the second slope value according to the adjusted Kalman gain to obtain a tractor slope recognition result includes:

[0037] The expression of the weighted summation is:

[0038] θ n =(1-k)θ wn +k·θ gravity

[0039] In the formula, θ n represents the tractor slope recognition result, k represents the adjustment Kalman gain, θ wn represents the slope value obtained by integrating the longitudinal pitch angular velocity, θ gravity Indicates the slope value derived from the corrected acceleration.

[0040] Optionally, the tractor balance equation:

[0041]

[0042] In the formula, F wt Indicates the driving force requirement, in N; m indicates the mass of the tractor, in kg; g indicates the acceleration due to gravity, in m / s 2 ;f r represents the rolling resistance coefficient; α represents the slope; C D represents the drag coefficient; A represents the frontal area; v i represents the vehicle speed at the i-th moment.

[0043] In order to solve the above problems, the present invention also provides a tractor slope recognition device, the device comprising:

[0044] A sensor acquisition module is used to limit the longitudinal acceleration of the tractor acceleration signal acquired by the pre-built sensor assembly based on the slope mutation to obtain a corrected acceleration;

[0045] A power observation module is used to obtain real-time driving force parameters of the tractor, perform angular velocity calculation on the real-time driving force parameters according to a pre-constructed tractor balance equation to obtain the tractor angular velocity, and perform an influence elimination calculation on the tractor angular velocity based on the rolling vertical angular velocity to obtain the longitudinal pitch angular velocity;

[0046] A Kalman gain adjustment module, used to calculate the number of steps within a preset time period in which the difference between the correction acceleration and the gravity acceleration falls within a preset threshold, and query a preset gain adjustment rule according to the step number to obtain an adjusted Kalman gain;

[0047] The slope fusion calculation module is used to solve the slope of the corrected acceleration to obtain a first slope value, integrate the longitudinal pitch angular velocity to obtain a second slope value, and perform weighted summation of the first slope value and the second slope value according to the adjusted Kalman gain to obtain a tractor slope recognition result.

[0048] In order to solve the above problem, the present invention further provides an electronic device, the electronic device comprising:

[0049] at least one processor; and a memory in communication with the at least one processor; wherein,

[0050] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform the tractor slope recognition method described above.

[0051] In order to solve the above problem, the present invention also provides a computer-readable storage medium, in which at least one computer program is stored. The at least one computer program is executed by a processor in an electronic device to implement the above-mentioned tractor slope recognition method.

[0052] The embodiment of the present invention performs longitudinal acceleration limitation on the tractor acceleration signal collected by the sensor assembly, and then calculates the angular velocity according to the real-time driving force parameters of the tractor, and eliminates the influence of the vertical angular velocity of the roll, thereby obtaining the longitudinal pitch angular velocity, wherein the longitudinal acceleration limitation and the elimination of the influence of the vertical angular velocity of the roll achieve the measurement accuracy of acceleration and angular velocity under complex road conditions, such as uphill and downhill, slope turning, etc., thereby improving the accuracy of subsequent Kalman slope calculation; in addition, the present invention also proposes a method for directly adjusting the Kalman gain, and selects a suitable adjustment Kalman gain according to the confidence of the acceleration measurement value, thereby calculating a more accurate tractor slope recognition result. Therefore, the tractor slope recognition method, device, equipment and storage medium provided by the embodiment of the present invention can improve the recognition accuracy of the tractor slope recognition under complex road conditions. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] Figure 1 A schematic flow chart of a tractor slope recognition method provided by an embodiment of the present invention;

[0054] Figure 2 The slope change scenario mentioned in the tractor slope recognition method provided by an embodiment of the present invention;

[0055] Figure 3 A flow chart of slope limitation for calculating longitudinal acceleration in a tractor slope recognition method provided by an embodiment of the present invention;

[0056] Figure 4 A functional module diagram of a tractor slope recognition device provided by an embodiment of the present invention;

[0057] Figure 5A schematic diagram of the structure of an electronic device for implementing the tractor slope recognition method provided by an embodiment of the present invention.

[0058] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0059] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0060] The embodiment of the present application provides a tractor slope recognition method. In the embodiment of the present application, the execution subject of the tractor slope recognition method includes but is not limited to at least one of the electronic devices such as a server, a terminal, etc. that can be configured to execute the method provided by the embodiment of the present application. In other words, the tractor slope recognition method can be executed by software or hardware installed on a terminal device or a server device, and the software can be a blockchain platform. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, etc. The server can be an independent server, or it can be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), and big data and artificial intelligence platforms.

[0061] Reference Figure 1 FIG. 1 is a flow chart of a tractor slope recognition method according to an embodiment of the present invention. In this embodiment, the tractor slope recognition method includes:

[0062] S1. The tractor acceleration signal collected by the pre-built sensor assembly is subjected to longitudinal acceleration limitation based on the slope mutation to obtain a corrected acceleration.

[0063] It should be noted that when the road is uneven and the slope is not flat, the tractor will be subject to different resistance, or when going uphill or downhill, the driver's control of the accelerator pedal will cause the tractor's own acceleration to change dramatically, which will lead to inaccurate measurements. The longitudinal acceleration of the tractor varies greatly under complex road conditions, resulting in the acceleration measured by the sensor including a lot of the tractor's own acceleration, so the measurement value passed to the subsequent Kalman calculation process will also have a large error.

[0064] It can be seen from the characteristics of the angular velocity sensor (gyroscope in the embodiment of the present invention) that the angle change obtained by integrating the angular velocity in a short time is reliable. Therefore, by integrating the angular velocity within a certain time window, the change of the longitudinal acceleration can be limited by the value obtained by integrating the angular velocity, thereby eliminating the longitudinal acceleration interference and noise burrs of the tractor itself, and retaining the component of acceleration on the slope.

[0065] In detail, in an embodiment of the present invention, the longitudinal acceleration limitation based on the slope mutation is performed on the tractor acceleration signal collected by the pre-built sensor assembly to obtain the corrected acceleration, including:

[0066] Using the pre-built sensor components, the tractor acceleration signal is collected:

[0067]

[0068] Where a represents the acceleration collected by the sensor component, represents the velocity change rate, g represents the acceleration due to gravity, and θ represents the slope value;

[0069] Performing longitudinal acceleration limitation on the tractor acceleration signal to obtain a correction acceleration;

[0070] Among them, the mathematical expression formula of longitudinal acceleration limit is:

[0071] g(sin(α+β)―sin(α))―Δαcc≤Δα≤g(sin(α+β)―sin(α))+Δαcc

[0072] Wherein, when T is the moment when the road slope changes, α represents the slope before T seconds, β represents the angle change after T seconds, and α+β represents the slope after T seconds; Δα represents the allowable longitudinal acceleration increment, and Δαcc represents the influence of the zero drift and integral calculation error of the angular velocity sensor in T seconds;

[0073] The angle variation is decomposed into:

[0074] β=β1+β2

[0075] Wherein, β1 represents the actual tilt angle change value of the tractor in the Tth second; β2 represents the angle obtained by integrating the angular velocity measured by the angular velocity sensor in the Tth second, minus the actual tilt angle change value of the tractor in the Tth second;

[0076] Then the mathematical expression of Δαcc is:

[0077] Δαcc=―gcos(α+β 1 )sin(β 2 )≈―gcos(α+β)sin(β2 )

[0078] In the formula, β 2 According to the empirical value measured in the experiment, the configuration is -0.2≤β 2 ≤0.2.

[0079] Specifically, in the embodiments of the present invention, reference Figure 2 As shown in the figure, the tractor is driving on a road with an inclination of α. After a period of time, the road slope angle changes to θ. The change in the road inclination is β. Due to the change in the slope, the operator will definitely increase the tractor power to go uphill. At this time, if the longitudinal acceleration is not corrected, the slope value obtained from the acceleration will have a large deviation, resulting in a large subsequent fusion error.

[0080] The present invention takes into account the actual operating slope limitation of the tractor and the changes in road conditions. The inclination generally does not exceed 30°. Therefore, in order to improve the acceleration change caused by this environment or similar reasons, the angle θ after T seconds can be obtained by the road angle α before T seconds and the angle change β after T seconds, thereby limiting the acceleration change within these T seconds.

[0081] refer to Figure 3 As shown, after the tractor goes uphill, first initialize the time T, which can be 1 second, 2 seconds or more, and then start timing Time. If Time does not reach T seconds, the longitudinal pitch angular velocity gy is recorded and integrated; when Time reaches T seconds, a stage is completed, and the integral value of the previous stage is used as the change in the road inclination β, the original road angle α is obtained, and the limited range is calculated, and the zero drift and error influence Δαcc are calculated, and the limited range is corrected to obtain the upper and lower limits of Ax [g(sin(α+β)―sin(α))―Δαcc, g(sin(α+β)―sin(α))+Δαcc], where Ax represents the acceleration in the x (longitudinal) direction. Furthermore, in this scheme, y represents the pitch direction and z represents the vertical direction.

[0082] In addition, since the tractor travels on a slope of about 0 to 30 degrees, the limit of zero drift can be determined by experiments to be 0.2 degrees, so the configuration is -0.2≤β 2 ≤0.2.

[0083] S2. Acquire the real-time driving force parameters of the tractor, perform angular velocity calculation on the real-time driving force parameters according to a pre-constructed tractor balance equation to obtain the tractor angular velocity, and perform an influence elimination calculation on the tractor angular velocity based on the rolling vertical angular velocity to obtain the longitudinal pitch angular velocity.

[0084] The real-time driving force parameters include driving force, tractor acceleration, tractor mass, etc.

[0085] According to the tractor dynamics relationship, ramp resistance and rolling resistance are related to the slope. When other parameters such as driving force, tractor acceleration, tractor mass, etc. are known, the slope can be solved according to the tractor balance equation.

[0086] The formula for the tractor balance equation is as follows:

[0087]

[0088] In the formula, F wt Indicates the driving force requirement, in N; m indicates the mass of the tractor, in kg; g indicates the acceleration due to gravity, in m / s 2 ;f r represents the rolling resistance coefficient; α represents the slope; C D represents the drag coefficient; A represents the frontal area; v i represents the vehicle speed at the i-th moment.

[0089] It should be known that on a bumpy slope road, the vertical acceleration of the tractor varies greatly and has many high-frequency components, which are largely caused by the shaking and rolling of the tractor body. The values ​​measured by the vertical acceleration sensor when the tractor is actually going uphill and downhill can be ignored, so the vertical acceleration measurement values ​​can basically be discarded.

[0090] In the embodiment of the present invention, when operating on a slope with a rolling inclination or a pothole-prone slope, the tractor not only has a change in the angular velocity of pitch, but also a change in the angular velocity of roll in the vertical direction. The longitudinal pitch angular velocity Gy will be affected by the angular velocity Gz from the vertical direction. Therefore, Gy needs to be processed and corrected to reduce the slope value obtained by integrating the angular velocity sensor, thereby reducing the error caused by the next step of fusion.

[0091] In detail, in the embodiment of the present invention, the calculation of eliminating the influence of the rolling vertical angular velocity on the tractor angular velocity to obtain the longitudinal pitch angular velocity includes:

[0092] Calculating the average value of the tractor angular velocity within a preset power-on initialization time period to obtain the zero drift of the angular velocity sensor;

[0093] Calculate the angular velocity in the pitch direction after subtracting the zero drift from the angular velocity of the tractor to obtain an initial pitch angular velocity;

[0094] Obtaining the vehicle speed and the vertical angular velocity of the tractor in rolling, and calculating the influence coefficient between the pitch angular velocity and the vertical angular velocity according to the short-time integral of the vehicle speed and the vertical angular velocity;

[0095] The initial pitch angular velocity is corrected according to the influence coefficient to obtain a longitudinal pitch angular velocity.

[0096] Specifically, the embodiment of the present invention first uses the angular velocity zero drift value obtained by initialization calculation to calculate the Gy angular velocity after subtracting the zero drift, and obtains G y―bias , and then the influence coefficients of Gy and Gz need to be calculated.

[0097] The influence coefficient is related to the current tractor speed and the short-time integral of Gz. The triggering condition of the calculation process of the present invention is that the influence coefficient is calculated when the integral of Gz in 1000ms is greater than a certain value.

[0098] The present invention requires certain trigger conditions to correct the Gy angular velocity. The trigger condition is to determine whether the integral of Gy and Gz satisfies the multiple relationship of the mutual influence coefficient. And increase or decrease according to the mutual influence coefficient of Gy-Gz and the integral value of the original Gy within 1s to reduce the longitudinal angular velocity error caused by the vertical direction, thereby reducing the prior slope value error obtained by the longitudinal angular velocity integral.

[0099] S3. Calculate the number of steps within a preset time period for which the difference between the correction acceleration and the gravity acceleration is within a preset threshold, and query a preset gain adjustment rule according to the step number to obtain an adjusted Kalman gain.

[0100] It should be known that the basic Kalman idea is to first use the angular velocity obtained by the angular velocity sensor as a priori estimated parameter to estimate the road slope, and then use the acceleration sensor to obtain the angle as the sensor measurement value. Finally, the prior value and the sensor value are combined to calculate the Kalman gain K to obtain the final optimal estimate.

[0101] Among them, the size of K mainly depends on the size of the estimated covariance matrix and the measured covariance matrix, and the size of these two matrices is artificially set. Therefore, the present invention proposes an algorithm for directly adjusting the K value: within a certain period of time, the absolute value of the difference between the correction acceleration a and the gravity acceleration g is calculated to be within the preset threshold, and the value of K is determined according to the number of steps within this period of time. When the measured value is inaccurate, that is, when the number of steps is large, the K value is adjusted to a smaller value. When the prior value is inaccurate, that is, when the number of steps is small, the K value is increased. The K value represents the confidence in the acceleration measurement value, as shown in Table 1:

[0102]

[0103]

[0104] Table 1 Gain adjustment rules

[0105] The present invention determines the satisfaction within a certain period of time. The number of steps is determined by the case statement to output the adjusted Kalman gain K according to the above table.

[0106] S4. Solve the slope of the correction acceleration to obtain a first slope value, integrate the longitudinal pitch angular velocity to obtain a second slope value, and perform weighted summation of the first slope value and the second slope value according to the adjusted Kalman gain to obtain a tractor slope recognition result.

[0107] In detail, in the embodiment of the present invention, the step of solving the slope of the correction acceleration to obtain the first slope value includes:

[0108] Obtain an estimated value of the speed change rate, and calculate the slope value based on the corrected acceleration and the estimated value:

[0109]

[0110] Where a represents the acceleration processed by the sensor assembly, represents the rate of change of velocity, g represents the acceleration due to gravity, and θ gravity Indicates the slope value after acceleration correction;

[0111] A filtering operation is performed on the calculated slope value to obtain a first slope value.

[0112] Furthermore, in an embodiment of the present invention, the longitudinal pitch angular velocity is integrated to obtain a second slope value.

[0113] θ wn =θ n(n―1) +gy·dt

[0114] In the formula, θ wn The slope value obtained by integrating the longitudinal pitch angular velocity to eliminate the influence of the rolling vertical angular velocity, gy represents the longitudinal pitch angular velocity, and n(n-1) represents the time from the (n-1)th moment to the nth moment.

[0115] Furthermore, in an embodiment of the present invention, the weighted sum of the first slope value and the second slope value according to the adjusted Kalman gain to obtain the tractor slope recognition result includes:

[0116] The expression of the weighted summation is:

[0117] θ n =(1-k)θ wn +k·θ gravity

[0118] In the formula, θ nrepresents the tractor slope recognition result, k represents the adjustment Kalman gain, θ wn represents the slope value obtained by integrating the longitudinal pitch angular velocity, θ gravity Indicates the slope value derived from the correction acceleration.

[0119] In the embodiment of the present invention, according to the self-configured k, the longitudinal pitch angular velocity is integrated to obtain θ wn and θ derived from the corrected acceleration gravity ,Through three parameter optimizations, the accuracy of the tractor road slope detection in complex road conditions is improved.

[0120] The embodiment of the present invention performs longitudinal acceleration limitation on the tractor acceleration signal collected by the sensor assembly, and then calculates the angular velocity according to the real-time driving force parameters of the tractor, and eliminates the influence of the vertical angular velocity of the roll, thereby obtaining the longitudinal pitch angular velocity, wherein the longitudinal acceleration limitation and the elimination of the influence of the vertical angular velocity of the roll achieve the measurement accuracy of acceleration and angular velocity under complex road conditions, such as uphill and downhill acceleration and deceleration, slope steering, etc., thereby improving the accuracy of subsequent Kalman slope calculation; in addition, the present invention also proposes a method for directly adjusting the Kalman gain, and selects a suitable adjustment Kalman gain according to the confidence of the acceleration measurement value, thereby calculating a more accurate tractor slope recognition result. Therefore, a tractor slope recognition method provided by the embodiment of the present invention can improve the recognition accuracy of the tractor slope recognition under complex road conditions.

[0121] like Figure 4 1 is a functional module diagram of a tractor slope recognition device provided by an embodiment of the present invention.

[0122] The tractor slope recognition device 100 of the present invention can be installed in an electronic device. According to the functions to be implemented, the tractor slope recognition device 100 can include a sensor acquisition module 101, a power observation module 102, a Kalman gain adjustment module 103 and a slope fusion calculation module 104. The module of the present invention can also be called a unit, which refers to a series of computer program segments that can be executed by an electronic device processor and can complete fixed functions, which are stored in the memory of the electronic device.

[0123] In this embodiment, the functions of each module / unit are as follows:

[0124] The sensor acquisition module 101 is used to limit the longitudinal acceleration based on the slope mutation on the tractor acceleration signal acquired by the pre-built sensor assembly to obtain a corrected acceleration;

[0125] The power observation module 102 is used to obtain the real-time driving force parameters of the tractor, perform angular velocity calculation on the real-time driving force parameters according to the pre-constructed tractor balance equation to obtain the tractor angular velocity, and perform an influence elimination calculation based on the rolling vertical angular velocity on the tractor angular velocity to obtain the longitudinal pitch angular velocity;

[0126] The Kalman gain adjustment module 103 is used to calculate the number of steps within a preset time period in which the difference between the correction acceleration and the gravity acceleration is within a preset threshold, and query the preset gain adjustment rule according to the step number to obtain the adjusted Kalman gain;

[0127] The slope fusion calculation module 104 is used to solve the slope of the corrected acceleration to obtain a first slope value, and to integrate the longitudinal pitch angular velocity to obtain a second slope value, and to perform weighted summation of the first slope value and the second slope value according to the adjusted Kalman gain to obtain a tractor slope recognition result.

[0128] In detail, each module described in the tractor slope recognition device 100 described in the embodiment of the present application is used in the same manner as described above. Figures 1 to 4 The tractor slope recognition method described in the invention has the same technical means and can produce the same technical effects, so it will not be repeated here.

[0129] like Figure 5 FIG. 1 is a schematic diagram of the structure of an electronic device 1 for implementing a tractor slope recognition method provided by an embodiment of the present invention.

[0130] The electronic device 1 may include a processor 10, a memory 11, a communication bus 12, and a communication interface 13, and may also include a computer program stored in the memory 11 and executable on the processor 10, such as a tractor slope recognition program.

[0131] In some embodiments, the processor 10 may be composed of an integrated circuit, for example, a single packaged integrated circuit, or a plurality of packaged integrated circuits with the same or different functions, including one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and combinations of various control chips. The processor 10 is the control core (ControlUnit) of the electronic device 1, and uses various interfaces and lines to connect various components of the entire electronic device, and executes or executes programs or modules stored in the memory 11 (for example, executing a tractor slope recognition program, etc.), and calls data stored in the memory 11 to execute various functions of the electronic device and process data.

[0132] The memory 11 includes at least one type of readable storage medium, and the readable storage medium includes a flash memory, a mobile hard disk, a multimedia card, a card-type memory (for example, an SD or DX memory, etc.), a magnetic memory, a disk, an optical disk, etc. In some embodiments, the memory 11 may be an internal storage unit of an electronic device, such as a mobile hard disk of the electronic device. In other embodiments, the memory 11 may also be an external storage device of an electronic device, such as a plug-in mobile hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device. Further, the memory 11 may also include both an internal storage unit of the electronic device and an external storage device. The memory 11 may not only be used to store application software and various types of data installed in the electronic device, such as the code of the tractor slope recognition program, etc., but also be used to temporarily store data that has been output or is to be output.

[0133] The communication bus 12 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. The bus is configured to realize connection and communication between the memory 11 and at least one processor 10, etc.

[0134] The communication interface 13 is used for communication between the above-mentioned electronic device 1 and other devices, including a network interface and a user interface. Optionally, the network interface may include a wired interface and / or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which is generally used to establish a communication connection between the electronic device and other electronic devices. The user interface may be a display (Display), an input unit (such as a keyboard (Keyboard)), and optionally, the user interface may also be a standard wired interface, a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an OLED (Organic Light-Emitting Diode, organic light-emitting diode) touch device, etc. Among them, the display may also be appropriately referred to as a display screen or a display unit, which is used to display information processed in the electronic device and to display a visual user interface.

[0135] Figure 5 Only an electronic device with components is shown, and those skilled in the art will understand that Figure 5The structure shown does not constitute a limitation on the electronic device 1, and may include fewer or more components than shown in the figure, or combine certain components, or arrange the components differently.

[0136] For example, although not shown, the electronic device 1 may also include a power source (such as a battery) for supplying power to each component. Preferably, the power source may be logically connected to the at least one processor 10 through a power management device, so that the power management device can realize functions such as charging management, discharging management, and power consumption management. The power source may also include any components such as one or more DC or AC power sources, recharging devices, power failure detection circuits, power converters or inverters, power status indicators, etc. The electronic device 1 may also include a variety of sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be repeated here.

[0137] It should be understood that the embodiment is for illustration only and the scope of the patent application is not limited to this structure.

[0138] The tractor slope recognition program stored in the memory 11 of the electronic device 1 is a combination of multiple instructions. When running in the processor 10, it can achieve:

[0139] The tractor acceleration signal collected by the pre-built sensor assembly is subjected to longitudinal acceleration limitation based on the slope mutation to obtain a corrected acceleration;

[0140] Acquire the real-time driving force parameter of the tractor, perform angular velocity calculation on the real-time driving force parameter according to the pre-constructed tractor balance equation to obtain the tractor angular velocity, and perform an influence elimination calculation based on the rolling vertical angular velocity on the tractor angular velocity to obtain the longitudinal pitch angular velocity;

[0141] Calculate the number of steps within a preset time period for which the difference between the correction acceleration and the gravity acceleration is within a preset threshold, and query a preset gain adjustment rule according to the number of steps to obtain an adjusted Kalman gain;

[0142] The correction acceleration is slope solved to obtain a first slope value, and the longitudinal pitch angular velocity is integrated to obtain a second slope value, and the first slope value and the second slope value are weighted summed according to the adjusted Kalman gain to obtain a tractor slope recognition result.

[0143] Specifically, the specific implementation method of the processor 10 for the above instructions can refer to the description of the relevant steps in the corresponding embodiment of the accompanying drawings, which will not be repeated here.

[0144] Furthermore, if the module / unit integrated in the electronic device 1 is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. The computer-readable storage medium can be volatile or non-volatile. For example, the computer-readable medium can include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, and a read-only memory (ROM).

[0145] The present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor of an electronic device, the computer program can implement:

[0146] The tractor acceleration signal collected by the pre-built sensor assembly is subjected to longitudinal acceleration limitation based on the slope mutation to obtain a corrected acceleration;

[0147] Acquire the real-time driving force parameter of the tractor, perform angular velocity calculation on the real-time driving force parameter according to the pre-constructed tractor balance equation to obtain the tractor angular velocity, and perform an influence elimination calculation based on the rolling vertical angular velocity on the tractor angular velocity to obtain the longitudinal pitch angular velocity;

[0148] Calculate the number of steps within a preset time period for which the difference between the correction acceleration and the gravity acceleration is within a preset threshold, and query a preset gain adjustment rule according to the step number to obtain an adjusted Kalman gain;

[0149] The correction acceleration is slope solved to obtain a first slope value, and the longitudinal pitch angular velocity is integrated to obtain a second slope value, and the first slope value and the second slope value are weighted summed according to the adjusted Kalman gain to obtain a tractor slope recognition result.

[0150] In the several embodiments provided by the present invention, it should be understood that the disclosed devices, apparatuses and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation.

[0151] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0152] In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional modules.

[0153] It is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.

[0154] Therefore, no matter from which point of view, the embodiments should be regarded as illustrative and non-restrictive, and the scope of the present invention is limited by the appended claims rather than the above description, so it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present invention. Any attached figure mark in the claims should not be regarded as limiting the claims involved.

[0155] The blockchain referred to in this invention is a new application mode of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, encryption algorithm, etc. Blockchain is essentially a decentralized database, a string of data blocks generated by cryptographic methods. Each data block contains a batch of network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. Blockchain can include the underlying blockchain platform, platform product service layer, and application service layer.

[0156] The embodiments of the present application can acquire and process relevant data based on artificial intelligence technology. Among them, artificial intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.

[0157] In addition, it is clear that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices stated in the system claim can also be implemented by one unit or device through software or hardware. The words first, second, etc. are used to indicate names, and do not indicate any particular order.

[0158] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.

Claims

1. A tractor slope recognition method, characterized in that: The method comprises: The tractor acceleration signal collected by the pre-built sensor assembly is subjected to longitudinal acceleration limitation based on the slope mutation to obtain a corrected acceleration; Acquire the real-time driving force parameter of the tractor, perform angular velocity calculation on the real-time driving force parameter according to the pre-constructed tractor balance equation to obtain the tractor angular velocity, and perform an influence elimination calculation based on the rolling vertical angular velocity on the tractor angular velocity to obtain the longitudinal pitch angular velocity; Calculate the number of steps within a preset time period for which the difference between the correction acceleration and the gravity acceleration is within a preset threshold, and query a preset gain adjustment rule according to the number of steps to obtain an adjusted Kalman gain value; The correction acceleration is slope solved to obtain a first slope value, and the longitudinal pitch angular velocity is integrated to obtain a second slope value, and the first slope value and the second slope value are weighted summed according to the adjusted Kalman gain to obtain a tractor slope recognition result.

2. The tractor slope recognition method according to claim 1, characterized in that: The method of limiting the longitudinal acceleration based on the sudden change of the slope on the tractor acceleration signal collected by the pre-built sensor assembly to obtain the corrected acceleration includes: Using the pre-built sensor components, the tractor acceleration signal is collected: Where a represents the acceleration collected by the sensor component, represents the velocity change rate, g represents the acceleration due to gravity, and θ represents the slope value; Performing longitudinal acceleration limitation on the tractor acceleration signal to obtain a correction acceleration; Among them, the mathematical expression formula of longitudinal acceleration limit is: g(sin(α+β)―sin(α))―Δαcc≤Δα≤g(sin(α+β)―sin(α))+Δαcc Wherein, when T is the moment when the road slope changes, α represents the slope before the Tth second, β represents the angle change after the Tth second, and α+β represents the slope after the Tth second; Δαx represents the allowable increment of longitudinal acceleration, and Δαcc represents the influence of the zero drift of the angular velocity sensor in the Tth second and the integral calculation error; The angle variation is decomposed into: β=β1+β2 Wherein, β1 represents the actual tilt angle change value of the tractor in the Tth second; β2 represents the angle obtained by integrating the angular velocity measured by the angular velocity sensor in the Tth second, minus the actual tilt angle change value of the tractor in the Tth second; Then the mathematical expression of Δαcc is: Δαcc=―gcos(α+β1)sin(β2)≈―gcos(α+β)sin(β2) Wherein, β2 is configured as -0.2≤β2≤0.2 based on the empirical value measured in the experiment.

3. The tractor slope recognition method according to claim 1, characterized in that: The step of performing an influence elimination calculation based on the rolling vertical angular velocity on the tractor angular velocity to obtain the longitudinal pitch angular velocity comprises: Calculating the average value of the tractor angular velocity within a preset power-on initialization time period to obtain the zero drift of the angular velocity sensor; Calculate the angular velocity in the pitch direction after subtracting the zero drift from the angular velocity of the tractor to obtain an initial pitch angular velocity; Obtaining the vehicle speed and the vertical angular velocity of the tractor in rolling, and calculating the influence coefficient between the pitch angular velocity and the vertical angular velocity according to the short-time integral of the vehicle speed and the vertical angular velocity; The initial pitch angular velocity is corrected according to the influence coefficient to obtain a longitudinal pitch angular velocity.

4. The tractor slope recognition method according to claim 1, characterized in that: The numerical parameter of the Kalman gain in the preset gain adjustment rule is divided into very trusted, generally trusted, slightly trusted and not trusted according to the numerical range of the step number.

5. The tractor slope recognition method according to claim 1, characterized in that: The step of solving the slope of the correction acceleration to obtain a first slope value includes: Obtain an estimated value of the speed change rate, and calculate the slope value based on the corrected acceleration and the estimated value: Where a represents the acceleration processed by the sensor assembly, v represents the velocity change rate, g represents the gravitational acceleration, θ gravity Indicates the slope value after acceleration correction; A filtering operation is performed on the calculated slope value to obtain a first slope value.

6. The tractor slope recognition method according to claim 1, characterized in that: The step of performing weighted summation of the first slope value and the second slope value according to the adjusted Kalman gain to obtain a tractor slope recognition result includes: The expression of the weighted summation is: i n =(1―k)θ wn +k·θ gravity In the formula, θ n represents the tractor slope recognition result, k represents the adjustment Kalman gain, θ wn represents the slope value obtained by integrating the longitudinal pitch angular velocity, θ gravity Indicates the slope value derived from the correction acceleration.

7. The tractor slope recognition method according to claim 1, characterized in that: The tractor balance equation: In the formula, F wt Indicates the driving force requirement, in N; m indicates the mass of the tractor, in kg; g indicates the acceleration due to gravity, in m / s 2 ; f r represents the rolling resistance coefficient; α represents the slope; C D represents the drag coefficient; A represents the frontal area; v i represents the vehicle speed at the i-th moment.

8. A tractor slope recognition device, characterized in that: The device comprises: A sensor acquisition module is used to limit the longitudinal acceleration of the tractor acceleration signal acquired by the pre-built sensor assembly based on the slope mutation to obtain a corrected acceleration; A power observation module is used to obtain real-time driving force parameters of the tractor, perform angular velocity calculation on the real-time driving force parameters according to a pre-constructed tractor balance equation to obtain the tractor angular velocity, and perform an influence elimination calculation on the tractor angular velocity based on the rolling vertical angular velocity to obtain the longitudinal pitch angular velocity; A Kalman gain adjustment module, used to calculate the number of steps within a preset time period in which the difference between the correction acceleration and the gravity acceleration falls within a preset threshold, and query a preset gain adjustment rule according to the step number to obtain an adjusted Kalman gain; The slope fusion calculation module is used to solve the slope of the corrected acceleration to obtain a first slope value, integrate the longitudinal pitch angular velocity to obtain a second slope value, and perform weighted summation of the first slope value and the second slope value according to the adjusted Kalman gain to obtain a tractor slope recognition result.

9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform the tractor slope identification method according to any one of claims 1 to 7.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the tractor slope recognition method according to any one of claims 1 to 7 is implemented.

Citation Information

Cited By

  • Vehicle driving road slope prediction method, device, equipment, medium and product

    CN119928874A