| 数据搜索系统,热门电子元器件搜索 |
|
STPS1L60 数据表(PDF) 19 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STPS1L60 数据表(HTML) 19 Page - STMicroelectronics |
|
19 / 34 page ![]() AN3151 Firmware implementation Doc ID 17051 Rev 1 19/34 /*Configure the ADC2 external trigger */ ADC2_ExternalTriggerConfig(ADC2_EXTTRIG_TIM, ENABLE); ADC2_Cmd(ENABLE); 5.3 PI regulator overview and firmware implementation The general formula for an analog PI regulator is: Equation 8 where: ● µ(t) is the driving signal ● e (t) is the error signal, the difference between the actual value and the target value ● KP and KI are the proportional and the integral constant respectively In the case of digital regulators, the above equation becomes: Equation 9 where: ● µ (n) is the driving signal sampled at the instant nT ● e (n) is the error signal sampled at the instant nT ● KP, KI are respectively the proportional and integral gains ● T is the sampling time The following can also be written: Equation 10 and, subtracting Equation 10 from Equation 9: Equation 11 The equation shows the variation of the duty cycle Δµ(n) at the instant nT due to the current error in the same instant (term e(n)) and to its variation at the instants nT and (n-1)T (terms Δe(n) and ). () ( ) ( ) ∫ τ τ + = t 0 I P d e * K t e * K t u () () () ∑ = + = n 0 i I P i e * T * K n e * K n u () () () ∑ + = + + = + 1 n 0 i I P i e * T * K 1 n e * K 1 n u () ( ) () ( ) [] () () ⎥ ⎥ ⎦ ⎤ ⎢ ⎢ ⎣ ⎡ − + − + = − + = Δ ∑ ∑ = + = n 0 i 1 n 0 i I P i e i e * T * K n e 1 n e * K n u 1 n u ) n ( u () ( ) [] 1 n e n e − Δ − Δ |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |