1004,West-CBD,No.139 Binhe Rd,Futian District,Shenzhen, China Post Code:518048

+86-18682200597

sales@szhaiwang.com

  • About Us
    Company Profile Enterprise Honor Factory Environment Company Culture Development Path
  • Product
    Microwave Sensor Series PIR Sensor Series LDR Sensor and Light Sensor Thermistor Sensor Series Fresnel Lens Reminder Alarm Sensor
  • News
    Company News Industry News Latest News
  • Service
    FAQ Download
  • Contacts

    Home  -  News  -  Industry News

    How to test and implement FIR filters?

    source:Industry News release time:2022-11-01 Hits:     Popular:Infrared sensing module

      8308-D PIR lens

      Here are a few methods:

      Impulse Test: A very simple and effective test is to put an impulse into it (which is just a "1" sample followed by at lest N - 1 zeroes.) You can also put in an "impulse train", with the "1" samples spaced at least N samples apart. If all the coefficients of the filter come out in the proper order, there is a good chance your filter is working correctly. (You might want to test with non-linear phase coefficients so you can see the order they come out.) We recommend you do this test whenever you write a new FIR filter routine.

      Step Test: Input N or more "1" samples. The output after N samples, should be the sum (DC gain) of the FIR filter.

      Sine Test: Input a sine wave at one or more frequencies and see if the output sine has the expected amplitude.

      Swept FM Test: From Eric Jacobsen: "My favorite test after an impulse train is to take two identical instances of the filter under test, use them as I and Q filters and put a complex FM linear sweep through them from DC to Fs/2. You can do an FFT on the result and see the complete frequency response of the filter, make sure the phase is nice and continuous everywhere, and match the response to what you'd expect from the coefficient set, the precision, etc."


    Read recommendations:

    The role and selection of thermistor in the switching power supply.Human Body Temperature Monitoring

    How to use radio frequency ranging sensor to monitor the water level of manhole.Microwave Radar Sens

    PIR Lens 2136-1

    HW-US003 Offline speech recognition module

    HW1004PIR sensor module

    Popular Recommended Products