Professional Documents
Culture Documents
ASSESSMENT BRIEF
COURSE DETAILS
INSTITUTE UniKL BRITISH MALAYSIAN INSTITUTE
COURSE NAME SATELLITE COMMUNICATION
COURSE CODE BTB47203
COURSE LEADER SAIFUL YUSRI B. MOHD YASSIN
LECTURER -
SEMESTER & YEAR SEPT 2022
ASSESSMENT DETAILS
TITLE/NAME ASSIGNMENT
WEIGHTING 20%
DATE/DEADLINE 4/11/2022
COURSE LEARNING CLO1 : Explain the satellite communications orbit, trajectories, link-design
OUTCOME(S) and their applications. (C4, PLO3)
INSTRUCTIONS Perform the following tasks:
1. Submit the report in group or individual as instructed by Course Lecturer.
2. The group consists of 2 persons.
3. All answers must be in English language only.
19 Oct 2022
Signature:
Date : 17/10/2022
TASK NO CLO MARKING SCHEME MARKS
1 1 The Report
Demonstrate the ability to write a STANDARD
10
report with sufficient supported diagrams and data
2 1 The Contents
• Introduction 10
• GUI MATLAB code 30
• Orbital element relations 20
• Read and generate TLE data 20
• Conclusion & References 10
TOTAL 100
UNIVERSITI KUALA LUMPUR
RUBRIC FOR ASSIGNMENT
QUALITY OF WORK
VERY GOOD
EXCELLENT
VERY POOR
PERFORMANCE CRITERIA
GOOD
POOR
1 2 3 4 5
Concepts and findings are clearly stated and defined, with clear
2.1 descriptions and explanations. Finding/conclusions are connected
back to the objectives
TOTAL MARKS
Attach this coversheet as the cover of your submission. All sections must be completed.
This is your submission receipt, the only accepted evidence that you have submitted your work. After this is
stamped by the appointed staff & filled in, cut along the dotted lines above & retain this for your record.
Write a STANDARD report from the following tasks with sufficient supported diagrams
and data.
TASK 2:
Write a MATLAB (m-file) code as below for a satellite orbits that can read true anomaly,
inclination and etc. as your input orbit parameters. Use given relation orbital elements:
2πab a 3 2π
T= = 2π =
h µ n
n(t − tp ) = M = E − e sin( E )
% Input Constants
As a result you can read, load data from TLE (Two Line Element) and plot the satellite
orbits. Test your routine for TLE scientific satellites provided in website:
https://www.celestrak.com/NORAD/elements/
We will learn about the path satellite revolving with mathematical notation study called
orbital elements in relation to two line elements for this assignment. The MATLAB software
will generate all of the data in this lab using specific coding. Orbital elements are the criteria
required to uniquely identify a specific orbit. In celestial mechanics, these elements are
investigated in two-body systems using a Kepler orbit. There are numerous ways to
mathematically describe the same orbit, but in astronomy and orbital mechanics, specific
schemes with a set of six parameters are routinely used. A real orbit and its constituents change
over time due to gravitational perturbations from other objects and the effects of general
relativity. A Kepler orbit is an idealised mathematical approximation of the orbit at a given
time. The orbital elements are the semimajor axis, eccentricity, mean anomaly, argument of
perigee, inclination, and ascending node right ascension. The six orbital elements define the
orbits of earth satellites. As a result, distinguishing one satellite from another is simple based
on the values of orbital elements.
TLE data, or two-line element data, is a set of parameters that describe the state of a
spacecraft in Earth orbit. These parameters include identifier data, such as the satellite number
and launch number, a time associated with the set (given as the year and fractional day), and
traditional orbital elements (inclination, right ascension of the ascending node (RAAN),
eccentricity, and angular momentum). Perigee argument, mean anomaly, and mean motion).
The US Air Force developed the TLE format in the 1970s, and it is still in use today as a legacy
format. The first line contains the first and second derivatives of the mean motion, as well as
B*, which are used to propagate the orbit, while the second line contains the basic Keplerian
elements. This information is used by the Simplified General Perturbation (SGP4) model to
transmit the orbit from the TLE epoch to any subsequent time when the position of the
associated space object is required. TLE propagation uncertainty varies by space catalogue
object because each has its own unique orbital environment that SGP4 may or may not capture
well.
2.0 GUI MATLAB CODE
% This program calculates and draws Keplerian orbit of satellite using TLE data
% from text file (containts TLE record for satellite CUBE):
%%
% <https://www.celestrak.com/NORAD/elements/cubesat.txt
https://www.celestrak.com/NORAD/elements/cubesat.txt>
clc;
%% Loading data from a TLE data file
filename = uigetfile('.txt');
TLEdata=readmatrix(filename);
%% Reading basic input parameters
% Input Constants
O = O*pi/180; %[rad]
i = i*pi/180; %[rad]
M0 = M0*pi/180; %[rad]
w = w*pi/180; %[rad]
%% Calculations
n2=n*2*pi/86164; % n to [rad/s]
a=mu^(1/3)/n2^(2/3); % Major semi-axis [km]
p = a*(1-e^2); % Semi-latus rectus [km]
rp = a*(1-e); % Radius of perigee [km]
ra = a*(1+e); % Radius of apogee [km]
vp = sqrt(mu*(2/rp-1/a)); % Velocity at perigee km/s]
va = sqrt(mu*(2/ra-1/a)); % Velocity at apogee [km/s]
T = 2*pi/n2; % period [s]
hodiny = floor(T/3600); % hours
minuty = floor((T-hodiny*3600)/60); % minutes
sekundy = floor(T-hodiny*3600-minuty*60); % seconds
%% Outputs
true;
fprintf('\n Period %3d h: %3d m: %3d s ',hodiny,minuty,sekundy);
fprintf('\n Radius of perigee %10.3f km Altitude at perigee %10.3f
km',rp,rp-Rz);
fprintf('\n Radius of apogee %10.3f km Altitude at apogee %10.3f
km',ra,ra-Rz);
fprintf('\n Velocity at perigee %6.4f km/s Velocity at apogee %6.4f
km/s',vp,va);
% Time vector
no = 1; % number of orbits
t0 = 0; % initial time
tn = no*T; % final time
krok = 30; % step [s]
t = t0:krok:tn+krok; % vector of time
%%
% Eccentric anomaly [rad]
M=M0+n*(t-t0);
E = zeros(size(t,2),1);
for j=1:size(t,2)
E(j) = anom_ecc(M(j),e);
end
%%
% Calculation of radius
xp = r.*cos(u);
yp = r.*sin(u);
xs = xp.*cos(O)-yp.*cos(i).*sin(O); % ECI x [km]
ys = xp.*sin(O)+yp.*cos(i).*cos(O); % ECI y [km]
zs = yp.*sin(i); % ECI z [km]
%%
hold on;
hSurface=surf(x, y, z);
set(hSurface,'FaceColor',[0 0
1],'FaceAlpha',0.9,'FaceLighting','gouraud','EdgeColor','k')
axis equal
plot3(xs,ys,zs,'r*')
angle_eq = linspace(0,2*pi,361);
xeq = (Rz*1.0001).*cos(angle_eq);
yeq = (Rz*1.0001).*sin(angle_eq);
zeq = zeros(1,size(angle_eq,2));
plot3([0,2*ra],[0,0],[0,0],'-.k','LineWidth',1); % X
plot3([0,0],[0,2*ra],[0,0],'-.k','LineWidth',1); % Y
plot3([0,0],[0,0],[0,2*ra],'-.k','LineWidth',1); % Z
text(2*ra+120,10,0,texlabel(' X'),'Color','k','FontSize',16);
text(0,2*ra+120,0,texlabel(' Y'),'Color','k','FontSize',16);
text(0,0,2*ra+140,texlabel(' Z'),'Color','k','FontSize',16);
plot3(xeq,yeq,zeq,'--y','LineWidth',1); % Equator
title('Output: Interactive Orbit View')
grid on;
En = M;
Ens = En - (En-e*sin(En)- M)/(1 - e*cos(En));
while ( abs(Ens-En) > error )
En = Ens;
Ens = En - (En - e*sin(En) - M)/(1 - e*cos(En));
end;
E = Ens;
Eccentric Anomaly Computation File
e=0.5
e=0.75
e=1
e=0.25 e=0
We were tasked to do the simulation using MATLAB software to get the eccentric anomaly
using mean anomaly and eccentricity that can be derived from the TLE data that we obtained
from the site that was provided by our lecturer. The more detailed explanation calculation and
result can be obtained also from the simulation of MATLAB from the code that were provided
by our lecturer.
Kepler's laws were derived for orbits around the sun, but they apply to satellite orbits as well.
The eccentric anomaly, mean anomaly and orbit eccentricity are related by Kepler’s Equation:
M=E−esinE
That is why I searched for Kepler formula that can be simulated in MATLAB so that the result
can be seen and understand deeper. The value of M at a given time is easily found when the
eccentricity e and the eccentric anomaly E are known. The problem is to find E (from which
the position of the planet can be computed) when M and e are known. Kepler's equation cannot
be solved algebraically. It can be treated by an iteration methods. One of them is Newton's
method, finding roots of
f(E) = E - e*sin(E) - M(t)
The true anomaly (symbol φ) is the angular distance of the planet from the perihelion of the
planet, as seen from the Sun. For a circular orbit, the mean anomaly and the true anomaly are
the same. True anomaly (υ) and mean anomaly (M) are related through the eccentric anomaly
and the Kepler’s equation. The true anomaly can be also solved from the mean anomaly by
using a series expansion approach of the so-called equation of the center. For reference orbit
computation the series solution can be truncated in the following terms:
Read And Generate TLE Data
1. ISS (ZARYA)
TLE:
From the TLE data that was taken from the website, when we run the simulation and used the
TLE data to compute it using the code provided, we can see that the period taken for satellite
ISS (ZARYA) is 1 hour 32 minutes and 40s to complete a cycle in its own orbit. The radius of
both perigee and apogee is not too different so we can assume that the satellite shape is round.
The shape of the satellite also dependant to the eccentricity of the satellite and because of the
eccentricity is below 1 then the shape of the satellite is in ellipse satellite shape. Lastly the
inclination can be considered prograde since it is 51.6449° in inclination where a prograde orbit
is between 0°- 90°.
2. AEROCUBE 12A
TLE:
For the next TLE data we can see that the period taken for satellite AEROCUBE 12A is 1 hour
32 minutes and 54s to complete a cycle in its own orbit. The radius of both perigee and apogee
is not too different so we can assume that the satellite shape is round. The shape of the satellite
also dependant to the eccentricity of the satellite and because of the eccentricity is below 1 then
the shape of the satellite is in ellipse satellite shape. Lastly the inclination can be considered
prograde since it is 51.6343° in inclination where a prograde orbit is between 0°- 90°.
3. AEROCUBE 12B
TLE:
For the next TLE data we can see that the period taken for satellite AEROCUBE 12B is 1 hour
33 minutes and 7s to complete a cycle in its own orbit. The radius of both perigee and apogee
is not too different so we can assume that the satellite shape is round. The shape of the satellite
also dependant to the eccentricity of the satellite and because of the eccentricity is below 1 then
the shape of the satellite is in ellipse satellite shape. Lastly the inclination can be considered
prograde since it is 51.6360° in inclination where a prograde orbit is between 0°- 90°.
4.0 CONCLUSION
As a conclusion, from this we lab we are able to learn about TLE such as reading its
data and displaying them in a more simple manner by using the MATLAB to simulate the TLE
data. The data simulated then will show the orbital path of the satellite, the period taken for the
satellite to complete 1 cycle, the radius, altitude and velocity of both perigee and apogee. The
TLE data itself have important data that we can get as long as we understand the structure of
the TLE such as the inclination degree, the eccentricity, mean motion, mean anomaly and so
on. While conducting this lab, we also able to simulate a number of satellite which is the ISS
(ZARYA), AEROCUBE 12A and AEROCUBE 12B satellite by collecting their TLE data from
the site that was provided so this proves that the data is important as the orbital simulation can
be presented in the MATLAB software for an even deeper understanding of how actually they
orbiting the earth whereby as a student it is important if we can visually see the simulation of
the satellite orbiting path.
5.0 REFERENCE
[3] Tursa, J. (2017) Kepler's equation for MATLAB,. - MATLAB Answers - MATLAB
Central. Available at: https://www.mathworks.com/matlabcentral/answers/118941-
kepler-s-equation-not-working-it-solves-the-kepler-equation-for-e-given-e-and-m-your-
function-shou (Accessed: November 3, 2022).
[4] B.-S. Lee,“Norad Tle Conversion From Osculating Orbital Element,”J. Astron. Sp.
Sci.,vol. 19, no. 4, pp. 395–402, 2002, doi: 10.5140/jass.2002.19.4.395.