Torque compensation control methods, devices, electronic equipment, and media for motor faults

By real-time monitoring and dynamic torque reconstruction, the problems of power loss and vehicle body jerking after a fault in the multi-motor drive system are solved, achieving smooth torque transition and consistent vehicle body posture, and improving the system's fault tolerance and protection capabilities.

CN123104398APending Publication Date: 2026-11-17ANHUI JIANGHUAI AUTOMOBILE GRP CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611503909.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-24
Publication Date
2026-11-17

AI Technical Summary

Technical Problem

Existing multi-motor drive fault-tolerant control methods result in power loss and vehicle body jerking after a faulty motor shuts down due to power failure. They lack cross-motor collaborative compensation mechanisms, which increases the risk of accidents.

Method used

The system monitors the status of three motors in real time, performs electrical isolation on the faulty motor after a fault is identified, and compensates for the missing torque proportionally by dynamically reconstructing the remaining motor torque, thus controlling the torque to smoothly transition to the target compensation value.

Benefits of technology

It achieves a smooth torque transition after a fault, maintains consistent vehicle posture, avoids interruption of the emergency collision avoidance process, and improves the system's fault tolerance and protection capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123104398A_ABST
    Figure CN123104398A_ABST
Patent Text Reader

Abstract

This disclosure provides a torque compensation control method, device, electronic equipment, and medium for motor faults, relating to the field of motor fault handling technology. It involves real-time monitoring of the operating status parameters of three motors and online fault determination. After determining a single motor fault, it performs electrical isolation on the faulty motor and limits its abnormal torque output. Simultaneously, based on the missing torque of the faulty motor, it dynamically reconstructs the remaining two normal motors and proportionally allocates compensation for the missing torque. During the reconstruction process, it controls the output torque to smoothly transition to the target compensation torque in a gradient-increasing or decreasing manner. Therefore, it can solve the problems in the prior art caused by direct power cut-off and shutdown after a single motor fault, instantaneous torque zeroing leading to a precipitous loss of power, severe vehicle body jerking, and significant attitude deviation, as well as the interruption and failure of the emergency collision avoidance process due to the lack of dynamic compensation reconstruction of remaining motor torque.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of motor fault handling technology, and in particular to a torque compensation control method and device, electronic equipment and medium for motor faults. Background Technology

[0002] The three-motor distributed drive system, as the core power unit of the drive-by-wire chassis, is widely used in the field of electric vehicles. In related technologies, a basic drive control system is constructed through the systematic integration of multi-motor coordinated drive, fault diagnosis, and fault-tolerant control. Specifically, this system covers the entire process from motor operating status monitoring to fault response handling, including key aspects such as real-time acquisition of multiple parameters, fault determination, and torque distribution.

[0003] However, existing fault-tolerant control methods for multi-motor drives directly employ a method of shutting down the faulty motor and resetting its torque to zero, without performing real-time torque reconstruction and proportional compensation for the remaining normal motors. Specifically, the instantaneous zero torque of the faulty motor leads to a precipitous loss of power, resulting in noticeable vehicle jerking and attitude deviation. Simultaneously, the lack of a cross-motor collaborative compensation mechanism forces critical processes such as emergency collision avoidance to be interrupted, significantly increasing the risk of accidents. Therefore, existing methods are insufficient to meet the fault-tolerant protection requirements of distributed drive systems under functional safety and extreme operating conditions. Summary of the Invention

[0004] This disclosure provides a torque compensation control method, apparatus, electronic device, and medium for motor faults. Its main objective is to at least partially solve one of the technical problems in the related art.

[0005] According to a first aspect of this disclosure, a torque compensation control method for motor faults is provided, comprising: Real-time monitoring of the operating status parameters of the three motors, and online determination of whether each motor has malfunctioned based on the operating status parameters; When any motor is determined to be faulty, electrical isolation is performed on the faulty motor and its abnormal torque output is limited; Based on the missing drive torque or regenerative braking torque of the faulty motor, the output torque of the remaining two normal motors is dynamically reconstructed and the missing torque is proportionally allocated to compensate for it. During the torque reconstruction compensation process, the output torque of the remaining two normal motors is controlled to gradually transition to the target compensation torque in a gradient increasing or decreasing manner.

