State-pace feedback 5 Tutorial example and ue of MTLB J Roiter
Introduction The previou video howed how tate feedback can place pole preciely a long a the ytem u fully controllable. x u x Kx Bu Thi video illutrate and compare the three different method preented.. Uing canonical form.. Uing a tranformation to obtain a canonical form. 3. ckermann method. x ( BK ) x
Remark. In general, pole placement for tate pace model i not a paper and pen exercie.. With the exception of by ytem, the required algebra i tediou and tudent hould ue oftware once they are comfortable with the key principle. MTLB ue i demontrated. 3. ll the method aume controllability and that the uer can pecify, in advance, the deired cloed-loop pole polynomial. 3 p c n n n o
Pole placement algorithm. Find tranfer function repreentation.. Find control canonical form. 3. Find pole placement tate feedback for control canonical form. 4. Find tranformation matrix uing controllability matrice. 5. Find tate feedback for original tate pace ytem. C( I z M u cz z ˆ Kz ˆ [ M K cx ) ] Bu ˆ KT ˆ B T 4
ckermann approach Define M c to be the controllability matrix, then: M p ( ) K c c 5
6 EXMPLES
Example : Chooe K to give cloed-loop pole at -±j.5. ; B ; Firt find the required pole polynomial 7 p c.5 The ytem i not in control canonical form o that approach i not viable. Try ckermann and tate tranformation.
Example - ckermann M p ( ) K c c 8
State tranformation. Find control canonical form. Open loop pole polynomial i p o =..5 p c 9. Find pole placement tate feedback for control canonical form. u Kz ˆ ˆ Bˆ Kˆ.5
State tranformation Find tranformation matrix uing controllability matrice. M cz [ M cx ] T Find tate feedback for original tate pace ytem. K KT ˆ
MTLB CODE ckermann Tranformation Mx=ctrb(,B) pc=^+*+.5*eye() K=[ ]*inv(mx)*pc eig(-b*k) [hat,bhat,chat,dhat]=tf (,[ ]) Khat=[.5]+hat(,:) eig(hat-bhat*khat) Mz=[Bhat,hat*Bhat] T=Mz*inv(Mx) K=Khat*T
Example : Chooe K to et the cloed-loop pole all at -. Firt find the required cloed-loop pole polynomial ; 6 6 B 8 6 ) ( 3 3 p c
Canonical approach - example 3 ; 8 6 B BK c 8 6 3 p c Deired cloed-loop matrix
Tranformation approach example 4 lready in canonical form o not needed!
Example - ckermann 5 K p M c c ) ( 6 4 8 6 ) ( 3 I p c Not paper/pen exercie in general! 6 5 6 ],, [ B B B M c K
MTLB CODE 6 ckermann dd=[ 6 8]; Mx=ctrb(,B) Pc=^3+dd()*^+dd(3)*+dd(4)*eye(3) K=[ ]*inv(mx)*pc eig(-b*k)
Example 3: Chooe K to et the cloed-loop pole at,-,-,-. 7 5.47.5.864.98.3.5.74 ;.5.87 Firt find the required cloed-loop pole polynomial but alo note that one cannot reaonably tackle thi quetion on pen and paper. 6.96 4 B p c 4 5 3 9 7
Canonical approach - example 3 8 Sytem not in canonical form o cannot ue thi approach.
State tranformation. Find control canonical form. Open loop pole polynomial i: 9 8.5 5.5 3 4 p o ˆ ; 8.5 5.5 ˆ B 8.5 5.5 7 9 5 ˆ ˆ ˆ 4 3 k k k k BK.5.5 ˆ K 7 9 5 3 4 p c
State tranformation Find tranformation matrix uing controllability matrice. M cz [ M cx ] T Find tate feedback for original tate pace ytem. K KT ˆ K.54.3
Example 3 - ckermann K p M c c ) ( I p c 7 9 5 ) ( 3 4 Not paper/pen exercie in general! ],,, [ 3 B B B B M c.3.54 K
MTLB CODE ckermann Mx=ctrb(,B) dd=poly([-,-,-,-]); Pc=^4+dd()*^3+dd(3)* ^+dd(4)*+dd(5)*eye(4) K=[ ]*inv(mx)*pc eig(-b*k) Tranformation dd=poly([-,-,-,-]); d=poly([-.5,-,-,-]); [hat,bhat,chat]=tf(,d); Khat=[dd(:end)]+hat(,:) Mz=ctrb(hat,Bhat) Mx=ctrb(,B) T=Mz*inv(Mx); K=Khat*T eig(-b*k)
MTLB hortcut MTLB ha built in tool to find K in a ingle line rather than the detailed code illutrate earlier. 3 place.m K = place(,b,pole) acker.m K = acker(,b,pole) Both are demontrated now on the 3 example given earlier. acker.m i enitive place.m doe not do for large number of multiple pole with a tate/poor ingle input. controllability
Summary 4. Given ome worked example of pole placement deign.. Shown that obtain the ame anwer with 3 different method. 3. lo made it clear that in general, thee deign are not paper and pen exercie and tudent hould ue a computer for the algebra. 4. Demontrated ue of MTLB tool.
nthony Roiter Department of utomatic Control and Sytem Engineering Univerity of Sheffield www.hef.ac.uk/ace 6 Univerity of Sheffield Thi work i licened under the Creative Common ttribution. UK: England & Wale Licence. To view a copy of thi licence, viit http://creativecommon.org/licene/by/./uk/ or end a letter to: Creative Common, 7 Second Street, Suite 3, San Francico, California 945, US. It hould be noted that ome of the material contained within thi reource are ubject to third party right and any copyright notice mut remain with thee material in the event of reue or repurpoing. If there are third party image within the reource pleae do not remove or alter any of the copyright notice or webite detail hown below the image. (Pleae lit detail of the third party right contained within thi work. If you include your intitution logo on the cover pleae include reference to the fact that it i a trade mark and all copyright in that image i reerved.)