Design new 0 to 30V power supply.

PicMaster

Feb 18, 2009
90
Joined
Feb 18, 2009
Messages
90
Sorry, I don't understand, is that a yes or a no?
Sorry it was a long day, It should have said is easy enough done. so it's a yes.

That won't work well with this circuit. Suppose you put the 1k pot. in series with the positive side of R21: altering the 1k pot will make a large difference when R21 is set to the high setting and not much difference when it's set near 0V. If you put the 1K in series with the negative side of R21, the situation will be reversed. This is why using a multi-turn pot. is the best solution.
OK it was just a thought that's all
I noticed that you've substituted a few of the resistors for other resistors connected in series. Did you just do it with the ones I suggested on the BoM or were there other resistors you couldn't get hold of and had to replace with two in series?

I just suggested the substitutions for the E24 values that I know are harder to get hold of than E12 values.
Yes I substituted a few resitors, Maplins did not have thevalues I wanted plus rather exspensive 16P each, Rip off or what. I searched through my bins for the correct value and out of the thousands I got I gave up. but has this is just a test PCB I thought it would not matter has long they are the right values. I shall look into using a PIC to measure the time it takes to drop.

For the moment becasue I've got a .1R resistor for the shunt could I use a 10amp fuse in place of it means they have a lower resitance value ? I'm good at just for thoughts ;D
Saturday may be the next time I get to spend more time on it, I will try to play with it in the week if possible
 

Hero999

Oct 28, 2007
2,433
Joined
Oct 28, 2007
Messages
2,433
Sorry it was a long day, It should have said is easy enough done. so it's a yes.
I'm still not sure if you know what I mean, sorry if you do I'm just boring you.

I'm interested to see if the tap switching works.

For output voltages under about 12V, M1 should be off, so the power being delivered to +V is coming from the centre tap (via D5): +V should measure about 21V, give or take a few volts.

When the output voltage is set above 12V, M1 should turn on, so the power to the circuit is supplied from the higher voltage end of the transformer: +V should measure about 42V give or take about 5V.

Did you test for any of the above and if so did it work as I expected?

Yes I substituted a few resitors, Maplins did not have thevalues I wanted plus rather exspensive 16P each, Rip off or what. I searched through my bins for the correct value and out of the thousands I got I gave up. but has this is just a test PCB I thought it would not matter has long they are the right values.
Yes, you can do that, I was just interested in which resistors you substituted.

Rather than buying single resistors you can buy a whole set of E12 values. Unfortunately the set I linked below is 5% and no good for the critical resistors in the circuit which need to be 1% otherwise the voltage and current settings will be way off.
http://maplin.co.uk/Module.aspx?ModuleNo=2163

For the moment becasue I've got a .1R resistor
Something doesn't seem right.

Before you said the current limit was 1.6A?

I think the current limit should be lower with R5 at 0.1Ohms.

The calculation for R5 = 15m Ohms:

Calculate the voltage reference
Vref = 2.495
 

PicMaster

Feb 18, 2009
90
Joined
Feb 18, 2009
Messages
90
I'm still not sure if you know what I mean, sorry if you do I'm just boring you.
Sorry what I meant is I shall carry out the test on M1 with a 1A load on it. Make sure M1 is off below 12V. Youre not boring me I'm finding this very interesting and learning lots more about power supplies. What I meant by it's been a long day at work (14hr shift) I love it when you get stuck into something that is really interesting. I just look forward to the finsh product and will be proud to show it off

Something doesn't seem right.

Before you said the current limit was 1.6A?

I think the current limit should be lower with R5 at 0.1Ohms.
R5 at the moment is a 0.1R 10W instead of the 15MR like in the shcematic, I'm sure that I was getting 1.6A. But may be I was carrying out the test wrong. How I did it was for the load testing I just used my multimeter in the current mode in line of the +&- which is using the shunt in the meter which is not very good. I shall pick a low ohm resistor and work it oiut like you have.

