PO_matlab
|
Models a parabolic reflector dish with a circular rim. More...
Public Member Functions | |
function | ParabolicDish (in f, in d, in R, in alpha, in rho_res, in phi_res, in t_res) |
Constructor for ParabolicDish. | |
function | E_calc (in obj, in r, in theta, in phi, in usegreen) |
Computes the far-field E-theta and E-phi components. | |
function | J_calc (in obj, in feed_fields_fun, in freq) |
Computes surface current vectors from a given field function. | |
function | plot (in obj, in feed_typ_size) |
Plots the surface current magnitude and feed location. | |
function get | z0 (in obj) |
Getter for z0, the vertex height from the paraboloid. | |
function get | theta0 (in obj) |
Getter for theta0, the edge angle of the dish [rad]. |
Public Attributes | |
Property | f |
Focal length of the dish [m]. | |
Property | d |
Diameter of the dish [m]. | |
Property | R |
Radius of the rim [m]. | |
Property | alpha |
Angle that the rim extends from the end of the dish [rad]. | |
Property | omega |
Angular frequency of excitation [rad/s]. | |
Property | rho_res |
Resolution of sampling along rho axis (dish) | |
Property | phi_res |
Resolution of sampling along phi axis (dish & rim) | |
Property | t_res |
Resolution of sampling along t axis (rim) | |
Property | rho_range |
Discrete rho sampling points (1D array) | |
Property | phi_range |
Discrete phi sampling points (1D array) | |
Property | t_range |
Discrete t sampling points (1D array) | |
Property | Jx |
X component of surface current in Cartesian coordinates. | |
Property | Jy |
Y component of surface current in Cartesian coordinates. | |
Property | Jz |
Z component of surface current in Cartesian coordinates. | |
Property | Jtheta |
Theta component of surface current in spherical coordinates. | |
Property | Jphi |
Phi component of surface current in spherical coordinates. | |
Property | X |
X coordinates of surface (cell array: 1=dish, 2=rim) | |
Property | Y |
Y coordinates of surface (cell array: 1=dish, 2=rim) | |
Property | Z |
Z coordinates of surface (cell array: 1=dish, 2=rim) | |
Property | nx |
X component of surface normals (cell array: 1=dish, 2=rim) | |
Property | ny |
Y component of surface normals (cell array: 1=dish, 2=rim) | |
Property | nz |
Z component of surface normals (cell array: 1=dish, 2=rim) | |
Property | z0 |
z-coordinate of the dish vertex relative to the paraboloid | |
Property | theta0 |
Angle between the dish edge and the focal axis [rad]. |
Private Member Functions | |
function | surface_dish (in obj) |
Generates the parametric surface of the parabolic dish reflector. | |
function | surface_rim (in obj) |
Generates the parametric surface of the dish rim (roll-off region). |
Private Attributes | |
Property | k |
Wavenumber [rad/m]. | |
Property | jacobian |
Surface Jacobians for integration (cell array: 1=dish, 2=rim) | |
Constant Property | ep0 = 8.85418782e |
Vacuum permittivity [F/m]. | |
Constant Property | mu0 = 1.25663706e |
Vacuum permeability [H/m]. | |
Constant Property | DISH = 1 |
Index for dish surface. | |
Constant Property | RIM = 2 |
Index for rim surface. | |
Constant Property | EXCLUDE_RIM = 0 |
Flag to ignore rim in field calculations. |
Models a parabolic reflector dish with a circular rim.
This class defines the geometry, surface currents, and far-field radiation calculation for a parabolic dish antenna with an optional rim. It includes methods for surface mesh generation, current calculation, far-field integration, and visualization.
function ParabolicDish | ( | in | f, |
in | d, | ||
in | R, | ||
in | alpha, | ||
in | rho_res, | ||
in | phi_res, | ||
in | t_res ) |
Constructor for ParabolicDish.
f | Focal length [m] |
d | Diameter [m] |
R | Rim radius [m] |
alpha | Rim span angle [rad] |
rho_res | Rho resolution |
phi_res | Phi resolution |
t_res | T resolution |
function E_calc | ( | in | obj, |
in | r, | ||
in | theta, | ||
in | phi, | ||
in | usegreen ) |
Computes the far-field E-theta and E-phi components.
r | Radial observation distance(s) |
theta | Elevation angle(s) [rad] |
phi | Azimuth angle(s) [rad] |
usegreen | Flag to apply Green's function (default = 1) |
Etheta | Theta-polarized electric field |
Ephi | Phi-polarized electric field |
function J_calc | ( | in | obj, |
in | feed_fields_fun, | ||
in | freq ) |
Computes surface current vectors from a given field function.
feed_fields_fun | Function handle to compute feed fields |
freq | Operating frequency [Hz] |
function plot | ( | in | obj, |
in | feed_typ_size ) |
Plots the surface current magnitude and feed location.
feed_typ_size | Approximate radius of the feed for visualization |
|
private |
Generates the parametric surface of the parabolic dish reflector.
This method computes the 3D Cartesian coordinates (X, Y, Z) of the reflective parabolic surface based on the paraboloid equation z = f - rho^2 / (4f), where f is the focal length. It also calculates surface normals (nx, ny, nz) and the surface Jacobian for integration.
|
private |
Generates the parametric surface of the dish rim (roll-off region).
This method computes the coordinates, surface normals, and Jacobian for the rim region at the edge of the parabolic reflector. The rim is modeled as a circular arc orthogonal to the paraboloid.
function get theta0 | ( | in | obj | ) |
Getter for theta0, the edge angle of the dish [rad].
function get z0 | ( | in | obj | ) |
Getter for z0, the vertex height from the paraboloid.
Property alpha |
Angle that the rim extends from the end of the dish [rad].
Property d |
Diameter of the dish [m].
|
private |
Index for dish surface.
|
private |
Vacuum permittivity [F/m].
|
private |
Flag to ignore rim in field calculations.
Property f |
Focal length of the dish [m].
|
private |
Surface Jacobians for integration (cell array: 1=dish, 2=rim)
Property Jphi |
Phi component of surface current in spherical coordinates.
Property Jtheta |
Theta component of surface current in spherical coordinates.
Property Jx |
X component of surface current in Cartesian coordinates.
Property Jy |
Y component of surface current in Cartesian coordinates.
Property Jz |
Z component of surface current in Cartesian coordinates.
|
private |
Wavenumber [rad/m].
|
private |
Vacuum permeability [H/m].
Property nx |
X component of surface normals (cell array: 1=dish, 2=rim)
Property ny |
Y component of surface normals (cell array: 1=dish, 2=rim)
Property nz |
Z component of surface normals (cell array: 1=dish, 2=rim)
Property omega |
Angular frequency of excitation [rad/s].
Property phi_range |
Discrete phi sampling points (1D array)
Property phi_res |
Resolution of sampling along phi axis (dish & rim)
Property R |
Radius of the rim [m].
Property rho_range |
Discrete rho sampling points (1D array)
Property rho_res |
Resolution of sampling along rho axis (dish)
|
private |
Index for rim surface.
Property t_range |
Discrete t sampling points (1D array)
Property t_res |
Resolution of sampling along t axis (rim)
Property theta0 |
Angle between the dish edge and the focal axis [rad].
Property X |
X coordinates of surface (cell array: 1=dish, 2=rim)
Property Y |
Y coordinates of surface (cell array: 1=dish, 2=rim)
Property Z |
Z coordinates of surface (cell array: 1=dish, 2=rim)
Property z0 |
z-coordinate of the dish vertex relative to the paraboloid