How do I get time-domain data for Control System Internal AnalysisPoints

In Control System toolbox, using connect, it is easy to add an AnalysisPoint.
But that only allows analysis of a linear response transfer function..
How do I obtain the time-domain data for an AnalysisPoint in a linear simulation of the control system (lsim)?
Internal nodes may have dynamic range limitations, for which this time-domain data is needed.

Answers (2)

Likely the best you can do with lsim are to get the state trajectories. See Get state update for simulation of discrete state space system using lsim(). for an example. The AnalysisPoint function likely does not apply in the absence of some sort of connection, otherwise.
I think this function can find the model from any input to any output, including Analysis Points
doc getIOTransfer

2 Comments

Only linear analysis, transfer function freq resp etc., comes from getIOTransfer. time-domain data is not part of that.
getIOTransfer returns a model that can then be used with typical functions to generate time domain responses, like step() and lsim(). I thought that was the goal.

Sign in to comment.

Products

Release

R2021b

Asked:

on 27 Feb 2022

Commented:

on 1 Mar 2022

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!