Control system, programmable controller, and motion control module

The control system uses a programmable controller and operation control module to calculate an actual load index value from torque data, addressing false detections and cost issues in existing abnormality diagnosis, providing accurate mechanical equipment monitoring without additional hardware.

JP7567493B2Active Publication Date: 2024-10-16JTEKT CORP
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2021007357
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-01-20
Publication Date
2024-10-16
Estimated Expiration
2041-01-20

AI Technical Summary

Technical Problem

Existing abnormality diagnosis devices for mechanical equipment operated by electric motors are prone to false detections of abnormalities in multiple machine tools and incur high costs due to the use of diagnostic computers.

Method used

A control system comprising a servo amplifier, programmable controller, and operation control module that calculates an actual load index value based on instantaneous torque values to accurately assess the mechanical equipment's state, using a programmable controller with a storage means, user program execution, torque information acquisition, and actual load index calculation, without the need for a diagnostic computer.

Benefits of technology

Accurately monitors the state of mechanical equipment operated by servo motors while reducing costs by eliminating the need for a diagnostic computer and enhancing diagnostic precision.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007567493000001
    Figure 0007567493000001
  • Figure 0007567493000002
    Figure 0007567493000002
  • Figure 0007567493000003
    Figure 0007567493000003
Patent Text Reader

Abstract

To provide a control system capable of suppressing a cost increase and more accurately grasping a state of mechanical equipment operated by a server motor, a programmable controller, and an operation control module.SOLUTION: A control system 1 comprises a servo amplifier 4 which supplies a driving current to a servo motor 7, and a programmable controller 3 which outputs an operation command to the server amplifier 4. The programmable controller 3 comprises: storage means for storing a sequence program; user program execution means for executing the sequence program; operation command output means for outputting an operation command according to the sequence program; torque information acquisition means for acquiring a torque instantaneous value of the servo motor 7; and actual load index value calculation means for calculating an actual load index value indicating a magnitude of load as a value referenceable in the sequence program on the basis of the torque instantaneous value acquired during rotational operation of the servo motor 7.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a control system for controlling a servo motor, a programmable controller, and a motion control module of the programmable controller. [Background technology]

[0002] Conventionally, an abnormality diagnosis device for diagnosing abnormalities in machinery and equipment operated by electric motors is known, as described in Patent Document 1. This abnormality diagnosis device is configured with a diagnostic computer, and extracts signals from sound or vibration signals generated by a series of operations when the machine tool to be diagnosed is operating normally, using a plurality of time windows set based on the output timing of each timing signal that instructs a plurality of operations that make up this series of operations, and creates an inverse filter or the like based on the extracted signals. Then, the inverse filter is applied to sound or vibration signals detected during subsequent operation, and the obtained residual signal is analyzed to detect abnormalities in the machinery and equipment. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2004-334363 A Summary of the Invention [Problem to be solved by the invention]

[0004] According to the above-mentioned abnormality diagnosis device, when a sound or vibration signal state different from that during normal operation is detected, it is possible to detect that an abnormality has occurred in the machine tool to be diagnosed, but in many cases, a factory has multiple production lines made up of multiple machine tools arranged in parallel, and there is a risk that, for example, sound or vibration generated by a machine tool in another production line arranged near the machine tool to be diagnosed may erroneously be detected as having an abnormality in the machine tool to be diagnosed, even though the machine tool to be diagnosed is operating normally. In addition, since the above-mentioned abnormality diagnosis device is configured with a diagnostic computer, there is also the problem of high costs.

[0005] Therefore, an object of the present invention is to provide a control system, a programmable controller, and an operation control module that are capable of more accurately grasping the state of mechanical equipment operated by a servo motor while suppressing increases in costs. [Means for solving the problem]

[0006] In order to achieve the above object, the present invention provides a control system comprising a servo amplifier which supplies a drive current to a servo motor, and a programmable controller which outputs an operation command to the servo amplifier, and wherein the servo amplifier controls the servo motor in response to the operation command, the programmable controller comprising: a storage means which stores a user program, a user program execution means which executes the user program, an operation command output means which outputs the operation command in response to the user program, a torque information acquisition means which acquires an instantaneous value of torque generated in the servo motor, and an actual load index value calculation means which calculates an actual load index value which indicates the magnitude of the load during the rotation operation as a value which can be referenced by the user program, based on the instantaneous value of torque acquired by the torque information acquisition means during the rotation operation of the servo motor from the start of rotation to the stop of rotation in response to the operation command. the actual load index value calculated by the actual load index value calculation means is a square root of a value obtained by dividing a sum of squares of instantaneous values ​​of the torque acquired at each predetermined sampling period during the rotation operation by the number of samplings during the rotation operation. A control system is provided.

[0007] In order to achieve the above object, the present invention provides a programmable controller which outputs an operation command to a servo amplifier which supplies a drive current to a servo motor, the programmable controller comprising: a storage means for storing a user program; a user program execution means for executing the user program; an operation command output means for outputting the operation command in accordance with the user program; a torque information acquisition means for acquiring an instantaneous value of torque generated in the servo motor; and an actual load index value calculation means for calculating an actual load index value which indicates the magnitude of the load during the rotation operation as a value which can be referenced by the user program, based on the instantaneous value of torque acquired by the torque information acquisition means during the rotation operation of the servo motor from the start of rotation to the stop of rotation in response to the operation command. the actual load index value calculated by the actual load index value calculation means is a square root of a value obtained by dividing a sum of squares of instantaneous values ​​of the torque acquired at each predetermined sampling period during the rotation operation by the number of samplings during the rotation operation. A programmable controller is provided.

[0008] In order to achieve the above object, the present invention provides an operation control module which constitutes a programmable controller in combination with a CPU module having a storage means for storing a user program and a user program execution means for executing the user program, the operation control module comprising: an operation command output means for outputting an operation command to a servo amplifier which supplies a drive current to a servo motor in accordance with the user program; a torque information acquisition means for acquiring an instantaneous value of a torque generated in the servo motor; and an actual load index value calculation means for calculating an actual load index value which indicates the magnitude of a load during the rotation operation as a value which can be referenced by the user program, based on the instantaneous value of the torque acquired by the torque information acquisition means during the rotation operation of the servo motor from the start of rotation to the stop of rotation in response to the operation command. the actual load index value calculated by the actual load index value calculation means is a square root of a value obtained by dividing a sum of squares of instantaneous values ​​of the torque acquired at each predetermined sampling period during the rotation operation by the number of samplings during the rotation operation. A motion control module is provided. Effect of the Invention

[0009] The control system, programmable controller, and motion control module according to the present invention make it possible to more accurately grasp the state of mechanical equipment operated by a servo motor while suppressing increases in costs. [Brief description of the drawings]

[0010] [Figure 1] 1 is a schematic diagram showing an example of the configuration of a control system according to an embodiment of the present invention, together with some components of a mechanical equipment to be controlled. [Diagram 2] 4 is a block diagram showing an example of a functional configuration of a CPU module and an operation control module. FIG. [Diagram 3] FIG. 2A is a schematic diagram of a slide table, which is a part of a mechanical device, as viewed vertically from above, and FIG. 2B is a schematic diagram of the slide table as viewed horizontally. [Figure 4] 1 is a timing chart showing the time-series changes in information exchanged between a CPU module and an operation control module of a programmable controller, together with graphs of the rotational speed and rotational torque of a servo motor. [Diagram 5] 10 is a flowchart showing an example of a processing procedure executed by an operation control module to calculate an actual load index value after outputting an operation command to a servo amplifier. [Figure 6] FIG. 4 is an explanatory diagram showing a part of a sequence program. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0011] [Embodiment Mode] An embodiment of the present invention will be described with reference to Figures 1 to 6. Note that the embodiment described below is shown as a preferred specific example for carrying out the present invention, and while there are some parts that specifically exemplify various technical matters that are technically preferable, the technical scope of the present invention is not limited to this specific embodiment.

[0012] 1 is a schematic diagram showing an example of the configuration of a control system according to an embodiment of the present invention, together with some of the components of the mechanical equipment to be controlled. This control system 1 includes an operation panel 2, a programmable controller 3, and multiple servo amplifiers 4. The mechanical equipment 6 is, for example, a machine tool, and has multiple output elements 61, multiple input elements 62, and multiple servo motors 7. The output elements 61 are, for example, actuators or indicator lamps. The input elements 62 are, for example, limit switches or photoelectric switches.

[0013] The operation panel 2 has a touch panel computer 20, a select switch 21 for switching between automatic operation mode and individual operation mode, an operation preparation switch 22 for starting the supply of electricity to the multiple servo motors 7 to make the mechanical equipment 6 operable (servo on state), a start switch 23 for instructing the start of automatic operation, and an emergency stop switch 24 for immediately stopping the operation of the mechanical equipment 6.

[0014] The automatic operation mode selected by the select switch 21 is a mode in which the mechanical equipment 6 is operated continuously according to a sequence program described later. The individual operation mode is a mode in which the worker operates the output elements 61 and the servo motor 7 individually. During automatic operation, the operating state of the mechanical equipment 6 and the like are displayed on the touch panel computer 20. During individual operation, a number of buttons for instructing the individual operations are displayed as icons on the touch panel computer 20. The operation panel 2 is capable of communicating with the programmable controller 3 via a communication cable 11.

[0015] The programmable controller 3 is configured to include a power supply module 31, a CPU module 32, a communication module 33, an output module 34, an input module 35, an operation control module 36, and a base 30 on which these modules are mounted. The CPU module 32 is the core module of the programmable controller 3, and the other modules (the communication module 33, the output module 34, the input module 35, and the operation control module 36) are optional modules that are combined with the CPU module 32 according to required functions to configure the programmable controller 3.

[0016] The power supply module 31 converts, for example, a commercial power supply voltage of AC 100V to DC 5V and supplies it to each of the modules 32 to 36 via the base 30. The base 30 also has a printed circuit board on which a data bus is formed, and data can be exchanged between the CPU module 32 and the other modules 32 to 36 via this data bus.

[0017] The CPU module 32 executes a sequence program for controlling the mechanical equipment 6. The sequence program is a user program created by a user for operating the mechanical equipment 6. In this embodiment, a case will be described in which the sequence program is written in a ladder diagram language defined in IEC61131-3. A program written in a ladder diagram language is also called a ladder circuit diagram.

[0018] A user can create a sequence program using, for example, a program creation device 5 shown in Fig. 1. The program creation device 5 is a portable computer (notebook computer) in which a programming tool for creating a sequence program is installed, and is connected to a CPU module 32 via a communication cable 12. The sequence program created by the program creation device 5 is transferred to the CPU module 32 by communication using the communication cable 12, and stored in the CPU module 32.

[0019] The communication module 33 is connected to the touch panel computer 20 of the operation panel 2 by a communication cable 11. The touch panel computer 20 can obtain various information in the CPU module 32 via the communication module 33 and send information to the CPU module 32.

[0020] The output module 34 has a plurality of output relays respectively connected to a plurality of output elements 61 of the mechanical equipment 6, and it is possible to operate the output elements 61 by turning on / off these output relays. The input module 35 has a plurality of input relays respectively connected to a plurality of input elements 62 of the mechanical equipment 6, and it is possible to detect the operating state of the mechanical equipment 6 by turning on / off these input relays.

[0021] The motion control module 36 outputs motion commands to the servo amplifiers 4 to move the moving body of the mechanical equipment 6 according to the sequence program. The motion control module 36 and the multiple servo amplifiers 4 are connected by multiple communication cables 13. The motion control module 36 can acquire information on the operational state of the servo motor 7, such as the rotation speed and rotation torque, by communicating with the servo amplifiers 4 via the communication cables 13. In the illustrated example of FIG. 1, three servo amplifiers 4 are daisy-chained to the motion control module 36 by three communication cables 13, and the motion control module 36 can output motion commands to each of the three servo amplifiers 4.

[0022] The motion control module 36 can output motion commands to the servo amplifier 4 in a position command mode, a speed command mode, and a torque command mode. The position command mode is a mode for specifying a target position for the servo motor 7, and it is also possible to specify a moving speed (rotation speed). The speed command mode is a mode for rotating the servo motor 7 forward or reverse at a specified speed. The torque command mode is a mode for generating a specified torque in the forward or reverse direction of the servo motor 7.

[0023] The servo motor 7 is a three-phase AC motor and includes a main body 71 having a stator and a rotor, a shaft 72 that rotates integrally with the rotor, and a position detector 73 that detects the rotational position of the rotor relative to the stator. The position detector 73 is, for example, a resolver that can detect the absolute position of multiple rotations. A three-phase AC current is supplied to the stator winding of the main body 71 as a drive current from the servo amplifier 4 through the power cable 14. A detection signal from the position detector 73 is sent to the servo amplifier 4 through the signal line cable 15.

[0024] The rotation speed of the servo motor 7 is proportional to the frequency of the current supplied from the servo amplifier 4, and the torque generated by the servo motor 7 is proportional to the magnitude (absolute value) of the current supplied from the servo amplifier 4. Below, a case will be described where the motion control module 36 of the programmable controller 3 issues an operation command to the servo amplifier 4 in the position command mode.

[0025] 2 is a block diagram showing the functional configuration of the CPU module 32 and the operation control module 36. The CPU module 32 has a user program storage means 321 that stores a user program, a user program execution means 322 that executes the user program, and a data link means 323 for transmitting and receiving data to and from optional modules including the operation control module 36 via the data bus 300 of the base 30.

[0026] The user program storage means 321 is composed of a non-volatile memory such as a flash memory or a battery-backed RAM. The user program execution means 322 and the data link means 323 are realized by, for example, a CPU (Central Processing Unit) executing a system program stored in the non-volatile memory.

[0027] The operation control module 36 has a data link means 361 for transmitting and receiving data with the CPU module 32 via the data bus 300 of the base 30, a setting data storage means 362 for storing the index position and the like of a moving body operated by the servo motor 7, an operation command output means 363 for outputting an operation command to the servo amplifier 4 in accordance with a sequence program, a torque information acquisition means 364 for acquiring from the servo amplifier 4 the instantaneous value of the torque generated in the servo motor 7, and an actual load index value calculation means 365 for calculating an actual load index value indicating the magnitude of the load during the rotational operation of the servo motor 7 based on the instantaneous torque value acquired by the torque information acquisition means 364.

[0028] The setting data storage means 362 is made of a non-volatile memory such as a flash memory or a battery-backed RAM. The data link means 361, the operation command output means 363, the torque information acquisition means 364, and the actual load index value calculation means 365 are realized, for example, by the CPU of the operation control module 36 executing a system program, but some or all of the functions of these means may be realized by hardware such as an FPGA (Field Programmable Gate Array) or an ASIC (Application Specific Integrated Circuit).

[0029] The data link means 361 has a relay link function for sharing on / off information of a plurality of virtual relays with the CPU module 32, and a register link function for sharing the contents of a plurality of data registers having a data length of, for example, 16 bits with the CPU module 32. Each of the plurality of virtual relays used in the relay link function has a relay coil and an a-contact (normally open contact) and a b-contact (normally closed contact). Some of the plurality of virtual relays are output-side relays whose relay coils are turned on / off on the CPU module 32 side, and the other virtual relays are input-side relays whose relay coils are turned on / off on the operation control module 36 side.

[0030] The multiple data registers used in the register link function include an output data register written on the CPU module 32 side and read on the operation control module 36 side, and an input data register written on the operation control module 36 side and read on the CPU module 32 side. Data is written to the output data register according to the sequence program. The contents of the input data register are referenced in the determination process, etc., in the sequence program.

[0031] The motion control module 36 stores setting data for a plurality of index positions. This setting data is set by a user using, for example, the program creation device 5, and is stored in the setting data storage means 362. The setting data storage means 362 can store setting data for, for example, 700 index positions. Each index position is specified by an absolute position of the rotation axis coordinates or linear motion axis coordinates, and is set together with the movement speed (rotation speed) when moving toward that index position.

[0032] The CPU module 32 specifies each index position by writing an index position number, for example, from 0 to 699, to the data register on the output side, and then turns on a relay on the output side to instruct positioning execution. The motion command output means 363 of the motion control module 36 outputs a motion command to the servo amplifier 4 to perform positioning to the index position corresponding to the specified index position number. In response to this motion command, the servo amplifier 4 controls the position of the servo motor 7 by a position loop so that the position deviation calculated based on the detection signal of the position detector 73 becomes zero, and executes the indexing process.

[0033] The torque information acquisition means 364 of the motion control module 36 acquires an instantaneous value of the torque generated in the servo motor 7 at a predetermined sampling period by communicating with the servo amplifier 4 via the communication cable 13. The servo amplifier 4 transmits, for example, a torque command value in the control process of the servo motor 7 to the motion control module 36 as the instantaneous value of torque. The servo amplifier 4 may also transmit, to the motion control module 36, an instantaneous value of torque calculated based on a detection value (actual current value) of a current supplied to the servo motor 7 detected by a built-in current sensor. Furthermore, the servo amplifier 4 may also transmit, for example, a torque value detected by a torque sensor provided on the shaft 72 of the servo motor 7 or a rotating member rotated by the servo motor 7 to the motion control module 36 as the instantaneous value of torque.

[0034] The actual load index value calculation means 365 calculates an actual load index value indicating the magnitude of the load during this rotation operation as a value that can be referenced by the sequence program, based on the instantaneous torque value acquired during the rotation operation from the start of rotation to the stop of rotation of the servo motor 7 in response to the operation command output by the operation command output means 363. This actual load index value is specifically the square root of the average of the sum of the squares of the instantaneous torque values ​​acquired at each predetermined sampling (effective torque value), and is written to an input-side data register that is read out on the CPU module 32 side after positioning is completed.

[0035] The sequence program includes a command to compare the actual load index value with a threshold value and issue an alarm if the actual load index value falls outside the range defined by the threshold value. As a result, an alarm is issued when the torque of the servo motor 7 required to move the moving body increases due to a lack of lubricant in a portion where frictional sliding occurs when the moving body is moved by the servo motor 7, and the actual load index value exceeds the threshold value. This alarm is transmitted to a worker in a factory where the machinery 6 is installed, for example, by a display on the touch panel computer 20 of the operation panel 2, an alarm sound, or a voice message, and the like, to prompt the worker to perform maintenance on the machinery 6. In this way, it is possible to prevent excessive wear and heat generation in the frictional sliding portion.

[0036] Next, an example of the operation of the mechanical equipment 6 and the programmable controller 3 will be described with reference to Fig. 3 and Fig. 4. Fig. 3(a) is a schematic diagram of the slide table 8, which is a part of the mechanical equipment 6, viewed vertically from above, and Fig. 3(b) is a schematic diagram of the slide table 8 viewed horizontally. Fig. 3(b) shows a part of the slide table 8 in a vertical cross section. Fig. 4 is a timing chart showing the time-series change in the state of information exchanged between the CPU module 32 and the motion control module 36 of the programmable controller 3, together with graphs of the rotation speed and rotation torque of the servo motor 7.

[0037] The slide table 8 is composed of a pair of linear guide rails 81 arranged parallel to each other above a base 80, a slide block 82 that is supported by the pair of guide rails 81 and slides, a work table 83 on which a workpiece 9 is mounted, a ball screw 84 that is rotated by a servo motor 7, a coupling 85 that connects the shaft 72 of the servo motor 7 and the ball screw 84, a ball screw nut 86 that screws into the ball screw 84 via a plurality of balls (not shown), a connecting member 87 that connects the ball screw nut 86 and the slide block 82 together, a bearing mechanism 88 that supports the ball screw 84 rotatably relative to the base 80, and a motor bracket 89 for fixing the main body 71 of the servo motor 7 to the base 80.

[0038] The work table 83 is fixed to an upper surface 82a of the slide block 82. A plurality of locking projections 831 are provided on the mounting surface 83a of the work table 83 on which the work 9 is mounted to prevent the work 9 from shifting from its position. The bearing mechanism 88 has a plurality of ball bearings 881, 882, and a bearing holder 883 that supports the ball bearings 881, 882. The slide block 82 slides on the pair of guide rails 81 by the rotation of the ball screw 84, and the work table 83 moves linearly along the pair of guide rails 81 together with the slide block 82.

[0039] 4 shows an example of a timing chart when the reference position P of the work table 83 moves from position A (movement start position) to position B (target position) shown in FIG. 3(a). This movement of the work table 83 starts when the work 9 is placed on the placement surface 83a, for example.

[0040] The indexing position number shown in Fig. 4 is data written by the CPU module 32 to the output data register according to the sequence program. When the indexing position number is written, the motion control module 36 writes the same data as the written data to the input data register as an answerback. When the sequence program confirms that the indexing position number written to the output data register matches the indexing position number written to the input data register as an answerback, it turns on the output relay that instructs positioning execution. This causes the motion command output means 363 of the motion control module 36 to output a motion command to the servo amplifier 4.

[0041] The servo amplifier 4, which has received this operation command, supplies a current to the servo motor 7 to rotate the shaft 72, and moves the slide block 82, which serves as a moving body, to position B. When the moving speed increases after the start of this movement, the positive rotational torque rises significantly, and when the speed reaches the target value, the rotational torque becomes approximately constant. This rotational torque has a magnitude corresponding to the sliding resistance generated by the slide block 82 sliding on the pair of guide rails 81. When the reference position P approaches position B, the servo amplifier 4 causes the servo motor 7 to generate a negative rotational torque to decelerate the slide block 82, and the slide block 82 is stopped at a position where the reference position P coincides with position B.

[0042] When the movement of the slide block 82 to position B is completed, the motion control module 36 calculates an actual load index value, writes it to the input data register, and turns on the output relay indicating the completion of positioning. When the sequence program confirms this on state, it turns off the relay that instructs the execution of positioning. The sequence program also compares the actual load index value with a predetermined threshold value, and issues an alarm if the actual load index value is greater than the threshold value.

[0043] 5 is a flowchart showing an example of a processing procedure executed by the operation control module 36 to calculate an actual load index value after outputting an operation command to the servo amplifier 4. In this flowchart, variable T is an instantaneous torque value acquired by the torque information acquisition means 364. Variable S is an integrated value of the square of variable T. Variable N is a counter value indicating the number of times that the instantaneous torque value has been acquired by the torque information acquisition means 364. Variable Trms is the actual load index value.

[0044] 5, the motion control module 36 first clears variables S and N (step S1), and determines whether the servo motor 7 has started rotating (step S2). The determination in step S2 can be made, for example, by checking whether the rotation speed of the servo motor 7 acquired by communication with the servo motor 7 is substantially 0 or not.

[0045] After the servo motor 7 starts rotating, the motion control module 36 acquires an instantaneous value of the torque of the servo motor 7 at every predetermined sampling period (step S3), adds the squared value of this instantaneous value (variable T) to variable S (step S4), and increments variable N (step S5). After this calculation process, it is determined whether or not movement to the target position is complete (step S6), and if movement is not complete (S6: No), the processes from step S3 onwards are executed again. Whether or not movement to the target position is complete can be determined, for example, from information on the rotation speed and position of the servo motor 7 acquired from the servo amplifier 4.

