Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 11:50:55 PM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  General Mach Discussion
| | |-+  PWM freq
Pages: 1   Go Down
Print
Author Topic: PWM freq  (Read 253 times)
0 Members and 2 Guests are viewing this topic.
croy
Active Member

Offline Offline

Posts: 15


View Profile
« on: June 28, 2011, 09:26:58 AM »

This may sound silly but i am at a loss and kneed to know what is the Frequency of the PWM
Logged
Tweakie.CNC
Active Member

Offline Offline

Posts: 3,263


Super Kitty.


View Profile WWW
« Reply #1 on: June 28, 2011, 10:26:43 AM »

The repetition rate (Frequency) for the PWM is programmable and is set here.

Tweakie.


* 28-06-2011 16-24-08.jpg (94.56 KB, 713x423 - viewed 58 times.)
Logged

Success consists of going from failure to failure without loss of enthusiasm.  Winston Churchill.
Peter Homann
ModIO Adviser
Active Member

Offline Offline

Posts: 354




View Profile WWW
« Reply #2 on: June 28, 2011, 04:48:51 PM »

This may sound silly but i am at a loss and kneed to know what is the Frequency of the PWM

The PWM base frequency (repetiition rate) is programmable as Tweakie has stated. But keep in mind that as you set the base frequency of the PWM higher the resolution of the PWM decreases.

The PWM signal is created using the Mach3 kernel Interrupt.

If you are running the kernel at 25KHz and have a PWM base frequency of 50HZ then;

PWM resolution = Kernel Speed/PWM base Freq  = 25,000/50 = 500

This gives you 500 steps from 0 to 100% PWM signal.


If you are running the kernel at 25KHz and have now set a PWM base frequency of 200Hz then;

PWM resolution = Kernel Speed/PWM base Freq  = 25,000/200 = 125

This gives you 125 steps from 0 to 100% PWM signal. If you are using the PWM for speed control this will give 125 different speeds from 0rpm to max rpm.

You need to choose a base frequency that will provide speed control with sufficient resolution for your application.

Cheers,

Peter.
Logged

----------------------------------------------------
Homann Designs
http://www.homanndesigns.com/store
email: peter at homanndesigns.com
croy
Active Member

Offline Offline

Posts: 15


View Profile
« Reply #3 on: June 29, 2011, 12:38:07 AM »

Thanks you both, i an grateful for the answers.
Logged
Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!