I have a buck converter (LM2596) with a multiturn 50 kΩ trimpot. It gets 24 V input. I exchanged the trimpot for a panel mount 47 kΩ potentiometer and would like to limit the voltage range to from around 4-5-6 V to around 13 V.

I'm by no means an expert, so bear with me. If I read the schematic correctly, pin 1 already has an 820 Ω resistor. When I add another 2.2 kΩ I get a lower voltage of 4.5 V.

I've tried a similar thing with pin 3 to change the upper voltage, without luck. I tried different values, swapped pins, and searched Google without luck.

Any suggestions?

  • \$\begingroup\$ If the pot wires pick up impulse noise the regulator will react by reducing the voltage. But if shielded may be ok. Notice that the regulator will be in linear regulator when the internal Op amp has null input meaning attenuated feedback matches the Vref. i.sstatic.net/yd96n.png thus multiplying the output voltage. Be careful of stray positive feedback getting into Vfb and use very short 10:1 probe gnd to verify the feedback voltage. \$\endgroup\$ Jan 12, 2022 at 19:35
  • \$\begingroup\$ pin 1 is on the chip \$\endgroup\$
    – Andy aka
    Jan 12, 2022 at 21:01
  • \$\begingroup\$ I believe OP means pin 1 on the trim pot. \$\endgroup\$ Jan 13, 2022 at 2:51

1 Answer 1


The way the regulator sets the voltage is that it compares the fed-back voltage to an internal 1.25V reference.

For a regulator with R2 (upper) and R1 (lower) voltage divider, the output will be:

  • Vout = Vref*(1 + R2/R1)

With the pot connected as shown effectively what is happening is the part 'below' the wiper is added to 820R as R1 and the part 'above' is R2. So with the wiper close to Vout, the output is 1.25V; with it close to R1 (820R), the max is whatever the regulator will let you do based on Vin.

It's a crappy design really, for several reasons.

  • It doesn't set proper bounds on the adjustment.
  • If the wiper gets dirty, while the pot moves the feedback pin can be disconnected briefly (like the 'crackle' in an audio pot) which will cause the output to spike to max voltage as you turn the pot.

As to the problem you're seeing, the panel pot may not achieve a full wipe range which is why the output adjustment isn't what you expect.

How to modify it with an external control? Here's a simulation, showing how you can patch into the feedback, safely. Simulate it here.

enter image description here

Design Notes:

  • The op-amp models the feedback behavior.
  • Uses 5k pot, with separate resistors that adjust the limits to be about 4V and 13V.
  • I added a switch to each pot wiper to simulate a scratchy, failing pot. Watch what happens when each switch is opened.

I tried to reduce the resistor values to make the pot in the feedback loop less vulnerable to noise pickup. Nevertheless, you should consider running a shielded pair from the circuit to the front panel pot.

Here's how that would patch in to your existing PSU:

enter image description here

  • \$\begingroup\$ This gives me something to explore, thank you. To be clear, this is what it would look like in RL? Excuse the horrible drawing \$\endgroup\$
    – rovaut
    Jan 13, 2022 at 20:23
  • \$\begingroup\$ The takeaway is, if the FB pin goes open-circuit, due to either a scratchy pot or possibly a broken cable to the external pot, the output will swing to the max (Vin - a volt or two.) That will fry whatever’s connected to it. You want to make sure that FB always has a path to OUT. The sim approximates that behavior. \$\endgroup\$ Jan 13, 2022 at 20:47
  • \$\begingroup\$ The equipment connected is a LED light that tolerates 32vdc and consumes max 1,8A, it turns on around 6 volts and is at max around 13v. It has 100m+ cable so voltage drop needs to be accounted for. The best solution may be to deliver higher voltage (24v) and regulate amperage from 0A - 1,8A? \$\endgroup\$
    – rovaut
    Jan 13, 2022 at 21:16
  • \$\begingroup\$ Well, that's a different problem. There are purpose-built LED power supplies that will do that: regulate current. Maybe choose one of those instead? \$\endgroup\$ Jan 13, 2022 at 21:26
  • \$\begingroup\$ Something like this driver 30v 2a with pot connected to dimmer in this configuration \$\endgroup\$
    – rovaut
    Jan 13, 2022 at 22:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.