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.

How can I measure peak-to-peak value of a voltage signal on plecs?

0 votes


I would like to measure the peak-to-peak (or ripple voltage) on a DC link in plecs without using the scope but directly with plecs tools. Could anyone help me?


Thanks in advance
asked Mar 5, 2021 by Speedo14 (12 points)

1 Answer

0 votes

Please find attached a basic working PLECS Standalone example showing how you can calculate the peak-peak magnitude of a signal. You can copy the enclosed subsystem block into your own models. Note that you just need to set the averaging window time based on the frequency(s) of your signal of interest.

To open this model in PLECS Blockset, add an empty PLECS Circuit block in a Simulink model and from the File menu, choose "Import from Standalone".

Let me know if you have questions.

answered Mar 5, 2021 by Kris Eberle (1,583 points)