Positive Feedback in Matlab

  • MATLAB
  • Thread starter nand_1
  • Start date
  • #1
16
0

Main Question or Discussion Point

Hi All,

Suppose I have the following system:

A = 1 / (S + 1) (open loop)

B = S / (2S + 1) (feedback path)

I know that the positive feedback closed loop system will thus be: A / (1 - AB), and entering this manually in matlab (as well as doing it by hand), I get:


2 s^2 + 3 s + 1
-----------------------
2 s^3 + 4 s^2 + 3 s + 1

However, when I use the following command:

sys = feedback(A,B,+1)

I get the following:

2 s + 1
---------------
2 s^2 + 2 s + 1


Is there something i'm missing?

Regards,
 

Answers and Replies

  • #2
kreil
Insights Author
Gold Member
668
67
[tex] \frac{2s^2+3s+1}{2s^3+4s^2+3s+1} = \frac{(2s+1)(s+1)}{(2s^2+2s+1)(s+1)} = \frac{2s+1}{2s^2+2s+1} [/tex]
 
  • #3
16
0
Thanks Kreil, realized this later on after the post. Thought it was an issue with the way i was using the feedback function.
 

Related Threads on Positive Feedback in Matlab

Replies
1
Views
11K
Replies
1
Views
4K
Replies
3
Views
2K
  • Last Post
Replies
0
Views
2K
Replies
1
Views
3K
  • Last Post
Replies
5
Views
16K
  • Last Post
Replies
2
Views
2K
  • Last Post
Replies
3
Views
3K
  • Last Post
Replies
2
Views
2K
  • Last Post
Replies
0
Views
5K
Top