Alarm display method, device and equipment based on servo driver and medium

By using the IIC protocol and preset memory chip in the servo drive, the problem that the servo drive cannot display alarm information in time is solved, and the alarm information in special circumstances is timely displayed and troubleshooted.

CN119758857APending Publication Date: 2025-04-04GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411881039.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-19
Publication Date
2025-04-04

AI Technical Summary

Technical Problem

In the prior art, servo drives cannot display alarm information in time under certain special circumstances, resulting in inconvenient troubleshooting and equipment debugging.

Method used

By introducing the IIC protocol into the servo drive, the preset memory chip is used to store the alarm data, and the working parameter information and driving parameter information are obtained when the drive enters the running state. If there is an alarm data or an error alarm, it will be sent to the display module through the IIC protocol for display.

Benefits of technology

It realizes that when the servo drive cannot use EtherCAT or Ethernet communication normally, it can still display alarm information in a timely manner, helping R&D personnel to quickly understand the device status and troubleshoot problems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119758857A_ABST
    Figure CN119758857A_ABST
Patent Text Reader

Abstract

The invention discloses an alarm display method, device and equipment based on a servo driver and a medium. When the method is applied to a power supply module, the method comprises the following steps: when a driver enters a running state, determining working parameter information according to the current working state of the servo driver; detecting whether alarm data is stored in a preset storage chip or not; and if yes, the alarm data and the working parameter information are sent to a preset power supply display module through an IIC protocol to be displayed. When the method is applied to a driving module, the method comprises the following steps: acquiring driving parameter information when a driver enters a running state; judging whether alarm data is stored in a preset storage chip or not, and if not, detecting whether the driver generates a false alarm or not; and if a false alarm is generated, the corresponding alarm reason and the driving parameter information are sent to a preset driving display module through an IIC protocol to be displayed. By implementing the method provided by the invention, the problem that the servo driver cannot timely display the alarm information in the prior art can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of automation, and in particular to an alarm display method, device, equipment and medium based on a servo driver. Background Art

[0002] During the operation of the servo drive, the acquisition of error information is crucial for timely diagnosis and resolution of equipment failures. In the prior art, there are two basic methods for transmitting these error codes. The first method relies on the EtherCAT communication protocol, which allows the drive to send error codes to a master station, such as a numerical control system, which then reads and displays these error codes. The second method is to communicate via the Ethernet protocol. Usually, during the drive debugging phase, the R&D personnel connect the drive to the laptop through the network port, and the error code can be transmitted to the computer through the network and displayed on the debugging interface. However, both methods have limitations. In particular, in some special cases, such as when both EtherCAT and Ethernet communications cannot be used normally, the servo drive in the prior art cannot display the alarm information in time, and the R&D personnel will not be able to obtain the alarm information, which undoubtedly brings great inconvenience to troubleshooting and equipment debugging. Summary of the invention

[0003] The embodiments of the present invention provide a servo drive-based alarm display method, device, equipment and medium, aiming to solve the problem in the prior art that the servo drive cannot display alarm information in time.

[0004] In the first aspect, an embodiment of the present invention provides an alarm display method based on a servo drive, which is applied to a power module, including: when the drive enters the running state, determining the working parameter information according to the current working state of the servo drive; detecting whether alarm data is stored in a preset storage chip; if so, sending the alarm data and the working parameter information to a preset power display module through an IIC protocol for display.

[0005] In the second aspect, an embodiment of the present invention provides an alarm display method based on a servo drive, which is applied to a drive module, including: obtaining drive parameter information of the corresponding drive when the drive enters the running state; determining whether alarm data is stored in a preset storage chip, and if not, detecting whether the drive generates an error alarm; if the drive generates an error alarm, sending the corresponding alarm cause and the drive parameter information to a preset drive display module through the IIC protocol for display.

[0006] In a third aspect, an embodiment of the present invention further provides an alarm display device based on a servo drive, which includes a unit for executing any method as described in the first aspect, or includes a unit for executing any method as described in the second aspect.

[0007] In a fourth aspect, an embodiment of the present invention further provides a computer device, which includes a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the above method when executing the computer program.

[0008] In a fifth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein the storage medium stores a computer program, wherein the computer program includes program instructions, and wherein the program instructions can implement the above method when executed by a processor.

[0009] The embodiment of the present invention provides an alarm display method, device, equipment and medium based on a servo drive. When the method is applied to a power module, it includes: when the drive enters the running state, the working parameter information is determined according to the current working state of the servo drive; whether the alarm data is stored in the preset storage chip; if it is stored, the alarm data and the working parameter information are sent to the preset power display module through the IIC protocol for display. When applied to a drive module, it includes: when the drive enters the running state, the drive parameter information of the corresponding drive is obtained; whether the alarm data is stored in the preset storage chip, if not, the drive generates an error alarm; if the drive generates an error alarm, the corresponding alarm cause and the drive parameter information are sent to the preset drive display module through the IIC protocol for display. The embodiment of the present invention obtains the working parameter information and the drive parameter information when the drive enters the running state and displays them through the corresponding display module, so that the R&D personnel can quickly understand the working state of the servo drive. By checking whether there is alarm data in the storage chip and detecting whether the drive generates an error alarm, it is convenient to timely discover and handle abnormal situations that occur during the operation of the drive. The alarm data or alarm reason and other information and the working parameter information are sent to the preset power display module through the IIC protocol for display, so that the servo drive in the prior art can display the alarm information in time, helping R&D personnel to intuitively see the current alarm status and related working parameters, thereby making it easier to troubleshoot and repair faults. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying any creative work.

[0011] Figure 1 A schematic diagram of a flow chart of an alarm display method based on a servo drive provided in an embodiment of the present invention applied to a power module;

[0012] Figure 2 A schematic diagram of a sub-process of applying the servo drive-based alarm display method provided in an embodiment of the present invention to a power module;

[0013] Figure 3 A schematic diagram of another sub-process of applying the servo drive-based alarm display method provided in an embodiment of the present invention to a power module;

[0014] Figure 4 A module connection diagram of an alarm display method based on a servo drive provided in an embodiment of the present invention;

[0015] Figure 5 A schematic diagram of a flow chart of an alarm display method based on a servo drive provided in an embodiment of the present invention applied to a power module;

[0016] Figure 6 A schematic diagram of a sub-process of applying the servo driver-based alarm display method provided in an embodiment of the present invention to a drive module;

[0017] Figure 7 A schematic diagram of another sub-process of applying the servo driver-based alarm display method provided in an embodiment of the present invention to a drive module;

[0018] Figure 8 A schematic block diagram of an alarm display device based on a servo drive provided in an embodiment of the present invention applied to a power module;

[0019] Fig. 9 A schematic block diagram of an alarm display device based on a servo driver provided in an embodiment of the present invention applied to a drive module;

[0020] Fig.10 A schematic block diagram of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0021] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0022] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.

[0023] It should also be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0024] It should be further understood that the term "and / or" used in the present description and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0025] See also Figure 1 , Figure 1 A flow chart of an alarm display method based on a servo driver provided in an embodiment of the present invention. The alarm display method based on a servo driver in this embodiment can be applied to a book-type servo driver, wherein the servo driver includes a power module and a drive module, and each power module and drive module is provided with a corresponding display module for displaying operating parameters and alarm information, wherein each module communicates with each other via a CAN (Controller Area Network) protocol. The MCU in the power module and the drive module determines whether there is alarm information that needs to be displayed, and displays the alarm information on the corresponding display module, so that the servo driver can display the alarm information in a timely manner, thereby helping R&D personnel to intuitively see the current alarm status and related working parameters.

