The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Jul 18th, 2024, 12:28pm
Pages: 1
Send Topic Print
step response analog LPF (RC Low Pass), abrup jump (Read 3215 times)
nzborsti
New Member
*
Offline



Posts: 7

step response analog LPF (RC Low Pass), abrup jump
Apr 26th, 2012, 1:42am
 
Hello there,

I wrote a Verilog AMS Modle for a simple analog LPF:

//Verilog-AMS HDL for "test", "filter2" "verilogams"

`include "constants.vams"
`include "disciplines.vams"

module filter2 ( in, out);
input in;
output out;
electrical in,out;

parameter real tau1= 0.66 from (0:inf);
parameter real tau2= 0.074 from (0:inf);
real Kn;  


// passive filter lead lag

analog begin

Kn=tau2/(tau1+tau2);

V(out)<+Kn*laplace_nd(V(in), {1/tau2,1},{1/(tau1+tau2),1 });

$bound_step(1n);

end

endmodule

When I looked closer at the step response of the filter I saw that there is a abrupt jump in the output signal at the time where the step is applied to the input. That is a bit strange since the output should be continious. Does anyone know what's going wrong here? I am using AMS  solver in ADE XL.

Thanks for your help.
Back to top
 
 
View Profile   IP Logged
boe
Community Fellow
*****
Offline



Posts: 615

Re: step response analog LPF (RC Low Pass), abrup jump
Reply #1 - Apr 27th, 2012, 11:11am
 
Nzborsti,
nzborsti wrote on Apr 26th, 2012, 1:42am:
Hello there,
... That is a bit strange since the output should be continious. Does anyone know what's going wrong here?
No. You seem to have feed-through from the input.

- B O E
Back to top
 
 
View Profile   IP Logged
nzborsti
New Member
*
Offline



Posts: 7

Re: step response analog LPF (RC Low Pass), abrup jump
Reply #2 - May 2nd, 2012, 12:49am
 
Hi,

but how can i avoid this. I mean it is  a simple LPF , there is not much that I can change, is there?

Regards
Back to top
 
 
View Profile   IP Logged
boe
Community Fellow
*****
Offline



Posts: 615

Re: step response analog LPF (RC Low Pass), abrup jump
Reply #3 - May 2nd, 2012, 12:13pm
 
Nzborsti,
remove the feed-through.
- B O E
Back to top
 
 
View Profile   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.