Documente Academic
Documente Profesional
Documente Cultură
______
UTTAR PRADESH______
A Dissertation Report
On
Master of Technology
In
Electronics & Communication
By
Priyanka Sharma
Under the guidance
Assistant Professor
Internal Guide
Declaration
Place: Noida
Date:
Certificate
This is to certify that Ms. Priyanka Sharma, student of M.Tech (ECE) Amity
University,
Noida,
has
successfully
completed
the
dissertation
entitled
Certificate
On the basis of Dissertation submitted by Priyanka Sharma, student of M.Tech.
ECE, I hereby certify that the dissertation titled Development of LabVIEW Based
System for Controlling and Communicating with GPS and Development of an
Algorithm for Prediction of Laser Cross-Section of a Simple Target Constituting
of a Flat Plate and a Sphere, which is submitted to Department of Electronics &
Communication, Amity School of Engineering & Technology, Amity University,
Uttar-Pradesh, Noida, iIn partial fulfillment of requirement for the award of the
degree of Master of Technology in Electronics & Communication is an original
contribution with existing knowledge and faithful record of work carried out by her
under my guidance and supervision.
To the best of my knowledge this work has not been submitted in part or full for any
Degree or Diploma to this University or elsewhere
Place: Noida
Date:
Acknowledgment
I avail this opportunity to express my gratitude to all those who have directly or
indirectly helped me with my thesis.
Firstly, I express my sincere gratitude to Dr. Anil Kumar Maini, Director, Laser
Science and Technology Centre, for allowing me to carry out the project work in this
prestigious research and development centre and gain valuable experience.
I am blissful to express my deep sense of gratitude to Dr. Ravindra Singh Sc. F
who gave me the opportunity to work in Control System Group (CSG) to gain applied
knowledge. I would also like to thank Ms. Sweta Singh, Sc. E for discussing the
module of the project in a systematic manner. Their constant interaction, expert
guidance and valuable suggestions helped me to complete this project successfully.
I would like to thank all the members of the CSG group for giving me easy access
to all the resources required for the successful completion of the project.
I would also like to express my gratitude to my internal guide, Mr. Manish Sharma,
Assistant Professor, Department OF Electronics & Communication, Amity
University, Uttar-Pradesh for his cooperation.
I also express my gratitude to my Program Leader, Ms. Neeru Agarwal, Assistant
Professor, Department OF Electronics & Communication, Amity University, UttarPradesh and to the members of the Department, who helped me in many ways during
my thesis work.
I am thankful to my family members and friends for their love, support, and good
wishes throughout my studies.
Organization Profile
After a decade in 1960 on 9 th April, Mr. Krishna Menon, the then Defence Minister,
inaugurated the Defence Exhibition at the Metcalfe House. Thus, DSL moved to its
present campus of Metcalfe House. Prime minister Pt.Jawahar Lal Nehru visited DSL
on 13th April 1960 and addressed the Defence scientists and academicians.
After reaching Metcalfe House, DSL exploded with expansion giving birth to as
many 15 labs of DRDO which included DRDL, SSPL, INMAS, FRL, ISSA,
DESIDOC, DIFR, SAG. DRDO formally came into being on 1 st January 1958. DSL,
which was working in many area of Defence interest, now started concentrating in the
area of Pure Sciences such as Physics Chemistry and Mathematics. The Chemistry
division developed G-fuel and UDMH for rocket and missile.
The Mathematics division continued its support to the Missile Programme with
simulation and calculation while the Physics division took the lead by launching
many activities.
In 1981 DSL got its new Technical Building, its New Charter of Duties to work in the
area of Lasers and its new name as Defence Science Center (DScC), which continued
till 1999.Subsequently, the present name of Laser Science and Technology Center was
notified. With the start of DScC in 1981, intensive work commenced on Solid State
Laser, CO2 laser, ALARM, LRF, Fiber Optic Gyroscope, Ring Laser Gyroscope,
Laser Intruder Alarm system, etc.
In the late eighties, DScC took up challenging work on Gas Dynamic Laser, which
was successfully developed indigenously. It was operated for the first time in India
with output power of 10Kw in 1996. Later in 1997, DScC took yet another
challenging work of Chemical Oxygen Iodine Lasers (COIL) and some work on
Electro Optic Counter Measure (EOCM). Chemistry Div of DScC started working on
lasers Materials including Laser Crystals and Laser Glasses.
During the last three years LASTEC has been engaged in developing GDL, COIL,
LIDAR, Eye safe Laser, latest Crystals ND: YV04, Nd: GGG etc and En and Nd:
Doped Phosphate Glasses, along with EOCM Gadgets like Laser Threat Warner,
Laser Dazzlers, PRF Decoders.
Last year LASTEC took R&D work in the area of Heat Capacity Solid State Laser
(HCSSL), Fiber laser and Liquid Oxygen Laser and recently achieved and
outstanding success by making a HCSSL laser of 52j for the first time in India.
This passing year LASTEC has also achieved another milestone by developing Laser
Seeker Test set up, LGB tester, and IR tester for Missile, in addition to 5kg GDL on
trailer. The vehicle-mounted laser demonstrated its capability outside the lab as well.
This year, for the first time in India, LASTEC also developed a full ND: YVO4 laser
by growing its crystal, processing it cutting, polishing, thin film coating, and finally
shaping it into laser. LASTEC is also on verge of developing new COIL.
8
With so many activities to its credit and with successful achievement of results
LASTEC is heading towards becoming a pioneer centre of laser activities in India.
Special Note:
In this dissertation, two projects were undertaken, the first of which is
which is denoted by
10
11
Contents
1. Introduction
1.A Introduction
4
4
2. Literature Review
10
10
11
11
3. Problem Formulation
12
12
3.1.A Objectives
12
13
13
13
3.1.B Objectives
13
13
13
4. System/Module Design
14
14
12
14
17
19
21
22
24
26
27
28
32
35
36
37
38
4.2.1.B BRDF
38
39
40
42
42
42
42
44
44
44
6. Results
46
6.A Results
46
6.B Results
47
49
49
50
8. Bibliography
51
8.A Bibliography
51
13
8.B Bibliography
52
List of Figures
Figure 1.1.A: Architectural Representation of the Whole System
14
15
16
17
18
18
19
19
20
21
22
Figure 4.12.A: Block diagram snapshot of the GPS time finding module
22
22
23
23
24
26
28
30
Figure 4.20.A: Details of GPS time extraction from the read file sub-module
33
36
37
37
39
39
14
40
40
41
41
42
42
43
43
43
44
46
46
47
48
15
List of Tables
Table 4.1.A Stop bits
25
Table 4.2.A Operations which can open/create /replace file function does
30
30
47
16
Abbreviations Used
BRDF
FOV
Field of View
GPIB
GPS
GUI
LabVIEW
LCS
NI
National Instruments
NMEA
VI
Virtual Instrument
VISA
$GPRMC
17
18
Chapter 1
Introduction
1.A Introduction
1.1.A About GPS and Its Function in the Given Project
GPS stands for global positioning system. Its designed and developed by the U.S.
Its a navigation system which uses satellites (standard being 24) to give the position
of any place on earth via latitude and longitude [10]. Besides latitude and longitude
information it gives much more data. This includes time as well. In this project,
whose aim is to develop a LabVIEW based system which communicates with a GPS
receiver, we extract time information. This time is highly accurate as it is calculated
using satellites, which have atomic clocks inside them. It is available in GPS sentence
$GPRMC. $GPRMC stands for Recommended Minimum Specific GPS/Transit data
[6]. This sentence belongs to the NMEA 0183 communication protocol. NMEA is
National Marine Electronic Association.
$GPRMC has a fixed format which is given as under [2]:
$GPRMC,time (hhmmss),(A or V),latitude (ddmm.mmm),(South or North),longitude
(dddmm.mmm),(East or West), ground speed in knots (kkk.k),direction (ddd.d),date
(ddmmyy),,*CS
Where,
hhmmss in hours, minutes, seconds
A=Data valid
V=Warning that data may not be valid
ddmm.mmm=latitude in degrees minutes and thousandths of minutes
North or South=North or South latitude
dddmm.mmm = longitude in degrees minutes and thousandths of minutes
East or West = East or West longitude
kkk.k = speed on ground in nautical miles per hour
ddd.d = course on ground, degrees true
ddmmyy = date in days, months, year
1
,, = nul field
*CS is check sum
Example of $GPRMC data is as shown below:
$GPRMC,110710.000,A,2841.0878,N,07713.5323,E,0.02,74.65,310314,0.6.
In this project we would only be extracting the time component out of all the contents
of $GPRMC sentence.
could either synchronize these different clocks so that all these systems run in
synchronization or we could give these systems the same clock altogether. This same
clock comes from GPS which is highly accurate.
1.B Introduction
1.1.B About LCS and its Role in the Given Project
LCS stands for Laser Cross Section. When the laser light falls on a distant target, a
part of the reflected beam comes back to the receiver which is mostly located near the
transmitter. LCS is this scattering property of the target, which indicates the amount
of laser signal returned from the target to the laser receiver [1]. The more the reflected
laser received at the receiver, the greater the laser cross section area.
(1.1.A)
= lim
4 R2|Es|
2
|Ei|
(1.2.A)
Where is the LCS, Es and Ei are the scattered and incident electric filed vectors
respectively and R is the range between the target and receiver.
a)
Beam profile: Beam profile includes beam polarization (it refers to the
orientation of the electric field of the wave which is laser in this case) and
beam wavelength. LCS depends on the polarization of the incident wave as
well as the polarization selectivity of the detector. If both the polarizations are
same then the LCS obtained is optimum. Also, the LCS is inversely
proportional to the beam wavelength or it can be said that it is directly
proportional to the beam frequency.
b) Beam Width: It is the directional angle spread within which the main lobe
beam power is above a certain threshold [2]. If beam width is large, then the
spread of the beam would be large and the target would fall under it. Hence,
the beam width should be optimum so that the target falls within it and we get
optimum LCS.
c) Laser Temporal and Spatial Coherence: Coherence is a property of waves
that specifies the ability of the waves to interfere with each other. Two waves
which are coherent can be combined to produce a stationary distribution of
constructive and destructive interference (this is a visible interference pattern)
which depends on the relative phase of the waves at their meeting point.
Waves that are incoherent, when combined, produce rapidly moving areas of
constructive and destructive interference which is not a visible interference
pattern.
5
Coherence is of two types: i) temporal and ii) spatial. Correlation between the
waves at one place at different times, or along the path of a beam at a single
instant, is called temporal coherence. Correlation between different places
(but not along the path) is called spatial coherence [3].
It is observed that the higher the laser temporal and spatial coherence, the
better is the LCS.
d) Target Surface Characteristics:
(1.3)
Reflection of laser
quite a few advantages over text based programming languages like C, C++, Java etc.
These advantages are:
a) LabVIEW uses icons instead of lines of text to create applications.
b) In LabVIEW we have graphical data flow programming wherein the flow of
data through the nodes on the block diagram determines the order of
execution. Whereas in text based programming languages, instructions
determine the order of program execution.
c) LabVIEW has interactive and intuitive debugging tools. For example, here we
can see the data move through the wires of a LabVIEW program and its
values at every instant. This feature is not provided in the text based
programming languages.
Chapter 2
Literature Review
2.A Literature Review
9
.A Proposed Module/System:
In the proposed module, we are trying to extract time information from the GPS
receiver. This is done using LabVIEW.
There existed a module by Pong Ke Xin which extracted latitude and longitude
information from GPS receiver using LabVIEW [5]. This module is shown below.
computer system (via LabVIEW), b) test the same and then c) extract time
from the same.
This module is fast and easy to use. It first creates a log file and takes the
same automatically to extract the time.
Hence, it was worth investing in the time and efforts to create this module.
Its a GUI designed in LabVIEW, hence is very user friendly and easy to
implement.
Hence, it was worth investing in the time and efforts to create this module.
12
Chapter 3
Problem Formulation
3.A Problem Formulation
We had a large number of systems which needed to be synchronized with each other
on the basis of time. These systems were present on different computer systems. We
needed an accurate and economic source of time so that all these systems would work
in synchronization. The diagram of these systems is as shown in fig. 1. The details are
also mentioned there.
We had two options to synchronize these systems: a) to synchronize the different
clocks of all these computer systems so that work as per requirement or b) to provide
a common accurate clock to all these systems. The second option seemed more
precise and accurate. But the problem was now to get an affordable clock which
could be provided to all the systems.
As we all know, the most accurate clock known is the atomic clock. But it is very
expensive. To reduce the cost, we decided to use a readily available GPS receiver.
This GPS receiver interacts with the satellites each of which has an atomic clock.
With the help of four such satellites (minimum), the GPS receiver gives time as
accurate as the atomic clock. Thus the problem of getting an accurate but economic
clock was resolved.
Next problem was to develop such a program or a module which would allow us to
extract the time information from the GPS receiver. This time would then be passed
on to all the systems involved to synchronize them.
3.1.A Objectives
We, here, design a module which would effectively extract the time information from
the GPS receiver. This GPS receiver receives many sentences. Out of these many
sentences, one sentence is $GPRMC sentence. This sentence contains the time
information along with other informations (the details of this sentence are given in
section 1.1).
Our task here is to design a module which would extract time information from
$GPRMC sentence.
13
: Pentium 4 or above
GPS Receiver
Connecting wire
: RS232
Connecting port
: 9 pin db connector
Shorting Wire
: Connector
LabVIEW
3.1.B Objectives
Here, the main objective is to design an algorithm (from which we further design a
module in LabVIEW) which can predict the laser cross section of a target. Laser cross
section is nothing but the reflecting property of the target towards lasers. This is
required so that the target becomes less visible due to laser reflection.
: Pentium 4 or above
LabVIEW
Chapter 4
System/Module Design
4.A System/Module Design
The module designed here consists of three sub modules: a) Serial configuration submodule, b) Test sub-module and c) GPS time finding sub-module.
a) Baud
Rate: the number of symbols per second is called baud rate. Each
symbol may consist of one or more bits. It can also be defined as the number
of times the signal changes its value per second [7]. Baud rate may be equal to
or less than bit rate.
The baud rate usually taken for GPS system is 9600. It means that the GPS
receiver sends the information to the computer system or the computer system
sends the information to the GPS receiver at the rate of 9600 symbols per
second.
b) Data
Bits: this refers to the number of data bits in each symbol or word.
c)
Stop Bits: They are used in asynchronous communication. They are used as
means of synchronizing the characters which are being transmitted. When
these are sent, the receiving hardware comes to know where exactly one data
15
character (symbol) ends and then it resynchronizes with the character stream.
In this case one stop bit is sufficient.
d) Parity: parity bit refers to an extra bit that is added at the end of an array of
binary code which indicates whether the number of ones in the binary array is
odd or even. Its a very simple error detecting code.
In the case of even parity, we count the number of ones in the code, if it is
found to be odd, we set the parity bit value to one, thereby making the total
number of ones even. If the number of ones is found to be even, we set the
parity bit to 0, thereby allowing the total number of ones to remain even.
In the case of odd parity, we reverse the conditions.
In this module, we dont use any parity.
e) Visa Resource Name: VISA stands for Virtual Instrument Software
Architecture. Its a standard input-output language for instrumentation
programming [8]. VISA is a high level application programming interface that
summons the lower level drivers. The NI-VISA hierarchy is as shown below:
Serial
16
i)
ii)
The design of VISA is such that the programs which use VISA
function calls are easily transportable from one platform to another.
For example, a LabVIEW program can be used with other platforms
which support LabVIEW.
iii)
iv)
In VISA Resource Name, we have to select a port from the dropdown menu
which is to be opened. In this project we select the working COM port of the
computer system.
f) Flow Control: it is the process in which the data transmission rate between
two nodes is managed so that a fast sender does not overwhelm a slow
receiver. Here, the flow control sets the type of control which is to be used by
the transfer mechanism.
In this module we dont use any flow control.
Here, we present a snapshot of the front panel and block diagram of the serial
configuration sub-module.
17
In this module we test whether the serial configuration module is working or not. This
is done on a single computer system itself. We first check the status of the COM ports
of the computer on which the serial module is to be tested. This is done using
hyperterminal. Hyperterminal is a program which is used for communications and
terminal emulation (ability to make one computer terminal to look like another)
purposes [9]. It comes with Windows Operating System, starting with Windows 98.
We short the 2nd and 3rd pins of the COM port to be tested (as they are the receiving
and
transmitting
pins
respectively),
open
the
hyperterminal
window
19
20
5 Signal Ground
21
22
Take the time details of the $GPRMC sentence (which is the first entry in the
sentence and is in decimal format)
Place the eight entries obtained in the vertical format in the text file
Also, enter the value 0 in the in_byte_cnt input. Now, run the module (the
complete one) and get the time from the GPS in the hh:mm:ss:mmm format, where hh
is in hours, mm is in minutes, ss is in seconds and mmm is in milliseconds.
23
A snapshot of the front panel of the GPS time finding module is presented here:
Figure 4.12.A Block diagram snapshot of the GPS time finding module
Close VISA
24
25
4.4.1.A Details of the functions and blocks used in serial configuration submodule
26
a) Timeout: It specifies after how much time, in milliseconds, the read and write
operations timer expire. In this module we set the timeout to 10000, which is
also the default value.
b) VISA Resource Name: It specifies the resource to be opened. Here, we
choose the working COM port, COM3.
c) Baud rate: It gives the number of symbols per second. In case of GPS the
baud rate usually taken 9600 which is also the default value.
d) Data Bits: It gives the number of number of bits in a symbol. It lies between 5
and 8. Here, we set it as 8 which is the default value also.
e) Parity: It specifies the parity (defined in section 4.1, (d)) which is to be used
for every frame transmitted or received. Here we dont use any parity.
f) Error In: It specifies the error conditions which occur before this node runs.
It an error has occurred before this node has run, then the node passes the
error in value to the error out. This node runs normally if no error occurs
before this node runs.
g) Stop Bits: They specify the number of stop bits which are used to signify the
end of a frame. It uses the following values:
1 Stop Bit
1.5 Stop
Bits
2 Stop Bits
Table 4.1.A Stop bits
h) Flow Control: It is defined in section 4.1 (f). Here, we do not use any flow
control, i.e., we assume that the buffers, present on both the sides of the
connection, are large enough to absorb all the data that is transferred.
The outputs of the VISA Configure Serial Port are described below:
a) VISA Resource Name Out: It is a copy of the VISA resource name which
the VISA function returns.
b) Error Out: This contains the error information which is passed to it from the
error in input.
27
28
c) Write buffer: It contains the data which is to be written to the device or the
interface. Here, we write the test data into this function so that the serial submodule can be tested.
The outputs of the VISA write function are:
a) VISA resource name out: Indicates the resource to be opened.
b) Return count: It contains the number of bytes written.
c) Error out: It contains the error information.
The next function encountered is the Wait (ms) function. This function waits for the
specified number of milliseconds and returns the value of the timer after the wait. The
input to the wait function is milliseconds to wait. This indicates the number of
milliseconds the function has to wait. The wait for this function cannot be longer than
0x7ffffff or 2,147,483,647 ms. If one has to wait for a period longer than the one
specified, then the function needs to be executed twice. The output of the wait
function is the millisecond timer value which gives the millisecond timer value
after the wait.
The next node which comes into picture is the property node. With its help we read
or write the properties of a reference. Its inputs are reference and error in and its
outputs are reference out, error out and bytes read at serial port.
Another major node which forms an integral part of the test sub-module is the VISA
read node. It has the following inputs:
a) VISA resource name: It specifies the resource which is to be opened.
b) Byte count: It indicates the number of bytes which are to be read. It comes
from the output of the property node.
c) Error in: Indicates the error conditions which occur before this node runs.
The outputs of the VISA read node or function include the following:
29
a) VISA resource name out: Its a copy of the VISA resource name which the
VISA functions return.
b) Read buffer: It contains the data which is read from the device.
c) Return count: It contains the number of bytes which are read.
d) Error out: It contains the error information.
The next major node which features is the VISA Close node. It closes a session with
a device specified by the VISA resource name. Its inputs include VISA resource
name and error in and the output is error out.
4.4.3.A Details of the blocks and functions used in GPS time finding sub-module
Since the block diagram of the GPS time finding module is very large (it cannot be
accommodated here with details highlighted), we have split it into two further submodules. They are:
a) Automatic text file reading sub-module
b) GPS time extraction from the read file sub-module
4.4.3.1.A Details of the blocks and functions used in automatic text file reading
sub-module
The figure below shows the details of the blocks and functions used in automatic text
file reading sub-module.
30
Figure 4.18.A Details of the blocks and functions used in automatic text file reading
sub-module
The entire sub-module is enclosed in the stacked sequence structure in which the
serial configuration and test module were enclosed, just the frame is different.
The first function encountered is the file dialogue express VI. An express VI is
nothing but a VI which interacts with the users and configures its settings by means
of a dialogue box. An express VI is composed of the following:
a) Configuration dialog box VI: This allows the users to configure settings for
the run-time behavior of the Express VI [10].
b) Source VI: This contains the code for the Express VI. The source VI also
contains a link to the configuration dialog box VI [10].
This file dialogue express VI has the following inputs (Only those are being
described which are being configured during the execution of this sub-module):
a) Prompt: Its a custom message that gets displayed as the title page of the file
dialogue box. If we dont give the prompt message it takes the default
message which is choose or enter path of file. Here, we use the prompt
message choose array file.
31
b) Pattern (all files): It displays only those files in the dialogue box whose name
matches with the pattern (all files). Here, we set the pattern (all file) to All
Files(*.*) so that all the files in the dialogue box and we can choose from
them.
The outputs of the file dialogue express VI are:
a) Selected path: It is the complete path to the file chosen using this dialogue
box.
b) Error out: It gives the error information
The second function which is encountered is open/create/replace file function. Its
inputs are:
a) File path: It is the absolute and complete path to the file. It comes from the
output of the previous function.
33
a) File (use dialogue): It can be an absolute file path or a refnum. Here, its a
refnum.
b) Count: It is the maximum number of lines or characters that the function
reads.
c) Error in: It indicates the error conditions which occur before this node.
The outputs of read from text file function are:
a) Refnum out: It is the refnum of the file that the function just read.
b) Text: It is the text read from the file. This parameter is a string by default.
c) Error out: It contains the error information.
The next function encountered is spreadsheet string to array function. The inputs to
this function are:
a) Format string: It specifies the way to convert the spread sheet string into an
array. We use %x over here as we need to convert the spreadsheet string into
an array of hexadecimal numbers.
b) Spreadsheet string: It contains numeric or string values which are separated
into columns by commas or tabs and rows separated by end-of-line (EOL)
character.
c) Array type: It is the data type of which we want the output array to be. Here,
we use a 2-dimensional array of hexadecimal type.
The output of spreadsheet string to array function is an array extracted out of the
spreadsheet string which has the representation and dimension of array type.
Parallel to the spreadsheet string to array function we have the close file function.
The inputs to this function come from read from text file function and are:
a) Refnum: It is the file refnum associated with the file which one wants to
close.
b) Error in: It indicates the error conditions which occur before this node.
The output of this function is error out which contains the error information.
The next function of this sub-module is the hexadecimal string to number function.
It interprets the characters in the string attached as hex integers and returns them in
numbers. The inputs of the same are:
34
Concatenate
Figure 4.20.A Details of GPS time extraction from the read file sub-module
Initially, we have an In_byte_cnt variable whose value has to be made 0 after every
time extraction round. Also, we have a local variable In_byte_cnt whose value is
equal to the variable In_byte_cnt plus 74.
The first function which is encountered in the GPS time extraction from the read file
sub-module is the index array function. Its inputs are:
35
36
The next function is quotient & remainder function. It calculates the integer quotient
and remainder of the inputs. The inputs to this function are:
a) x: It is the dividend. It can be a scalar number or an array or cluster of
numbers.
b) y: It is the divisor. It also can be a scalar number or an array or cluster of
numbers.
The outputs of this function are:
a) x-y*floor(x/y): It is the remainder. This is in correspondence to the modulo
function of the text based programming languages.
b) floor(x/y): It gives the integer quotient.
In case of this sub-module we use three quotient & remainder functions. In the first
one we divide the input by 1000 (to get the value in seconds as the input is in
milliseconds). The integer quotient so obtained is divided by 60 (to get the value in
minutes). The integer quotient obtained during this iteration is further divided by 60
(to get the value in hours).
The other function which comes into picture in this sub-module is number to decimal
string function. This converts a number to a string of decimal digits which are at least
a specified number of characters wide or may be wider, if need be. The inputs to this
function are:
a) Number: It is a scalar number or an array of numbers or an array of cluster of
numbers and so on.
b) Width: It must be numeric. If left unwired, then the function uses exactly as
many digits as are required to represent the number, without any extra
padding.
The output of this function is the decimal integer string which is nothing but the
resulting decimal string.
Here, we use four number to decimal string functions.
The last function of this sub-module is the concatenate strings function. It
concatenates the input strings into a single output string. The inputs are the string
0n-1 which one wants to concatenate. The output is the concatenated string
37
which contains the concatenated input strings in the order in which they were wired
from top to bottom. Here, the concatenation of time is done using colons, so that it
becomes easily interpretable.
=4lwcos r
Where,
is the LCS of flat plate
l is the length of the flat plate
w is the width of the plate
is the elevation angle
r is the reflectance
39
(4.1.B)
Here, we enter the length and width of the flat plate (in meters), elevation angle (in
degrees) and reflectance (unit less). Then we take the square of the cosine of the
elevation angle and multiply the constant four, length, width and reflectance with this.
Thus we get the LCS of the flat plate in square meters.
40
=4 cosicosrs
(4.2.B)
Where,
is the LCS for s area
is the BRDF
i is the incident angle
r is the reflected viewing angle
s is the area (of the triangle)
4.2.1.B BRDF
BRDF stands for Bidirectional Reflection Distribution Function. It is defined as the
ratio of the differential radiance reflected into the viewing (outgoing) direction and
the incident irradiance in the lighting (incident) direction. Mathematically, it is given
by equation (4.2.B):
v
2tanh
4
( , )es
( l, l , i , i , )=S 2F
V ( l )V
16coslcosvcosh
41
(4.3.B)
Where,
is the BRDF
F(,) is the fresnel coefficient of the rough surface
l,l,i,i are the polar and azimuthal angles in the lighting and viewing directions
respectively
h is the normal
V(l) and V() are the visibility functions
S is the smoothness parameter
The smoothness parameter is given by
s= /
(4.3.B)
Where,
is the correlation length of the rough surface and
is the std. deviation of the Gaussian
Here we use the Gaussian surface because modeling of the rough surface is done by
assuming that the surface deviations resemble Gaussian dents. These dents are shown
in figure below
43
44
45
Chapter 5
System and Module Implementation
5.A System and Module Implementation
Here, we present the system and module implementation.
4) Correlation length: it can take the values greater than zero and less than one.
5) Standard deviation: it can take the values greater than zero and less than one.
6) Maximum area of triangle: it can take any positive value which is less than the
area of the sphere (because the triangle would be a part of sphere).
7) Fresnel coefficient: it can take the values greater than zero and less than one.
8) Radius of sphere: it can take any positive value.
After running the module, we get the LCS values of flat plate, sphere and the total
LCS
49
Chapter 6
Results
6.A Results
After making the required connections and doing the needed configurations, as
specified in chapter 5, we run the LabVIEW module.
To run the LabVIEW module, we click on the run button which is shown below:
Here, we show the table of ten readings. These readings are a result of running the
LabVIEW module ten times.
SNo
.
1
2
3
4
5
6
7
8
9
10
Time
(decimal)
Time
(Hexadecimal)
Time
(read in
hh:mm:ss:mmm)
110710.00
0x01 B0 76 00
7:52:21:760
110711.00
0x01 B0 77 00
7:52:22:16
110712.00
0x01 B0 78 00
7:52:22:272
110713.00
0x01 B0 79 00
7:52:22:528
110714.00
0x01 B0 7A 00
7:52:22:784
110715.00
0x01 B0 7B 00
7:52:23:40
110716.00
0x01 B0 7C 00
7:52:23:296
110717.00
0x01 B0 7D 00
7:52:23:552
110718.00
0x01 B0 7E 00
7:52:23:808
110719.00
0x01 B0 7F 00
7:52:24:64
Table 6.1.A Readings of time extracted
These readings are separated by a time of 256 milliseconds, i.e., in these readings,
after every 256 ms the GPS gives a time information.
6.B Results
After entering the required values, as specified in chapter 5, we run the LabVIEW
module.
To run the LabVIEW module, we click on the run button which is shown below:
52
Chapter 7
Conclusion & Future Enhancement
7.A Conclusion & Future Enhancement
In this project we have developed a module in LabVIEW which can control and
communicate with GPS. Through this communication we are trying to extract the
time information from GPS. The time information is present in the $GPRMC
sentence which is received at the GPS receiver. This sentence contains a lot of other
information and we extract only the time in the readable format. With the help of the
extracted time, we try to synchronize various systems shown in figure 1.1. The time
extraction is performed with the help of three submodules. These are i) the serial
communication module, ii) the test module and iii) the GPS time extraction module.
Via the serial communication module, we allow the GPS to serailly communicate
with the system (computer) and send it the $GPRMC information. The settings of the
serial communication include baud rate (set at 9600), data bits (set to 8), stop bits (set
to 1), parity (set to none), VISA resource name (set to COM3) and flow control
(set to none). Via the test module, we test whether the data is being transmitted
serially or not. Here, the loopback test is performed in which the second and the third
pins of the COM port (working COM port) are shorted, a test message writtem in the
write buffer and, if the module works fine, this same message gets read in the read
buffer. Via the GPS time extraction module, we finally extract the time which is very
accurate as it comes from the atomic clock present in the satellites. This module is
further divided into two submodules a) Automatic text file reading sub-module and
b) GPS time extraction from the read file sub-module. In automatic text file
reading sub-module, the text file modified manually is uploaded into the module and
in GPS time extraction from the read file sub-module, the exact time is extracted
from the uploaded text file.
Till now, we have designed a module in which we have to convert the encoded time,
available from $GPRMC sentence in decimal format, to hexadecimal with the help
available online. The future enhancements would include improvising the module to
53
the one which can convert the available time to hexadecimal on its own without any
help.
54
Chapter 8
Bibliography
8.A Bibliography
[1] Control Desarrollo Administracion, Arquimedes NMEA 0183 Communication
Protocol
(v0508en)
$GPRMC
Sentence.
[Online].
Available:
http://www.arquimedes.com.mx/guides/en/mu/NMEA%200183%20protocol
%20v0508en.pdf
[2]
National
Instruments,
Icon
and
Connector
Pane.
[Online].
Available:
http://zone.ni.com/reference/en-XX/help/371361J01/lvconcepts/icon_and_connector_pane/
[3]
Guy
Lecky
Thompson,
How
GPS
Works,
[Online].
Available:
http://www.gmat.unsw.edu.au/snap/gps/pdf/gps-article1.pdf
[4] Xin et al, Using LabVIEW to Acquire GPS Data, National Instruments,
National
Instruments,
LabVIEW
VISA
Tutorial,
[Online].
Available:
[Online].
Available:
https://www.ni.com/support/visa/vintro.pdf
[8]
Spectracom
Corporation,
Using
Hyperterminal,
http://www.spectracomcorp.com/portals/0/support/pdf/using_hyperterminal.pdf
[9] National Instruments, LabVIEW Express VI Development Toolkit User Guide,
[Online]. Available: http://www.ni.com/pdf/manuals/323413a.pdf
[10] National Interagency Incident Management System, Basic Land Navigation, A
publication of National Wildlife Coordinating Group, Jun 2007, Chapter 5, p. 5.1
55
8.B Bibliography
[1] David C. Jenn, Handbook on Radar and Laser Cross Section Engineering, Chapter
9, second edition.
[2] Zhang et al, Effective Beam Width of Directional Antennas in Wireless Ad Hoc
Networks, [Online]. Available: http://arxiv.org/ftp/cs/papers/0701/0701131.pdf
[3] Prof. Kaivola, Lecture Note on Lasers Technology and Optics, Optics and
Molecular Materials, Helsinki University of Technology, [Online]. Available:
http://omm.hut.fi/optics/l_o/2005/
[4] Steinfeld et al, Optimum Aperture Size and Operating Temperature of a Solar
Cavity
Receiver,
Paul
Scherrer
Institute,
[Online].
Available:
http://www.prec.ethz.ch/publications/journals/full/j11.pdf
[5] DeLeon, The Laser Guided Bomb: Case History of a Development, [Online].
Available: http://www.rand.org/content/dam/rand/pubs/reports/2006/R1312-1.pdf
[6] Liu et al, Laser ablation and micromachining with ultra short laser pulses,
Quantum Electronics, IEEE Vol. 33, pp 1706-1716, Oct. 1997
[7] Knott et al, Radar Cross Section, second edition
[8] Filippos Chatzigeorgiadis, Development of Code for a Physical Optics Radar
Cross Section and Analysis Application, Phd. Thesis, Naval Postgraduate School,
Sep. 2004
[9] Yinlong Sun, Analytic Framework for Calculating BRDFs of Randomly Rough
Surfaces, May 2006
56
57
58