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.