Interpreting a signal block diagram to form transfer funciton

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
24 replies · 4K views
Evo8
Messages
168
Reaction score
0

Homework Statement


Given the following block diagram. Calculate the transfer function H(z) and find [itex]\theta (f=\frac{f_{s}}{6})[/itex]
2.jpg


Homework Equations



[itex]H(z)=\frac{Y(z)}{X(z)}[/itex]

The Attempt at a Solution


Ok So I know i need to find my y(k) output equation from this. I can then rearange the equation so I have x terms and y terms on opposite sides and then take the Z transform of each side. Then rearange so that I end up with

[itex]\frac{Y(z)}{X(z)}[/itex] Which should be my H(z). Then I can find [itex]\theta(f)[/itex] and evaluate at f= fs/6.

I think that's the correct process anyway.


However I am not 100% on how to interpret the block diagram in this case. I have what looks like a feed back from x(k) i think i can handle that but not sure about the y(k) terms if any.

This is what I have come up with so far.

[itex]3x(k-1)-\frac{1}{3}x(k-1)+y(k)[/itex]

However I am not sure what I have here is 100% correct. Any hints would be much appreciated.

Thanks,
 
Physics news on Phys.org
Hi Evo8! :smile:

I prefer to work in the z-domain for things like this.
I do not know how you are taught these things, so perhaps the way I do it may be different from the way you are taught.
The result however will be the same.


So if you'll bear with me, then to the left, you have X(z), and to the right you have Y(z).

Your problem is that you have a feedback loop that you need to solve.
Let's give it a name.
Let's say that in the middle you have V(z).

This means that the left summing junction does:
[tex]X(z) + 3z^{-1}V(z)=V(z)[/tex]

Can you solve V(z) from this?
 
If I've done my algebra correctly I get

V(z)=3zX(z)

So would [itex]Y(z)=3zX(z)-\frac{1}{3}z^{-1}[/itex] maybe I am forgetting an X(z) in there?
 
I like Serena said:
Your algebra appears to be a little off.
How did you arrive at V(z)=3zX(z)?

Could you say what the right summing junction does in terms of V(z) and Y(z)?

I subtracted the x(z) term from either side moving it to the right. then divided both sides by v(z). so I would have

[itex]3z^{-1} V(z)=\frac{V(z)}{V(z)}-\frac{X(z)}{V(z)}[/itex]

then errr wait. As I am typing this I realize my mistake. When I canceled out the v(z)/v(z) i didnt leave the 1...Man my algebra skills are killing me here.

In this case i guess I am not really sure how to go about it. If I used the solver on my graphing calculator i get

[itex]V(z)=\frac{X(z)z}{z-3}[/itex] I am not really sure how to come to this conclusion though. Or if it is correct.

Ill have to play around with the algebra again and see if i can get it.
 
I think the right summing junction would be V(z)-(1/3)z^-1?
 
I like Serena said:
Suppose you had the equation 2+3v=v.
How would you solve it?

v=2/(1-3)

So...

[itex]V(z)=\frac{X(z)}{1-3z^{-1}}[/itex]

Man its so easy too. I played with it for a little while and wasnt sure. Once i saw you question above I was like sure i guess I could factor the v out. This is assuming that what I have written now is correct...*fingers crossed* I really should know my algebra better then this. I certainly used to anyway.
 
So would it be

[itex]V(z)- \frac{1}{3}z^{-1}V(z)[/itex]?
 
Ok not so bad. I think

This is what I get for

[itex]\frac{Y(z)}{X(z)}=H(z)=1-3z-\frac{1}{3}z^{-1}(1-3z)[/itex]



Simplifies to [itex]H(z)=\frac{(-3z-1)^{2}}{3z}[/itex]

I think anyway. The simplification is where I make the simple algebra mistakes. Which you already know. I found this last simplificaiton with my graphing calculator. I tried a few times to simplify, by distributing that -1/3z^-1 into the parenthesis and then clean things up a little. It never came out as clean as this though...:(
 
Hmm, I get a different result... so I suspect your algebra needs some more polishing... (or mine does :shy:).

You had [itex]Y(z)=V(z)- \frac{1}{3}z^{-1}V(z)[/itex].
Can you substitute your result for V(z) into this?
 
Looks like I've jumped ahead too fast again.

[itex]Y(z)=(\frac{X(z)}{1-3z^{-1}})-\frac{1}{3}z^{-1}(\frac{X(z)}{1-3z^{-1}})[/itex]

Looking back agian I think i see where i went wrong.

I wanted to get rid of the division in the V(z) term so i thought (I can see that it is wrong now) that I could do this.

[itex]V(z)=\frac{X(z)}{1-3z^{-1}} = X(z)(1+3z).[/itex]

Now I am playing around with it to see if there is another way. Or if I can take the above Y(z) and just simplify it all together.
 
Indeed I do.

So adding the fractions I would get.

[itex]Y(z)=\frac{X(z)-\frac{1}{3}z^{-1}X(z)}{1-3z^{-1}}[/itex]

If I factor out the X(z) I get

[itex]Y(z)=\frac{X(z)(1-\frac{1}{3}z^{-1})}{1-3z^{-1}}[/itex]

This is where i get nervous because I am unsure if I am breaking any rules or not

I need to break that fraction up so I can isolate the Y(z) and X(z) on one side. My first thought is to rearange like this.

[itex]Y(z)=X(z)(1-\frac{1}{3}z^{-1})(1-3z)[/itex] Is this ok? If so I can obviously bring my X(z) over to the other side and get my H(z)
 
You know its weird. I ask the same questions but with simple integers and variables and I mess with the algebra again and I usually find a method pretty quickly. I thought I tried that this time. I knew there was a way I just wasnt sure how to get there i guess. I will need to remember in the future to actually write down and replace sections wtih variables and try to simplify or rearrange that way to find a method.

Now i get something like this

[itex]\frac{Y(z)}{X(z)}=\frac{1-\frac{1}{3}z^{-1}}{1-3z^{-1}}[/itex]

or I guess I could write it like this.

[itex]\frac{Y(z)}{X(z)}=\frac{1-\frac{z^{-1}}{3}}{1-3z^{-1}}[/itex]

Right...?
 
Awesome! So at this point I think I should be able to evaluate along the unit circle by substituting in e^2pifT and then breaking out the real and imaginary parts to find my Phase response. Then evaluate that at the value given?

Thanks for the help "I like Serena!" As always!
 
I think so, although TBH I don't know what the question for [itex]\theta(f={f_s \over 6})[/itex] means.
I suspect [itex]H(e^{j 2\pi fT})[/itex] is intended, but you should know that better than I do.
Note the extra "j" btw...

Aaaaand... you're welcome! :)
 
What do you mean the extra j?
 
Ahhh yes I see. I forgot the j in the my exponential. I caused my own confusion. Thanks for mentioning it!