| Moteur de recherche de fiches techniques de composants électroniques |
|
STN3NF06 Fiches technique(PDF) 19 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STN3NF06 Fiches technique(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 − Δ − Δ |
|
Lien URL |
| ALLDATASHEET vous a-t-il été utile ? [ DONATE ] |
À propos de Alldatasheet | Publicité | Contactez-nous | Politique de confidentialité | Lien vers la fiche technique | Echange de liens | Fabricants 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 |