320volt / Electronics Projects/

dsPIC30F2010 drop in woofer servo

Electronics Projects, dsPIC30F2010 drop in woofer servo article "dspic projects, microchip projects, microcontroller projects, " tagged with


The dsPIC30F2010-based Drop-In Woofer Servosystem linearizes loudspeaker cone movement via feedback from a pressure-sensing microphone. The manipulate roll feedback comes from a somesthesia device region the closed speaker papers

DCON1bits.SSRC — conversion trigger source select Internal counter ends sampling and starts conversion (auto-convert) Motor control PWM GP timer3 Active transition on INTO pin Clearing SAMP bit ADCON3 Register At 29.4 MIPS, Tcy = 33.9 ns = Instruction Cycle Time

dsPIC30F2010 drop in woofer servo dspic30f2010 servo

The A/D converter will take 12*Tad periods to convert each sample So for ~1 MSPS we need to have Tad close to 83.3ns Using equaion in the Family Reference Manual we have ADCS = 2*Tad/Tcy – 1 Sampling begins immediately after last conversion completes. SAMP bit automatically set Sampling begins when SAMP bit is set

source files: dspic30f2010-drop-in-woofer-servo.rar alternative link2

  1. Electronics Circuits