CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Advantage of the ZCD special PIC?

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
hmmpic



Joined: 09 Mar 2010
Posts: 314
Location: Denmark

View user's profile Send private message

Advantage of the ZCD special PIC?
PostPosted: Sat Dec 31, 2016 1:44 am     Reply with quote

I can not see what the ZCD module can do better then a normal PIC with AD and OpAMP.

Anyone there can give a simple explanation on the advantage of using a pic with ZCD as 12f1612 have.

(Setup: ZCD signal is feed directly from AC-line to a CAP and a resistor, and two diode to clamp over end under voltage...)
Ttelmah



Joined: 11 Mar 2010
Posts: 19520

View user's profile Send private message

PostPosted: Sat Dec 31, 2016 2:22 am     Reply with quote

Nothing.

Point is it saves parts. The chip is being designed for simple applications that may well have to detect the mains phase, and every extra part costs space and money. Since most such applications will require a zero crossing detector, they include one. It's exactly the same answer as what the advantage is of the internal comparator. Answer, nothing, except removing the need to add a comparator to your circuit.

Beware of adding external diodes. Provided your series resistor is correctly chosen (so that even on the largest signals you expect, the current rating of the input pin current sink/source is not exceeded), the internal diodes do the job (they can withstand over 80* the current that is meant to be being delivered to the pin). Adding your own external diodes may skew the result, since the internal ZCD relies on the current all arriving at the input pin to correctly bias the voltage to the required point....
The diode (particularly on the 0v rail), can act to slightly bias the detection point.
hmmpic



Joined: 09 Mar 2010
Posts: 314
Location: Denmark

View user's profile Send private message

PostPosted: Sat Dec 31, 2016 2:40 am     Reply with quote

Thanks for that:-)
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group