samEEEf
Full Member level 2
- Joined
- Apr 17, 2010
- Messages
- 133
- Helped
- 1
- Reputation
- 2
- Reaction score
- 1
- Trophy points
- 1,298
- Activity points
- 2,197
I’ve made a circuit of an AC controller (light dimmer) with 3 on/off switch to control AC load. I used PIC microcontroller to control the whole things.
Detail description -
1. Three relay (6V dc; 250V AC, 10A) to switch on/off three AC loads. PIC MCU takes input using push button switch and provides output to relay driver (base of BC547 BJT).
2. One TRIAC based light dimmer using zero cross detector and microcontroller to set desired firing angle of the TRIAC. Two push button switches have been used to increase/decrease firing angle (8 steps). MOC3021 random phase opto isolated TRIAC driver has been used in PIC output and the gate of BT134 TRIAC.
Power line details-
230V, 50Hz
Light intensity can be varied by pressing increase/decrease push button and it is found okay. But when all the three relays are switched on the intensity significantly reduced. Which is quite unusual and it is not acceptable at all.
Say, for example, all the switches are off; I increase firing angle to 4steps and observe the intensity of the bulb. Now, if I switched on all the relays the intensity of the bulb goes down. May be the firing angle somehow increases after switching on all the relays. Intensity comes back to previous state after switching off the relays. I used a USB Mobile charger (slightly higher than 5v and 500mA approx.) as the power supply for the while circuit. I measured terminal voltage for both the case and found no significant change. It stays above 5v.
I cannot find out the reason behind it.
Detail description -
1. Three relay (6V dc; 250V AC, 10A) to switch on/off three AC loads. PIC MCU takes input using push button switch and provides output to relay driver (base of BC547 BJT).
2. One TRIAC based light dimmer using zero cross detector and microcontroller to set desired firing angle of the TRIAC. Two push button switches have been used to increase/decrease firing angle (8 steps). MOC3021 random phase opto isolated TRIAC driver has been used in PIC output and the gate of BT134 TRIAC.
Power line details-
230V, 50Hz
Light intensity can be varied by pressing increase/decrease push button and it is found okay. But when all the three relays are switched on the intensity significantly reduced. Which is quite unusual and it is not acceptable at all.
Say, for example, all the switches are off; I increase firing angle to 4steps and observe the intensity of the bulb. Now, if I switched on all the relays the intensity of the bulb goes down. May be the firing angle somehow increases after switching on all the relays. Intensity comes back to previous state after switching off the relays. I used a USB Mobile charger (slightly higher than 5v and 500mA approx.) as the power supply for the while circuit. I measured terminal voltage for both the case and found no significant change. It stays above 5v.
I cannot find out the reason behind it.