Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronic Content > Electronic Projects


Electronic Projects A collection of small electronic circuits and projects you can build.

Reply
 
Tools
Old 25th July 2008, 02:43 AM   #1
Default Phase controlled circuit

Hi,

I intend to air condition my entire house which involves a lot of room fans for equal air distribution.

The fans I can purchase here are high rpm high power types, far too loud at nominal power. Reducing fan speed with a phase contol unit would solve only a part of the problem. The ON/OFF cycles are controlled by a MASTER controller and the rpm regulation, done with normal (modified) dimmers should be left to individuals in the rooms. Setting the fan speed too low the fan won't start from a full stop and hence burn up with current flow and no rotation.

So I thought about the possibility employing a small µc which can be set to output a signal high enough to safely start the motor at any condition.

A safe start-up voltage for the fans is 130V (mains 230V).

I made up a zero-crossing-unit to be used for an interrupt in a µc, gaining the zero-crossing point without transformer (which can already cause a phase shift). The circuit output is a TTL compatible high pulse of 50 to 200µs duration every 10ms at zero crossing

My knowledge concerning µcs is very poor, not to say lousy.

What the controller should be able to do: Accept up and down key inputs to increase/decrease output pulse lengths based on the interrupt input to control the triac circuit. Have a three bit preselection speed setup (for output voltages 130,140 and 150V) to be set by two jumpers. Minumum setting via keys always to the preselected speed (voltage).

Here is the schematic of the zero-crossing circuit.

I would very much appreciate if somebody can take the time to make a source code (PIC or ATMEL) for me. I hope I can do the rest on my own.

Thanks for your attention

Regards

Hans
Attached Thumbnails
Phase controlled circuit-zero-xing.png  

Last edited by Boncuk; 25th July 2008 at 02:47 AM.
Boncuk is online now  
Old 25th July 2008, 07:49 AM   #2
Default

Tag Hans,

Quote:
What the controller should be able to do: Accept up and down key inputs to increase/decrease output pulse lengths based on the interrupt input to control the triac circuit. Have a three bit preselection speed setup (for output voltages 130,140 and 150V) to be set by two jumpers. Minumum setting via keys always to the preselected speed (voltage).
I would look at using one or more of the analog inputs of the MCU, by using a variable resistors it would be possible to adjust the fan's speed over the full range.

Regards to starting from a slow speed setting, consider starting the fans at full power power for say 15 seconds, then drop back to the selected speed.

The 16F877A PIC can be configured to have 8 analog inputs.

EDIT:
By connecting the zero crossing pulse into say PORTB.0 [interrupt] it should be possible to have a variable delay for a trig pulse output to a opto triac and vary the phase [power] to the fans.
__________________
Eric " Good enough is Perfect "
I will NOT answer PM's requesting technical help, please use the Forum
PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/

Last edited by ericgibbs; 25th July 2008 at 07:52 AM.
ericgibbs is offline  
Old 26th July 2008, 02:04 PM   #3
Default

Hi Eric,

thanks for the suggestion, but I thought about a small MCU (8pins or so). MCUs have at least one internal timing circuit which could be used to control the length of the output pulse tied to the synchronization pulse of the zero crossing unit.

I want to keep the contoller small enough to fit in a box usually used for light switches or wall outlets. VCC power will be supplied by a central power supply in the distributor cabinet.

Occupying one port pin for the /INT, two more for jumper preselction, one each for up and down keying and one for the outpulse pulse an ATTINY25/45 should be sufficient for the job. That makes a total of six I/O pins which are available with the ATTINY25/45.

I guess for a job like that the CPU might work well with its internal clock generator.

Starting the fans at 100% power (and speed) you would certainly look for the fire brigade approaching. Their sound is similar to a sirene. (Made in China. Where else in Thailand?)

Hans

P.S. Where did you learn this horrible "Tag"? Literally translated it just means day. Saying "Tag" or "Tach" is considered rude in Germany.
Boncuk is online now  
Old 26th July 2008, 02:14 PM   #4
Default

Hi Hans.
Quote:
P.S. Where did you learn this horrible "Tag"? Literally translated it just means day. Saying "Tag" or "Tach" is considered rude in Germany
I heard it a lot in Germany, 1951's at Wildenwrath, working alongside the GSO on guard duty together.
I shouldn't have used the familiar term, it wont happen again.
__________________
Eric " Good enough is Perfect "
I will NOT answer PM's requesting technical help, please use the Forum
PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/
ericgibbs is offline  
Old 27th July 2008, 03:30 AM   #5
Default

Hi Eric,

no problem, if soldiers use it. They aren't supposed to be gentlemen anyway.

Reminds me to my time in military basic training. My uniform wasn't the prescribed way, not wearing a tie, no shoe polish, and some other minor defects too. The platoon sergeant put this to my attention in a pretty rough way. I asked him: "What do you want? A dressman or a killer?"

Hans

Last edited by Boncuk; 27th July 2008 at 03:36 AM.
Boncuk is online now  
Old 30th July 2008, 03:43 AM   #6
Default

Just an idea

*You wait until uC receive an external zero cross interrupt.
*When it received an ZX interrupt turn on a Timer (Timer length < 9mS).
*Wait until timer overflows & after fire the triac.
*Wait until next ZX occurs.

