1. Introduction
Wavelet transform (WT) algorithms find their practical applications in many areas. They are used, among others, in finance, medicine, power engineering, geology and computer science computations [
1,
2,
3,
4]. The continuous wavelet transform (CWT) algorithm, described in more detail in the textbook [
5], in the case of processing a time-varying signal
, the implementations of which belong to the domain of real numbers, is presented by the equation:
where
is wavelet transform coefficient calculated for scale parameter
a and time shift parameter
b, where
,
and
is the mother wavelet function. In case of discrete wavelet transform (DWT) there is an additional limitation for available scale and shift parameters values as
,
for
where
m is scale number and
n is shift number (window number) [
5]. Contemporary literature describes many types of wavelets, but not always for each mother wavelet function
the equation of this function is defined explicitly (usually the description of the family includes assumptions regarding the mutual relations of the scaling factors
related to the selected wavelet [
6,
7]).
The wavelet transform algorithm is therefore a tool that allows signal analysis simultaneously in the frequency and time domains. The possibility of using various wavelets enables adjustment of the properties of this algorithm to the specificity of the analyzed phenomenon or process. Unfortunately, the above-mentioned features mean that the analysis of the properties of metrological measurement chains that use the discussed algorithms in their structure is not easy, which is why it is often omitted, as was the case, for example, in [
8,
9,
10]. It should be noted that the person using these algorithms is usually an expert in the field of the phenomenon under study and does not have an expert knowledge in the field of wavelet transform algorithms. Omitting the analysis of the metrological properties of the algorithm used, which constitutes a very important part of the measurement chain, makes it impossible to estimate the uncertainty budget of this chain, which means that decisions made on the basis of the value of the output values may be inappropriate.
Currently, no proposals for a unified error model have been presented in the literature that would adequately describe the metrological properties of measurement chains using the wavelet transform algorithm. The authors’ previous works assumed the presentation of the wavelet transformation algorithm in a matrix form and indicated how to identify the values of the transformation matrix in the case of an existing implementation of any algorithm. However, the proposed method requires the indication of the uncertainty budget for the input quantities of the algorithm used, and therefore it is necessary to present an error model of a part of the measurement chain, which is the source of the input quantities of the wavelet transform algorithm. This algorithm is usually the last part of the measurement chain.
Taking into account the indicated comments and the current state of knowledge, the article proposes a general error model suitable for measurement chains containing wavelet transform algorithms in their structure. This model is based on the definition of the error signal and assumes the division of error signals due to their properties. The purpose of using the proposed model is to enable the determination of the uncertainty budget for the input values of the WT algorithm in such a way that it is possible to apply the previously proposed description of the impact of this algorithm on the errors contained in the signal it processes and ultimately determine the uncertainty budget of the entire measurement path. In addition to theoretical considerations describing the proposed error model, the paper also contains tips regarding the practical application of this model. For the purpose of this work, an exemplary measurement chain was created, for which the parameters of the indicated error model were identified and the uncertainty budget of the input quantities of the WT algorithm was determined.
2. Definition of the Signal Error and Its Properties
Errors contained in the processed measurement signal can be divided in many ways, but in the most general case, random and deterministic errors can be distinguished [
11]. Random errors result from the implementation of a stochastic process, the operation of which cannot be described in a deterministic way. Such errors can therefore only be described using a probabilistic description, since the course of the error signal is unknown. The second group of errors is deterministic errors, the origin of which usually results from the nonideal transmittance of a fragment of the measurement chain located in front of the wavelet transformation algorithm. These errors can be described by an appropriate equation, which can be derived knowing the model of the measurement chain and the estimated spectrum of the processed signal.
A slightly more detailed division in the literature includes groups of static, dynamic and random errors [
12]. This division refers to the nature of the error from the size of the point of view of the measurement window. The realizations of the static error within the measurement window do not change (or change slightly), and therefore the transmittance of subsequent fragments of the measurement chain does not affect the propagation of these errors. In the case of dynamic and random errors, their implementation changes within the measurement window, while, unlike random errors, dynamic errors can be described in a deterministic way.
In the general case, the error signal
for the quantity
can be defined as the difference between the ideal
and the actual
course of this quantity:
In addition to the time course of the presented error signal, which may not always be possible to indicate, this signal will also be associated with parameters such as: variance, expected value, probability density distribution of obtaining the indicated value of the realization of this signal and expanded uncertainty, depending on the adopted confidence level [
13]. Each fragment of the measurement chain, by processing the signal in question, can modify the indicated parameters in accordance with its properties. Additionally, the analyzed signals may be mutually correlated, which should also be taken into account during the analysis. From the point of view of the process of creating the uncertainty budget, the most important information will be the signal variance
, the associated standard uncertainty
and the expanded uncertainty
, depending on the value of the standard uncertainty
and the expansion coefficient
, depending on the shape of the density function of the probability of occurrence of selected values of the error signal
[
13]. Therefore, it can be noted that the course of the
signal itself does not have to be known to be able to develop an uncertainty budget.
As wavelet transform algorithms constitute a set of filters with a specific transmittance resulting from the adopted algorithm parameters, the parameters of signal errors should be analyzed in the frequency domain [
14,
15,
16]. In the case of non-deterministic signals, the relationship between the variance values of these signals as a function of pulsation should be determined, as presented, among others, in [
17], while in the case of deterministic signals, the resultant value of the variance for the selected pulsation of the resulting deterministic error signal should be indicated. Assuming that
can be described as the sum of the successive harmonics
of this signal and
is described by the equation:
where
is pulsation of
i-th harmonic of this signal,
is the amplitude and
is the phase shift of the harmonic corresponding to pulsation
. In the real case, however, it is assumed that the signal
disturbed by the resultant error signal
can be presented as:
According to equation (
5) the resultant error signal
related to the signal
can be divided into components related to the share of random errors
(non-deterministic) and a component related to deterministic errors which, in turn, can be divided into static
and dynamic
. Due to the above assumptions, describing the single
n-th harmonic of the error signal
with the equation:
the variance of the analyzed error component in the case when
can be determined according to the relation [
18,
19]:
In the absence of correlation of the successive components of the error signal, the resulting error variance is equal to the sum of the error variances [
13]. However, under certain conditions these waveforms are correlated with each other, and therefore these correlations should be taken into account, which is discussed in the next section, presenting the method of determining the parameters of the resultant error, which is the result of all partial error waveforms.
Based on equation (
7), it is possible to introduce an additional division due to the nature of the error waveform. For a pulsation value close to zero, successive realizations of the error within a single measurement window will not change. Therefore, this error can be classified into the group of static errors described as:
assuming
. In cases where subsequent implementations will change significantly, these waveforms should be classified as dynamic errors. For errors of a static nature, attention should be paid to the fact that their variance within a single measurement window will be zero, while for subsequent measurement implementations within multiple measurement windows, it will be nonzero when these errors occur. Therefore, this group of errors can be analyzed separately. In further considerations, it is assumed that in the case of a dynamic error signal
, all harmonics of this signal with non-zero pulsation will be analyzed, while the role of the constant component
of this signal, the value of which may change for subsequent window numbers measurement, will be analyzed within the static error signal
.
According to the properties of WT algorithms, described earlier in [
17], in the case of random error signals, the only important information is the value of the variance
of the resulting random error signal
contained in the input quantities
of the algorithm used. This value can be determined by knowing the variance values of the subsequent components of the random error signal and the values of the correlation coefficients of these signals based on equation [
13]:
where
is the variance of the
i-th random error signal
and
is the Pearson correlation coefficient for the pair of signals
and
equal to:
where
is variance of signal
. The indicated property of WT algorithms results from the assumptions of the central limit theorem and the fact that these algorithms process many samples of the same input quantity [
3,
12,
13,
17,
20].
In the case of deterministic error signals, each component of these signals should be analyzed separately, but in the case of dynamic error signals, it is possible to determine the resulting variance value for the selected pulsation value. The first case considered is a situation where there are several error components with the same pulsation, but with different phase shifts and amplitudes. The papers [
14,
20] propose how to determine the variance of the resultant error in this case, while the presented method does not allow to determine the resultant phase shift, the knowledge of which is sometimes necessary in the case of analyzing subsequent fragments of the measurement chain. Therefore, the paper proposes the use of the description of successive
N harmonics of the error signal with the same pulsation in the vector form:
on the basis of which the resultant vector for the error signal can be determined in the form:
Then, the resultant amplitude and phase shift for the error signal with the analyzed pulsation can be determined in the form:
The correlation coefficient of successive error signals composed in this way can be determined on the basis of their phase shift, which is described by the equation [
19]:
where
i and
j are the harmonic indexes of the error signal for which the correlation coefficient
is determined, assuming
.
It is also necessary to consider the combination of the received error signals with different pulsations, where
occurs. In this case, there is no need to consider the correlation of the successive components of the error signal, because they are linearly independent of each other and therefore uncorrelated [
14] unless they are caused by the same phenomena. A universal way to determine the variance of the resultant error, which proves the above thesis, is the method described by equation [
14,
18]:
where
N is the number of components of the error signal. To determine the variance of the resultant error
of all its harmonics, it is also possible to apply equation (
10) where correlation coefficients are equal to:
Assuming that these quantities represent variances of the successive harmonics of the dynamic error signal, determined in accordance with equation (
8), the values of successive correlation coefficients are zero, which results from the previously described linear independence of these waveforms [
19]. It should be noted that according to equation (
10) it is possible to determine the resultant variance of the error signal composed of both signals with identical and different pulsations: for the same pulsation value, the value of the correlation coefficient is determined according to equation (
16), while for different pulsation value, the value of the correlation coefficient is equal to zero, as described in equation (
18).
From the point of view of analyzing the metrological properties of the WT algorithm and its impact on the identified error signals, it is necessary to determine:
value of the variance of the resultant random error signal ;
the values of the variances of the subsequent components of the static error signal , and if it is necessary to determine the expanded uncertainty, the shape of the distribution of the realization of these signals should be indicated;
variance values of subsequent components of the dynamic error .
Determining the resultant parameters for subsequent groups of error signals or determining the parameters of the resultant error signal is not necessary, but the analysis of the impact of the WT algorithm on the resultant error signal is impossible without knowledge about the component parameters of this signal.
3. Measuring Chain Error Model
Considering the properties of the measurement chain that depend on the transmittance of fragments of this chain, it is worth analysing these properties in the frequency domain. This approach enables a deterministic description of influence of the transmittance on the input and processing of errors, while this description takes into account the spectrum of the processed measurement signal [
18]. Let us assume that the analyzed measurement chain processes a physical quantity that changes over time, marked as
. This quantity is converted by the analog part of this circuit into a voltage signal
, which in the quantization process is converted into its discrete representation. Subsequent samples of this signal are marked with the symbol
. The
signal is sampled with the frequency
, and
N samples of this signal are taken in the measurement window, and next applied to the input of the stage computing the discrete wavelet transform algorithm. The algorithm discussed provides the output of the measuring chain which is a vector of
M output quantities, marked as
. The block diagram of the measuring chain is shown in
Figure 1.
Further, the signal
processed by the measurement chain is described as:
where
is the pulsation of the
i-th harmonic of this signal,
is the amplitude and
is the phase shift of the selected harmonic of this signal with pulsation
. In the real case, the signal
that is disturbed by the resultant error signal
can be represented as:
where
is the amplitude and
s the phase shift of the selected harmonic of the error signal, and
is the signal associated with a random error. It is assumed that in equations (
19) and (
21) the constant component of the described signals constitutes harmonics with index
, where
and
. The properties of the signal in question must be determined at the stage of designing the measurement path or identified in the case of an existing chain, which will be presented in an example later in this paper.
3.1. Analog Part of the Measurement Chain
The analog part of the measurement circuit, which converts the signal
into its voltage representation, marked as
, can be described by a model using the transmittance
and the processing function
in accordance with the diagram shown in
Figure 2. Based on the proposed scheme, the output quantity
of the object can be described as:
where
s the resultant error signal included in the output quantity
and will be discussed in more detail later in this paper.
Knowing the transmittance
it is possible to determine the gain
and the phase shift
as a function of pulsation:
and based on the gain
, it is possible to determine the variation
of the processed signals at the output of the fragment representing the dynamic properties of the object in accordance with the relationship [
19]:
where
is the variance of the signal
as a function of pulsation. The presented relationship can be used to determine the variance in both random and deterministic signals. According to the diagram presented in
Figure 2 the quantity
can be described as:
where subsequent harmonics of this quantity are described by the equations:
where
is the ideal and
the real gain value, while
is the ideal and
the real phase shift. Analyzing equation () two components of this equation can be distinguished. The first component corresponds to the propagation of the ideal signal
s(
t) through the analyzed fragment and, due to the imperfection of this object (i.e. the discrepancy between the ideal
and the real
transmittance of the object), is responsible for own signal error introduced into the signal
. The second component is related to the propagation of the error signal contained in the processed quantity
through the analyzed part of the object.
In the case of static error signals, which are part of the resultant error signal
, whose subsequent realization values do not change during a single measurement window, the following relationships can be written:
where
is the own static error signal and
is the static error signal propagated by the part of the object related to its dynamic properties. The dynamic error self signal
introduced into the
signal can be expressed as the sum of the subsequent harmonics of this signal as:
The dynamic error signals contained in the input signal
are propagated to the output of the analyzed part of the object in such a way that they are amplified and shifted, which is described by the equation:
where
is the dynamic error signal propagated from the input to the output of the fragment representing the dynamic properties of the analyzed fragment of the object. For propagated random error signals
, it is impossible to determine the deterministic form of these signals, and therefore only their variances should be determined based on equation (
27). In order to determine the average value of the variance
of the signals of propagated random errors in the pulsation interval
, it is possible to use the equation [
18]:
however, this activity should be carried out only at the last stage of the analysis, where subsequent fragments of the measurement chain will not affect the spectrum of the processed random error signals. The error signals contained in the quantity
described so far constitute the resultant error signal
associated with this quantity, with:
The symbol denotes an additional component constituting a random error introduced by the object, the variance of which is marked with the symbol .
Next, the signal
is processed according to the object processing function
, therefore:
It should be noted that the real form
of the discussed function may actually differ from the ideal form
assumed by the designer of the measurement chain. In the real case we can write:
where
is a function that takes into account selected quantities disturbing the process of determining the value of quantity
(e.g. environmental parameters). Based on equation (
39), one can distinguish the own error signal
, which results directly from the imperfection of the object processing function, and the own error signal
, which results from the participation of disturbing factors. These signals can be described as:
The error signal
will be deterministic if the form of the function
is known. Otherwise, it is possible to describe its parameters in a probabilistic category. The nature of the error signal
will depend on the properties of the analyzed object. In the case of the influence of environmental parameters on the measurement process, it can be assumed that these values will be slowly changing, hence this signal will usually be included in the group of static error signals. The variance of the signal at the output of the fragment representing the static properties of the object can, in general, be described by the equation [
19]:
where
is the expected value of signal realization
. If the processing function of the object is a linear equation in the form
this analysis is simplified. By denoting the slope coefficient of the presented equation with the symbol
, which can be identified with the sensitivity of the analyzed object, equation (
42) takes the form [
19]:
It is important that the shift parameter
b has no effect on the variance of the object’s output signal. If the processing function described is additive (when
occurs for any parameters
a and
b belonging to the domain of this function), it is possible to analyze each of the error signals
included in the signal
separately. In this case it may be written:
If the actual form of the processing function is not known, the ideal form of this function should be used in the calculations. This operation will result in incorrect estimation of error signal parameters, but is not possible in any other way.
The presented relationships make it possible to determine the parameters of error signals at the output of the analyzed object, both when the object processes errors existing in the input signal and when it introduces its own errors resulting from the imperfections of its properties. It should be noted that direct knowledge of the transmittance of the object is not necessary - to perform the analysis, it is enough to estimate the actual gain and phase shift related to the dynamic properties of the object as a function of pulsation.
3.2. Properties of the Analog-to-Digital Converter
The analog-to-digital converter (ADC) has a discrete set of possible output values, and therefore introduces an error
related to quantization into the output signal
(where
,
and
). This error can be described in the form [
21]:
where
q is the value of a single quantum and
is the value of the ADC output for the input voltage value equal to
x, expressed in the unit of the input quantity. It can be noticed that the realization values of the discussed error signal depend on the realization values of the ADC input quantities. According to the research results presented in [
12,
21,
22,
23], this correlation can be neglected. Therefore, it is proposed to describe the signal
associated with the
i-th realization of the quantization error using an uncorrelated additive noise model with the same probability of obtaining each of the possible realization values in the interval:
therefore, the variance of this signal can be determined according to the relationship [
13]:
Given the above assumptions, in the ideal case the output value
of the ADC can be given by the equation:
where
is the selected time at which the input signal
was sampled. In the real case, the quantity
can be described as:
The resulting error signal
at the output of the ADC can therefore be described as:
where
is the error signal related to the rounding operations introduced in accordance with equation (
45), the variances of which are described by equation (
47), while
is an additional self-error signal. Moreover, for an ideal quantizer system
. Therefore, the variance
of the signals at the output of the A/D converter can be described by the equation:
where
is the variance of the signal at the object input. These assumptions allow us to assume that the analyzed object has no influence on the form of processed error signals:
where
is the error signal at the output of the ADC related to the error signal
at its input. The validity of the adopted assumptions was demonstrated, among others, in [
17,
21].
In the case of a real ADC, it is necessary to determine the parameters of the self-error signal, and this error most often results from ADC integral nonlinearity, differential nonlinearity, gain error, zero error, heterogeneity of the internal structure of the converter, or imperfection of the reference voltage source [
24,
25]. Additionally, parameters related to the sample-and-hold circuit (S/H) should be considered separately. In this case, the model proposed for the analog part of the measurement chain, the parameters of which will be appropriate for the S/H circuit will be used.
3.3. Digital Part of the Measurement Chain
If the input values of the wavelet transformation algorithm are processed by an additional object implementing digital-to-digital (D/D) or simply purely digital processing, it is proposed to describe the properties of this object in the same way as for the analog part of the measurement chain. The transmittance of the object
in the
domain should be transformed by substituting
, as described in [
14]. The further part of the analysis is analogous to the described case of the analog part of the measurement chain, so it will not be considered further in this article.
4. Application of the Proposed Analysis Method
To verify the presented thesis, a prototype of a measuring circuit processing a time-varying voltage signal
from the range
} was built. The first part of the measurement chain is an amplifier which adjusts the parameters of the processed signal
to the operating range of the ADC. This amplifier has a transmittance
, responsible for introducing dynamic errors into the processed signal which can be described in a deterministic way. The output signal
of the amplifier is processed by the ADC, whose successive output samples
are processed by the discrete wavelet transform algorithm. The diagram of the measurement circuit is shown in
Figure 3. The target gain of the analog part is
, and the phase shift
should be zero. The processed signal is sampled with a constant frequency of
, and on the basis of
samples of the input value,
samples of the output values of the measurement chain are determined. The additional D/D conversion element converts the original output signal
of the ADC into output samples
where
, which in effect eliminates the static gain of the measuring amplifier. According to presented assumptions the
quantity, which is a data source for the DWT algorithm, can be described as:
where static gain
and
is described in next part of paper.
The exemplary measurement circuit was built on the basis of the STM32F411 microcontroller and the 12-bit built-in ADC [
26]. The DWT algorithm was implemented using the DSP instruction and the “CMSIS DSP” library [
27]. The amplifier was based on the MCP 6002 operational amplifier [
28], operating in a non-inverting configuration with a gain of 3.29V /V. The reference voltage source for the ADC and at the same time the power source of the operational amplifier was the LD33CV integrated circuit [
29]. The reference voltage was additionally filtered to reduce noise.
4.1. Deterministic Errors Sources
The first step of analysis is to determine static and dynamic error signals parameters. In case of constant environment parameters (temperature, pressure, humidity) it can be assumed that static errors don’t exists in presented system. In case of any possible change of described parameters it is necessary to describe how analyses parameter impact on measurement chain. In case of dynamic error the origin of this error will be the real transmittance
of the measuring amplifier, different from the transmittance
. Therefore, this transmittance must be determined or the parameters marked with equations (
25) and () should be determined by experiment. As the exact model of the operational amplifier used was unknown, an experiment was carried out in which using a sinusoidal signal was applied the input of the amplifier its gain and phase shift was measured. The source of
signal was RIGOL DG1011 arbitrary waveform generator [
30], while
and
signals parameters were measured with RIGOL DS5062MA DSO [
31] using mean value of 256 subsequent samples. For described experiment frequency of input signal
was in range
. The measurements enable determination of the relationship between the gain and the phase shift introduced by the applied measuring amplifier as a function of pulsation.
As none of the typical filter models was applicable in the described situation, on the basis of the obtained values, approximations of the tested characteristics were carried out using polynomials, using the least squares method, whereby:
where
is the gain, while
is the phase shift of the selected harmonic of the processed signal. The relations presented will enable the description of the waveform of the output signal of the measuring amplifier and, as a result, the determination of the waveform of the error signal introduced by this element.
Another dynamic error source is the S/H circuit at the input of the ADC. According to manufacturer’s data the S/H circuit can be described as two-stage low-pass passive RC filter [
25,
26]. The first filter stage is formed by internal impedance of the input voltage source and circuit capacitance. As the output impedance of the amplifier is relatively low, the influence of the first filter stage can be omitted [
13,
24,
25]. The second filter is formed by the ON resistance of the internal S/H switch and a capacitance of typical values 5k
and 6pF, respectively [
25,
26]. The resulting cutoff frequency of this filter is relatively high in comparison to the bandwidth of the amplifier so influence of the second filter can be neglected as well.
4.2. Random Errors Sources
In case of random error signals there are much more sources related with them and they occur in the whole measurement chain. It must be noticed that all phenomena, which deterministic description is not possible, must be considered as random error sources. This phenomena are i.e.: noise present in input signal, reference voltage and supply voltage, quantization errors, internal structure heterogeneity, integral error and differential error. As the analysis of all these phenomena separately is not possible without detailed knowledge of the parameters and internal structure of the components used, it is proposed to estimate the parameters of the resulting random error signal by performing an experiment described next.
In the experiment a nominally constant voltage was applied to the input of the measurement chain from a voltage source. Then, for the selected input voltage value, many implementation values of the quantity was taken. Based on the average obtained values of the realization of the quantity , it is possible to determine the static characteristics of the part of the measurement circuit including the amplifier and the measuring transducer, as well as to determine the inverse function for it, which will enable the reconstruction of the quantity in the form of the quantity . To do this, it is necessary to repeat the experiment for subsequent input voltage values.
The described experiment was carried out in each
k-th measurement series of 30000 values of the realization of the quantity
for the input voltage value in the range
, where this value changed by
for each measurement series. Based on the obtained values of the realization of the quantity
, the average value of these realizations
was determined for the
k-th measurement series. Then, on the basis of the obtained results, a linear approximation of the characteristics of the processing of the quantity
to the quantity
was performed:
where
is the set voltage value for the analyzed series of measurements. Assuming that the sensitivity of the quantity
with respect to the quantity
is 1 V/V, the estimated average value of
as a function of the value of
can be described as:
The voltage source of
signal used in the experiment was the RIGOL DG1011 arbitrary waveform generator [
30]. It was assumed that the errors introduced by the generator are negligible in relation to the errors arising in the analyzed section of the measurement chain.
It can be noticed that the static characteristic described by equation (
58) is a processing function for a part of the measurement chain that converts the quantity
into the quantity
. By determining the standard deviation for the differences between the measured realization values
and the values determined in accordance with equation (
58), the standard uncertainty value related to the nonlinearity of the discussed characteristic is obtained. Additionally, on the basis of all the realization values of the quantity
, it is possible to determine the histogram of the realization of the random error signal of this quantity, obtained under the experimental conditions.
Assuming that there were no non-random sources of error during the experiment (constant ambient conditions, constant input voltage for the analyzed series of measurements), the random error signal
related with quantity
can be described as:
while the random error signal
of quantity
can be described in the form:
Hence, based on the subsequent values of the error signal
and equations (
57) and (
58), the parameters of the error signal
can be estimated.
Figure 4a shows the graph of the characteristics given by equation (
57) obtained for the measurements, while part (
b) shows the histogram of the error signal realization values
calculated in accordance with equation (
59).
Based on the indicated histogram, it is possible to estimate the variance of this signal equal to and the associated standard uncertainty . Based on the shape of the histogram, it can be concluded that the distribution of the error signal in question is a normal distribution with zero expected value.
4.3. Model Application for a Monoharmonic Input Signal
Analyzing equations (
34) and (
35) in the case of non-ideal dynamic properties of the measurement path, it can be noticed that the parameters of the described signals will depend on the spectrum of the signal
processed by the measurement chain. The first example of the application of the proposed model concerns the case when this circuit processes a sinusoidal input signal with a given frequency
, amplitude
and direct-current (DC) component
. This signal can be described by the equation:
whereas in the experiment it is assumed that
. According to the assumptions that the environmental conditions do not change during subsequent measurement series and that the errors introduced by the arbitrary waveform generator used are negligibly small in relation to those introduced by the measurement chain, it can be assumed that
signal is not disturbed by any error signal, therefore
.
Based on equation (
55), it can be noted that in the frequency range
, the value of the amplification introduced by the measuring amplifier is constant and is compensated by the static playback algorithm, in accordance with equation (
58). It can therefore be concluded that the only important parameter from the point of view of the error model will be the value of the phase shift introduced by the measuring amplifier, which is the cause of the dynamic self-error signal, depending on the pulsation of the input signal. The signal in question can be defined based on equation (
34):
where
,
and the value of
is estimated according to polynomial (). The form of the error signal described in equation (
62) consists of two factors with the same frequency, the resultant parameters of which can be be estimated in accordance with the content of equations from (
12) to (
18). By transforming the indicated equations and taking into account the components of equation (
62), the variance of the dynamic error signal
can be determined in accordance with the relationship:
It can therefore be seen that the variance of the described signal depends on the signal frequency and its amplitude.
To summarize the considerations, the resultant error signal
of the input quantity of the DWT algorithm in the discussed case will consist of the random error signal
, the parameters of which were estimated in the previously, and the dynamic error signal
, whose parameters are estimated according to equation (
63) for the given signal parameters
. As the analyzed error signals are not correlated with each other, the variance of the resulting error signal
can be estimated according to equation [
13]:
To verify the validity of the indicated relationships, a Monte-Carlo measurement experiment was carried out, in which 30000 values of the
signal realization were collected each time. During the experiment, the source of the signal
was the RIGOL DG1011 arbitrary waveform generator [
30], and the initial phase of this signal was randomized from the interval
, and the generator’s synchronizing output was used to determine it. The frequency of the signal
was in the range
, while the parameters of this signal were constant and were
,
. Based on the obtained values of the realization of the quantity
, in accordance with equation (), the values of the error signal
were determined and the variances of this signal were calculated on their basis. The measured variance value
was compared with the value
determined according to equation (
64) and the relative error in estimating this value was calculated. The results for selected values of signal
pulsation are summarized in
Table 1, while calculated relative error values are also presented at
Figure 5.
4.4. Model Application for Poliharmonic Input Signal
In this section we assume that
is a triangle signal. According to the assumptions, the processed signal
can be described in the form:
where
is a DC component of the signal,
is the amplitude of the fundamental harmonic,
is signal phase,
is fundamental harmonic pulsation. In the experiment it was assumed that
. According to the previous assumptions, the parameters of the random error signal
remain identical to those of the monoharmonic signal. However, a significant difference is in the parameters of the dynamic error signal
, for which, according to equation (
34), the subsequent harmonics taken into account in equation (
65) should be analyzed. Therefore, for each harmonic
of the error signal
, its variance should be determined, similarly to the case of the monoharmonic signal. In the discussed case, for the
i-th harmonic it occurs:
wherein the amplitude for the
i-th harmonic is determined according to the relationship:
The value of variance for the resultant error signal
in the analyzed case can be determined according to the relationship:
however, it is proposed to analyze only those harmonics for which it occurs
for
(all harmonic component which frequency is less or equal Nyquist frequency). In order to verify the presented considerations, a measurement experiment using the Monte-Carlo method was carried out. In this case
was a triangle signal with a given frequency
in the range
with parameters
,
and a random initial phase. For the selected signal frequency values, 30000 samples of
were taken in order to determine the value of the error signal
based on equation (54). Based on the obtained measurement results, the actual value of the variance
of the analyzed error signal was determined and compared with the value
estimated on the basis of equation (
68). The obtained results are summarized in
Table 2. The source of
signal was RIGOL DG1011 arbitrary waveform generator [
30].