Process control systems and processing systems

By using numerical control devices in the machining control system to generate target coordinate position instructions and synchronize communication components with the robot control device, the problem of complexity in programming between machine tools and robots is solved, the coordinated action between machine tools and robots is realized, and the programming process is simplified. .

CN111796562BActive Publication Date: 2024-12-03FANUC LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010248633.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-04-03
Filing Date
2020-04-01
Publication Date
2024-12-03
Estimated Expiration
2040-04-01

AI Technical Summary

Technical Problem

In the prior art, the program systems between machine tools and robots are different, which leads to the need to master the programming knowledge of machine tools and robots at the same time to achieve coordinated actions, which increases programming complexity and difficulty.

Method used

A processing control system is designed to generate target coordinate position instructions at the top of the robot through a numerical control device, and synchronize with the robot control device through communication, calculate and send target position instructions of the driving shaft, so that the machine tool and the robot can coordinate the operation.

Benefits of technology

It realizes easy coordinated action between the machine tool and the robot, reduces programming complexity, and allows the programming operator to control the machining system by learning numerical control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111796562B_ABST
    Figure CN111796562B_ABST
Patent Text Reader

Abstract

The present invention provides a machining control system and a machining system that are easy to design and enable a machine tool and a robot to coordinate actions. The machining control system comprises: a numerical control device that controls a machine tool; a robot control device that communicates with the numerical control device and controls a robot having multiple drive axes, wherein the numerical control device comprises: a coordinate position instruction production unit that produces coordinate position instructions for specifying the target coordinate position of the top end of the robot at each moment based on a machining program; a communication unit that sends the current target coordinate position to the robot control device, and the robot control device comprises: a target drive position calculation unit that calculates the target drive position of each of the multiple drive axes for positioning the top end at the target coordinate position received from the communication unit; and a drive instruction production unit that produces drive instructions for each drive axis so that the drive axis is positioned at the target drive position calculated by the target drive position calculation unit.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a processing control system and a processing system. Background Art

[0002] There is a processing system that performs processing by cooperation between a machine tool and a robot. As a specific example, there is a known processing system that uses a robot to automatically install and remove (load / unload) a workpiece processed by a machine tool. In this processing system, a processing control system is required to control the machine tool and the robot to coordinate their actions.

[0003] For example, Patent Document 1 describes a control device, which is characterized by "having: a processing program input unit, which inputs a processing program including at least one machine tool command statement and at least one robot command statement into the control device; a processing program storage unit, which stores the processing program input by the processing program input unit in the control device; a machine tool control unit, which controls the machine tool based on the machine tool command statement; a robot control unit, which controls the robot based on the robot command statement; and a processing program distribution unit, which transmits the machine tool command statement included in the processing program stored by the processing program storage unit to the machine tool control unit, and transmits the robot command statement to the robot control unit."

[0004] Prior art literature

[0005] Patent Literature

[0006] Patent Document 1: Japanese Patent No. 5752179 Summary of the invention

[0007] Problem that the invention aims to solve

[0008] The control device described in Patent Document 1 processes a machining program including machine tool command statements and robot command statements, transmits the machine tool command statements to the machine tool control unit through a machining program distribution unit, and transmits the robot command statements to the robot control unit. However, in general, the program systems are different between machine tools and robots. Therefore, in order to create a machining program in which machine tool command statements and robot command statements are mixed together, knowledge about machine tool programming and knowledge about robot programming (teaching) are required. Therefore, it is desirable to provide a machining control system and a machining system that can easily coordinate the actions of a machine tool and a robot.

[0009] Solutions for solving problems

[0010] One method of the machining control system involved in the present disclosure comprises: a numerical control device, which controls a machine tool; and a robot control device, which communicates with the numerical control device to control a robot having multiple drive axes, wherein the numerical control device has: a coordinate position instruction creation unit, which creates a coordinate position instruction for specifying a target coordinate position of the top end of the robot at each moment based on a machining program; and a communication unit, which sends the current target coordinate position to the robot control device, and the robot control device has: a target drive position calculation unit, which calculates the target drive position of each of the multiple drive axes for positioning the top end at the target coordinate position received from the communication unit; and a drive instruction creation unit, which creates a drive instruction for each of the drive axes so that the drive axis is positioned at the target drive position calculated by the target drive position calculation unit.

[0011] Effects of the Invention

[0012] According to the present disclosure, it is possible to provide a machining control system and a machining system that can easily coordinate operations between a machine tool and a robot. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Figure 1 It is a diagram showing the structure of a processing system according to one embodiment of the present disclosure.

[0014] Figure 2 It is shown Figure 1 Flow chart of the control process in a machining control system.

[0015] Description of Reference Numerals

[0016] 1: machine tool; 2: robot; 3: machining control system; 10: numerical control device; 11: coordinate position instruction generation unit; 12: communication unit; 13: coordinate position confirmation unit; 14: NC drive instruction generation unit; 20: robot control device; 21: target drive position calculation unit; 22: robot drive instruction generation unit; 100: machining system; H: hand (top end); W: workpiece. DETAILED DESCRIPTION

[0017] Hereinafter, embodiments of the present disclosure will be described with reference to the drawings. Figure 1 It is a diagram showing the structure of a processing system 100 according to one embodiment of the present disclosure.

[0018] The machining system 100 includes a machine tool 1, a robot 2, and a machining control system 3 that controls the machine tool 1 and the robot 2. The machining control system 3 itself is one embodiment of the machining control system according to the present disclosure.

[0019] The machine tool 1 has a plurality of drive shafts, and a driven object is moved by driving these drive shafts. The machine tool 1 is not particularly limited, but a machining center can be cited as a typical example. Figure 1 The illustrated machine tool 1 has a chuck C holding a tool T and a bed B holding a workpiece W. The chuck C is moved by a plurality of drive shafts to move the tool T, and the bed B is moved to move the workpiece W. That is, the driven bodies in the machine tool 1 are the tool T (or the chuck C holding the tool T) and the workpiece W (or the bed B holding the workpiece W). The machine tool 1 drives the drive shafts to move the driven bodies, thereby machining the workpiece W.

[0020] The robot 2 has a plurality of drive axes to position the top end. The robot 2 is typically a vertical multi-joint robot as shown in the figure, but may also be an orthogonal coordinate robot, a selective compliance assembly robot arm (SCARA) robot, a parallel link robot, etc. The robot 2 assists in the processing of the workpiece W by coordinating actions with the machine tool 1. Figure 1 The robot 2 shown in the example includes: a first arm A1, a second arm A2, and a third arm A3 which are connected in sequence from the base end side fixed to the floor; and a hand H which is a top end portion provided at the top end to hold the workpiece W. In the machining system 100, the robot 2 removes the machined workpiece W from the machine tool 1 and mounts a new workpiece before machining on the machine tool 1.

[0021] The machining control system 3 includes: a numerical control device 10 that controls the machine tool 1; and a robot control device 20 that communicates with the numerical control device 10 and controls the robot 2. In the machining system 100 of the present embodiment, the machining control system 3 is connected to the machine tool 1 and the robot 2, but the machining control system 3 may be connected to a simulator for virtually reproducing the motion of the machine tool 1 on a computer, or a simulator for virtually reproducing the motion of the robot 2.

[0022] The numerical control device 10 includes: a coordinate position instruction generating unit 11, which generates a coordinate position instruction for specifying the target coordinate position of the top end (hand H) of the robot 2 of the machine tool 1 at each moment based on a machining program; a communication unit 12, which sends the current target coordinate position of the hand H to the robot control device 20; a coordinate position confirmation unit 13, which confirms the difference between the current coordinates of the hand H and the current target coordinate position; and an NC drive instruction generating unit 14, which generates drive instructions for each drive axis of the machine tool 1 so that the driven body moves to the target coordinate position calculated by the coordinate position instruction generating unit 11.

[0023] The numerical control device 10 can be configured, for example, by importing an appropriate program into a computer device having a CPU, a memory, an input / output interface, etc. The coordinate position instruction generating unit 11, the communication unit 12, the coordinate position confirming unit 13, and the NC drive instruction generating unit 14 of the numerical control device 10 are functionally distinguished and do not need to be clearly distinguished in terms of physical structure and program structure. In addition, the numerical control device 10 can also be connected to a simulator of the machine tool 1, in which case the numerical control device 10 can also be configured integrally with the computer constituting the simulator.

[0024] The coordinate position instruction generating unit 11 calculates the target coordinate positions of the plurality of driven bodies of the tool machine 1 at each time based on the machining program input by the operator, and generates a coordinate position instruction for specifying the time variation of the target coordinate position of each driven body. The target coordinate position calculated by the coordinate position instruction generating unit 11 is preferably set as position information in the form of, for example, XYZWPR, including posture information in addition to coordinate information.

[0025] Regarding the driven body that is the object of production when the coordinate position instruction for specifying the target coordinate position is produced by the coordinate position instruction production unit 11, for example, in addition to the tool T (or chuck C), the workpiece W (or base B), etc., it also includes a virtual driven body that does not actually exist mechanically, that is, a virtual driven body (for example, a virtual tool). The coordinate position of the virtual driven body corresponds to the desired coordinate position of the top end (hand H) of the robot 2. In other words, the coordinate position instruction production unit 11 calculates the target coordinate position of the top end of the robot 2 at each moment as the coordinate position of the virtual driven body. Preferably, the coordinate position of the virtual driven body is calculated as an orthogonal coordinate to facilitate the control in the robot control device 20 described later.

[0026] The machining program preferably describes the movement path of each driven body (including the hand H) in the coordinate space by G code. That is, preferably, the coordinate position instruction preparation unit 11 is configured to calculate the target coordinate position of each driven body at each time based on the content of the G code in the machining program. Thus, the coordinate position instruction preparation unit 11 can be configured to have the same structure as the well-known components for preparing coordinate position instructions in conventional numerical control.

[0027] Preferably, the movable range of each driven body is set in the coordinate position command generating unit 11. Therefore, preferably, the coordinate position command generating unit 11 stores in advance or obtains from the machining program the range in which the robot 2 can move the hand H as the movable range of the virtual driven body. Thus, even if an inappropriate machining program is input, it is possible to avoid outputting a target coordinate position that exceeds the movable range of the robot 2.

[0028] Preferably, when the difference between the current coordinate position of the hand H confirmed by the coordinate position confirmation unit 13 described later and the current target coordinate position in the coordinate position command is greater than a predetermined threshold value, the coordinate position command creation unit 11 changes the current target coordinate position (initial coordinate position of the virtual driven body) to the current coordinate position of the hand H, and then calculates the target coordinate position at each time thereafter based on the machining program. This can prevent the robot 2 from moving suddenly and generating an excessive load at the start of control.

[0029] Furthermore, the coordinate position command generating unit 11 may be configured to calculate the target posture of a predetermined part other than the hand H, such as the third arm A3 connected to the hand H, at each time point based on the machining program.

[0030] The communication unit 12 transmits the current target coordinate position in the coordinate position command of the virtual driven body produced by the coordinate position command producing unit 11 to the robot control device 20 as the current target coordinate position of the hand H. When the target coordinate position is transmitted, if the coordinate system of the machine tool 1 used in the numerical control device 10 is different from the coordinate system of the robot 2 used in the robot control device 20, the current target coordinate position of the virtual driven body may be transmitted after being transformed into the coordinate system of the robot 2 in the communication unit 12, or the coordinate transformation may be performed in the robot control device 20. In addition, the communication unit 12 may transmit the current target coordinate position of the virtual driven body in the form of target coordinate position text data.

[0031] Furthermore, the communication unit 12 is configured to transmit the current target posture of the third arm A3 etc. together with the current target coordinate position of the hand H to the robot control device 20 when the coordinate position command generating unit 11 calculates the target posture of the third arm A3 etc.

[0032] Before the communication unit 12 sends the target coordinate position, the coordinate position confirmation unit 13 obtains the current coordinate position of the hand H in the current posture of the robot 2, and confirms whether the difference between the current coordinate of the hand H and the current target coordinate position in the coordinate position command is greater than a predetermined threshold. The coordinate position confirmation unit 13 communicates the confirmation result to the coordinate position command generation unit 11. As described above, the coordinate position command generation unit 11 can prevent the robot 2 from moving suddenly at the start of control and generating an unnecessary large load.

[0033] The NC drive command generation unit 14 generates drive commands for each drive axis of the machine tool 1 so that the actual driven body moves to the target coordinate position calculated by the coordinate position command generation unit 11. The generation of drive commands in the NC drive command generation unit 14 is the same as the generation of drive commands in a conventional numerical control device, so detailed description is omitted.

[0034] The robot control device 20 includes: a target drive position calculation unit 21 that calculates a target drive position of each of the plurality of drive axes (a position of each drive axis in the system such as a rotation angle position) corresponding to a target coordinate position received from the communication unit 12 of the numerical controller 10; and a robot drive command generation unit 22 that generates a drive command for each drive axis of the robot 2 so that the drive axis is positioned at the target drive position calculated by the target drive position calculation unit 21. In addition, the robot control device 20 may include a servo amplifier that supplies power to a servo motor for driving the drive axis of the robot 2.

[0035] The robot control device 20 can be configured, for example, by importing an appropriate program into a computer device having a CPU, a memory, an input / output interface, etc. The target drive position calculation unit 21 and the robot drive instruction generation unit 22 of the robot control device 20 are distinguished in function, and do not need to be clearly distinguished in physical structure and program structure. The robot control device 20 can also be configured as an integral part with the numerical control device 10, but by setting it independently, the processing control system 3 can be designed by only slightly changing the design of the existing numerical control device and the robot control device. In addition, the robot control device 20 can also be connected to the simulator of the robot 2. In this case, it can also be configured as an integral part with the computer constituting the simulator.

[0036] The target drive position calculation unit 21 calculates the drive positions of the drive axes of the robot 2, that is, the combination of the drive positions of the drive axes, so that the hand H can be arranged at the target coordinate position. The calculation of the drive positions of the drive axes of the robot 2 so that the hand H can be arranged at the desired coordinate position is a well-known technique, so a detailed description is omitted.

[0037] In addition, when the current target posture of the third arm A3 and other specified parts is sent from the communication unit 12, the target drive position calculation unit 21 generates a position command for specifying the target drive position of each of the plurality of drive axes of the robot 2 so that the hand H is arranged at the target coordinate position and the third arm A3 and other specified parts are in the target posture. Thus, when the robot 2 arranges the hand H at the specified coordinate position of the machine tool 1 to install and remove the workpiece, it is possible to prevent the parts other than the hand H positioned at the target coordinate position of the robot 2 (the third arm A3 and the like) from interfering with the frame and the like of the machine tool 1.

[0038] The robot drive command generator 22 generates a drive command that brings the drive position of each drive axis of the robot 2 close to the target drive position calculated by the target drive position calculator 21. The generation of such a drive command is similar to the generation of a drive command in conventional robot control, and thus detailed description is omitted.

[0039] Next, refer to Figure 2 The following describes a process of controlling the machine tool 1 and the robot 2 by the machining control system 3 . Figure 2 The control corresponds to one G code in the machining program.

[0040] The control performed by the machining control system 3 includes the following steps: the numerical control device 10 obtains the current coordinate position of the hand H of the robot 2 from the robot control device 20 (step S01: current position acquisition step); the current coordinate position of the hand H is compared with the initial coordinate position of the virtual driven body in the numerical control device 10 (step S02: position comparison step); the initial coordinate position of the virtual driven body in the numerical control device 10 is changed to the current coordinate position of the hand H (step S03: initial coordinate position change step); the coordinate position instruction for specifying the target coordinate position of the virtual driven body at each moment is generated in the numerical control device 10 based on the machining program. (Step S04: coordinate position instruction preparation process); sending the current target coordinate position of the virtual driven body from the numerical control device 10 to the robot control device 20 (step S05: target coordinate position sending process); calculating the target drive position of the drive shaft that can configure the hand H to the target coordinate position received from the numerical control device 10 in the robot control device 20 (step S06: target drive position calculation process); preparing a drive instruction for moving the drive shaft to the target drive position in the robot control device 20 (step S07: drive instruction preparation process); and whether the control is completed to the last moment of the coordinate position instruction (step S08: completion confirmation process).

[0041] In the current position acquisition process of step S01, the coordinate position confirmation unit 13 of the numerical controller 10 acquires the current coordinate position of the hand H of the robot 2 from the robot controller 20. If the current coordinate position of the hand H cannot be acquired after a fixed number of attempts for some reason, an alarm may be issued to stop the control.

[0042] In the coordinate position comparison process of step S02, the coordinate position confirmation unit 13 confirms whether the difference between the current coordinate position of the hand H of the robot 2 and the current coordinate position of the virtual driven body of the numerical controller 10 (the initial coordinate position at the start of control according to a command of a G code) is greater than a predetermined threshold value. If the difference between the current coordinate position of the hand H and the initial coordinate position of the virtual driven body is greater than the threshold value, the process proceeds to step S03. If the difference between the current coordinate position of the hand H and the initial coordinate position of the virtual driven body is less than the threshold value, step S03 is skipped and the process proceeds to step S04.

[0043] In addition, in the coordinate position comparison process of step S02, when the difference between the current coordinate position of the hand H and the initial coordinate position of the virtual driven body corresponding to the hand H is greater than a threshold, this fact can be notified using, for example, a display or light of the numerical control device.

[0044] In the initial coordinate position changing step of step S03 , the initial coordinate position value of the virtual driven body is changed to the current coordinate position value of the hand H acquired in the current position acquiring step. When the change is completed, the display or the like notified in the coordinate position comparing step may be canceled.

[0045] In the coordinate position command generation process of step S04, a coordinate position command is generated so that the virtual driven body moves from the initial coordinate position to the arrival coordinate position specified by the G code of the machining program. The coordinate position command includes data for specifying the target coordinate position of the virtual driven body at each time.

[0046] In the target coordinate position transmission step of step S05 , the communication unit 12 transmits the target coordinate position at the current time in the coordinate position command generated in the coordinate position command generation step to the robot control device 20 .

[0047] In the target drive position calculation process of step S06 , the target drive position calculation unit 21 calculates the target drive position of each of the plurality of drive axes of the robot 2 required to position the hand H at the target coordinate position received from the numerical controller 10 .

[0048] In the drive command preparation step of step S07 , drive commands are prepared to move the plurality of drive axes of the robot 2 to the target drive positions calculated in the target drive position calculation step, and the robot 2 is driven to position the hand H at the target coordinate position at that time.

[0049] In the completion confirmation process of step S08, it is confirmed whether the last moment of the coordinate position instruction has been reached. If the result of the confirmation is that the coordinate position instruction is in the middle, the process returns to step S05 and the target coordinate position of the next moment is sent. On the other hand, when the control based on the target coordinate position of the last moment of the coordinate position instruction has been completed, the control is terminated, that is, the processing corresponding to the currently executed command in the machining program is terminated, and the processing corresponding to the next command is started.

[0050] As described above, in the machining control system 3 involved in the present embodiment, the numerical control device 10 has: a coordinate position instruction generating unit 11, which generates a coordinate position instruction for specifying the target coordinate position of the hand (top end) H of the robot 2 at each moment based on the machining program; and a communication unit 12, which sends the current target coordinate position to the robot control device 20, and the robot control device 20 has: a target drive position calculation unit 21, which calculates the target drive position of each of a plurality of drive axes for positioning the top end at the target coordinate position received from the communication unit 12; and a robot drive instruction generating unit 22, which generates a drive instruction for each drive axis so as to position the drive axis at the target drive position calculated by the target drive position calculation unit 21.

[0051] In the machining control system 3 of the present embodiment, the numerical controller 10 creates a coordinate position command for specifying the target coordinate position of the hand H at each time based on the machining program, and the robot control device 20 positions the hand H based on the coordinate position command created by the numerical controller 10 without directly referring to the machining program. Therefore, in the machining control system 3, the robot 2 can be controlled only by creating a machining program of the numerical controller 10. Therefore, even if an operator has not learned the teaching method of the robot's motion, as long as the operator has learned the programming of a general numerical controller for a machine tool, the program of the machining control system 3 can be easily created, and the machine tool 1 and the robot 2 of the machining system 100 can be controlled.

[0052] In the machining control system 3 of the present embodiment, the coordinate position of the hand H is described by the G code in the machining program, and the coordinate position instruction generating unit 11 processes the coordinate position of the hand H in the machining program as the coordinate position of the virtual driven body of the machine tool 1, thereby calculating the target coordinate position of the hand H. Thus, the action of the robot 2 can be controlled by the G code. Therefore, the machining control system 3 of the present embodiment can easily coordinate the action of the machine tool 1 and the robot 2.

[0053] In addition, in the machining system 100, by combining the above-mentioned G-code-based control with the well-known M-code-based control of the hand H (control of holding and releasing the workpiece W), all the actions of the robot 2 to attach and detach the workpiece W to the machine tool 1 can be controlled. That is, in the machining system 100, by describing the G-code-based commands for moving the hand H of the robot 2 and the M-code-based commands for moving the hand H in the machining program read by the numerical control device, the robot 2 can be properly moved even if the operation of teaching the movement of the robot 2 is not performed in the robot control device 20.

[0054] The numerical control device 10 of the machining control system 3 of this embodiment is simply a conventional numerical control device with control information of a virtual driven body added thereto, so it is easy to design. In addition, the functions of the robot control device 20 of the machining control system 3 of this embodiment are not much different from the functions actually installed on a part of the product, so it can also be easily designed.

[0055] The above describes the implementation of the processing system involved in the present disclosure, but the processing system involved in the present disclosure is not limited to the above implementation. In addition, the effects described in the present implementation are only the best effects produced by the present disclosure, and the effects produced by the processing system involved in the present disclosure are not limited to the effects described in the present implementation.

[0056] As an example, in the processing control system involved in the present disclosure, the target coordinate position may also include only coordinate information without posture information. In this case, the robot control device can be configured to generate position instructions for specifying the target coordinate position of each drive axis so that the posture of the top end of the robot remains fixed.

[0057] In the machining control system according to the present disclosure, the coordinate confirmation unit may issue an alarm to stop the operation when the current position difference is equal to or greater than a threshold value.

Claims

1. A processing control system, comprising: a numerical control device that controls a machine tool; and a robot control device that communicates with the numerical control device and controls a robot having a plurality of drive axes, in, The numerical control device comprises: a coordinate position instruction generating unit for generating a coordinate position instruction for specifying a target coordinate position of a tip portion of the robot at each time point based on a machining program; and a communication unit, which sends the current target coordinate position to the robot control device, The robot control device has: a target drive position calculation unit that calculates a target drive position of each of the plurality of drive axes for positioning the tip portion at the target coordinate position received from the communication unit without directly referring to the machining program; as well as A drive command generating unit generates a drive command for each of the drive shafts so as to position the drive shaft at the target drive position calculated by the target drive position calculating unit.

2. The processing control system according to claim 1, characterized in that: The coordinate position command generating unit calculates the target coordinate position as a coordinate position of a virtual driven object of the machine tool described by a G code in the machining program.

3. The processing control system according to claim 1 or 2, characterized in that: The numerical control device also has a coordinate position confirmation unit, which obtains the current coordinate position of the top end from the robot control device before the communication unit sends the target coordinate position, and confirms the difference between the current coordinate position of the top end and the current target coordinate position in the coordinate position instruction.

4. The processing control system according to claim 3, characterized in that: When the difference between the current position of the tip portion and the current target coordinate position is greater than a specified threshold, the coordinate position instruction generating unit changes the current target coordinate position to the current coordinate position of the tip portion and then calculates the target coordinate position at each subsequent moment based on the machining program.

5. The processing control system according to any one of claims 1, 2 and 4, characterized in that: The coordinate position command generating unit further calculates a target posture of a predetermined part other than the tip portion at each time based on the machining program, The communication unit transmits the current target posture of the predetermined part together with the current target coordinate position of the distal end portion. The coordinate position command generating unit generates a coordinate position command for designating a target coordinate position of each of the plurality of drive axes so that the predetermined portion is in the target posture.

6. The processing control system according to claim 3, characterized in that: The coordinate position command generating unit further calculates a target posture of a predetermined part other than the tip portion at each time based on the machining program, The communication unit transmits the current target posture of the predetermined part together with the current target coordinate position of the distal end portion. The coordinate position command generating unit generates a coordinate position command for designating a target coordinate position of each of the plurality of drive axes so that the predetermined portion is in the target posture.

7. A processing system comprising: A machining control system according to any one of claims 1 to 6; a machine tool controlled by the numerical control device; and a robot controlled by the robot control device.