12.07.2015 Views

VOICE OF THE ENGINEER - ElectronicsAndBooks

VOICE OF THE ENGINEER - ElectronicsAndBooks

VOICE OF THE ENGINEER - ElectronicsAndBooks

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

and inexpensive processorwith good processing capabilitiesfor real-time operation.The microcontrolleris the best of these choicesbecause it meets all of theserequirements. Some microcontrollersalso integrateanalog peripherals, whichfurther reduce overall systemcost.TABLE 1 CURRENT AND TIMING CONSIDERATIONSCondition/mode Peripherals on Clocks Current On timeLow-Power Mode 3 Timer on (up mode) MCLK=DCO=off 0.6 μA 2.5 msecSMCLK=DCO=offACLK=VLO≈12 kHzTACLK=ACLK=VLOActivity detection/AM1 (Active Mode 1)Microphone onOp amp 0 onMCLK=DCO=12 MHzSMCLK=DCO=12 MHzACLK=VLO≈12 kHz4.8 mA 20 μsecThud detection/AM2 (Active Mode 2)Glass-breakagedetection/AM3 (Active Mode 3)Microphone onOp amp 0 onOp amp 1 onTimer on (up mode)ADC 10 onMicrophone onOp amp 0 onADC 10 onMCLK=DCO=8 MHzSMCLK=DCO=8 MHzACLK=VLO≈12 kHzTBCLK=SMCLK=8 MHzMCLK=DCO=12 MHzSMCLK=DCO=12 MHzACLK=VLO≈12 kHz4 mA 32 msec5.8 mA 60 msecS<strong>OF</strong>TWARE SPECSAn antialiasing filterwith a 20-kHz cutoff frequencyfilters the analogsignal from the microphone.To digitize this signal,the sampling rate must be greater than 40 kHz, and theADC must be able to support that rate. For real-time operation,the filter must complete the required processing betweensuccessive-sampling instants. For example, if the maximumCPU frequency is 12 MHz, the number of CPU cyclesbetween successive samples is only 300, which is tightfor signal processing. You can choose a processor that supportsa higher CPU clock for increased CPU cycles. Doing sowould increase power consumption, however, and thereforedecrease battery life. Hence, one must make a trade-off betweenthe algorithm’s complexity level and battery life.The thud occurs at the beginning of a glass-breakage sound.This thud signal is present in most sounds, such as the noisethat occurs when a door or cabinet closes, an object hits theground, or someone claps his or her hands or knocks on adoor. However, these sounds lack the high-frequency componentsof typical glass-breakage signals. Other sounds, such asthe noise a coffee grinder makes, loud music, motorcycles inmotion, or the noise a wineglass makes when it breaks, havesimilar high-frequency components but no thud component.Circuits Layout SSO Ringing Probes Power Crosstalk GroundingEMC Noise Jiftter RLGC Thermal Stripline RoutingSignal Integrity —Dr. Howard Johnsonand hisextraordinary Black Magic seminars...Huntsville, AL 25-2627-28OctOctHigh-Speed Digital DesignAdvanced High-Speed Signal Propagationwww.sigcon.comUse Promo code EDN10SEPTEMBER 9, 2010 | EDN 41

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!