Vehicle control method, vehicle and computer program product
By controlling the state switching of the drive motor in the lawn mower, we ensure that the vehicle speed decreases after shutting down on the slope, solving the safety hazards caused by the lawn mower slope and achieving safety after shutdown.
Patent Information
- Application Number
- CN202410991104.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-23
- Publication Date
- 2024-11-12
AI Technical Summary
The lawn mower may easily slip after shutting down on the slope, causing safety hazards, which may hit people or items around, or even rush out of the lawn to the road, causing traffic hazards.
By controlling the drive motor to switch between the first state (no power output) and the second state (power output), ensure the switching of the wheels between the uncontrolled state and the controlled state until the vehicle speed is less than or equal to the setting Turn off the power only when the threshold is set to avoid the risk of slope slipping.
Effectively control the vehicle speed to ensure the safety of the vehicle after shutdown, and avoid safety risks caused by slope slips.
Smart Images

Figure CN118928060A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle technology, and in particular to a vehicle control method, a vehicle and a computer program product. Background Art
[0002] A lawn mower, also known as a lawnmower, lawn mower, lawn trimmer, etc., is a mechanical tool used to trim lawns and vegetation, which can save the working time of lawn mowers and reduce a large amount of human resources. With the development of artificial intelligence technology, intelligent outdoor working tools such as lawn mowing robots have gradually emerged, further improving the efficiency of outdoor work.
[0003] When the lawn mower needs to end its outdoor operation, the user can send a shutdown command to the lawn mower. Since the wheels of the lawn mower can roll freely after being shut down (the wheels enter a freely rotatable state), if the lawn mower is shut down on a slope, it is easy for the lawn mower to slide down the slope due to gravity, thus causing safety problems. For example, Figure 1 As shown, if the lawn mower slides down the slope too fast or slides too far, it can easily hit people or objects around it, or even run out of the lawn and onto the road, causing traffic hazards. Summary of the invention
[0004] The present application provides a vehicle control method, a vehicle and a computer program product, which can ensure the safety of the vehicle after it is shut down.
[0005] In a first aspect, the present application provides a vehicle control method, the method comprising: when the vehicle obtains a shutdown command, controlling a drive motor to switch between a first state and a second state, wherein the first state is that the drive motor has no power output to the wheels, and the second state is that the drive motor has power output to the wheels; when the drive motor is in the first state and the corresponding speed of the vehicle is less than or equal to a first speed threshold, controlling the vehicle to shut down.
[0006] It should be understood that since the drive motor has no power output to the wheels in the first state, the wheels will be in an uncontrolled state; the drive motor has power output to the wheels in the second state, so the wheels will be in a controlled state, thereby reducing the vehicle speed. This solution controls the drive motor to switch between the first state and the second state, so that the wheels switch between the uncontrolled state and the controlled state, thereby effectively controlling the corresponding speed of the vehicle, until the drive motor is in the first state and the corresponding speed of the vehicle is less than or equal to the first speed threshold (indicating that the vehicle is in a relatively flat position, it is relatively safe to shut down in this case, and the risk of sliding down the slope can be avoided), the vehicle will be controlled to shut down, thereby ensuring the safety of the vehicle after shutdown, and avoiding damage to people or objects around after the vehicle is shut down.
[0007] Based on the first aspect, in a possible implementation, when the drive motor is in a first state and the vehicle meets a braking condition, the drive motor is controlled to switch from the first state to the second state; when the drive motor is in the second state and the vehicle meets a wheel release condition, the drive motor is controlled to switch from the second state to the first state.
[0008] Based on the first aspect, in a possible implementation manner, the braking condition includes at least one of the following:
[0009] 1) The duration of the driving motor being in the first state is greater than or equal to a first duration threshold;
[0010] 2) The speed corresponding to the vehicle is greater than or equal to the second speed threshold.
[0011] Based on the first aspect, in a possible implementation manner, the speed corresponding to the vehicle is detected by a sensor within a second time threshold, and the second time threshold is smaller than the first time threshold.
[0012] Based on the first aspect, in a possible implementation manner, the wheel release condition includes at least one of the following:
[0013] 1) The duration of the driving motor being in the second state is greater than or equal to a third duration threshold;
[0014] 2) The speed corresponding to the vehicle is less than or equal to the third speed threshold.
[0015] Based on the first aspect, in a possible implementation manner, the speed corresponding to the vehicle is the vehicle speed or the rotation speed of the wheels.
[0016] Based on the first aspect, in a possible implementation manner, the direction of the power output by the drive motor to the wheels in the second state is the same as or opposite to the direction of rotation of the wheels.
[0017] Based on the first aspect, in a possible implementation manner, before controlling the drive motor to switch between the first state and the second state, the method further includes: when the vehicle obtains a shutdown instruction, controlling the drive motor to enter the first state.
[0018] Based on the first aspect, in a possible implementation manner, before controlling the drive motor to switch between the first state and the second state, the method further includes: controlling the cutter disc of the vehicle to descend when the vehicle obtains a shutdown command.
[0019] In a second aspect, the present application further provides a vehicle control device, comprising a unit and / or module for executing a method as in the first aspect or any possible implementation manner of the first aspect.
[0020] In a third aspect, the present application further provides a vehicle, comprising a drive motor and wheels, and the vehicle is used to execute the method of the first aspect or any possible implementation manner of the first aspect.
[0021] In a fourth aspect, the present application also provides a vehicle, comprising a processor and a memory, wherein the processor is configured to execute instructions stored in the memory so that the vehicle executes a method as in the first aspect or any possible implementation manner of the first aspect.
[0022] In a fifth aspect, the present application also provides a computer program product comprising instructions, which, when executed on a vehicle, causes the vehicle to execute a method as in the first aspect or any possible implementation manner of the first aspect.
[0023] In a sixth aspect, the present application further provides a readable storage medium, comprising computer program instructions. When the computer program instructions are executed by a vehicle, the vehicle executes the method of the first aspect or any possible implementation of the first aspect.
[0024] Based on the implementation methods provided in the above aspects, this application can also be further combined to provide more implementation methods. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for describing the embodiments.
[0026] Figure 1 is a schematic diagram of a scenario in which a lawn mower slides down a slope, provided in an embodiment of the present application;
[0027] Figure 2 is a structural schematic diagram of a vehicle provided in an embodiment of the present application;
[0028] Figure 3 is a flow chart of a vehicle control method provided in an embodiment of the present application;
[0029] Figure 4 is a structural schematic diagram of a vehicle control device provided in an embodiment of the present application;
[0030] Figure 5 It is a schematic diagram of the structure of another vehicle provided in an embodiment of the present application. DETAILED DESCRIPTION
[0031] In order to facilitate understanding of the technical solution of the present application, a vehicle 200 involved in the present application is first introduced below.
[0032] See also Figure 2 , Figure 2 It is a schematic structural diagram of a vehicle 200 provided in an embodiment of the present application, including a drive motor 210 and wheels 220 .
[0033] The drive motor 210 is used to provide power to the wheels 220. For example, the drive motor 210 can be driven by a transmission system ( Figure 2 The power (torque) is transmitted to the wheel 220 by the wheel 220 (not shown) to control the rotation of the wheel 220, thereby affecting the speed of the vehicle 200. Torque is a physical quantity that describes the rotation effect of an object when it is acted upon by a moment, and is usually represented by the symbol T, and the unit is Newton·meter (N·m).
[0034] The magnitude of the current of the drive motor 210 (such as the current output by the drive board to the drive motor 210) will affect the strength of the electromagnetic field generated by the drive motor 210, and thus affect the magnitude of the torque output by the drive motor 210. Generally speaking, the greater the current, the stronger the electromagnetic field generated by the drive motor 210, and the output torque will also increase. Conversely, when the current decreases, the torque output by the drive motor 210 will also decrease.
[0035] For example, when the vehicle 200 needs to be limited in speed, the current of the drive motor 210 can be reduced to weaken the electromagnetic field generated by the drive motor 210, thereby reducing the torque output by the drive motor 210, thereby limiting the rotation speed of the wheel 220 and keeping the vehicle 200 within the set speed range. When the vehicle 200 needs to slow down, the current of the drive motor 210 can be further reduced, or even reversely controlled to generate reverse torque, thereby slowing down the rotation speed of the wheel 220 and achieving deceleration or stopping of the vehicle 200.
[0036] It should be understood that when the drive motor 210 outputs power to the wheel 220, the wheel 220 will be affected by the torque transmitted by the drive motor 210 (the wheel 220 is in a controlled state), thereby generating power to propel the vehicle 200 to move. In the forward control, the torque generated by the drive motor 210 (i.e., the forward torque) is consistent with the direction of the wheel 220 to propel the vehicle 200 forward; in the reverse control, the torque generated by the drive motor 210 (i.e., the reverse torque) is opposite to the direction of the wheel 220, so that the vehicle 200 slows down or reverses. When the drive motor 210 has no power output to the wheel 220, the wheel 220 is not driven and controlled by the drive motor 210, so the wheel 220 is in a freely rotatable state (the wheel 220 can roll freely and is not in a controlled state), which is similar to a car sliding in a neutral state.
[0037] It should be noted that the fact that the wheel 220 can rotate freely does not mean that the wheel 220 must be rotating. Whether the wheel 220 rotates in the freely rotating state depends on the force applied to the wheel 220. For example, when the wheel 220 is in a freely rotating state and is located on a slope with a large slope and / or a small friction force, since the wheel 220 is not controlled by the drive motor 210 and is affected by gravity, a force will be generated downward along the slope direction, so the wheel 220 will roll down the slope, and usually roll faster and faster. When the wheel 220 is in a freely rotating state and is located on a slope with a relatively small slope and / or a large friction force, the wheel 220 may just be balanced in force, and the wheel 220 will not rotate. When the wheel 220 is in a freely rotating state and is located on a flat ground, since there is no control of the wheel 220 drive motor 210 and the wheel 220 is balanced in force on the flat ground, the wheel 220 will not rotate.
[0038] It should also be noted that Figure 2 The structure of the vehicle 200 given is only an example and does not constitute a specific limitation. In actual scenarios, the vehicle 200 may also include more components. For example, assuming that the vehicle 200 is a lawn mower, in addition to the drive motor 210 and the wheels 220, the lawn mower also includes a blade disc for mowing grass. The lawn mower can control the blade disc to descend and contact the ground to generate resistance, thereby stopping the vehicle 200 (for example, when the vehicle 200 is on a slope, the blade disc is pressed against the ground so that the vehicle 200 stops on the slope). This application does not make specific limitations on the number, type, positional relationship, connection relationship, etc. of the drive motor 210 and the wheels 220 of the vehicle 200.
[0039] For example, the vehicle 200 may be provided with four wheels 220, each wheel 220 is provided with a corresponding drive motor 210, the drive motor 210 may be a hub motor or other types of motors, and each drive motor 210 is used to control the rotation of the corresponding wheel 220. Of course, only some of the wheels 220 may be provided with corresponding drive motors 210, while other parts of the wheels 220 may not have corresponding drive motors 210.
[0040] The present application also does not specifically limit the type of vehicle 200. For example, the vehicle 200 may be a machine with wheels, such as a lawn mower, a sweeper, a ground spraying machine, or an automatic driving vehicle.
[0041] based on Figure 2The vehicle 200 introduced in this application provides a vehicle control method, which, when the vehicle 200 obtains a shutdown command, first controls the drive motor 210 to switch between a first state and a second state, until the drive motor 210 is in the first state and the corresponding speed of the vehicle 200 is less than or equal to the first speed threshold, and then controls the vehicle 200 to shut down, thereby ensuring the safety of the vehicle 200 after shutting down. The first state is that the drive motor 210 has no power output to the wheels 220, and the second state is that the drive motor 210 has power output to the wheels 220.
[0042] The vehicle control method is described in detail below.
[0043] See also Figure 3 , Figure 3 A vehicle control method provided in an embodiment of the present application is executed by a vehicle 200 and includes the following steps S301 to S302.
[0044] S301 . When the vehicle 200 obtains a shutdown command, the drive motor 210 is controlled to switch between a first state and a second state, wherein the first state is that the drive motor 210 has no power output to the wheels 220 , and the second state is that the drive motor 210 has power output to the wheels 220 .
[0045] It should be understood that the above shutdown refers to turning off the power supply of the vehicle 200 (power off) so that the vehicle 200 does not work.
[0046] The shutdown command is used to instruct the vehicle 200 to perform a shutdown operation. The present application does not specifically limit the method for obtaining the shutdown command.
[0047] For example, the user can send a shutdown command to the vehicle 200 (short range / long range) by remote control, and the vehicle 200 receives the shutdown command accordingly. The remote control device here can be a smart phone, a computer, a remote controller, etc., and this application does not specifically limit this.
[0048] For another example, the user may operate on the vehicle 200 (such as clicking a button on the vehicle 200 , operating a touch screen, etc.) to input a shutdown command to the vehicle 200 .
[0049] For another example, a timed shutdown strategy is set on the vehicle 200. When the shutdown time set in the timed shutdown strategy is reached, the vehicle 200 will automatically generate a shutdown instruction.
[0050] The first state means that the driving motor 210 has no power output to the wheels 220, and the second state means that the driving motor 210 has power output to the wheels 220. Figure 2As can be seen from the introduction, when the drive motor 210 is in the first state (the drive motor 210 has no power output to the wheel 220), that is, the wheel 220 is not driven and controlled by the drive motor 210, so the wheel 220 can rotate freely (or roll). When the drive motor 210 is in the second state (the drive motor 210 has power output to the wheel 220), since the wheel 220 is affected by the electromagnetic field / torque generated by the drive motor 210, the wheel 220 is in a controlled state, so the rolling of the wheel 220 will be restricted, so that the speed of the vehicle 200 will gradually decrease, and even decrease to 0. Therefore, step S301 controls the speed of the wheel 220 to a certain extent by switching the drive motor 210 between the first state and the second state, and then controls the speed of the vehicle 200. In other words, whether the wheel 200 is on a flat ground or a slope, by executing the switching mechanism between the first state and the second state, it can be ensured that the speed of the vehicle 200 will not be too fast, thereby ensuring the safety of people and objects around.
[0051] It should be noted that when the vehicle 200 obtains the shutdown instruction, the vehicle 200 may be in the first state or in the second state. Switching between the first state and the second state may be switching from the first state to the second state or from the second state to the first state, including the following situations:
[0052] Case 1: If the vehicle 200 is in the first state when it obtains the shutdown command, and the corresponding speed of the vehicle 200 is less than or equal to the first speed threshold, it means that the vehicle 200 is located in a relatively flat position (such as flat ground or a slope with a very small slope). Then the vehicle 200 can be directly controlled to shut down according to the provisions of step S302, and there is no need to execute the action of controlling the drive motor 210 to switch between the first state and the second state in step S301.
[0053] Case 2: If the vehicle 200 is in the first state when it obtains the shutdown command, and the corresponding speed of the vehicle 200 is greater than the first speed threshold, then when the vehicle 200 subsequently meets the braking condition, the drive motor 210 can be controlled to switch from the first state to the second state.
[0054] Case three: if the vehicle 200 is in the second state when it obtains the shutdown command, and the corresponding speed of the vehicle 200 is greater than the first speed threshold, then when the vehicle 200 subsequently meets the wheel release condition, the drive motor 210 can be controlled to switch from the second state to the first state.
[0055] It should also be noted that the switching process between the first state and the second state may be performed only once or multiple times. The condition for ending the switching process is "the drive motor 210 is in the first state and the speed corresponding to the vehicle 200 is less than or equal to the first speed threshold" described in step S302. In other words, the vehicle 200 will be shut down only when the above conditions are met, thereby ensuring the safety of the vehicle 200 after shutdown.
[0056] Optionally, the direction of the power output by the driving motor 210 to the wheel 220 in the second state is the same as or opposite to the direction of rotation of the wheel 220 .
[0057] From the previous article Figure 2 As can be seen from the introduction, under forward control, the torque (power) generated by the drive motor 210 is the same as the direction of the wheel 220. Under reverse control, the torque (power) generated by the drive motor 210 is opposite to the direction of the wheel 220, that is, the torque generated by the drive motor 210 will produce a reverse rotation effect (reverse torque), which is equivalent to applying an additional resistance to the wheel 220, thereby slowing down or stopping the wheel 220. In contrast, when decelerating under forward control, the vehicle speed is reduced by reducing the forward torque output by the drive motor 210, while the reverse control can use the effect of the reverse torque to offset the original motion inertia of the wheel 220, thereby decelerating the vehicle 200 faster. In actual application scenarios, the drive motor 210 can be instructed to perform forward control or reverse control in the second state according to the deceleration requirements (such as the current vehicle speed or the rotation speed of the wheel 220). In the second state, only one of the forward control and the reverse control can be used, or both can be used.
[0058] For example, when the braking condition is met, if the speed corresponding to the vehicle 200 is greater than the first threshold, the drive motor 210 can be preferentially controlled to reversely control the wheel 220 so that the rotation speed of the wheel 220 decreases as quickly as possible. Among them, the first threshold can be set according to the use requirements, and this application does not make specific restrictions on this. Until the vehicle speed drops to the first threshold, the drive motor 210 is controlled to positively control the wheel 220 to slow down the deceleration control of the wheel 220. Of course, if the wheel release condition is met before the vehicle speed drops to the first threshold, the wheel 220 will not be positively controlled at this time, but the control of the wheel 220 will be released (that is, the drive motor 210 switches from the second state to the first state).
[0059] Optionally, when the vehicle 200 obtains a shutdown command, the drive motor 210 can be first controlled to be in the first state, that is, the wheel 220 is first put into a freely rotatable state before the vehicle 200 is shut down, so as to detect whether the wheel 220 rotates in the freely rotatable state, and then control the drive motor 210 to switch between the first state and the second state.
[0060] In a possible implementation, the above step S301 specifically includes: when the drive motor 210 is in the first state and the vehicle 200 meets the braking condition, controlling the drive motor 210 to switch from the first state to the second state; when the drive motor 210 is in the second state and the vehicle 200 meets the wheel release condition, controlling the drive motor 210 to switch from the second state to the first state.
[0061] The braking condition refers to a condition that requires the vehicle 200 to be decelerated, and may include at least one of the following:
[0062] (1) The duration of the driving motor 210 being in the first state is greater than or equal to a first duration threshold;
[0063] (2) The speed corresponding to the vehicle 200 is greater than or equal to the second speed threshold.
[0064] Among them, the first duration threshold and the second speed threshold can be set according to actual usage requirements, and this application does not limit this.
[0065] Optionally, the speed corresponding to the above-mentioned vehicle 200 can be the speed of the vehicle 200 or the rotation speed of the wheel 220, which is not limited in the present application.
[0066] It should be understood that there is a simple mathematical relationship between the vehicle speed and the rotation speed of the wheel 220, and the vehicle speed can be calculated by the diameter and rotation speed of the wheel 220. For example, assuming that the diameter of the wheel 220 is D, in meters, and the rotation speed of the wheel 220 is RPM (Revolutions Per Minute), the vehicle speed V can be calculated by the following formula:
[0067] V=π×D×RPM×60
[0068] Wherein, π is the ratio of a circle to a circle, and 60 is a conversion factor for converting the rotation speed from revolutions per minute to revolutions per hour. The derivation of this formula is based on the relationship between the circumference of the wheel 220 and the vehicle speed, that is, the distance traveled per minute by the wheel 220 is equal to the circumference of the wheel 220 multiplied by the rotation speed, and the circumference of the wheel 220 is equal to the diameter of the wheel 220×π.
[0069] Optionally, the speed corresponding to the vehicle 200 may be detected by a sensor, which may be a magnetic encoder, a photoelectric sensor or other types of sensors, and corresponding sensors may be installed for some or all of the wheels 220 of the vehicle 200, which are not specifically limited in this application.
[0070] For example, assuming that a magnetic encoder is used, the principle of detecting whether the wheel 220 is rotating by the magnetic encoder is to install a magnet on the wheel 220. When the wheel 220 rotates, the magnet also rotates. The magnetic encoder can detect the change in the magnetic field, thereby determining whether the wheel 220 is rotating. This method can be used to measure the rotation speed of the wheel 220, and then calculate the speed of the vehicle 200.
[0071] For another example, assuming that a photoelectric sensor is used, the photoelectric sensor can measure the rotation speed of the wheel 220 by detecting a reflective mark installed on the wheel 220. When the mark or encoder passes through the photoelectric sensor, a signal change will occur, so that the rotation speed of the wheel 220 can be calculated.
[0072] Optionally, a sensor may be used to detect the speed of the vehicle 200 or the rotation speed of the wheel 220 within a second time threshold. The second time threshold is smaller than the first time threshold, so that when the sensor detects the speed of the vehicle 200 or the rotation speed of the wheel 220, the braking condition is not triggered.
[0073] For example, assuming that the first duration threshold is set to 15 seconds, the second duration threshold is set to 10 seconds, and the first speed threshold is 0.01 rpm (revolutions per minute), when the vehicle 200 receives the shutdown command, the vehicle 200 controls the drive motor 210 to be in the first state so that the wheel 220 is in a freely rotatable state, and the sensor starts to detect the rotation speed of the wheel 220.
[0074] If the rotation speed of the wheel 220 is greater than or equal to 0.01 rpm within 10 consecutive seconds, it means that the wheel 220 is rotating. Then, when the driving motor 210 is in the first state for 15 seconds, the braking condition is met, so the driving motor 210 is controlled to switch from the first state to the second state.
[0075] If the rotation speed of the wheel 220 is detected to be less than 0.01rpm within 10 consecutive seconds, it means that the wheel 220 is not rotating. At this time, the shutdown condition in step S302 is met "the drive motor 210 is in the first state and the corresponding speed of the vehicle 200 is less than or equal to the first speed threshold", so the vehicle 200 is controlled to shut down.
[0076] The wheel release condition refers to a condition under which the control of the wheel 220 needs to be stopped so that the wheel 220 can enter a freely rotatable state, which may include at least one of the following:
[0077] (1) The time duration of the driving motor 210 being in the second state is greater than or equal to the second time duration threshold;
[0078] (2) The speed corresponding to the vehicle 200 is less than or equal to the third speed threshold.
[0079] Among them, the first duration threshold and the second speed threshold can be set according to actual usage requirements, and this application does not limit this.
[0080] Optionally, the third speed threshold in the wheel release condition is less than the second speed threshold in the braking condition.
[0081] For example, assume that the first speed threshold is set to 30 rpm (revolutions per minute) and the second speed threshold is set to 10 rpm. When the vehicle 200 receives the shutdown command, the vehicle 200 controls the drive motor 210 to be in the first state so that the wheel 220 is in a freely rotatable state, and the sensor begins to detect the rotation speed of the wheel 220. If it is detected that the rotation speed of the wheel 220 is greater than 30 rpm, then the current vehicle 200 meets the braking condition, so the drive motor 210 is controlled to be in the second state, and then the wheel 220 is in a controlled state and starts to decelerate. Subsequently, when the sensor detects that the rotation speed of the wheel 220 is reduced to 10 rpm, the wheel release condition is met, so the drive motor 210 is controlled to switch from the second state to the first state.
[0082] Optionally, when the vehicle 200 obtains the shutdown command, in addition to controlling the drive motor 210 to switch between the first state and the second state, the cutter disc of the vehicle 200 can also be controlled to descend, and the cutter disc can abut the ground after descending, so that the vehicle 200 stops. Regarding the degree of descent of the cutter disc, the descent time, etc., this application does not make specific restrictions, and can be adjusted according to usage requirements. For example, when the vehicle 200 obtains the shutdown command, the cutter disc is first controlled to descend to abut the ground. If the vehicle 200 can stop at this time (by detecting the corresponding speed of the vehicle 200), the vehicle 200 can be controlled to shut down. If the vehicle 200 does not stop, the drive motor 210 can be controlled to switch between the first state and the second state until the drive motor 210 is in the first state (that is, the wheel 220 is in a freely rotatable state) and the corresponding speed of the vehicle 200 is less than or equal to the first speed threshold, the vehicle 200 will be controlled to shut down.
[0083] S302 : When the driving motor 210 is in the first state and the corresponding speed of the vehicle 200 is less than or equal to the first speed threshold, control the vehicle 200 to shut down.
[0084] The first speed threshold is not specifically limited in this application and can be reasonably set according to actual use requirements. It should be understood that after the vehicle 200 is turned off, neither the braking condition nor the wheel release condition in step S302 will be triggered, and the drive motor 210 will no longer switch between the first state and the second state.
[0085] For example, the first speed threshold can be set to 0. At this time, if the drive motor 210 is in the first state (meaning that the wheel 220 is in a freely rotatable state) and the corresponding speed of the vehicle 200 is equal to 0 (meaning that the vehicle 200 is not moving and the wheel 220 is not rotating), then the vehicle 200 can be controlled to shut down, so that the vehicle 200 can be safely shut down without any safety hazards.
[0086] For another example, the first speed threshold may be set to a value slightly greater than 0 (such as 0.01 rpm). If the rotation speed of the wheel 220 is detected to be less than or equal to the first speed threshold, the vehicle speed is relatively slow, so it has little impact on surrounding people or objects, and people can avoid it in time. At this time, the vehicle 200 can be controlled to shut down.
[0087] In summary, in the vehicle 200 control method provided in the present application, when the vehicle 200 obtains the shutdown command, the driving motor 210 is controlled to switch between the first state and the second state (that is, the wheel 220 switches between the freely rotatable state and the controlled state) to control the corresponding speed of the vehicle 200 (the speed of the vehicle 200 or the rotation speed of the wheel 220). The vehicle 200 will not be controlled to shut down until the driving motor 210 is in the first state and the corresponding speed of the vehicle 200 is less than or equal to the first speed threshold (indicating that the vehicle 200 is in a relatively flat position), thereby ensuring the safety of the vehicle 200 after shutting down, and avoiding various risks that may occur due to the shutdown of the vehicle 200 on a slope (such as the risk of sliding down the slope, or the risk of colliding with surrounding people or objects, etc.).
[0088] The present application also provides a vehicle control device 400 , including an acquisition module 410 and a control module 420 .
[0089] The acquisition module 410 is used to acquire a shutdown instruction, where the shutdown instruction is used to instruct the vehicle 200 to shut down.
[0090] The control module 420 is used to: when the acquisition module 410 obtains the shutdown command, control the drive motor 210 of the vehicle 200 to switch between the first state and the second state, wherein the first state is that the drive motor 210 has no power output to the wheel 220, and the second state is that the drive motor 210 has power output to the wheel 220.
[0091] The control module 420 is further configured to control the vehicle 200 to shut down when the drive motor 210 is in the first state and the corresponding speed of the vehicle 200 is less than or equal to a first speed threshold.
[0092] Optionally, the control module 420 is specifically used to: when the drive motor 210 is in the first state and the vehicle 200 meets the braking condition, control the drive motor 210 to switch from the first state to the second state; when the drive motor 210 is in the second state and the vehicle 200 meets the wheel release condition, control the drive motor 210 to switch from the second state to the first state.
[0093] Optionally, the braking condition includes at least one of the following:
[0094] 1) The duration of the driving motor 210 being in the first state is greater than or equal to the first duration threshold;
[0095] 2) The speed corresponding to the vehicle 200 is greater than or equal to the second speed threshold.
[0096] Optionally, the speed corresponding to the vehicle 200 is detected by a sensor within a second time threshold, and the second time threshold is smaller than the first time threshold.
[0097] Optionally, the wheel release condition includes at least one of the following:
[0098] 1) The duration of the driving motor 210 being in the second state is greater than or equal to a third duration threshold;
[0099] 2) The speed of the vehicle 200 is less than or equal to the third speed threshold.
[0100] Optionally, the speed corresponding to the vehicle 200 is the vehicle speed of the vehicle 200 or the rotation speed of the wheel 220 .
[0101] Optionally, the direction of the power output by the driving motor 210 to the wheel 220 in the second state is the same as or opposite to the direction of rotation of the wheel 220 .
[0102] Optionally, before the control module 420 controls the drive motor 210 to switch between the first state and the second state, the control module 420 is further configured to: when the vehicle 200 obtains a shutdown instruction, control the drive motor 210 to enter the first state.
[0103] Optionally, the vehicle 200 further includes a cutter disc. Before the control module 420 controls the drive motor 210 to switch between the first state and the second state, the control module 420 is further used to control the cutter disc to descend when the vehicle 200 obtains a shutdown command.
[0104] It should be noted that Figure 4 The vehicle control device 400 is only divided into an acquisition module 410 and a control module 420 according to functions. In fact, Figure 4The vehicle control device 400 may also include more or fewer modules. For example, a module above may be split into multiple functional modules, or two or more modules above may be combined into one functional module. Figure 4 Other functional modules may be added to the vehicle control device 400, which is not limited in the present application. The acquisition module 410 and the control module 420 may be implemented by software or by hardware.
[0105] It should also be noted that the vehicle control device 400 can be deployed in the vehicle 200 described above to control the vehicle 200 to perform Figure 3 For the vehicle control method, please refer to the previous introduction and will not be repeated here.
[0106] See also Figure 5 , the present application also provides another structural diagram of a vehicle 200, including a bus 502, a processor 504, a memory 506, and a communication interface 508. The processor 504, the memory 506, and the communication interface 508 communicate with each other via the bus 502. The present application also does not limit the number of processors 504 and memories 506 in the vehicle 200.
[0107] The bus 502 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5 The bus 502 may include a path for transmitting information between various components of the vehicle 200 (eg, the memory 506, the processor 504, and the communication interface 508).
[0108] The processor 504 may include any one or more of a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor (MP), or a digital signal processor (DSP).
[0109] The memory 506 may include a volatile memory, such as a random access memory (RAM). The processor 504 may also include a non-volatile memory, such as a read-only memory (ROM), a flash memory, a hard disk drive (HDD), or a solid state drive (SSD).
[0110] The memory 506 stores executable program codes. The processor 504 executes the executable program codes to respectively implement Figure 4 The functions of the acquisition module 410 and the control module 420 in the present application are implemented Figure 3 The operating steps in the vehicle control method.
[0111] The communication interface 508 uses a transceiver module such as, but not limited to, a network interface card or a transceiver to implement communication between the vehicle 200 and other devices or a communication network.
[0112] The present application also provides another vehicle 200, which includes a drive motor 210 and a wheel 220. The vehicle 200 may correspond to Figure 2 The vehicle 200 is used to perform Figure 3 The vehicle control method of the embodiment can be specifically referred to Figure 2 and Figure 3 The introduction of is not repeated here.
[0113] The present application also provides a computer-readable storage medium. The computer-readable storage medium can be any available medium that can be stored / used by the vehicle 200. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk). The computer-readable storage medium includes instructions, which are specifically used to instruct the vehicle 200 to execute Figure 3 A vehicle control method according to an embodiment.
[0114] The present application also provides a computer program product including instructions. The computer program product may be a software or program product including instructions that can be run on the vehicle 200 or stored in any available medium. When the computer program product is run on the vehicle 200, the vehicle 200 executes Figure 3 A vehicle control method according to an embodiment.
[0115] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify or arbitrarily combine the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the protection scope of the technical solutions of the embodiments of the present application.
Claims
1. A vehicle control method, characterized in that: The vehicle comprises a drive motor and wheels, and the method comprises: When the vehicle obtains a shutdown instruction, controlling the drive motor to switch between a first state and a second state, wherein the first state is that the drive motor has no power output to the wheel, and the second state is that the drive motor has power output to the wheel; When the drive motor is in the first state and the corresponding speed of the vehicle is less than or equal to a first speed threshold, the vehicle is controlled to shut down.
2. The method according to claim 1, characterized in that The controlling the driving motor to switch between the first state and the second state comprises: When the drive motor is in the first state and the vehicle meets a braking condition, controlling the drive motor to switch from the first state to the second state; When the drive motor is in the second state and the vehicle satisfies a wheel release condition, the drive motor is controlled to switch from the second state to the first state.
3. The method according to claim 2, characterized in that The braking condition includes at least one of the following: The duration of the driving motor being in the first state is greater than or equal to a first duration threshold; The speed corresponding to the vehicle is greater than or equal to a second speed threshold.
4. The method according to claim 3, characterized in that The speed corresponding to the vehicle is detected by a sensor within a second time threshold, and the second time threshold is smaller than the first time threshold.
5. The method according to any one of claims 2 to 4, characterized in that The wheel release condition includes at least one of the following: The duration of the drive motor being in the second state is greater than or equal to a third duration threshold; The speed corresponding to the vehicle is less than or equal to a third speed threshold.
6. The method according to any one of claims 1 to 5, characterized in that The speed corresponding to the vehicle is the vehicle speed or the rotation speed of the wheel.
7. The method according to any one of claims 1 to 6, characterized in that The direction of the power output by the driving motor to the wheels in the second state is the same as or opposite to the direction of rotation of the wheels.
8. The method according to any one of claims 1 to 7, characterized in that Before controlling the drive motor to switch between the first state and the second state, the method further includes: When the vehicle obtains the shutdown instruction, the drive motor is controlled to enter the first state.
9. The method according to any one of claims 1 to 8, characterized in that The vehicle further includes a cutter disc, and before controlling the drive motor to switch between the first state and the second state, the method further includes: When the vehicle obtains the shutdown instruction, the cutter disc is controlled to descend.
10. A vehicle, characterized in that: The vehicle comprises a drive motor and wheels, and the vehicle is used to perform the method according to any one of claims 1 to 9.
11. A computer program product comprising instructions, characterized in that When the instructions are executed on a vehicle, the vehicle is caused to execute the method according to any one of claims 1 to 9.
12. A computer-readable storage medium, characterized in that: The method comprises computer program instructions which, when executed by a vehicle, cause the vehicle to perform the method as claimed in any one of claims 1 to 9.
Citation Information
Cited By
Parking control method and related equipment
CN118749292A
A parking control method and related device
CN118749292B
Parking control method and related device
WO2026021240A1
Vehicle control method, vehicle, computer program product, and storage medium
WO2026021418A1
