State control program, state control device and state control procedure

The state control program and device facilitate direct control of the servo amplifier's state, reducing the workload and simplifying the verification process by setting values and receiving commands, thus enhancing operational debugging efficiency.

DE112022005209T5Active Publication Date: 2024-11-21MITSUBISHI ELECTRIC CORP

Patent Information

Application Number
DE112022005209
Authority / Receiving Office
DE · DE
Patent Type
Applications
Current Assignee / Owner
Filing Date
2022-03-24
Publication Date
2024-11-21
Estimated Expiration
2042-03-24

AI Technical Summary

Technical Problem

The existing methods for controlling the state of a servo amplifier to verify its operation are labor-intensive, often requiring trial and error, edits to the command program, and equipment rewiring, increasing the workload.

Method used

A state control program and device that allow direct control of the servo amplifier's state by setting values in its memory and receiving commands, reducing the need for manual intervention and simplifying the verification process.

Benefits of technology

The solution reduces the workload associated with controlling the servo amplifier's state, enabling easier debugging and verification of its operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

A program is executed by a state control device (10) that can be connected to a servo amplifier (22) for driving a servo motor in accordance with a received command. The program causes the state control device (10) to function as a takeover device (11) that receives a setting value to be stored in a memory in the servo amplifier (22) as a value different from an input to the servo amplifier (22) for driving the servo motor, the input comprising the command; to function as a receive control (13) that causes the servo amplifier (22) to receive the command; and to function as a state control that controls a state of the servo amplifier (22) by setting the setting value received by the takeover device (11) in the servo amplifier (22) operating in accordance with the received command.
Need to check novelty before this filing date? Find Prior Art

Description

Technical area

[0001] The present disclosure relates to a state control program, a state control apparatus, and a state control method. State of the art

[0002] A servo motor that can precisely control the rotational position and rotational speed of a shaft is widely used in factory automation (FA). Such a servo motor is powered by a servo amplifier. The servo amplifier drives the servo motor in accordance with commands received from an external device, such as a controller. The commands received by the servo amplifier specify, for example, target values ​​for rotational positions and rotational speeds. Today's servo amplifiers have various computationally achieved functions, such as life expectancy estimation and vibration control for rotating shafts.

[0003] The controller described above generates a command to the servo amplifier by executing a command program created locally by a user. If a malfunction occurs in the operations of the system including the servo motor, the details of the malfunction are investigated by checking the system's operations in a normal operating pattern and the system's operations in an abnormal operating pattern. The operations in the normal operating pattern can be verified by checking whether the controller issues commands consistent with the program's purpose and whether the servo amplifier operates in accordance with the commands.

[0004] The operations in the abnormal operation pattern are typically verified by transmitting debug instructions from a personal computer (PC) to the controller to generate the command program to test the controller's operation. Techniques have been developed to debug the command program executed by the controller (see, for example, Patent Literature 1). Citation listPatent literature

[0005] Patent Literature 1: Unexamined Japanese Patent Application No. 2010-204977 Overview of the inventionTechnical problem

[0006] When investigating malfunctions, the servo amplifier's status can be controlled independently of debugging the controller and command program. In particular, when the servo amplifier is in an abnormal state, a state unintended by the user, or in other special states due to certain causes, the actual operation of the servo amplifier can be verified.

[0007] However, to control the servo amplifier's state, an input to the servo amplifier that changes the servo amplifier's state to a target state must be determined through trial and error. Such a trial and error approach often results in editing the command program, rewiring equipment, and other resets. The workload for controlling the servo amplifier's state to verify operation must be reduced.

[0008] Under these circumstances, an object of the present disclosure is to reduce the workload for controlling the state of the servo amplifier to check the operation. Solving the problem

[0009] To achieve the above object, a state control program according to one aspect of the present disclosure is executed by a computer connectable to a servo amplifier for driving a servo motor in accordance with a received command. The program causes the computer to function as acquisition means for acquisition of a setting value to be set in a memory of the servo amplifier as a value different from an input to the servo amplifier for driving the servo motor, the input including the command, as well as reception control means for causing the servo amplifier to receive the command, and as state control means for controlling a state of the servo amplifier by setting the setting value acquired by the acquisition means in the servo amplifier operating in accordance with the received command. Advantageous effects of the invention

[0010] The technique according to the above aspect of the present disclosure reduces the workload for controlling the state of the servo amplifier to check the operation. Short description of the drawing Fig. 1 is a block diagram of a servo system according to Embodiment 1; Fig. 2 is a schematic diagram showing the control of the state of the servo amplifier according to Embodiment 1; Fig. 3 is a block diagram of a state control device according to Embodiment 1, showing the hardware configuration; Fig. 4 is a functional block diagram of the state control device according to Embodiment 1; Fig. 5 is a flowchart of the state control according to Embodiment 1; Fig. 6 is a diagram showing a command transmission in Embodiment 2; Fig. 7 is a functional block diagram of a state control device according to Embodiment 2; Fig. 8 is a flowchart of the state control according to Embodiment 2; Fig. 9 is a diagram describing a first command and a second command received by a servo amplifier in Embodiment 3; Fig. 10 is a functional block diagram of a state control device according to Embodiment 3; Fig. 11 is a flowchart of the state control according to Embodiment 3; Fig. 12 is a schematic diagram showing the reproduction of the state of a servo amplifier in Embodiment 4; Fig. 13 is a functional block diagram of a state control device according to Embodiment 4; Fig. 14 is a flowchart of state reproduction in Embodiment 4; Fig. 15 is a flowchart of data collection in Embodiment 4; Fig. 16 is a flowchart of reproduction in Embodiment 4; Fig. 17 is a functional block diagram of a state control device according to Embodiment 5; Fig. 18 is a flowchart of the display processing according to Embodiment 5; and Fig. 19 is an exemplary screen displayed by a display in Embodiment 5. Description of embodiments

[0011] A state control device according to one or more embodiments of the present disclosure will be described below with reference to the drawings. Embodiment 1

[0012] Fig. 1 is a block diagram of a servo system 100 including a state control device 10 according to the present embodiment. The servo system 100 is configured to use a servo motor 23 in a facility such as a factory. For example, the servo system 100 corresponds to part of a control system that controls the servo motor 23 and other factory automation devices for operating a machining line, a production line, an inspection line, and other lines.

[0013] The servo system 100 includes a controller 21 that sends a command to a servo amplifier 22, namely, the servo amplifier 22 drives the servo motor 23 in accordance with the command, the servo motor including a rotary shaft driven by the servo amplifier 22, and further an input-output device 24 that inputs the information to the controller 21 and the servo amplifier 22 or outputs information from the controller 21 and the servo amplifier 22, and the state control device 10 that controls the state of the servo amplifier 22.

[0014] The state control device 10, the controller 21, the servo amplifier 22, and the input / output device 24 are connected to each other via an industrial network 30 for communication. The servo amplifier 22 and the servo motor 23 are connected to a power line for supplying power to the servo motor 23 and to a communication line for feeding target detection results for the rotary shaft back to the servo amplifier 22.

[0015] The controller 21 is a control device, such as a programmable logic controller (PLC). The controller 21 executes a preset command program to generate commands in sequence and sends the generated commands to the servo amplifier 22. The commands specify target values ​​for the rotational position, rotational speed, and / or torque of the rotary shaft in the servo motor 23.

[0016] The servo amplifier 22 adjusts the value of an electric current flowing to the servo motor 23, causing the rotating shaft in the servo motor 23 to follow the target values ​​specified by the series of commands received from the controller 21. The current value adjustment by the servo amplifier 22 is achieved through feedback control based on a response value sent from the servo motor 23. The response value indicates the rotational position of the rotating shaft in the servo motor 23, which is detected by an encoder in the servo motor 23. The servo amplifier 22 provides the response value obtained from the servo motor 23 to the controller 21. The response value may be a detection value of the rotational speed of the rotating shaft or a value indicating other detection results about the rotating shaft.

[0017] The input-output device 24 is, for example, a factory automation device having a switch for turning off the controller 21 and the servo amplifier 22 in an emergency or the function of receiving information from the controller 21 and the servo amplifier 22 and outputting, recording, or converting the information.

[0018] The state control device 10 is a computer, such as an industrial personal computer (PC), and has a software application called a development tool for creating and editing the command program that can be executed by the controller 21. The development tool is used to implement the function of the state control device 10, which controls the state of the servo amplifier 22.

[0019] The control of the state of the servo amplifier 22 is shown schematically with reference to Fig. 2. As described in Fig. 2, the servo amplifier 22 has a memory 221 that stores values ​​in memory areas identified by addresses, and a processing unit 222 that uses the memory 221 to perform processing to implement the functions of the servo amplifier 22.

[0020] Memory 221 is a volatile memory, such as random access memory (RAM), or a non-volatile memory, such as electrically erasable programmable read-only memory (EEPROM). Memory 221 has multiple memory areas, each of which stores a value used for processing performed by processing unit 222. Memory 221 stores values ​​including an input value, an internal value, and an output value.

[0021] The input value is a value input from the outside during normal operation of the servo amplifier 22, such as a target value specified by a command, a parameter value specified externally for the operation of the servo amplifier 22, or a response value obtained from the servo motor 23. The output value is a value output to the outside during normal operation of the servo amplifier 22, such as a response value provided from the servo amplifier 22 to the controller 21 or an alarm output when a fault occurs in the servo amplifier 22. The internal value is a value that is not input to or output from the servo amplifier 22, but is used by the processing unit 222 mainly for internal processing of the servo amplifier 22, such as results of error pulses counted by a deviation counter.

[0022] The values ​​stored in the memory 221 correspond to the state of the servo amplifier 22. Examples of the state of the servo amplifier 22 include a state in which an alarm has occurred, a state in which the error pulse counted by the error counter remains accumulated instead of being discharged, an excess state of the rotation position, and an oscillation state of the rotation position.

[0023] The input value of the various values ​​stored in the memory 221 can be controlled during normal operation. However, it is difficult to externally control the internal value during normal operation. The output value is determined by processing based on the input value and the internal value, and is therefore difficult to externally control during normal operation, similar to the internal value. As described below, the state control device 10 writes setting values ​​as the internal values ​​and the output values ​​to control the state of the servo amplifier 22.

[0024] The processing unit 222 corresponds to a processing circuit, such as an integrated circuit (IC). The processing unit 222 uses values ​​stored in the memory 221 for various operations to control the servo motor 23 in accordance with the commands from the controller 21.

[0025] Fig. 3 is a block diagram of the state control device 10 showing the hardware configuration. As shown in Fig. 3, the state control device 10 includes a processor 101, a main memory 102, an auxiliary memory 103, an input device 104, an output device 105, and a communication device 106. The main memory 102, the auxiliary memory 103, the input device 104, the output device 105, and the communication device 106 are connected to the processor 101 via an internal bus 107.

[0026] The processor 101 includes a central processing unit (CPU) or a microprocessing unit (MPU) as a processing circuit. The processor 101 executes a program P1 stored in the auxiliary memory 103 to implement various functions to perform the processes described below. The program P1 corresponds to the development tool described above and is an example of a state control program for controlling the state of the servo amplifier 22.

[0027] Main memory 102 includes random access memory (RAM). Program P1 is loaded from auxiliary memory 103 into main memory 102. Main memory 102 is used as the work area for processor 101.

[0028] Auxiliary memory 103 includes non-volatile memory, such as an EEPROM and a hard disk drive (HDD). In addition to the program P1, auxiliary memory 103 stores various types of data used in the processing performed by processor 101. Auxiliary memory 103 provides processor 101 with data used by processor 101 according to instructions from processor 101. Auxiliary memory 103 stores data provided by processor 101.

[0029] Input device 104 includes, for example, a hardware switch, an input button, a keyboard, or a pointing device. Input device 104 accepts information input by the user of state control device 10 and provides the received information to processor 101.

[0030] The output device 105 includes, for example, a light-emitting diode (LED), a liquid crystal display (LCD), or a speaker. The output device 105 provides various types of information to the user according to instructions from the processor 101. The output device 105 can be integrated with the input device 104 as a touchscreen.

[0031] The communication device 106 includes a network interface circuit for communicating with external devices. The communication device 106 receives signals from the external devices and outputs data indicated by these signals to the processor 101. The communication device 106 sends signals indicating data output by the processor 101 to the external devices.

[0032] Through the interaction of the above hardware components, the state control device 10 implements the function of controlling the state of the servo amplifier 22. In particular, the state control device 10 comprises, as shown in Fig. 4, as functional components, an acquisition module 11 that acquires a setting value to be set in the servo amplifier 22, a memory 12 that stores various kinds of information including the setting value, a reception controller 13 that causes the servo amplifier 22 to receive a command by causing the controller 21 to send the command, and a state controller 14 that sets the value in the servo amplifier 22 to control the state of the servo amplifier 22.

[0033] The acquisition module 11 is essentially implemented by the processor 101 and the input device 104, which operate in concert with each other. The acquisition module 11 acquires a setting value input by the user along with an address to which the setting value is to be written. The acquisition module 11 can also acquire condition information indicating a condition for the time to set the value and other information used to control the state of the servo amplifier 22. The acquisition module 11 can also acquire the information not by direct input from the user but by reading the information from a memory specified by the user. The memory is, for example, a removably inserted memory card or a server connected to the state control device 10 via a network.To acquire information from the server, the acquisition module 11 is implemented with the communication device 106. The acquisition module 11 stores the acquired information in the memory 12. In the state control device 10, the acquisition module 11 corresponds to an example of acquisition means for acquiring the setting value to be set into the memory of the servo amplifier as a value different from an input to the servo amplifier for driving the servo motor, the input including the command.

[0034] The memory 12 is essentially implemented by the main memory 102 and / or the auxiliary memory 103. The memory 12 stores information containing the setting value adopted by the acquisition module 11.

[0035] The receiving controller 13 is essentially implemented by the processor 101 and the communication device 106, which operate in concert with each other. The receiving controller 13 causes the servo amplifier 22 to receive the command by sending an instruction to execute the command program stored in the controller 21 to the controller 21 based on information read by the controller 12. Specifically, the receiving controller 13 sends the instruction to be executed to the controller 21 in a processing sequence in which the time for setting the setting value corresponds to the manual input from the user, or a processing sequence in which the time for setting the setting value corresponds to a predetermined condition being met.In the state control device 10, the reception controller 13 corresponds to an example of reception control means for causing the controller to send the command to the servo amplifier, which causes the servo amplifier to receive the command.

[0036] The state controller 14 is essentially implemented by the processor 101 and the communication module 106 working together. The state controller 14 sets the setting value read from the memory 12 in the servo amplifier 22. When a condition for setting the setting value is specified, the state controller 14 monitors whether the condition is met. If the condition is detected to be met, the state controller 14 writes information indicating that the condition is met into the memory 12 to inform the receiving controller 13 that the condition is met. In the state control device 10, the state controller 14 corresponds to an example of state control means for controlling the state of the servo amplifier by setting the setting value acquired by the acquisition means in the servo amplifier, which operates in accordance with the received command.

[0037] The state control performed by the state control device 10 will be described below with reference to Fig. 5. The state control in Fig. 5 starts when the user enters a start instruction. The state control corresponds to an example of a state control method implemented by the state control device 10. The state control in Fig. 5 is an example, and the steps included in the state control and the order of the steps can be changed as appropriate.

[0038] During state control, the acquisition module 11 acquires a setting value specified by the user (step S1). One or more setting values ​​can be acquired. The acquisition module 11 can read a list of setting values ​​predetermined for state patterns of the servo amplifier 22 from the memory 12 and provide the list to the user via the output device 105 in order to acquire the setting value specified by the user.

[0039] The processor 101 in the state control device 10 then determines whether the setting time for setting the setting value has been manually determined by the user (step S2). Specifically, the processor 101 accesses the memory 12 to determine whether predetermined information indicates that the setting time is manually determined.

