Skip to main content

PatchAntenna

Struct PatchAntenna 

Source
pub struct PatchAntenna {
    pub width: f64,
    pub length: f64,
    pub height: f64,
    pub eps_r: f64,
}
Expand description

A rectangular patch of width W (along y) and length L (along x, the resonant dimension) on a grounded substrate of height h and relative permittivity ε_r, centred at the origin with the ground plane at z = 0 and radiation into z > 0.

The dominant TM₀₁₀ mode is modelled by two radiating slots of width W at x = ±L_e/2 (L_e = L + 2ΔL), each an equivalent magnetic line current of 2V₀ doubled by the ground plane; the far field per unit edge voltage V₀ (in e^{+jωt}) is

E_θ = -jk/(4π) · S · cos φ · A, E_φ = jk/(4π) · S · cos θ sin φ · A,

with S = 2W sinc(kW sin θ sin φ / 2) the slot factor and A = 2 cos(k L_e sin θ cos φ / 2) the two-slot array factor, and zero below the (infinite) ground plane. Design and impedance formulas follow Balanis, Antenna Theory, §14.2.

Fields§

§width: f64§length: f64§height: f64§eps_r: f64

Implementations§

Source§

impl PatchAntenna

Source

pub fn new( width: f64, length: f64, height: f64, eps_r: f64, ) -> Result<Self, ErrorsJSL>

Source

pub fn design( frequency: f64, eps_r: f64, height: f64, ) -> Result<Self, ErrorsJSL>

The standard design for resonance at frequency: W = c/(2f) √(2/(ε_r+1)) and L = c/(2f√ε_eff) - 2ΔL.

Source

pub fn effective_permittivity(&self) -> f64

The effective permittivity (ε_r+1)/2 + (ε_r-1)/2 (1 + 12h/W)^{-1/2}.

Source

pub fn length_extension(&self) -> f64

The fringing length extension ΔL at each radiating edge.

Source

pub fn effective_length(&self) -> f64

The effective length L + 2ΔL (the slot separation).

Source

pub fn resonant_frequency(&self) -> f64

The TM₀₁₀ resonant frequency c / (2 L_e √ε_eff).

Source

pub fn slot_conductance(&self, frequency: f64) -> f64

The self conductance G₁ of one radiating slot (S).

Source

pub fn mutual_conductance(&self, frequency: f64) -> f64

The mutual conductance G₁₂ between the two slots (S).

Source

pub fn edge_resistance(&self, frequency: f64) -> f64

The resonant input resistance at a radiating edge, 1 / (2 (G₁ + G₁₂)).

Source

pub fn inset_resistance(&self, frequency: f64, inset: f64) -> f64

The resistance of an inset feed y₀ in from the edge: R_edge cos²(π y₀ / L).

Source

pub fn inset_for_resistance(&self, frequency: f64, target: f64) -> Option<f64>

The inset depth giving the input resistance target (Ω), if it is reachable.

Trait Implementations§

Source§

impl Antenna for PatchAntenna

Source§

fn far_field( &self, theta: f64, phi: f64, frequency: f64, convention: TimeConvention, ) -> [C64; 2]

The far field [E_θ, E_φ] in the direction (θ, φ) with e^{-jkr}/r removed (V), per unit excitation, in vacuum.
Source§

fn excitation(&self) -> Excitation

What the unit excitation is.
Source§

fn radiated_power(&self, frequency: f64) -> f64

The radiated power ∫ |E|² / (2η) dΩ (W) for a unit excitation.
Source§

fn peak_directivity(&self, frequency: f64) -> f64

The peak directivity, searched on a half-degree grid.
Source§

fn far_field_pattern( &self, domain: Arc<Domain>, frequency: f64, convention: TimeConvention, ) -> Result<HarmonicField, ErrorsJSL>

The far-field pattern as an electric-field container on a far-field domain (spherical basis).
Source§

fn power_grid(&self, _frequency: f64) -> (usize, usize)

The (θ nodes, φ samples) of the grid used for numerical power integration.
Source§

fn radiation_intensity(&self, theta: f64, phi: f64, frequency: f64) -> f64

The radiation intensity U = |E|² / (2η) (W/sr) for a unit excitation.
Source§

fn directivity(&self, theta: f64, phi: f64, frequency: f64) -> f64

The directivity 4π U(θ, φ) / P_rad in a direction.
Source§

fn radiation_resistance(&self, frequency: f64) -> Option<f64>

The radiation resistance 2 P / |I|² (Ω) referred to the unit excitation current, for current-excited models.
Source§

fn gain_pattern( &self, domain: Arc<Domain>, frequency: f64, convention: TimeConvention, efficiency: f64, ) -> Result<HarmonicField, ErrorsJSL>

The pattern scaled so that |E_θ|² + |E_φ|² equals the directivity times efficiency (the gain): the normalisation the array signal models expect.
Source§

impl Clone for PatchAntenna

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for PatchAntenna

Source§

impl Debug for PatchAntenna

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for PatchAntenna

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for PatchAntenna

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> MaybeSerialize for T
where T: ?Sized,

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.