New to AC


Closed Thread
Results 1 to 10 of 10

Thread: New to AC

  1. #1
    Join Date
    Apr 2006
    Location
    Michigan
    Posts
    70

    Default New to AC

    I am new to AC electronics, and I am realizing how much of the world I have missed. There is one thing I am really confused on. I have noticed several threads on here that explain a dimmer circuit. I see that the pic control and optocoupler which in turn controls a triac. What is the reasoning behind the zero voltage detection aspect of it. I am guessing it is timing. Maybe you need to start the PWM signal when the AC line is at zero volts. I don't really see why that is though. I have searched a lot on google and all I can find is that it need to be done, but not why. Hope somebody knows. Thanks.

  2. #2
    Join Date
    Dec 2005
    Posts
    1,073


    Did you find this post helpful? Yes | No

    Default

    Triacs automatically turn off at zero crossing. You control how long they are on during each half-cycle by controlling the point where the triac is turned on by a gate signal. Powerline control signals (e.g. X-10) are usually sent just before or after ZC as that has the lowest noise.
    Last edited by dhouston; - 29th June 2006 at 00:17.

  3. #3
    Join Date
    Dec 2005
    Posts
    1,073


    Did you find this post helpful? Yes | No

    Default

    There's a Microchip App Note that gives a very concise explanation of triacs.

  4. #4
    Join Date
    Apr 2006
    Location
    Michigan
    Posts
    70


    Did you find this post helpful? Yes | No

    Default

    Thank you for all the help. You said something that really cleared it up for me when you said the triac turns off at zero voltage. That made me realize the need for detecting the zero crossing is to get an accurate reference every time. If you didn't do it, you may turn on the triac at the beginning of the cycle the first time, and the next time you would turn it on in the middle which would cause the light to flicker. I didn't realize that I was not using the PWM command, but using the 60Hz to creat my own PWM. Let me know if this is correct thinking. At 60Hz the period is 16.6 ms. This means that it is positive for 8.3ms and negative for 8.3 ms. I would then detect the zero crossing and turn on the triac for a certain time. If i turn it on for 4.15 ms I would have a 50% duty cycle or about 60 volts at my bulb. Without the zero detection Part of my on time could be the zero voltage, which would significantly drop the 60 volts and cause a flicker.

  5. #5
    Join Date
    Apr 2006
    Location
    Michigan
    Posts
    70


    Did you find this post helpful? Yes | No

    Default

    I think I finally get it. That documentation was awsome along with TB049 from microchips application notes. A Triac is a latching device. You only need a small pulse from the micro to turn it on, and then it latches until the zero voltage event. I was thinking about it oppisite. I thought I would turn it on at the beginning for the cycle, but that would keep it on the entire time. I need to turn it on at some point mid cycle. Going back to my previoius post if I want a 50% duty cycle I detect the zero crossing, wait 4.15ms and then turn on the triac. It would then stay on for the remainder of the cycle. I think this all makes sense now. I will have to experiment. Hopefully I won't electrocute myself.

  6. #6
    Join Date
    Dec 2005
    Posts
    1,073


    Did you find this post helpful? Yes | No

    Default

    It is possible to reverse the turn-on/turn-off sequence by using an IGBT instead of a triac. Search Google on "IGBT dimmer".

  7. #7
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    IGBT have good advantage.. reducing lamp buzz, reducing the noise the AC line, and and, and... but if my memory is good they need to drive in DC... another Bridge needed.

    What's best? It's up to you to decide.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  8. #8
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Smile

    After these nice explanations above, some schematics would be very nice (including IGBT thingy).
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

  9. #9
    Join Date
    Dec 2005
    Posts
    1,073


    Did you find this post helpful? Yes | No

    Smile

    Quote Originally Posted by sayzer
    After these nice explanations above, some schematics would be very nice (including IGBT thingy).
    And that's why I suggested Google.

    I already cited a Microchip app note for triacs. There's an ST app note for an IGBT dimmer.
    Last edited by dhouston; - 30th June 2006 at 12:31.

  10. #10
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,648


    Did you find this post helpful? Yes | No

    Wink It's assembler ... yesssss, but interesting !!!

    here is a simple lamp dimmer working w/2 pushbuttons ...

    follow the listing ...everything explained.

    Alain
    Attached Files Attached Files
    Last edited by Acetronics2; - 30th June 2006 at 13:45.
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

Similar Threads

  1. DC to AC convertor
    By The Master in forum Off Topic
    Replies: 11
    Last Post: - 6th February 2010, 17:44
  2. Circuit Diagram for interfacing AC to PIC IC?
    By wellyboot in forum Schematics
    Replies: 3
    Last Post: - 8th March 2008, 19:40
  3. How to read AC mains with an inductance coil
    By KB3BYT in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 20th February 2008, 12:02
  4. AC to PIC read hi or low
    By Normnet in forum Schematics
    Replies: 6
    Last Post: - 23rd July 2007, 03:46
  5. Special Offer AC -AC adapter
    By lester in forum Adverts
    Replies: 0
    Last Post: - 9th September 2005, 07:52

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts