Rank: 3484 based on 37 downloads (last 30 days) and 3 files submitted
photo

Chia

E-mail

Personal Profile:
Professional Interests:
control design and automation

 

Watch this Author's files

 

Files Posted by Chia View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
02 Mar 2010 Screenshot Model Properties Callbacks This simple demo file is used to demonstrate the use of Callbacks in Simulink Model properties. Author: Chia simulink 20 0
22 Oct 2007 Modeling feedback loop in MATLAB This file shows the way to model a feedback loop using MATLAB Author: Chia feedback, matlab, multiinput multioutpu... 6 3
  • 1.0
1.0 | 2 ratings
22 Oct 2007 Modeling feedback loop using MATLAB and Simulink These files compares the way of modeling feedback loop between using MATLAB or Simulink Author: Chia feedback, matlab, simulink, loop, feedback controller, control design 11 0
  • 5.0
5.0 | 1 rating
Comments and Ratings on Chia's Files View all
Updated File Comment by Comments Rating
11 Jun 2008 Modeling feedback loop using MATLAB and Simulink These files compares the way of modeling feedback loop between using MATLAB or Simulink Author: Chia dingyu, zou

23 Oct 2007 Modeling feedback loop in MATLAB This file shows the way to model a feedback loop using MATLAB Author: Chia zrar, kayhan

this modul is very useful

22 Oct 2007 Modeling feedback loop in MATLAB This file shows the way to model a feedback loop using MATLAB Author: Chia D'Errico, John

I tried testing this out, but it fails. What is tf.m? ss.m? (Yes, I can find make a guess, but...)

>> which ss
'ss' not found.
>> which tf
'tf' not found.

If you use other toolboxes, then tell the user.

As for the rest of this, at least this script has a few comments. As Duane says though, this homework assignment is still useless to anybody else but the author.

22 Oct 2007 Modeling feedback loop in MATLAB This file shows the way to model a feedback loop using MATLAB Author: Chia Hanselman, Duane

I can't see how this is useful to anyone but the author. Here is the content of the download:

% Specify a transfer function model using a rational function in the Laplace variable, s
s = tf('s');

% Setting the parameters of plant 'a'
A=[-.0558 -.9968 .0802 .0415; 0.598 -.115 -.0318 0; -3.05 .388 -.4650 0; 0 0.0805 1 0];
B=[.00729 0 0 0 0; -0.475 0.00775 0 0 0; 0.153 0.143 0 0 0; 0 0 0 0 0];
C=[0 1 0 0; 0 0 0 1; 0 0 0 0; 0 0 0 0];
D=[0 0 0 0 0; 0 0 0 0 0; 0 0 0 0 0; 0 0 0 0 0];

% Build the state-space model and define the block I/Os for plant 'a'
a=ss(A,B,C,D,'InputName',{'si1' 'si2' 'si2' 'si4' 'si4'},'OutputName',{'so1' 'so2' 'so3' 'so4'});

% Setting the parameters of controller 'b'
E=[-.0558 -.9968 .0802 .0415; .598 -.115 -.0318 0; -3.05 .388 -.4650 0; 0 0.0805 1 0];
F=[ .00729 0 0 ;-0.475 0.00775 0; 0.153 0.143 0; 0 0 0];
G=[0 0 1 0;1 1 0 0];
H=[0 0 0; 0 0 0];

% Build the state-space model and define the block I/Os for controller 'b'
b=ss(E,F,G,H,'Inputname',{'so1' 'so3' 'so4'},'Outputname',{'so5' 'so6'});

% Setting the parameters of sum
Sum1 = sumblk('si2','si1','so6','++');
Sum2 = sumblk('si4','si1','so5','++');

% Compute the transfer function from input si1 to output so2
T = connect(a,b,Sum1,Sum2,'si1','so2');

% Plot the response of the system against a step input
step(T), grid

Contact us