[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/diy/ - Do It Yourself

Search:


View post   

>> No.2502308 [View]
File: 17 KB, 474x600, CC LED driver.png [View same] [iqdb] [saucenao] [google]
2502308

>>2502191
it is a slight modification of this standard building block with an error amp driving a mosfet or bjt and a sense resistor and feedback loop. but instead of a fixed voltage reference on V+ it varies based on Vin.

>>2502269
>software control loop
I don't think you need a software control loop necessarily. You can still have the same standard error op amp based feedback loop, you just need some logic in your software to change Vref according to your mode: if constant current, do nothing, if constant resistance or constant power, sense Vin and set Vref accordingly based on the Ohm's law.
dave covers all that in great deail:
https://www.youtube.com/watch?v=8xX2SVcItOA

Navigation
View posts[+24][+48][+96]