{"id":1305,"date":"2015-06-18T06:50:51","date_gmt":"2015-06-18T06:50:51","guid":{"rendered":"http:\/\/biomedpharmajournal.org\/?p=1305"},"modified":"2020-04-25T02:40:08","modified_gmt":"2020-04-25T02:40:08","slug":"virtual-gps-simulation-using-rf-transmission","status":"publish","type":"post","link":"https:\/\/biomedpharmajournal.org\/staging\/vol8no1\/virtual-gps-simulation-using-rf-transmission\/","title":{"rendered":"Virtual GPS Simulation Using RF Transmission"},"content":{"rendered":"<p><strong>Introduction:<\/strong><\/p>\n<p>Global Positioning System (GPS)is a navigation system based on satellite that provides location information across the earth where there is a line of sight to four or more GPS satellites, the GPS technology is used for military, commercially and civil applications. The GPS device uses a mathematical concept of trilateration, in which the device asks for at least a minimum of 3 satellites data to give the precise location information. To understand a GPS simulator working, it is required to understand some of the details of working of the GPS transmissions and the transmission frame format. The GPS system be consistent with of at least 24 satellites, encircling every 12 hours, broadcasting navigation data on various frequencies. GPS is just one of distinct global navigation satellite systems (GNSS) in action, or soon to be in movement. Almost all the applications on navigation currently use the \u00a0L1 frequency of GPS at the radio frequency of 1575.42 MHz onto this carrier frequency, satellites transmit a navigation message and identification information that involved synchronized time, the satellite\u2019s recurring data (ephemeris) and data on the familiar positions of all the satellites in the circumstances. From this data that receivers can accurately measure its distance from various satellite signals at the same time to attain its navigation solution through trilateration.<\/p>\n<p><strong>Data transmitted from the satellite:<\/strong><\/p>\n<ul>\n<li>Date\/Time (by using atomic clock used in the satellite)<\/li>\n<li>Satellite ID (pseudo random number)<\/li>\n<li>Ephemeris and almanac<\/li>\n<\/ul>\n<p><strong>Receiver interpretation:<\/strong><\/p>\n<ul>\n<li>Number of satellite signals<\/li>\n<li>Power level<\/li>\n<li>Atmospheric and antenna blunders through models<\/li>\n<li>Multi-path conditions<\/li>\n<\/ul>\n<p><strong>Receiver position calculation:<\/strong><\/p>\n<ul>\n<li>Start position (longitude, latitude and elevation)<\/li>\n<li>Trajectory (action path)<\/li>\n<\/ul>\n<p>GPS simulators generate radio frequency that they are adequate of transmitting the exact data as GPS satellites. But the GPS simulator has the capacity to switch an ample variety of parameters right from the test bench. The satellite transmits the data in the frame format( as shown in fig:1), which has a main frame in which 5 sub-frames containing different satellite data are sent in encoded format. This is received at the receiver end which is a GPS device, which decodes and uses the information to calculate the location information of the device.<\/p>\n<table style=\"width: 70%;\" border=\"1\" cellpadding=\"5\">\n<tbody>\n<tr>\n<td style=\"text-align: center;\"><img decoding=\"async\" class=\"alignnone size-thumbnail wp-image-1306\" src=\"https:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2015\/11\/Vol8_No1_Virt_Moha_fig1-150x150.jpg\" alt=\"Fig: 1 GPS signal message format\" width=\"150\" height=\"150\" srcset=\"https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2015\/11\/Vol8_No1_Virt_Moha_fig1-150x150.jpg 150w, https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2015\/11\/Vol8_No1_Virt_Moha_fig1-256x256.jpg 256w, https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2015\/11\/Vol8_No1_Virt_Moha_fig1.jpg 341w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/td>\n<td><strong>Figure 1:\u00a0<\/strong><strong>GPS signal message format<\/strong><\/p>\n<p><a href=\"http:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2015\/11\/Vol8_No1_Virt_Moha_fig1.jpg\" target=\"_blank\">Click here to View figure<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p>While there are various methods to test GPS-based navigation,position and timing functions of the integrated GPS receivers, simulation offers the most resilience, compared to testing with live signals (original signals from the satellite), or record and replay solutions. The simulation gives the testing engineer or developer complete command over the generation of GPS signals.Thishelps to admit confidence in one\u2019s hardware and software\u2019s ability to perform under any condition. For anyone developing a GPS device, the capability to test it with accuracy and repeat ability will shorten development time, and reduce cost. Regardless what market a current GPS product is proposed at or the components that it consists of testing will be essential. Signal recovery, detention, and performance in changing environments, are all key aspects in determining how lucrative a modern device might be.It isn&#8217;t always suitable to simply go outside in the open sky to obtain satellite lock, and declare the test procedure as completed because this will not always be the environment or conditions to which the device will be subjected to in day to day applications, it may be subjected to multipath obscuration, interference or reflection, so understanding in these situations how a device will perform is critical. However, recommending these parameters into a &#8216;real word&#8217; testing method may be totally impractical and will have a large impact on the amount of time it consumes to deliver the product to market. A GPS simulator gives the developer a number of choice. The most definitething is that of being able to input RF satellite signals directly into GPS equipment in the bounds of the lab or office, without experimenting outdoors, makes testing simple and easier.<\/p>\n<p><strong>Proposal<\/strong><\/p>\n<p>The system proposed in this paper uses the virtual GPS concept. Here we are using virtual GPS system instead of actual GPS satellite system.<\/p>\n<table style=\"width: 70%;\" border=\"1\" cellpadding=\"5\">\n<tbody>\n<tr>\n<td style=\"text-align: center;\"><img decoding=\"async\" class=\"alignnone size-thumbnail wp-image-1307\" src=\"https:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2015\/11\/Vol8_No1_Virt_Moha_fig2-150x150.jpg\" alt=\"Fig: 2 Block diagram\" width=\"150\" height=\"150\" srcset=\"https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2015\/11\/Vol8_No1_Virt_Moha_fig2-150x150.jpg 150w, https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2015\/11\/Vol8_No1_Virt_Moha_fig2-256x256.jpg 256w, https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2015\/11\/Vol8_No1_Virt_Moha_fig2.jpg 354w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/td>\n<td><strong>Figure 2:\u00a0<\/strong><strong>Block diagram<\/strong><\/p>\n<p><a href=\"http:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2015\/11\/Vol8_No1_Virt_Moha_fig2.jpg\" target=\"_blank\">Click here to View figure<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p><strong>Software simulation<\/strong><\/p>\n<p>The method gave us the hardware free solution which is definitely a cost effective, less labour and resources needed path. But complete software simulation though yielded better results but was far from real time simulation, the exact proper functioning of the GPS device was hard to know. The software simulation included the complete given parameters and displayed the result according to the given data, but in actual scenario while transmission over the space in wireless medium there are certain other factors to be considered which are not particularly included in the software design. Though these parameters too can be assigned through software they are far from reality and remain completely virtual, which doesn\u2019t give us the complete confidence on the operation of the device.<\/p>\n<p><strong>Software\u2019sused<\/strong><\/p>\n<p><strong>Avangardo Virtual GPS Simulator<\/strong><\/p>\n<p>The GPS Generator PRO application is\u00a0Software GPS Simulator\u00a0that is designed for providing assistance in testing, debugging, developing programs and equipment working with the NMEA-0183 protocol. And it also can be used for testing equipment and navigation applications indoor when GPS Signal is not available.This\u00a0virtual GPS is more efficient when used indoors as it can able to work without visible GPS satellites. Moreover, obtaining the program costs less compared to purchasing a GPS receiver.The program imitates the operation of a GPS receiver and deliver out GPS data (position, speed of relocation,quality of reception, and satellite constellation) based on the\u00a0NMEA-0183 protocol\u00a0of chosen version. The GPS simulator can be constructed for getting particular NMEA protocol messages in a particular sequence with a certain frequency.<\/p>\n<table style=\"width: 70%;\" border=\"1\" cellpadding=\"5\">\n<tbody>\n<tr>\n<td style=\"text-align: center;\"><img decoding=\"async\" class=\"alignnone size-thumbnail wp-image-1308\" src=\"https:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2015\/11\/Vol8_No1_Virt_Moha_fig3-150x150.jpg\" alt=\"Fig: 3Virtual GPS Software\" width=\"150\" height=\"150\" srcset=\"https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2015\/11\/Vol8_No1_Virt_Moha_fig3-150x150.jpg 150w, https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2015\/11\/Vol8_No1_Virt_Moha_fig3-256x256.jpg 256w, https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2015\/11\/Vol8_No1_Virt_Moha_fig3.jpg 351w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/td>\n<td><strong>Figure 3:\u00a0<\/strong><strong>Virtual GPS Software<\/strong><\/p>\n<p><a href=\"http:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2015\/11\/Vol8_No1_Virt_Moha_fig3.jpg\" target=\"_blank\">Click here to View figure<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>Arduino Software<\/strong><\/p>\n<p>The Arduino software is an open source environment which is easy to write code and upload the code to the I\/O board. It runs on Mac OS X, Windows, and Linux. The code is written in Java and based on avr-gcc, Processing, and other open source software.<\/p>\n<table style=\"width: 70%;\" border=\"1\" cellpadding=\"5\">\n<tbody>\n<tr>\n<td style=\"text-align: center;\"><img decoding=\"async\" class=\"alignnone size-thumbnail wp-image-1309\" src=\"https:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2015\/11\/Vol8_No1_Virt_Moha_fig4-150x150.jpg\" alt=\"Fig: 4Programming in Arduino\" width=\"150\" height=\"150\" srcset=\"https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2015\/11\/Vol8_No1_Virt_Moha_fig4-150x150.jpg 150w, https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2015\/11\/Vol8_No1_Virt_Moha_fig4-256x256.jpg 256w, https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2015\/11\/Vol8_No1_Virt_Moha_fig4.jpg 352w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/td>\n<td><strong>Figure 4:\u00a0<\/strong><strong>Programming in Arduino<\/strong><\/p>\n<p><a href=\"http:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2015\/11\/Vol8_No1_Virt_Moha_fig4.jpg\" target=\"_blank\">Click here to View figure<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p><strong>Virtual Com Port<\/strong><\/p>\n<p>Virtual com port software is used to create a virtual serial communication such that the data from the virtual GPS generator is transmitted to the proteus for simulation purpose.<\/p>\n<table style=\"width: 70%;\" border=\"1\" cellpadding=\"5\">\n<tbody>\n<tr>\n<td style=\"text-align: center;\"><img decoding=\"async\" class=\"alignnone size-thumbnail wp-image-1310\" src=\"https:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2015\/11\/Vol8_No1_Virt_Moha_fig5-150x150.jpg\" alt=\"Fig: 5Virtual com Port\" width=\"150\" height=\"150\" srcset=\"https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2015\/11\/Vol8_No1_Virt_Moha_fig5-150x150.jpg 150w, https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2015\/11\/Vol8_No1_Virt_Moha_fig5-256x256.jpg 256w, https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2015\/11\/Vol8_No1_Virt_Moha_fig5.jpg 350w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/td>\n<td><strong>Figure 5:\u00a0<\/strong><strong>Virtual com Port<\/strong><\/p>\n<p><a href=\"http:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2015\/11\/Vol8_No1_Virt_Moha_fig5.jpg\" target=\"_blank\">Click here to View figure<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p><strong>Labcenter Electronics Proteus<\/strong><\/p>\n<p>Proteus is the simulation software, which is used your for simulating the microcontroller for the data transfer of GPS data for the GPS generator.<\/p>\n<table style=\"width: 70%;\" border=\"1\" cellpadding=\"5\">\n<tbody>\n<tr>\n<td style=\"text-align: center;\"><img decoding=\"async\" class=\"alignnone size-thumbnail wp-image-1311\" src=\"https:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2015\/11\/Vol8_No1_Virt_Moha_fig6-150x150.jpg\" alt=\"Fig: 6Circuit designing in Proteus Software\" width=\"150\" height=\"150\" srcset=\"https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2015\/11\/Vol8_No1_Virt_Moha_fig6-150x150.jpg 150w, https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2015\/11\/Vol8_No1_Virt_Moha_fig6.jpg 350w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/td>\n<td><strong>Figure 6:\u00a0<\/strong><strong>Circuit designing in Proteus Software<\/strong><\/p>\n<p><a href=\"http:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2015\/11\/Vol8_No1_Virt_Moha_fig6.jpg\" target=\"_blank\">Click here to View figure<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p><strong>Simulation Results<\/strong><\/p>\n<p>The simulation results shows that the transmitted frequency signal of 1575.45 Mhz received at the receiver end of same 1575.45 MHz The Fig shows the output taken in the virtual oscilloscope.<\/p>\n<table style=\"width: 70%;\" border=\"1\" cellpadding=\"5\">\n<tbody>\n<tr>\n<td style=\"text-align: center;\"><img decoding=\"async\" class=\"alignnone size-thumbnail wp-image-1312\" src=\"https:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2015\/11\/Vol8_No1_Virt_Moha_fig7-150x150.jpg\" alt=\"Fig: 7simulated result\" width=\"150\" height=\"150\" srcset=\"https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2015\/11\/Vol8_No1_Virt_Moha_fig7-150x150.jpg 150w, https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2015\/11\/Vol8_No1_Virt_Moha_fig7.jpg 345w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/td>\n<td><strong>Figure 7:\u00a0<\/strong><strong>simulated result<\/strong><\/p>\n<p><a href=\"http:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2015\/11\/Vol8_No1_Virt_Moha_fig7.jpg\" target=\"_blank\">Click here to View figure<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p><strong>Conclusion<\/strong><\/p>\n<p>The idea of proposed system is undertaken to design a kit for virtual simulation of GPS for GPS receiver development and testing application, a detailed study was undertaken in operation of GPS transmission and reception, and also study was undertaken in existing virtual simulation techniques and its flaws. But the effort was put in to find a way to achieve the result, various techniques of obtaining the desired functionality and software-hardware module was studied with the available resources.\u00a0 Software simulation has been performed and result has been achieved. If continued with the hardware part, on the basis of software simulation the aim of the project can be achieved.<\/p>\n<p><strong>References<\/strong><\/p>\n<ol>\n<li>From google source and Wikipedia http:\/\/en.wikipedia.org\/wiki\/Satellite_navigation.<\/li>\n<li>Misra, P., Enge P. Global Positioning System: Signals, Measurements, and Performance. Ganga-Jamuna Press, Lincoln, Mass., 2011.<\/li>\n<li>UNITED NATIONS. Current and planned global and regional navigation satellite systems and satellite-based augmentations systems. In International Committee on Global Navigation Satellite Systems Provider\u2019s Forum. New York, June 2010, p. 35-40.<\/li>\n<li>Several GNSS applications with open source tools GNSS Applications and Methods.<\/li>\n<li>Parimal Majithiya et. Al. \u201cIndian regional NavigationSatelliteSystem\u201d, [http:\/\/www.insidegnss.com\/auto\/IGM_janfeb11- IRNSS.pdf]\u00a0For GPS Message format ftp:\/\/igscb.jpl.nasa.gov\/igscb\/data\/format\/rinex210.txt<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Introduction: Global Positioning System (GPS)is a navigation system based on  [&#8230;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-1305","post","type-post","status-publish","format-standard","hentry","category-vol8no1"],"_links":{"self":[{"href":"https:\/\/biomedpharmajournal.org\/staging\/wp-json\/wp\/v2\/posts\/1305","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/biomedpharmajournal.org\/staging\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/biomedpharmajournal.org\/staging\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/biomedpharmajournal.org\/staging\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/biomedpharmajournal.org\/staging\/wp-json\/wp\/v2\/comments?post=1305"}],"version-history":[{"count":4,"href":"https:\/\/biomedpharmajournal.org\/staging\/wp-json\/wp\/v2\/posts\/1305\/revisions"}],"predecessor-version":[{"id":32820,"href":"https:\/\/biomedpharmajournal.org\/staging\/wp-json\/wp\/v2\/posts\/1305\/revisions\/32820"}],"wp:attachment":[{"href":"https:\/\/biomedpharmajournal.org\/staging\/wp-json\/wp\/v2\/media?parent=1305"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/biomedpharmajournal.org\/staging\/wp-json\/wp\/v2\/categories?post=1305"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/biomedpharmajournal.org\/staging\/wp-json\/wp\/v2\/tags?post=1305"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}