Is there a current control circuit to control the amount of current flowing into a circuit?

dl324

Joined Mar 30, 2015
18,524
Both the inductors have around the same resistances. One is 15 ohms and the other 20 ohms.
The resistance of your inductors is surprisingly high. The 180uH inductor I recently used in a switching regulator design is less than 0.2 ohms. I thought open loop switch control and the inductor would be the source of your high current.
I didn't know that a feedback loop was required.
You need to monitor the output voltage and adjust the duty cycle or frequency of the switch accordingly.

You have no feedback loop, so the output voltage will depend on the load. If the load decreases, the output voltage will increase. If the load increases, the output voltage will decrease. Basically no voltage regulation at all.

Basic block diagram from 1979 Signetics Analog Applications Manual:
upload_2017-3-25_10-12-48.png
 

Thread Starter

Devika B S

Joined Mar 8, 2017
144
The resistance of your inductors is surprisingly high. The 180uH inductor I recently used in a switching regulator design is less than 0.2 ohms. I thought open loop switch control and the inductor would be the source of your high current.
You need to monitor the output voltage and adjust the duty cycle or frequency of the switch accordingly.

You have no feedback loop, so the output voltage will depend on the load. If the load decreases, the output voltage will increase. If the load increases, the output voltage will decrease. Basically no voltage regulation at all.

Basic block diagram from 1979 Signetics Analog Applications Manual:
View attachment 123359

So, is there something wrong with my inductor? (Like the high resistance indicates that it is damaged). Yes I observed that my output voltage changes dramatically when I use 1k resistance instead of 300 ohms. I am also planning to put snubber diodes across inductors to avoid spikes.
 

Thread Starter

Devika B S

Joined Mar 8, 2017
144
I think it's an inappropriate type for a switching regulator. What is the saturation current?
What is the purpose of Lin?
I measured the resistance of my inductor again. It reduces. Like it starts at 15 ohms and finally comes to 0.9 ohms after few seconds. It is designed for upto 2A. Lin is part of LC filter to reduce the input current ripple.
 

dl324

Joined Mar 30, 2015
18,524
finally comes to 0.9 ohms after few seconds. It is designed for upto 2A.
Then that's the source of the high current that caused damage. When the switch is on, the inductor will draw over 12A from your 12V source. IIRC, you had a 60% duty cycle with no feedback.
 

Thread Starter

Devika B S

Joined Mar 8, 2017
144
Then that's the source of the high current that caused damage. When the switch is on, the inductor will draw over 12A from your 12V source. IIRC, you had a 60% duty cycle with no feedback.
I also have another 100uH 165mA inductor (the one that looks like resistors). But when I connected 12V to it, that got damaged (burnt). As per my simulation results, my entire circuit draws 1.05A current which is why I bought these inductors as well.
Now I have a doubt regarding some fundamental about circuits. See, a circuit draws current only which it requires right? Suppose a circuit draws 2A current. Then when I connect it to a 12V 2Ah battery, it will drain in 1 hour. When connected to a 12V 1Ah battery, it will drain in half hour and so on. It is not that the battery supplies constant current. The circuit draws current as per its requirement. Please correct me if I am wrong in this understanding.
 

dl324

Joined Mar 30, 2015
18,524
I also have another 100uH 165mA inductor (the one that looks like resistors). But when I connected 12V to it, that got damaged (burnt).
Those inductors are generally unsuitable for power applications; their saturation current is very low. When an inductor saturates, it becomes less effective as an inductor.
when I connect it to a 12V 2Ah battery, it will drain in 1 hour. When connected to a 12V 1Ah battery, it will drain in half hour and so on. It is not that the battery supplies constant current. The circuit draws current as per its requirement. Please correct me if I am wrong in this understanding.
From reading your other post about batteries, your understanding is weak. How long a 2AH battery will last depends on a number of factors.

If you operate the battery with a 1uA load, would it last for 2 million hours? If you operated it with a 2000A load, would it last for 0.001 hours?

The answer in either case is no. All batteries will self discharge; that's why they have a shelf life. Batteries also have a maximum allowable discharge current; above which they can do bad things.
 

Thread Starter

Devika B S

Joined Mar 8, 2017
144
Those inductors are generally unsuitable for power applications; their saturation current is very low. When an inductor saturates, it becomes less effective as an inductor.
From reading your other post about batteries, your understanding is weak. How long a 2AH battery will last depends on a number of factors.

If you operate the battery with a 1uA load, would it last for 2 million hours? If you operated it with a 2000A load, would it last for 0.001 hours?

The answer in either case is no. All batteries will self discharge; that's why they have a shelf life. Batteries also have a maximum allowable discharge current; above which they can do bad things.

Alright. So how can I estimate how much current my circuit will draw?

