원시데이터 수집 시스템
선정목록으로

Observer Design for a Bilinear Model of a Continuous Countercurrent ION Exchange Process

간접 관련 수소연료전지 · (7) MEA(막전극접합체) (5) 연료전지용 수분제어장치(가습기)(6) PEM(고분자전해질막)

기본 정보

저자
  1. Nozizwe Dube
  2. Raynitchka Tzoneva
DOI
10.23919/saiee.2016.8532256
저널
SAIEE Africa Research Journal
발행년도
2016
발행기관
Institute of Electrical and Electronics Engineers
피인용수
0
라이선스
other-oa
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.23919/saiee.2016.8532256
토픽
Membrane Separation Technologies
OpenAlex ID
W2904863280

평가 내용

관련도
간접 관련
사업분야
수소연료전지 · (7) MEA(막전극접합체)
부 분야
(5) 연료전지용 수분제어장치(가습기), (6) PEM(고분자전해질막)
R&D 측면
분석·모델링
확신도
0.70
근거 용어
ion exchange, bilinear model, state estimation, observer design, desalination
판단 근거
논문은 수처리용 연속 역류 이온 교환(CCIX) 공정의 상태 추정을 위한 수학적 모델링과 관측기(Observer) 설계를 다루고 있습니다. 이는 코오롱인더스트리의 수소연료전지(PEMFC)용 이온 교환막 및 관련 공정 제어 원리와 학술적으로 연결될 수 있습니다.
R&D 활용 포인트
이온 교환 공정의 동적 모델링 및 상태 추정 알고리즘을 연료전지용 이온 교환막(PEM)의 성능 모니터링이나 제조 공정 제어 시스템 최적화에 응용할 수 있습니다.
평가 입력
본문 89,903자 중 30,032자 발췌

초록

The paper describes a method and proposes an algorithm for a bilinear observer design as part of a state estimation solution for a Continuous Countercurrent Ion Exchange (CCIX) process used for desalination of water. The aim of the design is to determine immeasurable process state variables using real CCIX measurement data obtained from a different study. The solution requires determination of the observer gain matrix and it is formulated on the basis of the pole placement method. The contribution of the paper is in the developed bilinear dynamic models of the process and the observer and in the extending of the pole placement method for the special matrices of the bilinear observer. An analytical procedure is developed and implemented for calculation of the characteristic equation of the observer as part of calculation of the observer gain matrix. Matlab and SIMULINK software programs for determining the estimated states are developed. Investigation of the performance of the bilinear observer and the closed loop system under various constant values of the control input and different state initial conditions is performed. The results are presented and discussed.

본문 89,903자

본문 펼치기
OBSERVER DESIGN FOR A BILINEAR MODEL OF A CONTINUOUS COUNTERCURRENT ION EXCHANGE PROCESS. N.M. Dube* and R.T. Tzoneva** _* Dept. of Electrical Engineering (Bellville), Cape Peninsula University of Technology, Robert_ _Sobukwe_ _Rd/Symphony_ _Way,_ _Bellville,_ _Western_ _Cape,_ _7535,_ _South_ _Africa,_ _email:_ _duben@webmail.co.za_ _** Dept. of Electrical Engineering (Belllville), Cape Peninsula University of Technology, Robert_ _Sobukwe_ _Rd/Symphony_ _Way,_ _Bellville,_ _Western_ _Cape,_ _7535,_ _South_ _Africa,_ _email:_ _tzonevar@cput.ac.za_ Abstract : The paper describes a method and proposes an algorithm for a bilinear observer design as part of a state estimation solution for a Continuous Countercurrent Ion Exchange (CCIX) process used for desalination of water. The aim of the design is to determine immeasurable process state variables using real CCIX measurement data obtained from a different study. The solution requires determination of the observer gain matrix and it is formulated on the basis of the pole placement method. The contribution of the paper is in the developed bilinear dynamic models of the process and the observer and in the extending of the pole placement method for the special matrices of the bilinear observer. An analytical procedure is developed and implemented for calculation of the characteristic equation of the observer as part of calculation of the observer gain matrix. Matlab and SIMULINK software programs for determining the estimated states are developed. Investigation of the performance of the bilinear observer and the closed loop system under various constant values of the control input and different state initial conditions is performed. The results are presented and discussed. Key words: linear systems, nonlinear systems, state estimation, observer design, bilinear model, ion exchange, pole placement. 1. INTRODUCTION AND BACKGROUND A bilinear model of a Continuous Countercurrent Ion Exchange (CCIX) process described in [1–3] has been developed with the overall objective to be applicable to optimal control design of the process [4, 5]. Generally, in developing a model, more especially for the purpose of monitoring and optimal control of a process based on feedback controller design [6], some components of the process state are not known, and or cannot be measured directly from the process due to a lack of a suitable sensor or due to the nature of the plant [6–11]. This necessitates the need for developing a method for determining such states before application of the designed optimal control of the process [12]. [13] suggests that the state estimation problem in bilinear systems is a very important part of designing controllers in these systems. [14] considered the feedback property of the observer. [15] state that a lot of ground was covered in design of observers in determining the importance of observers in feedback control. In designing the observer, generally, two conditions must be met, 1) minimization of the error difference between the model states and the observer estimated states, and 2) keeping error dynamics and its rate at zero or close to zero under changing input or state variables [6, 7]. The observer methods for design can be divided into two main approaches: 1) for linear or 2) nonlinear systems. Unfortunately, a linear state observer is not adequate to reconstruct states of a nonlinear system and this suggests the need for the design of nonlinear observers [6, 13, 16]. Unlike in the linear case [9, 12, 16– 20], where the error dynamics are known to be independent of the input signal and the present value of the state; in the nonlinear or bilinear case, the error dynamics are not totally independent of the input signal and the state due to the bilinear dependence between these two variables [6, 13, 20]. With a lot of work in the (1980s) based on physical systems, which are mainly nonlinear or bilinear, the result was a lot of effort directed on linearization of the nonlinear systems [12, 16, 21, 22]. Different observer types are considered in [23]. [12, 21, 24] suggest that the common approach to solving observer design problem for nonlinear systems is to extend the linear _Luenberger_ _observer_, the linear _Kalman filter_ design approach or the _pseudo-linearization_ techniques to the nonlinear systems. According to [23] these techniques are also valid only for small ranges around the operating point; and if applied in real time applications, they have an extensive computational requirement. A number of authors considered the nonlinear systems to be of _Lipschitz type_ in designing their nonlinear observers [16, 23, 25, 26]. [23] gives the full description of the local and global Lipschitz systems. According to [8, 27, 28] research in nonlinear state observer design resulted in the following techniques, by which the above mentioned solutions can be categorized under: _extended linearization_, _feedback_ _linearization_, _variable structure_, _high-gain_ _observer_ _design_, _extended Kalman filter_ and its family, _Lyapunov-_ _based_ techniques and state-dependent Riccati equation– based techniques. According to [13, 29] bilinear systems can be considered as a special class of nonlinear systems, and can also be considered good approximations to the nonlinear systems. Bilinear systems appear naturally as models for physical systems. [13] describes the bilinear systems as a special class of nonlinear systems where the control input appears both additive and multiplicative in the system model. [13, 29, 30] suggest that bilinear systems occur frequently in chemical processes and fault detection processes (dynamics). [21] further suggests that there are a number of reasons for studying bilinear systems, as a class of the nonlinear systems, such as, 1) these systems closely resemble linear systems (which already has a well-developed theory), 2) bilinear systems arise in variety in many physical and practically implementable processes [13, 16]. A lot of work on observer design for bilinear systems (models) appears in the literature [6, 7, 29–34]. In the mid 1970’s work on the design of bilinear observers started appearing in the literature and this attracted a lot of interest towards the end of the 1970’s to the early 1980’s. During this period a lot of significant successes and milestones were reached in estimating unknown state variables for bilinear systems [15, 29, 32– 34, 35]. [13, 20] proposed an observer for nonlinear systems where the estimation error decays to zero irrespective of the input. These authors further gave an analysis of observability of nonlinear systems in comparison to that of linear ones. A number of authors propose the design of asymptotic observers [11, 12, 20]. [11] presented the problem of obtaining an asymptotic estimate of the state of a bilinear system given input and output measurements. [20] proposed an asymptotic observer that is capable of estimating state variables for all initialization of the observer. The initialization of the observer plays an important part in bioprocesses since initial conditions are not measured. Many authors considered stability, observability and controllability and associated necessary conditions for the existence of these properties in their design of observers, including analysis of observability of nonlinear systems [12, 13, 36]. [11, 12] generated necessary and sufficient conditions for the observability of a general system of bilinear and nonlinear equations. [14] discussed reducibility of a bilinear system to a canonical controllability form as a criterion for uniform for observability. [37] generated sufficient conditions for the existence of a stable observer. [12] considered necessary and sufficient conditions for the existence of a special observable form. [8, 30] work showed that the use of Lyapunov framework facilitates and proves asymptotic stabilization of observation errors. [23] gave a procedure for obtaining the observer gain such that there is _quadratic stabilization_ of the error dynamics based on condition of existence of a certain Lyapunov function. [10] presented a design of an exponential observer based on Lyapunov method. [8, 30, 34] consider the Lyapunov stabilization procedure and convergence conditions in the observer design. The work of [10, 28, 31] includes solving a Lyapunov equation in determining the state estimator. [20] proved convergence of their design using classical Lyapunov functions. [38] proposed an stable observer design based on Lyapunov stability for bilinear systems. This work considers a state observer with the error that may depend on the system input signal. The pole placement method is often used to design the state observer matrix [39–42]. It is applicable in the cases of the discrete time implementation of the controller and the state observer of the closed loop system. This approach is applied to various processes in the industry, but till now it has not been applied to the case of the countercurrent ion exchange process. This process, due to the nature of construction of its columns allows measurement only of the output variable and of the input disturbance. All states are not measurable and the proper control of the process requires corresponding state observer equations. There is no described algorithm for design on an observer for the countercurrent ion exchange process till now in the existing literature. This problem of design of the gain matrix of a bilinear observer is considered in the paper. The aim of the paper is to develop a method and an algorithm of designing an observer for a bilinear system for the case of the Continuous Countercurrent Ion Exchange (CCIX) process – to estimate the unknown states of the system that cannot be directly measured from the CCIX plant. The paper presents an observer design which is an extension of a Luenberger-type observer for bilinear systems. The observer design method developed proposes a solution where the disturbance is assumed constant for a long period of time. The input signal _stays_ _constant throughout the operational sampling period_ in some constrained region. This is a more realistic approach since it is a true reflection of the plant’s behaviour. The solution of the problem is developed using _pole placement stability_ requirement of the characteristic equation of the observer. The special structure of the state space matrices of the process model makes the derivation of the calculation algorithm of the pole placement method very difficult. The paper proposes an extension of the existing algorithm based on the analytical derivation of the characteristic equation of the bilinear state observes. Further, the behaviour of the state observer and of the process closed loop system dynamics are investigated for various values of the control input and of the initial states of the observer. The observer matrix is calculated with data acquired from an existing counter current Ion Exchange process. The simulation results given here are for a constant input signal over the full plant trajectory. Though assumed constant over the process trajectory, different input signal values have been considered and are presented in the result section of the paper. The contributions of the paper are as follows: 1) Development of a pole placement method and algorithm for the design of the matrix of a bilinear observer of the ion exchange states in the case of constant values of the input control signal using the observer characteristic equation stability analysis and the pole placement based approach. 2) Mathematical derivation of the characteristic equation of the observer and the process for the higher dimensional case and special structure of the Ion Exchange process. 3) Development of Matlab/Simulink software for use of the data from the ion exchange process for the design of the observer matrix and the simulation of the system closed loop consisting of a controller, the observer, and the process model. 4) The behavior of the observer and its convergence towards the process model states are investigated for various values of the constant control input and various initial conditions of the estimated states. 5) The behavior of the closed loop system is investigated for various values of the constant control input and various initial conditions of the estimated state. The significance of the developments described in the paper is the transformation of the ion exchange process in a dynamic state space bilinear model, formulation of the Luenberg type of a state observer, its design through the extension of the pole placement method and the verification of the design by simulation, which is novel in the existing literature. There are no publications which consider the dynamic behavior of the ion exchange process and the connected to it state observers. The paper is organized as follows: in Section 2, the continuous countercurrent ion exchange (CCIX) process is described. Section 3 covers the model development of a bilinear multistage CCIX process based on component balances in the process column stages, and the formulation of the state estimation problem is discussed. In Section 4, the design of the proposed observer is presented. Section 5 presents the pole placement procedure applied to solve the stability problem for the unknown observer matrix, and in turn find the matrix entries using the observer characteristic equation. In Section 6 software for the observer design and simulation is presented. In Section 7, the observer design data are presented and the application of the data in the design of the observer is illustrated. Further, simulation results are given to demonstrate the effectiveness of the design; and this is followed by the conclusion section. 2. PROCESS DESCRIPTION According to [43] an ion exchange process is a reversible chemical process where ions with similar polarities are exchanged between solids and an electrolyte solution if the two are contacted. The interaction of the ions happens at different levels, there is ion exchange in the solid phase to the liquid phase and also diffusion of ions within the solid phase [44–46]. The ion exchange process is a very convenient chemical process for wastewater desalination [1, 2, 5]. In water desalination application, ion exchange resins form the solid phase, and water being treated forms the liquid phase. Resins are charged beads of micrometers in diameters that are coated with replacement ions _H_ + (hydrogen ions) or _OH_ - (hydroxide ions) depending on their ionic form (cation or anion). Hydrogen ions are used in the cation resins and hydroxide ions are used in the anion resins. In the cation phase the _H_ + ions will exchange with _Na_ (sodium) ions from sodium chloride ( _NaCl_ ) in the water being processed. During the anion phase the _Cl_ - (chloride) ions exchange with _OH_ - ions from the acidic output stream from the cation phase (Figure 1). Figure 1 also shows the pilot plant as built in the Chemical Engineering Department of Cape Peninsula University of Technology [1, 2, 4, 5]. The basic ion exchange countercurrent configuration consists of four columns, two for each phase of the process. The system has a cation load column and a cation regeneration column for the cation phase, and an anion load column and an anion regeneration column for the anion phase. The columns operate in a multistage fashion with primary and secondary cycles. During the cation load primary cycle, _NaCl_ is extracted from feed water, resulting in an acidic output stream; and during the primary cycle of the anion load, this acidic stream from the cation load column is split to produce product water. The secondary columns are for regeneration of partially exhausted resins back to their refreshed form using either an acid solution or a base solution for each phase respectively. This is one of the greatest advantages of the ion exchange process; resins are reusable for a number of years, depending on their type [1, 3, 4, 43,44, 46]. The considered ion exchange process is a _countercurrent_ _process with the solid and liquid phases flowing in_ opposite directions. The exchange is said to be countercurrent in that the moving resin bed and liquid move in opposite directions. The resins are in a packed bed form and they move from column to column in a cyclic form. This cyclic operation has three distinct periods for each of the two main cycles mentioned above in each phase, the primary and secondary cycles. Each cycle has three periodic flows for moving liquid streams and moving resin beds, 1) an _up-flow period_, 2) _the settle time_ and 3) the _pulldown period_ . During the primary cycle of the cation phase, liquid to be treated is pumped up the load column through a packed bed of resin to fluidize the resin beds held by each stage of the column and this is referred to as an _up-flow period_ . After a certain predetermined period, resin beds are allowed to settle by stopping the up-flow stream. This is known as the settle time. And then finally, the resin bed at the bottom stage is pulled out to prepare it for regeneration; this period is referred to as _pulldown period_ . Before pulldown can be initiated there must be enough resins to fill up a stage in the top holding vessels (Figure 1). During the secondary cycles of the regeneration columns, resin beds of specific amounts are intermittently moved from the top stage of the regeneration column down to the bottom stage in a controlled fashion [1, 2, 4, 46]. 3. MODEL DEVELOPMENT AND PROBLEM FORMULATION In the considered countercurrent ion exchange process the change in concentration of the feed flow at the first stage of the column is considered a disturbance to the system, and it needs to be modelled accordingly. The process is run under a global aim of the optimization. The optimization strategy of the process is to ensure that for a given desalination level, maximum purified water output is obtained with the minimum usage of the regenerant chemicals [1, 2, 3, 44, 46]. V16 <u>L2</u> <u>L4</u> V17 _FR_ ( _t_ ) = the moving resin bed flow rate in the cation load column, considered as a control input, _T_ ( _t_ ) = the upflow period for the cation load column, _h_ = the resin holdups and _d_ = the liquid-resin fractional balance constant defining the fraction of the resin hold up which is moved from one stage to another and _d_ = 2 / 3 The observed column behavior requires the developed mathematical process model to predict liquid and resin composition in each stage for every process cycle. The model design is developed on the basis of the steady state balance between the principal operating parameters of the ion exchange, the liquid flow rate _FL_ ( _t_ ) and the resin flow rate _FR_ ( _t_ ) . Up-flow cycle time _T_ ( _t_ ) determines the control action for the plant [1, 2, 4, 5], as given by equation (1). There are some models developed in the literature for the same process [44–46], however, these models are very complex and could not be used for the purposes of optimization and real-time control based on the intended overall control strategy. These models are more suitable for chemical engineering or analytical chemistry type analysis. The process model in the paper is developed for the purpose of control, and calculations in the model derivation are based on equilibrium and kinetic data, resin and liquid flow rates. _u_ ( _t_ ) = the control input to the process, The observed column behavior requires the developed mathematical process model to predict liquid and resin composition in each stage for every process cycle. The model design is developed on the basis of the steady state balance between the principal operating parameters of the ion exchange, the liquid flow rate _FL_ ( _t_ ) and the resin Spent Regenerant Regenerant V15 V14 <u>8</u> 7 <u>6</u> <u>5</u> 4 3 <u>2</u> <u>1</u> Carbonation <u>Columns</u> V19 <u>V5</u> Product V18 pH K V6 V3 L ~~<u>1</u>~~ <u>L3</u> Carbonation V4 V1 V2 <u>8</u> <u>7</u> <u>6</u> 5 4 3 <u>2</u> <u>1</u> V10 V11 V8 <u>V13</u> No <u>V9</u> <u>V12</u> Liquid flow out of stage _n_ _xa_, _n_ ( _t_ ) ⋅ _FL_, _n_ ( _t_ ) Resin flow into stage _n_ _xb_ ′, _n_ +1( _t_ ) ⋅ _FR_, _n_ +1( _t_ ) Liquid flow into stage _n_ stage _n_ ( _Hn_ ( _t_ ) _, hn_ ( _t_ )) _xa_, _n_ −1( _t_ ) ⋅ _FL_, _n_ −1( _t_ ) _xb_ ′, _n_ ( _t_ ) ⋅ _FR_, _n_ ( _t_ ) Resin flow out of stage _n_ From waste feed tank Rotameters single stage of a multistage column of a CCIX V7 ~~<u>Rinse water</u>~~ ~~Regenaration feed~~ Figure 2: Countercurrent flows of liquid and resin in a Figure 1: Continuous countercurrent ion exchange process (CCIX) process as built at Chemical Engineering Department of Cape Peninsula University of Technology Technically, this aim can be formulated as an optimization problem using concentration of salt in the product water as a process output and the resin flow rate into the column as the control action for the process on the basis of the steady state balance [4, 5]: These calculations are performed from the bottom to the top column stages, as the changes in the lower stage(s) states affect the following upper stage(s) states. Model equations are developed on the basis of the input and output rates of the mass balances for every process stage, Figure 2, based on the following assumptions [1, 2, 44]: (1) there is equal volume and amount of liquid and resin holdups just before the resin transfer from one stage to the other, (2) there is perfectly mixed fluidized phase in each stage and no back mixing occurs, (3) the process is in a steady state (electro-neutrality is maintained), and (4) a linear equilibrium exists between the liquid and resin phases. In Figure 2, _xa_, _n_ ( _t_ ) is the mole fraction of sodium ( _Na_ ) in the liquid phase _FL_, _n_ ( _t_ ), _x_ ' _b_, _n_ ( _t_ ) is the _<u>hd</u>_ _u_ ( _t_ ) = _FR_ ( _t_ ) = _<u>T</u>_ <u>(</u> _<u>t</u>_ <u>)</u> (1) _<u>hd</u>_ ( _t_ ) = _FR_ ( _t_ ) = _<u>T</u>_ <u>(</u> _<u>t</u>_ <u>)</u> Where mole fraction of _Na_ in the resin phase _FR_, _n_ ( _t_ ), _H n_ ( _t_ ) is the liquid hold up, and _hn_ ( _t_ ) is the resin hold up for the _n_ -th stage [1, 2, 4, 5, 44]. The ion exchange model is obtained based on the _i_ _th_ component mass balance on stage _n_ with _N_ representing the total number of stages in the process columns, Figure 1 [4, 5]. The component mass law of material balance based on rate of accumulation and rate of materials formation can be expressed as: on the rate of accumulation and the rate of materials formation, the model (2) can be expressed as: <u>(</u> _<u>t</u>_ <u>)</u> _<u>d</u>_ _<u>xa</u>_ <u>,</u> _<u>n</u>_ <u>(</u> _<u>t</u>_ <u>)</u> # + anh dt = FL [ xa, n −1( t ) − xa, n ( t ) _H_ _<u>dxa</u>_ <u>,</u> _<u>n</u>_ <u>(</u> _<u>t</u>_ <u>)</u> _<u>dt</u>_ _<u>a</u>_ <u>,</u> _<u>n</u>_ <u>(</u> _<u>t</u>_ <u>)</u> _<u>d</u>_ _<u>xa</u>_ <u>,</u> _<u>n</u>_ <u>(</u> _<u>t</u>_ _<u>dt</u>_ + _anh_ _<u>dt</u>_ <u>,</u> _<u>n</u>_ _<u>t</u>_ # dt = FL [ xa, n −1( t ) − xa, n ( t # [ xa, n −1( t ) − xa, n ( t )] _n_ , _<u>a</u>_ <u>,</u> _<u>n</u>_ <u>(</u> _<u>t</u>_ <u>)</u> _<u>d</u>_ _<u>xa</u>_ <u>,</u> _<u>n</u>_ <u>(</u> _<u>t</u>_ <u>)</u> # dt + anh dt = FL [ xa, n −1( t ) − xa, n _<u>a</u>_ <u>,</u> _<u>n</u>_ <u>(</u> _<u>t</u>_ <u>)</u> _<u>d</u>_ _<u>xa</u>_ <u>,</u> _<u>n</u>_ <u>(</u> _<u>t</u>_ <u>)</u> # dt + anh dt = FL [ xa, n −1( t ) − xa, n _<u>xa</u>_ <u>,</u> _<u>n</u>_ # + anh = FL [ xa, n −1( t ) − xa, n ( t )]+ # R [( an +1 xa, n + a ( t ) + bn +1) − an xa, n ( t ) + bn ] # [( an +1 xa, n + a ( t ) + bn +1) − an xa, n ( t ) # FR [( an +1 xa, n + a ( t ) + bn +1) − an xa, n ( t ) + bn # + FR [( an +1 xa, n + a ( t ) + bn +1) − an xa, n ( t ) + 1 _xa_, _n_ + _a_ ( _t_ ) + _bn_ +1) - _an_ _xa_, +1 _xa_, _n_ + _a_ ( _t_ ) + _bn_ + _n_ = ~~,1~~ _~~N~~_ . (4) The model (4) can be further simplified to, =   <u>(</u> _<u>H</u>_ +  _<u>FL</u>_     <u>(</u> _<u>H</u>_ + _<u>anh</u>_ <u>)</u>  _<u>FL</u>_  _xa_, _n_ −1( _t_ ) -  _<u>FL</u>_  _xa_, _n_ ( _t_ ) <u>(</u> _<u>H</u>_ + _<u>anh</u>_ <u>)</u>   <u>(</u> _<u>H</u>_ + _<u>anh</u>_ <u>)</u>   _xa_, _n_ ( _t_ )  _<u>FL</u>_  _xa_, _n_ −1( _t_ ) -  _<u>FL</u>_ _<u>H</u>_ + _<u>anh</u>_ <u>)</u>   <u>(</u> _<u>H</u>_ +  _<u>FL</u>_  _xa_, _n_ ( _t_ _<u>H</u>_ + _<u>anh</u>_ <u>)</u>  <u>(</u> _<u>H</u>_ _<u>n</u>_ <u>(</u> _<u>t</u>_ <u>)</u> _<u>xa</u>_ <u>,</u> _<u>n</u>_ <u>(</u> _<u>t</u>_ <u>))</u> _<u>d</u>_ <u>(</u> _<u>hn</u>_ <u>(</u> _<u>t</u>_ <u>)</u> _<u>x</u>_ <u>'</u> _<u>b</u>_ <u>,</u> _<u>n</u>_ <u>(</u> _<u>t</u>_ <u>))</u>  _<u>d</u>_ <u>(</u> _<u>H</u>_ _<u>n</u>_ <u>(</u> _<u>t</u>_ <u>)</u> _<u>xa</u>_ <u>,</u> _<u>n</u>_ <u>(</u> _<u>t</u>_ _<u>n</u>_ _<u>b</u>_ <u>,</u> _<u>n</u>_ + = _<u>d</u>_ <u>(</u> _<u>hn</u>_ <u>(</u> _<u>t</u>_ <u>)</u> _<u>x</u>_ <u>'</u> _<u>b</u>_ <u>,</u> _<u>n</u>_ <u>(</u> _<u>t</u>_ _<u>dt</u>_  _xa_, _n_ −1( _t_ ) -    <u>(</u> _<u>H</u>_ + _n_ −1 _nh_ <u>)</u>  _xa_, _n_  _xa_, _n_ −1( _t_ ) -  _<u>FL</u>_ _nh_ <u>)</u>   <u>(</u> _<u>H</u>_ + _<u>a</u>_ _<u>n</u>_ <u>(</u> _<u>t</u>_ <u>)</u> _<u>xa</u>_ <u>,</u> _<u>n</u>_ <u>(</u> _<u>t</u>_ <u>))</u> _<u>d</u>_ <u>(</u> _<u>hn</u>_ <u>(</u> _<u>t</u>_ <u>)</u> _<u>x</u>_ <u>'</u> _<u>b</u>_ <u>,</u> _<u>n</u>_ +  _<u>FL</u>_     <u>(</u> _<u>H</u>_ + _<u>anh</u>_ <u>)</u>  _<u>dxa</u>_ <u>,</u> _<u>n</u>_ <u>(</u> _<u>t</u>_ _<u>a</u>_ <u>,</u> _<u>n</u>_ <u>(</u> _<u>t</u>_ <u>)</u> =  _<u>FL</u>_ <u>,</u> _<u>n</u>_ <u>(</u> _<u>t</u>_ <u>)</u> =  _<u>FL</u>_  _xa_, _n_ −1( _t_ ) -  _<u>FL</u>_  _xa_, _<u>dt</u>_ <u>(</u> _<u>H</u>_ + _<u>a</u>_ _<u>h</u>_ <u>)</u> <u>(</u> _<u>H</u>_ + _<u>a</u>_ _<u>h</u>_ <u>)</u> <u>(</u> _<u>t</u>_ <u>)</u> _<u>dt</u>_ <u>,</u> _<u>n</u>_ <u>(</u> _<u>t</u>_ <u>))</u> _<u>d</u>_ <u>(</u> _<u>hn</u>_ <u>(</u> _<u>t</u>_ <u>)</u> _<u>x</u>_ <u>'</u> _<u>b</u>_ <u>,</u> + ( _t_ ) ⋅ _xa_, _n_ −1( _t_ ) + _FR_, _n_ +1( _t_ ) ⋅ _x_ ' _b_, _n_ +1 ( _t_ ) # [ FL, n −1( t ) ⋅ xa, n −1( t ) + FR, n +1( t ) ⋅ x ' b, n +1 ( t )]− [ FL, n ( t ) ⋅ xa, n ( t ) + FR, n ( t ) ⋅ x ' b, n ( t ,)] n =,1 N +  <u>(</u> _<u>bHn</u>_ <u>+1</u> <u>−</u> _<u>abhn</u>_ <u>)</u>  _FR_, _n_ = ~~,1~~ _~~N~~_ (5) _<u>a</u>_ <u>,</u> _<u>n</u>_ <u>(</u> _<u>t</u>_ <u>)</u>  _<u>F</u>_ =  _<u>dt</u>_  <u>(</u> _<u>H</u>_ +  _<u>bn</u>_ <u>+1</u> <u>−</u> _<u>bn</u>_     <u>(</u> _<u>H</u>_ + _<u>anh</u>_ <u>)</u>   −1( _t_ ) ⋅ _xa_, _n_ −1( _t_ ) + _FR_, _n_ +1( _t_ ) ⋅ _x_ ' _b_, _n_ +1 ( _t_ )]− (2) -  _<u>n</u>_  <u>(</u> _<u>H</u>_ +  _<u>an</u>_     <u>(</u> _<u>H</u>_ + _<u>anh</u>_ <u>)</u>  _<u>an</u>_  _xa_, _n_ ( _t_ ) _FR_ +  _<u>an</u>_ <u>+1</u>  _xa_, _n_ +1( _t_ ) <u>(</u> _<u>H</u>_ + _<u>anh</u>_ <u>)</u>   <u>(</u> _<u>H</u>_ + _<u>anh</u>_ <u>)</u>  # [ FL, n −1( t ) ⋅ xa, n −1( t ) + FR, n +1( t ) ⋅ x ' b, n +1 ( t  _xa_, _n_ ( _t_ ) _FR_ +  _<u>an</u>_ _nh_ <u>)</u>   <u>(</u> _<u>H</u>_ + _<u>an</u>_  _xa_, _n_ ( _t_ ) _FR_ +  _<u>a</u>_ _<u>H</u>_ + _<u>anh</u>_ <u>)</u>   <u>(</u> _<u>H</u>_ _<u>an</u>_ _<u>n</u>_  _<u>an</u>_ <u>+1</u>     <u>(</u> _<u>H</u>_ + _<u>anh</u>_ <u>)</u>   _<u>an</u>_ <u>+1</u>  _xa_, _n_ +1( _t_ ) _F_ _<u>H</u>_ + _<u>anh</u>_ <u>)</u>  <u>+</u> _<u>a</u>_ <u>1</u> _<u>h</u>_ <u>)</u>  _xa_, _n_ +1 # = [ FL, n −1( t ) ⋅ xa, n −1( t ) + FR, n +1( t ) ⋅ x ' b, n +1 ( t )]−  _L_, _n_ −1( _t_ ) ⋅ _xa_, _n_ −1( _t_ ) + _FR_, _n_ +1( _t_ ) ⋅ _x_ ' _b_, _n_ +1 _L_, _n_ −1( _t_ ) ⋅ _xa_, _n_ −1( _t_ ) + _FR_, _n_ +1( _t_ ) ⋅ _x_ ' _b_, _n_  _xa_, _n_ ( _t_ ) _FR_ +  _<u>n</u>_   <u>(</u> _<u>H</u>_ + , _n_ ( _t_ ) _FR_ +  _<u>an</u>_ <u>+1</u>  _xa_, _n_ +1 <u>(</u> _<u>H</u>_ + _<u>a</u>_ _<u>h</u>_ <u>)</u> _nh_ <u>)</u>  _xa_, _n_ +1( _t_ ) _FR_  _xa_, _n_ +1( _t_ ) _FR_ +  ( _t_ ) ⋅ _xa_, _n_ ( _t_ ) + _FR_, _n_ ( _t_ ) ⋅ _x_ ' _b_, _n_ ( _t_,)] _n_ = ~~,1~~ # − [ FL, n ( t ) ⋅ xa, n ( t ) + FR, n ( t ) ⋅ x ' b, n ( t ,)] n = , _n_ ( _t_ ) ⋅ _xa_, _n_ ( _t_ ) + _FR_, _n_ ( _t_ ) ⋅ _x_ ' _b_, _L_, _n_ ( _t_ ) ⋅ _xa_, _n_ ( _t_ ) + _FR_, _n_ ( _t_ ) ⋅ _x_ ' _b_, _n_ _<u>bn</u>_ <u>+1</u> <u>−</u> _<u>b</u>_ _<u>bn</u>_ <u>+1</u> <u>−</u> _<u>bn</u>_  _FR_, _n_ = ~~,1~~ _~~N~~_ _<u>H</u>_ + _<u>anh</u>_ <u>)</u>  Where _<u>bn</u>_ <u>+1</u> <u>−</u> _<u>bn</u>_  _FR_, _n_ = ~~,1~~ <u>(</u> _<u>H</u>_ + _<u>anh</u>_ <u>)</u>  + _nh_ <u>)</u>  _FR_ _FL_, _n_ ( _t_ ) = the molar flow rate of the liquid, _FR_, _n_ ( _t_ ) = the molar flow rate of the resin, _FL_, _n_ −1( _t_ ) ⋅ _xa_, _n_ −1( _t_ ) = the rate of material input with liquid coming from stage _n_ −1, _FR_, _n_ +1( _t_ ) ⋅ _x_ ' _b_, _n_ +1 ( _t_ ) = the rate of material input with resin coming from stage _n_ +1, _FL_, _n_ ( _t_ ) ⋅ _xa_, _n_ ( _t_ ) = the rate of material output with liquid leaving plate _n_ for plate _n_ +1, _FR_, _n_ ( _t_ ) ⋅ _x_ ' _b_, _n_ ( _t_ ) = the rate of material output with resin After selecting _xa_, _n_ −1( _t_ ) = _x_ 0 ( _t_ ) = _x_ _f_ ( _t_ ), for _n_ = 1 as the column input flow concentration, _y_ ( _t_ ) = _xa_, _N_ ( _t_ ) as the output of the system, _xa_, _n_ ( _t_ ) = _x_ ( _t_ ) = [ _x_ 1 ( _t_ ), _x_ 2 ( _t_ ),.., _xn_ ( _t_ ),.., _x_ _N_ ( _t_ )] <sup>_T_</sup> as the state space vector, and _FR_ ( _t_ ) = _u_ ( _t_ ) as the control input, the state space model of the ion exchange process (5) can be written as _<u>dx</u>_ <u>(</u> _<u>t</u>_ <u>(</u> _<u>t</u>_ <u>)</u> = _Ax_ ( _t_ ) + _B_ 1 _x_ ( _t_ ) _u_ ( _t_ ) + _Bu_ ( _t_ ) + _Wx_ _f_ ( _t_ ) = _Ax_ ( _t_ ) + _B_ 1 _x_ ( _t_ ) _u_ ( _t_ ) + _Bu_ ( _t_ ) + _Wx_ _f_ ( _t_ ) , _x_ (0) = _x_ 0 1 _f_ leaving plate _n_ for _n_ −1, _y_ ( _t_ ) = _Cx_ ( _t_ ( _t_ ) = _Cx_ ( _t_ ) _<u>d</u>_ <u>(</u> _<u>H</u>_ _<u>n</u>_ <u>(</u> _<u>t</u>_ <u>)</u> _<u>xn</u>_ <u>(</u> _<u>t</u>_ <u>))</u> = the rate of accumulation of sodium _<u>dt</u>_ <u>(</u> _<u>t</u>_ <u>)</u> _<u>dt</u>_ = _Ax_ ( _t_ ) + _B_ 1 _x_ ( _t_ ) _u_ ( _t_ ) + _Bu_ ( _t_ ) + _Wx_ _f_ ( _t_ ) (6) 0 0 ... 0 _<u>n</u>_ = _<u>dt</u>_ specie in the liquid phase on plate _n_, and = _<u>FL</u>_ _<u>d</u>_ <u>(</u> _<u>hn</u>_ <u>(</u> _<u>t</u>_ <u>)</u> _<u>x</u>_ <u>'</u> _<u>b</u>_ <u>,</u> _<u>n</u>_ <u>(</u> _<u>t</u>_ <u>))</u> = the rate of accumulation of sodium _<u>dt</u>_ Where _<u>H</u>_ + _<u>a</u>_ 1 _<u>h</u>_ <u>−</u> + _<u>b</u>_ <u>,</u> _<u>n</u>_ = _<u>dt</u>_ specie in the resin phase on plate _n_ . _<u>F</u>_ _<u>L</u>_ <u>−</u> _<u>FL</u>_ _<u>L</u>_ _<u>a</u>_ 1 _<u>H</u>_ + _<u>a</u>_ 2 _<u>h</u>_ 0 ... 0 Based on assumptions made, the liquid and resin holdups and flow rates are considered constants, i.e., _H_ _n_ = _H_, 0 0 _<u>FL</u>_ <u>−</u> _<u>FL</u>_ 0 _<u>H</u>_ _<u>a</u>_ _<u>h</u>_ _<u>H</u>_ _<u>a</u>_ _<u>h</u>_ _A_             _<u>FL</u>_ <u>−</u> _<u>FL</u>_ _<u>H</u>_ + _<u>aN</u>_ −1 _<u>h</u>_ _<u>H</u>_ + _<u>aN</u>_ _<u>FL</u>_ <u>−</u> + _<u>aN</u>_ −1 _<u>h</u>_ _<u>H</u>_ + _<u>a</u>_ _<u>FL</u>_ _<u>FL</u>_ <u>−</u> _<u>FL</u>_ _<u>H</u>_ + _<u>a</u>_ 2 _<u>h</u>_ _<u>H</u>_ + _<u>a</u>_ 2 _<u>FL</u>_ <u>−</u> + _<u>a</u>_ 2 _<u>h</u>_ _<u>H</u>_ + 2 2 ... ... ... ... ... _..._ _..._ _..._ _..._ _..._ 2 _<u>h</u>_ _<u>H</u>_ + _<u>a</u>_ 2 + <u>−</u> _<u>aN</u>_ <u>−1</u> _<u>a</u>_ _<u>H</u>_ + _<u>aN</u>_ −1 _<u>h</u>_ _<u>H</u>_ + _<u>a</u>_ _hn_ = _h_, _FR_, _n_ ( _t_ ) = _FR_, and _FL_, _n_ ( _t_ ) = _FL_ . _<u>L</u>_ _<u>L</u>_ _N_ _<u>L</u>_ 1 _<u>h</u>_ _<u>H</u>_ + _<u>aN</u>_ −1 _<u>H</u>_ + _<u>aN</u>_ −1 _<u>h</u>_ _<u>FL</u>_ <u>−</u> _<u>F</u>_ _<u>H</u>_ + _<u>aN</u>_ _<u>h</u>_ _<u>H</u>_ + _<u>a</u>_ + _<u>FL</u>_ <u>−</u> + _<u>aN</u>_ _<u>h</u>_ _<u>H</u>_ + _<u>F</u>_ _<u>L</u>_ _N_ The equilibrium between the liquid and the resin fractions is assumed to be linear to maintain electroneutrality, and the relationship between the exchanging cations is given by [1, 2] _N_ −1 _<u>h</u>_ _<u>H</u>_ + _<u>aN</u>_ −1 _N_              0 0 ... _<u>H</u>_ + _<u>aN</u>_ _<u>h</u>_ _<u>a</u>_ <u>2</u> 0 _..._ _<u>H</u>_ + _<u>a</u>_ 1 _<u>h</u>_ 1 <u>2</u> _<u>a</u>_ 2 <u>−</u> _<u>a</u>_ <u>1</u> _<u>a</u>_ + _<u>a</u>_ 1 _<u>h</u>_ _<u>H</u>_ + _<u>a</u>_ <u>1</u> <u>−</u> _<u>a</u>_ <u>2</u> _<u>a</u>_ _<u>H</u>_ + _<u>a</u>_ 2 _<u>h</u>_ _<u>H</u>_ + <u>−</u> _<u>a</u>_ <u>2</u> _<u>a</u>_ + _<u>a</u>_ 2 _<u>h</u>_ _<u>H</u>_ + _<u>a</u>_ <u>2</u> 0 _..._ 0 _<u>a</u>_ <u>3</u> _..._ _<u>H</u>_ + _<u>a</u>_ 2 _<u>h</u>_ <u>3</u> _x_ ' _b_, _n_ ( _t_ ) = _an_ _xa_, _n_ ( _t_ ) + _bn_ (3) Where _an_, <sup>_b_</sup> _n_ = the coefficients of the rate of the ion exchange reaction. After substituting the conditions for the linear equilibrium (3), the component mass law of material balance, based = = <u>−</u> _<u>a</u>_ <u>1</u> _<u>a</u>_ _<u>H</u>_ + _<u>a</u>_ 1 _<u>h</u>_ _<u>H</u>_ + <u>1</u> _<u>a</u>_ 1 2 0 <u>−</u> _<u>a</u>_ <u>2</u> _<u>a</u>_ <u>3</u> _..._ 0 _<u>H</u>_ _<u>a</u>_ _<u>h</u>_ _<u>H</u>_ _<u>a</u>_ _<u>h</u>_ _B_ 1 <u></u> ~~~~           0 0 <u>−</u> _<u>aN</u>_ <u>−1</u> _<u>aN</u>_ 0 _<u>H</u>_ _<u>a</u>_ _<u>h</u>_ _<u>H</u>_ _<u>a</u>_ _<u>h</u>_ _<u>N</u>_ <u>−</u> <u>−1</u> _N_ _<u>N</u>_ _<u>aN</u>_ _<u>H</u>_ + _<u>aN</u>_ −1 _<u>h</u>_ <u>1</u> _<u>N</u>_ _N_ 1 _<u>h</u>_ _<u>H</u>_ + _<u>aN</u>_ −1 −1 _<u>h</u>_ _<u>H</u>_ + _<u>aN</u>_ −1              _<u>H</u>_ + _<u>aN</u>_ _<u>h</u>_  0 0 _..._ 0 <u>−</u> _<u>aN</u>_ <u>−1</u> _<u>aN</u>_ + _<u>aN</u>_ −1 _<u>h</u>_ _<u>H</u>_ + _<u>aN</u>_ −1 _<u>h</u>_ <u>−</u> _..._ 0 _<u>H</u>_ + - <u>−</u> _<u>a</u>_ _..._ 0 _<u>H</u>_ 1 _x_ (ˆ _t_ ) + _L_ 2 _x_ (ˆ _t_ ) _u_ ( _t_ ) + _L_ 3 _u_ ( _t_ ) + _L_ 4 _f_ <u>(</u> _<u>b</u>_ <u>2</u> <u>−</u> _<u>b</u>_ <u>1)</u> _<u>H</u>_ + _<u>a</u>_ 1 _<u>h</u>_ <u>(</u> _<u>b</u>_ <u>3</u> <u>−</u> _<u>b</u>_ <u>2</u> <u>)</u> <u>(</u> _<u>b</u>_ <u>2</u> <u>−</u> _<u>b</u>_ <u>1</u> _<u>H</u>_ + _<u>a</u>_ 1 <u>(</u> _<u>b</u>_ <u>3</u> <u>−</u> _<u>b</u>_ <u>2</u> <u>−</u> <u>2</u> <u>−</u> _<u>b</u>_ <u>1</u> _<u>dx</u>_ <u>(ˆ</u> _<u>t</u>_ _<u>FL</u>_ + 2 _y_ (ˆ _t_ ) = _Cx_ (ˆ _t_ _y_ (ˆ _t_ ) = _Cx_ (ˆ _t_ ) _<u>x</u>_ <u>(ˆ</u> _<u>t</u>_ <u>)</u> _<u>dt</u>_ = _L_ 1 _x_ (ˆ _t_ ) + _L_ 2 _x_ (ˆ _t_ ) _u_ ( _t_ ) + _L_ 3 _u_ ( _t_ ) + _L_ 4 _x_ _f_ ( _t_ ) + _Ly_ ( _t_ ) _<u>x</u>_ <u>(ˆ</u> _<u>t</u>_ <u>)</u> _<u>dt</u>_ = _L_ 1 _x_ (ˆ _t_ ) + _L_ 2 _x_ (ˆ _t_ ) _u_ ( _t_ ) + _L_ 3 _u_ ( _t_ ) + _L_ 4 _x_ _f_ ( _t_ ) + _Ly_ ( _t_ = 1 _<u>L</u>_ _T_ = _L_ 1 _x_ (ˆ _t_ ) + _L_ 2 _x_ (ˆ _t_ ) _u_ ( _t_ ) + _L_ 3 _u_ ( _t_ ) + _L_ 4 _x_ _f_ ( _t_ ) + _Ly_ ( _t_ ) (7) , = 0 <u>3</u> <u>−</u> _<u>b</u>_ <u>2</u> _C_ 0 0 _B_          _<u>H</u>_ + _<u>a</u>_ 1 <sup>_<u>h</u>_</sup> 0 ...         M 0 1 =             M <u>(</u> _<u>bN</u>_ <u>−</u> _<u>bN</u>_ <u>−1)</u> _<u>bN</u>_ <u>−</u> _<u>b</u>_ _<u>H</u>_ + _<u>a</u>_ 1 _<u>h</u>_ <u>(</u> _<u>b</u>_ <u>3</u> <u>−</u> _<u>b</u>_ <u>2</u> <u>)</u> _<u>H</u>_ + _<u>a</u>_ 2 _<u>h</u>_ + <u>−</u> + <u>−</u> + 2 M ,          Where             _W_ = 0 0 _N_ ×1 _x_ (ˆ _t_ ) ∈ _R_ = the estimated state vector, <u>−</u> <u>1</u>          _<u>H</u>_ + _<u>anh</u>_ _<u>b</u>_ _<u>N</u>_ _n_ _<u>H</u>_ + _<u>a</u>_ _N_ _<u>h</u>_ + _N_ The model matrices are: _A_ ∈ _R_ _N_ × _N_ = the matrix of the state, _B_ 1 ∈ _R_ _N_ × _N_ = the matrix of bilinear term of the state and input control signal _N_ ×1 _B_ ∈ _R_ = the matrix of the input signal _N_ ×1 _W_ ∈ _R_ = the matrix of the disturbance, 1× _N_ _C_ ∈ _R_ = the matrix of the output signal. The model variables are 1×1 _y_ (ˆ _t_ ) ∈ _R_ = the estimated system output based on estimated states, _L_ 1 ∈ _R_ _N_ × _N_ = the observer state matrix, _L_ 2 ∈ _R_ _N_ × _N_ = the bilinear term matrix of the observer, _N_ ×1 _L_ 3 ∈ _R_ = the observer control input matrix, and _N_ ×1 _L_ ∈ _R_ = the output (the observation) matrix. 1×1 _u_ ( _t_ ) ∈ _R_ = the control signal, _N_ ×1 _x_ ( _t_ ) ∈ _R_ = the state vector and 1×1 1×1 _x_ _f_ ( _t_ ) ∈ _R_ = _xa_ 0, ∈ _R_ = the disturbance to the system, 1×1 _y_ ( _t_ ) ∈ _R_ = the output of the system. The disturbance is considered as the change of liquid concentration that enters the first stage (the most bottom stage) of the cation column in the continuous countercurrent ion exchange process. Once the model has been developed and before using it for real time optimal control, one needs to estimate the unknown parameters. In the same breath, in this presentation, the liquid concentration of the CCIX plant cannot be measured in all the stages of the column except for the first and the last stages, one needs to estimate liquid concentration of all other stages using state estimation techniques. The aim is to develop a new algorithm for solving state estimation problem given that the system is nonlinear in terms of variables but linear in terms of parameters. The proposed solution is presented in the next section. 4. DESIGN OF THE OBSERVER Consider the model of a bilinear system given by (6) above; the objective is to design a full-order observer to be able to identify all the unknown states. The proposed observer is constructed in the analogy of a Luenberger type of observer for linear time–invariant systems. The observer equation for the model (6) is expressed so as to correspond to the structure of the bilinear system, as follows: The main aim of the observer is to minimize the error between the process states _x_ ( _t_ ) and the estimated states _x_ (ˆ _t_ ) and to be convergent, i.e., asymptotically stable. In order to achieve this aim, the design of the observer is based on fulfillment of two conditions: 1) for the _value of_ _the error_ and 2) for _the rate of change of the error_ between the real and estimated states. The first condition states that _e_ ( _t_ ) → 0 for _t_ → ∞ and this is presented by the error equation, _<u>de</u>_ <u>(</u> _<u>t</u>_ <u>(</u> _<u>t</u>_ <u>)</u> # dt = [ Ax ( t ) + B 1 x ( t ) u ( t ) + Bu ( t ) + Wx f ( t − [ L 1 x (ˆ t ) + L 2 x (ˆ t ) u ( t ) + L 3 u ( t ) + L 4 x f ( t ) + <u>(</u> _<u>t</u>_ <u>)</u> # = [ Ax ( t ) + B 1 x ( t ) u ( t ) + Bu ( t ) + Wx f ( t ) _e_ ( _t_ ) = _x_ ( _t_ ) - _x_ (ˆ _t_ ) → 0 (8) This means that the estimated state vector is defined by _x_ (ˆ _t_ ) = _x_ ( _t_ ) - _e_ ( _t_ ) . Based on _the condition for the error_ _rate dynamics_ of the observed process and _the observer_ _states_, the second condition is for the _minimum error rate_ _value_ and is expressed by _<u>de</u>_ <u>(</u> _<u>t</u>_ <u>)</u>  _<u>dx</u>_ <u>(</u> _<u>t</u>_ <u>)</u> _<u>dx</u>_ <u>(ˆ</u> _<u>t</u>_ <u>)</u>  = - ≅ 0 (9). _<u>dt</u>_  _<u>dt</u>_ _<u>dt</u>_  <u>(</u> _<u>t</u>_ <u>)</u>  _<u>dx</u>_ <u>(</u> _<u>t</u>_ <u>)</u> _<u>dx</u>_ <u>(ˆ</u> _<u>t</u>_ <u>)</u>  = - ≅ 0  _<u>dt</u>_ _<u>dt</u>_  _<u>de</u>_ <u>(</u> _<u>t</u>_ <u>)</u>  _<u>dx</u>_ <u>(</u> _<u>t</u>_ = _<u>dt</u>_  _<u>dt</u>_ <u>(</u> _<u>t</u>_ <u>)</u> _<u>dx</u>_ <u>(ˆ</u> _<u>t</u>_ _<u>dt</u>_ _<u>dt</u>_  _<u>dx</u>_ <u>(</u> _<u>t</u>_ <u>)</u> _<u>dx</u>_ <u>(ˆ</u> _<u>t</u>_ =  _<u>dt</u>_ _<u>dt</u>_  _<u>dx</u>_ <u>(</u> _<u>t</u>_ <u>)</u> _<u>dx</u>_ <u>(ˆ</u> _<u>t</u>_ <u>)</u>   _<u>dt</u>_ _<u>dt</u>_  The error rate dynamic equation can therefore be expressed as <u>(</u> _<u>t</u>_ <u>)</u> # = [ Ax ( t ) + B 1 x ( t ) u ( t ) + Bu ( t ) + Wx f ( t )] _<u>de</u>_ <u>(</u> _<u>t</u>_ # = [ Ax ( t ) + B 1 x ( t ) u ( t ) + Bu ( t ) + Wx f ( t )]− # [ Ax ( t ) + B 1 x ( t ) u ( t ) + Bu ( t ) + Wx f ( t )] 1 _f_ <u>(</u> _<u>t</u>_ <u>)</u> # dt = [ Ax ( t ) + B 1 x ( t ) u ( t ) + Bu ( t ) + Wx f ( t ) − [ L 1 x (ˆ t ) + L 2 x (ˆ t ) u ( t ) + L 3 u ( t ) + L 4 x f ( t ) + # [ L 1 x (ˆ t ) + L 2 x (ˆ t ) u ( t ) + L 3 u ( t ) + L 4 x f ( t ) + Ly ( t )] (10 ) # [ L 1 x (ˆ t ) + L 2 x (ˆ t ) u ( t ) + L 3 u ( t ) + L 4 x f ( t ) + Ly ( t 1 _x_ (ˆ _t_ ) + _L_ 2 _x_ (ˆ _t_ ) _u_ ( _t_ ) + _L_ 3 _u_ ( _t_ ) + _L_ 4 _f_ From the output process equation, the error rate can be expressed using the output and state variables, _y_ ( _t_ ) = _Cx_ ( _t_ ) . This equation is used to incorporate the measured data _y_ ( _t_ ) into the equation (11) as a requirement for one of the inputs to the observer before producing the estimates. The error rate equation then becomes: # = [ Ax ( t ) + B 1 x ( t ) u ( t ) + Bu ( t ) + Wx f ( t )]− (11) # [ Ax ( t ) + B 1 x ( t ) u ( t ) + Bu ( t ) + Wx f ( t )] 1 _f_ # [ L 1 x (ˆ t ) + L 2 x (ˆ t ) u ( t ) + L 3 u ( t ) + L 4 x f ( t ) + L ( Cx ( t ))] # [ L 1 x (ˆ t ) + L 2 x (ˆ t ) u ( t ) + L 3 u ( t ) + L 4 x f ( t ) + L ( Cx ( t 1 _x_ (ˆ _t_ ) + _L_ 2 _x_ (ˆ _t_ ) _u_ ( _t_ ) + _L_ 3 _u_ ( _t_ ) + _L_ 4 _f_ = [ _A_ - _LC_ ]( _x_ ( _t_ ) - _x_ (ˆ _t_ )) + _B_ 1( _x_ ( _t_ ) [ _A_ - _LC_ ] 1 (15) The process of observer design involves determining the matrices _L_ 1, _L_ 2, _L_ 3, and _L_ in such a way that the two minimization error requirements for the error difference are met: the 1) _minimization of the error_ between the _process_ _state_ and the _estimated_ _state_ _e_ ( _t_ ) = _x_ ( _t_ ) - _x_ (ˆ _t_ ) → 0 ; and 2) _keeping error rate at zero_ _<u>de</u>_ <u>(</u> _<u>t</u>_ <u>(</u> _<u>t</u>_ <u>)</u> _<u>dt</u>_ = [ _A_ - _LC_ ]( _x_ ( _t_ ) - _x_ (ˆ _t_ )) + _B_ 1( _x_ ( _t_ ) - _x_ (ˆ _t_ )) _u_ ( _t_ <u>(</u> _<u>t</u>_ <u>)</u> = [ _A_ - _LC_ ]( _x_ ( _t_ ) - _x_ (ˆ _t_ )) + _B_ 1( _x_ ( _t_ ) - _x_ (ˆ _t_ )) _u_ ( _t_ ) ( _A_ - _LC_ ) _e_ ( _t_ ) + _B_ 1 _e_ ( _t_ ) _u_ ( _t_ ) [ _A_ - _LC_ + _B_ 1 _u_ ( _t_ )] _e_ ( _t_ ) → 0 _A_ - _LC_ ) _e_ ( _t_ ) + _B_ 1 _e_ ( _t_ ) _u_ ( _t_ = ( _A_ - _LC_ ) _e_ ( _t_ ) + 1 _A_ - _LC_ + _B_ 1 _u_ ( _t_ )] _e_ ( _t_ = [ _A_ - _LC_ + _B_ 1 _u_ ( _t_ )] _e_ ( _t_ ) → 1 _<u>de</u>_ <u>(</u> _<u>t</u>_ <u>)</u> _or close to zero_, = 0 _<u>dt</u>_ _<u>de</u>_ <u>(</u> _<u>t</u>_ <u>)</u> = 0 . From this requirement it is _<u>dt</u>_ The design of the observer is to find a method for calculation of the observer matrix _L_ in such a way that the rate of the error _e_ ( _t_ ) between the process model state and the observer state is minimized and _e_ ( _t_ ) → 0 when _t_ → ∞ under some assumptions about the control input _u_ ( _t_ ) . The above requirement fulfillment means that the system to be observed is detectable, which means if it cannot be observed, it is still asymptotically stable and the observer to be designed should converge to the real system. The control signal can be considered to be unconstrained or known and fixed. The second case is considered in the paper. In this case, the methods for observer design of linear time invariant linear systems can be applied. Using equation (15) it becomes possible to determine the _L_ matrix using the second requirement. For (15) to converge to zero, the requirement is that the term [( _A_ - _LC_ ) + _B_ 1 _u_ ( _t_ )] must be a stable matrix. From this requirement, the entries for the observer matrix _L_ can be determined. If the value of the control input is _fixed and_ _constrained_, the values of _L_ <u>can be determined from the</u> matrix [ _~~A~~_ - _LC_ ], where _~~A~~_ = [ _A_ + _B_ 1 _u_ ( _t_ )] and the observed behavior is as of a linear system. [13] suggested that if the proper choice of the gain matrix _L_ is made, then the error will go to zero with arbitrary exponential decay. From these interpretations, the observer design problem can be summarized as a problem of choosing or selecting the observer gain matrix _L_ such that the error rate dynamics goes to zero. The pole placement method is used to calculate the observer matrix _L_ . important to note that _x_ ( _t_ ) and _u_ ( _t_ ) cannot be zero in this case for the condition to hold. The mathematical derivation of the matrices of the observer is done following the steps below: 1) The error equation (12) is rewritten in the form: <u>(</u> _<u>t</u>_ <u>)</u> = ( _A_ - _LC_ ) _x_ ( _t_ ) - _L_ 1 _x_ (ˆ _t_ ) _<u>de</u>_ <u>(</u> _<u>t</u>_ = ( _A_ - _LC_ ) _x_ ( _t_ ) - _L_ 1 _x_ (ˆ _t_ ) + 1 <u>(</u> _<u>t</u>_ <u>)</u> _<u>dt</u>_ = ( _A_ - _LC_ ) _x_ ( _t_ ) - _L_ 1 _x_ (ˆ _t_ [ _B_ 1 _x_ ( _t_ ) - _L_ 2 _x_ (ˆ _t_ )] _u_ ( _t_ ) + ( _B_ - _L_ 3 ) _u_ ( _t_ ) + ( _W_ - _L_ 4 ) _x_ _f_ ( _t_ ) [ _B_ 1 _x_ ( _t_ ) - _L_ 2 _x_ (ˆ _t_ )] _u_ ( _t_ ) + ( _B_ - _L_ 3 ) _u_ ( _t_ ) + ( _W_ - _L_ 4 ) _x_ _f_ ( _t_ + [ _B_ 1 _x_ ( _t_ ) - _L_ 2 _x_ (ˆ _t_ )] _u_ ( _t_ ) + ( _B_ - _L_ 3 ) _u_ ( _t_ ) + ( _W_ - _L_ 4 ) _x_ _f_ 1 _x_ ( _t_ ) - _L_ 2 _x_ (ˆ _t_ )] _u_ ( _t_ ) + ( _B_ - _L_ 3 ) _u_ ( _t_ ) + ( _W_ - _L_ 4 (12) 2) Condition 1 requirements are considered to be fulfilled: if → _e_ ( _t_ ) = 0 or _x_ ( _t_ ) = _x_ (ˆ _t_ ) . Then, the equation (12) can be rewritten in the following manner <u>(</u> _<u>t</u>_ <u>)</u> = ( _A_ - _LC_ - _L_ 1) _x_ ( _t_ ) + ( _B_ 1 - _L_ 2 ) _x_ ( _t_ ) _u_ ( _t_ ) _<u>de</u>_ <u>(</u> _<u>t</u>_ = ( _A_ - _LC_ - _L_ 1) _x_ ( _t_ ) + ( _B_ 1 - _L_ 2 ) _x_ ( _t_ ) _u_ ( _t_ ) + (13) 1) _x_ ( _t_ ) + ( _B_ 1 - _L_ 2 <u>(</u> _<u>t</u>_ <u>)</u> _<u>dt</u>_ = ( _A_ - _LC_ - _L_ 1) _x_ ( _t_ ) + ( _B_ 1 - _L_ 2 ) _x_ ( _t_ ) _u_ ( _t_ ( _B_ - _L_ 3 ) _u_ ( _t_ ) + ( _W_ - _L_ 4 ) _x_ _f_ ( _t_ ) _B_ - _L_ 3 ) _u_ ( _t_ ) + ( _W_ - _L_ 4 ) _x_ _f_ ( _t_ + ( _B_ - _L_ 3 ) _u_ ( _t_ ) + ( _W_ - _L_ 4 ) _x_ _f_ 3 ) _u_ ( _t_ ) + ( _W_ - _L_ 4 _<u>de</u>_ <u>(</u> _<u>t</u>_ <u>)</u> to approach zero, and since _x_ ( _t_ ) ≠ 0, _<u>dt</u>_ _<u>de</u>_ <u>(</u> In order for _<u>dt</u>_ _u_ ( _t_ ) ≠ 0, _x f_ ( _t_ ) ≠ 0, _t_ → ∞ the matrices in front of these variables have to be equal to zero. The following expressions can be generated from this condition _A_ - _LC_ - _L_ 1 <sup>=</sup> 0 and ∴ _L_ 1 = _A_ - _LC_ _B_ 1 - _L_ 2 = 0 and ∴ _L_ 2 = _B_ 1 _B_ - _L_ 3 <sup>=</sup> 0 and ∴ _L_ 3 = _B_ _W_ - _L_ 4 <sup>=</sup> 0 and ∴ _L_ 4 = _W_ (14) According to equation (14) the observer matrices _L_ 2, _L_ 3 and _L_ 4 are determined. 3) Condition 2 requirements are such that: The observer matrix _L_ 1 is not determined at this moment. This can be done through fulfillment of the second requirement mentioned above after back substitution of _L_ 1, _L_ 3 and _L_ 4 obtained in equation (14). The error rate equation then becomes _5.1 Procedure for design of the observer gain matrix_ _L_ The procedure for the design of the matrix _L_ is built on the basis of the pole placement method. The solution for the procedure is given for the case where the _input is_ _assumed constant for the entire process time trajectory_, or for the case _when the matrix_ _L_ _is calculated at every_ _time in the sampling period_ in which the control is considered constant. The solution is derived from _the stability requirement of_ _the error rate dynamics_, equation (15). This requirement translates to the _pole placement procedure for system_ _stability_, i.e., the real parts of the poles of the characteristic equation of the observer must be on the negative side of the Cartesian plane, but not far from the imaginary line in order for the observer to have fast dynamics, faster than the process ones. This is another 5. POLE PLACEMENT METHOD FOR DESIGN OF THE OBSERVER MATRIX reason why the solution is considered to be based on the _pole placement method_ . This method can be used for calculation of the Matrix _L_ coefficients at every sampling period, and in real time if the values of the input signal are changing at every sampling period. Two characteristic equations of the observer are needed for the solution, one is an equation (16) for the determinant of the _observer_ _error rate equation_ and the other is the desired one, determined by the equation (17) for the determinant of the _desired observer error rate equation_ . det _obs_ ( _s_ ) = _sI_ - [ _A_ - _LC_ + _B_ 1 _u_ ( _t_ )] (16)       0 0 ... ... _s_ _5.3_ _Derivation of the determinant detobs equations_ The observer characteristic equation formed from the equation (16) is derived for the considered case of the ion exchange process as follows: det _obs_ ( _s_ ) _obs_ _s_ = 0 ... 0 0 _s_ _s_ 0 _s_ 0 ... 0 0 0 O 0 0 O       11 _T_ [ _l_ 1 _l_ 2 ... _l_ 6 ] × [0 0 ... 1] _a_ det _des_ ( _s_ ) = ( _s_ + _p_ 1)( _s_ + _p_ 2 )...( _s_ + _p_ _N_ ), det _des_ ( _s_ ) = ( _s_ + _p_ ) _N_ = 0 _s_ ) = ( _s_ + _p_ 1)( _s_ + _p_ 2 )...( _s_ + _p_ _N_ ), _or_ (17) = ( _s_ + _p_ 1)( _s_ + _p_ 2 )...( _s_ + 0 ... ... ... 0 _des_ ( _s_ ) = ( _s_ + _p_ 1)( _s_ + _p_ 2 )...( _s_ + _p_ _N_ _a_ 21 - _a_ _des_ ( _s_ ) = ( _s_ + _p_ ) _N_ det _des_ ( _s_ ) = ( _s_ + _p_ ) _N_ = 0 _s_ ) = ( _s_ + _p_ 0 ... ... 0 0 _a_ 32 - _a_ 33 0 ... 0 0 ... ... O 0 0 21 - _a_ 22 _a_ 32 - _a_ 32 - _a_ 33         0 ... ... ... _a_ 65 - _a_ Where det O 65 - _a_ 66         _s_ = the Laplace variable, _T_ _N_ ×1 _L_ = [ _l_ 1 _l_ 2 ... _lN_ ] ∈ _R_, _T_ ... _l_ 6 ] × [0 0 ... 1] [ _l_ 1 _l_ 2 ... _l_ _T_ - [ _l_ 1 _l_ 2 ... _l_ 6 ] × [0 0 ... 1]+ _l_ 1 _l_ 2 ... _l_ 6 ] _T_ _b_ 11 _b_ 0 - _b_ 22 _b_ 23 0 ... 0 0 0 O 0 ... 0 11 _b_ 12 _p_ 1, _p_ 2,..., _pN_ = the desired poles for every stage of the 0 ... 0 0 22 _b_ 23 process and _p_ = the desired pole that has the same value for all                          _u_ ( _t_ ( _t_ )         _b_ 22 _b_ 0 ... ... stages of the process. + _u_ ( _t_ ) × O 55 _b_ 56 O _b_ 55 _b_ (19) _b_ 66                                  The coefficients of the observer gain matrix for the given value of the control input are determined by equalization of the two determinants, as follows: det _obs_ ( _s_ ) = det _des_ ( _s_ ) (18) 5.2 _Algorithm of the pole placement method for_ _determination of the_ _L_ _matrix_ The algorithm for the solving the pole placement problem is given by: 1) Give a trajectory of _u_ ( _t_ ), _t_ = ~~,0~~ <sup>_~~t~~_</sup> _f_, 2) Select the input signal _ut_ = _u_ ( _t_ ) - for a given time  _s_ + _a_ 11− _g_ 11 _g_ 12 0 0 0 _l_ 1 0 ... ... ... 0 Where the elements of the observer matrix _L_ are unknown. In evaluating (19), the resulting simplified expression of the det _obs_ ( _s_ ) is a _R_ 6×6 matrix given by (20), 6×6 det _obs_ ( _s_ ) = det{[ _Aobs_ ]}∈ _R_ (20) Where _Aobs_ = 0 0 0 + _a_ 11− 65 ( _s_ + _a_ 66− _g_ 66+ _l_ 6 _t_, _t_ = ~~,0~~ <sup>_~~t~~_</sup> _f_ 0 0 3) Form the determinant of the observer det _obs_, with unknown observer gain matrix _L_, _L_ ( _t_ ) = [ _l_ 1( _t_ ), _l_ 2 ( _t_ ),..., _l_ _N_ ( <sup>_t_</sup> )] <sup>_T_</sup>, 4) Form the desired determinant det _des_, 5) Compare the two determinants and calculate the gain matrix elements, _li_ ( _t_ ), _i_ = ~~,1~~ _~~N~~_ The solution to step 5) can be obtained numerically or analytically, e.g., using _fsolve_ functions in Matlab software program provides a numerical solution. The paper proposes an analytical technique of back substitution between the two characteristic equations. The derivation is explained in section 5.3.          - _a_ 21 _s_ + _a_ 22− 11− _g_ 11 _g_ 12 0 0 0 _l_ 1 _a_ 21 _s_ + _a_ 22− _g_ 22 _g_ 23 0 0 _l_ 2 21 _s_ + _a_ 22− _g_ 22 _g_ 23 0 0 _l_ 2 _i_ = ~~5,1~~ and _j_ = ~~6,2~~ . 0 - _a_ 32 _s_ + _a_ 33− _g_ 33 _g_ 34 0 _a_ 32 _s_ + _a_ 33− _g_ 33 _g_ 34 0 _l_ 3 - _a_ 32 _s_ + _a_ 33− _a_ 32 _s_ + _a_ 33− _g_ 33 _g_ 34 0 _l_ 3 0 0 _a_ 43 O O _l_ 4 43 O O _l_ 4 O O O O _l_ 5 + _g_ _l_ 5 + _g_ 56) + 0 0 0 O O ( _l_ 5 + _g_ 56) 0 0 0 0 - _a_ 65 ( _s_ + _a_ 66− _g_ 66+ _l_ 6) _a_ 65 ( _s_ + _a_ 66− _g_ 66+ _l_ 6 - _a_ 65 ( _s_ + _a_ 66− _g_ 66+ _l_          Where _gii_ = _u_ ( _t_ ) _bii_ = the product of control input and _b_ coefficients of the bilinear term, _i_ = ~~6,1~~ _gij_ = _u_ ( _t_ ) _bij_ = the product of control input and coefficients of the bilinear term for The mathematical derivation of the characteristic equation from the determinant _Aobs_ is very complex because of the higher dimension of the matrix _Aobs_ . In order to simplify the calculations the resulting determinant is presented as a sum of sub-determinants which further aids in simplifying the calculation. The sub-determinants are derived from the first row _Aobs_ det _obs_ ( _s_ ) = det1( _s_ ) + det 2 ( _s_ ) + det 6 ( _s_ ) (21) Where The procedure above is followed for all new subdeterminants until their mathematical expressions are derived and the characteristic equation of the observer is obtained, written according to the power of the Laplace variable _s_ . The desired characteristic equation is calculated for a real negative desired pole <sup>_p_</sup> _i_ = −5, _i_ = ~~,1~~ _~~N~~_ . Determination of its equation is via a Matlab software _system function_, _simplify_ ( ) and _expand_ ( ) functions, _ce_ = _simplify_ ((s + _p_ )^ _N_ = _simplify_ ((s + _p_ )^ _N_ ) _syms_ _s_    (28) det 1 = ( _s_ + _a_ 11 - _g_ 11) _s_ + _a_ 11 - _g_ = _expand_ ( _ce_ ) _expand_ ( _ce_ = ( _s_ + _a_ 11 - _g_ 11) × θ 1 = ( _s_ + _a_ 11 - _g_ 11 _s_ + _a_ 22 - _g_ 22 _g_ 23 0 0 _l_ + _a_ 22 22 - _g_ 22 _g_ 23 0 0 _l_ 2 _a_ 32 _s_ + _a_ 33 - _g_ 33 _g_ 34 0 _l_ - _a_ 32 _s_ + _a_ 33 Where _ce_ stands for characteristic equation. _a_ 43 O O _l_ 43 O O _l_ 4 O O O O × 22 - _g_ 22 _g_ 23 0 0 _a_ 32 _s_ + _a_ 33 - _g_ 33 _g_ 34 0 0 - _a_ 43 O O 0 0 O O ( _g_ 56 + _l_ 5 ) 0 0 0 - _a_ 65 ( _s_ + _a_ 66 - _g_ 66 + _l_ 6 ) 32 _s_ + _a_ 33 - _g_ 33 _g_ 34 0 _l_ 3 _g_ 56 + _l_ 5 56 + _l_ 5 + After evaluating both characteristic equations, the resulting simplified equations are equated to determine values of _li_, _i_ = ~~,1~~ _~~N~~_, as follows: _a_ 65 ( _s_ + _a_ 66 - _g_ 66 + _l_ 6 - _a_ 65 ( _s_ + _a_ 66 - _g_ 66 + 65 ( _s_ + _a_ 66 - _g_ 66 + _l_ 6 (22) det _des_ ( _s_ ) _s_ = det2 ( _s_ ) _s_ ) = - _g_ = - _g_ 12 × _des_ 2 ( _s_ ) = - _g_ 12 0 0 6 5 4 3 2 + 30 _s_ + 375 _s_ + 2500 _s_ + 9375 _s_ _a_ 21 _g_ 23 0 0 _l_ 6 5 4 3 2 _s_ + 30 _s_ + 375 _s_ + 2500 _s_ + 9375 _s_ +1875 _s_ 5 4 3 2 + 30 _s_ + 375 _s_ + 2500 _s_ + 9375 _s_ +1875 _s_ + 15625 = 0 _s_ + _a_ 33 - _g_ 33 _g_ 34 0 _l_ 3 0 - _a_ 43 _s_ + _a_ 44 - _g_ 44 _g_ 45 _l_ 4 0 0 O O ( _g_ 56 + _l_ 5 ) 21 _g_ 23 0 0 _l_ 2 5 4 3 2 30 _s_ + 375 _s_ + 2500 _s_ + 9375 _s_ +1875 _s_ + 15625 (29) = det _obs_ ( _li_ ); _i_ = ~~6,1~~ _obs_ ( _li_ _li_ ); _i_ _s_ + _a_ 33 - _g_ 33 _g_ 34 0 _l_ + _a_ 33 × - _a_ 43 _s_ + _a_ 44 - _g_ 44 _g_ 45 _l_ 4 0 O O ( _g_ 56 + 33 - _g_ 33 _g_ 34 0 _l_ 3 _a_ 43 _s_ + _a_ 44 - _g_ 44 _g_ 45 _l_ 43 _s_ + _a_ 44 - _g_ 44 _g_ 45 _l_ 4 O O _g_ 56 + _l_ 5 56 + _l_ 5 0 0 0 - _a_ 65 ( _s_ + _a_ 66 - _g_ 66 + _l_ 6 ) _a_ 65 ( _s_ + _a_ 66 - _g_ 66 + _l_ - _a_ 65 ( _s_ + _a_ 66 - _g_ 66 + 65 ( _s_ + _a_ 66 - _g_ 66 + _l_ 6 (23) det6 ( _s_ ) _s_ ) = - _l_ = - _l_ 1 × 6 ( _s_ ) = - _l_ 1 _a_ 21 _s_ + _a_ 22 - _g_ 22 _g_ - _a_ 21 _s_ + _a_ 22 21 _s_ + _a_ 22 - _g_ 22 _g_ 23 0 0 0 - _a_ 32 _s_ + _a_ 33 - _g_ 33 _g_ 34 0 _a_ 32 _s_ + _a_ 33 - _g_ 33 _g_ - _a_ 32 _s_ + _a_ 33 43 _s_ + _a_ 44 - _g_ 44 _g_ 45 _a_ 54 _s_ + _a_ 55 - _g_ × 0 0 0 0 0 32 _s_ + _a_ 33 - _g_ 33 _g_ 34 - _a_ 43 _s_ + _a_ 44 _a_ 43 _s_ + _a_ 44 - _g_ 44 _g_ 54 _s_ + _a_ 55 - _g_ 55 _a_ - _a_ 54 _s_ + _a_ 55 The algorithm for calculation of the observer gain matrix is based on the derivations in point 5. It is shown in Figure 3 and Figure 4. 6. SOFTWARE FOR DESIGN AND SIMULATION The solution of the observer gain matrix is obtained by the development of a Matlab/Simulink software program. The software program is written according to the proposed algorithm in Figure 3 using the Simulink part as described in Figure 4. The algorithm and the developed software have two parts: 1) Matrix calculation. The first part is used to calculate the model parameters based on the experimental data; then the observer gain matrix _L_ is calculated based on the _observer and_ _the_ _observer desired_ _characteristic_ _equations._ 2) Verification of the observer gain matrix. Once the observer parameters are determined, the second part of the program is to simulate the system error based on various specified constant control input and initial conditions for the states of the observer for the full trajectory of the system until _the error and error rate_ requirements are met. If these requirements are not met, then new desired poles are generated and the calculation of the observer gain matrix is calculated again, and so on. Simulink environment, Figure 4 is used for this part. The results from the simulations in this part of the program provide means to evaluate, for which area of constant values of the control input the proposed algorithm will be applicable. The same is done for the initial conditions of the estimated states. 0 0 0 0 (24) 65 Equations (20) – (24) are determined for every sampling period if the control vector is not constant. Using the same approach the sub-determinants det1( _s_ ), det 2 ( _s_ ), and det 6 ( _s_ ) are presented by their sub-determinants, (25) - (27) det1( _s_ ) = ( _s_ + _a_ 11 - _g_ 11) ( _s_ ) = ( _s_ + _a_ 11 - _g_ = ( _s_ + _a_ 11 - _g_ 11) × 1( _s_ ) = ( _s_ + _a_ 11 - _g_ 11) × _s_ + _a_ 22 - _g_ 22 ) det11( _s_ ) - _g_ 23 det12 ( _s_ ) + _l_ 2 det16 ( _s_ (25) [( _s_ + _a_ 22 - _g_ 22 ) det11( _s_ ) - _g_ 23 det12 ( _s_ ) + _l_ 2 det16 ( _s_ )] × [( _s_ + _a_ 22 - _g_ 22 ) det11( _s_ ) - _g_ 23 det12 ( _s_ ) + 22 - _g_ 22 ) det11( _s_ ) - _g_ 23 det12 ( _s_ ) + _l_ 2 det16 det 2 ( _s_ ) _s_ = [ _a_ 21 det 21( _s_ ) - _g_ 23 det 22 ( _s_ ) + _l_ 2 det 26 ( _s_ )] 2 ( _s_ ) = _g_ 12[ _a_ 21 det 21( _s_ ) - _g_ 23 det 22 ( _s_ ) + _l_ 2 det 26 ( _s_ (26) - _g_ 23 det 22 ( _s_ ) + 12[ _a_ 21 det 21( _s_ ) - _g_ 23 det 22 ( _s_ ) + _l_ 2 det 26 det 6 ( _s_ ) _s_ ) = - _l_ 1 = - _l_ 1 × 6 ( _s_ ) = - _l_ 1 × - _a_ 21 det 61( _s_ ) - ( _s_ + _a_ 22 - _g_ 22 ) det 62 ( _s_ ) + _g_ 23 det 63 ( _s_ [− _a_ 21 det 61( _s_ ) - ( _s_ + _a_ 22 - _g_ 22 ) det 62 ( _s_ ) + _g_ 23 det 63 ( _s_ )] × [− _a_ 21 det 61( _s_ ) - ( _s_ + _a_ 22 - _g_ 22 ) det 62 ( _s_ ) + (27). 21 det 61( _s_ ) - ( _s_ + _a_ 22 - _g_ 22 ) det 62 ( _s_ ) + _g_ 23 det 63 _State data_ _Control_ _data_ Calculation of the model parameters Calculation of the characteristic equation of the observer _x f_ ( _t_ ) _W_ + + _B_ 1 _L_ 3 _x_ &( _t_ ) _x_ ( _t_ ) _y_ ( _t_ ) ∫ _C_ _A_ Process Model _x_ ( _t_ ) CONTROLLER _u_ ( _t_ ) _B_ _x_ (ˆ _t_ ) _u_ ( _t_ ) _u_ ( _t_ ) _Initial values_ _of the desired_ _poles_ Calculation of the desired characteristic equation Calculation of the _L_ matrix _Desired_ _poles_ _L_ _y_ ( _t_ ) _x_ (ˆ _t_ ) ∫ _x_ <sup>&</sup> (ˆ _t_ )+ _L_ [ _y_ ( _t_ ) - _y_ (ˆ _t_ ∫ + _L_ [ _y_ ( _t_ ) - _y_ (ˆ _t_ + _L_ + _y_ (ˆ _t_ ) ) _y_ (ˆ _t_ ) _C_ Verification of the observer for various constant control values, and _x_ (ˆ _t_ ) various initial conditions of the observer states in Simulink Observer Model _L_ 1 _L_ 2 _x_ ( _t_ ) Extraction and plotting the values of _x_ ( _t_ ), _x_ (ˆ _t_ ), _e_ ( _t_ ) and _e_ &( _t_ ) Is Select new desired poles _e_ ( _t_ ) <ε1 and _e_ &( _t_ ) < ε2 and No Yes Terminate calculation Figure 3: Algorithm for the design process The proposed algorithm for design can be used for realtime control too, when the control action is changing, but having constant values in the sampling periods for the calculation of the observer gain matrix. In this case the algorithm will be run for every new value of the control signal and the obtained value of _L_ will be directly used for calculation of the estimated state values. These values will be used for calculation of the control action. The structure of the algorithm is similar as in Figure 3, but the difference is that the real-time system replaces the Simulink block, Figure 3, and the calculated observer gain matrix is directly used to produce the real-time state estimates. No verification of the _L_ values is performed in real-time. Figure 4: Simulation diagram of the closed loop system 7. SIMULATION RESULTS AND DISCUSSION The observer gain matrix entries are finally determined from Matlab using data obtained from the previous CCIX project [1, 2, 4, 5], Table I, and the error dynamics are observed through Simulink. _7.1_ _Description of the data_ Concentration measurement data from [1, 2, 3] were used to estimate the state variables of the newly developed bilinear model of the continuous countercurrent ion exchange (CCIX) process. The results are based on normalized data of a six stages CCIX process column. Process parameters were calculated for the input flow rate _FL_ = 2000 _m_ 3 / _h_, the up-flow period of _T_ = (17 / 60) _h_, resin liquid constant ratio _d_ = 2 / 3, the liquid holdups 42.809 _l_ and the resin holdups of 32.93 _l_ [1, 2, 4, 5]. The normalised original data measured from the University of Cape Town (UCT) project [1] is presented in Table I below. TABLE I. CCIX DATA SHOWING CONCENTRATION IN EACH STAGE OF THE CATION COLUMN AS PER UCT <u>PROJECT</u> ~~Stage H~~ <sup>~~+~~</sup> ~~fractional change in liquid concentration using data~~ obtained from UCT Project [Hendry, 1982b,Vol. 4] ~~Stage 1~~ ~~Stage 2~~ ~~Stage 3~~ ~~Stage 4~~ ~~Stage 5~~ ~~Stage 6~~ ~~0.221~~ ~~0.000~~ ~~0.000~~ ~~0.000~~ ~~0.000~~ ~~0.000~~ ~~0.577~~ ~~0.140~~ ~~0.040~~ ~~0.000~~ ~~0.000~~ ~~0.000~~ ~~<u>0.730</u>~~ ~~<u>0.314</u>~~ ~~<u>0.066</u>~~ ~~<u>0.004</u>~~ ~~<u>0.000</u>~~ ~~<u>0.000</u>~~ ~~<u>0.847</u>~~ ~~<u>0.523</u>~~ ~~<u>0.184</u>~~ ~~<u>0.035</u>~~ ~~<u>0.003</u>~~ ~~<u>0.000</u>~~ ~~<u>0.920</u>~~ ~~<u>0.656</u>~~ ~~<u>0.295</u>~~ ~~<u>0.082</u>~~ ~~<u>0.020</u>~~ ~~<u>0.000</u>~~ ~~0.936~~ ~~0.766~~ ~~0.454~~ ~~0.168~~ ~~0.052~~ ~~0.001~~ ~~<u>0.968</u>~~ ~~<u>0.842</u>~~ ~~<u>0.601</u>~~ ~~<u>0.277</u>~~ ~~<u>0.113</u>~~ ~~<u>0.024</u>~~ ~~<u>0.974</u>~~ ~~<u>0.886</u>~~ ~~<u>0.690</u>~~ ~~<u>0.361</u>~~ ~~<u>0.167</u>~~ ~~<u>0.033</u>~~ ~~<u>0.981</u>~~ ~~<u>0.900</u>~~ ~~<u>0.758</u>~~ ~~<u>0.440</u>~~ ~~<u>0.207</u>~~ ~~<u>0.063</u>~~ ~~<u>0.989</u>~~ ~~<u>0.933</u>~~ ~~<u>0.804</u>~~ ~~<u>0.522</u>~~ ~~<u>0.340</u>~~ ~~<u>0.124</u>~~ ~~0.988~~ ~~0.958~~ ~~0.877~~ ~~0.698~~ ~~0.474~~ ~~0.167~~ ~~<u>0.997</u>~~ ~~<u>0.963</u>~~ ~~<u>0.881</u>~~ ~~<u>0.784</u>~~ ~~<u>0.547</u>~~ ~~<u>0.233</u>~~ ~~<u>1.000</u>~~ ~~<u>0.982</u>~~ ~~<u>0.951</u>~~ ~~<u>0.899</u>~~ ~~<u>0.780</u>~~ ~~<u>0.482</u>~~ ~~<u>1.000</u>~~ ~~<u>0.974</u>~~ ~~<u>0.965</u>~~ ~~<u>0.931</u>~~ ~~<u>0.860</u>~~ ~~<u>0.539</u>~~ ~~<u>1.000</u>~~ ~~<u>0.991</u>~~ ~~<u>0.972</u>~~ ~~<u>0.966</u>~~ ~~<u>0.899</u>~~ ~~<u>0.672</u>~~ ~~1.000~~ ~~0.994~~ ~~0.981~~ ~~0.966~~ ~~0.905~~ ~~0.779~~ ~~<u>1.000</u>~~ ~~<u>0.993</u>~~ ~~<u>1.000</u>~~ ~~<u>0.991</u>~~ ~~<u>0.975</u>~~ ~~<u>0.940</u>~~ ~~<u>1.000</u>~~ ~~<u>0.993</u>~~ ~~<u>0.988</u>~~ ~~<u>0.991</u>~~ ~~<u>0.973</u>~~ ~~<u>0.972</u>~~ This data set shows the concentration in _fractional_ _change_ of sodium ions, _H_ + as determined from the equation,          _A_ −         = 26.406 0 0 0 0 0 28.921 −28.921 0 0 0 0 0 31.966 −31.966 0 0 0 0 0 35.726 −35.726 0 0 −28.921 0 31.966 −31.966 0 35.726   0 0 0 37.959 −37.959 0   0 0 0 0 43.382 −43.382 −37.959 43.382 .0013 .0011 0 0 0 0 0 - .0012 .0009 0 0 0 0 0 - .0010 .0006 0 0 _B_ 1 =         <sup></sup>  0 0 0 - .0007 .00054 0 0 0 0 0 - .0006 .0002 - .0012 0 - .0007 .0 0         <sup></sup>   <sup></sup>   <sup></sup>  0 0 0 0 0 - .0002 <sup></sup>   _T_          26.4065           .01000 _B_ =  , .01000  0  _W_ =  , 0          0 0 0 0 0 1 = .00400 .00500 .01000 .01000 .00500 .03500 =          _C_ =                      0 0 0 0 0 <u>.</u> _<u>F</u>_ <u>.</u> _<u>H</u>_ _<u>n</u>_ <u>++</u> <u>−</u> _<u>I</u>_ <u>.</u> _<u>F</u>_ <u>.</u> _<u>H</u>_ _<u>initial</u>_ ++ (30) _FCn_ = _<u>I</u>_ <u>.</u> _<u>F</u>_ <u>.</u> _<u>H</u>_ _<u>n</u>_ <u>++</u> <u>−</u> _<u>I</u>_ <u>.</u> _<u>F</u>_ <u>.</u> _<u>H</u>_ _<u>n</u>_ + <u>−</u> _<u>I</u>_ <u>.</u> _<u>F</u>_ <u>.</u> _<u>H</u>_ + <u>+</u> - _<u>I</u>_ <u>.</u> _<u>F</u>_ <u>.+</u> = _<u>I</u>_ <u>.</u> _<u>F</u>_ <u>.</u> _<u>H</u>_ _<u>n</u>_ + <u>−</u> <u>+</u> _n_ = _<u>II</u>_ <u>..</u> _<u>FF</u>_ <u>..</u> _<u>HH</u>_ _<u>n</u>_ <u>+</u> _final_ <u>−</u> _<u>I</u>_ −. _<u>FI</u>_ <u>..</u> _<u>FH</u>_ <u>.</u> _<u>initialinitial</u>_ <u>+</u> <u>.</u> _<u>F</u>_ <u>.</u> _<u>H</u>_ <u>+</u> _final_ - _<u>I</u>_ <u>.</u> _<u>F</u>_ <u>.</u> _final_ - _<u>I</u>_ <u>.</u> _<u>F</u>_ <u>.</u> _initial_ Where _FCn_ = the fractional change [2] _I_ . _F_ . _H_ _n_ + = the ionic fraction of _H_ + ions of the current measurement from the step change moment [2], _I_ . _F_ . _H_ _initial_ + = the initial ionic fraction of the _H_ + ions in stage [2], _I_ . _F_ . _H_ + _final_ = the final ion fraction of the _H_ + ions in the stage [2]. _7.2_ _Calculation of model matrices_ Matlab software programs were run using the data from Table I above to determine the unknown process parameters. The matrices of the process model were calculated to be: The observer gain matrix evaluated with the constant input signal value and model parameters from the above model matrices is shown in equation (31). 5 _L_ = 1×10 [.0782 .1975 .1235 .0024 .0020 .00016] <sup>_T_</sup> (31) _7.3_ _Experiments for validation of the observer gain_ _matrix and closed loop system performance_ Multiple simulation runs were performed with different _input signal values_, _initial conditions for the observer_ and the same _initial conditions for the process_, as per Table II below. A selected sample of the runs is presented here. The steps followed in the simulation procedure are also presented. The initial values of the estimated states are the same for every stage of the column. The simulation programs are run according to values in Table II until the dynamic error rate reaches zero. TABLE II. THE VALUES USED FOR VALIDATION OF <u>THE OBSERVER PERFORMANCE</u> ~~<u>Experiments performed</u>~~ ~~<u>Run 1</u>~~ ~~<u>Run 2</u>~~ ~~<u>Run 3</u>~~ ~~<u>Run 4</u>~~ ~~<u>Run 5</u>~~ ~~Input~~ value 0.0 1.0 5.0 10.0 20.0 _<u>u</u>_ <u>(</u> _<u>k</u>_ <u>)</u> 0.0 1.0 5.0 10.0 20.0 ~~Process~~ <u>1.0</u> <u>1.0</u> <u>1.0</u> <u>1.0</u> <u>1.0</u> <u>Init. Cond.</u> ~~Observer~~ <u>Init. Cond.</u> ~~<u>Set 1</u>~~ ~~<u>– 1.0</u>~~ ~~<u>– 1.0</u>~~ ~~<u>– 1.0</u>~~ ~~<u>– 1.0</u>~~ ~~<u>– 1.0</u>~~ ~~Set 2~~ ~~0 0~~ ~~0 0~~ ~~0 0~~ ~~0 0~~ ~~0 0~~ ~~<u>Set 3</u>~~ ~~<u>0.5</u>~~ ~~<u>0.5</u>~~ ~~<u>0.5</u>~~ ~~<u>0.5</u>~~ ~~<u>0.5</u>~~ ~~<u>Set 4</u>~~ ~~<u>1.0</u>~~ ~~<u>1.0</u>~~ ~~<u>1.0</u>~~ ~~<u>1.0</u>~~ ~~<u>1.0</u>~~ ~~<u>Set 5</u>~~ ~~<u>10.0</u>~~ ~~<u>10.0</u>~~ ~~<u>10.0</u>~~ ~~<u>10.0</u>~~ ~~<u>10.0</u>~~ ~~<u>Set 6</u>~~ ~~<u>20.0</u>~~ ~~<u>20.0</u>~~ ~~<u>20.0</u>~~ ~~<u>20.0</u>~~ ~~<u>20.0</u>~~ _7.4_ _Graphs and results of the simulation process_ The following graphs (Figures 5–22) show the behaviour of the process states (from the model) versus that of the estimated states (observer) based on Simulink simulation runs with a constant input signal of 1.0 and constant initial conditions of the states at 1.0 based on the number of upflow cycles. The different runs are based on the changing observer (estimated) states initial conditions of 1.0, 0, 1/2, 1.0, 5.0 and 10.0; these initial conditions are the same for every stage per each run, i.e., for _x_ ˆ1, _x_ ˆ2,..., _x_ ˆ6 . On the graphs the estimated states are represented by _x_ <sup>~</sup> _n_, _n_ = ~~6,1~~ . The error and error rate display (Figures 5–21) colour coding matches that of the process and the observer. Figure 5:Model states and estimated states for observer initial conditions of –1.0 and model initial conditions of 1.0 using a constant control input of 1.0. Figure 6: Error between process states and estimated states for observer initial conditions of –1.0 and model initial conditions of 1.0 using a constant control input of 1.0. Figure 7: Rate of change of the error for observer initial conditions of –1.0 and model initial conditions of 1.0 using a constant control input of 1.0. Figure 8: Model states and estimated states for observer initial conditions of 0.0 and model initial conditions of 1.0 using a constant control input of 1.0. Figure 9: Error between process states and estimated states for observer initial conditions of 0.0 and model initial conditions of 1.0 using a constant control input of 1.0. Figure 10: Rate of change of the error for observer initial conditions of 0.0 and model initial conditions of 1.0 using a constant control input of 1.0. Figure 11: Model states and estimated states for observer initial conditions of 0.5 and model initial conditions of 1.0 using a constant control input of 1.0. Figure 12: Error between process states and estimated states for observer initial conditions of 0.5 and model initial conditions of 1.0 using a constant control input of 1.0. Figure 13: Rate of change of the error for observer initial conditions of 0.5 and model initial conditions of 1.0 using a constant control input of 1.0. Figure 14: Model states and estimated states for initial conditions of 1.0 for both the observer and model using a constant input signal of 1.0. In Figure 14, in the same fashion for _x_ 1 = _x_ ~1, _x_ 2 = _x_ ~ 2, etc., _x_ 4 = _x_ ~ 4 and _x_ 5 = _x_ ~ 5 . Figure 15: Error between process states and estimated states for observer initial conditions of 1.0 and model initial conditions of 1.0 using a constant control input of 1.0. Figure 16: Rate of change of the error for observer initial conditions of 1.0 and model initial conditions of 1.0 using a constant control input of 1.0. Figure 17: Model states and estimated states for observer initial conditions of 5.0 and model initial conditions of 1.0 using a constant input signal of 1.0. Figure 18: Error between process states and estimated states for observer initial conditions of 5.0 and model initial conditions of 1.0 using a constant control input of 1.0. Figure 19: Rate of change of the error for observer initial conditions of 5.0 and model initial conditions of 1.0 using a constant control input of 1.0. Figure 20: Model states and estimated states for observer initial conditions of 10.0 and model initial conditions of 1.0 using a constant input signal of 1.0. Figure 21: Error between process states and estimated states for observer initial conditions of 10.0 and model initial conditions of 1.0 using a constant control input of 1.0. Figure 22: Rate of change of the error for observer initial conditions of 10.0 and model initial conditions of 1.0 using a constant control input of 1.0. These results are based on a system with constant observer gain matrix _L_ . It can be clearly seen from the Figures 5–22 that the observer fully tracks the system and converges at a relatively short time period, the 30 <sup>th</sup> cycle for the last stage. Each cycle is 17min. In general, the process of ion exchange is a slow process. In the case where the observer and the system have the same initial conditions, the observer converges even at a shorter period, just before the 20 <sup>th</sup> cycle. This case also shows that the observer is stable. These results further show that the observer is performing very well. At higher observer initial conditions, compared to that of the system (Figure 20), the observer seems to be not smooth in its tracking, but does converge in time compared to other cases where the initial conditions are not far from that of the system. The process system response times have also been examined over various constant control signals and different initial conditions, and these cases are presented by Table III and Table IV. The system responses considered are the rise time ( _Tr_ ), delay time ( _Td_ ) and settle time ( _Ts_ ) for the first, the third and the sixth stages of the ion exchange process column. Both the model and the observer (estimated) system responses are presented in Table III – Table IV. TABLE III. RISE TIME VS OBSERVER CHANGING INITIAL <u>CONDITION</u> Process Rise Time vs. Observer Changing Initial Conditions <u>Input Signal</u> _<u>u</u>_ ~~(~~ _<u>k</u>_ ~~)~~ <u>=</u> ~~0~~ ~~Observer~~ ~~State~~ _~~x~~_ ~~1~~ ~~State~~ _~~x~~_ ~~3~~ ~~State~~ _~~x~~_ ~~6~~ Init. Cond. <sup>_<u>x</u>_</sup> 1 <sup>_<u>x</u>_</sup> <sup>~~ˆ~~</sup> 1 _<u>x</u>_ 3 <sup>_<u>x</u>_</sup> <sup>~~ˆ~~</sup> 3 _<u>x</u>_ 6 <sup>_<u>x</u>_</sup> <sup>~~ˆ~~</sup> 6 ~~<u>-1</u>~~ ~~<u>9.319</u>~~ ~~<u>9.319</u>~~ ~~<u>9.170</u>~~ ~~<u>9.170</u>~~ ~~<u>11.42</u>~~ ~~<u>1.622</u>~~ ~~<u>0</u>~~ ~~<u>8.846</u>~~ ~~<u>0</u>~~ ~~<u>8.940</u>~~ ~~<u>0</u>~~ ~~<u>11.42</u>~~ ~~<u>#NA</u>~~ ~~<u>0.5</u>~~ ~~<u>8.079</u>~~ ~~<u>8.079</u>~~ ~~<u>8.993</u>~~ ~~<u>8.993</u>~~ ~~<u>11.42</u>~~ ~~<u>1.622</u>~~ ~~<u>1</u>~~ ~~<u>4.061</u>~~ ~~<u>4.061</u>~~ ~~<u>4.625</u>~~ ~~<u>4.625</u>~~ ~~<u>4.237</u>~~ ~~<u>4.237</u>~~ <u>Input Signal</u> _<u>u</u>_ <u>(</u> _<u>k</u>_ <u>)</u> <u>=</u> <u>1</u> ~~<u>-1</u>~~ ~~<u>9.351</u>~~ ~~<u>9.290</u>~~ ~~<u>9.331</u>~~ ~~<u>9.015</u>~~ ~~<u>11.56</u>~~ ~~<u>1.624</u>~~ ~~<u>0</u>~~ ~~<u>8.870</u>~~ ~~<u>8.814</u>~~ ~~<u>9.100</u>~~ ~~<u>10.22</u>~~ ~~<u>11.57</u>~~ ~~<u>#NA</u>~~ ~~<u>0.5</u>~~ ~~<u>8.111</u>~~ ~~<u>7.138</u>~~ ~~<u>9.130</u>~~ ~~<u>9.264</u>~~ ~~<u>11.53</u>~~ ~~<u>8.831</u>~~ ~~<u>1</u>~~ ~~<u>4.078</u>~~ ~~<u>4.078</u>~~ ~~<u>4.693</u>~~ ~~<u>4.693</u>~~ ~~<u>4.294</u>~~ ~~<u>4.294</u>~~ <u>Input Signal</u> _<u>u</u>_ <u>(</u> _<u>k</u>_ <u>)</u> <u>=</u> <u>5</u> ~~<u>-1</u>~~ ~~<u>9.483</u>~~ ~~<u>9.173</u>~~ ~~<u>10.07</u>~~ ~~<u>8.638</u>~~ ~~<u>12.13</u>~~ ~~<u>1.633</u>~~ ~~<u>0</u>~~ ~~<u>8.964</u>~~ ~~<u>8.823</u>~~ ~~<u>10.02</u>~~ ~~<u>10.85</u>~~ ~~<u>12.21</u>~~ ~~<u>#NA</u>~~ ~~<u>0.5</u>~~ ~~<u>8.238</u>~~ ~~<u>8.380</u>~~ ~~<u>9.847</u>~~ ~~<u>11.43</u>~~ ~~<u>12.08</u>~~ ~~<u>9.550</u>~~ ~~<u>1</u>~~ ~~<u>4.145</u>~~ ~~<u>4.145</u>~~ ~~<u>4.964</u>~~ ~~<u>6.309</u>~~ ~~<u>6.300</u>~~ ~~<u>6.309</u>~~ <u>Input Signal</u> _<u>u</u>_ <u>(</u> _<u>k</u>_ <u>)</u> <u>=</u> <u>10</u> ~~<u>-1</u>~~ ~~<u>9.651</u>~~ ~~<u>9.026</u>~~ ~~<u>11.61</u>~~ ~~<u>8.249</u>~~ ~~<u>12.91</u>~~ ~~<u>1.643</u>~~ ~~<u>0</u>~~ ~~<u>9.236</u>~~ ~~<u>8.841</u>~~ ~~<u>11.58</u>~~ ~~<u>10.69</u>~~ ~~<u>13.13</u>~~ ~~<u>#NA</u>~~ ~~<u>0.5</u>~~ ~~<u>8.413</u>~~ ~~<u>8.850</u>~~ ~~<u>11.47</u>~~ ~~<u>#NA</u>~~ ~~<u>12.96</u>~~ ~~<u>10.75</u>~~ ~~<u>1</u>~~ ~~<u>4.231</u>~~ ~~<u>4.231</u>~~ ~~<u>5.400</u>~~ ~~<u>5.400</u>~~ ~~<u>6.728</u>~~ ~~<u>6.724</u>~~ <u>Input Signal</u> _<u>u</u>_ <u>(</u> _<u>k</u>_ <u>)</u> <u>=</u> <u>20</u> ~~<u>-1</u>~~ ~~<u>10.04</u>~~ ~~<u>8.863</u>~~ ~~<u>#NA</u>~~ ~~<u>7.731</u>~~ ~~<u>18.56</u>~~ ~~<u>1.667</u>~~ ~~<u>0</u>~~ ~~<u>9.783</u>~~ ~~<u>8.947</u>~~ ~~<u>#NA</u>~~ ~~<u>10.89</u>~~ ~~<u>18.21</u>~~ ~~<u>#NA</u>~~ ~~<u>0.5</u>~~ ~~<u>8.723</u>~~ ~~<u>10.30</u>~~ ~~<u>13.26</u>~~ ~~<u>12.86</u>~~ ~~<u>17.95</u>~~ ~~<u>17.10</u>~~ ~~<u>1</u>~~ ~~<u>4.407</u>~~ ~~<u>4.407</u>~~ ~~<u>20.96</u>~~ ~~<u>20.96</u>~~ ~~<u>20.96</u>~~ ~~<u>20.96</u>~~ TABLE IV. SETTLE TIME VS OBSERVER CHANGING INITIAL CONDITION ~~Process Settle Time vs. Observer Changing Initial Conditions~~ <u>Input Signal</u> _<u>u</u>_ <u>(</u> _<u>k</u>_ <u>)</u> <u>=</u> <u>0</u> ~~Observer~~ State _x_ 1 State _x_ 3 State _x_ 6 Init. Con. <sup>_<u>x</u>_</sup> 1 <sup>_<u>x</u>_</sup> <sup>~~ˆ~~</sup> 1 _<u>x</u>_ 3 <sup>_<u>x</u>_</sup> <sup>~~ˆ~~</sup> 3 _<u>x</u>_ 6 <sup>_<u>x</u>_</sup> <sup>~~ˆ~~</sup> 6 ~~<u>-1</u>~~ ~~<u>16.00</u>~~ ~~<u>16.00</u>~~ ~~<u>23.00</u>~~ ~~<u>22.90</u>~~ ~~<u>26.50</u>~~ ~~<u>28.50</u>~~ ~~<u>0</u>~~ ~~<u>28.20</u>~~ ~~<u>16.40</u>~~ ~~<u>40.00</u>~~ ~~<u>21.00</u>~~ ~~<u>45.00</u>~~ ~~<u>42.00</u>~~ ~~<u>0.5</u>~~ ~~<u>14.30</u>~~ ~~<u>14.40</u>~~ ~~<u>19.20</u>~~ ~~<u>21.20</u>~~ ~~<u>27.70</u>~~ ~~<u>36.00</u>~~ ~~<u>1</u>~~ ~~<u>11.00</u>~~ ~~<u>16.00</u>~~ ~~<u>22.00</u>~~ ~~<u>22.00</u>~~ ~~<u>0.000</u>~~ ~~<u>0.000</u>~~ <u>Input Signal</u> _<u>u</u>_ <u>(</u> _<u>k</u>_ <u>)</u> <u>=</u> <u>1</u> ~~<u>-1</u>~~ ~~<u>16.20</u>~~ ~~<u>15.90</u>~~ ~~<u>24.00</u>~~ ~~<u>22.50</u>~~ ~~<u>29.80</u>~~ ~~<u>28.80</u>~~ ~~<u>0</u>~~ ~~<u>31.50</u>~~ ~~<u>21.30</u>~~ ~~<u>39.70</u>~~ ~~<u>42.80</u>~~ ~~<u>46.50</u>~~ ~~<u>59.00</u>~~ ~~<u>0.5</u>~~ ~~<u>14.50</u>~~ ~~<u>14.50</u>~~ ~~<u>22.30</u>~~ ~~<u>20.30</u>~~ ~~<u>27.20</u>~~ ~~<u>28.00</u>~~ ~~<u>1</u>~~ ~~<u>11.50</u>~~ ~~<u>11.50</u>~~ ~~<u>14.60</u>~~ ~~<u>14.60</u>~~ ~~<u>25.50</u>~~ ~~<u>29.10</u>~~ <u>Input Signal</u> _<u>u</u>_ <u>(</u> _<u>k</u>_ <u>)</u> <u>=</u> <u>5</u> ~~<u>-1</u>~~ ~~<u>17.00</u>~~ ~~<u>15.20</u>~~ ~~<u>32.00</u>~~ ~~<u>26.00</u>~~ ~~<u>36.00</u>~~ ~~<u>32.00</u>~~ ~~<u>0</u>~~ ~~<u>39.00</u>~~ ~~<u>37.50</u>~~ ~~<u>47.50</u>~~ ~~<u>38.50</u>~~ ~~<u>54.00</u>~~ ~~<u>48.00</u>~~ ~~<u>0.5</u>~~ ~~<u>15.55</u>~~ ~~<u>19.30</u>~~ ~~<u>21.10</u>~~ ~~<u>21.50</u>~~ ~~<u>30.40</u>~~ ~~<u>29.70</u>~~ ~~<u>1</u>~~ ~~<u>12.00</u>~~ ~~<u>12.00</u>~~ ~~<u>21.00</u>~~ ~~<u>21.00</u>~~ ~~<u>28.00</u>~~ ~~<u>28.00</u>~~ <u>Input Signal</u> _<u>u</u>_ <u>(</u> _<u>k</u>_ <u>)</u> <u>=</u> <u>10</u> ~~<u>-1</u>~~ ~~<u>16.00</u>~~ ~~<u>13.40</u>~~ ~~<u>23.50</u>~~ ~~<u>18.20</u>~~ ~~<u>29.80</u>~~ ~~<u>28.30</u>~~ ~~<u>0</u>~~ ~~<u>37.50</u>~~ ~~<u>37.50</u>~~ ~~<u>41.50</u>~~ ~~<u>36.00</u>~~ ~~<u>59.00</u>~~ ~~<u>59.00</u>~~ ~~<u>0.5</u>~~ ~~<u>17.74</u>~~ ~~<u>27.50</u>~~ ~~<u>21.88</u>~~ ~~<u>21.60</u>~~ ~~<u>28.40</u>~~ ~~<u>35.00</u>~~ ~~<u>1</u>~~ ~~<u>15.50</u>~~ ~~<u>15.50</u>~~ ~~<u>25.60</u>~~ ~~<u>25.60</u>~~ ~~<u>26.00</u>~~ ~~<u>26.00</u>~~ <u>Input Signal</u> _<u>u</u>_ <u>(</u> _<u>k</u>_ <u>)</u> <u>=</u> <u>20</u> ~~<u>-1</u>~~ ~~<u>16.00</u>~~ ~~<u>16.10</u>~~ ~~<u>23.00</u>~~ ~~<u>17.80</u>~~ ~~<u>29.30</u>~~ ~~<u>28.00</u>~~ ~~<u>0</u>~~ ~~<u>31.50</u>~~ ~~<u>25.00</u>~~ ~~<u>41.50</u>~~ ~~<u>35.00</u>~~ ~~<u>58.00</u>~~ ~~<u>51.00</u>~~ ~~<u>0.5</u>~~ ~~<u>22.00</u>~~ ~~<u>14.50</u>~~ ~~<u>21.70</u>~~ ~~<u>22.00</u>~~ ~~<u>35.00</u>~~ ~~<u>29.80</u>~~ ~~<u>1</u>~~ ~~<u>11.75</u>~~ ~~<u>11.75</u>~~ ~~<u>13.30</u>~~ ~~<u>13.30</u>~~ ~~<u>30.00</u>~~ ~~<u>25.30</u>~~ _7.5_ _Discussion_ The observer has shown that it converges within a reasonable time and maintains the error rate close to zero for the rest of the observed period, Figure 5 – Figure 22. The observer has also shown to be sensitive to the input signal. The input signal values should also be kept within normalized values (0–1.0), otherwise overshoot will be experienced in some process stages. The observer gain matrix values tend to be very high; this could be associated with the determinant calculation that involves a very large number of computational values. Error results showed the success of the observer. The error tracked the difference between estimated and measured states correctly as expected. The error rate showed fairly fast tracking capabilities, thus confirming a well designed observer. 8. CONCLUSION The observer design for a bilinear model of the Continuous Countercurrent Ion Exchange (CCIX) process has been developed. The observer design has been developed based on real data of the ion exchange process obtained from experiments conducted previously in an ion exchange process of the same type. The data have been normalized for this exercise and simulation results from Simulink and Matlab showed the design to be competently conclusive. The observer converges even if different initial conditions are applied (see Figures 5–22). The results show that the bilinear type observer is applicable in this type of a bilinear process models. The influence of the process initial conditions in comparison to the observer initial conditions has been presented through system responses as indicated by the figures and the tables, Tables III – IV. 9. ACKNOWLEDGMENT The authors would like to thank Mr. BA. Henry and Mr. K. Raqowa both of Chemical Engineering Department of Cape Peninsula University of Technology (Bellville) for the help with the process technology and knowledge about the ion exchange process. The project is funded under NRF (National Research Foundation) THRIP grant TP2011061100004. 10. REFERENCES [1]. B.A. Hendry: “Continuous countercurrent ion exchange for desalination and tertiary treatment of effluents and other brackish waters”, _Water Science_ _Technology_, Vol. 14, No. 6-7, pp. 535 – 352, 1982. [2]. B.A. Hendry: “Ion exchange for desalination and tertiary treatment of effluents”, _Department of_ _Chemical Engineering, University of Cape Town_ (UCT), Vol. 1–5, December 1982. [3]. E.W. Randall: 1984. “A microprocessor-based data monitoring and control system for a continuous ion exchange plant”, _Desalination_, 49, pp. 169–184. [4]. N.M. Dube; “Modelling and optimal control of ion exchange process”, MTech Dissertation, _Department_ _of Electrical Engineering_, Peninsula Tech., Bellville, 2001, pp. 139–162. [5]. N.M. Dube and R. Tzoneva: “Method for optimal control of ion exchange process for desalination of water”, _The Third International Conference on_ _Control and Automation_ (ICCA ’01), pp. 579–583, December 2001. [6]. Z. Wang, and H. Zhang: “Design of bilinear observer for singular bilinear systems”, _Journal of Control_ _Theory and Applications_, Vol. 4, 2006, pp. 413–417. [7]. S. Hara, and K. Furuta: “Minimal order state observers for bilinear systems”, _International_ _Journal of Control_, 1976, Vol. 24, No. 5, pp. 705– 718. [8]. N. Kazantzis, and C. Kravaris: “Nonlinear observer design Lyapunov’s auxiliary theorem”, _Systems &_ _Control Letters_, 34, (1998), pp. 241–247. [9]. D.G. Luenberger: “Observing the state of a linear system”, _IEEE Transactions on Military Electronics_, 1964, pp. 74–80. [10]. B.L. Walcott, and S.H. Zak: “State observation of nonlinear uncertain dynamical systems”, _IEEE_ _Transactions on Automatic Control_, Vol. AC-32, No. 2, February 1987, pp 166–170. [11]. D. Williamson: “Observation of bilinear systems with application to biological control”, _Automatica_, Vol. 13, (1977), pp. 243–254. [12]. A.J. Krener and W. Respondek: “Nonlinear observer with linearizable error dynamics”, _SIAM Journal of_ _Control & Optimization_, Vol. 23, No. 2, 1985, pp. 197–216. [13]. M. Saif: “A disturbance accommodating estimator for bilinear systems”, _Proceedings of American_ _Control Conference_, San Francisco, California, 1993, Paper WP 11–16:30, pp. 945–949. [14]. A. Behal, A.K. Jain, and K. Joshi: “ Observers for a special class of bilinear systems: Design and application,” _IEEE Transactions on Automatic_ _Control_, Vol. 51, No. 11, pp. 1854–1858, November 2006. [15]. O.M. Grasselli, and A. Isidori: An existence theorem for observers of bilinear systems,” _IEEE_ _Transactions on Automatic Control_, 1981, Vol. 27, No. 6, pp. 1299–1300. [16]. J.P. Gauthier, H. Hammouri, and S. Othman: “A simple observer for nonlinear systems applications to bioreactors,” _IEEE Transactions on Automatic_ _Control_, Vol. 37, No. 6, pp. 875–880, June 1992. [17]. D.G. Luenberger: “An introduction to observers”, _IEEE Transactions on Automatic Control_, Vol. AC16, No. 6, pp. 596–602, December 1971. [18]. A.F. Lynch and S.A. Bortoff: “Nonlinear observer design by approximate error linearization”, _Systems_ _& Control Letters_, 32, (1997), pp. 161–172. [19]. M.-Q. Xiao: “A direct construction of nonlinear discrete-time observer with linearizable error dynamics”, _Proceedings in: 2005 American Control_ _Conference_, 2005, Portland, OR, USA., June 8–10 [20]. D. Atroune: “Nonlinear observers for continuous fermentation processes,” _Applied_ _Mathematics_ _Letters_, Vol. 1, No. 4, (1988), pp 321–325. [21]. E.B. Braiek, and F. Rotella: “State observer design for analytical nonlinear systems”, _Proceedings of_ _IEEE International Conference on Systems, Man, &_ _Cybernetics_, 1994, Vol. 3, pp. 2045–2050. [22]. M.R. James and J.S. Baras: 2006. “An observer design for nonlinear control systems”, _In: Analysis_ _and Optimization of S_ _<mark>ystems</mark>_ <mark>, (Eds) A. Bensoussan</mark> <mark>and JL. Lions, Series: Lecture Notes in Control and</mark> <mark>Information</mark> <mark>Sciences,</mark> <mark>Vol.</mark> <mark>111,</mark> Heidelberg: Springer-Verlag, pp. 170–180. [23]. Raghavan, and J.K. Hedrik: “Observer design for a class of nonlinear systems”, _International Journal of_ _Control_, Vol. 59, No. 2, 1994, pp. 515–528. [24]. K.K. Busawon, and M. Saif: “A State observer for nonlinear systems”, _IEEE Transactions on Automatic_ _Control_, Vol. 44, No. 11, pp. 2098–2103, November 1999. [25]. M.-S. Chen and C.-C. Chen: “Robust nonlinear observer for Lipschitz nonlinear systems subject to disturbances”, _IEEE Transactions on Automatic_ _Control_, Vol. 52, No. 12, December 2007, pp. 2365– 2369. [26]. A. Zemouche, and M. Boutayeb: “On LMI conditions to design observers for Lipschitz nonlinear systems”, _Automatica_, 49, (2013), pp. 585– 591. [27]. X. Hu: “On state observers for nonlinear systems”, _Systems & Control Letters_, 17, (1991), pp. 465–473. [28]. E.E. Yaz, C.S. Jeong, A. Bahakeem, and Y.I. Yaz: “Discrete-time nonlinear observer design with general criteria”, _Journal of the Franklin Institute_, 344, (2007) pp. 918–928. [29]. H. Souley Ali, H. Rafaralahy, M. Zasadzinski, S. Halabi and M. Darouach: “Observer design for a class of stochastic bilinear systems with multiplicative noise”, FrA07.6, (2005) _American_ _Control Conference_, Portland, OR, USA, pp. 3641– 3642, June 8-10, 2005. [30]. K. Joshi, A. Behal, A.K. Jain, and R. Sadagopan: “Observers for a special class of bilinear systems: Design, analysis, and application,” 2005 _American_ _Control Conference_, Portland, OR, USA, FrC08.3, pp. 4808–4813, June 8–10, 2005. [31]. B. Tibken, and E.P. Hofer: “Systematic observer design for bilinear systems,” _IEEE. ISCAS '89_, _IEEE_ _International Symposium on Circuits & Systems,_ Vol. 4, pp. 1611–1616. [32]. C.S. Hsu, and U.B. Desai: “Approximate reduced order observers of bilinear systems,” _Proceedings of_ _23rd Conference on Decision & Control_, Las Vegas, NV, pp. 798–799, December 1984. [33]. T. Taniguchi, L. Eciolaza, and M. Sugeno: “Full order state observer design for nonlinear systems based on piecewise bilinear models,” _International_ _Journal of Modeling and Optimization_, Vol. 4, No. 2, April 2014, pp. 120–125. [34]. M.A. Hammami, and H. Jerbi: “Separation principle for nonlinear systems using a bilinear approximation,” _Kybernetika_, Vol. 37, (2001), No. 5, pp. 565–573. [35]. D. Vries, K.J. Keesman, and H. Zwart: “A Luenberger observer for an infinite dimensional bilinear system: a UV disinfection example”, _Preprints of the 3rd IFAC Symposium on System,_ _Structure & Control_, SSSC07, Foz do Iguassu, Brazil, October 17-19th, 2007. [36]. V. Sundarapandian: General observers for nonlinear systems, _Mathematical & Computer Modelling_, 39, (2004), pp. 97–105. [44]. R. Dodds, P.I. Hudson, L. Kershenbaum, and M. Streat: “The operation and modelling of a periodic countercurrent solid-liquid reactor”, _Chemical_ _Engineering Science_, Vol. 28, No. 6, 1973, pp. 1233–1248. [45]. F.J.M. Horn: 1967. Periodic countercurrent processes, I and EC Process Design and Development, Vol. 6, No.1, pp. 30–35. [46]. M.J. Slater: 1974. Continuous ion exchange in fluidized beds. _The Canadian Journal of Chemical_ _Engineering_, Vol. 52, No. 1, pp. 43–51, February 1974. [37]. O.I. Goncharov: “Observer design for bilinear systems of a special form,” _Differential Equations_, 2012, Vol. 48, No. 12, pp. 1596–1606, Pleiades Publishing, Ltd., 2012. [38]. Y. Funahashi: 1979. An observable canonical form of discrete-time bilinear systems, _IEEE Transactions_ _on Automatic Control_, 24, No. 5, pp. 802–803. [39]. M.Q. Phan, F.Vicario, R.W. Longman, and R. Betti: 2015. Observers for bilinear state-space models by interaction matrices, Columbia University Academic Commons, http://dx.doi.org/10.7916/D8W37VKR. [40]. P.A. Ioannou and J. Sun: 2012. Robust adaptive control (Dover Books on Electrical Engineering). Dover edition, Mineola, New York (United States): Dover Publications. [41]. K. Rothenhagen, and F. W. Fuchs: 2009. “Current sensor fault detection by bilinear observer for a doubly fed induction generator”, _IEEE Transactions_ _on Industrial Electronics_, Vol. 56, No. 10, October 2009, pp. 4239–4245. [42]. H. Rafaralahy, M. Zasadzinski, M. Boutayeb, M. Darouach: 1996 “Comments on ‘State observation of a fixed-bed reactor based on reduced bilinear models’” _International Journal of Systems Science_, Taylor & Francis, 1996, Vol. 27, No. 3, pp. 349–351. <hal-00098272> [43]. R.E. Treybal: 1980. _Mass transfer operations_, 3rd Ed. International Edition Singapore: McGraw-Hill.

섹션 본문

섹션 본문이 없습니다.

참고문헌 30건

  1. Observers for Bilinear State-Space Models by Interaction Matrices 2015 10.7916/d8w37vkr
  2. Systematic observer design for bilinear systems 1993 IEEE International Symposium on Circuits and Systems · 2003 10.1109/iscas.1989.100671
  3. On state observers for nonlinear systems Systems & Control Letters · Elsevier BV · 1991 10.1016/0167-6911(91)90086-t
  4. State observation of nonlinear uncertain dynamical systems IEEE Transactions on Automatic Control · Institute of Electrical and Electronics Engineers · 1987 10.1109/tac.1987.1104530
  5. A microprocessor-based data monitoring and control system for a continuous ion exchange plant Desalination · Elsevier BV · 1984 10.1016/0011-9164(84)85029-8
  6. Observer design for bilinear systems of a special form Differential Equations · Pleiades Publishing · 2012 10.1134/s0012266112120063
  7. The operation and modelling of a periodic, countercurrent, solid—liquid reactor Chemical Engineering Science · Elsevier BV · 1973 10.1016/0009-2509(73)80076-4
  8. Comments on ‘State observation of a fixed-bed reactor based on reduced bilinear models’ International Journal of Systems Science · Taylor & Francis · 1996 10.1080/00207729608929223
  9. An existence theorem for observers of bilinear systems IEEE Transactions on Automatic Control · Institute of Electrical and Electronics Engineers · 1981 10.1109/tac.1981.1102814
  10. Observation of bilinear systems with application to biological control Automatica · Elsevier BV · 1977 10.1016/0005-1098(77)90051-6
  11. Robust Nonlinear Observer for Lipschitz Nonlinear Systems Subject to Disturbances IEEE Transactions on Automatic Control · Institute of Electrical and Electronics Engineers · 2007 10.1109/tac.2007.910724
  12. Minimal order state observers for bilinear systems International Journal of Control · Taylor & Francis · 1976 10.1080/00207177608932857
  13. Periodic Countercurrent Processes Industrial & Engineering Chemistry Process Design and Development · American Chemical Society · 1967 10.1021/i260021a006
  14. Design of bilinear observer for singular bilinear systems Journal of Control Theory and Applications · Springer Nature · 2006 10.1007/s11768-006-4128-1
  15. On LMI conditions to design observers for Lipschitz nonlinear systems Automatica · Elsevier BV · 2012 10.1016/j.automatica.2012.11.029
  16. An observable canonical form of discrete-time bilinear systems IEEE Transactions on Automatic Control · Institute of Electrical and Electronics Engineers · 1979 10.1109/tac.1979.1102154
  17. Observing the State of a Linear System IEEE Transactions on Military Electronics · Institute of Electrical and Electronics Engineers · 1964 10.1109/tme.1964.4323124
  18. Continuous ion exchange in fluidized beds The Canadian Journal of Chemical Engineering · Wiley · 1974 10.1002/cjce.5450520107
  19. A LUENBERGER OBSERVER FOR AN INFINITE DIMENSIONAL BILINEAR SYSTEM: A UV DISINFECTION EXAMPLE IFAC Proceedings Volumes · Elsevier BV · 2007 10.3182/20071017-3-br-2923.00109
  20. A simple observer for nonlinear systems applications to bioreactors IEEE Transactions on Automatic Control · Institute of Electrical and Electronics Engineers · 1992 10.1109/9.256352
  21. Observers for a Special Class of Bilinear Systems: Design and Application IEEE Transactions on Automatic Control · Institute of Electrical and Electronics Engineers · 2006 10.1109/tac.2006.883037
  22. A Disturbance Accommodating Estimator for Bilinear Systems American Control Conference · 1993 10.23919/acc.1993.4793002
  23. Observer design for a class of nonlinear systems International Journal of Control · Taylor & Francis · 1994 10.1080/00207179408923090
  24. Observer design for a class of stochastic bilinear systems with multiplicative noise 2005 10.1109/acc.2005.1470539
  25. Observers for a special class of bilinear systems: design, analysis, and application 2005 10.1109/acc.2005.1470756
  26. A state observer for nonlinear systems IEEE Transactions on Automatic Control · Institute of Electrical and Electronics Engineers · 1999 10.1109/9.802924
  27. A direct construction of nonlinear discrete-time observer with linearizable error dynamics 2005 10.1109/acc.2005.1470535
  28. Continuous Countercurrent Ion Exchange for Desalination and Tertiary Treatment of Effluents and Other Brackish Waters Water Science & Technology · Pergamon Press · 1982 10.2166/wst.1982.0124
  29. Separation principle for nonlinear systems using a bilinear approximation Kybernetika · Institute of Information Theory and Automation of the Czech Academy of Sciences · 2001
  30. Current Sensor Fault Detection by Bilinear Observer for a Doubly Fed Induction Generator Proceedings of the Annual Conference of the IEEE Industrial Electronics Society · Institute of Electrical and Electronics Engineers · 2006 10.1109/iecon.2006.347390