Why does LINEARIZE give different results if my Simulink Solver

Technical Source
2 min readAug 26, 2021

Why does LINEARIZE give different results if my Simulink Solver is set to Variable Step or Fixed Step in Simulink Control Design 3.0 (R2009b)?

I have a model that I am linearizing either via the LINEARIZE command line function, or via the Linear Analysis, or Compensator Design panes of the Simulink Control Design GUI. When I linearize my model with the model configured with a Variable Step solver, I get different results that if I linearize my model when the model is configured to a Fixed Step solver.

ANSWER

Matlabsolutions.com provide latest MatLab Homework Help,MatLab Assignment Help for students, engineers and researchers in Multiple Branches like ECE, EEE, CSE, Mechanical, Civil with 100% output.Matlab Code for B.E, B.Tech,M.E,M.Tech, Ph.D. Scholars with 100% privacy guaranteed. Get MATLAB projects with source code for your learning and research.

This is expected behavior in Simulink Control Design 3.0 (R2009b).

For some blocks in Simulink, the sample time depends on the solver and sample of times of blocks impact the linearization result. The Memory block in the Discrete section of the Simulink library is one of such blocks. When the solver is variable-step, the sample time of the Memory block is fixed in minor time step whereas when the solver is fixed-step, its sample time becomes discrete.

Attached is a simple model that illustrates this behavior. Please follow these steps:

1. From the model configuration parameters dialog, notice that the solver type is set to fixed-step, and the fixed-step size set to 1.

2. Navigate to Tools-> Control Design -> Linear Analysis to open the Control and Estimation Tool Manager.

3. Press the “Linearize Model” button.

4 .Leaving Control and Estimation Tool Manager open, navigate to the model Configuration Parameters -> solver and select variable-step.

SEE COMPLETE ANSWER CLICK THE LINK

--

--

Technical Source

Simple! That is me, a simple person. I am passionate about knowledge and reading. That’s why I have decided to write and share a bit of my life and thoughts to.