Is there anyway this circuit could be improved?

chesschaser

Oct 20, 2024
10
Joined
Oct 20, 2024
Messages
10
Hi guys!
I'm learning electronics and have challenged myself to design a PWM dimmer circuit for a halogen bulb. I have build the circuit below and it works but I always want to learn from these so is there any way this could be improved?

pwm dimmer schematic.PNG
 

Harald Kapp

Moderator
Moderator
Nov 17, 2011
14,271
Joined
Nov 17, 2011
Messages
14,271
Every circuit can be improved.
Always.
It mostly depends on your definition of "improved":
  • less parts
  • less cost
  • less power dissipation
  • less PCB real estate
  • higher reliability
  • better accuracy
  • ...
What is it you want to improve?
 

chesschaser

Oct 20, 2024
10
Joined
Oct 20, 2024
Messages
10
Every circuit can be improved.
Always.
It mostly depends on your definition of "improved":
  • less parts
  • less cost
  • less power dissipation
  • less PCB real estate
  • higher reliability
  • better accuracy
  • ...
What is it you want to improve?
The bulb whines at lower duty cycles. Is there any way this can be prevented?
 

Harald Kapp

Moderator
Moderator
Nov 17, 2011
14,271
Joined
Nov 17, 2011
Messages
14,271
Increase the frequency of the PWM above the audible range to e.g. 30 kHz.
 

Harald Kapp

Moderator
Moderator
Nov 17, 2011
14,271
Joined
Nov 17, 2011
Messages
14,271
The datasheet states a min. current gain bandwidth product of 3 @ 1 MHz. So 30 kHz should be a no brainer.
 

chesschaser

Oct 20, 2024
10
Joined
Oct 20, 2024
Messages
10
The datasheet states a min. current gain bandwidth product of 3 @ 1 MHz. So 30 kHz should be a no brainer.
i measured the output and when i adjust the r2 potentiometer the frequency changes alongside the duty cycle. how can i prevent this?
 

Harald Kapp

Moderator
Moderator
Nov 17, 2011
14,271
Joined
Nov 17, 2011
Messages
14,271
Look up "555 fixed frequency pwm" using the search engine of your choice.
 

bertus

Moderator
Nov 8, 2019
3,836
Joined
Nov 8, 2019
Messages
3,836
Hello,

You could also try the following circuit:
Make C1 1 nF for higher pwm frequency.

Bertus
 

Alec_t

Jul 7, 2015
3,817
Joined
Jul 7, 2015
Messages
3,817
The configuration shown in post #1 only allows duty cycle adjustment between about 17% and 50%. Is that ok for your needs? If not, the post #12 configuration would be better as it allows almost 0% to 100% duty cycle variation.
Why does a change in frequency with duty cycle matter to you in this application?
 
Top