Mathematical Problems in Engineering

Volume 2008 (2008), Article ID 543457, 15 pages

http://dx.doi.org/10.1155/2008/543457

## Detection of Short-Step Pulses Using Practical Test-Functions and Resonance Aspects

Corner Soft Technologies, 23 George Macarovici St., Bucharest 6, 060142, Romania

Received 16 May 2008; Accepted 3 June 2008

Academic Editor: Ming Li

Copyright © 2008 Alexandru Toma and Cristian Morarescu. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

#### Abstract

An important aspect in modeling dynamic phenomena consists in measuring with higher accuracy some physical quantities corresponding to the dynamic system. Yet for measurements performed on limited time interval at high working frequency, certain intelligent methods should be added. The high working frequency requires that the measurement and data processing time interval should be greater than the time interval when the step input is received, so as to allow an accurate measurement. This paper will show that an intelligent processing method based on oscillating second-order systems working on limited time interval can differentiate between large step inputs (which are active on the whole limited time interval) and short step inputs (which are active on a time interval shorter than the limited working period). Some resonance aspects (appearing when the input frequency is close to the working frequency of the oscillating second-order system) will be also presented.

#### 1. Introduction

Filtering and sampling devices usually consist of asymptotically stable systems, sometimes an integration of the output over a certain time interval being added. Yet such structures are very sensitive at random variations of the integration period, being recommended for the signal which is integrated to be approximately equal to zero at the end of the integration period. For this reason, oscillating systems for filtering the received signal should be used, so as the filtered signal and its slope to be approximately zero at the end of a certain time interval (at the end of an oscillation). For avoiding instability of such oscillating systems on extended time intervals, certain electronic devices (gates) controlled by computer commands should be added, so as to restore the initial null conditions for the oscillating system before a new working cycle to start [1].

The filtering performances of asymptotically stable systems are determined by their transfer function. A filtering and sampling device consisting of low-pass filters of first or second order having the transfer function(for a first-order system) and(for a second-order system) attenuates an alternating signal of angular frequency about times (for a first-order system) or about times (for a second-order system). The response time of such systems at a continuous useful signal is about ( for the first-order system and for the second-order system). If the signal given 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.

But 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), and the use of oscillators with a very high accuracy cannot solve the problem due to switching phenomena appearing at the end of the integration period (when an electric current charging a capacitor is interrupted).

These random variations cannot be avoided if we use asymptotically stable filters. By the other hand, an improvement in an electrical scheme used for integrators in analog signal processing (see [2, 3]) cannot lead to a significant increasing in accuracy, as long as such electronic devices perform the same task (the system has the same transfer function). There are also known techniques for reducing the switching noise in digital systems, but such procedures can be applied only after the analog signal is filtered and sampled, so as to be prepared for further processing. So we must give attention to some other kind of transfer functions and to analyze their properties in case of filtering and sampling procedures, similar to wavelets analysis presented in [4, 5].

Mathematically, an ideal solution consists in using an extended Dirac function for multiplying the received signal before the integration (see [1]), but is very hard to generate such extended Dirac functions (a kind of acausal pulses) using nonlinear differential equations for (i) symmetrical pulses (see [6]) or (ii) asymmetrical pulses (see [7] for more details).

A heuristic algorithm for generating practical test functions using MATLAB procedures was presented in [6]. First it has been shown that ideal test functions cannot be generated by differential equations, being emphasized the fact that differential equations can only generate functions similar to test functions (defined as practical test functions). Then a step-by-step algorithm for designing the most simple differential equation able to generate a practical test function was presented, based on the invariance properties of the differential equation and on standard MATLAB procedures. The result of the algorithm consists in a system working at the stability limit from initial null conditions, on limited time intervals, the external signal representing the free term in the differential equation corresponding to the input of the oscillating system. Such a system could be built using standard components and operational amplifiers. However, the previously mentioned study [6] did not investigate the behavior of such an oscillating system for an input represented by a short-step pulse. These aspects will be studied in this paper. Finally, supplementary resonance aspects (appearing when the input frequency is close to the working frequency of the oscillating second-order system) will be also presented.

#### 2. Modeling Transitions by Practical Test-Functions Integral Aspects

While this study is based on robust integral procedures of practical test-functions for certain time intervals, certain basic integral aspects of practical test functions should be mentioned. These aspects are useful for modeling smooth transitions from a certain function of time to another on a limited time interval [6].

From basic mathematics, it is known that the product between a function which belongs to class and a test-function which differs to zero on is also a test-function because

(a) it differs to zero only on the time interval where differs to zero (if is null, then the product is also null);(b)the function belongs to the class of functions, while a derivative of a certain order can be written as(a sum of terms represented by a product of two continuous functions).

Yet for practical cases (when phenomena must be
represented by differential equations), the test functions must be replaced by a practical
test functions on (for a finite -considered from now on as representing *the order* of the practical test function) having the
following properties:

(a) is nonzero on (a), (b),(b) satisfies the boundary conditions for , and(c) restricted to is the solution of an initial value problem (i.e., an ordinary differential equation on with initial conditions given at some point in this interval). The generation of such practical test functions is based on the study of differential equations satisfied by these test functions, with the initial moment of time chosen at a time moment close to the moment of time (when the function begins to present nonzero values).

By using these properties of practical test-functions, we obtain the following important result for a product between a function which belongs to class and a practical test-function of order which differs to zero on :

*General property for product*

The product between a function and a practical test-function of order is represented by a practical test function of
order .

This is a consequence of the following two properties:

(a)the product differs to zero only on the time interval on which differs to zero;(b)the derivative of order for the product is represented by the sum
which is a sum of terms
representing products of two continuous functions for any ,
( being the order of the practical test-function )—only for discontinuous functions can appear in the
previous sum.

Now we will begin to study the integral properties of
practical test functions of certain order. For this, we note that the integral of a test function (which differs to zero on interval) is a constant function on the time
intervals and ;
it presents a certain variation on the time interval, from a constant null value to a
certain quantity corresponding to the final constant
value. Moreover, all derivatives of order for the integral function are equal to zero for and (this can be easily checked by taking into
account that all derivatives of order for are equal to zero at these time moments, for ,
and a derivative of order for corresponds to a derivative of order for function ,
the integral function of ). This suggests the possibility of using such
integral functions for modeling smooth transitions from a certain state to
another in different kind of applications, when almost all derivatives of a
certain function are equal to zero at the initial moment of time.

For modeling such a transition, we analyze the general
case when a function and a finite number of its derivatives present variations from null values to values on the time interval We begin by looking for a function which should be added to the null initial
function so as to obtain a variation for the derivative of order.

By multiplying the bump-like function(a test-function on ) with the variation of the derivative of order and by integrating this product times we obtain

(i)after the first integration: a constant value equal
to at the time moment (while the integral of the bump-like test
function on is equal to ), and a null variation on ;(ii) after the second integration (when we integrate the
function obtained at previous step): a term equal to and a term equal to a constant value (a constant of integration) on the time
interval ;(iii)after
the integration: a term equal to and a sum of terms having the form for ( being constants of integration) on the time
interval

All previous constants of integration are determined
by integrating the test function on .
The procedure continues by looking for the other functions which must be added to the initial null
function. However, we must take care to the fact that the function previously obtained has nonzero variations for its derivatives of order on the working interval and so we must
subtract these values from the set before passing to the next step.

Then we multiply the bump-like function with the
corrected valueand by integrating this product times we obtain in a similar manner a function
with a term equal to and a sum of terms having the form for ( being constants of integration) on the time
interval .
It can be noticed that the result obtained after integration possess the order derivative equal to ,
a smooth transition for this derivative from the initial null value being
performed. So the second function which must be added to the initial null
function is the integral of order for the bump-like function multiplied by
this variation (the function being noted as ). This function has a null value for the derivative of n order
for ,
so the result obtained at first step is not affected. We must take care again to the fact that
the function previously obtained has nonzero variations for its derivatives of order and so we must once again subtract these values
from the previously corrected set before passing to the next step. Finally we
obtain all functions which represent the terms of function modeling the smooth transition from an initial
null function to a function having a certain set of variations for a finite
number of its derivatives on a small time interval. The procedure can be also
applied for functions possessing a finite number of derivatives within a
certain time interval by time reversal ( being replaced with ). More details regarding possible
applications of such a procedure can be found in [6].

#### 3. The Oscillating Second-Order System for the Case of Short-Step Inputs

After presenting basic aspects regarding integral properties of practical test-functions, we will analyze the behavior of a system able to generate a practical test-function for signal processing when its command is represented by a short-step pulse. Unlike aspects presented in previous paragraph, the step change appears for the command function , and the dynamical behavior on a limited time interval should be performed. We are searching for a robust integral procedure (with null values of the function which is integrated at the beginning and at the end of the interval of integration) so as the sampled values to be further processed for determining the amplitude and the time length of the short-step pulse.

