Please take a minute to review and accept our Terms of Use.
Welcome to PLECS User Forum, where you can ask questions and receive answers from other members of the community.

Variable pole modeling

+1 vote
I was wondering if there is any advice on how to implement a variable pole (low pass filter) in an average model? I was thinking using a select line based on thresholds which would allow to switch between different poles, but wanted to ask if there is an alternate method (and more efficient!) to do this.

The reason for this request is that I am trying to model a variable frequency system where the pole is moving based on the switching frequency.
asked Jan 26 by munadir (24 points)

1 Answer

+3 votes
Best answer
A low pass filter has the transfer function G(s) = 1/(Ts+1). Typically you would use a Transfer Function block to model this in PLECS. To be able to control the time constant T with an input signal, you need to implement the transfer function with discrete Sum, Product and Integrator blocks.

You have: G(s) = Y(s)/U(s) = 1/(Ts+1)

⇒ Y(s)*(Ts+1) = U(s)

⇒ ...

⇒ Y(s) = 1/T * 1/s * (U(s)-Y(s))

This is implemented in the attached model.
answered Jan 26 by Wolfgang Hammer (87 points)
selected Feb 1 by munadir