データシートサーチシステム
  Japanese  ▼
ALLDATASHEET.JP

X  

STPS1L60 データシート(PDF) 19 Page - STMicroelectronics

部品番号 STPS1L60
部品情報  Digital constant-current controller
PDF  34 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
メーカー  STMICROELECTRONICS [STMicroelectronics]
ホームページ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

STPS1L60 データシート(HTML) 19 Page - STMicroelectronics

Back Button STPS1L60 Datasheet HTML 15Page - STMicroelectronics STPS1L60 Datasheet HTML 16Page - STMicroelectronics STPS1L60 Datasheet HTML 17Page - STMicroelectronics STPS1L60 Datasheet HTML 18Page - STMicroelectronics STPS1L60 Datasheet HTML 19Page - STMicroelectronics STPS1L60 Datasheet HTML 20Page - STMicroelectronics STPS1L60 Datasheet HTML 21Page - STMicroelectronics STPS1L60 Datasheet HTML 22Page - STMicroelectronics STPS1L60 Datasheet HTML 23Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 19 / 34 page
background image
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
Δ
Δ



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34


データシート ダウンロード

Go To PDF Page


リンク URL



ALLDATASHEETはお客様のビジネスに役立ちますか?  [ DONATE ] 

Alldatasheetは   |   広告   |   お問い合わせ   |   プライバシーポリシー   |   データシートへのリンク    |   リンク交換   |   メーカーリスト
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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