What kind of controller would you call this?

  • Thread starter Thread starter DragonPetter
  • Start date Start date
  • Tags Tags
    Controller
Click For Summary

Discussion Overview

The discussion revolves around the classification of a motor controller that operates with three distinct output states: +12V, -12V, and 0V. Participants explore whether this controller can be termed a bang-bang controller or if it should be referred to by another name, considering its stability and accuracy in steady state operation.

Discussion Character

  • Debate/contested
  • Technical explanation

Main Points Raised

  • One participant suggests that the controller could be called a bang-bang controller due to its three output states.
  • Another participant proposes the term "state based controller," emphasizing the decision-making process involved in selecting one of the three states.
  • Concerns are raised about the stability and accuracy of the controller, with two potential explanations offered: the motor may be too weak, leading to slow response times, or the error measurement method may be inaccurate, resulting in large errors that trigger the 0V state.
  • A participant mentions the low resolution of the motor's position sensing, suggesting that the 30-degree increments may act as deadbands to minimize oscillation or "chatter." They reference literature on bang-bang controllers that includes hysteresis bands.
  • Another participant agrees with the classification of the controller as a bang-bang controller and discusses the implications of the 30-degree increments on system behavior, noting that delays in the control loop can lead to overshooting and oscillation.

Areas of Agreement / Disagreement

Participants express differing views on the appropriate terminology for the controller, with some supporting the bang-bang classification while others suggest alternative names. The discussion remains unresolved regarding the exact nature of the controller and the reasons for its stability.

Contextual Notes

Participants note limitations related to the motor's response characteristics and the accuracy of error measurement, which may influence the controller's performance and classification.

DragonPetter
Messages
831
Reaction score
1
I have a motor that is driven rail to rail. So, in forward its +12 volt, and backwards its -12V, and it can also be at 0V.

Can I call it a bang-bang controller, or is there some other name for it since it has 3 different control values?

It is also very stable and accurate steady state, which I'm trying to understand since its just proportional with very large gain. My only guess is that the thing its coupled to has very high friction.
 
Engineering news on Phys.org
I suppose you can call it whatever you like. I might call it a state based controller since your output is based only on deciding which of three output states to use.

But you are right, the only way it can be stable and have an accurate steady state is for one of two situations to occur (and probably both).

1.) Your motor is way to weak so that you have such a slow response time that it is difficult to see the oscillation in the system.

2.) Your method of measuring the system error is inaccurate to the point where you only see large errors so that whenever you are in the ballpark of being right your controller switches to the 0V state. This is why there would seem to be little steady state error.
 
Maybe just "Bidirectional Controller"?
 
Floid said:
I suppose you can call it whatever you like. I might call it a state based controller since your output is based only on deciding which of three output states to use.

But you are right, the only way it can be stable and have an accurate steady state is for one of two situations to occur (and probably both).

1.) Your motor is way to weak so that you have such a slow response time that it is difficult to see the oscillation in the system.

2.) Your method of measuring the system error is inaccurate to the point where you only see large errors so that whenever you are in the ballpark of being right your controller switches to the 0V state. This is why there would seem to be little steady state error.

Yes, its a BLDC motor with only 3 hall sensors that gives me 30 degree increments of position, so I think its safe to say that the resolution is so low that the controller stops providing the command and the friction stops the motor before it ever reaches the next 30 degree position. I was reading about bang-bang controllers, which can include a hysteresis band, its on page 6
http://faculty.washington.edu/lum/aa448/lecture_notes/lecture13.pdf

Would it be safe to say that these positions between the 30 degree position increments are acting as deadbands to reduce the "chatter"?

This would make sense, because when I put a delay on my control loop(it wouldn't apply the error until a delay after sampling the feedback), I noticed some chatter.

Thanks for the replies.
 
Last edited by a moderator:
Sure, from that description you have a bang/bang controller. I can't remember ever hearing that term before.

Yes, what it sounds like is happening is that when you enter the correct 30 degree increment you are transitioning to the 0V output state and the system stops in this band before it is able to overshoot in the next band. In the system you have your controller is a good one as there is nothing gained by a more complex control algorithm.

When you add the extra delay then your system is overshooting into the next 30 degree band which reverses the controller direction and results in oscillation.
 

Similar threads

Replies
21
Views
3K
  • · Replies 136 ·
5
Replies
136
Views
21K
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 11 ·
Replies
11
Views
8K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
Replies
7
Views
15K
Replies
1
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K