theo92
New Member
I saw all the previous threads regarding constant current sources. But none of them seems to fully help me.
I'm designing a constant current source to plot a V~I curve of an incandescent lamp. I did it previously using a constant voltage source using PIC's PWM and a BJT, but I'm not satisfied. Now I want a current source.
At first, let me clear my needs:
I need two current sources, first one would deliver low current, say 1mA to 15mA, to measure the cold resistance of the filament accurately. The next one would provide 100mA to 1.5A to let the bulb glow at it's full operating point. Accuracy for measuring the cold resistance is critical. I'll use PIC's onboard ADC to measure the voltage, and a MAX4372 or similar current sense amp for current measurement. I think I'd need two shunt resistor, one of higher resistance for measuring the cold resistance (as it'd be very low), and another of lower resistance to measure the higher current upto 1.5A. Will I need two different current sources for two different current range? Or can they be integrated into a single one?
I've searched a lot about the current source. Found multiple ways, and become confused. LM317 seems the easiest option, but it'll not the suitable for my needs. Next, is an opamp + MOSFET (or BJT)+ a sense resistor. Can you suggest me such a schematic with required equations? The current of the current source will be controlled through a digipot or PWM. I prefer digipot though.
And the analog side will powered from a 15V power supply, and the digital ones, from a 5V regulator of course.
I'm designing a constant current source to plot a V~I curve of an incandescent lamp. I did it previously using a constant voltage source using PIC's PWM and a BJT, but I'm not satisfied. Now I want a current source.
At first, let me clear my needs:
I need two current sources, first one would deliver low current, say 1mA to 15mA, to measure the cold resistance of the filament accurately. The next one would provide 100mA to 1.5A to let the bulb glow at it's full operating point. Accuracy for measuring the cold resistance is critical. I'll use PIC's onboard ADC to measure the voltage, and a MAX4372 or similar current sense amp for current measurement. I think I'd need two shunt resistor, one of higher resistance for measuring the cold resistance (as it'd be very low), and another of lower resistance to measure the higher current upto 1.5A. Will I need two different current sources for two different current range? Or can they be integrated into a single one?
I've searched a lot about the current source. Found multiple ways, and become confused. LM317 seems the easiest option, but it'll not the suitable for my needs. Next, is an opamp + MOSFET (or BJT)+ a sense resistor. Can you suggest me such a schematic with required equations? The current of the current source will be controlled through a digipot or PWM. I prefer digipot though.
And the analog side will powered from a 15V power supply, and the digital ones, from a 5V regulator of course.
Last edited: