




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)
文檔簡介
1、nlinear controller2.2 Digital PID algorithm and its modified forms 2.2.1 Principle of PID controlIn continuous time system, PID is one of the most popular algorithms_+c(t)r(t)PIDplantIt features in :nthe output of control is a linear combination of Proportional, Integral and Derivative of nregulate
2、according to the error )()()(tctrte)(teni.e. .2.1)()(1)()(0tdipdttdeTdtteTtektu11)()()(sTsTksEsUsDdipcor: in the transfer function formwhere: : proportional coefficient. : integral time constant. : derivative time constant.pkiTdT(1) proportional: generating a control proportional to the error . (3)
3、Derivative indication of the rate of error changes. introducing an earlier compensation signal to speed up system response, reducing regulation time.(2) Integral: producing a control that eliminates steady state error.nControl functions:eeiTeffect of integral part As long as the error exits, the con
4、trol takes effect.pupu)(te2.2.2 Digital PID algorithmIn general, there are two types of digital PID -Position -IncrementalnPosition Look at the Eqt.2.1, to implement the digital PID with computers, problems occur: The data is only valid at sampling instant. Therefore, we need to modify the equations
5、 for integral, derivative calculations.Assuming: Sampling interval is sufficiently short. Ideal sampling switch and Hold are applied.)()(kTeteThen: 2.2tkjkjjTeTTjTedtte000)()()( 2.3)()(,) 1(jTeteTjtjTTTkTekTedttde)()()( 2.4te(t) 0T0Error of approximation)1()()()()(0kjdipkekeTTjeTTkekkukjdipkekekjekk
6、ekku0)1()()()()( (2.5)or:.(2.6)where:ipiTTkk . integral coefficient. TTkkdpdderivative coefficient. Further: let Ze(k) = E(z) then according to:The properties of z - transform, we have:)()1(1zEzkeZ101)( )(zzEjeZkjTherefore:)7 . 2.(.).()(1)()()(11zEzzEKzzEKzEKzUdipRewrite Eqt (2.7):)1 (11)()()(11zKzK
7、KzEzUzDdipcz transfer function of digital PID.Figuratively:Output of the position PID controller is normally a manipulation variable, corresponding to position of actuators e. g. position of spool )7 . 2).()(1)()()(11zEzzEKzzEKzEKzUdipProblems with the position PID controller: 1) may have saturation
8、 problem; 2) in case of computer failure large change of u(k) (magnitude) large change of position of actuator may cause mechanical (as well as electrical) damage.Incremental. The distinctive change is that the output of the controller is increments of control signal(or manipulation variables). i.e.
9、 u(k), rather than u(k). e.g. stepper motor. )9 . 2.(.).1()()()()2() 1(2)()()1()()(kekeKkeKkeKkekekeKkeKkekeKkudipdip) 1()()(kekekenThe incremental PID algorithm can be derived from position PID algorithm. At t=(k-1)T, we have: Subtracting Eqt.(2.8) from Eqt.(2.6): Where:)8 . 2.().2() 1()() 1() 1(10
10、kekeKjeKkeKkudkjipAlternatively, Eqt.(2.9) can be rewritten as:Where: )2() 1()()(kCekBekAekuTTKCTTKBTTTTKAdpdpdip)21()1(Only the latest three measurements are needed for calculation providing the are fixed.dipKKK, No fundamental difference between the position and the incremental algorithms. Improve
11、ment due to incremental algorithm. Output increments of manipulation variable: the manipulation variable will be hold in case of computer malfunction. no accumulation, avoid saturation problem easy to calculate. n2.2.3 Modified digital PID algorithms. Implemented with software - flexible -Integral a
12、ction. Purpose of using “integral”: eliminating steady state error. If experienced a large error that lasts for a considerable period of time, integral action may cause big overshoot.- Integral-separated PID algorithms. Basic ideas:- set a threshold 0- when e(k) , PD control applied (reducing oversh
13、oot and speeding up system response )- when e(k) , PID control applied (integral returns to improve steady state accuracy ) )1()()()()(0kekeTTjeTTkekkudkjipTherefore the output of PID controller can be mathematically expressed as:Where: )(1)(0kekeFiguratively, the effect of the modified PID algorith
14、m: - Anti windup Another way to improve the integral effectAssignment: the principle of the anti windup algorithm - Derivative action The purpose of using “derivative”: Speeding up the system response Previously, pure derivative was used.i.e, )1()()1()()()(kekekkekeTTkkuddpdDiscussions:1) Sensitive
15、to disturbances; 2) Suppose a sudden change of error appears, e.g., let e(k) be a step change, e(k)= 1, k=0, 1, 2, Then ud(k) is, )1()()1()()()(kekekkekeTTkkuddpdud(0)=kdud(1)=ud(2)=0i.e. the derivative is only active at the first period of control, while ud(k) equals zero for the following interval
16、s.Consequently, Not sufficient for systems with large inertia Amplitude (and/or rate of change) of ud (=kd) may cause data overflow in computation, or mechanical damage to actuatorsModification:making the derivative effect last longerThe gain of the derivative must be limited(we aim at)Introducing a
17、 first order lag ( low-pass filter) into PID controllerThere are generally two ways to do that i.e., two configurations:How the derivative performance is improved.(For Configuration A)nIn transfer function form:( )( )( )( )( )1ppdppIdifkk T sU skE sUsUsUsTsT snIn which:( )( )1pddfk T sUsE sT sRewrit
18、ten in differential eq. form:( )( )( )ddfpddutde tutTk TdtdtUsing difference eq. to replace the derivatives,( )(1)( )(1)( )dddfpdukuke ke kukTk TTTFurther, we have( )(1) ( )(1)2.11fp dddffTk Tu ku ke ke kTTTTLet then ffTTT1fTTT 111( )(1) ( )(1)(1)2.12dddu kke ke ku k ddpTkkTNotice: and Therefore:whe
19、reif is unit step function, i.e. ( )e k( )1,0,1,e kk(0)(1) (0)( 1)( 1)(1)ddddukeeuk(1)(1) (1)(0)(0)(0)ddddukeeuu2(2)(1)(0)( )(1)(0)dddkddduuuukukuThe consequences are: the magnitude of ( the output in the first sampling interval ) is reduced to ;dk(1)dkthe output of effects in the following interval
20、s( )duk( )(0),1kdukunSchematicallyOriginalModifiedThere are other types of modified PID controllers :n with dead-zone (band), n derivative lead, n variable gain , n self-tuning , 2.3 Parameters tuning of digital PID controllerController = algorithm + para. settingPIDHow to get the PID para. settings
21、?There are generally two ways to get the settingsMathematical models of the controlled plant unknown- experimental methodMathematical models of the controlled plant known- analytical methodThe following methods are applicable to continuous time systems, but can be extended to discrete time systems p
22、roviding that the sampling intervals is very short Bode diagram, root-locus, - Ziegler- Nichols methoda) Step-response methodFeature:Experiment on open-loop systemProcedures: assume the plant can be described (approximated) by a first-order lag with time delay i.e. 1)(TskesGs inject a step input int
23、o the open-loop system determine the parameters from the measurements of the response curveLet, PID controller,)11()(sTsTksGdipcThen, Ziegler-Nichols Eq. gives,5.022.1dipTTkTk: apparent dead timeT: apparent time constantk: gain b) Ultimate-sensitivity methodFeature:experiment on closed-loop systemProcedures: pure proportional control to the closed-loop system increase the gain of controller until the stability limit of the closed-loo
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
- 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 《微軟公司經(jīng)營理念》課件
- 提升班級凝聚力的策略研究計劃
- 遠程登錄協(xié)議書范本
- 《西安交通大學戰(zhàn)略管理》課件
- 超市門面分租合同協(xié)議
- 轉(zhuǎn)讓門店收款合同協(xié)議模板
- 日本安全協(xié)議書
- 路拌機租賃合同協(xié)議
- 車主和公司簽合同協(xié)議
- 轉(zhuǎn)讓出售吸塑機合同協(xié)議
- Unit1 Greetings(說課稿)2024-2025學年人教精通版(2024)英語三年級上冊
- 2025年度涉密電子設備研發(fā)與生產(chǎn)保密協(xié)議范本
- 《中國染織史》第九章-五代、兩宋的染織工藝
- 2025年全國青少年禁毒知識競賽中學生組題庫及答案(共120題) - 副本
- 2024年09月北京北京銀行北京地區(qū)社會招考(919)筆試歷年參考題庫附帶答案詳解
- 學校心理健康教育與家校合作的實踐研究
- 國旗班指揮刀訓練動作要領(lǐng)
- 中職心理健康第五課認識情緒管理情緒
- 足浴技師押金合同范例
- 水工環(huán)高工答辯復習題
- 《賭博的危害》課件
評論
0/150
提交評論