Using `feedback` with feedback gains argument

조회 수: 20 (최근 30일)
Joseph Carpinelli
Joseph Carpinelli 2020년 11월 12일
댓글: Mathieu NOE 2020년 11월 12일
In the feedback.m documentation (both help and online documentation), I'm only seeing examples where two state space / transfer function models must be provided.
For example -- in documentation, I see feedback(sys1, sys2, ...). However, I seem to be able to instead provide feedback(sys1, k) where k is a feedback gain (vector for SISO systems).
I guess my question is - is feedback(sys, k) doing what I think it's doing?
  댓글 수: 1
Mathieu NOE
Mathieu NOE 2020년 11월 12일
probably yes
the two examples below gives the same closed loop tf
G = tf([2 5 1],[1 2 3],'inputname',"torque",'outputname',"velocity");
C = tf([1],[1]); % unitary gain
% Use feedback to create the negative feedback loop using G and C.
sys = feedback(G,C,-1)
% equivalent to :
sys = feedback(G,1) % ! assumed neg feedback here

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

답변 (1개)

Ameer Hamza
Ameer Hamza 2020년 11월 12일
A scalar 'k' is also a static gain transfer function. So you are correct; in your case, 'k' is the same as negative feedback gain.

카테고리

Help CenterFile Exchange에서 Dynamic System Models에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by