Skip to the content
4 layers36.5 × 11.3 mmBPF 5, the printed circuit board in 3D

Filter Design Command Line Tool written in Python.

Size
36.5 × 11.3 mm
Copper layers
4
Thickness
4.69 mm
Parts
12
Nets
6
Pads
30
Tracks, vias
5, 24
Pours
1
Routed
Yes
KiCad
KiCad 6 (file 20211014)
Created
24 Apr 2023
Updated
28 May 2023

Overview

BPF 5 is an open-source printed circuit board by EgemenBaykan, from the EgemenBaykan/FilterDesigner repository on GitHub. It is a 4-layer board of 36.5 × 11.3 mm with 12 parts on 6 nets, routed with 5 tracks and 24 vias.

Its parts include 5 capacitors, 5 inductors and 2 connectors.

README

README.md

Filter Designer

Filter Designer is a console program that designs 4 basic filters for given inputs. It is written in Python and Jupyter Notebook will be available soon. It is not recommended to use frequencies above 200-300 MHz since wavelength decreases in lumped element model filters. Use distributed element model for higher frequencies.

Filters are circuits that can pass or stop given frequencies or frequency bands. Passive filters contain passive elements unlike active filters. These elements are resistors, capacitors and inductors. Resistor is not a good practice in RF circuits. Therefore inductors are used instead of resistors since they boost the current.

In practice, passive filters are designed by using Normalized Filter Coefficient Tables. Filter order and characteristic are determined by performance requirements. This is, usually, done by providing attenuation on unwanted frequency components. Bode plots are used to analyze frequency response of RF circuits such as filters and magnitude is in Decibel (dB) scale.

Program Inputs

Basically there are 5 types of program inputs. These inputs are explained as follow:

  1. Filter Type:
    • LPF: Defines Low Pass Filter.
    • HPF: Defines High Pass Filter.
    • BPF: Defines Band Pass Filter.
    • BSF: Defines Band Stop Filter.
  2. Cutoff Frequency: Defines -3dB point(s) of the filter. Low and high cutoff frequencies are given as inputs for Bandpass Filter or Bandstop Filter. Scientific notation is used for cutoff frequencies in Hz.
  3. Filter Characteristic: Defines filter characteristics to calculate zeros and poles. Only Butterworth and Chebyshev filters are available. Bessel response will be implemented in further updates.
  4. Impedance: Filter impedance. Typically 50 ohms. It is considered as source impedance is equal to load impedance in calculations. For impedance matching networks see Impedance Matching calculation tool repo.
  5. Filter Order: Filter order directly effects Transfer Function of the circuit in analysis. It's also can be obtained by number of delay elements of a circuit as seen in Finite Impulse Response (FIR) filter designs.

Program Outputs

Filter coefficients, capacitor and inductor values are given as outputs at then end of program. Scientific notation is used for values of capacitors and inductors. All arrays are printed to console.

How to design a filter using Filter Designer?

It's strictly recommended to simulate the circuit by obtained values in filter topologies. Run the program in the console and make an AC Analysis in LTSpice in order to analyze Frequency Response for obtained circuit. All the tests are done by simulation and few of obtained circuits are built on PCB's. Use a Vector Network Analyzer (VNA) for measurements on real PCB's. S21 parameters on VNA must be matched with simulations.

Some of the simulations and measurements are given in following images.

Circuit topologies for High Pass and Low Pass Filters can be seen in image. Each circuit is labeled by its type, characteristic and cutoff frequency.

Filter topology used in simulation.

Simulation outputs can be observed as following for given generated circuits. Butterworth Low Pass Filter output is plotted in blue color. Butterworth and Chebyshev High Pass Filters are plotted in red and cyan colors.

Frequency Response in simulation.

For Bandstop Filter type simulation results may not be satisfying for good performance over attenuating the band. Transition width may need to be improved. Constructed circuit in LTSpice and simulation output is given as following.

Filter topology used in simulation.

Filter topology used in simulation.

Using circuit topologies in Filter_Simulations.asc file will be practical. Pi filter topology is used in this filter simulation file. Kicad files for given circuit topologies can be found in Kicad folder. GERBER files can be directly loaded to a PCB manufacturer. These circuits are designed by using 0603 / 1608 (metric) components. Therefore, power will be limited.

References

  1. WINDER, S., Analog and Digital Filter Design.

Upcoming Updates

  • Getopt structure will be implemented.
  • AC Analysis will be implemented. Simulation will be integrated within single script.
  • User Interface may be implemented.

Parts

12
QtyValueFootprintReferences
5CAPCapacitor_SMD:C_0603_1608MetricC1, C2, C3, C4, C5
5LInductor_SMD:L_0603_1608MetricL1, L2, L3, L4, L5
2Conn_CoaxialConnector_Coaxial:SMA_Amphenol_132289_EdgeMountJ1, J2

More from EgemenBaykan/FilterDesigner

1
  • 4 layers44.2 × 11.2 mmFilter, the printed circuit board in 3D

    Filter

    EgemenBaykan/FilterDesigner

    Filter Design Command Line Tool written in Python.

    12 parts3

Similar boards

  • 4 layers52.1 × 22.6 mmDisplay eval, the printed circuit board in 3D

    Display eval

    byrantech/laptop

    anyon_e, a highly integrated, high end, open source laptop. Attempt the impossible.

    12 parts4.3kMIT
  • 4 layers140.8 × 53.7 mmEecv breakout, the printed circuit board in 3D

    Eecv breakout

    rusefi/rusefi

    rusefi - GPL internal combustion engine control unit

    12 parts1.2k
  • 4 layers65 × 30 mmDwm1000 flexypin, the printed circuit board in 3D

    Dwm1000 flexypin

    dennisss/dacha

    Monorepo for awesome tools/projects/libraries

    12 parts397Apache-2.0
  • 4 layers19.4 × 13.2 mmSiw, the printed circuit board in 3D

    Siw

    loxodes/vna

    Under development open hardware microwave vector network analyzer

    12 parts205
  • 4 layers59.5 × 30 mmUsb inline probe, the printed circuit board in 3D

    Usb inline probe

    azonenberg/starshipraider

    Open hardware test equipment

    12 parts193BSD-3-Clause
  • 4 layers43.6 × 17.4 mmDcdc, the printed circuit board in 3D

    Dcdc

    buganini/Kikakuka

    Kikakuka — KiCad Workspace, Panelization, Build Variants, Differ & FreeCAD PCB Bending and Assembly

    12 parts81MIT
  • 4 layers101.6 × 21.6 mmTrill bar, the printed circuit board in 3D

    Trill bar

    BelaPlatform/Trill

    Trill sensors are designed to bring beautiful touch interaction to digital projects. Trill sensors are available now on the Bela Shop and via Mouser Electronics.

    12 parts77
  • 4 layers10.6 × 15.7 mmMA730GQ, the printed circuit board in 3D

    MA730GQ

    marsairforce/breakout_boards

    Small circuit boards to assist with breadboard prototyping with SMD packages.

    12 parts39Unlicense

Questions

How big is the BPF 5 PCB?

It measures 36.5 × 11.3 mm and has 4 copper layers, 4.69 mm thick.

What parts does the BPF 5 use?

12 parts. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the BPF 5 KiCad files?

From the EgemenBaykan/FilterDesigner repository on GitHub, at the commit this page was made from: the board is Kicad/BPF_5/BPF_5.kicad_pcb and its schematic Kicad/BPF_5/BPF_5.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the BPF 5 design in my own project?

Its repository states no licence, so its author keeps all rights: ask EgemenBaykan before reusing the design.