Loading...
Pages: [1]   Go Down
Author Topic: How to controll A.C. 230V fan speed with arduino..??  (Read 1365 times)
0 Members and 1 Guest are viewing this topic.
INDIA
Offline Offline
Sr. Member
****
Karma: 0
Posts: 331
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I would like to use arduino to control the household fan speed which runs on 230V A.C.  ...

How will I control the fan speed from the PWM outputs of the arduino board..??

What components should I use to fire a triac for the regulation..??
« Last Edit: November 12, 2012, 09:15:58 pm by Joy » Logged

Australia
Offline Offline
Full Member
***
Karma: 5
Posts: 202
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

What type of motor does the fan have ?
If its a single phase induction motor which many fans are , you cant easily vary the speed.
Logged

INDIA
Offline Offline
Sr. Member
****
Karma: 0
Posts: 331
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes its a single PHASE ceiling fan...

After some search I found that some people use MOC3011 with an optocupler..

here is a circuit which I found..
« Last Edit: November 13, 2012, 12:18:44 am by Joy » Logged

0
Offline Offline
Tesla Member
***
Karma: 50
Posts: 6553
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Lot inexpensive possible solutions on ebay.

http://www.ebay.com/sch/i.html?_trksid=p2050601.m570.l1313&_nkw=voltage+controller&_sacat=0&_from=R40
Logged

Why I like my 2005 rio yellow Honda S2000 with the top down, and more!
GOOGLE ADVANCED FORUM SEARCH BELOW!  
Go to:  http://www.google.com/advanced_search?hl=en
put in key search words,
use site or domain:  http://arduino.cc/forum
or in a google search box put key words site:http://arduino.cc/forum

INDIA
Offline Offline
Sr. Member
****
Karma: 0
Posts: 331
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

those are ready to use modules..

I know about them..

But I would like to control it with arduino for other reasons..... You can say a kind of home automation..
Logged

Offline Offline
God Member
*****
Karma: 9
Posts: 777
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I've never made a motor speed control, but I've made light dimmers (not with the Arduino), and from your schematic, the concept looks basically the same...

You can't use PWM, but it's something like PWM synchronized to the 50/60Hz line frequency.  You only need a modified top part of the schematic (including both opto-isolators) and the Arduino would replace the CD4xx parts, etc.

It works like this - You detect a point along the "phase" of the AC signal (usually near the zero-crossing).  That's the full-wave rectifier, the FET B2, and an opto-isolator, with the current-limited AC driving the opto input.

The opto-isolators keep the high voltage away from you and the low-voltage control circuitry (i.e the Arduino).  If you are building your own power supply, you can use the isolated transformer secondary to get the timing/phase and eliminate one of the opto-isolators.

That isolated detected phase/timing signal goes to an Arduino input.

An Arduino output drives the other opto-isolator, which drives the TRIAC (A1).   

After being triggered by the phase/timing signal, there is a delay (i.e. 0-10mS @ 50Hz).  Then a short pulse into the output opto-isolator (IC1) "fires" the TRIAC somewhere along the AC half-cycle.  (The pulse has to be "short" because it cannot extend into the next AC half-cycle).

Once triggered,  TRIACs always stay-on 'till the current falls to zero (the next AC zero-crossing).


--------
Other thoughts:

The actual zero-crossing is difficult to detect, and the peak is difficult too...   So it's generally best to find a point somewhere in the middle (around 45 degrees).  With a microcontroller, it's easy to compensate since you know the line frequency.

Also with a microcontroller, you don't need full-wave rectification.   When you find one zero-crossing point (or trigger point) there is another one 180 degrees later (10 mS later at 50Hz).

You'll probably have to experiment with the timing/delay to get it to work right near zero-speed and near full-speed.
Logged

INDIA
Offline Offline
Sr. Member
****
Karma: 0
Posts: 331
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

What if I do this..??




I found another circuit where they are doing it in this way..



Another similar circuit here

« Last Edit: November 13, 2012, 09:05:03 pm by Joy » Logged

Offline Offline
Edison Member
*
Karma: 23
Posts: 1381
Now, More Than Ever
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

What if I do this..??



That circuit is for on/off
I found another circuit where they are doing it in this way..



Another similar circuit here



That's for "random fire".  OK1 is your zero-cross detector.  OK2 is the triac driver, but for your motor (Inductive load!) you need to add a snubber across the power triac and a snubber on the triac driver output, too.  See "page 5 of 9" >>>>>  http://www.jameco.com/Jameco/Products/ProdDS/277835FSC.pdf

Logged

Don't Be Upset By The Results You Didn't Get With The Work You Didn't Do

Amsterdam
Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I was wondering whether this project came off the ground.. I have a similar demand, I want to control a house /kitchen fan (with inductive loads) with a triac kind of dimmer setup. I am looking for a heads up whether this would work on such ac electromotors.. If they perform steady etc.

thanks!
Logged

Pages: [1]   Go Up
Print
 
Jump to: