PID control in Vision

Download Report

Transcript PID control in Vision

Click to edit Master title style
UNITRONICS
Click to edit Master text styles •
P
I
D
roportional
ntegral
1
/131
erivative
Second level
Third level
Fourth level
Fifth level
•
•
•
•
PID – What's our goal?
Click to edit Master title style
The PID function uses system feedback to
continuously control a dynamic process.
Click to edit Master text styles
The purpose of PID control is to keep a process
running as close as possible to a Second
desired Setlevel
Point.
Third level
Fourth level
Fifth level
2
•
•
•
•
•
ON – OFF control
Click to edit Master title style
Switches the power ON and OFF (0% - 100%)
Pros:
Click toeasy
edittoMaster
Easy to understand,
perform. text styles
Cons:
Second level
Not precise. In some systems "waves" of over and
undershoots can reach 10-20% of PV.Third level
In some fast systems is impossible of all.
•
•
•
Fourth level •
Fifth level •
3
What's PID?
Click to edit Master title style
Mathematical process, which is calculating in
each moment the energy need by the system
Master
to achieve Click
the goaltoin edit
the best
way. text styles
Second level
Third level
Fourth level
Fifth level
4
•
•
•
•
•
What's PID?
Click to edit Master title style
PID means:
•
•
Third level •
Fourth level •
Fifth level •
to edit
Mastercontrol
text styles
ProportionalClick
+ Integral
+ Derivative
CV = CV (P) + CV(I) + CV(D)
Second level
5
What's PID?
Click to edit Master title style
Proportional control is leading.
The control can be:




6
Click to edit Master text styles
P control only
Second level
Third level
PI control
Fourth
level
PD control
Fifth level
Full PID control
•
•
•
•
•
Proportional control
Click to edit Master title style
A band around SP is defined – in percents of
PV range.
Click toband
editCVMaster
styles
Out of proportional
is alwaystext
100%
and no calculations are done.
Second level
Proportional error is 100% on the border of PB.
Third level
Proportional error is 0% at SP.
P-control outputs CV(P) value that Fourth
is in:
level
Direct linear proportion to the size of the
Fifth level
Error value.
7
•
•
•
•
•
Proportional control
Click to edit Master title style
Simple – easy to understand, easy to program
even in ladder
Click to edit Master text styles
Cons:
Never reach Set point!
Second level
•
•
Third level •
Fourth level •
Fifth level •
8
Integral control
Click to edit Master title style
The integral time you set is the amount of time, as
calculated by the controller, required to bring the
Click
to edit Master text styles
process to Set
Point.
•
Second level •
According to the delay, Integral action adds value to
this, calculated by Proportional action.Third level •
Integral value is accumulated with the time.
Fourth level •
Fifth level •
9
Integral action
Click to edit Master title style
CV = CV(P) + CV(I)
On set point – CV(P) = 0  CV = CV(I)
Click to edit Master text styles
Second level
Third level
Fourth level
Fifth level
10
•
•
•
•
•
Derivative action
Click to edit Master title style
Derivative action responds to the rate and
direction of change in the Error.
Master
styles
This meansClick
that a to
fastedit
change
in errortext
causes
a
strong response from the controller.
Second level
•
•
Third level •
Fourth level •
Fifth level •
11
PID control in Vision
Click to edit Master title style
Functional block.
Many PID loops can be controlled simultaneously.
Click to
edit Master text styles
Fully independent
loops.
Large scale of inputs and outputs.Second level
Integrated in full system logic.
•
•
Third level •
Fourth level •
Fifth level •
12
PID control in Vision
Click to edit Master title style
Advanced control functions:
Click
 Ramp and
soak.to
edit Master text styles
Second
level
 Full step programmer.
Third level
Bumpless control.
Fourth level
 Cascade control.
Fifth level
13
•
•
•
•
•
PID control in Vision
Click to edit Master title style
Configurating FB PID:
With one scan condition (mostly Power up SB2)
Click
to edit
Master
text styles
On subroutine,
which
is always
scanned
(recommended Main routine!)
Second level
•
•
Third level •
Fourth level •
Fifth level •
14
PID parameters
Click to edit Master title style
Let's open configuration block:
Click to edit Master text styles
Second level
Third level
Fourth level
Fifth level
15
•
•
•
•
•
Why Autotune?
Click to edit Master title style
Each system has its own set of P, I, D and St
values.
Click tothese
editparameters
Master text
Finding "manually"
needsstyles
experience and time.
Second level
Autotune learns the system and calculates
Third level
the optimal parameters for it.
•
•
•
Fourth level •
Fifth level •
16
Autotune – how it works?
Click to edit Master title style
Autotune runs ON-Off cycles
According to the "wave" of overshoot, the base
Clickare
tocalculated
edit Master
text styles •
PID parameters
.
Number of cycles 1 ~ 3 is set in Autotune
module.
Second
level •
More cycles – more precise result, but longer process.
Third level •
Fourth level •
Fifth level •
17
Autotune – how it works?
Click to edit Master title style
Click to edit Master text styles
Second level
Third level
Fourth level
Fifth level
18
•
•
•
•
•
FB PID –
Advanced functions
Click to edit Master title style
 Pause Integral and Derivative action
 Read & Force
Error
Clickintegral
to edit
Master
 Read Control components
19
text styles
Second level
Third level
Fourth level
Fifth level
•
•
•
•
•
PID Server
Click to edit Master title style
PID server is ideal tool for understanding, learning
and debug PID process!
Click
to edit Master text styles
You can use
it:
 To view process.
Second level
 To Log it.
 To Autotune it – up op to 8 cycles. Third level
It's part of VisiLogic or independent tool.
•
•
•
Fourth level •
Fifth level •
20
Click to edit Master title style
Click to edit Master text styles
Second level
Third level
Fourth level
Fifth level
UNITRONICS
Thank You
21
/1321
•
•
•
•
•