1 Introduction

Global positioning system (GPS) is an arrangement of few orbiting Geo satellites which give information of their position with exact time in space, on the other hand GPS receiver on earth receives the signals and calculates the position, speed, time of the system at that instance. A GPS system can be explained in three parts; a constellation of between 24 and 32 Solar Powered S Satellites(SPS) revolving around the Earth’s orbit at an altitude of approximately 20,000 km, a major control station and four control and monitoring satellites and a GPS Receiver on a vehicle/device on earth (Sameer and Joel 2003). A correlation operation is performed by the receiver using Delay Lock Loops (DLLs) to correlate GPS signal in form of incoming codesor bits sequence with identical codes generated by the receiver locally. The bit sequences are Gold codes formed as a product of pseudorandom noise sequences (Spilker 1978). By analyzing the received and locally generated bit sequence, the receiver decides the pseudo range of each satellite (Getting 1993). When the analysis is being driven, the receiver clock time is compared to the satellite time of transmission to determine the pseudo range. The time of transmission from the satellite is encoded with bit sequence using the navigation data (Parthasarathy 2006).

The escalated dependency on GPS for navigation, tracking and guidance has created a necessity for commensurate protection against threats such as unintentional and intentional jamming. A number of methods have been explored and of-course are yet to be explored for strong mitigation of high power interference signals. One method to diminish the interference caused by jamming to the GPS signals is the utilization of adaptive array processing (Amin and Zhang 2002; Zhang 2006). In particular, adaptive array processing techniques allow profiteering of the spatial domain for improved jamming suppression and signal protection (Amin et al. 2004; Fante and Vaccaro 2000; Sun and Amin 2005; Zhang and Amin 2001). Blind antijamming array processing techniques, such as minimum variance (MV), achieve excellent jammer-suppression performance (e.g., Spilker 1978; Zhang et al. 2001). GPS coarse acquisition (C/A) codes uses direct sequence spread spectrum with 20 duplicates of 1023-chip pseudo-noise (PN) codes, in order to achieve a processing gain of 43.1 dB. The high processing gain of 43.1 dB enables GPS signals to assume very low power prior to dispreading and, as such, escape suppression or nulling. The adequately high signal level after dispreading gives appropriate identification of signal delays for accurate positioning of GPS receiver. Smart healthcare systems are necessary today for satisfying the patients who are remotely available and connected with the specific hospital around the city, state and country even universal.

The major contribution of the paper are the introduction of the radio frequency interference monitoring and the mitigation techniques using an adaptive array antenna and null steering algorithm for reducing the noise. The rest of this paper is organized as follows: Sect. 2 described the related works in this direction. Section 3 explains the proposed model including the GPS transmitter design. Section 4 demonstrated that the experimental results. Section 5 gives conclusion and future works.

2 Related work

There are a considerable number of papers which deals with anti jamming of GPS receivers (Mousavi et al. 2018). Some papers concentrate on time of reception should be fast and, some compare the RLS and LMS algorithm. A comparative analysis of GPS and GNSS satellite receivers is also one of the topics. Ying (2018) developed a new threshold algorithm which proposes a wavelet packet Transform (WPT) based adaptive predictor to cancel the jamming signals for global positioning system receivers. The adaptive threshold selection algorithm deals in both time and WPT domains. An anti-jamming Vector Tracking (VTR) Receiver also called Vector Lock Loop (VLL) which improves its anti-jamming performance of the tracking loop. The VLL takes the advantage of combining the navigation filter with a tracking loop in Kalman filters (Li et al 2016). Results show an improvement in ability of anti-jamming receiver. A strong model of anti-jamming (Alexander et al. 2018) has been described which generates distance measurement equipment (DME) signals as an interference source to airborne global satellite navigation system (GNSS). The satellite navigation system uses the lower L band (Galelio E5: 1165–1125 MHz, GPS L5: 1164–1189 MHz) for navigation services and are sharing the same frequency band with DME. Any GNSS receiver operating in the mentioned band will have to deal with them as interference. A hybrid antijamming approach is developed in Mohammad and Mohammad (2018). In this paper author has developed a new anti-jamming system which is proposed for kinematics global position system receives. Author employed a short time Fourier transform (STFT) based pre co-relation block to ensure that the receivers acquire at least four satellites.

In paper (Mosavi et al. 2018), another author has considered wavelet packet transform (WPT). The paper describes a fast and accurate antijamming system. It employs two WPT based interference mitigation block, the pre post correlation mitigation technique employs lower decomposition levels for the WPT based de-noising algorithm because it shares the responsibility of interference mitigation between two blocks. Recently an effective way to minimize GPS interferences utilizes a GPS antenna array capable of changing its gain pattern is developed (Park et al. 2018). In this work a dual polarized antenna array has been proposed instead of one having the capability to mitigate twice the number of interference signal in spatial domain. Long range navigation (LORAN) infrastructure is considered as a backup navigation capability in the next work (Son et al. 2018). Since intentional high power GPS is a significant threat to ships in South Korean water has occurred multiple times in recent years. A different type of arrival based additional secondary factor (ASF) correction method that is applicable to the existing LORAN signal in Northeast Asia has been developed. The objective of the next (Swathi et al. 2015) work is the estimation of the effect of multipath interference at the receiver antenna. As the position accuracy of the GPS is affected by several errors such as delay due to atmosphere, satellite receiver clock error and multipath error.

Dealing with adaptive noise cancellation (Arif et al. 2017) describes as how when a signal is attenuated by some interference adaptive filters are the best solutions of such filters. Here a variant of LMS called q-LMS is investigated for noise cancellation. Elmahay and Moey (2009) improves the performance of GPS signal using multi band limit white noise. First they have identified jamming design issues including fabrication error handling local and remote operations. The solution has been achieved using simulation in Matlab and use of fuzzy logic. Paper Chuku et al. (2018) deals with the enhanced RLS algorithm for beam forming. The result includes enhanced gain factor which in turn reduces a mean square error, A smart satellite navigation system based on multi objective optimization technique has been considered in paper (Lang et al. 2017). The proposed jamming method can reduce the wide nulls and wrong nulls which arises due to common adaptive nulling method. İsmail and Korkut (2017) introduced a simple solution for jamming mitigation of L1 band GPS by electronically switching the antenna beam for wide as well as narrow beamwidths. Sedighy (2018) designed a new anti jamming GPS antenna for effective wireless communications by using antenna array with five microstrip patch antenna in planar array geometry of the proposed system. These all techniques will be used for enhancing the communication efficiency in smart healthcare applications like (Kanimozhi et al. 2018). By reducing the noise in wireless communications, the performance of the smart healthcare systems will be improved greatly. A health care system has been developed for monitoring the patient health conditions and prevent the dead diseases (Sathyanarayana et al. 2018).

3 GPS transmitter design

Particularly two bands in UHF part of EM spectrum are used for GPS signal transmission i.e. L1, centered at 1575.42 MHz, and L2, centered at 1227.60 MHz (Tsui 2005). These frequencies are synchronized with a 10.23 MHz clock. The L1 and L2 signals utilize Code Division Multiple Access (CDMA) to spread spectrum modulation of low bitrate navigation data with high bitrate Pseudo Random Noise (PRN) sequence. There are essentially two kinds of signals: the coarse/acquisition (C/A) and the Precision (P) codes. The real P code isn’t straightforwardly transmitted by the satellite, however it is altered by a Y code, which is frequently alluded to as the P(Y) code. The P(Y) code isn’t accessible to citizen clients and is basically utilized by the military. The P(Y) code is quite similar in properties to P code. For acquisition of P(Y) code, classified codes should be available already (Brown and Gerein 2001; Sickle 2010). Basically, P(Y) codes are derived from the C/A codes i.e. one need to have C/A codes first before acquiring P(Y) code. However, in exceptional cases P(Y) codes can be acquired directly, known as direct Y acquisition. Since we are focusing on civil uses of GPS, therefore our experimental zone limits to the C/A code.

3.1 GPS transmitter

GPS signal was designed in Matlab Simulink version 2016a. Figure 1 shows the GPS transmitter block diagram.

Fig. 1
figure 1

GPS transmitter block diagram

Figure 2 represents the GPS transmitter simulated in Matlab. GPS transmitter having a satellite ID/PRN code, in which we have entered the satellite ID from 1 to 32. We have set a PRN code value (Tx PRN ID) is 3 inside the transmitter and variable symbol rate error both is taken as an input. This transmitter generates an output.

Fig. 2
figure 2

GPS simulation diagram in Matlab Simulink 2016a

Figure 3 shows the GPS data flow based on the amplitude value with time.

Fig. 3
figure 3

GPS data flow based on amplitute and time

Figure 4 shows the GPS signal in time and frequency domain consisting of 38,192 samples.

Fig. 4
figure 4

GPS signal in time and frequency domain consisting of 38,192 samples

Figure 5 shows the GPS L1 signal centered at 9.548 MHz.

Fig. 5
figure 5

GPS L1 signal centered at 9.548 MHz

Figure 3 shows the simulation in time domain and FFT plot, where as Fig. 4 shows the GPS signal frequency spectrum which is centered at 9.545 MHz (Saleem et al. 2017; Staff 2007).

3.2 GPS jammer design

Since the signal from the satellite is very weak typically in Pico watts of power, interference with received signal whether intentional or unintentional becomes easier (Hu and Wei 2009). Radio frequency (RF) signals from any undesired source that are affecting a GNSS receiver are considered interference (Kaplan and Hegarty 2005). Despite the fact that navigation signals have a direct-sequence spread spectrum (DSSS) signal structure, which gives them an intrinsic robustness against interference signals, they are received by receiver antenna at a very low power level. Hence, these signals are vulnerable to in band interference signals (Landry and Renard 1997). Jamming blocks the GPS signals such that it cannot be normally amplified and detected, which finally resulted in GPS receiver’s reduction or completely lost of ability to work (Simon et al. 1994). Moreover, it is used to reduce the noise in wireless communications by reducing the signal to noise ratio (SNR) at receiver sides via the transmission of interfering wireless signals. Figure 6 shows the jammer implemented in Matlab Simulink.

Fig. 6
figure 6

Jammer design in Matlab Simulink

3.3 Antenna array design

The most important antenna array characteristics to focus upon are the number of antennas (N) in the array and the spacing (d) between each two antennas in it. We chose the number of elements from 4 to 10 and spacing in terms of wavelength (Milne 1985).

Figure 7 shows the obtained curve that clearly points out a maximum value for N = 5 and Fig. 8 shows a second highest value for N = 7. As a result, we’ll limit our choice on the number of antennas to these 2 values.

Fig. 7
figure 7

Antenna array characteristics

Fig. 8
figure 8

Adaptive array antenna response pattern for (7, λ/2)

3.4 GPS antijamming

In satellite navigation, interference can be combated in the time, space, or frequency domain, or in a discipline of joint variables of above variables e.g., space-frequency and space-time (Fante and Vacarro 1998) or time-frequency (Chang and Wu 2011). Multiple antenna receivers permit the implementations of spatial nulling and beam-steering based on adaptive beam-forming and high resolution direction finding methods. These approaches can be used as an efficient and effective tools for anti-jamming of GPS.

According to Shannon theory, in the spread spectrum communication, the bandwidth can be increased to reduce the signal-to-noise band in the same channel capacity. Even if the useful signals are covered by the noise, the system can work properly (Hu and Wei 2009). In spread spectrum communication, the spreading gain (Gp) is defined the signal-to-noise ratio of the de-spread devices’ output and the signal-to-noise ratio of receiver input, which represents the ability of suppressing the jamming signal which is input in receiver and enhancing the signal at the same time via spread-spectrum strongeranti processing (Ahamed 2011). The bigger Gp is the stronger anti jamming ability. So as for the ability of anti-jamming spread-spectrum systems, it is necessary to analyze the processing gain. GPS signal is modulated by a pseudo-code before sending out; and the rate of the pseudo-code is much higher than the initial data, which can extend the data bandwidth wider (Devi et al. 2016; Pöpper et al. 2009). The GPS signal of spread spectrum is sent out after being modulated by carrier again and power amplification. So GPS is virtually spread spectrum communications and Gp is a key indicator of anti-jamming ability to measure of GPS as a DSSS system:

$${\text{S}}({\text{t}})={\text{Ad}}({\text{t}}){\text{PN}}({\text{t}})\cdot\exp ({\text{j}}({{\text{w}}_{\text{o}}}+\varphi )).$$
(1)

In Eq. 1 where, A is the amplitude of the signal d(t) is the data signal, PN(t) is the pseudo-code and wo is the frequency of the carrier.

GPS uses two different Gold spreading codes, namely CIA code and P code with the rate of 1.023 × 106 bit/s and 10.23 × 106 bit/s respectively. P code is exclusive for military and does not open to the civil use. In addition, the navigation message data rate is 50 bit/s. According to the spreading gain formula, the CIA code and P code of spreading gain can be calculated. Interference caused by jamming to the GPS signals can be mitigated by using adaptive signal processing. In particular, adaptive array processing techniques allow exploitation of the spatial domain for improved jamming suppression and signal protection. Figure 9 shows the antijammer GPS tracker.

Fig. 9
figure 9

Antijammer GPS tracker

The input GPS signal consisting of 38,192 samples was collected at 450 azimuthal angles to adaptive antenna array. Noise and interference were modeled separately using random sequence and applied to antenna array to see the effect of these interference signals. Two interference at azimuthal angles of 350 and 550 were modelled using the Matlab code. Figures 10, 11, 12, 13, 14 and 15 shows the simulation results obtained in Matlab Simulink 2017.

Figs. 10
figure 10

Actual transmitted GPS signal

Figs. 11
figure 11

White Gaussian noise

Figs. 12
figure 12

Jammed signal (noisy signal)

Figs. 13
figure 13

Resultant signal after processed through LMS adaptive filter (recovered signal)

Figs. 14
figure 14

FFT plot of recovered signal

Fig. 15
figure 15

LMS algorithm block diagram

Figure 10 shows the time v/s amplitude plot of 38,192 samples of GPS signals. AWGN noise was generated with 38,192 samples, the noise power was kept five times greater than GPS signal, Fig. 11 shows the noise amplitude and time plot. Figure 12 is the jammed data or the interfered signal in which the noise and original GPS signal were added.

LMS adaptive filter characteristics is shown in Fig. 13, input to this filter was the jammed signal as shown in Fig. 12, and the FFT plot of output of the filter is shown in Fig. 8e. By comparison of from Fig. 14 and Fig. 3, it is clear that noise mitigation from GPS signal is possible using LMS Algorithm.

A number of algorithms have been developed in recent years which are often recursive in nature such that their weight vector is prone to adapt the continuously changing RF environment. In this paper LMS and RLS algorithms have been discussed, in LMS approach, gradients are estimated from the available data i.e. by making use of x(n)e(n) rather than ensemble averages for a chosen optimum step size. LMS algorithm is defined as follows:

$$:\overline{W} (n + 1) = \overline{W} (n) + 2ue(n)x(n)$$
(2)

where e(n) = d(n) − d^(n).

Above Eq. 2 does not require calculation of correlation functions and matrix inversion, therefore LMS becomes very simple approach for adaptive filters weight update. Figure illustrates how the LMS algorithm can be applied to anti- jamming of GPS signal for noise and interference mitigation (Feng and Bao 1998; Giovanis 2010; Gui and Adachi 2013).

3.5 RLS algorithm

RLS algorithm is another potential alternative to overcome slow convergence in colored environments, which uses the least square method to develop a recursive algorithm for the adaptive transversal filter. RLS tracks the time variation of the process to the optimal filter coefficient with relatively very fast convergence speed; though it has increased computational complexity and stability problems as compared to LMS based algorithm (Dixit and Nagaria 2017; Vahidi et al. 2005) (Fig. 16).

Fig. 16
figure 16

RLS algorithm block diagram

Output signal from the FIR filter

$${\text{y}}({\text{n}})={\text{u}}{({\text{n}})^{\text{T}}} \cdot {\text{w}}({\text{n}})$$
(3)

where, u(n) is the filter input vector and w(n) is the filter coefficient vector

$${\text{u}}({\text{n}})=[{\text{x}}({\text{n}}){\text{x}}({\text{n}} - 1){\text{x}}({\text{n}} - 2) \ldots {\text{x}}({\text{n}} - {\text{N}}+1)]{\text{T}}$$
(4)
$${\text{w}}({\text{n}})={[{{\text{w}}_{{0^{\text{n}}}}}{{\text{w}}_{{1^{\text{n}}}}}{{\text{w}}_{{2^{\text{n}}}}} \ldots {{\text{w}}_{{\text{N}} - {1^{\text{n}}}}}]^{\text{T}}}.$$
(5)

An error signal depends on the filter coefficients

$${\text{e}}({\text{n}})={\text{Y}}({\text{n}}) - {\text{d}}({\text{n}}).$$
(6)

The next step is to update the filter coefficients using following equation

$$w(n+1)=(1 - \mu ) \cdot w(n)+\mu \cdot e(n) \cdot u(n)$$
(7)

where \(\mu\) is the step size of the adaptive filter.

4 Results and discussion

The proposed model has been implemented by using the MatLab. Moreover, the various experiments have been conducted for evaluating the performance of the proposed model.

4.1 Performance in case of interference

See Fig. 17.

Fig. 17
figure 17

Performance in case of interference using LMS

4.2 Correlation results

It was seen that in case of only one interference arriving at 35° was easily combated and results were satisfactory in terms of carrier frequency and code phase shift but in case of two interfaces arriving at two different angles viz. 35° and 55° were combated in terms of frequency only instead the LMS could not correctly identify the correct code phase shift of 45 chips. Also the LMS algorithm failed to combat the interference having power more than five times of original GPS signal power. In a real case scenario noise is always present along with interference to the receiver therefor it is obvious that interference power that can be tackled with these algorithms will reduce (Fig. 18).

Fig. 18
figure 18

Correlation results

Same simulations were analyzed with other anti jamming algorithms (RLS) and the performance in case of noise only showed improvement in terms of noise power with respect to signal power:

$$SNR({\text{dB}})=~10~{\log _{10}}\left( {\frac{{Signal}}{{Noise}}} \right).$$
(8)

In case of single interference the RLS antijamming algorithm was shown similar results with an increased interference power with respect to original GPS signal. The noticeable improvement of RLS over LMS algorithm was shown in the case of two interference arriving at two different angles to the adaptive array antenna with respect to the GPS signal arriving at 45°. This algorithm was able to combat the interference having power more than seven times relative to GPS signal in terms of frequency as well acquisition of correct code phase shift (Fig. 19).

Fig. 19
figure 19

Performance in case of interference using RLS

It’s obvious that the RLS antijamming system exceeds the LMS system in performance by many times, despite any errors that may occur with it. One of the principal reasons behind that is the variable step size of the RLS filter that is adapted by the filter itself to produce the best results, unlike the fixed pre-determined step size in the case of LMS. But on the other hand, we can clearly realize from simulation tests that LMS needs much less execution time than RLS.

5 Conclusion and future works

GPS system measures various satellite positions located in the space and showing the exact position of the satellite with the help of the scatter plot. Here, we have calculated the value of navigational parameters such as position of the satellite on the world latitude or longitude, velocity, altitude and error, etc. The proposed system has been used for collecting the information on for the satellites that are view in provisions the number of satellites are being tracked, the satellite ID/PRN (pseudo random noise) and parameters like SNR (signal to noise ratio) of the capture satellite signal. Moreover, the proposed model is used to collect the patients detail from different locations without any delay and also helps to store in database of smart health care service oriented applications for enhancing the smart health service.