Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Tools
Old 13th January 2008, 12:27 PM   #1
Default triac phase control

i want to control the phase angle of the triac by ic moc3041. is it possible to vary the phase angle by PWM output of the microcontroller.?? what shound be the input to the moc3041 ic?
anandpatel27 is offline  
Old 13th January 2008, 01:08 PM   #2
Default

Wrong choice.

The MOC304x series is designed for Zero-Crossing switching thus has internal circuit to ensure firing at zero crossing so no phase angle control is possible.

You need to use MOC302x series instead which is designed for phase angle control.

MOC3020, MOC3021, MOC3022 and MOC3023 Non-Zero-Crossing Triacs
__________________
L.Chung
eblc1388 is offline  
Old 13th January 2008, 03:04 PM   #3
Default

ok i ll tel u my appplication . i want to control the voltage to the primary of the transformer whose secondary is connected to a heating element . i want to control the temperature with the help of microcontroller. so to synchronize the a voltage and firing pulses as in i would have to use an external zero crossing detector circuit. so what di you suggest. is it possible by PWM?
anandpatel27 is offline  
Old 13th January 2008, 03:23 PM   #4
Default

As you're wanting to do 'temperature' control, try using 'burst fire' control instead of 'phase' control - your zero-crossing opto-isolator would be fine for this.

Generally you don't use phase control for heating!.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 13th January 2008, 04:58 PM   #5
Default

thank you sir for the suggestion but could u please elaborate what is burst fire control . have not heard of it before..
anandpatel27 is offline  
Old 13th January 2008, 05:05 PM   #6
Default

Quote:
Originally Posted by anandpatel27
thank you sir for the suggestion but could u please elaborate what is burst fire control . have not heard of it before..
It's the standard way of varying the power of a heating element - you turn it ON for a while, then OFF for a while - the ratio of the two is the power you're applying to the load (it's basically slow PWM).

So if you had a 1000W heating element, and you turned it ON for 5 secs, then OFF for 5 seconds, the load would receive 500W.

The thermal inertia of the element or load smooths the pulses out.

An obvious way to do it with AC mains to count the number of mains cycles, and turn ON and OFF accordingly.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 13th January 2008, 05:32 PM   #7
Default

Quote:
Originally Posted by Nigel Goodwin
It's the standard way of varying the power of a heating element - you turn it ON for a while, then OFF for a while - the ratio of the two is the power you're applying to the load (it's basically slow PWM).

So if you had a 1000W heating element, and you turned it ON for 5 secs, then OFF for 5 seconds, the load would receive 500W.

The thermal inertia of the element or load smooths the pulses out.

An obvious way to do it with AC mains to count the number of mains cycles, and turn ON and OFF accordingly.
but i want to increase the temperature linearly to a fixed value and maintain it there.. say 500 degree cel .. from room temperature i want to rech there. is it possible by this on off method .. also i have transformer and the heating element is attached to the secondary of it.. so isnt it difficult to constantly on -off an inductive load
anandpatel27 is offline  
Old 13th January 2008, 05:53 PM   #8
Default

Anandpatel27,

1) If you control the phase angle of the SCRs you are switching an inductive load on/off.

2) If you use Nigel’s method of PWM at a frequency of 0.1 hertz you are switching an inductive load on/off. This method is used in ovens and stoves. It has been used before you were born.

3) You might consider switching on/off faster. One cycle on, one cycle off, two on, one off etc. Do not switch on for ½ cycle!

Method 2 & 3 use zero crossing and have low loss. All three will work to control the temperature.
ronsimpson is online now  
Old 13th January 2008, 06:22 PM   #9
Default

Quote:
Originally Posted by ronsimpson
Anandpatel27,

1) If you control the phase angle of the SCRs you are switching an inductive load on/off.

2) If you use Nigel’s method of PWM at a frequency of 0.1 hertz you are switching an inductive load on/off. This method is used in ovens and stoves. It has been used before you were born.

3) You might consider switching on/off faster. One cycle on, one cycle off, two on, one off etc. Do not switch on for ½ cycle!

Method 2 & 3 use zero crossing and have low loss. All three will work to control the temperature.
You haven't mentioned the BIG advantage of burst fire control, in that you don't require mains filters - because the higher the power, the more expensive the filters - so it's not very practical to have heater sized filters.

