Constant current source for a laser diode

ronv

Joined Nov 12, 2008
3,770
It's not to fancy.
It needs to be able to sense at ground. So common mode range must include ground. It's nice if the output can drive at least 10ma to ground.
Not real fast, but a gain bandwidth of say 6 to 10 Mhz.
 

Thread Starter

electrophile

Joined Aug 30, 2013
167
I simulated the schematic in TINA-TI (attached the image and the TSC file here) since I did not have many of the libraries in LTSpice and the ones I installed weren't exactly working right. Now without the PWM source at the non-inverting terminal of LM358, the circuit simulates just fine with a constant current of 1.4A. However, with the PWM source in (0-5V at 1ms intervals. This essentially would simulate the laser switching ON and OFF from the MCU), the load current shows about 3A :eek:. What am I missing here?
 

Attachments

ronv

Joined Nov 12, 2008
3,770
I simulated the schematic in TINA-TI (attached the image and the TSC file here) since I did not have many of the libraries in LTSpice and the ones I installed weren't exactly working right. Now without the PWM source at the non-inverting terminal of LM358, the circuit simulates just fine with a constant current of 1.4A. However, with the PWM source in (0-5V at 1ms intervals. This essentially would simulate the laser switching ON and OFF from the MCU), the load current shows about 3A :eek:. What am I missing here?
The pwm signal needs to be an open drain output from the MCU - no active pull up.
Be careful with the 15 nf cap to ground. It may cause instability.
 
you need a kind of power electronics circuits . you can use either buck converter and boost converter. if you are using buck converter, you can design constant current source buck converter using uc3842 pwm controller IC using it as a constant current mode. you may use this link http://microcontrollerslab.com/led-driver-using-uc3842/ as a reference where author design constant current buck converter for LED driver.
let me know if you have any question
 

Thread Starter

electrophile

Joined Aug 30, 2013
167
you need a kind of power electronics circuits . you can use either buck converter and boost converter. if you are using buck converter, you can design constant current source buck converter using uc3842 pwm controller IC using it as a constant current mode. you may use this link http://microcontrollerslab.com/led-driver-using-uc3842/ as a reference where author design constant current buck converter for LED driver.
let me know if you have any question
Thanks. I think there are simpler chips available with fewer and cheaper components. Such as AP65200 and ST1CC40. The idea here is to learn by designing more fundamental stuff.
 

ronv

Joined Nov 12, 2008
3,770
Ah I see, but then I'd have to make the Arduino pin as an INPUT pin to disable the pull ups. Would something like this work? (attached)
That would work, but you need to remove the 20K so the 2007 can pull the + input of the op amp all the way to ground to shut it off.
 
Top