Suppose I have a 12V battery and my load consumes 24W power. Then (as far my rudimentary understanding), my circuit will draw 2A current. But in this case, I don't know how much power each component consumes and hence I am not able to estimate how much current will be drawn. All I have is one simulation result which uses ideal battery (that never self discharges), ideal inductor, ideal diode and so on.
 

dl324

Joined Mar 30, 2015
18,524
All I have is one simulation result which uses ideal battery (that never self discharges), ideal inductor, ideal diode and so on.
If you're going to use a simulator, you should use one that uses more realistic components.

A well designed switching regulator will have an efficiency of 80% or more, so most of your battery capacity will be available for your load.
 

bertus

Joined Apr 5, 2008
23,041
Hello,

Looking at the picture in post #3, you are using very long threads for a switching regulator circuit.

Bertus
 

Thread Starter

Devika B S

Joined Mar 8, 2017
144
The resistance seems far too high for a 2A rated 100uH inductor. Are you sure of those figures?
Yes the resistance is 0.9 ohms. Now regarding the inductor, I had 'custom ordered' it by saying that I need a 100 uH inductor, fs =100 KHz that can withstand upto 2A current without getting damaged at a shady inductor stores (because that's the only place nearby that would manufacture one as told by customer). What I am saying is that it is not a standard inductor from a proper electronics shop.
 

Thread Starter

Devika B S

Joined Mar 8, 2017
144
Then that's the source of the high current that caused damage. When the switch is on, the inductor will draw over 12A from your 12V source. IIRC, you had a 60% duty cycle with no feedback.
I checked the resistance of the other inductor (100uH looks like resistor with 165mA current) in diode testing mode. It comes to 3 ohms with a beep sound.

So basically all my inductors are faulty I suppose. I checked up and found that an inductor is supposed to have 0 ohms (nil resistance) :(
 

Thread Starter

Devika B S

Joined Mar 8, 2017
144
Hello,

Looking at the picture in post #3, you are using very long threads for a switching regulator circuit.

Bertus
Yes. The wires are jumper wires that come in a fixed size. Could you please tell me the drawback of such threads for this circuit?
 
Last edited:

dl324

Joined Mar 30, 2015
18,524
I checked the resistance of the other inductor (100uH looks like resistor with 165mA current) in diode testing mode. It comes to 3 ohms with a beep sound.
You're beyond caring what inductor resistance is. The next time you're working on a circuit you're unsure of, use current limiting.
 

Thread Starter

Devika B S

Joined Mar 8, 2017
144
You're beyond caring what inductor resistance is. The next time you're working on a circuit you're unsure of, use current limiting.
Sure. I have gained a lot of information from this discussion.

Next time,
1. I will be more careful about the specifications.
2. Include a voltage control feedback system and a current limiting circuit
3. Plan out better (overall)
 

Thread Starter

Devika B S

Joined Mar 8, 2017
144
Re-read post #6.
OK. Read.

Any reason for my battery dying out so quickly? I just bought a new 9V battery and it's OC Voltage was 10.5 Volts.
When I switched on and then measured (while it was on), the voltage was just 5.5 Volts. (Load resistance was two 100 ohms in series)
Then when I switched off and then checked, the OC voltage was just 9.5 Volts.
I had the entire circuit switched on for just 10 to 15 seconds and my battery discharged so much within such a short span of time. This is the 4th battery I am buying for this project.

9V.jpg

This is the battery that I use.
 
Last edited:

Thread Starter

Devika B S

Joined Mar 8, 2017
144
Build a 555 timer.

Modify the 555 into a function generator.

Use the 555 and a simple automotive bulb to make a mosfet PWM dimmer.

At this point you will have the needed experience and knowledge to make simple PWM circuits to experiment driving any type of load.
One thing I forgot to mention is that my original plan was to use a 555 timer. But then after looking at spec, I thought that it may not be suitable for designing switching frequencies as high as 100 kHz and an Arduino board appeared more suitable for that. That's why I chose an Arduino board over a 555 timer.
 

dl324

Joined Mar 30, 2015
18,524
Any reason for my battery dying out so quickly? I just bought a new 9V battery and it's OC Voltage was 10.5 Volts.
When I switched on and then measured (while it was on), the voltage was just 5.5 Volts. (Load resistance was two 100 ohms in series)
Then when I switched off and then checked, the OC voltage was just 9.5 Volts.
Something was causing your circuit to draw excessive current from the 12V battery. Excessive current would also be drawn from the 9V battery; except that battery doesn't have much capacity and, therefore, couldn't cause as much damage.
 

Thread Starter

Devika B S

Joined Mar 8, 2017
144
Something was causing your circuit to draw excessive current from the 12V battery. Excessive current would also be drawn from the 9V battery; except that battery doesn't have much capacity and, therefore, couldn't cause as much damage.
OK. I have replaced the 2A inductor with 165 mA inductor. The result I told now was with that. (I thought the 2A inductor drew too much current).
 
Top