What I shall do is get armed with pen and paper start from the beging again measure and check all the Vref and the gain of of the  differential amplifier, M1, I will make sure i look at every angle of it, Then recored all data jot it onto the schematic then upload for you to have a ponder over. Then we can take it from there.

I've just remembered when I had a quick look at it last night and just looking at the schematic I did put in a 10K and not  a 100k, So I will get that changed silly me  :-[ ;D
 

Hero999

Oct 28, 2007
2,433
Joined
Oct 28, 2007
Messages
2,433
I've just remembered when I had a quick look at it last night and just looking at the schematic I did put in a 10K and not  a 100k, So I will get that changed silly me  :-[ ;D
That's an easy mistake to make.

Which resistor was it?

I'm still questioning this because there are no 100k resistors apart from the pot's and replacing a 100k pot with 10k should have this effect.

The only explanation is that you were intending to subsitute a value you couldn't get hold of. Were you intending to replace one of the 160k resistors with 100k, 33k and 27k in series but used 10k instead of 100k?
 

PicMaster

Feb 18, 2009
90
Joined
Feb 18, 2009
Messages
90
Which resistor was it?

I'm still questioning this because there are no 100k resistors apart from the pot's and replacing a 100k pot with 10k should have this effect.
It was R20 100K. I shall change it and start to carry out the tests above
 

Hero999

Oct 28, 2007
2,433
Joined
Oct 28, 2007
Messages
2,433
As I said before, that shouldn't make any difference to the current at which it starts to limit. R21 just changes the delay.

There must be something else which is wrong.

 

PicMaster

Feb 18, 2009
90
Joined
Feb 18, 2009
Messages
90
There must be ishall look into it and go over the rest of the pcb,I have just tested the v-ref 4.31v no load connected and both pots at 0 I turned the voltage to 10.v v-f ref went down to 2.8v I then placed a 1A load and with the current turned to max the v-ref semms to be jumping up and down,I then placed my a .1R resistor turned current pot to max and I only get 1.2A which mens v-ref is only 1.2v the v-ref components seem to be getting warm, I shall look into just in case it's me but do you think that the v-ref circuit is up to thr job ?

 

Hero999

Oct 28, 2007
2,433
Joined
Oct 28, 2007
Messages
2,433
That can't be right, Vref shouldn't change at all.

U5 shouldn't be getting warm at all, R18 might get very slightly warm because it's dissipating just over 0.1W but it shouldn't be very hot, I doubt you'd notice it.

I'm sure the circuit is right, it's the same as the datasheet.
http://www.fairchildsemi.com/ds/TL/TL431A.pdf

 

PicMaster

Feb 18, 2009
90
Joined
Feb 18, 2009
Messages
90
Right I have done a bit more testing. I will try and explain the best I can. I found out where I went wrong, It was on the connections from the transformer(my fault).
V-Ref I can only get 2.6V out of it. and the max output voltage was 23V. Also if I connected a load it went lower 2.1V.
So here is what I did, Removed R18 and R14 connect my other PSU to V-Ref(on the top end of the pot) which was set to 4.1V, This then enables the PSU to goto 0 - 35V, To limit the voltage I turned V-Ref PSU to 3.63V which give a max Voltage ouput of 32V. but what I did notice is that when the PSU gets to 7V my meter displays OL (and the high voltage symbol) only for a split second well enough for my eyes to see it, Then volatge contiues to rise upto 32V
So something is telling me that the swap over is happening at 7V not 12V,

My second test was I measured the current draw on V-ref line and it read 180MA. the current pot has to be turn up slighty to get the full 32V, the center of the pot read 333mv to obtain the full voltage with out no load. I can veary the current from 0-2.6amps with a 0.1R(R5) shunt and a 0.1R load but the PSU was set for 5V I did not want to risk higer voltage yet.
Is the 2.6amps due to the act that the shunt resistor R5 is 0.1R ?