You will be lucky your TTL ZX detector generates high pulses for both edges.So you don't need to alter the external interrupt edge bit in the code (Interrupt on Rising edge will be fine)

Varying Timer value is the one you need to control the fan speed.You can add two switches to increment/decrement the Timers length.

8 bit timer will be fine for smoother phase control.
__________________
Gayan

My Website
http://gsmicro.blogspot.com/
Gayan Soyza is offline  
Old 30th July 2008, 03:53 AM   #7
Default

Or I would go with Erics suggestion to control over full range.

Connects an Preset to an AD input an sample the AD value & adjust the Timers length according to that AD value.
__________________
Gayan

My Website
http://gsmicro.blogspot.com/
Gayan Soyza is offline  
Old 8th August 2008, 01:09 AM   #8
Default Phase controlled circuit

Hi Gayan,

using a pot to set the desired speed is something which can't be done in Thailand.

I don't know of any other people in the world who can destroy a mechanical control element easier than Thais can do.

I've seen a lot of TV-sets with missing knobs for channel selection. The channel selector is tougher than the knob, hence the plastic material of the knob can't withstand the power applied when attempting to turn it beyond the mechanical stop.

Even the stereo amplifier in my stepdaughter's room doesn't have any more knob and the balance pot has completely surrendered.

I'm thinking of a two button control box with vandalism prove stainless steel buttons as they are used in ATM machines. (were plastic some time ago, but all changed)

The controller must be presetable for a defined voltage output at the triac to guarantee safe operation of the fan when starting from stillstand.

Stillstand will be necessary for outside temperatures lower than inside the house and during maintenance periods.

Using two jumpers there will be the choice of three different starting voltages for the motor.

Hans
__________________
Proper Planning Prevents Piss Poor Performance
Boncuk is online now  
Old 11th August 2008, 05:35 AM   #9
Default

Quote:
Originally Posted by Boncuk View Post

I don't know of any other people in the world who can destroy a mechanical control element easier than Thais can do.
Cambodians
rjvh is offline  
Old 14th August 2008, 02:12 AM   #10
Default

Quote:
Originally Posted by rjvh View Post
Cambodians
to complete the list: all Asians I guess.

The 30 year war in Europe was a piece of cake compared to the never ending war of Asians and technical devices.
__________________
Proper Planning Prevents Piss Poor Performance
Boncuk is online now  
Old 24th October 2008, 10:45 AM   #11
Default

need a circuit diagram that can detect a phase sequence failure in a three phase supply
hafsat is offline  
Old 24th October 2008, 11:41 AM   #12
Default

Phase sequense relay is comercialy availible for about $60

Have a look on the MICRO website
its a Malaysian company that makes alkind of probing protection relays

Robert-Jan
rjvh is offline  
Old 24th October 2008, 03:28 PM   #13
Default

Hi,

Hans, i have to ask, did you already try driving the fans with a triac output
at some sub cycle pulse width? Doing this sometimes makes noise too,
so im not sure if that would solve your problem or not, but i thought i
would ask first.
MrAl is offline  
Old 26th October 2008, 09:20 AM   #14
Default

Quote:
Originally Posted by MrAl View Post
Hi,

Hans, i have to ask, did you already try driving the fans with a triac output
at some sub cycle pulse width? Doing this sometimes makes noise too,
so im not sure if that would solve your problem or not, but i thought i
would ask first.
Hi MrAl,

sorry for the late reply. I assumed nobody was interested in the threat anymore.

I don't know exactly what you mean saying "at some sub cycle pulse width". If you understand firing a triac randomly there is a lot of noise and can also kill a motor. The triac works alright for a couple of cycles and then it heats up and misfires in rapid sequence making the motor change rotation at full speed, which in turn overheats the motor rapidly.

I tested that behaviour with a 5KW motor and a big radial fan connected to it. The change of rotation almost broke the shaft with the heavy 'fly wheel'.

Hans
__________________
Proper Planning Prevents Piss Poor Performance
Boncuk is online now  
Old 27th October 2008, 07:09 AM   #15
Default

Quote:
Originally Posted by hafsat View Post
need a circuit diagram that can detect a phase sequence failure in a three phase supply
Just came across the brochure

Robert-Jan
Attached Thumbnails
Phase controlled circuit-tmp74.jpg  
rjvh is offline  
Reply

Tags
circuit, controlled, phase

Thread Tools
Display Modes


Similar
Title Starter Forum Replies Latest
trying to connect 220v to a phase lll circuit shoebydo Electronic Projects Design/Ideas/Reviews 3 10th June 2008 07:00 AM
Greetings. A pic controlled traffic light circuit... Wiley Electronic Projects Design/Ideas/Reviews 2 13th October 2007 05:46 PM
Voltage Controlled Phase Shift Audio Circuit mstone Electronic Projects Design/Ideas/Reviews 0 21st June 2007 06:40 PM
RC circuit phase difference and Oscilloscope aurosunil General Electronics Chat 12 21st July 2004 01:16 AM
controlled rectifier circuit with Thyristor sronggot Electronic Projects Design/Ideas/Reviews 0 17th April 2004 09:42 AM



All times are GMT. The time now is 01:36 AM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker