Discussion Overview
The discussion revolves around designing a digitally controllable constant current source, with a target output range of 0.25mA to 2mA, using a microcontroller. Participants explore various circuit designs, components, and methods to achieve reliable current control, including the use of digital potentiometers, op-amps, and DACs.
Discussion Character
- Exploratory
- Technical explanation
- Debate/contested
- Mathematical reasoning
Main Points Raised
- One participant describes an initial design using an LM317 and a digital potentiometer, noting issues with current regulation and the impact of load resistance on current draw.
- Another participant suggests that digital potentiometers may not function reliably as variable resistors due to temperature coefficients and questions the need for steady current versus PWM control.
- A suggestion is made to use a DAC to drive a voltage-to-current converter or a current mirror for better control.
- Concerns are raised about the LM117's minimum current requirements and the implications for the circuit's performance, with references to the datasheet for clarification.
- Participants discuss the potential of using an op-amp circuit with a digital potentiometer, with one participant recommending the LM324 for its availability and capability.
- There are discussions about the need for headroom in the op-amp design and the implications of using a single supply versus dual supply configurations.
- One participant shares their prototyping results with a temperature-independent current follower design, noting successes and challenges with varying load resistances.
Areas of Agreement / Disagreement
Participants express differing opinions on the reliability of digital potentiometers and the best methods for achieving a constant current source. There is no consensus on a single approach, and multiple competing views remain on the effectiveness of various components and circuit designs.
Contextual Notes
Limitations include unresolved questions about the minimum current requirements of components, the effectiveness of digital potentiometers in this application, and the need for specific circuit configurations to achieve desired performance.