Go to GlobalSpec.com Home
Alert   Product Alerts
Keep current on the latest products, new suppliers, and technical articles of interest to you. (See Topics)

Frequency and Resolution Options for PWM Outputs

From Microchip Technology, Inc.
 

 
The PIC17C42 is equipped with two high frequency Pulse Width Modulation (PWM) outputs. In a pulse width modulated signal the period of the signal is (usually) kept fixed, while the duty cycle is varied. In this application note, we will discuss options in selecting PWM frequency and resolution. This application note assumes that the internal clock is used for the time-base, which is typically the preferred setup. Also, throughout this application note, PWM1 output is used in examples, Timer1 is assumed to be the time-base. less than 7-bits. Useful and Common PWM Modes While a variety of period values can be selected, the following modes would be most commonly used: 10-bit Mode: In this mode PWM duty cycle has full 10-bit resolution (maximum offered by the PIC17C42). The period register PR1 is set at FFh. PWM period = 1024TOSC = 64 ms. PWM frequency is 15.625 kHz. The user must write both PW1DCH and PW1DCL to update PWM output. See Appendix A for an example of code that modulates 10-bit resolution PWM output

Product Announcements
Microchip Technology, Inc. - Next Generation 16-Bit Digital Signal Controllers
Microchip Technology Inc., a leading provider of microcontroller and analog semiconductors, today announced the first seven next-generation 16-bit dsPIC® Digital Signal Controllers (DSCs) for common,... (read more)
JMC Products - Pulse Width Modulated DC Fans
JMC offers a host of high frequency Pulse Width Modulated (PWM) fans that perform at low noise levels by eliminating the power switching noise of the fan. The speed of the fan is controlled by an... (read more)
TCI, LLC (Trans-Coil International) - KMG High Performance Motor Protection Filter
Converts the PWM waveform to near sinusoidal - required for sensitive applications. (read more)
PREMA Semiconductor GmbH - 40V Buck Converter for Power LEDs - PR4101
The new inductive converter PR4101 drives single or multiple LEDs with currents from 100mA up to several amps, depending on the configuration of external components, from a supply voltage of 9V up to... (read more)
Novotechnik U.S., Inc. - Smart Non-Contact Rotary Position Sensor
RSC3700 & RSC2200 families of non-contacting rotary sensors provides 360° absolute angle measurements with 12-bit resolution. Measurements are referred to a mechanical index point, providing... (read more)
TCI, LLC (Trans-Coil International) - KMG GP Sinewave Output Filter
KMG design in a General Purpose / NEMA 3R Enclosure: With the same level of performance as the original KMG Industrial Filter!... (read more)
Performance Motion Devices, Inc. - MC73110 for Brushless DC Motor Control
The MC73110 Motor Control IC provides high performance digital current loop, velocity loop, and commutation, for brushless DC motors. This intelligent single-axis drive controller operates in internal... (read more)
Advanced Orientation Systems, Inc. - EZ-TILT-5000 Dual axis advanced inclinometer.
EZ-TILT-5000 advanced dual axis temperature-linearity compensated industrial inclinometer that outputs up to +-90 arcdeg Pitch/Roll tilt information in RS-232, PWM, ANALOG and ALARM formats. Internal... (read more)
Atmel Corporation - AVR MCUs Combine USB, Battery Charging and Analog
New AVR® microcontrollers combine USB controller and high performance analog features. The ATmega16U4 and ATmega32U4 reduce system cost in battery powered devices such as gaming accessories. (read more)
 

Topics of Interest
The PICmico? family of RISC microcontrollers has been designed to provide advanced performance and a cost-effective solution for a variety of applications. This application note provides examples... (Read More)
Pulse Width Modulation (PWM) modules, which produce basically digital waveforms, can be used as cheap Digital-to-Analog (D/A) converters only a few external components. A wide variety of... (Read More)
This application note discusses the operation of a Capture/Compare/PWM (CCP) module, and the interaction of multiple CCP modules with the timer resources. The (CCP) module is software programmable to... (Read More)
The low cost, high performance features of a PIC16CXXX microcontroller make it a suitable device for automatic control technology applications. Sometimes, an additional PWM output is needed. For some... (Read More)
The recent interest in intelligent power supplies has driven the development of a new class of microcontroller friendly PWM generators. These PWM generators are the mixed signal control blocks for... (Read More)