LPC1769 MCPWM motor control

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LPC1769 MCPWM motor control

2,943件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by purplesun90 on Tue Oct 09 14:23:29 MST 2012
Can anyone told me how to use the MCPWM in LPC1769 to control a servo motor. Like the initialization procedure, and how to make use of it. I got no idea how to start. I wan to use two switch to turn it clockwise and anticlockwise.
Greatly appreciate if can provide the example code to drive a simple motor using MCPWM. Simple enough as I just wan to understand the basic concept.
0 件の賞賛
返信
3 返答(返信)

2,424件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by venuchitiki on Thu May 07 22:48:07 MST 2015
hai all...


I am new to MCPWM in LPC17xx. I tried to work on MCPWM with dead time control.
am generating 50hz sine modulated PWM with dead time but am not getting exact PWM which is shown in LPC17xx user manual. please help me. See the attached file you will come to know what is my problem.
yellow color = PWM
blue color = Inverted PWM
dead time = 2usec
PWM switching frequency = 10kHz
0 件の賞賛
返信

2,424件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by ex-kayoda on Tue Oct 09 14:41:26 MST 2012
Isn't there a sample in LPCXpresso Example folder?

There's also an AN: http://www.lpcware.com/content/nxpfile/an10898-bldc-motor-control-lpc1700
0 件の賞賛
返信

2,424件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Pax on Tue Oct 09 14:37:52 MST 2012
Hello Purplesun,

if you are new to motor control, I encourage you to start with the simplest motor to control, the brushed DC motor.

Before you start coding, you need to understand the motor and motor control fundamentals. Read this very good app note on brushed DC motor control by Microchip:

http://ww1.microchip.com/downloads/en/appnotes/00905a.pdf

They also have more good info on the topic. NXP might have something too. When you have read and understood, it will be much easier for you to understand the MCPWM section in the 1769 user guide.

Good luck!
0 件の賞賛
返信