Author Topic: DC pulse and current limiter  (Read 330 times)

0 Members and 1 Guest are viewing this topic.

Offline DarlingtonTopic starter

  • Contributor
  • Posts: 30
  • Country: it
DC pulse and current limiter
« on: February 28, 2025, 05:22:55 pm »
I am studying a constant current limiter so as to keep the current drawn by the LED constant.
Everything works fine with a constant voltage generator, but if I try to see the behavior of the circuit with a pulsed DC voltage the graph shows me positive and negative spikes.
I now assume that the spikes are due to the intervention of transistor Q2.
How can I get a current limiter that is also good for limiting current with a pulsed DC generator?

 

Offline Benta

  • Super Contributor
  • ***
  • Posts: 6591
  • Country: de
Re: DC pulse and current limiter
« Reply #1 on: February 28, 2025, 09:47:47 pm »
That circuit is potentially dangerous EMI-wise, it tends to oscillate in the +100 MHz region. There are several threads on this forum about the issue.
A suggestion is that you replace Q1 with two 1N4148s in series, then it will always be stable.
Also, increase R1 to 10 kohms or more.

The spikes may also be related to too small a timestep in the simulation.

This is the circuit I use myself. R2 is crucial, as it prevent the oscillations I mentioned above:


« Last Edit: February 28, 2025, 11:52:05 pm by Benta »
 

Offline D2236

  • Contributor
  • Posts: 44
  • Country: us
Re: DC pulse and current limiter
« Reply #2 on: March 01, 2025, 04:10:40 am »
How can I get a current limiter that is also good for limiting current with a pulsed DC generator?

Be careful when doing your simulations. Quite often some of the default values for the pulse source is set to unrealistic values. For instance, look at the values for rise-fall times, and make sure it is not set to something silly like 1 ps. Take note that a good quality function generator used in university labs will have their fastest rise-fall times in the order of 10 ns. Try to evaluate your circuit with this in mind, and you should get better results.
 

Offline DarlingtonTopic starter

  • Contributor
  • Posts: 30
  • Country: it
Re: DC pulse and current limiter
« Reply #3 on: March 01, 2025, 12:03:39 pm »
I tried your circuit and it seems to work well. I followed your suggestions and actually the rise time and fall time were set to 10ps, changed them to more real values like 10ns and they seem to be fine. I also found a constant current settable led driver the PSSI2021SAY by NXP Semiconductors. I tried it in the simulation and it seems to work well even with a pulsed DC generator. Is this simulation reliable?
What leaves me in doubt is that the on/off control and power supply are the same thing, while the datasheet suggests another configuration.
In my case, actually the power supply acts as a control, if no current flows the generator will not work.
What do you guys think?

 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf