Windmill Software Ltd |
March 1999 |
Monitor Newsletter Archive |
Issue 8: FilteringCONTENTSWindmill News | Filtering: removing interference from your signal | Choosing the right type of filter | Other filtering considerations | Examples of filtering in practice | Glossary T-Z WINDMILL NEWSAs a special offer our subscribers can download the standard Windmill software, with the LabIML RS232 Instrument driver, absolutely free. This lets you connect almost any ASCII instrument with a COM port to, say, an Excel spreadsheet, without any programming. To download the software type your e-mail address and press the Subscribe button on the right. The software comes with comprehensive on-line Help. We've also compiled a FAQ to answer your specific questions. It doesn't contain many questions yet - but perhaps you would let us know of any problems you've had which you solved without our help. We could then include them in our FAQ. E-mail monitor@windmillsoft.com with your questions and answers. FILTERING: REMOVING INTERFERANCE FROM YOUR SIGNALMany analogue signals - temperature, pressure, strain, etc - can benefit from some type of conditioning to improve the quality of measurement. Filtering is a type of conditioning which removes interference from your signals. The data acquisition interface might filter the signal (analogue filtering); alternatively analysis software like FAMOS might filter the signal. Here we are focusing primarily on analogue filtering in hardware. For our purposes a filter is a device that removes undesired signals according to their frequency. If the frequency spectra of signals and interference are sufficiently different, filtering can be very effective. Choosing the Right Type of FilterHigh-Pass Filter A high-pass filter will remove "drift". This can be a particular problem with biological and chemical signals, but not usually with modern electronic signals. * Low-Pass Filter There are a number of other ways of removing high frequency noise from your signals. The amplifier itself has a high frequency cut-off. An integrating A-D converter will also act as a low-pass filter. (See Monitor Issue 4, http://www.windmill.co.uk/adc.html, for more details on integrating converters.) Keeping signal wires as short as possible, using twisted together or shielded wires, keeping away from electrical machinery and using differential inputs will all help reduce interference. * Anti-Aliasing Filter An example of aliasing is when stage coach wheels on a film appear to be going backwards when the coach is actually travelling forwards. The camera samples the scene 24 times each second. This sampling rate is too slow for the speed of the spokes of the wheel. Instead of each frame showing the spokes a little bit further round, each spoke advances to just short of the original position of the spoke in front, giving the appearance of rotating backwards. You can solve aliasing by making sure the sampling rate is at least twice the highest input frequency present in your signal (Nyquist Theorem). In practice it should be 10 to 20 times the highest frequency component of the real signal. So where does filtering come in? Well, if you have high frequency interference and you sample according to the lower frequency of your signal, you will alias the interference - making it look like a part of the signal you are trying to measure. You can remove the interference using an anti-aliasing filter, which is a type of low-pass filter. An anti-aliasing filter generally has a sharper cut-off than a normal low-pass filter. It is specified according to the sampling rate of the system and there should be one filter per input signal. For example, in data acquisition using a 12-bit analogue-to-digital converter, attenuation of -78 dB will get rid of signals that the converter can't resolve. Here are some guidelines for selecting the cut-off frequency of the filter.
With suitable hardware you can set the cut-off frequency for high-pass, low-pass and anti-aliasing filters from Windmill software. *
Band-Pass and Band-Stop Filters
An integrating A-D converter, with the integration time chosen to be one full cycle of the line or mains voltage, could average the interference at the line frequency to zero. It would thus act as a band-stop filter.
Other Filtering ConsiderationsSpeed: One Filter for Each Signal * Post Collection Filtering Examples of Filtering in PracticeMost electronic measurement systems should require neither pre-digitisation filtering in hardware, nor post-capture filtering in software. However, where long leads are used, or in particularly noisy environments, or when recording from sensors that interact with the systems they are monitoring (such as electrochemical or biological sensors) then filtering might be needed. Another class of applications where filtering is required is when comparisons are made between measurements made on different systems. Crash testing of automobile and aircraft components is an example. Here the specifications of the measurement system, in particular its frequency characteristics, are tightly controlled. For measurements from crash test dummies, transducer amplifiers can be given different hardware filters: for example a low-pass filter of 1000 Hz (1 dB point) for the head accelerometers. Dummy torsos have greater inertia, so they have a lower frequency response and the chest accelerometers are specified to have a low-pass filter of 180 Hz. The sled itself has still greater inertia, so it is filtered at 60 Hz. We record the raw signal filtered at 180 Hz, and then do post recording filtering down to 60 Hz in software. Specifying the limits to the frequency response in this way means that complex calculations carried out on the recorded waveforms (for example Head Injury Criteria, HIC) can be compared between test laboratories. GLOSSARY OF PC-BASED DATA ACQUISITION TERMS: T-Z
Do you have a comment or suggestion for this newsletter? Why not email the editor - Jill - at monitor@windmillsoft.com * Copyright Windmill Software Ltd * Reprinting permitted with this notice included * For more articles see http://www.windmill.co.uk We are happy for you to copy and distribute this newsletter, and use extracts from it on your own web site or publication, providing the above notice is included and a link back to our website is in place. SubscribingTo subscribe to Monitor please fill in your email address below. We will not pass your address to any third parties.
|
Home | On-Line Shop | Free Literature and Software Demos | Contents | Search
| Copyright Windmill Software Ltd 2006 PO Box 58, North District Office, Manchester, M8 8QR, UK. E-mail:monitor@windmillsoft.com, Tel:+44 161 833 2782 http://www.windmill.co.uk/ Designed by Studholme.net |