• Keine Ergebnisse gefunden

Velocity versus torque control

Im Dokument Walking Control of a Humanoid Robot (Seite 94-98)

Chapter 5 Control design

5.2 Velocity versus torque control

As mentioned before, Archie is equipped with a combination of brushed (permanent-magnet) DC and brushless DC motors. These motors can be described with a same mathematical model. The armature (rotor) current can be described as the following differential equation:

๐ฟ๐‘‘๐ผ๐‘‘๐‘ก๐‘Ž+๐‘…๐ผ๐‘Ž = ๐‘‰๐‘Žโˆ’ ๐‘‰๐‘” 5-9 where ๐ฟ is the armature inductance, ๐‘… is the armature resistance, ๐‘‰๐‘Ž and ๐ผ๐‘Ž are voltage and current of the armature, respectively and ๐‘‰๐‘” is the back emf (electromotive force) voltage generated in the armature of the motor which is proportional to the angular speed of the motor ๐œ”๐‘š :

๐‘‰๐‘” = ๐‘˜๐‘ฃ๐œ”๐‘š 5-10 where ๐‘˜๐‘ฃ is the voltage constant that depends on the characteristic of the motor and the magnetic flux of the motor coil.

The torque produced by the motor ๐œ๐‘š is also proportional to the armature current ๐ผ๐‘Ž through torque constant ๐‘˜๐‘ก :

๐œ๐‘š = ๐‘˜๐‘ก๐ผ๐‘Ž 5-11 It can be noted that in the SI unit, the numerical values of ๐‘˜๐‘ก and ๐‘˜๐‘ฃ are the same (de silva, 2007).

Fig. 5.4 shows a set of torque-speed curves versus various applied voltage that is useful to determine the torque constant. The rated voltage ๐‘‰๐‘Ÿ is corresponding to the blocked rotor (stall) torque ๐œ0 when motor is stalled.

The mechanical equation of motion of the rotor can be described as:

๐œ๐‘š =๐ผ๐‘š๐‘‘๐œ”๐‘‘๐‘ก๐‘š+๐น๐‘š๐œ”๐‘š+๐œ๐‘™ 5-12 where ๐œ๐‘™ is the reaction torque exerted from manipulator, ๐ผ๐‘š and ๐น๐‘š represent the moment of inertia and the viscous friction coefficient at the motor shaft, respectively. By substituting and transforming to the Laplace domain we have the following motor equation:

๐‘˜๐‘ก๐ผ๐‘Ž = (๐‘ ๐ผ๐‘š+๐น๐‘š)๐œ”๐‘š+๐œ๐‘™ 5-13 ๐‘‰๐‘Ž = (๐‘ ๐ฟ+๐‘…)๐ผ๐‘Ž+๐‘˜๐‘ฃ๐œ”๐‘š 5-14

83

Fig. 5.4 General torque-speed curves of DC motor

Fig. 5.5 shows the block diagram of the above mentioned equation of DC motor in Laplace domain. Considering that the value of the electric time constant ๐ฟ ๐‘…โ„ is very small in comparison with mechanical time constant ๐ผ๐‘šโ„๐น๐‘š leads to neglect the electric time constant in motor model. This is common assumption that is correct for the most of DC motors.

Fig. 5.5 Block diagram of DC motor

84

Now , the reduced order model of motor can be described in matrix form for whole manipulator by:

๐‘ฒ๐‘Ÿโˆ’1๐‰=๐‘ฒ๐‘ก๐’Š๐‘Ž 5-15 ๐’—๐‘Ž =๐‘น๐’Š๐‘Ž +๐‘ฒ๐‘ฃ๐’’ฬ‡๐‘š 5-16 where ๐’Š๐‘Ž is a vector of the armature current, ๐‘ฒ๐‘ก is the diagonal matrix whose elements are torque constants, ๐’—๐‘Ž is a vector of the armature voltage, ๐‘ฒ๐‘ฃ is the diagonal matrix of the voltage constants, ๐‘น is the diagonal matrix of the armature resistances of the ๐‘› motors.

Furthermore, any electric motor needs power amplifier (electric drive) to generate required voltage for the motor by amplifying the power source voltage. Then the relation between the vector of armature voltage ๐’—๐‘Ž and the vector of control voltage ๐’—๐‘ of the ๐‘› servomotor can be written as

๐’—๐‘Ž =๐‘ฎ๐’—๐’—๐‘ 5-17 where ๐‘ฎ๐’— is the diagonal matrix of gains of the ๐‘› amplifiers. Substituting the last three equations on each other leads to find the vector of joint torques as:

๐‰=๐‘ฒ๐‘Ÿ๐‘ฒ๐‘ก๐‘นโˆ’1(๐‘ฎ๐’—๐’—๐‘ โˆ’ ๐‘ฒ๐‘ฃ๐‘ฒ๐‘Ÿ๐’’ฬ‡) 5-18 The block diagram of the system are depicted in Fig. 5.6.

Fig. 5.6 Block diagram of the manipulator and motor system as voltage-controlled system(Siciliano et al., 2009)

Now, one can specify the required control voltage corresponding to ๐’—๐‘ corresponding to the desired joint velocity vector ๐’’ฬ‡๐‘‘ and desired vector of joint torques ๐‰ based on the following relation:

๐’—๐‘ =๐‘ฎ๐’—โˆ’๐Ÿ๐‘ฒ๐‘Ÿโˆ’๐Ÿ๐‘ฒ๐‘กโˆ’๐Ÿ๐‘น ๐‰๐’…+๐‘ฎ๐’—โˆ’๐Ÿ๐‘ฒ๐‘ฃ๐‘ฒ๐‘Ÿ๐’’ฬ‡๐‘‘ 5-19

85

To control the above system two cases can be taken into account:

1. The first case is when the gear ratio of drives, i.e. diagonal elements of the matrix ๐‘ฒ๐‘Ÿ are large and the values of motor resistance, i.e. elements of the matrix ๐‘น are very small and assuming the values of the joint torques required for performing the desired motion are not very large. In this case the first term of the control voltage ๐‘ฎ๐’—โˆ’๐Ÿ๐‘ฒ๐‘Ÿโˆ’๐Ÿ๐‘ฒ๐‘กโˆ’๐Ÿ๐‘น ๐‰๐’… is negligible.

Then control voltage is reduced to

๐’—๐‘ โ‰ˆ ๐‘ฎ๐’—โˆ’๐Ÿ๐‘ฒ๐‘ฃ๐‘ฒ๐‘Ÿ๐’’ฬ‡๐‘‘ 5-20 This scheme is called velocity or voltage control method since the control voltage is achieved according to the desired velocity. It is noted that the relationship between voltage ๐’—๐‘ and speed ๐’’ฬ‡๐‘‘ is independent of manipulator parameters. Therefore the control system is robust with respect to the parameter variation of manipulator model. The greater the value of the gear ratios, the more robust to the parameter variation.

Furthermore, due to the fact that the matrix ๐‘ฎ๐’—โˆ’๐Ÿ๐‘ฒ๐‘ฃ๐‘ฒ๐‘Ÿ is diagonal, the control voltage of each joint only depends on the speed of the same joint and not depends on the speed of the other joints. Hence a decentralized control method can be used for position control of the joint in this case, since each joint can be controlled independently.

2. In the second case, on the other hand, the required joint torques for desired motion control are large or the system is direct-drive (๐‘ฒ๐‘Ÿ = ๐‘ฐ ). In this case, the first term of control voltage is no longer negligible. Therefore it is needed to specify the required joint torques ๐‰๐’…(๐‘ก) to track any desired motion in terms of the joint accelerations ๐’’ฬˆ(๐‘ก) , velocities ๐’’ฬ‡(๐‘ก) and positions ๐’’(๐‘ก). This can be done using inverse dynamics technique that requires the accurate knowledge of the manipulator dynamic model. In this manner, the control system is needed to be a centralized control method, because computing the torque history at each joint requires to know the time evolution of the motion of all the joints.

According to the above mentioned relation, the control voltage in this case is determined based on the desired torque values and desired joint velocities:

๐’—๐‘ =๐‘ฎ๐’—โˆ’๐Ÿ๐‘ฒ๐‘Ÿโˆ’๐Ÿ๐‘ฒ๐‘กโˆ’๐Ÿ๐‘น ๐‰๐’…+๐‘ฎ๐’—โˆ’๐Ÿ๐‘ฒ๐‘ฃ๐‘ฒ๐‘Ÿ๐’’ฬ‡๐‘‘ 5-21 Since the matrices ๐‘ฒ๐‘กโˆ’๐Ÿ, ๐‘ฒ๐‘ฃ and ๐‘น are related to the characteristic of the motor and changing according to the different operation conditions of the motors, the motor control can be described as a current control instead of voltage control. In this case, the control system is less sensitive to the parameter variations of the motors. The equation of the actuator that perform as a torque-controlled generator can be specified as:

๐’Š๐‘Ž = ๐‘ฎ๐’Š๐’—๐‘ 5-22 where ๐‘ฎ๐’Š is the constant diagonal matrix relates the armature currents ๐’Š๐‘Ž and the control voltages ๐’—๐‘. Therefore the joint torques are derived as

86

๐‰ =๐‘ฒ๐‘Ÿ๐‘ฒ๐‘ก๐‘ฎ๐’Š๐’—๐‘ 5-23 As a consequence, the vector of the voltage control for a torque-controlled method is obtained by

๐’—๐‘ = ๐‘ฎ๐’Šโˆ’๐Ÿ๐‘ฒ๐‘Ÿโˆ’๐Ÿ๐‘ฒ๐‘กโˆ’๐Ÿ ๐‰๐’… 5-24 where desired joint torques ๐‰๐’… are obtained by computation of the inverse dynamics for a desired motion. Although, the centralized control method seems to be a feedforward system, the use of error between the actual and desired trajectory is necessary. Because the dynamic model of the system, even though a very complicated one, is anyhow idealization of reality which does not include dimension tolerances, friction and gear backlash and also uses simplified assumption such as link rigidity.

With comparing two cases, The first case assumptions are more compatible with Archie characteristic, since the values of gear ratios used in Archie are large, i.e. 160 for brushless and 450 for brushed DC motor, and the resistance of utilized DC motors are very small and also the required joint torques needed for walking are not very large. Thus velocity control (voltage control) method is used in each joint of Archie that is compatible with decentralized control strategy. So the next section explains the independent joint control strategies used for decentralized control.

Im Dokument Walking Control of a Humanoid Robot (Seite 94-98)