# Adding Current Limit Feature to a Buck Converter

#### ThomsCircuit

##### Active Member
Want to add an adjustable current limit to this project of mine.
its a 4.5-24 volt input buck converter using MP2315 Regulator
I came across this article where you can implement an adjustable current limit via the feedback (pin2) of LM2587S on the buck converter.
Ive got a few questions but first is will this work with the MP2315 on my project? Tapping Pin8 of course.

Ill post the limit feature schematic below mine.
-------------------------------------------------------------
The object is to tap the feedback pin on the regulator and connect it to the cathode of uf4007. Set the desired output voltage, then adjust the 10K trimmer to lower the current. I would be adding this to the circuit as an option so it could be bypassed if desired.
thank you
T.B. Limit Feature Circuit #### ThomsCircuit

##### Active Member
um... I could use a little feedback here. No pun intended. Thank you

#### ronsimpson

##### Well-Known Member
The IC1A is watching the output current. What is the output voltage range? The OP-AMP can only see voltages less than it supply voltage. Probably the voltage at "Out-" is above 3.3V. There are some current sense IC that do what you want.

#### ronsimpson

##### Well-Known Member
This IC and some others like it, measure the voltage across a shunt resistor and level shift it down to near ground. This one is good to 26 volts. It can measure voltages higher than its supply. Reference voltage =0V in your case. INA214, NCS21674, NCS199.

#### ThomsCircuit

##### Active Member
What is the output voltage range?
Im may not be interpreting your question correctly but the input ranges from 4.5 to 24 and the output voltage would be dependent on what VR R2 is set at. In this example the author set the input voltage to 12 and the output to 5v. Then adjusted TM1 on the CLimit circuit to read somewhere around 10ma. Then as he adjusted the voltage output the current moved slightly but not much.
This IC and some others like it, measure the voltage across a shunt resistor and level shift it down to near ground. This one is good to 26 volts. It can measure voltages higher than its supply. Reference voltage =0V in your case.
OK i understand this. A good thing. Now let me explain what i think i understand.
INA214 has a gain of up-to 100ma. if i wanted 1A id use INA212
INA210--15 are all the same with exception of the output gain.
That gain is based on R1-4 (built into the IC)
And for my purpose Reference Voltage is ground. (don't know why)
INA210--15 need only the addition of a shunt. One like this one to complete the circuit. (and the bypass cap)
5W Cement Resistor Non-inductive Ceramic resistance 0.01
--------------------------------------------------

Questions
How would i make this adjustable?

Observation:
I see that TI.com has a tool to help calculate some values. I apologize but i do not know how to use it.

#### ronsimpson

##### Well-Known Member
I am looking for the max output voltage when the adjust pot is set to max.

There is a voltage across the Rshunt. That voltage is moved to ground. (assuming "REF=ground)

So 1A across 0.02 ohms = 0.02 volts.
INA214 has a gain of 100. The 20mV across IN_ to IN+ now appears as 2V from GND.

This is about what you drew in post #1. The difference is that this part with only 5V on the supply can measure the voltage across the Rshunt as long as the output voltage is less than 26V. The internal resistors are very accurate! (very very!) #### ThomsCircuit

##### Active Member
I am looking for the max output voltage when the adjust pot is set to max.
So sorry. The max output voltage when the pot is at max is 21volts.
If you could tell me what size pot i would need to adjust the current and if the shunt value needs to be adjusted.
I do appreciate the explanation. Im doing my best to understand this.

#### ThomsCircuit

##### Active Member
There is a voltage across the Rshunt. That voltage is moved to ground. (assuming "REF=ground)

So 1A across 0.02 ohms = 0.02 volts.
INA214 has a gain of 100. The 20mV across IN_ to IN+ now appears as 2V from GND.

This is about what you drew in post #1. The difference is that this part with only 5V on the supply can measure the voltage across the Rshunt as long as the output voltage is less than 26V. The internal resistors are very accurate! (very very!)
Forgive me for my lack of knowledge. My curiosity however is all ears. Im eager to learn and I take what i am given and try to make sense (pun intended) of it. Many times just when i think i have all i need I realize there is another way, method, or a different set of components. Im almost certain the answer to my question lies in your reply and i have tried to figure this out on my own but honestly, sometimes, I think id have a better chance of learning to becoming a Jedi.

So if I were to use this as an adjustable current limiter and connect it to my circuit I would do the following.
I would use INA211 so i could draw up to 500ma pin 1 GND
pin 2 GND
pin 3 (PIN 2 ON MY CIRCUIT)
pin 4 to Shunt | Other side of Shunt Pin 5
pin 5 Output -
pin 6 Output +
----------------------
I do apologize but this is all i understand. If you could help me complete this and integrate it into mine. I would like it to be adjustable so a Trimmer is needed. I also believe the feedback from pin 8 on the MP2315 must play a role in this circuit just not sure where. Perhaps it is the reference voltage (Pin 1)
T.B.

#### ThomsCircuit

##### Active Member
If you could find some time to answer this i would be grateful.
If i need to provide any additional information ill do my best.

#### ronsimpson

##### Well-Known Member
I used +5V from "VCC".
Out max is 500mA. Rshunt=0.05 ohms (or 0.047) Voltage across Rshunt at 500mA is 0.05V
Use INA213 with a gain of 50. The output voltage will range from 0V to 2.5V with current of 0 to 500mA. #### ThomsCircuit

##### Active Member
Thank you!
Ive implemented it into my schematic. I am assuming the diode from pin 7 of the 602 goes to the feedback pin of the MP2315. Please let me know if i got this correct.
And supply / load is where I would connect an LED (for example) Last edited:

#### ThomsCircuit

##### Active Member
I used +5V from "VCC".
Out max is 500mA. Rshunt=0.05 ohms (or 0.047) Voltage across Rshunt at 500mA is 0.05V
Use INA213 with a gain of 50. The output voltage will range from 0V to 2.5V with current of 0 to 500mA.
sorry for the delay. I reached out to a friend for help understanding this. He helped me understand gain and how the two IC's work together. Im still a long way off but ive revised my schematic. Please give me your opinions/feedback.
Thank you Ron. Replies
7
Views
892
Replies
32
Views
18K
Replies
7
Views
6K
Replies
6
Views
1K
Replies
2
Views
900 