Power transmission mechanism management device and program management system

The power transmission mechanism management device facilitates easy software function addition and modification by updating management programs via an external communication unit, addressing resource limitations in conventional industrial equipment.

JP7776266B2Active Publication Date: 2025-11-26HITACHI IND EQUIP SYST CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2021083693
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-05-18
Publication Date
2025-11-26
Estimated Expiration
2041-05-18

AI Technical Summary

Technical Problem

Conventional industrial equipment is limited by its built-in computing resources and storage, making it difficult to add or modify software functions, such as anomaly detection algorithms, without replacing the entire system, especially when power transmission mechanisms change.

Method used

A power transmission mechanism management device with an operation control unit, state management unit, external communication unit, and update unit that allows for the replacement and updating of management programs to accommodate different power transmission mechanisms, enabling easy addition or change of software functions.

Benefits of technology

Enables easy addition or modification of software functions without needing new industrial equipment, reducing costs by allowing existing programs to be updated and tailored to the type of power transmission mechanism.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007776266000001
    Figure 0007776266000001
  • Figure 0007776266000002
    Figure 0007776266000002
  • Figure 0007776266000003
    Figure 0007776266000003
Patent Text Reader

Abstract

To provide a power transmission mechanism management apparatus and a program management system which can easily realize addition and modification of software function for managing a power transmission mechanism and data related to the function.SOLUTION: The present invention is directed to a power transmission mechanism management apparatus 3 for managing a power transmission mechanism for transmitting, to a load side device 70, power of a an electric motor 4 in an industrial equipment system 1 in which a plurality of industrial equipment are operated in cooperation with one another. The power transmission mechanism management apparatus has an operation control unit for controlling the electric motor to make the power transmission mechanism executing a predetermined operation, a state management unit for executing a first management program to manage a state of the power transmission mechanism based on input information input from the electric motor, an external communication unit for communicating with an external device so as to acquire a second management program in response to a kind of the power transmission mechanism, and an updating unit for replacing the second management program with the first management program so that the state management unit can execute it.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 power transmission mechanism management device and a program management system, and in a non-limiting specific field, relates to a management device that manages the operating state of a power transmission mechanism connected to an electric motor of industrial equipment (e.g., conveyance or machining machines) used in factories or offices. [Background technology]

[0002] Generally, in various industrial equipment such as conveying equipment, injection molding machines, and presses, power is supplied from a power source (typically an electric motor that generates power using AC or DC current) to some kind of load device via a power transmission mechanism. The power transmission mechanism for the electric motor used in such industrial equipment can be of various types, such as timing belts, ball screws, cams, and gears.

[0003] On the other hand, industrial equipment equipped with such power transmission mechanisms requires the use of various software programs and management data to monitor the status of the motors and power transmission mechanisms and manage the maintenance and durability of parts, etc. For this reason, many industrial devices are equipped with functions to control the position, speed, and torque of the motors that drive the load side devices, functions to monitor the operating status of the motors, and various other functions.

[0004] Furthermore, since once degradation of a power transmission mechanism such as a belt begins, the degradation progresses rapidly, there is a demand for industrial equipment systems equipped with a function for detecting abnormalities in such power transmission mechanisms. For example, Patent Document 1 describes an abnormality diagnosis device and an abnormality diagnosis method equipped with a function for detecting abnormalities in a power transmission mechanism (such as a belt). The technology described in Patent Document 1 focuses on the fact that when a belt driven by an electric motor deteriorates, the frequency with which the signal strength of the current flowing through the motor increases (the frequency with which spectrum peaks occur) increases, and describes that an abnormality in the power transmission mechanism is detected by performing an FFT analysis of the current, for example. [Prior art documents] [Patent documents]

[0005] [Patent Document 1] International Publication No. 2018 / 109993 Summary of the Invention [Problem to be solved by the invention]

[0006] However, when trying to realize an abnormality detection function such as that described in Patent Document 1 using a software program, if the power transmission mechanism connected to the electric motor is changed, it may become necessary to change the algorithm used itself.

[0007] For example, if the power transmission mechanism is changed from a timing belt to a ball screw, the driving mode of the electric motor itself will change, which will require changing the algorithm used and ultimately the entire software program that performs the abnormality detection function.

[0008] In contrast, conventional industrial equipment has limitations on the resources of its built-in computing devices and storage devices, and is therefore limited to a limited number of functions, making it impossible to execute functions other than those already implemented. Therefore, when it becomes necessary to add a function or when it is desired to use an upgraded function or a newly developed function (such as an anomaly detection algorithm), it is necessary to introduce (purchase, lease, etc.) new industrial equipment with the added function. Against this background, it is believed that there is a growing need or desire in the industrial equipment field for the ability to add new functions or change existing functions without having to replace the equipment.

[0009] An object of the present invention is to provide a powertrain mechanism management device and software management system that can easily realize the addition and modification of software functions for managing powertrain mechanisms and data related to those functions. [Means for solving the problem]

[0010] Among the inventions disclosed in this application, the outline of representative inventions will be briefly explained as follows.

[0011] A power transmission mechanism management device according to a representative embodiment of the present invention includes an operation control unit that controls an electric motor to cause the power transmission mechanism to perform a predetermined operation; a state management unit that executes a first management program and manages the state of the power transmission mechanism based on input information input from the electric motor; an external communication unit that communicates with an external device to obtain a second management program corresponding to the type of power transmission mechanism; an update unit that replaces the first management program with the second management program and updates the second management program so that it can be executed by the state management unit; and a library memory that stores a plurality of second management programs, wherein the first management program or the second management program is an abnormality detection program that causes the state management unit to determine whether or not an abnormality exists in the power transmission mechanism, and the update unit selectively reads out the second management program from the library memory and updates the read second management program as follows: In memory for execution The external communication unit replaces the first management program and outputs the second management program that has become less frequently used among the second management programs stored in the library memory to the external device when communicating with the external device. [Effects of the Invention]

[0012] The effects obtained by the representative inventions disclosed in this application will be briefly explained as follows.

[0013] In other words, in a powertrain management device according to a representative embodiment of the present invention, an existing first management program is replaced with a second management program tailored to the type of powertrain device, and the second management program is updated so that it can be executed by the status management unit. This makes it easy to add or change software functions that manage the powertrain and data related to those functions.

[0014] Furthermore, even if it is necessary to add a function that has not yet been implemented in the management device or a newly developed function (such as an anomaly detection algorithm), the function can be used by obtaining and updating the second management program through the external communication unit, thereby eliminating the need to introduce new industrial equipment and reducing costs. [Brief explanation of the drawings]

[0015] [Figure 1] 1 is a block diagram for explaining the configuration of a power transmission mechanism management device (electric motor control device) and an industrial equipment system (program management system) according to a first embodiment. [Figure 2] 10 is a flowchart showing an example of processing of an abnormality detection program for diagnosing deterioration of a power transmission mechanism. [Figure 3] 3 is a graph showing the state of an abnormality detection operation when the abnormality detection program shown in FIG. 2 is executed, together with the waveforms of motor operation information (p(t), v(t), iq(t)). [Figure 4] 10 is a flowchart illustrating another example of the processing of an abnormality detection program for diagnosing deterioration of a power transmission mechanism, showing an algorithm to which an abnormality detection teacher data switching function has been added. [Figure 5] FIG. 10 is a block diagram showing the configuration of another embodiment of the electric motor control device, illustrating an example in which the contents (algorithm) of the electric motor control program to be executed can be updated. [Figure 6] 6 is a diagram schematically showing a hardware configuration (inverter circuit) equivalent to or similar to the program configuration shown in FIG. 5. FIG. [Figure 7] FIG. 10 is a flowchart showing an outline of a process for acquiring and updating a new function program. DETAILED DESCRIPTION OF THE INVENTION

[0016] Hereinafter, embodiments of the present invention will be described. Each embodiment described below is an example for realizing the present invention, and does not limit the technical scope of the present invention. In the examples, components having the same function are given the same reference numerals, and repeated explanations thereof will be omitted unless particularly necessary.

[0017] <Overview> First, an outline of an embodiment to which the present invention is applied will be described. The following embodiment is realized as a power transmission mechanism management device (hereinafter simply referred to as a "management device") that manages a power transmission mechanism that transmits power from an electric motor used in an industrial equipment system to a load-side device in an industrial equipment system in which multiple industrial equipment operate in cooperation with each other.

[0018] The management device includes an operation control unit that operates the power transmission mechanism by performing feedback control on the electric motor so that the operation of the power transmission mechanism corresponds to the operation of a linked device that is linked to the power transmission mechanism; a state management unit that manages the state of the power transmission mechanism through signals using input information data (hereinafter sometimes referred to as "related data") input (feedback) from the electric motor to the operation control unit by expanding and executing a management program (first management program) in a working memory; an external communication unit (which may also be referred to as a "management program acquisition unit") that communicates with an external device to acquire a management program (second management program) corresponding to the type of power transmission mechanism; and an update unit that replaces the acquired management program (second management program) with the management program (first management program) in the working memory and updates the status management unit so that it can be executed.

[0019] By providing the above-described configuration, it becomes possible to easily add or change software functions implemented in the management device and related data derived from or associated with the software functions.

[0020] Hereinafter, a more specific embodiment of the above configuration will be described in detail with reference to the drawings. In the following example, the functions of the operation control unit, the status management unit, the management program acquisition unit, and the update unit are executed by the same (single) hardware processor, but in another example, these functions may be executed by multiple hardware processors.

[0021] (Embodiment 1) 1 is a block diagram for explaining the configuration of a power transmission mechanism management device (motor control device) and an industrial equipment system (program management system) according to embodiment 1. Hereinafter, the industrial equipment system 1 shown in FIG. 1 will be abbreviated as "this system" where appropriate.

[0022] This system is constructed so that multiple pieces of industrial equipment operate in cooperation with one another, and some of the main pieces of equipment are extracted and shown in Figure 1. Specifically, the equipment that makes up this system includes a controller 2, an electric motor control device 3, an electric motor 4, a power transmission mechanism (a ball screw 5 is shown as an example in Figure 1), an operation terminal 6, a server 10, an upstream device 60 arranged upstream of the ball screw 5 in the conveying direction, and a downstream device 70 as a load device arranged downstream of the ball screw 5.

[0023] Of the above-mentioned devices (industrial equipment) that make up this system, the main role of the motor control device 3 is to control the operation of the motor 4 and the power transmission mechanism connected to the motor 4. In addition, the motor control device 3 of the embodiment can also be equipped with a function to diagnose the state (presence or absence of abnormality) of the power transmission mechanism.

[0024] Of the above, the power transmission mechanism and the load-side device are the same in that they both transmit and utilize the power of the electric motor 4, but in terms of the magnitude of the load, the load on the power transmission mechanism is usually smaller. However, depending on the gear ratio set in the power transmission mechanism and the mass of the moving parts within the power transmission mechanism, the load on the power transmission mechanism may be larger than that on the load-side device. For the sake of convenience, the following explanation assumes that the load on the power transmission mechanism is smaller than that on the load-side device. The function of diagnosing the presence or absence of an abnormality in the power transmission mechanism in the electric motor control device 3 will be described in detail later.

[0025] As a specific example, this system is assumed to be a system consisting of multiple industrial devices installed in an assembly factory for electrical appliances manufactured by assembling multiple parts. However, in this embodiment, the locations where individual industrial devices are installed (placed) are not particularly limited, and the devices can be placed in various other locations, such as in any facility or at a construction site.

[0026] In this system, in order to coordinate operations between devices (industrial equipment), particularly between the controller 2, motor control device 3, operation terminal 6, and server 10, they are connected so as to be able to send and receive data to and from each other via existing communication networks (in this example, a wide area communication network 100, which is a public communication network, and a communication network 102, which is an industrial communication network). Of these, the server 10, operation terminal 6, etc. can be located in a location remote from the other industrial equipment that constitutes this system.

[0027] <server> The server 10 is a server (for example, an FTP server) that provides software function programs and corresponds to an "external device." The server 10 includes a processor such as a CPU, a communication unit such as a modem, a data storage unit such as a HDD, a display unit such as an LCD, and an operation input unit such as a keyboard or a mouse. These are well-known components, so illustrations and detailed description are omitted.

[0028] 1, the server 10 stores in the data storage unit an abnormality detection program library group 11 and an abnormality detection data library group 12. Of these, the abnormality detection program library group 11 is a collection of multiple (N types) abnormality detection programs (see FIG. 1 as appropriate) that are acquired and executed by the motor control device 3.

[0029] Here, "multiple (N types)" is not particularly limited and can be any number. For example, N types of abnormality detection programs can be provided according to the types of power transmission mechanisms that can be expected to be used in this system. Alternatively, even if the type of power transmission mechanism used is the same, different types of abnormality detection programs can be provided according to the type (model number, etc.) of the electric motor 4 controlled by the electric motor control device 3. Furthermore, even if the type of power transmission mechanism and the type (model number, etc.) of the electric motor 4 are the same, an abnormality detection program after a so-called upgrade can be treated as a different type from the abnormality detection program before the upgrade.

[0030] On the other hand, the anomaly detection data library group 12 in the server 10 is data (associated data) used by each of the multiple (N types) anomaly detection programs described above. This associated data includes, for example, various information used by the anomaly detection program to determine whether or not a specific type of power transmission mechanism has an abnormality, such as input information (waveform data, etc.) of the electric motor 4, functions used, and threshold values ​​related to the presence or absence of an abnormality.

[0031] In the following description, it is assumed that the above-mentioned associated data or a portion of the associated data is data that can be acquired by the motor control device 3 when the corresponding anomaly detection program is executed. For this reason, in this system, it is not necessary to prepare all of the associated data for the multiple (N types) anomaly detection programs in the server 10 as the anomaly detection data library group 12. On the other hand, when an anomaly detection program supplied from the server 10 is used (executed) for the first time in the motor control device 3, it may be necessary to set some reference value or initial value. For this reason, it is desirable that the anomaly detection data library group 12 include the minimum necessary data (reference values, initial values, etc.) from the data (associated data) used in each of the multiple (N types) anomaly detection programs described above.

[0032] Furthermore, when a software developer upgrades an existing anomaly detection program and adds it to the anomaly detection program library group 11, or when developing an anomaly detection program with new functions, control methods, etc., it is considered that the related data (so-called actual measurement data) acquired by the motor control device 3 will often be useful as a reference. For this reason, in this system, it is preferable that the related data acquired by the motor control device 3 be transmitted (provided) to the server 10 directly or via the controller 2 through the above-mentioned communication networks (100, 102). By providing such data, it is expected that the anomaly detection program library group 11 in the server 10 will be enriched.

[0033] <controller> In this system, the primary role of the controller 2 is to output control signals (commands to start or stop the operation of the motor 4, setting signals related to the basic operations of the motor 4 that are set in advance (reserved), etc.) to the motor control device 3. Examples of the controller 2 include a PLC (Programmable Logic Controller) and a motion controller.

[0034] In this embodiment, the controller 2 also has a function of saving and managing the software function programs used by the motor control device 3, and a function of saving and managing the above-mentioned related data generated by the execution of the software function programs. Therefore, the controller 2 also corresponds to an "external device."

[0035] The controller 2 includes a CPU 20 that controls the entire controller 2, a communication unit such as a communication card for wired or wireless communication, a data storage unit such as an HDD, a display unit such as an LCD, and an operation input unit such as a key switch. Note that the above-mentioned hardware configuration itself is well known, and therefore a detailed description thereof will be omitted where appropriate.

[0036] 1 shows an example in which three types of anomaly detection programs (A) 211, (B) 212, and (C) 213 are stored as program library 21 in the data storage section of controller 2, and data (221-223) used by these anomaly detection programs is stored as data library 22. That is, anomaly detection data (A) 221 in data library 22 is data used for anomaly detection program (A) 211, anomaly detection data (B) 222 is data used for anomaly detection program (B) 212, and anomaly detection data (C) 223 is data used for anomaly detection program (C) 213.

[0037] In addition, the CPU 20 of the controller 2 functions as an output control unit that outputs any one of the abnormality detection programs (A) 211, (B) 212, and (C) 213 in the data storage unit (second management program) to the motor control device 3 via the communication unit.

[0038] In addition, the CPU 20 of the controller 2 has the function of managing the abnormality detection program, etc. used in the motor control device 3, for example by checking the identity of the abnormality detection program stored in the data storage unit with the abnormality detection program and abnormality detection data (hereinafter referred to as the abnormality detection program, etc.) stored in the library memory 32 of the motor control device 3.

[0039] In one specific example, the data storage unit of the controller 2 has a capacity large enough to store more data (anomaly detection programs and anomaly detection data) than the library memory 32 of the motor control device 3. Such a configuration facilitates management, for example, by storing an anomaly detection program or the like in the motor control device 3 that is no longer used frequently in the data storage unit of the controller 2, and instead moving an anomaly detection program or the like that will be used in the near future from the controller 2 to the motor control device 3 (memory 32).

