Vehicle control method and device
By automatically controlling the convertible to close when the lock command is responded, the property safety problem caused by the user forgetting to close the convertible is solved, and the user experience and property safety are improved.
Patent Information
- Application Number
- CN202410385184.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-29
- Publication Date
- 2025-04-04
AI Technical Summary
When locking the car, users are prone to forget to close the vehicle's convertible, resulting in property safety issues.
By detecting a locking command, the command is responded and the convertible is closed, thereby ensuring that the convertible is closed while locking the car.
It realizes automatic closing of the convertible when locking the car, improving the user's property safety and user experience, and reducing human operation errors.
Smart Images

Figure CN119749460A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle automatic control, and in particular to a vehicle control method and device. Background Art
[0002] As people's living standards improve, more and more people choose to buy convertible sports cars. Currently, when locking the car, users do not necessarily care whether the convertible is closed. It is very easy for them to forget to close the convertible before leaving or the convertible is not closed properly, thus causing property safety problems for users. Summary of the invention
[0003] The embodiments of the present application provide a vehicle control method and device to achieve the function of closing the vehicle convertible while locking the vehicle, which is beneficial to protecting the property safety of the user.
[0004] In a first aspect, an embodiment of the present application provides a vehicle control method, including:
[0005] A vehicle lock command is detected; in response to the vehicle lock command, the convertible top is controlled to close.
[0006] It can be seen that by controlling the vehicle convertible to close while locking the vehicle in response to a lock command, the function of closing the vehicle convertible while locking the vehicle is achieved, which is beneficial to protecting the user's property safety and improving the user experience.
[0007] In combination with the first aspect, in a possible implementation, controlling the convertible to close includes: obtaining a working state of the convertible; determining a control strategy for the convertible according to the working state of the convertible; and controlling the convertible to close based on the control strategy.
[0008] In combination with the first aspect, in a possible implementation, obtaining the working status of the convertible includes: obtaining the motion state and position information of the convertible; when the motion state is that the convertible is in a stationary state and the position information indicates that the convertible is in a fully closed position, the working status of the convertible is a closed state; when the motion state is an open convertible state, the working status of the convertible is an open execution state; when the motion state is a closed convertible state, the working status of the convertible is a closed execution state.
[0009] By obtaining the motion state and position information of the vehicle, the current working state of the vehicle convertible is determined, which is conducive to subsequently determining the control strategy of the vehicle convertible in the current working state according to the different working states of the vehicle, and is conducive to improving the intelligence level of the vehicle.
[0010] In combination with the first aspect, in a possible implementation manner, the acquired motion state and position information includes: motion state and position information determined according to a rotation speed and a rotation direction of the motor.
[0011] The rotation speed and rotation direction of the motor used for driving are determined based on the signal detected by the Hall sensor set in the motor.
[0012] The position information and motion state determined by the signal detected by the Hall sensor arranged in the motor is conducive to improving the accuracy of the vehicle in obtaining the position information and motion state and avoiding the influence of abnormal values.
[0013] In combination with the first aspect, in a possible implementation, when it is detected that the working state is in an open execution state, the control strategy of the convertible includes: controlling the convertible to stop moving in a second direction, and controlling the convertible to move in a first direction, wherein the second direction is the direction of opening the convertible, and the first direction is the direction of closing the convertible; when it is detected that the working state is in an unclosed state, the control strategy of the convertible includes: controlling the convertible to move in the first direction; when it is detected that the working state is in a closed state or a closed execution state, the control strategy of the convertible includes: controlling the convertible to keep the working state unchanged.
[0014] The current working state of the convertible is determined based on the acquired motion state and position information, and the convertible control strategy is formulated and implemented. On the one hand, the vehicle can accurately obtain the working state of the convertible based on the current motion state and position information of the convertible, and on the other hand, the vehicle can intelligently formulate a control strategy based on the working state of the convertible, thereby realizing the combination of vehicle intelligence and accuracy and improving the user experience.
[0015] In combination with the first aspect, in a possible implementation, if it is detected that there is an obstacle on the path of the convertible moving in the first direction, the convertible is controlled to stop moving in the first direction, and the convertible is controlled to move a target distance in the second direction.
[0016] When an obstacle is detected on the path where the convertible top moves in the first direction, the convertible top is controlled to stop moving in the first direction and open a certain distance, thereby ensuring that the convertible top and the obstacle will not be damaged due to collision, thereby meeting the property safety needs of the user.
[0017] In combination with the first aspect, in a possible implementation, during the process of controlling movement in the first direction, when it is detected that the driving current of the motor exceeds the stall threshold, the motor is controlled to stop running, and then the motor is controlled to reverse.
[0018] When it is detected that the driving current of the motor exceeds the stall threshold, the motor is controlled to stop running, which can ensure that the motor is not damaged; then the motor is controlled to reverse and open a certain distance, so as to facilitate the removal of foreign objects or obstacles when they are clamped.
[0019] In combination with the first aspect, in a possible implementation, the vehicle control method further includes: when a vehicle locking instruction is detected, if the vehicle has not entered an anti-theft locking state, executing an operation of controlling the convertible to close.
[0020] When a vehicle locking command is detected, whether to execute the operation of controlling the convertible to close is determined by judging whether the vehicle has entered an anti-theft locking state. When it is determined that the vehicle has entered an anti-theft locking state, there is no need to execute the operation of controlling the convertible to close. Repeated execution of the operation of controlling the convertible to close can be avoided, which is beneficial to improving the intelligence of the vehicle convertible control and improving the user experience.
[0021] In a second aspect, an embodiment of the present application provides a vehicle control device, the device comprising:
[0022] A detection module, used for detecting a vehicle locking instruction for the vehicle;
[0023] The execution module is used to respond to the vehicle locking command and control the convertible to close.
[0024] In a third aspect, an embodiment of the present application provides a vehicle control device, the device comprising:
[0025] A memory, a processor, and a vehicle control program stored in the memory and executable on the processor, wherein the vehicle control program is configured to implement part or all of the steps described in any method in the first aspect.
[0026] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a vehicle control program is stored. When the vehicle control program is executed by a processor, some or all of the steps described in any method in the first aspect are implemented.
[0027] In a fifth aspect, an embodiment of the present application provides a computer program product, wherein the computer program product includes a computer program, and the computer program is operable to cause a computer to execute some or all of the steps described in any method of the first aspect of the embodiment of the present application. The computer program product can be a software installation package.
[0028] By implementing the embodiments of the present application, a vehicle locking command is detected, and when the vehicle is locked in response to the vehicle locking command, the convertible is controlled to close at the same time, thereby realizing the function of closing the vehicle convertible while locking the vehicle, meeting the user's property safety needs, simplifying the manual operation steps, and greatly improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the background technology, the drawings required for use in the embodiments of the present application or the background technology will be described below.
[0030] Figure 1is a schematic diagram of a system architecture of a vehicle control method provided in an embodiment of the present application;
[0031] Figure 2 is a flow chart of a vehicle control method provided by an embodiment of the present application;
[0032] Figure 3 is a flow chart of another vehicle control method provided by an embodiment of the present application;
[0033] Figure 4 is a flow chart of a method for implementing the anti-pinch function provided in an embodiment of the present application;
[0034] Figure 5 is a structural schematic diagram of a vehicle control device provided in an embodiment of the present application;
[0035] Figure 6 It is a schematic diagram of the structure of another vehicle control device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0036] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0037] The terms "first", "second", "third", etc. in the specification, claims and drawings of this application are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.
[0038] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0039] As people's living standards improve, more and more people choose to buy convertible sports cars. Currently, when locking the car, users do not necessarily care whether the convertible is closed. It is very easy for them to forget to close the convertible before leaving or the convertible is not closed properly, thus causing property safety problems for users.
[0040] In response to the above problems, an embodiment of the present application provides a vehicle control method, which is applied to a domain controller of a vehicle. The domain controller first detects a vehicle locking command for the vehicle; then responds to the vehicle locking command to control the convertible to close, thereby realizing the function of closing the vehicle convertible while locking the vehicle, meeting the user's property safety needs, simplifying the manual operation steps, and greatly improving the user experience.
[0041] See also Figure 1 , Figure 1 It is a system architecture diagram of a vehicle control method provided in an embodiment of the present application. The system of the vehicle includes a domain control 101, a motor group 102, a convertible lock 103, a storage cover lock 104, a micro switch 105, a remote control key 106, a near field communication (NFC) 107, a terminal device 108, a left / right convertible strut motor 109, a left / right rear window strut motor 110, and a left / right storage box strut motor 111.
[0042] Among them, the domain control 101 is installed in the vehicle and interacts with the whole vehicle through the CAN line. It is used to analyze and process the signal request of the locking system and provide power output for the motor group 102 used to open the convertible system. The motor group 102 includes the left / right convertible strut motor 109, the left / right rear window strut motor 110 and the left / right storage box strut motor 111, which are used to receive the command of the domain control 101 and drive the vehicle convertible to open or close; the convertible lock 103 is installed at the junction of the upper soft top and the front window frame, and is used to close the internal switch of the soft top, so that the soft top convertible is in a locked state, and the state is reflected to the domain control 101; the storage cover lock 104 is installed at the junction of the upper storage cover and the rear frame of the car, and the locking state is reflected to the domain control 101; the micro switch 105 is installed on the outside of the door handle, and is used to transmit the switch lock signal, and interacts with the domain control 101 through a hard line; the remote control key 106 is carried by the user and controlled by the whole vehicle The key detection antenna feeds back the key position to the domain control 101; NFC107, installed on the outside of the vehicle body, can receive the switch lock signal and feed back the signal to the domain control 101; the terminal device 108, carried by the user, and sends the automatic switch lock signal to the domain control 101 through the wireless module of the terminal device; optionally, the terminal device 108 is a smart phone, a smart watch, a smart bracelet, a tablet computer or other devices; the wireless module is a WiFi module, a Bluetooth module or other wireless modules; the left / right convertible strut motor 109 is buried in a circle around the front soft top and connected to the convertible cloth; the left / right rear window strut motor 110 is installed on both sides of the rear of the soft top; the left / right storage box strut motor 111 is installed on both sides of the storage cover.
[0043] Based on this, the present application provides a vehicle control method, which is described in detail below in conjunction with the accompanying drawings.
[0044] See also Figure 2 , Figure 2 is a flow chart of a vehicle control method provided by an embodiment of the present application, such as Figure 2 As shown, the method comprises the following steps:
[0045] S201, the control device detects a vehicle locking instruction for the vehicle;
[0046] S202, the control device responds to the vehicle locking instruction and controls the convertible to close.
[0047] The control device is Figure 1The domain controller 101 or a module in the domain controller 101. The domain controller detects the vehicle locking command in real time, which may be a wireless signal sent by a remote control key carried by the user, a door closing signal detected by a micro switch on the outside of the vehicle door handle, an interactive signal detected by an NFC module installed on the outside of the vehicle body, or a vehicle locking signal sent by a user's mobile phone, wherein the interactive signal refers to a signal detected when the user's terminal device 108 or NFC card is close to the NCF module.
[0048] Among them, the car locking command has two functions: locking the car and closing the convertible. When responding to the car locking command, the control device performs the car locking operation and the convertible closing operation.
[0049] Among them, the control device performs the convertible closing operation, specifically controls the motor group to control the vehicle convertible to close. Specifically, the control device first controls the left / right rear window support rod motor to operate to make room for the left / right storage box support rod motor, then controls the left / right storage box support rod motor to operate to support the storage cover of the convertible at the rear of the vehicle to open, and finally controls the left / right convertible support rod motor and the left / right rear window support rod motor to operate synchronously to close the convertible, wherein the left / right convertible support rod motor is used to control the front of the vehicle convertible to close and present a Z shape, and the left / right rear window support rod motor is used to control the rear of the vehicle convertible to close and fit with the storage cover.
[0050] It can be seen that in this example, by locking the vehicle in response to a locking command and controlling the vehicle convertible to close at the same time, the function of closing the vehicle convertible while locking the vehicle is achieved, which is beneficial to protecting the user's property safety and improving the user experience.
[0051] In a possible implementation, controlling the convertible to close includes the following steps:
[0052] The control device obtains the working state of the convertible, and determines a control strategy of the convertible based on the working state of the convertible. The control device controls the convertible to close based on the control strategy.
[0053] The control device may determine the current working state of the convertible through the current position information of the convertible and the current movement state of the convertible.
[0054] Specifically, the control device obtains the motion state and position information of the convertible, wherein the motion state includes an open convertible state, a closed convertible state or a convertible stationary state, and the position information is used to indicate whether the convertible is in a partially closed position or a fully closed position; and determines the working state of the convertible based on the motion state and the position information.
[0055] Among them, the movement state of the convertible is used to characterize the current movement of the convertible. For example, when the movement state of the convertible is the open convertible state, it means that the vehicle convertible is opening. For another example, when the movement state of the convertible is the closed convertible state, it means that the vehicle convertible is closing. For another example, when the movement state of the convertible is the convertible stationary state, it means that the vehicle convertible is not moving.
[0056] When the convertible position information indicates that the convertible is in a not completely closed position, it means that the convertible is in a completely open position or an intermediate position.
[0057] It can be seen that in this example, the motion state and position information of the convertible are obtained to determine the control strategy of the convertible to close the convertible. Different control strategies can be formulated to complete the convertible closing operation when the convertible is in different working states, which is conducive to realizing the function of closing the vehicle convertible while locking the vehicle, and is conducive to improving the intelligent experience of the vehicle.
[0058] In a possible implementation, obtaining the motion state and position information of the convertible includes: the control device determines the motion state and position information of the convertible according to the rotation speed and rotation direction of the motor.
[0059] Among them, the motor is used to drive the movement of the convertible. One or more Hall sensors are provided in the motor. By acquiring the Hall signal of the Hall sensor within a fixed time, the Hall signal can characterize the rotation speed and direction of the motor. Specifically, the Hall signal is manifested as a high-low level flip jump. For example, the Hall signal flips once when the motor rotates one circle. The rotation speed and direction of the motor within a period of time can be obtained through the speed and direction of the Hall signal level flip.
[0060] Specifically, the control device determines whether the motor is rotating by the rotation speed of the motor. For example, when the rotation speed of the motor is 0, the control device determines that the convertible is not moving, and the motion state of the convertible is the convertible static state. When the rotation speed of the motor is not 0, the control device determines the motion direction of the convertible based on the rotation direction of the motor, and then determines the current motion state of the convertible. For example, when the motor rotates forward, the motion state of the convertible is the open state; when the motor rotates reversely, the motion state of the convertible is the closed state.
[0061] The control device obtains the position information of the convertible based on the rotation speed, rotation direction and motor movement time of the motor. For example, when the motor is working, the control device obtains the position change information of the convertible based on the rotation speed, rotation direction and rotation time of the motor, and then determines the position information of the convertible. Of course, the position information of the convertible can also be obtained by other means, such as through a convertible position sensor.
[0062] It can be seen that in this example, the control device uses the Hall sensor set in the motor to detect the position information and movement state of the convertible, which is conducive to improving the accuracy of the vehicle in obtaining the position information and movement state of the convertible and avoiding the influence of abnormal values. At the same time, the Hall sensor is small in size and can measure and collect the current and voltage of any waveform. It has a good linear working environment, which is conducive to achieving the combination of vehicle convenience and accuracy.
[0063] In one possible implementation, when the motion state is the convertible stationary state and the position information indicates that the convertible is in a not fully closed position, the working state of the convertible is determined to be an unclosed state; when the motion state is the convertible stationary state and the position information indicates that the convertible is in a fully closed position, the working state of the convertible is determined to be a closed state; when the motion state is the convertible opening state, the working state of the convertible is determined to be an open execution state; when the motion state is the convertible closing state, the working state of the convertible is determined to be a closed execution state.
[0064] Among them, when it is detected that the working state is in the open execution state, the control strategy of the convertible includes: controlling the convertible to stop moving in the second direction, and controlling the convertible to move in the first direction after a target time interval, wherein the second direction is the direction of opening the convertible, and the first direction is the direction of closing the convertible; when it is detected that the working state is in the unclosed state, the control strategy of the convertible includes: controlling the convertible to move in the first direction; when it is detected that the working state is in the closed state or the closed execution state, the control strategy of the convertible includes: controlling the convertible to keep the working state unchanged.
[0065] The target time may be 300ms, 500ms or 1s, and there is no restriction on the target time.
[0066] It can be seen that in this example, the current working state of the vehicle convertible is determined by obtaining the vehicle's motion state and position information, which is conducive to subsequently determining the control strategy of the vehicle convertible in the current working state according to the different working states of the vehicle, which is conducive to improving the intelligence level of the vehicle and improving the user experience.
[0067] In a possible implementation, the vehicle control method further includes:
[0068] When the control device is controlling the convertible to move in the first direction, if it detects that the working state is in the closed state, the control device controls the convertible to maintain the working state unchanged; when the control device detects that the working state is not in the closed state, the control device continues to control the convertible to move in the first direction until the convertible is in the closed state. When controlling the convertible to move in the first direction, the control device can adjust the closing angle and closing speed of the convertible.
[0069] In one example, the domain controller obtains information of a convertible lock provided on the outside of the vehicle, and determines whether the convertible is completely closed based on the information.
[0070] It can be seen that in this example, by detecting the real-time movement state of the convertible and controlling the convertible movement to complete the closing operation, the user experience can be improved and the user's property safety needs can be met.
[0071] In a possible implementation, when closing the convertible, there may be a situation where the convertible is caught by foreign objects or obstacles. To prevent this situation, please refer to Figure 4 , Figure 4 is a flow chart of the implementation method of the anti-pinch function provided in the embodiment of the present application, such as Figure 4 As shown, the vehicle control method also includes:
[0072] S2031, the control device detects the driving current of the motor during the process of controlling the convertible to move in the first direction;
[0073] S2032, when the control device detects that the driving current of the motor exceeds the stall threshold, it controls the motor to stop running and controls the motor to reverse.
[0074] S2033, the control device controls the vehicle to issue a warning message to remind the user that the convertible top of the vehicle is not closed.
[0075] The stall threshold is a current value preset by the domain controller. The stall threshold is used to determine whether an obstacle is encountered during the process of closing the convertible. For example, when an obstacle is encountered during the process of closing the convertible, the resistance to closing the convertible becomes larger, the load torque of the motor increases, and the drive current becomes larger. When the drive current exceeds the stall threshold, the control device controls the motor to stop running, and then controls the motor to reverse the target angle to control the convertible to open a certain distance. The target angle is a small angle, which can be 5 degrees or 10 degrees, and there is no limit on the target angle.
[0076] Among them, the warning information can be the lighting information of the vehicle display terminal, the lighting information of the vehicle's outer lighting, the voice information played by the vehicle's voice module, the whistle sound emitted by the vehicle's horn and / or the information sent to the mobile device held by the user. By issuing the warning information, it is easier for the user to notice that foreign objects are clamped in the convertible.
[0077] It can be seen that in this example, by setting the stall threshold and comparing it with the driving current of the motor, the convertible can have an anti-pinch function during the closing process to protect the user's personal safety. At the same time, when it is detected that the driving current of the motor exceeds the stall threshold, the motor is controlled to stop running to ensure that the motor is not damaged; then the motor is controlled to reverse, so that the convertible opens a certain distance, and then foreign objects are easily removed when the convertible clamps them.
[0078] In a possible implementation, the vehicle control method further includes: if the control device detects that there is an obstacle on the path of the convertible moving in the first direction, controlling the convertible to stop moving in the first direction and controlling the convertible to move a target distance in the second direction.
[0079] The target distance may be 10 cm, 15 cm or 20 cm, and there is no restriction on the target distance.
[0080] Specifically, the control device can obtain sensor information through a sensor installed on the convertible of the vehicle, and determine whether there is an obstacle on the path of the convertible of the vehicle moving in the first direction based on the sensor information; when the control device detects the presence of an obstacle, it controls the motor to stop running and controls the motor to reverse to a target angle.
[0081] The sensor may be an infrared sensor or a pressure sensor, and the sensor is not limited here.
[0082] Among them, the sensor information obtained by the infrared sensor is the time when the infrared sensor sends and receives the same reflected infrared ray. Specifically, the propagation time of the infrared ray is determined by the sending time and receiving time of the same infrared ray, and then the distance between the current position of the convertible and the fully closed position is obtained based on the product of the propagation time of the infrared ray and the propagation speed of the infrared ray. When the distance decreases at a uniform speed, it indicates that there is no obstacle. When the distance suddenly decreases significantly, it indicates that there is an obstacle.
[0083] Among them, the sensor information obtained by the pressure sensor is the magnitude of the force applied during the convertible closing process. Specifically, when the force applied during the convertible closing process is less than the pressure threshold, it indicates that there is no obstacle. When the force applied during the convertible closing process is greater than or equal to the pressure threshold, it indicates that there is an obstacle.
[0084] Among them, one or more infrared sensors can be provided, and the infrared sensor can be provided at a position that can send and receive reflected infrared rays during the process of closing the convertible top of the vehicle.
[0085] The infrared sensor may also be replaced with other sensors that can also detect whether there is an obstacle during the convertible closing process, such as an ultrasonic sensor or a sensor using the photoelectric sensing principle.
[0086] It can be seen that in this example, the sensor installed on the convertible determines whether there is an obstacle on the path of closing the convertible. If it is determined that there is an obstacle, the anti-pinch function is achieved by opening the convertible for a certain distance, while preventing damage caused by collision between the convertible and the obstacle, thereby meeting the user's property safety needs.
[0087] In a possible implementation, the vehicle control method further includes:
[0088] When the control device detects the vehicle locking command, it determines whether the vehicle has entered the anti-theft locking state; if the vehicle has not entered the anti-theft locking state, it executes the operation of controlling the convertible to close.
[0089] It should be pointed out that in the scheme of the present application, when the vehicle has entered the anti-theft locking state, the vehicle has been locked and the convertible has been closed; before executing the control of closing the convertible, the convertible is determined whether it has been closed by judging whether the vehicle has entered the anti-theft locking state, thereby avoiding repeated execution of the operation of controlling the convertible to close.
[0090] It should be understood that whether the vehicle enters the anti-theft locking state is determined by whether the vehicle lock detects the vehicle lock signal. When the vehicle lock signal is detected, the vehicle enters the anti-theft locking state. At this time, the control device locks the vehicle and drives the motor to control the vehicle convertible to close.
[0091] It can be seen that in this example, by detecting the vehicle lock command and the vehicle lock signal through the domain controller to determine whether the vehicle needs to enter the locked state, repeated convertible operations can be avoided, which is beneficial to improving the intelligence of vehicle convertible control and improving user experience.
[0092] See also Figure 3 , Figure 3 is a flow chart of another vehicle control method provided by an embodiment of the present application, such as Figure 3 As shown, the process of the method includes:
[0093] S301, the control device continuously monitors the vehicle locking instruction.
[0094] The control device is Figure 1 The domain controller 101 or a module in the domain controller 101. The domain controller detects the vehicle locking command in real time, which may be a wireless signal sent by a remote control key carried by the user, a door closing signal detected by a micro switch on the outside of the vehicle door handle, an interactive signal detected by an NFC module installed on the outside of the vehicle body, or a vehicle locking signal sent by a user's mobile phone, wherein the interactive signal refers to a signal detected when the user's terminal device 108 or NFC card is close to the NCF module.
[0095] S302, the control device determines whether a vehicle locking instruction is detected.
[0096] When a vehicle locking instruction is detected, S303 is executed; when no vehicle locking instruction is detected, the process returns to S301 for execution.
[0097] S303, the control device determines whether to enter the anti-theft locking state.
[0098] When the vehicle has entered the anti-theft locking state, the process returns to S301 ; when the vehicle has not entered the anti-theft locking state, the process returns to S304 .
[0099] Among them, after the control device collects the vehicle locking command, it will determine whether the vehicle has entered the anti-theft locking state based on the vehicle lock signal. When it is detected that the vehicle has entered the anti-theft locking state, the control device will not perform the vehicle locking operation and convertible closing operation.
[0100] S304, the control device determines whether the convertible is completely closed.
[0101] When it is detected that the convertible is completely closed, the control device does not perform the convertible closing operation; when it is detected that the convertible is not completely closed, S305 is executed.
[0102] S305, the control device determines whether the convertible is in a hovering state or a fully opened state.
[0103] When it is detected that the convertible is in a hovering state or a fully opened state, the drive motor controls the convertible to close; when it is detected that the convertible is not in a hovering state, but in a closed state, step S306 is executed.
[0104] The working state of the convertible is determined by the motion state and position information of the convertible.
[0105] Specifically, when the motion state of the convertible is a stationary state and the position information is an intermediate position, the convertible is in a hovering state; when the motion state of the convertible is a stationary state and the position information is an open position, the convertible is in a fully open state.
[0106] S306, the control device determines whether the convertible is in an open convertible state.
[0107] When it is detected that the working state of the convertible is in the open convertible state, S307 is executed; when it is detected that the convertible is not in the open convertible state, the convertible closing operation is not executed, and the control device drives the motor to continue to execute the current action until the convertible is in the closed state, and then S309 is executed;
[0108] S307, the control device drives the motor to stop the current operation, and reverses after the target time to execute the convertible closing action.
[0109] The motion state of the convertible is used to characterize the current motion state of the convertible. For example, if the motion state of the convertible is an open convertible state, it means that the convertible of the vehicle is opening. For another example, if the motion state of the convertible is a closed convertible state, it means that the convertible of the vehicle is closing. For another example, if the motion state of the convertible is a static convertible state, it means that the convertible of the vehicle is not moving. Specifically, the motion state of the convertible is that the convertible moves in the second direction in the open convertible state, and the motion state of the convertible is that the convertible moves in the first direction in the closed convertible state.
[0110] S308, the control device determines whether the stall threshold is reached during the shutdown process.
[0111] When it is detected that the driving current exceeds the stall threshold value during the convertible closing process, the control device controls the convertible to stop the current action and drives the motor to reverse a small angle to open the convertible for a certain distance, and at the same time controls the vehicle to issue a warning message to remind the user that the convertible of the vehicle is not closed;
[0112] Among them, the warning information can be the lighting information of the vehicle display terminal, the lighting information of the vehicle's outer lighting, the voice information played by the vehicle's voice module, the whistle sound emitted by the vehicle's horn and / or the information sent to the mobile device held by the user. By issuing the warning information, it is easier for the user to notice that foreign objects are clamped in the convertible.
[0113] When it is detected that the driving current does not exceed the stall threshold value during the convertible closing process, S309 is executed;
[0114] Among them, the stall threshold is a current value preset by the domain controller. The stall threshold is used to determine whether an obstacle is encountered during the convertible closing process. When the current value exceeds the stall threshold, it indicates that an obstacle is encountered during the convertible closing process. When the current value does not exceed the stall threshold, it indicates that no obstacle is encountered during the convertible closing process.
[0115] The small reverse angle of the motor is a preset angle value, which may be 5 degrees or 10 degrees, and is not limited here.
[0116] S309, the control device determines whether it is detected that the convertible is completely closed.
[0117] When it is detected that the convertible is completely closed, S310 is executed; when it is detected that the convertible is not completely closed, the control device drives the motor to control the convertible to close.
[0118] S310, the control device drives the motor group to execute the convertible closing action.
[0119] It can be seen that in this example, by implementing this method, the function of closing the vehicle convertible while locking the vehicle is achieved, which meets the user's property safety needs, simplifies the manual operation steps, and greatly improves the user experience.
[0120] See also Figure 5 , Figure 5 is a schematic diagram of the structure of a vehicle control device provided in an embodiment of the present application, such as Figure 5 As shown, the control device 500 includes:
[0121] A detection module 501 is used to detect a vehicle locking instruction for the vehicle;
[0122] The execution module 502 is used to respond to the vehicle locking instruction and control the convertible to close.
[0123] In a possible implementation, the execution module 502 is specifically configured to:
[0124] Acquire the working state of the convertible; determine the control strategy of the convertible according to the working state of the convertible; and control the closing of the convertible based on the control strategy.
[0125] In a possible implementation, in terms of obtaining the working status of the convertible, the execution module 502 is specifically used to:
[0126] The motion state and position information of the convertible are obtained, wherein the motion state includes an open convertible state, a closed convertible state or a convertible stationary state, and the position information is used to indicate whether the convertible is in a partially closed position or a fully closed position; and the working state of the convertible is determined according to the motion state and the position information.
[0127] In a possible implementation, in terms of acquiring the motion state and position information of the convertible, the execution module 502 is specifically used to: determine the motion state and position information of the convertible according to the rotation speed and rotation direction of the motor.
[0128] In one possible implementation, when the motion state is the convertible stationary state and the position information indicates that the convertible is in a not fully closed position, the convertible's working state is an unclosed state; when the motion state is the convertible stationary state and the position information indicates that the convertible is in a fully closed position, the convertible's working state is a closed state; when the motion state is the convertible-opening state, the convertible's working state is an opening execution state; when the motion state is the convertible-closing state, the convertible's working state is a closing execution state.
[0129] In one possible implementation, in terms of detecting that the working state is in an open execution state, the execution module 502 is specifically used to: control the convertible to stop moving in the second direction, and control the convertible to move in the first direction after a target time interval, wherein the second direction is the direction of opening the convertible, and the first direction is the direction of closing the convertible; in the case of detecting that the working state is in an unclosed state, the control strategy of the convertible includes: controlling the convertible to move in the first direction; in the case of detecting that the working state is in a closed state or a closed execution state, the control strategy of the convertible includes: controlling the convertible to keep the working state unchanged.
[0130] In a possible implementation, the execution module 502 is further configured to control the convertible to stop moving in the first direction, and then control the convertible to move a target distance in the second direction if an obstacle is detected on the path of the convertible moving in the first direction.
[0131] In a possible implementation, the execution module 502 is further configured to: during the process of controlling the convertible to move in the first direction, when it is detected that the driving current of the motor exceeds a stall threshold, control the motor to stop running, and then control the motor to reverse.
[0132] In a possible implementation, the execution module 502 is further configured to: when it is detected that the driving current of the motor exceeds the stall threshold, control the vehicle to issue a warning message to remind the user that the convertible top of the vehicle is not closed.
[0133] In a possible implementation, the execution module 502 is further configured to: when a vehicle locking instruction is detected, if the vehicle has not entered an anti-theft locking state, execute an operation of controlling the convertible to close.
[0134] It is worth noting that the specific functional implementation of the vehicle control device 500 is shown in the above Figure 2 The description of the vehicle control method shown in the figure, for example, the detection module 501 is used to implement the relevant content of executing S201, and the execution module 502 is used to implement the relevant content of executing S202. The various units or modules in the vehicle control device 500 can be respectively or completely combined into one or several other units or modules to constitute, or one (some) of the units or modules can also be divided into multiple smaller units or modules in function to constitute, which can achieve the same operation without affecting the realization of the technical effects of the embodiments of the present invention. The above-mentioned units or modules are divided based on logical functions. In actual applications, the function of one unit (or module) is realized by multiple units (or modules), or the function of multiple units (or modules) is realized by one unit (or module).
[0135] Based on the description of the above method embodiments and related device embodiments, please refer to Figure 6 , Figure 6 is a schematic diagram of the structure of another vehicle control device provided in an embodiment of the present application, Figure 6 The control device 600 shown includes a processor 601 , a memory 602 , a communication interface 603 and a bus 604 . The processor 601 , the memory 602 , and the communication interface 603 are connected to each other through the bus 604 .
[0136] Optionally, the memory 602 is a ROM, a static storage device, a dynamic storage device or a RAM.
[0137] The memory 602 stores executable code. When the executable code stored in the memory 602 is executed by the processor 601, the processor 601 and the communication interface 603 are used to execute Figure 2 The various steps of the vehicle control method of the illustrated embodiment.
[0138] The processor 601 adopts a general-purpose CPU, a microprocessor, an application-specific integrated circuit ASIC, a GPU or one or more integrated circuits to execute relevant programs to execute the vehicle control method of the method embodiment of the present application.
[0139] The processor 601 can also be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the vehicle control method of the present application can be completed by the hardware integrated logic circuit in the processor 601 or the instruction in the form of software. Optionally, the processor 601 is a general-purpose processor, DSP, ASIC, FPGA or other programmable logic device, discrete gate or transistor logic device, discrete hardware component. The processor can implement or execute the methods, steps and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor is a microprocessor or the processor is any conventional processor, etc. The steps of the method disclosed in the embodiment of the present application can be directly embodied as a hardware decoding processor to execute, or the hardware and software modules in the decoding processor are combined to execute. The optional software module is located in a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register or other mature storage medium in the art. The storage medium is located in the memory 602, and the processor 601 reads the information in the memory 602, and combines its hardware to complete the functions required to be executed by the units included in the vehicle control device 500 of the embodiment of the present application, or executes the vehicle control method of the method embodiment of the present application.
[0140] The communication interface 603 uses a transceiver or other related device such as, but not limited to, a transceiver.
[0141] The bus 604 may include a path for transmitting information between the various components of the vehicle control device 600 (eg, the memory 602 , the processor 601 , and the communication interface 603 ).
[0142] It should be noted that although Figure 6 The vehicle control device 600 shown only shows a memory, a processor, and a communication interface, but in the specific implementation process, those skilled in the art should understand that the vehicle control device 600 also includes other devices necessary for normal operation. At the same time, based on specific needs, those skilled in the art should understand that the vehicle control device 600 may also include hardware devices for implementing other additional functions. In addition, those skilled in the art should understand that the vehicle control device 600 may also include only the devices necessary to implement the embodiments of the present application, and does not necessarily include Figure 6 All devices shown in .
[0143] An embodiment of the present application provides a computer-readable storage medium, in which a computer program for electronic data exchange is stored. The computer program includes execution instructions, and the execution instructions are used to execute part or all of the steps of any one of the vehicle control methods recorded in the above-mentioned vehicle control method embodiments. The above-mentioned computer includes an electronic terminal device.
[0144] An embodiment of the present application provides a computer program product, wherein the computer program product includes a computer program, and the computer program can be operated to enable a computer to perform part or all of the steps of any vehicle control method recorded in the above method embodiments. The computer program product can be a software installation package.
[0145] It should be noted that, for the sake of simplicity, the embodiments of any of the above-mentioned vehicle control methods are all described as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described action sequence, because according to the present application, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the present application.
[0146] The above is a detailed introduction to the embodiments of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of a vehicle control method and device of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for general technical personnel in this field, based on the idea of a vehicle control method and device of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
[0147] The present application is described with reference to the flowcharts and / or block diagrams of the methods, hardware products, and computer program products of the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0148] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 The memory may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0149] Although the present application is described herein in conjunction with various embodiments, in the process of implementing the claimed application, those skilled in the art may understand and implement other variations of the disclosed embodiments by viewing the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and "a" or "one" does not exclude multiple situations. Certain measures are recorded in different dependent claims, but this does not mean that these measures cannot be combined to produce good results.
[0150] A person skilled in the art may understand that all or part of the steps in the various methods of the method embodiments of any of the above-mentioned vehicle control methods may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable memory, and the memory may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.
[0151] It can be understood that any product that is controlled or configured to execute the processing method of the flowchart described in an embodiment of a vehicle control method of the present application, such as the device and computer program product of the above flowchart, falls within the scope of the related products described in the present application.
[0152] Obviously, those skilled in the art can make various changes and modifications to the vehicle control method and device provided by the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A vehicle control method, characterized in that: The method comprises: detecting a vehicle lock command for the vehicle; In response to the vehicle locking instruction, the convertible is controlled to close.
2. The method according to claim 1, characterized in that The controlling the convertible top to close comprises: Obtaining the working status of the convertible; Determining a control strategy of the convertible according to the working state of the convertible; The convertible top is controlled to be closed based on the control strategy.
3. The method according to claim 2, characterized in that The obtaining of the working status of the convertible comprises: Acquiring the motion state and position information of the convertible; When the motion state is the convertible stationary state and the position information indicates that the convertible is in a not completely closed position, the working state of the convertible is an unclosed state; when the motion state is the convertible stationary state and the position information indicates that the convertible is in a completely closed position, the working state of the convertible is a closed state; when the motion state is the convertible opening state, the working state of the convertible is an opening execution state; when the motion state is the convertible closing state, the working state of the convertible is a closing execution state.
4. The method according to claim 3, characterized in that In the case where it is detected that the working state is in the opening execution state, the control strategy of the convertible includes: controlling the convertible to stop moving in the second direction, and controlling the convertible to move in the first direction, wherein the second direction is the direction in which the convertible is opened, and the first direction is the direction in which the convertible is closed; In the case where it is detected that the working state is in the unclosed state, the control strategy of the convertible includes: controlling the convertible to move in a first direction; In the case where it is detected that the working state is in the closed state or the closed execution state, the control strategy of the convertible includes: controlling the convertible to keep the working state unchanged.
5. The method according to claim 4, characterized in that The method further comprises: If it is detected that there is an obstacle on the path where the convertible top moves in the first direction, the convertible top is controlled to stop moving in the first direction, and the convertible top is controlled to move a target distance in the second direction.
6. The method according to claim 5, characterized in that The method further comprises: During the process of controlling the convertible to move in the first direction, when it is detected that the driving current of the motor exceeds a stall threshold, the motor is controlled to stop running and the motor is controlled to reverse.
7. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: When a vehicle locking instruction is detected, if the vehicle has not entered the anti-theft locking state, an operation of controlling the convertible to close is executed.
8. A vehicle control device, characterized in that: The device comprises: A detection module, used to detect a vehicle locking instruction for the vehicle; The execution module is used to respond to the vehicle locking instruction and control the convertible to close.
9. A vehicle control device, characterized in that: The device comprises: A memory, a processor, and a vehicle control program stored in the memory and executable on the processor, wherein the processor executes the steps of the vehicle control method according to any one of claims 1 to 7 when executing the vehicle control program.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a vehicle control program, wherein the vehicle control program includes execution instructions for executing the steps of the vehicle control method according to any one of claims 1 to 7.