Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

PWM or D/A for motor control??

Status
Not open for further replies.

ahgu

Full Member level 3
Joined
Jun 19, 2001
Messages
172
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,298
Activity points
1,552
Any expert out there would know?
which one is preferred? what are the tradeoffs.

thanks
ahgu
 

Stark

Member level 2
Joined
Aug 10, 2001
Messages
51
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
342
You should be more practical;which kind of control do you wish to implement?
Everyway a PWM method is preferred.
Stark.
 

ahgu

Full Member level 3
Joined
Jun 19, 2001
Messages
172
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,298
Activity points
1,552
I did some research:
PWM usually have 10bit resolution(1024) levels. 20Khz x 1k=20Mhz. if you goto 12bit resolution, you need 80Mhz clock.

But for DAC, 16bits is readily available. But it is a external component. Any uController that has 12bits DAC?

I need to do location position, My encoder has 512lines-->2k using quadrature encoding. How do I choose the PWM or DAC resolution??


thanks
ahgu
 

johnyaya

Full Member level 2
Joined
May 30, 2001
Messages
126
Helped
17
Reputation
34
Reaction score
0
Trophy points
1,296
Location
YoyoDyne
Activity points
1,109
The resolution you speek of (10-bit PWM vs 16-bit DAC) isn't important for position resolution. The encoder resolution is very important. 10-bit PWM resolution (in my experience) has been good. Of course there are other factors to absolute position accuracy.
 

Speedy

Newbie level 6
Joined
Dec 31, 1999
Messages
11
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
14
On 2001-08-31 17:26, ahgu wrote:
I did some research:
PWM usually have 10bit resolution(1024) levels. 20Khz x 1k=20Mhz. if you goto 12bit resolution, you need 80Mhz clock.

But for DAC, 16bits is readily available. But it is a external component. Any uController that has 12bits DAC?

I need to do location position, My encoder has 512lines-->2k using quadrature encoding. How do I choose the PWM or DAC resolution??


thanks
ahgu
Aghu,

I am using a 750 count PWM (about 9.5 bit) with 4000 line encoders with a TMS320LF2407. It implements the S-curve velocity profile, as well as the PID. Soon, I will be interpolating with a 9000 line encoder for a total of 1.4 million counts. I can tell you that the PWM resolution is not of the utmost concern. What is important is the encoder count, and the dampening of the PID control. Contact me on ICQ for more info. 5796988.

Speedy
 

bunalmis

Full Member level 5
Joined
Jan 3, 2003
Messages
268
Helped
19
Reputation
38
Reaction score
11
Trophy points
1,298
Location
Ireland
Activity points
2,147
PWM or DAC resolution

" I need to do location position, My encoder has 512lines-->2k using quadrature encoding. How do I choose the PWM or DAC resolution? "

If you want to use DAC, you must use analog power amplifier for motor driver. But another choice, you can use voltage to PWM converter for Bridge motor power driver.

You can select any resolution for PWM or DAC. If you increase the resolutuion of PWM, voltage ripple of control voltage and acustic noise decrease. Your motor characterisric very importand for PWM resolution selection.

Try by 8 bit and if you dont like the system performans then increase 9 bit .. 10 bit ..
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top