PWM duty-free and resolution (RPM)

Source: Internet
Author: User

Duty cycle is the ratio of the on time to the period
The effect is basically the same when the impulse is equal and the narrow pulse with different shape is added to the link with inertia.
Duty cycle: is the output of the PWM, the high-level hold time and the PWM clock cycle time ratio, such as a PWM frequency is 1000Hz, then its clock period is 1ms, is 1000us, if the high-level occurrence of the time is 200US, Then the low-level time must be 800us, then the duty-free ratio is 200:1000, that is, the duty ratio of the PWM is 1:5.

Resolution: that is, the minimum duty ratio can be achieved, such as 8-bit PWM, the theoretical resolution is 1:255 (single slope), 16-bit PWM theory is 1:65,535 (single slope).

The frequency is this: such as 16-bit PWM, its resolution reached 1:65,535, to achieve this resolution, T/C must be counted from 0 to 65535 to achieve, if the count from 0 to 80 and from 0 to 80 ... Then it has a minimum resolution of 1:80, but it is also fast, which means that the PWM output frequency is high.

Double slope/single slope:

Suppose that a PWM counts from 0 to 80, and then counts from 0 to 80 .... This is a single slope .

Suppose that a PWM counts from 0 to 80, and then counts from 80 to 0 .... This is the double slope .

It can be seen that the double slope of the count time is one times more, so the output of the PWM frequency is half slower, but the resolution is 1: (80+80) =1:160, is the increase of one times.

PWM is the analog way to stabilize the output, by adjusting the PWM duty cycle (resolution), and the period to adjust the voltage and current size.

PWM duty-free and resolution (RPM)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.