{'fraction_non_alphanumeric': 0.025124329910224116, 'fraction_numerical': 0.012723632370987534, 'mean_word_length': 4.488833746898263, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
A Novel Sample Based Quadrature Phase Shift Keying Demodulator

This paper presents a new practical QPSK receiver that uses digitized samples of incoming QPSK analog signal to determine the phase of the QPSK symbol. The proposed technique is more robust to phase noise and consumes up to 89.6% less power for signal detection in demodulation operation. On the contrary, the conventional QPSK demodulation process where it uses coherent detection technique requires the exact incoming signal frequency; thus, any variation in the frequency of the local oscillator or incoming signal will cause phase noise. A software simulation of the proposed design was successfully carried out using MATLAB Simulink software platform. In the conventional system, at least 10 dB signal to noise ratio (SNR) is required to achieve the bit error rate (BER) of 10−6, whereas, in the proposed technique, the same BER value can be achieved with only 5 dB SNR. Since some of the power consuming elements such as voltage control oscillator (VCO), mixer, and low pass filter (LPF) are no longer needed, the proposed QPSK demodulator will consume almost 68.8% to 99.6% less operational power compared to conventional QPSK demodulator.


Introduction
Quadrature Phase Shift Keying (QPSK) is a modulation scheme commonly used in wireless communication system due to its ability to transmit twice the data rate for a given bandwidth [1]. An ideal QPSK signal where the in-phase and quadrature components are in quadrature (90 ∘ ) and have equal amplitude cannot be obtained, according to [2] due to the noise presence in local oscillator, DC offset in mixer, and phase imbalance in power combiner and mixers. At the same time, the transmitted QPSK signal frequency, , may also vary by Δ due to Doppler effect [3]. A practical QPSK signal, ( ), will contain gain error ( ), phase error ( ), and frequency shift (Δ ), as given in ( ) = (1 + ) √ 2Es cos (( + Δ ) + + ) , where fc is the carrier frequency, Es is the energy per symbol, is the symbol period, and is the carrier phase. While the gain error can be easily reduced with automatic gain controller (AGC), the phase noise and frequency shift are more complicated and can tremendously affect the performance of the system. The performance of a conventional coherent demodulator starts to degrade at phase noise of 3.6 ∘ [4]. Previous works attempted to solve both phase error and frequency shift problems by using feedback control loop and feed-forward compensation technique, only adding more complexity to the demodulator circuit [5].
Typical QPSK demodulator needs SNR of 10 dB to produce BER of 10 −6 [1]. Even though the SNR value presumed as low in wireless signal transmission, for a system such as satellite and mobile devices where their operations are power limited, this is an issue that needs attention [6]. Components used in the conventional QPSK demodulator for the demodulation process such as VCO, LPF, and mixers increase the power consumption of the system. Thus, this paper proposed a new technique that is simple, consumes less power, and is robust to the phase noise.
This paper is structured as follows. Section 1 gives an introduction to readers about this journal. Section 2 briefly  explains the proposed new QPSK demodulator, followed by Section 3 showing MATLAB simulation carried out on the proposed architecture. In Section 4 results obtained from the simulation are provided and discussed in detail. Finally our results are concluded and some details about our future work are given in Section 5.

Proposed QPSK Demodulator
The proposed QPSK demodulator uses polarity difference from digitized QPSK signal for the demodulation process and is given a new code name 8S-QPSK. Figure 1 shows the complete block diagram for the proposed design where it consists of analog to digital converter (ADC), first in first out (FIFO), lookup table (LUT), and comparators.
Digitizing is a process used in ADC to convert the incoming analog signal to digital signal based on the ADC sampling rate. In the proposed QPSK demodulator the incoming signal is sampled 8 times of the incoming signal frequency. A sample is produced for every rising clock of the ADC circuit for a total number of 8 samples. A decision is made on every 2 samples to be classified as positive and negative samples based on the sample's polarities. This will eventually produce 4 different polarities for a QPSK signal and they are different for every QPSK symbol as shown in Table 1.
The QPSK phases represent a group of 2 bits data. The phases are produced at modulation level according to the inputs bits to the sinusoidal carrier [7,8]. Once the phases are identified, the data can be recovered immediately.

MATLAB Simulation
The whole demodulation process starts with sampling of the QPSK signal from the signal recovery block by using where is the number of samples and is the quantization level. The maximum range of the ADC voltage is ± centered on the reference voltage 0 v. The chosen transmitted carrier frequency was 5 MHz because it is a frequently used bandwidth in wireless systems [9]. Therefore the sampling clock frequency used in sample and hold block was set to 8 times the incoming frequency which is 40 MHz. The sampling clock is set by using pulse generator where the period of the pulse can be programmed. A group, { }, of 8 samples, [ ], are produced for every phase of a QPSK symbol as given by The Scientific World Journal Continuously, from the odd samples, [2 + 1] of { }, a decision is made and sorted according to their polarities, { }, as given by The sign block is used after the sampling process to rearrange the sampled data according to the polarity. Figure 2 shows in detail the sampling and grouping process.

3.1.
Buffer. The series of polarities samples need to be changed into a parallel of 4 × 1 matrixes so that it can be compared with each of the group data stored inside the LUT. A buffer with output size of four elements is used to redistribute the pulses from the sign block. Each pulse with positive and negative polarity has period and needs to be grouped into four elements with period of as given by This is crucial since only four complete pulses which have period equal to can determine a combinational group of data represented by the QPSK signal. Figure 3 shows an example on how the buffer redistributes the received data. Table. A total number of four lookup tables (LUT) are used to store the 4 combinational pulses which were predetermined earlier. The data inside each LUT is stored in the form of 4×1 matrixes as shown in Figure 1. To do so, arrays of four constants data are grouped and transposed. Every LUT will be compared constantly with the buffer output which is also in the 4 × 1 matrix. The sample time inside the LUT was set at so that one LUT can be compared with four pulses which have the same period. The LUT was not stacked in any order since the modulated data was in random order.

Comparator.
A comparator is used to compare the data stored inside the LUT with the data from the buffer. If a group of four datasets from the buffer match with any LUT, this means that the QPSK symbol was sampled correctly and the dibits are able to be retrieved. Four embedded MATLAB function blocks are used for the comparator which contains a MATLAB function of = isequal( , V), where the and V represent the data from the buffer and LUT, respectively.

Results and Discussions
A MATLAB Simulink simulation was carried out on both of the QPSK demodulation techniques and compared to identify their performances with and without phase error. BER has been used as a main performance indicator in this project. The satisfactory BER values obtained for every different noise level in Simulink simulation are compiled in tables and represented in graphical forms. A total amount of 20 Mb of data was used as input to the modulator for every case in obtaining the BER values. At the same time, a study was carried out to evaluate the proposed design operating power consumption.

Performance Analysis on Signal Power with AWGN.
In this section, the QPSK signal is demodulated with the proposed and conventional demodulator with different levels of SNR starting from −2 dB until as high as 6 dB through AWGN channel. This analysis demonstrates the ability of the proposed architecture to withstand the white Gaussian noise compared to the conventional architecture. To validate the performance of the system a 95% of confidence level of the confidence interval test was used for every simulation.

4
The Scientific World Journal The confidence interval test was carried out by using MAT-LAB built-in function where it requires data such as BER, the total number of input data, and range of SNR to calculate the interval level and the maximum and minimum number of BER [10,11]. The data compiled for both demodulation schemes are represented graphically in Figure 4. The exponential curve fit has been used to interpolate the log-log scale dataset so that the graph will resemble the water fall curve shape [12]. It can be seen from Figure 4, for a particular BER (e.g., 10 −2 ), that the proposed technique has a lower SNR compared to the conventional technique. The noise power, noise , for both signals can be determined using (6) and this noise power will be used together with the SNR value to give the signal power, signal , as depicted in (7). Table 2 shows the power comparison for both techniques at BER of 10 −2 : noise = (−173.83 + 10 log 10 )dB SNR dB = 10 log 10 signal noise .
The result shows that, for a particular BER, the proposed method can reduce the signal detection power up to 74.9% when compared with conventional method and lower SNR values are obtained for every BER value. This is due to the architecture of the proposed design which no longer employs coherent detection technique in the demodulation process.

Performance Analysis on Signal Power with Phase Error.
To determine the ability of the proposed design to tolerate high phase error in AWGN channel, a simulation has been performed to obtained data for BER with respect to SNR for 8S-QPSK and conventional QPSK schemes with phase errors of 9 ∘ , 18 ∘ , and 27 ∘ . The results obtained are shown in graphical form in Figure 5. SNR values for BER of 10 −2 are taken from each graph and shown in Table 3 for comparison. As for phase error of 18 ∘ and 27 ∘ for conventional QPSK schemes, the SNR values are only shown until 6 dB in Figure 6. However, the other two SNR values, 8 and 11.6 dB, have been successfully obtained in the simulation conducted. In this simulation, confidence interval test is not included since the upper and lower limit values tend to overlap with each other between the curves. The proposed demodulator shows power gain of 5.2 dB for 9 ∘ and 5.8 dB for 18 ∘ and 27 ∘ phase errors when compared to conventional QPSK demodulator. This achievement is obtained because the samples used to identify the signal phase, , are taken for every 45 degrees. Thus, if any variation happened on the signal between the sampling period, it is not going to affect the sample value obtained. As in Figure 6       generated at high SNR value, and 10 dB to give an idea on how the phase error alone will affect the sampling process: However, when SNR values for 8S-QPSK from Tables 3  and 2 are compared, it shows that there are power increments from 1.2 dB to 6.8 dB to obtain the same BER value. The degradation on the performance happened due to the dependency of the proposed design on the amplitude of the incoming signal. The white Gaussian noise will cause voltage fluctuation on the incoming signal and thus will cause the polarity change in the sampling process. In conventional method, the phase error with the presents of white noise cannot be corrected or rectified with high SNR value as in proposed method.
To demonstrate the phase error effect on conventional demodulator, gain error and frequency shift have been removed from the incoming QPSK signal as in (1) to ease the calculation. At the same time, the phase error only was included into one of two local oscillators, sine carrier. This is to show clearly how phase error on one of the carriers can cause the demodulated data to be shifted in time domain when odd and even data were data merged together.
It can be seen that, by mixing the QPSK signal with the sine carrier as shown in (9), it produces two different terms. First, a sine signal with twice the frequency, phase shifted and half amplitude from the incoming signal. Second, another sine signal which varies according to the phase error and half the input amplitude signal. The first signal will be superimposed on second signal which acts like dc offset signal. By using an LPF after the mixing process, the first high frequency term, 2 , can be filtered out and the remaining term given in the expression will cause the odd data to be shifted in time domain by Δ . Figure 7 shows output from mixing the QPSK and sine carrier, filtered I-channel signal with LPF, and odd and even data obtained from I channel and Q-channel. The steps involved in obtaining the even data are not shown here but they are the same as in (9). The only difference is the sine carrier substituted by cosine carrier without any phase error: It has been proven that a small variation (3.6 ∘ ) of phase error will seriously affect the demodulation process and cause the data to be misinterpreted. On the other hand, the new architecture uses polarity of samples to recognize the QPSK signal symbols correctly and is not bounded with mixing signal issue mentioned earlier.

Analysis of Power Consumption.
Power consumption estimation has been conducted for the proposed design based on the power consumed by individual components obtained from literature as shown in Table 4. For each one of the components, maximum and a minimum values are taken into consideration from various references so that it will give a rough idea for the total power consumption that can be expected.
The number of components used in the simulation is as follows: 1 unit of ADC, 16 It can be seen that the power consumption of the proposed design is between 0.788 mW and 64.233 mW which is significantly reduced compared to the 206 mW [20] consumed by the conventional QPSK. The reduction of the power consumption is between 68.8 and 99.6%.

Conclusion and Future Work
A novel architecture for QPSK demodulator has been proposed and demonstrated promising results. The results obtained for both demodulation schemes do not include any error correction coding, phase, and frequency error detection technique. The new demodulation technique uses samples polarity from ADC to identify the QPSK symbols. This indirectly eliminates the use of VCO, a component that contributes to the phase and frequency distortion. The new architecture consumes almost 74.9% less power for signal detection in AWGN channel without any phase error and 50 to 89.6% when phase error is presented. On top of that, the proposed design is also expected to consume 68.8 to 99.6% less power and significant size reduction compared with conventional architecture.
As for future work, channel selection method, error correction coding, and signal locking mechanism for sampling starting time will be included to further evaluate the proposed architecture. Hardware implementation on Virtex 6 FPGA board has been planned for performance measurement and verification.