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 to import AC sweep analysis data in to MATLAB

0 votes
52 views

Hello ,

I was looking for a way to tune the PID in MATLAB using the AC sweep data from PLECS. Information on any existing methods or guidelines would be of great help.

Idea is to  use PLECS as the simulation platform and to get the PID tuning values use MATLAB PID tuner.

Note : .csv export from PLECS not supported  by MATLAB PID tuner. 

Thanks

Sreeraj Arole.

asked Jun 15 by sreerajarole (17 points)

1 Answer

0 votes
The PLECS small signal analysis tools return a set of gain and phase values.  There is no native export from PLECS into a format compatible with Matlab PID tuner.

 

I see this as a more generic problem that is better suited for Mathworks support.  How can one take the gain and phase relationships and then generate a transfer function in the s-domain from that?  Once the transfer function is determined, it can readily be imported into the PID tuner block.  Perhaps the "tfest" function appropriate for this?  Matlab/Octave may have other tools as well.
answered Jun 24 by Bryan Lieblick (767 points)
...