Parking control system, method and device, electronic equipment and storage medium

By placing the closed-loop control strategy on the motor control unit side in the parking control system and using the high-precision information of the motor sensor to correct the driving electrical signal, the problems of delay and accuracy of the existing parking control system are solved, and the problem of poor accuracy is realized. Efficient and precise parking control.

CN119078799APending Publication Date: 2024-12-06YINWANG INTELLIGENT TECHNOLOGIES CO LTD
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202310556765.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-16
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

The existing parking control system has problems such as extended parking control and poor control accuracy, especially when road disturbances occur, which may cause parking lag, vehicle pitch and over-adjustment, affecting the user experience.

Method used

A parking control system was designed to simplify the closed-loop control link by placing the closed-loop control strategy on the side of the motor control unit, and use the high-precision rotation information collected by the motor sensor to correct the driving electrical signal, thereby improving the accuracy and efficiency of parking control. . The system includes a main control unit, a motor control unit, a motor and a motor sensor. The motor control unit is electrically connected to the motor sensor. The main control unit sends the target wheel rotation information to the motor control unit. The motor control unit adjusts the driving electrical signal according to the rotation information to realize Efficient closed-loop control.

Benefits of technology

It effectively reduces the closed-loop control delay during parking, improves the accuracy and efficiency of parking control, reduces the number of errors and warehouse kneading, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119078799A_ABST
    Figure CN119078799A_ABST
Patent Text Reader

Abstract

The invention discloses a parking control system, method and device, electronic equipment and a storage medium, which are used for reducing parking control time delay and improving parking control precision. In the parking control system, in the vehicle parking process, a main control unit sends target wheel rotation information to a motor control unit, the motor control unit determines a driving electric signal corresponding to the target wheel rotation information and then sends the driving electric signal to a motor, and the subsequent driving electric signal is corrected based on the motor rotation information collected by a motor sensor. The whole closed-loop control link of the parking control can only pass through the motor control unit, the motor and the motor sensor, the path is short, the required closed-loop control time delay is small, and the parking control time delay can be reduced. Moreover, the driving electric signal is corrected by using the motor rotation information collected by the motor sensor, and the parking control precision can be improved by using the characteristics of high collection precision and low collection time interval of the motor sensor.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of electronic technology, and in particular to a parking control system, method, device, electronic equipment and storage medium. Background Art

[0002] Parking refers to a technology that allows a vehicle to be parked in a parking space at low speeds, including fully automatic parking, semi-automatic parking, and manual parking. Fully automatic parking only requires the user to perform a one-button remote control on the vehicle display, mobile phone, or remote control, and the vehicle can be automatically parked in an empty parking space under the control of the vehicle sensors and vehicle control system. Fully automatic parking does not require manual operation by the user, and even does not require the user to sit in the car, bringing users a more intelligent and convenient experience.

[0003] However, both automatic parking and manual parking currently have problems with extended parking control time and poor control accuracy. When encountering road disturbances, the inability to quickly close the loop can easily cause a series of problems such as over-adjustment, vehicle pitching, parking jams, and frequent maneuvers, affecting the user's parking experience.

[0004] Therefore, the parking control scheme for vehicles needs further research. Summary of the invention

[0005] The present application provides a parking control system to solve the problems of prolonged parking control time and poor parking control accuracy in existing parking control solutions.

[0006] In a first aspect, the present application provides a parking control system, which includes a main control unit, a motor control unit, a motor and a motor sensor, wherein the main control unit, the motor control unit and the motor are electrically connected in sequence, and the motor control unit is also electrically connected to the motor sensor. The main control unit is used to send target wheel rotation information to the motor control unit during the vehicle parking process; the motor is used to rotate under the action of the driving electrical signal of the motor control unit, and the rotation is used to drive the vehicle's wheels to rotate; the motor control unit is used to send a first driving electrical signal to the motor according to the target wheel rotation information; the motor sensor is used to send the collected motor rotation information of the motor to the motor control unit; the motor control unit is also used to send a second driving electrical signal to the motor according to the motor rotation information and the target wheel rotation information.

[0007] In the above parking control system, by placing the closed-loop control strategy of parking on the motor control unit side, the entire closed-loop control link only needs to pass through the three components of the motor control unit, the motor and the motor sensor. The path of the closed-loop control link is short, and the required closed-loop control delay is small. In this way, even if the road disturbance is encountered during the parking process, the closed-loop control delay can be quickly closed, effectively avoiding the vehicle from parking jams, vehicle pitching, and over-adjustment after crossing obstacles. In addition, by using the motor rotation information collected by the motor sensor to correct the drive electrical signal, the high acquisition accuracy and low acquisition time interval characteristics of the motor sensor can also be used to improve the accuracy of the closed-loop control, so as to improve the accuracy of the parking control, reduce the number of errors in the parking process, and thus reduce the corresponding number of rubbing the warehouse.

[0008] In a possible design, the first driving electrical signal is a driving electrical signal determined according to the target wheel rotation information. Specifically, the motor control unit can query the mapping relationship between the preset wheel rotation information and the driving electrical signal according to the target wheel rotation information, and obtain the first driving electrical signal corresponding to the target wheel rotation information. Among them, the mapping relationship between the preset wheel rotation information and the driving electrical signal can be stored locally in the motor control unit, or it can be stored in other devices, external memory or other devices of the electronic device where the motor control unit is located, and the motor control unit reads and uses it from other devices, external memory or other devices when needed. In this way, by configuring the mapping relationship between the wheel rotation information and the driving electrical signal, the first driving electrical signal corresponding to the target wheel rotation information can be quickly determined by directly querying the mapping relationship, thereby improving the speed of drive control.

[0009] In a possible design, the second driving electrical signal is a driving electrical signal corrected according to the target wheel rotation information and the motor rotation information. Specifically, the motor control unit can convert the motor rotation information into the current wheel rotation information, and then input the current wheel rotation information and the target wheel rotation information into a preset closed-loop control algorithm, and obtain the next step of wheel rotation information output by the closed-loop control algorithm, and then query the mapping relationship between the preset wheel rotation information and the driving electrical signal, and obtain the next step of driving electrical signal corresponding to the next step of wheel rotation information, and the driving electrical signal can be sent to the motor as the second driving electrical signal. In this way, by using the current wheel rotation information and the target wheel rotation information to determine the second driving electrical signal, the current driving electrical signal can be corrected with reference to the actual movement of the vehicle, so that the vehicle speed gradually approaches the speed corresponding to the target wheel rotation information.

[0010] In one possible design, the target wheel rotation information may include a target rotation speed of the wheel and / or a target rotation angle of the wheel. The accuracy of the rotation angle is higher than the rotation speed. Therefore, in a scenario where the parking accuracy requirement is relatively high, the target wheel rotation information may be configured to include the target rotation angle of the wheel, so as to meet the high-precision requirement of parking control based on the rotation angle with higher accuracy. In a scenario where the parking accuracy requirement is not high, the target wheel rotation information may be configured to include the target rotation speed of the wheel, so as to save power consumption and reduce system complexity while meeting the accuracy requirement.

[0011] In one possible design, the motor rotation information may include the motor speed and / or the motor rotation angle. For example, the target wheel rotation information and the motor rotation information may be configured as the speed or the rotation angle, so that the motor control unit can directly adjust the drive electrical signal based on the motor rotation information and the target wheel rotation information, saving the time delay required for the intermediate conversion unit.

[0012] In a possible design, when the vehicle is configured for automatic parking, the main control unit is specifically used to: receive an automatic parking request and determine that the vehicle is parked. Through this design, a trigger condition for starting the above parking control strategy in the automatic parking mode is given, so that the above parking control strategy can be applied to the automatic parking mode.

[0013] In a further design, the main control unit is specifically used for: during the vehicle parking process, first, inputting the current position of the vehicle and the position of the target parking space into a preset trajectory planning algorithm, and obtaining a parking trajectory output by the trajectory planning algorithm, wherein the parking trajectory includes the vehicle speed and vehicle turning angle required for each step of the vehicle from the current position to the target parking space; then, according to the parking trajectory, determining the target vehicle speed and target vehicle turning angle, sending the target vehicle turning angle to the vehicle's steering mechanism, and determining the target wheel rotation information corresponding to the target vehicle speed according to the preset mapping relationship between the vehicle speed and the wheel rotation information, and sending the target wheel rotation information to the motor control unit.

[0014] Exemplarily, the vehicle angle may be any one of the angle of the steering wheel or the angle of the steering mechanism. For example, in a scenario where the vehicle has a steering wheel, the vehicle angle may specifically refer to the angle of the steering wheel. After the steering wheel angle is sent to the steering mechanism, the steering mechanism may convert the steering wheel angle into the steering mechanism angle according to a preset proportional conversion relationship to control the steering of the wheels. In a scenario where the vehicle does not have a steering wheel, the vehicle angle may specifically refer to the angle of the steering mechanism. After the angle is sent to the steering mechanism, the steering mechanism may directly control the steering of the wheels.

[0015] In the above design, the target vehicle speed obtained in the trajectory planning process of automatic parking is converted into the target wheel rotation information required by the parking control strategy, so that the above parking control strategy can be applied to the automatic parking mode.

[0016] In one possible design, when the vehicle is configured for manual parking, the main control unit can determine that the vehicle is parked when it determines that the state of the vehicle satisfies at least one of the following conditions: the vehicle speed is lower than a preset vehicle speed; the motor speed is lower than a preset speed; the torque requested by the driver is lower than a torque threshold; the rate of change of the torque requested by the driver is lower than a first rate of change threshold; the opening of the accelerator pedal is lower than a first opening threshold; the rate of change of the opening of the accelerator pedal is lower than a second rate of change threshold; the opening of the brake pedal is greater than the second opening threshold; the rate of change of the opening of the brake pedal is lower than a third rate of change threshold.

[0017] In the above design, when the vehicle's driving speed is relatively low, the vehicle's motor speed is relatively low, the vehicle's accelerator is not stepped on for a long time or is stepped on lightly for a long time, and the vehicle's brake is stepped on heavily for a long time, it can be considered that the vehicle is parked. In this way, by comprehensively considering multiple vehicle states such as vehicle speed, motor speed, requested torque, rate of change of requested torque, accelerator pedal opening, rate of change of accelerator pedal opening, brake pedal opening, and rate of change of brake pedal opening to determine whether the vehicle is in a parking state, the determination result can be more detailed and accurate.

[0018] In a further design, the main control unit is specifically used to: during the parking process of the vehicle, determine the target torque corresponding to the current opening of the vehicle's pedal by querying the preset mapping relationship between the pedal opening and the torque, and determine the target wheel rotation information corresponding to the target torque by querying the preset mapping relationship between the torque and the wheel rotation information. Among them, in the preset mapping relationship between the pedal opening and the torque, the pedal opening can specifically refer to the opening of the accelerator pedal. After the main control unit obtains the current opening of the accelerator pedal in the vehicle, it can determine the target torque corresponding to the current opening of the accelerator pedal by querying the preset mapping relationship between the accelerator pedal opening and the torque.

[0019] In the above design, the preset mapping relationship between the pedal opening and the torque belongs to the existing mapping relationship in the torque control mode in the existing MCU, and the preset mapping relationship between the torque and the wheel rotation information belongs to an additional mapping relationship. This design can utilize the existing mapping relationship to realize the parking control mode based on the speed / angle while changing the existing configuration of the main control unit as little as possible.

[0020] In a further design, after determining the target torque corresponding to the current opening of the vehicle's pedal, the main control unit queries the preset mapping relationship between the torque and the wheel rotation information, and before determining the target wheel rotation information corresponding to the target torque, if it is determined that the vehicle's driving mode is configured as the first mode, and the creep torque corresponding to the first mode is greater than the target torque, then the creep torque can be used as the target torque. Among them, when the vehicle is configured to the first mode, even if the accelerator pedal and the brake pedal of the vehicle do not have an opening (that is, the opening is 0), the vehicle can still travel at the speed corresponding to the creep torque. In some scenarios, the first mode is also called comfort mode, economy mode, normal mode or custom mode. Alternatively, in other scenarios, such as sports mode, dynamic mode or aggressive mode, etc., may also be configured with corresponding creep torque. In this case, the vehicle can also correct the target torque according to the corresponding creep torque in these modes.

[0021] In the above design, by using the creep torque to arbitrate the target torque, it can ensure that the vehicle travels at a speed not less than the speed corresponding to the creep torque. Even in the parking mode, it can ensure that the vehicle speed meets the requirements of the current driving mode.

[0022] In a further design, the preset mapping relationship between torque and wheel rotation information may include a mapping relationship between torque and wheel rotation information corresponding to a first mode and a mapping relationship between torque and wheel rotation information corresponding to a second mode. In the mapping relationship between torque and wheel rotation information corresponding to any driving mode, a torque range corresponds to one rotation information, and the width of the torque range in the mapping relationship between torque and wheel rotation information corresponding to the second mode is smaller than the width of the torque range in the mapping relationship between torque and wheel rotation information corresponding to the first mode. The main control unit is specifically used to determine the target wheel rotation information corresponding to the target torque by querying the mapping relationship between torque and wheel rotation information corresponding to the driving mode of the vehicle.

[0023] In the above design, by configuring the mapping relationship corresponding to different driving modes, the target wheel rotation information corresponding to the current driving mode of the vehicle can be determined more precisely. For example, if the vehicle is configured in the second mode, the determined target wheel rotation information can be used to adjust to the target vehicle speed more quickly to meet the fast adjustment requirements of the second mode, and if the vehicle is configured in the first mode, the determined target wheel rotation information can be used to adjust to the target vehicle speed more smoothly to meet the user experience requirements in the first mode. In some scenarios, the first mode can be a comfort mode, an economic mode, a normal mode, or a custom mode, and the second mode can be a sports mode, a dynamic mode, or an aggressive mode.

[0024] In a further design, after determining the target wheel rotation information corresponding to the target torque, the main control unit can also use the current vehicle speed information to correct the target wheel rotation information before sending the target wheel rotation information to the motor control unit, wherein the corrected target wheel rotation information is between the wheel rotation information corresponding to the current vehicle speed information and the target wheel rotation information before correction. In this way, the wheel speed can be smoothly adjusted in parking control, avoiding sudden acceleration or deceleration of the vehicle, and improving the user's driving experience.

[0025] In one possible design, the motor control unit is specifically used to: first, determine the target driving electrical signal corresponding to the target wheel rotation information by querying the preset mapping relationship between the wheel rotation information and the driving electrical signal; then, based on the target driving electrical signal and the current driving electrical signal of the motor, query the preset transition gradient table to determine each transition driving electrical signal required to convert the current driving electrical signal of the motor into the target driving electrical signal; thereafter, send each transition driving electrical signal to the motor in turn.

[0026] In the above design, by using a transitional driving electrical signal to drive the motor to rotate, the motor speed can be gradually adjusted to the target speed, avoiding the phenomenon of sudden increase or decrease in the motor speed, which helps to improve the driving stability of the vehicle.

[0027] In a further design, the preset transition gradient table includes a transition gradient table corresponding to the first mode and a transition gradient table corresponding to the second mode, and the motor control unit is specifically used to: query the transition gradient table corresponding to the vehicle's driving mode according to the target drive electrical signal and the current drive electrical signal of the motor, and determine each transition drive electrical signal.

[0028] In the above design, by configuring the transition gradient table corresponding to different driving modes, the transition drive electrical signal corresponding to the current driving mode of the vehicle can be determined more precisely. For example, if the vehicle is configured in the second mode, the determined transition drive electrical signal can adjust the motor speed to the corresponding target motor speed more quickly, meeting the fast adjustment requirement of the second mode. If the vehicle is configured in the first mode, the determined transition drive electrical signal can adjust the motor speed to the corresponding target motor speed more smoothly, meeting the user experience requirement in the first mode.

[0029] In one possible design, the parking control system may also include a wheel sensor and a main control unit, which is also used to determine the target torque information corresponding to the target wheel rotation information after the vehicle completes parking, and send the target torque information to the motor control unit; the motor control unit is also used to send a third driving electrical signal to the motor according to the target torque information; the wheel sensor is used to send the collected wheel rotation information to the main control unit; the main control unit is also used to correct the target torque information according to the wheel rotation information and the target wheel rotation information, and send the corrected target torque information to the motor control unit.

[0030] In the above design, by switching back to the default torque control mode after parking is completed, it can also ensure that the user has enough time from pressing the pedal to sensing the vehicle's response in non-parking scenarios, thereby improving the user's driving experience.

[0031] In a further design, when the vehicle is configured for automatic parking, the main control unit determines that the vehicle ends parking when it determines that the state of the vehicle satisfies at least one of the following conditions: the opening of the accelerator pedal is greater than 0; the opening of the brake pedal is greater than a preset opening threshold, and the preset opening threshold is greater than 0; the steering wheel is turned; the vehicle is in the parking gear; a request to end parking is received. In this way, by providing some trigger conditions for the end of automatic parking, whether the automatic parking ends or is interrupted in the middle, the torque control mode can be quickly switched back to, providing support for the switching between the speed / angle control mode used in the automatic parking process and the default torque control mode.

[0032] In a further design, when the vehicle is configured for manual parking, the main control unit determines that the vehicle ends parking when it determines that the state of the vehicle satisfies at least one of the following conditions: the vehicle speed is not less than the preset vehicle speed; the motor speed is not less than the preset speed; the torque requested by the driver is not less than the torque threshold; the rate of change of the torque requested by the driver is not less than the first rate of change threshold; the opening of the accelerator pedal is not less than the first opening threshold; the rate of change of the opening of the accelerator pedal is not less than the second rate of change threshold; the opening of the brake pedal is not greater than the second opening threshold; the rate of change of the opening of the brake pedal is not less than the third rate of change threshold. In this way, by providing some trigger conditions for the end of manual parking, whether the manual parking is ended or the manual parking is interrupted in the middle, the torque control mode can be quickly switched back to provide support for the switching of the speed / angle control mode and the default torque control mode used in the manual parking process.

[0033] In the second aspect, the present application provides a parking control method, which is applicable to any device with control capabilities, specifically, it can be a main control unit in a vehicle, the main control unit can include one or more control units, such as a vehicle control unit (VCU), a vehicle dynamics control (VDC) system or an intelligent driving computing center (mobile data ceter, MDC), or an integration of at least two devices in VCU, VDC or MDC, or the main control unit can also be a chip, chip system, circuit or circuit system that can support the main control unit to implement the corresponding function, such as part or all of the circuits set in VCU, VDC or MDC. In addition, the vehicle usually also includes a motor control unit, which is configured with two control modes, one of which is a speed / angle control mode, and the other is a torque control mode. Based on the two control modes of the motor control unit, the method includes:

[0034] When the vehicle is parking, the main control unit sends a first control signal to the motor control unit, where the first control signal is used to instruct the motor control unit to switch to the speed / angle control mode; and when the vehicle is not parking, the main control unit sends a second control signal to the motor control unit, where the second control signal is used to instruct the motor control unit to switch to the torque control mode.

[0035] Through the above design, the motor control unit can switch to the speed / angle control mode during parking, so that the motor control unit can use the received wheel speed / wheel angle to control the motor to maintain a certain speed, and can also use the actual speed of the motor collected by the motor sensor at a high acquisition frequency to accurately and quickly correct the next motor speed, so as to achieve efficient and high-precision control during parking, reduce the number of mistakes during parking, and thus reduce the corresponding number of rubbing the parking garage. In addition, the motor control unit can also switch to the torque control mode during non-parking, so that the motor control unit can use the received torque to control the motor rotation within a certain buffer time, and then reserve a certain time for the driver to perceive the change in vehicle speed after stepping on the pedal during non-parking, thereby improving the driver's driving experience.

[0036] In a possible design, the main control unit sends the second control signal to the motor control unit when the vehicle is not parking, including: the main control unit sends the second control signal to the motor control unit after the vehicle finishes parking.

[0037] In this application, when the vehicle is configured in different parking modes, the conditions for triggering the main control unit to send a control signal are also different, specifically:

[0038] Automatic parking mode

[0039] In one possible design, when the vehicle is configured in automatic parking mode, the main control unit may send a first control signal to the motor control unit upon receiving an automatic parking request.

[0040] In one possible design, when the vehicle is configured in automatic parking mode, the main control unit determines that the state of the vehicle satisfies at least one of the following conditions, and then sends a second control signal to the motor control unit: the opening of the accelerator pedal is greater than 0; the opening of the brake pedal is greater than a preset opening threshold, and the preset opening threshold is greater than 0; the steering wheel is turned; it is in the parking gear; a request to end parking is received.

[0041] It should be noted that when the vehicle is configured in automatic parking mode, the above-mentioned main control unit can be considered as an integrated body of VCU and MDC. After receiving the automatic parking request, VCU sends a first indication message to MDC, and MDC takes over all operations of VCU according to the first indication message. For example, MDC can send a first control signal to the motor control unit to instruct the motor control unit to switch to the speed / angle control mode. MDC can also send the target speed or target angle of the wheel to the motor control unit to instruct the motor control unit to control the motor rotation according to the speed / angle control mode according to the target speed or target angle of the wheel. Correspondingly, when MDC senses that the vehicle is no longer parking, such as when it detects that the vehicle has the intention to end parking, it can send a second indication message to VCU, and VCU takes over all operations of MDC according to the second indication message. For example, VCU can send a second control signal to the motor control unit to instruct the motor control unit to switch to the torque control mode. VCU can also send a target torque to the motor control unit to instruct the motor control unit to control the motor rotation according to the torque control mode according to the target torque.

[0042] Manual parking mode

[0043] In one possible design, when the vehicle is configured in manual parking mode, the main control unit determines that the state of the vehicle satisfies at least one of the following conditions, and may send a first control signal to the motor control unit: the vehicle speed is lower than a preset vehicle speed; the motor speed is lower than a preset speed; the torque requested by the driver is lower than a torque threshold; the rate of change of the torque requested by the driver is lower than a first rate of change threshold; the opening of the accelerator pedal is lower than a first opening threshold; the rate of change of the opening of the accelerator pedal is lower than a second rate of change threshold; the opening of the brake pedal is greater than the second opening threshold; the rate of change of the opening of the brake pedal is lower than a third rate of change threshold.

[0044] In one possible design, when the vehicle is configured in manual parking mode, the main control unit determines that the state of the vehicle satisfies at least one of the following conditions, and then sends a second control signal to the motor control unit: the vehicle speed is not lower than a preset vehicle speed; the motor speed is not lower than a preset speed; the torque requested by the driver is not less than a torque threshold; the rate of change of the torque requested by the driver is not less than a first change rate threshold; the opening of the accelerator pedal is not less than a first opening threshold; the rate of change of the opening of the accelerator pedal is not less than a second change rate threshold; the opening of the brake pedal is not greater than the second opening threshold; the rate of change of the opening of the brake pedal is not less than a third change rate threshold.

[0045] It should be noted that when the vehicle is configured in manual parking mode, the main control unit may be a VCU. When the VCU detects that the state of the vehicle meets the triggering conditions for parking, it may send a first control signal to the motor control unit to instruct the motor control unit to switch to the speed / angle control mode. The VCU may also send the target speed or target angle of the wheel to the motor control unit to instruct the motor control unit to control the motor rotation according to the speed / angle control mode based on the target speed or target angle of the wheel. Correspondingly, when the VCU detects that the state of the vehicle meets the triggering conditions for ending parking, it may send a second control signal to the motor control unit to instruct the motor control unit to switch to the torque control mode. The VCU may also send the target torque to the motor control unit to instruct the motor control unit to control the motor rotation according to the torque control mode based on the target torque.

[0046] In a third aspect, the present application provides a parking control method, which is applicable to any device with control capability, specifically, a main control unit in a vehicle, such as a vehicle control unit (VCU), a vehicle dynamics control (VDC) system, or a mobile dataceter (MDC), or a device capable of supporting the main control unit to implement the function, such as a chip, a chip system, a circuit, or a circuit system. The method includes: during the parking process of the vehicle, the main control unit determines the target wheel rotation information of the vehicle, and sends the target wheel rotation information to the motor control unit.

[0047] In one possible design, the target wheel rotation information may include a target rotation speed of the wheel and / or a target rotation angle of the wheel.

[0048] In a possible design, when the vehicle is configured for automatic parking, the main control unit may determine that the vehicle is parked in the following manner: the main control unit receives an automatic parking request and determines that the vehicle is parked.

[0049] In a further design, the vehicle is configured for automatic parking, and the main control unit determines the target wheel rotation information of the vehicle during the parking process, including: first, the main control unit inputs the current position of the vehicle and the position of the target parking space into a preset trajectory planning algorithm during the parking process, and obtains a parking trajectory output by the trajectory planning algorithm, wherein the parking trajectory includes the vehicle speed required for each step of the vehicle from the current position to the target parking space; then, the main control unit determines the target vehicle speed for the next step according to the parking trajectory, and determines the target wheel rotation information corresponding to the target vehicle speed according to the preset mapping relationship between the vehicle speed and the wheel rotation information.

[0050] In one possible design, when the vehicle is configured for manual parking, the main control unit can determine that the vehicle is parked when the state of the vehicle satisfies at least one of the following conditions: the vehicle speed is lower than a preset vehicle speed; the motor speed is lower than a preset speed; the torque requested by the driver is lower than a torque threshold; the rate of change of the torque requested by the driver is lower than a first rate of change threshold; the opening of the accelerator pedal is lower than a first opening threshold; the rate of change of the opening of the accelerator pedal is lower than a second rate of change threshold; the opening of the brake pedal is greater than the second opening threshold; the rate of change of the opening of the brake pedal is lower than a third rate of change threshold.

[0051] In a further design, the vehicle is configured for manual parking, and the main control unit determines the target wheel rotation information of the vehicle during the parking process, including: during the parking process, the main control unit first determines the target torque corresponding to the current pedal opening of the vehicle by querying the preset mapping relationship between the pedal opening and the torque, and then determines the target wheel rotation information corresponding to the target torque by querying the preset mapping relationship between the torque and the wheel rotation information. Among them, the preset mapping relationship between the pedal opening and the torque can specifically refer to the preset mapping relationship between the opening of the accelerator pedal and the torque.

[0052] In a further design, after the main control unit determines the target torque corresponding to the current opening of the vehicle's pedal, it queries the preset mapping relationship between the torque and the wheel rotation information, and before determining the target wheel rotation information corresponding to the target torque, if it is determined that the vehicle's driving mode is configured as the first mode, and the creep torque corresponding to the first mode is greater than the target torque, then the creep torque can be used as the target torque.

[0053] In a further design, the preset mapping relationship between torque and wheel rotation information includes a mapping relationship between torque and wheel rotation information corresponding to the first mode and a mapping relationship between torque and wheel rotation information corresponding to the second mode. In the mapping relationship between torque and wheel rotation information corresponding to any driving mode, a torque range corresponds to one rotation information, and the width of the torque range in the mapping relationship between torque and wheel rotation information corresponding to the second mode is smaller than the width of the torque range in the mapping relationship between torque and wheel rotation information corresponding to the first mode. In this case, the main control unit determines the target wheel rotation information corresponding to the target torque by querying the preset mapping relationship between torque and wheel rotation information, including: the main control unit determines the target wheel rotation information corresponding to the target torque by querying the mapping relationship between torque and wheel rotation information corresponding to the driving mode of the vehicle.

[0054] In a further design, after the main control unit determines the target wheel rotation information corresponding to the target torque, before sending the target wheel rotation information to the motor control unit, it can also use the vehicle's current speed information to correct the target wheel rotation information, wherein the corrected target wheel rotation information is between the wheel rotation information corresponding to the vehicle's current speed information and the target wheel rotation information before correction.

[0055] In one possible design, the parking control method may also include: after the vehicle completes parking, the main control determines the target torque information corresponding to the target wheel rotation information, and sends the target torque information to the motor control unit, then receives the wheel rotation information from the wheel sensor, corrects the target torque information according to the wheel rotation information and the target wheel rotation information, and sends the corrected target torque information to the motor control unit.

[0056] In a further design, when the vehicle is configured for automatic parking, the main control unit can determine that the vehicle has ended parking when it determines that the state of the vehicle satisfies at least one of the following conditions: the opening of the accelerator pedal is greater than 0; the opening of the brake pedal is greater than a preset opening threshold, and the preset opening threshold is greater than 0; the steering wheel is turned; it is in the parking gear; a request to end parking is received.

[0057] In a further design, when the vehicle is configured for manual parking, the main control unit can determine that the vehicle has ended parking when it determines that the state of the vehicle satisfies at least one of the following conditions: the vehicle speed is not lower than a preset vehicle speed; the motor speed is not lower than a preset speed; the torque requested by the driver is not less than a torque threshold; the rate of change of the torque requested by the driver is not less than a first change rate threshold; the opening of the accelerator pedal is not less than a first opening threshold; the rate of change of the opening of the accelerator pedal is not less than a second change rate threshold; the opening of the brake pedal is not greater than the second opening threshold; the rate of change of the opening of the brake pedal is not less than a third change rate threshold.

[0058] In a fourth aspect, the present application provides a parking control method, which is applicable to any device with control capabilities, specifically, it can be a motor control unit in a vehicle, or it can be a device that can support the motor control unit to implement this function, such as a chip, a chip system, a circuit or a circuit system. The method includes: during the vehicle parking process, the motor control unit first receives the target wheel rotation information from the main control unit, and according to the target wheel rotation information, sends a first drive electrical signal to the motor, and receives the motor rotation information from the motor sensor, and then sends a second drive electrical signal to the motor according to the motor rotation information and the target wheel rotation information. Among them, the drive electrical signal (including the first drive electrical signal and the second drive electrical signal) is used to drive the motor to rotate, and the motor rotation is used to drive the wheel rotation.

[0059] In a possible design, the target wheel rotation information may include a target wheel rotation speed and / or a target wheel rotation angle, and the motor rotation information may include a motor rotation speed and / or a motor rotation angle.

[0060] In one possible design, the motor control unit sends the first drive electrical signal to the motor according to the target wheel rotation information, including: the motor control unit first determines the target drive electrical signal corresponding to the target wheel rotation information by querying the preset mapping relationship between the wheel rotation information and the drive electrical signal, and then queries the preset transition gradient table according to the target drive electrical signal and the current drive electrical signal of the motor to determine each transition drive electrical signal required to convert the current drive electrical signal of the motor into the target drive electrical signal, and then sends each transition drive electrical signal to the motor in turn.

[0061] In a further design, the preset transition gradient table may include a transition gradient table corresponding to the first mode and a transition gradient table corresponding to the second mode. In this case, the motor control unit queries the preset transition gradient table based on the target drive electrical signal and the current drive electrical signal of the motor, and determines the various transition drive electrical signals required to convert the current drive electrical signal of the motor into the target drive electrical signal, including: the motor control unit queries the transition gradient table corresponding to the vehicle's driving mode based on the target drive electrical signal and the current drive electrical signal of the motor, and determines the various transition drive electrical signals.

[0062] In a possible design, the parking control method may further include: after the vehicle completes parking, the motor control unit receives target torque information from the main control unit, determines a third drive electrical signal based on the target torque information, and sends the third drive electrical signal to the motor.

[0063] In a fifth aspect, an embodiment of the present application provides a parking control device, which has the function of implementing the main control unit in the second aspect or the third aspect or the motor control unit in the fourth aspect. The function can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more units or modules corresponding to the above functions.

[0064] In a possible implementation, the parking control device includes: a processor, the processor is configured to support the parking control device to perform the corresponding functions of the main control unit in the second aspect or the third aspect shown above. The parking control device may also include a memory, which may be coupled to the processor and stores necessary program instructions and data for the parking control device. Optionally, the parking control device also includes a transceiver, which is used to support communication between the parking control device and a motor control unit, etc. The transceiver may be an independent receiver, an independent transmitter, a transceiver with integrated transceiver functions, or an interface circuit.

[0065] In one possible implementation, the parking control device may be a main control unit, or a component that can be used for the main control unit, such as a chip, a chip system, a circuit, or a circuit system. The parking control device may implement the method described in any one of the second or third aspects above.

[0066] In another possible implementation, the parking control device includes: a processor, the processor is configured to support the parking control device to perform the corresponding functions of the motor control unit in the fourth aspect above. The parking control device may also include a memory, which may be coupled to the processor and stores necessary program instructions and data for the parking control device. Optionally, the parking control device also includes a transceiver, which is used to support communication between the parking control device and a main control unit, etc. The transceiver may be an independent receiver, an independent transmitter, a transceiver with integrated transceiver functions, or an interface circuit.

[0067] In one possible implementation, the parking control device may be a motor control unit, or a component that can be used in a motor control unit, such as a chip, a chip system, a circuit, or a circuit system. The parking control device may implement the method described in any one of the designs in the fourth aspect above.

[0068] In a sixth aspect, an embodiment of the present application provides a parking control device for implementing the second aspect or any one of the methods in the second aspect, or for implementing the third aspect or any one of the methods in the third aspect, or for implementing the fourth aspect or any one of the methods in the fourth aspect, including corresponding functional units, respectively used to implement the steps in the above methods. The functions can be implemented by hardware, or by hardware executing corresponding software implementations. The hardware or software includes one or more units corresponding to the above functions.

[0069] In a possible implementation, the parking control device may be a main control unit, or a component that can be used for the main control unit, such as a chip, a chip system, a circuit, or a circuit system. The parking control device may include a determination unit and a transceiver unit, which may perform corresponding functions in the above method example. For details, please refer to the detailed description in the method example, which will not be repeated here.

[0070] In another possible implementation, the parking control device may be a motor control unit, or a component that can be used for a motor control unit, such as a chip, a chip system, a circuit, or a circuit system. The parking control device may include a processing unit and a transceiver unit, which may perform corresponding functions in the above method example. For details, please refer to the detailed description in the method example, which will not be elaborated here.

[0071] In a seventh aspect, the present application provides an electronic device, comprising the parking control system as described in the first aspect above.

[0072] In one possible design, the electronic device may be a movable device, such as a car, a ship, an airplane, a drone, a train, a van, a truck, a sweeping robot, a mopping robot, or a movable smart appliance.

[0073] In an eighth aspect, the present application provides a chip, which may include a processor and an interface, wherein the processor is used to read instructions through the interface to execute a method as described in any one of the designs of the second, third or fourth aspects above.

[0074] In a ninth aspect, the present application provides a computer-readable storage medium storing a computer program. When the computer program is executed, the method as described in any one of the second aspect, the third aspect or the fourth aspect is implemented.

[0075] In a tenth aspect, the present application provides a computer program product, which, when executed on a processor, implements a method as described in any one of the second, third or fourth aspects above.

[0076] For the beneficial effects of the second to tenth aspects mentioned above, please refer to the technical effects that can be achieved by the corresponding design in the first aspect mentioned above, and they will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0077] Figure 1 A possible parking scenario diagram provided by an embodiment of the present application is exemplarily shown;

[0078] Figure 2 An exemplary schematic diagram of the architecture of a parking control system provided by the industry is shown;

[0079] Figure 3 A schematic diagram of the architecture of a parking control system provided by an embodiment of the present application is exemplarily shown;

[0080] Figure 4 A schematic diagram exemplarily illustrates a flow chart of a parking control method provided in an embodiment of the present application;

[0081] Figure 5 A schematic diagram exemplarily illustrates a flow chart of a parking control method in an automatic parking mode provided in an embodiment of the present application;

[0082] Figure 6 A schematic diagram exemplarily illustrates a flow chart of a parking control method in a manual parking mode provided in an embodiment of the present application;

[0083] Figure 7 A specific flow chart of a parking control method provided by an embodiment of the present application is exemplified;

[0084] Figure 8 A schematic diagram showing the structure of a parking control device provided by an embodiment of the present application is exemplified;

[0085] Fig. 9 A schematic diagram of the structure of another parking control device provided in an embodiment of the present application is exemplified. DETAILED DESCRIPTION

[0086] The parking control scheme provided in the embodiment of the present application can be applied to the Internet of Vehicles, such as vehicle to everything (V2X), long term evolution-vehicle (LTE-V), vehicle-vehicle (V2V), etc. For example, it can be applied to a vehicle with a parking control function, or other devices in a vehicle with a parking control function. The other devices include but are not limited to: other sensors such as a vehicle-mounted terminal, a vehicle-mounted controller, a vehicle-mounted module, a vehicle-mounted module, a vehicle-mounted component, a vehicle-mounted chip, a vehicle-mounted unit, a vehicle-mounted radar or a vehicle-mounted camera. The vehicle can implement the parking control scheme provided in the embodiment of the present application through the vehicle-mounted terminal, the vehicle-mounted controller, the vehicle-mounted module, the vehicle-mounted module, the vehicle-mounted component, the vehicle-mounted chip, the vehicle-mounted unit, the vehicle-mounted radar or the camera. Of course, the parking control scheme in the embodiment of the present application can also be applied to other intelligent terminals with a parking control function other than the vehicle, or be set in other intelligent terminals with a parking control function other than the vehicle, or be set in a component of the intelligent terminal. The smart terminal may be other terminal devices such as smart transportation equipment, smart home equipment, robots, etc. For example, it includes but is not limited to the smart terminal or the controller, chip, radar or camera and other sensors in the smart terminal, and other components. The smart terminal can realize the parking control function of the vehicle by connecting to relevant components in the vehicle, such as motors and various sensors.

[0087] The technical solutions in the embodiments of the present application will be described below in conjunction with the accompanying drawings in the embodiments of the present application. It should be understood that the embodiments described below are only part of the embodiments of the present application, rather than all the embodiments.

[0088] Please refer to Figure 1 As shown, it shows a possible parking scenario schematic diagram provided by an embodiment of the present application. In this parking scenario, it is assumed that the vehicle to be parked is vehicle A, there is an obstacle (e.g., a speed bump) not far in front of vehicle A, and there is a target parking space in front of the right side of vehicle A. The target parking space is between parking space 1 and parking space 2, and vehicle 1 is parked in parking space 1, and vehicle 2 is parked in parking space 2.

[0089] In the current parking scenario, if vehicle A is configured for manual parking, then vehicle A can be parked into the target parking space under the user's driving operation. For example, if the user determines to park into the target parking space, he can first step on the accelerator to obtain the corresponding driving force, and then quickly apply the brakes after passing the speed bump, and then lightly step on the accelerator to drive into the target parking space at a low speed.

[0090] In the current parking scenario, if vehicle A is configured for automatic parking, then vehicle A can automatically park in the target parking space. For example, in one scenario, vehicle A can automatically scan the surrounding environment image and present it to the user through a display screen or projection, and ask the user "Please confirm whether you need to park in the target parking space". If the user replies "Confirm" through voice or touch screen, vehicle A confirms that it has received the parking request and can automatically park in the target parking space. Alternatively, in another scenario, if the target parking space is relatively narrow, the user can also get off the car first and instruct vehicle A to automatically park in the target parking space by triggering the one-touch parking button set on a mobile phone or car key or other device.

[0091] Here, it needs to be clarified that the user can instruct vehicle A to automatically park in the target parking space in any way, such as the in-vehicle voice instructions, display button instructions or external device instructions shown in the above content, or gesture recognition instructions, brain wave instructions or external button instructions, etc. The embodiments of the present application do not specifically limit this.

[0092] Please refer to Figure 2 , which shows a schematic diagram of the architecture of a parking control system provided by the industry, the parking control system 200 includes a main control unit 201, a motor control unit 202, a motor 203 and a wheel sensor 204. In addition to the parking control system 200, the vehicle may also include other components, such as a transmission system 11, wheels 12, a steering wheel and a steering mechanism. Among them, the main control unit 201, the motor control unit 202, and the motor 203 are electrically connected in sequence, the motor 203, the transmission system 11 and the wheels 12 are mechanically connected in sequence, and the main control unit 201 is also electrically connected to the wheel sensor 204.

[0093] Please refer to Figure 1 and Figure 2 As shown, the parking control process in the industry is as follows:

[0094] When the vehicle A is configured in manual parking mode, the main control unit 201 can obtain the steering angle of the user's steering wheel and the opening degree of the user's accelerator pedal in real time, control the steering mechanism to drive the wheel 12 to rotate the corresponding angle according to the steering wheel angle, determine the target torque corresponding to the current opening degree of the accelerator pedal according to the preset mapping relationship between the opening degree of the accelerator pedal and the torque, and then send the target torque to the motor control unit 202. The motor control unit 202 queries the preset mapping relationship between the torque and the electrical signal, determines the driving electrical signal corresponding to the target torque, and sends the driving electrical signal to the motor 203. The motor 203 rotates under the action of the driving electrical signal, and under the transmission action of the transmission mechanism 11, the rotation of the motor 203 also drives the wheel 12 to rotate, and the rotation speed of the wheel 12 will be collected in real time by the wheel sensor 204. The main control unit 201 obtains the real speed of the wheel 12 collected by the wheel sensor 204, calls a preset closed-loop control algorithm to correct the target torque according to the real speed of the wheel 12, and resends the corrected target torque to the motor control unit 202 to adjust the driving electrical signal output by the motor control unit 202 to the motor 203, and gradually adjusts the real speed of the wheel 12 to the target speed that matches the current opening of the accelerator pedal;

[0095] When vehicle A is configured in automatic parking mode, the main control unit 201 can input the current position of vehicle A and the position of the target parking space into the preset trajectory planning algorithm, and obtain the parking trajectory output by the trajectory planning algorithm, which includes the vehicle speed and steering wheel angle required for each step of vehicle A from the current position to the target parking space. The main control unit 201 determines the target vehicle speed and target steering wheel angle for the next step with reference to the parking trajectory, sends the target steering wheel angle to the steering mechanism to drive the steering mechanism to drive the wheel 12 to rotate the corresponding angle, and converts the target vehicle speed into the corresponding target torque and sends it to the motor control unit 202. The motor control unit 202 queries the preset mapping relationship between the torque and the electrical signal, determines the driving electrical signal corresponding to the target torque, and sends the driving electrical signal to the motor 203. The motor 203 rotates under the action of the driving electrical signal, and then drives the wheel 12 to rotate under the transmission action of the transmission mechanism 11, and the rotation speed of the wheel 12 is collected in real time by the wheel sensor 204. The main control unit 201 obtains the actual rotation speed of the wheel 12 collected by the wheel sensor 204, and calls the preset closed-loop control algorithm to correct the target torque according to the actual rotation speed and the target rotation speed of the wheel 12, and resends the corrected target torque to the motor control unit 202 to adjust the driving electrical signal output by the motor control unit 202 to the motor 203.

[0096] In summary, whether it is an automatic parking scenario or a manual parking scenario, the parking control scheme in the industry is to execute the closed-loop control strategy on the main control unit 201 side, and the main control unit 201 corrects the target torque to be sent to the motor control unit 202 based on the actual speed of the wheel. The control mode in the present application embodiment is referred to as the torque control mode. However, in the torque control mode, the torque correction by the speed needs to be converted from the speed to the torque, and the entire closed-loop control link also needs to pass through the main control unit 201, the motor control unit 202, the motor 203, the transmission mechanism 11, the wheel 12 and the wheel sensor 204. The six components result in a long path of the entire closed-loop control link, a large closed-loop control delay, and low parking control efficiency. Therefore, when encountering road disturbances during parking, such as small steps, uneven roads, low obstacles or high speed bumps, this parking control scheme cannot be closed quickly due to the large closed-loop control delay, which may cause vehicle A to over-adjust, parking jam or vehicle pitching.

[0097] For example, let's take an example: suppose the motor control unit 202 currently controls the motor 203 to rotate according to the target torque of 200N, but encounters a relatively high speed bump after driving for 1.5s. The 200N cannot cross the speed bump, causing the vehicle A to be stuck and the vehicle speed to become 0; afterwards, after the stuck information is fed back to the main control unit 201, since the actual vehicle speed collected by the wheel sensor 204 becomes 0, the main control unit 201 will increase the target torque sharply, such as directly increasing the target torque from 200N to 400N. The target torque of 400N is notified to the motor control unit 202 and may be applied to the motor 203 by the motor control unit 202 at 1.9s; suppose that the vehicle A passes the speed bump at 2.0s under the high torque of 400N, and the main control unit 201 senses that the vehicle speed is too high from the wheel sensor 204 side at 2.5s. At this time, after another round of closed-loop strategy adjustment, the torque of the motor control unit 202 may return to 200N at 3s.

[0098] First, in this example, although the target torque is 200N, it is adjusted to 400N when passing through the speed bump, and due to the extended closed-loop control, it is adjusted back to 200N after passing through the speed bump 1s later. It can be seen that the unnecessary torque increase for a long time occurs during the parking control process, resulting in over-adjustment or overshoot of the vehicle. Secondly, in this example, the motor control unit 202 controls the motor 203 to rotate according to the received target torque, that is, as long as the new target torque is not received, the motor control unit 202 always keeps the target torque applied to the motor 203 unchanged. Therefore, when encountering the speed bump, even if the target torque of 200N cannot pass through the speed bump, since the new target torque is not received, the motor control unit 202 cannot increase the target torque by itself, resulting in the vehicle A being stuck and the parking jam. Furthermore, in this example, since the vehicle A is stuck when passing through the speed bump, the rotation speed of the wheel 12 will have a large change difference. This large difference in vehicle speed change will most likely cause the vehicle A to pitch.

[0099] In order to improve the efficiency of parking control, some solutions have been proposed at this stage, such as:

[0100] In one possible solution, during the process of automatic parking, the vehicle is detected whether it is blocked by an obstacle. When the vehicle is blocked by an obstacle, the vehicle's hydraulic brake system is controlled to set a fixed hydraulic pressure to the vehicle's wheel cylinder. After the fixed hydraulic pressure is set, the vehicle torque is adjusted to allow the vehicle to pass through the obstacle. Although this solution can load the hydraulic braking force on the drive wheel in advance so that the drive wheel can successfully pass the obstacle, it also brings additional energy dissipation and increases the loss of the hydraulic brake system;

[0101] In another possible solution, during the process of automatic parking of the vehicle, the high precision and high resolution characteristics of the laser radar are used to detect the road conditions and obstacles on the road with high precision. When an obstacle is detected in front, it is determined whether the vehicle can pass through the obstacle. If it can pass, the torque limit is increased, and then the obstacle is crossed by the increased torque limit. Although this solution can use the laser radar for feedforward compensation and detect obstacles in advance, the operation of increasing the torque limit still needs to be implemented by the main control unit and the motor control unit. The overall control link is still long, and the effect on improving parking efficiency is not obvious. In addition, this early detection solution may also have the risk of misjudgment, resulting in reduced accuracy of parking control. Or, in some scenarios, there may be obstacles that cannot be detected by the laser radar, resulting in the above-mentioned parking inefficiency problem cannot be solved.

[0102] In addition, both the above-mentioned parking control scheme in the industry and the above-mentioned two solutions rely on the wheel speed fed back by the wheel sensor 204 to adjust the target torque. At present, there are usually only 48 acquisition points on the circumference of the wheel 12, that is, the accuracy of the wheel speed acquired by the wheel sensor 204 can only reach 1 / 48 of the wheel circumference, and the acquisition frequency of the wheel sensor 204 is usually set to 1 / 10ms. The time interval between two acquisitions corresponding to this acquisition frequency is relatively large. Whether it is a large acquisition time interval or a low acquisition accuracy, it is not conducive to improving the accuracy of parking control. The lower the accuracy of parking control, the more times the parking track deviates during parking, and the more corresponding correction times (also called the number of rubbing the warehouse), which is not conducive to improving the efficiency of parking control.

[0103] In view of this, an embodiment of the present application provides a parking control system for improving the efficiency and accuracy of parking control without causing additional energy dissipation and requiring sensors to detect obstacles in advance, thereby improving the user's parking experience.

[0104] In view of the above-mentioned technical problems, the technical solutions provided by the embodiments of the present application are described below in conjunction with the accompanying drawings.

[0105] In the following description, "at least one" means one or more, and "a plurality" means two or more. In view of this, in the embodiment of the present invention, "a plurality" may also be understood as "at least two". "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B may be singular or plural. The character " / " generally indicates that the associated objects before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c may mean: a, b, c, ab, ac, bc, or abc, where a, b, c may be single or multiple.

[0106] Furthermore, unless otherwise specified, the ordinal numbers such as "first" and "second" mentioned in the embodiments of the present application are used to distinguish multiple objects, and are not used to limit the priority or importance of multiple objects. For example, the first drive electrical signal is a drive electrical signal determined according to the target wheel rotation information, and the second drive electrical signal is a drive electrical signal corrected according to the actual wheel rotation information and the target wheel rotation information, which does not mean that the priority or importance of the two drive electrical signals is different.

[0107] In addition, the "electrical connection" in the following embodiments of the present application refers to the connection of electrical components, and the connection of two electrical components can be a direct or indirect connection between the two electrical components. For example, the connection between A and B can be a direct connection between A and B, or an indirect connection between A and B through one or more other electrical components, such as A and B connection, or A and C direct connection, C and B direct connection, and A and B are connected through C. In some scenarios, "connection" can also be understood as coupling, such as electromagnetic coupling between two inductors. In short, the connection between A and B enables the transmission of electrical energy between A and B.

[0108] Figure 3 The schematic diagram of the architecture of a parking control system provided by an embodiment of the present application is exemplarily shown. The parking control system 300 includes a main control unit 201, a motor control unit 202, a motor 203 and a motor sensor 205. In some scenarios, a wheel sensor 204 may also be included. In addition to the parking control system 300, the vehicle may also include other components, such as a transmission system 11, wheels 12, a steering wheel and a steering mechanism ( Figure 3 The main control unit 201, the motor control unit 202 and the motor 203 are electrically connected in sequence, the motor 203, the transmission system 11 and the wheel 12 are mechanically connected in sequence, and the main control unit 201 is also electrically connected to the motor sensor 205 and the wheel sensor 204 respectively.

[0109] In the embodiment of the present application, the specific product implementation form of the main control unit 201 or the motor control unit 202 may have multiple possibilities, for example, it may be a controller, it may be a part of the circuit in a controller, or it may be an integrated body including multiple controllers or circuits in multiple controllers. In some scenarios, when the parking control system 200 is located in a vehicle, the main control unit 201 may specifically be a vehicle control unit (VCU), a vehicle dynamics control (VDC) system or an intelligent driving computing center (mobile data ceter, MDC), or an integrated body of at least two devices in VCU, VDC or MDC, or part or all of the circuits, circuit systems, chips or chip systems set in VCU, VDC or MDC. The motor control unit 202 may specifically be a motor control unit (MCU), or a circuit, circuit system, chip or chip system set in an MCU.

[0110] In some scenarios, the motor sensor 205 is a rotary sensor, including a stator and a rotor. The rotor is usually mounted on the axle of the motor 203, rotates synchronously with the motor 203, and senses position information in the stator coil, which is transmitted by the stator coil. In simple terms, the rotary sensor can be used to detect the position, speed and direction of the rotor in the motor 203. However, this is only an example, and the motor sensor 205 can also be any sensor that can detect the rotation information (such as angle and / or speed) of the motor 203, such as a photoelectric encoder or a Hall position sensor.

[0111] In some scenarios, the wheel sensor 204 is a wheel speed sensor, which is usually disposed on the hub of the wheel 12 to collect the rotation speed of the wheel 12 .

[0112] Based on the parking control system, Figure 4 A flow chart of a parking control method provided by an embodiment of the present application is shown. It should be noted that the parking control method can be executed periodically. The following description will be given by taking the execution operation of one cycle as an example. Figure 3 and Figure 4 As shown, the parking control process mainly includes the following steps:

[0113] Step 401 : the main control unit 201 sends target wheel rotation information to the motor control unit 202 during the parking process of the vehicle.

[0114] Here, during the vehicle parking process, it can be understood as: any moment in the period from when the vehicle starts parking to when the vehicle ends parking, and it can be further understood as: when the main control unit 201 senses that the vehicle has the intention to park, it can send the target wheel rotation information to the motor control unit 202 in the subsequent control process, and what is sent thereafter is the target wheel rotation information, until it senses that the vehicle has the intention to end parking, the main control unit 201 no longer sends the target wheel rotation information in the subsequent control process, but sends the target torque to the motor control unit 202.

[0115] For example, the target wheel rotation information may include a target rotation speed of the wheel 12 and / or a target rotation angle of the wheel 12 .

[0116] Among them, the rotation angle and the rotation speed are one-to-one corresponding. The rotation speed refers to the number of revolutions per unit time, while the rotation angle refers to the angle rotated per unit time. For example, assuming that the rotation speed is N and the rotation angle is Ω, the unit of the rotation speed N is revolutions per millisecond (r / ms), and the unit of the rotation angle Ω is degrees per millisecond (° / ms), then the relationship between the rotation speed N and the rotation angle Ω satisfies the following formula (1):

[0117] Ω=360×N……(1)

[0118] According to formula (1), the accuracy of the rotation speed can reach 1r / ms, while the accuracy of the angle can reach 1° / ms. Obviously, the accuracy of the angle is much higher than that of the rotation speed. Therefore, in some scenarios, if the accuracy requirement for parking control is relatively high, the main control unit 201 can be configured to send the target angle of the wheel 12 to the motor control unit 202, and parking control can be performed based on the angle with higher accuracy to meet the high accuracy requirement. Alternatively, in other scenarios, considering that the use of the angle for parking control usually requires safety monitoring, it may bring additional power consumption and complexity. Therefore, if the accuracy requirement for parking control is not very high, the main control unit 201 can be configured to send the target rotation speed of the wheel 12 to the motor control unit 202, so as to save power consumption and reduce system complexity while meeting the accuracy requirement.

[0119] Step 402 : the motor control unit 202 sends a first driving electrical signal to the motor 203 according to the target wheel rotation information.

[0120] The first driving electrical signal may include a driving current and / or a driving voltage. The first driving electrical signal is used to drive the motor 203 to rotate. Moreover, under the transmission action of the transmission system 11, the rotation of the motor 203 will drive the wheel 12 to rotate.

[0121] Exemplarily, after the motor control unit 202 receives the target wheel rotation information sent by the main control unit 201, it can first determine the corresponding target drive electric signal according to the target wheel rotation information, and then send the target drive electric signal (as the first drive electric signal) to the motor 203 through the controller area network (CAN) bus. There are many ways for the motor control unit 202 to determine the target drive electric signal according to the target wheel rotation information. For example, the motor control unit 202 can query the preset mapping relationship between the wheel rotation information and the drive electric signal to directly obtain the target drive electric signal corresponding to the target wheel rotation information; or, the motor control unit 202 can input the target wheel rotation information into a preset conversion model to directly obtain the target drive electric signal output by the conversion model; or, the motor control unit 202 can first query the preset mapping relationship between the wheel rotation information and the torque to obtain the target torque corresponding to the target wheel rotation information, and then query the preset mapping relationship between the torque and the drive electric signal to obtain the target drive electric signal corresponding to the target torque, etc. There are many possible implementation forms, which are not listed here one by one.

[0122] In one example, considering that if the driving electric signal rises or falls suddenly, the speed of the motor 203 will also rise or fall suddenly, which will cause the vehicle speed to rise or fall suddenly, and there is a high probability that the vehicle will pitch or drive unstably. Therefore, after determining the target driving electric signal corresponding to the target wheel rotation information, the motor control unit 202 can also determine the transition driving electric signal according to the current driving electric signal and the target driving electric signal of the motor 203, and then send the transition driving electric signal (as the first driving electric signal) to the motor 203. Among them, the transition driving electric signal can be one or more values ​​between the current driving electric signal and the target driving electric signal, such as the average value of the current driving electric signal and the target driving electric signal, or it can be a plurality of transition values ​​including the step-by-step switching from the current driving electric signal to the target driving electric signal, or, when the difference between the target driving electric signal and the current driving electric signal is not large, it can also be the target driving electric signal directly. In this way, by adopting the transition driving electric signal to drive the motor to rotate, the phenomenon of the motor speed rising or falling suddenly can be avoided, which helps to improve the stability of the vehicle.

[0123] For ease of understanding, it is assumed that the target wheel rotation information is the target wheel speed and the driving electrical signal is the driving current:

[0124] In a specific example, the motor control unit 202 can first determine the target driving current corresponding to the target speed of the wheel by querying the preset mapping relationship between the wheel speed and the driving current, and then query the preset transition gradient table based on the target driving current and the current driving current of the motor 203 to determine the various transition driving currents required to convert the current driving current into the target driving current, and then send each transition driving current to the motor 203 in turn, driving the motor 203 to gradually switch from the current motor speed to the motor speed corresponding to the target speed of the wheel.

[0125] Among them, the mapping relationship between the preset rotation speed and the driving current can be obtained through experimental testing, or can be set based on experience, and can be presented in any form of a data table, a data graph, a queue or a stack, etc., without specific limitation.

[0126] In some scenarios, the motor control unit 202 may be configured with two control modes, namely, a speed / angle control mode and a torque control mode. The speed / angle control mode is configured with a preset mapping relationship between the speed and the drive current, and the torque control mode is configured with a preset mapping relationship between the torque and the drive current. The speed / angle control mode is much faster than the torque control mode. The user can get vehicle feedback almost immediately after stepping on the accelerator pedal, and the user's driving experience is relatively poor. Therefore, the speed / angle control mode is usually only used to cooperate with the user to quickly adjust the vehicle state when the vehicle is unstable. In the embodiment of the present application, the two control modes in the motor control unit 202 can be directly used. When it is determined that the vehicle has the intention to park, the speed / angle control mode of the motor control unit 202 is activated, and the main control unit 201 directly sends the target speed or target angle of the wheel to the motor control unit 202. In this way, the motor control unit 202 can convert the target speed into the target drive current by querying the mapping relationship between the preset speed and the drive current configured in the speed / angle control mode to complete the closed-loop control based on the speed. In this way, even if the road surface disturbance is encountered during the parking process, it can be parked smoothly into the target parking space through fast closed-loop control. On the contrary, when it is determined that the vehicle has the intention to end parking, the torque control mode of the motor control unit 202 is activated, and the main control unit 201 sends the target torque corresponding to the target speed to the motor control unit 202. In this way, the motor control unit 202 can convert the target torque into the target drive current by querying the mapping relationship between the preset torque and the drive current configured in the torque control mode to complete the closed-loop control based on the torque, and reserve a certain reaction time for the user after stepping on the accelerator pedal, thereby improving the user's driving experience.

[0127] In addition, the torque control mode is a default control mode in the motor control unit 202. Therefore, each time the vehicle is started or restarted, the torque control mode in the motor control unit 202 is activated by default. The activation method may be triggered by the main control unit 201 or may be automatically activated, which is not specifically limited.

[0128] Among them, the preset transition gradient table can be pre-configured in the vehicle according to user needs, and can be upgraded as the vehicle's software and hardware are upgraded, for example, the latest version can be automatically downloaded when the vehicle is upgraded using over the air technology (OTA). In some examples, user needs refer to the driving mode of the vehicle that the user wants. Generally, the driving mode of the vehicle may include a first mode and a second mode. The first mode pays more attention to user experience, and is also called comfort mode, economy mode, normal mode or custom mode in some scenarios. The second mode pays more attention to response speed, and is also called sports mode, dynamic mode or aggressive mode in some scenarios. When the vehicle's driving mode is configured as the first mode, only the transition gradient table corresponding to the first mode can be configured in the vehicle. When the vehicle's driving mode is configured as the second mode, only the transition gradient table corresponding to the second mode can be configured in the vehicle. Alternatively, in some scenarios, the vehicle is configured with both a transition gradient table corresponding to the first mode and a transition gradient table corresponding to the second mode. The user can instruct the vehicle to switch to the target driving mode through a display screen, voice, gesture or button each time the vehicle is started or when a mode switch is required. In this way, during the parking process, the motor control unit can determine each transition driving current based on the target driving current and the current driving current by querying the transition gradient table corresponding to the target driving mode of the vehicle.

[0129] For example, Table 1 shows a fragment of a transition gradient table corresponding to a first mode provided in an embodiment of the present application:

[0130] Table 1

[0131]

[0132] For example, Table 2 shows a fragment of a transition gradient table corresponding to a second mode provided in an embodiment of the present application:

[0133] Table 2

[0134]

[0135] From Table 1 and Table 2, it can be seen that, for the same current drive current and target drive current, the speed of the gradient increase or gradient decrease in the transition gradient table corresponding to the second mode is greater than the speed of the gradient increase or gradient decrease in the transition gradient table corresponding to the first mode. In this way, the vehicle will adjust to the target drive current faster in the second mode, meeting the response speed requirement of the second mode, while in the first mode it will adjust to the target drive current more smoothly, meeting the user experience requirement of the first mode.

[0136] It should be noted that the various mapping relationships and transition gradient tables involved in the above content can be stored in the vehicle-mounted memory, or stored locally in the motor control unit 202, or stored in other components of the vehicle, other vehicles or cloud servers, and obtained by the motor control unit 202 from other components, other vehicles or cloud servers when in use. The embodiments of the present application do not specifically limit this.

[0137] Step 403 : the motor control unit 202 obtains the motor rotation information of the motor collected by the motor sensor 205 .

[0138] The motor rotation information may include the rotation speed of the motor 203 and / or the rotation angle of the motor 203 .

[0139] In some scenarios, in order to save calculation time, the motor rotation information and the target wheel rotation information may correspond to each other. For example, if the target wheel rotation information is configured as the target speed of wheel 12, the motor rotation information may be configured as the speed of motor 203, and if the target wheel rotation information is configured as the target angle of wheel 12, the motor rotation information may be configured as the angle of motor 203.

[0140] Alternatively, in some scenarios, if the motor sensor 205 can only collect the rotation speed of the motor 203, and the target wheel rotation information is configured as the target rotation angle of the wheel 12, then after obtaining the rotation speed of the motor 203, the motor control unit 202 can also first convert the rotation speed of the motor 203 into the rotation angle of the motor 203 according to the above formula (1), and then execute the following step 404. Alternatively, if the motor sensor 205 can only collect the rotation angle of the motor 203, and the target wheel rotation information is configured as the target rotation speed of the wheel 12, then after obtaining the rotation angle of the motor 203, the motor control unit 202 can also first convert the rotation angle of the motor 203 into the rotation speed of the motor 203 according to the above formula (1), and then execute the following step 404.

[0141] Step 404 : the motor control unit 202 sends a second driving electrical signal to the motor 203 according to the motor rotation information and the target wheel rotation information.

[0142] Exemplarily, after parking starts, the motor control unit 202 receives the first target wheel rotation information and sends the corresponding first drive electrical signal to the motor 203. Afterwards, the motor control unit 202 can obtain the motor rotation information collected by the motor sensor 205 according to a preset period. Among them, the duration of the preset period can be the same as the duration of the acquisition period of the motor sensor 205, and is shorter than the duration of the cycle of the entire parking control process. For example, in a scenario example, the entire parking control process is executed according to a large closed-loop cycle, such as 10ms, and the acquisition cycle of the motor sensor 205 is executed according to a small closed-loop cycle, such as 2ms. In this scenario, the main control unit 201 determines the target wheel rotation information every 10ms, and in each large closed-loop cycle of 10ms, the motor control unit 202 obtains the motor rotation information collected by the motor sensor 205 within these 2ms every 2ms. Moreover, within each small closed-loop cycle of 2ms, the motor control unit 202 can utilize the motor rotation information obtained within the 2ms and the target wheel rotation information obtained within the current large closed-loop cycle of 10ms to correct the driving electrical signal sent to the motor 203, so as to complete the closed-loop control corresponding to the small closed-loop cycle of 2ms. After repeating the closed-loop control of 5 small closed-loop cycles of 2ms, the target wheel rotation information of the next large closed-loop cycle of 10ms sent by the main control unit 201 is received, and the above control process can be repeated based on the target wheel rotation information of the next large closed-loop cycle of 10ms until the vehicle parks in the target parking space and the parking is completed.

[0143] In a further example, there are many ways for the motor control unit 202 to modify the drive electric signal using the motor rotation information and the target wheel rotation information. For example, the motor rotation information can be converted into the current wheel rotation information according to the conversion relationship between the motor circumference and the wheel circumference, and then the current wheel rotation information and the target wheel rotation information are input into the preset closed-loop control algorithm, and the next step of the wheel rotation information output by the closed-loop control algorithm is obtained. After that, the mapping relationship between the preset wheel rotation information and the drive electric signal can be queried to obtain the next step of the drive electric signal corresponding to the next step of the wheel rotation information, and then by querying the preset transition gradient table, the current drive electric signal of the motor 203 is converted into each transition drive electric signal of the next step, and sent to the motor 203 in sequence. Among them, the preset closed-loop control algorithm can be a proportional integral (PI) algorithm or a proportional integral derivative (PID) algorithm, etc., which is not specifically limited. As for the mapping relationship between the preset wheel rotation information and the drive electric signal and the relevant content of the preset transition gradient table, it can be directly referred to the above step 402, and it will not be repeated here.

[0144] In summary, the above parking control scheme puts the closed-loop control strategy in the parking process on the motor control unit side for execution. After the main control unit sends the target wheel rotation information to the motor control unit, the motor control unit uses the motor rotation information collected by the motor sensor to realize the closed-loop feedback of the target wheel rotation information. This control mode is referred to as the speed / angle control mode. In this way, the motor rotation information is used to correct the speed of the motor, and there is no need to convert different unit data in the middle, which helps to shorten the delay of the closed-loop control. In addition, the entire closed-loop control link only needs to pass through the three components of the motor control unit 202, the motor 203 and the motor sensor 205. The path of the closed-loop control link is relatively short, and the required closed-loop control delay is smaller. It can be seen that compared with the prior art solution that uses torque to correct the speed and places the closed-loop control strategy during parking on the main control unit side, the closed-loop control delay of the parking control solution provided in the embodiment of the present application is effectively reduced, and the parking control efficiency is higher. Therefore, even if road disturbances are encountered during parking, the closed loop can be quickly converged due to the small closed-loop control delay, effectively avoiding vehicle overshoot, parking jams, or vehicle pitching.

[0145] For example, for example: Figure 1 As shown, assuming that during the parking process of vehicle A, the target wheel speed information sent by the main control unit 201 to the motor control unit 202 is 500r / ms, the motor control unit 202 will configure the driving electrical signal sent to the motor 203 in accordance with the principle of ensuring that the wheel speed is stable at 500r / ms. For example, the driving current initially configured for the motor 203 is 200A; after driving for 1.5s, it encounters a relatively high speed bump, and the 200A cannot cross the speed bump, causing the speed of the motor 203 to drop rapidly, causing the motor 203 to be blocked, resulting in a sudden increase in the actual current of the motor 203; at this time, according to the sharp drop in the speed of the motor 203 and the state of sudden increase in current, the motor sensor 202 can determine that the vehicle A is currently subject to road disturbance. Therefore, according to the principle of ensuring that the wheel speed is stable at 500r / ms, the motor sensor 202 will reconfigure the drive current sent to the motor 203. Assuming it is adjusted to 300A, the motor 203 will smoothly pass through the road disturbance driven by the drive current of 300A; at this time, the speed of the motor 203 is greater than the speed that makes the wheel speed stable at 500r / ms, and the speed is quickly transmitted to the motor control unit 202 by the motor sensor 205, and then the motor control unit 202 can quickly adjust the drive current of the motor 203 back to 200A.

[0146] It can be seen that during the parking control process, since the motor control unit 202 always configures the speed of the motor 203 according to the principle of maintaining the vehicle speed at 500r / ms, even if there is a road disturbance, the motor control unit 202 can control the motor 203 to always drive the wheels to rotate at a speed of 500r / ms. This can prevent the vehicle from being stuck by road disturbances, and will not cause the vehicle speed to suddenly increase to more than 500r / ms. It effectively avoids parking jams, jams, or pitching of the entire vehicle, and reduces overshoot after passing an obstacle.

[0147] In addition, the above parking control scheme uses the motor rotation information collected by the motor sensor to correct the target wheel rotation information, and there are usually 4096 position points on the circumference of the motor, that is to say, the accuracy of the motor wheel speed collected by the motor sensor can reach 1 / 4096 of the motor circumference, and the acquisition frequency of the motor sensor is usually set to 1 / 2ms. It can be seen that compared with the wheel sensor, the motor sensor has higher acquisition accuracy and smaller acquisition interval. Both higher acquisition accuracy and shorter acquisition interval can help improve the accuracy of closed-loop control, and thus improve the accuracy of parking control. The higher the accuracy of parking control, the fewer times the parking trajectory will deviate during the parking process, and the corresponding number of rubbing the warehouse will be less, which is more conducive to improving the efficiency of parking control.

[0148] It should be noted that in the embodiment of the present application, in the non-parking scenario, the vehicle adopts the torque control mode by default, that is, the closed-loop control strategy is placed on the main control unit side, and the torque is used to correct the motor speed. For details, please refer to the above Figure 2 In the parking scenario, the vehicle switches to the speed / angle control mode, that is, the closed-loop control strategy is placed on the motor control unit side, and the motor rotation information is used to correct the motor speed. For details, please refer to the above Figure 3 and Figure 4 The parking scene and the non-parking scene can be determined by the main control unit according to at least one of the current state of the vehicle or the user's instruction information, and different parking modes can correspond to different confirmation methods.

[0149] The specific implementation of the parking control processes corresponding to the automatic parking mode and the manual parking mode will be introduced below through implementation plan 1 and implementation plan 2 respectively.

[0150] Implementation Plan 1

[0151] Figure 5 A flow chart of a parking control method in an automatic parking mode provided in an embodiment of the present application is shown.

[0152] It should be noted that, in the automatic parking mode, the main control unit 201 may exemplarily include at least one of the MDC, VCU and VDC systems. For example, in some scenarios, by default, the VCU is used to perform the whole vehicle control operation, that is, the VCU acts as the main control unit 201; but after receiving the user's automatic parking request, the VCU will send a first indication message to the MDC to instruct the MDC to take over the whole vehicle control operation. At this time, the MDC acts as the main control unit 201; thereafter, when the MDC detects that the automatic parking is over, it will send a second indication message to the VCU to instruct the VCU to take over the whole vehicle control operation again. At this time, the VCU acts as the main control unit 201 again. Based on this, in the following description, the main control unit 201 during the automatic parking process can be considered as the MDC, and the main control unit 201 after the automatic parking is completed can be considered as the VCU, or, in other scenarios, it may also be the VDC, and the embodiments of the present application do not specifically limit this.

[0153] Please refer to Figure 3 and Figure 5 As shown in FIG. 1 , the parking control process in the automatic parking mode mainly includes the following steps:

[0154] Step 501 : upon receiving an automatic parking request, the main control unit 201 sends target wheel rotation information to the motor control unit 202 .

[0155] Among them, the automatic parking request can be triggered by certain user behaviors, which include but are not limited to: the user selects the target parking space on the vehicle display screen or clicks the automatic parking button; the user issues voice content such as "OK parking"; the user shows the preset parking gesture to the vehicle camera; the user triggers parking instructions on devices such as mobile phones or laptops; the user presses the one-touch parking button on the car key; the user presses the parking button on the inside or outside of the car body, etc.

[0156] Exemplarily, after receiving the automatic parking request, the main control unit 201 may input the current position of the vehicle and the position of the target parking space into a preset trajectory planning algorithm, and obtain a parking trajectory output by the trajectory planning algorithm, wherein the parking trajectory includes the vehicle speed and vehicle turning angle required for each step of the vehicle from the current position to the target parking space. The main control unit 201 determines the target vehicle speed and target vehicle turning angle for the next step with reference to the parking trajectory, sends the target vehicle turning angle to the steering mechanism to drive the steering mechanism to drive the wheel 12 to rotate the corresponding angle, and converts the target vehicle speed into the target rotation speed of the wheel 12 according to the following formula (2). Furthermore, if the target wheel rotation information is configured as the target rotation speed of the wheel 12, the main control unit 201 may directly send the target rotation speed to the motor control unit 202. If the target wheel rotation information is configured as the target rotation angle of the wheel 12, the main control unit 201 needs to first convert the target rotation speed of the wheel 12 into the target rotation angle of the wheel 12 according to the above formula (1), and then send it to the motor control unit 202.

[0157] Assuming that the vehicle speed is V, in units of meters per millisecond (m / ms), the rotation speed is N, in units of r / ms, and the radius of the wheel 12 is R, in units of m, the relationship between the vehicle speed and the rotation speed satisfies the following formula (2):

[0158]

[0159] It should be noted that the above-mentioned vehicle angle can be any one of the angle of the steering wheel or the angle of the steering mechanism. For example, in the scenario where the vehicle has a steering wheel, that is, when the vehicle is a vehicle with a steering wheel, the vehicle angle can specifically refer to the angle of the steering wheel. After the steering wheel angle is sent to the steering mechanism, the steering mechanism can convert it into the angle of the steering mechanism according to a preset proportional conversion relationship to control the steering of the wheels. In the scenario where the vehicle does not have a steering wheel, that is, when the vehicle is a vehicle without a steering wheel, the vehicle angle can specifically refer to the angle of the steering mechanism. After the steering wheel angle is sent to the steering mechanism, the steering mechanism can directly control the steering of the wheels.

[0160] Step 502 : the motor control unit 202 sends a first driving electrical signal to the motor 203 according to the target wheel rotation information.

[0161] Step 503 : the motor control unit 202 obtains the motor rotation information of the motor collected by the motor sensor 205 .

[0162] Step 504 : the motor control unit 202 sends a second driving electrical signal to the motor 203 according to the motor rotation information and the target wheel rotation information.

[0163] It should be noted that the specific implementation of the above steps 502 to 504 can be directly referred to the above steps 402 to 404, which will not be repeated here.

[0164] Step 505 : The main control unit 201 determines that the automatic parking is completed and switches back to the torque control mode.

[0165] Exemplarily, there are many possible triggering conditions for the termination of automatic parking. For example, the main control unit 201 may detect that the position of the vehicle coincides with the position of the target parking space, and determine that the vehicle has been parked in the target parking space, at which time it determines that the automatic parking is terminated. Alternatively, it may be triggered by certain actions of the user, which include but are not limited to: the user pressing the accelerator pedal; the user pressing the brake pedal deeply; the user turning the steering wheel; the user shifting the vehicle gear to the parking (P) gear; the user clicking the exit automatic parking button on the vehicle display screen; the user uttering voice content such as "exit parking"; the user showing the preset exit parking gesture to the vehicle camera; the user triggering the stop parking instruction on a device such as a mobile phone or laptop computer; the user pressing the stop parking button on the car key; the user pressing the stop parking button on the inside or outside of the vehicle body, etc.

[0166] Correspondingly, the main control unit 201 can determine that automatic parking has ended when it determines that the state of the vehicle meets any of the following conditions: the opening of the accelerator pedal is greater than 0; the opening of the brake pedal is greater than a preset opening threshold, and the preset opening threshold is greater than 0; the steering wheel is turned; it is in P gear; a request to end parking is received.

[0167] For example, in some scenarios, during the process of automatic parking, the user suddenly has other things to do and needs to leave, and no longer needs to park. At this time, the user can press the accelerator pedal and manually take over the steering wheel. At this time, the main control unit 201 detects that the opening of the accelerator pedal is greater than 0, and the steering wheel has also turned. Therefore, the main control unit 201 can determine that the user instructs to end the automatic parking. At this time, the main control unit 201 can switch from the speed / angle control mode of the previous parking mode back to the default torque control mode, that is, the main control unit 201 sends the target torque corresponding to the current opening of the accelerator pedal to the motor control unit 202, and the motor control unit 202 determines the third drive electrical signal based on the target torque and sends it to the motor 203. The main control unit 201 also uses the speed of the wheel 12 collected by the wheel sensor 204 to correct the target torque sent to the motor control unit 202. The specific implementation logic of this part can refer to the above Figure 2 The relevant introduction in will not be repeated here.

[0168] For example, in other scenarios, during the process of automatic parking, the user wants to change to another parking space for some reason. At this time, the user can step on the brake pedal deeply and instruct the vehicle to rescan the current parking lot on the on-board display screen. After selecting the parking space of his choice, he can re-instruct automatic parking. At this time, the main control unit 201 detects that the opening of the brake pedal is greater than the preset opening threshold, determines to end the automatic parking, and the main control unit 201 can switch from the speed / angle control mode of the previous parking mode back to the default torque control mode. In addition, according to the parking space reselected by the user, the main control unit 201 can input the current position of the vehicle and the position of the reselected parking space into the preset trajectory planning algorithm, and obtain the parking trajectory output by the trajectory planning algorithm. Before the vehicle reaches a certain distance from the current position to the reselected parking space (which can be considered as the distance for the start of automatic parking), the main control unit 201 controls the vehicle to travel in a torque control mode, that is, the main control unit 201 sends the target torque corresponding to the target speed to the motor control unit 202, and the motor control unit 202 determines the third driving electrical signal according to the target torque and sends it to the motor 203. The main control unit 201 also adjusts the target torque according to the wheel speed collected by the wheel sensor 204. After the vehicle reaches a certain distance from the current position to the reselected parking space, the main control unit 201 controls the vehicle to travel in a speed / angle control mode, that is, the main control unit 201 directly sends the target speed to the motor control unit 202, and the motor control unit 202 adjusts the target speed according to the motor speed collected by the motor sensor 205.

[0169] In the above-mentioned implementation plan one, the vehicle adopts the speed / angle control mode during the automatic parking process, and switches back to the default torque control mode after the automatic parking is completed. In this way, a high-precision and high-speed parking control strategy can be adopted during the automatic parking process to reduce parking jams and stuck phenomena in automatic parking scenarios and reduce the number of parking maneuvers. In addition, it can ensure that the user has enough time from stepping on the pedal to sensing the vehicle's reaction in non-parking scenarios, thereby improving the user's driving experience.

[0170] Implementation Plan 2

[0171] Figure 6 A flow chart of a parking control method in a manual parking mode provided by an embodiment of the present application is shown. In the manual parking mode, the main control unit 201 may be a VCU or a VDC system. Figure 3 and Figure 6 As shown in FIG. 1 , the parking control process in the manual parking mode mainly includes the following steps:

[0172] Step 601 : When the current state of the vehicle satisfies the parking condition, the main control unit 201 determines the target wheel rotation information corresponding to the current opening of the vehicle pedal.

[0173] Exemplarily, parking conditions may include the following conditions: the vehicle speed is lower than a preset vehicle speed; the motor speed is lower than a preset speed; the torque requested by the driver is less than a torque threshold; the rate of change of the torque requested by the driver is less than a first rate of change threshold; the opening of the accelerator pedal is less than a first opening threshold; the rate of change of the opening of the accelerator pedal is less than a second rate of change threshold; the opening of the brake pedal is greater than the second opening threshold; the rate of change of the opening of the brake pedal is less than a third rate of change threshold.

[0174] For example, when the vehicle's driving speed is relatively low, the vehicle's motor speed is relatively low, the vehicle's accelerator has not been stepped on for a long time or has been lightly stepped on for a long time, and the vehicle's brake has been heavily stepped on for a long time, it can be considered that the vehicle is most likely in parking mode. At this time, the vehicle can switch to speed / angle control mode.

[0175] For example, in some scenarios, if the vehicle speed is within the range of [-15KPH, 15KPH], the vehicle can be considered to be in parking mode, where KPH is the unit of vehicle speed, i.e., kilometers per hour.

[0176] It should be noted that the above example combines multiple vehicle states such as vehicle speed, motor speed, requested torque, rate of change of requested torque, accelerator pedal opening, rate of change of accelerator pedal opening, brake pedal opening, and rate of change of brake pedal opening to determine whether the vehicle is in a parking state, which can make the determination result more detailed and accurate. However, this is only an optional implementation method. In other optional implementation methods, only some of the above vehicle states can be used to determine whether the vehicle is in a parking state, or other vehicle states different from the above vehicle states can be used for determination. This embodiment of the application does not specifically limit this.

[0177] Exemplarily, during manual driving, the vehicle is configured with a preset mapping relationship between pedal opening and torque. The main control unit 201 obtains the current opening of the vehicle pedal pressed by the user in real time, and can determine the target torque corresponding to the current opening of the vehicle pedal by querying the preset mapping relationship between pedal opening and torque. The target torque corresponds to the driver's requested torque. When the target torque is less than the first change rate threshold and other states of the vehicle also meet the above-mentioned parking conditions, it means that the vehicle currently meets the entry conditions of the parking scene, and the main control unit 201 determines that the driver is manually parking.

[0178] In some scenarios, in the preset mapping relationship between the pedal opening and the torque, the pedal opening may specifically refer to the opening of the accelerator pedal. The main control unit 201 can obtain the target torque corresponding to the current opening of the accelerator pedal by acquiring the current opening of the accelerator pedal pressed by the user in real time and querying the preset mapping relationship between the opening of the accelerator pedal and the torque. However, this is only one possible scenario. In other scenarios, the pedal opening may also be the opening of other pedals other than the opening of the accelerator pedal, such as the opening of the brake pedal, or it may be a combination of the opening of the accelerator pedal and the opening of other pedals, such as a combination of the opening of the accelerator pedal and the opening of the brake pedal. In the case where the pedal opening is a combination of the opening of the accelerator pedal and the opening of the brake pedal, the preset mapping relationship between the pedal opening and the torque includes multiple groups of openings and multiple torques corresponding to the multiple groups of openings, each group of openings includes an accelerator pedal opening and a brake pedal opening, and, in the corresponding relationship between each group of openings and torques, the accelerator pedal opening is positively correlated with the torque, and the brake pedal opening is negatively correlated with the torque. In this case, the main control unit 201 can obtain the current opening of the accelerator pedal and the current opening of the brake pedal pressed by the user in real time, and query the preset mapping relationship between the pedal opening and the torque, to obtain the target torque corresponding to the current opening of the accelerator pedal and the current opening of the brake pedal.

[0179] In a further example, in the speed / angle control mode of the manual parking mode, the vehicle may also be configured with a preset mapping relationship between torque and wheel rotation information. After the main control unit 201 determines the target torque corresponding to the current opening of the vehicle pedal in the above manner, it may then determine the target wheel rotation information corresponding to the target torque by querying the mapping relationship between the preset torque and wheel rotation information. Among them, the preset mapping relationship between the pedal opening and the torque may be obtained through experimental testing, and the preset mapping relationship between the torque and the wheel rotation information may be configured according to vehicle requirements (such as the vehicle driving mode). These two mapping relationships may be stored in the on-board memory, in the main control unit 201, or in other components of the vehicle, and the main control unit 201 may obtain them from other components when needed, without specific limitation.

[0180] In a further example, assuming that when the vehicle is configured in the first mode, the vehicle can travel slowly at the speed corresponding to the set creep torque even if the user does not step on the accelerator pedal and the brake pedal. Then, after the main control unit 201 determines the target torque corresponding to the current opening of the vehicle pedal, if the target torque is less than the creep torque configured in the first mode, the creep torque can be used as the target torque. For example, if the determined target torque is 80N, but the creep torque is 100N, the main control unit 201 can select 100N as the final target torque. If the determined target torque is 120N and the creep torque is 100N, the main control unit 201 can still use 120N as the target torque. In some scenarios, the first mode can also be called a comfort mode, an economic mode, a normal mode, or a custom mode. Alternatively, in other scenarios, such as a sports mode, a dynamic mode, or an aggressive mode, corresponding creep torques may also be configured. In this case, the vehicle can also correct the target torque according to the corresponding creep torque in these modes. In this way, by using the creep torque to arbitrate the target torque, it can be ensured that the vehicle travels at a speed not less than that corresponding to the creep torque. Even in the parking mode, it can be ensured that the vehicle speed meets the requirements of the current driving mode.

[0181] In a further example, if the arbitrated target torque is greater than the torque threshold in the above-mentioned parking condition, it means that after adjusting the vehicle speed according to the arbitrated target torque, the vehicle will no longer be in a parking state, which further means that the vehicle is currently preparing to exit the parking state, or has already exited the parking state. At this time, the main control unit 201 may no longer control the motor speed according to the speed / speed control mode, but may switch back to the default torque control mode to match the non-parking requirements of the vehicle.

[0182] In a further example, considering that the vehicle driving mode usually includes a first mode and a second mode, the first mode is also called a comfort mode, an economic mode, a normal mode or a custom mode, etc., and the second mode is also called a sports mode, a dynamic mode or an aggressive mode, etc., the first mode requires the vehicle speed to change as slowly as possible, while the second mode hopes that the vehicle speed can reach the demand as soon as possible. Therefore, the preset mapping relationship between torque and wheel rotation information may also include a mapping relationship between torque and wheel rotation information corresponding to the first mode and a mapping relationship between torque and wheel rotation information corresponding to the second mode. When the vehicle driving mode is the first mode, only the mapping relationship between torque and wheel rotation information corresponding to the first mode may be configured in the vehicle. When the vehicle driving mode is the second mode, only the mapping relationship between torque and wheel rotation information corresponding to the second mode may be configured in the vehicle. Alternatively, in some scenarios, the vehicle may be configured with both a mapping relationship between the torque and the wheel rotation information corresponding to the first mode and a mapping relationship between the torque and the wheel rotation information corresponding to the second mode. The user may instruct the vehicle to switch to the target driving mode through a display screen, voice, gesture or button each time the vehicle is started or when the mode needs to be switched. In this way, when the vehicle is driving, the mapping relationship between the torque and the wheel rotation information corresponding to the target driving mode may be used to determine the target wheel rotation information corresponding to the arbitrated target torque.

[0183] For example, taking the wheel rotation information as the wheel speed as an example, Table 3 shows a fragmentary schematic diagram of a mapping relationship between torque and wheel speed corresponding to a first mode provided in an embodiment of the present application:

[0184] Table 3

[0185] Torque(N) Wheel speed (r / ms) [0,50) 300 [50,100) 350 [100,150) 400 [150,200) 450

[0186] For example, Table 4 shows a fragmentary schematic diagram of a mapping relationship between torque and wheel speed corresponding to a second mode provided in an embodiment of the present application:

[0187] Table 4

[0188] Torque(N) Wheel speed (r / ms) [0,10) 260 [10,20) 270 [20,30) 280 [30,40) 290 [50,60) 300 [60,70) 310 [70,80) 320 [80,90) 330 [90,100) 340

[0189] From Table 3 and Table 4, it can be seen that in the mapping relationship between torque and wheel speed corresponding to any vehicle driving mode, one torque range corresponds to one wheel speed. For example, in the mapping relationship between torque and wheel speed corresponding to the second mode, each 50N width of torque range corresponds to one wheel speed, while in the mapping relationship between torque and wheel speed corresponding to the first mode, each 10N width of torque range corresponds to one wheel speed. In this way, the vehicle will adjust to the target torque in a coarser granularity in the second mode to meet the response speed requirements of the second mode, while in the first mode, it will adjust to the target drive current more smoothly to meet the user experience requirements of the first mode.

[0190] In a further example, after the main control unit 201 determines the target wheel rotation information corresponding to the target torque according to the mapping relationship between the torque corresponding to the current vehicle driving mode and the wheel rotation information, it can also use the current vehicle speed information of the vehicle to correct the target wheel rotation information. Among them, the corrected target wheel rotation information is between the wheel rotation information corresponding to the current vehicle speed information of the vehicle and the target wheel rotation information before correction, for example, it can be the average value of the wheel rotation information corresponding to the current vehicle speed information of the vehicle and the target wheel rotation information before correction. For example, assuming that the wheel rotation information is the rotation speed of the wheel, the arbitrated target torque is 120N, the corresponding target wheel rotation speed is 350r / ms, and the wheel rotation speed corresponding to the current vehicle speed is 700r / ms, then after using 700r / ms to correct 350r / ms, the final target wheel rotation speed of 500r / ms can be obtained. In this way, by controlling the wheel speed to drop from 700r / ms to 500r / ms, instead of directly dropping to 350r / ms, the wheel speed can be smoothly adjusted in parking control, avoiding sudden speed increase or speed decrease of the vehicle, and improving the driving experience of the user.

[0191] It should be noted that determining the target wheel rotation information corresponding to the current pedal opening by using the preset mapping relationship between the pedal opening and the torque and the preset mapping relationship between the torque and the wheel rotation information is only an optional implementation. In another optional implementation, the vehicle may also directly configure a preset mapping relationship between the pedal opening and the wheel rotation information, such as a preset mapping relationship between the accelerator pedal opening and the wheel rotation information. The main control unit 201 may directly determine the target wheel rotation information corresponding to the current opening of the vehicle's accelerator pedal by querying the mapping relationship, thereby further improving the efficiency of parking control.

[0192] Step 602 , the main control unit 201 sends the target wheel rotation information to the motor control unit 202 .

[0193] Step 603 : the motor control unit 202 sends a first driving electrical signal to the motor 203 according to the target wheel rotation information.

[0194] Step 604 : the motor control unit 202 obtains the motor rotation information of the motor collected by the motor sensor 205 .

[0195] Step 605 : the motor control unit 202 sends a second driving electrical signal to the motor 203 according to the motor rotation information and the target wheel rotation information.

[0196] It should be noted that the specific implementation of the above steps 602 to 605 can be directly referred to the above steps 401 to 404, which will not be repeated here.

[0197] Step 606 : When the current state of the vehicle satisfies the parking end condition, the main control unit 201 switches back to the torque control mode.

[0198] Exemplarily, the parking termination conditions may include at least one of the following conditions: the vehicle speed is not lower than a preset vehicle speed; the motor speed is not lower than a preset speed; the torque requested by the driver is not less than a torque threshold; the rate of change of the torque requested by the driver is not less than a first rate of change threshold; the opening of the accelerator pedal is not less than a first opening threshold; the rate of change of the opening of the vehicle's accelerator pedal is not less than a second rate of change threshold; the opening of the brake pedal is not greater than the second opening threshold; the rate of change of the opening of the brake pedal is not less than a third rate of change threshold.

[0199] For example, when the vehicle's driving speed increases, or the vehicle's motor speed increases, or the vehicle's accelerator is suddenly stepped on, or the vehicle's brakes are suddenly released, it can be considered that the vehicle has most likely completed parking, and the vehicle can switch back to the torque control mode.

[0200] For example, in some scenarios, during the manual parking process, the user no longer needs to park for some reason. At this time, the user can release the brake pedal and step deeply on the accelerator pedal. At this time, the main control unit 201 detects that the opening of the brake pedal is reduced to the second opening threshold, and the opening of the accelerator pedal is increased to the first opening threshold. Therefore, the main control unit 201 can determine that parking is to be ended. At this time, the main control unit 201 can switch from the speed / angle control mode of the previous parking mode back to the default torque control mode, that is, the main control unit 201 sends the target torque corresponding to the current pedal opening to the motor control unit 202, and the motor control unit 202 determines the third drive electrical signal based on the target torque and sends it to the motor 203. The main control unit 201 also uses the speed of the wheel 12 collected by the wheel sensor 204 to correct the target torque sent to the motor control unit 202. The specific implementation logic can refer to the above Figure 3 Related introduction in .

[0201] In the above-mentioned second implementation scheme, the vehicle adopts the speed / angle control mode during manual parking, and switches back to the default torque control mode after the manual parking is completed. In this way, a high-precision and high-speed parking control strategy can be adopted during manual parking to reduce parking jams, jams, and overshoots after passing obstacles in human driving scenarios. In addition, it can ensure that there is enough time for the user to perceive the vehicle's reaction after stepping on the pedal in non-parking scenarios, thereby improving the user's driving experience.

[0202] In the embodiment of the present application, the motor control unit 202 may be configured with two control modes, namely, a speed / angle control mode and a torque control mode. When the torque control mode is adopted, the motor control unit 202 may control the motor rotation according to the torque, so that the motor speed is maintained at a certain torque, and when the speed / angle control mode is adopted, the motor control unit 202 may control the motor rotation according to the speed / angle, so that the motor speed is maintained at a certain speed or angle. The switching of these two control modes of the motor control unit 202 may be controlled and implemented by the main control unit 201, for example, Figure 7 A specific flow chart of a parking control method provided by an embodiment of the present application is shown, and the flow chart includes:

[0203] Step 701 : the main control unit 201 sends a first control signal to the motor control unit 202 during the parking process of the vehicle.

[0204] For example, if the vehicle is configured in automatic parking mode, the main control unit 201 may include a VCU and an MDC. After receiving the user's automatic parking request, the VCU determines that the vehicle has a parking intention. At this time, the VCU may send a first indication message to the MDC. After receiving the first indication message, the MDC may take over all operations of the VCU and send a first control signal to the motor control unit 202 to control the motor control unit 202 to switch to the speed / angle control mode.

[0205] For example, if the vehicle is configured in manual parking mode, the main control unit 201 may include a VCU. When the VCU detects that the current state of the vehicle meets the parking trigger condition as shown in the second embodiment above, it determines that the vehicle has a parking intention. At this time, the VCU may send a first control signal to the motor control unit 202 to control the motor control unit 202 to switch to the speed / angle control mode.

[0206] It should be noted that the above examples are all introduced based on the example of controlling the motor control unit 202 to switch to the speed / angle control mode when the vehicle starts to park, but in actual operation, the moment of controlling the motor control unit 202 to switch to the speed / angle control mode can also be a certain moment before or after the vehicle starts to park, for example, it can be any moment in the period between detecting the vehicle's intention to park and the vehicle ending parking, without specific limitation.

[0207] Step 702: the motor control unit 202 switches to a speed / angle control mode according to a first control signal.

[0208] For example, in the motor control unit 202, the torque control mode is the default control mode. In the case where the first control signal is not received, the torque control mode in the motor control unit 202 is in an activated state, and the speed / angle control mode in the motor control unit 202 is in an inactivated state. When the first control signal is received, the motor control unit 202 may switch the torque control mode to an inactivated state, and switch the speed / angle control mode to an activated state, thereby switching to the speed / angle control mode.

[0209] Step 703 : the main control unit 201 sends the target wheel rotation information to the motor control unit 202 .

[0210] Here, during the vehicle parking process, the main control unit 201 can send the target wheel rotation information to the motor control unit 202 according to a large closed-loop cycle. For example, assuming that the large closed-loop cycle is 10ms, the main control unit 201 can determine the target wheel rotation information every 10ms and send it to the motor control unit 202.

[0211] Step 704 : the motor control unit 202 sends a first driving electrical signal to the motor 203 according to the target wheel rotation information.

[0212] Step 705 : the motor control unit 202 obtains the motor rotation information of the motor collected by the motor sensor 205 .

[0213] Step 706 : the motor control unit 202 sends a second driving electrical signal to the motor 203 according to the motor rotation information and the target wheel rotation information.

[0214] Here, when the motor control unit 202 switches to the speed / angle control mode, the motor control unit 202 can perform the correction operation of the drive electrical signal according to a small closed-loop cycle. For example, assuming that the small closed-loop cycle is 2ms, the motor control unit 202 can obtain the motor rotation information collected by the motor sensor 205 every 2ms, and use the motor rotation information obtained within the 2ms and the target wheel rotation information obtained within the current large closed-loop cycle of 10ms to correct the drive electrical signal sent to the motor 203.

[0215] Step 707 : The main control unit 201 sends a second control signal to the motor control unit 202 when the vehicle is not parking.

[0216] For example, after determining that the vehicle has finished parking, the main control unit 201 may send a second control signal to the motor control unit 202 to control the motor control unit 202 to switch back to the default torque control mode.

[0217] Further exemplary, if the vehicle is configured in automatic parking mode, the main control unit 201 may include a VCU and an MDC. When the MDC detects that the current state of the vehicle satisfies the triggering condition for ending parking as shown in the first implementation scheme above, it determines that the vehicle has the intention to end parking. At this time, the MDC may send a second indication message to the VCU. After receiving the second indication message, the VCU may take over all operations of the MDC and send a second control signal to the motor control unit 202 to control the motor control unit 202 to switch to the torque control mode.

[0218] Further exemplary, if the vehicle is configured in manual parking mode, the main control unit 201 may include a VCU. When the VCU detects that the current state of the vehicle meets the trigger condition for ending parking as shown in the second embodiment above, it determines that the vehicle has the intention to end parking. At this time, the VCU may send a second control signal to the motor control unit 202 to control the motor control unit 202 to switch to the torque control mode.

[0219] It should be noted that the above examples are all introduced based on the example of controlling the motor control unit 202 to switch to the torque control mode when the vehicle starts to end parking. However, in actual operation, the moment of controlling the motor control unit 202 to switch to the torque control mode can also be a certain moment before or after the vehicle starts to end parking, for example, it can be a relatively close moment after detecting that the vehicle has the intention to end parking, and there is no specific limitation.

[0220] Step 708 : the motor control unit 202 switches to the torque control mode according to the second control signal.

[0221] For example, when receiving the first control signal, the motor control unit 202 may switch the speed / angle control mode to an inactive state and switch the torque control mode to an active state, thereby switching to the torque control mode.

[0222] Step 709 : the main control unit 201 sends the target torque to the motor control unit 202 .

[0223] Here, when the vehicle is not parking, the main control unit 201 can send the target torque to the motor control unit 202 according to a large closed-loop cycle. For example, assuming that the large closed-loop cycle is 10ms, the main control unit 201 can determine the target torque every 10ms and send it to the motor control unit 202.

[0224] Step 710 : the motor control unit 202 sends a third driving electrical signal to the motor 203 according to the target torque.

[0225] Step 711 : the main control unit 201 obtains actual wheel rotation information collected by the wheel sensor 204 .

[0226] In step 712 , the main control unit 201 sends the corrected target torque to the motor control unit 202 according to the actual wheel rotation information and the target wheel rotation information.

[0227] Step 713 : the motor control unit 202 sends a fourth driving electrical signal to the motor 203 according to the corrected target torque.

[0228] Here, when the motor control unit 202 switches to the torque control mode, the main control unit 201 can perform the target torque correction operation according to a small closed-loop cycle. For example, assuming that the small closed-loop cycle is 2ms, the main control unit 201 can obtain the actual wheel rotation information collected by the wheel sensor 204 every 2ms, and use the actual wheel rotation information obtained within the 2ms and the target wheel rotation information obtained within the current large closed-loop cycle of 10ms to correct the target torque sent to the motor control unit 202, so as to drive the motor control unit 202 to correct the driving electrical signal sent to the motor 203.

[0229] With the above control scheme, the motor control unit can switch to the speed / angle control mode during parking, so that the motor control unit can use the received wheel speed / wheel angle to control the motor to maintain a certain speed, and can also use the actual speed of the motor collected by the motor sensor at a high acquisition frequency to accurately and quickly correct the next motor speed, so as to achieve efficient and high-precision control during parking, reduce the number of mistakes during parking, and thus reduce the corresponding number of rubbing the parking garage. In addition, the motor control unit can also switch to the torque control mode during non-parking, so that the motor control unit can use the received torque to control the motor rotation within a certain buffer time, and then reserve a certain time for the driver to perceive the change in vehicle speed after stepping on the accelerator pedal during non-parking, thereby improving the driver's driving experience.

[0230] It should be understood that the above content only introduces the specific implementation of the parking control scheme using a vehicle as an example. The parking control scheme can also be extended to any device or system that requires parking efficiency or accuracy. For example, it can also be applied to any movable device with a parking function, including but not limited to ships, airplanes, drones, trains, vans, trucks, etc. Alternatively, it can also be applied in the field of smart homes. During the parking process of a mobile robot (such as a sweeping robot, a mopping robot, or a movable smart appliance, etc.), the target speed of the wheels of the mobile robot is sent to the motor control unit, and the closed-loop control strategy is executed on the motor control unit side, so that the mobile robot can smoothly and quickly pass through obstacle terrain.

[0231] Furthermore, with the evolution of system architecture and the emergence of new scenarios, the parking control solution provided in this application is also applicable to similar technical problems, and this application does not make any specific limitations on this.

[0232] In addition, the above embodiments only introduce the parking control method executed by the control unit in the vehicle as an example. The parking control method can also be executed by other devices, such as a cloud server, a terminal device or other vehicles. The vehicle to be controlled exchanges relevant information with the cloud server, the terminal device or other vehicles to implement the closed-loop parking control method described in the above content through the motor control unit.

[0233] Furthermore, the names of the above-mentioned information are merely examples. With the evolution of communication technology, the names of any of the above-mentioned information may change. However, no matter how the names change, as long as their meanings are the same as those of the above-mentioned information in this application, they fall within the protection scope of this application.

[0234] The above mainly introduces the solution provided by the present application from the perspective of the interaction between various network elements. It can be understood that in order to realize the above functions, the above-mentioned network elements include hardware structures and / or software modules corresponding to the execution of various functions. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed in this document, the present invention can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present invention.

[0235] Figure 8 A schematic diagram of the structure of a parking control device provided in an embodiment of the present application is shown in FIG. Figure 8 As shown, the parking control device 800 may include a processor 801 and a transceiver 803. Optionally, the parking control device 800 may also include a memory 802, and the memory 802 is used to store instructions executed by the processor 801 or store data required by the processor 801 to run the instructions or store data generated after the processor 801 runs the instructions, such as the various mapping relationships and transition gradient tables used in the aforementioned method embodiments. The processor 801 can call the transceiver 803 to implement the method shown in the aforementioned method embodiment by reading the instructions stored in the memory 802. Optionally, the parking control device 800 may further include a bus system, and the processor 801, the memory 802 and the transceiver 803 may be connected through the bus system.

[0236] In some possible implementations, the parking control device 800 can implement the behaviors and functions of the main control unit in the above method embodiments. For example, the parking control device 800 can be the above main control unit 201, such as VCU, MDC or VDC, or a device that can implement the functions implemented by the above main control unit 201, such as a chip, chip system, circuit or circuit system set in VCU, MDC or VDC. The transceiver 803 can be used to execute Figure 7 In any of the embodiments shown, all receiving or sending operations are performed by the main control unit 201. Figure 7 Steps 701 and 707 in the embodiment shown in the figure, and / or other processes for supporting the technology described herein; wherein the processor 801 is used to execute the following steps: Figure 7 In the illustrated embodiment, all operations except the sending and receiving operations are performed by the main control unit 201.

[0237] For example, the transceiver 803 is used to send a first control signal to the motor control unit during the vehicle parking process, and the first control signal is used to control the motor control unit to switch to the speed / angle control mode; and to send a second control signal to the motor control unit during the vehicle non-parking process, and the second control signal is used to control the motor control unit to switch to the torque control mode.

[0238] For example, the processor 801 is also used to determine the target wheel rotation information of the vehicle during the parking process of the vehicle; the transceiver 803 is also used to send the target wheel rotation information of the vehicle to the motor control unit.

[0239] In some possible implementations, the parking control device 800 can implement the behaviors and functions of the motor control unit in the above method embodiments. For example, the parking control device 800 can be the above motor control unit 202, or a device that can implement the functions implemented by the above motor control unit 202, such as a chip, chip system, circuit or circuit system disposed in the motor control unit 202. The transceiver 803 can be used to execute Figure 7 In the embodiment shown, all receiving or sending operations are performed by the motor control unit 202. The processor 801 is used to perform the following operations: Figure 7 In the embodiment shown, all operations except the sending and receiving operations performed by the motor control unit 202 are as follows, for example Figure 7 Steps 702 to 708 in the illustrated embodiment, and / or other processes for supporting the techniques described herein.

[0240] For example, the transceiver 803 is used to receive the first control signal or the second control signal sent by the main control unit; the processor 801 is used to switch to the speed / angle control mode according to the first control signal, and to switch to the torque control mode according to the second control signal.

[0241] For example, the transceiver 803 is also used to receive the target wheel rotation information from the main control unit during the vehicle parking process, and send the first driving electrical signal to the motor according to the target wheel rotation information, and receive the motor rotation information from the motor sensor, and send the second driving electrical signal to the motor according to the motor rotation information and the target wheel rotation information. The driving electrical signal (including the first driving electrical signal and the second driving electrical signal) is used to drive the motor to rotate, and the motor rotation is used to drive the wheel to rotate.

[0242] For the concepts, explanations, detailed descriptions and other steps involved in the parking control device 800 and related to the technical solution of the parking control device provided in the embodiment of the present application, please refer to the description of these contents in the aforementioned method or other embodiments, which will not be repeated here.

[0243] Based on the above embodiments and the same concept, Fig. 9 A schematic diagram of another parking control device provided in an embodiment of the present application, the parking control device 900 may include a processing unit 901 and a transceiver unit 902, and may also include a storage unit. The transceiver unit 902 may be a transceiver, an input / output interface, a pin or a circuit. When the parking control device 900 includes a storage unit, the storage unit is used to store computer instructions, and the processing unit 901 is connected to the storage unit in communication to execute the computer instructions stored in the storage unit, so that the parking control device 900 can be used to execute the method executed by the main control unit 201 or the motor control unit 202 in any of the above embodiments. Among them, the processing unit 901 may be a general-purpose central processing unit (CPU), a microprocessor, or an application specific integrated circuit (ASIC). The storage unit is a storage unit in a chip, such as a register, a cache, etc. The storage unit may also be a storage unit in the parking control device 900 located outside the chip, such as a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM), etc.

[0244] In some scenarios, the parking control device 900 may be the main control unit 201, such as a VCU, MDC or VDC, or may be a device capable of implementing the functions implemented by the main control unit 201, such as a chip, chip system, circuit or circuit system arranged in a VCU, MDC or VDC. Under the call of the processing unit 901, the transceiver unit 902 is used to: during the parking process of the vehicle, send a first control signal to the motor control unit, the first control signal is used to control the motor control unit to switch to the speed / angle control mode, and, during the non-parking process of the vehicle, send a second control signal to the motor control unit, the second control signal is used to control the motor control unit to switch to the torque control mode.

[0245] In a possible implementation manner, the processing unit 901 is further used to determine the target wheel rotation information of the vehicle during the parking process of the vehicle; and the transceiver unit 902 is further used to send the target wheel rotation information of the vehicle to the motor control unit.

[0246] In a possible implementation manner, the target wheel rotation information may include a target rotation speed of the wheel and / or a target rotation angle of the wheel.

[0247] In a possible implementation manner, when the vehicle is configured in the automatic parking mode, the processing unit 901 is specifically configured to: receive an automatic parking request and determine that the vehicle is parked.

[0248] In a possible implementation manner, when the vehicle is configured in the automatic parking mode, the processing unit 901 is specifically used to: during the vehicle parking process, first input the current position of the vehicle and the position of the target parking space into a preset trajectory planning algorithm, and obtain a parking trajectory output by the trajectory planning algorithm, wherein the parking trajectory includes the vehicle speed required for each step of the vehicle from the current position to the target parking space; then, determine the target vehicle speed for the next step according to the parking trajectory, and determine the target wheel rotation information corresponding to the target vehicle speed according to the preset mapping relationship between the vehicle speed and the wheel rotation information.

[0249] In one possible implementation, when the vehicle is configured in manual parking mode, the processing unit 901 is specifically used to: determine that the vehicle is parked when the state of the vehicle satisfies at least one of the following conditions: the vehicle speed is lower than a preset vehicle speed; the motor speed is lower than a preset speed; the torque requested by the driver is lower than a torque threshold; the rate of change of the torque requested by the driver is lower than a first rate of change threshold; the opening of the accelerator pedal is lower than a first opening threshold; the rate of change of the opening of the accelerator pedal is lower than a second rate of change threshold; the opening of the brake pedal is greater than the second opening threshold; the rate of change of the opening of the brake pedal is lower than a third rate of change threshold.

[0250] In one possible implementation, when the vehicle is configured in manual parking mode, the processing unit 901 is specifically used to: during the vehicle parking process, determine the target torque corresponding to the current opening of the vehicle's pedal by querying the preset mapping relationship between the pedal opening and the torque, and determine the target wheel rotation information corresponding to the target torque by querying the preset mapping relationship between the torque and the wheel rotation information.

[0251] In a further embodiment, after determining the target torque corresponding to the current opening of the vehicle's pedal, the processing unit 901 is also used to: if it is determined that the vehicle's driving mode is configured as the first mode, and the creep torque corresponding to the first mode is greater than the target torque, then the creep torque is used as the target torque before determining the target wheel rotation information corresponding to the target torque by querying the preset mapping relationship between the torque and the wheel rotation information.

[0252] In a further embodiment, the preset mapping relationship between torque and wheel rotation information includes a mapping relationship between torque and wheel rotation information corresponding to a first mode and a mapping relationship between torque and wheel rotation information corresponding to a second mode. In the mapping relationship between torque and wheel rotation information corresponding to any driving mode, a torque range corresponds to one rotation information, and the width of the torque range in the mapping relationship between torque and wheel rotation information corresponding to the second mode is smaller than the width of the torque range in the mapping relationship between torque and wheel rotation information corresponding to the first mode. In this case, the processing unit 901 is specifically used to determine the target wheel rotation information corresponding to the target torque by querying the mapping relationship between torque and wheel rotation information corresponding to the driving mode of the vehicle.

[0253] In a further implementation, after the processing unit 901 determines the target wheel rotation information corresponding to the target torque, and before the transceiver unit 902 sends the target wheel rotation information to the motor control unit, the processing unit 901 is also used to: use the vehicle's current speed information to correct the target wheel rotation information, wherein the corrected target wheel rotation information is between the wheel rotation information corresponding to the vehicle's current speed information and the target wheel rotation information before correction.

[0254] In a possible implementation, the processing unit 901 is further used to: determine the target torque information corresponding to the target wheel rotation information after the vehicle completes parking; the transceiver unit 902 is further used to: send the target torque information to the motor control unit, and receive the wheel rotation information from the wheel sensor; the processing unit 901 is further used to: correct the target torque information according to the wheel rotation information and the target wheel rotation information; the transceiver unit 902 is further used to: send the corrected target torque information to the motor control unit.

[0255] In a further embodiment, when the vehicle is configured in automatic parking mode, the processing unit 901 determines that the vehicle has ended parking when the state of the vehicle satisfies at least one of the following conditions: the opening of the accelerator pedal is greater than 0; the opening of the brake pedal is greater than a preset opening threshold, and the preset opening threshold is greater than 0; the steering wheel is turned; it is in the parking gear; a request to end parking is received.

[0256] In a further embodiment, when the vehicle is configured in manual parking mode, the processing unit 901 determines that the vehicle has ended parking when it determines that the state of the vehicle satisfies at least one of the following conditions: the vehicle speed is not lower than a preset vehicle speed; the motor speed is not lower than a preset speed; the torque requested by the driver is not less than a torque threshold; the rate of change of the torque requested by the driver is not less than a first rate of change threshold; the opening of the accelerator pedal is not less than a first opening threshold; the rate of change of the opening of the accelerator pedal is not less than a second rate of change threshold; the opening of the brake pedal is not greater than the second opening threshold; the rate of change of the opening of the brake pedal is not less than a third rate of change threshold.

[0257] It is understandable that the functions of the various units in the above parking control device 900 can refer to the implementation of the corresponding method embodiment, and will not be repeated here.

[0258] It should be understood that the above division of the units of the parking control device 900 is only a division of logical functions. In actual implementation, all or part of the units may be integrated into one physical entity, or they may be physically separated. Figure 8 The processor 801 is implemented, and the transceiver unit 902 can be implemented by the above Figure 8 The transceiver 803 is implemented.

[0259] According to the above parking control scheme, the embodiment of the present application further provides a parking control device, the parking control device includes a processor, the processor is connected to a memory, the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the parking control device can achieve the following Figures 4 to 7 The method described in the main control unit or the motor control unit in any embodiment.

[0260] According to the above parking control scheme, the embodiment of the present application further provides a parking control device, the parking control device includes a processor and a memory, the memory is used to store computer program instructions, the processor is used to run the computer program instructions to implement the following Figures 4 to 7 The method described in the main control unit or the motor control unit in any embodiment.

[0261] According to the aforementioned parking control scheme, the present application also provides an electronic device, including the aforementioned parking control system. In some embodiments, the electronic device is a movable device, such as a vehicle, a ship, an airplane, or a mobile robot.

[0262] According to the above parking control scheme, the embodiment of the present application further provides a chip, which may include a processor and an interface, wherein the processor is used to read instructions through the interface to execute the following steps: Figures 4 to 7 The method described in the main control unit or the motor control unit in any embodiment.

[0263] According to the aforementioned parking control scheme, the embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed, the following is implemented: Figures 4 to 7 The method described in the main control unit or the motor control unit in any embodiment.

[0264] According to the aforementioned parking control scheme, the embodiment of the present application further provides a computer program product, which, when executed on a processor, implements the following Figures 4 to 7 The method described in the main control unit or the motor control unit in any embodiment.

[0265] The terms "component", "unit", "system", etc. used in this specification are used to represent computer-related entities, hardware, firmware, a combination of hardware and software, software, or software in execution. For example, a component can be, but is not limited to, a process running on a processor, a processor, an object, an executable file, an execution thread, a program and / or a computer. By way of illustration, both applications running on a computing device and a computing device can be components. One or more components may reside in a process and / or an execution thread, and a component may be located on a computer and / or distributed between two or more computers. In addition, these components may be executed from various computer-readable media having various data structures stored thereon. Components may, for example, communicate through local and / or remote processes according to signals having one or more data packets (e.g., data from two components interacting with another component between a local system, a distributed system and / or a network, such as the Internet interacting with other systems through signals).

[0266] Those of ordinary skill in the art will appreciate that the various illustrative logical blocks and steps described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or in a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0267] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0268] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

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

[0270] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0271] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks or optical disks.

[0272] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A parking control system, characterized in that: It includes a main control unit, a motor control unit, a motor and a motor sensor; The main control unit is used to send the target wheel rotation information to the motor control unit during the vehicle parking process; The motor is used to rotate under the action of the driving electrical signal of the motor control unit, and the rotation is used to drive the wheels of the vehicle to rotate; The motor control unit is used to send a first driving electrical signal to the motor according to the target wheel rotation information; The motor sensor is used to send the collected motor rotation information of the motor to the motor control unit; The motor control unit is further used to send a second driving electrical signal to the motor according to the motor rotation information and the target wheel rotation information.

2. The system according to claim 1, characterized in that The target wheel rotation information includes a target rotation speed of the wheel and / or a target rotation angle of the wheel, and the motor rotation information includes a rotation speed of the motor and / or a rotation angle of the motor.

3. The system according to claim 1 or 2, characterized in that: The vehicle is configured in an automatic parking mode; The main control unit is used for: An automatic parking request is received and it is determined that the vehicle starts parking.

4. The system according to claim 3, characterized in that The main control unit is used for: During the parking process of the vehicle, the current position of the vehicle and the position of the target parking space are input into a preset trajectory planning algorithm, and a parking trajectory output by the trajectory planning algorithm is obtained, wherein the parking trajectory includes the vehicle speed and vehicle turning angle required for each step of the vehicle from the current position to the target parking space; According to the parking trajectory, a target vehicle speed and a target vehicle turning angle are determined, the target vehicle turning angle is sent to the steering mechanism of the vehicle, and according to a preset mapping relationship between the vehicle speed and the wheel rotation information, the target wheel rotation information corresponding to the target vehicle speed is determined, and the target wheel rotation information is sent to the motor control unit.

5. The system according to claim 1 or 2, characterized in that: The vehicle is configured in manual parking mode; The main control unit is used for: When it is determined that the state of the vehicle satisfies at least one of the following conditions, it is determined that the vehicle starts parking: The vehicle speed is lower than the preset vehicle speed; the motor speed is lower than the preset speed; the torque requested by the driver is less than the torque threshold; the rate of change of the torque requested by the driver is less than the first rate of change threshold; the opening of the accelerator pedal is less than the first opening threshold; the rate of change of the opening of the accelerator pedal is less than the second rate of change threshold; the opening of the brake pedal is greater than the second opening threshold; the rate of change of the opening of the brake pedal is less than the third rate of change threshold.

6. The system according to claim 5, characterized in that The main control unit is used for: During the parking process of the vehicle, the target torque corresponding to the current pedal opening of the vehicle is determined by querying the preset mapping relationship between the pedal opening and the torque, and the target wheel rotation information corresponding to the target torque is determined by querying the preset mapping relationship between the torque and the wheel rotation information.

7. The system according to claim 6, characterized in that After determining the target torque corresponding to the current opening of the pedal of the vehicle, the main control unit is further configured to: If it is determined that the driving mode of the vehicle is configured as the first mode, and the creep torque corresponding to the first mode is greater than the target torque, the creep torque is used as the target torque.

8. The system according to claim 6 or 7, characterized in that The preset mapping relationship between torque and wheel rotation information includes a mapping relationship between torque and wheel rotation information corresponding to a first mode and a mapping relationship between torque and wheel rotation information corresponding to a second mode, in which a torque range corresponds to one wheel rotation information in the mapping relationship between torque and wheel rotation information corresponding to any driving mode, and a width of the torque range in the mapping relationship between torque and wheel rotation information corresponding to the second mode is smaller than a width of the torque range in the mapping relationship between torque and wheel rotation information corresponding to the first mode; The main control unit is used for: The target wheel rotation information corresponding to the target torque is determined by querying the mapping relationship between the torque corresponding to the driving mode of the vehicle and the wheel rotation information.

9. The system according to any one of claims 1 to 8, characterized in that Before the main control unit sends the target wheel rotation information to the motor control unit, the main control unit further includes: The target wheel rotation information is corrected using the current vehicle speed information of the vehicle, wherein the corrected target wheel rotation information is located between the wheel rotation information corresponding to the current vehicle speed information of the vehicle and the target wheel rotation information before correction.

10. The system according to any one of claims 1 to 9, characterized in that The motor control unit is used for: Determine the target driving electrical signal corresponding to the target wheel rotation information by querying the preset mapping relationship between the wheel rotation information and the driving electrical signal; According to the target driving electrical signal and the current driving electrical signal of the motor, a preset transition gradient table is queried to determine each transition driving electrical signal required to convert the current driving electrical signal of the motor into the target driving electrical signal; The respective transition drive electrical signals are sent to the motor in sequence.

11. The system according to claim 10, characterized in that The preset transition gradient table includes a transition gradient table corresponding to the first mode and a transition gradient table corresponding to the second mode; The motor control unit is used for: According to the target driving electrical signal and the current driving electrical signal of the motor, a transition gradient table corresponding to the driving mode of the vehicle is queried to determine each of the transition driving electrical signals.

12. The system according to any one of claims 1 to 11, characterized in that Also includes wheel sensors; The main control unit is further used to determine the target torque information corresponding to the target wheel rotation information after the vehicle completes parking, and send the target torque information to the motor control unit; The motor control unit is further configured to send a third driving electrical signal to the motor according to the target torque information; The wheel sensor is used to send the collected rotation information of the wheel to the main control unit; The main control unit is further used to correct the target torque information according to the wheel rotation information and the target wheel rotation information, and send the corrected target torque information to the motor control unit.

13. The system of claim 12, wherein: The vehicle is configured in an automatic parking mode; The main control unit is used for: When it is determined that the state of the vehicle satisfies at least one of the following conditions, it is determined that the parking of the vehicle is terminated: The opening of the accelerator pedal is greater than 0; the opening of the brake pedal is greater than a preset opening threshold, and the preset opening threshold is greater than 0; the steering wheel is turned; the vehicle is in the parking gear; and a request to end parking is received.

14. The system of claim 12, wherein: The vehicle is configured in manual parking mode; The main control unit is used for: When it is determined that the state of the vehicle satisfies at least one of the following conditions, it is determined that the parking of the vehicle is terminated: The vehicle speed is not lower than a preset vehicle speed; the motor speed is not lower than a preset speed; the torque requested by the driver is not less than a torque threshold; the rate of change of the torque requested by the driver is not less than a first rate of change threshold; the opening of the accelerator pedal is not less than a first opening threshold; the rate of change of the opening of the accelerator pedal is not less than a second rate of change threshold; the opening of the brake pedal is not greater than the second opening threshold; the rate of change of the opening of the brake pedal is not less than a third rate of change threshold.

15. A parking control method, characterized in that: include: During the parking process of the vehicle, a first control signal is sent to the motor control unit, wherein the first control signal is used to instruct the motor control unit to switch to a speed or angle control mode; During the non-parking process of the vehicle, a second control signal is sent to the motor control unit, where the second control signal is used to instruct the motor control unit to switch to a torque control mode.

16. The method according to claim 15, characterized in that The vehicle is configured in an automatic parking mode; The step of sending a first control signal to a motor control unit during the parking process of the vehicle includes: Upon receiving the automatic parking request, the first control signal is sent to the motor control unit.

17. The method according to claim 15, characterized in that The vehicle is configured in manual parking mode; The step of sending a first control signal to a motor control unit during the parking process of the vehicle includes: When it is determined that the state of the vehicle satisfies at least one of the following conditions, the first control signal is sent to the motor control unit: The vehicle speed is lower than the preset vehicle speed; the motor speed is lower than the preset speed; the torque requested by the driver is less than the torque threshold; the rate of change of the torque requested by the driver is less than the first rate of change threshold; the opening of the accelerator pedal is less than the first opening threshold; the rate of change of the opening of the accelerator pedal is less than the second rate of change threshold; the opening of the brake pedal is greater than the second opening threshold; the rate of change of the opening of the brake pedal is less than the third rate of change threshold.

18. The method according to any one of claims 15 to 17, characterized in that The sending of a second control signal to the motor control unit during the non-parking process of the vehicle includes: After the vehicle completes parking, a second control signal is sent to the motor control unit.

19. The method according to claim 18, characterized in that The vehicle is configured in an automatic parking mode; After the vehicle completes parking, sending a second control signal to the motor control unit includes: When it is determined that the state of the vehicle satisfies at least one of the following conditions, the second control signal is sent to the motor control unit: The opening of the accelerator pedal is greater than 0; the opening of the brake pedal is greater than a preset opening threshold, and the preset opening threshold is greater than 0; the steering wheel is turned; the vehicle is in the parking gear; and a request to end parking is received.

20. The method of claim 18, wherein: The vehicle is configured in manual parking mode; After the vehicle completes parking, sending a second control signal to the motor control unit includes: When it is determined that the state of the vehicle satisfies at least one of the following conditions, the second control signal is sent to the motor control unit: The vehicle speed is not lower than a preset vehicle speed; the motor speed is not lower than a preset speed; the torque requested by the driver is not less than a torque threshold; the rate of change of the torque requested by the driver is not less than a first rate of change threshold; the opening of the accelerator pedal is not less than a first opening threshold; the rate of change of the opening of the accelerator pedal is not less than a second rate of change threshold; the opening of the brake pedal is not greater than the second opening threshold; the rate of change of the opening of the brake pedal is not less than a third rate of change threshold.

21. A parking control device, characterized in that: The invention comprises a processor, a transceiver and a memory, wherein the memory stores computer program instructions, and the processor executes the computer program instructions to call the transceiver to implement the method according to any one of claims 15 to 20.

22. A parking control device, characterized in that: The method comprises a module or a unit for executing the method according to any one of claims 15 to 20.

23. An electronic device, characterized in that: The method comprises a parking control system as claimed in any one of claims 1 to 14.

24. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed, the method according to any one of claims 15 to 20 is implemented.

Citation Information

Cited By

  • Parking control method, device and equipment based on motor rotation angle and storage medium

    CN119773737A

  • Parking control method and device, motor controller, computer equipment and medium

    CN119953356A

  • Parking control system, method and apparatus, and electronic device and storage medium

    EP4696575A1