Next Article in Journal
Photoacoustic-Based Gas Sensing: A Review
Next Article in Special Issue
Towards Naples Ecological REsearch for Augmented Observatories (NEREA): The NEREA-Fix Module, a Stand-Alone Platform for Long-Term Deep-Sea Ecosystem Monitoring
Previous Article in Journal
Deep Color Transfer for Color-Plus-Mono Dual Cameras
Previous Article in Special Issue
Stepped Coastal Water Warming Revealed by Multiparametric Monitoring at NW Mediterranean Fixed Stations
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Compressive Sensing Approach to Harmonics Detection in the Ship Electrical Network †

by
Beata Palczynska
1,
Romuald Masnicki
2,* and
Janusz Mindykowski
2
1
Faculty of Electrical and Control Engineering, Gdansk University of Technology, 11/12 Gabriela Narutowicza Street, 80-233 Gdansk, Poland
2
Department of Marine Electrical Power Engineering, Gdynia Maritime University, Morska 81-87, 81-225 Gdynia, Poland
*
Author to whom correspondence should be addressed.
This paper is an extended version of our paper published in: Palczynska, B.; Masnicki, R.; Mindykowski, J. Harmonics detection in frequency sparse signal. In Proceedings of the 2019 IMEKO TC-19 International Workshop on Metrology for the Sea, Genoa, Italy, 3–5 October 2019.
Submission received: 15 April 2020 / Revised: 6 May 2020 / Accepted: 9 May 2020 / Published: 11 May 2020

Abstract

:
The contribution of this paper is to show the opportunities for using the compressive sensing (CS) technique for detecting harmonics in a frequency sparse signal. The signal in a ship’s electrical network, polluted by harmonic distortions, can be modeled as a superposition of a small number of sinusoids and the discrete Fourier transform (DFT) basis forms its sparse domain. According to the theory of CS, a signal may be reconstructed from under-sampled incoherent linear measurements. This paper highlights the use of the discrete Radon transform (DRT) techniques in the CS scheme. In the reconstruction algorithm section, a fast algorithm based on the inverse DRT is presented, in which a few randomly sampled projections of the input signal are used to correctly reconstruct the original signal. However, DRT requires a very large set of measurements that can defeat the purpose of compressive data acquisition. To acquire the wideband data below the Nyquist frequency, the K-rank-order filter is applied in the sparse transform domain to extract the most significant components and accelerate the convergence of the solution. While most CS research efforts focus on random Gaussian measurements, the Bernoulli matrix with different values of the probability of ones is applied in the presented algorithm. Preliminary results of numerical simulation confirm the effectiveness of the algorithm used, but also indicate its limitations. A significant advantage of the proposed approach is the speed of analysis, which uses fast Fourier transform (FFT) and inverse FFT (IFFT) algorithms widely available in programming environments. Moreover, the data processing algorithm is quite simple, and therefore memory usage and burden of the data processing load are relatively low.

1. Introduction

The electric power quality (PQ) in a ship system is described by the set of parameters characterizing a process of generation, distribution, and utilization of electrical energy in all operation states of the ship (maneuvering, sea voyage, staying in port) and its impact on the operation and safety of the ship as a whole. This set of parameters under consideration covers two aspects [1]:
  • parameters describing the risk of loss of power supply continuity, and
  • parameters of voltage and currents at all the points of the analyzed system.
Parameters of the first group are essential, but the second group of parameters is significantly better recognized in the area under consideration. Nevertheless, electrical energy must first and foremost be delivered to the consumers, and then its parameters can be evaluated. Bearing in mind the aforementioned assumption, parameters of the first group are mainly associated with correct distribution of active and reactive loads among generating sets working in parallel. A main goal of their control is to avoid the “black-out” phenomenon, resulting from apparent overloading of the ship power station. Parameters of the second group are mainly expressed by the coefficients of rms (root mean square) voltage value and its frequency deviations, coefficients of voltage asymmetry, and coefficients characterizing the shape of voltage and current waveforms, which characterize the distortion of supply voltage from the sinusoidal wave. There are phenomena occurring in ship electrical power systems that can barely be detected by measuring devices in current usage. The suitable estimation of the properties of voltage in the system under consideration requires a wide range of data of steady- and non-steady-state disturbances. The occurrence of various kind of interference is strictly related to different stages of the ship’s exploitation. The variations of rms value of voltage and its frequency over switching from shaft generator to diesel propelled generator on a ro-ro ship (a roll-on/roll-off ship used to carry wheeled cargo) are depicted in Figure 1. For example, Table 1 presents the results of statistical analysis of parameters obtained from measurements on a ferry during maneuvering, in a network with a nominal voltage of 380 V (instantaneous and rms voltage values were obtained for a time interval of 2048 samples within 40 min). The corresponding probability density functions of assuming instantaneous values are shown in Figure 2. In addition to non-steady phenomena, there are steady-state phenomena such as harmonics (Figure 3). The usually description of harmonic distortion is done by means of total harmonic distortion (THD) or/and factors of respective harmonics content (Table 2). Therefore, tests are needed for a relatively long period of the ship’s exploitation processes in various electrical power plant configurations. According to the recently updated International Association of Classification Societies (IACS) requirements [2], newly built ships are to be equipped with devices to continuously monitor the levels of harmonic distortion, while the PQ factors should be measured on existing ships annually under seagoing conditions. The related measurements, therefore, result in the need to collect a large amount of digital data, which in turn leads to a huge memory occupancy and burden in data processing.
A promising solution could be the implementation of a compressing sensing (CS) technique for data acquisition, and further, the use of appropriate algorithms for data reconstruction.
The main idea of CS is to combine sampling and compression of the signals that are sparse or compressible, either in their original domain or in a certain transformed domain. Differently from the typical approach, a new CS technique provides an estimate of the examined signal from a small number of linear incoherent measurements [5,6,7,8]. The linear projection values of the original signal are acquired by a measurement matrix directly with a lower sampling rate than the Nyquist frequency. The sampling frequency does not depend on the signal bandwidth, but on the structure and contents of the information in the signal. The essential assumption in the CS approach is that most of the signals in real applications have a sparse representation in a transform domain, which means a few coefficients are significant, while the rest are negligible or zero. Many of the signals appearing in real applications have a sparse representation in the discrete Fourier transform (DFT) domain [9,10,11,12]. Another relevant condition of the CS technique is the incoherence between measurement (observation) basis and domain in which the signal has a sparse representation.
Recent research on the CS technique indicates the possibility of accurate signal frequency analysis [13,14]. CS is widely used in diverse fields, e.g., biomedical applications, communication systems, and pattern recognition, as well as electrical PQ estimation [15,16]. Various new techniques for identifying and estimating harmonic sources in electricity supply systems have been presented in the literature [17,18,19,20,21,22,23,24,25,26,27,28]. The papers [17,18,19,20,21] concern the distributed monitoring of harmonic and interharmonic pollution in electrical power delivery systems. In order to reduce implementation costs, the authors propose a distributed architecture, based on cost-effective nodes that use the CS strategy. Some papers [22,23,24,25,26,27,28] consider the different methods of compressive sampling and innovative CS algorithms for reconstruction of the PQ interference signal.
There are many CS reconstruction algorithms in the literature that present different approaches for finding a sparse estimation of the original input signal, based on a minimum number of measurements, and characterized by interference resistance, speed, complexity, good performance, etc. One type of reconstruction method is based on the Bayesian framework, where the posterior density function of the sparse solution is estimated [29]. This approach to CS constitutes the reconstruction as a Bayesian inference problem and is applicable for the input signals that fit some known probability distribution. Bayesian compressive sensing (BCS) can be used to estimate the time–frequency spectrum of a nonstationary signal [30]. A certain type of BCS approach is the Monte Carlo Bayesian compressive sensing (MC-BCS) method, which is distinguished by the fact that it numerically evaluates the posterior sparse solution [31].
In many cases, reconstruction algorithms perform moderately at low measurement rates and are computationally expensive. In practice, the purpose of measurement is not always to perfectly reconstruct the input signal, but to determine some of its parameters. Recent advances in the areas of CS have shown that effective inference is possible directly from the compressive measurements, without reconstruction, using correlational features [32]. This idea is currently developed in computational imaging [33,34,35]. A good research direction might be to consider the possibility of using this approach for harmonic detection. However, the contribution of the present paper is the CS reconstruction algorithm, which allows obtaining a satisfactory accuracy of harmonic detection based on a much smaller number of measurements than in the classic approach.
This paper proposes the application of a fast reconstruction procedure based on the CS technique for detecting harmonics in a tested signal. The procedure uses random projections as measurements. The measurement matrix, generated from Bernoulli’s random variables, allows recovering the signal with high accuracy. The ℓ1-minimization problem in the CS signal reconstruction is solved by means of discrete Radon transform (DRT) techniques with the use of the K-rank-order filter in the signal’s sparse domain to accelerate the solution convergence.
The organization of the remainder of this paper is as follows. Section 2 discusses the CS framework in three aspects: the sparsity of the signal, the sensing process, and the reconstruction condition. Section 3 explains the algorithmic implementation of the reconstruction procedure based on DRT techniques. Section 4 shows the preliminary results of simulation obtained for the selected multitone signals. A brief discussion is carried out in Section 5. Finally, concluding remarks are formulated in Section 6.

2. Compressive Sensing Framework

The idea of CS is to recover high dimension sparse or compressible signals through low dimension measurements. Three main issues form the basis of the CS theory. The first is seeking the domain of sparsity, in which a signal can be represented by a few significant components, compared to the total signal length. Another important issue concerns the design of an appropriate measurement matrix that directly affects the results of the signal reconstruction. The last deals with the implementation of the reconstruction algorithm, which performs the sparse estimation of the original input signal, from compressive measurements.

2.1. Sparse Representation

Suppose that the real signal x R N has a K-sparse representation in an orthonormal transformation basis ψ R N × N . This means that the signal can be expanded to K nonzero coefficients in basis ψ (K≪N). The approximation of x can be expressed as follows [5]:
x = i = 1 N a i · ψ i = ψ · a ,
where a R N represents the sparse transform domain coefficients of signal x.
Taking into account a multicomponent signal that consists of K sinusoids, it can be described by:
x n = 1 N k = 1 K X k · exp ( j · 2 π N · n · k ) .
When the sinusoids are of infinite extent, Equation (2) presents the K-sparse representation of such a signal in terms of DFT, since:
X k = n = 1 N x n · exp ( j · 2 π N · n · k ) ,
where Xk is a vector of DFT coefficients wherein K coefficients, at most, are nonzero.
The transformation matrix, ψ , created on the Fourier basis is determined by [9]:
ψ n , k = 1 N exp ( j · 2 π N · n · k ) .
In this paper, the transformation domain is defined directly by the discrete Fourier transform.

2.2. Sensing Process

The measurement process is modelled by projections of the signal x onto vectors { φ 1 , , φ M } forming the measurement matrix φ R M × N . The vector of acquired samples y R M is defined as [5]:
y = [ y 1 y M ] = [ φ 11 φ 1 N φ M 1 φ M N ] · [ x 1 x N ] = φ · x .
The number of measurements M is much smaller than the length of the input signal N, which at the same time is greater than the level of sparsity K. The transformation matrix ψ (related to the sparsity of the signal) and the measurement matrix φ (used in the measurement procedure) must be incoherent to ensure adequate reconstruction. The coherence measure is described by [7]:
μ ( φ , ψ ) = N · max 0 i , j N | φ i , ψ j | .
The coherence takes values from the interval [7]:
1 μ ( φ , ψ ) N .
The coherence should be as small as possible.
In the paper, the random Bernoulli matrix as the measurement matrix is used to ensure the incoherence of bases [36,37]. It is created by a pseudorandom pattern of ones and zeros that guarantees the Bernoulli distribution, described by the probability density function, over possible outcomes k:
f ( k ; p ) = p k ( 1 p ) 1 k         f o r         k { 0 , 1 } ,
where p is the ones probability of Bernoulli distribution, 0 p 1 .
Then, the acquisition process is described by following expression [36]:
y = φ , x = j = 0 N 1 φ i , j · x j ,
where φ i , j is the (i, j)th entry of the random binary matrix φ .
Taking into account Equation (1), the measurement signal y becomes [11]:
y = φ · ψ · a = Θ · a ,
where Θ R M × N is a reconstruction (sensing) matrix, in the form of:
Θ = [ φ 11 φ 1 N φ M 1 φ M N ] · [ ψ 11 ψ 1 N ψ M 1 ψ M N ] = [ 0 1 1 1 ] · [ ψ 11 ψ 1 N ψ M 1 ψ M N ] .
Finally, the sensing matrix represents a partial random inverse Fourier transform matrix obtained by omitting rows from the transformation matrix ψ , which corresponds to unavailable sample positions. In this case, the relation of coherence µ, with number of measurements M is given by [13]:
M c μ K log N K ,
This expression reveals that a lower coherence value is desirable, resulting in fewer measurements required for the CS reconstruction.

2.3. Reconstruction Condition

To ensure reconstruction of the sparse signal x from compressive measurements y, the inverse problem of Equation (5) should be solved, which gives an infinite number of possible solutions. Consequently, optimization algorithms based on the 1-norm minimization are commonly applied [8]:
a ^ = arg min a 1         s u b j e c t   t o   y = Θ · a ,
where a ^ denotes the estimate of a and a 1 means 1-norm of a .
According to Equation (13), the estimation of the input signal can be made as [12]:
x ^ = φ · ( Θ T · Θ ) 1 · Θ T · y ,
where ( Θ T · Θ )−1 is the pseudoinverse matrix of product of matrices.

3. Reconstruction Algorithm

Searching for a solution to Equation (14), one should solve a set of equations with a non-quadratic system matrix. The solution of the normal Equation (14) can be interpreted in formalism of the direct reconstruction method based on discrete Radon transform (DRT) and inversion of the discrete Radon transform (IDRT) techniques [38,39,40]. Using the Radon transform scheme along with the matrix formalism implies ordinary matrix operations have equivalent Radon transform operations.

3.1. Relationship between Matrix Operations and the Radon Transform

The Radon transform R(p,q) of two-dimensional function g(x,y) is found by stacking or integrating values of g along slanted lines. The location of the line is determined from the line parameters slope, p, and line offset, τ [38].
R ( p , q ) [ g ( x , y ) ] = g ( x , τ + p x ) d x .
By sampling four variables [38]:
x = x m = x min + m Δ x ,     m = 0 , 1 , , M 1 y = y n = y min + n Δ y ,     n = 0 , 1 , , N 1 p = p k = p min + k Δ p ,     k = 0 , 1 , , K 1 τ = τ h = τ min + h Δ τ ,     h = 0 , 1 , , H 1
where xmin, ymin, pmin, τmin represents the position of the first sample, and Δx, Δy, Δp, Δτ represents the sampling distance.
The Radon transform can be approximated by the DRT using a nearest neighbor approximation in the y direction, hence [38]:
g ( k , h ) = Δ x m = 0 M 1 g ( m , n ( m ; k , h ) )
in which [38]:
n ( m ; k , h ) = [ p k x m + τ h y min Δ y ] ,
wherein the expression in [ ] means rounding the argument to nearest integer.
Suppose the matrix g ( k , h ) is converted to a vector [38]:
b i = b k H + h = g ( k , h ) ,
And
x j = x n M + m = g ( m , n ) ,
the Radon transform can be written in the form [38]:
b = A x ,
where A R I × J is the non-quadratic transformation matrix, and I = KH, J = MN.
The solution of Equation (21) can be interpreted in the formalism of the direct reconstruction methods:
x = ( A T A ) 1 A T b .
There are several reconstruction schemes for the inversion of DRT based on linear algebra, such as iterative methods, e.g., the algebraic reconstruction technique (ART), the conjugate gradient (CG) algorithm, and the expectation maximization (EM) algorithm. On the other hand, it uses the Fourier slice theorem, which allows the Fourier transform of the projection data to be considered as discrete samples of the object in the Fourier domain. In this case, the sensing matrix (Equation (11)) can be considered an under-sampled discrete Fourier operator [40].

3.2. Radon’s Inversion Formula

Considering the sensing acquisition process described in Equations (9) and (10), as standard projections onto single scalar measurements, to recover the input signal x the maximum likelihood reconstruction method with EM algorithm is applied [38]. The maximum likelihood estimator of x based on a random sample is the sample mean, so the reconstruction formula is defined as [41]:
x ¯ = 1 1 + i j = 0 i 1 1 var j y j · φ j ,
where var means a variance of random distribution, for Bernoulli distribution var j = p j ( 1 p j ) .
The algorithm works in a loop, and in each iteration, it checks whether Equation (23) converges. The processing loop stops when the threshold t meets the given condition [41]:
0 t | y i | | y i | + | y i φ i , x ^ i | 1 ,
where x ^ i is the estimate of xi at the ith iteration, defined as [41]:
x ^ i = F 1 { R a n k ( F { x ¯ } ) } ,
where Rank (*) symbolizes a K-rank-order filter.
The K-rank-order filter is applied in the Fourier domain to accelerate the convergence. The filter operates in the following way. Let’s consider an input vector X k = F { x ¯ } = [ X 1 , , X N ] . First, the filter sorts the input array with the values arranged in descending order. Then, it extracts the K most significant components from the input vector and assigns zeros to the remaining places. As a result, the computational burden of the inverse Fourier transform, performed in the next step, is reduced.

