Processline - Matematica

advertisement
Date: 110502
1.Processline
(matematica_processline_110502.ppt)
The software which makes new
software/function blocks for control
systems. Processline is the tool you need
to design your production site as good as
possible at your desk.
Output from Processline as
standardized code will save time and
errors for You.
copyright (c) 2011 Stefan Rudbäck,
Matematica,+46 708387910,
1
copyright (c) 2011 Stefan Rudbäck,
Processline
example
Matematica,+46
708387910, of MMI/Steam
2
copyright (c) 2011 Stefan Rudbäck,
Processline
example of MMI/
Matematica,+46 708387910,
3
Date: 110502
Ex; With Processline You can:
1.Identify flow calculation errors.
2.Eliminate the errors with better code.
3.Automatic generate the code with a click on
Procesline Kodfabriken/Bigblock Tag
4.Build a ”blindtarm” (dead end) that works
side by side with the old code (if any).
5.Put the new code to work when it’s proven
stable.
Point 1-5 can reduce calculation errors from
sometimes >10 to < 0.01%.
copyright (c) 2011 Stefan Rudbäck,
Matematica,+46 708387910,
4
Input area
spec of flowmeter
copyright (c) 2011 Stefan Rudbäck,
Matematica,+46 708387910,
5
copyright (c) 2011 Stefan Rudbäck,
Matematica,+46 708387910,
6
Generate standardized code with a click
copyright (c) 2011 Stefan Rudbäck,
Matematica,+46 708387910,
7
Date: 110502 3.Generate standardized control system code with
Processline/kodfabriken/Bigblock, exemple GNG.
KODFABRIKEN/Bigblock;Production of standardized
control system code, IEC61131.
1.Calculation error<=0,0% of calculated flow
q_pol_mat_PT
For;10224 <q_pol_mat_PT< 102242
2280,00 <P(kPaA)< 4640,00
30,0000 <T(C)< 40,0000
Scaling; 20 mA from dp-cell= 18.9786 kPa= 20 mA
to control system
Copyright (c) 2009 Matematica,
mail@matematica.se, +46-(0)708-387910
Here follows parameters (In/Out), varibles
(internal) and code for ABB Industrial IT
for ex ControlBuilder
och AC800M.
copyright (c) 2011 Stefan Rudbäck,
8
Matematica,+46 708387910,
Date: 110502 3.Generate standardized control system code with
Processline/kodfabriken/Bigblock, exemple GNG.
Ex; Create a function block flow and then copy
in 3 steps 1.parameters, 2.variables and 3.code
from the report area of Processline with Ctrl-C
and paste it into the ABB function block flow
(mode structured text) with Ctrl-V
copyright (c) 2011 Stefan Rudbäck,
Matematica,+46 708387910,
9
Date: 110502 3.Generate standardized control system code with
Processline/kodfabriken/Bigblock, exemple GNG.
2.Parameters (in and out signals);
P
real
in
22.8000
BarA
T
real
in
40.0000
C
density
real
out
kg/m3
dpcell
real
in
kPa,=signal from
dp-cell, linear or square root calculated
dp_max
real
in
18.9786
kPa=20 mA
dp_rot
bool
in
0
0=linear/1=square
root calculating dp-cell
q_pol_mat_PT
real
out
kg/h,PT
compensated & matematica algorithm calculated
flow,use this signal
copyright (c) 2011 Stefan Rudbäck,
Matematica,+46 708387910,
10
Date: 110502 3.Generate standardized control system code with
Processline/kodfabriken/Bigblock, exemple GNG.
3.Variables (internal signals);
q_pol_mat
real
q_rot_mat
real
fmat
dp
real
real
fdens_mat
kvot
real
PkPa
real
Tmax
real
Tmin
real
Pmax
real
Pmin
real
kompminmax
kompmaxmax
kompminmin
kompmaxmin
kg/h,matematica algorithm
calculated flow, not to be used
kg/h,square root calculated
flow, not to be used
kPa,=calc dp = dpcell at
linear dp-cell
real
real
real
real
real
copyright (c) 2011 Stefan Rudbäck,
Matematica,+46 708387910,
11
Date: 110502 3.Generate standardized control system code with
Processline/kodfabriken/Bigblock, exemple GNG.
4.Code as structured text ST
*)
kompminmin:=1.0;
kompmaxmin:=1.0;
kompminmax:=1.0;
kompmaxmax:=1.0;
PkPa:=P*100.000;
Tmax:=40.0000;
Tmin:=30.0000;
Pmax:=4640.00;
Pmin:=2280.00;
kompminmax:=1.00281;
kompmaxmax:=1.00273;
kompminmin:=0.99747;
kompmaxmin:=0.99730;
copyright (c) 2011 Stefan Rudbäck,
Matematica,+46 708387910,
12
Date: 110502 3.Generate standardized control system code with
Processline/kodfabriken/Bigblock, exemple GNG.
kvot:=(kompminmin*(Tmax-T)*(PmaxPkPa)+kompmaxmin*(T-Tmin)*(PmaxPkPa)+kompminmax*(Tmax-T)*(PkPa-Pmin)
+kompmaxmax*(T-Tmin)*(PkPa-Pmin))
/(Tmax-Tmin)/(Pmax-Pmin);
fdens_mat:=sqrt(PkPa/3460.00*308.150/(T+273.15)*kvot*1.546346);
dp:=dpcell;
if dp_rot then
dp:=dpcell*dpcell/dp_max/dp_max*dp_max;
end_if;
copyright (c) 2011 Stefan Rudbäck,
Matematica,+46 708387910,
13
Date: 110502 3.Generate standardized control system code with
Processline/kodfabriken/Bigblock, exemple GNG.
q_rot_mat:=23469.2*Sqrt(dp);
fmat:=(1-0.34445E12*expt(q_rot_mat,2)*2280.00/(P*100.000))/0.99640
*(1+5.64794/expt(q_rot_mat,0.75))/1.00099;
q_pol_mat:=q_rot_mat*fmat;
q_pol_mat_PT:=q_pol_mat*fdens_mat;
density:=PkPa/3460.00*308.150/(T+273.15)*kvot*28.8451;
copyright (c) 2011 Stefan Rudbäck,
Matematica,+46 708387910,
14
4. Build a ”blindtarm” ”dead end” to be tested
or compared with old code (if exists)
copyright (c) 2011 Stefan Rudbäck,
Matematica,+46 708387910,
15
Date: 110502
At last;
I hope some of my soft or hard
packages can help Your organisation to
better business in the future. Do not
hesitate to contact me for a discussion
of the first step in a future cooperation.
Regards
Stefan Rudbäck, Man dir, civ ing, M Sc
copyright (c) 2011 Stefan Rudbäck,
Matematica,+46 708387910,
16
Contact;
Matematica
Stefan Rudbäck, civ ing
mail@matematica.se
www.matematica.se
+46(0)708387910
skype; stefan.rudback
copyright (c) 2011 Stefan Rudbäck,
Matematica,+46 708387910,
17
Download