# Worng discription in the Documentation?

**URL:** <https://community.wolfram.com/t/worng-discription-in-the-documentation/6911>\
**Category:** Questions\
**Tags:** control-systems, mathematica\
**Created:** [October 12, 2015, 6:29am UTC](https://community.wolfram.com/t/worng-discription-in-the-documentation/6911 "2015-10-12T06:29:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fabianwiek](https://avatars.discourse-cdn.com/v4/letter/f/f4b2a3/32.png) [@fabianwiek](https://community.wolfram.com/u/fabianwiek)\
**Post date:** [October 12, 2015, 6:29am UTC](https://community.wolfram.com/t/worng-discription-in-the-documentation/6911/1 "2015-10-12T06:29:52Z")

</div>

In the documentation _“ref/RootLocusPlot”_ → _“Options”_ → _“FeedbackType”_ it’s written:

> Root loci of an open-loop system with positive feedback:

```
RootLocusPlot[TransferFunctionModel[{{{k (34 + 10 s + s^2)}}, 
   12 + 26 s + 22 s^2 + 9 s^3 + s^4}, s], {k, 0, 30}, 
 FeedbackType -> "Positive"]

```

and

> A closed-loop system:

```
RootLocusPlot[TransferFunctionModel[{{{k s}}, 1 + s + k s^2 + s^3}, 
  s], {k, 0, 2}, FeedbackType -> None]

```

Also in documentation’s _FeedbackType_ in details there is

> The following settings can be used:  
> “Negative” system with negative feedback  
> “Positive” system with positive feedback  
> None closed-loop system or system with no feedback

I always thought a system with feedback is a closed loop system (positive or negative) and the open loop variant has no feedback (none), no?

A little test shows:

```
num = s^2 a1 + s a2 + a3;
denom = s^3 b1 + s^2 (b2 + F b3) + s F b4 + b5;
constants = {a1 -> 3421.02, a2 -> 0.760227 F, a3 -> 21524.5, 
   b1 -> 5592, b2 -> 3421, b3 -> 1.242, b4 -> 0.760, b5 -> 21524};
tfm = TransferFunctionModel[num/denom, s]

RootLocusPlot[tfm /. constants, {F, 0, 20000}, 
 FeedbackType -> "Negative", PlotLabel -> "FeedbackType->Negative", 
 AspectRatio -> 1/GoldenRatio]

```

and

```
RootLocusPlot[
 SystemsModelFeedbackConnect[tfm, "Negative"] /. constants,
 {F, 0, 20000}, FeedbackType -> None,
 PlotLabel -> "ClosedLoop->Negative,FeedbackType->None", 
 AspectRatio -> 1/GoldenRatio]

```

give the same root locus plot.  
I might just be confused this morning 🙂

---

<div class="post-metadata">

**Author:** ![subat](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/subat/32/32564_2.png) [@subat](https://community.wolfram.com/u/subat)\
**Post date:** [October 12, 2015, 4:23pm UTC](https://community.wolfram.com/t/worng-discription-in-the-documentation/6911/2 "2015-10-12T16:23:09Z")

</div>

I assume that the revised question is a clarification for the terminology used, as this was left hanging in [MSE](http://mathematica.stackexchange.com/questions/96669/how-does-rootlocusplot-handle-transferfunctionmodel).

Let’s start with what `RootLocusPlot` does. It ‘plots the location of poles for the closed-loop system for a range of _k_ values.’ (quote from the Details and Options section of its ref. page). By default the configuration is as below, where _sys_ is the argument to `RootLocusPlot` and ‘_sgn_’ is assumed to be ‘-’.

![ScreenShot2015-10-12at11.09.00AM.png](https://global.discourse-cdn.com/wolfram/original/3X/6/b/6b4321bccda0b180a32c1c02610a39a441a49d58.png)

Thus be default, _sys_ is the open-loop transfer function and the root-locus of the closed-loop system is desired assuming that the feedback sign is negative.

As you have done in the nb attachment can do block diagram reduction and simplify _sys_ and the summing junction to one system csys=sys/(1+sys). Now if you give ‘_csys_’ as the argument to `RootLocusPlot` it is no longer the default configuration. You have given the closed-loop system directly, and as far as `RootLocusPlot` is concerned it must consider just ‘_csys_’ (and it doesn’t care if it came as a result of block reduction or otherwise) and no additional summing junction/feedback. Hence `FeedbackType->None`.

In summary, `RootLocusPlot` by default considers a system along with a comparator or summing junction. The default assumes that the sign is negative (`FeedbackType->"Negative"`). `FeedbackType->"Positive"` assumes it is a summing junction. `FeedbackType->None` assumes no summing or comparator junction. What `RootLocusPlot` is interested in computing is the closed-loop system, which is _sys/(1+sys)_, _sys/(1-sys)_, and _sys_ respectively.

(I’m glad you asked this as a separate question, because my explanation turned out to be rather long for a comment.)

---

<div class="post-metadata">

**Author:** ![fabianwiek](https://avatars.discourse-cdn.com/v4/letter/f/f4b2a3/32.png) [@fabianwiek](https://community.wolfram.com/u/fabianwiek)\
**Post date:** [October 13, 2015, 6:16am UTC](https://community.wolfram.com/t/worng-discription-in-the-documentation/6911/3 "2015-10-13T06:16:13Z")

</div>

Thank you for this answer,  
I understand how RootLocusPlot works. What I was trying to mention was that I was confused of how to use FeedbackType by just reading the documentation. It’s not very intuitive. Especially the two examples for FeedbackType in RootLocusPlot.  
I think with an extra line defining the systems by itself and writing “This is an open/closed loop system” there it would be easier to understand the RootLocusPlot in the next line.  
That the system by itself is closed loop and needs no “extra” feedback therefor.

I think that was the TOs problem on MSE, too.
