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

60Hz from ECCP

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



Joined: 09 Aug 2004
Posts: 768
Location: Silicon Valley

View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger

60Hz from ECCP
PostPosted: Sat Jan 28, 2012 8:17 pm     Reply with quote

Folks,

I’d like to drive an H-bridge with 60Hz square waves with large dead time. This is for a DC to AC inverter.



I wonder. As long as PIC's clock is no faster than 13.1Mhz, it should be possible to generate such slow waveform with ECCP. Right Question

Of course, there are other options:
- generate the waveform with a timer ISR. 60Hz is pretty slow.
- separate dead time generator (GAL or analog RC delay).

- Nick
_________________
Read the label, before opening a can of worms.
temtronic



Joined: 01 Jul 2010
Posts: 9221
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Sun Jan 29, 2012 3:11 pm     Reply with quote

Well you don't say which PIC you're using....but it's a piece of cake to use the 16C84 to make a DC-AC invertor using the H-bridge topology at 60 Hz...
bkamen



Joined: 07 Jan 2004
Posts: 1615
Location: Central Illinois, USA

View user's profile Send private message

PostPosted: Mon Jan 30, 2012 2:14 am     Reply with quote

yea... 60hz is so slow (I just did something similar recently) -- that a simple timer ISR should do the trick.

-Ben
_________________
Dazed and confused? I don't think so. Just "plain lost" will do. :D
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