Lecture-34-Lead_Compensator
Lecture-34-Lead_Compensator
𝐷𝑒𝑠𝑖𝑔𝑛 𝑡ℎ𝑒 𝑡𝑟𝑎𝑛𝑠𝑓𝑒𝑟 𝑓𝑢𝑛𝑐𝑡𝑖𝑜𝑛 𝑜𝑓 𝑎 𝑐𝑜𝑚𝑝𝑒𝑛𝑠𝑎𝑡𝑜𝑟 𝑓𝑜𝑟 𝑎 𝑢𝑛𝑖𝑡𝑦 𝑛𝑒𝑔𝑎𝑡𝑖𝑣𝑒 𝑓𝑒𝑒𝑑𝑏𝑎𝑐𝑘 𝑐𝑜𝑛𝑡𝑟𝑜𝑙 𝑠𝑦𝑠𝑡𝑒𝑚 ℎ𝑎𝑣𝑖𝑛𝑔 𝑡ℎ𝑒
𝑓𝑜𝑙𝑙𝑜𝑤𝑖𝑛𝑔 𝑜𝑝𝑒𝑛 𝑙𝑜𝑜𝑝 𝑡𝑟𝑎𝑛𝑠𝑓𝑒𝑟 𝑓𝑢𝑛𝑐𝑡𝑖𝑜𝑛 𝑠𝑢𝑐ℎ 𝑡ℎ𝑎𝑡 𝑡ℎ𝑒 𝑣𝑒𝑙𝑜𝑐𝑖𝑡𝑦 𝑒𝑟𝑟𝑜𝑟 𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡 𝑖𝑠 𝐾 = 27.3/𝑠𝑒𝑐
0.035
𝐺 𝑠 =
𝑠(1 + 0.5𝑠)(1 + 0.04𝑠)
Lag compensator – Example
𝐷𝑒𝑠𝑖𝑔𝑛 𝑡ℎ𝑒 𝑡𝑟𝑎𝑛𝑠𝑓𝑒𝑟 𝑓𝑢𝑛𝑐𝑡𝑖𝑜𝑛 𝑜𝑓 𝑎 𝑐𝑜𝑚𝑝𝑒𝑛𝑠𝑎𝑡𝑜𝑟 𝑓𝑜𝑟 𝑎 𝑢𝑛𝑖𝑡𝑦 𝑛𝑒𝑔𝑎𝑡𝑖𝑣𝑒 𝑓𝑒𝑒𝑑𝑏𝑎𝑐𝑘 𝑐𝑜𝑛𝑡𝑟𝑜𝑙 𝑠𝑦𝑠𝑡𝑒𝑚 ℎ𝑎𝑣𝑖𝑛𝑔 𝑡ℎ𝑒
𝑓𝑜𝑙𝑙𝑜𝑤𝑖𝑛𝑔 𝑜𝑝𝑒𝑛 𝑙𝑜𝑜𝑝 𝑡𝑟𝑎𝑛𝑠𝑓𝑒𝑟 𝑓𝑢𝑛𝑐𝑡𝑖𝑜𝑛 𝑠𝑢𝑐ℎ 𝑡ℎ𝑎𝑡 𝑡ℎ𝑒 𝑣𝑒𝑙𝑜𝑐𝑖𝑡𝑦 𝑒𝑟𝑟𝑜𝑟 𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡 𝑖𝑠 𝐾 = 27.3/𝑠𝑒𝑐
K = lim 𝑠𝐾 𝐺 𝑠 = 0.035𝐾
→
K = lim 𝑠𝐾 𝐺 𝑠 = 0.035𝐾
→
Gain at 𝜔 =
For ω to be the new gain crossover frequency, the magnitude plot must attenuate by
Lag compensator – frequency response
1+𝑠 𝑧
𝐺 𝑠 =
𝑠𝛽
1+ 𝑧
𝑧
𝑧 𝑧
𝛽 𝛽
0 0
𝜔 𝜔
−20 log 𝛽
Lag compensator – Example
𝐷𝑒𝑠𝑖𝑔𝑛 𝑡ℎ𝑒 𝑡𝑟𝑎𝑛𝑠𝑓𝑒𝑟 𝑓𝑢𝑛𝑐𝑡𝑖𝑜𝑛 𝑜𝑓 𝑎 𝑐𝑜𝑚𝑝𝑒𝑛𝑠𝑎𝑡𝑜𝑟 𝑓𝑜𝑟 𝑎 𝑢𝑛𝑖𝑡𝑦 𝑛𝑒𝑔𝑎𝑡𝑖𝑣𝑒 𝑓𝑒𝑒𝑑𝑏𝑎𝑐𝑘 𝑐𝑜𝑛𝑡𝑟𝑜𝑙 𝑠𝑦𝑠𝑡𝑒𝑚 ℎ𝑎𝑣𝑖𝑛𝑔 𝑡ℎ𝑒
𝑓𝑜𝑙𝑙𝑜𝑤𝑖𝑛𝑔 𝑜𝑝𝑒𝑛 𝑙𝑜𝑜𝑝 𝑡𝑟𝑎𝑛𝑠𝑓𝑒𝑟 𝑓𝑢𝑛𝑐𝑡𝑖𝑜𝑛 𝑠𝑢𝑐ℎ 𝑡ℎ𝑎𝑡 𝑡ℎ𝑒 𝑣𝑒𝑙𝑜𝑐𝑖𝑡𝑦 𝑒𝑟𝑟𝑜𝑟 𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡 𝑖𝑠 𝐾 = 27.3/𝑠𝑒𝑐
Gain at 𝜔 in dB =
For ω to be the new gain crossover frequency, the magnitude plot must attenuate by: −Gain at 𝜔 in dB
−Gain at 𝜔 in dB = −20log 𝛽
Lag compensator – Example
𝐷𝑒𝑠𝑖𝑔𝑛 𝑡ℎ𝑒 𝑡𝑟𝑎𝑛𝑠𝑓𝑒𝑟 𝑓𝑢𝑛𝑐𝑡𝑖𝑜𝑛 𝑜𝑓 𝑎 𝑐𝑜𝑚𝑝𝑒𝑛𝑠𝑎𝑡𝑜𝑟 𝑓𝑜𝑟 𝑎 𝑢𝑛𝑖𝑡𝑦 𝑛𝑒𝑔𝑎𝑡𝑖𝑣𝑒 𝑓𝑒𝑒𝑑𝑏𝑎𝑐𝑘 𝑐𝑜𝑛𝑡𝑟𝑜𝑙 𝑠𝑦𝑠𝑡𝑒𝑚 ℎ𝑎𝑣𝑖𝑛𝑔 𝑡ℎ𝑒
𝑓𝑜𝑙𝑙𝑜𝑤𝑖𝑛𝑔 𝑜𝑝𝑒𝑛 𝑙𝑜𝑜𝑝 𝑡𝑟𝑎𝑛𝑠𝑓𝑒𝑟 𝑓𝑢𝑛𝑐𝑡𝑖𝑜𝑛 𝑠𝑢𝑐ℎ 𝑡ℎ𝑎𝑡 𝑡ℎ𝑒 𝑣𝑒𝑙𝑜𝑐𝑖𝑡𝑦 𝑒𝑟𝑟𝑜𝑟 𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡 𝑖𝑠 𝐾 = 27.3/𝑠𝑒𝑐
𝑧
p =
𝛽
Lag compensator – Example
𝐶𝑜𝑚𝑝𝑒𝑛𝑠𝑎𝑡𝑒 𝑡ℎ𝑒 𝑠𝑦𝑠𝑡𝑒𝑚 𝑤𝑖𝑡ℎ 𝑡ℎ𝑒 𝑜𝑝𝑒𝑛 𝑙𝑜𝑜𝑝 𝑡𝑟𝑎𝑛𝑠𝑓𝑒𝑟 𝑓𝑢𝑛𝑐𝑡𝑖𝑜𝑛
𝐾
𝐺 𝑠 =
𝑠(𝑠 + 1)(𝑠 + 5)
𝑠+𝑧
+ 𝐾 𝑃𝑙𝑎𝑛𝑡
𝑅(𝑠) - 𝑠+𝑝 𝐶(𝑠)
Compensator
𝑧
𝛼 ≔ <1
𝑝
Lead compensators – Root locus
Check if the desired pole is in the RL: This can be verified over simulation or using angle criterion.
The point is not on the RL. We will need to re − shape the root locus using a lead compensator.
Lead compensator - example
56
𝐺 𝑠 = Desired pole location: −𝜁𝜔 ± 𝑗𝜔 1 − 𝜁 = −2.7 ± 𝑗4.43
𝑠(𝑠 + 3)(𝑠 + 9)
Lead compensator - example
56
𝐺 𝑠 = Desired pole location: −𝜁𝜔 ± 𝑗𝜔 1 − 𝜁 = −2.7 ± 𝑗4.43
𝑠(𝑠 + 3)(𝑠 + 9)
Lead compensator - example
56
𝐺 𝑠 = Desired pole location: −𝜁𝜔 ± 𝑗𝜔 1 − 𝜁 = −2.7 ± 𝑗4.43
𝑠(𝑠 + 3)(𝑠 + 9)
Lead compensator - example
56
𝐺 𝑠 = Desired pole location: −𝜁𝜔 ± 𝑗𝜔 1 − 𝜁 = −2.7 ± 𝑗4.43
𝑠(𝑠 + 3)(𝑠 + 9)
Lead compensator - example
56
𝐺 𝑠 = Desired pole location: −𝜁𝜔 ± 𝑗𝜔 1 − 𝜁 = −2.7 ± 𝑗4.43
𝑠(𝑠 + 3)(𝑠 + 9)
Lead compensator - example
56
𝐺 𝑠 = Desired pole location: −𝜁𝜔 ± 𝑗𝜔 1 − 𝜁 = −2.7 ± 𝑗4.43
𝑠(𝑠 + 3)(𝑠 + 9)
Lead compensator - example
56
𝐺 𝑠 = Desired pole location: −𝜁𝜔 ± 𝑗𝜔 1 − 𝜁 = −2.7 ± 𝑗4.43
𝑠(𝑠 + 3)(𝑠 + 9)
Lead compensator - example
56
𝐺 𝑠 = Desired pole location: −𝜁𝜔 ± 𝑗𝜔 1 − 𝜁 = −2.7 ± 𝑗4.43
𝑠(𝑠 + 3)(𝑠 + 9)
Lead compensator - example
56
𝐺 𝑠 = Desired pole location: −𝜁𝜔 ± 𝑗𝜔 1 − 𝜁 = −2.7 ± 𝑗4.43
𝑠(𝑠 + 3)(𝑠 + 9)
Lead compensator - example
56
𝐺 𝑠 = Desired pole location: −𝜁𝜔 ± 𝑗𝜔 1 − 𝜁 = −2.7 ± 𝑗4.43
𝑠(𝑠 + 3)(𝑠 + 9)
𝑠 + 3.01
𝐺 𝑠 = 𝑠 + 3.01 56
𝑠 + 12.93 + 𝐾
- 𝑠 + 12.93 𝑠(𝑠 + 3)(𝑠 + 9) 𝐶(𝑠)
𝑅(𝑠)
Lead Compensator
𝑠 + 3.01 56
𝐾 = 1 ⇒ 𝐾 = 7.952
𝑠 + 12.93 𝑠 𝑠+3 𝑠+9 . .
Lead compensator - example
𝑠 + 3.01 56
+ 7.952
- 𝑠 + 12.93 𝑠(𝑠 + 3)(𝑠 + 9) 𝐶(𝑠)
𝑅(𝑠)
Lead Compensator
Lag-Lead compensator - example
𝐷𝑒𝑠𝑖𝑔𝑛 𝑡ℎ𝑒 𝑡𝑟𝑎𝑛𝑠𝑓𝑒𝑟 𝑓𝑢𝑛𝑐𝑡𝑖𝑜𝑛 𝑜𝑓 𝑎 𝑐𝑜𝑛𝑡𝑟𝑜𝑙𝑙𝑒𝑟 𝑓𝑜𝑟 𝑎 𝑢𝑛𝑖𝑡𝑦 𝑓𝑒𝑒𝑑𝑏𝑎𝑐𝑘 𝑐𝑜𝑛𝑡𝑟𝑜𝑙 𝑠𝑦𝑠𝑡𝑒𝑚 ℎ𝑎𝑣𝑖𝑛𝑔 𝑡ℎ𝑒 𝑓𝑜𝑙𝑙𝑜𝑤𝑖𝑛𝑔
𝑜𝑝𝑒𝑛 𝑙𝑜𝑜𝑝 𝑡𝑟𝑎𝑛𝑠𝑓𝑒𝑟 𝑓𝑢𝑛𝑐𝑡𝑖𝑜𝑛.
56
𝐺 𝑠 =
𝑠(𝑠 + 3)(𝑠 + 9)
𝑠 + 3.01 56
+ 7.952
- 𝑠 + 12.93 𝑠(𝑠 + 3)(𝑠 + 9) 𝐶(𝑠)
𝑅(𝑠)
Compensator
Lag-Lead compensator - example
𝐷𝑒𝑠𝑖𝑔𝑛 𝑡ℎ𝑒 𝑡𝑟𝑎𝑛𝑠𝑓𝑒𝑟 𝑓𝑢𝑛𝑐𝑡𝑖𝑜𝑛 𝑜𝑓 𝑎 𝑐𝑜𝑛𝑡𝑟𝑜𝑙𝑙𝑒𝑟 𝑓𝑜𝑟 𝑎 𝑢𝑛𝑖𝑡𝑦 𝑓𝑒𝑒𝑑𝑏𝑎𝑐𝑘 𝑐𝑜𝑛𝑡𝑟𝑜𝑙 𝑠𝑦𝑠𝑡𝑒𝑚 ℎ𝑎𝑣𝑖𝑛𝑔 𝑡ℎ𝑒 𝑓𝑜𝑙𝑙𝑜𝑤𝑖𝑛𝑔
𝑜𝑝𝑒𝑛 𝑙𝑜𝑜𝑝 𝑡𝑟𝑎𝑛𝑠𝑓𝑒𝑟 𝑓𝑢𝑛𝑐𝑡𝑖𝑜𝑛.
56
𝐺 𝑠 =
𝑠(𝑠 + 3)(𝑠 + 9)
𝐾 =1
𝑠+𝑧 445.36(𝑠 + 3.01)
+ 𝐾
- 𝑠+𝑝 𝑠(𝑠 + 3)(𝑠 + 9)𝑠 + 12.93 𝐶(𝑠)
𝑅(𝑠)
Compensator
Lag-Lead compensator - example
𝐷𝑒𝑠𝑖𝑔𝑛 𝑡ℎ𝑒 𝑡𝑟𝑎𝑛𝑠𝑓𝑒𝑟 𝑓𝑢𝑛𝑐𝑡𝑖𝑜𝑛 𝑜𝑓 𝑎 𝑐𝑜𝑛𝑡𝑟𝑜𝑙𝑙𝑒𝑟 𝑓𝑜𝑟 𝑎 𝑢𝑛𝑖𝑡𝑦 𝑓𝑒𝑒𝑑𝑏𝑎𝑐𝑘 𝑐𝑜𝑛𝑡𝑟𝑜𝑙 𝑠𝑦𝑠𝑡𝑒𝑚 ℎ𝑎𝑣𝑖𝑛𝑔 𝑡ℎ𝑒 𝑓𝑜𝑙𝑙𝑜𝑤𝑖𝑛𝑔
𝑜𝑝𝑒𝑛 𝑙𝑜𝑜𝑝 𝑡𝑟𝑎𝑛𝑠𝑓𝑒𝑟 𝑓𝑢𝑛𝑐𝑡𝑖𝑜𝑛.
56
𝐺 𝑠 =
𝑠(𝑠 + 3)(𝑠 + 9)
𝐿𝐴𝐺 𝐿𝐸𝐴𝐷
𝑠 + 0.01 𝑠 + 3.01 56
+ 7.952
𝑅(𝑠) - 𝑠 + .0018 𝑠 + 12.93 𝑠(𝑠 + 3)(𝑠 + 9) 𝐶(𝑠)
Compensator Plant
Comparison
Comparison
Comparison