Amplifier-Motor Modeling

advertisement
Elements to be modeled:
1.
2.
3.
4.
Amplifier
Motor & Load
Position Sensor
Controller
Amplifier-Motor Modeling
Amplifier- Current or Torque Mode Amplifier
In this type of operation mode, amplifier output current, I that is directly proportional to the input voltage
V the proportionality factor Ka
𝐼 = πΎπ‘Ž 𝑉------- 1
Torque 𝑇𝑔 = 𝐾𝑑 𝐼--------- 2
where 𝐾𝑑 → π‘‘π‘œπ‘Ÿπ‘žπ‘’π‘’ π‘π‘œπ‘›π‘ π‘‘π‘Žπ‘›π‘‘
Moment of Inertia of a solid disc of mass ‘m’ and radius ‘r’:
𝐽=
π‘šπ‘Ÿ 2
2
π‘‡π‘œπ‘Ÿπ‘žπ‘’π‘’ = πΉπ‘œπ‘Ÿπ‘π‘’ π‘₯ πΏπ‘–π‘£π‘’π‘Ÿ π΄π‘Ÿπ‘š
𝑇 = πΉπ‘Ÿ
If J is total moment of inertia of load & motor, Tf is opposing friction,
𝐽𝛼 = 𝑇𝑓 + 𝑇𝑔 ----------
3
Where α is acceleration,
𝛼=
π‘‘πœ”
𝑑𝑑
πœ” 𝑖𝑠 π‘‘β„Žπ‘’ π‘£π‘’π‘™π‘œπ‘π‘–π‘‘π‘¦,
πœ” = ∫ 𝛼 𝑑𝑑 → π‘‡π‘Žπ‘˜π‘–π‘›π‘” πΏπ‘Žπ‘π‘™π‘Žπ‘π‘’ π‘‡π‘Ÿπ‘Žπ‘›π‘ π‘“π‘œπ‘Ÿπ‘š → πœ” =
πœ”=
1
𝛼−−−− 4
𝑠
π‘‘πœƒ
1
→ πœƒ = ∫ πœ” 𝑑𝑑 → π‘‡π‘Žπ‘˜π‘–π‘›π‘” πΏπ‘Žπ‘π‘™π‘Žπ‘π‘’ π‘‡π‘Ÿπ‘Žπ‘›π‘ π‘“π‘œπ‘Ÿπ‘š → πœƒ = πœ” − − − − 5
𝑑𝑑
𝑠
Combining equations 1 through 5
1
πœƒ= πœ”
𝑠
1 1
= ( ) ( 𝛼)
𝑠 𝑠
=
1 𝑇𝑔
𝑠2 𝐽
𝑖𝑓 𝑇𝑓 𝑖𝑠 𝑛𝑒𝑔𝑙𝑒𝑐𝑑𝑒𝑑 →=
πœƒ=
1 𝐾𝑑 𝐼
𝑠2 𝐽
1 πΎπ‘Ž 𝐾𝑑 𝑉
𝑠2 𝐽
πœƒ
πΎπ‘Ž 𝐾𝑑
=
−−−− 6
𝑉
𝐽𝑠 2
Position Sensor Modeling
Motor position is indicated by position sensor as signal ‘c’. Kf proportionality factor, Kf equals the
number of units of feedback per one radian of rotation. Encoder provides the position, suppose an
incremental encoder generates N pulses per revolution, that the encoder generates output. Channels A &
B produces 1000 pulses for each encoder rotation. As two signals are shifted by one quarter of a cycle, the
controller can divide each encoder cycle into four quadrant counts resulting in an effective resolution of
4N counts per revolution or turn. Since each revolution is 2π radians, the resulting encoder gain is 𝐾𝑓 =
4𝑁
-2πœ‹
7
Model for Incremental Encoder:
𝐾𝑓 =
=
4𝑁
−− 7
2πœ‹
4 π‘₯ 1000
π‘π‘œπ‘’π‘›π‘‘π‘ 
= 636.537
2πœ‹
π‘Ÿπ‘’π‘£
Thus, 1000 pulse per rev encoder has an equivalent gain of 636 counts/ revolution.
οƒ˜ Another common type of position sensor is the one of binary representation. Total number of
positions per revolution is 2𝑛 the model for this sensor is:
𝐾𝑓 =
2𝑛
− − − −8
2πœ‹
For example- For Absolute encoder or resolver with 16-Bit binary position signal has a gain of:
𝐾𝑓 =
216
= 10,435 π‘π‘œπ‘’π‘›π‘‘π‘ /π‘Ÿπ‘Žπ‘‘π‘–π‘Žπ‘›π‘ 
2πœ‹
When a sensor is linear, if the resolution of a sensor is 1 micron and if the length is measured in meters,
the encoder gain equals 106 π‘π‘œπ‘’π‘›π‘‘π‘ /π‘šπ‘’π‘‘π‘’π‘Ÿ.
Modeling a Controller
The desired position signal is R(t) or simply ‘R’ actual position is ‘C’. Thus position error ‘E’:
𝐸 =𝑅−𝐢
This position error is used to generate the output signal that drives the motor.
The proportional term xp ,
π‘₯𝑝 = (𝑃)(𝐸)
Gain of the proportional part of the controller
Error, input
The derivative term xd ,
π‘₯𝑑 = (𝑠𝐷)(𝐸)
Gain of derivative controller
Error, input
The integral term xi ,
1
π‘₯𝑖 = ( 𝐼) 𝐸
𝑠
Gain of the Integral controller
Error, input
Sum of all three outputs,
π‘₯ = π‘₯𝑝 + π‘₯𝑑 + π‘₯𝑖
The Transfer function F(s), relating the output ‘x’ to position error E is,
𝐹(𝑠) =
π‘₯
1
= 𝑃 + 𝑠𝐷 + 𝐼 − − − − − 𝑃𝐼𝐷 πΆπ‘œπ‘›π‘‘π‘Ÿπ‘œπ‘™π‘™π‘’π‘Ÿ
𝐸
𝑠
Digital to Analog converter resolution, 8-16 bit. DAC having output voltage range -10 V to +10 V:
Output- -10 V to +10 V
Gain of DAC ‘K’, equal to the number of volts it produces per unit of ‘x’ input signal.
DAC Resolution in ‘n’ bits, the DAC Gain equals:
A 12-Bit DAC has K=0.0048 V/unit
𝐾=
20 20
=
= 0.0048 𝑉/𝑒𝑛𝑖𝑑
2𝑛 212
𝑇𝑔
𝐽𝛼 = 𝑇𝑔 π‘œπ‘Ÿ 𝛼 =
𝐽
1
πœ”= 𝛼
𝑠
1
πœƒ= πœ”
𝑠
πœƒ=
11
𝛼
𝑠𝑠
πœƒ=
1 𝑇𝑔
𝑠2 𝐽
=
=
1 𝐾𝑑 𝐼
𝑠2 𝐽
1
𝑉
𝐾𝑑 πΎπ‘Ž
2
𝑠
𝐽
πœƒ
1 𝐾𝑑 πΎπ‘Ž
= 2
𝑉 𝑠
𝐽
πœ”
𝐾𝑑
= 2
∪ 𝑠 𝐽𝐿 + π‘ π½π‘Ÿ + 𝐾𝑒 𝐾𝑑
Encoder Gain:
𝐾𝑓 =
2πœ‹
Kf
4𝑁
2πœ‹
4N
4 π‘₯ 1000
(
) = 636 π‘π‘œπ‘’π‘›π‘‘π‘ /π‘Ÿπ‘Žπ‘‘
(2)(3.1428)
Download