Loader control method and device, electronic equipment and storage medium
By determining the fitting relationship between the loader's driving force and braking force, and selecting an appropriate control method based on the target acceleration, the problem of unstable speed control of the loader in different scenarios is solved, and a smooth and stable driving effect is achieved.
Patent Information
- Application Number
- CN202410898526.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-05
- Publication Date
- 2024-09-13
AI Technical Summary
Due to the artificially forced low speed setting of existing loaders during autonomous driving, it is difficult to achieve smooth speed control in different application scenarios, and the acceleration changes are unstable.
By determining the fitting relationship between the loader's driving force and acceleration and the fitting relationship between braking force and acceleration, the target acceleration is calculated based on the desired speed and current speed. If the target acceleration is not less than the third acceleration, the first fitting relationship is selected. The driving force is determined by the formula. If it is less than the third acceleration, the second fitting relationship formula is used to determine the braking force. The braking force and driving force are adjusted in real time to achieve precise control.
It achieves precise control of the loader's driving speed, ensures the smoothness of acceleration changes, and ensures that the loader can drive stably and smoothly in different application scenarios.
Smart Images

Figure CN118639708A
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of loaders, and in particular to a control method, device, electronic equipment and storage medium for a loader. Background Art
[0002] Loaders are widely used engineering machinery. The driving speed control of loaders is a technical prerequisite for realizing unmanned navigation tasks and assisted driving of loaders. The driving speed of loaders is about 10-40 kilometers per hour. Specifically, the maximum speed of loaders can reach 35 kilometers per hour, but in actual operations, the driving speed is usually adjusted according to the size of the operating area, terrain conditions and work requirements.
[0003] Existing loaders are usually forced to run at a low speed, so that the loaders do not need to perform large acceleration and deceleration movements when driving automatically. However, considering that loaders have a wide range of application scenarios and have certain resistance, how to control the loaders to run stably at a smooth speed in different application scenarios is an urgent problem to be solved. Summary of the invention
[0004] In view of this, the purpose of the present application is to provide a control method, device, electronic device and storage medium for a loader, which can at least adjust the braking force and driving force in real time according to the loader's own resistance to achieve precise control of the loader's travel speed.
[0005] In a first aspect, an embodiment of the present application provides a control method for a loader, the method comprising:
[0006] Determine a first fitting relationship between the driving force of the loader and the first acceleration and a second fitting relationship between the braking force of the loader and the second acceleration;
[0007] Determine the target acceleration of the loader according to the expected speed and the current speed;
[0008] If the target acceleration is not less than the third acceleration, the first fitting relationship is used to determine the driving force of the loader; the third acceleration is determined based on the fourth acceleration generated by the loader's own resistance;
[0009] If the target acceleration is less than the third acceleration, the second fitting relationship is selected to determine the braking force of the loader.
[0010] In a second aspect, an embodiment of the present application further provides a control device for a loader, the device comprising:
[0011] A relationship fitting module, used to determine a first fitting relationship between the driving force of the loader and the first acceleration and a second fitting relationship between the braking force of the loader and the second acceleration;
[0012] The acceleration determination module is used to determine the target acceleration of the loader according to the expected speed and the current speed;
[0013] a driving force determination module, configured to select the first fitting relationship to determine the driving force of the loader if the target acceleration is not less than a third acceleration; the third acceleration is determined based on a fourth acceleration generated by the loader's own resistance;
[0014] The braking force determination module is used to select the second fitting relationship to determine the braking force of the loader if the target acceleration is less than the third acceleration.
[0015] In a third aspect, an embodiment of the present application further provides an electronic device, comprising: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the steps of the above method are performed.
[0016] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method as described above are executed.
[0017] The control method of the loader provided in the embodiment of the present application first determines the first fitting relationship between the driving force of the loader and the first acceleration and the second fitting relationship between the braking force of the loader and the second acceleration, then determines the target acceleration of the loader according to the expected speed and the current speed, and finally, if the target acceleration is not less than the third acceleration, the first fitting relationship is used to determine the driving force of the loader, and the third acceleration is determined according to the fourth acceleration generated by the loader's own resistance. If the target acceleration is less than the third acceleration, the second fitting relationship is used to determine the braking force of the loader. The embodiment of the present application can at least adjust the braking force and the driving force in real time according to the loader's own resistance to achieve precise control of the loader's travel speed, ensure the smoothness of the loader's acceleration change, and thus achieve the effect of controlling the loader to travel stably at a smooth speed in different application scenarios.
[0018] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0020] Figure 1 A flow chart of a control method for a loader provided in an embodiment of the present application;
[0021] Figure 2 A data fitting schematic diagram provided in an embodiment of the present application;
[0022] Figure 3 Another data fitting schematic diagram provided in the embodiment of the present application;
[0023] Figure 4 Another data fitting schematic diagram provided in the embodiment of the present application;
[0024] Figure 5 Another data fitting schematic diagram provided in the embodiment of the present application;
[0025] Figure 6 A schematic diagram of the structure of a control device for a loader provided in an embodiment of the present application;
[0026] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0027] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application usually described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, each other embodiment obtained by those skilled in the art without making creative work belongs to the scope of protection of the present application.
[0028] First of all, this application can be applied to loader scenarios. Loaders are widely used engineering machinery equipment. The driving speed control of loaders is a technical prerequisite for realizing unmanned navigation tasks and assisted driving of loaders. The driving speed of the loader is about 10-40 kilometers per hour. Specifically, the maximum speed of the loader can reach 35 kilometers per hour, but in actual operations, the driving speed is usually adjusted according to the size of the operating area, terrain conditions and work requirements. For example, in some operating areas, it is necessary to maintain a lower driving speed, such as 5 kilometers per hour, to adapt to specific operating requirements or comply with specific safety regulations.
[0029] That is to say, the loader in the embodiment of the present application involves unmanned driving, and its driving speed is usually artificially forced to be set to a low speed, so that the loader does not need to perform large acceleration and deceleration movements. In addition, the loader has a slow driving speed, which can avoid the large air resistance caused by high-speed driving, and thus avoid excessive impact on the loader's own resistance. In this way, during the driving process of the loader, its own resistance can be balanced from various aspects, such as air resistance, ground friction resistance, etc., to ensure that its own resistance fluctuates within a smaller resistance range.
[0030] Therefore, the control method for a loader provided in the embodiment of the present application is applicable to loaders with a relatively low travel speed, such as loaders, excavators, tractors, bulldozers, etc. That is, the control method for a loader provided in the embodiment of the present application can also be applied to loaders with a relatively low travel speed, such as excavators, tractors, bulldozers, etc., without specific limitation here.
[0031] In an optional embodiment, the control method of the loader provided in the embodiment of the present application is applied to an electric loader. Specifically, the electric loader is an electric loader driven by electricity, which is usually composed of a motor, a control system, a transmission system, a working mechanism, etc. It can load, unload, and transport various bulk materials through working mechanisms such as a loading bucket. The electric loader can accurately control the movement trajectory of the loader and complete high-precision work operations; and it uses electric drive, has a high operating efficiency, and can improve the efficiency of loading and unloading operations.
[0032] Since existing loaders are usually forced to run at a low speed, the loaders do not need to perform large acceleration and deceleration movements when driving automatically. However, considering that loaders have a wide range of application scenarios and have certain resistance, how to control the loaders to drive stably at a smooth speed in different application scenarios is an urgent problem to be solved.
[0033] Based on this, an embodiment of the present application provides a control method for a loader, which can at least adjust the braking force and the driving force in real time according to the loader's own resistance to achieve precise control of the loader's travel speed.
[0034] See also Figure 1 , Figure 1 This is a flow chart of a control method for a loader provided in an embodiment of the present application. Figure 1 As shown in, the method provided in the embodiment of the present application includes:
[0035] S101, determining a first fitting relationship between a driving force of a loader and a first acceleration and a second fitting relationship between a braking force of the loader and a second acceleration;
[0036] S102, determining a target acceleration of the loader according to the expected speed and the current speed;
[0037] S103, if the target acceleration is not less than the third acceleration, the first fitting relationship is used to determine the driving force of the loader; the third acceleration is determined based on the fourth acceleration generated by the loader's own resistance;
[0038] S104: If the target acceleration is less than the third acceleration, use the second fitting relationship to determine the braking force of the loader.
[0039] In the above steps S101 to S104, the braking force and the driving force can be adjusted in real time according to the loader's own resistance to achieve precise control of the loader's travel speed, thereby ensuring the smoothness of the loader's acceleration changes, thereby achieving the effect of controlling the loader to travel stably at a smooth speed in different application scenarios.
[0040] The above steps S101 to S104 are exemplarily described below through a specific embodiment:
[0041] In step S101 , a first fitting relationship between the driving force of the loader and the first acceleration and a second fitting relationship between the braking force of the loader and the second acceleration are determined.
[0042] Among them, the first fitting relationship represents the fitting relationship between the first acceleration of the loader and the driving force of the loader, wherein the independent variable in the first fitting relationship is the driving force of the loader, and the dependent variable is the first acceleration of the loader; similarly, the second fitting relationship represents the fitting relationship between the second acceleration of the loader and the braking force of the loader, wherein the independent variable in the second fitting relationship is the braking force of the loader, and the dependent variable is the second acceleration of the loader.
[0043] Optionally, the acceleration table corresponding to the driving force of the loader may be calibrated by collecting designated data to obtain a first fitting relationship, and the acceleration table corresponding to the braking force of the loader may be calibrated to obtain a second fitting relationship.
[0044] In an optional embodiment, step S101 specifically includes:
[0045] Step S101a: sending different driving forces to the stationary loader and sending different braking forces to the loader running at a first speed.
[0046] Here, the setting of the first speed needs to ensure that the second acceleration of the loader under different braking forces can be accurately calculated. Therefore, the first speed cannot be too large, which will easily lead to too high a calculation cost; the first speed cannot be too small, which will easily lead to inaccurate calculation results. The specific value of the first speed can be pre-set according to actual conditions, and the value is not specifically limited.
[0047] Among them, different driving forces sent to a stationary loader can be in direct proportional relationship, which helps to construct a first fitting relationship between the driving force of the loader and the first acceleration; similarly, different braking forces sent to a loader running at a first speed can also be in direct proportional relationship, which helps to construct a second fitting relationship between the braking force of the loader and the second acceleration.
[0048] Step S101b, obtaining a first acceleration of the loader under different driving forces and a second acceleration of the loader under different braking forces.
[0049] Here, the first acceleration and the second acceleration may be obtained from feedback information of the loader. For example, the feedback information of the loader may be collected by a data acquisition system of the loader.
[0050] Step S101c: constructing a first fitting relationship between the driving force of the loader and the first acceleration and a second fitting relationship between the braking force of the loader and the second acceleration by a data fitting method.
[0051] Optionally, the data fitting method in the embodiment of the present application includes but is not limited to: least square method, stepwise regression method, polynomial fitting method, gamma adjustment method. Among them, the least square method is widely used in the embodiment of the present application due to its simplicity and high computational efficiency.
[0052] Exemplarily, when the loader is stationary, a fixed driving force is sent to the stationary loader for testing, and then the driving force is changed to a different one for testing again, and the first acceleration corresponding to the different driving force is calculated according to the recorded speed value; then after the loader is accelerated to a first speed, a fixed braking force is sent to the loader for testing, and then the braking force is changed to a different one for testing again, and the second acceleration corresponding to the different braking force is calculated according to the recorded speed value; and the first fitting relationship and the second fitting relationship are fitted respectively through the collected data.
[0053] The first fitting relationship between the driving force of the loader and the first acceleration and the second fitting relationship between the braking force of the loader and the second acceleration are obtained in the above manner, which helps to achieve the purpose of accurately and reasonably controlling the driving speed of the loader, thereby ensuring the smoothness of the acceleration change of the loader, and helps to control the loader to travel stably at a smooth speed in different application scenarios.
[0054] In step S102, the target acceleration of the loader is determined according to the expected speed and the current speed.
[0055] Here, the expected speed can be confirmed according to the control instruction, for example, issued by the navigation system of the loader, or it can be a preset speed, such as the expected speed can be pre-set according to the driving trajectory planning of the loader. The current speed is the real-time feedback of the loader. Optionally, when the navigation system issues the expected speed, the acceleration required by the loader at this moment is calculated based on the deviation between the expected speed and the current speed and the PID control algorithm.
[0056] In an optional embodiment, step S102 specifically includes:
[0057] Step S102a, obtaining the expected speed published by the loader navigation system and the current speed fed back by the loader in real time;
[0058] Step S102b: Based on the PID control algorithm, the speed deviation between the desired speed and the current speed is processed to obtain the target acceleration of the loader.
[0059] Among them, the PID control algorithm can adjust the output of the system through the three control parts of proportion, integration and differentiation to achieve precise control of acceleration. Here, the specific implementation plan of outputting the target acceleration of the loader through the PID control algorithm will not be repeated.
[0060] In the embodiment of the present application, the target acceleration of the loader is determined by a PID control algorithm, so that the target acceleration can be accurately obtained, thereby ensuring the accuracy of the travel speed control of the loader.
[0061] In step S103, if the target acceleration is not less than the third acceleration, the first fitting relationship is used to determine the driving force of the loader; the third acceleration is determined based on the fourth acceleration generated by the loader's own resistance.
[0062] The third acceleration of the loader is determined by the following steps:
[0063] After sending different driving forces to the stationary loader to make the loader run at the second speed, the fourth acceleration generated by the loader's own resistance after the different driving forces stop is obtained; the fourth acceleration generated by the loader's own resistance after the different driving forces stop is averaged to obtain the third acceleration of the loader.
[0064] The second speed setting needs to ensure that the fourth acceleration generated by the loader due to its own resistance after different driving forces stop can be accurately calculated. Therefore, the second speed cannot be too large, which will easily lead to high calculation costs; the second speed cannot be too small, which will easily lead to inaccurate calculation results. The specific value of the second speed can be pre-set according to actual conditions, and the value is not specifically limited.
[0065] Here, the self-resistance includes but is not limited to: air resistance and ground friction resistance. Specifically, since the control method provided in the embodiment of the present application is applied to a loader running at a low speed, the difference between the different fluid resistances caused by different driving forces is small, and it can be understood that the difference between the self-resistances (such as air resistance and ground friction resistance) corresponding to the different driving forces in the embodiment of the present application is small.
[0066] In this way, if it is believed that the self-resistance encountered by the loader in the embodiment of the present application after different driving forces stop is basically the same, it can be concluded that the fourth acceleration generated by the self-resistance of the loader after different driving forces stop is basically the same, but due to the measurement error, there is a deviation between the values of multiple fourth accelerations. In order to eliminate the influence of the differences between the same data on the final result, it is necessary to average the values of the fourth acceleration to obtain the third acceleration of the loader.
[0067] The embodiment of the present application obtains the third acceleration by performing mean processing on the value of the fourth acceleration, which can reduce the impact of data measurement errors on the final result and ensure the accuracy of data measurement and the accuracy of the final result.
[0068] Optionally, step S103 specifically includes:
[0069] Step S103a: if the target acceleration is not less than the third acceleration, perform function transformation on the first fitting relationship to obtain a first inverse function of the first fitting relationship;
[0070] Step S103b: Solve the first inverse function in combination with the target acceleration to obtain the driving force of the loader.
[0071] The first inverse function refers to the inverse function of the first fitting relationship, the independent variable of the first inverse function is the first acceleration of the loader, and the dependent variable of the first inverse function is the driving force of the loader. Then, the driving force output by the loader can be obtained by substituting the target acceleration into the first inverse function.
[0072] Since the first inverse function corresponds to the original function (corresponding to the first fitting relationship) one by one, the first inverse function can be directly obtained according to the first fitting relationship to calculate the driving force output by the loader in real time. The calculation method is relatively simple, which not only helps to save computing resources, but also improves data processing efficiency.
[0073] In step S104, if the target acceleration is less than the third acceleration, the second fitting relationship is used to determine the braking force of the loader.
[0074] Optionally, step S104 specifically includes:
[0075] Step S104 a, if the target acceleration is less than the third acceleration, performing function transformation on the second fitting relationship to obtain a second inverse function of the second fitting relationship;
[0076] Step S104 b: Solve the second inverse function in combination with the target acceleration to obtain the braking force of the loader.
[0077] The second inverse function refers to the inverse function of the second fitting relationship, the independent variable of the second inverse function is the second acceleration of the loader, and the dependent variable of the second inverse function is the braking force of the loader. Then, the braking force output by the loader can be obtained by substituting the target acceleration into the second inverse function.
[0078] Since the second inverse function corresponds to the original function (corresponding to the second fitting relational expression) one by one, the second inverse function can be directly obtained according to the second fitting relational expression to calculate the braking force output by the loader in real time. The calculation method is relatively simple, which not only helps to save computing resources, but also improves data processing efficiency.
[0079] The above steps S101 to S104 are explained below by taking an example:
[0080] Step S1, calibrating a first fitting relationship between a driving force of a loader and a first acceleration;
[0081] Step S2, calibrating a second fitting relationship between the braking force of the loader and the second acceleration;
[0082] Step S3, calculating the target acceleration according to the expected speed and the current speed and using the PID control algorithm;
[0083] Step S4, determining the current output of the loader according to the acceleration interval in which the target acceleration is located. Specifically, if the target acceleration is greater than or equal to the third acceleration, the driving force of the loader is output; if the target acceleration is less than the third acceleration, the braking force of the loader is output.
[0084] Through the above scheme, the braking force and driving force can be adjusted in real time to achieve precise control of the loader output, thereby achieving precise control of the loader's travel speed, ensuring the smoothness of the loader's acceleration changes, and thus achieving the effect of controlling the loader to travel stably at a smooth speed in different application scenarios.
[0085] In the related schemes, most of the control methods of loaders do not consider the self-deceleration effect caused by the body resistance, which easily leads to excessive braking and uneven speed control. Based on this, the embodiment of the present application provides a braking method that combines negative torque and braking amount to achieve the driving speed control of the loader, so as to ensure the real-time and accurate control of the driving speed of the loader while maximizing the energy recovery efficiency.
[0086] In an optional embodiment, the braking force includes negative torque and / or braking amount, and the second fitting relationship includes a third fitting relationship between the negative torque of the loader and the second acceleration and a fourth fitting relationship between the braking amount of the loader and the second acceleration.
[0087] Among them, negative torque is used to generate resistance and realize kinetic energy recovery, which is mainly controlled in real time through the size of input current; the braking amount is mainly controlled in real time through the PWM signal amount.
[0088] Optionally, in the third fitting relationship established here, the independent variable is the negative torque of the loader, and the dependent variable is the second acceleration of the loader; in the fourth fitting relationship, the independent variable is the braking amount of the loader, and the dependent variable is the second acceleration of the loader.
[0089] Therefore, when controlling the driving speed of the loader, a braking method that combines negative torque and braking amount can be used to achieve real-time control. In this way, the mixed output method of negative torque and / or braking amount can be adjusted in real time according to actual conditions, thereby achieving real-time and accurate control of the loader's driving speed while maximizing energy recovery efficiency.
[0090] Optionally, on the basis that the braking force includes negative torque and / or braking amount, step S104 specifically includes:
[0091] Step S1041: Obtain the minimum negative torque of the loader.
[0092] Here, the minimum negative torque represents the minimum rotational torque that the loader can output, wherein the value of the minimum negative torque is related to the model of the loader, etc. It can be understood that the loader corresponds to a torque value range, and the minimum negative torque is the minimum value corresponding to the torque value range.
[0093] For example, if the torque range of XCMG XC968-EV electric loader can be set to -1500-3000N·m, the minimum negative torque is -1500N·m.
[0094] Step S1042: Determine the fifth acceleration of the loader under the action of the minimum negative torque according to the minimum negative torque and the third fitting relationship; the fifth acceleration is less than the third acceleration.
[0095] Here, since the third fitting relationship characterizes the fitting relationship between the second acceleration of the loader and the negative torque of the loader, when the minimum negative torque and the third fitting relationship are known, the minimum negative torque is substituted into the third fitting relationship for calculation to obtain the fifth acceleration of the loader under the action of the minimum negative torque.
[0096] Specifically, the fifth acceleration is less than the third acceleration. The main reason is that when no braking force is provided, the loader will generate a fourth acceleration (approximately the third acceleration) as a resistance deceleration due to its own resistance. If the target acceleration is less than 0, that is, the target acceleration needs to play a deceleration role, and the fourth acceleration (approximately the third acceleration) generated by the current loader due to its own resistance is not enough to provide the current required deceleration, then braking force is needed to further decelerate the current speed. In actual situations, priority is given to using negative torque to provide deceleration to reduce the current speed, so the acceleration provided by the negative torque should be less than the fourth acceleration, and then it is concluded that the fifth acceleration is less than the third acceleration.
[0097] Step S1043: If the target acceleration is less than the third acceleration and not less than the fifth acceleration, the third fitting relationship is used to determine the braking force of the loader.
[0098] In an optional embodiment, step S1043 includes:
[0099] Step S1043a: if the target acceleration is less than the third acceleration and not less than the fifth acceleration, perform function transformation on the third fitting relational expression to obtain a third inverse function of the third fitting relational expression;
[0100] Step S1043b: Solve the third inverse function in combination with the target acceleration to obtain the negative torque of the loader as the braking force of the loader.
[0101] The third inverse function refers to the inverse function of the third fitting relationship, the independent variable of the third inverse function is the second acceleration of the loader, and the dependent variable of the third inverse function is the negative torque of the loader. Then, the negative torque output by the loader can be obtained by substituting the target acceleration into the third inverse function.
[0102] Since the third inverse function corresponds one-to-one with the original function (corresponding to the third fitting relational expression), the third inverse function can be directly obtained according to the third fitting relational expression to calculate the negative torque output by the loader in real time. The calculation method is relatively simple, which not only helps to save computing resources, but also improves data processing efficiency.
[0103] Step S1044: If the target acceleration is less than the fifth acceleration, the third fitting relationship and the fourth fitting relationship are used to determine the braking force of the loader.
[0104] In an optional embodiment, step S1044 includes:
[0105] Step S1044a: if the target acceleration is less than the fifth acceleration, determine the acceleration processing result according to the target acceleration, the third acceleration and the fifth acceleration.
[0106] Here, the difference between the target acceleration and the fifth acceleration is calculated, and the sum of the difference and the third acceleration is calculated, and the sum is determined as the acceleration processing result, so as to use the acceleration processing result for subsequent processing.
[0107] Step S1044b: perform function transformation on the fourth fitting relationship to obtain a fourth inverse function of the fourth fitting relationship.
[0108] Step S1044c, combining the acceleration processing result, solving the fourth inverse function to obtain the output braking amount of the loader.
[0109] In step S1044b and step S1044c, the fourth inverse function refers to the inverse function of the fourth fitting relationship, the independent variable of the fourth inverse function is the second acceleration of the loader, and the dependent variable of the fourth inverse function is the output braking amount of the loader. Then, the acceleration processing result is substituted into the fourth inverse function to obtain the output braking amount of the loader.
[0110] Since the fourth inverse function corresponds one-to-one with the original function (corresponding to the fourth fitting relational expression), the fourth inverse function can be directly obtained according to the fourth fitting relational expression to calculate the real-time output braking amount of the loader. The calculation method is relatively simple, which not only helps to save computing resources, but also improves data processing efficiency.
[0111] Step S1044d, determining the minimum negative torque and output braking amount as the braking force of the loader.
[0112] Here, the sum of the minimum negative torque and the output braking amount is calculated as the braking force of the loader to decelerate the current speed.
[0113] The embodiment of the present application can adjust the motor torque and braking amount in real time through the above-mentioned method to realize automatic driving speed control of the loader, thereby ensuring the accuracy of automatic driving speed control.
[0114] It should be added that the reason why the third acceleration and the fifth acceleration are selected as the dividing line in step S1043 and step S1044 in the embodiment of the present application is as follows: when no braking force is provided to the loader, the loader also has a resistance deceleration (i.e., the fourth acceleration, which is approximately the third acceleration). If the target acceleration is less than 0, that is, the target acceleration needs to play a deceleration role, and the current loader has insufficient resistance to provide the currently required deceleration, then other braking forces are needed to provide a smaller deceleration for braking. In actual situations, priority is given to using negative torque to provide deceleration (i.e., the fifth acceleration) to reduce the current speed of the loader. If the loader encounters an emergency, the braking force provided by the negative torque is insufficient to provide the currently required deceleration, then it is necessary to compensate for the physical braking amount.
[0115] The embodiment of the present application gives priority to using negative torque braking, which can maximize the recovery of kinetic energy to achieve the purpose of saving electricity. If the deceleration required by the loader exceeds the braking capacity of the negative torque, physical braking can be further compensated. Furthermore, the above method can ensure that the driving speed of the loader is accurately controlled in real time while maximizing the energy recovery efficiency.
[0116] In an optional embodiment, the driving force includes a positive torque, the first fitting relational expression includes a fifth fitting relational expression of the driving force of the loader and the sixth acceleration, and the sixth acceleration is the difference between the first acceleration and the fourth acceleration. Here, when fitting the fifth fitting relational expression, it is necessary to collect multiple sets of data consisting of the first acceleration and the fourth acceleration data in real time for fitting, so as to obtain the fifth fitting relational expression.
[0117] Among them, the positive torque is used to provide the propulsion force of the loader. Here, the loader itself has a deceleration due to its own resistance, and the third acceleration is used here to replace it. If the required acceleration (such as the target acceleration) is not less than the third acceleration, then the positive torque needs to be supplemented to provide a little acceleration.
[0118] Optionally, step S103 specifically further includes:
[0119] Step S1031: If the target acceleration is not less than the third acceleration, perform function transformation on the fifth fitting relationship to obtain a fifth inverse function of the fifth fitting relationship.
[0120] The fifth inverse function refers to the inverse function of the fifth fitting relationship, the independent variable of the fifth inverse function is the sixth acceleration, and the dependent variable of the fifth inverse function is the positive torque of the loader.
[0121] Step S1032: performing difference processing on the target acceleration and the third acceleration to obtain an acceleration difference result.
[0122] Here, the sixth acceleration is the difference between the first acceleration and the fourth acceleration. The difference here is used to fit the fifth fitting relationship, thereby obtaining the fifth inverse function of the fifth fitting relationship; the acceleration difference result is the difference between the target acceleration and the third acceleration. The difference here is used as an actual value to be substituted into the fifth inverse function of the fifth fitting relationship to solve the positive torque of the loader.
[0123] Step S1033: Solve the fifth inverse function in combination with the acceleration difference result to obtain the positive torque of the loader as the driving force of the loader.
[0124] In the above steps S1031 to S1033, the acceleration difference result is substituted into the fifth inverse function to obtain the positive torque output by the loader.
[0125] Here, the first acceleration is obtained under the conditions of positive torque and self-resistance, and the fourth deceleration after the positive torque stops is caused by pure resistance. Therefore, the purpose of calculating the difference between the first acceleration and the fourth acceleration is to offset the resistance (air resistance and friction resistance of the road, etc.). It can be understood that the sixth acceleration is the acceleration under ideal conditions.
[0126] Through the above-mentioned method, the negative impact of the loader's own resistance on the construction of the fifth fitting relationship can be reduced, thereby improving the accuracy of calculating the positive torque of the loader using the fifth inverse function.
[0127] Furthermore, the method provided in the embodiment of the present application also includes:
[0128] Step 201: Obtain a speed threshold preset by the loader.
[0129] Here, the speed threshold is a pre-set value and will not change with changes in external conditions. Specifically, the braking effect of the negative torque gradually weakens when the loader speed is low, so a more reasonable speed threshold can be set based on the linear curve corresponding to the entire change process when the driving speed gradually decreases to 0 when the negative torque is constant.
[0130] Step 202: If the expected speed is less than the speed threshold, the braking force of the loader is determined by the braking amount.
[0131] Here, using only negative torque for braking is not enough to meet the braking requirements of the current loader. Therefore, in this case, only physical braking can be used for braking.
[0132] In this way, when the expected speed is less than the speed threshold, the loader can be directly controlled by physical braking to slow down. At this time, negative torque is no longer used, which can avoid the problem of low control accuracy of negative torque due to nonlinear changes. Therefore, the speed control accuracy of the loader can be made higher through the above-mentioned method of the embodiment of the present application.
[0133] Reference below Figures 2 to 5 An example to illustrate the control method described above:
[0134] Step S11, calibrate the fifth fitting relationship between the positive torque and the sixth acceleration of the loader. The specific implementation method is: when the loader is stationary, send a fixed positive torque command to the stationary loader, then cancel the positive torque command after the loader accelerates to the second speed, and end this round of testing after the loader stops due to its own resistance; change the positive torque command and test again, calculate the first acceleration corresponding to different positive torques and the fourth acceleration of the loader after canceling the positive torque according to the recorded speed value; as shown in Table 1.
[0135]
[0136] Table 1
[0137] Using the data in Table 1, taking the sixth acceleration as the dependent variable and the positive torque as the independent variable, the fifth fitting equation is fitted to obtain: Figure 2 The data fitting diagram is shown in Figure 1, where Figure 2 The horizontal axis of the data fitting schematic diagram shown is represented by positive torque, and the vertical axis is represented by the sixth acceleration. Specifically, the fifth fitting relationship is as follows:
[0138] a τ (τ) = a - δ′
[0139] =0.0026365277777777776·τ-0.018839444444444443;
[0140] Among them, a τ (τ) represents the sixth acceleration, a represents the first acceleration, δ′ represents the fourth acceleration, and τ represents the positive torque.
[0141] Optionally, the third acceleration may be calculated in step S11 using the data collected in Table 1. Exemplarily, the third acceleration may be expressed as follows:
[0142] δ = -1.04382408875;
[0143] Here, δ represents the third acceleration.
[0144] Step S22, calibrate a third fitting relationship between the negative torque of the loader and the second deceleration and a fourth fitting relationship between the braking amount of the loader and the second deceleration.
[0145] The specific implementation method is as follows: after accelerating the loader to a first speed, a fixed negative torque or braking amount is sent to the loader, and the test round ends after the loader stops; the negative torque or braking amount is changed to perform another test, and the second acceleration corresponding to different negative torques and the second acceleration corresponding to different braking amounts are calculated based on the recorded speed value; wherein the recorded braking amount and the corresponding second acceleration are shown in Table 2.
[0146] Braking amount p <![CDATA[Second acceleration a p (p)]]> 400 -1.13077597 500 -0.99908313 600 -1.3907832 700 -2.51512269 800 -4.17610936 900 -5.90757127 1000 -8.55721367 1100 -10.39259694
[0147] Table 2
[0148] Using the data in Table 2, taking the second acceleration as the dependent variable and the braking amount as the independent variable, the fourth fitting equation is fitted to obtain: Figure 3 The data fitting diagram is shown in Figure 1, where Figure 3 The horizontal axis of the data fitting schematic diagram shown is the braking amount, and the vertical axis is the second acceleration. Specifically, the fourth fitting relationship is as follows:
[0149] a p (p)=-0.0046333425·p+0.7916997361111109;
[0150] Among them, a p (p) represents the second acceleration, and p represents the braking amount.
[0151] Using the same method as above, with the second acceleration as the dependent variable and the negative torque as the independent variable, the third fitting equation is fitted to obtain: Figure 4 The data fitting diagram is shown in Figure 1, where Figure 4 The abscissa of the data fitting schematic diagram shown is represented by negative torque, and the ordinate is represented by the second acceleration. Specifically, the third fitting relationship is as follows:
[0152] a τ′ (τ′)=-0.002620672222·τ′-0.2890256361;
[0153] Among them, a τ′ (τ′) represents the second acceleration, and τ′ represents the negative torque.
[0154] It should be noted that the first acceleration, the second acceleration, the fourth acceleration, and the sixth acceleration mentioned above are all represented as the names of a variable.
[0155] Step S33: Calculate the target acceleration based on the expected speed and the current speed using the PID control algorithm
[0156] Step S44: If The output positive torque is:
[0157] when There are three situations:
[0158] if The output positive torque is
[0159] if Output negative torque Among them, τ m Indicates the minimum negative torque;
[0160] if Negative torque τ needs to be output simultaneously m And the amount of brake:
[0161] When the desired speed v1 < speed threshold v0, the loader only uses the brakes to decelerate, and no longer uses negative torque. Figure 5 The data fitting diagram is shown in Figure 2, where Figure 5 The horizontal axis of the data fitting diagram shown is time t, and the vertical axis is driving speed v. Figure 5 In the figure, the negative torque corresponding to 0-20 seconds is constant, which is understandable. Figure 5 It is represented as the entire change process of the loader's travel speed dropping to 0 when the negative torque remains constant. Based on this, the speed threshold v0=1 can be set.
[0162] In the embodiment of the present application, negative torque braking is used preferentially, so that kinetic energy can be recovered to the maximum extent and electricity can be saved. If the braking deceleration exceeds the negative torque braking capacity, physical braking is applied. Furthermore, by reasonably adjusting the motor torque and the brake amount PWM value in real time to realize automatic driving speed control, real-time and accurate driving speed control of the unmanned electric loader can be realized, and a higher energy recovery efficiency can be achieved during the control process.
[0163] Based on the same inventive concept, the embodiment of the present application also provides a control device for a loader corresponding to the control method for a loader. Since the principle of solving the problem by the device in the embodiment of the present application is similar to the control method for a loader mentioned above in the embodiment of the present application, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.
[0164] See also Figure 6 , Figure 6 This is a schematic diagram of the structure of a control device for a loader provided in an embodiment of the present application. Figure 6 As shown in , the device 600 includes:
[0165] A relationship fitting module 601 is used to determine a first fitting relationship between the driving force of the loader and the first acceleration and a second fitting relationship between the braking force of the loader and the second acceleration;
[0166] The acceleration determination module 602 is used to determine the target acceleration of the loader according to the expected speed and the current speed;
[0167] The driving force determination module 603 is used to select the first fitting relationship to determine the driving force of the loader if the target acceleration is not less than the third acceleration; the third acceleration is determined according to the fourth acceleration generated by the loader due to its own resistance;
[0168] The braking force determination module 604 is used to select the second fitting relationship to determine the braking force of the loader if the target acceleration is less than the third acceleration.
[0169] In an optional embodiment of the present application, the relationship fitting module 601 is specifically used for:
[0170] sending different driving forces to the stationary loader and sending different braking forces to the loader running at a first speed;
[0171] Acquire a first acceleration of the loader under different driving forces and a second acceleration of the loader under different braking forces;
[0172] By means of a data fitting method, a first fitting relationship between the driving force of the loader and the first acceleration and a second fitting relationship between the braking force of the loader and the second acceleration are constructed.
[0173] In an optional embodiment of the present application, the acceleration determination module 602 is specifically used to:
[0174] Obtain the expected speed published by the loader navigation system and the current speed fed back by the loader in real time;
[0175] Based on the PID control algorithm, the speed deviation between the expected speed and the current speed is processed to obtain the target acceleration of the loader.
[0176] In an optional embodiment of the present application, the acceleration determination module 602 is further configured to:
[0177] determining a third acceleration of the loader;
[0178] The acceleration determination module is specifically used to determine the third acceleration of the loader through the following steps:
[0179] After sending different driving forces to the stationary loader so that the loader runs at a second speed, obtaining a fourth acceleration generated by the loader due to its own resistance after the different driving forces stop;
[0180] The fourth acceleration generated by the loader's own resistance after the loader stops with different driving forces is averaged to obtain the third acceleration of the loader.
[0181] In an optional embodiment of the present application, the driving force determination module 603 is specifically used to:
[0182] If the target acceleration is not less than the third acceleration, performing function transformation on the first fitting relationship to obtain a first inverse function of the first fitting relationship;
[0183] Combined with the target acceleration, the first inverse function is solved to obtain the driving force of the loader;
[0184] And / or, the braking force determination module 604 is specifically used for:
[0185] If the target acceleration is less than the third acceleration, a function transformation is performed on the second fitting relationship to obtain a second inverse function of the second fitting relationship;
[0186] Combined with the target acceleration, the second inverse function is solved to obtain the braking force of the loader.
[0187] In an optional embodiment of the present application, the braking force includes negative torque and / or braking amount, and the second fitting relationship includes a third fitting relationship between the negative torque of the loader and the second acceleration and a fourth fitting relationship between the braking amount of the loader and the second acceleration.
[0188] In an optional embodiment of the present application, the braking force determination module 604 is further configured to:
[0189] Get the minimum negative torque of the loader;
[0190] According to the minimum negative torque and the third fitting relationship, the fifth acceleration of the loader under the action of the minimum negative torque is determined; the fifth acceleration is less than the third acceleration;
[0191] If the target acceleration is less than the third acceleration and not less than the fifth acceleration, the third fitting relationship is selected to determine the braking force of the loader;
[0192] If the target acceleration is less than the fifth acceleration, the third fitting relationship and the fourth fitting relationship are selected to determine the braking force of the loader.
[0193] In an optional embodiment of the present application, the braking force determination module 604 is further configured to:
[0194] If the target acceleration is less than the third acceleration and not less than the fifth acceleration, performing function transformation on the third fitting relational expression to obtain a third inverse function of the third fitting relational expression;
[0195] Combined with the target acceleration, the third inverse function is solved to obtain the negative torque of the loader as the braking force of the loader;
[0196] And / or, the braking force determination module 604 is further configured to:
[0197] If the target acceleration is less than the fifth acceleration, determining the acceleration processing result according to the target acceleration, the third acceleration and the fifth acceleration;
[0198] Performing function transformation on the fourth fitting relationship to obtain a fourth inverse function of the fourth fitting relationship;
[0199] Combined with the acceleration processing results, the fourth inverse function is solved to obtain the output braking amount of the loader;
[0200] Determine the minimum negative torque and output brake amount to be used as the loader's braking force.
[0201] In an optional embodiment of the present application, the driving force includes a positive torque, the first fitting relationship includes a fifth fitting relationship between the driving force of the loader and a sixth acceleration, and the sixth acceleration is a difference between the first acceleration and the fourth acceleration;
[0202] The driving force determination module 603 is further specifically used for:
[0203] If the target acceleration is not less than the third acceleration, performing function transformation on the fifth fitting relational expression to obtain a fifth inverse function of the fifth fitting relational expression;
[0204] Performing difference processing on the target acceleration and the third acceleration to obtain an acceleration difference result;
[0205] Combined with the acceleration difference result, the fifth inverse function is solved to obtain the positive torque of the loader as the driving force of the loader.
[0206] In an optional embodiment of the present application, the device further includes a brake control module (not shown in the figure), and the brake control module is used to:
[0207] Get the preset speed threshold of the loader;
[0208] If the expected speed is less than the speed threshold, the braking force of the loader is determined by the braking amount.
[0209] The control device for the loader provided in the embodiment of the present application first determines the first fitting relationship between the driving force of the loader and the first acceleration and the second fitting relationship between the braking force of the loader and the second acceleration, then determines the target acceleration of the loader according to the expected speed and the current speed, and finally, if the target acceleration is not less than the third acceleration, the first fitting relationship is used to determine the driving force of the loader, and the third acceleration is determined according to the fourth acceleration generated by the loader's own resistance. If the target acceleration is less than the third acceleration, the second fitting relationship is used to determine the braking force of the loader. The embodiment of the present application can at least adjust the braking force and the driving force in real time according to the loader's own resistance to achieve precise control of the loader's travel speed, ensure the smoothness of the loader's acceleration change, and thus achieve the effect of controlling the loader to travel stably at a smooth speed in different application scenarios.
[0210] See also Figure 7 , Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 7 As shown in , the electronic device 700 includes a processor 701 , a memory 702 and a bus 703 .
[0211] The memory 702 stores machine-readable instructions executable by the processor 701. When the electronic device 700 is running, the processor 701 communicates with the memory 702 via the bus 703, so that the processor 701 executes the following instructions when running:
[0212] Determine a first fitting relationship between the driving force of the loader and the first acceleration and a second fitting relationship between the braking force of the loader and the second acceleration;
[0213] Determine the target acceleration of the loader according to the expected speed and the current speed;
[0214] If the target acceleration is not less than the third acceleration, the first fitting relationship is used to determine the driving force of the loader; the third acceleration is determined based on the fourth acceleration generated by the loader's own resistance;
[0215] If the target acceleration is less than the third acceleration, the second fitting relationship is selected to determine the braking force of the loader.
[0216] In an optional embodiment of the present application, the instructions executed by the processor 701 include determining a first fitting relationship between the driving force of the loader and the first acceleration and a second fitting relationship between the braking force of the loader and the second acceleration, including:
[0217] sending different driving forces to the stationary loader and sending different braking forces to the loader running at a first speed;
[0218] Acquire a first acceleration of the loader under different driving forces and a second acceleration of the loader under different braking forces;
[0219] By means of a data fitting method, a first fitting relationship between the driving force of the loader and the first acceleration and a second fitting relationship between the braking force of the loader and the second acceleration are constructed.
[0220] In an optional embodiment of the present application, the instructions executed by the processor 701 determine the target acceleration of the loader according to the expected speed and the current speed, including:
[0221] Obtain the expected speed published by the loader navigation system and the current speed fed back by the loader in real time;
[0222] Based on the PID control algorithm, the speed deviation between the expected speed and the current speed is processed to obtain the target acceleration of the loader.
[0223] In an optional embodiment of the present application, the instructions executed by the processor 701 further include:
[0224] determining a third acceleration of the loader;
[0225] The third acceleration of the loader is determined by the following steps:
[0226] After sending different driving forces to the stationary loader so that the loader runs at a second speed, obtaining a fourth acceleration generated by the loader due to its own resistance after the different driving forces stop;
[0227] The fourth acceleration generated by the loader's own resistance after the loader stops with different driving forces is averaged to obtain the third acceleration of the loader.
[0228] In an optional embodiment of the present application, in the instructions executed by the processor 701, if the target acceleration is not less than the third acceleration, the first fitting relationship is selected to determine the driving force of the loader, including:
[0229] If the target acceleration is not less than the third acceleration, performing function transformation on the first fitting relationship to obtain a first inverse function of the first fitting relationship;
[0230] Combined with the target acceleration, the first inverse function is solved to obtain the driving force of the loader;
[0231] And / or, if the target acceleration is less than the third acceleration, selecting the second fitting relationship to determine the braking force of the loader includes:
[0232] If the target acceleration is less than the third acceleration, a function transformation is performed on the second fitting relationship to obtain a second inverse function of the second fitting relationship;
[0233] Combined with the target acceleration, the second inverse function is solved to obtain the braking force of the loader.
[0234] In an optional embodiment of the present application, the braking force includes negative torque and / or braking amount, and the second fitting relationship includes a third fitting relationship between the negative torque of the loader and the second acceleration and a fourth fitting relationship between the braking amount of the loader and the second acceleration.
[0235] In an optional embodiment of the present application, in the instructions executed by the processor 701, if the target acceleration is less than the third acceleration, the second fitting relationship is selected to determine the braking force of the loader, including:
[0236] Get the minimum negative torque of the loader;
[0237] Determining a fifth acceleration of the loader under the action of the minimum negative torque according to the minimum negative torque and the third fitting relationship; the fifth acceleration is less than the third acceleration;
[0238] If the target acceleration is less than the third acceleration and not less than the fifth acceleration, the third fitting relationship is selected to determine the braking force of the loader;
[0239] If the target acceleration is less than the fifth acceleration, the third fitting relationship and the fourth fitting relationship are selected to determine the braking force of the loader.
[0240] In an optional embodiment of the present application, in the instructions executed by the processor 701, if the target acceleration is less than the third acceleration and not less than the fifth acceleration, the third fitting relationship is selected to determine the braking force of the loader, including:
[0241] If the target acceleration is less than the third acceleration and not less than the fifth acceleration, performing function transformation on the third fitting relational expression to obtain a third inverse function of the third fitting relational expression;
[0242] Combined with the target acceleration, the third inverse function is solved to obtain the negative torque of the loader as the braking force of the loader;
[0243] And / or, if the target acceleration is less than the fifth acceleration, the third fitting relationship and the fourth fitting relationship are selected to determine the braking force of the loader, including:
[0244] If the target acceleration is less than the fifth acceleration, determining the acceleration processing result according to the target acceleration, the third acceleration and the fifth acceleration;
[0245] Performing function transformation on the fourth fitting relationship to obtain a fourth inverse function of the fourth fitting relationship;
[0246] Combined with the acceleration processing results, the fourth inverse function is solved to obtain the output braking amount of the loader;
[0247] Determine the minimum negative torque and output brake amount to be used as the loader's braking force.
[0248] In an optional embodiment of the present application, the driving force includes a positive torque, the first fitting relationship includes a fifth fitting relationship between the driving force of the loader and a sixth acceleration, and the sixth acceleration is a difference between the first acceleration and the fourth acceleration;
[0249] In the instructions executed by the processor 701, if the target acceleration is not less than the third acceleration, the first fitting relationship is selected to determine the driving force of the loader; including:
[0250] If the target acceleration is not less than the third acceleration, performing function transformation on the fifth fitting relational expression to obtain a fifth inverse function of the fifth fitting relational expression;
[0251] Performing difference processing on the target acceleration and the third acceleration to obtain an acceleration difference result;
[0252] Combined with the acceleration difference result, the fifth inverse function is solved to obtain the positive torque of the loader as the driving force of the loader.
[0253] In an optional embodiment of the present application, the instructions executed by the processor 701 further include:
[0254] Get the preset speed threshold of the loader;
[0255] If the expected speed is less than the speed threshold, the braking force of the loader is determined by the braking amount.
[0256] The embodiment of the present application first determines the first fitting relationship between the driving force of the loader and the first acceleration and the second fitting relationship between the braking force of the loader and the second acceleration, and then determines the target acceleration of the loader according to the expected speed and the current speed. Finally, if the target acceleration is not less than the third acceleration, the first fitting relationship is used to determine the driving force of the loader. The third acceleration is determined according to the fourth acceleration generated by the loader's own resistance. If the target acceleration is less than the third acceleration, the second fitting relationship is used to determine the braking force of the loader. The embodiment of the present application can at least adjust the braking force and the driving force in real time according to the loader's own resistance to achieve precise control of the loader's travel speed, ensure the smoothness of the loader's acceleration change, and thus achieve the effect of controlling the loader to travel stably at a smooth speed in different application scenarios.
[0257] The present application also provides a computer-readable storage medium, on which a computer program is stored, so that when the computer program is executed by a processor, the following instructions are executed:
[0258] Determine a first fitting relationship between the driving force of the loader and the first acceleration and a second fitting relationship between the braking force of the loader and the second acceleration;
[0259] Determine the target acceleration of the loader according to the expected speed and the current speed;
[0260] If the target acceleration is not less than the third acceleration, the first fitting relationship is used to determine the driving force of the loader; the third acceleration is determined based on the fourth acceleration generated by the loader's own resistance;
[0261] If the target acceleration is less than the third acceleration, the second fitting relationship is selected to determine the braking force of the loader.
[0262] In an optional embodiment of the present application, in the instructions executed by the computer-readable storage medium, determining a first fitting relationship between the driving force of the loader and the first acceleration and a second fitting relationship between the braking force of the loader and the second acceleration includes:
[0263] sending different driving forces to the stationary loader and sending different braking forces to the loader running at a first speed;
[0264] Acquire a first acceleration of the loader under different driving forces and a second acceleration of the loader under different braking forces;
[0265] By means of a data fitting method, a first fitting relationship between the driving force of the loader and the first acceleration and a second fitting relationship between the braking force of the loader and the second acceleration are constructed.
[0266] In an optional embodiment of the present application, the instructions executed by the computer-readable storage medium determine the target acceleration of the loader according to the expected speed and the current speed, including:
[0267] Obtain the expected speed published by the loader navigation system and the current speed fed back by the loader in real time;
[0268] Based on the PID control algorithm, the speed deviation between the expected speed and the current speed is processed to obtain the target acceleration of the loader.
[0269] In an optional embodiment of the present application, the instructions executed by the computer-readable storage medium further include:
[0270] determining a third acceleration of the loader;
[0271] The third acceleration of the loader is determined by the following steps:
[0272] After sending different driving forces to the stationary loader so that the loader runs at a second speed, obtaining a fourth acceleration generated by the loader due to its own resistance after the different driving forces stop;
[0273] The fourth acceleration generated by the loader's own resistance after the loader stops with different driving forces is averaged to obtain the third acceleration of the loader.
[0274] In an optional embodiment of the present application, in the instructions executed by the computer-readable storage medium, if the target acceleration is not less than the third acceleration, the first fitting relationship is selected to determine the driving force of the loader, including:
[0275] If the target acceleration is not less than the third acceleration, performing function transformation on the first fitting relationship to obtain a first inverse function of the first fitting relationship;
[0276] Combined with the target acceleration, the first inverse function is solved to obtain the driving force of the loader;
[0277] And / or, if the target acceleration is less than the third acceleration, selecting the second fitting relationship to determine the braking force of the loader includes:
[0278] If the target acceleration is less than the third acceleration, a function transformation is performed on the second fitting relationship to obtain a second inverse function of the second fitting relationship;
[0279] Combined with the target acceleration, the second inverse function is solved to obtain the braking force of the loader.
[0280] In an optional embodiment of the present application, the braking force includes negative torque and / or braking amount, and the second fitting relationship includes a third fitting relationship between the negative torque of the loader and the second acceleration and a fourth fitting relationship between the braking amount of the loader and the second acceleration.
[0281] In an optional embodiment of the present application, in the instructions executed by the computer-readable storage medium, if the target acceleration is less than the third acceleration, the second fitting relationship is selected to determine the braking force of the loader, including:
[0282] Get the minimum negative torque of the loader;
[0283] According to the minimum negative torque and the third fitting relationship, the fifth acceleration of the loader under the action of the minimum negative torque is determined; the fifth acceleration is less than the third acceleration;
[0284] If the target acceleration is less than the third acceleration and not less than the fifth acceleration, the third fitting relationship is selected to determine the braking force of the loader;
[0285] If the target acceleration is less than the fifth acceleration, the third fitting relationship and the fourth fitting relationship are selected to determine the braking force of the loader.
[0286] In an optional embodiment of the present application, in the instructions executed by the computer-readable storage medium, if the target acceleration is less than the third acceleration and not less than the fifth acceleration, the third fitting relationship is selected to determine the braking force of the loader, including:
[0287] If the target acceleration is less than the third acceleration and not less than the fifth acceleration, performing function transformation on the third fitting relational expression to obtain a third inverse function of the third fitting relational expression;
[0288] Combined with the target acceleration, the third inverse function is solved to obtain the negative torque of the loader as the braking force of the loader;
[0289] And / or, if the target acceleration is less than the fifth acceleration, the third fitting relationship and the fourth fitting relationship are selected to determine the braking force of the loader, including:
[0290] If the target acceleration is less than the fifth acceleration, determining the acceleration processing result according to the target acceleration, the third acceleration and the fifth acceleration;
[0291] Performing function transformation on the fourth fitting relationship to obtain a fourth inverse function of the fourth fitting relationship;
[0292] Combined with the acceleration processing results, the fourth inverse function is solved to obtain the output braking amount of the loader;
[0293] Determine the minimum negative torque and output brake amount to be used as the loader's braking force.
[0294] In an optional embodiment of the present application, the driving force includes a positive torque, the first fitting relationship includes a fifth fitting relationship between the driving force of the loader and a sixth acceleration, and the sixth acceleration is a difference between the first acceleration and the fourth acceleration;
[0295] The instructions executed by the computer-readable storage medium include: if the target acceleration is not less than the third acceleration, selecting the first fitting relationship to determine the driving force of the loader; including:
[0296] If the target acceleration is not less than the third acceleration, performing function transformation on the fifth fitting relational expression to obtain a fifth inverse function of the fifth fitting relational expression;
[0297] Performing difference processing on the target acceleration and the third acceleration to obtain an acceleration difference result;
[0298] Combined with the acceleration difference result, the fifth inverse function is solved to obtain the positive torque of the loader as the driving force of the loader.
[0299] In an optional embodiment of the present application, the instructions executed by the computer-readable storage medium further include:
[0300] Get the preset speed threshold of the loader;
[0301] If the expected speed is less than the speed threshold, the braking force of the loader is determined by the braking amount.
[0302] The embodiment of the present application first determines the first fitting relationship between the driving force of the loader and the first acceleration and the second fitting relationship between the braking force of the loader and the second acceleration, and then determines the target acceleration of the loader according to the expected speed and the current speed. Finally, if the target acceleration is not less than the third acceleration, the first fitting relationship is used to determine the driving force of the loader. The third acceleration is determined according to the fourth acceleration generated by the loader's own resistance. If the target acceleration is less than the third acceleration, the second fitting relationship is used to determine the braking force of the loader. The embodiment of the present application can at least adjust the braking force and the driving force in real time according to the loader's own resistance to achieve precise control of the loader's travel speed, ensure the smoothness of the loader's acceleration change, and thus achieve the effect of controlling the loader to travel stably at a smooth speed in different application scenarios.
[0303] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0304] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.
[0305] The units described as separate components may or may not be physically separated, and the components shown as units 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 units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0306] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0307] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present application can essentially be embodied in the form of a software product, or in other words, the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0308] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present application, which are used to illustrate the technical solutions of the present application, rather than to limit them. The protection scope of the present application is not limited thereto. Although the present application is described in detail with reference to the above-mentioned embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-mentioned embodiments within the technical scope disclosed in the present application, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. A control method for a loader, characterized in that: The method comprises: Determine a first fitting relationship between the driving force of the loader and the first acceleration and a second fitting relationship between the braking force of the loader and the second acceleration; Determine the target acceleration of the loader according to the expected speed and the current speed; If the target acceleration is not less than the third acceleration, the first fitting relationship is used to determine the driving force of the loader; the third acceleration is determined based on the fourth acceleration generated by the loader's own resistance; If the target acceleration is less than the third acceleration, the second fitting relationship is selected to determine the braking force of the loader.
2. The method according to claim 1, characterized in that The method of determining a first fitting relationship between the driving force of the loader and the first acceleration and a second fitting relationship between the braking force of the loader and the second acceleration includes: sending different driving forces to the stationary loader and sending different braking forces to the loader running at a first speed; Acquire a first acceleration of the loader under different driving forces and a second acceleration of the loader under different braking forces; By means of a data fitting method, a first fitting relationship between the driving force of the loader and the first acceleration and a second fitting relationship between the braking force of the loader and the second acceleration are constructed.
3. The method according to claim 1, characterized in that: Determining the target acceleration of the loader according to the expected speed and the current speed includes: Obtain the expected speed published by the loader navigation system and the current speed fed back by the loader in real time; Based on the PID control algorithm, the speed deviation between the desired speed and the current speed is processed to obtain the target acceleration of the loader.
4. The method according to claim 1, characterized in that: The method further comprises: determining a third acceleration of the loader; The third acceleration of the loader is determined by the following steps: After sending different driving forces to the stationary loader so that the loader runs at a second speed, obtaining a fourth acceleration generated by the loader due to its own resistance after the different driving forces stop; The fourth acceleration generated by the loader's own resistance after stopping at different driving forces is averaged to obtain the third acceleration of the loader.
5. The method according to claim 1, characterized in that If the target acceleration is not less than the third acceleration, selecting the first fitting relationship to determine the driving force of the loader includes: If the target acceleration is not less than the third acceleration, performing function transformation on the first fitting relationship to obtain a first inverse function of the first fitting relationship; In combination with the target acceleration, the first inverse function is solved to obtain the driving force of the loader; And / or, if the target acceleration is less than the third acceleration, selecting the second fitting relationship to determine the braking force of the loader includes: If the target acceleration is less than the third acceleration, performing function transformation on the second fitting relationship to obtain a second inverse function of the second fitting relationship; The second inverse function is solved in combination with the target acceleration to obtain the braking force of the loader.
6. The method according to claim 1, characterized in that The braking force includes negative torque and / or braking amount, and the second fitting relationship includes a third fitting relationship between the negative torque of the loader and the second acceleration and a fourth fitting relationship between the braking amount of the loader and the second acceleration.
7. The method according to claim 6, characterized in that If the target acceleration is less than the third acceleration, selecting the second fitting relationship to determine the braking force of the loader includes: Get the minimum negative torque of the loader; Determining a fifth acceleration of the loader under the action of the minimum negative torque according to the minimum negative torque and the third fitting relationship; the fifth acceleration is less than the third acceleration; If the target acceleration is less than the third acceleration and not less than the fifth acceleration, the third fitting relationship is selected to determine the braking force of the loader; If the target acceleration is less than the fifth acceleration, the third fitting relationship and the fourth fitting relationship are selected to determine the braking force of the loader.
8. The method according to claim 7, characterized in that If the target acceleration is less than the third acceleration and not less than the fifth acceleration, selecting the third fitting relationship to determine the braking force of the loader includes: If the target acceleration is less than the third acceleration and not less than the fifth acceleration, performing function transformation on the third fitting relationship to obtain a third inverse function of the third fitting relationship; In combination with the target acceleration, the third inverse function is solved to obtain the negative torque of the loader as the braking force of the loader; And / or, if the target acceleration is less than the fifth acceleration, selecting the third fitting relationship and the fourth fitting relationship to determine the braking force of the loader includes: If the target acceleration is less than the fifth acceleration, determining an acceleration processing result according to the target acceleration, the third acceleration and the fifth acceleration; Performing function transformation on the fourth fitting relationship to obtain a fourth inverse function of the fourth fitting relationship; In combination with the acceleration processing result, the fourth inverse function is solved to obtain the output braking amount of the loader; The minimum negative torque and the output braking amount are determined as the braking force of the loader.
9. The method according to claim 1, characterized in that: The driving force includes a positive torque, the first fitting relationship includes a fifth fitting relationship between the driving force of the loader and a sixth acceleration, and the sixth acceleration is a difference between the first acceleration and the fourth acceleration; If the target acceleration is not less than the third acceleration, the first fitting relationship is selected to determine the driving force of the loader; comprising: If the target acceleration is not less than the third acceleration, performing function transformation on the fifth fitting relationship to obtain a fifth inverse function of the fifth fitting relationship; Performing difference processing on the target acceleration and the third acceleration to obtain an acceleration difference result; The fifth inverse function is solved in combination with the acceleration difference result to obtain the positive torque of the loader as the driving force of the loader.
10. The method according to claim 1, characterized in that The method further comprises: Obtaining a preset speed threshold of the loader; If the expected speed is less than the speed threshold, the braking force of the loader is determined by the braking amount.
11. A control device for a loader, characterized in that: The device comprises: A relationship fitting module, used to determine a first fitting relationship between the driving force of the loader and the first acceleration and a second fitting relationship between the braking force of the loader and the second acceleration; The acceleration determination module is used to determine the target acceleration of the loader according to the expected speed and the current speed; a driving force determination module, configured to select the first fitting relationship to determine the driving force of the loader if the target acceleration is not less than a third acceleration; the third acceleration is determined based on a fourth acceleration generated by the loader's own resistance; The braking force determination module is used to select the second fitting relationship to determine the braking force of the loader if the target acceleration is less than the third acceleration.
12. An electronic device, characterized in that: include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the memory via the bus, and the processor executes the machine-readable instructions to perform the steps of any method as claimed in claims 1 to 10.
13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 10 are executed.
Citation Information
Patent Citations
Driving system and method of hybrid power mechanical equipment
CN112878414A
Vehicle control method, device and equipment and computer storage medium
CN115056797A
Vehicle speed control method and device, medium, equipment and vehicle
CN115503709A
Vehicle control method and device and storage medium
CN118182536A
Method for controlling a movement of a vehicle component
US20090319133A1
