Announcement

Collapse
No announcement yet.

How would you something like this “ AC cycle control ” to a micro controller

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How would you something like this “ AC cycle control ” to a micro controller

    How would you hook up a micro controller to zero crossing to be used as a AC cycle controller

    This right now is for a proof of concept and weather or not it can be done for educational purposes for now

    Using this type of optic sensor “ H11AA1 ”

    Here is the discussion on this forum

    https://forums.parallax.com/discussi...with-p1#latest
    Last edited by sam_sam_sam; 01-17-2021, 03:33 PM.
    9 PC LCD Monitor
    6 LCD Flat Screen TV
    30 Desk Top Switching Power Supply
    10 Battery Charger Switching Power Supply for Power Tool
    6 18v Lithium Battery Power Boards for Tool Battery Packs
    1 XBox 360 Switching Power Supply and M Board
    25 Servo Drives 220/460 3 Phase
    6 De-soldering Station Switching Power Supply 1 Power Supply
    1 Dell Mother Board
    15 Computer Power Supply
    1 HP Printer Supply & Control Board * lighting finished it *


    These two repairs where found with a ESR meter...> Temp at 50*F then at 90*F the ESR reading more than 10%

    1 Over Head Crane Current Sensing Board ( VFD Failure Five Years Later )
    2 Hem Saw Computer Stack Board

    All of these had CAPs POOF
    All of the mosfet that are taken out by bad caps

    #2
    Re: How would you something like this “ AC cycle control ” to a micro controller

    microchip has a pdf all about doing zero-crossing with an mcu
    https://www.microchip.com/design-cen...o-cross-detect
    Last edited by stj; 01-17-2021, 04:05 PM.

    Comment


      #3
      Re: How would you something like this “ AC cycle control ” to a micro controller

      If you're using a ZC optoisolator, you don't need to do anything, just turn it on and isolator does ZC for you. Just that the microcontroller won't know exactly when the device is on, it could be many milliseconds before the device turns on.

      Or as stj says you can do this in software and you have to tell the microcontroller when the ZCs occur. This way the microcontroller knows when the device is on because it knows when the ZC occurred.

      Yes knowing the whole system would be helpful. Costs an extra pin on the microcontroller to detect ZCs but sometimes like controlling a heater, it doesn't matter and you can save a pin. Motors likely also fall into this category unless you want to know the exact positioning of the motor, then perhaps it matters.

      Comment


        #4
        Re: How would you something like this “ AC cycle control ” to a micro controller

        knowing the use would help.

        the biggest reason for an mcu to know 0-point i think would be a video-wall - to prevent tearing of the image

        Comment

        Working...
        X