From bb4e57303ae38f33b3d4ff1fb9d25dd1cdee21b7 Mon Sep 17 00:00:00 2001 From: Satoshi Ikari Date: Wed, 28 Dec 2022 08:23:50 +0100 Subject: [PATCH 1/6] Add spec document file for antenna --- Specifications/Component/CommGs/.gitkeep | 0 .../Component/CommGs/Spec_Antenna.md | 62 +++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 Specifications/Component/CommGs/.gitkeep create mode 100644 Specifications/Component/CommGs/Spec_Antenna.md diff --git a/Specifications/Component/CommGs/.gitkeep b/Specifications/Component/CommGs/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/Specifications/Component/CommGs/Spec_Antenna.md b/Specifications/Component/CommGs/Spec_Antenna.md new file mode 100644 index 00000000..3a74c552 --- /dev/null +++ b/Specifications/Component/CommGs/Spec_Antenna.md @@ -0,0 +1,62 @@ +# Specification for Antenna + +## 1. Overview +1. Functions + - `Antenna` class emulates the radiation wave antenna on spacecraft and ground stations. + +2. Related files + - `Antenna.cpp`, `Antenna.h` + - `ANT.ini` + - `SampleAntennaRadiationPattern.csv` + +3. How to use + - Set t + +## 2. Explanation of Algorithm +1. `CalcTxEIRP` + 1. overview + - Function to calculate transmit EIRP (Equivalent Isotropic Radiated Power). + + 1. input and output + - input + + theta: Target directions [rad] + - output + + Transmit EIRP [dBW] + + 1. algorithm + - $P_{tx}$: RF output power for transmission [W] + - $G_{tx}$: Transmit maximum gain [dBi] + - $L_{f_{tx}}$: Feeder loss [dB] + - $L_{p_{tx}}$: Pointing loss [dB] + - $EIRP_{tx}$: Transmit EIRP [dBW] + ```math + EIRP_{tx} = 10 \log_{10}{P_{tx}} + G_{tx} + L_{ftx} + L_{ptx} + ``` + +1. `CalcRxGT` + 1. overview + - Function to calculate receive G/T (Gain/Temperature). + + 1. input and output + - input + + theta: Target directions [rad] + - output + + Receive G/T [dB/K] + + 1. algorithm + - $G_{rx}$: Transmit maximum gain [dBi] + - $L_{f_{rx}}$: Feeder loss [dB] + - $L_{p_{rx}}$: Pointing loss [dB] + - $T_{rx}$: System noise temperature [K] + - $G/T_{rx}$: Receive G/T [dB/K] + ```math + G/T_{rx} = G_{rx} + L_{frx} + L_{prx} - 10\log_{10}{T_{rx}} + ``` +## 3. Results of verifications +- In this section, jitter output when the RW is rotated at a constant speed is verified. + 1. + + +## 4. References + 1. + From 6b06bb4dd616e71cffa59c19a501b65e55e56d7b Mon Sep 17 00:00:00 2001 From: Satoshi Ikari Date: Sun, 1 Jan 2023 15:51:30 +0100 Subject: [PATCH 2/6] Modify spec document of antenna --- .../Component/CommGs/Spec_Antenna.md | 71 +++++++++++++++---- 1 file changed, 56 insertions(+), 15 deletions(-) diff --git a/Specifications/Component/CommGs/Spec_Antenna.md b/Specifications/Component/CommGs/Spec_Antenna.md index 3a74c552..96595db2 100644 --- a/Specifications/Component/CommGs/Spec_Antenna.md +++ b/Specifications/Component/CommGs/Spec_Antenna.md @@ -5,12 +5,13 @@ - `Antenna` class emulates the radiation wave antenna on spacecraft and ground stations. 2. Related files - - `Antenna.cpp`, `Antenna.h` - - `ANT.ini` - - `SampleAntennaRadiationPattern.csv` + - Main source codes: `Antenna.cpp`, `Antenna.h` + - Initialize functions: `InitAntenna.hpp`, `InitAntenna.cpp` + - Initialize files: `ANT.ini`, `ANT_SC.ini`, `ANT_GS.ini` 3. How to use - - Set t + - Make instance of this class at `SpacecraftComponents` and/or `GroundStationComponents` by `InitAntenna` function. + - Set parameters in the antenna initialize files. ## 2. Explanation of Algorithm 1. `CalcTxEIRP` @@ -19,19 +20,26 @@ 1. input and output - input - + theta: Target directions [rad] + + $\theta$: Angle from PZ axis on the antenna frame [rad] + + $\phi$: Angle from PX axis on the antenna frame [rad] + - Set $\phi = 0$ for axial symmetry pattern - output + Transmit EIRP [dBW] 1. algorithm + - $EIRP_{tx}$: Transmit EIRP [dBW] - $P_{tx}$: RF output power for transmission [W] - - $G_{tx}$: Transmit maximum gain [dBi] - $L_{f_{tx}}$: Feeder loss [dB] - $L_{p_{tx}}$: Pointing loss [dB] - - $EIRP_{tx}$: Transmit EIRP [dBW] + - $G_{tx}(\theta, \phi)$: Antenna gain [dBi] ```math - EIRP_{tx} = 10 \log_{10}{P_{tx}} + G_{tx} + L_{ftx} + L_{ptx} + \begin{align} + EIRP_{tx} &= 10 \log_{10}{P_{tx}} + L_{ftx} + L_{ptx} + G_{tx}(\theta, \phi) \\ + &= \bar{EIRP}_{tx} + G_{tx}(\theta, \phi) + \end{align} ``` + - The constant value $\bar{EIRP}_{tx}$ is calculated at the `Constructor` + - $G_{tx}(\theta, \phi)$ is calculated by `CalcAntennaGain` function 1. `CalcRxGT` 1. overview @@ -39,24 +47,57 @@ 1. input and output - input - + theta: Target directions [rad] + + $\theta$: Angle from PZ axis on the antenna frame [rad] + + $\phi$: Angle from PX axis on the antenna frame [rad] + - Set $\phi = 0$ for axial symmetry pattern - output + Receive G/T [dB/K] 1. algorithm - - $G_{rx}$: Transmit maximum gain [dBi] + - $G/T_{rx}$: Receive G/T [dB/K] - $L_{f_{rx}}$: Feeder loss [dB] - $L_{p_{rx}}$: Pointing loss [dB] - $T_{rx}$: System noise temperature [K] - - $G/T_{rx}$: Receive G/T [dB/K] + - $G_{rx}(\theta, \phi)$: Receiver antenna gain [dBi] ```math - G/T_{rx} = G_{rx} + L_{frx} + L_{prx} - 10\log_{10}{T_{rx}} + \begin{align} + G/T_{rx} &= L_{frx} + L_{prx} - 10\log_{10}{T_{rx}} + G_{rx}(\theta, \phi)\\ + &= \bar{G/T}_{rx} + G_{rx}(\theta, \phi) + \end{align} ``` + - The constant value $\bar{G/T}_{rx}$ is calculated at the `Constructor` + - $G_{rx}(\theta, \phi)$ is calculated by `CalcAntennaGain` function + +1. `CalcAntennaGain` + 1. overview + - Function to calculate antenna gain. + - The antenna gain calculation method is changed by the following `AntennaGainModel` + + `ISOTROPIC`: Ideal isotropic radiation pattern + - Generally, the isotropic antenna gain is 0 dBi, but users can set other value for ideal analysis which are not depending on antenna pointing direction. + + `RADIATION_PATTERN_CSV`: Arbitrary 3D radiation pattern defined in CSV file. + - For details, please refer `AntennaRadiationPattern`. + + 1. input and output + - input + + `AntennaParameters` + - `AntennaGainModel`: Antenna gain model + - `AntennaRadiationPattern`: Antenna radiation pattern information + + $\theta$: Angle from PZ axis on the antenna frame [rad] + + $\phi$: Angle from PX axis on the antenna frame [rad] + - Set $\phi = 0$ for axial symmetry pattern + - output + + Antenna gain [dBi] + + 1. algorithm + - `ISOTROPIC` mode + + The function just returns pre-defined antenna gain. + - `RADIATION_PATTERN_CSV` mode + + The function just returns `AntennaRadiationPattern::GetGain_dBi` + ## 3. Results of verifications -- In this section, jitter output when the RW is rotated at a constant speed is verified. - 1. +- TBW ## 4. References - 1. +- NA From b2d0cec8282b1e1781c74287a32280ddf907d11c Mon Sep 17 00:00:00 2001 From: Satoshi Ikari Date: Tue, 3 Jan 2023 13:56:01 +0100 Subject: [PATCH 3/6] Fix align --- Specifications/Component/CommGs/Spec_Antenna.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Specifications/Component/CommGs/Spec_Antenna.md b/Specifications/Component/CommGs/Spec_Antenna.md index 96595db2..e575947a 100644 --- a/Specifications/Component/CommGs/Spec_Antenna.md +++ b/Specifications/Component/CommGs/Spec_Antenna.md @@ -33,10 +33,10 @@ - $L_{p_{tx}}$: Pointing loss [dB] - $G_{tx}(\theta, \phi)$: Antenna gain [dBi] ```math - \begin{align} + \begin{align*} EIRP_{tx} &= 10 \log_{10}{P_{tx}} + L_{ftx} + L_{ptx} + G_{tx}(\theta, \phi) \\ &= \bar{EIRP}_{tx} + G_{tx}(\theta, \phi) - \end{align} + \end{align*} ``` - The constant value $\bar{EIRP}_{tx}$ is calculated at the `Constructor` - $G_{tx}(\theta, \phi)$ is calculated by `CalcAntennaGain` function @@ -60,10 +60,10 @@ - $T_{rx}$: System noise temperature [K] - $G_{rx}(\theta, \phi)$: Receiver antenna gain [dBi] ```math - \begin{align} + \begin{align*} G/T_{rx} &= L_{frx} + L_{prx} - 10\log_{10}{T_{rx}} + G_{rx}(\theta, \phi)\\ &= \bar{G/T}_{rx} + G_{rx}(\theta, \phi) - \end{align} + \end{align*} ``` - The constant value $\bar{G/T}_{rx}$ is calculated at the `Constructor` - $G_{rx}(\theta, \phi)$ is calculated by `CalcAntennaGain` function From cf8109855b38968c5c6ddc7ec6c8875eb369c0fa Mon Sep 17 00:00:00 2001 From: Satoshi Ikari Date: Tue, 3 Jan 2023 13:56:21 +0100 Subject: [PATCH 4/6] Add specification documents for GsCalculator --- .../Component/CommGs/Spec_GsCalculator.md | 151 ++++++++++++++++++ 1 file changed, 151 insertions(+) create mode 100644 Specifications/Component/CommGs/Spec_GsCalculator.md diff --git a/Specifications/Component/CommGs/Spec_GsCalculator.md b/Specifications/Component/CommGs/Spec_GsCalculator.md new file mode 100644 index 00000000..bb0961d4 --- /dev/null +++ b/Specifications/Component/CommGs/Spec_GsCalculator.md @@ -0,0 +1,151 @@ +# Specification for GsCalculator + +## 1. Overview +1. Functions + - `GsCalculator` class emulates communication analysis between spacecraft and Ground Stations. + - **NOTE**: The description of `GsCalculator` suits with current naming rule, but there are still old description as `GScalculator` in the codes. In this documents, we use `GsCalculator`. + - **NOTE**: The current `GsCalculator` is in the `Component` directory but doesn't inherit `ComponentBase`. We need to newly make `Analysis` directory and move `GsCalculator` to the directory. + +1. Related files + - Main source codes: `GsCalculator.cpp`, `GsCalculator.h` + - Initialize functions: `InitGsCalculator.hpp`, `InitGsCalculator.cpp` + - Initialize files: `GsCalculator.ini` + +1. How to use + - Make instance of this class at `GsComponents` by `InitGsCalculator` function. + - Set parameters in the initialize file. + - Call the `Update` function in the user defined `GroundStation` calculation class. + +## 2. Explanation of Algorithm +1. `CalcCn0OnGs` + 1. overview + - Function to calculate $CN_{0}$ (Carrier to Noise density ratio) of received signal at the ground station. + + 1. input and output + - input + + dynamics: Dynamics information of spacecraft to get spacecraft position + + sc_tx_ant: TX antenna mounted on the spacecraft + + ground_station: Ground station information to get ground station position + + gs_rx_ant: RX antenna mounted on the ground station + - output + + $CN_{0}$ [dB] + + 1. algorithm + - Calculation of free space path loss $L_{fs}$ dB + - $D_{sc-gs}$: Distance between spacecraft and ground station [km] + - $f_{tx}$: TX signal frequency [MHz] + ```math + L_{fs} = -20\log_{10}{\left(\frac{4\pi D_{sc-gs}}{\frac{300}{1000}f_{tx}}\right)} + ``` + - Calculation of ground station direction on the spacecraft TX antenna frame + - $\bm{r}_{sc-gs}^{tx}$: Direction vector from spacecraft to ground station at the TX antenna frame + ```math + \begin{align*} + \bm{r}_{sc-gs}^{tx} &= \begin{bmatrix} + x_{sc-gs}^{tx} \\ + y_{sc-gs}^{tx} \\ + z_{sc-gs}^{tx} \\ + \end{bmatrix}\\ + \theta_{tx} &= \cos^{-1}(z_{sc-gs}^{tx})\\ + \phi_{tx} &= \cos^{-1}\left(\frac{x_{sc-gs}^{tx}}{\sin{\theta_{tx}}}\right) + \end{align*} + ``` + - Calculation of spacecraft direction on the ground station RX antenna frame + - $\bm{r}_{sc-gs}^{rx}$: Direction vector from ground station to spacecraft at the RX antenna frame + ```math + \begin{align*} + \bm{r}_{sc-gs}^{rx} &= \begin{bmatrix} + x_{sc-gs}^{rx} \\ + y_{sc-gs}^{rx} \\ + z_{sc-gs}^{rx} \\ + \end{bmatrix}\\ + \theta_{rx} &= \cos^{-1}(z_{sc-gs}^{rx})\\ + \phi_{rx} &= \cos^{-1}\left(\frac{x_{sc-gs}^{rx}}{\sin{\theta_{rx}}}\right) + \end{align*} + ``` + - Calculation of $CN_{0}$ + - $EIRP_{tx}(\theta_{tx}, \phi_{tx})$: Transmit EIRP calculated by `Antenna` class including TX antenna gain [dB] + - $L_{fs}$: Free space path loss[dB] + - $L_{pl}$: Polarization loss[dB] + - $L_{at}$: Atmospheric loss[dB] + - $L_{rf}$: Rain fall loss[dB] + - $L_{ot}$: Other loss[dB] + - $GT_{rx}(\theta_{rx}, \phi_{rx})$: Receive G/T calculated by `Antenna` class including RX antenna gain [dB/K] + - $k_{B}$: Boltzmann constant [J/K] + ```math + CN_{0} = EIRP_{tx}(\theta_{tx}, \phi_{tx}) + L_{fs} + L_{pl} + L_{at} + L_{rf} + L_{ot} + GT_{rx}(\theta_{rx}, \phi_{rx}) - 10\log_{10}{k_{B}} + ``` +1. `CalcMaxBitrate` + 1. overview + - Function to calculate maximum bitrate for downlink. + + 1. input and output + - input + + dynamics: Dynamics information of spacecraft to get spacecraft position + + sc_tx_ant: TX antenna mounted on the spacecraft + + ground_station: Ground station information to get ground station position + + gs_rx_ant: RX antenna mounted on the ground station + - output + + $R_{max}$: Maximum bitrate [Mbps] + + 1. algorithm + - $E_{b}N_{0}$: Energy per bit to Noise density ratio [dB] + - $L_{hw}$: Hardware deterioration [dB] + - $G_{code}$: Coding gain [dB] + - $M_{rq}$: Margin requirement [dB] + ```math + \begin{align*} + M_{bitrate} &= CN_{0} - (E_{b}N_{0} + L_{hw} + G_{code}) - M_{req} \\ + R_{max} &= \frac{1}{1000000} 10^{\frac{M_{bitrate}}{10}} + \end{align*} + ``` +1. `CalcReceiveMarginOnGs` + 1. overview + - Function to calculate receive margin at the ground station. + + 1. input and output + - input + + dynamics: Dynamics information of spacecraft to get spacecraft position + + sc_tx_ant: TX antenna mounted on the spacecraft + + ground_station: Ground station information to get ground station position + + gs_rx_ant: RX antenna mounted on the ground station + - output + + $M_{rex}$: Receive margin [dB] + + 1. algorithm + - $E_{b}N_{0}$: Energy per bit to Noise density ratio [dB] + - $L_{hw}$: Hardware deterioration [dB] + - $G_{code}$: Coding gain [dB] + - $R_{tx}$: TX bit rate[bps] + ```math + \begin{align*} + CN_{req} &= E_{b}N_{0} + L_{hw} + G_{code} + 10\log_{10}{R_{tx}} \\ + M_{rec} &= CN_{0} - CN_{req} + \end{align*} + ``` +1. `Update` + 1. overview + - Function to update the following states in `GsCalculator`. + + $M_{rex}$: Receive margin [dB] + + $R_{max}$: Maximum bitrate [Mbps] + - The states are calculated when the spacecraft is visible from the ground station. When it is invisible, the states are set as meaning less value. + + 1. input and output + - input + + dynamics: Dynamics information of spacecraft to get spacecraft position + + sc_tx_ant: TX antenna mounted on the spacecraft + + ground_station: Ground station information to get ground station position + + gs_rx_ant: RX antenna mounted on the ground station + - output + + NA + + 1. algorithm + - Call `CalcReceiveMarginOnGs` and `CalcMaxBitrate` when the spacecraft is visible. + +## 3. Results of verifications +- TBW + + +## 4. References +- NA + From f97f9a604c0a32f1484c3179d032fee49b7d11e5 Mon Sep 17 00:00:00 2001 From: Satoshi Ikari Date: Tue, 3 Jan 2023 14:09:01 +0100 Subject: [PATCH 5/6] Fix math description --- .../Component/CommGs/Spec_Antenna.md | 8 +-- .../Component/CommGs/Spec_GsCalculator.md | 51 ++++++++++--------- 2 files changed, 31 insertions(+), 28 deletions(-) diff --git a/Specifications/Component/CommGs/Spec_Antenna.md b/Specifications/Component/CommGs/Spec_Antenna.md index e575947a..45b65375 100644 --- a/Specifications/Component/CommGs/Spec_Antenna.md +++ b/Specifications/Component/CommGs/Spec_Antenna.md @@ -32,12 +32,12 @@ - $L_{f_{tx}}$: Feeder loss [dB] - $L_{p_{tx}}$: Pointing loss [dB] - $G_{tx}(\theta, \phi)$: Antenna gain [dBi] - ```math +```math \begin{align*} EIRP_{tx} &= 10 \log_{10}{P_{tx}} + L_{ftx} + L_{ptx} + G_{tx}(\theta, \phi) \\ &= \bar{EIRP}_{tx} + G_{tx}(\theta, \phi) \end{align*} - ``` +``` - The constant value $\bar{EIRP}_{tx}$ is calculated at the `Constructor` - $G_{tx}(\theta, \phi)$ is calculated by `CalcAntennaGain` function @@ -59,12 +59,12 @@ - $L_{p_{rx}}$: Pointing loss [dB] - $T_{rx}$: System noise temperature [K] - $G_{rx}(\theta, \phi)$: Receiver antenna gain [dBi] - ```math +```math \begin{align*} G/T_{rx} &= L_{frx} + L_{prx} - 10\log_{10}{T_{rx}} + G_{rx}(\theta, \phi)\\ &= \bar{G/T}_{rx} + G_{rx}(\theta, \phi) \end{align*} - ``` +``` - The constant value $\bar{G/T}_{rx}$ is calculated at the `Constructor` - $G_{rx}(\theta, \phi)$ is calculated by `CalcAntennaGain` function diff --git a/Specifications/Component/CommGs/Spec_GsCalculator.md b/Specifications/Component/CommGs/Spec_GsCalculator.md index bb0961d4..a8e72616 100644 --- a/Specifications/Component/CommGs/Spec_GsCalculator.md +++ b/Specifications/Component/CommGs/Spec_GsCalculator.md @@ -34,35 +34,35 @@ - Calculation of free space path loss $L_{fs}$ dB - $D_{sc-gs}$: Distance between spacecraft and ground station [km] - $f_{tx}$: TX signal frequency [MHz] - ```math +```math L_{fs} = -20\log_{10}{\left(\frac{4\pi D_{sc-gs}}{\frac{300}{1000}f_{tx}}\right)} - ``` +``` - Calculation of ground station direction on the spacecraft TX antenna frame - - $\bm{r}_{sc-gs}^{tx}$: Direction vector from spacecraft to ground station at the TX antenna frame - ```math + - $\boldsymbol{r}_{sc-gs}^{tx}$: Direction vector from spacecraft to ground station at the TX antenna frame +```math \begin{align*} - \bm{r}_{sc-gs}^{tx} &= \begin{bmatrix} - x_{sc-gs}^{tx} \\ - y_{sc-gs}^{tx} \\ - z_{sc-gs}^{tx} \\ - \end{bmatrix}\\ + \boldsymbol{r}_{sc-gs}^{tx} &= \begin{bmatrix} + x_{sc-gs}^{tx} \\ + y_{sc-gs}^{tx} \\ + z_{sc-gs}^{tx} \\ + \end{bmatrix}\\ \theta_{tx} &= \cos^{-1}(z_{sc-gs}^{tx})\\ \phi_{tx} &= \cos^{-1}\left(\frac{x_{sc-gs}^{tx}}{\sin{\theta_{tx}}}\right) \end{align*} - ``` +``` - Calculation of spacecraft direction on the ground station RX antenna frame - - $\bm{r}_{sc-gs}^{rx}$: Direction vector from ground station to spacecraft at the RX antenna frame - ```math + - $\boldsymbol{r}_{sc-gs}^{rx}$: Direction vector from ground station to spacecraft at the RX antenna frame +```math \begin{align*} - \bm{r}_{sc-gs}^{rx} &= \begin{bmatrix} - x_{sc-gs}^{rx} \\ - y_{sc-gs}^{rx} \\ - z_{sc-gs}^{rx} \\ - \end{bmatrix}\\ + \boldsymbol{r}_{sc-gs}^{rx} &= \begin{bmatrix} + x_{sc-gs}^{rx} \\ + y_{sc-gs}^{rx} \\ + z_{sc-gs}^{rx} \\ + \end{bmatrix}\\ \theta_{rx} &= \cos^{-1}(z_{sc-gs}^{rx})\\ \phi_{rx} &= \cos^{-1}\left(\frac{x_{sc-gs}^{rx}}{\sin{\theta_{rx}}}\right) \end{align*} - ``` +``` - Calculation of $CN_{0}$ - $EIRP_{tx}(\theta_{tx}, \phi_{tx})$: Transmit EIRP calculated by `Antenna` class including TX antenna gain [dB] - $L_{fs}$: Free space path loss[dB] @@ -72,9 +72,10 @@ - $L_{ot}$: Other loss[dB] - $GT_{rx}(\theta_{rx}, \phi_{rx})$: Receive G/T calculated by `Antenna` class including RX antenna gain [dB/K] - $k_{B}$: Boltzmann constant [J/K] - ```math +```math CN_{0} = EIRP_{tx}(\theta_{tx}, \phi_{tx}) + L_{fs} + L_{pl} + L_{at} + L_{rf} + L_{ot} + GT_{rx}(\theta_{rx}, \phi_{rx}) - 10\log_{10}{k_{B}} - ``` +``` + 1. `CalcMaxBitrate` 1. overview - Function to calculate maximum bitrate for downlink. @@ -93,12 +94,13 @@ - $L_{hw}$: Hardware deterioration [dB] - $G_{code}$: Coding gain [dB] - $M_{rq}$: Margin requirement [dB] - ```math +```math \begin{align*} M_{bitrate} &= CN_{0} - (E_{b}N_{0} + L_{hw} + G_{code}) - M_{req} \\ R_{max} &= \frac{1}{1000000} 10^{\frac{M_{bitrate}}{10}} \end{align*} - ``` +``` + 1. `CalcReceiveMarginOnGs` 1. overview - Function to calculate receive margin at the ground station. @@ -117,12 +119,13 @@ - $L_{hw}$: Hardware deterioration [dB] - $G_{code}$: Coding gain [dB] - $R_{tx}$: TX bit rate[bps] - ```math +```math \begin{align*} CN_{req} &= E_{b}N_{0} + L_{hw} + G_{code} + 10\log_{10}{R_{tx}} \\ M_{rec} &= CN_{0} - CN_{req} \end{align*} - ``` +``` + 1. `Update` 1. overview - Function to update the following states in `GsCalculator`. From 7ae9f54fe355314c6d2cfec2d509d77acf3a670b Mon Sep 17 00:00:00 2001 From: Satoshi Ikari Date: Tue, 3 Jan 2023 14:34:02 +0100 Subject: [PATCH 6/6] Fix for math description --- Specifications/Component/CommGs/Spec_Antenna.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Specifications/Component/CommGs/Spec_Antenna.md b/Specifications/Component/CommGs/Spec_Antenna.md index 45b65375..b0238ec1 100644 --- a/Specifications/Component/CommGs/Spec_Antenna.md +++ b/Specifications/Component/CommGs/Spec_Antenna.md @@ -32,14 +32,14 @@ - $L_{f_{tx}}$: Feeder loss [dB] - $L_{p_{tx}}$: Pointing loss [dB] - $G_{tx}(\theta, \phi)$: Antenna gain [dBi] + - The constant value $\bar{EIRP}_{tx}$ is calculated at the `Constructor` + - $G_{tx}(\theta, \phi)$ is calculated by `CalcAntennaGain` function ```math \begin{align*} EIRP_{tx} &= 10 \log_{10}{P_{tx}} + L_{ftx} + L_{ptx} + G_{tx}(\theta, \phi) \\ &= \bar{EIRP}_{tx} + G_{tx}(\theta, \phi) \end{align*} ``` - - The constant value $\bar{EIRP}_{tx}$ is calculated at the `Constructor` - - $G_{tx}(\theta, \phi)$ is calculated by `CalcAntennaGain` function 1. `CalcRxGT` 1. overview @@ -59,14 +59,14 @@ - $L_{p_{rx}}$: Pointing loss [dB] - $T_{rx}$: System noise temperature [K] - $G_{rx}(\theta, \phi)$: Receiver antenna gain [dBi] + - The constant value $\bar{G/T}_{rx}$ is calculated at the `Constructor` + - $G_{rx}(\theta, \phi)$ is calculated by `CalcAntennaGain` function ```math \begin{align*} G/T_{rx} &= L_{frx} + L_{prx} - 10\log_{10}{T_{rx}} + G_{rx}(\theta, \phi)\\ &= \bar{G/T}_{rx} + G_{rx}(\theta, \phi) \end{align*} ``` - - The constant value $\bar{G/T}_{rx}$ is calculated at the `Constructor` - - $G_{rx}(\theta, \phi)$ is calculated by `CalcAntennaGain` function 1. `CalcAntennaGain` 1. overview