This was the way I set my  velleman power supply up at 5V using a 0.1R has the load and can vart the full 5amps (8A max), So I think that the mosfet PSU should work in the same manner. The velleman PSU was a good desing it makes you wonder why they stoped selling it. 

Hope you can understand what I'm trying to say, ask any questions and I will try and explain in more detail a bit by bit.

I might be early in saying this or even thinking about it, I'm beging to have doubts  about the stability and the smoothness of the operation of the voltage control/current, (really I should not think this yet but can't help it)
BTW, I have double checked my PCB for any errors and shorts everything checks out oK  

 
Last edited by a moderator:

Hero999

Oct 28, 2007
2,433
Joined
Oct 28, 2007
Messages
2,433
So here is what I did, Removed R18 and R14 connect my other PSU to V-Ref(on the top end of the pot) which was set to 4.1V
Did you remove U5?

So you remove R8 and R14 without removing U5?

If the current from the supply isn't limited it will destroy U5.

So something is telling me that the swap over is happening at 7V not 12V,
The tap change occurs when the voltage across R17  goes above the voltage across R13.

If Vref is changed, then the switch over point will change because the voltage across R13 is dependant on Vref.

I can veary the current from 0-2.6amps with a 0.1R(R5) shunt and a 0.1R load but the PSU was set for 5V I did not want to risk higer voltage yet.
So you still get 0 to 2.6V even though Vref has been lowered?

That doesn't sound right because if Vref is reduced the current limit should also be reduced.
 

PicMaster

Feb 18, 2009
90
Joined
Feb 18, 2009
Messages
90
Did you remove U5?

So you remove R8 and R14 without removing U5?

If the current from the supply isn't limited it will destroy U5.
I removed the 2 resistors and I did forget to say U5 as well
The tap change occurs when the voltage across R17  goes above the voltage across R13
It was the same if it running from U5 or the exteranl PSU set for 4.1V with common GND

So you still get 0 to 2.6V even though Vref has been lowered?
No when running off U5 The goes up and down due to the V-Ref voltage not been stable from the external PSU set for 4.1V I only get 2.6amps max

I will still carry on in looking and more testing I'm not giving up yet, I class this has a minor set back, But the PSU seems to work well in the sim program  ???
 

Alex Tsekenis

Nov 29, 2009
299
Joined
Nov 29, 2009
Messages
299
My second test was I measured the current draw on V-ref line and it read 180MA.
Is that a lot or is it just me?

Have you tried replacing U5?

Sorry, for some reason the forum removed my post notification from this topic.
 

PicMaster

Feb 18, 2009
90
Joined
Feb 18, 2009
Messages
90
Sorry, for some reason the forum removed my post notification from this topic.
I wondered where you went to. With it been Mothers day I think that it would be better left for today  ;D
 

PicMaster

Feb 18, 2009
90
Joined
Feb 18, 2009
Messages
90
I've add another hour on it and Finlay getting some where, I found out where I went wrong.
I checked my schematic against the original very thing check out OK. I then studied the values and foot prints, I got incorrect values on R12 68K instead of 33K and R14 15K instead of 56K so the swap over voltage is working correct now  ;D
Then onto the foot prints I selected the wrong foot print for U5 which explains the V-Ref voltage to be all over the place. So I now get 4.0V at V-Ref all the time  ;D, The output voltage is smoother and more accurate readings.

I started to look at the current side now, It's still not quite there I used a 0.1R for the load and can vary the current I get to 1.25A then it jumps to 3.25amps turn it up a bit more then back down 1.25A I can get to 3amps then when R21 is at it max the current is back down to 1.25A

Now I think is caused by me having a incorrect value pot 10L instead of 100K and R5 .1R instead of 15mr ?

Silly me I've read about the calculations you posted. I shall look into that next time, Then once I'm happy that the current side is working correct I shall see about carrying out the other stuff you talked about.

 

Hero999

Oct 28, 2007
2,433
Joined
Oct 28, 2007
Messages
2,433
Good, that seems to be much better.

The current limiting still isn't behaving as it should.

