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 support@ccsinfo.com

variable frequency control for AC motor speed control

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



Joined: 05 Nov 2008
Posts: 25

View user's profile Send private message

variable frequency control for AC motor speed control
PostPosted: Mon Mar 16, 2009 9:56 am     Reply with quote

Hi,

i will like to implement a variable frequency control to control the speed of a single phase induction motor.

(230V,50hz supply converted to DC & convert back to AC with a smaller freq & voltage using H-bridge inverter & sinusoidal PWM to control the speed (lower speed) of single phase induction motor)

Need advises on the following:

1) Is is possible to implement the VF control stated above using CCS C?
Have heard that it is better to implement using assembly language but i will like to implement using CCS C if possible

2) Have seen sinusoidal PWM done by using a sine lookup table.
Is the sine lookup table implemented using array? & is the value in each array element the value to be loaded to CCPR1L register which specify the duty cycle of the PWM?

3) Does anyone know of any link that discuss about VF control with sinuisodal PWM using CCS C or other C compiler

Thanks alot for the help given

CJ
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Mar 16, 2009 3:18 pm     Reply with quote

Start at the Microchip motor control webpage:
http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=2125&param=en026178
C0J



Joined: 05 Nov 2008
Posts: 25

View user's profile Send private message

PostPosted: Mon Mar 16, 2009 3:40 pm     Reply with quote

Thanks PCM
electrogen



Joined: 24 Feb 2009
Posts: 15
Location: Addis

View user's profile Send private message

PostPosted: Tue Mar 17, 2009 12:50 am     Reply with quote

look at the microchip motor control application notes. They have several application notes for several kind of motors.

also there is a great deal of application reports on DSP solution for motor control with complete codes and hardware settings on the Texas Instruments web site focus.ti.com...> search for application reports.
although they all are based on their DSP TMS320F24X, you can port the code to the PIC(dsPIC is better for such appn).

you can use two methods, one- construct a look up table of sine values
or compute these values on the fly(this needs a faster processor) for the later the vector control is the best though it's more efficient for three-phase motors. anyway the above two sources were more than enough for me when I started.

good luck!
_________________
chips are forever
C0J



Joined: 05 Nov 2008
Posts: 25

View user's profile Send private message

PostPosted: Wed Mar 18, 2009 11:10 am     Reply with quote

Thanks electrogen
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