[0026] Figure 1 The figure is a flow chart of the servo drive-based alarm display method provided by the embodiment of the present invention applied to the power module. As shown in the figure, the method includes the following steps S110-S130.

[0027] S110, when the driver enters the running state, determining the working parameter information according to the current working state of the servo driver.

[0028] In this embodiment, the power module determines the corresponding working parameter information according to the current working state of the driver after the servo driver is powered on and runs normally, wherein the working parameter information is the parameter information monitored by the driver during operation. Specifically, the working parameter information may include current and voltage used to reflect the driving power and load conditions of the servo motor, speed and position reflecting the actual motion state of the servo motor, temperature information reflecting the heat dissipation of the servo motor and the driver, etc. Among them, the servo driver is usually equipped with various sensors and monitoring circuits, which can be used to monitor and obtain the working parameter information of the motor in real time. By determining the working parameter information according to the current working state of the servo driver, so as to display the working parameter information, the R&D personnel can intuitively see the current working parameters, which is convenient for timely adjustment.

[0029] S120, detecting whether there is alarm data stored in the preset storage chip.

[0030] In this embodiment, the preset storage chip is a chip for storing alarm data. Specifically, the preset storage chip needs to have the characteristic of being able to keep data information from being lost after the power is turned off. In this embodiment, the preset storage chip is an EPPROM chip. The EPPROM (Electrically Erasable Programmable Read-Only Memory) chip refers to an electrically erasable programmable read-only memory, which is a non-volatile memory. Check whether the preset storage chip has alarm data stored, wherein the EEPROM chip mainly stores alarm data. If there is data, it means that a fault alarm has occurred. If there is no data, no alarm code is stored, and the alarm data will not disappear due to power failure. In normal working mode, after the driver reports a non-power-off fault, the CNC system or debugging interface of the machine tool can manually clear the fault, that is, clear the fault data information of the EEPROM. In the case of a serious fault, the staff will cut off the power supply as soon as possible, so it is necessary to detect whether the EEPROM chip has alarm data when starting the machine, so that after a serious fault occurs, the staff can still view the alarm information before the power failure. By detecting whether there is alarm data stored in the preset storage chip, it is possible to prevent the loss of fault information after a fault occurs, resulting in the inability to analyze the fault.

[0031] In one embodiment, if Figure 2 As shown, step S120 also includes steps S1201-S1202.

[0032] S1201, if the alarm data is not stored in the preset storage chip, determining whether the driver generates an error alarm;

[0033] S1202: if an error alarm is generated, determine whether the alarm quantity of the error alarm is greater than the preset display quantity; if it is less, store the corresponding alarm information into the preset storage chip and display it through the preset power display module.

[0034] In this embodiment, the error alarm is an alarm message issued due to an operation error when the driver is running. If the alarm data is not stored in the preset storage chip, it proves that the last power failure was not due to a fault, and then it is determined whether there is an error alarm in the current new operating state. If no alarm is generated, only the working parameter information is displayed in the preset power display module. If it is confirmed that the driver has generated an error alarm, it is determined whether the number of error alarms exceeds the preset display number threshold. Among them, the number of error alarms is the sum of the number of alarms generated in several drive modules in the servo driver and the number of alarms generated in the power module. The power module can obtain the corresponding alarm number through CAN communication, and determine whether the alarm number of error alarms is greater than the preset display number. The preset display number threshold is a configuration parameter used to control the number of error alarms that can be displayed to the user in the same time period. In this embodiment, the preset display number is 1. If the number of error alarms is less than or equal to the preset display number, the system stores the corresponding alarm information in the preset storage chip. At the same time, the alarm information will be displayed through the preset power display module (which can be an LCD display, LED indicator or other type of display device) so that the user can see and respond in time. By storing the alarm information less than the preset display quantity in the preset storage chip and displaying it through the preset power display module, it is ensured that the user can obtain important error information in time and take appropriate measures to solve the problem.

[0035] In one embodiment, if Figure 3 As shown, step S1202 also includes steps S1203-S1204.

[0036] S1203, if the number of the error alarms is greater than the preset display number, receiving the drive alarm information sent by the drive module through a preset communication method;

[0037] S1204: Display the driving alarm information and the working parameter information through the preset power supply display module.

[0038] In this embodiment, if the number of error alarms is greater than the preset display number, it means that there may be multiple driver modules with fault alarms or one driver module with multiple faults. At this time, it is necessary to obtain specific driver alarm information and display it. Specifically, when the number of error alarms exceeds the preset display number, the driver alarm information is received through a preset communication method, which is CAN communication in this embodiment. This driver alarm information is sent by the driver module through CAN communication, and usually contains specific information about the error or fault, that is, the driver alarm information. Specifically, if Figure 4 As shown in the module connection diagram, the power module and several drive modules share the bus voltage, and each module directly exchanges data through CAN communication, and each power module and each drive module have a display module. The received drive alarm information and the working parameter information are displayed through the preset power display module, and the drive alarm information is stored in the preset storage chip to prevent the failure data from disappearing. When the number of error alarms exceeds a certain threshold, the detailed alarm information sent by the drive module is received, and this information and working parameter information are displayed to the user or operator through the preset power display module, which helps to timely discover and handle equipment failures and ensure the normal operation of the equipment.

[0039] In one embodiment, the step S1204 also includes step S12041.

[0040] S12041. Sort and count the drive alarm information according to a preset priority and send the result to the preset power display module.

[0041] In this embodiment, the drive alarm information refers to the alarm or error information generated by the driver in the system. These alarm messages include alarm codes corresponding to various abnormal conditions such as overcurrent, overvoltage, overheating, undervoltage, short circuit, etc. The preset priority refers to the priority order of different alarm messages that has been determined when the system is designed. The priority can be determined based on factors such as the severity of the alarm, the degree of impact on the system, and the urgency of the need to take action. For example, overcurrent or overvoltage may be considered a high priority alarm, while a slightly higher temperature but still within a safe range may be considered a low priority alarm. Sorting refers to sorting the received drive alarm information according to the preset priority order. High priority alarm messages will be placed in front, and low priority alarm messages will be placed in the back. The drive alarm information is sorted and counted according to a preset priority and then sent to the preset power supply display module. Specifically, the drive alarm information is sorted and counted according to a preset priority to obtain the main alarm information and the alarm number of the corresponding drive alarm information displayed by each drive module, and the main alarm information and the alarm number are sent to the preset power supply display module, so that the display module corresponding to the power supply module can display the current working output voltage, current, frequency and other key parameter information, as well as the main alarm information and the alarm number, so that R&D personnel can quickly understand the current system operation status and main fault points, which helps them take timely action to avoid further development of the fault, thereby protecting the safety of equipment and personnel.

[0042] S130: If present, the alarm data and the operating parameter information are sent to a preset power display module through an IIC protocol for display.

[0043] In this embodiment, the alarm data refers to the information generated when the driver detects an abnormality or error during operation, and the alarm data in this embodiment is a preset alarm code. This information is used to prompt the operator or system administrator to pay attention. The operating parameter information refers to some key parameter values ​​of the device or system during normal operation, such as temperature, pressure, current, voltage, etc. The IIC protocol (Inter-Integrated Circuit) communication is a simple, bidirectional, two-wire synchronous serial communication protocol. A communication protocol for connecting microcontrollers and various peripheral devices. It allows data to be transmitted between master devices and slave devices. The preset power display module refers to a display module specially designed for use in a power module. This module may include a display screen (such as LCD or OLED) and some circuits for processing received data and displaying it on the screen. If the preset storage chip stores alarm data, the alarm data and the operating parameter information are sent to the preset power display module through the IIC protocol for display, and the alarm data in the chip is cleared to facilitate the next data storage and prevent information confusion. By sending the alarm data and the working parameter information to the preset power display module through the IIC protocol for display, it is ensured that when EtherCAT and Ethernet communications are unavailable or in other special circumstances, R&D personnel can still understand the specific alarm information and working status, so as to make timely equipment maintenance and adjustments.

[0044] Figure 5 The figure is a flow chart of the alarm display method based on the servo driver provided by the embodiment of the present invention applied to the drive module. As shown in the figure, the method includes the following steps S210-S230.

[0045] S210: When the driver enters the running state, the driving parameter information of the corresponding driver is obtained.

[0046] In this embodiment, the drive module obtains the corresponding drive parameter information when the driver enters the running state, specifically, the corresponding drive parameter information is obtained when the driver has changed from a static, dormant or standby state to an active state and starts to execute its designed function, wherein the drive parameter information refers to the parameter information generated by the driver in the system, specifically, the parameter information includes the speed of each axis motor, temperature and other information. The corresponding drive parameter information can be obtained through dedicated monitoring software or built-in sensors and communication interfaces, and the specific acquisition method is not limited. By obtaining the drive parameter information of the corresponding driver when the driver enters the running state, the working parameter information can be displayed, so that the R&D personnel can intuitively see the current working parameters and make adjustments in a timely manner.

[0047] S220, determining whether alarm data is stored in the preset storage chip, and if not, detecting whether the drive generates an error alarm.

[0048] In this embodiment, the preset storage chip is a chip for storing alarm data. Specifically, the preset storage chip needs to have the characteristic of being able to keep data information from being lost after the power is turned off. In this embodiment, the preset storage chip is an EPPROM chip. The EPPROM (Electrically Erasable Programmable Read-Only Memory) chip refers to an electrically erasable programmable read-only memory, which is a non-volatile memory. Determine whether the preset storage chip contains alarm data. The EEPROM chip mainly stores alarm data. If there is data, it means that a fault alarm has occurred. If there is no data, no alarm code is stored, and the alarm data will not disappear due to a power failure due to a fault. If the preset storage chip does not contain the alarm data, it proves that the last power failure was not due to a fault. At this time, determine whether the driver generates an error alarm in the current new operating state. Specifically, the drive module checks whether the driver is generating any error alarms, wherein the driver has an alarm module function, for example, the voltage sensor detects whether the bus voltage value has an undervoltage or overvoltage problem. When a problem occurs in the bus, the voltage value will drop or rise to the alarm threshold, and the driver will immediately handle the fault, such as stopping the rotation of the drive shaft and stopping with a brake, and cutting off the power supply. At the same time, the driver will generate an error code (alarm code). If an alarm code is generated, it means that the driver generates an error alarm. By judging whether there is alarm data stored in the preset storage chip and detecting whether the driver generates an error alarm, it is judged whether the servo driver has a fault, so that the fault information can be displayed in a timely manner later.

[0049] S230: If the driver generates an error alarm, the corresponding alarm reason and the driving parameter information are sent to a preset driving display module through an IIC protocol for display.

[0050] In this embodiment, the preset power display module is a display module provided in each of the driver modules, wherein the preset power display module may be an LCD display screen, an LED indicator light or other types of display devices. If the driver does not generate an error alarm, only the drive parameter information is sent to the preset drive display module through the IIC protocol (Inter-Integrated Circuit, a serial communication protocol for connecting a microcontroller and various peripheral devices. In this embodiment, the IIC protocol is used to transmit data between the driver, the preset drive display module and possible other system components) for display. If the driver generates an error alarm, the corresponding alarm cause is determined according to the alarm code in the error alarm, and the alarm cause may include overload, overheating, power failure, communication error, etc. By sending the corresponding alarm cause and the drive parameter information to the preset drive display module through the IIC protocol for display, it is ensured that the user can obtain important error information in a timely manner and take appropriate measures to solve the problem.

[0051] In one embodiment, if Figure 6 As shown, the step S230 also includes steps S2301-S2302 before the step S230.

[0052] S2301, if the driver alarms, obtain the corresponding alarm code;

[0053] S2302: Match the alarm code with the preset alarm information database to determine the cause of the alarm.

[0054] In this embodiment, the driver has an alarm module function. When the driver detects a certain abnormality or error, such as hardware failure, configuration error, overload, overheating, etc., it will trigger an alarm mechanism, wherein the alarm code is a digital or letter code used by the driver to identify a specific error or abnormal situation. The alarm code is usually generated by a sensor or diagnostic module inside the driver and sent to the driver module through a preset communication protocol (CAN communication protocol). When the driver alarms, the corresponding alarm code is obtained. For example, if the driver detects that the speed is overspeeding, a 0x2023 alarm code will be generated. The driver module matches the information in the preset alarm information library according to the alarm code to determine the alarm cause. The preset alarm information library is a database containing various alarm codes and their corresponding explanations or causes. An alarm code corresponds to an information code of an alarm cause. For example, the alarm cause corresponding to 0x2023 is that the speed is too high, or the overspeed threshold is too small, which is recorded as 0x6023, and the driver module displays the alarm cause as 6023. By matching the alarm code with the preset alarm information database, the cause of the alarm can be determined, so that the staff can quickly query the cause of the alarm according to the provided debugging manual, which helps to quickly respond to and solve the problem and ensure the stability and reliability of the system.

[0055] In one embodiment, if Figure 7 As shown, step S2302 also includes steps S2303-S2304.

[0056] S2303, if the driver alarms, generating a drive alarm message having an alarm code;

[0057] S2304: Send the driving alarm information to the power module through a preset communication method, and store it in the preset storage chip.

[0058] In this embodiment, the driver alarm generates a drive alarm message based on the alarm code. Specifically, if the driver detects that the speed is overspeeding, an alarm code of 0x2023 will be generated. The driver module sends the drive alarm message with the alarm code of 0x2023 to the power module through a preset communication method, wherein the preset communication method is an IIC communication protocol. While sending the drive alarm message to the power module, the message will also be stored in a preset storage chip. This storage chip is a non-volatile memory (an EEPROM storage chip in this embodiment) for long-term storage of important data, and the data will not be lost even after the system is powered off. By sending the drive alarm message to the power module through a preset communication method and storing it in the preset storage chip, the power module is convenient for displaying according to priority and ensuring the security of the data to avoid data loss.

[0059] Corresponding to the above servo drive-based alarm display method, the present invention also provides a servo drive-based alarm display device. The servo drive-based alarm display device includes a unit for executing the above servo drive-based alarm display method, and the device can be configured in a desktop computer, a tablet computer, a laptop, or other terminals. Figure 8 is a schematic block diagram 300 of an alarm display device based on a servo driver provided by an embodiment of the present invention applied to a power module, Fig. 9 It is a schematic block diagram 400 of an alarm display device based on a servo driver provided by an embodiment of the present invention applied to a drive module.

[0060] like Figure 8 As shown, the servo drive-based alarm display device, when applied to a power module, includes a determination unit 310 , a checking unit 320 , and a sending unit 330 .

[0061] The determination unit 310 is used to determine the working parameter information according to the current working state of the servo drive when the drive enters the running state.

[0062] The checking unit 320 is used to detect whether there is alarm data stored in the preset storage chip.

[0063] In one embodiment, the checking unit 320 includes a first judging unit and a first storing unit.

[0064] A first judgment unit, configured to judge whether the driver generates an error alarm if the alarm data is not stored in the preset storage chip;

[0065] The first storage unit is used to determine whether the alarm quantity of the error alarm is greater than the preset display quantity if it is generated, and if it is less, store the corresponding alarm information into the preset storage chip and display it through the preset power display module.

[0066] In one embodiment, the checking unit 320 includes a receiving unit and a display unit.

[0067] A receiving unit, configured to receive the driving alarm information sent by the driving module through a preset communication method if the alarm quantity of the error alarm is greater than the preset display quantity;

[0068] The display unit is used to display the driving alarm information and the working parameter information through the preset power supply display module.

[0069] In one embodiment, the checking unit 320 includes a receiving unit and a display unit.

[0070] The sorting unit is used to sort and count the drive alarm information according to a preset priority and then send it to the preset power display module.

[0071] like Fig. 9 As shown, the servo driver-based alarm display device, when applied to a drive module, includes an acquisition unit 410 , a data judgment unit 420 , and a drive sending unit 430 .

[0072] The acquisition unit 410 is used to acquire the driving parameter information of the corresponding driver when the driver enters the running state.

[0073] The data determination unit 420 is used to determine whether the preset storage chip stores alarm data, and if not, to detect whether the driver generates an error alarm.

[0074] The drive sending unit 430 is used to send the corresponding alarm reason and the drive parameter information to the preset drive display module through the IIC protocol for display if the driver generates an error alarm.

[0075] In one embodiment, the drive sending unit 430 includes an alarm obtaining unit and an information matching unit.

[0076] An alarm acquisition unit, used for acquiring a corresponding alarm code if the driver alarms;

[0077] The information matching unit is used to match the information in a preset alarm information library according to the alarm code to determine the alarm cause.

[0078] In one embodiment, the driving sending unit 430 includes a generating unit and a driving sending unit.

[0079] A generating unit, configured to generate drive alarm information having an alarm code if the drive alarms;

[0080] The drive sending unit is used to send the drive alarm information to the power module through a preset communication method and store it in the preset storage chip.

[0081] It should be noted that technicians in the relevant field can clearly understand that the specific implementation process of the above-mentioned servo drive-based alarm display device 200 and each unit can refer to the corresponding description in the aforementioned method embodiment, and for the convenience and brevity of description, it will not be repeated here.

[0082] The above-mentioned alarm display device based on servo drive can be implemented in the form of a computer program, which can be used in Fig.10 Runs on the computer device shown.

[0083] See also Fig.10 , Fig.10 5 is a schematic block diagram of a computer device provided in an embodiment of the present application. The computer device 500 may be a terminal or a server, wherein the terminal may be an electronic device with communication functions such as a smart phone, a tablet computer, a laptop computer, a desktop computer, a personal digital assistant, and a wearable device. The server may be an independent server or a server cluster composed of multiple servers.

[0084] See also Fig.10 The computer device 500 includes a processor 502 , a memory and a network interface 505 connected via a system bus 501 , wherein the memory may include a non-volatile storage medium 503 and an internal memory 504 .

[0085] The non-volatile storage medium 503 can store an operating system 5031 and a computer program 5032. The computer program 5032 includes program instructions, and when the program instructions are executed, the processor 502 can execute an alarm display method based on a servo drive.

[0086] The processor 502 is used to provide computing and control capabilities to support the operation of the entire computer device 500 .

[0087] The internal memory 504 provides an environment for the operation of the computer program 5032 in the non-volatile storage medium 503. When the computer program 5032 is executed by the processor 502, the processor 502 can execute an alarm display method based on a servo drive.

[0088] The network interface 505 is used to communicate with other devices over the network. Fig.10 The structure shown in the figure is merely a block diagram of a portion of the structure related to the solution of the present application, and does not constitute a limitation on the computer device 500 to which the solution of the present application is applied. The specific computer device 500 may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0089] The processor 502 is used to run a computer program 5032 stored in the memory to implement the steps of the above method.

[0090] It should be understood that in the embodiment of the present application, the processor 502 may be a central processing unit (CPU), and the processor 502 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0091] It can be understood by those skilled in the art that all or part of the processes in the method for implementing the above embodiment can be completed by instructing the relevant hardware through a computer program. The computer program includes program instructions, and the computer program can be stored in a storage medium, which is a computer-readable storage medium. The program instructions are executed by at least one processor in the computer system to implement the process steps of the embodiment of the above method.

[0092] Therefore, the present invention also provides a storage medium. The storage medium may be a computer-readable storage medium. The storage medium stores a computer program, wherein the computer program includes program instructions. When the program instructions are executed by a processor, the processor executes the steps of the above method.

[0093] The storage medium may be a USB flash drive, a mobile hard disk, a read-only memory (ROM), a magnetic disk, or an optical disk, etc., which are computer-readable storage media that can store program codes.

[0094] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0095] In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of each unit is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.

[0096] The steps in the method of the embodiment of the present invention can be adjusted in order, combined and deleted according to actual needs. The units in the device of the embodiment of the present invention can be combined, divided and deleted according to actual needs. In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0097] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, terminal, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention.

[0098] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A servo drive-based alarm display method, characterized in that: The method is applied to a power module, and the method comprises: When the drive enters the running state, the working parameter information is determined according to the current working state of the servo drive; Detect whether there is alarm data stored in the preset storage chip; If it exists, the alarm data and the working parameter information are sent to the preset power display module through the IIC protocol for display.

2. The method according to claim 1, characterized in that After the step of detecting whether the preset storage chip stores alarm data, the method further includes: If the alarm data is not stored in the preset storage chip, determining whether the driver generates an error alarm; If an error alarm is generated, it is determined whether the alarm quantity of the error alarm is greater than the preset display quantity. If it is less, the corresponding alarm information is stored in the preset storage chip and displayed through the preset power display module.

3. The method according to claim 2, characterized in that After the step of determining whether the number of false alarms is greater than the preset display number, the method further includes: If the alarm quantity of the error alarm is greater than the preset display quantity, receiving the driving alarm information sent by the driving module through a preset communication method; The driving alarm information and the working parameter information are displayed through the preset power supply display module.

4. The method according to claim 3, characterized in that The step of displaying the driving alarm information and the working parameter information through the preset power supply display module includes: The drive alarm information is sorted and counted according to a preset priority and then sent to the preset power display module.

5. A servo drive-based alarm display method, characterized in that: The method is applied to a driving module, and the method comprises: When the driver enters the running state, the driving parameter information of the corresponding driver is obtained; Determine whether the preset storage chip stores alarm data, and if not, detect whether the driver generates an error alarm; If the driver generates an error alarm, the corresponding alarm reason and the driving parameter information are sent to the preset driving display module through the IIC protocol for display.

6. The method according to claim 5, characterized in that Before the step of sending the corresponding alarm cause and the driving parameter information to the preset driving display module through the IIC protocol for display, it includes: If the driver alarms, a corresponding alarm code is obtained; According to the alarm code, information is matched in a preset alarm information database to determine the cause of the alarm.

7. The method according to claim 6, characterized in that After the step of obtaining the corresponding alarm code if the driver alarms, the method further comprises: If the driver alarms, a drive alarm message having an alarm code is generated; The driving alarm information is sent to the power module through a preset communication method and stored in the preset storage chip.

8. An alarm display device based on a servo drive, characterized in that: The invention comprises a power supply module and a driving module, wherein the power supply module comprises a unit for executing the method as claimed in any one of claims 1 to 4, and the driving module is a unit for executing the method as claimed in any one of claims 5 to 7.

9. A computer device, characterized in that: The computer device includes a memory and a processor connected to the memory; the memory is used to store a computer program; the processor is used to run the computer program stored in the memory to execute the steps of the method as described in any one of claims 1 to 4 or to execute the steps of the method as described in any one of claims 5 to 7.

10. A storage medium, characterized in that: The storage medium stores a computer program, which includes program instructions. When the program instructions are executed by a processor, they can implement the steps of the method as described in any one of claims 1 to 4, or implement the steps of the method as described in any one of claims 5 to 7.