4. Numerical Simulations

The simulations were performed using a virtual instrument designed based on an accessible application in the LabVIEW environment [32]. As an example, a multi-tone signal with fundamental harmonic 50 Hz was simulated, according to the parameter sets shown in Table 3. In presented exemplary results of simulations, sparsity level K was set to 7. The sampling frequency was equal to 10 kHz and the length of the time window was equal to 1000 samples. The time waveform and sparse representation of the tested signal in the Fourier domain is presented in Figure 4.
First, the influence of the value of the ones probability p on the level of quality of a signal reconstruction and the number of iterations (measurements) was examined. For a fixed t-threshold level of 99%, the value p was changed in the range of 0.01 to 0.9 (Figure 5). The simulation results show that depending on the value of p the algorithm converges for a different number of iterations. With an assumed t-threshold, the loop stops more quickly at the lowest p-values, with an approximate accuracy of 99.67%. The algorithm achieves the best reconstruction accuracy for a p-value of 0.5 but with the largest number of measurements. Comparing the segments of time waveforms of the original signal and reconstructed signal (Figure 5) for the parameters probability p, accuracy, and the number of iterations, we can preliminarily conclude that the most optimal case occurs at p = 0.3, for which, at 490 iterations, the accuracy is in the order of 99.8%.
In the case of generating the tones with the slightly different levels of amplitude (set 1), the algorithm identifies harmonics with accuracy above 97%. The most accurate signal reconstruction (99.32%) is obtained for 210 sampled measurement signals, acquired with the ones probability p equal to 0.3 (Figure 6).
For the multi-tone signal with different levels of amplitude (set 2), the reconstruction based on 280 measurements and the same features of the measurement matrix does not allow the correct detection of all harmonics (Figure 7).
The proper reconstruction requires twice as many measurements, i.e., 400. The scenario with the dominant fundamental harmonic (set 3) shows that 500 sampled measurements are not sufficient to identify all components in the frequency domain (Figure 8). The algorithm incorrectly detects 7th harmonics. Analyzing the results of simulations carried out for set1, set2 and set3, respectively, shown in Figure 6, Figure 7 and Figure 8, and bearing in mind the data listed in Table 1, we may conclude that increasing the number of measurements results in better efficiency of harmonic identification. In this case, the number of random samples reaches 800.
To study the effect of noise on the efficiency of signal reconstruction, white Gaussian noise is added to obtain a signal to noise ratio (S/N) of 20 dB. Figure 9 shows the result of a sparse reconstruction of a multi-tone waveform with insignificant differences of amplitude levels (set 1) for 210 iterations (measurements). The presence of noise adversely affects the correct identification of harmonics. In the case of set 2, in which one tone is characterized by a much higher amplitude level, adding noise does not affect the detection of harmonics (Figure 10). Noise interference distorts the precision of the spectral analysis of a multi-tone signal when there is a strong dominant component in the signal (set 3).
Performing a spare signal reconstruction allows for more accurate detection of harmonics in the signal (Figure 11). Taking into account the results of simulation with the additive noise corresponding to the appropriate data sets shown in Figure 9, Figure 10 and Figure 11, we may formulate a preliminary opinion that accurate detection of harmonics is only possible with a very large number of iterations in the measurement algorithm, but the number of measurements is still smaller than when using the classic approach.

5. Discussion

5.1. Reconstruction Accuracy

For the reconstruction of one-dimensional sparse signals, the mean square error (MSE) is adopted as the reconstruction performance metric:
M S E = Ε [ x ^ x 2 2 ] .
As shown in Figure 12, the MSE values depend on the compression ratio (M/N), and therefore on the number of measurements obtained. In addition, the effect of the actual distribution of randomly taken samples on the quality of the reconstruction can be seen. Suppose MSE = 0.15 as a threshold to distinguish between successful and unsuccessful reconstruction. It can be noted that most values of the ones probability p below 0.1 do not allow effective signal reconstruction (Figure 12b). In the presented simulations, the compression ratio equal to 0.1 means that for the input signal length of 1000 samples, 100 iterations should be performed. The measurement algorithm determines the condition of stopping the processing loop (Equation (24)), which refers to the accuracy of the input signal recovery. For small p-values, the algorithm converges quickly, resulting in less than 80% accuracy.

5.2. Frequency Detection Accuracy

The main issue for spectral detection of a multi-toned waveform is to distinguish the individual sinusoidal component in the frequency domain. In the DFT algorithm, coefficients obtained from a sequence of N samples, taken at sampling interval ΔT = 1/fs, are determined on a discrete frequency grid whose step size Δf is equal to 1/NΔT. This determines the minimum theoretical frequency separation at which two frequency components can be determined. For example, a 5 Hz frequency resolution is required to evaluate THD or harmonic contents in the ship’s electrical network. The suggested observation time is 200 ms (equal to 10T0 for 50 Hz systems or 12T0 for 60 Hz systems). In the CS-DFT approach, only M < N samples of the input signal are taken but they should represent 10 periods of the input signal to ensure the required resolution of the analysis. As shown in Figure 13, the accuracy of frequency detection for lower harmonics practically does not depend on the compression ratio for its value above 0.1. However, both in the case of reconstruction accuracy and in a case of frequency detection accuracy, the minimum number of measurements (minimum value of the compression ratio) can be specified for which it is possible to correctly detect frequency components. An effective detection of higher harmonics, for a fixed frequency resolution of analysis, requires a greater number of iterations.