[0046] On the other hand, if the movement to the target position is completed (S6: Yes), the square root of the value obtained by dividing the variable S by the variable N is calculated to obtain the variable Trms (step S7), and this variable Trms is written to the input-side data register (step S8). The value (actual load index value) written to the data register in step S8 can be referenced by the sequence program. Of the above processes, the process of step S3 is a process performed by the torque information acquisition means 364, and the processes of steps S4 to S8 are a process performed by the actual load index value calculation means 365.

[0047] FIG. 6 is an explanatory diagram showing a part of a sequence program stored in the CPU module 32. FIG. 6 shows a command to compare the actual load index value written to the data register by the operation control module 36 with a threshold value and to generate an alarm if the actual load index value is greater than the threshold value. In the symbol [>D D0100 > 10d] shown in FIG. 6, "D>" indicates that this is a command to compare the contents of the data register with a decimal constant. The first operand D0100 indicates the address of the data register to which the actual load index value is written. The second operand 10d indicates the threshold value (decimal number). Also, Y010 indicates the address of one of the actual relays of the output module 34.

[0048] 6, when the actual load index value is greater than the threshold value of 10 (N·m), the output relay Y010 is turned on. The contact of the output relay Y010 is connected to an alarm device for issuing an alarm to an operator, etc., and when the output relay Y010 is turned on, an alarm is issued to the operator. The alarm device is, for example, a warning light or a buzzer. In addition, the touch panel computer 20 of the operation panel 2 reads out the on / off state of the output relay Y010 from the CPU module 32, and when it is in the on state, it is possible to issue an alarm to an operator, etc. by displaying it on the screen.

[0049] According to the embodiment described above, the actual load index value indicating the magnitude of the load during the rotational operation of the servo motor 7 is calculated by the operation control module 36, and this actual load index value can be referred to in the sequence program, so that it is possible to grasp the state of the machine equipment 6 more accurately than, for example, the above-mentioned conventional abnormality diagnosis device diagnoses the state of the machine tool based on the detection results of sound and vibration. In addition, since there is no need to provide a diagnostic computer as in the conventional abnormality diagnosis device, it is possible to suppress an increase in costs. Furthermore, since the series of processes shown in the flowchart of FIG. 5 are executed within the operation control module 36, the workload of the programmer who creates the sequence program can be greatly reduced compared to, for example, the sequence program combines multiple arithmetic instructions to calculate the actual load index value.

[0050] (Additional Note) The present invention has been described above based on the embodiments, but the invention according to the claims is not limited to these embodiments. It should be noted that not all of the combinations of features described in the embodiments are essential to the means for solving the problems of the invention. The present invention can be modified as appropriate by omitting some components or adding or replacing components without departing from the spirit of the invention.

[0051] In addition, in the above embodiment, the case where the root mean square of the sum of squares of the instantaneous values ​​of torque is used as the actual load index value has been described. However, this is not limited to this. For example, the actual load index value may be the average or total value of the sum of squares of the instantaneous values ​​of torque during the rotational operation of the servo motor 7, or the average or total value of the absolute values ​​of the instantaneous values ​​of torque.

[0052] In the above embodiment, the torque information acquisition means 364 of the motion control module 36 acquires the instantaneous value of the torque generated in the servo motor 7 from the servo amplifier 4. However, if a torque sensor is provided to detect the torque generated in the servo motor 7, the motion control module 36 may acquire the detected value of the torque sensor without passing through the servo amplifier 4. In this case, it is desirable to provide the motion control module 36 with a receiving circuit for receiving the detection signal from the torque sensor and an AD conversion circuit for converting the analog signal received by the receiving circuit into a digital signal. The receiving circuit and the AD conversion circuit constitute the torque information acquisition means 364 in the motion control module 36.

[0053] In the above embodiment, the programmable controller 3 is configured by combining a plurality of modules 31 to 36, but the present invention is not limited to this, and the functions of each module may be integrated into a single device. Furthermore, if a plurality of servo amplifiers can be accommodated in a common rack, the programmable controller may be configured to be accommodated in the rack. In this case, data can be exchanged between the programmable controller and the plurality of servo amplifiers via a data bus provided on the board of the rack. [Explanation of symbols]

[0054] 1...Control system 3...Programmable controller 32... CPU module 321... user program storage means 322...user program execution means 36...operation control module 362: Setting data storage means 363: Operation command output means 364: Torque information acquisition means 365: Actual load index value calculation means 4...Servo amplifier 7...Servo motor

Claims

1. A control system comprising: a servo amplifier that supplies a drive current to a servo motor; and a programmable controller that outputs an operation command to the servo amplifier, the servo amplifier controlling the servo motor in response to the operation command, the programmable controller comprises: a storage means for storing a user program; a user program execution means for executing the user program; an operation command output means for outputting the operation command in accordance with the user program; a torque information acquisition means for acquiring an instantaneous value of a torque generated in the servo motor; and an actual load index value calculation means for calculating an actual load index value indicating the magnitude of a load during the rotation operation as a value that can be referenced by the user program, based on the instantaneous value of the torque acquired by the torque information acquisition means during the rotation operation from the start of rotation of the servo motor in response to the operation command to the stop of rotation; the actual load index value calculated by the actual load index value calculation means is a square root of a value obtained by dividing a sum of squares of instantaneous values ​​of the torque acquired at each predetermined sampling period during the rotation operation by the number of samplings during the rotation operation. Control system.

2. the user program includes instructions for comparing the actual load index value with a threshold value and issuing an alarm if the actual load index value falls outside a range defined by the threshold value. The control system of claim 1 .

3. A programmable controller that outputs an operation command to a servo amplifier that supplies a drive current to a servo motor, the servo motor includes a storage means for storing a user program, a user program execution means for executing the user program, an operation command output means for outputting the operation command in accordance with the user program, a torque information acquisition means for acquiring an instantaneous value of a torque generated in the servo motor, and an actual load index value calculation means for calculating an actual load index value indicating the magnitude of a load during the rotation operation as a value that can be referenced by the user program, based on the instantaneous value of the torque acquired by the torque information acquisition means during the rotation operation of the servo motor from the start of rotation to the stop of rotation in response to the operation command, the actual load index value calculated by the actual load index value calculation means is a square root of a value obtained by dividing a sum of squares of instantaneous values ​​of the torque acquired at each predetermined sampling period during the rotation operation by the number of samplings during the rotation operation. Programmable controller.

4. An operation control module constituting a programmable controller in combination with a CPU module having a storage means for storing a user program and a user program execution means for executing the user program, an operation command output means for outputting an operation command to a servo amplifier which supplies a drive current to a servo motor in accordance with the user program; a torque information acquisition means for acquiring an instantaneous value of a torque generated in the servo motor; and an actual load index value calculation means for calculating an actual load index value which indicates a magnitude of a load during the rotation operation as a value which can be referenced by the user program, based on the instantaneous value of the torque acquired by the torque information acquisition means during the rotation operation of the servo motor from the start of rotation to the stop of rotation in accordance with the operation command, the actual load index value calculated by the actual load index value calculation means is a square root of a value obtained by dividing a sum of squares of instantaneous values ​​of the torque acquired at each predetermined sampling period during the rotation operation by the number of samplings during the rotation operation. Motion control module.

Citation Information

Patent Citations

  • controller

    JP1989280804A

  • Electromotive injection molding machine

    JP2002307484A

  • Abnormality diagnostic device and abnormality diagnostic program

    JP2004334363A

  • Machine tool

    JP2009107082A