Transfer function design

Thread Starter

YoGMan

Joined Sep 20, 2017
76
Hello guys , I got the question in one of my MATLAB sessions. If there is a square wave of Time period= 2pi , what transfer function can we design to convert it into a 1rad/s sine wave - this is the question .Graphically I have obtained H(s)= (s+0.9)^6 / (s+1.1)^12 which is a band-pass filter .The more 0.9 and 1.1 in the transfer function approaches 1, the more accurately it will select the 1rad/s sine wave. But the Total harmonic distortion is very high- Even if you can't give me the answer please tell me how to proceed , I'm stuck on question 7.

2017-11-05_214727.jpg
2017-11-05_214707.jpg
 
Last edited by a moderator:

MrAl

Joined Jun 17, 2014
13,704
Hello guys , I got the question in one of my MATLAB sessions. If there is a square wave of Time period= 2pi , what transfer function can we design to convert it into a 1rad/s sine wave - this is the question .Graphically I have obtained H(s)= (s+0.9)^6 / (s+1.1)^12 which is a band-pass filter .The more 0.9 and 1.1 in the transfer function approaches 1, the more accurately it will select the 1rad/s sine wave. But the Total harmonic distortion is very high- Even if you can't give me the answer please tell me how to proceed , I'm stuck on question 7.
Hi,

It sounds like this is a purely theoretical question so you should be able to find a very good solution using common components. If you dont want to use actual components then you can just use the transfer function that comes from using those kind of components.

For example, did you try a traditional second order bandpass filter?
Also, how and why did you come up with that high order filter?

I dont want to say too much just yet, but there should be a much simpler solution. Look at the Fourier representation they give and ask yourself what you have to get rid of to leave only what you need.
 

Thread Starter

YoGMan

Joined Sep 20, 2017
76
hello @MrAI I need not design the system using components, I Just need the transfer function. I used the Idea that every time a zero is met, the bode plot increases at 20 db/dec and when a pole is met, it decreases at 20db/dec, by increasing the order of the pole/zero , I can increase/decrease the gradient in the bode plot ,this is how I came with this high order transfer function.I don't have any idea how to proceed otherwise.There should be a simpler solution to this.
 
Top