[0006] According to a second aspect of this disclosure, a torque compensation control device for motor faults is provided, comprising: The monitoring unit is used to monitor the operating status parameters of the three motors in real time and determine whether each motor has a fault based on the operating status parameters. The execution unit is used to perform electrical isolation on any faulty motor and limit its abnormal torque output when it is determined that any motor has failed. The reconfiguration unit is used to dynamically reconfigure the output torque of the remaining two normal motors based on the missing drive torque or regenerative braking torque of the faulty motor, and proportionally allocate and compensate for the missing torque. The control unit is used to control the output torque of the remaining two normal motors to smoothly transition to the target compensation torque in a gradient-increasing or gradient-decreasing manner during the torque reconstruction compensation process.

[0007] According to a third aspect of this disclosure, an electronic device is provided, comprising: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the method described in the first aspect above.

[0008] According to a fourth aspect of this disclosure, a non-transitory computer-readable storage medium is provided storing computer instructions, wherein the computer instructions are configured to cause the computer to perform the method described in the first aspect above.

[0009] According to a fifth aspect of this disclosure, a computer program product is provided, comprising a computer program that, when executed by a processor, implements the method described in the first aspect above.

[0010] The torque compensation control method, device, electronic equipment, and medium for motor faults disclosed herein monitor the operating status parameters of three motors in real time and determine the fault online. After determining that a single motor is faulty, the faulty motor is electrically isolated and its abnormal torque output is limited. At the same time, the remaining two normal motors are dynamically reconstructed according to the missing torque of the faulty motor and the missing torque is proportionally allocated to compensate for it. During the reconstruction process, the output torque is controlled to smoothly transition to the target compensation torque in a gradient increasing or decreasing manner. Therefore, it can solve the problems in the prior art caused by the sudden power loss, severe vehicle body jerking and large attitude deviation due to direct power cut-off and shutdown after a single motor failure and instantaneous torque zeroing, as well as the interruption and failure of the emergency collision avoidance process due to the lack of dynamic compensation reconstruction of the remaining motor torque. It achieves the technical effect of smooth torque before and after the fault without sudden changes, stable and continuous vehicle body attitude, and uninterrupted emergency collision avoidance throughout the entire process.

[0011] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of this disclosure, nor is it intended to limit the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description

[0012] The accompanying drawings are provided to better understand this solution and do not constitute a limitation of this disclosure. Wherein: Figure 1 A flowchart illustrating a torque compensation control method for motor faults provided in an embodiment of this disclosure; Figure 2 A schematic diagram of the structure of a torque compensation control device for motor faults provided in an embodiment of this disclosure; Figure 3 A schematic block diagram of an example electronic device provided for embodiments of this disclosure. Detailed Implementation

[0013] The exemplary embodiments of this disclosure are described below with reference to the accompanying drawings, including various details of the embodiments to aid understanding, and should be considered merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of this disclosure. Similarly, for clarity and brevity, descriptions of well-known functions and structures are omitted in the following description.

[0014] The embodiments disclosed herein, at every technical stage of the data lifecycle, including but not limited to data collection, transmission, storage, computation, use, disclosure, and destruction, are fundamentally based on strict adherence to and embedding of current laws, regulations, and regulatory requirements in their system architecture, protocols, and process controls. At the design level, the solution ensures, through systematic rules and strategies, that all processing activities automatically adhere to the principles of legality, legitimacy, necessity, and good faith, and technically implements core rules such as clear purpose, minimum necessity, transparency, and security.

[0015] For any data collection, processing, or other activities involved in the embodiments of this disclosure, corresponding verification, tracking, and constraint mechanisms are implemented at the system level to ensure that their execution has a clear legal basis or contractual foundation, and to automatically trigger and record the corresponding notification process. The processing purpose of related data is bound to its specific use at the metadata layer, and is strictly limited through the system's embedded flow strategy and access control model, thereby ensuring that data is accessed and used only within the scope necessary to achieve the initial collection purpose and as determined by technical criteria. The system has a multi-layered authorization management and compliance audit mechanism to ensure that related data will not be used for any other purpose without separate legal permission or valid separate consent from the information subject. This solution natively supports and protects the information subject's various legal rights to their data in its technical implementation, and provides standardized interfaces and automated processes to achieve efficient exercise of these rights.

[0016] The following description, with reference to the accompanying drawings, outlines a torque compensation control method, apparatus, electronic device, and medium for motor faults according to embodiments of this disclosure.

[0017] Figure 1 This is a flowchart illustrating a torque compensation control method for motor faults provided in an embodiment of the present disclosure.

