Parking control system, method and apparatus, and electronic device and storage medium
By simplifying the closed-loop control link in the parking control system and using the high-precision information of the motor sensor to correct the driving signal, the problems of extended and poor accuracy during parking control in the prior art are solved, and fast closed-loop and efficient parking are achieved.
Patent Information
- Application Number
- PCT/CN2024/091778
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-05-16
- Filing Date
- 2024-05-08
- Publication Date
- 2024-11-21
AI Technical Summary
The existing parking control system has problems such as time extension and poor control accuracy, especially when road disturbances occur, which may cause parking lag, vehicle pitch and over-adjustment of the vehicle.
By placing the closed-loop control strategy on the motor control unit side in the parking control system, the closed-loop control link is simplified, and the driving electrical signals are corrected using the high-precision rotation information collected by the motor sensor to achieve rapid closed-loop control and high-precision parking.
It effectively avoids lags and over-adjustment caused by road disturbances during parking, improves the efficiency and accuracy of parking control, and reduces the number of mistakes and the user's parking experience.
Smart Images

Figure CN2024091778_21112024_PF_FP_ABST
Abstract
Description
Parking control system, method, device, electronic device and storage medium
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of the People's Republic of China on May 16, 2023, with application number 202310556765.2 and application name "A parking control system, method, device, electronic device and storage medium", the entire contents of which are incorporated by reference into this application. Technical Field
[0003] The present application relates to the field of electronic technology, and in particular to a parking control system, method, device, electronic device, and storage medium. Background Art
[0004] Parking technology refers to the process of maneuvering a vehicle into a parking space at low speeds. This includes fully automated parking, semi-automated parking, and manual parking. Fully automated parking requires only a single button press on the vehicle's display, mobile phone, or remote control. Controlled by the vehicle's sensors and control system, the vehicle automatically parks into an available parking space. Fully automated parking eliminates the need for manual operation or even the need for the user to be seated in the vehicle, providing a more intelligent and convenient user experience.
[0005] However, both automatic and manual parking systems currently suffer from problems such as extended parking control time and poor control accuracy. When encountering road disturbances, the inability to quickly close the loop can easily lead to a series of problems such as over-adjustment, vehicle pitching, parking jams, and frequent maneuvers, affecting the user's parking experience.
[0006] Therefore, the parking control scheme for vehicles still needs further research.
[0007] Summary of the Invention
[0008] The present application provides a parking control system, method, device, electronic device and storage medium to solve the problems of prolonged parking control time and poor parking control accuracy existing in existing parking control solutions.
[0009] In a first aspect, the present application provides a parking control system, comprising 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 configured to transmit target wheel rotation information to the motor control unit during vehicle parking; the motor is configured to rotate under the action of a drive electrical signal from the motor control unit, and the rotation is configured to drive the vehicle's wheels to rotate; the motor control unit is configured to transmit a first drive electrical signal to the motor based on the target wheel rotation information; the motor sensor is configured to transmit collected motor rotation information of the motor to the motor control unit; and the motor control unit is further configured to transmit a second drive electrical signal to the motor based on the motor rotation information and the target wheel rotation information.
[0010] In the aforementioned parking control system, by placing the closed-loop parking control strategy on the motor control unit side for execution, the entire closed-loop control chain only needs to pass through three components: the motor control unit, the motor, and the motor sensor. This shortens the closed-loop control chain path and reduces the required closed-loop control delay. Consequently, even if road disturbances are encountered during parking, the closed-loop control delay allows for rapid closure, effectively preventing vehicle stalling, vehicle pitching, and overshoot after passing obstacles. Furthermore, by utilizing the motor rotation information collected by the motor sensor to correct the drive electrical signal, the high acquisition accuracy and low acquisition time interval of the motor sensor can be leveraged to improve the accuracy of the closed-loop control, thereby improving parking control accuracy, reducing the number of parking errors, and, consequently, reducing the corresponding number of parking maneuvers.
[0011] In one possible design, the first driving electrical signal is a driving electrical signal determined based on the target wheel rotation information. Specifically, the motor control unit can query the preset mapping relationship between the wheel rotation information and the driving electrical signal based on the target wheel rotation information to 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 memories or other devices of the electronic device where the motor control unit is located, and the motor control unit can read and use it from other devices, external memories 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.
[0012] In one 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 wheel rotation information output by the closed-loop control algorithm. After that, the mapping relationship between the preset wheel rotation information and the driving electrical signal can be queried to obtain the next step driving electrical signal corresponding to the next step wheel rotation information. 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.
[0013] In one possible design, the target wheel rotation information may include a target wheel speed and / or a target wheel angle. The accuracy of the wheel angle is higher than the speed. Therefore, in scenarios where parking accuracy is high, the target wheel rotation information may be configured to include the target wheel angle. This allows the high-precision parking control requirements to be met based on the more accurate angle. In scenarios where parking accuracy is less demanding, the target wheel rotation information may be configured to include the target wheel speed. This allows the accuracy requirements to be met while saving power and reducing system complexity.
[0014] In one possible design, the motor rotation information may include motor speed and / or motor rotation angle. For example, the target wheel rotation information and the motor rotation information may both be configured as speed or as angle. In this way, the motor control unit can directly adjust the drive electrical signal based on the motor rotation information and the target wheel rotation information, eliminating the delay required for intermediate conversion units.
[0015] In one possible design, when the vehicle is configured for automatic parking, the main control unit is specifically configured to: upon receiving an automatic parking request, determine whether the vehicle is parked. This design provides trigger conditions for initiating the above parking control strategy in automatic parking mode, making the above parking control strategy applicable to automatic parking mode.
[0016] In a further design, the main control unit 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, which 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, based on the parking trajectory, determine the target vehicle speed and target vehicle turning angle, send the target vehicle turning angle to the vehicle's steering mechanism, and determine the target wheel rotation information corresponding to the target vehicle speed based on the preset mapping relationship between the vehicle speed and the wheel rotation information, and send the target wheel rotation information to the motor control unit.
[0017] For example, the vehicle angle can be either the steering wheel angle or the steering mechanism angle. For example, in a scenario where the vehicle has a steering wheel, the vehicle angle can specifically refer to the steering wheel angle. After the steering wheel angle is transmitted to the steering mechanism, the steering mechanism can convert it into the steering mechanism angle according to a pre-set 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 can specifically refer to the steering mechanism angle. After the angle is transmitted to the steering mechanism, the steering mechanism can directly control the steering of the wheels.
[0018] In the above design, the target vehicle speed obtained during the automatic parking trajectory planning process 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.
[0019] 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 vehicle status meets 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 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.
[0020] In the above design, the vehicle is considered parked when its speed is relatively low, its motor speed is relatively low, the accelerator is not pressed for an extended period or is lightly pressed for an extended period, and the brake is pressed heavily for an extended period. This allows the vehicle to be considered parked by comprehensively considering multiple vehicle conditions, including vehicle speed, motor speed, requested torque, rate of change of requested torque, accelerator pedal position, rate of change of accelerator pedal position, brake pedal position, and rate of change of brake pedal position, resulting in a more detailed and accurate determination of whether the vehicle is parked.
[0021] In a further design, the main control unit is specifically configured to: during the vehicle parking process, determine the target torque corresponding to the current pedal opening of the vehicle by querying a preset mapping relationship between pedal opening and torque, and determine the target wheel rotation information corresponding to the target torque by querying a preset mapping relationship between torque and wheel rotation information. Specifically, in the preset mapping relationship between pedal opening and torque, the pedal opening may refer to the opening of the accelerator pedal. After obtaining the current opening of the accelerator pedal in the vehicle, the main control unit 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 torque.
[0022] In the above design, the preset mapping relationship between pedal opening and torque belongs to the existing mapping relationship in the torque control mode in the existing MCU, and the preset mapping relationship between torque and 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 speed / angle with as little change as possible to the existing configuration of the main control unit.
[0023] 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 torque and 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 vehicle's accelerator pedal and brake pedal do not have an opening (that is, the opening is 0), the vehicle can still travel at a 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 a corresponding creep torque. In this case, the vehicle can also correct the target torque according to the corresponding creep torque in these modes.
[0024] In the above design, by using creep torque to arbitrate the target torque, it can ensure that the vehicle travels at a speed not less than that corresponding to the creep torque. Even in parking mode, it can ensure that the vehicle speed meets the requirements of the current driving mode.
[0025] 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, one 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 configured 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 vehicle's driving mode.
[0026] In the above design, by configuring the mapping relationships corresponding to different driving modes, the target wheel rotation information corresponding to the vehicle's current driving mode can be more precisely determined. For example, if the vehicle is configured in the second mode, the determined target wheel rotation information can be used to more quickly adjust to the target speed, meeting the second mode's fast adjustment requirements. If the vehicle is configured in the first mode, the determined target wheel rotation information can be used to more smoothly adjust to the target speed, meeting the user experience requirements of the first mode. In some scenarios, the first mode can be Comfort, Economy, Normal, or Custom, and the second mode can be Sport, Dynamic, or Aggressive.
[0027] In a further design, after determining the target wheel rotation information corresponding to the target torque and before sending it to the motor control unit, the main control unit can also use the vehicle's current speed information to correct the target wheel rotation information. The corrected target wheel rotation information lies between the wheel rotation information corresponding to the vehicle's current speed information and the uncorrected target wheel rotation information. This allows for smooth adjustment of wheel speed during parking control, avoiding sudden acceleration or deceleration of the vehicle and improving the user's driving experience.
[0028] 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 the various transition driving electrical signals 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 sequence.
[0029] In the above design, by using a transition drive 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 stability of vehicle driving.
[0030] 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. 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.
[0031] 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 requirements 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 requirements in the first mode.
[0032] In one possible design, the parking control system may further include a wheel sensor and a main control unit, which 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 used to send a third driving electrical signal to the motor based on 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 further used to correct the target torque information based on the wheel rotation information and the target wheel rotation information, and send the corrected target torque information to the motor control unit.
[0033] 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.
[0034] In a further design, when the vehicle is configured for automatic parking, the main control unit determines that parking has ended when it determines that the vehicle's status meets at least one of the following conditions: accelerator pedal opening is greater than 0; brake pedal opening 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 park; or a request to end parking has been received. By providing trigger conditions for the end of automatic parking, the system can quickly switch back to torque control mode regardless of whether automatic parking is completed or interrupted, supporting the switching between the speed / angle control mode used during automatic parking and the default torque control mode.
[0035] In a further design, when the vehicle is configured for manual parking, the main control unit determines that parking has ended when it determines that the vehicle's status meets at least one of the following conditions: the vehicle speed is not less than a preset speed; the motor speed is not less than a preset speed; the driver-requested torque is not less than a torque threshold; the rate of change of the driver-requested torque is not less than a first rate of change threshold; the accelerator pedal opening is not less than a first opening threshold; the rate of change of the accelerator pedal opening is not less than a second rate of change threshold; the brake pedal opening is not greater than a second opening threshold; the rate of change of the brake pedal opening is not less than a third rate of change threshold. By providing trigger conditions for ending manual parking, the system can quickly switch back to torque control mode regardless of whether manual parking is terminated or interrupted, supporting switching between the speed / angle control mode used during manual parking and the default torque control mode.
[0036] In the second aspect, the present application provides a parking control method, which is applicable to any device with control capabilities, specifically, a main control unit in a vehicle, which may 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 (MDC), or an integration of at least two devices in a VCU, VDC or MDC, or 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 provided in a 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:
[0037] 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.
[0038] Through the above design, the motor control unit can switch to speed / angle control mode during parking. The motor control unit can use the received wheel speed / wheel angle to control the motor to maintain a stable speed. It can also use the actual motor speed acquired by the motor sensor at a high acquisition frequency to accurately and quickly correct the next motor speed, achieving efficient and high-precision control during parking, reducing the number of parking errors and the corresponding number of parking rubbings. Furthermore, the motor control unit can also switch to torque control mode during non-parking operations. The motor control unit can use the received torque to control the motor rotation within a certain buffer time, thereby reserving a certain amount of time between the driver pressing the pedal and sensing the vehicle speed change during non-parking operations, thereby improving the driver's driving experience.
[0039] 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 completes parking.
[0040] 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:
[0041] Automatic parking mode
[0042] 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.
[0043] In one possible design, when the vehicle is configured in automatic parking mode, the main control unit determines that the vehicle status meets 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.
[0044] It should be noted that when the vehicle is configured for automatic parking, the main control unit can be considered to be an integrated VCU and MDC. Upon receiving an automatic parking request, the VCU sends a first instruction to the MDC, which then takes over all VCU operations based on the first instruction. For example, the MDC may send a first control signal to the motor control unit to instruct it to switch to a speed / angle control mode. The MDC may also send a target wheel speed or angle to the motor control unit to instruct it to control the motor according to the speed / angle control mode. Correspondingly, when the MDC senses that the vehicle is no longer parking, such as when it detects an intention to terminate parking, the MDC may send a second instruction to the VCU, which then takes over all MDC operations based on the second instruction. For example, the VCU may send a second control signal to the motor control unit to instruct it to switch to a torque control mode. The VCU may also send a target torque to the motor control unit to instruct it to control the motor according to the torque control mode based on the target torque.
[0045] Manual parking mode
[0046] In one possible design, when the vehicle is configured in manual parking mode, the main control unit determines that the vehicle status meets 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 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.
[0047] In one possible design, when the vehicle is configured in manual parking mode, the main control unit determines that the vehicle status meets 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 the preset vehicle speed; the motor speed is not lower 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.
[0048] 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 vehicle's status meets the trigger conditions for parking, it may send a first control signal to the motor control unit to instruct the motor control unit to switch to a speed / angle control mode. The VCU may also send a target speed or target angle of the wheels 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 wheels. Correspondingly, when the VCU detects that the vehicle's status meets the trigger 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 a torque control mode. The VCU may 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 based on the target torque.
[0049] In a third aspect, the present application provides a parking control method applicable to any device with control capabilities, specifically a main control unit in a vehicle, such as a vehicle control unit (VCU), a vehicle dynamics control (VDC) system, or a mobile data center (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 vehicle parking process, the main control unit determines target wheel rotation information of the vehicle and sends the target wheel rotation information to a motor control unit.
[0050] In one possible design, the target wheel rotation information may include a target wheel rotation speed and / or a target wheel rotation angle.
[0051] In one 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.
[0052] 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, during the parking process, 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, and obtains a parking trajectory output by the trajectory planning algorithm, where the parking trajectory includes the speed required for the vehicle to park at each step from the current position to the target parking space; then, the main control unit determines the target speed for the next step based on the parking trajectory, and determines the target wheel rotation information corresponding to the target speed based on the preset mapping relationship between the vehicle speed and the wheel rotation information.
[0053] 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 vehicle status meets 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 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.
[0054] In a further design, the vehicle is configured for manual parking. During the parking process, the main control unit determines target wheel rotation information of the vehicle, 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 a preset mapping relationship between pedal opening and torque, and then determines the target wheel rotation information corresponding to the target torque by querying a preset mapping relationship between torque and wheel rotation information. The preset mapping relationship between pedal opening and torque may specifically refer to a preset mapping relationship between accelerator pedal opening and torque.
[0055] 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 torque and 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.
[0056] 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 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, one 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 vehicle's driving mode.
[0057] 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.
[0058] 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.
[0059] 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 vehicle's state meets 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.
[0060] 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 vehicle status meets at least one of the following conditions: the vehicle speed is not lower than the preset vehicle speed; the motor speed is not lower 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.
[0061] In a fourth aspect, the present application provides a parking control method, which is applicable to any device with control capabilities, specifically, a motor control unit in a vehicle, or 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 electric signal to the motor, and receives the motor rotation information from the motor sensor, and then sends the second drive electric signal to the motor according to the motor rotation information and the target wheel rotation information. Wherein, the drive electric signal (including the first drive electric signal and the second drive electric signal) is used to drive the motor to rotate, and the motor rotation is used to drive the wheel rotation.
[0062] In one possible design, the target wheel rotation information may include a target wheel speed and / or a target wheel angle, and the motor rotation information may include a motor speed and / or a motor angle.
[0063] In one possible design, the motor control unit sends a first driving electrical signal to the motor based on the target wheel rotation information, including: the motor control unit first determines 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, and then queries the preset transition gradient table based on the target driving electrical signal and the current driving electrical signal of the motor to determine the various transition driving electrical signals required to convert the current driving electrical signal of the motor into the target driving electrical signal, and then sends the various transition driving electrical signals to the motor in sequence.
[0064] 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.
[0065] In one 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.
[0066] In a fifth aspect, embodiments of the present application provide a parking control device that implements the functions of the main control unit described in the second or third aspects, or the motor control unit described in the fourth aspect. This function can be implemented via hardware or via hardware executing corresponding software. The hardware or software includes one or more units or modules corresponding to the aforementioned functions.
[0067] In one possible implementation, the parking control device includes a processor configured to support the parking control device in performing the corresponding functions of the main control unit described in the second or third aspects 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 for supporting communication between the parking control device and, for example, a motor control unit. The transceiver may be a standalone receiver, a standalone transmitter, a transceiver with integrated transceiver functionality, or an interface circuit.
[0068] In one possible implementation, the parking control device may be a main control unit, or a component that can be used for a 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.
[0069] In another possible implementation, the parking control device includes a processor configured to support the parking control device in performing the corresponding functions of the motor control unit described in the fourth aspect. The parking control device may also include a memory, which may be coupled to the processor and stores program instructions and data necessary for the parking control device. Optionally, the parking control device also includes a transceiver configured to support communication between the parking control device and a main control unit, etc. The transceiver may be a standalone receiver, a standalone transmitter, a transceiver with integrated transceiver functionality, or an interface circuit.
[0070] 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.
[0071] In a sixth aspect, embodiments of the present application provide 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 for respectively implementing 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.
[0072] 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 include a determination unit and a transceiver unit, which can perform the corresponding functions in the above-mentioned method example. For details, please refer to the detailed description in the method example, which is not repeated here.
[0073] 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 can perform the corresponding functions in the above-mentioned method example. For details, please refer to the detailed description in the method example, which is not repeated here.
[0074] In a seventh aspect, the present application provides an electronic device comprising the parking control system as described in the first aspect above.
[0075] 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.
[0076] 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 the method described in any one of the designs of the second, third or fourth aspects above.
[0077] 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 described in any one of the second, third or fourth aspects above is implemented.
[0078] In a tenth aspect, the present application provides a computer program product, which, when running on a processor, implements the method as described in any one of the second, third or fourth aspects above.
[0079] 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 no further details will be given here. BRIEF DESCRIPTION OF THE DRAWINGS
[0080] FIG1 exemplarily shows a possible parking scenario provided by an embodiment of the present application;
[0081] FIG2 exemplarily shows a schematic diagram of the architecture of a parking control system provided by the industry;
[0082] FIG3 exemplarily shows a schematic diagram of the architecture of a parking control system provided in an embodiment of the present application;
[0083] FIG4 exemplarily shows a flow chart of a parking control method provided in an embodiment of the present application;
[0084] FIG5 exemplarily shows a flowchart of a parking control method in an automatic parking mode provided by an embodiment of the present application;
[0085] FIG6 exemplarily shows a flowchart of a parking control method in a manual parking mode provided by an embodiment of the present application;
[0086] FIG7 exemplarily shows a specific flow chart of a parking control method provided by an embodiment of the present application;
[0087] FIG8 exemplarily shows a schematic structural diagram of a parking control device provided in an embodiment of the present application;
[0088] FIG9 exemplarily shows a structural diagram of another parking control device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0089] 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 an on-board terminal, an on-board controller, an on-board module, an on-board module, an on-board component, an on-board chip, an on-board unit, an on-board radar or an on-board camera. The vehicle can implement the parking control scheme provided in the embodiment of the present application through the on-board terminal, on-board controller, on-board module, on-board module, on-board component, on-board chip, on-board unit, on-board radar or camera. Of course, the parking control scheme in the embodiment of the present application can also be applied to other smart terminals with a parking control function other than the vehicle, or be set in other smart terminals with a parking control function other than the vehicle, or be set in a component of the smart terminal. The smart terminal can be other terminal devices such as smart transportation equipment, smart home devices, robots, etc. Examples include, but are not limited to, the smart terminal or its controller, chip, other sensors such as radar or cameras, and other components. The smart terminal can connect to relevant components in the vehicle, such as the motor and various sensors, to implement parking control functions for the vehicle.
[0090] The following will describe the technical solutions in the embodiments of the present application in conjunction with the accompanying drawings. It should be understood that the embodiments described below are only part of the embodiments of the present application, rather than all of the embodiments.
[0091] Please refer to Figure 1, which shows a schematic diagram of a possible parking scenario provided by an embodiment of the present application. In this parking scenario, assume 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 to the right of vehicle A. The target parking space is between parking spaces 1 and 2, and vehicle 1 is already parked in parking space 1, and vehicle 2 is already parked in parking space 2.
[0092] In the current parking scenario, if vehicle A is configured for manual parking, it can be parked into the target parking space under user control. For example, after confirming the target parking space, the user can first press the accelerator to generate the corresponding driving force, then quickly apply the brakes after passing the speed bump, and then lightly press the accelerator to enter the target parking space at a low speed.
[0093] In the current parking scenario, if vehicle A is configured for automatic parking, it can automatically park into the target parking space. For example, in one scenario, vehicle A can automatically scan the surrounding environment and present it to the user via a display or projection, while simultaneously asking the user, "Please confirm whether you wish to park in the target parking space." If the user responds "Confirm" via voice or touchscreen, vehicle A confirms receipt of the parking request and automatically parks into the target space. Alternatively, in another scenario, if the target parking space is narrow, the user can exit the vehicle and trigger a one-touch parking button on a device such as a phone or car key to instruct vehicle A to automatically park into the target space.
[0094] 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 this application do not specifically limit this.
[0095] Please refer to Figure 2, which shows a schematic diagram of the architecture of a parking control system available in the industry. 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 parking control system 200, a vehicle may also include other components, such as a transmission system 11, wheels 12, a steering wheel, and a steering mechanism. The main control unit 201, motor control unit 202, and motor 203 are electrically connected in sequence, while the motor 203, transmission system 11, and wheels 12 are mechanically connected in sequence. The main control unit 201 is also electrically connected to the wheel sensor 204.
[0096] Please refer to Figures 1 and 2 together. The parking control process in the industry is as follows:
[0097] When vehicle A is configured in manual parking mode, the main control unit 201 can obtain the user's steering wheel angle and the degree of accelerator pedal opening in real time. Based on the steering wheel angle, the main control unit 201 controls the steering mechanism to rotate the wheel 12 to a corresponding angle. Based on a preset mapping relationship between the accelerator pedal opening and torque, the main control unit 201 determines the target torque corresponding to the current accelerator pedal opening, and then sends the target torque to the motor control unit 202. The motor control unit 202 queries the preset mapping relationship between torque and electrical signals, 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 system 11, the rotation of the motor 203 also drives the wheel 12 to rotate, 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, calls a preset closed-loop control algorithm to correct the target torque based on the actual 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, gradually adjusting the actual rotation speed of the wheel 12 to the target rotation speed that matches the current opening of the accelerator pedal;
[0098] When vehicle A is configured for automatic parking, the main control unit 201 inputs the current position of vehicle A and the location of the target parking space into a preset trajectory planning algorithm. The algorithm then outputs a parking trajectory, which includes the vehicle speed and steering wheel angle required for each step from the current position to the target parking space. The main control unit 201 then determines the target vehicle speed and steering wheel angle for the next step based on the parking trajectory. The main control unit 201 then transmits the target steering wheel angle to the steering mechanism, which drives the steering mechanism to rotate the wheels 12 by the corresponding angle. The main control unit 201 then converts the target vehicle speed into a corresponding target torque and transmits it to the motor control unit 202. The motor control unit 202 then queries a preset mapping between torque and electrical signals, determines the drive signal corresponding to the target torque, and transmits the drive signal to the motor 203. The motor 203 rotates under the drive signal, which in turn drives the wheels 12 under the transmission system 11. The wheel speed of the wheels 12 is then acquired in real time by the wheel sensor 204. The main control unit 201 obtains the actual rotational speed of the wheel 12 collected by the wheel sensor 204, calls the preset closed-loop control algorithm to correct the target torque based on the actual rotational speed and the target rotational 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.
[0099] In summary, whether in automatic or manual parking scenarios, the industry's parking control solutions all implement closed-loop control strategies on the main control unit 201 side, with the main control unit 201 modifying the target torque to be sent to the motor control unit 202 based on the actual wheel speed. This control mode is referred to as the torque control mode in the present embodiment. However, in the torque control mode, modifying torque from speed requires at least two different data units: speed to torque. Furthermore, the entire closed-loop control chain must pass through six components: the main control unit 201, the motor control unit 202, the motor 203, the transmission system 11, the wheel 12, and the wheel sensor 204. This results in a long closed-loop control chain path, 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 solution cannot quickly close the loop due to the large closed-loop control delay, which may cause vehicle A to overshoot, parking jams, or vehicle pitching.
[0100] For example, assume that the motor control unit 202 currently controls the motor 203 to rotate according to a target torque of 200 N, but encounters a relatively high speed bump after driving for 1.5 seconds. The 200 N cannot cross the speed bump, causing vehicle A to be stuck and the vehicle speed to become 0. Afterwards, after the information of the stuck 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 suddenly increase the target torque, for example, directly increasing the target torque from 200 N to 400 N. The target torque of 400 N is notified to the motor control unit 202 and may be applied to the motor 203 by the motor control unit 202 at 1.9 seconds. Assume that vehicle A passes the speed bump at 2.0 seconds under the action of the high torque of 400 N, and the main control unit 201 only senses that the vehicle speed is too high from the wheel sensor 204 at 2.5 seconds. At this time, after another round of closed-loop strategy adjustment, the torque of the motor control unit 202 may return to 200 N at 3 seconds.
[0101] First, in this example, although the target torque is 200N, it is adjusted to 400N when passing over a speed bump. Due to the extended closed-loop control period, it is not adjusted back to 200N until 1 second after passing over the speed bump. This indicates that the parking control process experiences a prolonged and unnecessary torque increase, leading to overshoot or overshoot in the vehicle. Second, in this example, the motor control unit 202 controls the rotation of the motor 203 according to the received target torque. That is, until a new target torque is received, the motor control unit 202 maintains the target torque applied to the motor 203. Therefore, even if the 200N target torque is insufficient to pass the speed bump, the motor control unit 202 cannot automatically increase the target torque without receiving a new target torque, causing vehicle A to become stuck and experience a parking jam. Furthermore, in this example, because vehicle A is stuck when passing over a speed bump, the rotation speed of wheel 12 experiences a significant fluctuation. This significant speed fluctuation is highly likely to cause vehicle A to pitch.
[0102] In order to improve the efficiency of parking control, some solutions have been proposed at this stage, such as:
[0103] One possible solution involves detecting whether the vehicle is obstructed by terrain during automated parking. If so, the vehicle's hydraulic braking system is controlled to set a fixed hydraulic pressure in the wheel cylinders. After the fixed hydraulic pressure is set, the vehicle's torque is adjusted to enable the vehicle to pass through the obstacle. While this solution can pre-load the drive wheels with hydraulic braking force, allowing the drive wheels to successfully overcome the obstacle, it also results in additional energy dissipation, increasing wear and tear on the hydraulic braking system.
[0104] Another possible solution is that during the automatic parking process, the high precision and high resolution of the LiDAR are used to accurately detect road conditions and obstacles on the road. When an obstacle is detected ahead, the vehicle determines whether it can pass through the obstacle. If it can, the torque limit is increased, and the obstacle is then passed by the increased torque limit. Although this solution can use LiDAR for feedforward compensation and early detection of obstacles, 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 chain is still long, and the effect of improving parking efficiency is not obvious. In addition, this early detection solution may also have the risk of misjudgment, resulting in reduced parking control accuracy. Alternatively, in some scenarios, obstacles may not be detected by the LiDAR, making the aforementioned parking inefficiency problem unsolvable.
[0105] Furthermore, both the aforementioned parking control solutions and the two aforementioned solutions rely on wheel speed feedback from wheel sensor 204 to adjust the target torque. Currently, wheel 12 is typically equipped with only 48 data acquisition points. This means that the accuracy of the wheel speed acquired by wheel sensor 204 can only reach 1 / 48 of the wheel circumference. Furthermore, the acquisition frequency of wheel sensor 204 is typically set to 1 / 10 ms, which results in a relatively long time interval between acquisitions. Both the relatively long acquisition time interval and the relatively low acquisition accuracy are detrimental to improving parking control accuracy. The lower the parking control accuracy, the more deviations from the parking trajectory occur during the parking process, and the corresponding number of corrections (also known as parking adjustments) required, which is less conducive to improving parking control efficiency.
[0106] 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.
[0107] 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.
[0108] 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" can also be understood as "at least two". "And / or" describes the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.
[0109] Furthermore, unless otherwise specified, ordinal numbers such as "first" and "second" in the embodiments of this application are used to distinguish between multiple objects and are not used to limit the priority or importance of multiple objects. For example, the first drive signal is a drive signal determined based on target wheel rotation information, while the second drive signal is a drive signal corrected based on actual wheel rotation information and target wheel rotation information. This does not mean that the two drive signals have different priorities or importance.
[0110] In addition, the "electrical connection" in the following embodiments of the present application refers to the connection of electrical components, and the connection between 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 either a direct connection between A and B, or an indirect connection between A and B through one or more other electrical components. For example, A and B can be connected, or A and C can be directly connected, C and B can be directly connected, 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.
[0111] FIG3 exemplarily shows a schematic diagram of the architecture of a parking control system provided by an embodiment of the present application. 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 (not shown in FIG3 ). 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 motor sensor 205 and the wheel sensor 204, respectively.
[0112] 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 various possibilities, for example, it may be a controller, it may be part of the circuit in a controller, or it may be an integration of 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 (MDC), or an integration of at least two devices in the VCU, VDC or MDC, or part or all of the circuits, circuit systems, chips or chip systems set in the 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 the MCU.
[0113] In some scenarios, the motor sensor 205 is a resolver sensor, which includes a stator and a rotor. The rotor is typically mounted on the axle of the motor 203, rotates synchronously with the motor 203, and senses position information in the stator coil, which is then transmitted by the stator coil. In simple terms, the resolver 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 the angle and / or speed) of the motor 203, such as a photoelectric encoder or a Hall position sensor.
[0114] 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 .
[0115] Based on this parking control system, FIG4 shows a flow chart of a parking control method provided by an embodiment of the present application. It should be noted that this parking control method can be executed periodically. The following description uses the execution of one cycle as an example. Referring to FIG3 and FIG4 together, the parking control process mainly includes the following steps:
[0116] In 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.
[0117] Here, during the vehicle parking process, it can be understood as: any moment in the period from the start of parking to the end of parking. It can be further understood as: when the main control unit 201 senses that the vehicle has an intention to park, it can send the target wheel rotation information to the motor control unit 202 in the subsequent control process, and the target wheel rotation information is sent thereafter until it senses that the vehicle has an intention to end parking. In this case, 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.
[0118] 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 .
[0119] The rotation angle and the rotation speed are in a one-to-one correspondence. 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): Ω=360×N……(1)
[0120] According to formula (1), the accuracy of the rotation speed can reach 1r / ms, while the accuracy of the rotation angle can reach 1° / ms. Obviously, the accuracy of the rotation angle is much higher than that of the rotation speed. Therefore, in some scenarios, if the accuracy requirements for parking control are relatively high, the main control unit 201 can be configured to send the target rotation angle of the wheel 12 to the motor control unit 202, and parking control can be performed based on the more accurate rotation angle to meet the high-precision requirements. Alternatively, in other scenarios, considering that parking control using the rotation angle usually requires safety monitoring, which may bring additional power consumption and complexity, if the accuracy requirements for parking control are 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 requirements.
[0121] In step 402 , the motor control unit 202 sends a first driving electrical signal to the motor 203 according to the target wheel rotation information.
[0122] 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. Furthermore, under the transmission action of the transmission system 11, the rotation of the motor 203 drives the wheel 12 to rotate.
[0123] For example, after receiving the target wheel rotation information sent by the main control unit 201, the motor control unit 202 can first determine the corresponding target drive electrical signal based on the target wheel rotation information, and then send the target drive electrical signal (as the first drive electrical signal) to the motor 203 via the controller area network (CAN) bus. There are many ways for the motor control unit 202 to determine the target drive electrical signal based on the target wheel rotation information. For example, the motor control unit 202 can query a preset mapping relationship between wheel rotation information and drive electrical signals to directly obtain the target drive electrical 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 electrical signal output by the conversion model; or, the motor control unit 202 can first query a preset mapping relationship between wheel rotation information and torque to obtain the target torque corresponding to the target wheel rotation information, and then query a preset mapping relationship between torque and drive electrical signals to obtain the target drive electrical signal corresponding to the target torque, etc. There are many possible implementation forms, which are not listed here one by one.
[0124] In one example, considering that if the driving electrical signal suddenly rises or falls, the speed of the motor 203 will also suddenly rise or fall, thereby causing the vehicle speed to suddenly rise or fall, which is likely to cause the vehicle to pitch or drive unstably, therefore, after determining the target driving electrical signal corresponding to the target wheel rotation information, the motor control unit 202 can also determine the transition driving electrical signal according to the current driving electrical signal and the target driving electrical signal of the motor 203, and then send the transition driving electrical signal (as the first driving electrical signal) to the motor 203. Among them, the transition driving electrical signal can be one or more values between the current driving electrical signal and the target driving electrical signal, such as the average value of the current driving electrical signal and the target driving electrical signal, or a plurality of transition values including a step-by-step switch from the current driving electrical signal to the target driving electrical signal, or, when the difference between the target driving electrical signal and the current driving electrical signal is not large, it can also be the target driving electrical signal directly. In this way, by adopting the transition driving electrical signal to drive the motor to rotate, the phenomenon of sudden increase or decrease in the motor speed can be avoided, which helps to improve the stability of the vehicle.
[0125] 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.
[0126] 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.
[0127] Among them, the preset mapping relationship between the rotational speed and the driving current can be obtained through experimental testing or set based on experience, and can be presented in any form of a data table, data graph, queue or stack, etc., without specific limitation.
[0128] In some scenarios, the motor control unit 202 can be configured with two control modes: speed / angle control mode and torque control mode. The speed / angle control mode is configured with a preset mapping relationship between speed and drive current, while the torque control mode is configured with a preset mapping relationship between torque and drive current. The speed / angle control mode is much faster than the torque control mode, providing immediate feedback from the vehicle as soon as the user presses the accelerator pedal. This results in a relatively poor driving experience. Therefore, the speed / angle control mode is typically only used to quickly adjust the vehicle's state when the vehicle is unstable. In the embodiment of the present application, these two control modes in the motor control unit 202 can be directly utilized. When the vehicle determines that it intends 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 wheels 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 preset speed / angle control mode and the drive current mapping relationship, thereby completing the speed-based closed-loop control. In this way, even if the vehicle encounters road disturbances during parking, it can still park smoothly into the target parking space through rapid closed-loop control. Conversely, when the vehicle determines that it intends 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 preset torque and drive current mapping relationship configured in the torque control mode, thereby completing the torque-based closed-loop control. This allows a certain reaction time after the user presses the accelerator pedal, thereby improving the user's driving experience.
[0129] Furthermore, the torque control mode is the 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 automatic, without limitation.
[0130] 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 to the first mode, the vehicle can only be configured with the transition gradient table corresponding to the first mode. When the vehicle's driving mode is configured to the second mode, the vehicle can only be configured with the transition gradient table corresponding to the second mode. 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. Each time the vehicle is started or when a mode switch is required, the user can instruct the vehicle to switch to the target driving mode through a display screen, voice, gesture, or button. In this way, during the parking process, the motor control unit can determine the various transition driving currents 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.
[0131] 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:
[0132] Table 1
[0133] 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:
[0134] Table 2
[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 gradient increase or gradient decrease in the transition gradient table corresponding to the second mode is greater than the speed of 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's 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] In 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, to save computation 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. If the target wheel rotation information is configured as the target rotation angle of wheel 12, the motor rotation information may be configured as the rotation angle of motor 203.
[0140] Alternatively, in some scenarios, if the motor sensor 205 can only collect the rotational 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 rotational speed of the motor 203, the motor control unit 202 may further convert the rotational speed of the motor 203 into the rotational 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 rotational angle of the motor 203, and the target wheel rotation information is configured as the target rotational speed of the wheel 12, then after obtaining the rotational angle of the motor 203, the motor control unit 202 may further convert the rotational angle of the motor 203 into the rotational speed of the motor 203 according to the above formula (1), and then execute the following step 404.
[0141] In 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] For example, after parking starts, the motor control unit 202 receives the first target wheel rotation information and sends the corresponding first driving 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. 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 period 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 within 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 2ms small closed-loop cycle, the motor control unit 202 can use the motor rotation information obtained within the 2ms and the target wheel rotation information obtained within the current 10ms large closed-loop cycle to correct the driving electrical signal sent to the motor 203 to complete the closed-loop control corresponding to the 2ms small closed-loop cycle. After repeating the closed-loop control of 5 2ms small closed-loop cycles, the target wheel rotation information of the next 10ms large closed-loop cycle 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 10ms large closed-loop cycle until the vehicle is parked in the target parking space and parking is completed.
[0143] In a further example, there are many ways for the motor control unit 202 to modify the drive electrical signal using the motor rotation information and the target wheel rotation information. For example, the motor rotation information can be first converted into the current wheel rotation information based on 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 a preset closed-loop control algorithm, and the next wheel rotation information output by the closed-loop control algorithm is obtained. After that, the preset mapping relationship between the wheel rotation information and the drive electrical signal can be queried to obtain the next drive electrical signal corresponding to the next wheel rotation information. Then, by querying the preset transition gradient table, each transition drive electrical signal converted from the current drive electrical signal of the motor 203 to the next drive electrical signal is obtained 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 relevant content of the preset mapping relationship between the wheel rotation information and the drive electrical signal and the preset transition gradient table, it can be directly referred to the above step 402, which will not be repeated here.
[0144] In summary, the above parking control scheme places the closed-loop control strategy during 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 implement 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 existing solution that uses torque to correct the speed and places the closed-loop control strategy during the parking process on the main control unit side, the parking control solution provided by the embodiment of the present application has a significantly reduced closed-loop control delay, and the parking control efficiency is higher. Therefore, even if the parking process encounters road disturbances, the closed-loop control can be quickly converged due to the small closed-loop control delay, effectively avoiding vehicle overshoot, parking jams, or vehicle pitching.
[0145] For example, referring to FIG1 , 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 500 r / 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 500 r / ms. For example, the driving current initially configured for the motor 203 is 200 A; after driving for 1.5 seconds, it encounters a relatively high speed bump, and the 200 A cannot cross the speed bump, causing the speed of the motor 203 to drop rapidly, causing the motor 203 to stall, resulting in a sudden increase in the actual current of the motor 203; at this time, according to the motor In the state of a sudden drop in speed and a sudden increase in current of vehicle 203, the motor sensor 202 can determine that vehicle A is currently subject to road disturbance. Therefore, based on 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 a road disturbance is encountered, the control of the motor control unit 202 can ensure that the motor 203 always drives the wheels to rotate at a speed of 500r / ms. This can prevent the vehicle from being stuck by road disturbances and also prevent the vehicle speed from suddenly increasing to more than 500r / ms. It effectively avoids parking jams, stuckness, or pitching of the entire vehicle, and reduces overshoot after passing an obstacle.
[0147] In addition, the above-mentioned parking control scheme uses the motor rotation information collected by the motor sensor to correct the target wheel rotation information. The motor circumference is usually set with 4096 position points. In other words, 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 intervals. Both higher acquisition accuracy and shorter acquisition intervals 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 parking, and the corresponding number of parking rubbing 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 defaults to the torque control mode, i.e., the closed-loop control strategy is placed on the main control unit side, and torque is used to correct the motor speed. For details, please refer to the description in Figure 2 above. In the parking scenario, the vehicle switches to the speed / angle control mode, i.e., the closed-loop control strategy is placed on the motor control unit side, and motor rotation information is used to correct the motor speed. For details, please refer to the description in Figures 3 and 4 above. The parking scenario and the non-parking scenario can be determined by the main control unit based on at least one of the current state of the vehicle or user instruction information, and different parking modes can correspond to different confirmation methods.
[0149] The following describes the specific implementation of the parking control processes corresponding to the automatic parking mode and the manual parking mode through implementation plan 1 and implementation plan 2 respectively.
[0150] Implementation Plan 1
[0151] FIG5 is a flow chart showing a parking control method in an automatic parking mode provided in an embodiment of the present application.
[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 vehicle control operations, 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 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 completed, it will send a second indication message to the VCU to instruct the VCU to take over the 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. The embodiments of the present application do not specifically limit this.
[0153] Referring to FIG3 and FIG5 , the parking control process in the automatic parking mode mainly includes the following steps:
[0154] In 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, including but 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] For example, 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, which 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 speed of the wheel 12 according to the following formula (2). Furthermore, if the target wheel rotation information is configured as the target speed of the wheel 12, the main control unit 201 can directly send the target speed to the motor control unit 202. If the target wheel rotation information is configured as the target angle of the wheel 12, the main control unit 201 must first convert the target speed of the wheel 12 into the target 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 meters per millisecond (m / ms), the rotation speed is N, in r / ms, and the radius of the wheel 12 is R, in meters, the relationship between the vehicle speed and the rotation speed satisfies the following formula (2):
[0158] It should be noted that the aforementioned vehicle angle may be either 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, i.e., when the vehicle is a vehicle with 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 it into the steering mechanism angle according to a pre-set proportional conversion relationship to control the steering of the wheels. In a scenario where the vehicle does not have a steering wheel, i.e., when the vehicle is a vehicle without a steering wheel, the vehicle angle may specifically refer to the angle of the steering mechanism. After the steering mechanism angle is sent to the steering mechanism, the steering mechanism may directly control the steering of the wheels.
[0159] In step 502 , the motor control unit 202 sends a first driving electrical signal to the motor 203 according to the target wheel rotation information.
[0160] In step 503 , the motor control unit 202 obtains the motor rotation information of the motor collected by the motor sensor 205 .
[0161] In 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.
[0162] 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, and will not be repeated here.
[0163] In step 505 , the main control unit 201 determines that the automatic parking is completed and switches back to the torque control mode.
[0164] Exemplarily, there are multiple 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 the automatic parking is determined to be terminated. Alternatively, it may be triggered by certain user actions, which include but are not limited to: the user depresses the accelerator pedal; the user depresses the brake pedal deeply; the user turns the steering wheel; the user shifts the vehicle gear to the parking (P) gear; the user clicks the exit automatic parking button on the vehicle display; the user issues a voice message such as "exit parking"; the user shows a preset exit parking gesture to the vehicle camera; the user triggers a stop parking instruction on a device such as a mobile phone or laptop; the user presses the stop parking button on the car key; the user presses the stop parking button on the inside or outside of the vehicle body, etc.
[0165] Correspondingly, the main control unit 201 can determine that automatic parking has ended when it determines that the vehicle status 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.
[0166] For example, in some scenarios, during the process of automatic parking, the user suddenly needs to leave for other things and no longer needs to park. In this case, 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 been turned. Therefore, the main control unit 201 can determine that the user has instructed 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 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. The motor control unit 202 determines the third driving 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 be referred to the relevant description in Figure 2 above and will not be repeated here.
[0167] For example, in other scenarios, if the user wishes to switch to another parking space during automatic parking, they can deeply depress the brake pedal and, on the in-vehicle display, instruct the vehicle to rescan the current parking lot. After selecting their desired parking space, they can re-instruct automatic parking. At this point, the main control unit 201 detects that the brake pedal's opening angle exceeds a preset opening threshold, terminates automatic parking, and switches from the previous parking mode's speed / angle control mode back to the default torque control mode. Furthermore, based on the user's newly selected parking space, the main control unit 201 inputs the vehicle's current position and the location of the newly selected space into a preset trajectory planning algorithm, obtaining the parking trajectory output by the trajectory planning algorithm. Before the vehicle reaches a certain distance from its current position to the newly selected parking space (which can be considered the distance at which automatic parking begins), the main control unit 201 controls the vehicle using a torque control mode. Specifically, the main control unit 201 sends a target torque corresponding to the target speed to the motor control unit 202. The motor control unit 202 determines a third drive electrical signal based on the target torque and sends it to the motor 203. The main control unit 201 also adjusts the target torque based on the wheel speed detected by the wheel sensor 204. After the vehicle reaches a certain distance from its current position to the newly selected parking space, the main control unit 201 controls the vehicle using a speed / angle control mode. Specifically, the main control unit 201 directly sends the target speed to the motor control unit 202, which adjusts the target speed based on the motor speed detected by the motor sensor 205.
[0168] 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, it can adopt a high-precision and high-speed parking control strategy during the automatic parking process, 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 response in the scenario where the vehicle is not parked, thereby improving the user's driving experience.
[0169] Implementation Plan 2
[0170] FIG6 is a flow chart illustrating a parking control method for manual parking mode provided by an embodiment of the present application. In manual parking mode, the main control unit 201 may be, for example, a VCU or VDC system. Referring to FIG3 and FIG6 together, the parking control process in manual parking mode primarily includes the following steps:
[0171] In step 601 , when the current state of the vehicle satisfies a parking condition, the main control unit 201 determines target wheel rotation information corresponding to the current opening of the vehicle pedal.
[0172] 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.
[0173] 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 stepped on heavily 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.
[0174] 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. KPH is the speed unit, i.e., kilometers per hour.
[0175] It should be noted that the above example combines multiple vehicle states, including 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 parked state, which can make the determination more detailed and accurate. However, this is only one optional implementation. In other optional implementations, only some of the above vehicle states may be used to determine whether the vehicle is in a parked state, or other vehicle states different from the above vehicle states may be used for determination. This embodiment of the present application does not specifically limit this.
[0176] For example, 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.
[0177] In some scenarios, the pedal opening in the preset mapping relationship between pedal opening and torque may specifically refer to the opening of the accelerator pedal. The main control unit 201 obtains the target torque corresponding to the current opening of the accelerator pedal by obtaining the current opening of the accelerator pedal pressed by the user in real time and queries the preset mapping relationship between the opening of the accelerator pedal and torque. However, this is only one possible scenario. In other scenarios, the pedal opening may also refer to the opening of a pedal other than 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 correspondence 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 obtains the current opening of the accelerator pedal and the current opening of the brake pedal pressed by the user in real time, and queries the preset mapping relationship between the pedal opening and the torque, so as to obtain the target torque corresponding to the current opening of the accelerator pedal and the current opening of the brake pedal.
[0178] 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.
[0179] In a further example, assuming that the vehicle is configured in the first mode, the user can continue to drive slowly at a speed corresponding to the set creep torque even without pressing the accelerator or brake pedal. After determining the target torque corresponding to the current pedal opening, if the target torque is less than the creep torque configured for the first mode, the main control unit 201 may use the creep torque as the target torque. For example, if the target torque is determined to be 80N but the creep torque is 100N, the main control unit 201 may select 100N as the final target torque. If the target torque is determined to be 120N and the creep torque is 100N, the main control unit 201 may still use 120N as the target torque. In some scenarios, the first mode may also be called comfort mode, economy mode, normal mode, or custom mode. Alternatively, in other scenarios, modes such as sport mode, dynamic mode, or aggressive mode may also be configured with corresponding creep torques. In these cases, the target torque may also be adjusted based on the corresponding creep torque in these modes. In this way, by using the creep torque to arbitrate the target torque, it is possible to ensure that the vehicle travels at a speed not less than that corresponding to the creep torque. Even in parking mode, it is possible to ensure that the vehicle speed meets the requirements of the current driving mode.
[0180] 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 the 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 can no longer control the motor speed according to the speed / speed control mode, but can switch back to the default torque control mode to match the vehicle's non-parking requirements.
[0181] In a further example, considering that the vehicle driving mode generally includes a first mode and a second mode, the first mode is also called comfort mode, economy mode, normal mode or custom mode, etc., and the second mode is also called sports mode, dynamic mode or 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 required speed as quickly 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, gestures, or buttons each time the vehicle is started or when a mode switch is required. 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.
[0182] For example, taking the wheel rotation information as the wheel speed as an example, Table 3 shows a fragment of a mapping relationship between torque and wheel speed corresponding to a first mode provided by an embodiment of the present application:
[0183] Table 3
[0184] For example, Table 4 shows a fragment of a mapping relationship between torque and wheel speed corresponding to a second mode provided in an embodiment of the present application:
[0185] Table 4
[0186] Combining Tables 3 and 4, we can see that in the torque-to-wheel speed mapping for any vehicle driving mode, one torque range corresponds to one wheel speed. For example, in the torque-to-wheel speed mapping for the second mode, each 50N torque range corresponds to one wheel speed, while in the torque-to-wheel speed mapping for the first mode, each 10N torque range corresponds to one wheel speed. This allows the vehicle to adjust to the target torque more coarsely in the second mode, meeting the second mode's response speed requirements, while in the first mode, the vehicle adjusts to the target drive current more smoothly, meeting the first mode's user experience requirements.
[0187] In a further example, after determining the target wheel rotation information corresponding to the target torque based on the mapping relationship between the torque and wheel rotation information corresponding to the current vehicle driving mode, the main control unit 201 may further use the vehicle's current speed information to correct the target wheel rotation information. The corrected target wheel rotation information lies between the wheel rotation information corresponding to the vehicle's current speed information and the target wheel rotation information before correction. For example, it may be the average of the wheel rotation information corresponding to the vehicle's current speed information and the target wheel rotation information before correction. For example, assuming the wheel rotation information is wheel speed, the arbitrated target torque is 120N, the corresponding target wheel speed is 350r / ms, and the wheel speed corresponding to the current vehicle speed is 700r / ms. By correcting 350r / ms by 700r / ms, a final target wheel speed of 500r / ms can be obtained. In this way, by controlling the wheel speed to decrease from 700r / ms to 500r / ms, rather than directly to 350r / ms, the wheel speed can be smoothly adjusted during parking control, avoiding sudden acceleration or deceleration of the vehicle and improving the user's driving experience.
[0188] It should be noted that determining the target wheel rotation information corresponding to the current pedal opening by using a preset mapping relationship between pedal opening and torque and a preset mapping relationship between torque and wheel rotation information is merely an optional implementation. In another optional implementation, a preset mapping relationship between pedal opening and wheel rotation information may be directly configured in the vehicle, such as a preset mapping relationship between accelerator pedal opening and wheel rotation information. By querying this mapping relationship, the main control unit 201 can directly determine the target wheel rotation information corresponding to the current opening of the vehicle's accelerator pedal, thereby further improving the efficiency of parking control.
[0189] In step 602 , the main control unit 201 sends the target wheel rotation information to the motor control unit 202 .
[0190] In step 603 , the motor control unit 202 sends a first driving electrical signal to the motor 203 according to the target wheel rotation information.
[0191] In step 604 , the motor control unit 202 obtains the motor rotation information of the motor collected by the motor sensor 205 .
[0192] In 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.
[0193] 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, and will not be repeated here.
[0194] In step 606 , the main control unit 201 switches back to the torque control mode when the current state of the vehicle satisfies the parking end condition.
[0195] 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.
[0196] For example, when the vehicle's speed increases, or the vehicle's motor speed increases, or the vehicle's accelerator is suddenly stepped on hard, or the vehicle's brake is suddenly released, it can be considered that the vehicle has most likely completed parking. At this time, the vehicle can switch back to the torque control mode.
[0197] For example, in some scenarios, during manual parking, a user may no longer need to park for some reason. In this case, the user may release the brake pedal and further depress the accelerator pedal. At this point, the main control unit 201 detects that the brake pedal opening has decreased to a second opening threshold, while the accelerator pedal opening has increased to a first opening threshold. Therefore, the main control unit 201 may determine that parking is about to end. At this point, the main control unit 201 may switch from the previous parking mode speed / angle control mode back to the default torque control mode. Specifically, the main control unit 201 transmits the target torque corresponding to the current pedal opening to the motor control unit 202. The motor control unit 202 determines a third drive electrical signal based on the target torque and transmits it to the motor 203. The main control unit 201 also uses the speed of the wheel 12 acquired by the wheel sensor 204 to correct the target torque transmitted to the motor control unit 202. For the specific implementation logic, please refer to the relevant description in FIG. 3 .
[0198] In the second implementation scheme described above, the vehicle adopts a speed / angle control mode during manual parking and switches back to the default torque control mode after manual parking is completed. This allows for a high-precision and high-speed parking control strategy to be used during manual parking, reducing parking jams, stuck stops, and overshooting after passing obstacles in human-driven scenarios. Furthermore, in non-parked scenarios, the vehicle can be guaranteed to have sufficient time from the moment it steps on the pedal to the moment it perceives the vehicle's response, thereby improving the user's driving experience.
[0199] In the embodiment of the present application, the motor control unit 202 can 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 can control the rotation of the motor according to the torque, so that the speed of the motor is maintained at a certain torque, and when the speed / angle control mode is adopted, the motor control unit 202 can control the rotation of the motor according to the speed / angle, so that the speed of the motor is maintained at a certain speed or angle. Among them, the switching of these two control modes of the motor control unit 202 can be controlled and implemented by the main control unit 201. For example, Figure 7 shows a specific flow chart of a parking control method provided in an embodiment of the present application, and the flow includes:
[0200] In 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.
[0201] For example, if the vehicle is configured for automatic parking, the main control unit 201 may include a VCU and an MDC. Upon receiving a user's automatic parking request and determining the vehicle's intention to park, the VCU may send a first instruction to the MDC. Upon receiving the first instruction, the MDC may take over all VCU operations and send a first control signal to the motor control unit 202, causing it to switch to speed / angle control mode.
[0202] For example, if the vehicle is configured for manual parking mode, the main control unit 201 may include a VCU. Upon detecting that the vehicle's current state meets the parking trigger conditions described in Implementation Example 2 above, the VCU determines that the vehicle intends to park. At this point, the VCU may send a first control signal to the motor control unit 202 to control the motor control unit 202 to switch to a speed / angle control mode.
[0203] 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 time when the motor control unit 202 is controlled to switch to the speed / angle control mode can also be a certain time before or after the vehicle starts to park, for example, it can be any time in the period between after the vehicle's intention to park is detected and when the vehicle finishes parking, and there is no specific limitation.
[0204] In step 702 , the motor control unit 202 switches to a speed / angle control mode according to a first control signal.
[0205] For example, in the motor control unit 202, the torque control mode is the default control mode. In the absence of the first control signal, the torque control mode in the motor control unit 202 is active, and the speed / angle control mode in the motor control unit 202 is inactive. Upon receiving the first control signal, the motor control unit 202 may switch the torque control mode to the inactive state and the speed / angle control mode to the active state, thereby switching to the speed / angle control mode.
[0206] In step 703 , the main control unit 201 sends the target wheel rotation information to the motor control unit 202 .
[0207] 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.
[0208] In step 704 , the motor control unit 202 sends a first driving electrical signal to the motor 203 according to the target wheel rotation information.
[0209] In step 705 , the motor control unit 202 obtains the motor rotation information of the motor collected by the motor sensor 205 .
[0210] In 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.
[0211] 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 driving 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 driving electrical signal sent to the motor 203.
[0212] In step 707 , the main control unit 201 sends a second control signal to the motor control unit 202 when the vehicle is not in parking mode.
[0213] 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.
[0214] For further example, if the vehicle is configured for automatic parking mode, the main control unit 201 may include a VCU and an MDC. When the MDC detects that the vehicle's current state meets the trigger conditions for ending parking as described in Implementation Plan 1 above, it determines that the vehicle intends to end parking. At this point, the MDC may send a second indication to the VCU. Upon receiving this second indication, the VCU may take over all operations of the MDC and send a second control signal to the motor control unit 202, causing it to switch to torque control mode.
[0215] For further example, if the vehicle is configured in manual parking mode, the main control unit 201 may include a VCU. Upon detecting that the vehicle's current state meets the trigger conditions for ending parking as described in the second embodiment above, the VCU determines that the vehicle intends to end parking. At this point, 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.
[0216] 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 certain moment relatively soon after detecting that the vehicle has the intention to end parking. There is no specific limitation.
[0217] In step 708 , the motor control unit 202 switches to the torque control mode according to the second control signal.
[0218] 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.
[0219] In step 709 , the main control unit 201 sends the target torque to the motor control unit 202 .
[0220] Here, when the vehicle is not in parking mode, 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.
[0221] In step 710 , the motor control unit 202 sends a third driving electrical signal to the motor 203 according to the target torque.
[0222] In step 711 , the main control unit 201 obtains actual wheel rotation information collected by the wheel sensor 204 .
[0223] 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.
[0224] In step 713 , the motor control unit 202 sends a fourth driving electrical signal to the motor 203 according to the corrected target torque.
[0225] 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.
[0226] Using this control scheme, the motor control unit can switch to speed / angle control mode during parking. This allows the unit to use the received wheel speed / angle to maintain the motor at a stable speed. Furthermore, the unit can use the actual motor speed, acquired by the motor sensor at a high acquisition frequency, to accurately and quickly correct the next motor speed. This enables efficient and high-precision control during parking, reducing the number of parking errors and, consequently, the number of parking maneuvers. Furthermore, the motor control unit can switch to torque control mode during non-parking situations. This allows the unit to use the received torque to control the motor within a certain buffer time, thus allowing the driver to sense vehicle speed changes after pressing the accelerator pedal, thus improving the driving experience.
[0227] It should be understood that the above content only introduces the specific implementation of the parking control solution using a vehicle as an example. The parking control solution can also be extended to any device or system that has requirements for 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), 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.
[0228] 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.
[0229] In addition, the above embodiments only illustrate the parking control method executed by a control unit in a vehicle. The parking control method can also be executed by other devices, such as a cloud server, a terminal device, or another vehicle. The vehicle to be controlled exchanges relevant information with the cloud server, the terminal device, or another vehicle to implement the closed-loop parking control method described above by the motor control unit.
[0230] 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 scope of protection of this application.
[0231] 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 each function. 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 herein, 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 a hardware or computer software-driven hardware manner 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.
[0232] FIG8 is a schematic diagram of the structure of a parking control device provided in an embodiment of the present application. As shown in FIG8 , the parking control device 800 may include a processor 801 and a transceiver 803. Optionally, the parking control device 800 may further include a memory 802. The memory 802 is used to store instructions executed by the processor 801, or to store data required by the processor 801 to execute instructions, or to store data generated after the processor 801 executes instructions, such as the various mapping relationships and transition gradient tables used in the aforementioned method embodiments. The processor 801 can read the instructions stored in the memory 802 and call the transceiver 803 to implement the method described in the aforementioned method embodiments. 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 via the bus system.
[0233] In some possible implementations, the parking control device 800 can implement the corresponding behaviors and functions of the main control unit in the above-mentioned method embodiments. For example, the parking control device 800 can be the above-mentioned main control unit 201, such as a VCU, MDC, or VDC, or it can be a device capable of implementing the functions implemented by the above-mentioned main control unit 201, such as a chip, chip system, circuit, or circuit system provided in the VCU, MDC, or VDC. The transceiver 803 can be used to perform all receiving or transmitting operations performed by the main control unit 201 in any of the embodiments shown in Figure 7. For example, steps 701 and 707 in the embodiment shown in Figure 7, and / or other processes used to support the technology described herein; wherein the processor 801 is used to perform all operations performed by the main control unit 201 in the embodiment shown in Figure 7 except for the transmitting and receiving operations.
[0234] 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.
[0235] For example, the processor 801 is further used to determine the target wheel rotation information of the vehicle during the parking process; the transceiver 803 is further used to send the target wheel rotation information of the vehicle to the motor control unit.
[0236] In some possible implementations, the parking control device 800 can implement the behaviors and functions of the motor control unit in the above-mentioned method embodiment. For example, the parking control device 800 can be the above-mentioned motor control unit 202, or it can be a device capable of implementing the functions implemented by the above-mentioned motor control unit 202, such as a chip, chip system, circuit or circuit system provided in the motor control unit 202. The transceiver 803 can be used to perform all receiving or transmitting operations performed by the motor control unit 202 in the embodiment shown in Figure 7. The processor 801 is used to perform all operations performed by the motor control unit 202 in the embodiment shown in Figure 7 except for the transmitting and receiving operations, such as steps 702 to 708 in the embodiment shown in Figure 7, and / or other processes for supporting the technology described herein.
[0237] 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.
[0238] For example, the transceiver 803 is further configured to receive target wheel rotation information from the main control unit during parking, and transmit a first drive electrical signal to the motor based on the target wheel rotation information, and to receive motor rotation information from the motor sensor, and transmit a second drive electrical signal to the motor based on the motor rotation information and the target wheel rotation information. The drive electrical signals (including the first drive electrical signal and the second drive electrical signal) are configured to drive the motor to rotate, and the motor rotation is configured to drive the wheel to rotate.
[0239] 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, and will not be repeated here.
[0240] Based on the above embodiments and the same concept, FIG9 is a schematic diagram of another parking control device provided by 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. The processing unit 901 is in communication with the storage unit and is used to execute the computer instructions stored in the storage unit, enabling the parking control device 900 to execute the method executed by the main control unit 201 or the motor control unit 202 in any of the above embodiments. 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 memory unit within a chip, such as a register or cache. The storage unit may also be a memory unit located outside the chip of the parking control device 900, such as a read-only memory (ROM) or other static storage device capable of storing static information and instructions, or a random access memory (RAM).
[0241] In some scenarios, the parking control device 900 may be the main control unit 201 described above, 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 provided in the VCU, MDC, or VDC. Under the call of the processing unit 901, the transceiver unit 902 is configured to: during the vehicle parking process, send a first control signal to the motor control unit, the first control signal being used to control the motor control unit to switch to a speed / angle control mode; and, during the vehicle non-parking process, send a second control signal to the motor control unit, the second control signal being used to control the motor control unit to switch to a torque control mode.
[0242] In a possible implementation, the processing unit 901 is further configured to determine target wheel rotation information of the vehicle during parking; and the transceiver unit 902 is further configured to send the target wheel rotation information of the vehicle to the motor control unit.
[0243] In a possible implementation manner, the target wheel rotation information may include a target wheel rotation speed and / or a target wheel rotation angle.
[0244] In a possible implementation, 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.
[0245] In one possible implementation, when the vehicle is configured in automatic parking mode, the processing unit 901 is specifically configured to: during the vehicle parking process, first input the vehicle's current position 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 from the current position to the target parking space; then, determine the target vehicle speed for the next step based on the parking trajectory, and determine the target wheel rotation information corresponding to the target vehicle speed based on a preset mapping relationship between vehicle speed and wheel rotation information.
[0246] 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 vehicle state 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.
[0247] 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 pedal opening of the vehicle by querying the preset mapping relationship between pedal opening and torque, and determine the target wheel rotation information corresponding to the target torque by querying the preset mapping relationship between torque and wheel rotation information.
[0248] 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.
[0249] 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, one 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 configured 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 vehicle's driving mode.
[0250] In a further embodiment, 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 current speed information of the vehicle to correct the target wheel rotation information, wherein the corrected target wheel rotation information is between the wheel rotation information corresponding to the current speed information of the vehicle and the target wheel rotation information before correction.
[0251] In one 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 based on 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.
[0252] In a further embodiment, when the vehicle is configured in automatic parking mode, the processing unit 901 may determine that the vehicle has ended parking when it determines that the vehicle's state satisfies at least one of the following conditions: the accelerator pedal opening is greater than 0; the brake pedal opening 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.
[0253] In a further embodiment, when the vehicle is configured in manual parking mode, the processing unit 901 may 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 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.
[0254] It is understandable that the functions of the various units in the parking control device 900 can be described with reference to the implementation of the corresponding method embodiments, and will not be described in detail here.
[0255] It should be understood that the above division of the units of parking control device 900 is merely a division of logical functions. In actual implementation, all or part of the units may be integrated into a single physical entity, or they may be physically separated. In the embodiment of the present application, processing unit 901 may be implemented by processor 801 in FIG. 8 , and transceiver unit 902 may be implemented by transceiver 803 in FIG. 8 .
[0256] According to the aforementioned parking control scheme, an embodiment of the present application further provides a parking control device, which includes a processor connected to a memory, the memory being used to store a computer program, and the processor being used to execute the computer program stored in the memory, so that the parking control device implements the method described in any of the embodiments of the main control unit or the motor control unit in Figures 4 to 7.
[0257] According to the aforementioned parking control scheme, an embodiment of the present application further provides a parking control device, which includes a processor and a memory, wherein the memory is used to store computer program instructions, and the processor is used to execute the computer program instructions to implement the method described in the main control unit or the motor control unit in any of the embodiments of Figures 4 to 7.
[0258] According to the aforementioned parking control solution, an embodiment of the present application further 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.
[0259] According to the aforementioned parking control scheme, an embodiment of the present application further provides a chip, which may include a processor and an interface, wherein the processor is configured to read instructions through the interface to execute the method described in the main control unit or the motor control unit in any one of the embodiments of FIG. 4 to FIG. 7 .
[0260] According to the aforementioned parking control scheme, an embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed, the method described in the main control unit or the motor control unit in any of the embodiments of Figures 4 to 7 is implemented.
[0261] According to the aforementioned parking control solution, an embodiment of the present application further provides a computer program product, which, when executed on a processor, implements the method described in the main control unit or the motor control unit in any one of the embodiments of FIG. 4 to FIG. 7 .
[0262] As used in this specification, the terms "component," "unit," "system," and the like 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 an application running on a computing device and a computing device can be a component. One or more components can reside in a process and / or an execution thread, and a component can be located on one computer and / or distributed between two or more computers. In addition, these components can be executed from various computer-readable media having various data structures stored thereon. Components can communicate, for example, via local and / or remote processes based on 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 via signals).
[0263] Those skilled in the art will appreciate that the various illustrative logical blocks and steps described in conjunction with the embodiments disclosed herein can be implemented using electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians 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.
[0264] Those skilled in the art will 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.
[0265] In the several embodiments provided in this 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 merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, 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.
[0266] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0267] 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.
[0268] 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, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0269] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection 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 modules or units for performing the method as claimed in 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.
25. A computer program product, characterized in that When the computer program product is run on a processor, the method according to any one of claims 15 to 20 is implemented.
Citation Information
Patent Citations
Vehicle speed control system and method for full-automatic parking of electric car
CN105015544A
Automobile speed control method and system used for automatic parking of electric automobile
CN106004515A
Method and device for adaptively adjusting drive torque of two-wheeled electric vehicle
CN115520030A
Method for controlling an electric machine to drive a vehicle
DE102021201276A1
Parking support system
JP2006296135A
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
