数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

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
标志 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


链接网址



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