Why Implement system Using DIfferent structures K Equivalent structures with regard to their input-output characteristics for infinite-precision representation, may have vastly different behavior when numerical precision is limited Effects of finite-precision of coefficients and truncation or rounding of intermediate computations are considered in latter sections l Computational structures(Modeling methods ◆ Block Diagram ◆ Signal Flow Graph
7 Why Implement system Using Different Structures? ◆Equivalent structures with regard to their input-output characteristics for infinite-precision representation, may have vastly different behavior when numerical precision is limited. ◆Effects of finite-precision of coefficients and truncation or rounding of intermediate computations are considered in latter sections. ◆Computational structures(Modeling methods): ◆Block Diagram ◆Signal Flow Graph
Structures for discrete-time Systems 6.1 Block Diagram Representation of Linear Constant-Coefficient difference Equations
8 Structures for Discrete-Time Systems 6.1 Block Diagram Representation of Linear Constant-Coefficient Difference Equations
6. 1 Block Diagram Representation of Linear Constant-Coefficient Difference equations yIn=ayln-+bor n+xiN Three basic elements: Unit Delay Memory, storage) In/12 xin M sample Delay z-Mm17 a Multiplier axin Adder xin+x2n
9 6.1 Block Diagram Representation of Linear Constant-Coefficient Difference Equations + x1 [n] x2 [n] x1 [n] + x2 Adder [n] x[n] a Multiplier ax[n] x[n] x[n-1] z Unit Delay −1 (Memory, storage) y n ay n b x n b x n = − + + − 1 1 0 1 Three basic elements: M sample Delay z -M x[n-M]
EX. 6.1 draw Block Diagram Representation of a Second-order Difference Equation y[n]=ay[n-1]+a2y[n-2]+box[n y[n]-aiy[n-1]-a2y[n-2]=bo-in Solution b Y(=) X(=)1-a1 n-1] =H(z)
10 Ex. 6.1 draw Block Diagram Representation of a Second-order Difference Equation 1 2 0 y n y n y n b x n [ ] [ 1] [ 2] [ ] = − + − + a a x[n] + + b0 a1 z −1 z −1 a2 y[n] y[n-1] y[n-2] 0 2 1 2 1 ( ) ( ) 1 Y z b X z z a a z − − − − = Solution: = H z( ) 1 2 0 y n y n y n b x n [ ] [ 1] [ 2] [ ] − − a a − − =
Nth-Order Difference Equations N Form ayn-k=∑对m一k1 changed k=0 k=0 to N M 川-∑an-6]=∑bn-k alo] k=1 k=0 normalized M to unity yinI=∑4m-+ kn k=1 k=0 ∑b-6 H()=-k ∑a=k k=1
11 Nth-Order Difference Equations 1 0 [ ] [ ] [ ] N M k k k k y n a y n k b x n k = = − − = − = − = − − = N k k k M k k k a z b z H z 1 1 1 ( ) 0 0 [ ] [ ] = = − = − N M k k k k a y n k b x n k 1 0 [ ] [ ] [ ] N M k k k k y n a y n k b x n k = = = − + − Form changed to a[0] normalized to unity