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...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

GAINAMPLIFIERANTIALIASINGFILTERSAMPLINGFREQUENCYBUZZERFigure 3 A microphone captures sound events, and an antialiasing filter following again amplifier handles signal amplification and filtering of high-frequency components.ADCSIGNALANALYSISro crossings and high peaks. These characteristics, althoughthey provide good information, seem to mimic white noise,and it is a challenge for designers to distinguish between thewaveform’s characteristics and white noise.The frequency response involves similar challenges. Theglass-breakage signal’s components spread over the entirespectrum with fairly equal energy, which is typical of whitenoise. However, a peak occurs at approximately 200 to 300Hz; this peak—the frequency component of the sound causedby the initial impact to the glass during breakage—providesthe much-needed distinction. The impact is a low-frequencysignal among all the high-frequency glass-breakage soundsthat follow. You can view this impact, or thud, as the soundthat occurs when an object hits the glass. It is difficult to recognizethis information in the time-domain waveform, butyou do know that this sound precedes all other sounds duringbreakage.SYSTEM COMPONENTSA glass-breakage detector must always be on and shouldbe able to process any sound activity in real time. However,you can turn off some of the detector’s blocks or put them intolow-power modes when they are not operating. A microphonecaptures sound events, and an antialiasing filter followinga gain amplifier handles signal amplification and filteringof high-frequency components (Figure 3). The antialiasingfilter rejects any frequencies above the audiblerange of 20 kHz and avoids violating the Nyquist criterionduring digitization of an analog signal.The blocks within the dashed lines are parts of the processor,which can be an ASIC, a microcontroller, or a DSP.The ADC converts the analog signal to a digital sample forprocessing in the digital domain. The sampling frequency,F S, depends on the frequency content of the signal. Becausethis circuit uses a 20-kHz antialiasing filter, the sampling ratemust be at least 40 kHz to preserve the original signal’s contentand integrity. The signal-analysis block encompasses allof the signal processing necessary for the detection or rejectionof glass breakage. Once this detection completes, thedecision block activates an indicator, such as an LED or abuzzer, to indicate glass breakage.HARDWARE SPECSMost glass-breakage detectors operate from batteries; forsufficient battery life, the design should have low power consumption.The choice of all hardware components in this designdepends on their ability to contribute to the low-powerdesign. An analog signal starts at the microphone and endsat the ADC. The choice of the microphone is importantDECISIONbecause its performance contributes tothe success of any glass-breakage detector.The microphone should also beable to capture and preserve key soundcomponents, such as impact and otherhigh-frequency components that the detectoralgorithm uses. The microphonemust be on most of the time to captureany sound activity and hence must consumeless power to bring down the overallsystem current. The gain amplifier—usually an operational amplifier in inverting or noninvertingmode—has a gain higher than unity. The op amp must providesufficient gain to the sound—on the order of tens of millivolts—themicrophone captures. The op amp must alwaysremain on and must have a small turn-on current. The antialiasingfilter is also an op amp, filtering in the analog domain,and is usually a simple first- or second-order-unity-gainlowpass filter.The most important choice in this design is that of the signalprocessor. You can use ASICs, microcontrollers, or DSPs,depending on the application. Like smoke detectors, mostglass-breakage detectors are placed inside homes or officesat locations that ensure security and safety. However, theyrequire battery power so that you can place them anywherewithout worrying about their proximity to power outlets andto ensure that they will continue to operate in the absence ofpower on the mains.You must choose a low-power, programmable, easy-to-use,STARTACTIVITY-DETECTIONALGORITHMACTIVITY?YESTHUD-DETECTIONALGORITHMTHUD?YESGLASS-BREAKAGE-DETECTIONALGORITHMGLASSBREAKAGEYESBUZZER ONFigure 4 The high-level software flow of the algorithm includesactivity detection, thud detection, and glass breakage in theorder of occurrence in time.NONONO40 EDN | SEPTEMBER 9, 2010

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

Saved successfully!

Ooh no, something went wrong!