Reference Input for State Space Controller

In summary: I want the system to be able to track a reference input with zero.In summary, the state feedback without the reference input simply drives all of the state variables to zero. When there is a reference input do the state variables get driven to match the values of the reference input?Introducing a reference input in state-space design is a somewhat larger topic than in classic SISO theory. How you choose to include the reference input in the control topology can change the process dynamics considerably (especially when you include an estimator).
  • #1
NeuralNet
24
0
In the design of a State Space controller using state feedback the input to the plant is given as (where [itex]y=x[/itex] & [itex]D=0[/itex]): [tex]u=-Kx[/tex]
1zztv.png

If there is a "reference input" then it would be:
[tex]u=-Kx+r[/tex]
20k3evk.png
So the state feedback without the reference input simply drives all of the state variables to zero. When there is a reference input do the state variables get driven to match the values of the reference input?
 
Last edited:
Engineering news on Phys.org
  • #2
Introducing a reference input in state-space design is a somewhat larger topic than in classic SISO theory. How you choose to include the reference input in the control topology can change the process dynamics considerably (especially when you include an estimator).

The question is very broad. Don't you have a good book on state-space design?
 
  • #3
Yes, but I can't find a good explanation of how the reference input works. I was trying to ask a very general question. Let me ask a very specific one instead.

My question is in regards to the section of "Adding precompensation" on this page:
http://ctms.engin.umich.edu/CTMS/index.php?example=InvertedPendulum&section=ControlStateSpace

I am confused about how after they add the precompensator they claim that "...the steady-state error of the cart's position has been eliminated". (I am referring to the third graph on the page).

If you look at the graph before that one the cart stabilizes at about -3mm (I think that means 3mm to the left). Then after they add the precompensator the cart stabilizes at 200mm (to the right?)!

How did that get rid of the steady state error? Is this a mistake?
 
  • #4
Notice at the top where they list their design criteria, the objective is to adhere to some performance specifications for a 0.2 m step input. The third graph shows it settling to 0.2 m, as it should.
 
  • #5
But before they add that it only deviates 3mm from the initial point, which is much less than 200mm. Am I interpreting the graphs correctly: the cart moves to the left -3mm in the second graph, and to the right 200mm in the third graph?
 
  • #6
You're missing the point. They _want_ it to go to 0.2 m, so the steady state error in the second graph is terrible (0.2 m - 0.003 m = a lot).

It's much better in the third graph as it settles to 0.2 m, i.e. there's no steady state error.
 
  • #7
Okay, so this brings me back to my original question. Is the goal of a reference input to drive the state to the point that matches the input?
 
  • #8
Well, yes - the process state or output. The point of introducing the reference input is to have the process track it somehow. Did you have an other idea of what is what for?
 
  • #9
No, that is what I thought, but I wasn't sure. So for my application I am implementing the control system described on that page - but I want all of the states to go to zero, even after a step input (bumping the cart).

So do I just play around with that Nbar precompensator value until I get the steady state response of the cart to zero?
 
  • #10
That whole 'adding precompensation' step is one of the control topologies you can use to introduce a reference input, but why do you want the system to be able to track a reference if you're not going to use it for anything? You could of course just do the design as they show and set r to the zero vector.

If you just want a regulator design that can reject disturbances, then you only need to do regular old full-state feedback with pole placement. I'd be very suprised if your book doesn't have a section/chapter on it.
 
  • #11
milesyoung said:
... why do you want the system to be able to track a reference if you're not going to use it for anything? You could of course just do the design as they show and set r to the zero vector.

If you just want a regulator design that can reject disturbances, then you only need to do regular old full-state feedback with pole placement.

That is what I thought, but my professor has argued with me about how I need a reference input. So I simply set the reference input to zero - i.e. just leave the reference input out?

So how would you suggest I account for a step input? Does the state feedback already account for that, or does it only account for the instabilities within the modeled plant?
 
  • #12
... but I want all of the states to go to zero, even after a step input (bumping the cart).
I might have misunderstood what you meant here - I thought you meant a step input as in a disturbance which the regulator should reject.

Let me just get something straight then - do you want the system to be able to track a step input with zero steady state error? If so, then you need to use the design from the page you have linked or some other topology that includes a reference input.
 
  • #13
I want the system to stabilize the pendulum while keeping the cart toward the center of the track.

So it needs to balance the pendulum in its inverted state and if you tap the cart the pendulum needs to stay stabilized. That's it.
 
  • #14
Then all you need is full-state feedback with pole placement.

So how would you suggest I account for a step input?
What do you mean by this though?
 
  • #15
When you bump the cart. That is what I am referring to as a step input.

Sorry for the confusion.
 
  • #16
Alright, so no need for tracking. They use LQR design for pole placement in the page you have linked to - maybe you should stay clear of that for now to keep things simple.

The design procedure you need is straightforward and covered in any decent book on state-space design - usually in the first couple of chapters.
 
  • #17
So where in the block diagram does the step input actually occur if I don't want to track it?
 
  • #18
At the reference input - I assume its 'r' in your second block diagram? Seems you just added it like you would with a classic SISO system.

Just use your first block diagram, you don't need the reference input. And again, I'd really recommend you have a readthrough of some basic state space design first.
 

1. What is a reference input for state space controller?

A reference input for state space controller is a signal or value that a control system aims to achieve or maintain. It is typically a desired output or setpoint that the controller uses to calculate the control action.

2. How is a reference input used in state space control?

In state space control, the reference input is used as a feedback signal to calculate the control action. It is compared to the actual system output to determine the error, which is then used to adjust the control inputs to achieve the desired output.

3. What are the advantages of using a reference input in state space control?

Using a reference input in state space control allows for precise control of the system output, even in the presence of disturbances or changes in the system. It also allows for easy setpoint changes and tracking of time-varying reference signals.

4. Can a reference input be a dynamic signal?

Yes, a reference input can be a dynamic signal, meaning it can vary with time. This is useful for controlling systems that have time-varying or changing requirements. In state space control, the controller can adapt to these changes and maintain the desired output.

5. What are the key considerations when choosing a reference input for state space control?

When choosing a reference input for state space control, it is important to consider the stability and controllability of the system, as well as the desired performance and response time. The reference input should also be within the range of the system's capabilities to ensure effective control.

Similar threads

  • Electrical Engineering
Replies
12
Views
2K
Replies
46
Views
3K
Replies
7
Views
246
  • Electrical Engineering
Replies
21
Views
13K
  • Electrical Engineering
Replies
4
Views
1K
  • Electrical Engineering
Replies
1
Views
8K
Replies
5
Views
4K
  • Engineering and Comp Sci Homework Help
Replies
8
Views
1K
  • Electrical Engineering
2
Replies
49
Views
9K
  • Electrical Engineering
Replies
17
Views
2K
Back
Top