But as he appears to wanting to simply maintain a stable temperature, I don't see as he requires any form of 'power' control? - just a thermostat type control, and if he wants it to be as stable as possible, using P.I.D. to control it.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 13th January 2008, 07:51 PM   #10
Default

A fully loaded transformer isn't very inductive, it behaves more like a resistor.

If you're worried then switch the secondary or use a snubber network.
__________________

I do not answer private messages asking for help because no one else can: benefit from advice I may give or correct me if I'm wrong.

Please ask on the open forum if you have a question and I'll be happy to help,
if I know the answer.
Hero999 is offline  
Old 13th January 2008, 09:10 PM   #11
Default

Quote:
Originally Posted by Hero999
A fully loaded transformer isn't very inductive, it behaves more like a resistor.

If you're worried then switch the secondary or use a snubber network.
It's even less of a concern, because he's using (or will be) zero-crossing.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 14th January 2008, 11:13 AM   #12
Default

thanks a ton for everyone's help
anandpatel27 is offline  
Old 16th January 2008, 02:36 PM   #13
Default need help again

ok guys i need your help again..

i found something similar on the net to what i want..

http://electronicdesign.com/Articles...5687/5687.html

in the fig 1. first the have used a ready solid state relay and second a separate zero crossing circiut.

if i use moc3041 and triac separately is it possible for me to achieve the same..
anandpatel27 is offline  
Old 22nd August 2008, 08:07 AM   #14
Default Follow-up question

I have a similar question.
We also have to control a heater with transformer. The heater is used in a sealbag sealer.
The heater is a steel ribbon with very low resistance. The transformer is a ring-core transformer.
I got this setup from a previous designer, I am not sure which were the design considerations.

The old controller (which we are replacing) applied power to the heater for a set time for each sealing cycle.
The problem was that when the heater was still warm from last cycle it would overheat, damaging the sealbag and even the heater itself.

To solve this I designed a controller with a fast temperature sensor and a triac to switch the heater (+ transformer). I use a MOC3021, but with software zero crossing detector.

Everything seemed to work fine, but when the customer tried it he found some problems.
At his test bench the fluorescent lights start to flicker as a result of the frequent switching of the heater. (period is 10 mains cycles).
I thoroughly discussed this problem on a dutch forum.
They told me that as it is an inductive load I should not use zero-crossing. Also the transformer might saturate during start-up.

I do not think phase cutting is the way to go. The transformer is heavily loaded with an ohmic load. I think it will behave mainly ohmic, making phase cutting a large EMI risk.
I did see current surges of appr. 4A even when the heater was detached from the transformer. So the transformer start up problem seems to be a real problem.

What I also found, and which I don't understand, is the following:
When powering the transformer only for single cycles I get the following phenomenon.
I see the triac current rise in a sinusoidal way, then when it is at appr. 2/3 of the amplitude suddenly it drops to (almost?) zero. Then after a while at again about 2/3 amplitude it jumps back to being a sinusoidal shape.

What is going on here? Could this be some measuring error? I use a 50mr shunt resistor and set the oscilloscope to differential measurement. Could it be that the common mode rejection fails periodically?
ronald_jansen is offline  
Old 23rd August 2008, 01:09 PM   #15
Default

How much power does the heater require?

It think it's probably more likely that the mains voltage is dropping slightly when the heater is turned on causing the lamps to dim slightly.

You could put the heater on a different circuit to the lighting or increase the crossectional area of the cable feeding both the heater and lighting.
__________________

I do not answer private messages asking for help because no one else can: benefit from advice I may give or correct me if I'm wrong.

Please ask on the open forum if you have a question and I'll be happy to help,
if I know the answer.

Last edited by Hero999; 23rd August 2008 at 01:10 PM.
Hero999 is offline  
Reply

Tags
control, phase, triac

Thread Tools
Display Modes


Similar
Title Starter Forum Replies Latest
Variable capacitor circuits walters General Electronics Chat 92 7th February 2009 08:08 PM
AC Phase controlling by Triac for AC motor speed control chanoknun108 Electronic Projects Design/Ideas/Reviews 3 23rd August 2008 03:31 PM
Using Oscilloscopes mechie Electronic Theory 9 29th November 2007 10:49 PM
Phase control dimming Adam Micro Controllers 0 20th April 2004 08:18 PM
Pic 16f84 triac AC phase control Drei Micro Controllers 2 3rd September 2003 04:21 PM



All times are GMT. The time now is 06:27 AM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker