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

sine pwm(spwm)

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



Joined: 05 Jan 2016
Posts: 44

View user's profile Send private message

sine pwm(spwm)
PostPosted: Sat Apr 22, 2017 7:35 am     Reply with quote

hi...i don't know anything about spwm...what is it? how can i generate spwm with pic16f series?
what is lookup table??
tnx
temtronic



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

View user's profile Send private message

PostPosted: Sat Apr 22, 2017 7:56 am     Reply with quote

Google should be your 'friend' ! There are 100s if not 1,000s of 'hits' regarding PICs and sine PWM, including thesis, code and connections.

SinePWM is too vague or broad a term to really help you as it's the details that determine how to proceed. 16F series PICs can easily do 'sinePWM'.

As for what a 'lookup table' is, generally speaking it is a table (a list) of data (values) that a PIC accesses in sequential order to transfer to a PWM peripheral. Usually the PIC will 'loop' through this this at a predetermined rate (frequency) to generate the 'wave'. The large (long) table can create a better (finer) sine PWM.

You'll need to do a LOT of reading once you KNOW the parameters (details) of the sinePWm you need to make.

Jay
mahdi70



Joined: 05 Jan 2016
Posts: 44

View user's profile Send private message

PostPosted: Sat Apr 22, 2017 9:31 am     Reply with quote

Before i create this topic i searched in this forum and google but I didn't catch.
....how can i put lookup table data on pwm duty? Do I need to change hardware? For example add lpf filter?
asmboy



Joined: 20 Nov 2007
Posts: 2128
Location: albany ny

View user's profile Send private message AIM Address

PostPosted: Sat Apr 22, 2017 12:13 pm     Reply with quote

just search on sine
many hits come up
or

http://www.ccsinfo.com/forum/viewtopic.php?t=50140&highlight=sine
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