전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

UM0585 데이터시트(PDF) 7 Page - STMicroelectronics

부품명 UM0585
상세설명  STM32F10x DSP library
PDF  25 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  STMICROELECTRONICS [STMicroelectronics]
홈페이지  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM0585 데이터시트(HTML) 7 Page - STMicroelectronics

Back Button UM0585 Datasheet HTML 3Page - STMicroelectronics UM0585 Datasheet HTML 4Page - STMicroelectronics UM0585 Datasheet HTML 5Page - STMicroelectronics UM0585 Datasheet HTML 6Page - STMicroelectronics UM0585 Datasheet HTML 7Page - STMicroelectronics UM0585 Datasheet HTML 8Page - STMicroelectronics UM0585 Datasheet HTML 9Page - STMicroelectronics UM0585 Datasheet HTML 10Page - STMicroelectronics UM0585 Datasheet HTML 11Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 7 / 25 page
background image
UM0585
PID controller
Doc ID 14988 Rev 2
7/25
2
PID controller
2.1
Description
The proportional-integral-derivative or PID controller is commonly used in the industry. It is a
feedback loop controller that manages the process command with a view to reducing the
error between the desired set point and the measured process variable.
The following block diagram shows the parallel structure of a PID controller. This is the
structure implemented in this DSP library.
Figure 1.
Block diagram of PID controller
2.2
DSP library functions
The DSP library provides three PID functions:
●
DoPID
: a PID core loop coded in C (the error is computed outside the function)
●
DoFullPID
: a full PID controller coded in C (with error computing)
●
PID_stm32
: an optimized PID core loop written in assembly
2.2.1
DoPID
function
Table 2 describes the DoPID function.
Example
/* Fill the coefficients table */
Coeff[0] = Kp;/*proportional coefficient*/
+ -
+
+
+
In
Ref
Error
Output
P
I
D
Process
command
ai15447
Table 2.
DoPID
function
Function name
DoPID
Prototype
uint16_t DoPID(uint16_t Error, uint16_t *Coeff)
Behavior description
PID in C, error computed outside the function.
Input parameter
– Error: difference between reference and measured values
– Coeff: pointer to the coefficients table
Output parameter
None
Return parameter
PID output command



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


데이터시트 다운로드

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