[0018] like Figure 1 As shown, the method includes the following steps: Step 101: Monitor the operating status parameters of the three motors in real time, and determine online whether each motor has malfunctioned based on the operating status parameters.

[0019] In the embodiments of this disclosure, the controller continuously acquires the operating status parameters of the three motors at a preset high-frequency sampling period. These operating status parameters include at least the motor speed, actual output torque, bus operating current, communication link status signal, and hardware self-test fault code of the motor driver. The controller compares the acquired parameters with pre-calibrated corresponding thresholds or tolerance ranges to comprehensively determine whether each motor is currently in normal operating condition. For example, if a motor's communication link status signal indicates a timeout failure, or if the motor's hardware self-test fault code indicates overcurrent, overtemperature, or phase loss, the controller determines that the motor has malfunctioned. In one possible implementation, if the deviation between the actual output torque of a motor and the target torque command issued by the controller exceeds a preset deviation threshold for multiple consecutive sampling periods, the controller also determines that the motor has experienced a torque output fault.

[0020] Step 102: When it is determined that any motor has failed, perform electrical isolation on the failed motor and limit its abnormal torque output.

[0021] In the embodiments of this disclosure, when the controller determines that any motor has failed, it immediately performs a fault isolation operation on the failed motor. Specifically, the controller cuts off the drive control signal sent to the controller of the failed motor, causing the failed motor to stop responding to subsequent torque commands. At the same time, the controller sends a blocking signal to the power drive circuit of the failed motor, turning off the power switching devices to disconnect the electrical circuit, and monitors the actual output torque of the failed motor in real time, limiting it to below a preset safe torque upper limit to prevent abnormal high current surges from causing secondary damage to the motor body and its power devices.

[0022] Step 103: Based on the missing drive torque or regenerative braking torque of the faulty motor, dynamically reconstruct the output torque of the remaining two normal motors and proportionally allocate compensation for the missing torque.

[0023] In the embodiments of this disclosure, the controller first calculates the missing torque value of the faulty motor under the current operating condition. Specifically, the controller determines the basic torque value to be compensated based on the actual output torque of the faulty motor in the last normal sampling period before the fault occurred, or based on the target torque command value allocated to the faulty motor in the current total torque demand of the vehicle. Subsequently, the controller obtains the current output capability parameters of the remaining two normal motors, which include the peak torque upper limit of each motor, the available torque margin at the current speed, and the current actual output torque. Based on the proportion of the available torque margin of each normal motor to the total available torque margin, the controller proportionally allocates the missing basic torque value to each normal motor, generating the torque compensation increment corresponding to each normal motor. Finally, the current output torque of each normal motor is superimposed with the corresponding torque compensation increment to form the target compensation torque after reconstruction of each normal motor, thereby compensating for the portion of the total torque demand of the vehicle that is missing due to the failure of the faulty motor in a dual-motor collaborative output manner.

[0024] Step 104: During the torque reconstruction compensation process, control the output torque of the remaining two normal motors to smoothly transition to the target compensation torque in a gradient increasing or decreasing manner.

[0025] In the embodiments of this disclosure, the controller employs a gradient step transition strategy when adjusting the output torque of each normal motor from its current value to the target compensation torque. Specifically, the controller controls the output torque of each normal motor to gradually increase or decrease by a fixed step size within each adjustment cycle, based on a preset single-step adjustment step size and adjustment cycle. For example, if the target compensation torque is greater than the current output torque, the controller gradually increases the output torque by a set step size until the target compensation torque is reached; if the target compensation torque is less than the current output torque, the controller gradually decreases the output torque by a set step size. Through this step-by-step approach, the rate of change of the total vehicle torque throughout the torque reconstruction process is ensured to remain within a controllable range, avoiding longitudinal impact or yaw disturbance of the vehicle body caused by sudden torque changes.

[0026] The torque compensation control method for motor faults disclosed herein monitors the operating status parameters of three motors in real time and determines the fault online. After determining that a single motor is faulty, the faulty motor is electrically isolated and its abnormal torque output is limited. At the same time, the remaining two normal motors are dynamically reconstructed according to the torque missing of the faulty motor and the missing torque is proportionally allocated to compensate for it. During the reconstruction process, the output torque is controlled to smoothly transition to the target compensation torque in a gradient increasing or decreasing manner. Therefore, it can solve the problems in the prior art caused by the direct power cut-off and shutdown after a single motor failure, the instantaneous return of torque to zero, the cliff-like loss of power, the severe jerking of the vehicle body and the large deviation of the attitude, and the interruption and failure of the emergency collision avoidance process due to the lack of dynamic compensation reconstruction of the remaining motor torque. It achieves the technical effect of smooth torque before and after the fault without sudden changes, stable and continuous vehicle body attitude, and uninterrupted emergency collision avoidance throughout the entire process.

[0027] In the embodiments involved in this application, there are various feasible specific implementation methods. To clearly and completely illustrate the technical solutions of this disclosure, the implementation methods listed below are merely exemplary and do not constitute a limitation on the scope of protection of this disclosure. That is, in addition to the implementation methods described below, other implementation methods that can be obtained by those skilled in the art based on the technical content disclosed in this disclosure through reasonable logical analysis, reasoning, or limited experimentation should also be covered within the scope of protection of this disclosure. The following specifically describes some exemplary implementation methods: As a specific implementation of this disclosure, based on the basic scheme, the operating status parameters of the three motors are monitored in real time, and the online determination of whether each motor has failed is based on the operating status parameters. This is further defined as follows: continuously collecting the speed data, actual output torque data, operating current data, communication link status signal, and hardware self-test fault code of each motor at a preset high-frequency sampling period; comparing the collected speed data, actual output torque data, operating current data, communication link status signal, and hardware self-test fault code of each motor with their respective preset normal threshold ranges; if any operating status parameter of any motor exceeds the corresponding preset normal threshold range, then the motor is determined to have failed.

[0028] Specifically, the controller continuously collects the operating status parameters of each motor at a preset high-frequency sampling period. This preset high-frequency sampling period is pre-calibrated based on the controller's computing power and bus communication rate to ensure real-time fault identification. After acquiring speed data, actual output torque data, operating current data, communication link status signals, and hardware self-test fault codes from each motor controller, the controller stores these data types into corresponding buffer registers according to the motor number, forming a real-time status vector for each motor.

[0029] The controller compares the collected motor speed data, actual output torque data, operating current data, communication link status signals, and hardware self-test fault codes with their respective preset normal threshold ranges. These preset normal threshold ranges include an upper speed limit, a lower speed limit, an output torque deviation threshold, an upper operating current limit, a communication timeout threshold, and a valid hardware fault code flag. The controller independently performs threshold comparisons for each parameter; if a parameter falls into an abnormal range, it is marked as abnormal. If any operating status parameter of any motor exceeds its corresponding preset normal threshold range, the controller comprehensively determines that the motor has malfunctioned. In an alternative implementation, the controller can also employ a multi-parameter weighted comprehensive scoring method. When the sum of the weighted scores of all abnormal parameters exceeds a preset fault determination threshold, a fault determination is triggered to avoid misjudgments caused by transient fluctuations in a single parameter.

[0030] As a specific embodiment of this disclosure, based on the basic scheme, the faulty motor is electrically isolated and its abnormal torque output is limited, further defined as follows: the drive control signal of the faulty motor is cut off so that the faulty motor no longer responds to external torque commands; the power output circuit of the faulty motor is electrically cut off, and the actual output torque of the faulty motor is limited to not exceeding the preset safe torque upper limit value.

[0031] Specifically, after determining that a motor has failed, the controller simultaneously performs a drive control signal cutoff operation and a power circuit electrical cutoff operation. At the drive control signal level, the controller stops sending pulse width modulation control signals or torque command frames to the motor controller of the failed motor, preventing the control loop of the failed motor from receiving new target torque values. Its power switching devices remain in their current state or are controlled to turn off, thus achieving isolation at the control command level. At the power circuit level, the controller sends a hardware enable / disable signal to the driver of the failed motor, controlling the main relay or pre-charge relay inside the driver to disconnect, thereby physically cutting off the power electrical circuit on the DC bus side.

[0032] Simultaneously, the controller continuously monitors the actual output torque value of the faulty motor and limits this value. If the monitored actual output torque exceeds the preset safe torque upper limit, the controller clamps the actual output torque below the safe torque upper limit by forcibly reducing or shutting down the power output stage of the motor driver. The safe torque upper limit is dynamically calculated based on the motor's rated torque, current bus voltage, and current temperature, or read from a preset safe torque mapping table.

[0033] As a specific implementation of this disclosure, based on the basic scheme, the output torque of the remaining two normal motors is dynamically reconstructed according to the missing drive torque or regenerative braking torque of the faulty motor, and the missing torque is allocated proportionally to compensate for it. This is further defined as follows: The missing torque value of the faulty motor is calculated based on the real-time output torque data of the faulty motor before the fault occurred; the real-time output capability parameters of the remaining two normal motors are obtained, including the current upper limit of the current output torque and the current speed of each normal motor; based on the missing torque value and the real-time output capability parameters, the missing torque value is allocated according to the current output capability ratio of the remaining two normal motors, and a torque compensation command for each normal motor is generated.

[0034] Specifically, when calculating the current missing torque value of the faulty motor, the controller first determines the baseline source of the missing torque. If the vehicle is currently in driving mode, the controller determines the basic missing torque value to be compensated based on the actual output torque value of the faulty motor in the last complete sampling period before the fault occurred, or based on the target torque command value originally allocated to the faulty motor from the total required driving torque of the vehicle. If the vehicle is currently in regenerative braking mode, the controller determines the basic missing torque value to be compensated based on the actual regenerative braking torque feedback value of the faulty motor before the fault occurred.

[0035] The controller acquires the real-time output capability parameters of the remaining two normal motors. These parameters include at least the current upper limit of output torque and the current speed of each normal motor. The current upper limit of output torque is determined based on the peak torque of each normal motor at the current speed, the current temperature limit, and the current bus voltage limit. The controller calculates the available torque margin for each normal motor based on the difference between its current upper limit and actual output torque. Subsequently, the controller sums the available torque margins of each normal motor to obtain the total available torque margin, and divides the available torque margin of each normal motor by the total available torque margin to obtain the corresponding compensation weight coefficient for each normal motor. The controller multiplies the basic missing torque value by the compensation weight coefficient of each normal motor to obtain the torque compensation increment for each normal motor. Finally, the controller adds the current output torque of each normal motor to its corresponding torque compensation increment to generate the torque compensation command for each normal motor.

[0036] As a specific implementation of this disclosure, based on the basic scheme, during the torque reconstruction compensation process, the output torque of the remaining two normal motors is controlled to smoothly transition to the target compensation torque in a gradient increasing or decreasing manner. This is further defined as follows: setting the step size value and transition period duration for the torque gradient transition; within the transition period duration, the output torque of the remaining two normal motors is gradually adjusted according to the step size value, so that the output torque of the remaining two normal motors increases or decreases step by step in units of step size until the target compensation torque is reached.

[0037] Specifically, after generating the target compensation torque for each normal motor, the controller does not immediately jump the output torque to the target value. Instead, it gradually approaches the target compensation torque using a gradient step transition strategy. The controller first calculates the required step size and total number of steps based on the absolute value of the difference between the current output torque and the target compensation torque, as well as the preset transition period, or directly reads a pre-calibrated fixed step size value. The step size is the maximum allowable increment or decrement of the output torque within each adjustment cycle.

[0038] After setting the step size and transition period for the torque gradient transition, the controller gradually adjusts the output torque of the remaining two normal motors according to the step size within the transition period. At the beginning of each adjustment cycle, the controller compares the current output torque with the target compensation torque. If the current output torque is less than the target compensation torque, the controller increases the output torque by one step size; if the current output torque is greater than the target compensation torque, the controller decreases the output torque by one step size; if the difference between the current output torque and the target compensation torque is less than the step size, the current output torque is directly adjusted to the target compensation torque value. Through the above step-by-step increase or decrease method, the output torque of each normal motor smoothly transitions from its original value to the target compensation torque.

[0039] As a specific implementation of this disclosure, based on the basic scheme, the output torque of the remaining two normal motors is gradually adjusted according to a step value, so that the output torque of the remaining two normal motors increases or decreases step by step until the target compensation torque is reached. This is further defined as follows: obtaining the difference between the actual output torque of the remaining two normal motors and the target compensation torque at the current moment; if the difference is greater than zero, controlling the output torque of the remaining two normal motors to increase by one step value based on the current output torque; if the difference is less than zero, controlling the output torque of the remaining two normal motors to decrease by one step value based on the current output torque; repeating the above steps until the difference between the actual output torque and the target compensation torque is less than the step value, at which point the actual output torque is adjusted to the target compensation torque.

