# Introduction efore digital signal processing, the signal must be presented in the appropriate digital format. Therefore the original analog signal, before processing, has to be converted into a digital one, i.e. it has to be digitized. Once a signal is digitized, the features of the obtained digital signal are fixed and nothing can be done to change them. In an ideal world, these features would exclusively depend and actually would copy the features of the original analog signal. The reality is different. The two basic operations of any analog to digital conversion, both sampling and quantization, impact the characteristics of the digital signal substantially. The characteristics of the analog signal at the ADC input and of the digital signal at its output are just similar rather than identical. How large and significant the difference between them depends on the digitizing methods and their implementations. Information carried by an analog signal can be represented in a digital form by a sequence of instantaneous values measured at discrete time instants. These signal readings are usually considered as signal sample values and the process of taking them is referred as sampling. The instants at which the samples are obtained form a stream of events, which can be demonstrated graphically as a sampling point process. Characteristic features of the sampled signals to a large extent depend on the patterns of the point processes generated and used for sampling. When sampling is mentioned in the technique of DSP, usually it is assumed that it is deterministic and uniform (equidistant). The model of sampling according to which signal samples are separated by time intervals with a constant and known duration is the most popular. This is readily comprehensible because such a sampling approach appears to be the most natural and obvious. It also has a number of attractive advantages. However, as was established relatively long ago, the application of periodic sampling alone is not sufficient. The periodic sampling model is not applicable when fluctuations in sampling instants cannot be ignored or when signal samples can be obtained only at non-uniform or even random time intervals. Studies have indicated that randomness in sampling is not always harmful, random irregularities in sampling sometimes can even be beneficial [1]. These irregularities, if properly introduced, provide, for instance, such a useful effect as the suppression of aliasing. And such sampling itself usually is considered as non-uniform. Depending of the required performance specification of the signal processing system to be developed and given both in functional and performance quality terms, sampling can be adapted by taking the following decision: the choice of either periodic or non-uniform sampling. While periodic sampling is preferable, in high frequency signal processing cases, the required periodic sampling rate might be too high. Then usage of non-uniform sampling might be better. However special and more complicated signal processing algorithms have to be used in that case. Therefore adapting the sampling operation to the specific signal processing conditions comes down to a trade-off between the complications caused either by high sampling rate or more complex algorithms. Uniform sampling is preferable whenever the spectrum of the signal can be restricted as required by the Sampling Theorem. Firstly, periodic sampling is the simplest method of performing this procedure and is easy to implement. Secondly, periodic sequences of signal samples are well suited to digital processing. Note only that, many highly efficient fast algorithms are applicable. Random sampling may prove to be more profitable when it is undesirable or even impossible to B Global Journal of Researches in Engineering ( ) F Volume XIV Issue III Version I pre-filter signals before their analog digital conversion, when the signal to be processed contains components at frequencies exceeding half of the sampling rate. However the essence of randomized sampling is taking the signal sample values at unknown random time instants. Therefore application of randomized sampling is limited to the relatively cases where the information about the exact sampling instants is not relevant. Pseudorandom sampling is the most often used non-uniform sampling based anti-aliasing technique. The indications for its usage are the same as for the randomized sampling except that the sampling instants in this case are known with high precision. The significance of the sampling operation is determined by the fact that many essential digital signal characteristics, impacting the whole signal processing process substantially depend on the methods and techniques used to perform it. In the traditional DSP case, the only way to reduce this often undesirable dependence is increasing the sampling frequency. However, the possibilities then are poor and limited. In addition, this approach in many cases produces an increased number of bits requiring more complicated hardware for the subsequent processing of the obtained in these way digital signals. Deliberate introduction, when necessary, of an element of randomness into the sampling operation helps a lot in obtaining the flexibility essential for adaptation of the analog-digital conversion to the conditions of the given specified signal processing task. Therefore the application of nonuniform sampling is more flexible then use of traditional uniform sampling. In this paper, we propose to use the random sampling method implemented by original design of a Pseudorandom Signal Sampler circuit for controlling ADC to relax constraints of receiver circuits supporting multiband signal processing. This new idea of using non-uniform sampling technique for multiband signals sampling allows the main advantage of suppressing spectral aliases at integer multiples of sampling frequency produced by conventional uniform sampling technique. We expect this reduces the constraints on the anti-aliasing filter, relaxes the automatic gain control dynamic range, and decreases the ADC dynamic power consumption. Non-uniform sampling theory and techniques are presented in various publications [1][2][3] and used for some applications such as duty cycle measurement and spectrum analysis. For practical implementation of nonuniform sampling, some non-uniform signal sampler solutions are proposed in the literature [4][5][6][7]. The rest of the paper is organized as follows. In section two the theory of random sampling is presented. Three methods of generation of the non-uniform clock and implementation with VHDL on FPGA are detailed in the section three. An analysis of power consumption is presented in section four and comparison is done under different frequencies and using regular and irregular sampling. Finally, a conclusion is given with some directions for future works. # II. # Theory of Random Sampling The properties of random sampled signals are mainly defined by the mode of generation of point streams used for the implementation of sampling, that is, the selection of points in time for signal readout. Although there are a relatively large variety of known non-equidistant spaced point processes, only a few of them actually have the characteristics required for high performance sampling. The available expertise in application of various random point streams suggests that the most advisable technique for producing sampling instants is based on additive random point process. It is really well suited for the purposes of deliberate sampling randomization. This point process has such remarkable properties and is so flexible that it suits random sampling applications very well. Specifically, sampling carried out in this way ensures that all parts of any input signal are sampled with equal and constant probability. Therefore such sampling is signal-independent. And it provides for unbiased (no systematic errors) estimation of signal parameters, including spectral parameters. However, there are several other point processes which should also be considered because they are connected to relatively frequently observed and important effects such as fluctuation of uniform sampling instants or random selection of uniformly spaced samples. # i. Jitter Random Sampling Fluctuation of sampling instants is a fairly common occurrence [1]. It can even be said that it is always present. In the case of uniform sampling with jitter, signal samples { k t } are taken at time moments k t = ? kT+ k ? , T>?0 , where T is a period of uniform sampling, but { k t } is a family of identically distributed independent random variables with zero mean. This sampling scheme is illustrated in Figure 1. It shows the probability density functions ( ) k p t of time intervals ( 0 k t t ? ). As can be seen from Figure 1(d), this particular function has multiple peaks. Note that as t increases the peaks shown do not decrease. To understand the meaning of the function ( ) k p t , imagine that a narrow time window ?t is moved along the t-axis. Under the condition ?t ?0, the function ( ) k p t at any arbitrary time instant is equal to the probability that one of the sampling points will fall within this window. Therefore if a signal is sampled at the instants which are determined by the statistical relationship illustrated by Figure1 (d) some parts of the signal will be sampled with a higher probability than others. This is obviously undesirable, as it will lead to the , where { k ? } is a family of identically distributed independent positive random quantities [1]. Such a nonuniform point stream can be easy implemented to suppress the overlapping effect. The degree of randomization can be varied through appropriate selection of only one parameter / ? µ ? , where? and µ are the mean value and standard deviation of the intervals between sampling points, respectively. Obviously the mean sampling rate is equal to 1 / µ . The additive random sampling scheme itself is illustrated by Figure 2. Probability density function of time interval: 0 1 2 k k t t ? ? ? ? = + + ??? + in this case can be calculated as 1 ( ) ( ) ( ) k k p t p t p t ? ? = * , where the asterisk * denotes the convolution operation, and 1 ( ) ( ) p t p t ? = is a density function of { k ? } distribution. As the random variable 0 1 2 k k t t ? ? ? ? = + + ??? + represents the final result of a linear sum of statistically independent constituent variables, then whatever probability density function these variables may have, the probability density of 0 ( ) k t t ? will approach the normal form as k approaches infinity. As can be seen from Figure 2, the sampling point density function in the case of additive non-uniform sampling with t increasing will always tend to become flat. The value of this constant level is equal to 1/?. When non-uniform sampling is selected for application in a given case, an appropriate sampling rate has to be set up. The criteria for the choice of an appropriate sampling rate, in the case of non-uniform sampling, completely differ from those commonly used for periodic sampling. The spectral component of the signal with highest frequency to be non-uniformly sampled and processed actually is not a criterion then. The mean sampling rate is calculated by evaluating the number of signal samples needed and the longest time interval during which those samples have to be acquired for one signal realization. While the minimum of the signal samples to be taken at periodic sampling actually is equal to the required number of them in the case of non-uniform sampling, excessive samples often are taken at periodic sampling just to avoid aliasing [1]. # c) Multiband signal reconstruction based on SVD The multiband signal x=x(t) has a Fourier transform vanishing outside of measure B [2]. Using ARS as the sampling method, write T for the observation interval , ( ) 2 k i j f t ik A e ? = (2) The optimum is obtain from the following formulary: H H S A A C A X × × = ×(3) H A is the conjugate matrix of A. With the matrix calculation, we can obtain: 1 ( ) H H S C A A A X ? = × × ×(4) ( ) H A A × is a singular matrix, so we should use a suitable algorithm to solve C. SVD (singular value decomposition) method is a proper way to resolve the problem. SVD algorithm decomposes A into three matrices: H A S V × ×(5) U and V are matrices with dimension N and M, in addition, H H H H U U U U V V V V I × = × = × = × =(6) S is a diagonal matrix: S=diag( 1 2 , P ? ? ? ??? ), and p=min(M,N), 1 2 0 P ? ? ? ? ??? ? ? . Suppose H Z V C = × and H H S Y S U X = × × , the Eq. ( 3) is equivalent to: H S S Z Y × × =(7) then we can obtain: 2 k k kk Y Z S = , k ? [1,?p](8) Finally, we can obtain the coefficients k c : C V Z = ×(9) In [3], the following empirical results were obtained: ? Good reconstruction was obtained when the design matrix is of full column rank, that is, the columns are independent, and rank (A)/m = 1. A necessary condition is that the sampling rate exceed the Nyquist-Landau rate (or else n < m and the matrix cannot be of full column rank; the rank of a matrix cannot exceed either of its dimensions). ? Regular sampling, sampling in allowed region. The functions are independent with regard to the sampling set, and rank (A)/m =1. ? Regular sampling, sampling rate in disallowed region but above the Nyquist-Landau rate. The functions become folded on top of each other in frequency space, and the columns of A become dependent; therefore, rank (A) falls by an amount proportional to the degree of overlap. However, rank (A)/m> (1/2) because the maximum degree of overlap is seen when one band sits exactly on top of the other, and then, only half the columns become redundant. ? Random sampling. When the average sampling rate was a little over the Nyquist-Landau rate (q < 1; we found q = 0.9 to give acceptable results), the design matrix was of full column rank, and good reconstruction was obtained. However, we did not investigate the effect of having large gaps in the sampling; one would expect these to significantly reduce the quality of reconstruction. We consider the reconstruction of a multiband of five QPSK modulated carrier signals, show in the Figure 3, each at a symbol rate Rsym =4 sym/s and with a raised cosine filter excess bandwidth factor of 0.5. Each carrier is separated by 8 Hz; therefore, the group band occupies a theoretical bandwidth of 38 Hz. We construct the original signal using a fine regular sampling grid ( k ? ) at 1000 Hz. A typical realization of the signal and its power spectral density (PSD) is shown in Figure 4 when the center frequency is 175Hz. Figure 5 illustrate the signal sampled by ARS and reconstruct with SVD. With these result, we can consider that the randomized sampling scheme can be used for the multiband signal without the restrictions on sampling rate. # Generation of Random Clock and Implementation of fpga Based on the previously chapter, we have two ways to generate the random sampling. In the following parts, we introduce three methods to generate the nonuniform clock, and implement with VHDL on FPGA. a) Pseudorandom Clock Generation i. Non-Uniform Processing Formulation In [4], non-uniform sampling process, used in this work, converts a continuous analog band pass signal x(t) into its discrete representation x s (t) as describe in eq.( 10): ( ) ( ) ( ) s k k x t x t t t ? +? = ?? = ? ? (10) The sampling instant sequence { k t } is defined as { , k t k Z ? } ? { , s kT k Z ? } with s T the mean of the sampling period. This random sequence can be defined by either jitter random sampling (JRS) [1], or additive random sampling (ARS) [1]. To obtain k t in JRS scheme, we add a random time Nevertheless, random sampling is not convenient to generate and precisely recover uniform sampling instants. In most non-uniform sampler implementations, the sampling instants are, either randomly or pseudo randomly, analogically generated. Then, the sampling generated instants are digitized before being used in digital recovering process [6]. In [1], Wojtiuk proposed the time quantized random sampling scheme. Each random time k ? , is quantized to , q k ? and represented by Eq. ( 12) according to Eq. ( 13): , q k n ? = ? with s T T q ? = (12) ( 1 / 2) ( 1 / 2) k n n ? ? ? < ? + ?(13) Where T q is the quantization time factor and n a positive integer number. The TQ-RS in case of JRS scheme for T q =4 is illustrated in Fig.8 [7]. ii. Circuit of Pseudorandom Signal Sampler To sample non-uniformly, we define several sampling phases instead of conventional uniform sampling. The solutions based on phases, noted { 0 1 1 , , T q ? ? ? ? ?? ? } and it present the required phases for TQ-RS for 8 T q = in Fig. 9. The delay between the two successive clock phases is the minimum spacing ? defined in Eq. ( 12), and the phases duty cycles are equal. We propose a design to generate the random clock using these different phases but the same frequency clocks. Phases generated, from the counter and combiner, are selected according to a random number. Linear feedback shift registers make extremely good pseudorandom pattern generators. When the outputs of the flip-flops are loaded with a seed value (anything except all 0, which would cause the LFSR to produce all 0 patterns) and when the LFSR input a clock, it will generate a pseudorandom pattern of 1and 0. A LFSR with n length characteristic polynomial G[x] generates a binary pseudorandom sequence each period 2 1 n p = ? when initial state is non zero. LFSR synthesis requires at least n flip-flops. Here we propose to generate pseudorandom numbers using an LFSR composed of 2 log T q flip-flops at CLK/ T q rate. In our previous example, we need an LFSR as represented in fig. 11. The characteristic polynomial is given by Eq. ( 14) Previously in the chapter 3? we use pseudorandom number to generate the non-uniform clock?the algorithm of the method is approximate JRS. In the following part, we propose to generate another random clock, it is approximate ARS. 3 ( ) 1 G x x x = + + (14) Figure 13 gives the architecture of the circuit. In this case, the component of Random clock generator contains a register, in Figure 14, which have N bit, and from the N-1 to N-M-1 Bits are '1', the others are '0'. From this register, we can define the average sampling frequency: With the LFSR, we propose to use the longer length LFSR. Because with this we can generate the long periodic number which can improve the sampling to the full extent of randomization. In this design, when the LFSR generate a number, meanwhile it will select the correspond position in the register, and if the position is '1', the clk_out will output '1'. For example, if N=32 and M=7, the LFSR can generate 5 bits pseudorandom numbers, with the program; in fig. 15, there is the simulation of the application. s o M f f N = ×( Furthermore, if we want to obtain more precise result, we can modify N and M, for instance, N=512 and M=10, LFSR can generate 9 bits pseudorandom numbers, according to Figure 16, the simulation show that pseudorandom sampling in long period is better than in short one, it is more close to the real random sampling. # Comparison of the Power Consumption Based on the generation of random clock, we can make a measurement of power consumption with ADC and FPGA platform, and comparison the power consumption under different clock frequencies, also compare the regular sampling and irregular power consumption. # a) Results of using pseudorandom clock The input signal to ADC equal to 750 KHz, amplitude is 2.6V. We measure the voltages and calculate the currents with sampling frequency equal to 1.56MHz, 3.12MHz and 6.25MHz. In Figures 17-18, it demonstrates the results both uniform and non-uniform. # Conclusion According to these result above, we can observe in Fig. 18-20 that the current increases when the sampling frequency increases. While compare the currents between the uniform and non-uniform, the former is larger than the latter one. ![Journal of Researches in Engineering ( ) F Volume XIV Issue signal processing errors. There is an exception. If the time intervals ( 0 k t t ? ) are distributed uniformly in the intervals (kT ± 0.5T) respectively, then the resulting sampling point density function is constant. But in fact this method of generating non-uniform sampling point stream has a number of substantial disadvantages, which prevent its wide application: ? The random variables { k t } should be distributed strictly uniformly within the given intervals b) Additive Random Sampling In the case of additive random sampling, signal samples are taken at time moments](image-2.png "Global") ![Time intervals between any two sampling instants may be very short.](image-3.png "?") 1![Figure 1: Probability density functions characterizing periodic sampling with jitter. a), b) c) probability density functions of a sum of 1, 2 and 3 time intervals, respectively; d) resulting sampling point density function](image-4.png "Figure 1 :") 2![Figure 2 : Probability density functions characterizing additive random sampling. a), b) c) probability density functions of a sum of 1, 2 and 3 time intervals, respectively; d) resulting sampling point density function](image-5.png "Figure 2 :") 3![Figure 3 : QPSK modulated signals](image-6.png "Figure 3 :") 4![Figure 4 : Power Spectral Density To obtain the sampled signals, we decimate the original sample set in two ways: regularly and irregularly. In the first case, the sampling rate is 100 Hz; in the](image-7.png "Figure 4 :") 5![Figure 5 : Method SVD with ARS In Figure 6, it show that signal sampled by JRS and reconstruct with SVD.](image-8.png "Figure 5 :") 6![Figure 6 : Method SVD with JRS And in Figure 7, it demonstrates the regular sampling and reconstructs the signal using SVD. We also calculate the average SNR and error of each way: SNR (ARS) = 58.657809, E (ARS) =0.0109 SNR (JRS) =59.662221, E (JRS) =0.0076 SNR (unif) =67.479956, E (unif) =0.0066With these result, we can consider that the randomized sampling scheme can be used for the](image-9.png "Figure 6 :") 7![Figure 7 : Method SVD with regular sampling](image-10.png "Figure 7 :") ![irregularities are appropriately chosen, they could provide the aliasing suppression. Alias-free processing is met when the sampling point density function assumes a constant value equal to the mean sampling frequency f s given by equation (11): the probability density function of the random sampling point k t . This stationary condition is accomplished in case of ARS scheme, and in case of JRS scheme only for uniform probability density over [](image-11.png "") 8![Figure 8 : Time-Quantized Random Sampling (TQ-RS) for T q =4](image-12.png "Figure 8 :") ![Fig.10 illustrates the block diagram of the circuit [5].](image-13.png "") 9![Figure 9 : TQ-RS for T q =8](image-14.png "Figure 9 :") 11![Figure 11 : LFSR architecture c. Selective Combiner Having the different sampling phases and the pseudorandom number, we have to introduce a selective combiner to select the phase according to the delay iÎ?" where i is the pseudorandom number generated by the LFSR being in the set { 1](image-15.png "Figure 11 :") 12![Figure 12 : General Results b) Random Clock Generation](image-16.png "Figure 12 :") ![15) o f is the frequency of FPGA original clock.](image-17.png "") 13![Figure 13 : Random clock generator](image-18.png "Figure 13 :") © 2014 Global Journals Inc. (US) © 2014 Global Journals Inc. (US) Study of the Power Consumption of a Digital-Front-End using Random Sampling Compare the results which are deduced from the two kind of non-uniform clocks, when we use the same sampling frequency, the current is not the same. Aim to prove the second random clock is more precise than the first one, with the second clock used in & 3.2, we propose to M=1&N=8 and M=16&N=128; with these two groups, the av f both equals to 6.25MHz. Implemented on the ADC, the first group M&N obtains the result as same as using the first method (&3.1.2), while with the second group M&N, the result I measured is lower than the result of first group. Obviously we can consider that the second method is more precise than the first one. In conclusion, with nonuniform clock, the current is lower than using the uniform clock, we can consider that random sampling can decrease the ADC dynamic power consumption. ## VI. ## Future Work In this case, if we can verify the reconstruction of the signal with the random sampling, it will be more compellent. So I propose to obtain the samples and sampled time form the FPGA card and demonstrate in the oscillograph, to be certain that using random sampling can decrease the power consumption of ADC and also reconstruct the signal completely. After these work, we can continue to measure the power consumption on FPGA and make comparison among the different situations. * Randomized Sampling for Radio Design JJWojtiuk 2000 University of South Australia, School of Electrical and Information Engineering Ph. D. Thesis * Random Sampling Enables Flexible Design for Multiband Carrier Signals JJeffrey RichardJWojtiuk Martin IEEE TRANSACTIONS ON SIGNAL PROCESSING 49 10 OCTOBER 2001 * Reconstruction of multiband signals using irregular sampling RJMartin DACastelow GEC J. Tech 14 1997 * Pseudorandom Clock Signal Generation for Data Conversion in a Multistandard Receiver Ben-RomdhaneManel RebaiChiheb GhazelAdel 2008 International Conference on Design & Technology of Integrated Systems in Nanoscale Era. 5. Chiheb Rebai, Manel Ben-Romdhane&al 2009 40 Pseudorandom signal sampler for relaxed design of multistandard radio receiver * Nonuniform digitizer foralias-free sampling of wide band analog signals NMichael SShah JDas MMSandeep CVijaykumar IEEE Region 10 Conference, TENCON2007 October-November 2007 * Non Uniform Sampled Signal Reconstruction for Software Defined Radio Applications FaresHaïfa Ben-RomdhaneChiheb Rebai 2008 International Conference on Signals, Circuits and Systems