A control device for controlling the motion of a movable part in a machine while suppressing vibration generated in the movable part. The control device includes a state-variable estimating section for estimating a state variable of a controlled system in the machine and outputting an estimated state variable; a reference model for outputting an ideal controlled variable for the controlled system; a compensator for calculating a compensation value for correcting a control input for the controlled system, based on a difference between the estimated state variable and the ideal controlled variable; and a feedback control section for determining the control input, based on a deviation between a desired command value and one of the estimated state variable and the ideal controlled variable. A corrected control input obtained by correcting the control input determined through the feedback control section by using the compensation value calculated through the compensator is input to the controlled system as well as to the state-variable estimating section and the reference model.
|
1. A control device comprising:
a state-variable estimating section for estimating a state variable of a controlled system in a machine and outputting an estimated state variable;
a reference model for outputting an ideal controlled variable for the controlled system;
a compensator for calculating a compensation value for correcting a control input for the controlled system, based on a difference between said estimated state variable and said ideal controlled variable; and
a feedback control section for determining said control input, based on a deviation between a desired command value and one of said estimated state variable and said ideal controlled variable;
wherein a corrected control input obtained by correcting said control input determined through said feedback control section by using said compensation value calculated through said compensator is input to the controlled system as well as to said state-variable estimating section and said reference model.
2. A control device as set forth in
3. A control device as set forth in
4. A control device as set forth in
5. A control device as set forth in
|
1. Field of the Invention
The present invention relates to a control device for controlling the motion of a movable part in a machine and, more particularly, to a control device capable of suppressing vibration generated in the movable part.
2. Description of the Related Art
Generally, a movable part in a machine, such as an industrial machine, a machine tool, a robot, or the like, is driven by a driving source through various transmission mechanisms, and the position and speed of the movable part are controlled as in a controlled system. In this connection, the mechanical components, such as the transmission mechanism, interposed between the driving source and the movable part have relatively low rigidity. Accordingly, in a case where the movable part is moved at high speed and stopped at a target position, the movable part tends to vibration easily.
As an example, an actuator for a robot arm will be examined.
The reduction mechanism 2 generally has low rigidity. Therefore, a robot-arm driving system shown in
In the above robot-arm driving system, a semi-closed loop control, such as one shown in
As the above-described semi-closed loop control is position and speed feedback control for the motor 3, the position and speed of the motor 3 can be well controlled. However, as described, there arises the problem that the robot arm 1 tends to vibrate because of the interposition of a transmission mechanism such as the low-rigidity reduction mechanism 2.
To address this problem, in the field of a machine tool or the like, a fully-closed loop control, such as one shown in
On the other hand, Japanese Unexamined Patent Publication (Kokai) No. 6-178570 (JP-A-06-178570), for example, discloses a control device based on a semi-closed loop control and including a function for suppressing the vibration of a machine driving system. In this control device, in order to suppress the vibration of the machine, a speed detector and an acceleration detector are provided for the machine to feed back the detected values of the speed and acceleration (i.e., the state variables) of the machine, in addition to the semi-closed loop control, so as to correct a torque command for the motor.
Thus, in a case where a detector is mounted on the movable part of the machine, it is necessary to provide a number of supplementary units, such as a cable and a signal receiving circuit, in order to acquire feedback signals from the detectors, and this may lead to an increase in the overall cost of the system. There is also concern that the maintenance cost of each individual unit may increase. Furthermore, the reliability of the system may degrade due to the increased number of parts.
As another approach, a control method is known in which, instead of providing the detectors for directly detecting the position and speed of the machine's movable part as described above, an observer (or a state-variable estimating section) for estimating the state variable of the movable part is provided in a control circuit, and the position and speed indicated by the state variable estimated by the observer are fed back to control the movable part. As for such a state-feedback type control method, many proposals have been made in relation to a state variable to be estimated and to a feedback technique.
For example, Japanese Unexamined Patent Publication (Kokai) No. 7-20940 (JP-A-07-020940) discloses a control device, performing a semi-closed loop control, which is equipped with an observer for estimating twist angle and twist angular speed between a motor and a mechanical load. This control device corrects a toque command for the motor, by using the twist angle and the twist angular speed estimated by the observer, so as to suppress the vibration of the machine.
The state-feedback control method disclosed in JP-A-07-020940 is mainly intended to stabilize a controlled system, and does not actively cause the state variable to follow up a command or desired value. This will be explained with reference to
In the illustrated control system, a speed command is obtained by performing a position loop control using a position control gain Kp, based on a deviation between a position command θR and a feedback signal of a motor position θM, and a torque command (or an electric-current command) is obtained using a speed control gain Kv, based on a deviation between the obtained speed command and a feedback signal of a motor speed ωM. Then, a correction value for an estimated state variable fed back by the observer is subtracted from the torque command as a control input for the controlled system (or the motor), to determine a corrected torque command, and this corrected torque command is input to the controlled system.
In this configuration, the observer outputs state variables x1 and x2 estimated from the corrected torque command input to the controlled system and the speed ωM of the motor as the controlled system. In this case, for example, the estimated state variable x1 is the estimated value of the position θL of the movable part (such as a robot arm), and the estimated state variable x2 is the estimated value of the speed ωL of the movable part. These state variables x1 and x2 are multiplied by state feedback gains K1 and K2, respectively, and the resultants thereof are fed back to correct the control input. As can be seen, the illustrated control method does not actively cause the state variables of the controlled system, estimated by the observer, to follow the desired values.
On the other hand, Japanese Unexamined Patent Publication (Kokai) No. 2001-136767 (JP-A-2001-136767) discloses a control device for a linear motor, in which the position and speed at the center of gravity of the movable part of the linear motor are estimated by an observer and the estimated position and speed are fed back to a position controller and a speed controller, respectively, so as to control the movable part.
Further, Japanese Unexamined Patent Publication (Kokai) No. 2002-287804 (JP-A-2002-287804) discloses a control method in which the state variable of a controlled system is estimated by an observer, a reference state variable is determined from a command or desired value by using a reference model, and a difference between the estimated state variable and the reference state variable is fed back to a controller, so as to control the controlled system.
The state-feedback control methods disclosed in these patent documents are configured to actively cause the state variables estimated by the observer to follow the desired values. However, depending on the configuration of the machine to which the method is applied, there may be a case where the controlled system is unstable and a sufficient feedback gain cannot be obtained. Further, the feedback gain needs to be determined in correspondence to the characteristics of the machine, but generally it is difficult to obtain an optimum value for the feedback gain.
It is an object of the present invention to provide a control device for controlling the motion of a movable part in a machine, wherein it is possible to effectively suppress the vibration of the movable part by performing a state-feedback type control which does not require a vibration detector to be provided on the movable part, and wherein it is possible to ensure a stable response by actively causing the state variable of a controlled system to follow a command or desired value.
To accomplish the above object, the present invention provides a control device comprising a state-variable estimating section for estimating a state variable of a controlled system in a machine and outputting an estimated state variable; a reference model for outputting an ideal controlled variable for the controlled system; a compensator for calculating a compensation value for correcting a control input for the controlled system, based on a difference between the estimated state variable and the ideal controlled variable; and a feedback control section for determining the control input, based on a deviation between a desired command value and one of the estimated state variable and the ideal controlled variable; wherein a corrected control input obtained by correcting the control input determined through the feedback control section by using the compensation value calculated through the compensator is input to the controlled system as well as to the state-variable estimating section and the reference model.
In the above-described control device, the state variable may comprise any one of acceleration, speed and position, and the compensation value may comprise a compensation current or torque.
In this arrangement, if the controlled system comprises a two-inertia system, the state variable may comprise any one of the acceleration, speed and position at a load part in the controlled system.
A transfer function of the compensator may have an inverse characteristic reverse to a characteristic of a transfer function of the reference model.
In this arrangement, the transfer function of the compensator may include a filter incorporated to the inverse characteristic.
The above-described control device is particularly useful in a case where the machine comprises a robot.
The above and other objects, features and advantages of the present invention will become more apparent from the following description of the preferred embodiments in connection with the accompanying drawings, wherein:
The embodiments of the present invention are described below, in detail, with reference to the accompanying drawings. Throughout the drawings, the same or similar components are denoted by common reference numerals.
Referring to the drawings,
In one embodiment, the deviation between the desired command value αR for controlling the controlled system 10 and the estimated state variable α˜ estimated by the observer 12 is input to the controller 18 (shown by a solid line). Then, a corrected control input “v”, obtained by subtracting the compensation value as an output of the compensator 16 from the control input “u” as an output of the controller 18, is supplied as an operational input to the controlled system 10. The corrected control input “v” and the controlled variable “y” of the controlled system 10 are input to the observer 12 which in turn determines the estimated state variable α˜ of the controlled system 10 based on the corrected control input “v” and the controlled variable “y”. The corrected control input “v” is also input to the reference model 14 which in turn determines the ideal controlled variable α* of the controlled system 10. The compensator 16 determines the correction value for the control input “u”, on the basis of the difference obtained by subtracting the ideal controlled variable α* as an output of the reference model 14 from the estimated state variable α˜ as an output of the observer 12. The correction value is used to correct the control input “u”, so as to determine the corrected control input “v”.
According to the control device of the present invention having the above configuration, control is performed so that the ideal controlled variable α* as the ideal response value of the controlled system 10 coincides with the estimated state variable α˜ of the controlled system 10 estimated by the observer 12. Further, control is performed in a manner that the estimated state variable α˜ output from the observer 12 is fed back and the deviation between the desired command value αR and the estimated state variable α˜ of the controlled system 10 is input to the controller 18, so as to cause the controlled system 10 to follow the desired command value αR. As a result, the estimated state variable α˜ of the controlled system 10 estimated by the observer 12 settles to the actual state variable α of the controlled system 10, so that it is possible to cause the state variable α of the controlled system 10 to follow the desired command value αR with good accuracy.
In the above configuration, if an acceleration is selected as the state variable α, it is possible to cause the acceleration of the controlled system 10 to follow the desired command value αR with good accuracy. Likewise, if a speed or a position is selected as the state variable α, it is possible to cause the speed or the position of the controlled system 10 to follow the desired command value αR with good accuracy. In either case, the compensation value as an output of the compensator 16 is determined as a compensation torque. Furthermore, it is not required, in the invention, to provide a detector on a machine's movable part (e.g., the end portion of a robot arm) for detecting the position, speed or acceleration of the machine's movable part for a control purpose, so that the problems of a cost increase and reliability degradation are solved. Also, the invention ensures that the state variable α of the controlled system 10 is caused to follow the desired command value αR, and thereby that a stable response as directed by the position, speed or acceleration command is achieved while suppressing the generation of vibrations in the machine's movable part.
In the configuration shown in
In
The configuration of a control device according to one embodiment of the present invention, which is applied to an arm control for a robot, will be described with reference to
As shown in
The main CPU 22 entirely controls the illustrated robot control system on the basis of a system program stored in the ROM 24, and outputs a motion command for each control axis of the robot through the shared memory 32 to the servo CPU 40 on the basis of a teaching program stored in the RAM 26. Based on the motion command and on position and speed feedback signals received from the position/speed detector 4 provided in the motor 3, the servo-CPU 40 performs a position and speed feedback control and issues a current command to the servo-amplifier 42. Then, the servo-amplifier 42 performs a state-feedback type control according to the present invention to make an electric current actually flowing to the motor 3 follow the current command.
Described below is a first example of control, performed by the servo-amplifier 42, wherein the state variable α (
A model for the controlled system 10 containing the robot arm 1 is the two-inertia model previously described with reference to
In the state equation (1), x1, x2, x3 are state variables, and x1′, x2′, x3′ are the derivatives of the respective state variables. While referring to
The observer 12 can be represented by the following state equation (2):
In the state equation (2), x1˜, x2˜, x3˜ are the estimated values (i.e., the estimated state variables) of the state variables x1, x2, x3; and x1˜′, x2˜′, x3˜′ are their derivatives. Further, JMn is the nominal value of a motor inertia JM, JLn is the nominal value of an arm inertia JL, Kn is the nominal value of a spring constant K of a low-rigidity part, Ktn is the nominal value of a motor torque constant Kt, and K1, K2, K3 are observer parameters. In this connection, the observer theory is well known and, therefore, it will not be described in detail. Also, although it may be expected to further improve estimation accuracy if an external disturbance is added to a state variable, an observer considering no external disturbance is employed, for simplicity of explanation.
It is known that the estimated state variable x˜ settles to the actual state variable x when the observer parameters K1, K2 and K3 are chosen so as to stabilize the observer system. Further, in the illustrated example, because the state variable of the controlled system 10 is the acceleration of the arm, the estimated value x3˜ of the state variable x3 representing the arm acceleration aL is used as the output of the observer 12 (
In this connection, a brief description will be given of the model reference control employed in the present invention.
In the block diagram of the model reference control shown in
In
In the equation (3), if the transfer function H(s) of the compensator 16 is the inverse function of the transfer function Gm(s) of the reference model 14, i.e., H(s)=1/Gm(s), the transfer function from the control input “u” to the controlled variable “y” is given by the following equation (4), which is equal to the transfer function Gm(S) of the reference model 14:
Also, in the block diagram of the model reference control shown in
In this connection, if a sufficiently large gain function is adopted as the transfer function H(s) of the compensator 16, “y/u” becomes approximately equal to the transfer function Gm(s) of the reference model 14, as shown by the equation (6):
Accordingly, the object of the present invention can be accomplished whichever model reference control shown in
In the two-inertia model of the robot-arm control shown in
In this connection, provided that the motor torque constant Kt=5 [kgf·cm/A], the motor inertia JM=0.01 [kgf·cm/s2], the arm inertia JL=0.1 [kgf·cm/s2], and the spring constant K=200 [kgf/rad], the Bode diagram of the transfer function represented by equation (7) is obtained as shown in
As shown in the Bode diagram of
In the equation (8), Jm is a reference-model inertia, Ktm is a reference-model torque constant, ωn is a resonant angular frequency of a model, and ζ is a damping constant.
The transfer function of the compensator 16, exhibiting an inverse characteristic reverse to a characteristic of the reference model 14; in other words, the inverse transfer function Gm(S)−1 of the transfer function Gm(s) of the reference model 14, is represented by the following equation (9):
However, the inverse transfer function Gm(S)−1 shown by the above equation (9) is an improper function, whose characteristic significantly leans toward a derivative element, and is therefore difficult to handle. In view of this, the transfer function H(s) of the compensator 16 represented by the following equation (10) is adopted:
In the equation (10), F(s) is a transfer function of a filter, which is represented by the following equation (11), in which ωf and ζf are filter parameters:
In this connection, provided that the observer parameters K1, K2, K3 are selected so that an observer pole placement becomes a 120 Hz Butterworth-pattern pole placement by using the nominal values of the controlled system 10; that, as for the reference model 14, the reference torque constant Ktm=5, the reference model inertia Jm=0.1, the resonant angular frequency ωn of the model=2·π·20, and the damping constant ζ=0.7; and that, as for the compensator 16, the filter parameter of ωf=2·π·100 [Hz] and the filter parameter of ζf=1; the Bode diagram of the transfer function from the current command “i′” as the control input “u” (i′=u) to the arm acceleration “aL” as the controlled variable, in the block diagram of
As is apparent from
Then, by taking a transfer function from the current command i′ (=u) to the arm acceleration aL (the controlled variable) as a new controlled system 10, a servo-loop for ensuring the response of the arm-end acceleration to the acceleration command is constructed. For simplicity of explanation, a type 1 servo-system shown in
In the equation (12), provided that Ka=Jm/(T·Ktm), the transfer function is given as the following equation (13):
Thus, the transfer function is the first-order response of a time constant T(s) and, as a result, an acceleration control loop having excellent response and free from steady-state errors, which generates no vibration, can be achieved.
A system including the above acceleration control loop, provided outside the model reference control loop of
As shown in
As can be understood from a comparison between
In this respect, the response of the arm-end position θL, in a case where a step-input is applied by the position command θR, is shown in
Described below is a second example of control, performed by the servo-amplifier 42 (
Accordingly, the transfer function Gm(s) of the reference model 14 is represented by the following equation (15):
The relative order of the transfer function Gm(s) of the above reference model 14 is three, so that the transfer function H(s) of the compensator 16 represented by the following equation (16) is adopted:
The filter parameters “a1” to “a3” in the equation (16) are selected so as to stabilize the system. The observer 12 (
In this connection, if the natural angular frequency ωn of the reference model 14 is sufficiently higher than the response frequency of a speed control loop, a transfer function represented by the following equation (17) can be used as the controlled system 10 when designing the speed loop:
Provided that the controlled system 10 is the above transfer function G(s), a speed control gain is determined using a simplified model shown by the block diagram of
The transfer function of the simplified model of
In the equation (18), if the speed loop gain Kv=Jm/(Ktm·T), the transfer function of the equation (18) is rewritten as the following equation (19), which leads to a stable response with no vibration in a time constant T(s):
In the above second example, the same values as used in the first example have been used for the controlled system 10, the observer 12, and the standard second-order parameters Ktm and Jm in the reference model 14. Further, the filter parameters a1 to a3 have been selected so as to satisfy the condition shown by the following equation (20), in which δ=1/ωf and ωf=2·π·100 [Hz]. Further, the speed control gain Kv=Jm/Ktm/(1/2/π/5 [Hz]) and the position control gain Kp=2·π·2 [Hz].
a3·s3+a2·s2+a1·s+1=0.15δ3·s3+0.5δ2·s2+δ·s+1 (20)
Described below is a third example of control, performed by the servo amplifier 42 (
In this connection, if the arm-end acceleration is included in the state variable, the controlled system 10 is represented by the following state equation (21), in which a state variable x1 is a motor speed ωM, x2 is a motor position θM, x3 is an arm speed ωL, and x4 is an arm position θL. Further, to enhance the observability, the motor position x2 (=θM) is taken as the controlled variable “y”.
The observer 12 (
In the state equation (22), x1˜, x2˜, x3˜, x4˜ are the estimated values of the state variables x1, x2, x3, x4; and x1˜′, x2˜′, x3˜′, x4˜′ are their derivatives. Further, JMn is the nominal value of a motor inertia JM, JLn is the nominal value of an arm inertia JL, Kn is the nominal value of a spring constant K of a low-rigidity part, Ktn is the nominal value of a motor torque constant Kt, and K1, K2, K3, K4 are observer parameters.
The transfer function from the current command “i” for the controlled system 10 to the arm-end position θL is represented by the following equation (23):
Accordingly, the transfer function Gm(s) of the reference model 14 is represented by the following equation (24):
The relative order of the transfer function Gm(s) of the above reference model 14 is four, so that the transfer function H(s) of the compensator 16 represented by the following equation (25) is adopted. The filter parameters in the compensator 16 are selected so as to stabilize the system.
In this connection, if the natural angular frequency ωn of the reference model 14 is sufficiently higher than the response frequency of a position control loop, a transfer function represented by the following equation (26) can be used as the controlled system 10 when designing the position loop.
Provided that the controlled system 10 is the above transfer function G(s), a position control gain is determined using a simplified model shown by the block diagram of
The transfer function of the simplified model of
In the equation (27), if the position-loop proportional gain Kp1 is determined as shown by the equation (28) and the position-loop derivative gain Kp2 is determined as shown by equation (29), the transfer function of the equation (27) is rewritten as the following equation (30), which leads to a certain stable response. In the equations (28) to (30), ωc is the natural angular frequency of a position control response, and ζc is a damping constant.
As is apparent from the above description, according to the present invention, it is possible to control the controlled system as commanded, and to ensure a stable response free from vibration. It is also possible to make the response of the controlled system equal to the response of the reference model, and thereby to design the feedback loop by regarding the reference model as the controlled system, which makes it possible to easily design and adjust the gain. Furthermore, there is no need to provide a vibration detector directly on the controlled system, so that the present invention is particularly effective in the control of a robot arm, in which the end portion of the robot arm is usually not provided with a sensor.
While the invention has been described with reference to specific preferred embodiments, it will be understood by those skilled in the art that various changes and modifications may be made thereto without departing from the spirit and scope of the following claims.
Nihei, Ryo, Kato, Tetsuaki, Arita, Soichi
Patent | Priority | Assignee | Title |
7973508, | Dec 10 2007 | XyZ Automation Inc. | Automation systems diagnostics and predictive failure detection |
8116938, | Sep 01 2008 | Hitachi Automotive Systems, Ltd; Kobe University | Vehicle state estimating apparatus, suspension control apparatus and suspension system |
8723472, | Jun 22 2009 | MITSUBISHI HEAVY INDUSTRIES MACHINE TOOL CO , LTD | Servo control device |
8751050, | Nov 08 2006 | Integrated Dynamics Engineering GmbH | Combined motion control system |
9207654, | Apr 26 2010 | Mitsubishi Electric Corporation | Servo controller |
9815202, | Jul 09 2014 | Canon Kabushiki Kaisha | Control method for robot apparatus, computer readable recording medium, and robot apparatus |
Patent | Priority | Assignee | Title |
4943759, | Jun 18 1987 | Fanuc Ltd. | Multiple-articulated robot control apparatus |
5637969, | Oct 01 1993 | Fanuc Ltd. | Vibration control method |
5914830, | Jun 01 1995 | Seagate Technology LLC | Digital servo control system including sample integrity tester for reducing effects of spurious sampled position values |
6064167, | Aug 04 1997 | Honda Giken Kogyo Kabushiki Kaisha | Control system for controlling the knee joint actuators of a legged robot in response to a detected fall condition so as to lower the center of gravity of the robot |
6567711, | Aug 28 2000 | BROOKS AUTOMATION HOLDING, LLC; Brooks Automation US, LLC | Observer-corrector control system for systems with unmodeled dynamics |
6669459, | Jul 26 2000 | Toshiba Kikai Kabushiki Kaisha | Electric injection molding machine for controlling injection of electric injection molding machine |
6796183, | Oct 26 2000 | Heidelberger Druckmaschinen AG | Method for compensating for mechanical oscillations in machines |
20020088678, | |||
20020158180, | |||
20030139824, | |||
20040075183, | |||
20040135534, | |||
20060061317, | |||
EP483367, | |||
EP523252, | |||
EP10246093, | |||
JP2001136767, | |||
JP2002287804, | |||
JP6178570, | |||
JP720940, | |||
KR189484, | |||
KR20030029895, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Mar 25 2005 | NIHEI, RYO | Fanuc Ltd | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 016459 | /0415 | |
Mar 25 2005 | KATO, TETSUAKI | Fanuc Ltd | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 016459 | /0415 | |
Mar 25 2005 | ARITA, SOICHI | Fanuc Ltd | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 016459 | /0415 | |
Apr 08 2005 | Fanuc Ltd | (assignment on the face of the patent) | / |
Date | Maintenance Fee Events |
Feb 04 2008 | ASPN: Payor Number Assigned. |
Oct 03 2008 | ASPN: Payor Number Assigned. |
Oct 03 2008 | RMPN: Payer Number De-assigned. |
Sep 27 2010 | REM: Maintenance Fee Reminder Mailed. |
Feb 20 2011 | EXP: Patent Expired for Failure to Pay Maintenance Fees. |
Date | Maintenance Schedule |
Feb 20 2010 | 4 years fee payment window open |
Aug 20 2010 | 6 months grace period start (w surcharge) |
Feb 20 2011 | patent expiry (for year 4) |
Feb 20 2013 | 2 years to revive unintentionally abandoned end. (for year 4) |
Feb 20 2014 | 8 years fee payment window open |
Aug 20 2014 | 6 months grace period start (w surcharge) |
Feb 20 2015 | patent expiry (for year 8) |
Feb 20 2017 | 2 years to revive unintentionally abandoned end. (for year 8) |
Feb 20 2018 | 12 years fee payment window open |
Aug 20 2018 | 6 months grace period start (w surcharge) |
Feb 20 2019 | patent expiry (for year 12) |
Feb 20 2021 | 2 years to revive unintentionally abandoned end. (for year 12) |