Motor control device
10644619 ยท 2020-05-05
Assignee
Inventors
- Ryosuke Yamamoto (Osaka, JP)
- Hiroyuki Nakata (Osaka, JP)
- Atsumi Hashimoto (Osaka, JP)
- Yasuyoshi Honuchi (Osaka, JP)
Cpc classification
H02P23/14
ELECTRICITY
H02P2205/07
ELECTRICITY
G05B19/4067
PHYSICS
B25J9/1676
PERFORMING OPERATIONS; TRANSPORTING
B25J9/1638
PERFORMING OPERATIONS; TRANSPORTING
H02P29/40
ELECTRICITY
B25J9/1674
PERFORMING OPERATIONS; TRANSPORTING
International classification
H02P23/00
ELECTRICITY
H02P29/40
ELECTRICITY
G05B19/4093
PHYSICS
G05B19/4067
PHYSICS
Abstract
A disclosed motor control device includes: a PI controller which controls a velocity of a motor; an input unit which receives specification information including information of a weight and a center of mass of a tool; a calculation unit which calculates a gravitational torque based on the specification information; a storage which stores the gravitational torque output from the calculation unit and an integral value output from the PI controller, and outputs the gravitational torque and the integral value in response to a break signal; and a selection unit which sets, to the PI controller, the integral value output from the storage, according to a collision sensitivity input from the input unit.
Claims
1. A motor control device comprising: a proportional-integral (PI) controller configured to control a velocity of a motor; an input unit configured to receive specification information including information of a weight and a center of mass of a tool; a calculation unit configured to calculate a gravitational torque based on the specification information; a storage configured to store an integral value output from the PI controller, the storage being further configured to store the gravitational torque output from the calculation unit and to output the gravitational torque and the integral value in response to a break signal allowing to switch off the power supplied to the motor; and the motor control device further comprising a selection unit configured to trigger, through the break signal, the setting of the integral value depending on a collision sensitivity provided through the input unit, and to provide the PI controller with the integral value, wherein the collision sensitivity is configured to be set by a user and a collision detection threshold is determined according to the collision sensitivity.
2. The motor control device according to claim 1, wherein the specification information includes load information that allows a determination of whether or not the tool is attached, and the selection unit being further configured to set the integral value as being: an unloaded gravitation torque, when the load information allows a first determination that the tool is not attached, or a loaded gravitational torque, when the load information allows a second determination that the tool is attached.
3. The motor control device according to claim 1, wherein the specification information includes arbitrary specifications.
4. The motor control device according to claim 2, wherein the specification information is arbitrarily set.
Description
BRIEF DESCRIPTION OF DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
DESCRIPTION OF EMBODIMENT
(8) Prior to the description of an embodiment of the present disclosure, a problem in the conventional motor control device will be briefly described.
(9) Conventional motor control device 900 which has been described with reference to
(10) Hereinafter, an embodiment of the present disclosure will be described with reference to
(11)
(12) Encoder 25 detects the position of the rotor of motor 24 at a predetermined sampling period, and transmits detected positional information D1 of motor 24 to converter 26. Converter 26 calculates the rotational velocity of the rotor of motor 24 from the temporal change in positional information D1 transmitted from encoder 25. The rotational velocity calculated by converter 26 is transmitted as feedback velocity V.sub.FB to PI controller 22. Moreover, converter 26 transmits feedback velocity V.sub.FB and positional information D1 to calculation unit 31.
(13) Calculation unit 31 receives: specification information D2 including information of the weight and the center of mass of a tool; positional information D1 of motor 24; and feedback velocity VFB. Moreover, when robot 100 includes another motor (not illustrated) in addition to motor 24, feedback velocity VFB_2 based on the positional information of the other motor and positional information D1_2 of the other motor are also input to calculation unit 31 from another control block. Calculation unit 31 calculates gravitational torque TG which acts on motor 24, and transmits gravitational torque TG to storage 27.
(14) PI controller 22 includes proportional component calculation unit 29 and integral component calculation unit 30. Proportional component calculation unit 29 and integral component calculation unit 30 each receive error velocity dV which is the difference between velocity command VCOM and feedback velocity VFB. Integral value VI calculated by integral component calculation unit 30 is added to the value calculated by proportional component calculation unit 29 based on error velocity dV, so that torque command value TCOM is output from PI controller 22 to current controller 23. Storage 27 receives break signal BSIG to be input to breaking device 28, integral value VI output from integral component calculation unit 30, and gravitational torque TG output from calculation unit 31. Storage 27 then stores integrated value VI output from integral component calculation unit 30 and gravitational torque TG. Storage 27 then transmits, to selection unit 32, integral value VI and gravitational torque TG obtained when brake signal BSIG is changed from ON to OFF.
(15) Selection unit 32 receives integral value VI of torque command value TCOM and gravitational torque TG output from storage 27, and transmits the value set by selection unit 32 to integral component calculation unit 30 of PI controller 22.
(16) Moreover, the value set when brake signal BSIG is changed from ON to OFF is transmitted from selection unit 32 to integral component calculation unit 30 of PI controller 22.
(17) Current controller 23 receives torque command value TCOM from PI controller 22. Moreover, current controller 23 receives motor-generated torque TFB. Current controller 23 calculates drive command value DCOM, and supplies current to motor 24 based on drive command value DCOM. In such a manner, current controller 23 controls the driving of motor 24.
(18) [Operation of Collision Detector 200]
(19) Next, collision sensitivity will be described with reference to
(20) Next, a specific example of an operation of collision detector 200 will be described with reference to
(21) When collision detection torque TC (maximum torque ratio) is 30%, an operation is performed in a similar manner to the operation performed when collision detection torque TC is 20%.
(22) When collision detection torque TC (maximum torque ratio) is 40%, collision detection threshold Vt is set to a value in a range from greater than or equal to 50% to less than 80% of collision sensitivity X. Hence, for example, when collision sensitivity X is set to 50%, a collision is not detected, but when collision sensitivity X is set to 80%, a collision is detected.
(23) When collision detection torque TC (maximum torque ratio) is 50%, collision detection threshold Vt is set to a value in a range from greater than or equal to 20% to less than 50% of collision sensitivity X. Hence, for example, when collision sensitivity X is set to 20%, a collision is not detected, but when collision sensitivity X is set to greater than or equal to 50%, a collision is detected.
(24)
(25) For example, when the collision sensitivity is set to be higher, even if a small impact is made, a collision is detected. In contrast, when the collision sensitivity is set to be lower, a small impact is not considered as a collision.
(26) Moreover, when a collision torque is detected when power starts to be supplied to motor 24, the magnitude of collision detection threshold Vt is determined according to collision sensitivity X which has been set. Accordingly, it can be said that collision sensitivity X which has been set indicates the accuracy of load information. Note that collision sensitivity X can be arbitrarily set to specification information input unit 300 by a user in advance.
(27) [Description of Operation of Selection Unit 32]
(28) Next, an operation of selection unit 32 will be specifically descried with reference to
(29) Next, when the difference between integral value VI and gravitational torque TG is equal to or less than the predetermined value (NO in S4), selection unit 32 outputs, to integral component calculation unit 30, the gravitational torque corresponding to collision sensitivity X output from specification information input unit 300 (S6 to S8).
(30) Next, S6 to S8 will be described with reference to
(31) Note that the user arbitrarily sets collision sensitivity X in advance to specification information input unit 300. Moreover, the user sets load information as specification information D2 in advance to specification information input unit 300. Subsequently, as described above, the user can reset specification information D2 according to collision detection result R of collision detector 200.
(32) As described above, PI controller 22 uses, as a holding torque, the value input by selection unit 32 to integral component calculation unit 30 according to collision sensitivity X. Therefore, even when motor 24 has stopped suddenly or has been stopped by a collision, it is possible to prevent the gravity shaft from bouncing or falling when break signal BSIC is changed from OFF to ON again (when power starts to be supplied to the motor).
SUMMARY
(33) Motor control device 21 according to the present disclosure includes PI controller 22, specification information input unit 300, calculation unit 31, storage 27, and selection unit 32.
(34) PI controller 22 controls the velocity of the motor. Specification information input unit 300 receives specification information D2 including information of the weight and the center of mass of the tool. Calculation unit 31 calculates gravitational torque TG based on specification information D2. Storage 27 stores gravitational torque TG output from calculation unit 31 and integral value VI output from PI controller 22. Storage 27 further outputs gravitational torque TG and integral value VI in response to break signal BSIG. Selection unit 32 sets, to PI controller 22, integral value VI input from storage unit 27, according to collision sensitivity X input from specification information input unit 300.
(35) Moreover, in motor control device 21 according to the present disclosure, specification information D2 includes load information, and when it is determined based on the load information of specification information D2 that no tool has been attached, selection unit 32 sets, to PI controller 22, unloaded gravitational torque as integral value VI. When it is determined based on the load information of specification information D2 that a tool has been attached, selection unit 32 sets, to PI controller 22, loaded gravitational torque as integral value VI.
(36) Note that specification information D2 can be arbitrarily set by a user.
INDUSTRIAL APPLICABILITY
(37) Motor control device 21 according to the present disclosure can prevent the gravity shaft from bouncing or falling when power starts to be supplied to the motor, even when the motor has stopped suddenly or the motor has been stopped by a collision. Hence, motor control device 21 according to the present disclosure is industrially useful.
REFERENCE MARKS IN THE DRAWINGS
(38) 21 motor control device 22 PI controller 23 current controller 24 motor 25 encoder 26 converter 27 storage 28 breaking device 29 proportional component calculation unit 30 integral component calculation unit 31 calculation unit 32 selection unit 100 robot 200 collision detector 300 specification information input unit 900 motor control device 901 PI controller 902 current controller 903 inverter circuit 904 motor 905 encoder 906 converter 907 storage 908 breaking device 911 proportional component calculation unit 912 integral component calculation unit dV error velocity BSIG break signal D1 positional information D2 specification information DCOM drive command value Ta unloaded gravitational torque Tb loaded gravitational torque TG collision detection torque TD dynamic torque TG gravitational torque TFB motor-generated torque TCOM torque command value R collision detection result VCOM velocity command VFB feedback velocity I.sub.FB feedback current X collision sensitivity Vt collision detection threshold VI integral value