#### Abstract

For modeling and controlling dynamic phenomena it is important to establish with higher accuracy some significant quantities corresponding to the dynamic system. For fast phenomena, such significant quantities are represented by the derivatives of the received signals. In case of advanced computer modeling, the received signal should be filtered and converted into a time series corresponding to the estimated values for the dynamic system through a sampling procedure. This paper will show that present-day methods for computing in a robust manner the first derivative of a received signal (using an oscillating system working on a limited time interval and a supplementary differentiation method) can be extended to the robust computation of higher order derivatives of the received signal by using a specific set of second-order oscillating systems (working also on limited time intervals) so as estimative values for higher-order derivatives are to be directly generated (avoiding the necessity of additional differentiation or amplifying procedures, which represent a source of supplementary errors in present-day methods).

#### 1. Introduction

For modeling and controlling dynamic phenomena it is important to establish with higher accuracy some physical quantities corresponding to the dynamic system. Usually this procedure is based on signal processing method applied upon the signal received from the dynamic system, implying some filtering methods (for noise rejection). In case of advanced computer modeling, the filtered signal should be converted further into a time series corresponding to the estimated values for the dynamic system through a sampling procedure. Many times these filtering and sampling devices consist of lowpass filters represented by asymptotically stable systems, the sampling moment of time being set after the transient regime of the filtering device has passed.

However, for fast phenomena, significant quantities are represented by the derivatives of the received signals. Usually the derivatives of a received signal (where represents the useful part of the signal, and represents the noise) are computed by filtering the received signal and dividing the difference between the filtered values of the signal at two consecutive sampling moments of time by the time difference between these time moments (for first order derivative), by dividing the difference between the values of first-order derivative by the same time difference (for the second-order derivative), and so on. Yet this method requires very good filtering properties, while any difference in sampled values can drastically affect the estimation for the derivative.

The average value of the first derivative can be approximated by and can be estimated by the mathematical operation where represents the filtered values of the received signal (as has been shown). In the ideal case, should be equal to . This cannot be achieved. For avoiding significant errors the difference should be estimated with higher accuracy. This implies that the filtered values should be close to the values of the useful part of the received signal .

As a consequence, the filtering device should reject the noise (supposed to present fast variation as compared to the variations of the useful part ) in a significant manner. For this purpose, the filtering and sampling devices based on asymptotically stable systems can be improved. They have the transfer function (for a first-order system) and (for a second-order system). They attenuate an alternating signal of angular frequency (corresponding to noise) about times (for a first-order system) or about times (for a second-order system). The response time of such systems at a useful signal is about ( for the first-order system and for the second-order system). If the signal generated by the first- or second-order system is integrated over such a period, a supplementary attenuation for the alternating signal of about can be obtained.

However, such structures are very sensitive at the random variations of the integration period (for unity-step input, the signal, which is integrated, is equal to unity at the sampling moment of time). Even if we use oscillators with a very high accuracy, such random variations will appear due to the fact that the integration is performed by an electric current charging a capacitor. This capacitor must be charged at a certain electric charge necessary for further conversions; this electric charge cannot be smaller than a certain value , while it has to supply a minimum value for the electric current necessary for conversions on the time period required by these conversions, the relation being valid. So the minimum value for the electric current charging the capacitor in the integrator system is determined by the relation where is the integration period required by the application (knowing the sampling frequency , we can approximately establish using the relation ). So the current charging the capacitor cannot be less than a certain value; thus random variations of the integration period will appear due to the fact that the random phenomena are generated when a nonzero electric current is switched off.

#### 2. Specific Aspects of Using Oscillating Systems for Filtering the Received Signal

The disadvantage of using asymptotically stable systems (previously mentioned) can be avoided by using an oscillating second-order system having the transfer function working on the time interval (see [1] for more details). For initial conditions equal to zero, the response of the oscillating system at a step input with amplitude will have the form By integrating this result on the time interval , we obtain the result , and we can also notice that the quantity which is integrated and its slope are equal to zero at the end of the integration period. Thus the influence of the random variations of the integration period (generated by the switching phenomena) is practically rejected. Analyzing the influence of the oscillating system upon an alternating input, we can observe that the oscillating system attenuates about times such an input. The use of the integrator leads to a supplementary attenuation of about times. The oscillations having the form generated by the input alternating component have a lower amplitude and generate a null result after an integration over the time interval . As a conclusion, such a structure provides practically the same performances as a structure consisting of an asymptotically stable second-order system and an integrator (response time of about , an attenuation of about times for an alternating component having frequency ) moreover being less sensitive at the random variations of the integration period. It is the most suitable for the operation where . The difference can be further divided by a constant value (corresponding to ) so as to estimate the first-order derivative . For restoring the initial null conditions after the sampling procedure (at the end of the working period) some electronic devices must be added (see [2] for more details).

However, this method presents a major disadvantage: the filtering devices can generate an electronic voltage corresponding to within a certain range (less than 10 Volts, usually). This means that the difference would correspond to a small voltage, implying the necessity of amplifying this voltage so as to achieve a result in a certain range (suitable for modeling, controlling, and data acquisition). This represents a supplementary source of errors (the resolution being limited by the resolution of the operation ). It implies the necessity of using an oscillating second-order system so as the result of the integration on a working interval corresponds to the derivative of the useful part of the received signal (if possible).

#### 3. Analog Signal Processing Methods Suitable for Derivative Procedures

A general mathematical method for obtaining the derivatives of the useful part of a received signal in a robust manner (with good filtering properties and also with a good resolution, avoiding a supplementary amplification of the difference between two previously sampled values) consists in using a signal processing device with the transfer function which can be also written as The degree of the denominator polynomial must be greater or equal to the degree of numerator polynomial so as the transfer function is to be implemented using electronic devices; this means that (as can be easily noticed).

The output of this signal processing system for an input corresponding to (the Laplace transformation of the time function ) is represented by which can be also written as or which represents a set of multiplication of a unity step input by transfer functions .

This means that it can be written as or (in a general form) until As was shown in previous paragraph, the function will be represented by a unity step function and by an alternating function (which can be also written as , where the angular frequency ). This represents the input for the transfer function . Its output will be represented by the sum of the output of this transfer function for a unity step input and the output of this transfer function for the input . The output generated by the unity step input will be represented once again by an unity step function and by an alternating function with angular frequency ; the output generated by this transfer function for the alternating input with angular frequency will be represented by a sum of two alternating functions with angular frequencies and , respectively. It results that can be written as (there are just three terms because alternating functions with the same angular frequency were grouped together in ).

The whole procedure can continue by analyzing the output of the transfer function for the input represented by . It results that a unity step output will appear once again, together with three alternating components with angular frequencies , , and , respectively. This means that can be written as where . In the general form, the output can be written as or (it can be noticed that the coefficient and phase corresponding to a certain angular frequency are changed from to at each step due to the mixture of alternating functions with the same angular frequency generated by the transfer function for input represented by a sum of the unity step function and by alternating functions with angular frequencies , (as was shown for , where certain functions with the same angular frequency were grouped together)). Finally, the output of the signal processing system (at step ) will be represented by function which can be written as or By integrating this function on a time interval represented by a multiple of all time periods (this means that any ratio should be expressed by a rational number) the influence of all alternating components vanishes. As a consequence, the result of the integration will be for a received signal corresponding to which has been processed by . This means that the result is proportional to the derivative of order of the received signal (supposed to have the form ).

The analysis of the action of transfer function upon an input represented by (corresponding to the time function ) can be considered as According to Laplace transformation properties, the operator corresponds to a derivative procedure applied times upon a certain function. Since corresponds to the sum of a step function and a set of alternating components previously presented, it results that the output corresponding to the input can be represented as But the derivatives of a constant function equal zero, and the derivatives of alternating functions of certain angular frequency are represented also by alternating functions with the same angular frequency. This means that the integration of this function on the time interval represented by a multiple of all time periods will generate a null result. As a consequence, if the received signal can be written as a sum (according to properties of Taylor series), the action of a transfer function is represented by The integration of the output of this filtering device on a time interval represented by a multiple of all time periods will generate a result proportional to , being proportional to the derivative of order of the received signal. Thus this signal processing method based on a set of oscillating second-order systems and an integrator can generate a sequence of sampling values corresponding to the th derivative of the received signal at the end of each working interval, the derivative of order being transformed into a time series suitable for modeling, control, and/or data acquisition. Filtering properties are still good, as long as any angular frequency corresponding to noise ( is several times greater than any angular frequencies from the set .

We must point the fact that certain limitations appear as the order of the derivative to be estimated increases.

(i) For a great number of alternating functions, it is quite possible for the maximum value of the sum of alternating functions of angular frequencies (part of to become several times greater than the constant part of (corresponding to the derivative to be estimated); so the resolution of the method decreases (the voltage range of estimated derivative decreases since it represents a small part of the maximum voltage allowed by electronic devices).

(ii) Taylor series for was restricted to terms. This means that the influence of derivatives of order on the integration period was neglected. This approximation should be carefully checked in any signal analysis.

#### 4. Conclusions

This paper has presented a possibility of obtaining the derivatives of the received electrical signal using a filtering device consisting of a sequence of certain oscillating second-order systems and an integrator. The oscillating systems are working on a time period for filtering a received electrical signal, with initial null conditions. The output of this system is integrated over a time period corresponding to a multiple of all time periods of the second-order systems which are part of the signal processing device (at the end of this period the integrated signal being sampled). The influence of all alternating components is rejected due to the integration performed on a multiple of all time periods, and thus the final result corresponds to the integration of a constant function which is proportional to the derivative having to be estimated. The proposed method has shown that present-day methods for computing in a robust manner the first derivative of a received signal (using an oscillating system working on a limited time interval and a supplementary differentiation method) can be extended to the robust computation of higher-order derivatives of the received signal by using a specific set of second-order oscillating systems (working also on limited time intervals) so as estimative values for higher order derivatives are to be directly generated (avoiding the necessity of additional differentiation or amplifying procedures, which represent a source of supplementary errors in present-day methods). It can be used for decreasing the phase delay for signal processing methods, but without using a weighted sum of real and filtered derivatives of the received signal, as in [3]. The proposed method is similar to other attempts for computing the derivative without using additional procedures (see also [4] where the need of sampled and digitised data is avoided).

In future studies, the analysis will continue by trying to use nonlinear dynamical equations able to generate practical test functions for estimating in robust manner and with greater accuracy the derivatives of the signal transmitted by dynamic systems (see [5] for general properties of nonlinear differential equations able to generate practical test functions). The results presented in this paper can be extended for modeling phenomena described by partial differential equations as traveling waves and wavelets inside certain materials [6, 7] or as general transformations of waves when the material reference system is changed (see [8] for classical field of interaction and [9] for quantum field of interaction) due to advantages presented by the accurate estimation of higher-order derivatives. It could be also used for integrating derivative procedures in procedures of analyzing time series (as presented in [10–12]) or directly into machine learning algorithms or emergent dynamic routing by establishing certain sampling moments (see [13, 14]).