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

Many technical questions regarding PLECS are answered on the Technical Solutions page of our website. Tutorial videos, specific application examples, and pre-recorded webinars are available on our YouTube page. Please follow us on LinkedIn for the latest Plexim news.

Variable pole modeling

+1 vote
325 views
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, 2018 by munadir (48 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, 2018 by Wolfgang Hammer (397 points)
selected Feb 1, 2018 by munadir
...