![]() | ![]() | ![]() |
| | |||||||
| Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| ok. i have this circuit. it uses a PIC(not shown in the diagram) to drive some lamps trough a triac. the cicuit is intended to work only with exact connections for Phase and Ground. i want to make the circuit work even if the mains connections(phase and ground) are swapped. so i need to drive the triac with an optoinsulator and figure a way so that i don't have the phase connected to the PIC directly in case the mains ground and phase are swapped. the pic is not shown in the figure. the optocoupler is used to provide syncronization with the phase for the pic. the triac is driven from the pic directly. | |
| |
| | (permalink) | |
| Quote:
So, while I can't comment on the circuit, all you need to do is derive zero-crossing pulses off a bridge rectifer - this gives a zero-crossing pulse for each half cycle, independent of mains polarity. | ||
| |
| | (permalink) |
| here is the diagram.... | |
| |
| | (permalink) | |
| Quote:
This will give you zero-crossing pulses every half cycle, you will probably have to rewrite the PIC software to compensate. | ||
| |
| | (permalink) |
| ok. just one more question. how could i insulate(optoinsulate) the triac from the other circuit. lets lasy i have another circuit powered from battery wich will need to driva the triac. and i need optoinsulation. | |
| |
| | (permalink) |
| what about this modification? all i need is to drive the triac via an opto coupler. could i use the same type as the first on. note. the optocoupler is an a.c. type. it also has a diode in reverse connected in paralel with the led. | |
| |
| | (permalink) | |
| Quote:
Yes, you could use the same sort of opto-coupler to feed the triac - but it would be pretty pointless as the PIC is still live! - you would need to feed the PIC from a mains transformer. | ||
| |
| | (permalink) |
| what about now? also i am not familiar to insulating the triac. do you have any link to a circuit that showa how to do it? | |
| |
| | (permalink) | |
| Quote:
http://zebra.tky.hut.fi/~jap/Electronics/ExposureTimer/. | ||
| |
| | (permalink) |
| I really don't understand, why You need an opto for sync., if the PSU not isolated from mains. See this: | |
| |
| | (permalink) | |
| Quote:
| ||
| |