MikroElektronika white logo
  • Products
    • Click Boards
      • Wireless Connectivity
        • GPS/GNSS
        • GSM/LTE
        • LTE IoT
        • BT/BLE
        • WiFi
        • RFID/NFC
        • GSM+GPS
        • 6LoWPAN
        • ZigBee
        • UWB
        • SigFox
        • Sub-1 GHz Transceievers
        • 2.4 GHz Trancevers
        • LoRa
        • WiFi+BLE
      • Sensors
        • Biometrics
        • Gas
        • Magnetic
        • Motion
        • Optical
        • Pressure
        • Proximity
        • Temperature & humidity
        • Current sensor
        • Miscellaneous
        • Environmental
        • Force
        • Inductance
        • RF meter
        • Click Shields
        • Click Bundles
      • Interface
        • Adapter
        • CAN
        • Port expander
        • RS485
        • USB
        • 1-Wire
        • RS232
        • Ethernet
        • LIN
        • PWM
        • Current
        • DALI
        • I2C
        • Fiber optics
        • SPI
        • DMX
        • CXPI
        • Click Shields
        • Click Bundles
      • Display & LED
        • LED Drivers
        • LED Matrix
        • LED Segment
        • OLED
        • LCD
        • TFT
        • Click Shields
        • Click Bundles
      • Miscellaneous
        • Relay
        • Optocoupler
        • ID
        • Proto
        • Encryption
        • Click Shields
        • Click Bundles
      • Mixed Signal
        • ADC
        • Measurements
        • DAC
        • Digital potentiometer
        • ADC-DAC
        • Click Shields
        • Click Bundles
      • Storage
        • EEPROM
        • FLASH
        • FRAM
        • microSD
        • MRAM
        • SRAM
        • EERAM
        • ReRAM
        • DRAM
        • Click Shields
        • Click Bundles
      • Motor Control
        • Brushed
        • Brushless
        • Servo
        • Stepper
        • Click Shields
        • Click Bundles
      • Audio & Voice
        • Amplifier
        • Microphone
        • Speakers
        • Signal Processing
        • Speech recognition
        • FM
        • MP3
        • Click Shields
        • Click Bundles
      • HMI
        • Capacitive
        • Pushbutton/Switches
        • Potentiometers
        • Rotary encoder
        • Haptic
        • Fingerprint
        • Click Shields
        • Click Bundles
      • Clock & Timing
        • RTC
        • Clock generator
        • Click Shields
        • Click Bundles
      • Power Management
        • Battery charger
        • Boost
        • Buck
        • Linear
        • Buck-Boost
        • Wireless Charging
        • Power Switch
        • USB-C PD
        • Click Shields
        • Click Bundles
      • Click Bundles
      • Click Shields
    • NECTO
      • NECTO Studio
    • Compilers
      • PIC
        • C
          • NECTO Studio
          • mikroC PRO for PIC
        • Basic
          • mikroBasic PRO for PIC
        • Pascal
          • mikroPascal PRO for PIC
        • Additional Software
          • CODEGRIP WiFi license
          • CODEGRIP SSL license
          • Visual TFT
          • Visual TFT AI
          • Visual GLCD
          • Package Manager
          • mikroBootloader
          • CAN calculator
          • GLCD Font Creator
          • Timer Calculator
          • MikroPlot
      • dsPIC/PIC24
        • C
          • NECTO Studio
          • mikroC PRO for dsPIC
        • Basic
          • mikroBasic PRO for dsPIC
        • Pascal
          • mikroPascal PRO for dsPIC
        • Additional Software
          • CODEGRIP WiFi license
          • CODEGRIP SSL license
          • Visual TFT
          • Visual GLCD
          • Package Manager
          • mikroBootloader
          • CAN calculator
          • GLCD Font Creator
          • Timer Calculator
          • MikroPlot
      • PIC32
        • C
          • NECTO Studio
          • mikroC PRO for PIC32
        • Basic
          • mikroBasic PRO for PIC32
        • Pascal
          • mikroPascal PRO for PIC32
        • Additional Software
          • CODEGRIP WiFi license
          • CODEGRIP SSL license
          • Visual TFT
          • Visual GLCD
          • Package Manager
          • mikroBootloader
          • CAN calculator
          • GLCD Font Creator
          • Timer Calculator
          • MikroPlot
      • ARM
        • C
          • NECTO Studio
          • mikroC PRO for ARM
        • Basic
          • mikroBasic PRO for ARM
        • Pascal
          • mikroPascal PRO for ARM
        • Additional Software
          • CODEGRIP WiFi license
          • CODEGRIP SSL license
          • Visual TFT
          • Visual TFT AI
          • Visual GLCD
          • Package Manager
          • mikroBootloader
          • CAN calculator
          • GLCD Font Creator
          • Timer Calculator
          • MikroPlot
      • AVR
        • C
          • NECTO Studio
          • mikroC PRO for AVR
        • Basic
          • mikroBasic PRO for AVR
        • Pascal
          • mikroPascal PRO for AVR
        • Additional Software
          • CODEGRIP WiFi license
          • CODEGRIP SSL license
          • Visual TFT
          • Visual GLCD
          • Package Manager
          • mikroBootloader
          • CAN calculator
          • GLCD Font Creator
          • Timer Calculator
          • MikroPlot
      • FT90x
        • C
          • mikroC PRO for FT90x
        • Basic
          • mikroBasic PRO for FT90x
        • Pascal
          • mikroPascal PRO for FT90x
        • Additional Software
          • CODEGRIP WiFi license
          • CODEGRIP SSL license
          • Visual TFT
          • Visual GLCD
          • Package Manager
          • mikroBootloader
          • CAN calculator
          • GLCD Font Creator
          • Timer Calculator
          • MikroPlot
      • 8051
        • C
          • mikroC PRO for 8051
        • Basic
          • mikroBasic PRO for 8051
        • Pascal
          • mikroPascal PRO for 8051
        • Additional Software
          • CODEGRIP WiFi license
          • CODEGRIP SSL license
          • Visual TFT
          • Visual GLCD
          • Package Manager
          • mikroBootloader
          • CAN calculator
          • GLCD Font Creator
          • Timer Calculator
          • MikroPlot
    • Dev Boards
      • PIC (8-bit)
        • 8th Generation
          • Fusion for PIC v8
          • EasyPIC PRO v8
          • EasyPIC PRO v8 over USB-C
          • EasyPIC v8
          • EasyPIC v8 over USB-C
          • UNI-DS v8
          • UNI-DS v8 over USB-C
        • 7th Generation
          • EasyPIC PRO v7a
          • PICPLC16 v7a
          • EasyPIC v7a
          • EasyPIC PRO v7
          • EasyPIC v7
        • 6th Generation
          • PICPLC16 v6
      • dsPIC/PIC24 (16-bit)
        • 8th Generation
          • EasyPIC v8 PIC24/dsPIC33
          • EasyPIC v8 for dsPIC30
          • EasyPIC v8 for dsPIC30 over USB-C
          • Fusion for PIC v8
          • UNI-DS v8
          • UNI-DS v8 over USB-C
        • 7th Generation
          • EasyPIC Fusion v7
          • EasyPIC v7 for dsPIC30
        • 6th Generation
          • Easy24-33 v6
      • PIC32 (32-bit)
        • 8th Generation
          • Fusion for PIC32
          • Fusion for PIC32 over USB-C
          • Fusion for PIC v8
          • UNI-DS v8
          • UNI-DS v8 over USB-C
        • 7th Generation
          • EasyPIC Fusion v7
      • ARM (32-bit)
        • 8th Generation
          • Fusion for ARM v8
          • Fusion for ARM v8 over USB-C
          • Fusion for STM32 v8
          • Fusion for STM32 over USB-C
          • Fusion for KINETIS v8
          • Fusion for Kinetis v8 over USB-C
          • Fusion for TIVA v8
          • Fusion for TIVA v8 over USB-C
          • UNI-DS v8
          • UNI-DS v8 over USB-C
        • 7th Generation
          • EasyMx PRO v7a STM32
          • EasyMx PRO v7 STM32
          • EasyMx PRO v7 Tiva
      • AVR (8-bit)
        • 8th Generation
          • EasyAVR v8
          • EasyAVR PRO v8
          • EasyAVR PRO v8 over USB-C
          • UNI-DS v8
          • UNI-DS v8 over USB-C
        • 7th Generation
          • EasyAVR v7
        • 6th Generation
          • AVRPLC16 v6
      • 8051 (8-bit)
        • 7th generation
          • BIG8051
        • 6th Generation
          • Easy8051 v6
      • PSoC (8-bit)
        • 6th Generation
          • UNI-DS6 Development System
      • RISC-V (32bit)
        • 8th Generation
          • UNI-DS v8
          • UNI-DS v8 over USB-C
      • Universal Boards
        • 8th Generation
          • UNI-DS v8
          • UNI-DS v8 over USB-C
          • Fusion for PIC v8
          • Fusion for ARM v8
        • 7th Generation
          • EasyPIC Fusion v7
        • 6th Generation
          • UNI-DS6
          • mikroBoard for PIC 80-pin
          • mikroBoard for AVR
          • mikroBoard for dsPIC
          • mikroBoard for PSoC
          • mikroBoard for 8051
          • mikroBoard for PIC 40-pin
          • mikroBoard for ARM
          • mikroBoard for ARM 144-pin
      • IoT - Wearable
        • Hexiwear
          • Hexiwear
          • Hexiwear Power User Pack
          • Hexiwear Docking Station
          • Hexiwear Battery Pack
          • Hexiwear Color Pack
          • Hexiwear Workstation
      • Analog Boards
        • 7th Generation
          • Analog System Lab Kit PRO
    • Starter Boards
      • PIC (8-bit)
        • Clicker
          • PIC clicker
        • Clicker 2
          • Clicker 2 for PIC18FJ
          • Clicker 2 for PIC18FK
        • Clicker 4
          • Clicker 4 for PIC18F
          • UNI Clicker
        • Ready
          • Ready for PIC Board
          • Ready for PIC (DIP28)
          • PIC-Ready2 Board
          • MMC Ready Board
        • StartUSB
          • StartUSB for PIC
      • dsPIC/PIC24 (16-bit)
        • Clicker 2
          • Clicker 2 for PIC24
          • Clicker 2 for dsPIC33
        • Clicker 4
          • UNI Clicker
        • Ready
          • dsPIC-Ready1 Board
          • dsPIC-Ready2 Board
          • DsPIC-Ready3 Board
          • dsPIC-Ready4 Board
      • PIC32 (32-bit)
        • Clicker
          • PIC32MX clicker
          • 6LoWPAN Clicker
          • PIC32MZ clicker
        • Clicker 2
          • Clicker 2 for PIC32MX
          • Clicker 2 for PIC32MZ
        • Clicker 4
          • UNI Clicker
        • MINI
          • MINI-32 Board
          • MINI-32 for PIC32MZ
        • Flip&Click
          • Flip&Click PIC32MZ
      • ARM (32-bit)
        • Clicker
          • RA4M1 Clicker
          • Kinetis Clicker
          • MSP432 Clicker
          • CEC1702 clicker
          • CEC1302 Clicker
          • STM32 M4 clicker
        • Clicker 2
          • Clicker 2 for STM32
          • Clicker 2 for Kinetis
          • Clicker 2 for CEC1702
          • Clicker 2 for MSP432
          • Clicker 2 for CEC1302
          • Clicker 2 for PSoC 6
        • Clicker 4
          • Clicker 4 for STM32F745VG
          • Clicker 4 for STM32F4
          • Clicker 4 for TMPM3H
          • Clicker 4 for TMPM4K
          • Clicker 4 for STM32
          • UNI Clicker
        • MINI
          • MINI-M4 for STM32
          • MINI-M4 For Kinetis
          • MINI-M4 for Tiva
          • MINI-M4 for Stellaris
          • MINI-M4 for MSP432
          • MINI-M0 for STM32
        • Flip&Click
          • Flip&Click SAM3X
      • AVR (8-bit)
        • Clicker 4
          • UNI Clicker
        • MINI
          • MINI-AT Board - 3.3V
          • MINI-AT Board - 5V
        • Ready
          • Ready for AVR Board
          • Ready For XMEGA
          • mikroXMEGA Board
          • AVR-Ready2 Board
        • StartUSB
          • StartUSB for AVR
      • 8051 (8-bit)
        • Ready
          • 8051-Ready Board
      • FT90x (32-bit)
        • Clicker 2
          • Clicker 2 for FT90x
      • Miscellaneous
        • USB
          • USB Wizard
          • Quail
          • FlowPaw Kit
      • Universal Boards
        • Clicker 4
          • UNI Clicker
    • Prog-Debug
      • PIC (8-bit)
        • CODEGRIP
          • UNI CODEGRIP
          • UNI CODEGRIP - USB-C
          • CODEGRIP for PIC
          • CODEGRIP for PIC USB-C
        • mikroProg
          • mikroProg for PIC
      • dsPIC/PIC24 (16-bit)
        • CODEGRIP
          • UNI CODEGRIP
          • UNI CODEGRIP - USB-C
          • CODEGRIP for PIC
        • mikroProg
          • mikroProg for dsPIC
      • PIC32 (32-bit)
        • CODEGRIP
          • UNI CODEGRIP
          • UNI CODEGRIP - USB-C
          • CODEGRIP for PIC
          • CODEGRIP for PIC USB-C
        • mikroProg
          • mikroProg for PIC32
      • ARM (32-bit)
        • CODEGRIP
          • UNI CODEGRIP
          • UNI CODEGRIP USB-C
          • CODEGRIP for ARM
          • CODEGRIP for ARM USB-C
          • CODEGRIP for STM32
          • CODEGRIP for KINETIS
          • CODEGRIP for Tiva
          • CODEGRIP for Tiva USB-C
        • mikroProg
          • mikroProg for STM32
          • mikroProg for Tiva
          • mikroProg for Kinetis
          • mikroProg for CEC
          • mikroProg for MSP432
          • mikroProg for PSoC 5LP
      • AVR (8-bit)
        • CODEGRIP
          • CODEGRIP for AVR
          • CODEGRIP for AVR - USB-C
          • UNI CODEGRIP
          • UNI CODEGRIP - USB-C
        • mikroProg
          • mikroProg for AVR
      • 8051 (8-bit)
        • mikroProg
          • mikroProg for 8051
      • FT90x (32-bit)
        • mikroProg
          • mikroProg for FT90x
    • Smart Displays
      • 2.8"
        • ARM (32-bit)
        • AVR (8-bit)
        • dsPIC/PIC24 (16-bit)
        • PIC (8-bit)
        • PIC32 (32-bit)
      • 3.5"
        • ARM (32-bit)
        • FT90x (32-bit)
        • PIC (8-bit)
        • PIC32 (32-bit)
      • 4.3"
        • ARM (32-bit)
        • FT90x (32-bit)
        • PIC (8-bit)
        • PIC32 (32-bit)
      • 5"
        • ARM (32-bit)
        • FT90x (32-bit)
        • PIC32 (32-bit)
      • 7"
        • ARM (32-bit)
        • FT90x (32-bit)
    • MCU Cards
      • PIC (8-bit)
        • 8th Generation
        • 7th Generation
        • 6th Generation
      • dsPIC/PIC24 (16-bit)
        • 8th Generation
        • 7th Generation
        • 6th Generation
      • PIC32 (32-bit)
        • 8th Generation
        • 7th Generation
      • ARM (32-bit)
        • 8th Generation
        • 7th Generation
      • AVR (8-bit)
        • 8th Generation
      • RISC-V (32bit)
        • 8th Generation
    • Accessories
      • TFT Displays
      • LCD Displays
      • LED Displays
      • E-Paper Displays
      • Sensors
      • Headers and Connectors
      • Wire Jumpers and Cables
      • Antennas
      • Batteries
      • RFID/NFC
      • Proto
      • Motors
      • Storage
      • Power
      • Adapters
      • Interface
      • Input/Output
      • Miscellaneous
      • FANware
      • MCUs
      • Books
    • Kits
      • PIC Kits
      • dsPIC/PIC24 Kits
      • PIC32 Kits
      • ARM Kits
      • AVR Kits
      • FT90x Kits
      • 8051 Kits
  • Shop
  • EmbeddedWiki
  • Support
    • Helpdesk
    • Contact us
    • Forum
    • LibStock
    • Learn
    • Let's make
    • Books
  • Services
    • Planet Debug
    • Design Service
    • Product Customization
    • Contract Manufacturing
    • Premium Technical Support
  • News
  • My profile
  • Privacy settings
  • Activity
  • Sign out

