speed control of 220V universal motor

Discussion in 'General Electronics Chat' started by mohamed Sami, Oct 26, 2015.

  1. mohamed Sami

    Thread Starter New Member

    Aug 15, 2015
    16
    0
    I want to control the speed of 220V universal motor
    I used this circuit
    smalltriacswitch.jpg
    load is the motor
    triac BT136
    Moc3061
    but it doesn't work at all led work but motor no

    I tried to make a bridge between gate and other pin of 470 ohm resister but not works too

    so could any one explain !
     
  2. MaxHeadRoom

    Expert

    Jul 18, 2013
    10,565
    2,379
  3. mohamed Sami

    Thread Starter New Member

    Aug 15, 2015
    16
    0
    I just want to control the motor without feedback as first step in project and then i will.
    the same circuit i used except there are resistance and capacitor is this the problem ?
    if so what is there values ?
     
  4. Dodgydave

    Distinguished Member

    Jun 22, 2012
    5,000
    745
    The opto coupler goes across the Mt2 and Gate, make sure its NOT MT1..


    To test the triac, short Mt2 and Gate together, connect Mt1 to Neutral, the motor should run at full speed.
     
    Johann likes this.
  5. mohamed Sami

    Thread Starter New Member

    Aug 15, 2015
    16
    0
    is there a difference if it is connected to neutral or hot line ?
    Mt1 means t1 in triac
     
  6. Dodgydave

    Distinguished Member

    Jun 22, 2012
    5,000
    745
    Opto has to go across Mt2 and Gate, Mt2 to Live via load or it wont work.
     
    Last edited: Oct 27, 2015
  7. MaxHeadRoom

    Expert

    Jul 18, 2013
    10,565
    2,379
    You can control the neutral if needed, the triac and motor does not know any difference.
    Max.
     
  8. nigelwright7557

    Senior Member

    May 10, 2008
    487
    71
    Your circuit looks ok.
    What voltage are you applying to the input resistor ?
    Bear in mind you will lose a couple of volts across the LED.
     
  9. mohamed Sami

    Thread Starter New Member

    Aug 15, 2015
    16
    0
    i removed the optocoupler and replaced it with wire between gate and resistor but it didn't work too so there are some error in triac part
     
  10. mohamed Sami

    Thread Starter New Member

    Aug 15, 2015
    16
    0
    I have tested triac and all circuit there were some issues that are solved now.
    The motor now goes full speed How to control its speed ?
    I saw some threads that talking about this topic but i got some questions
    1) They said optoisolator must has zero crossing detection and i don't know if MOC3061 has it or not.
    2) I found that code to control the speed using interrupt at pin 2 in the arduino what i am saying it that pin 2 should be connected to some hardware or what ?

    int AC_LOAD = 3; // Output to Opto Triac pin
    int dimming = 128; // Dimming level (0-128) 0 = ON, 128 = OFF

    void setup()
    {
    pinMode(AC_LOAD, OUTPUT);// Set AC Load pin as output
    attachInterrupt(0, zero_crosss_int, RISING); // Choose the zero cross interrupt # from the table above
    }

    void zero_crosss_int() //function to be fired at the zero crossing to dim the light
    {
    int dimtime = (75*dimming); // For 60Hz =>65
    delayMicroseconds(dimtime); // Wait till firing the TRIAC
    digitalWrite(AC_LOAD, HIGH); // Fire the TRIAC
    delayMicroseconds(10); // triac On propogation delay (for 60Hz use 8.33)
    digitalWrite(AC_LOAD, LOW); // No longer trigger the TRIAC (the next zero crossing will swith it off) TRIAC
    }

    void loop() {
    for (int i=5; i <= 128; i++){
    dimming=i;
    delay(10);
    }
    }

    3) The dimming variable controls the speed so i can change its value in loop by reading from potentiometer as Example ?
     
  11. Dodgydave

    Distinguished Member

    Jun 22, 2012
    5,000
    745
    Last edited: Nov 3, 2015
    mohamed Sami likes this.
  12. MaxHeadRoom

    Expert

    Jul 18, 2013
    10,565
    2,379
    Also Fairchild app note AN-3006 gives insight into zero cross turn on detection and phase angle control.
    Max.
     
    mohamed Sami likes this.
  13. mohamed Sami

    Thread Starter New Member

    Aug 15, 2015
    16
    0
    I found that code to control the speed using interrupt at pin 2 in the arduino what i am saying it that pin 2 should be connected to some hardware or what ?
     
  14. Dodgydave

    Distinguished Member

    Jun 22, 2012
    5,000
    745
    i dont know how you have wired your arduino up, a drawing would help, i dont understand the code either,
    but you need to have a pin on the arduino pick up the zero crossing from the mains, and another pin giving out the pulses to the triac opto.
     
    mohamed Sami likes this.
  15. mohamed Sami

    Thread Starter New Member

    Aug 15, 2015
    16
    0
    i mean "pin on the arduino pick up the zero crossing from the mains" where to connect it ? is somewhere at optotriac or what ?
     
  16. Dodgydave

    Distinguished Member

    Jun 22, 2012
    5,000
    745
    mohamed Sami likes this.
  17. mohamed Sami

    Thread Starter New Member

    Aug 15, 2015
    16
    0
    I made zero crossing detection circuit both circuits i made are in this link
    http://cdn.instructables.com/FQZ/NYV7/H8CVG9TK/FQZNYV7H8CVG9TK.MEDIUM.jpg
    while changing the variable the speed of motor decreases till specific limit (around 65%) of its full speed but if i reduced the speed less that 65% it stops and if it get lesser it working but not continues it works and stops rapidly
     
Loading...