CONTROL DEVICE
20220128962 ยท 2022-04-28
Inventors
- Yuto YASUI (Kyoto-shi, KYOTO, JP)
- Junji SHIMAMURA (Kyoto-shi, KYOTO, JP)
- Masahiko NAKANO (Kyoto-shi, Kyoto, JP)
- Takafumi OKURA (Kyoto-shi, Kyoto, JP)
- Tomonori SHIMAMURA (Kyoto-shi, KYOTO, JP)
Cpc classification
International classification
Abstract
A work machine for performing a predetermined task through electronic cam control causes a master axis and a slave axis to return to have the correlation following an electronic cam profile after stop of electronic cam control. A predetermined position, which is a position of a slave axis drive corresponding to a cam angle of the stopped master axis, is obtained based on an electronic cam profile in response to stop of synchronization control over a master axis drive and the slave axis drive performed in the work machine. In response to the stopped slave axis drive being determined to be at a position deviating from the predetermined position, a return path is calculated based on the predetermined position and an interference section, in a range of cycles for the slave axis drive, in which the slave axis drive interferes with the workpiece for the predetermined task.
Claims
1. A controller for a work machine including a master axis drive corresponding to a master axis and a slave axis drive corresponding to a slave axis, the work machine being configured to cause the slave axis drive to perform a predetermined task on a workpiece, the controller being configured to perform synchronization control of a position of the slave axis drive based on an electronic cam profile corresponding to a cam angle of the master axis, the controller comprising: an obtainer configured to obtain a predetermined position based on the electronic cam profile in response to stop of synchronization control over the master axis drive and the slave axis drive, the predetermined position being a position of the slave axis drive corresponding to a cam angle of the stopped master axis; a calculator configured to calculate, in response to the stopped slave axis drive being determined to be at a position deviating from the predetermined position, a return path based on the predetermined position and an interference section in which the slave axis drive interferes with the workpiece for the predetermined task, the interference section being in a range of cycles for the slave axis drive, the return path causing the slave axis drive to reach the predetermined position while avoiding the interference section; and a return unit configured to move the slave axis drive to the predetermined position on the return path by driving the slave axis drive.
2. The controller according to claim 1, wherein the slave axis drive is rotatable in a positive direction and a negative direction, and the calculator calculates, as the return path, a path in one of the positive direction or the negative direction to cause the slave axis drive to move to the predetermined position while avoiding the interference section.
3. The controller according to claim 1, further comprising: a notifier configured to notify that the calculator is unable to calculate the return path when a position of the stopped slave axis drive is included in the interference section or when the predetermined position is included in the interference section.
4. The controller according to claim 1, further comprising: a display configured to display, together with the electronic cam profile, the predetermined position and a current position of the slave axis drive when the slave axis drive is being driven by the return unit.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0019]
[0020]
[0021]
[0022]
[0023]
[0024]
DETAILED DESCRIPTION
Example Use
[0025] An example use of a controller according to one or more embodiments will now be described with reference to
[0026] The control system performs electronic cam control over the motors 2a and 2b in the cutting machine 6 using commands received from the standard PLC 5. In the electronic cam control, the motors 2a and 2b are controlled through synchronization control following a predetermined electronic cam profile (refer to
[0027] The cutting machine 6 receives, from the standard PLC 5, a command for cutting a wrapping sheet properly at positions intended for products to be wrapped. The servo driver 4 controls the motors 2a and 2b through feedback control to cause the motors to follow the command. In response to the command, the servo driver 4 receives feedback signals output from encoders connected to the motors 2a and 2b, and feeds a drive current to the motors 2 to cause the output from each motor to follow the command. The current fed herein is an alternating current fed from an alternating-current power supply to the servo driver 4. In the present embodiment, the servo driver 4 receives a three-phase alternating current. In another embodiment, the servo driver 4 may receive a single-phase alternating current. The servo driver 4 herein may perform any feedback control. The components of the servo driver 4 are not essential in the embodiment of the present invention and will not be described in detail.
[0028]
[0029] To facilitate understanding in the present embodiment, the motor 2a revolves once to transport a single product to be wrapped on the belt conveyor 6b by a distance appropriate for the wrapping. The motor 2b revolves once to drive the rotary cutter 6a by one revolution to cut a portion of the wrapping sheet with the length corresponding to the single product to be wrapped. More specifically, as shown in
[0030] The control structure of the standard PLC 5 will now be described with reference to
[0031] The synchronization control unit 50 is a functional unit responsible for electronic cam control as synchronization control performed in the cutting machine 6. In the present embodiment, the synchronization control unit 50 generates commands for the motor 2a as the master axis drive and the motor 2b as the slave axis drive to follow the electronic cam profile shown in
[0032] The range of rotation angles between the first angle Y11 and the second angle Y12 (Y12>Y11) in the range of cycles of the motor 2b corresponds to the interference section R1 shown in
[0033] The synchronization control unit 50 also stops electronic cam control performed between the motor 2a and the motor 2b. Stopping the electronic cam control includes stopping the control in response to, for example, an emergency stop request provided from an emergency stop button (not shown) included in the control system. In response to the emergency stop request, the synchronization control unit 50 promptly stops the electronic cam control (synchronization control) that has been performed. This stops the motor 2a and the motor 2b independently of each other.
[0034] The obtainer 51 obtains, when the electronic cam control performed between the motor 2a and the motor 2b is stopped, the predetermined position of the motor 2b, which is the rotation angle of the motor 2b corresponding to the rotation angle of the stopped motor 2a, based on the electronic cam profile shown in
[0035] The stop of electronic cam control will now be described with reference to
[0036] The calculator 52 calculates a return path to be used by the motor 2b to cause the rotation angle of the motor 2b deviating from an intended position in the electronic cam profile to return to the predetermined position P23 in the electronic cam profile. In detail, the calculator 52 calculates a return path that avoids an interference section R1 in which the rotary cutter 6a drivable by the motor 2b in the cutting machine 6 can interfere with a workpiece.
[0037] The return unit 53 drives the motor 2b to move the motor 2b to the predetermined position P23 on the return path calculated by the calculator 52. The notifier 54 notifies the user when the calculator 52 cannot calculate a return path that avoids the interference section R1 as described above. Such a return path cannot be calculated when, for example, the position P22 of the stopped motor 2b is included in the interference section R1 or the predetermined position P23 obtained by the obtainer 51 is included in the interference section R1. The display 55 displays changes in the current position of the motor 2b toward the predetermined position P23 in a manner superimposed on the electronic cam profile during the return process for the motor 2b being performed by the return unit 53. The display 55 may use a display panel of the standard PLC 5 or a display panel externally connected to the standard PLC 5.
Return Process
[0038] The return process for moving the motor 2b as the slave axis drive to return to the predetermined position P23 in response to stop of the electronic cam control in the cutting machine 6 will now be described with reference to
[0039] In step S102, the obtainer 51 obtains the predetermined position P23 of the motor 2b based on the electronic cam profile. In step S103, the determination is performed as to whether the current position P22 of the stopped motor 2b deviates from the obtained predetermined position P23. For the current position P22 deviating from the predetermined position P23 in the state shown in
[0040] In step S104, the determination is performed as to whether a return path can be calculated for moving the motor 2b at the current position P22 deviating from the electronic cam profile to return to the predetermined position P23. More specifically, at the current position P22 of the stopped motor 2b included in the interference section R1, the stopped motor 2b has the rotary cutter 6a interfering with the workpiece. Moving the motor 2b in any manner causes the rotary cutter 6a to interfere with the workpiece further in the return process. For the predetermined position P23 calculated by the calculator 52 included in the interference section R1, the motor 2b is moved in a direction to cause the rotary cutter 6a to interfere with the workpiece. The return process thus involves interference between the rotary cutter 6a and the workpiece. Such interference between the rotary cutter 6a and the workpiece in the return process is unintended and inappropriate. The return process involving such unintended interference is not to be performed. For the current position P22 included in the interference section R1 or for the predetermined position P23 included in the interference section R1, the determination result in step S104 is negative, indicating that the return path cannot be calculated. In any other cases, the determination result in step S104 is affirmative, indicating that the return path can be calculated. In response to an affirmative determination result in step S104, the processing advances to step S105. In response to a negative determination result, the processing advances to step S108.
[0041] In step S105, the calculator 52 calculates the return path based on the current position P22 of the stopped motor 2b, the predetermined position P23, and the interference section R1. More specifically, the calculator 52 calculates, as the return path, a path from the current position P22 to the predetermined position P23 that avoids the interference section R1. In the example shown in
[0042] In step S106, the return unit 53 drives the motor 2b on the return path calculated in step S105 to cause the current position P22 to return to the predetermined position P23. In step S107, the display 55 causes changes in the current position P22 of the motor 2b toward the predetermined position P23 in the return process to appear on the display panel.
[0043] The display panel may also show, in addition to the changes in the current position P22 of the motor 2b, parameters for controlling such positional changes. For example, the parameters include the movement speed (speed), acceleration (acc.), deceleration (dec.), and jerk (Jerk) of the current position P22 in the return process. For the display panel that is a touchscreen, the display panel and the standard PLC 5 may be designed to allow the user touching the display panel to input these parameter values, which may then be reflected in the return process for the motor 2b.
[0044] When the processing advances to step S108 after the negative determination in step S104, the notifier 54 notifies the user that a return path to avoid the interference section R1 cannot be calculated in step S108. The notification may be performed, for example, with text or an image appearing on the display panel shown in
[0045] As described above, the return process shown in
APPENDIX 1
[0046] A controller (5) for a work machine (6) including a master axis drive (2a) corresponding to a master axis and a slave axis drive (2b) corresponding to a slave axis, the work machine (6) being configured to cause the slave axis drive (2b) to perform a predetermined task on a workpiece, the controller (5) being configured to perform synchronization control of a position of the slave axis drive (2b) based on an electronic cam profile corresponding to a cam angle of the master axis, the controller (5) comprising:
[0047] an obtainer (51) configured to obtain a predetermined position (P23) based on the electronic cam profile in response to stop of synchronization control over the master axis drive (2a) and the slave axis drive (2b), the predetermined position (P23) being a position of the slave axis drive (2b) corresponding to a cam angle of the stopped master axis;
[0048] a calculator (52) configured to calculate, in response to the stopped slave axis drive (2b) being determined to be at a position deviating from the predetermined position (P23), a return path based on the predetermined position (P23) and an interference section (R1) in which the slave axis drive (2b) interferes with the workpiece for the predetermined task, the interference section (R1) being in a range of cycles for the slave axis drive (2b), the return path causing the slave axis drive (2b) to reach the predetermined position (P23) while avoiding the interference section (R1), and
[0049] a return unit (53) configured to move the slave axis drive (2b) to the predetermined position (P23) on the return path by driving the slave axis drive (2b).
REFERENCE SIGNS LIST
[0050] 1 network [0051] 2a, 2b motor [0052] 5 standard PLC [0053] 50 synchronization control unit [0054] 51 obtainer [0055] 52 calculator [0056] 53 return unit [0057] 54 notifier [0058] 55 display [0059] 6a rotary cutter [0060] 6b belt conveyor