Motor controller

The motor control device enhances motor control systems by recording and preserving abnormality data for thorough analysis, addressing limitations in existing systems and improving problem-solving capabilities.

JP2024156286AInactive Publication Date: 2024-11-06NSK LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023070629
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-04-24
Publication Date
2024-11-06
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing motor control systems are inadequate in detecting and recording data for abnormalities beyond overcurrent and overheating, limiting their ability to address a broader range of motor control issues.

Method used

A motor control device with a recording unit that records motor control data in a nonvolatile memory, including sensing information from sensors, and an abnormality detection section that identifies and preserves abnormality data in an overwrite-prohibited state, allowing for post-analysis and external data storage expansion.

Benefits of technology

Enables reliable detection and retention of motor control abnormalities for thorough post-analysis, facilitating a deeper understanding of motor control problems and providing comprehensive information for problem-solving.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024156286000001_ABST
    Figure 2024156286000001_ABST
Patent Text Reader

Abstract

To provide a motor controller capable of more reliably providing information for contributing to solution of problems in regard to motor control.SOLUTION: A motor controller 1 comprises: a motor control part 11 for producing and outputting a drive current EC to a motor 3 according to input information IN serving as information indicating a rotation command of the motor 3; a state monitoring part 13 and a state recording part 15 serving as a recording part for recording data including at least the information and sensing information output from a rotation angle sensor 31 as data about motor control; and an abnormality detection part 14 for detecting abnormality generated on at least one of the motor control part 11 and the motor 3 based on the data about motor control. The recording part records data about abnormality out of the data of motor control in an overwrite inhibition state.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 motor control device. [Background technology]

[0002] A configuration is known in which data indicating motor control information is sampled and recorded in parallel with the control of the motor, and if an abnormality that is deemed to be a motor failure occurs, the data is written to non-volatile memory, and data indicating whether the abnormality was due to overcurrent or overheating is stored in non-volatile memory (for example, Patent Document 1). [Prior art documents] [Patent documents]

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

[0004] However, abnormalities related to motor control are not limited to overcurrent and overheating, and the configuration described in Patent Document 1 cannot obtain data related to other abnormalities, making it insufficient for solving problems related to motor control. Therefore, a mechanism for more reliably obtaining information that contributes to solving problems related to motor control has been desired.

[0005] An object of the present invention is to provide a motor control device that can more reliably provide information that contributes to solving problems related to motor control. [Means for solving the problem]

[0006] In order to achieve the above-mentioned object, the motor control device of the present invention comprises a motor control unit that generates a current to operate the motor in response to external input of information indicating a motor rotation command and outputs the current to the motor, a recording unit that records data including at least the information and sensing information output from a sensor provided on the motor as data related to motor control, and an abnormality detection unit that detects an abnormality that has occurred in at least one of the motor control unit and the motor based on the data related to motor control, and the recording unit records data related to the abnormality among the data related to motor control in a state that prevents it from being overwritten.

[0007] Therefore, data on abnormalities can be stored in a state that allows for post-mortem verification. Therefore, by post-mortem analysis of data on abnormalities, it becomes easier to understand what problems have occurred in motor control. In other words, information that contributes to solving problems related to motor control can be provided more reliably.

[0008] In the motor control device of the present invention, the recording section records the part of the data relating to the motor control in an overwrite-prohibited state in response to an external input indicating a command to save the part of the data.

[0009] Therefore, desired portions of the data relating to motor control can be recorded in an overwrite-protected state.

[0010] In the motor control device of the present invention, the abnormality-related data is selected in response to an external input.

[0011] Therefore, the information to be treated as data relating to anomalies can be arbitrarily selected.

[0012] The motor control device of the present invention includes an interface to which an external recording device that can be treated as the recording capacity of the recording section can be connected.

[0013] Therefore, the recording capacity of the recording section can be added or expanded as desired. Effect of the Invention

[0014] According to the motor control device of the present invention, it is possible to more reliably provide information that contributes to solving problems relating to motor control. [Brief description of the drawings]

[0015] [Figure 1] FIG. 1 is a block diagram showing a motor control device according to an embodiment and a configuration connected to the motor control device. [Diagram 2] FIG. 2 is a flowchart showing a process flow relating to data recorded in the status recording unit. [Diagram 3] FIG. 3 is a time chart showing an example of the relationship between the transition of the power supply voltage when an abnormality occurs in which the power supply voltage drops, and the generation of a power supply low voltage alarm signal indicating the occurrence of the abnormality. [Figure 4] FIG. 4 is a time chart showing an example in which a power supply low voltage alarm signal is generated even though the power supply voltage is constant. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0016] Hereinafter, an embodiment of the present invention will be described with reference to the drawings, but the present invention is not limited thereto. The requirements of each embodiment described below can be appropriately combined. In addition, some components may not be used.

[0017] 1 is a block diagram showing a motor control device 1 according to an embodiment and a configuration connected to the motor control device 1. The motor control device 1 includes a motor control unit 11, a current sensor 12, a state monitoring unit 13, an abnormality detection unit 14, a state recording unit 15, an inverter 21, and a main power supply monitoring unit 22. The motor control device 1 functions as a motor driver that controls the operation of a motor 3 in response to input information IN from a controller 2. The motor 3 in the embodiment is a servo motor provided in a servo mechanism, but is not limited to this. As the motor 3, a motor to which sensing information SO including at least information indicating a rotation angle is fed back is assumed.

[0018] The motor control unit 11 is a circuit that controls the operation of the inverter 21 in response to input information IN from the controller 2, and causes the inverter 21 to generate a drive current EC powered by an external main power supply 41, thereby controlling the supply of the drive current EC to the motor 3. The input information IN includes information that functions as a rotation command for the motor 3. More specifically, the rotation command includes information indicating a target value (a control value corresponding to a state after operation) in the operation of a servo mechanism in which the motor 3 is provided. The motor control unit 11 outputs a drive current EC that operates the motor 3 so that the servo mechanism is in a state corresponding to the target value.

[0019] The controller 2 is, for example, a PLC (Programmable Logic Controller) designed to control the motor 3 via the motor control unit 11, but is not limited to this and may be other types of information processing devices such as a PC (Personal Computer) or a workstation.

[0020] The motor 3 operates in response to the supply of a drive current EC. The motor 3 is provided with a rotation angle sensor 31. The rotation angle sensor 31 outputs sensing information SO to the motor control unit 11. The sensing information SO includes information indicating the rotation angle of a rotor that is rotationally driven in the motor 3. More specifically, the motor 3 is, for example, an encoder that functions as a sensor that detects the rotation angle, but may also be configured to use a resolver as the encoder.

[0021] The current sensor 12 is a sensor that detects the drive current EC and feeds back information indicating the detected drive current EC to the motor control unit 11. The state monitoring unit 13 is a circuit that monitors the operating state of the motor control unit 11. Specifically, the motor control unit 11 outputs data related to motor control to the state monitoring unit 13. Hereinafter, when simply described as "data related to motor control", it refers to the data output from the motor control unit 11 to the state monitoring unit 13. The data related to motor control includes, for example, input information IN output from the controller 2 and input to the motor control unit 11, information indicating the drive current EC generated corresponding to the input information IN, information detected by the current sensor 12 and fed back, and information indicated by sensing information SO output from a rotation angle sensor 31 of the motor 3 that operated according to the drive current EC and input to the motor control unit 11. The temporal relationship of these pieces of information is specified, for example, by the relationship between the output timing of these pieces of information from motor control unit 11 and the clock signal of the circuit, but motor control unit 11 may further add information indicating the temporal relationship in advance and output it to state monitoring unit 13. Note that data related to motor control may be output to controller 2 via a transmission path between controller 2 and motor control unit 11, such as input information IN.

[0022] The data related to motor control may include further information. Examples of the further information include the temperature of the motor 3, the voltage of the drive current EC, the rotation speed, acceleration, and torque of the rotor of the motor 3, etc. The temperature of the motor 3 and the voltage of the drive current EC can be calculated based on the current value of the drive current EC determined by the motor control unit 11 and information fed back from the current sensor 12. The rotation speed, acceleration, and torque of the rotor of the motor 3 can be calculated based on the time-series change in the rotation angle of the motor indicated by the sensing information SO output from the rotation angle sensor 31. The calculation process related to the calculation of the further information may be performed by the motor control unit 11 or the state monitoring unit 13.

[0023] The abnormality detection unit 14 detects an abnormality when the data related to motor control includes information indicating an abnormality in at least one of the motor control unit 11 and the motor 3. For example, when the motor control unit 11 and the motor 3 are operating normally, there is consistency between the input information IN output from the controller 2 and input to the motor control unit 11, information indicating the drive current EC generated corresponding to the input information IN, information detected by the current sensor 12 and fed back from the drive current EC, and sensing information SO output from the rotation angle sensor 31 of the motor 3 operated according to the drive current EC and input to the motor control unit 11. Such consistency can be identified by patterning, calculation, etc. On the other hand, when an inconsistency occurs in which such consistency is not established, it indicates that some abnormality has occurred in at least one of the motor control unit 11 and the motor 3. The abnormality detection unit 14 performs an analysis process of the data related to motor control based on the technical idea, and detects the abnormality when there is an abnormality in the data related to motor control. In addition, the method by which the abnormality detection unit 14 obtains data regarding motor control may be a pass-through from the status monitoring unit 13, or the data regarding motor control may be output directly from the motor control unit 11 to the abnormality detection unit 14, in the same manner as the output from the motor control unit 11 to the status monitoring unit 13.

[0024] The status recording unit 15 records data related to motor control. The status recording unit 15 includes a circuit that operates as a rewritable non-volatile memory, such as a flash memory, but is not limited to this and may be a volatile memory with a backup power supply or other recording device. The data related to motor control is output to the status recording unit 15 by, for example, the status monitoring unit 13, but unless an abnormality occurs, the data related to motor control may be output from the motor control unit 11 to the status recording unit 15 and recorded therein.

[0025] The status recording unit 15 is provided so as to be accessible from the controller 2. In Fig. 2, a data transmission path for access (input) from the controller 2 to the status recording unit 15 and reading (output) of data from the status recording unit 15 to the controller 2 in response to the access is shown as an input / output path IO.

[0026] In FIG. 1, the motor control unit 11, the state monitoring unit 13, and the abnormality detection unit 14 are illustrated separately, but some or all of these may be packaged circuits (for example, SoC: System on a Chip).

[0027] The inverter 21 is a power supply circuit that generates a drive current EC based on power supplied from a main power supply 41. The main power supply monitoring unit 22 monitors the power supply in the wiring between the main power supply 41 and the inverter 21. In other words, by monitoring by the main power supply monitoring unit 22, it is possible to distinguish whether the cause of an abnormality in the drive current EC is an abnormality in the main power supply 41 or the inverter 21 or the motor control unit 11 that controls the operation of the inverter 21. Note that various circuits provided in the motor control device 1, such as the motor control unit 11, the state monitoring unit 13, the abnormality detection unit 14, and the state recording unit 15, operate by receiving power supply from a control power supply 42 that is separate from the main power supply 41. Note that the power for operating the state monitoring unit 13, the abnormality detection unit 14, and the state recording unit 15 is not limited to being supplied from the control power supply 42, and may be supplied from a battery in the motor control device 1 or from "another external power supply."

[0028] Next, matters related to the operation of the abnormality detection unit 14 will be described in more detail, particularly the case where the data related to motor control includes information indicating an abnormality in at least one of the motor control unit 11 and the motor 3. Hereinafter, the expression "when an abnormality occurs" refers to this case.

[0029] When an abnormality occurs, the abnormality detection unit 14 outputs information indicating the occurrence of the abnormality and at least one of the abnormalities to the state monitoring unit 13. The state monitoring unit 13 records partial data including information on which it is determined that the abnormality has occurred, among the data related to motor control, as data related to the abnormality in the state recording unit 15 in an overwrite-prohibited state. It is preferable that the data related to the abnormality further includes not only data at the moment when it is determined that the abnormality has occurred, but also data during a predetermined period before and after the occurrence of the abnormality. The predetermined period is arbitrary, but it is preferable that the data related to the abnormality does not become too large. As an example of the predetermined period, a period of about 10 seconds before and after the data at the moment when it is determined that the abnormality has occurred can be mentioned, but it is preferable that it can be changed within a range of about several seconds to several hours.

[0030] The data relating to the abnormality may be all data relating to motor control that falls within the predetermined period, or may be part of the data relating to motor control that falls within the predetermined period and is related to the abnormality. The data that is considered to be part of the data relating to the abnormality may be the data itself that is determined to have an abnormality (inconsistency) when viewed from the normal system, or may further include data that is treated as data that should be recorded at the same time when the abnormality occurs, in consideration of past cases.

[0031] The determination condition for determining whether other data should be recorded when an abnormality (inconsistency) occurs in which data may be determined in advance, or may be set so that when the abnormality occurs, the operation of the motor control device 1 is temporarily stopped and the determination condition can be appropriately selected. When the determination condition is determined in advance, data indicating the determination condition is held by the abnormality detection unit 14. When the determination condition is set so as to be appropriately selectable, data indicating that the abnormality has occurred is output from the motor control unit 11 to the controller 2, and the controller 2 waits for a response from the controller 2. When the determination condition is determined by an operator via the controller 2, data corresponding to the determined determination condition is recorded in a state in which overwriting is prohibited.

[0032] It should be noted that the recording capacity of the status recording unit 15 is not infinite. Therefore, as the motor control device 1 operates, the amount of data related to motor control will eventually exceed the recording capacity of the status recording unit 15. In this embodiment, if there is no free space in the status recording unit 15, older data related to motor control that is already recorded in the status recording unit 15 is overwritten with the latest data related to motor control. However, data related to an abnormality that has been recorded in the status recording unit 15 in an overwrite-prohibited state is not subject to this overwriting.

[0033] The motor control device 1 may be provided with an additional recording device that has a recording area that can be treated as the recording area of ​​the status recording unit 15. In this case, an interface connected to a data bus accessible from circuits such as the status monitoring unit 13 is provided in the motor control device 1. The additional recording device is connected to the interface.

[0034] 2 is a flowchart showing a process flow relating to data recorded in the status recording unit 15. When the power supply of the motor control device 1 is ON (step S1; Yes), data relating to motor control is sequentially recorded in accordance with the operations of the motor control device 1 and the motor 3 (step S2).

[0035] The abnormality detection unit 14 determines whether an abnormality has been detected (step S3). That is, the abnormality detection unit 14 determines whether the data related to motor control includes information indicating an abnormality in at least one of the motor control unit 11 and the motor 3. Unless an abnormality is detected (step S3; No), the process returns to step S1.

[0036] If it is determined in the process of step S3 that an abnormality has been detected (step S3; Yes), the abnormality detection unit 14 outputs information indicating the occurrence of the abnormality and / or the abnormality to the status monitoring unit 13. The status monitoring unit 13 records partial data including information indicating that the abnormality has occurred, among the data related to motor control, as data related to the abnormality in the status recording unit 15 in an overwrite-prohibited state (step S4).

[0037] After the process of step S4, it is determined whether the status recording unit 15 is filled with overwrite-prohibited data (step S5). The determination subject of step S5 is, for example, the status monitoring unit 13, but may be another configuration (for example, a circuit included in the status recording unit 15, etc.). Unless the status recording unit 15 is filled with overwrite-prohibited data (step S5; No), the process returns to step S1. If it is determined that the status recording unit 15 is filled with overwrite-prohibited data (step S5; Yes) and if the power is turned off in the process of step S1 (step S1; No), the process ends.

[0038] It should be noted that data that can be recorded in the state recording unit 15 in an overwrite-prohibited state is not limited to data related to an abnormality. For example, in response to a data save command from the controller 2, data corresponding to a period specified in the data save command or data corresponding to a predetermined period before or after the timing at which the data save command is input to the motor control unit 11 may be extracted from data related to motor control and recorded in an overwrite-prohibited state. The subject of this recording operation is, for example, the motor control unit 11, but it may also be performed by the state monitoring unit 13 or the abnormality detection unit 14 under the control of the motor control unit 11.

[0039] Identification of an abnormality based on data relating to an abnormality will be described below with reference to Figures 3 and 4. Note that when identifying an abnormality, an operator checks the contents of the data using an information processing device capable of reading and outputting data recorded in the controller 2 or the status recording unit 15.

[0040] 3 is a time chart showing an example of the relationship between the transition of the power supply voltage when an abnormality occurs in which the power supply voltage drops, and the generation of a power supply low voltage alarm signal indicating the occurrence of the abnormality. The power supply voltage refers to the voltage of the power supplied from the main power supply 41 to the inverter. The state monitoring unit 13 is provided so as to be able to monitor the power supply voltage based on the output of the main power supply monitoring unit 22.

[0041] In the example shown in FIG. 3, the power supply voltage continues to drop after timing T0, and becomes equal to or lower than the alarm threshold at timing T1. The power supply low voltage alarm signal is a signal that is generated when the power supply voltage becomes equal to or lower than the alarm threshold. Therefore, the generation of the power supply low voltage alarm signal in the time chart shown in FIG. 3 is normal. Also, in the example shown in FIG. 3, it can be estimated from the log data of the time chart that an abnormality is occurring in the configuration on the supply path of the power supply voltage. Specifically, it can be estimated that an abnormality is occurring in the connection path between the inverter 21 and the main power supply 41 or the main power supply 41 to which the main power supply monitoring unit 22 is connected.

[0042] Fig. 4 is a time chart showing an example in which a power supply low voltage alarm signal is generated even though the power supply voltage is constant. In the example shown in Fig. 4, an abnormality occurs in which a power supply low voltage alarm signal is generated at timing T2 even though the power supply voltage is constant. Therefore, in the example shown in Fig. 4, it can be estimated from the log data of the time chart that the abnormality is occurring in the configuration that generates the power supply low voltage alarm signal. Specifically, it can be estimated that the abnormality is occurring in the configuration that generates the power supply low voltage alarm signal (e.g., abnormality detection unit 14).

[0043] As described with reference to Figures 3 and 4, by continuously recording not only the log of the alarm signal that is generated when an abnormality occurs, but also the data of the event that caused the alarm signal to be generated from the time before the alarm signal was generated, it becomes easier to identify the cause of the abnormality. In this way, by making it possible to check the data related to the abnormality after the fact, it is possible to more reliably provide information that contributes to solving problems related to motor control.

[0044] As described above, according to this embodiment, the motor control device 1 includes a motor control unit 11 that generates a current (drive current EC) for operating the motor 3 in response to external input (input information IN) of information indicating a rotation command for the motor 3 and outputs the generated current to the motor 3, a recording unit (a state monitoring unit 13 and a state recording unit 15) that records data including at least the information and sensing information output from a sensor (e.g., a rotation angle sensor 31) provided on the motor 3 as data related to motor control, and an abnormality detection unit 14 that detects an abnormality that has occurred in at least one of the motor control unit 11 and the motor 3 based on the data related to motor control. The recording unit records data related to an abnormality in a state in which it is prohibited from being overwritten, out of the data related to motor control.

[0045] Therefore, data on abnormalities can be stored in a state that allows for post-mortem verification. Therefore, by post-mortem analysis of data on abnormalities, it becomes easier to understand what problems have occurred in motor control. In other words, information that contributes to solving problems related to motor control can be provided more reliably.

[0046] In addition, the recording unit (status monitoring unit 13 and status recording unit 15) can record desired partial data of the data related to motor control in an overwrite-prohibited state by recording some of the data in an overwrite-prohibited state in response to an input from the outside (e.g., controller 2) indicating a command to save some of the data related to motor control.

[0047] Furthermore, by making it possible to select, from among data relating to motor control, data to be treated as data relating to an abnormality in response to an external input (for example, the controller 2), it is possible to arbitrarily select information to be treated as data relating to an abnormality.

[0048] Furthermore, by providing an interface that allows connection of an external recording device that can be treated as the recording capacity of the status recording unit 15, the recording capacity of the status recording unit 15 can be added or expanded as desired. [Explanation of symbols]

[0049] 1 Motor control device 2. Controller 3 Motor 11 Motor control unit 12 Current Sensor 13 Status monitoring section 14 Anomaly detection section 15 Status Recording Section 31 Rotation angle sensor

Claims

1. a motor control unit that generates a current for operating the motor in response to an external input of information indicating a rotation command for the motor, and outputs the current to the motor; a recording unit that records data including at least the information and sensing information output from a sensor provided in the motor as data related to motor control; an abnormality detection unit that detects an abnormality occurring in at least one of the motor control unit and the motor based on the data related to the motor control, The recording unit records the data related to the abnormality among the data related to the motor control in an overwrite-prohibited state. Motor control device.

2. The recording unit records the part of the data related to the motor control in an overwrite-prohibited state in response to an external input indicating a command to save the part of the data. The motor control device according to claim 1 .

3. The data regarding the anomaly is selected in response to an external input. The motor control device according to claim 1 or 2.

4. An interface capable of connecting an external recording device that can be handled as the recording capacity of the recording unit; The motor control device according to claim 1 or 2.

Citation Information

Patent Citations

  • Motor control circuit

    JP2010088187A