[0040] Specifically, the controller performs a torque adjustment operation once per adjustment cycle. Before adjustment begins, the controller obtains the difference between the actual output torque of the two remaining normal motors and the target compensation torque at the current moment, using this as the basis for the adjustment. The controller performs a sign judgment on this difference: if the difference is greater than zero, it means that the current output torque has not yet reached the target value, and the controller increases the output torque by one step value based on the current output torque; if the difference is less than zero, it means that the current output torque has exceeded the target value (usually occurring in overshoot adjustment or target value reduction scenarios), and the controller decreases the output torque by one step value based on the current output torque; if the difference is equal to zero, no adjustment is required.

[0041] After completing the torque adjustment, the controller waits for the next adjustment cycle, then acquires the difference between the new actual output torque and the target compensation torque, and repeats the above sign judgment and step adjustment process. This cycle continues until the absolute value of the difference between the actual output torque and the target compensation torque acquired in a certain adjustment cycle is less than the preset step size. At this point, the controller determines that the current output torque is close enough to the target value, stops performing step adjustments, directly assigns the current output torque as the target compensation torque, and ends the gradient transition process.

[0042] As a specific implementation of this disclosure, in addition to the basic scheme, it further includes: after the operating status of the faulty motor returns to normal, automatically terminating the torque reconstruction compensation control and returning the output torque of the remaining two normal motors to the output torque value under the original standard three-motor torque distribution logic.

[0043] Specifically, after the faulty motor is isolated, the controller continues to monitor its operating status parameters to determine whether the fault has been resolved. Specifically, the controller continues to acquire the motor's speed data, actual output torque data, operating current data, communication link status signals, and hardware self-test fault codes at a preset high-frequency sampling period, and compares these parameters with a preset normal recovery threshold range. This normal recovery threshold range can be the same as the preset normal threshold range used for fault determination, or a stricter hysteresis threshold can be set to avoid repeated oscillations and switching of the fault state within the critical range. When all operating status parameters of the faulty motor meet the normal recovery threshold range requirements for multiple consecutive sampling periods, the controller determines that the faulty motor has returned to normal.

[0044] Once the controller determines that the faulty motor has returned to normal, it automatically terminates the current torque reconfiguration compensation control. Specifically, the controller first calculates the difference between the target compensation torque of each normal motor and the torque value that each motor should output under the original standard three-motor torque allocation logic. Subsequently, within a preset reset transition period, the controller gradually withdraws the torque compensation increment applied to each normal motor in a gradient-decreasing manner, causing the output torque of each normal motor to smoothly decrease from the currently reconfigured target value to the output torque value under the original standard three-motor torque allocation logic. At the same time, the controller re-includes the motors that have returned to normal in the allocation calculation of the total torque demand of the vehicle, gradually increasing their output torque to the original allocated value. The entire reset process also uses a gradient step. It should be noted that the embodiments of this disclosure may include multiple steps. For ease of description, these steps are numbered, but these numbers are not a limitation on the execution time slots or execution order between the steps; these steps can be implemented in any order, and the embodiments of this disclosure do not limit this.

[0045] Corresponding to the torque compensation control method for motor faults described above, this disclosure also proposes a torque compensation control device for motor faults. Since the device embodiments of this disclosure correspond to the method embodiments described above, details not disclosed in the device embodiments can be referred to the method embodiments described above, and will not be repeated here.

[0046] Figure 2 This is a schematic diagram of the structure of a torque compensation control device for motor faults provided in an embodiment of this disclosure, as shown below. Figure 2 As shown, it includes: The monitoring unit 21 is used to monitor the operating status parameters of the three motors in real time and determine whether each motor has a fault based on the operating status parameters. Execution unit 22 is used to perform electrical isolation on any faulty motor and limit its abnormal torque output when it is determined that any motor has failed. The reconfiguration unit 23 is used to dynamically reconfigure the output torque of the remaining two normal motors according to the missing drive torque or regenerative braking torque of the faulty motor, and proportionally allocate compensation for the missing torque. Control unit 24 is used to control the output torque of the remaining two normal motors to smoothly transition to the target compensation torque in a gradient increasing or decreasing manner during the torque reconstruction compensation process.

[0047] It should be noted that the foregoing explanation of the method embodiments also applies to the apparatus of this embodiment, and the principle is the same, so it is not limited in this embodiment.

[0048] According to embodiments of this disclosure, this disclosure also provides an electronic device, a readable storage medium, and a computer program product.

[0049] Figure 3 A schematic block diagram of an example electronic device 300 that can be used to implement embodiments of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the present disclosure described and / or claimed herein.

