![]() | ![]() | ![]() |
| | |||||||
| General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion? |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| Hi, I want to detect the crossover point of a mains supply and being a novice I am looking for a IC solution or simple solution if there is one? Thanks | |
| |
| | (permalink) |
| forgot to mention, I am using a PIC could zero crossover of AC mains be detected using the PIC somehow? Thanks | |
| |
| | (permalink) | |
| Quote:
If you only want to use every full cycle, you can use a simple series resistor feeding directly in to the PIC pin, see the MicroChip application notes for details. | ||
| |
| | (permalink) |
| OK, first, thanks Nigel I am happy with either half or full cycles, I have been looking whilst wating for a reply and this whole zero-crossover is a nightmare!!!! I am looking for the simplest way to determine the actual zero voltage point, will using a PIC pin give me this? if so can you point me at the microhip article that shows this? Thanks | |
| |
| | (permalink) |
| This is a application note for a 12c508 based light dimmer. It also contains zero crossing detection http://ww1.microchip.com/downloads/e...tes/40171a.pdf | |
| |
| | (permalink) | |
| Quote:
| ||
| |
| | (permalink) | |
| Quote:
| ||
| |
| | (permalink) | |
| Quote:
| ||
| |
| | (permalink) |
| I am acutally wanting to dectect as close to the zero volts as posible so anything that puts a slew on this I need to know about, this is why I was looking for a IC to give me a nice pulse / square wave. as neear to zero as possible and without many external components I have found the UAA2016P will this do the job? Thanks | |
| |
| | (permalink) | |
| Quote:
| ||
| |
| | (permalink) |
| Quick update, here's a simple circuit to generate zero-crossing pulses in the PSU of a PIC circuit. The pulses are positive going, will start just before zero-crossing, and end just after, with the zero point pretty well in the middle. However, it's perfectly satisfactory for triac control of faders etc. If required you could always tweak the software to give a slight delay after detection of the rising edge. | |
| |
| | (permalink) |
| Nigel, just out of general interest, isn't there a 90 degree phase shift between the input and output of a transformer? If so, how does that affect this zero crossing detection scheme? | |
| |
| | (permalink) | |
| Quote:
| ||
| |
| | (permalink) |
| I've dug out a 30-0-30 toroidal transformer and tested it, the primary and secondary are perfectly in phase with no load!, or with a 48 ohm load (2 x 24 ohm 17W in series). | |
| |
| | (permalink) |
| O.K. Thanks. I've no idea where that notion came from, probably something my father said 40 years ago that I misconstrued! | |
| |