Vehicle floating cruise steering control method, device and equipment and storage medium
By calculating the parameters of the floating vehicle on the water and gradually adjusting the speed of the water sprayer to achieve steering control of the floating vehicle on the water, the problem of increased mechanical weight and cost in the existing technology is solved, and a fast and precise steering effect is achieved.
Patent Information
- Application Number
- CN202410633500.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-21
- Publication Date
- 2024-08-30
AI Technical Summary
The existing steering control method of floating vehicles on water requires adding an additional water nozzle position adjustment structure, which increases the mechanical weight and cost, and cannot achieve steering control in a timely manner.
By calculating the parameters of the floating vehicle on the water, the target speed and minimum number of steps of the left and right water jets are determined, and the speed of the water jets is gradually adjusted to achieve steering control, avoiding the need to adjust the position of the water jet structure.
It achieves fast and precise steering control of floating vehicles on water, reduces mechanical weight and cost, and improves steering response speed.
Smart Images

Figure CN118560202A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of steering control technology, and in particular to a vehicle floating cruise steering control method, device, equipment and storage medium. Background Art
[0002] Today, society has an increasing demand for multifunctional transport vehicles. Amphibious vehicles have the mobility and flexibility of land vehicles, and can directly travel on the water. They have important strategic significance and have been rapidly developed. However, the steering of vehicles when floating on water is quite different from that when driving on land. The steering control method of vehicles on land is not applicable to the steering of vehicles when floating on water.
[0003] At present, the steering of floating vehicles on water mainly relies on water spraying to drive the floating vehicles on water to achieve steering. Therefore, the steering control of floating vehicles on water is generally achieved by adjusting the structure of the floating vehicles on water, thereby adjusting the position of the water spraying port, and finally adjusting the outlet direction of the water spraying pump to achieve water steering.
[0004] However, the steering control method of the floating water vehicle in the prior art requires an additional water nozzle position adjustment structure, which increases the mechanical weight and cost of the floating water vehicle. In addition, the steering control method in the prior art has a delay when adjusting the water nozzle position and cannot realize the steering control of the floating water vehicle in time. Summary of the invention
[0005] In view of this, it is necessary to provide a vehicle floating cruise steering control method, device, equipment and storage medium to solve the problem that the steering control method of the floating vehicle on water in the prior art requires the addition of an additional water nozzle position adjustment structure, which increases the mechanical weight and cost of the floating vehicle on water, and cannot realize the steering control of the floating vehicle on water in a timely manner.
[0006] In order to solve the above problems, the present invention provides a vehicle floating cruise steering control method, which is applied to a floating vehicle on water, comprising: Calculating the left water sprayer target speed and the right water sprayer target speed according to the parameters of the floating vehicle on water; Calculate the minimum number of steps of the left water sprayer and the minimum number of steps of the right water sprayer to reach the target speed according to the target speed of the left water sprayer, the target speed of the right water sprayer and the parameters of the floating vehicle on water; Calculate the expected rotation speed of the left sprinkler and the expected rotation speed of the right sprinkler at the current moment according to the minimum number of steps of the left sprinkler, the minimum number of steps of the right sprinkler, the target rotation speed of the left sprinkler and the target rotation speed of the right sprinkler; Drive the left sprinkler to the desired rotation speed of the left sprinkler and the right sprinkler to the desired rotation speed of the right sprinkler to perform steering.
[0007] In a possible implementation, the parameters of the floating vehicle on water include the throttle opening, the maximum speed of the sprinkler, the steering wheel angle, and the steering coefficient; the left sprinkler target speed and the right sprinkler target speed are calculated according to the parameters of the floating vehicle on water, including: Calculate the theoretical speed of the dual water spray line according to the throttle opening and the maximum speed of the water spray; Calculate the expected speed difference of the left and right water spray pumps according to the steering wheel angle and the steering coefficient; The left sprinkler target speed and the right sprinkler target speed are calculated based on the theoretical speed of the dual sprinkler connection and the expected speed difference between the left and right sprinkler pumps.
[0008] In a possible implementation, the left sprinkler target speed and the right sprinkler target speed are calculated according to the dual sprinkler connection theoretical speed and the difference in expected speeds of the left and right sprinkler pumps. The calculation formula is as follows: ; in, is the target speed of the left sprinkler, is the target speed of the right sprinkler, The theoretical speed of the double sprinkler connection, is the expected speed difference between the left and right water spray pumps.
[0009] In a possible implementation, the water floating vehicle parameters include the last instantaneous target speed of the left sprinkler, the last instantaneous target speed of the right sprinkler, the maximum change value of the left sprinkler speed, and the maximum change value of the right sprinkler speed; the minimum number of steps of the left sprinkler and the minimum number of steps of the right sprinkler to reach the target speed are calculated according to the left sprinkler target speed, the right sprinkler target speed and the water floating vehicle parameters, including: Calculating the current speed difference of the left sprinkler and the current speed difference of the right sprinkler according to the left sprinkler target speed, the right sprinkler target speed, the last instantaneous target speed of the left sprinkler and the last instantaneous target speed of the right sprinkler; The minimum number of steps for the left sprinkler and the minimum number of steps for the right sprinkler to reach the target speed are calculated based on the maximum change value of the left sprinkler speed, the maximum change value of the right sprinkler speed, the current speed difference of the left sprinkler and the current speed difference of the right sprinkler.
[0010] In a possible implementation, the minimum number of steps of the left sprinkler and the minimum number of steps of the right sprinkler to reach the target speed are calculated according to the maximum change value of the left sprinkler speed, the maximum change value of the right sprinkler speed, the current speed difference of the left sprinkler and the current speed difference of the right sprinkler, and the calculation formula is as follows: ; in, The minimum number of steps for the left sprinkler to achieve the target speed is: The minimum number of steps for the right sprinkler to achieve the target speed is: is the maximum change value of the left sprinkler speed, is the maximum change value of the right sprinkler speed, is the current speed difference of the left sprinkler; is the current speed difference of the right sprinkler.
[0011] In a possible implementation, the expected rotation speed of the left sprinkler and the expected rotation speed of the right sprinkler at the current moment are calculated according to the minimum number of steps of the left sprinkler, the minimum number of steps of the right sprinkler, the target rotation speed of the left sprinkler, and the target rotation speed of the right sprinkler, including: Calculate the single-step speed change of the left water spray pump and the single-step speed change of the right water spray pump according to the minimum number of steps of the left water sprayer, the minimum number of steps of the right water sprayer, the instantaneous target speed of the left water sprayer at the previous moment, the instantaneous target speed of the right water sprayer at the previous moment, the target speed of the left water sprayer and the target speed of the right water sprayer; The expected speed of the left sprinkler and the expected speed of the right sprinkler at the current moment are calculated based on the instantaneous target speed of the left sprinkler at the previous moment, the instantaneous target speed of the right sprinkler at the previous moment, the single-step speed change of the left sprinkler pump and the single-step speed change of the right sprinkler pump.
[0012] In a possible implementation, the single-step speed change of the left water spray pump and the single-step speed change of the right water spray pump are calculated according to the minimum number of steps of the left water sprayer, the minimum number of steps of the right water sprayer, the instantaneous target speed of the left water sprayer at the last moment, the instantaneous target speed of the right water sprayer at the last moment, the target speed of the left water sprayer and the target speed of the right water sprayer. The calculation formula is as follows: ; in: is the single-step speed change of the left water spray pump, is the single-step speed change of the right water jet pump, is the target speed of the left sprinkler, is the target speed of the right sprinkler, is the instantaneous target speed of the left sprinkler at the previous moment, is the instantaneous target speed of the right sprinkler at the previous moment, is the minimum number of steps for the left sprinkler; is the minimum number of steps for the right sprinkler.
[0013] The present invention also provides a vehicle floating cruise steering control device, comprising: A target speed calculation module is used to calculate the left water sprayer target speed and the right water sprayer target speed according to the parameters of the floating vehicle on water; A minimum step number calculation module is used to calculate the minimum number of steps of the left sprinkler and the minimum number of steps of the right sprinkler to reach the target speed according to the target speed of the left sprinkler, the target speed of the right sprinkler and the parameters of the floating vehicle on water; An expected speed calculation module, used for calculating the expected speed of the left sprinkler and the expected speed of the right sprinkler at the current moment according to the minimum number of steps of the left sprinkler, the minimum number of steps of the right sprinkler, the target speed of the left sprinkler and the target speed of the right sprinkler; The driving module is used to drive the left sprinkler to the desired rotation speed of the left sprinkler and the right sprinkler to the desired rotation speed of the right sprinkler for steering.
[0014] In a third aspect, the present invention further provides a vehicle floating cruise steering control device, including a memory and a processor, wherein: Memory, used to store programs; The processor is coupled to the memory and is used to execute the program stored in the memory to implement the steps in the lithium-ion battery health status prediction method in any of the above implementations.
[0015] In a fourth aspect, the present invention further provides a computer-readable storage medium for storing computer-readable programs or instructions, which, when executed by a processor, can implement the steps in the lithium-ion battery health status prediction method in any of the above-mentioned implementation modes.
[0016] The beneficial effects of the present invention are as follows: the present invention provides a vehicle floating cruise steering control method, which calculates the left sprinkler target speed and the right sprinkler target speed required for the floating vehicle to complete the steering according to the parameters of the floating vehicle on water, and further calculates the minimum number of steps of the left sprinkler and the minimum number of steps of the right sprinkler to reach the target speed, thereby calculating the expected speed of the left sprinkler and the expected speed of the right sprinkler at the current moment, and driving the left sprinkler and the right sprinkler at each moment to reach the corresponding expected speed of the left sprinkler and the expected speed of the right sprinkler, thereby gradually causing the speed deviation of the left sprinkler and the right sprinkler, and finally realizing the steering control of the floating vehicle on water, without changing the structural position of the water nozzle of the floating vehicle on water, avoiding increasing the mechanical weight and cost of the floating vehicle on water, and adjusting the speed of the left sprinkler and the right sprinkler at each moment takes less time than changing the structural position of the water nozzle of the floating vehicle on water, and can realize the steering of the floating vehicle on water more quickly. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 A schematic flow chart of an embodiment of a vehicle floating cruise steering control method provided by the present invention; Figure 2 The present invention provides Figure 1 A schematic flow chart of an embodiment of step S101; Figure 3 A schematic structural diagram of an embodiment of a vehicle floating cruise steering control device provided by the present invention; Figure 4A schematic structural diagram of a vehicle cruise control device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0018] The preferred embodiments of the present invention are described in detail below in conjunction with the accompanying drawings, wherein the accompanying drawings constitute a part of this application and are used together with the embodiments of the present invention to illustrate the principles of the present invention, but are not used to limit the scope of the present invention.
[0019] See also Figure 1 , Figure 1 A flow chart of an embodiment of a vehicle floating cruise steering control method provided by the present invention is provided. A specific embodiment of the present invention discloses a vehicle floating cruise steering control method, which is applied to a floating vehicle on water, comprising: S101, calculating a left water sprayer target speed and a right water sprayer target speed according to the parameters of the floating vehicle; S102, calculating the minimum number of steps for the left sprinkler and the minimum number of steps for the right sprinkler to reach the target speed according to the target speed of the left sprinkler, the target speed of the right sprinkler and the parameters of the floating vehicle; S103, calculating the expected rotation speed of the left sprinkler and the expected rotation speed of the right sprinkler at the current moment according to the minimum number of steps of the left sprinkler, the minimum number of steps of the right sprinkler, the target rotation speed of the left sprinkler and the target rotation speed of the right sprinkler; S104, driving the left sprinkler to the desired rotation speed of the left sprinkler and the right sprinkler to the desired rotation speed of the right sprinkler to perform steering.
[0020] In the above embodiment, the current state parameters of the floating vehicle on water are first obtained, such as the throttle opening, the steering wheel angle, the instantaneous speed, etc., and some fixed parameters of the floating vehicle on water are also included, such as the maximum speed of the sprinkler, the steering coefficient, etc. These parameters can generally be obtained through real-time detection by sensors, or by querying relevant data of the floating vehicle on water. Then, combined with the steering requirements and dynamic characteristics of the vehicle, the target speeds that the left and right sprinklers need to reach are calculated.
[0021] The minimum number of steps required to reach the target speed is calculated based on the target speed and the physical characteristics of the vehicle, such as the response speed and inertia of the sprinkler. The "number of steps" here can be understood as the number of times or time increments that the sprinkler speed is adjusted. By calculating the minimum number of steps, the speed adjustment strategy during the steering process can be optimized to improve the steering accuracy and stability.
[0022] According to the minimum number of steps, the target speed and the time parameters at the current moment, the expected speed of the left and right sprinklers at the current moment is calculated. The expected speed is the speed value that the control system expects the sprinkler to reach at the next moment. It is calculated based on the difference between the target speed and the current speed and the minimum number of steps.
[0023] By adjusting the output power or flow of the left water jet pump and the right water jet pump, the left water jet and the right water jet are driven to reach the desired rotation speed respectively. Since the thrust generated by the water jet is directly related to the rotation speed, the precise control of the steering of the floating vehicle on the water can be achieved by adjusting the rotation speed of the water jet.
[0024] It should be noted that the floating vehicle on water includes a left water sprinkler, a right water sprinkler, a left water spray pump and a right water spray pump. When the floating vehicle on water needs to turn, the throttle opening and steering wheel angle of the floating vehicle on water reflect the target speed that the left water sprinkler and the right water sprinkler need to achieve when the floating vehicle on water turns.
[0025] Compared with the prior art, the present embodiment provides a vehicle floating cruise steering control method, which calculates the target speed of the left sprinkler and the target speed of the right sprinkler required for the floating vehicle to complete the steering according to the parameters of the floating vehicle on water, and further calculates the minimum number of steps of the left sprinkler and the minimum number of steps of the right sprinkler to reach the target speed, thereby calculating the expected speed of the left sprinkler and the expected speed of the right sprinkler at the current moment, and driving the left sprinkler and the right sprinkler at each moment to reach the corresponding expected speed of the left sprinkler and the expected speed of the right sprinkler, thereby gradually causing the speed deviation of the left sprinkler and the right sprinkler, and finally realizing the steering control of the floating vehicle on water, without changing the structural position of the water nozzle of the floating vehicle on water, avoiding increasing the mechanical weight and cost of the floating vehicle on water, and adjusting the speed of the left sprinkler and the right sprinkler at each moment takes less time than changing the structural position of the water nozzle of the floating vehicle on water, and can realize the steering of the floating vehicle on water more quickly.
[0026] See also Figure 2 , Figure 2 The present invention provides Figure 1 FIG. 1 is a flow chart of an embodiment of step S101 in FIG. 1 . In some embodiments of the present invention, the parameters of the floating vehicle on water include the throttle opening, the maximum speed of the sprinkler, the steering wheel angle, and the steering coefficient; and the left sprinkler target speed and the right sprinkler target speed are calculated according to the parameters of the floating vehicle on water, including: S201, calculating the theoretical rotation speed of the dual water spray line according to the throttle opening and the maximum rotation speed of the water spray; S202, calculating the expected speed difference of the left and right water spray pumps according to the steering wheel angle and the steering coefficient; S203, calculating the left sprinkler target speed and the right sprinkler target speed according to the dual sprinkler connection theoretical speed and the expected speed difference between the left and right sprinkler pumps.
[0027] In the above embodiment, the theoretical speed of the dual-sprinkler connection is equal to the throttle opening multiplied by the maximum speed of the dual-sprinkler, and the calculation formula is: ; in, The theoretical speed of the double sprinkler connection, is the throttle opening, which can be obtained through the accelerator pedal sensor. is the maximum speed of the sprinkler.
[0028] The expected speed difference between the left and right water spray pumps is equal to the steering wheel angle multiplied by the steering coefficient, and the calculation formula is: ; in, is the expected speed difference between the left and right water spray pumps, is the steering wheel angle, with a positive number for left turn, a negative number for right turn, and zero for straight line. Steering coefficient is a calibrated value.
[0029] In some embodiments of the present invention, the left sprinkler target speed and the right sprinkler target speed are calculated according to the dual sprinkler connection theoretical speed and the difference in expected speeds of the left and right sprinkler pumps, and the calculation formula is as follows: ; in, is the target speed of the left sprinkler, is the target speed of the right sprinkler, The theoretical speed of the double sprinkler connection, is the expected speed difference between the left and right water spray pumps.
[0030] In the above embodiment, the left sprinkler target speed and the right sprinkler target speed are calculated by the sum of the left sprinkler target speed and the right sprinkler target speed being equal to twice the theoretical speed of the dual sprinkler connection line, and the difference between the left sprinkler target speed and the right sprinkler target speed being equal to the difference in the expected speeds of the left and right sprinkler pumps, and the following two-variable linear equation system can be obtained: ; By solving the above two-variable linear equations, the target speed of the left sprinkler and the target speed of the right sprinkler can be determined.
[0031] In some embodiments of the present invention, the water floating vehicle parameters include the last instantaneous target speed of the left sprinkler, the last instantaneous target speed of the right sprinkler, the maximum change value of the left sprinkler speed, and the maximum change value of the right sprinkler speed; the minimum number of steps of the left sprinkler and the minimum number of steps of the right sprinkler to reach the target speed are calculated according to the left sprinkler target speed, the right sprinkler target speed and the water floating vehicle parameters, including: Calculating the current speed difference of the left sprinkler and the current speed difference of the right sprinkler according to the left sprinkler target speed, the right sprinkler target speed, the last instantaneous target speed of the left sprinkler and the last instantaneous target speed of the right sprinkler; The minimum number of steps for the left sprinkler and the minimum number of steps for the right sprinkler to reach the target speed are calculated based on the maximum change value of the left sprinkler speed, the maximum change value of the right sprinkler speed, the current speed difference of the left sprinkler and the current speed difference of the right sprinkler.
[0032] In the above embodiment, the current speed difference of the left sprinkler is equal to the absolute value of the difference between the left sprinkler target speed and the last instantaneous target speed of the left sprinkler, and the current speed difference of the right sprinkler is equal to the absolute value of the difference between the right sprinkler target speed and the last instantaneous target speed of the right sprinkler, and the calculation formula is: ; in, is the current speed difference of the left sprinkler, is the current speed difference of the right sprinkler, is the instantaneous target speed of the left sprinkler at the previous moment; is the instantaneous target speed difference of the right sprinkler at the current moment.
[0033] In some embodiments of the present invention, the minimum number of steps of the left sprinkler and the minimum number of steps of the right sprinkler to reach the target speed are calculated according to the maximum change value of the left sprinkler speed, the maximum change value of the right sprinkler speed, the current speed difference of the left sprinkler and the current speed difference of the right sprinkler, and the calculation formula is as follows: ; in, The minimum number of steps for the left sprinkler to achieve the target speed is: The minimum number of steps for the right sprinkler to achieve the target speed is: is the maximum change value of the left sprinkler speed, is the maximum change value of the right sprinkler speed, is the current speed difference of the left sprinkler; is the current speed difference of the right sprinkler.
[0034] In the above embodiment, the minimum number of steps for the left sprinkler to reach the target speed is equal to the current speed difference of the left sprinkler divided by the maximum change value of the left sprinkler speed, and the minimum number of steps for the right sprinkler to reach the target speed is equal to the current speed difference of the right sprinkler divided by the maximum change value of the right sprinkler speed. Furthermore, if the maximum change value of the left sprinkler speed and the maximum change value of the right sprinkler speed are exceeded, the left and right sprinkler pumps may be damaged.
[0035] In some embodiments of the present invention, the left sprinkler expected rotation speed and the right sprinkler expected rotation speed at the current moment are calculated according to the left sprinkler minimum step number, the right sprinkler minimum step number, the left sprinkler target rotation speed and the right sprinkler target rotation speed, including: Calculate the single-step speed change of the left water spray pump and the single-step speed change of the right water spray pump according to the minimum number of steps of the left water sprayer, the minimum number of steps of the right water sprayer, the instantaneous target speed of the left water sprayer at the previous moment, the instantaneous target speed of the right water sprayer at the previous moment, the target speed of the left water sprayer and the target speed of the right water sprayer; The expected speed of the left sprinkler and the expected speed of the right sprinkler at the current moment are calculated based on the instantaneous target speed of the left sprinkler at the previous moment, the instantaneous target speed of the right sprinkler at the previous moment, the single-step speed change of the left sprinkler pump and the single-step speed change of the right sprinkler pump.
[0036] In some embodiments of the present invention, the single-step speed change of the left water spray pump and the single-step speed change of the right water spray pump are calculated according to the minimum number of steps of the left water sprayer, the minimum number of steps of the right water sprayer, the instantaneous target speed of the left water sprayer at the last moment, the instantaneous target speed of the right water sprayer at the last moment, the target speed of the left water sprayer and the target speed of the right water sprayer, and the calculation formula is as follows: ; in: is the single-step speed change of the left water spray pump, is the single-step speed change of the right water jet pump, is the target speed of the left sprinkler, is the target speed of the right sprinkler, is the instantaneous target speed of the left sprinkler at the previous moment, is the instantaneous target speed of the right sprinkler at the previous moment, is the minimum number of steps for the left sprinkler; is the minimum number of steps for the right sprinkler.
[0037] In the above embodiment, the expected rotation speed of the left sprinkler at the current moment is equal to the instantaneous target rotation speed of the left sprinkler at the previous moment plus the single-step rotation speed change of the left sprinkler pump, and the expected rotation speed of the right sprinkler at the current moment is equal to the instantaneous target rotation speed of the right sprinkler at the previous moment plus the single-step rotation speed change of the right sprinkler pump, and the calculation formula is: ; in: is the instantaneous target speed of the left sprinkler at the current moment; is the instantaneous target speed of the right sprinkler at the current moment.
[0038] In order to better implement the vehicle floating cruise steering control method in the embodiment of the present invention, based on the vehicle floating cruise steering control method, correspondingly, please refer to Figure 3 , Figure 3 This is a structural schematic diagram of an embodiment of a vehicle floating cruise steering control device provided by the present invention. The embodiment of the present invention provides a vehicle floating cruise steering control device 300, including: The target speed calculation module 301 is used to calculate the left water sprayer target speed and the right water sprayer target speed according to the parameters of the floating vehicle; A minimum step number calculation module 302 is used to calculate the minimum number of steps of the left sprinkler and the minimum number of steps of the right sprinkler to reach the target speed according to the target speed of the left sprinkler, the target speed of the right sprinkler and the parameters of the floating vehicle on water; The expected speed calculation module 303 is used to calculate the expected speed of the left sprinkler and the expected speed of the right sprinkler at the current moment according to the minimum number of steps of the left sprinkler, the minimum number of steps of the right sprinkler, the target speed of the left sprinkler and the target speed of the right sprinkler; The driving module 304 is used to drive the left sprinkler to the desired rotation speed of the left sprinkler and the right sprinkler to the desired rotation speed of the right sprinkler for steering.
[0039] It should be noted here that: the device 300 provided in the above embodiment can implement the technical solutions described in the above method embodiments. The specific implementation principles of the above modules or units can refer to the corresponding contents in the above method embodiments, which will not be repeated here.
[0040] See also Figure 4 , Figure 4 A schematic diagram of the structure of a vehicle floating cruise steering control device provided by an embodiment of the present invention. Based on the above-mentioned vehicle floating cruise steering control method, the present invention also provides a vehicle floating cruise steering control device, which can be a computing device such as a mobile terminal, a desktop computer, a notebook, a palm computer, and a server. The vehicle floating cruise steering control device 400 includes a processor 401, a memory 402, and a display 403. Figure 4 Only some components of the vehicle cruise control device are shown, but it should be understood that it is not required to implement all of the components shown, and more or fewer components may be implemented instead.
[0041] In some embodiments, the memory 402 may be an internal storage unit of the vehicle floating cruise steering control device 400, such as a hard disk or memory of the vehicle floating cruise steering control device 400. In other embodiments, the memory 402 may also be an external storage device of the vehicle floating cruise steering control device 400, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the vehicle floating cruise steering control device 400. Further, the memory 402 may also include both an internal storage unit and an external storage device of the vehicle floating cruise steering control device 400. The memory 402 is used to store application software and various data installed in the vehicle floating cruise steering control device 400, such as a program code for installing the vehicle floating cruise steering control device 400. The memory 402 may also be used to temporarily store data that has been output or is to be output. In one embodiment, a vehicle floating cruise steering control program 404 is stored in the memory 402 , and the vehicle floating cruise steering control program 404 can be executed by the processor 401 , thereby implementing the vehicle floating cruise steering control method of each embodiment of the present application.
[0042] In some embodiments, the processor 401 may be a central processing unit (CPU), a microprocessor or other data processing chip, used to run program codes or process data stored in the memory 402, such as executing a vehicle floating cruise steering control method.
[0043] In some embodiments, the display 403 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, etc. The display 403 is used to display information on the vehicle cruise control device 400 and to display a visual user interface. The components 401-403 of the vehicle cruise control device 400 communicate with each other via a system bus.
[0044] In one embodiment, when the processor 401 executes the vehicle floating cruise steering control program 404 in the memory 402 , the steps in the above vehicle floating cruise steering control method are implemented.
[0045] This embodiment also provides a computer-readable storage medium on which a vehicle floating cruise steering control program is stored. When the vehicle floating cruise steering control program is executed by a processor, the following steps are implemented: Calculating the left water sprayer target speed and the right water sprayer target speed according to the parameters of the floating vehicle on water; Calculate the minimum number of steps of the left water sprayer and the minimum number of steps of the right water sprayer to reach the target speed according to the target speed of the left water sprayer, the target speed of the right water sprayer and the parameters of the floating vehicle on water; Calculate the expected rotation speed of the left sprinkler and the expected rotation speed of the right sprinkler at the current moment according to the minimum number of steps of the left sprinkler, the minimum number of steps of the right sprinkler, the target rotation speed of the left sprinkler and the target rotation speed of the right sprinkler; Drive the left sprinkler to the desired rotation speed of the left sprinkler and the right sprinkler to the desired rotation speed of the right sprinkler to perform steering.
[0046] In summary, the present embodiment provides a vehicle floating cruise steering control method, which calculates the left sprinkler target speed and the right sprinkler target speed required for the floating vehicle to complete the steering according to the parameters of the floating vehicle, and further calculates the minimum number of steps of the left sprinkler and the minimum number of steps of the right sprinkler to reach the target speed, thereby calculating the expected speed of the left sprinkler and the expected speed of the right sprinkler at the current moment, and driving the left sprinkler and the right sprinkler at each moment to reach the corresponding expected speed of the left sprinkler and the expected speed of the right sprinkler, thereby gradually causing the speed deviation of the left sprinkler and the right sprinkler, and finally realizing the steering control of the floating vehicle on water, without changing the structural position of the water nozzle of the floating vehicle on water, avoiding increasing the mechanical weight and cost of the floating vehicle on water, and adjusting the speed of the left sprinkler and the right sprinkler at each moment takes less time than changing the structural position of the water nozzle of the floating vehicle on water, and can realize the steering of the floating vehicle on water more quickly.
[0047] Those skilled in the art will appreciate that all or part of the processes of the above-mentioned embodiments can be implemented by instructing related hardware through a computer program, and the program can be stored in a computer-readable storage medium, wherein the computer-readable storage medium is a disk, an optical disk, a read-only storage memory, or a random access memory, etc.
[0048] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by any technician familiar with the technical field within the technical scope disclosed by the present invention should be covered within the protection scope of the present invention.
Claims
1. A vehicle floating cruise steering control method, applied to a floating vehicle on water, characterized in that: include: Calculating the left water sprayer target speed and the right water sprayer target speed according to the parameters of the floating vehicle on water; Calculate the minimum number of steps of the left water sprayer and the minimum number of steps of the right water sprayer to reach the target speed according to the target speed of the left water sprayer, the target speed of the right water sprayer and the parameters of the floating vehicle on water; Calculate the expected rotation speed of the left sprinkler and the expected rotation speed of the right sprinkler at the current moment according to the minimum number of steps of the left sprinkler, the minimum number of steps of the right sprinkler, the target rotation speed of the left sprinkler and the target rotation speed of the right sprinkler; Drive the left sprinkler to the desired rotation speed of the left sprinkler and the right sprinkler to the desired rotation speed of the right sprinkler to perform steering.
2. The vehicle floating cruise steering control method according to claim 1, characterized in that: The parameters of the floating vehicle on water include throttle opening, maximum speed of the sprinkler, steering wheel angle and steering coefficient; the calculation of the left sprinkler target speed and the right sprinkler target speed according to the parameters of the floating vehicle on water includes: Calculate the theoretical speed of the dual water spray line according to the throttle opening and the maximum speed of the water spray; Calculating the expected speed difference between the left and right water spray pumps according to the steering wheel angle and the steering coefficient; The left sprinkler target speed and the right sprinkler target speed are calculated based on the theoretical speed of the dual sprinkler connection and the expected speed difference of the left and right sprinkler pumps.
3. The vehicle floating cruise steering control method according to claim 2, characterized in that: The left sprinkler target speed and the right sprinkler target speed are calculated according to the dual sprinkler connection theoretical speed and the expected speed difference of the left and right sprinkler pumps, and the calculation formula is as follows: ; in, is the target speed of the left sprinkler, is the target speed of the right sprinkler, The theoretical speed of the double sprinkler connection, is the expected speed difference between the left and right water spray pumps.
4. The vehicle floating cruise steering control method according to claim 1, characterized in that: The parameters of the floating vehicle on water include the instantaneous target speed of the left sprinkler at the last moment, the instantaneous target speed of the right sprinkler at the last moment, the maximum change value of the left sprinkler speed, and the maximum change value of the right sprinkler speed; the minimum number of steps of the left sprinkler and the minimum number of steps of the right sprinkler to reach the target speed are calculated according to the target speed of the left sprinkler, the target speed of the right sprinkler and the parameters of the floating vehicle on water, including: Calculating the current speed difference of the left sprinkler and the current speed difference of the right sprinkler according to the left sprinkler target speed, the right sprinkler target speed, the last instantaneous target speed of the left sprinkler and the last instantaneous target speed of the right sprinkler; The minimum number of steps for the left sprinkler and the minimum number of steps for the right sprinkler to reach the target speed are calculated based on the maximum change value of the left sprinkler speed, the maximum change value of the right sprinkler speed, the current speed difference of the left sprinkler and the current speed difference of the right sprinkler.
5. The vehicle floating cruise steering control method according to claim 4, characterized in that: The minimum number of steps of the left sprinkler and the minimum number of steps of the right sprinkler to reach the target speed are calculated according to the maximum change value of the left sprinkler speed, the maximum change value of the right sprinkler speed, the current speed difference of the left sprinkler and the current speed difference of the right sprinkler, and the calculation formula is as follows: ; in, The minimum number of steps for the left sprinkler to achieve the target speed is: The minimum number of steps for the right sprinkler to achieve the target speed is: is the maximum change value of the left sprinkler speed, is the maximum change value of the right sprinkler speed, is the current speed difference of the left sprinkler; is the current speed difference of the right sprinkler.
6. The vehicle floating cruise steering control method according to claim 4, characterized in that: The method of calculating the expected rotation speed of the left sprinkler and the expected rotation speed of the right sprinkler at the current moment according to the minimum number of steps of the left sprinkler, the minimum number of steps of the right sprinkler, the target rotation speed of the left sprinkler and the target rotation speed of the right sprinkler includes: Calculating the single-step speed change of the left water spray pump and the single-step speed change of the right water spray pump according to the minimum number of steps of the left water sprayer, the minimum number of steps of the right water sprayer, the instantaneous target speed of the left water sprayer at the last moment, the instantaneous target speed of the right water sprayer at the last moment, the left water sprayer target speed and the right water sprayer target speed; The expected speed of the left sprinkler and the expected speed of the right sprinkler at the current moment are calculated based on the instantaneous target speed of the left sprinkler at the previous moment, the instantaneous target speed of the right sprinkler at the previous moment, the single-step speed change of the left sprinkler pump, and the single-step speed change of the right sprinkler pump.
7. The vehicle floating cruise steering control method according to claim 6, characterized in that: The single-step speed change of the left water spray pump and the single-step speed change of the right water spray pump are calculated according to the minimum number of steps of the left water sprayer, the minimum number of steps of the right water sprayer, the instantaneous target speed of the left water sprayer at the last moment, the instantaneous target speed of the right water sprayer at the last moment, the left water sprayer target speed and the right water sprayer target speed, and the calculation formula is as follows: ; in: is the single-step speed change of the left water spray pump, is the single-step speed change of the right water jet pump, is the target speed of the left sprinkler, is the target speed of the right sprinkler, is the instantaneous target speed of the left sprinkler at the previous moment, is the instantaneous target speed of the right sprinkler at the previous moment, is the minimum number of steps for the left sprinkler; is the minimum number of steps for the right sprinkler.
8. A vehicle floating cruise steering control device, characterized in that: include: A target speed calculation module is used to calculate the left water sprayer target speed and the right water sprayer target speed according to the parameters of the floating vehicle on water; A minimum step number calculation module is used to calculate the minimum number of steps of the left sprinkler and the minimum number of steps of the right sprinkler to reach the target speed according to the target speed of the left sprinkler, the target speed of the right sprinkler and the parameters of the floating vehicle on water; An expected speed calculation module, used for calculating the expected speed of the left sprinkler and the expected speed of the right sprinkler at the current moment according to the minimum number of steps of the left sprinkler, the minimum number of steps of the right sprinkler, the target speed of the left sprinkler and the target speed of the right sprinkler; The driving module is used to drive the left sprinkler to the desired rotation speed of the left sprinkler and the right sprinkler to the desired rotation speed of the right sprinkler for steering.
9. A vehicle floating cruise steering control device, characterized in that: comprising a memory and a processor, wherein: The memory is used to store programs; The processor is coupled to the memory and is used to execute the program stored in the memory to implement the steps in the vehicle floating cruise steering control method described in any one of claims 1 to 7 above.
10. A computer-readable storage medium, characterized in that: Used to store computer-readable programs or instructions, which, when executed by a processor, can implement the steps in the vehicle floating cruise steering control method described in any one of claims 1 to 7.
