Manyembeddedapplicationsrequirethegenerationof
analogsignals.AlthoughseparateD/AconverterIC’s
existonthemarkettoday,theirextrapricemakesthem
prohibitiveincostsensitiveembeddedcontroldesigns.
ThefollowingapplicationnotedescribestwoDAC
designsforgenerationofcomplexanalogwaveforms.:
(PWMandR-2RLadder).BoththePulseWidthModu-
lation(PWM)andresistorladdersrequireonlyafew
externalcomponentstocreateaD/Aconverterwiththe
PICmicro™microcontrollerseries.
Thesetechniquescanbeusedtogeneratedual-tone
multiplexedfrequencies(DTMF)fortelephonedialing,
controllingthespeedofamotor,generatingsoundand
complexwaveforms,andgeneratingvariablevoltages
inapowersupply.AN655D/AConversionUsingPWMandR-2RLadderstoGenerateSineandDTMFWaveformsoneapplicationtoanother.ThedesignershouldAuthors:RobSteinandJohnDayexperimentwiththisvaluetondthemostoptimalnum-MicrochipTechnologyInc.berfortheapplication.Thesetwocriteria(sinefre-quencyand#ofsteps)leadtotherequiredPWMfrequency:INTRODUCTIONPWM_Freq=(Sine_freq)(#ofsteps)10
暂无评论