[0050] like Figure 3As shown, the electronic device 300 includes a computing unit 301, which can perform various appropriate actions and processes based on a computer program stored in ROM (Read-Only Memory) 302 or a computer program loaded from storage unit 308 into RAM (Random Access Memory) 303. The RAM 303 may also store various programs and data required for the operation of the electronic device 300. The computing unit 301, ROM 302, and RAM 303 are interconnected via a bus 304. An I / O (Input / Output) interface 305 is also connected to the bus 304.

[0051] Multiple components in electronic device 300 are connected to I / O interface 305, including: input unit 306, such as keyboard, mouse, etc.; output unit 307, such as various types of displays, speakers, etc.; storage unit 308, such as disk, optical disk, etc.; and communication unit 309, such as network card, modem, wireless transceiver, etc. Communication unit 309 allows electronic device 300 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0052] The computing unit 301 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 301 include, but are not limited to, CPUs (Central Processing Units), GPUs (Graphics Processing Units), various special-purpose AI (Artificial Intelligence) computing chips, various computing units running machine learning model algorithms, DSPs (Digital Signal Processors), and any suitable processor, controller, microcontroller, etc. The computing unit 301 performs the various methods and processes described above, such as the torque compensation control method for motor faults. For example, in some embodiments, the torque compensation control method for motor faults can be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as storage unit 308. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 300 via ROM 302 and / or communication unit 309. When the computer program is loaded into RAM 303 and executed by the computing unit 301, one or more steps of the methods described above can be performed. Alternatively, in other embodiments, the computing unit 301 may be configured to perform the aforementioned torque compensation control method for motor faults by any other suitable means (e.g., by means of firmware).

[0053] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, FPGAs (Field Programmable Gate Arrays), ASICs (Application-Specific Integrated Circuits), ASSPs (Application-Specific Standard Products), SOCs (System-on-Chips), CPLDs (Complex Programmable Logic Devices), computer hardware, firmware, software, and / or combinations thereof. These various implementations may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.

[0054] The program code used to implement the methods of this disclosure may be written in any combination of one or more programming languages. This program code may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing apparatus, such that when executed by the processor or controller, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code may be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0055] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, RAM, ROM, EPROM (Electrically Programmable Read-Only Memory) or flash memory, optical fiber, CD-ROM (Compact Disc Read-Only Memory), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0056] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device for displaying information to the user (e.g., a CRT (Cathode-Ray Tube) or LCD (Liquid Crystal Display) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the computer. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).

[0057] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include LANs (Local Area Networks), WANs (Wide Area Networks), the Internet, and blockchain networks.

[0058] Computer systems can include clients and servers. Clients and servers are generally geographically separated and typically interact via communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. A server can be a cloud server, also known as a cloud computing server or cloud host, a hosting product within the cloud computing service system that addresses the shortcomings of traditional physical hosts and VPS (Virtual Private Server) services, such as high management difficulty and weak business scalability. Servers can also be servers for distributed systems or servers incorporating blockchain technology.

[0059] It's important to note that artificial intelligence (AI) is the study of enabling computers to simulate certain human thought processes and intelligent behaviors (such as learning, reasoning, thinking, and planning). It encompasses both hardware and software technologies. AI hardware technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, and big data processing. AI software technologies primarily include computer vision, speech recognition, natural language processing, machine learning / deep learning, big data processing, and knowledge graph technologies.

[0060] The various numerical designations such as "first," "second," etc., used in this disclosure are merely for ease of description and are not intended to limit the scope of the embodiments of this disclosure, nor do they indicate a sequential order.

[0061] At least one of the features described in this disclosure can also be described as one or more, and multiple features can be two, three, four or more, and this disclosure does not impose any limitations. In the embodiments of this disclosure, for a technical feature, the technical features in that technical feature are distinguished by "first", "second", "third", "A", "B", "C" and "D", etc., and there is no sequential order or size order among the technical features described by "first", "second", "third", "A", "B", "C" and "D".

[0062] It should be understood that the various forms of processes shown above can be used to rearrange, add, or delete steps. For example, the steps described in this disclosure can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution disclosed in this disclosure can be achieved, and this is not limited herein.

[0063] The specific embodiments described above do not constitute a limitation on the scope of protection of this disclosure. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this disclosure should be included within the scope of protection of this disclosure.

Claims

