Laplace transform in Matlab -


i trying graph frequency response of transfer function h(s). circuit have been given x(t), voltage in, goes threw inductor , threw parallel placed resistor , capacitor. y(t) across parallel placed capacitor , resistor. impedance of l(inductor) zl = sl(where s = alpha + jwt), zr = r, zc = 1/sc , zrc = src/r+sc(it sum of 2 impedance in parallel, capacitor , inductor). have got equation transfer function h(s), below:

i(s) = x(s)/zl+zrc //which total current in circuit y(s) = i(s)*zrc(voltage across capacitor , resistor) h(s) = y(s)/x(s) => zrc/zrc+zl=> r/(r*c*l*s^2 + l*s + r) 

did transfer function h(s) right? because when try graph frequency response f = 0:0.001:2 , s = j2pf, don't desired output in db, should negative values instead of positive. finally, impulse response of system t = 0:0.001:1, thought h(s) impulse response. thank you

the current in circuit given

i(s) = x(s)/(zl(s) + z_rc(s)) 

not

x(s)/zl(s) + z_rc(s) 

take care of parenthesis.

the correct h(s) of system r/(r*c*l*s^2 + l*s + r) second order system gain 1, expected response on bode diagrame


Comments

Popular posts from this blog

java - Could not locate OpenAL library -

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

sorting - opencl Bitonic sort with 64 bits keys -