Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

need help in controling triac with pic16f54

Status
Not open for further replies.

rohitlucky

Newbie level 5
Joined
Feb 26, 2010
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
india
Activity points
1,324
how to control(phase control) a triac with pic16f54.please help me
 

Triac (bt136) need nearly .7 v ,9ma at its gate terminal so u can use a transistor as a common base configuration and connect triac at emitter,AT collector connect 1k variable resistance and base under 10k resistance at pic16f54 terminal
 

Hi,
Assuming you're using an MOC3021 or something similar, when you set PWM duty cycle (the traditional DC-DC controlling PWM) at 20%, the output is high for the first 2ms and low for 8ms. But as soon as the output goes high, the MOC3021 fires the triac, which gets latched (on) until the next zero crossing.
Take any duty cycle and you'll see that the lamp will always light upto full brightness.
What you have to do is, if you need 20% brightness:
Half period is 10ms. So, your output needs to be on for 20% first half, then 20% second half. So, that means 80% off, this 80% is "cut" through phase control. Wait for 80% of the half-time, ie, 8ms and THEN send a high pulse to the MOC for about 100us and then turn the pulse low. Repeat this for the second half as well, and THEN you will get 20% brightness.

Take a look at this:
Phase fired controllers - Wikipedia, the free encyclopedia
220px-Regulated_rectifier.gif


Hope this helps.
Tahmid.
 
Last edited:

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top