[0040] <Operation terminal> The operation terminal 6 has the function of outputting various commands to any of the devices constituting the system, such as the server 10, the controller 2, and the motor control device 3. In the example shown in FIG. 1, the operation terminal 6 is a laptop PC, and compared to the controller 2 described above, it has a larger display area, more key switches, and a larger data storage capacity. For this reason, the operation terminal 6 may function as an "external device" similar to the controller 2. However, to avoid complicating the explanation, only functions unique to the operation terminal 6 will be mentioned below. Furthermore, the hardware configuration of the operation terminal 6 is the same as that of the server 10 described above and is publicly known, so illustrations and detailed description thereof will be omitted.

[0041] <Communication Network> In this system, the controller 2, motor control device 3, operation terminal 6, and server 10 are capable of exchanging data with each other via a wide area communication network 100 (public communication network). For example, by operating the operation terminal 6, a user can operate and monitor the server 10 and controller 2, and send the operating status of the motor control device 3 from the controller 2 to the server 10 and operation terminal 6.

[0042] The wide area communication network 100 may be realized wirelessly as well as wired. For example, when wireless communication is performed between devices, an access point 101 conforming to a communication protocol such as Wi-Fi (registered trademark) or Bluetooth (registered trademark) may be provided inside the wide area communication network 100, and the controller 2 and operation terminal 6 may be equipped with a compatible antenna circuit and driver (see FIG. 1 as appropriate).

[0043] In this system, the controller 2 and the motor control device 3 can exchange data with each other via a communication network 102. In one specific example, the controller 2 can transmit an operation command generated by the controller 2 to the motor control device 3, and conversely, the controller 2 can receive the operating status of the motor control device 3.

[0044] The communication network 102 as an industrial communication network performs communication using a so-called industrial communication protocol (for example, EtherCAT (registered trademark)), but may also be an input / output interface for analog signals.

[0045] As another example of the system configuration, the electric motor control device 3 may be directly connected to the wide area communication network 100, in which case the controller 2 may be omitted.

[0046] <Electric motor> The electric motor 4 is an electric motor that rotates an internal rotor (not shown) and a rotating shaft 41 integral with the rotor when supplied with electric power. In one specific example, the electric motor 4 is a servomotor operated by three-phase alternating current (AC). This servomotor rotates the rotor around the rotating shaft 41 using AC voltage and control signals input from the electric motor control device 3, and sends a feedback signal as motor operation information during the rotation. The motor control device 3 then performs feedback control of the operation of the electric motor 4 (e.g., rotation direction, speed, time, stop position and timing, etc.). Regarding the feedback signal, for example, as shown in FIG. 6 , a position detector 7 such as a rotary encoder can be attached to the rotating shaft 41, and the detected value of the position detector 7 can be input to the electric motor control device 3 to obtain the rotor position (rotational position information) of the electric motor 4. Note that the type of the electric motor 4 (e.g., power supply system such as DC / AC, power generation system such as rotary or linear) is not particularly limited in the present invention.

[0047] <Power transmission mechanism> 1 illustrates an example in which a ball screw 5 is used as a power transmission mechanism for transmitting the power of an electric motor 4. The ball screw 5 is a device that converts the power generated by the rotational motion of the electric motor 4 into linear motion, thereby transporting a part or the like (workpiece W) placed thereon.

[0048] In one specific example, the ball screw 5 includes a screw shaft 51 connected (coupled) to the rotating shaft 41 of the electric motor 4, a housing (not shown) that holds the screw shaft 51 rotatably, a nut attached to the screw shaft 51, and a workpiece mounting portion 52 that is integral with the nut.

[0049] When the screw shaft 51, which rotates integrally with the rotor of the electric motor 4, rotates in the direction of the arrow 41a in Fig. 1 (for example, clockwise), the workpiece placement unit 52 moves in one direction in accordance with the rotation direction of the screw shaft and the shape of the spiral groove, for example, to the left in Fig. 1, thereby transporting the workpiece W placed on the upper surface in the same direction. The transported workpiece W is delivered to a linked device (downstream device 70) arranged downstream of the transport path.

[0050] Thereafter, when the screw shaft 51 rotates counterclockwise (in the direction of arrow 41b) based on the control of the electric motor 4 by the electric motor control device 3, the workpiece placement unit 52 moves in the opposite direction to the above, that is, in this example, to the right in Fig. 1. In other words, the workpiece placement unit 52 moves to the initial position or a predetermined standby position in order to load the next workpiece supplied from the upstream device 60 (for example, a robot that picks up parts) and transport it to the downstream device 70.

[0051] Here, the downstream device 70 is a load-side device (industrial equipment) that utilizes the power of the electric motor 4, and is, for example, a belt conveyor (not shown). Generally, a belt conveyor includes a pair of rollers, a belt stretched over the two rollers, and a support (frame) that rotatably holds the rollers and supports the belt in a position where it does not contact the ground. The roller shaft of one of the rollers in the belt conveyor is connected to the screw shaft 51 (rotation shaft) of the ball screw 5 via a one-way clutch, so that the belt conveyor transports the workpiece W transferred onto the belt from the ball screw 5 in only one direction (the direction perpendicular to the plane of the paper in FIG. 1).

[0052] That is, when the screw shaft 51 of the ball screw 5 rotates in a direction corresponding to the opposite direction of the workpiece transport direction (return direction, i.e., rightward in FIG. 1), the rollers and belt of the belt conveyor rotate in a direction that transports the workpieces on the belt surface, transporting the workpieces W on the belt. Conversely, when the screw shaft 51 of the ball screw 5 rotates in a direction that corresponds to the workpiece transport direction (leftward in FIG. 1), the rollers and belt of the belt conveyor come to a standstill or stop due to the action of the one-way clutch.

[0053] By repeating this operation, the belt conveyor stops until the workpiece W is transferred from the ball screw 5 to the belt conveyor, and the belt conveyor can transport the workpiece W on the belt while the ball screw 5 rotates in the return direction to load a new workpiece. With this configuration, the power of the electric motor 4 can be used efficiently.

[0054] The above-described linked operation and form of utilization of the power of the electric motor 4 are merely examples, and the power of the electric motor 4 can be utilized by combining various other types of power transmission mechanisms and linked devices (load side devices).

[0055] <Motor control device> In this system, the electric motor control device 3 has the function of controlling the operations of the electric motor 4 and the ball screw 5 in order to smoothly perform the linked operations between the devices (industrial equipment) described above.

[0056] 1, the motor control device 3 includes a control unit 30 that controls the entire motor control device 3, an external communication unit 31 for communicating with external devices via the above-mentioned communication networks (100, 102), a library memory 32 for saving programs and data, and an execution memory 33 for executing various programs. The motor control device 3 also includes an operation display unit 36, such as a liquid crystal display with a touch panel. The operation display unit 36 ​​displays the status of each unit of the motor control device 3 under the display control of the control unit 30. The operation display unit 36 ​​also inputs operation signals to the control unit 30 in accordance with touch operations by the user.

[0057] Of the above, the execution memory 33 is a volatile memory such as a random access memory (RAM), and functions as a work area for expanding or temporarily storing various programs and data used by the control unit 30.

[0058] On the other hand, in one specific example, the library memory 32 is a non-volatile memory separate from the memory 33, and various storage devices for storing data can be used, such as a HDD, EEPROM, flash memory, etc. The library memory 32 does not require high speed reading and writing compared to the execution memory 33, but is ensured to have a larger data storage capacity than the execution memory 33 so that it can store multiple programs and the data obtained by executing those programs.

[0059] In this embodiment, the memory 32 and the memory 33 are connected via switches 34 and 35. Of these, the switch 34 functions as a switching unit for selectively reading out a plurality of anomaly detection programs stored in the library memory 32 into the execution memory 33. On the other hand, the switch 35 functions as a switching unit for selectively reading out or saving anomaly detection data between the memory 32 and the memory 33. These switches 34 and 35 are so-called logical switches that are switched under the control of the control unit 30. As another example, the memory 32 and the memory 33 may be the same storage medium (for example, a large-capacity RAM), in which case the switches 34 and 35 are not necessary.

[0060] The control unit 30 is configured to have a microcomputer for embedded devices, which includes, for example, a processor such as a CPU or MPU, a ROM storing a basic program, various I / O interfaces, etc., and is configured to perform various functions in cooperation with the program.

[0061] In the example shown in Figure 1, the library memory 32 stores an abnormality detection program (A) for diagnosing deterioration of the ball screw 5 described above (hereinafter, this may be referred to as ball screw deterioration diagnosis program 321A), and an abnormality detection program (B) for diagnosing deterioration of the bearing that rotatably supports the rotating shaft 41 of the electric motor 4 (hereinafter, this may be referred to as bearing deterioration diagnosis program 321B).

[0062] In this embodiment, the bearing deterioration diagnosis program 321B corresponds to the "first management program," and the ball screw deterioration diagnosis program 321A corresponds to the "second management program." In other words, in this system, when the electric motor 4 is replaced, the electric motor control device 3 is also replaced, so the bearing deterioration diagnosis program 321B is implemented as the default software function program (first management program). On the other hand, since it is assumed that the power transmission mechanism connected to the electric motor 4 will be replaced, FIG. 1 shows the state after the ball screw deterioration diagnosis program 321A (second management program) has been acquired from an external device (the server 10 or the controller 2).

[0063] Furthermore, abnormality detection data (A) 322A as associated data used in the above-mentioned ball screw deterioration diagnosis program 321A, and abnormality detection data (B) 322B as associated data used in the above-mentioned bearing deterioration diagnosis program 321B are stored as associated data in the library memory 32. The abnormality detection data (A) 322A and the abnormality detection data (B) 322B are each data generated based on input information input from the electric motor 4. The contents of these programs and data will be described in detail later.

[0064] On the other hand, the execution memory 33 stores an electric motor control program 331 for controlling the operation of the electric motor 4, an abnormality detection program 332, and abnormality detection data 333 used by the abnormality detection program 332. Here, the abnormality detection program 332 is either a ball screw deterioration diagnosis program 321A or a bearing deterioration diagnosis program 321B stored in the library memory 32. Similarly, the abnormality detection data 333 is either an abnormality detection data (A) 322A or an abnormality detection data (B) 322B (data corresponding to the abnormality detection program 332) stored in the library memory 32.

[0065] In other words, the control unit 30 of the motor control device 3 performs the following functions as an "updating unit." That is, the control unit 30 selectively reads out the abnormality detection program 332 in the execution memory 33 from the multiple (two in this example) abnormality detection programs 321A and 321B stored in the library memory 32, and outputs the read abnormality detection program (321A or 321B) to the execution memory 33, thereby setting or updating (replacing) the abnormality detection program 332.

[0066] By the above operation, a deterioration diagnosis program corresponding to the type of power transmission mechanism can be executed to determine whether or not there is an abnormality in the power transmission mechanism. The method of such determination will be described later.

[0067] <Motor control device operation> Next, an overview of the operation of the motor control device 3 will be given. The control unit 30 of the motor control device 3 starts the motor control program 331 in the execution memory 33, and stands by in an executable state for drive control of the motor 4. The control unit 30 also starts the abnormality detection program 332 in the execution memory 33. The control unit 30 then reads out the corresponding abnormality detection data 333, and stands by in an executable state for the processing (algorithm) described in the abnormality detection program 332.

[0068] Thereafter, when the control unit 30 receives an operation command as a control signal from the controller 2, the operation terminal 6, or the operation display unit 36 ​​(hereinafter referred to as the controller 2, etc.), it starts driving the electric motor 4 in accordance with the electric motor control program 331 and controls its operation. In detail, the operation of the electric motor 4 is set in advance in the electric motor control program 331 so as to be an operation (driving mode) corresponding to the operation of the power transmission mechanism and the linked devices (the upstream device 60 and the downstream device 70 shown in FIG. 1) used in this system. Setting of such an operation can be performed through a setting screen (not shown) and operation input of the controller 2, etc.

[0069] The control unit 30 of the motor control device 3 controls the operation of the motor 4 (adjusting the rotor rotation direction, rotation speed, stop timing, etc.) according to the settings in the motor control program 331, thereby controlling (adjusting) the operation of the power transmission mechanism (ball screw 5 in the example of FIG. 1) and realizing a coordinated operation with the coordinated device (such as transporting the workpiece W). At this time, the control unit 30 of the motor control device 3 acquires motor operation information (input information) indicating the operating state of the motor 4, such as the rotor position, rotation speed, and input current of the motor 4, as feedback signals via the position detector 7 and current detector 125 (see FIG. 6), and performs feedback control using this input information. The acquired input information (such as a waveform signal, which will be described later in FIG. 3) can be displayed on any display unit (for example, the operation display unit 36 ​​or the display unit of the controller 2 or operation terminal 6) so that the user can monitor it.

[0070] In this embodiment, the control unit 30 of the motor control device 3 executes the abnormality detection program 332 stored in the execution memory 33 while executing the motor control program 331. That is, the control unit 30 executes the respective algorithms described in the motor control program 331 and the abnormality detection program 332 in parallel or simultaneously.

[0071] In this example, an abnormality detection algorithm for detecting an abnormal state (presence or absence of an abnormality) of the ball screw 5 is stored in the abnormality detection program (A) 321A. Therefore, the control unit 30 loads the abnormality detection program (A) 321A into the memory 33 and executes it as an abnormality detection program 332, thereby making it possible to detect the presence or absence of an abnormality in the ball screw 5, which is the power transmission mechanism. The control unit 30 of the electric motor control device 3 performs the following functions as a "status management unit" based on the abnormality detection algorithm of the abnormality detection program (A) 321A.

[0072] That is, the control unit 30 analyzes the operating conditions (input information) such as the rotor position and rotation speed of the electric motor 4 through the abnormality detection program 332 (in this example, the abnormality detection program (A) 321A), and stores the analysis results as actual measurement data or teacher data in the execution memory 33 (see abnormality detection data 333). The control unit 30 also compares the abnormality detection data 333, which has been measured in advance and stored in the memory 33, with the current analysis results obtained by the abnormality detection program 332, and if there is a large discrepancy between the values ​​of the two, determines that there is an abnormality in the ball screw 5 (power transmission mechanism) and outputs an abnormality signal.

[0073] Specifically, the control unit 30 determines whether or not there is an abnormality in the ball screw 5 (power transmission mechanism) based on the criterion of whether or not the value indicated by the input wave in the electric motor operation information deviates from the threshold value set in the teacher data.

[0074] More specifically, if the distortion of the waveform (wave shape) in the motor operation information exceeds a threshold value set in the teacher data, the control unit 30 determines that there is an abnormality in the power transmission mechanism (ball screw 5) and outputs an abnormality signal to that effect.

[0075] The output abnormal signal can be displayed (output) on the display unit that displays motor operation information (waveform, etc.) as a message notifying the occurrence of an abnormality, or as an image such as a warning sound or icon, thereby notifying or warning the user of the industrial equipment. Therefore, the user (administrator, etc.) of this system can monitor or predict abnormal conditions in the power transmission mechanism (ball screw 5) by monitoring the display content of the display unit (whether or not an abnormal signal is being output, etc.).

[0076] The above-described example is based on the assumption that the power transmission mechanism connected to the electric motor 4 is a ball screw 5, and the presence or absence of an abnormality in the ball screw 5 is determined through the execution of the abnormality detection program (A) 321A. As another example, if the power transmission mechanism connected to the electric motor 4 is a mechanism other than the ball screw 5 (for example, a gear box), the control unit 30 executes a software function program having another abnormality detection algorithm (for example, the abnormality detection program (C) 213 shown in FIG. 1 or a corresponding abnormality detection program in the abnormality detection program library group 11 of the server 10).

[0077] That is, the control unit 30 acquires, from an external device as appropriate, a software function program that corresponds to the type of power transmission mechanism for which abnormality detection is to be determined, and stores and executes it in the library memory 32 and eventually the execution memory 33. By operating in this manner, in other words, by updating (replacing) the software function program that is stored and executed in the execution memory 33 according to the power transmission mechanism to be used, it becomes possible to determine (diagnose) the presence or absence of abnormalities in various types of power transmission mechanisms connected to the electric motor 4.

[0078] Furthermore, the control unit 30 can also determine (diagnose) whether or not there is an abnormality in the load side device (downstream side device 70) by acquiring the relevant abnormality detection program from the abnormality detection program library group 11 of the server 10, storing (updating as appropriate) it in the library memory 32 and then in the execution memory 33, and executing it.

[0079] <Example of anomaly detection program operation> Next, an example of the operation of the abnormality detection program will be described in more detail with reference to Figures 2 and 3. Figure 2 is a flowchart showing an example of the processing of an abnormality detection program for diagnosing deterioration of a power transmission mechanism. Figure 2 is a processing flow showing a part of the algorithm described in the above-mentioned ball screw deterioration diagnosis program 321A (the abnormality detection program (A) shown in Figure 1).

[0080] The ball screw deterioration diagnosis program 321A is configured to selectively execute two operation modes (algorithms): an abnormality detection teacher data acquisition mode and an abnormality detection operation mode. The user can specify or change the setting of which operation mode to execute by operating the controller 2 or the like.

[0081] In step S1 after starting the ball screw deterioration diagnosis program 321A, the control unit 30 of the electric motor control device 3 determines whether the operation mode of the electric motor control device 3 is the teacher data acquisition mode.

[0082] Here, if the control unit 30 determines that the operating mode is the teacher data acquisition mode (step S1, YES), it proceeds to step S2, acquires teacher data through the processing of steps S2 to S4 described below, and then returns to the judgment processing of step S1 described above.

[0083] On the other hand, if the control unit 30 determines that the operating mode is not the teacher data acquisition mode (step S1, NO), it determines that the operating mode is the abnormality detection mode and proceeds to step S5, where it diagnoses whether or not there is an abnormality in the ball screw 5 through the processing of steps S5 to S10 described below, and then returns to the judgment processing of step S1 described above.

[0084] First, the operation in the abnormality detection teacher data acquisition mode (hereinafter simply referred to as "teacher data acquisition mode") will be described. In step S2, the control unit 30 waits until it receives a command (teacher data acquisition operation start command) from the controller 2 or the like (i.e., a user input operation) to start acquiring teacher data that will be the criterion for detecting an abnormality in the ball screw 5, and when this command is received, it proceeds to step S3.

[0085] The waiting in step S2 takes into consideration the fact that it takes some time for the rotation state of the electric motor 4 to stabilize, for example, when the ball screw deterioration diagnosis 321A is started simultaneously with normal operation. In other words, by suspending acquisition of teacher data until the rotation state of the electric motor 4 stabilizes, the control unit 30 can acquire more accurate teacher data in the processing of the following steps S3 and S4.

[0086] In step S3, the control unit 30 acquires various pieces of operational information (in this example, p(t), v(t), and iq(t)) based on input signals (feedback information) detected from the electric motor 4. Of these, p(t) is rotational position information of the electric motor 4 at time t. Furthermore, v(t) is rotational speed information of the electric motor 4 at time t. These p(t) and v(t) can be acquired from the detection signal of the position detector 7 described above. Furthermore, iq(t) is torque current information of the electric motor 4 at time t, and is acquired or calculated from the current (AC in this example) input (feedback) from the electric motor 4 to the control unit 30.

[0087] In the following step S4, the control unit 30 derives abnormality detection teacher data by substituting the motor operation information (p(t), v(t), iq(t)) into the formula predefined in parentheses () in accordance with the first abnormality detection algorithm (=fan1(formula)).

[0088] After this, the control unit 30 returns to step S1, and while it is determined that the operation mode is the teacher data acquisition mode (step S1, YES), it continues to derive the abnormality detection teacher data by repeatedly executing the processes of steps S3 and S4 described above. Note that with respect to step S2, the control unit 30 skips the standby process described above from the second time onwards.

[0089] FIG. 3 is a graph showing the state of anomaly detection operation when the anomaly detection program shown in FIG. 2 is executed, along with the waveforms of the motor operation information (p(t), v(t), iq(t)).

[0090] 3, the first, second, and third graphs from the top are waveform diagrams of the motor operation information input to the control unit 30. That is, the first graph from the top is a waveform diagram showing the rotational position p(t) of the motor 4, the second graph is a waveform diagram showing the rotational speed v(t), and the third graph is a waveform diagram showing the torque current iq(t), and each diagram schematically shows how the waveform deteriorates over time. Referring to these three graphs, it can be seen that distortion occurs in each waveform and that this distortion becomes larger as time passes.

[0091] Typically, when an abnormality occurs in the electric motor 4 or the load side device (downstream side device 70 in Figure 1), it often appears as an abnormality in the waveform period or amplitude (for example, a change in period due to an abnormality in the rotation speed, a change in amplitude due to an abnormality in the torque current, etc.).

[0092] In contrast, when an abnormality occurs in the power transmission mechanism (such as the screw shaft 51 of the ball screw 5 in this example), which has a significantly smaller load than the downstream device, a distorted waveform is generated as shown on the right side of FIG. 3. That is, when an abnormality occurs in the power transmission mechanism, minute vibration waves (hereinafter referred to as minute vibration waves) are generated in the waveforms of the rotational position p(t), rotational speed v(t), and torque current iq(t) in the electric motor operation information. The greater the degree of abnormality in the ball screw 5 (for example, the degree of wear or distortion of the screw shaft 51), the more pronounced the minute vibration waves become in their amplitude components. Furthermore, because the minute vibration waves shown in FIG. 3 can be detected as a change in amplitude or a change in wave gradient over a short time t, it can be determined or estimated that there is an abnormality in the condition of the ball screw 5, rather than an abnormality in the electric motor 4 or the downstream device 70 (load side device).

[0093] In view of the above circumstances, in this embodiment, it is desirable that the operation of the anomaly detection teacher data acquisition mode described above in Fig. 2 be executed (implemented) primarily in a normal state where no deterioration of the ball screw 5 has occurred (for example, during the initial operation period of the system). By executing the operation of the anomaly detection teacher data acquisition mode (steps S3, S4, etc. in Fig. 2) in such a normal state, it is possible to generate anomaly detection teacher data based on a normal, distortion-free waveform, as shown on the left side of Fig. 3. This anomaly detection teacher data serves as reference information (teacher data in supervised machine learning) for determining an anomaly in the anomaly detection mode described below.

[0094] Here, the fourth graph from the top in Figure 3 shows an example in which the magnitude of distortion (change in amplitude or change in wave gradient over a short time t) of one of the above waveforms (for example, torque current iq(t)) exceeds a threshold, and the signal switches from a normal state (for example, "0" in the binary value (0 / 1)) to an abnormal state (for example, "1").

[0095] 3 shows an example in which the operation mode is switched from the anomaly detection teacher data acquisition mode to the anomaly detection mode in the anomaly detection operation mode described above. In one specific example, the timer function of the motor control device 3 can be used to operate the system in the anomaly detection teacher data acquisition mode only on the initial operation day of the system, and then in the anomaly detection mode from the following day.

[0096] Next, referring again to FIG. 2, the operation of the abnormality detection mode during execution of the ball screw deterioration diagnosis program 321A will be described.

[0097] In step S5, the control unit 30 of the electric motor control device 3 waits until it receives a command (anomaly detection operation start command) from the controller 2 or the like (i.e., a user input operation) to start an operation to detect an abnormality in the ball screw 5, and when this command is received, it proceeds to step S6. The significance of waiting in step S6 is the same as in step S2 described above. That is, by suspending the abnormality detection operation until the rotation state of the electric motor 4 stabilizes, unnecessary erroneous detection is prevented in the processing of the following steps S6 to S10, and more accurate state detection can be achieved.

[0098] In step S6, the control unit 30 acquires various motor operation information (in this example, p(t), v(t), and iq(t)) based on the input signals (actually measured detection signals or feedback signals). The processing in step S6 is similar to that in step S3 described above, and therefore will not be described in detail.

[0099] In the next step S7, the control unit 30 derives the anomaly detection measurement data by substituting the motor operation information (p(t), v(t), iq(t)) into the formula in parentheses according to the first anomaly detection algorithm (=fan1 (formula)). Note that the method of deriving the data in step S7 is the same as the method of deriving the anomaly detection teacher data in step S4 described above.

[0100] In the next step S8, the control unit 30 compares the derived anomaly detection actual measurement data with the anomaly detection teacher data described above, calculates the difference between the two, and then proceeds to step S9. In step S9, the control unit 30 determines whether the calculated difference, in other words, the degree of distortion of the waveform of the anomaly detection actual measurement data relative to the waveform of the anomaly detection teacher data, exceeds a predetermined threshold.

[0101] If the control unit 30 determines that the degree of distortion does not exceed the threshold value (step S9, NO), it determines that the state of the ball screw 5 is normal and proceeds to step S10. On the other hand, if the control unit 30 determines that the degree of distortion exceeds the threshold value (step S9, YES), it determines that the state of the ball screw 5 is abnormal and proceeds to step S11.

[0102] In step S10, the control unit 30 transmits a display instruction to a predetermined device (for example, the controller 2 and the operation terminal 6) to display that the state of the ball screw 5 is normal. On the other hand, in step S11, the control unit 30 outputs an abnormality detection signal and transmits a display instruction to the above device to display that the state of the ball screw 5 is abnormal.

[0103] 3, the operation of the anomaly detection mode will be described in relation to the deterioration state of the ball screw 5. When the ball screw 5 begins to deteriorate, the input operating waveforms of the rotational position information p(t) of the electric motor 4, the rotational speed information v(t) of the electric motor 4, and the torque current information iq(t) of the electric motor 4 will deteriorate into distorted waveforms with the addition of the above-mentioned minute vibration waves, different from the waveforms in normal times, i.e., the anomaly detection teacher data acquisition mode.

[0104] Therefore, the control unit 30 calculates the difference in the waveforms (degree of deterioration) by comparing the abnormality detection teacher data acquired in the abnormality detection mode with the abnormality detection actual measurement data (step S8), and if the calculated degree of deterioration exceeds a threshold value, it determines that there is an abnormality in the condition of the ball screw 5 (step S9, YES), and outputs the determination result as an abnormality detection signal (step S11).

[0105] Users and maintenance personnel of this system can detect or predict an abnormal state of the ball screw 5 by monitoring whether or not such an abnormality detection signal is output and the display screen of the external device.

[0106] However, the software program that is executed by the motor control device 3 and performs the above-mentioned abnormality detection function needs to use a different algorithm in order to perform the same abnormality detection when the type of power transmission mechanism through which the power of the electric motor 4 is transmitted is changed.

[0107] Specifically, Figure 1 illustrates an example in which the power transmission mechanism connected to the electric motor 4 is a ball screw 5, but there are also cases in which the ball screw 5 is changed to another power transmission mechanism (for example, a timing belt via gears or the like not shown).

[0108] That is, in the case of the ball screw 5, the electric motor 4 needs to rotate in both forward and reverse directions to cause the reciprocating motion as described above (see the arrows in FIG. 1). In contrast, when the power transmission mechanism is a timing belt, it is sufficient to rotate the electric motor 4 in one direction for the basic operation of moving the workpiece W and delivering it to the downstream device 70. Alternatively, when the linking device or system configuration is significantly changed, it is necessary to use a different type of power transmission mechanism or downstream device, and in such cases, the operating mode of the electric motor 4 (the control content during basic operation by the electric motor control device 3) also changes.

[0109] Thus, when the type of power transmission mechanism (such as the basic operation during normal operation) differs, the driving mode of the electric motor 4 also differs, and therefore the algorithm for controlling the rotation of the electric motor 4 during normal operation (basic operation) differs. In this case, the information on the normal waveform acquired as the abnormality detection training data also differs.

[0110] On the other hand, the above-mentioned method of acquiring the abnormality detection training data and actual measurement data, and the basic method of comparing these data to determine whether or not there is an abnormality in the power transmission mechanism, can be used in common regardless of the type of power transmission mechanism, etc.

[0111] Based on this knowledge, the present system is configured to enable the software program to be executed to be changed (updated) depending on the type of use, i.e., the type of power transmission mechanism connected to the electric motor 4, etc.

[0112] Specifically, the control unit 30 of the motor control device 3 is given the function of an update unit that updates the software programs executed by the motor control device 3, in this example, the programs and data implemented or deployed in the execution memory 33.

[0113] In addition, in this embodiment, the control unit 30 is provided with the function of acquiring a software program (management program) having a function of managing (detecting abnormalities in) the power transmission mechanism from an external device (server 10 or controller 2).

[0114] <Major Effects of This Embodiment> According to this embodiment, in which the control unit 30 of the motor control device 3 is endowed with the above functions, it becomes possible to perform management such as abnormality detection for various power transmission mechanisms without changing the hardware of the motor control device 3. This makes it possible to improve the performance of the motor control device 3 at low cost. Furthermore, according to this embodiment, it is possible to appropriately and flexibly change the type and arrangement of the power transmission mechanisms and load-side devices (industrial equipment constituting the system) connected to the motor 4 without adding (replacing) the motor control device 3 and controller 2.

[0115] (Embodiment 2) Next, a second embodiment will be described with reference to Fig. 4. Fig. 4 is a flowchart illustrating another example of the processing of an abnormality detection program for diagnosing deterioration of a power transmission mechanism, and shows an algorithm to which an abnormality detection teacher data switching function has been added.

[0116] The algorithm shown in Fig. 4 is executed, for example, by the motor control device 3 acquiring the abnormality detection program (C) 213 stored in the data storage unit (program library 21) of the controller 2 and activating it in the control unit 30. Note that the same processes as those described above in Fig. 2 are given the same step numbers, and explanations thereof will be omitted as appropriate.

[0117] The algorithm shown in Fig. 4 can be used, for example, during a test run of the system. Specifically, there may be cases where the waveform of the motor operation information input from the motor 4 and displayed on a specified display unit is judged to be abnormal based on the amplitude value, but there is no distortion (micro-vibration wave) in the waveform, and the current is overcurrent due to a temporary overload when transporting the workpiece W. In such cases, the waveform of the motor operation information can be saved as training data and used later, which can be useful for improving the accuracy of determining whether or not there is an abnormality in the power transmission mechanism.

[0118] In step S4A in the teacher data acquisition mode, the control unit 30 derives abnormality detection teacher data by substituting the motor operation information (p(t), v(t), iq(t)) into the predetermined function fan3 formula in accordance with the third abnormality detection algorithm (=fan3(formula)). In this teacher data acquisition mode, the same processing as in FIG. 2 is performed except that the third abnormality detection algorithm (=fan3(formula)) uses a formula different from that of the first abnormality detection algorithm (=fan1(formula)) described above.

[0119] Furthermore, in the abnormality detection mode, the control unit 30 derives teacher data (step S7A) by the same process as in step S4A, and performs the comparison process in step S8 and the determination process in step S9 as in the case of Fig. 2. The display process in step S10 after determining in step S9 that the degree of distortion (degree of waveform deterioration) does not exceed the threshold (step S9, NO) is also the same as in Fig. 2.

[0120] On the other hand, if the control unit 30 determines that the degree of distortion (degree of waveform deterioration) exceeds the threshold (step S9, YES), the control unit 30 proceeds to step S9A. In step S9A, the control unit 30 determines whether a teacher data switching command to switch the teacher data has been input. Here, if the control unit 30 determines that a teacher data switching command has not been input (step S9A, NO), it determines that there is an abnormality in the state of the ball screw 5, and performs the display process of step S11, as in the case of FIG. 2.

[0121] On the other hand, if the control unit 30 determines that a teacher data switching command has been input (step S9A, YES), it determines that the state of the ball screw 5 is normal and proceeds to step S12. In step S12, the control unit 30 saves the actual measurement data being input in the abnormality detection data 333 so as to add it to the teacher data. At this time, the control unit 30 may update the abnormality detection data (322A or 322B) stored in the library memory 32. In addition, the control unit 30 performs a display process to indicate that the state of the ball screw 5 is normal.

[0122] By performing the above processing, the teacher data can be updated according to instructions based on operational inputs from a user who is monitoring the operation and operating information (waveform) of the system during a test run, for example, which can be useful for improving the accuracy of determining whether or not there is an abnormality in the power transmission mechanism.

[0123] (Embodiment 3) 5 and 6 are diagrams illustrating a third embodiment. In the third embodiment, the contents (algorithm) of the motor control program 331 executed by the control unit 30 are configured to be updated or switched as appropriate. From another perspective, in the third embodiment, a plurality of motor control programs are stored in the library memory 32, and the control unit 30 of the motor control device 3, as a function of an update unit, updates the motor control program in the execution memory 33 so that such motor control programs can be selectively executed.

[0124] For simplicity, Fig. 5 does not show downstream devices 70 linked to the electric motor 4, the operation and display unit 36 ​​in the electric motor control device 3, the CPU 20 in the controller 2, etc. Also, to avoid complication, Fig. 5 shows only the electric motor control program 331 stored in the execution memory 33, but in reality, the program for determining whether or not there is an abnormality in the power transmission mechanism described above can also be stored in the execution memory 33 and executed.

[0125] Fig. 5 is a block diagram showing the configuration of another embodiment of the motor control device, illustrating an example in which the contents (algorithm) of the motor control program to be executed can be updated. In the third embodiment, the position control program, speed control program, and current control program constituting the motor control program 331 shown in Fig. 5 are acquired via the communication networks (100, 102) directly from the server 10 or from the server 10 via the controller 2.

[0126] On the other hand, FIG. 6 is a diagram schematically showing a hardware configuration (inverter circuit) equivalent to or similar to the program configuration shown in FIG.

[0127] In the first and second embodiments described with reference to Figures 1 to 4, it is assumed that, during normal operation, the motor control program 331 and the abnormality detection program 332 (i.e., a program that detects abnormalities in the power transmission mechanism by supervised machine learning) separate from the motor control program 331 are executed simultaneously in parallel.

[0128] 5 and 6 show an example of a configuration in which the control unit 30 executes, as the electric motor control program 331, a combination of a position control program for controlling the rotational position of the electric motor 4, a speed control program for controlling the rotational speed of the electric motor 4, and a current control program for controlling the current flowing through the electric motor 4. However, the control unit 30 can simultaneously execute the above-mentioned program for determining whether or not there is an abnormality in the power transmission mechanism in parallel.

[0129] First, the contents of the motor control program 331 will be described with reference to Fig. 5. Fig. 5 schematically shows how the control unit 30 drives the motor 4 by loading the motor control program 331 into the execution memory 33 and executing it.

[0130] 5, the motor control program 331 includes a position control program 3311 that controls the position of the motor 4, a speed control program 3312 that controls the speed of the motor 4, and a current control program 3313 that controls the current of the motor 4. Each program (3311, 3312, 3313) can be executed by the control unit 30 independently of one another, or can be executed simultaneously in parallel.

[0131] In one specific example, the control unit 30 switches the control program (3311, 3312, 3313) to be executed when changing the control method of the electric motor 4. Here, "when changing the control method" includes a case where a change is made to one of multiple existing control methods (for example, when three control programs (3311, 3312, 3313) are executed simultaneously, and when only one of the control programs is executed), or when a new control method is developed.

[0132] Of the above, a case where a new control method has been developed will be described. In the example shown in Fig. 5, the control program can also be switched by loading (updating) one of two types of control programs (position control PG(1) 323A or position control PG(2) 323B, velocity control PG(1) 324A or velocity control PG(2) 324B, current control PG(1) 325A or current control PG(2) 325B shown in Fig. 5) stored in the library memory 32 into the execution memory 33.

[0133] Such program updating can be performed by switching the logical switches (switches 37, 38, 39 in the example of FIG. 6) provided between the library memory 32 and the execution memory 33, as in the case of FIG.

[0134] In one specific example, the control PGs (323A, 324A, 325A) in (1) of FIG. 5 can be programs that use an existing control method to control the motor 4 (rotor position, rotation speed, and amount of current flowing, respectively), and the control PGs (323B, 324B, 325B) in (2) can be programs that use a newly developed control method to control the motor 4 (rotor position, rotation speed, and amount of current flowing, respectively).

[0135] In another specific example, control PG (323A, 324A, 325A) (1) in Figure 5 can be implemented when a ball screw 5 is used as the power transmission mechanism, and control PG (323B, 324B, 325B) (2) can be implemented when a timing belt is used as the power transmission mechanism.

[0136] 5, in addition to the control PGs (1) and (2) (see symbols 231, 232, 241, 242, 251, 252) of (1) above, the controller 2 also stores control PGs (233, 243, 253) of (3) as a so-called stock. When the control method is changed as described above, these control PGs (233, 243, 253) of (3) are communicated between the controller 2 and the motor control device 3, and are stored in the library memory 32 of the motor control device 3, thereby becoming executable by the motor control device 3.

[0137] The algorithm for detecting the presence or absence of an abnormality in the power transmission mechanism (such as the ball screw 5) is as described with reference to Figures 2 to 4. As shown in Figure 5, the server 10 stores the various control programs (control PGs) described above provided to the motor control device 3 or the controller 2 in the form of databases as a position control program library group 13, a speed control program library group 14, and a current control program library group 15.

[0138] The control of the electric motor 4 by the electric motor control programs (3311, 3312, 3313) stored in the memory 33 and executed by the control unit 30 will be described below from a hardware perspective with reference to Fig. 6. The electric motor control device 3 manages the position, speed, and torque of the power transmission mechanism and the load side device by feedback-controlling the rotational position and speed of the electric motor 4 using an inverter circuit 122 as shown in Fig. 6. Furthermore, through such feedback control and management, it is also possible to detect the presence or absence of an abnormality in the power transmission mechanism described above.

[0139] As shown in FIG. 6, the inverter circuit 122 includes a rectifier circuit 123 that converts and rectifies the voltage supplied from an alternating current power supply AC, and switching elements 124 that switch the voltage values ​​supplied to the three-phase drive type electric motor 4.

[0140] As shown in the upper part of FIG. 6, the inverter circuit 122 also includes a current detector 125 that detects each of the three-phase currents flowing through the motor 4, a position control unit 126, a speed control unit 127, and a current control unit 128 that control the position and speed of the rotor of the motor 4 and the current flowing through the motor 4.

[0141] Furthermore, the inverter circuit 122 includes a differentiation circuit 129 that calculates the rotor speed of the electric motor 4 and outputs the calculation result to a speed control unit 127, a switching element 130 that switches the signal supplied to the current control unit 128, an oscillation circuit 131 that outputs a standing wave such as a triangular wave, and a PWM circuit 132 that applies pulse width modulation (PWM) to the standing wave and outputs it.

[0142] In the example shown in FIG. 6, the AC current supplied (input) from the motor control device 3 to the electric motor 4 consists of three phases Iu, Iv, and Iw, and the current value of each is detected by a current detector 125. The current value id(t) and torque value iq(t) at time t are input from the current detector 125 to a current control unit 128 as actual measured values ​​(feedback information).

[0143] To explain it in brief, preset control commands for the rotor position and speed are output from, for example, controller 2, and these control commands are input as signals p*(t) and v*(t) to position control section 126 and speed control section 127, respectively. In addition, a position signal p(t) detected by a position detector 7 provided on the rotating shaft of electric motor 4 is input to position control section 126, and a rotational speed signal v(t) calculated by a differentiation circuit 129 based on this position signal p(t) is input to speed control section 127.

[0144] Position control unit 126 compares input signals p*(t) and p(t), calculates a difference between them, and outputs the calculated difference to speed control unit 127. When switching element 130 is in the first state, that is, when signal v*(t) is not input as shown in FIG. 6 , speed control unit 127 outputs current value signal id*(t) and torque value signal iq*(t) as control signals to current control unit 128 based on the difference value input from position control unit 126 and rotational speed signal v(t) input from differentiation circuit 129.

[0145] On the other hand, when the switching element 130 is in the second state, i.e., when the speed control command signal v*(t) is input without inputting the difference value output from the position control unit 126, the speed control unit 127 outputs the current value signal id*(t) and the torque value signal iq*(t) as control signals to the current control unit 128 based on the difference between the signal v*(t) and the input signal v(t).

[0146] Based on the input signals id*(t) and iq*(t) and signals id(t) and iq(t), the current control unit 128 outputs a three-phase control signal Fm for driving the electric motor 4 to the PWM circuit 132. The PWM circuit 132 PWM-modulates the control signal Fm to generate and output switching signals for switching the state (on / off) of each switch of the switching elements 124 (3 phases x 2 = 6 in the example shown in FIG. 6). Thus, changes in the on / off state of the switches change the amplitude, etc. of each of the three-phase currents supplied to the electric motor 4, thereby performing feedback control of the rotation direction, rotation speed, rotation position, etc. of the rotor of the electric motor 4.

[0147] As described above, the control unit 30 of the motor control device 3 functions as an operation control unit that controls the operation of the rotor of the motor 4 in accordance with the waveform signal input (feedback) from the motor 4, thereby operating the power transmission mechanism (e.g., ball screw 5) to correspond to the operation of the downstream device 70, which is the load side device.

[0148] As described in Figures 3, 5 and 6, when the control unit 30 of the motor control device 3 controls the rotational position of the electric motor 4 by executing the position control program 3311, it functions as a state management unit that manages the state of the power transmission mechanism (detects the presence or absence of abnormalities) based on the waveform signal (rotor position information p(t)) input from the electric motor 4.

[0149] In addition, when the control unit 30 controls the rotation speed of the electric motor 4 by executing the speed control program 3312, it functions as a status management unit that manages the status of the power transmission mechanism (detects the presence or absence of abnormalities) based on the waveform signal (rotation speed information v(t)) input from the electric motor 4.

[0150] In addition, when the control unit 30 controls the current flowing to the electric motor 4 by executing the current control program 3313, it functions as a status management unit that manages the status of the power transmission mechanism (detects the presence or absence of abnormalities) based on the waveform signal (torque current iq(t)) input from the electric motor 4.

[0151] Furthermore, by using the function of the update unit described above, the control unit 30 can selectively read and update each of the programs (3311, 3312, 3313) in the memory 33 to be executed from the control PG(1) and control PG(2) stored in the library memory 32. Therefore, the control unit 30 can use a combination of various existing or newly developed control methods as an operation control unit, and can also function as a status management unit that manages the status of the power transmission (detects the presence or absence of abnormalities).

[0152] <Flow of acquiring and updating programs, etc.> Next, an example of the flow of processing for acquiring and updating a software function program executable by the control unit 30 of the electric motor control device 3 will be described with reference to FIG.

[0153] In step S41, the control unit 30 of the motor control device 3 controls the external communication unit 31 to connect to the server 10, which is an external device, through the above-mentioned public or industrial communication network (100, 102). The timing of such connection to the server 10 is not particularly limited, and can be made at any time, for example. Alternatively, a timer function may be used to connect to the server periodically, for example, during a time period after normal operation.

