On 7/14/05, Marcel Birthelmer wrote: > Marcel Birthelmer wrote: > >> A = - (1-j*omega* Rv*C)/(1+j*omega*Rv*C) where omega is 2*pi*f > >>The phase shift will be: > >>Fi = -2*tan^ -1 (omega*Rv*C) - 180 > >>so the phase shift will be between -180 to -360 degree > >> > >>best regards, > >>Vasile > >> > >> > > > > > > Vasile, > > thanks for your answer. After some equation-crunching (also with the > > help of Olin), I came up with the same Gain equation you have. However, > > I'm afraid I don't understand how to get the phase shift from that. I > > assumed that simply finding the argument (arctan(Im/Re)) would be > > enough, but that gives me a range from 0 to 360 > > EDIT: 0 to Pi. 180. I'm an idiot. Not too sure. An idiot can't compute the thing you've did. :) The - sign is a matter of inversion. To change the phase between in the 0-180 range just replace your resistor with your capacitor on the positive branch of the OA. nice computing time, Vasile -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist