Practical digital current regulator

AI Thread Summary
In controlling a DC motor with an H bridge and a PI current regulator, a challenge arises when the error (SetCurrent - Current) becomes negative, as this cannot be addressed with a negative duty cycle. Solutions discussed include using additional transistors to reverse current or clamping the duty cycle to remain within the range of zero to one. The performance of solely using an I regulator is noted to be inadequate. It is suggested that ignoring the proportional part of the regulator during overshoot may help. Ultimately, redesigning the system to accommodate reverse directions could be necessary for effective control.
MechatronO
Messages
30
Reaction score
1
Consider a DC motor, being switched by a H bridge that is controlled by a PI current regulator.

As long as the error (SetCurrent-Current) is positive everything is good. However, when this goes negative we have a problem as you couldn't set a negative duty cycle.

How is this solved in practice? Using the other transistors to reverse the current?

I tried using solely an I regulator which off course works kind of, but as expected performs very poor.

Maybe it could be solved by ignoring the P part when we overshoot the setpoint?
 
Engineering news on Phys.org
MechatronO said:
Consider a DC motor, being switched by a H bridge that is controlled by a PI current regulator.

As long as the error (SetCurrent-Current) is positive everything is good. However, when this goes negative we have a problem as you couldn't set a negative duty cycle.

How is this solved in practice? Using the other transistors to reverse the current?

I tried using solely an I regulator which off course works kind of, but as expected performs very poor.

Maybe it could be solved by ignoring the P part when we overshoot the setpoint?

What are you controlling? The motor's speed? That is usually done with PWM on the drive voltage. Is the motor intended to be uni-directional?
 
MechatronO, as you point out, duty cycle can only range between zero and one.
Anything below zero must clamp at zero.
Anything above one must clamp at one.
 
You either have to clamp the signal as Baluncore suggested, or condition the signal to remain in range, or redesign the system to allow reverse directions if that is what you need.
 
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...
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...

Similar threads

Replies
11
Views
1K
Replies
5
Views
4K
Replies
11
Views
2K
Replies
7
Views
4K
Replies
14
Views
7K
Replies
12
Views
8K
Replies
7
Views
6K
Back
Top