[0040] If it is determined that the setting time is manually determined (Yes in step S2), the acquisition module 11 acquires a transmission instruction input by the user to transmit a command, and the receiving controller 13 causes the controller 21 to start transmitting the command in accordance with the transmission instruction (step S3). Specifically, the receiving controller 13 generates a command for the controller 21 to execute the command program and sends the generated command to the controller 21. Thus, when the user inputs the transmission instruction, the controller 21 starts transmitting a command, and the servo amplifier 22 starts operating in accordance with the command.

[0041] The transfer module 11 then accepts a setting instruction input by the user to set the setting value (step S4). The state controller 14 sets the setting value acquired in step S1 in the servo amplifier 22 (step S5). When the user enters the setting instruction, the setting value is written to the memory 221 of the servo amplifier 22. The state controller then ends.

[0042] If it is determined in step S2 that the setting time is not manually determined (No in step S2), the acquisition module 11 acquires condition information indicating a setting time condition from the user (step S6). The setting time condition is met when, for example, the speed of the rotating shaft in the servo motor 23 exceeds a threshold. The condition information indicates the details of the condition, the threshold, and the address in the memory 221 that stores the value indicating the rotating shaft speed.

[0043] The state controller 14 then starts monitoring whether the condition is met (step S7). For example, the state controller 14 accesses the memory area of ​​the address specified by the condition information to repeatedly determine whether the value stored at the address exceeds the threshold specified by the condition information.

[0044] In the same manner as in step S3, the acquisition module 11 then acquires a transmission instruction input by the user to transmit a command, and the receiving controller 13 causes the controller 21 to start transmitting the command in accordance with the transmission instruction (step S8). The servo amplifier 22 thus starts operating in accordance with the command.

[0045] The state controller 14 then determines whether the condition is met (step S9). If the condition is not met (No in step S9), the state controller 14 repeats the determination of step S9. If the condition is met (Yes in step S9), the state controller 14 sets the setting value in the servo amplifier 22 (step S10). In this way, if the condition is met, the setting value is written to the memory 221 in the servo amplifier 22. The state controller then ends.

[0046] As described above, by the receiving controller 13 causing the servo amplifier 22 to receive a command, and the servo amplifier 22 to operate based on the command, the state controller 14 sets a setting value in the servo amplifier 22 that is different from an input value for operating the servo amplifier 22. This enables direct control of the state of the servo amplifier 22. The state of the servo amplifier 22 can thus be controlled to reduce the workload for verifying operation. In particular, the debug environment for the servo amplifier 22 can be easily established.

[0047] The acquisition module 11 acquires condition information indicating a condition for setting a setting value in the servo amplifier 22. The state controller 14 monitors whether the condition is met. If the condition is met, the state controller 14 sets the setting value in the servo amplifier 22. This allows the timing for writing the setting value to be adjusted by defining an appropriate condition.

[0048] The receiving controller 13 causes the controller 21 to send the command to the servo amplifier 22, which causes the servo amplifier 22 to receive the command. This allows the command program set in the controller 21 to be used to generate a command to check the operation of the servo amplifier 22. This facilitates the input of commands to the servo amplifier 22.

[0049] For an existing servo system including the controller 21, the servo amplifier 22, and the servo motor 23, the use of the state control device 10 enables the servo amplifier 22 to transition to an intended state.

[0050] The condition indicated by the condition information may be satisfied in response to a command from the controller 21, or the state controller 14 may monitor commands sent from the controller 21 to determine whether the condition is satisfied. Embodiment 2

[0051] Embodiment 2 will be described by highlighting the differences from Embodiment 1 described above. Corresponding reference numerals denote the same or corresponding components from Embodiment 1. In Embodiment 1, the value in the memory 21 is controlled as the state of the servo amplifier 22. However, a command sent from the controller 21 may contain noise before being received by the servo amplifier 22. In such a case, the state of the servo amplifier 22 can be controlled more flexibly by controlling the commands received by the servo amplifier 22. In the example described below, the state control device 10 sends a command to the servo amplifier 22 instead of to the controller 21.

[0052] As in Fig. 6, the state control device 10 according to the present embodiment includes a command program 211. The state control device 10 adds noise to a command generated by the command program 211 and sends the command to the servo amplifier 22. Specifically, as shown in Fig. 7, the receiving controller 13 in the state control device 10 generates a command and sends the generated command to the servo amplifier 22. As shown in Figure 8, the transfer module 11 takes over, after

[0053] In step S1, in the control performed by the state control device 10, settings are made for commands entered by the user (step S21). Specifically, the acquisition module 11 receives a new command program 211 or an instruction to modify the existing command program 211, and settings for disturbances added to the commands. The acquisition module 11 can read a predetermined list from the memory 12 and provide the list to the user in order to acquire information entered by the user.

[0054] The reception controller 13 then starts generating a command in accordance with the setting adopted in step S21 (step S22). Specifically, the reception controller 13 activates the command program 211 and starts sequentially generating commands to be transmitted by adding noise to the output from the command program 211. Subsequently, the determination in step S2 is performed.

[0055] If the determination in step S2 is affirmative (Yes in step S2), the acquisition module 11 acquires a command transmission instruction input by the user (step S23). The reception controller 13 starts transmitting a command to the servo amplifier 22 in accordance with the command transmission instruction (step S24). Thus, when the user inputs the transmission instruction, the servo amplifier 22 starts receiving commands sequentially. Steps S4 and S5 are then performed before the state control ends.

[0056] If the determination in step S2 is negative (No in step S2), steps S6 and S7 are performed before the receiving controller 13 starts sending a command to the servo amplifier 22 (step S25). The servo amplifier 22 thus starts receiving commands sequentially. Steps S9 and S10 are then performed before the state control ends.

[0057] As described above, the receiving controller 13 generates a command and sends the generated command to the servo amplifier 22 to cause the servo amplifier 22 to receive the command. This allows commands received by the servo amplifier 22 to be controlled by the state controller 14. The operation of the servo amplifier 22 can be checked more flexibly in this way. In particular, the operation of the servo amplifier 22 can be easily examined when a command containing noise is received by the servo amplifier 22. Embodiment 3

[0058] Embodiment 3 will be described by highlighting the differences from the previously described Embodiment 1. Similar reference numerals denote the same or similar components as in Embodiment 1. Although the servo amplifier 22 receives a single command in Embodiment 1, the servo amplifier 22 may have an additional adding function to receive two command values, add the two received values, and operate based on the sum of the values. In the example described below, the state control device 10 inputs disturbances to the servo amplifier 22 for a command from the controller 21.

[0059] As in Fig. As shown in Figure 9, the servo amplifier 22 according to the present embodiment receives, as a command, a first command from the controller 21 and a second command from the state control device 10. The first command and the second command are added together in the servo amplifier 22. The servo amplifier 22 operates based on the sum resulting from the addition. The state control device 10 generates the second command indicating a disturbance value for the first command, which is sent in the same manner as a command from the controller 21 of Embodiment 1, and sends the second command to the servo amplifier 22. Specifically, the receiving controller 13, as shown in Fig. 10, the controller 21 sends the first instruction and sends the second command to the servo amplifier 22, which causes the servo amplifier 22 to receive the commands including the first command and the second command.

[0060] As in Fig. As shown in Figure 11, after step S1 in the state control performed by the state control device 10, the acquisition module 11 acquires the setting input by the user to the second command (step S31). Specifically, the acquisition module 11 receives a noise curve or noise spectrum and the noise intensity. The reception controller 13 starts generating the second command in accordance with the setting acquired in step S31 (step S32). In this way, the second command values ​​begin to be generated sequentially.

[0061] The acquisition module 11 then accepts a transmission instruction input by the user to transmit the second command (step S33). The state controller 14 then activates the adding function of the servo amplifier 22 (step S34). The servo amplifier 22 is then ready to process values ​​input as the second command. The receiving controller 13 begins transmitting the second command to the servo amplifier 22 (step S35). The determination in step S2 is then performed.

[0062] If the determination result in step S2 is affirmative (Yes in step S2), the transfer module 11 transfers in the same manner as in step S3 in Fig. 5 receives a transmission instruction input by the user to transmit a command, and the receiving controller 13 causes the controller 21 to start transmitting the first command in accordance with the transmission instruction (step S36). The servo amplifier 22 then starts receiving the first command and the second command sequentially and adding the first command and the second command (step S37). Steps S4 and S5 are then performed before the state control ends.

[0063] If the determination in step S2 is negative (No in step S2), steps S6 and S7 are executed before the takeover module 11 takes over a transmission instruction input by the user to transmit a command, and the reception controller 13 causes the controller 21 to start transmitting the first command in accordance with the transmission instruction in the same manner as in step S8 in Fig. 5. The servo amplifier 22 thus begins adding the first command and the second command (step S9). Steps S9 and S10 are then performed before the state control ends.

[0064] As described above, the servo amplifier 22 operates based on the sum obtained by adding a first value as the first command and a second value as the second command. The receiving circuit 13 causes the controller 21 to send the first command to the servo amplifier 22, generates the second command, and sends the generated second command to the servo amplifier 22, causing the servo amplifier 22 to receive the command. The operation of the servo amplifier 22 can thus be checked more flexibly using the adding function of the servo amplifier 22. Embodiment 4

[0065] Embodiment 4 will be described by highlighting the differences from the previously described Embodiment 1. Similar reference numerals denote the same or similar components as in Embodiment 1. In Embodiment 1, the setting value is set in the servo amplifier 22, which operates based on the command sent from the controller 21. If the controller 21 can send the same command as in the past, the state of the servo amplifier 22 is reproduced based on the command. However, after a change to the command program in the controller 21 or a replacement of the controller 21, the same command as in the past cannot be sent. In such a case, the state of the servo amplifier 22 is preferably reproduced as in the past command.In the example described below, the command for reproducing the state of the servo amplifier 22 recorded during a certain period is identified in a simulation, and the identified command is sent to the servo amplifier 22 to reproduce the state of the servo amplifier 22.

[0066] As in Fig. As shown in Figure 12, the state control device 10 according to the present embodiment collects data from the controller 21 and the servo amplifier 22. The collected data includes, for example, a command from the servo amplifier 22, a response value from the servo amplifier 22 to the controller 21, and / or a memory value stored in the memory of the servo amplifier 22. Any combination of these data items may be collected, or all of them may be collected. In addition, data items other than these data items may be collected.

[0067] The state control device 10 includes a virtual servo amplifier 16a that simulates the operation of the servo amplifier 22. The virtual servo amplifier 16a is virtually implemented by the program P1 and outputs results obtained by processing the input in accordance with a predetermined operating model of the servo amplifier 22. The simulation with the virtual servo amplifier 16a identifies the command for reproducing the state of the servo amplifier 22 indicated by the collected data. The identified command is sent to the servo amplifier 22. Furthermore, the state control device 10 sets a setting value in the servo amplifier 22 to control the state of the servo amplifier 22.

[0068] As in Fig. 13, the state control device 10 includes a data collector 15 that collects and records data from the controller 21 and the servo amplifier 22, and a simulator 16 that performs a simulation based on the data collected by the data collector 15.

[0069] The data collector 15 is essentially implemented by the processor 111 and the communication device 106. The data collector 15 periodically reads data items to be collected from the controller 21 and the servo amplifier 22 and sequentially stores the data items in the memory 12. In the state control device 10, the data collector corresponds to an example of the data collecting means for collecting and recording a command received by the servo amplifier, a response value provided by the servo amplifier to a source of the command, and / or a read value read from the memory in the servo amplifier.

[0070] The simulator 16 is essentially implemented by the processor 101. If the state of the virtual servo amplifier 16a, obtained by directly inputting the command recorded by the data collector 15 into the simulation model, is equivalent to the state of the servo amplifier 22 indicated by the recorded response value and memory value, the simulator 16 identifies the recorded command as reproducing the state of the servo amplifier 22.

[0071] The state of the virtual servo amplifier 16a obtained using the recorded command may be different from the state of the servo amplifier 22 indicated by the recorded results. In such a case, the servo amplifier 22 does not operate in accordance with the command, and therefore the operation of the servo amplifier 22 is not to be examined. In this case, the simulator 16 searches for a command value that reduces the difference between the state of the virtual servo amplifier 16a and the state of the servo amplifier 22. Specifically, the simulator repeats the attempt to input a command with a changed value into the simulation model and retains the command with the changed value when the difference decreases, or discards the command with the changed value when the difference increases.During the search, the simulator 16 identifies the command as reproducing the state of the servo amplifier 22 if it finds a command that provides the same state or there is no difference between the states.

[0072] If a command that does not provide a difference cannot be found after repeated attempts, a setting value for reproducing the state of the servo amplifier 22 may be identified in addition to the command. Specifically, the simulator 16 identifies a command that represents the difference between the searched commands and a setting value equal to the recorded memory value as reproducing the state of the servo amplifier 22. In other words, the simulator 16 identifies a command for reproducing the closest possible state of the servo amplifier 22 and a setting value for reproducing the state by directly changing the value in the memory 221 that differs when this command is used. In the state control device 10, the simulator 16 corresponds to an example of the simulation means for simulating the operation of the servo amplifier.

[0073] The command and setting value identified by the simulator 16 are generated by the receiving controller 13 and sent to the servo amplifier 22. In the state control device 10, the receiving controller 13 corresponds to an example of receiving control means for generating the command for reproducing the state of the servo amplifier identified by the recording by means of the simulation means and sending the generated command to the servo amplifier.

[0074] The state reproduction for reproducing the past state of the servo amplifier 22 based on a command from the controller 21 will be described below with reference to the Fig. 14 to 16. State reproduction is a process for causing the servo amplifier 22 to receive a debugging command, and is performed as preprocessing prior to the control of the state of the servo amplifier 22 by the state controller 14. State reproduction is performed, for example, instead of steps S3 and S8 in Fig. 5 carried out.

[0075] In state reproduction, as in Fig. 14, data collection (step S41) and reproduction by sending a command based on the data collection results to reproduce the state of the servo amplifier (step S42) are performed in this order.

[0076] When collecting data in step S41, as in Fig. As shown in Figure 15, the data collection module 11 acquires information indicating a recording period specified by the user (step S411). The recording period is defined by the date and time of the data recording start and end, respectively.

[0077] The data collector 15 then sets the recording period (step S412) and begins monitoring (step S413). Specifically, the data collector 15 prepares to perform data recording, which verifies the ability to access and read the data to be recorded.

[0078] The receiving controller 13 then causes the controller 21 to start sending a command (step S414). The data collector 15 determines whether a data collection start trigger is detected (step S415). The data collection start trigger occurs when the current time reaches the start time specified by the information acquired in step S411. However, the data collection start trigger is not limited to this event. For example, the data collection start trigger may be detected when a command to the servo amplifier 22, a response value from the servo amplifier 22, or a value in the memory 221 in the servo amplifier 22 meets a condition specified by the user. The user-specified condition is, for example, that these values ​​exceed or fall below a threshold.

[0079] If it is determined that no data recording start trigger is detected (No in step S415), the data collector 15 repeats the determination in step S415. If it is determined that the data collection start trigger is detected (Yes in step S415), the data collector 15 reads and records data items to be recorded (step S416).

[0080] The data collector 15 then determines whether a data collection end trigger is detected (step S417). The data collection end trigger occurs when the current time reaches the termination time specified by the information acquired in step S411. However, the data collection end trigger is not limited to this event and may occur when a user-specified condition is met.

[0081] If it is determined that no data collection end trigger is detected (No in step S417), the data collector 15 waits for a certain period of time (step S418) and then repeats the processing in step S416 and subsequent steps. In this way, data collection is performed periodically until the data collection end trigger is detected.

[0082] Upon determining that the data collection end trigger is detected (Yes in step S417), the data collector 15 stops reading the data items to be collected (step S419). The processing performed by the state control device 10 then returns from data collection to state reproduction in Fig. 14 back.

[0083] Data collection is followed by reproduction in step S42, in which the simulator 16 reads the data recorded by the data collector 15 from the memory 12 (step S421), as shown in Fig. 16. The simulator 16 uses the data read in step S421 and the virtual servo amplifier 16a to perform a simulation (step S422). Specifically, the simulation is performed to identify a sequence of commands for reproducing the state of the servo amplifier 22.

[0084] The receiving controller 13 then generates a command to reproduce the state of the servo amplifier 22 based on the simulation results acquired in step S422 (step S423). The acquisition module 11 acquires a transmission instruction input by the user for the command generated in step S423 (step S424). The receiving controller 13 begins transmitting the command to the servo amplifier 22 based on the transmission instruction (step S425). The state of the servo amplifier 22 based on the command is thus reproduced. The processing performed by the state control device 10 then returns from reproduction to state reproduction in Fig. 14 back.

[0085] As described above, the simulation identifies the command for reproducing the state of the servo amplifier 22. This enables the reproduction of the state of the servo amplifier 22 according to the past command from the controller 21 without using the controller 21.

[0086] In the example described above, the simulation looks for an input to the model that operates in the same manner as the servo amplifier 22. If the model specifies a command to the servo amplifier 22 based on the state of the servo amplifier 22, in some embodiments the command to the servo amplifier 22 may be derived directly from the recorded state of the servo amplifier 22 using the model.

[0087] After the sequence of commands generated by the receive controller 13 is temporarily stored in the memory 12, the stored commands can, in some embodiments, be used to reproduce the state of the servo amplifier 22 at an intended time. Embodiment 5

[0088] Embodiment 5 will be described by highlighting the differences from the previously described Embodiment 1. Similar reference numerals denote the same or similar components as in Embodiment 1. The present embodiment differs from Embodiment 1 in that the state of the servo amplifier 22 is displayed on a time-series basis and a real-time basis to the user who sets a setting value in the servo amplifier 22.

[0089] As in Fig. 17, a state control device 10 according to the present embodiment includes a collection module 17 that collects data from the controller 21 and the servo amplifier 22, and a display 18 that displays the collected data.

[0090] The collection module 17 is essentially implemented by the processor 101 and the communication device 106 working together. Target objects to be collected by the collection module 17 include a command sent from the controller 21, a command received from the servo amplifier 22, a response value from the servo amplifier 22, a value read from the memory 221 in the servo amplifier 22, information indicating when the receiving controller 13 provides a transmission instruction to the controller 21, and information indicating when the state controller 14 sets the setting value. The collection module 17 periodically reads these data items and outputs them to the display 18. In the state control device 10, the collection module 17 corresponds to an example of a collection means for collecting a command received by the servo amplifier and a memory value stored in the servo amplifier.

[0091] The display is essentially implemented by the output device 105. The display 18 sequentially displays the data collected by the collection module 17 along a common time axis. In the state control device 10, the display 18 corresponds specifically to an example of a display means for displaying a history of the command and the memory value collected by the collection means.

[0092] The display processing performed by the state control device 10 according to the present embodiment will be described below with reference to Fig. 18. The display processing is performed parallel to the state control.

[0093] During display processing, the acquisition module 11 acquires a monitoring start instruction input by the user (step S51). The monitoring start instruction is input by the user who intends to observe the state of the servo amplifier 22 as data.

[0094] The collection module 17 then reads data items to be collected (step S52), and the display 18 displays the read data items to the user in real time (step S53). The acquisition module 11 then determines whether a monitoring end instruction entered by the user is acquired (step S54).

[0095] If it is determined that no monitoring end instruction has been accepted (No in step S54), the processing in step S52 and subsequent steps is repeated. The data elements are thus read periodically. The display is then updated with the read data.

[0096] Fig. 19 is an exemplary screen 18a displayed by the display 18. As in Fig. As shown in Figure 19, screen 18a displays the trends of the collected data items and the time of user input of a debug operation in association with each other on the common time axis. Display 18 corresponds to an example of a display means for displaying the trends of the data items and the time of input of the set instruction in association with each other. The set instruction is an instruction input to the transfer module 11 as a user interface to set the setting value for the servo amplifier 22.

[0097] Upon determining that an end instruction has been accepted in step S54 (Yes in step S54), with reference to Fig. 18, the display processing.

[0098] As described above, the state of the servo amplifier 22 is displayed in association with the time of debugging on a time series basis, which allows the user to easily observe the state of the servo amplifier 22.

[0099] In the example described above, display 18 generates and displays graphs. In some embodiments, display 18 may generate a table containing a list of collected data associated with time. The table may indicate the time of a debug operation.

[0100] In the example described above, the data collected by the collection module 17 is displayed on the display 18 in real time, but it can also be displayed differently. For example, the collection module 17 can store the collected data in the memory 12, and the user can view the development of the collected data on the display 18 at a desired time.

[0101] Although one or more embodiments of the present disclosure have been described above, the present disclosure is not limited to the above embodiments.

[0102] Although the servo system 100 in the example described above includes the single controller 21, the single servo amplifier 22, and the single servo motor 23, multiple controllers 21, multiple servo amplifiers 22, or multiple servo motors 23 may be included.

[0103] Multiple servo systems 100 may be implemented through a common industrial network 30. The above embodiments may be combined in any suitable manner.

[0104] The functions of the state control device 10 according to the above embodiments can be implemented by dedicated hardware or a common computer system.

[0105] For example, the program P1 may be stored in a non-transitory computer-readable recording medium, such as a flexidisc, a compact disk-ROM (CD-ROM), a digital versatile disk (DVD), or a magneto-optical disk (MO disk), for distribution. The program P1 may be installed on a computer to provide a device that performs the above processing.

[0106] The program P1 may be stored in a disk device included in a server on a communication network such as the Internet, and may be superimposed on a carrier signal, for example, to be downloaded to a computer.

[0107] The above processing can also be performed by the program P1, which is activated and executed while being transmitted over a network such as the Internet.

[0108] The above processing may be performed by executing the program P1 in whole or in part on a server while a computer sends and receives information about the processing via a communication network.

[0109] In the system having the above functions partially implemented by the operating system (OS) or by cooperation between the OS and applications, parts executable by applications other than the OS may be stored in a non-volatile recording medium that is distributed or that can be downloaded by a computer.

[0110] Means for implementing the functions of the state control device 10 are not limited to software and may be implemented partially or entirely by dedicated hardware or dedicated circuits.

[0111] The foregoing describes several exemplary embodiments for illustrative purposes. Although the foregoing discussion has set forth specific embodiments, those skilled in the art will recognize that changes in form and detail may be made without departing from the broader spirit and scope of the invention. Accordingly, the specification and drawings are to be regarded as illustrative rather than restrictive. This detailed description, therefore, is not to be taken in a limiting sense, and the scope of the invention is to be limited only by the appended claims and the full range of equivalents permitted by the claims. Industrial applicability

[0112] The state control program according to one or more embodiments of the present disclosure is suitable for establishing a debug environment for a servo amplifier. List of reference symbols 10 State control device 11 Transfer module 12 storage 13 Reception control 14 State control 15 data collectors 16 Simulator 16a virtual servo amplifier 17 Collection module 18 Advertisement 18a Screen 21 Control 22 servo amplifiers 23 Servo motor 24 Input-output device 30 industrial network 100 servo system 101 processor 102 main memory 103 secondary storage 104 Input device 105 Dispensing device 106 Communication device 107 internal bus 211 command program 221 storage 222 processing unit P1 program QUOTES CONTAINED IN THE DESCRIPTION

[0000] This list of documents submitted by the applicant was generated automatically and is included solely for the convenience of the reader. This list is not part of the German patent or utility model application. The DPMA assumes no liability for any errors or omissions. Cited patent literature

[0000] Japanese Patent Application No. 2010-204977

[0005]

Claims

[1] A state control program to be executed by a computer connectable to a servo amplifier for driving a servo motor in accordance with a received command, the state control program causing the computer to function as: an acquisition means for accepting a setting value to be set in a memory in the servo amplifier as a value different from an input to the servo amplifier for driving the servo motor, the input comprising the command; a reception control means for causing the servo amplifier to receive the command, and a state control means for controlling a state of the servo amplifier by setting the setting value acquired by the acquisition means in the servo amplifier operating in accordance with the received command. [2] State control program according to claim 1, wherein the acquisition means acquires condition information indicating a condition for setting the setting value in the servo amplifier, and wherein the state control means monitors whether the condition is met and, if the condition is met, sets the setting value in the servo amplifier. [3] State control program according to claim 1 or 2, wherein the computer is connected to a controller for the servo amplifier, and wherein the receiving control means causes the servo amplifier to receive the command by causing the controller to send the command to the servo amplifier. [4] State control program according to claim 1 or 2, the computer is connected to a controller for the servo amplifier, wherein the servo amplifier receives a first command and a second command as the command and operates in accordance with a sum obtained by adding a second value as the second command to a first value as the first command, and wherein the receiving control means causes the servo amplifier to receive the command by causing the controller to send the first command to the servo amplifier, generate the second command, and send the generated second command to the servo amplifier. [5] A state control program according to claim 1 or 2, wherein the reception control means causes the servo amplifier to receive the command by generating the command and sending the generated command to the servo amplifier. [6] A state control program according to claim 5, further causing the computer to function as: a data collection means for recording a collection of data; and a simulation means for simulating an operation of the servo amplifier, wherein the data collection means records the data collection of the command received by the servo amplifier, a response value provided by the servo amplifier to a source of the command, and / or a read value read by the servo amplifier, and wherein the receiving control means generates the command for reproducing a state of the servo amplifier indicated by the data collection with the simulation means and transmits the generated command to the servo amplifier. [7] A state control program according to any one of claims 1 to 6, further causing the computer to function as: a collecting means for collecting the command to be received by the servo amplifier and a memory value stored in the servo amplifier; and a display means for displaying developments of the instruction and the memory value collected by the collecting means, wherein the state control means sets the setting value in accordance with a setting instruction input to a user interface, and wherein the display means displays the developments and an input time of the setting instruction in association with each other. [8] A state control device connectable to a servo amplifier for operation in accordance with a received command, the state control device comprising: an acquisition means for accepting a setting value to be set in the servo amplifier as a value different from an input for causing the operation of the servo amplifier, the input comprising the command; a reception control means for causing the servo amplifier to receive the command, and a state control means for setting the setting value acquired by the acquisition means in the servo amplifier which operates in accordance with the received command. [9] A state control method to be implemented by a state control device connectable to a servo amplifier for operation in accordance with a received command, the state control method comprising: Accepting, by an acceptance means, a setting value to be set in the servo amplifier as a value different from an input for causing the operation of the servo amplifier, the input comprising the command; Causing, by means of a receiving control means, the servo amplifier to receive the command, and Setting, by means of a state control means, the setting value taken over by the takeover means in the servo amplifier which operates in accordance with the received command.

Citation Information

Patent Citations

  • Debug method, controller and controller system

    JP2010204977A

  • JP002010204977A

Cited By

  • Motor driver and servo driver system

    DE112022005203T5

  • Motor driver and servo drive system

    US12663775B2