Servo driver and servo system
The servo driver system addresses the issue of uncoordinated stopping in servo systems by using a secondary control unit to manage motor stopping and maintain communication, ensuring stable operation even with processor abnormalities.
Patent Information
- Application Number
- JP2023039016
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-13
- Publication Date
- 2024-09-27
AI Technical Summary
Existing servo systems fail to coordinate the stopping of multiple axes when an abnormality occurs in a processor of a servo driver, leading to incomplete control and potential system instability.
A servo driver system where a secondary control unit monitors the primary control unit and coordinates the stopping of motors even if an abnormality occurs, maintaining communication and transmitting feedback to a higher-level device for coordinated control.
Ensures coordinated stopping of multiple motors within the servo system even when an abnormality occurs in a processor, preventing system-wide failure and maintaining communication integrity.
Smart Images

Figure 2024129667000001
Abstract
Description
[Technical field]
[0001] The present invention relates to a servo driver and a servo system. [Background technology]
[0002] A technology has been proposed in which a watchdog timer circuit monitors the processor that controls the servo driver, and if an abnormality occurs in the processor's operation, the processor is reset, while the operation of the slave controller that controls the communication is not stopped (see, for example, Patent Document 1). [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2019-074844 A Summary of the Invention [Problem to be solved by the invention]
[0004] If the slave controller is not stopped, communication can be maintained. However, in a servo system with multiple axes, if an abnormality occurs in the processor of one of the servo drivers, it may be preferable to stop the servo driver in cooperation with the other axes. In such a case, simply maintaining communication is not enough to stop the servo driver in cooperation with the other axes, so there is room for improvement.
[0005] One aspect of the disclosed technique is to provide a servo driver and a servo system that can assist in stopping a motor in coordination with other motors when an abnormality occurs in a control unit. [Means for solving the problem]
[0006] One aspect of the disclosed technology is exemplified by a servo driver as follows. The servo driver is a servo driver that drives a first motor. The servo driver includes a second servo driver to which a second motor is connected, a communication unit connected to a higher-level device that transmits command signals to the servo driver and the second servo driver, a first control unit that controls the communication unit, and a second control unit that monitors the first control unit. When an abnormality occurs in the first control unit, the second control unit stops the first control unit and transmits information related to the coordinated stop of the first motor and the second motor to the higher-level device via the communication unit.
[0007] According to this servo driver, even if an abnormality occurs in the first control unit, the communication unit is not stopped. In this servo driver, information related to the coordinated stop of the first motor and the second motor is transmitted from the second control unit to the upper device via the communication unit. By using such information related to the coordinated stop, the upper device can also output a command signal for coordinately stopping the first motor and the second motor. Therefore, even if an abnormality occurs in the first control unit, the servo driver can support the motor stop coordinated with the first motor and the second motor.
[0008] The servo driver may further include the following feature: The information related to the coordinated stop includes information indicating that an abnormality has occurred in the first control unit and a feedback signal indicating an operating state of the first motor. By including such a feature, the servo driver can notify the upper device that an abnormality has occurred in the first control unit and the operating state of the first motor.
[0009] The servo driver may further include the following feature: When the second control unit receives a command signal for coordinated stopping of the first motor and the second motor from the higher-level device that has received the information related to the coordinated stop, the second control unit stops the first motor in accordance with the command signal. By including such a feature, the servo driver can stop the first motor in coordination with the second motor.
[0010] The servo driver may further include the following features. A monitoring unit that monitors both the first control unit and the second control unit from outside the servo driver is connected to the servo driver, and the monitoring unit stops the servo driver when an abnormality occurs in both the first control unit and the second control unit. When an abnormality occurs in both the first control unit and the second control unit, there is a risk that the servo driver cannot be controlled by either the first control unit or the second control unit. In such a case, by stopping the servo driver by the monitoring unit, it is possible to prevent the servo driver from continuing to operate in a state where an abnormality remains in both the first control unit and the second control unit.
[0011] The servo driver may further include the following feature. The servo driver may further include a shared memory accessed by both the first control unit and the second control unit. The first control unit stores information related to the control of the communication unit in the shared memory, and when an abnormality occurs in the first control unit, the second control unit refers to the shared memory and takes over control of the communication unit from the first control unit. By further including such a feature, even when an abnormality occurs in the first control unit, the second control unit takes over the processing of the first control unit, so that even after the abnormality occurs in the first control unit, the servo driver can continue to execute the same processing as before the abnormality occurs in the first control unit.
[0012] The disclosed technology can also be understood as a servo system including this servo driver. Effect of the Invention
[0013] According to the disclosed technology, when an abnormality occurs in the control unit, it is possible to assist in stopping the motor in coordination with other motors. [Brief description of the drawings]
[0014] [Figure 1] FIG. 1 is a diagram illustrating an example of a servo system according to an embodiment. [Diagram 2] FIG. 2 is a diagram illustrating a state in which an abnormality occurs in one of the processors in the servo driver. [Diagram 3] FIG. 3 is a diagram illustrating an example of a process flow of the servo driver according to the embodiment. [Figure 4] FIG. 4 is a diagram illustrating an example of a servo system according to a comparative example. [Diagram 5] FIG. 5 is a diagram illustrating an example of a servo driver according to a first modified example. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0015] <Application Examples> An application example of the present invention will be described. As illustrated in Fig. 1, a servo system 100 according to this application example includes a Programmable Logic Controller (PLC) 1, servo drivers 2A, 2B, 2C, and servo motors 3A, 3B, 3C. The PLC 1 and the servo drivers 2A, 2B, 2C are connected by an industrial network N1. When the servo drivers 2A, 2B, 2C are not differentiated from one another, they are also referred to as servo drivers 2. When the servo motors 3A, 3B, 3C are not differentiated from one another, they are also referred to as servo motors 3.
[0016] A command signal from the PLC 1 is transmitted to the servo driver 2 via the industrial network N1. The servo driver 2 supplies a drive current to the servo motor 3 so that the servo motor 3 operates in accordance with the command signal received from the PLC 1.
[0017] Here, as described above, the PLC 1 and the servo driver 2 are connected to the industrial network N1. Therefore, for example, if the slave controller 23 of the servo driver 2A stops, the command signal from the PLC 1 will not reach the servo driver 2C.
[0018] In the servo driver 2A, the slave controller 23 (indicated as "Slave CNTL" in the figure) that relays the communication is controlled by the processor 21. If a failure occurs in the processor 21 and the watchdog timer circuit 51 resets the entire servo driver 2A, the relay of communication by the slave controller 23 is interrupted. As a result, the command signal from the PLC 1 will not reach the servo driver 2C.
[0019] Therefore, in this application example, even if a failure occurs in processor 21, the watchdog timer circuit 51 does not reset the entire servo driver 2A. In this application example, processors 21 and 22 monitor each other, and if a failure occurs in processor 21, processor 22 requests interrupt processing from interrupt controller 24. In response to the interrupt processing request from processor 22, interrupt controller 24 executes an interrupt routine that stops processor 21, thereby stopping processor 21. Meanwhile, slave controller 23 continues to relay communication.
[0020] Furthermore, in this application example, the processor 22 transmits information for stopping the servo motor 3A in cooperation with the servo motor 3B connected to the servo driver 2B and the servo motor 3C connected to the servo driver 2C to the PLC 1 via the slave controller 23. Therefore, according to this application example, when an abnormality occurs in the processor 21, not only is it possible to maintain relay of communication by the slave controller 23, but it is also possible to transmit information for stopping the servo motor 3A in cooperation with the other servo motors 3 to the PLC 1.
[0021] Furthermore, since the relay of communication by the slave controller 23 is maintained, the servo motors 3B and 3C can also transmit information to the PLC 1 for stopping the servo motors 3B and 3C in cooperation with the servo motor 3A. Furthermore, according to this application example, even if an abnormality occurs in the processor 21, the PLC 1 can stop the servo motors 3A, 3B, and 3C in cooperation. That is, according to this application example, when an abnormality occurs in the processor 21, it is possible to support the coordinated stopping of the servo motors 3B and 3C. Hereinafter, in this specification, stopping the servo motors 3A, 3B, and 3C in cooperation is also referred to as coordinated stopping.
[0022] <Embodiment> Hereinafter, an embodiment will be described with reference to the drawings. Fig. 1 is a diagram showing an example of a servo system 100 according to an embodiment. The servo system 100 includes a PLC 1, servo drivers 2A, 2B, and 2C, servo motors 3A, 3B, and 3C, a watchdog timer circuit 51, a communication cable N11, a communication cable N12, and a communication cable N13.
[0023] The PLC1 and the servo driver 2B are connected by a communication cable N11. The servo driver 2B and the servo driver 2A are connected by a communication cable N12. The servo driver 2A and the servo driver 2C are connected by a communication cable N13. The PLC1 and the servo drivers 2A, 2B, and 2C are connected by an industrial network N1 including the communication cables N11, N12, and N13.
[0024] The PLC1 transmits a command signal to the servo driver 2 via the industrial network N1. The PLC1 functions, for example, as a monitoring device for the servo driver 2 by executing processing according to a program prepared in advance. The PLC1 also receives a feedback signal indicating the operating state of the servo motor 3 from the servo driver 2. As described above, the PLC1 and the servo driver 2 are connected by the industrial network N1, so that a command signal from the PLC1 to the servo driver 2A is delivered to the servo driver 2A via the PLC1, the communication cable N11, the servo driver 2B, and the PLC12. A command signal from the PLC1 to the servo driver 2B is delivered to the servo driver 2B via the communication cable N11. A command signal from the PLC1 to the servo driver 2C is delivered to the servo driver 2C via the communication cable N11, the servo driver 2B, the communication cable N12, the servo driver 2A, and the communication cable N13.
[0025] The servo driver 2 receives a command signal from the PLC1 via the industrial network N1. The servo driver 2 supplies a drive current to the servo motor 3 so that the servo motor 3 operates according to the command signal. The servo driver 2 also receives a feedback signal from the servo motor 3. In the servo driver 2, a servo system that performs feedback control using a position controller, a speed controller, a current controller, etc. is formed, and these signals are used to servo-control and drive the servo motor 3. The servo driver 2 also transmits the feedback signal received from the servo motor 3 to the PLC1.
[0026] The servo motor 3 is, for example, an AC servo motor. A driving current is supplied to the servo motor 3 from the servo driver 2. The servo motor 3 outputs a feedback signal indicating the operation of the servo motor 3 to the servo driver 2.
[0027] The industrial network N1 is an industrial network that daisy-chains the PLC 1 and the servo driver 2. The industrial network N1 is, for example, EtherCAT (registered trademark).
[0028] The watchdog timer circuit 51 monitors the processors 21 and 22 of the servo driver 2A. If an abnormality occurs in both the processors 21 and 22 in the servo driver 2A, the watchdog timer circuit 51 resets the servo driver 2A (stops the servo driver 2A and then starts it).
[0029] <Hardware configuration> Next, an example of a hardware configuration of a servo driver 2A according to the embodiment will be described with reference to Fig. 1. The servo driver 2A includes processors 21 and 22, a slave controller 23, an interrupt controller 24, a watchdog timer circuit 25, and a watchdog timer circuit .
[0030] The processor 21 is a processor that controls the slave controller 23. The processor 21 is also called a microprocessor unit (MPU) or a processor. The processor 21 is not limited to a single processor, and may have a multi-processor configuration. Furthermore, a single processor 21 connected via a single socket may have a multi-core configuration. Furthermore, the processor 21 may be an application specific integrated circuit (ASIC), a programmable logic device (PLD), or a system-on-a-chip (SoC).
[0031] The processor 22 is a processor that monitors the occurrence of an abnormality in the processor 21. An abnormality in the processor 21 may be, for example, a bug in an executed program that causes the processor to stop. Examples of such a state include a state in which the overload state of the processor 21 (a state in which the load factor is 100%) continues for a predetermined period of time, a state in which the processor 21 experiences thermal runaway, a state in which the processor 21 does not respond to signals from the outside, and so on.
[0032] When an abnormality occurs in the processor 21, the processor 22 transmits a feedback signal of the operating state of the servo motor 3A and an abnormality feedback signal including information indicating that an abnormality has occurred in the processor 21 to the PLC 1 via the slave controller 23. Note that the relationship is not limited to a one-way relationship in which the processor 22 monitors the processor 21, and the processors 21 and 22 may monitor each other. Note that although the processor 22 may communicate using the slave controller 23, it does not control the slave controller 23, and therefore the lines connecting the processor 22 and the slave controller 23 in Fig. 1 are dotted lines rather than solid lines. Note that the hardware configuration of the processor 22 is similar to that of the processor 21, and therefore a description thereof will be omitted.
[0033] The slave controller 23 is a communication interface to which the communication cable N12 and the communication cable N13 are connected. The slave controller 23 relays communication between the servo drivers 2B and 2C under the control of the processor 21. The slave controller 23 has a built-in processor (not shown), and can relay communication between the servo drivers 2B and 2C independently of the processor 21 even when the processor 21 is stopped by interrupt processing.
[0034] The watchdog timer circuit 25 monitors the processor 21. The watchdog timer circuit 25 counts up a counter, and the processor 21 resets the counter before the counter of the watchdog timer circuit 25 times out. If the counter counts up without being reset, the watchdog timer circuit 25 considers that an abnormality has occurred in the processor 21. If the watchdog timer circuit 25 counts up without being reset, it outputs a signal to the interrupt controller 24 to start interrupt processing.
[0035] The watchdog timer circuit 26 monitors the processor 22. The monitoring of the processor 22 by the watchdog timer circuit 26 is similar to the monitoring of the processor 21 by the watchdog timer circuit 25, and therefore a description thereof will be omitted.
[0036] When a signal to start interrupt processing is input from the watchdog timer circuits 25, 26, the interrupt controller 24 starts interrupt processing for the processors 21, 22 that are the targets of the interrupt processing. The interrupt processing is, for example, a series of processes that stop the processors 21, 22. When a signal to start interrupt processing is input from the watchdog timer circuit 25, for example, the interrupt controller 24 executes interrupt processing for the processor 21.
[0037] The watchdog timer circuit 51 monitors the processors 21 and 22. The watchdog timer circuit 51 has a counter for the processor 21 and a counter for the processor 22. The watchdog timer circuit 51 counts up the counter for the processor 21 and the counter for the processor 22. The processor 21 resets the counter before the counter for the processor 21 times out. The processor 22 resets the counter before the counter for the processor 22 times out. When both the counter for the processor 21 and the counter for the processor 22 count up, the watchdog timer circuit 51 resets the servo driver 2A. Resetting the servo driver 2A is also called restarting the servo driver 2A.
[0038] Although FIG. 1 illustrates the hardware configuration of the servo driver 2A, the servo drivers 2B and 2C may also have the same hardware configuration as the servo driver 2A.
[0039] 2 is a diagram illustrating a state in which an abnormality occurs in the processor 21 in the servo driver 2A. When an abnormality occurs in the processor 21, the watchdog timer circuit 25 outputs a signal to start interrupt processing to the interrupt controller 24. The interrupt controller 24 starts interrupt processing for the processor 21 and stops the processor 21. The processor 22, which detects the abnormality of the processor 21, outputs an abnormality feedback signal to the PLC 1 via the slave controller 23. Even if an abnormality occurs in the processor 21, the processor 22 is normal, so the watchdog timer circuit 51 does not reset the servo driver 2A.
[0040] Fig. 3 is a diagram showing an example of a processing flow of the servo driver 2A according to the embodiment. In Fig. 3, the processor 21 is described as a "first processor", the processor 22 is described as a "second processor", the watchdog timer circuit 25 is described as a "WDT1", the watchdog timer circuit 26 is described as a "WDT2", and the servo driver 2A is described as a "servo driver". Hereinafter, an example of a processing flow of the servo driver 2A will be described with reference to Fig. 3.
[0041] In step S1, the process branches depending on whether the watchdog timer circuit 25 has timed out. If the watchdog timer circuit 25 has timed out (YES in step S1), the process proceeds to step S2. If the watchdog timer circuit 25 has not timed out (NO in step S2), the process proceeds to step S6.
[0042] In step S2, the process branches depending on whether the watchdog timer circuit 26 has timed out. If the watchdog timer circuit 26 has timed out (YES in step S2), the process proceeds to step S3. If the watchdog timer circuit 26 has not timed out (NO in step S2), the process proceeds to step S3.
[0043] In step S3, a signal to start interrupt processing is input from the watchdog timer circuit 25 to the interrupt controller 24. The interrupt controller 24, to which the signal to start interrupt processing has been input, starts interrupt processing for the processor 21 that is the target of the interrupt processing.
[0044] In step S4, the processor 22 collects the operating state of the servo motor 3A by a feedback signal and transmits an abnormal feedback signal to the PLC1 via the slave controller 23. The PLC1 that receives the abnormal feedback signal acquires the operating states of the servo motors 3A, 3B, and 3C, for example, based on the abnormal feedback signal and the feedback signals received from the servo drivers 2B and 2C. The PLC1 may generate a command signal for coordinated stopping of the servo motors 3A, 3B, and 3C based on the acquired operating states of the servo motors 3A, 3B, and 3C, and transmit the generated command signal to each of the servo drivers 2A, 2B, and 2C. For example, when the servo driver 2A receives a command signal for coordinated stopping from the PLC1, the processor 22A controls the drive current supplied to the servo motor 3A to stop the servo motor 3A according to the received command signal.
[0045] In step S5, an abnormality occurs in both the processors 21 and 22. Therefore, the watchdog timer circuit 51 resets the servo driver 2A.
[0046] In step S6, the process branches depending on whether the watchdog timer circuit 26 has timed out. If the watchdog timer circuit 26 has timed out (YES in step S6), the process proceeds to step S7. If not (NO in step S6), the process returns to step S1.
[0047] In step S7, a signal to start interrupt processing is input from the watchdog timer circuit 26 to the interrupt controller 24. The interrupt controller 24, to which the signal to start interrupt processing has been input, starts interrupt processing for the processor 22 that is the target of the interrupt processing.
[0048] <Comparative Example> 4 is a diagram showing an example of a servo system 600 according to a comparative example. The servo system 600 differs from the servo system 100 according to the embodiment in that the servo driver 2A is replaced with a servo driver 62A and the watchdog timer circuit 51 is omitted.
[0049] The servo driver 62A includes a processor 621, a slave controller 623, an interrupt controller 624, a watchdog timer 625, and an error control module 626. The processor 621 is a processor that controls the slave controller 623. The slave controller 623 is similar to the slave controller 23 of the servo driver 2A, and therefore a description thereof will be omitted.
[0050] The watchdog timer 625 monitors for an abnormality in the processor 621. When an abnormality occurs in the processor 621, the watchdog timer 625 outputs a signal indicating the abnormality in the processor 621 to the error control module 626.
[0051] When the error control module 626 receives a signal indicating an abnormality in the processor 621 from the watchdog timer 625, it outputs a signal to the servo motor 3A to make an emergency stop of the servo motor 3A. The error control module 626 stops the servo motor 3A, for example, by stopping the supply of a drive current to the servo motor 3A. Furthermore, when the error control module 626 receives a signal indicating an abnormality in the processor 621 from the watchdog timer 625, it outputs a signal to the interrupt controller 624 to start interrupt processing for the processor 621.
[0052] When a signal for starting interrupt processing is input from the interrupt controller 624, the interrupt controller 624 starts interrupt processing for the processor 621 that is the target of the interrupt processing. The interrupt processing is, for example, a series of processes for stopping the processor 621.
[0053] In the servo driver 62A according to the comparative example, when an abnormality occurs in the processor 621, the processor 621 is stopped, but the slave controller 623 is not stopped. Therefore, communication between the PLC1 and the servo drivers 2B and 2C is maintained. On the other hand, the processor 621, which is the only processor provided in the servo driver 62A, is stopped. Therefore, an abnormality feedback signal is not transmitted from the servo driver 62A to the PLC1. Therefore, in the servo system 600 according to the comparative example, when an abnormality occurs in the processor 621, the servo motors 3A, 3B, and 3C cannot be stopped in a coordinated manner.
[0054] <Effects of the embodiment> In this embodiment, even if an abnormality occurs in the processor 21, the entire servo driver 2A is not reset, but the processor 21 is stopped by an interrupt process for the processor 21 in which the abnormality occurs. Therefore, communication by the slave controller 23 in the servo system 100 is maintained.
[0055] Furthermore, in this embodiment, when an abnormality occurs in the processor 21, the processor 22 transmits an abnormality feedback signal to the PLC 1. Therefore, the PLC 1 can obtain the operating states of the servo motors 3B and 3C based on the feedback signals from the servo drivers 2B and 2C, and transmit a command signal to stop the servo motors 3A, 3B, and 3C in a coordinated manner.
[0056] In this embodiment, when the servo driver 2A receives a command signal for coordinated stopping from the PLC 1, the processor 22 controls the drive current supplied to the servo motor 3A to stop the servo motor 3A according to the command signal. Therefore, according to this embodiment, when an abnormality occurs in the processor 21, the servo motor 3A can be stopped in coordination with the servo motors 3B and 3C.
[0057] In addition, in this embodiment, when an abnormality occurs in both the processor 21 and the processor 22, the servo driver 2A is reset by a watchdog timer circuit 51 provided outside the servo driver 2A. Therefore, when an abnormality occurs in both the processor 21 and the processor 22, the servo driver 2A is prevented from continuing the abnormal operation.
[0058] In this embodiment, the PLC 1 that receives the abnormal feedback signal can also receive feedback signals from the other servo drivers 2 and transmit command signals to the servo drivers 2A, 2B, and 2C to coordinately stop the servo motors 3A, 3B, and 3C. Therefore, according to this embodiment, even if an abnormality occurs in the processor 21, the servo motors 3A, 3B, and 3C can be safely stopped.
[0059] <First Modification> In the embodiment described above, when an abnormality occurs in the processor 21, the processor 22 transmits an abnormality feedback signal to the PLC 1 but does not take over the processing of the processor 21. In the first modified example, a configuration will be described in which the processing of the processor 21 is taken over when a failure occurs in the processor 21.
[0060] 5 is a diagram showing an example of a servo driver 12A according to a first modified example. The servo driver 12A differs from the servo driver 2A according to the embodiment in that the servo driver 12A includes a processor 22A instead of the processor 22 and further includes a shared memory 27.
[0061] Processor 22A differs from processor 22 in that it also controls slave controller 23 when an abnormality occurs in processor 21. Shared memory 27 is a storage unit shared by processor 21 and processor 22A. Processor 21 stores information related to various processes such as control of slave controller 23 in shared memory 27. Processor 21 also uses shared memory 27 as a work area in various processes such as control of slave controller 23.
[0062] In the servo driver 12A, when an abnormality occurs in the processor 21, the watchdog timer circuit 25 outputs a signal to the interrupt controller 24 to start interrupt processing of the processor 21. The interrupt controller 24 starts interrupt processing to stop the processor 21, and transmits a takeover instruction to the processor 22A to take over the processing of the processor 21.
[0063] When an abnormality occurs in the processor 21, the processor 22A collects the state of the servo motor 3A by a feedback signal, and transmits the abnormality feedback signal to the slave controller 2. 3 to the PLC 1. Furthermore, when the processor 22A receives a takeover instruction from the interrupt controller 24, the processor 22A refers to the information stored in the shared memory 27 and takes over the processes such as the control of the slave controller 23 from the processor 21.
[0064] According to the first variant, even if an abnormality occurs in processor 21, processor 22A takes over the processing of processor 21, so that even after the abnormality occurs in processor 21, the same processing as before the abnormality occurs in processor 21 can be continued.
[0065] <Other variations> In the above-described embodiment, the network topology of the industrial network N1 is a daisy chain, but the network topology of the industrial network N1 is not limited to a daisy chain. The industrial network N1 may have a network topology other than a daisy chain. Examples of network topologies other than a daisy chain include a bus type, a star type, a mesh type, and a full-connect type.
[0066] The embodiments and modifications disclosed above can be combined with each other.
[0067] (Appendix 1) A servo driver (2A) for driving a first motor (3A), a communication unit (23) connected to a second servo driver (2B) to which a second motor (3B) is connected, and a higher-level device (1) that transmits command signals to the servo driver (2A) and the second servo driver (2B); a first control unit (21) that controls the communication unit (23); a second control unit (22) that monitors the first control unit (21); The second control section (22) is When an abnormality occurs in the first control unit (21), the first control unit (23) is stopped, and information (abnormal feedback signal) related to coordinated stopping of the first motor (3A) and the second motor (3B) is transmitted to the higher-level device (1) via the communication unit (23). Servo driver (2A). (Appendix 2) the information related to the coordinated stop (abnormal feedback signal) includes information indicating that an abnormality has occurred in the first control unit (21) and a feedback signal indicating an operation state of the first motor (3A); A servo driver (2A) as described in Appendix 1. (Appendix 3) The second control unit is when a command signal for causing the first motor and the second motor to perform a coordinated stop is received from the higher-level device that has received the information related to the coordinated stop, the first motor is stopped in accordance with the command signal; 3. A servo driver as defined in claim 1 or 2. (Appendix 4) a monitoring unit (51) that monitors both the first control unit (21) and the second control unit (22) from outside the servo driver (2A) is connected to the servo driver (2A); When an abnormality occurs in both the first control unit (21) and the second control unit (22), the monitoring unit (51) stops the servo driver (2A). A servo driver (2A) according to any one of appendixes 1 to 3. (Appendix 5) The system further includes a shared memory (27) that is accessed by both the first control unit (21) and the second control unit (22), The first control unit (21) stores information related to the control of the communication unit (23) in the shared memory (27); When an abnormality occurs in the first control unit (21), the second control unit (22) refers to the shared memory (27) and takes over control of the communication unit (23) from the first control unit (21). 5. A servo driver (12A) according to any one of appendixes 1 to 4. (Appendix 6) A servo system (100) including a first servo driver (2A) that drives a first motor (3A), a second servo driver (2B) that drives a second motor (3B), and a host device (1) that transmits command signals to the first servo driver (2A) and the second servo driver (2B), The first servo driver (2A) a communication unit (23) connected to the second servo driver (2B) and the higher-level device (1); a first control unit (21) that controls the communication unit (23); A second control unit (22) that monitors the first control unit (21), The second control section (22) is when an abnormality occurs in the first control unit (21), the first control unit (21) is stopped, and information related to coordinated stopping of the first motor (3A) and the second motor (3B) is transmitted to the higher-level device (1) via the communication unit (23); the second servo driver (2B) transmits a feedback signal indicating an operating state of the second motor (3B) to the upper device (1); The higher-level device (1) when receiving the information related to the coordinated stop and the feedback signal, transmitting a command signal to the first servo driver (2A) and the second servo driver (2B) to cause the first motor (3A) and the second motor (3B) to perform a coordinated stop based on the received information related to the coordinated stop and the feedback signal; A servo system (100). [Explanation of symbols]
[0068] 1. PLC 2. Servo driver 2A Servo Driver 2B··Servo driver 2C··Servo driver 3. Servo motor 3A servo motor 3B··Servo motor 3C·Servo motor 12A servo driver 21 Processor 22 Processor 22A Processor 23 Slave Controller 24 Interrupt Controller 25 Watchdog timer circuit 26 Watchdog timer circuit 27. Shared Memory 51 Watchdog timer circuit 62A Servo Driver 100··Servo system 600··Servo System 621 Processor 623··Slave Controller 624 Interrupt Controller 625··Watchdog Timer 626 Error Control Module N1 Industrial Network N11··Communication cable N12··Communication cable N13··Communication cable
Claims
1. A servo driver that drives a first motor, a communication unit connected to a second servo driver to which a second motor is connected, and a host device that transmits a command signal to the servo driver and the second servo driver; A first control unit that controls the communication unit; A second control unit that monitors the first control unit, The second control unit is When an abnormality occurs in the first control unit, the first control unit is stopped, and information related to the coordinated stop of the first motor and the second motor is transmitted to the upper device via the communication unit. Servo driver.
2. The information related to the coordinated stop includes information indicating that an abnormality has occurred in the first control unit and a feedback signal indicating an operating state of the first motor.
2. The servo driver according to claim 1.
3. The second control unit is when a command signal for causing the first motor and the second motor to perform a coordinated stop is received from the higher-level device that has received the information related to the coordinated stop, the first motor is stopped in accordance with the command signal; 2. The servo driver according to claim 1.
4. a monitoring unit that monitors both the first control unit and the second control unit from outside the servo driver is connected to the servo driver; The monitoring unit stops the servo driver when an abnormality occurs in both the first control unit and the second control unit.
2. The servo driver according to claim 1.
5. a shared memory accessed by both the first control unit and the second control unit; The first control unit stores information related to control of the communication unit in the shared memory; When an abnormality occurs in the first control unit, the second control unit refers to the shared memory and takes over control of the communication unit from the first control unit. A servo driver according to any one of claims 1 to 4.
6. A servo system including a first servo driver that drives a first motor, a second servo driver that drives a second motor, and a host device that transmits a command signal to the first servo driver and the second servo driver, The first servo driver includes: a communication unit connected to the second servo driver and the host device; A first control unit that controls the communication unit; A second control unit that monitors the first control unit, The second control unit is When an abnormality occurs in the first control unit, the first control unit is stopped, and information related to a coordinated stop of the first motor and the second motor is transmitted to the upper device via the communication unit; The second servo driver transmits a feedback signal indicating an operating state of the second motor to the host device; The higher-level device is when receiving the information related to the coordinated stop and the feedback signal, transmitting a command signal for coordinately stopping the first motor and the second motor to the first servo driver and the second servo driver based on the received information related to the coordinated stop and the feedback signal; Servo system.
Citation Information
Patent Citations
Control device, and control method of slave unit
JP2019074844A