5.3. The Computation Burden

The code was executed on an Intel (R) Core (T) i7-2600 CPU @ 3.4 GHz processor with 8 GB RAM. The CPU load during the running algorithm was estimated with software Process Lasso [42] (Figure 14). The computer burden did not exceed 15%.
The running time of a reconstruction algorithm was appointed based on 100 trials for different numbers of iterations, which means different reconstruction error. For compression ratios in the range from 0.1 to 0.2, the performance time of the algorithm was about 520 ms (Figure 15). In Table 4, several algorithms are compared for computational recovery time required for Fourier-based CS measurements [27,43]. CS convex optimization algorithms and greedy algorithms are considered for reconstruction accuracy equal to 80%. Taking into account the processing time, the presented algorithm runs much faster than optimization algorithms but slightly slower than greedy algorithms.
The preliminary results of numerical simulations performed using the fast reconstruction algorithm show the limitations of effective reconstruction based on the CS method. The reconstruction accuracy is good in the case of multi-tone signals consisting of components whose amplitude levels do not differ significantly. The application of the presented reconstruction algorithm to the signal, in which the dominant harmonic occurs, requires the pre-conditioning of the input signal. This consists of the rejection of the fundamental component from the examined waveform. The accuracy of the reconstruction is also influenced by the properties of the random measurement matrix. While most studies to date have focused on Gaussian random measurements, this paper investigated the performance of a matrix with a Bernoulli distribution. The Bernoulli matrix with different values of the ones probability p was used in the presented simulations. Small p-values, e.g., equal to 0.1, means the probability when each element of the measurement matrix has a 10% chance of being one and a 90% chance of being zero. A lower value of the p parameter of the Bernoulli distribution results in a sparser solution. At the same time, the number of iterations (measurements) is reduced, which results in a less-accurate reconstruction. The optimal p-value of 0.3 was determined, based on the simulations carried out.

6. Conclusions

In ship operations, effective resource management is crucial to its proper functioning. In view of the multitude of measurements on a ship, the search for effective means for their implementation is of great importance. One approach to reduce the load on memory and data processing systems is to use the CS technique.
Preliminary results of the simulations carried out confirmed that the key advantage of the proposed approach is the high speed of analysis, which uses software algorithms widely available in programming environments. Furthermore, the data processing algorithm is quite simple, and therefore memory consumption and burden in data processing are relatively low.
The future task of the planned research is to improve and develop the procedures presented with an extension to a real object investigation in a ship environment.

Author Contributions

Conceptualization, B.P. and R.M.; methodology, B.P.; software, B.P.; validation, B.P., R.M. and J.M.; formal analysis, B.P.; investigation, B.P.; resources, J.M.; data curation, B.P.; writing—original draft preparation, B.P.; writing—review and editing, B.P., R.M. and J.M.; visualization, B.P.; supervision, J.M. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
CSCompressive Sensing
PQPower Quality
IACSInternational Association of Classification Societies
DFTDiscrete Fourier transform
FFTFast Fourier Transform
DRTDiscrete Radon Transform
IDRTInversion of the Discrete Radon Transform

Nomenclature

x R N real signal
Nlength of signal
Mnumber of compressive measurements
Ksize of sparsity
ψ R N × N transformation matrix
a R N sparse transform domain coefficients
Xkvector of DFT coefficients
φ R M × N measurement matrix
y R M vector of acquired samples
μ ( φ , ψ ) coherence
Θ R M × N reconstruction (sensing) matrix
a ^ estimate of a
a 1 1 norm of a
pthe ones probability of the Bernoulli distribution