As I said before, changing the value of the pot won't alter the actual current limit, it'll just alter the length of time for the currrent limit to kick in.

Changing R5 to 0.1 will lower the current limit but 1.25A is still far too high, I worked out how to calculate the current limit a few posts ago.

Note how none of the pot. values are used in the calculation?
http://www.electronics-lab.com/forum/index.php?topic=19605.msg91375#msg91375

 

PicMaster

Feb 18, 2009
90
Joined
Feb 18, 2009
Messages
90
I realised that after I typed it. The reason why the current was reading higher and funny readings was down to my meter(not my fluke one). I brought home my spare meter from work(another fluke meter) I used that to measure the current and the other fluke for the voltage readings.
Your right I get right I was only getting .699ma. So I now know not to trust cheap meters well it was not that cheap 40quid from maplin (that may be why ;D)

I shall work out the calculations now so I get the right resistors to obtain the right current until next time I place an order so I can get the 15mr resistor. So now I know that I'm getting some where

Because I have to wait for the wife to get tired and go to bed it's a bit on the late side and you know the brain does not function as well  ;D,

EDIT: Right I have worked out R7 = 22k R6 160K a gain of gain of 7.27 = 5.63A. I dropped in some 22K for R7 & R8 but this seems to throw the voltage readings out and the current pot to max to get 20V with the voltage pot on max.

Do I have to just change R7 to 22k and leave R8 3K ?

You bare with me if I seem a little thick or slow analogue is not my strongest point

 
Last edited by a moderator:

Hero999

Oct 28, 2007
2,433
Joined
Oct 28, 2007
Messages
2,433
Good, I'm glad it's performing as expected.

You probably can use a 0.1R resistor, in fact may be the circuit should be modified so 0.1R can be used?

The trouble is the resistor will need to be rated to 12.5W, even higher if the current is slightly over 5A, I'd probably suggest 15W.

For 5A I think you need a gain of 8.2 which would be 82k and 10k

I'll check your calculations tomorrow.

 

PicMaster

Feb 18, 2009
90
Joined
Feb 18, 2009
Messages
90
What is the lowest current you cna set it to ?

My V-Ref is 4.05V and the maxium voltage is 35V.
The lowest current I can go to is 123MA, The center tap of the curent pot reads 103MV This enables the ouput to go to 35V, If I set it the center of the pot reads 33MV the max out I can only obtain 13.60V

 

Hero999

Oct 28, 2007
2,433
Joined
Oct 28, 2007
Messages
2,433
I'm not meaning to be picky but don't put MA when you mean mA or MV when you mean mV. The upper case M means mega which is a million, m means a thousandth. I obviously know what you mean but not everyone will.

In theory you should be able to set the current all the way down to zero but I accept that the voltage ofset of the op-amp and the minimum voltage from the pot will be limiting factors.

The voltage when the pot is set to the centre position should be about 2V.

The maximum voltage should not go down unless you set the output current to less than 12mA when the output current through the 3k resistor will be enough to cause the current limiter to kick-in.

I've made a minor amendment to be BoM, don't worry this doesn't affect the circuit or what you've done. I've just corrected a typo and I've suggested, that if you can't get hold of 3k and 160k, you can replace 3k with 3k3 as long as you replace 160k resistor with 120k and 56k in series which eliminates a resistor. I've also put the ratios in so it should be obvious that the resistors can be replaced with other values, as long as the correct ratio is preserved.
http://www.electronics-lab.com/forum/index.php?topic=19605.msg90275#msg90275

 
Last edited by a moderator:

PicMaster

Feb 18, 2009
90
Joined
Feb 18, 2009
Messages
90
I did have a 3k & 160k but with a .1R restor the current has you was low now I have stll got the 160k and a 22k but judging what you said a 82k &10k should be better with the .1R
so if The voltage was set to 5v darwing say 10mA I still should be able to alter the voltages before the voltage drop sorry it's a quick reply but got to go out

 
Top