1. A torque compensation control method for motor faults, characterized in that, include: The operating status parameters of the three motors are monitored in real time, and the fault of each motor is determined online based on the operating status parameters. When any motor is determined to be faulty, electrical isolation is performed on the faulty motor and its abnormal torque output is limited; Based on the missing drive torque or regenerative braking torque of the faulty motor, the output torque of the remaining two normal motors is dynamically reconstructed and proportionally allocated to compensate for the missing torque. During the torque reconstruction compensation process, the output torque of the remaining two normal motors is controlled to gradually transition to the target compensation torque in a gradient increasing or decreasing manner.

2. The method according to claim 1, characterized in that, The real-time monitoring of the operating status parameters of the three motors, and the online determination of whether each motor has malfunctioned based on the operating status parameters, includes: The system continuously collects the speed data, actual output torque data, operating current data, communication link status signals, and hardware self-test fault codes of each motor at a preset high-frequency sampling period. The collected speed data, actual output torque data, operating current data, communication link status signal, and hardware self-test fault code of each motor are compared with their respective preset normal threshold ranges. If any operating status parameter of any motor exceeds the corresponding preset normal threshold range, the motor is determined to be faulty.

3. The method according to claim 1, characterized in that, The procedure of electrically isolating the faulty motor and limiting its abnormal torque output includes: Disconnect the drive control signal of the faulty motor so that the faulty motor no longer responds to external torque commands; Electrically disconnect the power output circuit of the faulty motor and limit the actual output torque of the faulty motor to no more than the preset safe torque limit.

4. The method according to claim 2, characterized in that, The step of dynamically reconstructing the output torque of the remaining two normal motors based on the missing drive torque or regenerative braking torque of the faulty motor, and proportionally allocating compensation for the missing torque, includes: Based on the real-time output torque data of the faulty motor before the fault occurred, calculate the current missing torque value of the faulty motor; Obtain the real-time output capability parameters of the remaining two normal motors, including the current upper limit of the current output torque and the current speed of each normal motor; Based on the missing torque value and the real-time output capability parameters, the missing torque value is allocated according to the current output capability ratio of the remaining two normal motors, and torque compensation commands for each normal motor are generated.

5. The method according to claim 1, characterized in that, During the torque reconstruction compensation process, controlling the output torque of the remaining two normal motors to smoothly transition to the target compensation torque in a gradient-increasing or gradient-decreasing manner includes: Set the step size and transition period duration for the torque gradient transition; During the transition period, the output torque of the remaining two normal motors is gradually adjusted according to the step size value, so that the output torque of the remaining two normal motors increases or decreases step by step in units of the step size value until the target compensation torque is reached.

6. The method according to claim 5, characterized in that, The step of gradually adjusting the output torque of the remaining two normal motors according to the step size value, so that the output torque of the remaining two normal motors increases or decreases step by step in units of the step size value until the target compensation torque is reached, includes: Obtain the difference between the actual output torque of the remaining two normal motors at the current moment and the target compensation torque; If the difference is greater than zero, then the output torque of the remaining two normal motors is increased by the step value based on the current output torque; If the difference is less than zero, then the output torque of the remaining two normal motors is reduced by one step value based on the current output torque; Repeat the above steps until the difference between the actual output torque and the target compensation torque is less than the step size value, then adjust the actual output torque to the target compensation torque.

7. The method according to any one of claims 1 to 6, characterized in that, Also includes: After the faulty motor returns to normal operation, the torque reconstruction compensation control is automatically terminated, and the output torque of the remaining two normal motors is returned to the output torque value under the original standard three-motor torque distribution logic.

8. A torque compensation control device for motor faults, characterized in that, include: The monitoring unit is used to monitor the operating status parameters of the three motors in real time and determine whether each motor has a fault based on the operating status parameters. The execution unit is used to perform electrical isolation on any faulty motor and limit its abnormal torque output when it is determined that any motor has failed. The reconfiguration unit is used to dynamically reconfigure the output torque of the remaining two normal motors based on the missing drive torque or regenerative braking torque of the faulty motor, and proportionally allocate and compensate for the missing torque. The control unit is used to control the output torque of the remaining two normal motors to smoothly transition to the target compensation torque in a gradient increasing or decreasing manner during the torque reconstruction compensation process.

9. An electronic device, characterized in that, include: At least one processor; as well as A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-7.

10. A non-transitory computer-readable storage medium storing computer instructions, characterized in that, The computer instructions are used to cause the computer to perform the method according to any one of claims 1-7.