Your shoppingcart is empty.
Continue shopping.

MikroElektronika white logo
  • Products
    • click boards icon Click Boards
      • Wireless Connectivity
        • GPS/GNSS
        • GSM/LTE
        • LTE IoT
        • BT/BLE
        • WiFi
        • RFID/NFC
        • GSM+GPS
        • 6LoWPAN
        • ZigBee
        • UWB
        • SigFox
        • Sub-1 GHz Transceievers
        • 2.4 GHz Trancevers
        • LoRa
        • WiFi+BLE
      • Sensors
        • Biometrics
        • Gas
        • Magnetic
        • Motion
        • Optical
        • Pressure
        • Proximity
        • Temperature & humidity
        • Current sensor
        • Miscellaneous
        • Environmental
        • Force
        • Inductance
        • RF meter
        • Click Shields
        • Click Bundles
      • Interface
        • Adapter
        • CAN
        • Port expander
        • RS485
        • USB
        • 1-Wire
        • RS232
        • Ethernet
        • LIN
        • PWM
        • Current
        • DALI
        • I2C
        • Fiber optics
        • SPI
        • DMX
        • CXPI
        • Click Shields
        • Click Bundles
      • Display & LED
        • LED Drivers
        • LED Matrix
        • LED Segment
        • OLED
        • LCD
        • TFT
        • Click Shields
        • Click Bundles
      • Miscellaneous
        • Relay
        • Optocoupler
        • ID
        • Proto
        • Encryption
        • Click Shields
        • Click Bundles
      • Mixed Signal
        • ADC
        • Measurements
        • DAC
        • Digital potentiometer
        • ADC-DAC
        • Click Shields
        • Click Bundles
      • Storage
        • EEPROM
        • FLASH
        • FRAM
        • microSD
        • MRAM
        • SRAM
        • EERAM
        • ReRAM
        • DRAM
        • Click Shields
        • Click Bundles
      • Motor Control
        • Brushed
        • Brushless
        • Servo
        • Stepper
        • Click Shields
        • Click Bundles
      • Audio & Voice
        • Amplifier
        • Microphone
        • Speakers
        • Signal Processing
        • Speech recognition
        • FM
        • MP3
        • Click Shields
        • Click Bundles
      • HMI
        • Capacitive
        • Pushbutton/Switches
        • Potentiometers
        • Rotary encoder
        • Haptic
        • Fingerprint
        • Click Shields
        • Click Bundles
      • Clock & Timing
        • RTC
        • Clock generator
        • Click Shields
        • Click Bundles
      • Power Management
        • Battery charger
        • Boost
        • Buck
        • Linear
        • Buck-Boost
        • Wireless Charging
        • Power Switch
        • USB-C PD
        • Click Shields
        • Click Bundles
      • Click Bundles
      • Click Shields
    • necto icon NECTO
      • NECTO Studio
    • compilers icon Compilers
      • PIC
        • C
          • NECTO Studio
          • mikroC PRO for PIC
        • Basic
          • mikroBasic PRO for PIC
        • Pascal
          • mikroPascal PRO for PIC
        • Additional Software
          • CODEGRIP WiFi license
          • CODEGRIP SSL license
          • Visual TFT
          • Visual TFT AI
          • Visual GLCD
          • Package Manager
          • mikroBootloader
          • CAN calculator
          • GLCD Font Creator
          • Timer Calculator
          • MikroPlot
      • dsPIC/PIC24
        • C
          • NECTO Studio
          • mikroC PRO for dsPIC
        • Basic
          • mikroBasic PRO for dsPIC
        • Pascal
          • mikroPascal PRO for dsPIC
        • Additional Software
          • CODEGRIP WiFi license
          • CODEGRIP SSL license
          • Visual TFT
          • Visual GLCD
          • Package Manager
          • mikroBootloader
          • CAN calculator
          • GLCD Font Creator
          • Timer Calculator
          • MikroPlot
      • PIC32
        • C
          • NECTO Studio
          • mikroC PRO for PIC32
        • Basic
          • mikroBasic PRO for PIC32
        • Pascal
          • mikroPascal PRO for PIC32
        • Additional Software
          • CODEGRIP WiFi license
          • CODEGRIP SSL license
          • Visual TFT
          • Visual GLCD
          • Package Manager
          • mikroBootloader
          • CAN calculator
          • GLCD Font Creator
          • Timer Calculator
          • MikroPlot
      • ARM
        • C
          • NECTO Studio
          • mikroC PRO for ARM
        • Basic
          • mikroBasic PRO for ARM
        • Pascal
          • mikroPascal PRO for ARM
        • Additional Software
          • CODEGRIP WiFi license
          • CODEGRIP SSL license
          • Visual TFT
          • Visual TFT AI
          • Visual GLCD
          • Package Manager
          • mikroBootloader
          • CAN calculator
          • GLCD Font Creator
          • Timer Calculator
          • MikroPlot
      • AVR
        • C
          • NECTO Studio
          • mikroC PRO for AVR
        • Basic
          • mikroBasic PRO for AVR
        • Pascal
          • mikroPascal PRO for AVR
        • Additional Software
          • CODEGRIP WiFi license
          • CODEGRIP SSL license
          • Visual TFT
          • Visual GLCD
          • Package Manager
          • mikroBootloader
          • CAN calculator
          • GLCD Font Creator
          • Timer Calculator
          • MikroPlot
      • FT90x
        • C
          • mikroC PRO for FT90x
        • Basic
          • mikroBasic PRO for FT90x
        • Pascal
          • mikroPascal PRO for FT90x
        • Additional Software
          • CODEGRIP WiFi license
          • CODEGRIP SSL license
          • Visual TFT
          • Visual GLCD
          • Package Manager
          • mikroBootloader
          • CAN calculator
          • GLCD Font Creator
          • Timer Calculator
          • MikroPlot
      • 8051
        • C
          • mikroC PRO for 8051
        • Basic
          • mikroBasic PRO for 8051
        • Pascal
          • mikroPascal PRO for 8051
        • Additional Software
          • CODEGRIP WiFi license
          • CODEGRIP SSL license
          • Visual TFT
          • Visual GLCD
          • Package Manager
          • mikroBootloader
          • CAN calculator
          • GLCD Font Creator
          • Timer Calculator
          • MikroPlot
    • dev boards icon Dev Boards
      • PIC (8-bit)
        • 8th Generation
          • Fusion for PIC v8
          • EasyPIC PRO v8
          • EasyPIC PRO v8 over USB-C
          • EasyPIC v8
          • EasyPIC v8 over USB-C
          • UNI-DS v8
          • UNI-DS v8 over USB-C
        • 7th Generation
          • EasyPIC PRO v7a
          • PICPLC16 v7a
          • EasyPIC v7a
          • EasyPIC PRO v7
          • EasyPIC v7
        • 6th Generation
          • PICPLC16 v6
      • dsPIC/PIC24 (16-bit)
        • 8th Generation
          • EasyPIC v8 PIC24/dsPIC33
          • EasyPIC v8 for dsPIC30
          • EasyPIC v8 for dsPIC30 over USB-C
          • Fusion for PIC v8
          • UNI-DS v8
          • UNI-DS v8 over USB-C
        • 7th Generation
          • EasyPIC Fusion v7
          • EasyPIC v7 for dsPIC30
        • 6th Generation
          • Easy24-33 v6
      • PIC32 (32-bit)
        • 8th Generation
          • Fusion for PIC32
          • Fusion for PIC32 over USB-C
          • Fusion for PIC v8
          • UNI-DS v8
          • UNI-DS v8 over USB-C
        • 7th Generation
          • EasyPIC Fusion v7
      • ARM (32-bit)
        • 8th Generation
          • Fusion for ARM v8
          • Fusion for ARM v8 over USB-C
          • Fusion for STM32 v8
          • Fusion for STM32 over USB-C
          • Fusion for KINETIS v8
          • Fusion for Kinetis v8 over USB-C
          • Fusion for TIVA v8
          • Fusion for TIVA v8 over USB-C
          • UNI-DS v8
          • UNI-DS v8 over USB-C
        • 7th Generation
          • EasyMx PRO v7a STM32
          • EasyMx PRO v7 STM32
          • EasyMx PRO v7 Tiva
      • AVR (8-bit)
        • 8th Generation
          • EasyAVR v8
          • EasyAVR PRO v8
          • EasyAVR PRO v8 over USB-C
          • UNI-DS v8
          • UNI-DS v8 over USB-C
        • 7th Generation
          • EasyAVR v7
        • 6th Generation
          • AVRPLC16 v6
      • 8051 (8-bit)
        • 7th generation
          • BIG8051
        • 6th Generation
          • Easy8051 v6
      • PSoC (8-bit)
        • 6th Generation
          • UNI-DS6 Development System
      • RISC-V (32bit)
        • 8th Generation
          • UNI-DS v8
          • UNI-DS v8 over USB-C
      • Universal Boards
        • 8th Generation
          • UNI-DS v8
          • UNI-DS v8 over USB-C
          • Fusion for PIC v8
          • Fusion for ARM v8
        • 7th Generation
          • EasyPIC Fusion v7
        • 6th Generation
          • UNI-DS6
          • mikroBoard for PIC 80-pin
          • mikroBoard for AVR
          • mikroBoard for dsPIC
          • mikroBoard for PSoC
          • mikroBoard for 8051
          • mikroBoard for PIC 40-pin
          • mikroBoard for ARM
          • mikroBoard for ARM 144-pin
      • IoT - Wearable
        • Hexiwear
          • Hexiwear
          • Hexiwear Power User Pack
          • Hexiwear Docking Station
          • Hexiwear Battery Pack
          • Hexiwear Color Pack
          • Hexiwear Workstation
      • Analog Boards
        • 7th Generation
          • Analog System Lab Kit PRO
    • starter boards icon Starter Boards
      • PIC (8-bit)
        • Clicker
          • PIC clicker
        • Clicker 2
          • Clicker 2 for PIC18FJ
          • Clicker 2 for PIC18FK
        • Clicker 4
          • Clicker 4 for PIC18F
          • UNI Clicker
        • Ready
          • Ready for PIC Board
          • Ready for PIC (DIP28)
          • PIC-Ready2 Board
          • MMC Ready Board
        • StartUSB
          • StartUSB for PIC
      • dsPIC/PIC24 (16-bit)
        • Clicker 2
          • Clicker 2 for PIC24
          • Clicker 2 for dsPIC33
        • Clicker 4
          • UNI Clicker
        • Ready
          • dsPIC-Ready1 Board
          • dsPIC-Ready2 Board
          • DsPIC-Ready3 Board
          • dsPIC-Ready4 Board
      • PIC32 (32-bit)
        • Clicker
          • PIC32MX clicker
          • 6LoWPAN Clicker
          • PIC32MZ clicker
        • Clicker 2
          • Clicker 2 for PIC32MX
          • Clicker 2 for PIC32MZ
        • Clicker 4
          • UNI Clicker
        • MINI
          • MINI-32 Board
          • MINI-32 for PIC32MZ
        • Flip&Click
          • Flip&Click PIC32MZ
      • ARM (32-bit)
        • Clicker
          • RA4M1 Clicker
          • Kinetis Clicker
          • MSP432 Clicker
          • CEC1702 clicker
          • CEC1302 Clicker
          • STM32 M4 clicker
        • Clicker 2
          • Clicker 2 for STM32
          • Clicker 2 for Kinetis
          • Clicker 2 for CEC1702
          • Clicker 2 for MSP432
          • Clicker 2 for CEC1302
          • Clicker 2 for PSoC 6
        • Clicker 4
          • Clicker 4 for STM32F745VG
          • Clicker 4 for STM32F4
          • Clicker 4 for TMPM3H
          • Clicker 4 for TMPM4K
          • Clicker 4 for STM32
          • UNI Clicker
        • MINI
          • MINI-M4 for STM32
          • MINI-M4 For Kinetis
          • MINI-M4 for Tiva
          • MINI-M4 for Stellaris
          • MINI-M4 for MSP432
          • MINI-M0 for STM32
        • Flip&Click
          • Flip&Click SAM3X
      • AVR (8-bit)
        • Clicker 4
          • UNI Clicker
        • MINI
          • MINI-AT Board - 3.3V
          • MINI-AT Board - 5V
        • Ready
          • Ready for AVR Board
          • Ready For XMEGA
          • mikroXMEGA Board
          • AVR-Ready2 Board
        • StartUSB
          • StartUSB for AVR
      • 8051 (8-bit)
        • Ready
          • 8051-Ready Board
      • FT90x (32-bit)
        • Clicker 2
          • Clicker 2 for FT90x
      • Miscellaneous
        • USB
          • USB Wizard
          • Quail
          • FlowPaw Kit
      • Universal Boards
        • Clicker 4
          • UNI Clicker
    • prog-debug icon Prog-Debug
      • PIC (8-bit)
        • CODEGRIP
          • UNI CODEGRIP
          • UNI CODEGRIP - USB-C
          • CODEGRIP for PIC
          • CODEGRIP for PIC USB-C
        • mikroProg
          • mikroProg for PIC
      • dsPIC/PIC24 (16-bit)
        • CODEGRIP
          • UNI CODEGRIP
          • UNI CODEGRIP - USB-C
          • CODEGRIP for PIC
        • mikroProg
          • mikroProg for dsPIC
      • PIC32 (32-bit)
        • CODEGRIP
          • UNI CODEGRIP
          • UNI CODEGRIP - USB-C
          • CODEGRIP for PIC
          • CODEGRIP for PIC USB-C
        • mikroProg
          • mikroProg for PIC32
      • ARM (32-bit)
        • CODEGRIP
          • UNI CODEGRIP
          • UNI CODEGRIP USB-C
          • CODEGRIP for ARM
          • CODEGRIP for ARM USB-C
          • CODEGRIP for STM32
          • CODEGRIP for KINETIS
          • CODEGRIP for Tiva
          • CODEGRIP for Tiva USB-C
        • mikroProg
          • mikroProg for STM32
          • mikroProg for Tiva
          • mikroProg for Kinetis
          • mikroProg for CEC
          • mikroProg for MSP432
          • mikroProg for PSoC 5LP
      • AVR (8-bit)
        • CODEGRIP
          • CODEGRIP for AVR
          • CODEGRIP for AVR - USB-C
          • UNI CODEGRIP
          • UNI CODEGRIP - USB-C
        • mikroProg
          • mikroProg for AVR
      • 8051 (8-bit)
        • mikroProg
          • mikroProg for 8051
      • FT90x (32-bit)
        • mikroProg
          • mikroProg for FT90x
    • smart displays icon Smart Displays
      • 2.8"
        • ARM (32-bit)
        • AVR (8-bit)
        • dsPIC/PIC24 (16-bit)
        • PIC (8-bit)
        • PIC32 (32-bit)
      • 3.5"
        • ARM (32-bit)
        • FT90x (32-bit)
        • PIC (8-bit)
        • PIC32 (32-bit)
      • 4.3"
        • ARM (32-bit)
        • FT90x (32-bit)
        • PIC (8-bit)
        • PIC32 (32-bit)
      • 5"
        • ARM (32-bit)
        • FT90x (32-bit)
        • PIC32 (32-bit)
      • 7"
        • ARM (32-bit)
        • FT90x (32-bit)
    • mcu cards icon MCU Cards
      • PIC (8-bit)
        • 8th Generation
        • 7th Generation
        • 6th Generation
      • dsPIC/PIC24 (16-bit)
        • 8th Generation
        • 7th Generation
        • 6th Generation
      • PIC32 (32-bit)
        • 8th Generation
        • 7th Generation
      • ARM (32-bit)
        • 8th Generation
        • 7th Generation
      • AVR (8-bit)
        • 8th Generation
      • RISC-V (32bit)
        • 8th Generation
    • accessories icon Accessories
      • TFT Displays
      • LCD Displays
      • LED Displays
      • E-Paper Displays
      • Sensors
      • Headers and Connectors
      • Wire Jumpers and Cables
      • Antennas
      • Batteries
      • RFID/NFC
      • Proto
      • Motors
      • Storage
      • Power
      • Adapters
      • Interface
      • Input/Output
      • Miscellaneous
      • FANware
      • MCUs
      • Books
    • kits icon Kits
      • PIC Kits
      • dsPIC/PIC24 Kits
      • PIC32 Kits
      • ARM Kits
      • AVR Kits
      • FT90x Kits
      • 8051 Kits
  • Shop
  • EmbeddedWiki
  • Support
    • Helpdesk
    • Contact us
    • Forum
    • LibStock
    • Learn
    • Let's make
    • Books
  • Services
    • Planet Debug
    • Design Service
    • Product Customization
    • Contract Manufacturing
    • Premium Technical Support
  • News
  • Price :

    More info
Reset filter
  • 0
Authentication
Account

Create account

Forgot your password?

Your cart is empty !
View cart ( )
  1. Home
  2. ebooks
  3. Digital Filter Design
  4. examples-2
MikroElektronika books

3.6 Examples

 

This chapter discusses various IIR filter design methods. The four standard types of filters are used here:



 
    • low-pass filter;
 
    • high-pass filter;
 
    • band-pass filter; and
 
    • band-stop filter.


The design method used here is known as bilinear transformation.

The IIR filter design process can be split into several steps described in Chapter 3.2.5 Designing IIR filters by bilinear transformation. These are:
 
    1. Defining filter specifications;
 
    1. Specifying the type of analog prototype filter;
 
    1. Computing the filter order according to the filter specifications and specified analog prototype filter;
 
    1. Computing the transfer function of reference analog prototype filter;
 
    1. Transformation into analog filter by range scaling;
 
    1. Transformation into digital filter by bilinear transformation; and
 
    1. If the resulting filter doesn’t satisfy the given specifications or if it is possible to decrease the filter order, then it is necessary to do it. The specified filter order is increased or decreased according to needs, and steps 4, 5 and 6 are repeated after that as many times as needed.


Some steps are skipped in some cases. If the filter order is known, step 3 is skipped. If the type of reference analog prototype filter is predetermined, step 2 is skipped.

In every given example, the IIR filter design process will be described through these steps in order to make it easier for you to observe similarities and differencies between various design methodes, analog prototype filters and design of various types of filters as well.

Figure 3-6-1 illustrates the design steps along with input and output data for each of them.
digital-filter-design-chapter-03-image-6-1
 
Figure 3-6-1. Steps in designing digital IIR filter

The first block refers to design of reference analog prototype filter of appropriate order. The output data is a reference analog prototype filter transfer function Ha(s). Regardless of the type of reference analog prototype filter in use, the transfer function is given by:
for3-6-1

where:
H0 is a constant;
zk is the k-th zero of the reference analog prototype filter transfer function;
M is a number of zeros of the reference analog prototype filter transfer function;
pk is the k-th pole of the reference analog prototype filter transfer function; and
N is a number of poles of the reference analog prototype filter transfer function and filter order as well.

Reference analog prototype filter is always a low-pass filter. The next step is the transformation into an analog filter of appropriate type. The expression used to transform the reference analog prototype filter transfer function depends on the type of filter that needs to be obtained. The final result is the transfer function H(s) given by:
for3-6-2

where:
H0 is a constant;
zk is the k-th zero of the reference analog prototype filter transfer function;
M is a number of zeros of the reference analog prototype filter transfer function;
pk is the k-th pole of the reference analog prototype filter transfer function; and
N is a number of poles of the reference analog prototype filter transfer function and filter order as well.

As seen, the transfer functions of reference analog prototype filter and analog filter are very similar. They differ only in the value of constant H0, the values of the transfer function poles and zeros zk and pk as well as in the number of transfer function zeros M. The filter order is the same if the analog filter is a low-pass or high-pass filter, whereas it is different if the analog filter is a band-pass or band-stop filter. In the later case, the analog filter order (N) is twice that of the reference analog prototype filter.

The next step is the transformation into appropriate digital IIR filter using bilinear transformation given by expression:
for3-6-3

Filter Designer Tool is used for testing and analysing the resulting IIR filters in this chapter. All data are calculated with the accuracy of 4 decimal digits, which is sufficient for most examples.

3.6.1 Filter design using Butterworth filter

 

3.6.1.1 Example 1


Step 1:

Type of filter – low-pass filter
Filter specifications:
 
    • Filter order – N=2;
 
    • Sampling frequency – fs=20KHz;
 
    • Passband cut-off frequency – fc=2.5KHz; and
 
    • Minimum stopband attenuation – ap=40dB.


Step 2:

Method- filter design using Butterworth reference analog prototype filter.

Step 3:

Filter order is predetermined, N=2.

Step 4:

The Butterworth reference prototype filter transfer function has no zeros, only poles. These can be computed via expression:
for3-6-4

As N = 2, the values of poles are:
for3-6-5

The reference analog prototype filter transfer function is:
for3-6-6

Step 5:

First it is necessary to compute the analog prototype filter cut-off frequency Ωc.
for3-6-7

The analog filter transfer function is obtained from the reference analog prototype filter transfer function using expression:
for3-6-8

As the Butterworth reference prototype filter has no zeros, the expression for transfer function is simpler:
 
 
for3-6-9
 
for3-6-10

Step 6:

The transformation into a digital filter through bilinear transformation:
for3-6-11

Generally, substituting the complex variable s into the expression for analog filter transfer function, the following is obtained:
for3-6-12

where:
zk are the zeros of analog filter transfer function; and
pk are the poles of analog filter transfer function.

This general expression can be written in a simpler way in this example:
for3-6-13
 
for3-6-14
 
 

A more condensed form of the previous expression is:
for3-6-15
 
for3-6-16
 
 

The result is the IIR filter transfer function.

Step 7:

The filter order is predetermined.
There is no need to additionally change it.

Filter realization:

Figure 3-6-2 illustrates the direct realization of designed IIR filter, whereas Figure 3-6-3 illustrates the frequency response of the filter obtained using Filter Designer Tool.
digital-filter-design-chapter-03-image-6-2
 
Figure 3-6-2. Digital IIR filter direct realization in this example
 
 
 
digital-filter-design-chapter-03-image-6-3
 
Figure 3-6-3. Digital IIR filter frequency characteristic in this example
 

3.6.1.2 Example 2


Step 1:

Type of filter – high-pass filter
Filter specifications:
 
    • Filter order – N=3;
 
    • Sampling frequency – fs=20KHz;
 
    • Passband cut-off frequency – fc=5KHz; and
 
    • Minimum stopband attenuation – ap=40dB.


Step 2:

Method- filter design using Butterworth reference analog prototype filter

Step 3:

Filter order is predetermined, N = 3.

Step 4:

The Butterworth reference prototype filter transfer function has no zeros, only poles. These can be computed via expression:
for3-6-17

As N = 3, the values of poles are:
for3-6-18

The reference analog prototype filter transfer function is:
for3-6-19

Step 5:

First it is necessary to compute the analog prototype filter cut-off frequency Ωc.
for3-6-20

The analog filter transfer function is obtained from the reference analog prototype filter transfer function using expression:
for3-6-21

As the Butterworth reference prototype filter has no zeros, the expression for transfer function is simpler:
for3-6-22
 
for3-6-23
 
 

Step 6:

The transformation into a digital filter through bilinear transformation:
for3-6-24

Generally, substituting the complex variable s into the expression for analog filter transfer function, the following is obtained:
for3-6-25

where:
zk are the zeros of analog filter transfer function; and
pk are the poles of analog filter transfer function.

This general expression can be written in a simpler way in this example:
for3-6-26

A more condensed form of the previous expression is:
for3-6-27

The result is the IIR filter transfer function.

Step 7:

The filter order is predetermined.
There is no need to additionally change it.

Filter realization:

Figure 3-6-4 illustrates the direct realization of designed IIR filter.
digital-filter-design-chapter-03-image-6-4
 
Figure 3-6-4. Digital IIR filter direct realization in this example
 
 
 
digital-filter-design-chapter-03-image-6-5
 
Figure 3-6-5. Digital IIR filter frequency characteristic in this example
 

3.6.1.3 Example 3


Step 1:

Type of filter – band-pass filter
Filter specifications:
 
    • Filter order – N=4;
 
    • Sampling frequency – fs=20KHz; and
 
    • Passband cut-off frequency – fc1=4KHz, fc2=6KHz.


Step 2:

Method - filter design using Butterworth reference analog prototype filter

Step 3:

Filter order is predetermined, N = 4.

Step 4:

The Butterworth reference prototype filter transfer function has no zeros, only poles. These can be computed via expression:
for3-6-28

When designing an IIR band-pass filter, the reference prototype filter order is half that of the required IIR filter order. In this example for N=4, the order of reference prototype filter is 2, so the values of poles are:
for3-6-29

The reference analog prototype filter transfer function is:
for3-6-30

Step 5:

First it is necessary to compute the analog prototype filter cut-off frequency Ωc.
for3-6-31
 
for3-6-32
 
 

The analog filter transfer function is obtained from the reference analog prototype filter transfer function using expression:
for3-6-33

As the Butterworth reference prototype filter has no zeros, the expression for transfer function is simpler:
for3-6-34
 
for3-6-35
 
 

Step 6:

The transformation into a digital filter through bilinear transformation:
for3-6-36

Generally, by substituting the complex variable s into the expression for analog filter transfer function, the following is obtained:
for3-6-37

where:
zk are the zeros of analog filter transfer function; and
pk are the poles of analog filter transfer function.

In this example, the general expression can be written in a simpler way:
for3-6-38

A more condensed form of the previous expression is:
for3-6-39

The result is the IIR filter transfer function.

Step 7:

Filter order is predetermined.
There is no need to additionally change it.

Filter realization:

Figure 3-6-6 illustrates the direct realization of designed IIR filter.
digital-filter-design-chapter-03-image-6-6
 
Figure 3-6-6. Digital IIR filter direct realization in this example
 
 
 
digital-filter-design-chapter-03-image-6-7
 
Figure 3-6-7. Digital IIR filter frequency characteristic in this example
 

3.6.1.4 Example 4


Step 1:

Type of filter – band-stop filter
Filter specifications:
 
    • Filter order – N=4;
 
    • Sampling frequency – fs=20KHz; and
 
    • Passband cut-off frequency – fc1=3000Hz, fc2=3300Hz.


Step 2:

Method - filter design using Butterworth reference analog prototype filter.

Step 3:

Filter order is predetermined, N = 4.

Step 4:

The Butterworth reference prototype filter transfer function has no zeros, only poles. These can be computed via expression:
for3-6-40

When designing an IIR band-stop filter, the reference prototype filter order is half that of the required IIR filter order. In this example for N = 4, the order of reference prototype filter is 2, so the values of poles are:
for3-6-41

The reference analog prototype filter transfer function is:
for3-6-42

Step 5:

First it is necessary to compute the analog prototype filter cut-off frequency Ωc.
for3-6-43

The analog filter transfer function is obtained from the reference analog prototype filter transfer function using expression:
for3-6-44

As the Butterworth reference prototype filter has no zeros, the expression for transfer function is simpler:
for3-6-45
 
for3-6-46

Step 6:

The transformation into a digital filter through bilinear transformation:
for3-6-47

Generally, by substituting the complex variable s into the expression for analog filter transfer function, the following is obtained:
for3-6-48

where:
zk are the zeros of analog filter transfer function; and
pk are the poles of analog filter transfer function.

In this example, the general expression can be written in a simpler way:
for3-6-49

A more condensed form of the previous expression is:
for3-6-50

The result is the IIR filter transfer function.

Step 7:

Filter order is predetermined.
There is no need to additionally change it.

Filter realization:

Figure 3-6-8 illustrates the direct realization of designed IIR filter.
digital-filter-design-chapter-03-image-6-8
 
Figure 3-6-8. Digital IIR filter direct realization in this example
 
 
 
digital-filter-design-chapter-03-image-6-9
 
Figure 3-6-9. Digital IIR filter frequency characteristic in this example
 

3.6.2 Filter design using Chebyshev filter

 

3.6.2.1 Example 1


Step 1:

Type of filter – low-pass filter
Filter specifications:
 
    • Sampling frequency – fs=44100Hz;
 
    • Passband cut-off frequency– fc1=15KHz;
 
    • Stopband cut-off frequency – fc2=18KHz;
 
    • Maximum passband attenuation – ap=1dB; and
 
    • Minimum stopband attenuation – as=40dB.


Step 2:

Method - filter design using Chebyshev reference analog prototype filter

Step 3:

Filter order is not pre-determined, so it is necessary to choose an initial solution from which iterative method starts. The solution is redefined progressively until some pre-determined requirements are satisfied. Let’s assume that the initial filter order is 4.

Step 4:

The Chebyshev reference prototype filter transfer function has no zeros, only poles. These can be computed via expression:
for3-6-1-1

As N = 4, the values of poles are:
for3-6-1-2

The Chebyshev filter transfer function is expressed as:
for3-6-1-3

In this case, the value of constant A0 is:

A0 = 0.2457


so that the Chebyshev reference analog prototype filter transfer function is:
for3-6-1-4

Step 5:

First it is necessary to compute the analog prototype filter cut-off frequency Ωc.
for3-6-1-5

The analog filter transfer function is obtained from the reference analog prototype filter transfer function using expression:
for3-6-1-6

As the Chebyshev reference prototype filter has no zeros, the expression for transfer function is simpler:
for3-6-1-7
 
for3-6-1-8
 
 

Step 6:

The transformation into a digital filter through bilinear transformation:
for3-6-1-9

Generally, by substituting the complex variable s into the expression for analog filter transfer function, the following is obtained:
for3-6-1-10

where:
zk are the zeros of analog filter transfer function; and
pk are the poles of analog filter transfer function.

This general expression can be written in a simpler way in this example:
for3-6-1-11

A more condensed form of the previous expression is:
for3-6-1-12
 
for3-6-1-13
 
 

The result is the IIR filter transfer function.

Step 7:

By analyzing the resulting filter using Filter Designer Tool, it is obvious that the attenuation amounting to 31.2dB approximately at the frequency of 18KHZ is not sufficient. The frequency characteristic of the resulting digital filter is illustrated in Figure 3-6-10 below.
digital-filter-design-chapter-03-image-6-10
 
Figure 3-6-10. Frequency characteristic of the resulting IIR filter

It is necessary to additionally redefine the filter order until the predefined requirements are satisfied. The filter order is incremented by 1 and is 5 therefore. All steps starting with step 3 are iterated.

Step3:

The filter order is incremented in the second iteration. A new filter order is 5.

Step 4:

The Chebyshev reference prototype filter transfer function has no zeros, only poles. These can be computed via expression:
for3-6-1-14

As N = 5, the values of poles are:
for3-6-1-15

The Chebyhsev filter transfer function is expressed as:
for3-6-1-16

In this case, the value of constant A0 is:

A0 = - 0.1228


so the Chebyshev reference analog prototype filter transfer function is:
for3-6-1-17

Step 5:

First it is necessary to compute the analog prototype filter cut-off frequency Ωc.
for3-6-1-18

The analog filter transfer function is obtained from the reference analog prototype filter transfer function using expression:
for3-6-1-19

As the Chebyshev reference prototype filter has no zeros, the expression for transfer function is simpler:
for3-6-1-20
 
for3-6-1-21
 
 

Step 6:

The transformation into a digital filter through bilinear transformation:
for3-6-1-22

Generally, substituting the complex variable s into the expression for analog filter transfer function, the following is obtained:
for3-6-1-23

where:
zk are the zeros of analog filter transfer function; and
pk are the poles of analog filter transfer function.

This general expression can be written in a simpler way in this example:
for3-6-1-24

A more condensed form of the previous expression is:
for3-6-1-25

The result is the IIR filter transfer function.

Step 7:

By analyzing the resulting filter using Filter Designer Tool, it is obvious that the attenuation amounting to 41.6dB approximately at the frequency of 18KHZ is not sufficient. The frequency characteristic of the resulting digital filter is illustrated in Figure 3-6-11 below.
digital-filter-design-chapter-03-image-6-11
 
Figure 3-6-11. Frequency characteristic of the resulting IIR filter

It is not necessary to further increase the filter order as this one is appropriate. Sometimes more iterations are needed to determine the filter order. The whole procedure is the same, only it takes more time.

Filter realization:

Figure 3-6-12 illustrates the direct realization of designed IIR filter, whereas Figure 3-6-13 illustrates the frequency characteristic of the filter obtained using Filter Designer Tool.
digital-filter-design-chapter-03-image-6-12
 
Figure 3-6-12. Digital IIR filter direct realization
 
 
 
digital-filter-design-chapter-03-image-6-13
 
Figure 3-6-13. Frequency characteristic of digital IIR filter
 

3.6.1.2 Example 2


Step 1:

Type of filter – high-pass filter
Filter specifications:
 
    • Filter order – N = 3;
 
    • Sampling frequency – fs = 20KHz;
 
    • Passband cut-off frequency – fc = 5KHz; and
 
    • Maximum passband attenuation – ap = 1dB.


Step 2:

Method - filter design using Chebyshev reference analog prototype filter

Step 3:

Filter order is predetermined, N = 3.

Step 4:

The Chebyshev reference prototype filter transfer function has no zeros, only poles. These can be computed via expression:
for3-6-1-26

As N = 3, the values of poles are:
for3-6-1-27

The Chebyshev filter transfer function is expressed as:
for3-6-1-28

In this case, the value of constant A0 is:

A0 = - 0.4913


The reference analog prototype filter transfer function is:
for3-6-1-29

Step 5:

First it is necessary to compute the analog prototype filter cut-off frequency Ωc.
for3-6-1-30

The analog filter transfer function is obtained from the reference analog prototype filter transfer function using expression:
for3-6-1-31

As the Chebyshev reference prototype filter has no zeros, the expression for transfer function is simpler:
for3-6-1-32

After substitution of poles and Ωc into expression:
for3-6-1-33

Step 6:

The transformation into a digital filter through bilinear transformation:
for3-6-1-34

Generally, substituting the complex variable s into the expression for analog filter transfer function, the following is obtained:
for3-6-1-35

where:
zk are the zeros of analog filter transfer function; and
pk are the poles of analog filter transfer function.

This general expression can be written in a simpler way in this example:
for3-6-1-36

A more condensed form of the previous expression is:
for3-6-1-37

The result is the IIR filter transfer function.

Step 7:

The filter order is predetermined.
There is no need to additionally change it.

Filter realization:

Figure 3-6-14 illustrates the direct realization of designed IIR filter.
digital-filter-design-chapter-03-image-6-14
 
Figure 3-6-14. Direct realization of digital IIR filter in this example
 
 
 
digital-filter-design-chapter-03-image-6-15
 
Figure 3-6-15. Frequency characteristic of digital IIR filter in this example
 

3.6.1.3 Example 3


Step 1:

Type of filter – band-pass filter
Filter specifications:
 
    • Filter order – N = 4;
 
    • Sampling frequency – fs = 20KHz;
 
    • Passband cut-off frequencies – fc1 = 4KHz, fc2 = 6KHz; and
 
    • Maximum passband attenuation – ap = 1dB.


Step 2:

Method filter design using Chebyshev reference analog prototype filter.

Step 3:

Filter order is predetermined, N = 4.

Step 4:

The Chebyshev reference prototype filter transfer function has no zeros, only poles. These can be computed via expression:
for3-6-1-38

When designing an IIR band-pass filter, the reference prototype filter order is half that of the required IIR filter order. In this example for N = 4, the order of reference prototype filter is 2, so the values of poles are:
for3-6-1-39

The Chebyshev filter transfer function is expressed as:
for3-6-1-40

In this example, the value of constant A0 is:

A0 = 0.9826


The reference analog prototype filter transfer function is:
for3-6-1-41

Step 5:

First it is necessary to compute the analog prototype filter cut-off frequency Ωc.
for3-6-1-42

The analog filter transfer function is obtained from the reference analog prototype filter transfer function using expression:
for3-6-1-43

As the Chebyshev reference prototype filter has no zeros, the expression for transfer function is simpler:
for3-6-1-44
 
for3-6-1-45

Step 6:

The transformation into a digital filter through bilinear transformation:
for3-6-1-46

Generally, substituting the complex variable s into the expression for analog filter transfer function, the following is obtained:
for3-6-1-47

where:
zk are the zeros of analog filter transfer function; and
pk are the poles of analog filter transfer function.

In this expression, the general expression can be written in a simpler way:
for3-6-1-48

A more condensed form of the previous expression is:
for3-6-1-49

The result is the IIR filter transfer function.

Step 7:

Filter order is predetermined.
There is no need to additionally change it.

Filter realization:

Figure 3-6-16 illustrates direct realization of designed IIR filter.
digital-filter-design-chapter-03-image-6-16
 
Filter 3-6-16. Direct realization of digital IIR filter in this example
 
 
 
digital-filter-design-chapter-03-image-6-17
 
Figure 3-6-17. Frequency characteristic of digital IIR filter in this example
 

3.6.1.4 Example 4


Step 1:

Type of filter – band-stop filter
Filter specifications:
 
    • Filter order – N = 4;
 
    • Sampling frequency – fs = 20KHz;
 
    • Passband cut-off frequencies – fc1 = 3000Hz, fc2 = 3300Hz; and
 
    • Maximum passband attenuation – ap = 1dB.


Step 2:

Method - filter design using Chebyshev reference analog prototype filter.

Step 3:

Filter order is predetermined, N = 4.

Step 4:

The Chebyshev reference prototype filter transfer function has no zeros, only poles. These can be computed via expression:
for3-6-1-50

When designing an IIR band-pass filter, the reference prototype filter order is half that of the required IIR filter order. In this example for N = 4, the order of reference prototype filter is 2, so the values of poles are:
for3-6-1-51

The Chebyshev filter transfer function is expressed as:
for3-6-1-52

In this example, the value of constant A0 is:

A0 = 0.9826


The reference analog prototype filter transfer function is:
for3-6-1-53

Step 5:

First it is necessary to compute the analog prototype filter cut-off frequency Ωc.
for3-6-1-54

The analog filter transfer function is obtained from the reference analog prototype filter transfer function using expression:
for3-6-1-55

As the Chebyshev reference prototype filter has no zeros, the expression for transfer function is simpler:
for3-6-1-56
 
for3-6-1-57

Step 6:

The transformation into a digital filter through bilinear transformation:
for3-6-1-58

Generally, substituting the complex variable s into the expression for analog filter transfer function, the following is obtained:
for3-6-1-59

where:
zk are the zeros of analog filter transfer function; and
pk are the poles of analog filter transfer function.

In this expression, the general expression can be written in a simpler way:
for3-6-1-60

A more condensed form of the previous expression is:
for3-6-1-61

The result is the IIR filter transfer function.

Step 7:

Filter order is predetermined.
There is no need to additionally change it.

Filter realization

Figure 3-6-18 illustrates the direct realization of designed IIR filter.
digital-filter-design-chapter-03-image-6-18
 
Figure 3-6-18. Direct realization of digital IIR filter in this example
 
 
 
digital-filter-design-chapter-03-image-6-19
 
Figure 3-6-19. Frequency characteristic of digital IIR filter in this example
 

3.6.3 Filter design using inverse Chebyshev filter

 

3.6.3.1 Example 1


Step 1:

Type of filter –low-pass filter
Filter specifications:
 
    • Sampling frequency – fs = 44100Hz;
 
    • Passband cut-off frequency – fc1 = 15KHz;
 
    • Stopband cut-off frequency – fc2 = 18KHz;
 
    • Maximum passband attenuation – ap = 1dB; and
 
    • Minimum stopband attenuation – as = 40dB.


Step 2:

Method - filter design using inverse Chebyshev reference analog prototype filter.

Step 3:

Filter order is not pre-determined, so it is necessary to choose an initial solution from which iterative method starts. The solution is redefined progressively until some pre-determined requirements are satisfied. Let’s assume that the initial filter order is 4.

Step 4:

The Chebyshev reference prototype filter transfer function has no zeros, only poles. These can be computed via expression:
for3-6-2-1

As N = 4, the values of poles are:
for3-6-2-2

The inverse Chebyhsev filter transfer function is expressed as:
for3-6-2-3

In this example, the value of constant H0 is:

H0 = 0.01


so that the Chebyshev reference analog prototype filter transfer function is:
for3-6-2-4

Step 5:

First it is necessary to compute the analog prototype filter cut-off frequency Ωc.
for3-6-2-5

The analog filter transfer function is obtained from the reference analog prototype filter transfer function using expression:
for3-6-2-6

In this example, the analog filter transfer function becomes:
for3-6-2-7
 
for3-6-2-8

Step 6:

The transformation into a digital filter through bilinear transformation:
for3-6-2-9

Generally, substituting the complex variable s into the expression for analog filter transfer function, the following is obtained:
for3-6-2-10

where:
zk are the zeros of analog filter transfer function; and
pk are the poles of analog filter transfer function.

This general expression can be written in a simpler way in this example:
for3-6-2-11

A more condensed form of the previous expression is:
for3-6-2-12

The result is the IIR filter transfer function.

Step 7:

By analyzing the resulting filter using Filter Designer Tool, it is obvious that the attenuation amounting to 5.2dB approximately at the frequency of 15KHZ is not sufficient. The frequency characteristic of the resulting digital filter is illustrated in Figure 3-6-20 below.
digital-filter-design-chapter-03-image-6-20
 
Figure 3-6-20. Frequency charactersitic of designed IIR filter

The attenuation at 15KHz is higher than 1dB and the resulting filter doesn’t satisfy the specifications therefore. It is necessary to additionally redefine the filter order until the predefined requirements are satisfied. The filter order is incremented by 1, and becomes 5 therefore. All steps starting with step 3 are iterated.

Step 3:

The filter order is incremented in the second iteration. A new filter order is 5.

Step 4:

The inverse Chebyshev reference prototype filter transfer function has no zeros, only poles.

These can be computed via expression:
for3-6-2-13

As N = 5, the values of poles are:
for3-6-2-14

The Chebyhsev filter transfer function is expressed as:
for3-6-2-15

In this case, the value of constant H0 is:

H0 = - 0.05


so the inverse Chebyshev reference analog prototype filter transfer function is:
for3-6-2-16

Step 5:

First it is necessary to compute the analog prototype filter cut-off frequency Ωc.
for3-6-2-17

The analog filter transfer function is obtained from the reference analog prototype filter transfer function using expression:
for3-6-2-18

In this example, the analog filter transfer function becomes:
for3-6-2-19
 
for3-6-2-20

Step 6:

The transformation into a digital filter through bilinear transformation:
for3-6-2-21

Generally, substituting the complex variable s into the expression for analog filter transfer function, the following is obtained:
for3-6-2-22

where:
zk are the zeros of analog filter transfer function; and
pk are the poles of analog filter transfer function.

This general expression can be written in a simpler way in this example:
for3-6-2-23

A more condensed form of the previous expression is:
for3-6-2-24

The result is the IIR filter transfer function.

Step 7:

By analysing the resulting filter using Filter Designer Tool, it is obvious that the attenuation at 18KHZ is less than 1dB (approximately 0.8dB). The frequency characteristic of the resulting digital filter is illustrated in Figure 3-6-21 below.
digital-filter-design-chapter-03-image-6-21
 
Figure 3-6-21. Frequency characteristic of IIR filter

It is not necessary to further increase the filter order as this one is approriate. Sometimes more iterations are needed to determine the filter order. The whole procedure is the same, only it takes more time.

Filter realization:

Figure 3-6-22 illustrates the direct realization of designed IIR filter, whereas Figure 3-6-23 illustrates the frequency characteristic of the filter obtained using Filter Designer Tool.
digital-filter-design-chapter-03-image-6-22
 
Figure 3-6-22. Direct realization of digital IIR filter in this example
 
 
 
digital-filter-design-chapter-03-image-6-23
 
Figure 3-6-23. Frequency characteristic of digital IIR filter in this example
 

3.6.1.2 Example 2


Step 1:

Type of filter – high-pass filter
Filter specifications:
 
    • Filter order – N = 3;
 
    • Sampling frequency – fs = 20KHz;
 
    • Passband cut-off frequency– fc = 5KHz; and
 
    • Minimum stopband attenuation – 40dB.


Step 2:

Method - filter design using inverse Chebyshev reference analog prototype filter.

Step 3:

Filter order is predetermined, N=3.

Step 4:

The Chebyshev reference prototype filter transfer function has no zeros, only poles. These can be computed via expression:
for3-6-2-25

As N = 3, the values of poles are:
for3-6-2-26

The inverse Chebyshev filter transfer function is expressed as:
for3-6-2-27

In this case, the value of constant H0 is:

H0 = -0.03


The reference analog prototype filter transfer function is:
for3-6-2-28

Step 5:

First it is necessary to compute the analog prototype filter cut-off frequency Ωc.
for3-6-2-29

The analog filter transfer function is obtained from the reference analog prototype filter transfer function using expression:
for3-6-2-30

In this example, the transfer function is:
for3-6-2-31

After substituting the poles and Ωc into expression:
for3-6-2-32

Step 6:

The transformation into a digital filter through bilinear transformation:
for3-6-2-33

Generally, by substituting the complex variable s into the expression for analog filter transfer function, the following is obtained:
for3-6-2-34

where:
zk are the zeros of analog filter transfer function; and
pk are the poles of analog filter transfer function.

This general expression can be written in a simpler way in this example:
for3-6-2-35

A more condensed form of the previous expression is:
for3-6-2-36

The result is the IIR filter transfer function.

Step 7:

The filter order is predetermined.
There is no need to additionally change it.

Filter realization:

Figure 3-6-24 illustrates the direct realization of designed IIR filter.
digital-filter-design-chapter-03-image-6-24
 
Figure 3-6-24. Direct realization of digital IIR filter in this example
 
 
 
digital-filter-design-chapter-03-image-6-25
 
Figure 3-6-25. Frequency characteristic of digital IIR filter in this example
 

3.6.1.3 Example 3


Step 1:

Type of filter – band-pass filter
Filter specification:
 
    • Filter order – N = 4;
 
    • Sampling frequency – fs = 20KHz;
 
    • Passband cut-off frequencies – fc1 = 4KHz, fc2 = 6KHz; and
 
    • Minimum stopband attenuation – 40dB.


Step 2:

Method - filter design using inverse Chebyshev reference analog prototype filter.

Step 3:

Filter order is predetermined, N = 4.

Step 4:

The Chebyshev reference prototype filter transfer function has no zeros, only poles. These can be computed via expression:
for3-6-2-37

When designing an IIR band-pass filter, the reference prototype filter order is half that of the required IIR filter order. In this example for N=4, the order of reference prototype filter is 2, so the values of poles are:
for3-6-2-38

The Chebyshev filter transfer function is expressed as:
for3-6-2-39

In this example, the value of constant H0 is:

H0 = 0.01


The reference analog prototype filter transfer function is:
for3-6-2-40

Step 5:

First it is necessary to compute the analog prototype filter cut-off frequency Ωc.
for3-6-2-41

The analog filter transfer function is obtained from the reference analog prototype filter transfer function using expression:
for3-6-2-42

For this example, the analog filter transfer function is:
for3-6-2-43
 
for3-6-2-44
 
 

Step 6:

The transformation into a digital filter through bilinear transformation:
for3-6-2-45

Generally, substituting the complex variable s into the expression for analog filter transfer function, the following is obtained:
for3-6-2-46

where:
zk are the zeros of analog filter transfer function; and
pk are the poles of analog filter transfer function.

In this example, the general expression can be written in a simpler way:
for3-6-2-47

A more condensed form of the previous expression is:
for3-6-2-48

The result is the IIR filter transfer function.

Step 7:

Filter order is predetermined.
There is no need to additionally change it.

Filter realization:

Figure 3-6-26 illustrates direct realization of designed IIR filter.
digital-filter-design-chapter-03-image-6-26
 
Figure 3-6-26. Direct realization of digital IIR filter in this example
 
 
 
digital-filter-design-chapter-03-image-6-27
 
Figure 3-6-27. Frequency characteristic of digital IIR filter in this example
 

3.6.1.4 Example 4


Step 1:

Type of filter – band-stop filter
Filter specification:
 
    • Filter order – N=4;
 
    • Sampling frequency – fs=20KHz;
 
    • Stopband cut-off frequencies – fc1=3000Hz, fc2=3300Hz; and
 
    • Minimum stopband attenuation – 40dB.


Step 2:

Method - filter design using inverse Chebyshev reference analog prototype filter.

Step 3:

Filter order is predetermined, N = 4.

Step 4:

The inverse Chebyshev reference prototype filter transfer function has no zeros, only poles. These can be computed via expression:
for3-6-2-49

When designing an IIR band-stop filter, the reference prototype filter order is half that of the required IIR filter order. In this example for N = 4, the order of reference prototype filter is 2, so the values of poles are:
for3-6-2-50

The inverse Chebyshev filter transfer function is expressed as:
for3-6-2-51

In this example, the value of constant H0 is:

H0 = 0.01


The reference analog prototype filter transfer function is:
for3-6-2-52

Step 5:

First it is necessary to compute the analog prototype filter cut-off frequency Ωc.
for3-6-2-53

The analog filter transfer function is obtained from the reference analog prototype filter transfer function using expression:
for3-6-2-54

In this example, the analog filter transfer function is:
for3-6-2-55
 
for3-6-2-56
 
 

Step 6:

The transformation into a digital filter through bilinear transformation:
for3-6-2-57

Generally, substituting the complex variable s into the expression for analog filter transfer function, the following is obtained:
for3-6-2-58

where:
zk are the zeros of analog filter transfer function; and
pk are the poles of analog filter transfer function.
In this expression, the general expression can be written in a simpler way:
for3-6-2-59

A more condensed form of the previous expression is:
for3-6-2-60

The result is the IIR filter transfer function.

Step 7:

Filter order is predetermined.
There is no need to additionally change it.

Filter realization:

Figure 3-6-28 illustrates the direct realization of designed IIR filter.
digital-filter-design-chapter-03-image-6-28
 
Figure 3-6-28. Direct realization of digital IIR filter in this example
 
 
 
digital-filter-design-chapter-03-image-6-29
 
Figure 3-6-29. Frequency characteristic of digital IIR filter in this example

MIKROE

MIKROE is a development tools company dedicated to standardization and time-saving in the embedded industry.

  • About us
  • Success story
  • Contact
  • PressKit
  • Timeline
  • Partners
  • Legal
  • Distributors
  • Legacy Products

SOLUTIONS

  • Click boards™
  • Development boards
  • Mikromedia
  • CODEGRIP
  • NECTO Studio
  • Planet Debug
  • ClickID
  • Click Snap
  • EmbeddedWiki

SUPPORT

  • Helpdesk
  • Forum
  • Libstock
  • Learn
  • Let's Make
  • eBooks
  • Premium TS
  • Design service
  • Product Customization
  • Contract Manufacturing

STANDARD

  • mikroBUS™
  • mikroSDK
  • SiBRAIN
  • DISCON

Prodavnica za inostrano tržište

Nalazite se na prodavnici za inostrano tržište. Da li želite da Vas odvedemo na prodavnicu koja je namenjena za Srbiju?

Prodavnica za inostrano tržište

Nalazite se na prodavnici za inostrano tržište. Da li želite da Vas odvedemo na prodavnicu koja je namenjena za Srbiju?

Daily product releases, special offers, and more

  • FOLLOW US:

  • instagram
  • linkedin
  • facebook
  • github
  • newsletter
  • youtube
  • twitter twitter

Join us

Pridruži nam se

Careers
Internship
Posao
Praksa
Copyright© 2025 MikroElektronika d.o.o.

Privacy