What kind of controller would you call this?

  • Thread starter Thread starter DragonPetter
  • Start date Start date
  • Tags Tags
    Controller
AI Thread Summary
The discussion revolves around a motor controller that operates with three output states: +12V, -12V, and 0V. Participants explore whether this can be classified as a bang-bang controller, noting its stability and accuracy despite being proportional with high gain. The stability is attributed to either a weak motor response or inaccuracies in measuring system error, which limits oscillation. The low resolution of the motor's position feedback, with only 30-degree increments, contributes to deadbands that reduce chatter. Ultimately, the controller's simplicity is seen as effective, with added delays leading to oscillation due to overshooting.
DragonPetter
Messages
830
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.
 
Very basic question. Consider a 3-terminal device with terminals say A,B,C. Kirchhoff Current Law (KCL) and Kirchhoff Voltage Law (KVL) establish two relationships between the 3 currents entering the terminals and the 3 terminal's voltage pairs respectively. So we have 2 equations in 6 unknowns. To proceed further we need two more (independent) equations in order to solve the circuit the 3-terminal device is connected to (basically one treats such a device as an unbalanced two-port...
suppose you have two capacitors with a 0.1 Farad value and 12 VDC rating. label these as A and B. label the terminals of each as 1 and 2. you also have a voltmeter with a 40 volt linear range for DC. you also have a 9 volt DC power supply fed by mains. you charge each capacitor to 9 volts with terminal 1 being - (negative) and terminal 2 being + (positive). you connect the voltmeter to terminal A2 and to terminal B1. does it read any voltage? can - of one capacitor discharge + of the...
Thread 'Weird near-field phenomenon I get in my EM simulation'
I recently made a basic simulation of wire antennas and I am not sure if the near field in my simulation is modeled correctly. One of the things that worry me is the fact that sometimes I see in my simulation "movements" in the near field that seems to be faster than the speed of wave propagation I defined (the speed of light in the simulation). Specifically I see "nodes" of low amplitude in the E field that are quickly "emitted" from the antenna and then slow down as they approach the far...
Back
Top