Author Topic: Oscillation in CC mode of programmable power supply  (Read 3749 times)

0 Members and 1 Guest are viewing this topic.

Offline SHARANYATopic starter

  • Contributor
  • Posts: 29
  • Country: in
Oscillation in CC mode of programmable power supply
« on: November 27, 2017, 08:11:17 pm »
Hi experts
I was designing a programmable power supply 0-30v/0-4A.The control part is based totally on analog electronics.By far,my power supply is working as expected.But the main problem is the current control loop.Whenever the control loop is limiting current,I can hear humming sound from the Q1(In my schematic,it is TIP41 but in i am using MJE15032).I have captured the waveform of the Current control op-amp's output & the main output.Also the main output is fluctuating between 1V window.(For say,if i have set the output to 5v,then it is going to 6v).
The op-amp i am using is LT1013.The IC2(LM317) is powering the op-amps at 33v.The main power transistor(T1) is TIP35.Please take a look at the schematics.Is the oscillation normal?If not,then how to clear it??
« Last Edit: November 27, 2017, 08:29:52 pm by SHARANYA »
 

Offline fourtytwo42

  • Super Contributor
  • ***
  • Posts: 1248
  • Country: gb
  • Interested in all things green/ECO NOT political
Re: Oscillation in CC mode of programmable power supply
« Reply #1 on: November 27, 2017, 08:38:25 pm »
Just to give you some clues, your integrators have uncontrolled gain AND what an earth is C9 doing ?
Do you have any simulation package like LTspice ?
I think you would find it far easier to experiment with such a tool rather than burning your fingers all the time :)
 

Offline SHARANYATopic starter

  • Contributor
  • Posts: 29
  • Country: in
Re: Oscillation in CC mode of programmable power supply
« Reply #2 on: November 27, 2017, 08:59:49 pm »
I am not a specialist about analog electronics!I used C2 & C4 by trial & error method(I used to know them as compensation caps!).I got good result with these values currently used.I used c9 to smoothing the output.Should I remove it?I am working on this project during last 4 years(off & on) and in a real hurry to accomplish it!Please help....
 

Offline fourtytwo42

  • Super Contributor
  • ***
  • Posts: 1248
  • Country: gb
  • Interested in all things green/ECO NOT political
Re: Oscillation in CC mode of programmable power supply
« Reply #3 on: November 27, 2017, 09:05:39 pm »
Hmm then maybe you need to post in beginners but also you may be better to ask if someone has a circuit that already works you could use, control theory is not that simple.
 

Offline SHARANYATopic starter

  • Contributor
  • Posts: 29
  • Country: in
Re: Oscillation in CC mode of programmable power supply
« Reply #4 on: November 27, 2017, 09:08:24 pm »
Please give some hints about how to modify this circuit.
 

Offline Kleinstein

  • Super Contributor
  • ***
  • Posts: 17260
  • Country: de
Re: Oscillation in CC mode of programmable power supply
« Reply #5 on: November 27, 2017, 09:18:39 pm »
Removing C9 would be a first step. There likely also needs to be a resistor between the output of the current setting DAC and the regulating OP. There also a big problem, that the transistors adds quite some nonlinear gain to the current regulating loop. So it might be better to just use a diode to turn down the set voltage. However this will usually need a negative supply of the current regulating OP.

With these changes, the circuit slowly approaches the circuit you can find as cheap 30V/3A LNG kit - though that kit is neither good for 3 A, nor 30 V, but at least working up to about 15 V and 1-2 A.

To look a the details is really is a good idea to use something like LTspice.
 

Offline SHARANYATopic starter

  • Contributor
  • Posts: 29
  • Country: in
Re: Oscillation in CC mode of programmable power supply
« Reply #6 on: November 27, 2017, 09:31:03 pm »
Quote
There likely also needs to be a resistor between the output of the current setting DAC and the regulating OP

Is the resistor for current limit?What value would be a good choice?

Quote
So it might be better to just use a diode to turn down the set voltage.

This part is not cleared!Where to install the diode?
I removed the cap(c9) from the system but the oscillation is getting much worse!The spikes are getting over 1v.
« Last Edit: November 27, 2017, 09:49:53 pm by SHARANYA »
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 22454
  • Country: gb
  • 0999
Re: Oscillation in CC mode of programmable power supply
« Reply #7 on: November 27, 2017, 09:59:49 pm »
You have far too much gain on the current limit.

I agree with the diode comment. It will need a negative supply, unless the op-amp can go to within 0.8V of the negative rail, even with a Schottky diode.
 

Offline SHARANYATopic starter

  • Contributor
  • Posts: 29
  • Country: in
Re: Oscillation in CC mode of programmable power supply
« Reply #8 on: November 27, 2017, 10:22:09 pm »
adding a 2k resistor after the current controller dac output solved my problem!Please  now check if i have to change any other part's value!Although I blew another TIP35 during testing!! :D :D :D :D
 

Offline David Hess

  • Super Contributor
  • ***
  • Posts: 19223
  • Country: us
  • DavidH
Re: Oscillation in CC mode of programmable power supply
« Reply #9 on: November 28, 2017, 05:27:57 am »
T2 adds non-linear uncontrolled voltage gain within the current control loop making frequency compensation more difficult.

The hall effect sensor is slow adding phase delay making frequency compensation of the current control loop more difficult.

The voltage control loop provides the load for the current control loop which is probably not the best configuration.

The series RC networks to ground at the output of each operational amplifier are suitable for controlling local oscillations which should not be present anyway but not appropriate for frequency compensation of a voltage output device like the LT1013.

I would start by driving the Darlington output stage with a current source from the unregulated supply and configuring both operational amplifiers to pull the base of the Darlington down to control the output.  That way a pair of diodes can be used to isolate the amplifier outputs from each other.  Then the frequency compensation of each may be adjusted; the current control loop will need to be much slower because of the hall effect sensor.  Note that removing T2 will reverse the operation of IC1G1.

If you do not want to change that much, start by adding a resistor in series with T2's emitter to control its transconductance.
 

Offline VEGETA

  • Super Contributor
  • ***
  • Posts: 2289
  • Country: jo
  • I am the cult of personality
    • Thundertronics
Re: Oscillation in CC mode of programmable power supply
« Reply #10 on: November 28, 2017, 06:22:36 am »
Have you don't any AC analysis on the loop?

For my PSU design I didn't do one completely so I am not the right one to teach you that, I just hope someone makes a good tutorial for it. Especially how to determine compensation caps+resistors values which I did by testing values.

I recommend LTSpice because it has everything you need.

Offline magtux

  • Newbie
  • Posts: 9
  • Country: in
Re: Oscillation in CC mode of programmable power supply
« Reply #11 on: November 28, 2017, 08:29:50 am »
You will also need to test the Power Supply at all the load corners. The oscillations may occur for specific load conditions. I think you should mock it up in LTSpice and do a bode plot of the current loop to see the phase and gain margins you have.
 

Offline SHARANYATopic starter

  • Contributor
  • Posts: 29
  • Country: in
Re: Oscillation in CC mode of programmable power supply
« Reply #12 on: November 28, 2017, 04:44:33 pm »
Quote
I would start by driving the Darlington output stage with a current source from the unregulated supply and configuring both operational amplifiers to pull the base of the Darlington down to control the output.  That way a pair of diodes can be used to isolate the amplifier outputs from each other.  Then the frequency compensation of each may be adjusted; the current control loop will need to be much slower because of the hall effect sensor.  Note that removing T2 will reverse the operation of IC1G1.

As per this info,i found a circuit on the internet.Please take a look!But the problem is this circuit is totally new to me and not my design!But anyway.....

 

Offline Kleinstein

  • Super Contributor
  • ***
  • Posts: 17260
  • Country: de
Re: Oscillation in CC mode of programmable power supply
« Reply #13 on: November 28, 2017, 05:59:38 pm »
We did not like C9 in the old circuit, so we will not like C1 in the new circuit either. I have some doubt it will work well - not really worth a more detailed analysis.  :--

It's usually a bad idea to sense the current at the collector side of the power transistor.
 

Offline SHARANYATopic starter

  • Contributor
  • Posts: 29
  • Country: in
Re: Oscillation in CC mode of programmable power supply
« Reply #14 on: November 28, 2017, 06:06:04 pm »
Quote
The hall effect sensor is slow adding phase delay making frequency compensation of the current control loop more difficult.
Previously I was using INA169 as the current sensor.But i burnt it during testing.Today I am ordering it once again from Mouser.

Quote
I have some doubt it will work well - not really worth a more detailed analysis.
I am sticking to my own design then.....
 

Offline pe6o991

  • Contributor
  • Posts: 10
  • Country: bg
  • Error 404
Re: Oscillation in CC mode of programmable power supply
« Reply #15 on: November 28, 2017, 06:31:10 pm »
 Try searching for circuits based on LM317 with CC control circuitry.I think those are the easiest to build and to understand.Most of them will not go down to 0v cuz of the internal 1.25 REF but its easily overcome by pulling down the adj pin to -1.25(or whatever neg voltage that makes it go to 0v on the output).If you still insist on designing it yourself I've attached a image showing the simplified version of a CC CV lab power supply.You can start from there and choose your components based on your spec.
 

Offline jaycee

  • Regular Contributor
  • *
  • Posts: 206
  • Country: gb
Re: Oscillation in CC mode of programmable power supply
« Reply #16 on: November 28, 2017, 08:33:01 pm »
As others have said, what you pretty much want is the topology the Mastech power supplies and others use.  ELV 22532 is a good schematic to look at. The basic topology is this:
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf

 

-->