For a robust filtering and sampling procedure based on an integration on a limited time interval, a search for a system having the following property was performed in a rigorous manner in [8]: starting to work from initial null conditions, for a unity step input it must generate an output and a derivative of this output equal to zero at a certain moment of time (the condition for the derivative of the output to be equal to zero has been added so as the slope and the first derivative of the slope for the signal which is integrated to be equal to zero at the sampling moment of time, when the integration is interrupted). It was finally shown that the simplest structure possessing such properties is represented by an oscillating second-order system having the transfer functionreceiving a step input and working on the time interval . For initial conditions equal to zero, the response of the oscillating system at a step input with amplitude will have the formBy 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.

This oscillating system attenuates about times such an input, and the influence of the integrator consists in a supplementary attenuation of abouttimes. The oscillations having the formgenerated by the input alternating component have a lower amplitude and give a null result after an integration over the time interval .

These results have shown that 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. For restoring the initial null conditions after the sampling procedure (at the end of the working period), some electronic devices must be added. Yet the previous analysis is valid for extended step inputs, which are active on the whole working interval (the integration period).

We will continue the analysis of this structure by considering that the input is represented by a unity short-step pulse (instead of a unity step-pulse) which differs to zero on the time interval . This means that the input can be represented under the following form:or, using the Heaviside functionwhere corresponds to the function if we apply the Laplace transformation.

The transfer function of the second-order oscillating system isOn the time interval the output of the second-order oscillating system is represented (using the Laplace transformation) aswhich corresponds to the outputwhich can be written aswhere . When the action of the external unity pulse ceases (for ) the output isand the derivative of is

These values, and represent the initial values for the free oscillations of the second-order oscillating system generated for (when the input command ). These free oscillations have the angular velocity , and thus the output for will have the formThe quantities and (amplitude and initial phase of free oscillations) should be determined using the initial conditions for :This implies

By dividing the second equality with , squaring both equalities and summing left-hand sides and right-hand sides of both squared equalities we obtainand (while )While by substituting with the right-hand side of the above equality, the result is It results

( is a positive quantity, because ). The phase can be obtained using the two equations determined by the initial conditions:(the second equation resulting by dividing previous equation of to .

By dividing left-hand side of first equality to left-hand side of second equality, and right-hand side of first equality to right-hand side of second equality, it resultsUsing equalitiesit results by substituting with the above expressionsSo is obtained asand the output corresponding to the free oscillations of the system for (when the action of the external short-step command has ceased) can be written as

#### 4. Algorithm for Detecting Short-Step Pulses

While the signal processing system is linear, in case of a short-step pulse of amplitude defined on time interval the output of the system will be multiplied by as related to the output obtained in case of a unity short-step input (presented in previous paragraph). Thus, the output will be

This output, is equal to zero at two time moments and after time moment . At time moment and at time moment These imply that

We must check whether both are greater than . First we check the inequality . This is equivalent to , , where represents the period of the second-order oscillating system. It is obvious that , while we have considered that the short-step pulse has nonzero values for . Thus , and while it results that .

The signal processing system will perform the integration of output on two different time intervals. The first value is obtained by an integration of on the time interval . It results(while ). Then we obtainwhich can be finally written as

The second integral is performed by integrating on the time interval . On this time interval, the output is represented by a free oscillationso is determined byand taking into account thatit results as

The values allow us to determine by robust integrations (the values of the function which is integrated are zero at the beginning and the end of the time interval used for integration). A quantity can be determined asand a quantity can be determined aswhich can be written as

This means that after performing the robust integration of in order to obtain the sampled values we can compute and then . Whilewe can determine the time interval of the received short-step pulse using and a mathematical memory (the quantity being known).

Next quantity (the amplitude of this received short-step pulse) can be determined using (determined at previous computation) and .

Taking into account the previous considerations, the algorithm for detecting short-step pulses consists in the steps shown in Algorithm 1.

#### 5. The Problem of Initial Conditions and Resonance Aspects

In previous paragraphs has been analyzed the case when a certain short-step pulse is received at the beginning of a working interval—this pulse presenting nonzero values on a limited time interval . Yet in applications, the signal processing system can receive a sequence of step pulses with different time lengths. Due to this reason, the whole procedure must be adapted for the case when a certain step input with amplitude is received on a certain time interval (the first part of the working interval) and a different step input with amplitude appears on the time interval (the second part of the time interval).

Under these circumstances the output could be represented bywhere represents the free oscillations of the system generated by the short-step pulse with amplitude (which has ceased its action at time moment ). It can be noticed that it is very difficult to analyze these outputs by performing certain integral operations in order to determine the parameters . However, the whole procedure can be simplified in a significant manner if we observe that the amplitude of the first step input can be predicted by the signal processing system (by considering that the pulse with amplitude has been received by the system on a previous working interval and its action continues at the beginning of the analyzed working interval). This suggests the possibility of adjusting the input command for the second-order oscillating system by subtracting quantity from and thus the output of the oscillating system will becomeThe quantity vanishes while the oscillating second-order system has initial null conditions and a null command for .

At first sight it looks like the system receives a nonzero command at the end of the working time interval and the results presented in previous paragraph cannot be applied. Yet we can observe that an integration performed on the first time interval generates a null result. Due to this reason, we have to adjust the integration procedure by

(i)starting the integration for and at the beginning of a new working cycle, with the input command considered as (the previous value for the amplitude of the received pulse is subtracted from received pulse );(ii) if a step variation of amplitude for the input command is detected then (iii) stop the integration procedure for when first time equals zero and the integration procedure for when second time equals zero.Note that the time moments when the integration procedures cease are not affected by noise, while the output is represented just by free oscillations of the second-order system (after the time moment the action of upon the system ceases);(iv)Determine using

Note: by translating the time origin from the beginning of a working interval to the time moment when the step change appears, we can consider that a short-step pulse with amplitude acts upon the second-order system at time moment zero, from null initial conditions, on the time interval —thus the quantities and corresponding, respectively, to the time length of the received short-step pulse and to its amplitude in previous paragraph should be replaced by and .

All presented aspects are valid if the system receives a step pulse (which can be represented by an extended step pulse as presented in [1]) or by a short-step pulse (as presented in this study, in previous paragraphs). Filtering properties of the second-order oscillating system were studied in [1]. However, we must study also resonance aspects. The second-order system being an oscillating system, resonance aspects (appearing when the input is represented by an alternating function with are very important. Instead of damped proper oscillations of angular frequency with zero limit (as for an asymptotic stable second-order system), some proper oscillations of angular frequency and with constant amplitude can be noticed as term in . These are added to the oscillations with angular frequency generated by the command function , both having a higher amplitude inversely proportional to . If (the limit case), for a command functionthe output is represented byThis function is hard to be processed by a signal processing system, working on a limited time interval. Moreover, in applications it is possible for the input to be represented by a sum of alternating functions with different angular frequencies . However, a signal processing procedure can be established for the case when is represented by a sum of alternating functions with angular frequencies by taking into account the fact that for an input represented by an alternating function the amplitude of oscillations with angular frequency generated by this command function is determined bywhich is a very sharp function. For this reason we can consider that in the case when the input is represented by a sum of oscillations with different angular frequencies , the output of the second-order system will be represented by an oscillation with the angular frequency closest to (generated by the received oscillation with angular frequency ) and a proper oscillation of the second-order system (with angular frequency ). Thus could be represented by a sum of two oscillations.

The result of an integration of this output on the working interval would depend just on the oscillation with angular frequency , while the oscillation with angular frequency (with time period ) gives a null result by an integration on this period. The result of this integration could be used for determining certain parameters for the received oscillation with angular frequency . However, such an integration is not a robust integration, while the signal which is integrated is not equal to zero at the end of this working interval. A possible solution of this problem would consist in disconnecting the input signal after a certain time interval, so as to analyze (using robust integrations) the free oscillations of the second-order system after this moment (as presented in previous paragraph). A faster procedure could consist in a previous adjustment of initial conditions, so as the free oscillations not to appear.

Theoretically, this can be done by using a set of identical oscillating second-order systems (receiving the same input command ) with initial conditions adjusted to different values. The system generating a single oscillation with angular frequency would be selected by checking the following condition:However, the adjustment of two initial conditions at different values for a second-order system requires a large number of identical oscillators. Due to this reason, this method is inconvenient. A better choice would be represented by a delay systems of first order, with transfer functionwould transform a received oscillation according towhich corresponds to an output . If this function represents the command for the second-order oscillating system, the output (for initial null conditions) will bewhen is very close to and can be approximated by this quantity. The function presented in previous equation is suitable for a sequence of robust integration procedures on half-period time intervals:(it presents null values at the beginning and at the end of these intervals integration). The results of these procedures are proportional to the amplitude of received oscillation with angular frequency (as can be easily noticed).

Unlike the possible solution based on adjustment of two initial conditions, this procedure requires a set of signal processing systems composed of different time-delaying systems adjusted according to a single parameter (the phase , while is supposed to be known) and identical second-order oscillating systems starting to work from initial null conditions. The number of required systems is less than in previous case, while a single parameter has to be adjusted at different values (the quantity in the time-delay systems). The corresponding output is selected by checking whether the results of these procedures (considered as positive quantities) vary according to a linear mathematical law (as required by the integration of on a sequence of half-period time intervals).

One major disadvantage of this method has to be mentioned: the function equals zero at the beginning of signal processing time interval () and presents a small slope. So an extended time interval is necessary for obtaining significant results using robust integration procedures. If we need a fast signal processing, we can simply use a set of identical oscillating second-order systems, with different initial conditions. The greatest amplitude for the output oscillation (considered as a sum of an oscillation with angular frequency and an oscillation with angular frequency , ) corresponds to the case when the two oscillations are in-phase. By detecting the output presenting in-phase oscillations, we can establish the amplitude and phase for the received signal using the initial conditions for the second-order system generating this output.

#### 6. Conclusions

An important aspect in modeling dynamic phenomena consists in measuring with higher accuracy some physical quantities corresponding to the dynamic system. Yet for measurements performed on limited time interval at high working frequency, certain intelligent methods should be added. The high working frequency requires that the measurement and data processing time interval should be greater than the time interval when the step input is received, so as to allow an accurate measurement. This paper has shown that an intelligent processing method based on oscillating second-order systems working on limited time interval can differentiate between large-step inputs (which are active on the whole limited time interval) and short-step inputs (which are active on a time interval shorter than the limited working period). Some resonance aspects (appearing when the input frequency is close to the working frequency of the oscillating second-order system) were also presented. Possible applications could be represented by processing the electric signal generated by transducers [9] and by advanced modeling of traffic network [10].

#### Acknowledgments

This study was performed by first author (from FILS Department, Politehnica University, Bucharest) during an internship at Corner Soft Technologies, Bucharest (research coordinated by the second author).

#### References

- C. Toma, “An extension of the notion of observability at filtering and sampling devices,” in
*Proceedings of the International Symposium on Signals, Circuits and Systems (ISSCS '05)*, p. 233, Iasi, Romania, July 2005. View at Zentralblatt MATH · View at MathSciNet - Y. Sun and J. K. Fidler, “Synthesis and performance analysis of universal minimum component integrator-based IFLF OTA-grounded capacitor filter,”
*IEE Proceedings: Circuits, Devices and Systems*, vol. 143, no. 2, pp. 107–114, 1996. View at Publisher · View at Google Scholar · View at Zentralblatt MATH - S. L. Smith and E. Sánchez Sinencio, “Low voltage integrators for high frequency cmos filters using current mode techniques,”
*IEEE Transactions on Circuits and Systems II*, vol. 43, no. 1, pp. 39–48, 1996. View at Publisher · View at Google Scholar - C. Cattani and J. Rushchitsky,
*Wavelet and Wave Analysis as applied to Materials with Micro or Nanostructure*, vol. 74 of*Series on Advances in Mathematics for Applied Sciences*, World Scientific, Singapore, 2007. View at Zentralblatt MATH · View at MathSciNet - C. Cattani, “Connection coefficients of Shannon wavelets,”
*Mathematical Modelling and Analysis*, vol. 11, no. 2, pp. 117–132, 2006. View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - G. Toma, “Practical test-functions generated by computer algorithms,” in
*Proceedings of the International Conference on Computational Science and Its Applications (ICCSA '05)*, vol. 3482 of*Lecture Notes in Computer Science*, pp. 576–584, Singapore, May 2005. View at Publisher · View at Google Scholar - S. Pusca, “Invariance properties of practical test-functions used for generating asymmetrical pulses,” in
*Proceedings of the International Conference on Computational Science and Its Applications (ICCSA '06)*, vol. 3980 of*Lecture Notes in Computer Science*, pp. 763–770, Glasgow, UK, May 2006. View at Publisher · View at Google Scholar - A. Toma, S. Pusca, and C. Morarescu, “Spatial aspects of interaction between high-energy pulses and waves considered as suddenly emerging phenomena,” in
*Proceedings of the International Conference on Computational Science and Its Applications (ICCSA '06)*, vol. 3980 of*Lecture Notes in Computer Science*, pp. 839–846, Glasgow, UK, May 2006. View at Publisher · View at Google Scholar - E. Smeu, “Fast photodetectors speed-related problems,”
*Romanian Journal of Optoelectronics*, vol. 11, no. 1, p. 63, 2003. View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - M. Li and S. C. Lim, “Modeling network traffic using generalized Cauchy process,”
*Physica A*, vol. 387, no. 11, pp. 2584–2594, 2008. View at Publisher · View at Google Scholar