Lamp dimming circuit help

Thread Starter

gaber2611

Joined Mar 14, 2013
321
Hello
This circuit switch between two outputs and reset
I mean one click for lower button turn on the lamp, another click turn off different lamp, another click turn off both
I'm fine with this process, as I've already simulated and it work
IMG_20241129_021714.jpg
My problem here, that I need control the lamp brightness with buttons, " the upper right and left",
The control work, and the voltage drops across the lamp when dimming, but when Release the button, the voltage start increase again across the lamp slowly and lamp start shine again
I've tried different capacitors, but same issue, only time change but not solve the problem
When simulate the irfz44n circuit alone, it work perfect,
IMG_20241129_024644.jpg
when merge with 4017 circuit problem happens
How can I adjust the lamp dimming, and prevent capacitor discharge after button release?
 

Attachments

MisterBill2

Joined Jan 23, 2018
27,187
Of course the lamp will get brighter as time passes. With neither button pressed the gate circuit is floating and there is a positive bias on the capacitor. So of course the gate will have a slowly increasing positive voltage.

Did the TS draw the circuit to intentionally make it hard to follow?? The lines are a lot more complicated than the actual circuit.
 

MisterBill2

Joined Jan 23, 2018
27,187
I see no "pull up" resistor for the drain voltage of M1, the added device. That may cause a problem.
Really, the solution is to use a ZERO LEAKAGE capacitor for that 0.1 Uf capacitor. Otherwise, the function will be very similar to the "time dependent light dimmer" in my old GE hobby circuits book.
 

Thread Starter

gaber2611

Joined Mar 14, 2013
321
This require heat sink also?

1732906728160.png
I've tried this circuit, everything OK except :

1- there is delay time when switch from one led strip to the other, take time to completely off while the other strip is on

2- when increase the brightness, the led not fully bright, duty cycle doesn't reach 100%
 

Thread Starter

gaber2611

Joined Mar 14, 2013
321
By the way, as you see that the space I have
13mm*100mm pcb
No place for heat sink
Messenger_creation_9720802F-9A34-4441-BAB4-D0F9BD1FAC83.jpegneed change the design to micro-controller?, with mosfet for each led strip?, suitable one smd without heatsink?
 

sghioto

Joined Dec 31, 2017
8,633
Micro has nothing do with needing a heat sink.
It depends whether the circuit is operating linear as in post #3 or PWM as in post #10
The circuit in post #10 may not require a heat sink or maybe only a small one
When high current passes through the mosfet some loss in dissipated as heat. Depends on the mosfet and how much current.
The IRF520 for instance has an average RDs of .27 ohms when fully ON. A 2amp LED strip would drop .27 x 2 = 0.54 volts. Now multipy that by 2 amps = 1.08 watts for 1 strip or 3.24 watts for 3 strips when fully ON
There are better mosfet to use. Back in post #3 I changed the mosfets to a IRFZ44N which has a RDs of only .035 ohms
Again: .035 x 2 = 0.07 volts x 2amps = .14 watts and .42 watts for 3 strips. Probably don't need a heat sink or possibly a small vertical type.
Simulation isn't always accurate. I have the circuit breadboarded currently and it works as designed.
Did you use the same parts listed on the schematic in the sim?
1733006696673.png
 
Last edited:
Top