14.02.2013 Views

Thesis - Leigh Moody.pdf - Bad Request - Cranfield University

Thesis - Leigh Moody.pdf - Bad Request - Cranfield University

Thesis - Leigh Moody.pdf - Bad Request - Cranfield University

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Appendix I / Utilities / Digital Filters<br />

_ _<br />

X<br />

i<br />

− X<br />

i−1<br />

><br />

X&<br />

L<br />

⋅ ∆t<br />

⇒<br />

⎧<br />

⎪<br />

⎨<br />

⎪<br />

⎩<br />

y<br />

22.8-14<br />

: =<br />

X<br />

i<br />

+ X&<br />

Each rate limiting function is identified by (N).<br />

22.8.21 Digital State Space Update<br />

L<br />

LIMIT<br />

⋅ ∆t<br />

⋅ sign<br />

: =<br />

( X − X )<br />

1<br />

i<br />

i−1<br />

⎫<br />

⎪<br />

⎬<br />

⎪<br />

⎭<br />

Equation 22.8-99<br />

D_STATESPACE takes in state-space matrices A(N,N), B(N,I), C(O,I) and<br />

D(O,I), and input and state vectors U(I) and X(N) at time (tk), where (N), (I)<br />

and (O) represent the number of states, inputs and outputs. It returns the<br />

updated state vector at time (tk+1), and the output vector Y(O) at time (tk).<br />

D_STATESPA CE<br />

22.8.22 Parameter Range Check<br />

( [ A ] , [ B ] , [ C ] , [ D ] , X , U , Y , N , I , O )<br />

X : = A ⋅ X + B ⋅ U<br />

k + 1<br />

k + 1<br />

k<br />

Y : = C ⋅ X + D ⋅ U<br />

k<br />

k<br />

k<br />

k<br />

k<br />

k<br />

k<br />

Equation 22.8-100<br />

Equation 22.8-101<br />

Equation 22.8-102<br />

RANGE_CHECK takes input (X), and returns a flag indicating if the<br />

parameter is in the range specified by the upper and lower limits [ L , U ].<br />

22.8.23 Digital Butterworth Filters<br />

y : = RANGE_CHECK<br />

( X , L , U )<br />

[ L , U ] ⇒ y : 0<br />

X ∈<br />

=<br />

] L , U [ ⇒ y : 1<br />

X ∈<br />

=<br />

Equation 22.8-103<br />

Equation 22.8-104<br />

Equation 22.8-105<br />

D_BUTTER propagates up to 50 digital low pass Butterworth filters of order<br />

(M), with a -3dB break frequency of (ωB) over time interval (∆t), and time<br />

varying characteristics.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!