Académique Documents
Professionnel Documents
Culture Documents
Triac
The triac is a device able to drive in both directions, it is useful for use in controlling AC power, has a
pin through which driving is controlled.
Driving begins when a minimum current magnitude is entered IG T positive or negative by the gate (G
Pin), once the triac becomes conductive, the gate loses control and the triac remain conducting until
the current flowing between A1 and A2 is less than a current maintenance IHIf we need the triac again
lead must launch another pulse of current in the gate, even though there are more ways to fire the
triac, for this purpose we will only use we have mentioned. Control Phase If we connect the Vac
source directly to the burden and assuming that the "lOAD" is purely resistive load, the power load is
given by:
P= V2A CR
Where:
VA C: Is the effective voltage of the sine wave
Phase Control
You can take any value between 0 Y radians, the average power load receiving function
of angle shooting , It is given by the formula:
The angle
P= 1[ A s i n ( ) ]2R d
P= A22 R[ - + 12without( 2 ) ]
Where TOis the amplitude of the sine wave.
By symmetry of the problem is only necessary to integrate p i. In the same way if we calculate the
effective voltage of the new "sine chunked" wave function of the angle
we have:
Vr m s= A2 --[ - + 12without( 2 ) ]---------------
Then we plot the dependence between the angle " "Average power"P"And the effective voltage wave
chunked"Vr m s"
The chart above shows how varying the firing angle (axis X) Of the triac, we can vary the power
supplied to the load. In the chart,Vm to x is the maximum effective value corresponding to the actual
value of a complete sine wave that is TO2
A typical circuit for handling loads in AC is like the following figure:
The process to conduct the microcontroller to vary power by triac comprises the following steps:
1:
2:
3:
4:
To detect the beginning of a half cycle wave, which will use this circuit to connect output pin External
Interrupt.
In the circuit 2 show the waveforms generated at each stage of shaping circuit, this circuit is
responsible for conditioning the network signal for the PIC16F628A detect each half cycle of the
network, through the external interrupt (pin B0) .
The code used to test the circuit is next, it is used is using the internal oscillator to 4MHz:
1:
2:
3:
4:
#include "16f628a.h"
#use delay (clock = 4000000)
#use standard_io (a)
#use standard_io (b)