1. 首页
  2. 课程学习
  3. 嵌入式
  4. PWM输出频率和分辨率选择

PWM输出频率和分辨率选择

上传者: 2022-10-22 20:17:20上传 PDF文件 149.04 KB 热度 13次

ThePIC17C42isequippedwithtwohighfrequency

PulseWidthModulation(PWM)outputs.Inapulse

widthmodulatedsignaltheperiodofthesignalis

(usually)keptfixed,whilethedutycycleisvaried.Inthis

applicationnote,wewilldiscussoptionsinselecting

PWMfrequencyandresolution.

Thisapplicationnoteassumesthattheinternalclockis

usedforthetime-base,whichistypicallythepreferred

setup.Also,throughoutthisapplicationnote,PWM1

outputisusedinexamples,Timer1isassumedtobe

thetime-base.AN539FrequencyandResolutionOptionsforPWMOutputs(PR1=18h),thenPWMfrequencyis:Authors:StanD’SouzaandSumitMitra1/(100x62.5)ns=160kHz.MicrochipTechnologyInc.NotehoweverthatthedutycycleresolutionisalittleINTRODUCTIONlessthan7-bits.UsefulandCommonPWMModesThePIC17C42isequippedwithtwohighfrequencyPulseWidthModu

用户评论