필터 지우기
필터 지우기

Linearization of SimMechanics models

조회 수: 2 (최근 30일)
Punit
Punit 2012년 9월 27일
I'm trying to trim a 4 DoF SimMechanics model. I need all the velocities and accelerations zero at the equilibrium point, also I need to keep all the states at initial conditions. That means the goal of trimming is to find the input such that the initial states is an equilibrium. I know that there exist such an input.There are 16 states, and my code for trimming is
ix = [1;2;9;10]'; % Since this is 4Dof system, keep 4 states fixed
y0 = [0 0]'; % Output is the initial output
iy = [1 2]'; % Keep outputs fixed to initial output
dx0 = zeros(16,1); % Set initial guess velocities to zero
idx = [1;2;9;10]; % Keep two velocities/accelerations fixed to initial condition
u0 = [0 0 0]'; % Initial guess value of input
iu = 3; % Keep only 3rd input fixed (This is disturbance)
%%Trim the model
[x,u,y,dx] = trim('Loader',x0,u0,y0,ix,iu,iy,dx0,idx,2);
The resulted trim point of this model does not give all zero states and zero velocities and accelerations. Does anyone have any idea what is wrong here? Is my understanding correct? I did not find a good documentation on how the trimming process works. Thanks in advance -Punit

답변 (1개)

Guy Rouleau
Guy Rouleau 2012년 10월 8일
Try the function FINDOP from Simulink Control Design.
It is designed for trimming models and is more powerful than TRIM.
  댓글 수: 1
N/A
N/A 2012년 10월 9일
SimMechanics supports FINDOP, so this function is really the way to go if you have access to the Simulink Control Design toolbox.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Multibody Modeling에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by