Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

genereting 3 phaze pwm by pic

Status
Not open for further replies.

mühendis60

Newbie level 3
Newbie level 3
Joined
Dec 11, 2010
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,301
hi all

in my project i want to use pic. do u now any pic which include 3 pwm hardware.
I need CCS cods
 

i think u will have to make program using loop because microcontroler does not have low frequency pwm
 
Guys,

There are not enough hardware built-in PWM modules at these uC´s ( only 2 modules )
Also is not recomended implement that functionality by firmware, due precicion needed will increase Timer rate an all uC processing will be dedicated to this task.

My sugestion, is to use PsOC familly of CYPRESS.

+++
 
If you need only 50-200Hz PWM this can easily be implemented in software. What PWM resolution are you looking for?

At this PWM frequency I am thinking about LED control. I have done 8 channels with a pseudo-logarithmic PWM signal (equivalent to ~13 bits resolution) on an ATtiny2313. PWM freq ~120Hz.
I have also done 32 channels with 8 bit resolution on ATmega163 running at <8MHz. PWM freq was >100Hz.

Of course the biggest problem when using SW for PWM is the delay caused by other things on the MCU. A simple I²C or UART interface for setting the PWM values can be done interleaved with the PWM generation.
 

Guys,

There are not enough hardware built-in PWM modules at these uC´s ( only 2 modules )

+++

PIC 16F7x7 (16F737, 16F777) have 3 PWM modules.

You can take a look at this at it is a cheap PIC16 controller

Hope this helps.
Tahmid.

---------- Post added at 16:56 ---------- Previous post was at 16:55 ----------

At this PWM frequency I am thinking about LED control. I have done 8 channels with a pseudo-logarithmic PWM signal (equivalent to ~13 bits resolution) on an ATtiny2313. PWM freq ~120Hz.

He's looking to make a 3-phase inverter for controlling a 3-phase induction motor.

Tahmid.
 
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top