Controller
The controller aligns time-series power consumption changes to visualize and reduce power consumption in PLC programs, promoting efficient use of regenerative energy.
Patent Information
- Application Number
- JP2023038752
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-13
- Publication Date
- 2024-09-27
AI Technical Summary
Existing PLC programs are difficult to modify for power consumption reduction without a clear visualization of the power consumption reduction effect.
A controller that includes a storage unit, command unit, receiving section, and output section to align time-series changes in power consumption of motors, output warnings for excessive regenerative power, and facilitate comparison with past consumption data.
Facilitates program modifications to reduce power consumption by visualizing power usage and encouraging efficient utilization of regenerative energy.
Smart Images

Figure 2024129506000001
Abstract
Description
[Technical field]
[0001] The present invention relates to a controller. [Background technology]
[0002] In a servo system, a controller such as a Programmable Logic Controller (PLC) outputs a command signal to a servo driver, and the servo driver drives a motor to operate in accordance with the command signal received from the controller.
[0003] In such a servo system, a technique has been proposed for acquiring the amount of power consumption and outputting the acquired amount of power consumption (see, for example, Patent Documents 1 to 3). [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2013-063475 A [Patent Document 2] JP 2006-119916 A [Patent Document 3] JP 2017-005913 A Summary of the Invention [Problem to be solved by the invention]
[0005] In PLCs, the programs that drive the PLC are sometimes modified to reduce power consumption. However, it is difficult to visualize the effect of the modified programs on reducing power consumption by simply outputting the collected power consumption data.
[0006] One aspect of the disclosed technology is to provide a controller that can encourage modification of a program to reduce power consumption. [Means for solving the problem]
[0007] One aspect of the disclosed technology is exemplified by a controller as follows: The controller includes a storage unit that stores a program, a command unit that transmits command signals at a predetermined cycle to a plurality of servo drivers that drive corresponding motors according to the program, a receiving unit that receives at the predetermined cycle the amount of power consumption of each of the motors driven according to the command signals, and an output unit that outputs, with an aligned time axis, the time-series changes in the amount of power consumption of each of the motors received at the predetermined cycle.
[0008] According to the controller, the time series changes in the power consumption of each of the motors are output with the time axis aligned. Therefore, for example, if each of the motors enters the regenerative state at the same timing, it is easy to confirm that the regenerative energy is not being utilized but is being consumed by the regenerative resistor. Therefore, the controller can encourage the modification of the program to reduce power consumption.
[0009] The controller may have the following features: The storage unit further stores a threshold value, and the output unit outputs an alarm when the regenerative power indicated by the power consumption of at least one of the motors is equal to or greater than the threshold value. By issuing such an alarm, a user of the controller can be notified that regenerative power outside an allowable range has occurred, and thus the user can be prompted to modify the program.
[0010] The controller may include the following features: The memory unit stores a first time period The time series change in the power consumption of each of the motors is further stored, and the output unit outputs, after the first time period, the time series change in the power consumption of each of the motors received by the receiving unit and the time series change in the power consumption in the first time period stored in the storage unit, with their time axes aligned. With this feature, the newly acquired time series change in the power consumption and the time series change in the power consumption in the past first time period can be presented to the user in a state in which they can be easily compared.
[0011] Here, the predetermined period may be a control period in which the controller controls the plurality of servo drivers. By acquiring the power consumption of each of the motors for each control period, it becomes easy to grasp the fluctuation in the power consumption of each of the motors for each control period, and to grasp the fluctuation in the power consumption of each of the motors at a specified time or control profile. Effect of the Invention
[0012] According to the disclosed technology, it is possible to provide a controller that can encourage modification of a program to reduce power consumption. [Brief description of the drawings]
[0013] [Figure 1] FIG. 1 is a diagram illustrating an example of a servo system according to an embodiment. [Diagram 2] FIG. 2 is a diagram illustrating an example of a configuration related to power supply of the servo driver according to the embodiment. [Diagram 3] FIG. 3 is a diagram illustrating an example of a hardware configuration of the PLC according to the embodiment. [Figure 4] FIG. 4 is a diagram illustrating an example of a processing block of the PLC according to the embodiment. [Diagram 5] FIG. 5 is a first diagram showing an example of a power consumption confirmation screen output by an output unit in the embodiment. [Figure 6] FIG. 6 is a second diagram illustrating an example of the power consumption confirmation screen output by the output unit in the embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0014] <Application Examples> An application example of the present invention will be described. A servo system 100 according to this application example includes a PLC1, servo drivers 2A, 2B, servo motors 3A, 3B, power lines 4A, 4B, encoder cables 5A, 5B, and a network N1, as illustrated in Fig. 1. When the servo drivers 2A, 2B are not differentiated, they are also referred to as servo drivers 2. When the servo motors 3A, 3B are not differentiated, they are also referred to as servo motors 3. When the power lines 4A, 4B are not differentiated, they are also referred to as power lines 4. When the encoder cables 5A, 5B are not differentiated, they are also referred to as encoder cables 5.
[0015] The PLC1 transmits command signals to the servo drivers 2A and 2B via the network N1 at a predetermined cycle. The PLC1 may transmit command signals to the servo drivers 2A and 2B to instruct the same operation, or may transmit command signals to instruct different operations. The servo drivers 2A and 2B supply drive currents to the servo motors 3 via the power lines 4 so that the servo motors 3 are driven according to the command signals. The servo driver 2 collects the amount of power consumed by the servo motors 3 driven according to the command signals, and transmits the collected power consumption to the PLC1 at the predetermined cycle.
[0016] The PLC 1 outputs the power consumption amounts of the servo motors 3 received from the servo driver 2. At this time, the PLC 1 outputs the time series changes in the power consumption amounts of the servo motors 3A and 3B, aligning the time axes.
[0017] According to this application example, the power consumption amount of the servo motor 3 is collected at a predetermined cycle for transmitting a command signal. This makes it easy to tally up the power consumption for each operation profile that drives the servo motor 3. In addition, since the power consumption of the servo motors 3A and 3B is output with the time axes aligned, it becomes easy to compare the power consumption at the same time for each axis. As a result, it becomes easy to modify the program of the servo system 100 to reduce power consumption.
[0018] <Embodiment> Hereinafter, an embodiment will be described with reference to the drawings. Fig. 1 is a diagram showing an example of a servo system 100 according to an embodiment. As described above, the servo system 100 includes a PLC 1, servo drivers 2A, 2B, servo motors 3A, 3B, power lines 4A, 4B, encoder cables 5A, 5B, a DC bus 6, and a network N1.
[0019] The PLC1 transmits a command signal to the servo driver 2 via the network N1 at a predetermined cycle. The predetermined cycle is, for example, a control cycle in which the PLC1 controls the servo driver 2A and the servo driver 2B. The PLC1 functions, for example, as a monitor for the servo driver 2 by executing processing according to a program prepared in advance. The PLC1 also receives a feedback signal indicating the operation of the servo motor 3 from the servo driver 2 at the above-mentioned predetermined cycle.
[0020] The servo driver 2 receives a command signal from the PLC 1 via the network N1. The servo driver 2 supplies a drive current to the servo motor 3 via a power line 4 so that the servo motor 3 operates according to the command signal. The servo driver 2 also receives a feedback signal from the servo motor 3 via an encoder cable 5. The servo driver 2 has a servo system that performs feedback control using a position controller, a speed controller, a current controller, etc., and uses these signals to servo-control and drive the servo motor 3. The servo driver 2 also collects the amount of power consumption of the servo motor 3 and transmits the collected amount of power consumption of the servo motor 3 to the PLC 1 at the above-mentioned predetermined interval. The servo drivers 2A and 2B share a DC bus 6 extending from a power source.
[0021] The servo motor 3 is, for example, an AC servo motor. The servo motor 3 is supplied with a drive current from the servo driver 2 via a power line 4. The servo motor 3 outputs a feedback signal indicating the operation of the servo motor 3 to the servo driver 2 via an encoder cable 5.
[0022] The network N1 is an industrial network that connects the PLC 1 and the servo driver 2. The network N1 is, for example, EtherCAT (registered trademark).
[0023] 2 is a diagram showing an example of a configuration related to power supply of the servo drivers 2A and 2B according to the embodiment. The servo driver 2A includes a regenerative circuit 21A, a power module 22A, a P bus 23A, an N bus 24A, and a capacitor 25A.
[0024] A P-side bus 61 of the DC bus 6 is connected to the P bus 23A. Also, an N-side bus 62 of the DC bus 6 is connected to the N bus 24A.
[0025] The regenerative circuit 21A includes a regenerative resistor that consumes regenerative energy from the servo motor 3A in a regenerative state. The capacitor 25A is a capacitor that is charged by the regenerative energy from the servo motor 3A in a regenerative state. The power module 22A supplies a drive current to the servo motor 3A based on the direct current supplied from the DC bus 6.
[0026] The servo driver 2B includes a regenerative circuit 21B, a power module 22B, a P bus 23B, an N bus 24B, and a capacitor 25B. The P bus 23B and the N bus 24B are similar to the regenerative circuit 21A, the power module 22A, the P bus 23A, the N bus 24A, and the capacitor 25A, respectively, and therefore will not be described.
[0027] The PN voltages of the servo drivers 2A, 2B connected by the DC bus 6 are at the same potential. Therefore, when one servo motor 3 enters a regenerative state, the capacitors 25A, 25B are charged in all servo drivers 2 unless the other servo motors 3 are performing power running operations that consume power, causing the PN voltages to rise. When the PN voltages rise to a voltage at which the regenerative circuits 21A, 21B operate, the regenerative energy from the servo motor 3 is consumed by the regenerative resistors of the regenerative circuits 21A, 21B.
[0028] 3 is a diagram showing an example of a hardware configuration of a PLC 1 according to an embodiment. The PLC 1 includes a CPU 101, a main memory unit 102, an auxiliary memory unit 103, a communication unit 104, and a connection bus B1. The CPU 101, the main memory unit 102, the auxiliary memory unit 103, and the communication unit 104 are mutually connected by the connection bus B1.
[0029] The CPU 101 is also called a microprocessor unit (MPU) or a processor. The CPU 101 is not limited to a single processor, and may have a multiprocessor configuration. Also, a single CPU 101 connected to a single socket may have a multicore configuration. The CPU 101 may be a combination of a processor and an integrated circuit. The combination is called, for example, a microcontroller unit (MCU), a system-on-a-chip (SoC), a system LSI, a chipset, or the like. In the PLC 1, the CPU 101 expands a program stored in the auxiliary storage unit 103 into a working area of the main storage unit 102, and controls peripheral devices through the execution of the program. This allows the PLC 1 to execute processing that meets a predetermined purpose. The main storage unit 102 and the auxiliary storage unit 103 are recording media that the CPU 101 can read.
[0030] The main storage unit 102 is exemplified as a storage unit directly accessed by the CPU 101. The main storage unit 102 includes a Random Access Memory (RAM) and a Read Only Memory (ROM).
[0031] The auxiliary storage unit 103 stores various programs and various data in a readable and writable recording medium. The auxiliary storage unit 103 is also called an external storage device. The auxiliary storage unit 103 stores various programs, various tables, and the like.
[0032] The auxiliary storage unit 103 is, for example, an erasable programmable ROM (EPROM), a solid state drive (SSD), a hard disk drive (HDD), etc. The auxiliary storage unit 103 also stores, for example, a program P1 that controls the servo motor 3.
[0033] The communication unit 104 is, for example, an interface with the network N1. The communication unit 104 communicates with external devices via the network N1.
[0034] 4 is a diagram showing an example of a processing block of the PLC1 according to the embodiment. The PLC1 includes a command unit 11, a receiving unit 12, and an output unit 13. The PLC1 can be understood as an information processing device including a processor and a memory. In the PLC1, the processor executes a predetermined program stored in the memory to realize each processing block such as the command unit 11, the receiving unit 12, and the output unit 13.
[0035] The command unit 11 outputs a command signal in accordance with the program P1 at predetermined intervals to the servo driver 2. The receiving unit 12 receives the amount of power consumption of the servo motor 3 transmitted from the servo driver 2 at predetermined intervals.
[0036] The output unit 13 outputs the power consumption of the servo motor 3 received by the receiving unit 12. The output unit 13 outputs, for example, the time series changes in the power consumption of each of the servo motors 3A and 3B with the time axes aligned. The output unit 13 outputs the power consumption of the servo motor 3 to, for example, an external display connected to the PLC 1.
[0037] FIG. 5 is a first diagram showing an example of a power consumption confirmation screen 131 output by the output unit 13 in the embodiment. A graph 1311, a graph 1312, a graph 1313, a graph 1314, and a graph 1315 are displayed on the power consumption confirmation screen 131 shown in FIG. 5. The graph 1311 shows a time series change in the voltage of the servo motor 3A. The graph 1312 shows a time series change in the power consumption of the servo motor 3A. The graph 1313 shows a time series change in the voltage of the servo motor 3B. The graph 1314 shows a time series change in the power consumption of the servo motor 3B. The graph 1315 shows a time series change in the total value of the power consumption of the servo motor 3A and the power consumption of the servo motor 3B.
[0038] In the power consumption confirmation screen 131, the time axes of the graphs 1311, 1312, 1313, 1314, and 1315 are aligned. Therefore, in the state illustrated in Fig. 5, by comparing the graphs 1312 and 1314, it can be understood that the regenerative energy of the servo motor 3A is consumed by the regenerative circuit 21A and the regenerative energy of the servo motor 3B is consumed by the regenerative circuit 21B at the same timing. As a result, by referring to the graph 1315, it can be understood that the regenerative energy of the servo motors 3A and 3B is not effectively utilized and is only consumed by the regenerative circuits 21A and 21B.
[0039] FIG. 6 is a second diagram showing an example of the power consumption confirmation screen 131 output by the output unit 13 in the embodiment. FIG. 6 illustrates the power consumption confirmation screen 131 after the program P1 is modified so that the regenerative states of the servo motor 3A and the servo motor 3B do not overlap in time. The power consumption confirmation screen 131 illustrated in FIG. 6 displays graphs 1321, 1322, 1323, 1324, and 1325. The graph 1321 shows the time series change in the voltage of the servo motor 3A. The graph 1322 shows the time series change in the power consumption of the servo motor 3A. The graph 1323 shows the time series change in the voltage of the servo motor 3B. The graph 1324 shows the time series change in the power consumption of the servo motor 3B. The graph 1325 shows the time series change in the total value of the power consumption of the servo motor 3A and the power consumption of the servo motor 3B.
[0040] Comparing graph 1322 and graph 1324, it can be seen that the timing at which servo motor 3A enters the regenerative state and the timing at which servo motor 3B enters the regenerative state have been shifted by modifying program P1. Referring to graph 1325, it can be seen that the regenerative energy of servo motor 3A is used to drive servo motor 3B, so that the total power of servo motors 3A and 3B is reduced and the energy consumed by regenerative circuits 21A and 21B is reduced.
[0041] <Effects of the embodiment> According to this embodiment, the time series changes in the power consumption of the servo motors 3A and 3B are output on the power consumption confirmation screen 131 with the time axis aligned. Therefore, for example, if the servo motors 3A and 3B enter the regenerative state at the same timing, it is easy to confirm that the regenerative energy is not being utilized but is being consumed in the regenerative circuits 21A and 21B. Therefore, according to this embodiment, This can encourage the modification of program P1 to make more efficient use of electricity.
[0042] In this embodiment, the power consumption amounts of the servo motors 3A, 3B are transmitted from the servo drivers 2A, 2B to the PLC 1 at a predetermined cycle in which a command signal is transmitted from the PLC 1. Therefore, according to this embodiment, the fluctuations in the power consumption amounts of the servo motors 3A, 3B can be grasped in more detail than when the power from the start to the stop of driving of the servo motors 3A, 3B is transmitted collectively from the servo drivers 2A, 2B to the PLC 1.
[0043] Here, in the servo system 100, a threshold value of the regenerative energy may be stored in the auxiliary storage unit 103. Then, the output unit 13 may issue a warning when the regenerative energy generated in the servo motor 3 becomes equal to or greater than the threshold value. Issuing such a warning can notify the user of the servo system 100 that the regenerative circuits 21A, 21B have consumed regenerative energy outside the allowable range even after tuning of the servo system 100, and can thus encourage the user to modify the program P1.
[0044] Furthermore, the PLC 1 may store in the auxiliary storage unit 103 the time series change in the amount of power consumption of the servo motor 3 acquired from the servo driver 2 during tuning of the servo system 100. Then, when the actual operation of the servo system 100 starts, the PLC 1 may output the time series change in the amount of power consumption of the servo motor 3 during actual operation and the time series change in the amount of power consumption of the servo motor 3 during tuning, with the time axes aligned. By outputting in this manner, it is possible to easily check whether the fluctuation in the amount of power consumption of the servo system 100 during actual operation is as expected during tuning.
[0045] Furthermore, the PLC 1 can receive the amount of power consumption of the servo motor 3 transmitted from the servo driver 2 in a control period for controlling the servo driver 2 and the servo motor 3. Therefore, according to this embodiment, it becomes easy to grasp the fluctuation in the amount of power consumption of the servo motor 3 for each control period, and the fluctuation in the power consumption of the servo motor 3 at a specified time or control profile.
[0046] In the embodiment, the servo system 100 includes two servo drivers 2A, 2B and two servo motors 3A, 3B corresponding to the respective servo drivers 2A, 2B. However, the servo system 100 may include three or more servo drivers and three or more servo motors corresponding to the respective servo drivers.
[0047] The embodiments and modifications disclosed above can be combined with each other.
[0048] (Appendix 1) A memory unit (103) for storing a program (P1); a command unit (11) for transmitting command signals at a predetermined cycle to a plurality of servo drivers (2A, 2B) which drive corresponding motors (3A, 3B) in accordance with the program (P1); a receiving unit (12) that receives, at the predetermined period, the amount of power consumption of each of the motors (3A, 3B) driven in accordance with the command signal; and an output unit (13) that outputs, with a time axis aligned, the time-series changes in the amounts of power consumed by each of the motors (3A, 3B) received at the predetermined period. Controller(1). (Appendix 2) The storage unit (103) further stores a threshold value, The output unit (13) stores in advance in a storage unit (103) regenerative power indicated by the amount of power consumption of at least one of the motors (3A, 3B). If the value is equal to or greater than the threshold, an alarm is issued. 2. The controller (1) as described in appended claim 1. (Appendix 3) The storage unit (103) further stores a time series change in the amount of power consumption of each of the motors (3A, 3B) during a first period; the output unit (13) outputs, after the first time period, the time series change in the amount of power consumption of each of the motors (3A, 3B) received by the receiving unit (12) and the time series change in the amount of power consumption of each of the motors (3A, 3B) during the first time period stored in the storage unit (103), with their time axes aligned; 3. The controller (1) according to claim 1 or 2. (Appendix 4) The predetermined period is a control period in which the controller (1) controls the plurality of servo drivers (2A, 2B). 4. A controller (1) according to any one of claims 1 to 3. [Explanation of symbols]
[0049] 1. PLC 2. Servo driver 2A Servo Driver 2B··Servo driver 3. Servo motor 3A servo motor 3B··Servo motor 4...Power line 4A·Power line 4B··Power line 5. Encoder cable 5A Encoder Cable 5B Encoder cable 6 DC bus 11...Command Department 12 Receiving section 13 Output section 21A Regenerative Circuit 21B··Regeneration circuit 22A Power Module 22B Power Module 23A··P busbar 23B...P bus bar 24A...N busbar 24B...N busbar 25A Capacitor 25B Capacitor 61··P side bus 62··N side bus 100··Servo system 101··CPU 102...Main memory 103...Auxiliary storage section 104 Communications Department 131...Power consumption confirmation screen 1311··Graph 1312··Graph 1313··Graph 1314··Graph 1315··Graph 1321··Graph 1322··Graph 1323··Graph 1324··Graph 1325··Graph B1··Connecting bus N1 Network P1 Program
Claims
1. A storage unit that stores a program; a command unit that transmits command signals to a plurality of servo drivers that respectively drive corresponding motors at a predetermined cycle in accordance with the program; a receiving unit that receives, at the predetermined period, the amount of power consumption of each of the motors that is driven in accordance with the command signal; an output unit that outputs the time-series changes in the power consumption of each of the motors received at the predetermined period with a time axis aligned; controller.
2. The storage unit further stores a threshold value, The output unit outputs a warning when a regenerative power indicated by the power consumption amount of at least one of the motors among the power consumption amounts of the motors is equal to or greater than the threshold value. The controller of claim 1 .
3. The storage unit further stores a time series change in the amount of power consumption of each of the motors during a first period of time, the output unit outputs, after the first time period, the time series change in the amount of power consumption of each of the motors received by the receiving unit and the time series change in the amount of power consumption of each of the motors during the first time period stored in the storage unit, with their time axes aligned. The controller of claim 1 .
4. The predetermined period is a control period in which the controller controls the plurality of servo drivers. A controller according to any one of claims 1 to 3.
Citation Information
Patent Citations
Power control system for injection molding machine
JP2010240915A
Servo system
JP2014032533A
Waveform display device
JP2018112422A
System setting support device and system setting support program
JP2022141497A
Instrument for automatically measuring power consumption to effectively utilize remaining power
JP2006119916A
