CN102636992A - Modeling based on piecewise-linear system of hybrid system theory and control method - Google Patents
Modeling based on piecewise-linear system of hybrid system theory and control method Download PDFInfo
- Publication number
- CN102636992A CN102636992A CN 201210115253 CN201210115253A CN102636992A CN 102636992 A CN102636992 A CN 102636992A CN 201210115253 CN201210115253 CN 201210115253 CN 201210115253 A CN201210115253 A CN 201210115253A CN 102636992 A CN102636992 A CN 102636992A
- Authority
- CN
- China
- Prior art keywords
- linear
- control
- piecewise
- model
- control method
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Feedback Control In General (AREA)
Abstract
The invention discloses a modeling based on a piecewise-linear system of a hybrid system theory and a control method, and belongs to the field of automatic control. All segmented models of the piecewise linear system can be integrated in an uniform frame so as to accurately describe the interaction of a model switch event and a continuous dynamic process, thereby being beneficial to eliminating vibration caused by the model switch; and a linetype performance index is adopted to replace traditional quadratic performance index to forecast controller design, and an OPC (organic photoconductor) client end program independently developed by Matlab is utilized to realize the integration of mixed prediction control algorithm and a DCS (data communication system) control system.
Description
Technical field
The invention belongs to automation field, be used for the modeling of piecewise-linear system and, be specifically related to a kind of modeling and control method based on the theoretical piecewise-linear system of hybrid system based on the PREDICTIVE CONTROL of model.
Background technology
In the Control Theory and Control Engineering field, the problem of people's major concern is the variable of control system how, makes total system can reach certain specific target (like the stability of system, tracking performance of system or the like).Control theory that the scholar in control field proposes and method mostly are to continuous variable dynamic system.In traditional Control System Design, people near the work equilibrium point, set up the inearized model of controlled process usually, and are the system design controller according to linear control theory.When system works during in the equilibrium point working range; The controller of design can keep the better controlling effect; But some controlled process; Because it is bigger etc. former thereby shown very strong nonlinear characteristic to be operated in bigger opereating specification, set point change, also has some systems itself to have nonlinear characteristic, such as the saturation characteristic of system, dead band characteristic or the like.For these complicated nonlinear systems,, usually be similar to actual NLS with piecewise-linear system for the simplification problem.
Multi-model PID control is the modal controller of handling piecewise-linear system.The PID controller generally is made up of ratio (P), integration (I), three parts of differential (D):
K wherein
pMake proportional gain; T
iIt is integral time; T
dIt is derivative time.
Multi-model PID controlling schemes; Its basic thought is that the whole dynamic process with NLS resolves into a series of local linear models; Based on PID controller of each partial model design, design is at last switched or method of weighting constitutes whole control structure then.Multi-model PID control system commonly used is to PID controller of each local linear modelling, according to certain switching law, in each sampling instant, has only a PID controller incision backfeed loop.Because local control all is the PID controller, control structure is identical, so multi-model PID control only need be chosen different pid parameters according to different local linear models.The parameter tuning of PID is chosen parameter k exactly
p, T
iAnd T
dValue, the control performance that system is met the expectation.
The shortcoming of this control method is that controller causes disturbance even concussion when switching probably, because at the switching instant of controller, bigger saltus step may appear in the controlled quentity controlled variable of system.In addition, the problem that controller also exists the chatter phenomenon may occur exactly, promptly unlimited at short notice switch controller.
The hybrid system theory is to analyze and design the new way of the controller of piecewise-linear system.The General Definition of hybrid system is the unified dynamic system that is influenced each other, interacts and formed by continuous variable dynamic system and discrete variable dynamic system.From the angle of hybrid system, piecewise-linear system can be regarded one type of hybrid system as and study.
Summary of the invention
The object of the present invention is to provide a kind of modeling and control method based on hybrid system; Foundation can be more than traditional continuous model the accurate hybrid system model of descriptive system dynamic perfromance comprehensively; Realization avoids the model in the piecewise-linear system control to switch the jitter problem that causes based on hybrid system modelling linear prediction control.
The objective of the invention is to reach through following measure:
(1) according to the priori of controlled system etc., the continuous dynamic part of analytic system, Discrete Dynamic part and interaction between the two.To the continuous dynamic part of system, the available traditional difference equation or the differential equation are set up its model; Need simultaneously understanding system continuously dynamically between, continuously and between the Discrete Dynamic and the various logic of Discrete Dynamic self relation.
(2) various simple and all logical relations that the combination of sentences is come descriptive system of definition.According to the transformational relation of equal value of propositional logic and MIXED INTEGER inequality, obtain one group of MIXED INTEGER linear inequality.
(3) on the model basis of the continuous dynamic part of descriptive system, introduce logical variable and auxiliary variable, and be converted into linear discrete state equation form, the MIXED INTEGER inequality constrain of the various constraints of spare system and propositional logic conversion simultaneously.Obtain the mixed logic dynamic model:
x(k+1)=Ax(k)+B
1u(k)+B
2δ(k)+B
3z(k)
y(k)=Cx(k)+D
1u(k)+D
2δ(k)+D
3z(k)
E
2δ(k)+E
3z(k)≤E
1u(k)+E
4x(k)+E
5
(4) adopt the line style performance index to replace traditional secondary type performance index to carry out the predictive controller design, be based on the PREDICTIVE CONTROL problem of the performance index of ∞ norm form:
(5) the OPC client-side program through exploitation obtains the industry spot data in real time, simultaneously the current time optimal control value that calculates is applied to field control.
The invention has the beneficial effects as follows:
Compare with traditional multi-model PID control; Utilize hybrid system theoretical modeling and control method; Can all segmented models of system be integrated in the united frame; Accurate description model handover event and the interaction of dynamic process continuously help eliminating the vibration that causes when model switches; Based on the PREDICTIVE CONTROL of hybrid system model, can handle the control problem of the system that contains a large amount of constraint conditions, what make system reaches COMPREHENSIVE OPTIMAL with discrete control continuously.
Description of drawings
Fig. 1 is the PREDICTIVE CONTROL schematic diagram.
Fig. 2 is a water tank embodiment control system structure.
Fig. 3 is independently developed OPC client-side program thought process flow diagram.
Embodiment
To combine accompanying drawing that the present invention is done further explain below.
A kind of modeling and control method of the present invention based on hybrid system, its modeling process is following:
The general expression formula of piecewise linear model is:
Set up the mixed logic dynamic model of hybrid system; At first to set up propositional logic, then propositional logic is converted into the integer linear inequality through certain rule dynamic law, operational constraints, operating experience and the priori etc. that exist in the controlled device.Define symbol S representes a proposition, introduce bigit variable δ ∈ 1,0}, corresponding expression proposition S's is true and false, i.e. δ=1 during S=T, δ during S=F=0.Basic transformational relation between propositional logic and the MIXED INTEGER inequality is seen table 1.
Relation of equivalence between table 1 propositional logic and the MIXED INTEGER inequality
Introduce the auxiliary logic variable, δ
i(k) ∈ 0,1}, i=1 ..., n, order
Then can be converted to
ε+(m
i-ε)δ
i(t)≤G
ix(k)+R
iu(k)-T
i≤M
i(1-δ
i(k))
Wherein
The model of system can be written as
Introduce auxiliary continuous variable
Then the model of system can further be written as
The auxiliary continuous variable Z of conversion
XiWith auxiliary logic variable δ
iRelation, can obtain the MIXED INTEGER inequality and be:
Similar, Z
YiAnd δ
iRelation can be expressed as:
Two groups of inequation groups are attached to the linear equation back as constraint condition, have so just formed the MLD model of system.
Above modeling process be under the condition of the mechanism model of known system, system is obtained the linear model set at the nonlinear equation of the equilibrium point linearized system of different subspace, and then converts the MLD model to.If the mechanism model of system is unknown, equally after system decomposition is different subspace, obtain each partial model according to the inputoutput data identification of different subspace, again all mode sets are become the MLD model.
Referring to Fig. 1, PREDICTIVE CONTROL is a kind of control algolithm that combines forecast model, rolling optimization and feedback compensation in one.If the PREDICTIVE CONTROL problem based on the performance index of ∞ norm form is:
If t is a current time, x (t) is the state variable value of current time, and then when t=0, x (t) is the original state of system.Make
and be illustrated in following k the optimum control sequence constantly that the t time optimization obtains; X (k|t) is illustrated in t constantly; Under the condition of given system state x (t) and
, based on the forecast model of system to the t+k prediction of system state constantly; The meaning of δ (k|t), z (k|t), y (k|t) is similar.
Based on the forecast model of MLD form, t+k state expression formula constantly does
Can directly obtain t+k output variable constantly does
y(k|t)=Cx(k|t)+D
1u(k|t)+D
2δ(k|t)+D
3z(k|t)
Be output as y (t) in t actual measurement constantly, corresponding prediction is output as
Adopt fixedly forecast model, the method for compensation prediction deviation is feedback compensation just.According to the deviation between current time actual output y (t) and the prediction output
; Following k the predicted value constantly of system carried out feedback compensation, promptly
The definition vector
To k=0,1 ..., T-1, each element satisfies following relationship
Be equivalent to
Wherein 1
hExpression length is the column vector of h, and all elements all is 1.Definition
Then forecasting problem can be write as MILP (Mixed Integer Linear Programming, MILP) problem
Find the solution this MILP problem, just can obtain t T optimum control sequence constantly
According to the rolling optimization principle, only get t control input constantly, ignore other control actions
At k=k+1 constantly, repeat above step, just can realize MLD Model Predictive Control based on the line style performance index.
Referring to Fig. 2, embodiment explains embodiment with water tank.CS4000 type process control device and JX-300X control system platform based on middle control have made up the high water tank control system.The target of control system is that the liquid level of lower header remains on expectation value.
Controlled device is made up of the organic glass water tank of two identical sizes, puts into a cylindrical objects in the upper water box.When the liquid level of upper water box during above and below cylindrical objects, the liquid level dynamic perfromance of water tank is obviously different, has the characteristic of discrete event.According to experimental data, the piecewise linear model of cistern system does
h
2(k+1)=0.009h
1(k)+0.991h
2(k)
Introduce auxiliary logic variable δ, definition
Introduce auxiliary continuous variable z
1, z
2, definition
if?δ?then?z
1=0.991h
1-0.001
else?z
1=0.988h
1-0.002
if?δ?then?z
2=8.6×10
-6u
else?z
2=1.2×10
-4u
Then system model can be described as
h
1(k+1)=z
1(k)+z
2(k)
h
2(k+1)=0.009h
1(k)+0.991h
2(k)
Simultaneity factor need satisfy constraint 0≤h
i≤0.3,0≤u≤100
If x=is [h
1h
2] ', z=[z
1z
2The MLD model that] ', can get water tank is (omission inequality constrain):
y(k)=[0?1]x(k)
Adopt the PREDICTIVE CONTROL of line style index,, make the liquid level of lower header remain on expectation value through variable valve control.Performance index are:
The OPC client-side program of Matlab exploitation, the data of opc server are obtained in its effect in real time, realize mixing predictive control algorithm, and controlling value is write corresponding item.Data messages such as on-the-spot like this liquid level, flow just can be real-time transmitted to the monitoring PC based on the communication network of JX-300X, are read by independently developed client-side program through the OPC communication again; Simultaneously, the current time optimal control value of OPC client-side program calculating is applied to field control through same paths.
Fig. 3 is the process flow diagram of OPC client-side program thought.In the program there be main function:
Da=opcda (' localhost ', ' SUPCON.AdvOPCServer.1 '); % sets up object model to opc server
Connect (da); % is connected to server
Grp=addgroup (da, ' ExOPC '); % increase group
Itm1=additem (grp, ' LI_001 '); % increases an itm1, corresponding lower header liquid level item
Itm2=additem (grp, ' LI_002 '); % increases an itm2, corresponding upper water box liquid level item
Itm3=additem (grp, ' mv_opc '); % increases an itm3, corresponding control item
Disconnect (da); % breaks off OPC and connects
Delete (da); % deletion OPC DAO
V=read (itm1, ' device '); Read the itm1 data structure
H=v.Value; % reads the value of itm1, i.e. level value
Write (itm3,100); % writes data 100 in itm3, i.e. input control value is 100
The gui program that Matlab is write is compiled as executable file (.exe), in object computer hollow Matlab software can be installed like this, only needs installing M CRInstall.exe.On target machine, just can directly move independently application program.
Claims (3)
1. modeling and control method based on the theoretical piecewise-linear system of hybrid system, it is characterized in that: described modeling and control method may further comprise the steps:
(1) according to the priori of controlled system, the continuous dynamic part of analytic system, Discrete Dynamic part and interaction between the two.To the continuous dynamic part of system, set up its model with the traditional difference equation or the differential equation; Simultaneously understanding system continuously dynamically between, continuously and between the Discrete Dynamic and the various logic of Discrete Dynamic self relation;
(2) various simple and all logical relations that the combination of sentences is come descriptive system of definition.According to the transformational relation of equal value of propositional logic and MIXED INTEGER inequality, obtain one group of MIXED INTEGER linear inequality;
(3) on the model basis of the continuous dynamic part of descriptive system, introduce logical variable and auxiliary variable, and be converted into linear discrete state equation form, the MIXED INTEGER inequality constrain of the various constraints of spare system and propositional logic conversion simultaneously.
2. a kind of modeling and control method according to claim 1 based on dark assorted systemtheoretical piecewise-linear system, it is characterized in that: described modeling and control method are further comprising the steps of:
(1) forecast model is the hybrid system model according to the mixed logic dynamic-form of the said foundation of claim 1;
(2) optimization problem adopts the linear properties index based on ∞ norm form; Obtain the optimum control sequence through finding the solution MILP (MILP) problem; According to the rolling optimization principle, only get current time control input value, the online then process that is optimized repeatedly;
(3) method of feedback compensation is the actual output of computing system and the deviation between the prediction output, and following prediction compensates to system then.
3. a kind of modeling and control method according to claim 1 based on dark assorted systemtheoretical piecewise-linear system; It is characterized in that: use Matlab to develop independently 0PC client-side program; Obtain the industry spot data of the opc server that DCS provides in real time; Realization mixes predictive control algorithm, and controlling value is write corresponding item.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201210115253 CN102636992A (en) | 2012-04-19 | 2012-04-19 | Modeling based on piecewise-linear system of hybrid system theory and control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201210115253 CN102636992A (en) | 2012-04-19 | 2012-04-19 | Modeling based on piecewise-linear system of hybrid system theory and control method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102636992A true CN102636992A (en) | 2012-08-15 |
Family
ID=46621411
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201210115253 Pending CN102636992A (en) | 2012-04-19 | 2012-04-19 | Modeling based on piecewise-linear system of hybrid system theory and control method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102636992A (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103218497A (en) * | 2013-04-24 | 2013-07-24 | 南京大学 | Dynamical system on line incremental quick verification system based on increment linear programming and method thereof |
CN104238363A (en) * | 2014-09-23 | 2014-12-24 | 江南大学 | Transient state performance control method of multi-mode hybrid system |
CN104750127A (en) * | 2013-12-31 | 2015-07-01 | 南京理工大学常熟研究院有限公司 | Control method for four-holding water tank system |
CN104915543A (en) * | 2014-02-05 | 2015-09-16 | 罗伯特·博世有限公司 | Method of modeling for dead time response |
CN104914850A (en) * | 2015-05-20 | 2015-09-16 | 浙江大学 | Industrial process fault diagnosis method based on switching linear dynamic system model |
CN104950670A (en) * | 2015-06-10 | 2015-09-30 | 浙江大学 | Integrated multi-model method for controlling CSTRs (continuous stirred tank reactors) |
CN104238363B (en) * | 2014-09-23 | 2017-01-04 | 江南大学 | The transient performance control method of multi-modal hybrid system |
CN106959609A (en) * | 2017-03-30 | 2017-07-18 | 南京航空航天大学 | Based on the most credible method of estimation of aircraft accident sequence of events for mixing PREDICTIVE CONTROL |
CN109212977A (en) * | 2018-11-20 | 2019-01-15 | 常州大学 | A kind of mixed control method based on Petri network |
CN112379270A (en) * | 2020-11-13 | 2021-02-19 | 哈尔滨工业大学 | Electric vehicle power battery state of charge rolling time domain estimation method |
CN115395863A (en) * | 2022-10-28 | 2022-11-25 | 南京工程学院 | Active magnetic bearing control method based on hybrid system theory |
-
2012
- 2012-04-19 CN CN 201210115253 patent/CN102636992A/en active Pending
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103218497A (en) * | 2013-04-24 | 2013-07-24 | 南京大学 | Dynamical system on line incremental quick verification system based on increment linear programming and method thereof |
CN103218497B (en) * | 2013-04-24 | 2016-03-02 | 南京大学 | Dynamic system based on increment linear programming online increment type fast verification system and method |
CN104750127A (en) * | 2013-12-31 | 2015-07-01 | 南京理工大学常熟研究院有限公司 | Control method for four-holding water tank system |
CN104915543A (en) * | 2014-02-05 | 2015-09-16 | 罗伯特·博世有限公司 | Method of modeling for dead time response |
CN104915543B (en) * | 2014-02-05 | 2019-05-31 | 罗伯特·博世有限公司 | Method for being modeled to dead time characteristic |
CN104238363A (en) * | 2014-09-23 | 2014-12-24 | 江南大学 | Transient state performance control method of multi-mode hybrid system |
CN104238363B (en) * | 2014-09-23 | 2017-01-04 | 江南大学 | The transient performance control method of multi-modal hybrid system |
CN104914850A (en) * | 2015-05-20 | 2015-09-16 | 浙江大学 | Industrial process fault diagnosis method based on switching linear dynamic system model |
CN104950670B (en) * | 2015-06-10 | 2017-06-23 | 浙江大学 | A kind of integrated Multiple Model Control Method of CSTR |
CN104950670A (en) * | 2015-06-10 | 2015-09-30 | 浙江大学 | Integrated multi-model method for controlling CSTRs (continuous stirred tank reactors) |
CN106959609A (en) * | 2017-03-30 | 2017-07-18 | 南京航空航天大学 | Based on the most credible method of estimation of aircraft accident sequence of events for mixing PREDICTIVE CONTROL |
CN109212977A (en) * | 2018-11-20 | 2019-01-15 | 常州大学 | A kind of mixed control method based on Petri network |
CN109212977B (en) * | 2018-11-20 | 2021-02-26 | 常州大学 | Petri net-based hybrid control method |
CN112379270A (en) * | 2020-11-13 | 2021-02-19 | 哈尔滨工业大学 | Electric vehicle power battery state of charge rolling time domain estimation method |
CN112379270B (en) * | 2020-11-13 | 2024-01-30 | 哈尔滨工业大学 | Rolling time domain estimation method for state of charge of power battery of electric automobile |
CN115395863A (en) * | 2022-10-28 | 2022-11-25 | 南京工程学院 | Active magnetic bearing control method based on hybrid system theory |
CN115395863B (en) * | 2022-10-28 | 2023-01-31 | 南京工程学院 | Active magnetic bearing control method based on hybrid system theory |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102636992A (en) | Modeling based on piecewise-linear system of hybrid system theory and control method | |
Wu et al. | Hierarchical optimization of boiler–turbine unit using fuzzy stable model predictive control | |
Keshavarz et al. | Piecewise affine modeling and control of a boiler–turbine unit | |
Torregrossa et al. | Optimization models to save energy and enlarge the operational life of water pumping systems | |
Hu et al. | T–S fuzzy-model-based robust stabilization for a class of nonlinear discrete-time networked control systems | |
Zhou et al. | RBF-ARX model-based MPC strategies with application to a water tank system | |
Lin et al. | Perturbation-based regret analysis of predictive control in linear time varying systems | |
CN103123460A (en) | Temperature control system and temperature control method | |
Feng et al. | Nonlinear model predictive control based on support vector machine and genetic algorithm | |
Ramdani et al. | Dynamic matrix control and generalized predictive control, comparison study with IMC-PID | |
Luan et al. | Finite-time stabilization of stochastic systems with partially known transition probabilities | |
Rocha et al. | Partitioning for distributed model predictive control of nonlinear processes | |
Zhou et al. | A RBF-ARX model-based robust MPC for tracking control without steady state knowledge | |
CN105676645A (en) | Double-loop water tank liquid level prediction control method based on function type weight RBF-ARX model | |
Jiang et al. | A traverse algorithm approach to stochastic stability analysis of Markovian jump systems with unknown and uncertain transition rates | |
CN104750127A (en) | Control method for four-holding water tank system | |
Pang et al. | A steady-state target calculation method based on “point” model for integrating processes | |
Campos et al. | PD+ I Fuzzy Controller optimized by PSO applied to a variable dead time process | |
Bafandeh et al. | A comparative assessment of hierarchical control structures for spatiotemporally-varying systems, with application to airborne wind energy | |
Chamon et al. | Resilient control: Compromising to adapt | |
Márquez-Rubio et al. | Control of delayed recycling systems with unstable first order forward loop | |
Godoy et al. | Economic performance assessment and monitoring in LP-DMC type controller applications | |
Davies et al. | Robust guaranteed cost control for a nonlinear neutral system with infinite delay | |
Yin et al. | Dual backstepping variable structure switching control of bounded uncertain nonlinear system | |
Olivier | On lights-out process control in the minerals processing industry |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20120815 |