[0154] Furthermore, the method for connecting the motor control device 3 and the server 10 is not particularly limited, and the motor control device 3 and the server 10 can be directly connected via the above-mentioned communication networks (100, 102). As another example, a communication connection between the server 10 (10A) and the motor control device 3 may be established via the operation terminal 6 currently connected to the motor control device 3. Alternatively, a configuration may be adopted in which the user operates the controller 2, and the controller 2 takes the lead in performing the processes of steps S42 to S47 described below.

[0155] In step S42, the control unit 30 transmits various information related to the industrial equipment, linked equipment, programs, etc. managed by the motor control device 3 to the server 10. Here, the information managed by the motor control device 3 and transmitted to the server 10 includes, for example, the types (names, model numbers, etc.) of the motor 4, power transmission mechanism, and load side devices, and the types (e.g., program names) of software programs currently being implemented (i.e., stored in memories 32 and 33). Furthermore, if there are any newly available software programs, the control unit 30 transmits a command to the server 10 to send a list of those programs.

[0156] The server 10, which has received the above-mentioned information and command, searches for the corresponding software program, and if there is no new software program that can be provided, sends a message to that effect to the motor control device 3. In this case, the control unit 30 of the motor control device 3 determines that there is no software program that can be acquired and updated (step S43, NO), terminates the connection with the server 10, and ends the routine of FIG.

[0157] On the other hand, if the server 10 finds new software programs available through the search, it sends a list of the programs to the motor control device 3. In one specific example, the list includes information such as the program name, program function, and capacity. Here, the program function includes, for example, the details of the upgrade (such as new functions and corrections) in the case of an upgraded program.

[0158] In this case, the control unit 30 of the motor control device 3 determines that there is a software program that can be acquired and updated (YES in step S43), and proceeds to step S44.

[0159] In step S44, the control unit 30 displays the list of received programs together with selection buttons, and displays a selection screen for the user to select a program to acquire. The selection screen can be displayed on the operation display unit 36, or on the display unit of another connected device (controller 2, operation terminal 6).

[0160] At this time, the control unit 30 monitors the user's input instructions, and when one or more programs displayed on the selection screen are selected, it acquires (downloads) the selected programs from the server 10 and stores the acquired programs in the library memory 32 (step S45).

[0161] When the process of acquiring the program is completed, the control unit 30 terminates the connection with the server 10 and performs a process of displaying an update screen that allows the user to select whether or not to update the program stored in the memory 32 for the next execution (step S46). The update screen can be displayed on the operation display unit 36, as with the selection screen, or on the display unit of another connected device (controller 2, operation terminal 6).

[0162] After this, the control unit 30 monitors the user's input instructions, and when a program to be updated is selected, it reads the selected program from the library memory 32, expands it into the execution memory 33, and replaces the program in the memory 33 (step S47: update processing).

[0163] As described above, in each of the above-described embodiments, by providing the control unit 30 of the motor control device 3 with the function of an update unit, it becomes possible to perform management such as abnormality detection for various power transmission mechanisms without changing the hardware of the motor control device 3. This makes it possible to improve the performance of the motor control device 3 at low cost. It also makes it possible to flexibly change the layout of industrial equipment that constitutes a system such as a power transmission mechanism.

[0164] Furthermore, the motor control device 3 in each embodiment is configured to connect to external devices such as the server 10 and the controller 2 via the external communication unit 31, and to exchange software function programs and data related to those programs, and to compare stored programs, etc., through communication with the external devices, thereby achieving the following effects: That is, the motor control device 3 can obtain necessary programs and data from external devices at any time. In addition, the motor control device 3 can store programs and data that are used less frequently in the controller 2, etc. In addition, the motor control device 3 can provide the server 10 with data indicating the operating state of the motor 4 during normal operation of the system, and the server 10 can perform further analysis to check the state of the power transmission mechanism, etc., from other technical perspectives, or to use the data to improve the corresponding software function program.

[0165] The present invention is not limited to the above-described embodiments, but includes various modifications. For example, the above-described embodiments have been described in detail to clearly explain the present invention, and the present invention is not necessarily limited to those including all of the described configurations. Furthermore, it is possible to replace part of the configuration of one embodiment with the configuration of another embodiment, and it is also possible to add the configuration of another embodiment to the configuration of one embodiment. [Explanation of symbols]

[0166] 1 Industrial equipment system (program management system), 2 Controller (external device), 3 Motor control device (power transmission mechanism management device), 4 Electric motor, 5 Ball screw (power transmission mechanism), 6 Operation terminal, 10 Server (external device), 20 CPU (output control unit), 30 Control unit (operation control unit, status management unit, communication control unit, update unit), 31 External communication unit, 32 Memory (for library), 33 Memory (for execution), 70 Downstream device (linked device, load side device), 100 Wide area communication network (public communication network), 102 Communication network (industrial communication network), 321A Abnormality detection program (A) (second management program), 321B Abnormality detection program (B) (first management program)

Claims

1. A power transmission mechanism management device that manages a power transmission mechanism that transmits power from an electric motor to a load-side device in an industrial equipment system in which a plurality of industrial equipment operate in cooperation with each other, an operation control unit that controls the electric motor to cause the power transmission mechanism to perform a predetermined operation; a state management unit that executes a first management program and manages the state of the power transmission mechanism based on input information input from the electric motor; an external communication unit that communicates with an external device to acquire a second management program corresponding to the type of the power transmission mechanism; an updating unit that replaces the second management program with the first management program and updates the second management program so that the state management unit can execute the second management program; a library memory for storing a plurality of the second management programs, the first management program or the second management program is an abnormality detection program for causing the state management unit to determine whether or not there is an abnormality in the power transmission mechanism, the update unit selectively reads the second management program from the library memory and replaces the first management program in the execution memory with the read second management program; the external communication unit, when communicating with the external device, outputs to the external device a second management program that has become less frequently used among the second management programs stored in the library memory; Powertrain management device.

2. 2. The powertrain management device according to claim 1, the input information is a waveform signal fed back from the electric motor; the operation control unit controls the operation of the electric motor in response to the waveform signal, thereby operating the power transmission mechanism in accordance with the operation of the load-side device. Powertrain management device.

3. 2. The powertrain management device according to claim 1, the state management unit stores the input information as training information in response to an instruction received during execution of the abnormality detection program, and determines whether or not there is an abnormality in the power transmission mechanism using the training information. Powertrain management device.

4. 2. The powertrain management device according to claim 1, When the state management unit determines that an abnormality has occurred in the power transmission mechanism, the state management unit outputs an abnormality occurrence signal. Powertrain management device.

5. 2. The powertrain management device according to claim 1, the external communication unit outputs the input information to the external device when communicating with the external device. Powertrain management device.

6. 2. The powertrain management device according to claim 1, the operation control unit executes a position control program for controlling the rotational position of the electric motor, thereby controlling the electric motor and causing the power transmission mechanism to perform a predetermined operation; Powertrain management device.

7. 2. The powertrain management device according to claim 1, the operation control unit executes a speed control program for controlling the rotation speed of the electric motor, thereby controlling the electric motor and causing the power transmission mechanism to perform a predetermined operation; Powertrain management device.

8. 2. The powertrain management device according to claim 1, the operation control unit executes a current control program for controlling a current flowing through the electric motor, thereby controlling the electric motor and causing the power transmission mechanism to perform a predetermined operation; Powertrain management device.

9. 2. The powertrain management device according to claim 1, the library memory stores a plurality of control programs for causing the operation control unit to control the electric motor; the update unit updates the control program in the execution memory so that the operation control unit can selectively execute the control program. Powertrain management device.

10. 2. The powertrain management device according to claim 1, The external communication unit communicates with the external device via either an industrial communication network or a public communication network. Powertrain management device.

11. A program management system using the power transmission mechanism management device according to claim 1, the external device includes a server that supplies the second management program and a controller that outputs a control signal to the powertrain management device to control the electric motor; the controller includes a storage unit, a communication unit that communicates with the server and the powertrain management device, and an output control unit that outputs the second management program in the storage unit to the library memory of the powertrain management device via the communication unit. Program management system.

Citation Information

Patent Citations

  • Information supply system for vehicle

    JP2003114131A

  • Job processor

    JP2018128794A

  • System for changing function of work machine and base station

    WO2001073218A1

  • Appliance diagnosing device and appliance diagnosing method

    WO2015132894A1

  • Abnormality diagnostic device for power transmission mechanism, and abnormality diagnostic method for power transmission mechanism

    WO2018109993A1