Motor driving system fault processing and information management method and device
By monitoring and recording the fault information of the motor drive system in real time and uploading and managing this information in accordance with specific rules, the problem of incomplete fault handling and information management in the existing technology is solved, and the stability and maintainability of the system are improved.
Patent Information
- Application Number
- CN202510040879.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-10
- Publication Date
- 2025-05-23
AI Technical Summary
The existing motor drive system has imperfect functions in fault handling and information management, information updates are not timely and accurately, fault code and level processing logic is complex and error-prone, which affects the reliability and maintainability of the system.
It provides a method for troubleshooting and information management of motor drive system, monitors the operating status of the system in real time, records and processes fault information, uploads fault information according to specific rules, and ensures the integrity and reliability of fault information through special management means. The method includes real-time update of fault codes, recording important status information, uploading fault codes according to priority rules, handling fault conditions according to fault level, managing fault information storage locations, and clearing fault information.
It improves the accuracy and efficiency of fault handling, optimizes fault information management, enhances the reliability and maintainability of the system, and improves the interactivity with other control units.
Smart Images

Figure CN120029803A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of motor drive technology, and in particular to a method and device for fault processing and information management of a motor drive system. Background Art
[0002] During the operation of the motor drive system, various fault conditions may occur. Accurately recording and processing these fault information, as well as reasonably updating and displaying fault codes, fault levels and other related content are crucial to ensure the stable operation of the system, facilitate maintenance and repair, and effectively interact with other control units (such as VCU). However, the existing motor drive system often has problems in fault handling and information management, such as imperfect functions, untimely and inaccurate information updates, and complex and error-prone fault code and level processing logic, which affects the reliability and maintainability of the entire system.
[0003] When a traditional motor drive system encounters a fault, it may not be able to quickly and accurately locate the cause of the fault, and the recorded fault information may become chaotic after a long period of operation, making it difficult to clearly reflect the current system status. Therefore, a method is needed that can update fault codes in real time, record detailed fault information, upload fault information by priority, manage the storage of fault information, and clear all fault information when necessary. Summary of the invention
[0004] The present invention provides a method and device for fault processing and information management of a motor drive system. The method can monitor the operating status of the motor drive system in real time, record and process various fault information, upload the fault information according to specific rules, and ensure the integrity and reliability of the fault information through special management means, thereby improving the stability and reliability of the motor drive system to solve the problems in the background technology.
[0005] In order to efficiently and accurately handle various faults occurring during the operation of a motor drive system, and reasonably manage fault-related information, including recording, updating, and uploading of fault codes, determination of fault levels, storage of fault information, and adjustment of display order, etc., so as to improve the stability, reliability, and maintenance convenience of the motor drive system, the present invention provides the following technical solutions: A method for fault handling and information management of a motor drive system, comprising the following steps: S1. When the motor drive system is running, the fault code is updated in real time; S2, recording important status information related to the motor drive system into a buffer; S3. Update and upload critical fault codes according to priority rules; S4. Processing the fault conditions on the function side and the drive side according to the fault level code index; S5. Manage the storage location by maintaining the storage pointer in the function code; S6. When receiving a command to clear fault information, clear the contents of the relevant storage area in the function code; S7. Use the motor drive system fault summary process and utilize multiple related functions to handle system faults and their information management.
[0006] Furthermore, in step S2, the important status information includes multiple status information of frequency, torque, voltage, current and temperature; In step S3, the fault codes uploaded to the external control unit or displayed for use are updated according to the priorities and specific rules.
[0007] Furthermore, in step S4, the fault level code indexes of the function side and the drive side are processed respectively according to the fault level, and the fault code is saved to the designated function code position when the conditions are met; In step S5, the storage location pointer of the fault information is managed, the fault information is saved in the function code in sequence, and the display order of the fault information can be adjusted to match the display requirements of the host computer.
[0008] Furthermore, in step S6, in response to the clear fault information command, all stored fault-related information is cleared and related parameters are reset; In step S7, through the whole machine fault summary processing flow, multiple key functions are called in sequence to achieve comprehensive monitoring, processing, information management and interaction with the outside of the motor drive system fault.
[0009] Furthermore, in step S1, in the step of updating and uploading the fault code, when an existing fault code is uploaded, it is directly updated to the current fault code, and when there are multiple fault codes, they are updated in turn according to the interval time.
[0010] Furthermore, in step S2, the recording operation is performed only when the fault index is non-zero and the number of fault records does not exceed a preset length limit.
[0011] Furthermore, in the step S5, in the step of managing the fault information storage location pointer, the pointer is updated by self-incrementing and determining whether it exceeds the record length, and is saved in a specific location of the function code.
[0012] Furthermore, in step S6, in the step of responding to the clear fault information command, after confirming the clear command, the contents of multiple fault-related storage areas in the function code are completely cleared, and the record address and flag-related parameters are reset.
[0013] A motor drive system fault processing and information management device, comprising: Fault code update module: updates fault codes in real time to reflect the current system operating status; Fault record management module: records multiple status information during system operation to the record buffer; Data upload mechanism module: manages the representation logic of fault codes according to priority and forms a valid fault code structure in memory; Storage location management module: maintains storage pointers and manages the movement and allocation of fault information between storage locations; Fault clearing mechanism module: after receiving the command to clear fault data, clear all records related to faults in the function codes; Fault summary processing module: realizes overall monitoring, processing and information management of faults through multiple functional units.
[0014] The motor drive system fault processing and information management device also includes: Hardware sensors: Collect real-time operating data of the motor drive system, including frequency, torque, voltage, current, and temperature; Microcontroller: completes data collection, fault diagnosis, fault code generation and information management functions; Record buffer: stores detailed status information when a fault occurs; Memory: used to store fault codes, fault level indexes and related setting parameters.
[0015] Compared with the prior art, the present invention provides a method and device for motor drive system fault processing and information management, which has the following beneficial effects: 1. Improve the accuracy of fault handling: Through detailed fault code recording, level judgment and targeted processing logic, it can accurately capture and handle various fault conditions that occur during the operation of the motor drive system, avoid misjudgment or missed faults, and help to take corresponding measures in time to ensure the safe and stable operation of the system.
[0016] 2. Optimize fault information management: Reasonable management of the storage and display order of fault information makes it easier for maintenance personnel to quickly and accurately obtain fault-related data. Whether it is viewing historical fault records from the EEPROM or understanding the current fault situation through the display interface, it is more convenient and efficient, which improves the maintainability of the entire system.
[0017] 3. Enhance system interactivity: Standardizes the method and logic of uploading fault codes to external control units such as VCU, ensures effective interaction with other related systems, enables the control system of the entire vehicle or equipment to work better together and improve overall performance. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0019] Figure 1 A schematic diagram of a fault saving function provided for the implementation of the present invention.
[0020] Figure 2 A schematic diagram of a function for storing faults to a specified location is provided for the implementation of the present invention.
[0021] Figure 3 A schematic diagram of a fault clearing function provided for the implementation of the present invention.
[0022] Figure 4 A schematic diagram of an exchange function of fault information provided for the implementation of the present invention.
[0023] Figure 5 A schematic diagram of a fault update function provided for the implementation of the present invention.
[0024] Figure 6 A schematic diagram of a function for clearing a saved fault record provided for the implementation of the present invention.
[0025] Figure 7 A schematic diagram of a fault pointer offset value updating function provided for the implementation of the present invention.
[0026] Figure 8 A schematic diagram of the display sequence of historical fault reading information provided for the implementation of the present invention.
[0027] Fig. 9 A schematic diagram of clearing corresponding fault bits and updating corresponding fault bits and storing them in a fault buffer area provided for the implementation of the present invention.
[0028] Fig.10 The figure is a schematic diagram of the system flow for implementing the present invention. DETAILED DESCRIPTION
[0029] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the accompanying drawings.
[0030] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.
[0031] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The term "in one embodiment" that appears in different places in this specification does not necessarily refer to the same embodiment, nor is it a separate or selective embodiment that is mutually exclusive with other embodiments.
[0032] See also Figure 1-10 The present invention discloses a motor drive system fault processing and information management method, comprising the following steps: S1. When the motor drive system is running, the fault code is updated in real time; S2. Record important status information related to the motor drive system into a buffer: realize the interaction of fault information, and record fault information including multiple status information such as frequency, torque, voltage, current and temperature into a recording buffer; S3. Update and upload critical fault codes according to priority rules: Update and upload the fault codes used by the external control unit or display according to priority and specific rules.
[0033] S4. Processing the fault conditions on the function side and the drive side according to the fault level code index: processing the fault level code index on the function side and the drive side respectively according to the fault level, and saving the fault code to the specified function code position when the conditions are met.
[0034] S5. Manage the storage location by maintaining the storage pointer in the function code: manage the storage location pointer of the fault information, save the fault information in the function code in sequence, and adjust the display order of the fault information to match the display requirements of the host computer.
[0035] S6. When a command to clear fault information is received, the content of the relevant storage area in the function code is cleared: in response to the command to clear fault information, all stored fault-related information is cleared and relevant parameters are reset.
[0036] S7. Use the motor drive system fault summary process and utilize multiple related functions to handle system faults and their information management: Through the whole machine fault summary processing process, call multiple key functions in sequence to achieve comprehensive monitoring, processing, information management and external interaction of motor drive system faults.
[0037] Specifically, in step S1, in the step of updating and uploading the fault code, when an existing fault code is uploaded, it is directly updated to the current fault code, and when there are multiple fault codes, they are updated in turn according to the interval time.
[0038] Specifically, in step S2, the recording operation is performed only when the fault index is non-zero and the number of fault records does not exceed the preset length limit.
[0039] Specifically, in the step S5, in the step of managing the fault information storage location pointer, the pointer is updated by self-incrementing and judging whether it exceeds the record length, and is saved in the function code specific location.
[0040] Specifically, in step S6, in the step of responding to the clear fault information command, after confirming the clear command, the contents of multiple fault-related storage areas in the function code are completely cleared, and related parameters such as the record address and flag are reset.
[0041] The motor drive system fault processing and information management device comprises: Fault code update module: updates fault codes in real time to reflect the current system operating status; Fault record management module: records multiple status information during system operation to the record buffer; Data upload mechanism module: manages the representation logic of fault codes according to priority and forms a valid fault code structure in memory; Storage location management module: maintains storage pointers and manages the movement and allocation of fault information between storage locations; Fault clearing mechanism module: after receiving the command to clear fault data, clear all records related to faults in the function codes; Fault summary processing module: realizes overall monitoring, processing and information management of faults through multiple functional units.
[0042] The motor drive system fault processing and information management device also includes: Hardware sensors: Collect real-time operating data of the motor drive system, including frequency, torque, voltage, current, and temperature; Microcontroller: completes data collection, fault diagnosis, fault code generation and information management functions; Record buffer: stores detailed status information when a fault occurs; Memory: used to store fault codes, fault level indexes and related setting parameters.
[0043] The present invention timely discovers and handles various abnormal conditions of the motor drive system, and provides support for subsequent fault diagnosis by recording detailed fault information; automatically updates the location where the fault information is stored according to system requirements to facilitate troubleshooting and maintenance. The present application achieves these goals through the following steps: real-time update and recording of fault codes to ensure that fault records are comprehensive and effective; using priority rules to upload key fault information; following certain storage rules when recording fault information; being able to clear unnecessary fault information as required to keep the record clear and effective; using function code management and storage pointers for fault information; and combining the fault summary process to handle various faults of the motor drive system.
[0044] Directions: During normal operation of the motor drive system, real-time status information is stored in the buffer.
[0045] When the system detects a fault, the fault protection mechanism is triggered to isolate and protect the motor drive system.
[0046] According to the fault diagnosis results, the corresponding fault code is updated and transmitted to the external control unit or display.
[0047] The status information when the fault occurs is written into the record buffer, and the fault level code is saved in the function code.
[0048] According to user needs, fault information can be read, fault records can be cleared, and fault protection parameters can be configured through the host computer and other devices.
[0049] Working principle: By real-time monitoring of the operating status of the motor drive system, various status information (including frequency, voltage, current, etc.) is collected and recorded in the buffer; priority is set according to the severity of the fault, and critical faults are selected according to the priority and uploaded to the control unit or display unit. The storage of fault information is managed through a specific location in the operation function code to ensure complete records. The management pointer is used to adjust the storage location to ensure sequential recording, and can be updated iteratively as needed.
[0050] Working process: After the system is started, it starts to automatically update the fault code and record the current system status. When a fault is detected, it is classified according to the fault level, and the faults with higher severity are uploaded and recorded first to ensure timely diagnosis and processing. Subsequently, the uploading and storage of fault codes are dynamically managed according to specific rules.
[0051] Movement process: During operation, the motor drive system continuously transmits data to the internal processing module for status analysis. Once a fault is detected, the recording mechanism is triggered immediately; the fault information is stored in a special area, and the system adjusts the upload operation based on priority; finally, the user can view or clear these fault records through the controller to optimize stability.
[0052] Technical effects: Improved the operational reliability and stability of the motor drive system; achieved real-time recording and effective management of fault information; and improved the efficiency of fault diagnosis and processing.
[0053] The following describes in detail the specific implementation of the present invention in the motor drive system in combination with the functions in the above code: Initialization phase: When the motor drive system starts, the global variables involved are initialized and set, and at the same time, it is ensured that the relevant function code storage area, EEPROM and other storage media are in a usable state to prepare for subsequent fault handling and information management.
[0054] Fault monitoring and handling during operation: The system monitors each key part and parameter in real time. Once a possible fault is detected (for example, abnormality is found through various sensor feedback signals, status monitoring, etc.), the corresponding fault flag will be triggered. Figure 1 The function shown updates the fault code and fault flag and stores the data in the buffer.
[0055] When the fault is cleared and restored, Figure 3 The function shown clears the corresponding fault flag and fault code.
[0056] When the fault flag changes, for example, Figure 5 In the function shown, all possible fault bits are traversed (by looping from high to low and judging one by one), and for any fault that occurs, the following is called: Fig. 9 The function shown in the figure is used to process the data, including updating the status information required when the performance side fails to the record buffer (through Figure 4 If the fault disappears, call the function shown in Fig. 9 The function shown clears the corresponding fault bit and the corresponding fault information.
[0057] Fault information storage and display: When fault information needs to be stored (such as Figure 4 The function shown in the figure is triggered), the fault record flag is incremented automatically, so the trigger is as follows Figure 2 The function shown saves the saved buffer data to the specified location according to the acquired fault storage offset pointer.
[0058] Storage fault information pointer processing: Figure 7 The function shown is used to determine where the first fault should be placed in the fault table, and to update the value of the fault storage offset pointer by incrementing it and determining whether it exceeds the record length, and to save the position information to the function code specific position.
[0059] When fault information needs to be displayed (for example, when the host computer requests to view the fault status or the system itself periodically refreshes the display interface), Figure 8 The function shown adjusts the order of the fault information stored in the EEPROM and displays it to relevant personnel for review, ensuring that the display order meets the actual viewing requirements.
[0060] Fault information clear: When receiving a command to clear fault information (such as Figure 6When the function shown detects the value of g_FuncCode.Code.ClearErrInfoCmd), all relevant fault records, fault codes, fault name records and other information are completely cleared, and the corresponding record addresses, flags, etc. are reset to restore the system to the initial state of no fault information recording, so that new fault conditions can be accurately recorded again later.
[0061] By implementing the technical solution in this patent, it is possible to accurately and efficiently record the fault conditions encountered during the operation of the system, while ensuring that this information is uploaded with a high priority, follows specific rules and is stored in order in the function code. Update and record fault information (status information such as frequency, torque, voltage, current and temperature) in real time to the buffer to ensure the integrity of the information. Update and upload key fault codes according to priority and rules to improve the timeliness and accuracy of fault handling. Dynamically manage the storage location of fault information to ensure that the information is stored in order to reduce redundancy and confusion. In response to the command to clear fault information, it can automatically clear all data related to the fault in the storage, thereby maintaining the good operation of the system.
[0062] Through these technical means, we can achieve high efficiency and reliability in motor drive system fault handling and information management, and ensure the stability and safety of system operation.
[0063] The present invention provides a method and device for fault handling and information management of a motor drive system, which has the following beneficial effects: 1. Improve the accuracy of fault handling: Through detailed fault code recording, level judgment and targeted processing logic, it can accurately capture and handle various fault conditions that occur during the operation of the motor drive system, avoid misjudgment or missed faults, and help to take corresponding measures in time to ensure the safe and stable operation of the system.
[0064] 2. Optimize fault information management: Reasonable management of the storage and display order of fault information makes it easier for maintenance personnel to quickly and accurately obtain fault-related data. Whether it is viewing historical fault records from the EEPROM or understanding the current fault situation through the display interface, it is more convenient and efficient, which improves the maintainability of the entire system.
[0065] 3. Enhance system interactivity: Standardizes the method and logic of uploading fault codes to external control units such as VCU, ensures effective interaction with other related systems, enables the control system of the entire vehicle or equipment to work better together and improve overall performance.
[0066] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.
Claims
1. A motor drive system fault processing and information management method, characterized in that: The following steps are involved: S1. When the motor drive system is running, the fault code is updated in real time; S2, recording important status information related to the motor drive system into a buffer; S3. Update and upload critical fault codes according to priority rules; S4. Processing the fault conditions on the function side and the drive side according to the fault level code index; S5. Manage the storage location by maintaining the storage pointer in the function code; S6. When receiving a command to clear fault information, clear the contents of the relevant storage area in the function code; S7. Use the motor drive system fault summary process and utilize multiple related functions to handle system faults and their information management.
2. A motor drive system fault processing and information management method according to claim 1, characterized in that: In step S2, the important status information includes multiple status information of frequency, torque, voltage, current and temperature; In step S3, the fault codes uploaded to the external control unit or displayed for use are updated according to the priorities and specific rules.
3. A motor drive system fault processing and information management method according to claim 2, characterized in that: In the step S4, the fault level code indexes of the function side and the drive side are processed respectively according to the fault level, and the fault code is saved to the designated function code position when the conditions are met; In step S5, the storage location pointer of the fault information is managed, the fault information is saved in the function code in sequence, and the display order of the fault information can be adjusted to match the display requirements of the host computer.
4. A motor drive system fault processing and information management method according to claim 3, characterized in that: In step S6, in response to the command to clear fault information, all stored fault related information is cleared and related parameters are reset; In step S7, through the whole machine fault summary processing flow, multiple key functions are called in sequence to achieve comprehensive monitoring, processing, information management and interaction with the outside of the motor drive system fault.
5. The method for fault handling and information management of a motor drive system according to claim 1, characterized in that: In step S1, in the step of updating and uploading fault codes, when an existing fault code is uploaded, it is directly updated to the current fault code, and when there are multiple fault codes, they are updated in turn according to the interval time.
6. A motor drive system fault processing and information management method according to claim 2, characterized in that: In step S2, the recording operation is performed only when the fault index is non-zero and the number of fault records does not exceed the preset length limit.
7. A motor drive system fault processing and information management method according to claim 3, characterized in that: In the step S5, in the step of managing the fault information storage location pointer, the pointer is updated by self-incrementing and judging whether it exceeds the record length, and is saved in the function code specific location.
8. A motor drive system fault processing and information management method according to claim 3, characterized in that: In step S6, in the step of responding to the clear fault information command, after confirming the clear command, the contents of multiple storage areas related to the fault in the function code are completely cleared, and the record address and flag related parameters are reset.
9. A motor drive system fault processing and information management device, characterized in that: include: Fault code update module: updates fault codes in real time to reflect the current system operating status; Fault record management module: records multiple status information during system operation to the record buffer; Data upload mechanism module: manages the representation logic of fault codes according to priority and forms a valid fault code structure in memory; Storage location management module: maintains storage pointers and manages the movement and allocation of fault information between storage locations; Fault clearing mechanism module: after receiving the command to clear fault data, clear all records related to faults in the function codes; Fault summary processing module: realizes overall monitoring, processing and information management of faults through multiple functional units.
10. A motor drive system fault processing and information management device according to claim 9, characterized in that: Also includes: Hardware sensors: Collect real-time operating data of the motor drive system, including frequency, torque, voltage, current, and temperature; Microcontroller: completes data collection, fault diagnosis, fault code generation and information management functions; Record buffer: stores detailed status information when a fault occurs; Memory: used to store fault codes, fault level indexes and related setting parameters.