References

  1. Mindykowski, J. Contemporary challenges to power quality in ship. In Proceedings of the 22nd IMEKO TC4 International Symposium & 20th International Workshop on ADC Modelling and Testing, Iasi, Romania, 14–15 September 2017. [Google Scholar]
  2. International Association of Classification Societies. Requirements Concerning Electrical and Electronic Installations, Harmonic Distortion for Ship Electrical Distribution System including Harmonic Filters. Available online: http://www.iacs.org.uk/publications/unified-requirements/ur-e/ur-e24-rev1-cln/ (accessed on 10 May 2020).
  3. Palczynska, B.; Tarasiuk, T. Method of measurement of voltage properties on bus bars of ship’s main switchboard—tools and preliminary results. Polish Marit. Res. 2000, 2, 8–11. [Google Scholar]
  4. Palczynska, B.; Spiralski, L.; Turczynski, J. The new method of interference assessment in low-voltage power supply lines. In Proceedings of the 11th IMEKO TC-4 Symposium—Trends in Electrical Measurement and Instrumentation, Lisbon, Portugal, 13–14 September 2001. [Google Scholar]
  5. Candes, E.; Wakin, M. An Introduction to compressive sampling. IEEE Signal Process. Mag. 2008, 25, 21–30. [Google Scholar] [CrossRef]
  6. Baraniuk, R.G. Compressive sensing. IEEE Signal Process. Mag. 2007, 24, 118–124. [Google Scholar] [CrossRef]
  7. Davenport, M.A.; Boufounos, P.; Wakin, M.; Baraniuk, R. Signal Processing With Compressive Measurements. IEEE J. Sel. Top. Sig. Proces. 2010, 4, 445–460. [Google Scholar] [CrossRef]
  8. Donoho, D. Compressed Sensing. IEEE Trans. Inf. Theory 2006, 52, 1289–1306. [Google Scholar] [CrossRef]
  9. Duartea, M.F.; Baraniuk, R.G. Spectral compressive sensing sparse signal. Appl. Comput. Harmon. Anal. 2013, 35, 111–129. [Google Scholar] [CrossRef]
  10. Palczynska, B.; Masnicki, R.; Mindykowski, J. Harmonics detection in frequency sparse signal. In Proceedings of the 2019 IMEKO International Workshop on Metrology for the Sea (MetroSea 2019), Genova, Italy, 3–5 October 2019. [Google Scholar]
  11. Palczynska, B. Signal Reconstruction from Sparse Measurements Using Compressive Sensing Technique. In Lecture Notes in Electrical Engineering; Springer: Berlin/Heidelberg, Germany, 2019. [Google Scholar]
  12. Andráš, I.; Dolinský, P.; Michaeli, L.; Saliga, J. A time domain reconstruction method of randomly sampled frequency sparse signal. Measurement 2018, 127, 68–77. [Google Scholar] [CrossRef]
  13. Rani, M.; Dhok, S.B.; Deshmukh, R.B. A Systematic Review of Compressive Sensing: Concepts, Implementations and Applications. IEEE Access 2018, 6, 4875–4894. [Google Scholar] [CrossRef]
  14. Palczynska, B.; Swisulski, D. Sparse representation of a non-stationary signal in compressive sensing technique. Przegląd Elektrotechniczny 2019, 11, 66–68. [Google Scholar]
  15. Tang, G.; Hou, W.; Wang, H.; Luo, G.; Ma, J. Compressive Sensing of Roller Bearing Faults via Harmonic Detection from Under-Sampled Vibration Signals. Sensors 2015, 15, 25648–25662. [Google Scholar] [CrossRef] [Green Version]
  16. Palczynska, B. Identification of Non-Stationary Magnetic Field Sources Using the Matching Pursuit Method. Energies 2017, 10, 655. [Google Scholar] [CrossRef]
  17. Kustanovich, Z.; Levron, Y. Applications of compressed sensing for locating harmonic distortions in power systems. In Proceedings of the 2015 IEEE International Conference on Microwaves, Communications, Antennas and Electronic Systems (COMCAS), Tel Aviv, Israel, 2–4 November 2015. [Google Scholar]
  18. Bonavolontà, F.; D’Apuzzo, M.; Liccardo, A.; Miele, G. Harmonic and interharmonic measurements through a compressed sampling approach. Measurement 2016, 1–15. [Google Scholar] [CrossRef]
  19. Bonavolonta, F.; D’Arco, M.; Ianniello, G.; Liccardo, A.; Schiano, R.; Moriello, L.o.; Ferrigno, L.; Laracca, M.; Miele, G. On the suitability of compressive sampling for the measurement of electrical power quality. In Proceedings of the 2013 IEEE International Instrumentation and Measurement Technology Conference (I2MTC), Minneapolis, MN, USA, 6–9 May 2013. [Google Scholar]
  20. Carta, D.; Muscas, C.; Pegoraro, P.A.; Sulis, S. Harmonics detector in distribution systems based on compressive sensing. In Proceedings of the 2017 IEEE International Workshop on Applied Measurements for Power Systems (AMPS), Liverpool, UK, 20–22 September 2017. [Google Scholar]
  21. Carta, D.; Muscas, C.; Pegoraro, P.A.; Sulis, S. Identification and Estimation of Harmonic Sources Based on Compressive Sensing. IEEE Trans. Instrum. Meas. 2019, 68, 95–104. [Google Scholar] [CrossRef]
  22. Yang, L.; Fang, J.; Duan, H.; Li, H. Fast Compressed Power Spectrum Estimation: Toward a Practical Solution for Wideband Spectrum Sensing. IEEE Trans. Wirel. Commun. 2020, 19, 520–532. [Google Scholar] [CrossRef] [Green Version]
  23. Angrisani, L.; Bonavolonta, F.; D’Apuzzo, M.; Schiano, R.; Moriello, L.; Vadursi, M. A compressive sampling based method for power measurement of band-pass signals. In Proceedings of the IEEE International Instrumentation and Measurement Technology Conference (I2MTC), Minneapolis, MN, USA, 6–9 May 2013. [Google Scholar]
  24. Manikandan, M.S.; Samantaray, S.R.; Kamwa, I. Detection and Classification of Power Quality Disturbances Using Sparse Signal Decomposition on Hybrid Dictionaries. IEEE Trans. Instrum. Meas. 2015, 64, 27–38. [Google Scholar] [CrossRef]
  25. Zhao, H.; Irshad, M.J.; Shi, H.; Xu, W. Passive Source Localization Using Compressive Sensing. Sensors 2019, 19, 4522. [Google Scholar] [CrossRef] [Green Version]
  26. Palczynska, B. Fast harmonics identification based on a compressive sensing approach. Przeglad Elektrotechniczny 2019, 11, 69–71. [Google Scholar]
  27. Wang, X.; Tian, L.; Gao, Y.; Hou, Y. Analysis of power quality disturbance signal based on improved compressed sensing reconstruction algorithm. In Proceedings of the 2017 IEEE Transportation Electrification Conference and Expo, Asia-Pacific (ITEC Asia-Pacific), Harbin, China, 7–10 August 2017. [Google Scholar]
  28. Huang, S.; Sun, H.; Yu, L. A Class of Deterministic Sensing Matrices and Their Application in Harmonic Detection. Circuits Syst. Signal. Process 2016, 35, 4183–4194. [Google Scholar] [CrossRef] [Green Version]
  29. Xue, S.; Ji, Y.; Carin, L. Bayesian Compressive Sensing. IEEE Trans. Signal Process. 2008, 56, 2346–2356. [Google Scholar] [CrossRef]
  30. Liu, S.; Zhang, Y.D.; Shan, T.; Tao, R. Structure-Aware Bayesian Compressive Sensing for Frequency-Hopping Spectrum Estimation with Missing Observations. IEEE Trans. Signal Process. 2018, 66, 2153–2166. [Google Scholar] [CrossRef]
  31. Kyriakide, I.; Pribić, R. Bayesian compressive sensing using Monte Carlo methods. In Proceedings of the 21st European Signal Processing Conference (EUSIPCO 2013), Marrakech, Morocco, 9–13 September 2013. [Google Scholar]
  32. Lohit, S.; Kulkarni, K.; Turaga, P. Direct inference on compressive measurements using convolutional neural networks. In Proceedings of the 2016 IEEE International Conference on Image Processing (ICIP), Phoenix, AZ, USA, 25–28 September 2016. [Google Scholar]
  33. Kulkarni, K.; Turaga, P. Reconstruction-Free Action Inference from Compressive Imagers. IEEE Trans. Pattern Anal. Mach. Intell. 2016, 38, 772–784. [Google Scholar] [CrossRef] [PubMed]
  34. Kwan, C.; Chou, B.; Yang, J.; Tran, T. Deep Learning Based Target Tracking and Classification for Infrared Videos Using Compressive Measurements. J. Signal Inf. Process. 2019, 10, 167–199. [Google Scholar] [CrossRef] [Green Version]
  35. Kwan, C.; Chou, B.; Yang, J.; Rangamani, A.; Tran, T.; Zhang, J.; Etienne-Cummings, R. Deep Learning-Based Target Tracking and Classification for Low Quality Videos Using Coded Aperture Cameras. Sensors 2019, 19, 3702. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  36. Nouasria, H.; Ettolba, H. New constructions of Bernoulli and Gaussian sensing matrices for compressive sensing. In Proceedings of the 2017 International Conference on Wireless Networks and Mobile Communications (WINCOM), Rabat, Morocco, 1–4 November 2017. [Google Scholar]
  37. Zhang, G.; Jiao, S.; Xu, X.; Wang, L. Compressed sensing and reconstruction with Bernoulli matrices. In Proceedings of the 2010 IEEE International Conference on Information and Automation, Harbin, China, 20–24 June 2010. [Google Scholar]
  38. Toft, P.A. The Radon Transform—Theory and Implementation. Ph.D. Thesis, Technical University of Denmark, Kgs. Lyngby, Denmark, 1996. [Google Scholar]
  39. Aharchaou, M.; Levander, A. A compressive sensing approach to the high-resolution linear Radon transform: Application on teleseismic wavefields. Geophys. J. Int. 2016, 207, 811–822. [Google Scholar] [CrossRef]
  40. Ou, G.; Lun, D.; Ling, B. Compressive sensing of images based on discrete periodic Radon transform. Electron. Lett. 2014, 50, 591–593. [Google Scholar] [CrossRef]
  41. Perez, L. Compressive Data Acquisition with LabVIEW. Available online: https://forums.ni.com/t5/Example-Programs/Compressive-Data-Acquisition-with-LabVIEW/ (accessed on 2 April 2020).
  42. Process Lasso. Real-Time CPU Optimization and Automation. Available online: https://bitsum.com/ (accessed on 30 April 2020).
  43. Mishra, A.K.; Verster, R.S. Compressive Sensing Based Algorithms for Electronic Defence; Springer: Berlin/Heidelberg, Germany, 2017. [Google Scholar]
Figure 1. Exemplary voltage and frequency deviations on a ro-ro ship over changing of power plant configuration [3].
Figure 1. Exemplary voltage and frequency deviations on a ro-ro ship over changing of power plant configuration [3].
Sensors 20 02744 g001
Figure 2. The probability density functions of (a) rms voltage and (b) frequency in a ferry’s 380 V network during maneuvering [4].
Figure 2. The probability density functions of (a) rms voltage and (b) frequency in a ferry’s 380 V network during maneuvering [4].
Sensors 20 02744 g002
Figure 3. The voltage waveforms in (a) 220 V ferry network and (b) 400 V network supplied by a shaft generator on a ro-ro ship [3].
Figure 3. The voltage waveforms in (a) 220 V ferry network and (b) 400 V network supplied by a shaft generator on a ro-ro ship [3].
Sensors 20 02744 g003
Figure 4. The results of simulation for set 1: (a) the segment of time waveform; (b) discrete Fourier transform (DFT) components of input signal.
Figure 4. The results of simulation for set 1: (a) the segment of time waveform; (b) discrete Fourier transform (DFT) components of input signal.
Sensors 20 02744 g004
Figure 5. The segments of time waveforms of the original (white line) and reconstructed signal (dotted yellow line) for following parameters: p, accuracy and the number of iterations, respectively: (a) 0.01, 99.67%, 308; (b) 0.1; 99.56%, 330; (c) 0.3, 99.76%, 490; (d) 0.5, 99.99%, 690; (e) 0.8, 99.9%, 406; (f) 0.9, 99.39%, 384.
Figure 5. The segments of time waveforms of the original (white line) and reconstructed signal (dotted yellow line) for following parameters: p, accuracy and the number of iterations, respectively: (a) 0.01, 99.67%, 308; (b) 0.1; 99.56%, 330; (c) 0.3, 99.76%, 490; (d) 0.5, 99.99%, 690; (e) 0.8, 99.9%, 406; (f) 0.9, 99.39%, 384.
Sensors 20 02744 g005aSensors 20 02744 g005b
Figure 6. The results of simulation for set 1: (a) the segments of time waveforms of the original (white line) and reconstructed signal (dotted yellow line); (b) DFT components of the reconstructed signal.
Figure 6. The results of simulation for set 1: (a) the segments of time waveforms of the original (white line) and reconstructed signal (dotted yellow line); (b) DFT components of the reconstructed signal.
Sensors 20 02744 g006
Figure 7. The results of simulation for set 2: (a) the segments of time waveforms of the original (white line) and reconstructed signal (dotted yellow line); (b) DFT components of the reconstructed signal.
Figure 7. The results of simulation for set 2: (a) the segments of time waveforms of the original (white line) and reconstructed signal (dotted yellow line); (b) DFT components of the reconstructed signal.
Sensors 20 02744 g007
Figure 8. The results of simulation for set 3: (a) the segments of time waveforms of the original (white line) and reconstructed signal (dotted yellow line); (b) DFT components of the reconstructed signal.
Figure 8. The results of simulation for set 3: (a) the segments of time waveforms of the original (white line) and reconstructed signal (dotted yellow line); (b) DFT components of the reconstructed signal.
Sensors 20 02744 g008
Figure 9. The results of simulation for the input signal (set 1) with the additive noise: (a) the segments of time waveforms of the original (white line) and reconstructed signal (dotted yellow line); (b) DFT components of the reconstructed signal. The number of measurements is equal to 210.
Figure 9. The results of simulation for the input signal (set 1) with the additive noise: (a) the segments of time waveforms of the original (white line) and reconstructed signal (dotted yellow line); (b) DFT components of the reconstructed signal. The number of measurements is equal to 210.
Sensors 20 02744 g009
Figure 10. The results of simulation for the input signal (set 2) with the additive noise: (a) the segments of time waveforms of the original (white line) and reconstructed signal (dotted yellow line); (b) DFT components of the reconstructed signal. The number of measurements is equal to 400.
Figure 10. The results of simulation for the input signal (set 2) with the additive noise: (a) the segments of time waveforms of the original (white line) and reconstructed signal (dotted yellow line); (b) DFT components of the reconstructed signal. The number of measurements is equal to 400.
Sensors 20 02744 g010
Figure 11. The results of simulation for the input signal (set 3) with the additive noise: (a) the segments of time waveforms of the original (white line) and reconstructed signal (dotted yellow line); (b) DFT components of the reconstructed signal. The number of measurements is equal to 788.
Figure 11. The results of simulation for the input signal (set 3) with the additive noise: (a) the segments of time waveforms of the original (white line) and reconstructed signal (dotted yellow line); (b) DFT components of the reconstructed signal. The number of measurements is equal to 788.
Sensors 20 02744 g011
Figure 12. Mean square error (MSE) versus compression ratio for different values of the ones probability p, (a) in a full range, (b) for a threshold of MSE = 0.15.
Figure 12. Mean square error (MSE) versus compression ratio for different values of the ones probability p, (a) in a full range, (b) for a threshold of MSE = 0.15.
Sensors 20 02744 g012
Figure 13. The accuracy of frequency detection versus compression ratio.
Figure 13. The accuracy of frequency detection versus compression ratio.
Sensors 20 02744 g013
Figure 14. The graphical user interface of Lasso software.
Figure 14. The graphical user interface of Lasso software.
Sensors 20 02744 g014
Figure 15. The running time versus compression ratio.
Figure 15. The running time versus compression ratio.
Sensors 20 02744 g015
Table 1. The statistical properties of rms voltage and frequency in the network of a ferry [4].
Table 1. The statistical properties of rms voltage and frequency in the network of a ferry [4].
StatisticsRMS Voltage (V)Frequency (Hz)
mean389.09749.778
standard deviation2.3370.044
mode382.3949.78
Table 2. Exemplary harmonic contents of analysed signals [3].
Table 2. Exemplary harmonic contents of analysed signals [3].
Harmonic OrderHarmonic Contents in Signal from Figure 3a (%)Harmonic Contents in Signal from Figure 3b (%)
20.20.0
30.10.0
52.90.1
71.70.3
110.20.1
130.10.2
230.00.5
250.01.6
THD3.41.8
Table 3. The parameters of the input signals.
Table 3. The parameters of the input signals.
Harmonic OrderAmplitude (V/V)
Set 1Set2Set 3
11050100
3666
5444
7222
Table 4. Average running time of reconstruction algorithms [27,43].
Table 4. Average running time of reconstruction algorithms [27,43].
Name of AlgorithmK SparsityRun Time (s)
1-Least Squares (L1-LS) Regularization Algorithm 1-14.37
Fixed Point Continuation (FPC) Method 1-8.66
Orthogonal Matching Pursuit (OMP) 2100.19
Compressive sampling matching pursuit (CoSaMP) 2100.28
Presented in the paper70.54
11-norm -fast algorithm, 2 greedy algorithm.

Share and Cite

MDPI and ACS Style

Palczynska, B.; Masnicki, R.; Mindykowski, J. Compressive Sensing Approach to Harmonics Detection in the Ship Electrical Network. Sensors 2020, 20, 2744. https://0-doi-org.brum.beds.ac.uk/10.3390/s20092744

AMA Style

Palczynska B, Masnicki R, Mindykowski J. Compressive Sensing Approach to Harmonics Detection in the Ship Electrical Network. Sensors. 2020; 20(9):2744. https://0-doi-org.brum.beds.ac.uk/10.3390/s20092744

Chicago/Turabian Style

Palczynska, Beata, Romuald Masnicki, and Janusz Mindykowski. 2020. "Compressive Sensing Approach to Harmonics Detection in the Ship Electrical Network" Sensors 20, no. 9: 2744. https://0-doi-org.brum.beds.ac.uk/10.3390/s20092744

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop