A simple patch antenna design library
Project description
Design Patch Antenna
A simple patch antenna design library
Prerequisite
Install package scipy
using the command shown below.
pip install scipy
Installation
pip install patch_antenna
Design patch antenna
To get the design results of a patch antenna use the method design(freq, er, h)
by passing your
resonant frequency (Hz), dielectric constant and thickness of the cavity (m) values as arguments.
Example code:
import patch_antenna as pa
# resonant frequency in Hz
freq = 2.4 * 10 ** 9
# dielectric constant
er = 4.4
# thickness of the cavity in meter
h = 1.6 * 10 ** -3
result = pa.design(freq, er, h)
print(result)
Output:
{'frequency': 2400000000.0, 'patch_width': 0.0380099749575278, 'patch_length': 0.0294215930843705, 'feeder_width': 0.015203989983011122, 'feeder_length': 0.015449608708025277, 'inset_gap_width': 0.007601994991505561, 'inset_length': 0.010914409094654586, 'ground_length': 0.05447120179239577, 'ground_width': 0.06281396494053892, 'input_edge_impedance': 321.50075290241097}
Write as Gerber file for both feed types
- Normal feed
pa.write_gerber(freq, er, h, 'patch_design_normal_2.4GHz_4.4_er_1.6_h.gbr', 'normal')
- Inset feed
pa.write_gerber(freq, er, h, 'patch_design_inset_2.4GHz_4.4_er_1.6_h.gbr', 'inset')
Future:
- Design and gerber generation for patch antenna arrays and including other parameters calculation.
Note
Patch antenna design, 3D simulation, and Gerber file facility also published as Web-Live application.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
patch_antenna-0.0.8.tar.gz
(4.4 kB
view hashes)
Built Distribution
Close
Hashes for patch_antenna-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9ac891dff4e95225bac4efa68bab904d393456ee6ae7ea5ed7b0df316b0f0e2 |
|
MD5 | fcd485f4304c7ee88713b87e53149dc9 |
|
BLAKE2b-256 | 05300ac78b90f3dd9eee4fa447ac19222a1d91c15d3b7f5a4a404ed1c8c75e12 |