1 Introduction

Today most high-performance signal processing approaches exploit orthogonality properties of signals in various contexts as in telecommunications [12, 17, 22], in system-control engineering [3, 5] and in electrical engineering [8, 11, 31], to make but a few. Orthogonality through the orthogonal functions is known to be the simplest way to ensure perfect discrimination between different signals. The method can be grouped into four families [6]: (i) piecewise constant orthogonal functions (Haar functions, Walsh functions,...), (ii) orthogonal polynomials (Legendre, Laguerre, Hermite, Tchebycheff, Jacobi, Gegenbauer,...), (iii) sine-cosine (Fourier) functions, (iv) various functions (Filtering,...).

In telecommunications, pre-existing orthogonal bases (usually calculated from orthogonal polynomials) composed of a large number of K channels [12, 17, 22] are used to account for several constraints simultaneously. The real-time constraint is the stronger, but other constraints are also important such as orthogonality in the complex domain, maximum spectral efficiency, and a well-localized prototype function in time and frequency. The common partial structure (see Fig. 1a) of a transmitter using orthogonalization can be represented by a single input and multiple out (SIMO) system with x(t) at the input and \(w_1(t)\), \(w_2(t)\),..., \(w_K(t)\) at the output. As reported in Fig. 1a, this SIMO system, constituting the basic structure of the solution of our problem, can be also separated in two sub-parts: (i) a serial-parallel converter (SIMO system) and (ii) a MIMO (multiple input and multiple output) system where orthogonalization takes place.

In control engineering, the SIMO structure plays an important role for the identification-modelling of linear systems [5, 6] and nonlinear systems [3] with subharmonics [1, 25], where pre-existing orthogonal functions are also used. In this case, the block diagram is similar to the one presented in Fig. 1a. To give an example, the orthogonal signals used in the modelling of subharmonics [1, 25] are presented in Fig. 1b.

Fig. 1
figure 1

a Partial block diagram of a transmission/modelization system as a single input multiple output (SIMO) system. This SIMO system can be separated in a serial-parallel converter (another SIMO system) followed by a MIMO (multiple input and multiple output) system composed of K mutually orthogonal signals. Usually, the orthogonalization function is merged with the serial/parallel function. b Orthogonal signals used in nonlinear systems modelization in control engineering with sub-harmonics [1, 25], with \(x(t)=w_1(t)+w_2(t)\)

In signal processing, the consideration of orthogonality has also been very fruitful. Many methods such as orthogonal matching pursuit [2, 21, 32], orthogonal least square [3] and orthogonal wavelet decomposition [19] have been developed, to name a few.

More recently in electrical engineering [8, 11, 15, 16, 30, 31], accurately extracting the phase angle and frequency from the grid voltage is of vital importance to ensure stable operation of power electronic equipment connected to the grid. For phase detection, PLL-based systems are probably the most popular, especially those using an orthogonal signal generator (OSG). Here again, the SIMO structure has a special place in GSO-based systems. For instance, OSG under study is often composed of few outputs (usually \(K=2\)) and a single input. The structure of a OSG is very similar to the one shown in Fig. 1a, except that \(w_1(t)=v_1(t)=x(t)\). As an illustration, the OSG-SIMO system composed of two sub-parts (SIMO+MIMO) with two outputs and a single input is shown in Fig. 2a. For this type of application, the system must adapt itself in real time to various network disturbances such as voltage sags, phase and frequency jumps, and in the presence of harmonics. The other important point, even if it is not really explained, is that the output signals must present the same properties as the input signal. The periodic signal x(t) at the input and the orthogonal version \(w_2(t)\) at the output both undergo a phase jump (see Fig. 2b). Eventually, note that \(w_1(t)=x(t)\) guarantees that the properties of x(t) are preserved in \(w_2(t)\).

Fig. 2
figure 2

a Common partial block diagram of a SIMO-OSG in electrical engineering. As in Fig. 1, the SIMO system can be separated in two sub-parts: another SIMO system followed by a MIMO system with \(v_1(t)=w_1(t)=x(t)\), \(v_2(t)=x(t)\) and with orthogonalized signal \(w_2(t)\) being obtained through a transformation \(G[\bullet ]\) as derivative, Hilbert transform,... b Periodic signal \(w_1=x(t)\) undergoing a phase and an amplitude jumps at \(t=0\) and its orthogonalized version \(w_2(t)\) obtained by applying the method of Sect. 2.1

Most of OSG (through the transformation \(G[\bullet ]\) in the block diagram of Fig. 2a) can be clustered into three categories of analytical methods. A table with several examples is reported in “Appendix A.7”.

  • Filtering-based method Different type of filters (or transformations \(G[\bullet ]\)) can be considered, the all-pass filter [13], the Hilbert transform [10, 14, 23], the combination of a band-pass and low-pass filter [4]. With the objective of presenting only analytical calculations, the method based on Hilbert transform is presented alone. The Hilbert transform (see definition in “Appendix A.6”)-based method takes advantage of the fact that any real signal \(v_1(t)\), quadratically integrable, has a Hilbert transform \(HT[v_1(t)]\) orthogonal to it: \( v_1(t) \perp HT[v_1(t)]\); a demonstration being given in “Appendix A.4”. In electrical engineering [23], the Hilbert transform can be used for periodic signals such sine signals (see Table 1 in “Appendix”). However, for a certain number of signals, the calculation of the Hilbert transform often leads to solutions with singularities that may prevent their practical use as is the case for rectangular signal (First raw in Table 1in “Appendix”). For other signals like exponential based signals (Gaussian function for instance), the Hilbert transform has no analytical solution and we resort to a numerical calculation (see Table (A.1), raw 7). As the successive use of the Hilbert transformFootnote 1 leads to a unique solution (with just a sign difference), this method cannot be used for K>2.

  • Derivative-based method As the name indicates, the method applies only to differentiable signals with parity properties [28]. Indeed, if the signal under consideration is even/odd, the scalar product with its odd/odd derivative is null, as shown in “Appendix A.3”. The idea of using the derivability properties of orthogonal signals [28] or orthogonal polynomials [20] is interesting and has received some attention in a discrete framework in telecommunications [12, 27] and in electrical engineering [7, 18], to name a few. For instance, the Gaussian signal (see definition in “Appendix A.6”) is an even function, derivable with non-compact support.Footnote 2 It has a first derivative (see definition in “Appendix A.6”) that is an odd functionFootnote 3 whose integral over the entire real axis is null. Moreover, unlike to the method based on the Hilbert transform, there are as many solutions as the odd/even signal is derivable. However for certain signals, the number of distinct solutions can be limited to two as it is the case for the \(\cos (\omega t)\) and \(\sin (\omega t)\) signal. Note that for even/odd signals based on exponential (infinitely derivable function), there is an infinity of distinct solutions and orthogonal bases functions can be constituted as is the case of weighted Hermite polynomials (see definition in “Appendix A.6”) used in the telecommunications field [12, 22]. In the case of discontinuous periodic signals such as a periodic square-wave or triangular signal, derivatives showing singularities limit their application. Alternative solutions are thus expected.

  • Block-pulse function method A very simple way to guarantee the orthogonality between real signals of finite energy, with bounded support or not, consists in finding an adequate time shift [6, 33] guaranteeing the orthogonality between the generator signal and the created one. In the case of signals with bounded support, this can be guaranteed if the supports of its shifted versions are disjoint. This is the case, for example, by using a base of rectangular symbols (see Table 1 in “Appendix”). For instance, \(\text{ Rect}_T(t)\) and \(\text{ Rect}_T(t-T)\) are orthogonal since their respective support are disjoint leading to a null product and so to a null scalar product. If the signal does not present a compact support, one could implement a windowing operation in order to get a bounded support signal. Note that this operation can be performed in time or frequency domain. In telecommunications [22], to optimize the temporal or frequency band, the support can also be contiguous. Instead of performing a simple shift, we can also use more complex decomposition bases like the orthogonal Haar decomposition [6] or the Rademacher orthogonal decomposition (see definition in “Appendix A.6”) [6]. Moreover, for finite energy signals with non-compact support, it is also possible for some specific signals to use a time shift that would guarantee orthogonality. This is the case for the cardinal sine function (see definition in “Appendix A.6” and see Fig. 4a). In this case, the supports are no longer contiguous but they will present an overlap. The block-pulse-based method seems to be ideal for generating K mutually orthogonal signals from a single signal. However, this approach is only suitable for finite energy signal and cannot be used for periodic signals.

To sum up, the literature review shows that OSG can be grouped into three types of analytical methods. The method based on the Hilbert transform leads to the generation of a single orthogonal signal only, the solution being obtained analytically or numerically, often presents singularities in the solution itself. The derivative method can only be used if the signal is derivable and has parity properties, the number of solutions being related to the number of times the signal is derivable. When the generating signal is not symmetric, this method cannot be applied. The block-pulse function method produces as many solutions as desired, as long as the signals have finite energy and compact support. A few rare solutions are possible when the supports are not bounded and no solution is possible for periodic signals.

Furthermore, if we refer to the SIMO-OSG block diagram for electrical application (see Fig. 2a), the SIMO sub-part is not exploited at all since outputs are equal to the input. Moreover, most of the studied signals are periodic signals and the number of orthogonal output signals is limited to two. In order to propose a method that is not limited to periodic signals, whose number of outputs is not limited to two and that allows a greater variety of solutions, new approaches are expected. Finally, since the three methods are always presented independently, a formal framework bringing these methods together is also expected.

Based on this observation and these remarks, the purpose of this article is then to propose in a formal framework an analytical method allowing to generate, from a single signal, as many signals as one wishes while preserving its intrinsic properties: finite energy, derivable, even/odd, oscillating, periodic, etc. In this work, we will voluntarily limit OSG to real signals but it can be easily extended to the case of complex signals.

Subsequently, the formal framework of the proposed method is presented. The main results based on many original examples are presented. A discussion on the advantages and disadvantages is presented, and then, a conclusion and perspectives are proposed.

2 Method and Main Results

In this section, a new framework of orthogonal signal generator (OSG) globalizing the SIMO and MIMO sub-parts reported in Fig. 3 in presented. Several examples will show the originality of the solutions and the interest of basing the analytical calculation exclusively on the use of the input signal x(t).

Fig. 3
figure 3

OSG block diagram of our proposed method. In the SIMO sub-part, the K output signals are obtained from a transformation \(T[ \bullet ]\) defined in Eqs. (1, 6, 10, 14, 17). The K mutually orthogonal signals are obtained with the Gram–Schmidt procedure (a kind of transformation \(G[\bullet ]\)) in the MIMO sub-part. As for OSG represented in Fig. 2, the following relations must be verified: \(v_1(t)=w_1(t)=x(t)\)

As previously mentioned, it is indeed the design of the SIMO sub-part that is crucial in our solution. As illustrated in Fig. 3, the solution consists in building a dictionary \({\textbf{V}}^T=[v_1(t), v_2(t),..., v_K(t)]\) composed of K non-orthogonal signals \(v_{k}(t)\), by applying a transformation operator from the initial signal \(v_1(t)=x(t)\). As we wish a transformation preserving as much as possible the input properties to the output, the following transformations \(T_k[\bullet ]\) involving time shifts, dilations/compressions will be considered. Afterwards, the orthogonal signals \(w_k(t)\) are obtained by applying the Gram–Schmidt (GS) procedure [9, 26, 29] (see (“Appendix A.1”) for details) from the non-orthogonal atoms \(v_{k}(t)\). Unlike other methods (QR and SVD decompositions, [29]), the GS approach maintains an analytical framework. In this case, the SIMO dictionary is obtained iteratively as follows:

$$\begin{aligned} v_k(t)=T_{k-1}\left[ v_{k-1}(t) \right] , \end{aligned}$$
(1)

with \(v_1(t)=x(t)\).

Using the GS procedure, the calculation of the k-orthogonal atoms \(\forall k=\{1, 2,... \}\) leads to:

$$\begin{aligned} w_k(t)= T_{k-1}[v_{k-1}(t)] - \sum _{j=1}^{k-1} \rho _{kj} w_j(t). \end{aligned}$$
(2)

with \(w_1(t)=v_1(t)=x(t)\) and with the coefficient

$$\begin{aligned} \rho _{kj}= \frac{ \langle T_{k-1}[v_{k-1}], w_j \rangle _t}{\langle w_j, w_j\rangle _t}, \end{aligned}$$
(3)

and \(< \bullet , \bullet >_t\) defining the scalar product (see the definition in “Appendix A.6”).

In order to apply the proposed method to a reduced number of examples, Eq. (2) is voluntarily limited for \(K=3\). Consequently, by using Eqs. (1), (2), (3), the orthogonal atoms become, respectively:

$$\begin{aligned} \begin{pmatrix} w_1(t)\\ w_2(t)\\ w_3(t)\\ \end{pmatrix} = \begin{pmatrix} 1 &{} 0 &{} 0\\ \gamma _{21} &{} 1 &{} 0\\ \gamma _{31} &{} \gamma _{32} &{} 1\\ \end{pmatrix} \begin{pmatrix} v_1(t) \\ T_1\left[ v_1(t) \right] \\ T_2\left[ v_2(t) \right] \\ \end{pmatrix} \end{aligned}$$
(4)
$$\begin{aligned} \left\{ \begin{array}{ll} \gamma _{21}= &{} -\rho _{21},\\ \gamma _{31}= &{} \rho _{32}\rho _{21}-\rho _{31},\\ \gamma _{32}= &{} -\rho _{32}. \end{array} \right. \end{aligned}$$
(5)

As mentioned earlier, the choice of these transformations \(T_{k}[\bullet ]\) depends on the properties of the generating signal and its applications. Consequently, an infinite number of transformations may exist. However, following the literature, we can limit the number of these transformations and their combinations to:

  1. (i)

    the scale change \(v_k(t)=\beta _k v_{k-1}(\beta _k t)\), as in the case in the Haar wavelet basis [6, 19];

  2. (ii)

    the time shift \(v_k(t)=v_{k-1}(t+\tau _k)\) or frequency shift or block pulse, like in the case of the orthogonal sine-cardinal basis used in telecommunications [12];

  3. (iii)

    the time reversal \(v_k(t)=v_{k-1}(-t+\tau _k)\) as proposed in [24]. For the time reversal, a delay must be added, otherwise all \(v_k(t)=v_1(-t)\) for odd k and \(v_k(t)=v_1(t)\) for even k lead to \(w_k(t)=0: \forall k > 3\);

  4. (iv)

    the amplitude shift \(v_k(t)=\alpha _k+v_{k-1}(t)\);

  5. (v)

    the amplification \(v_k(t)=\eta _k v_{k-1}(t)\) is not a good choice because it leads to the trivial solution (\(w_2(t)=0\), \(w_3(t)=0\)), since \(v_{k-1}(t)\) and \(v_k(t)\) are not independent;

  6. (vi)

    all compositions of time shifts, time reversal, amplitude shifts and scale changes can lead to other solutions such as \(v_k(t)=\alpha _k + v_{k-1}(-\beta _k t +\tau _k)\).

For the reasons mentioned in Introduction, the operations of derivative and Hilbert transforms will not be considered. Finally, many examples that we found interesting will be presented, so the list of examples is not exhaustive.

2.1 Time-Shift Operation

The time-shift operation is the method of block-pulse functions where the time shifts are fixed manually. However, it does not exist in the form proposed here, i.e. by applying the Gram–Schmidt procedure. The manual method is the most common solution when the signals are compactly supported and is called time-division multiplexing (TDM) in telecommunications [12, 17]. It consists in finding time-shifts that produce disjoint and often contiguous compact supports, as it is the case for signals \(w_k(t)=\text{ Rect}_T(t-kT)\) where \(k \in {\mathbb {Z}}\).

By applying the equations from (1) to (5) with a transformation based on time shifts, this yields with \(\forall k>1\) and \(K=3\):

$$\begin{aligned} v_k(t)=T_{k-1}[v_{k-1}(t)] =v_{k-1}(t+\tau _k), \end{aligned}$$
(6)

with \(\tau _k \) the time delay and

$$\begin{aligned} \left\{ \begin{array}{ll} v_2(t)=T_1[v_1(t)]=v_1(t+\tau _1),\\ v_3(t)=T_2[v_2(t)]=v_2(t+\tau _2)=v_1(t+\tau _3)\\ \end{array} \right. \end{aligned}$$
(7)

with \(\tau _3=\tau _1+\tau _2\).

For \(K=3\), the orthogonal atoms can be written:

$$\begin{aligned} \left\{ \begin{array}{ll} w_1(t)= &{} v_1(t),\\ w_2(t) = &{} v_1(t+\tau _1)+ \gamma _{21} \, v_1(t),\\ w_3(t)= &{} v_1(t+\tau _3)+ \gamma _{32} \, v_1(t+\tau _1) + \gamma _{31} \, v_1(t). \end{array} \right. \end{aligned}$$
(8)

The coefficients of Eqs. (3), and (5) are written for \(k={1,2,3}\):

$$\begin{aligned} \left\{ \begin{array}{ll} \gamma _{21}= &{} -\rho (\tau _1),\\ \gamma _{31}= &{} \frac{\rho (\tau _1)\rho (\tau _2)-\rho (\tau _3)}{1-\rho ^2(\tau _1)},\\ \gamma _{32}= &{} -\frac{\rho (\tau _2) -\rho (\tau _1) \rho (\tau _3)}{(1-\rho ^2(\tau _1))}. \end{array} \right. \end{aligned}$$
(9)

with \(\rho _{21}=\rho (\tau _1)\), \(\rho _{31}=\rho (\tau _3)\) and with \(\rho (\tau )\) the autocorrelation coefficient.

Fig. 4
figure 4

a Orthogonal cardinal sine atoms obtained with time shifts \(\tau _1=-1.0\) s and \(\tau _2=-1.0\) s, and with \(\gamma _{21} = -0.005\), \(\gamma _{31} =0.005\) and \(\gamma _{32} = -0.005\); the first atom being defined as \(v_1(t)={{\,\textrm{sinc}\,}}(t)\). The values of the delays have been chosen so that the \(w_k(t)\) are just lagged versions. b Innovative orthogonal cardinal sines obtained with time shifts \(\tau _1=-0.4\) s and \(\tau _2=0.6\) s, and with \(\gamma _{21} = -0.759\), \(\gamma _{31} =0.899\) and \(\gamma _{32} = -1.191\). The values of the delays were chosen so that the \(w_k(t)\) undergoes a temporal shift but also a modification of its amplitude

Three examples are proposed for constructing an orthogonal basis from the time-shift operation.

  1. (a)

    The first example proposes the cardinal sine function \(v_1(t)={{\,\textrm{sinc}\,}}(t)\) as generator signal (see definition in Table 1). It is an even signal, derivable, of finite energy of non-bounded support and oscillating of period T. Applying Eq. (1), we get \(v_2(t)=v_1(t+\tau _1)={{\,\textrm{sinc}\,}}(t+\tau _1)\) and \(v_3(t)=v_2(t+(\tau _1+\tau _2))={{\,\textrm{sinc}\,}}(t-(\tau _1+\tau _2))\). The correlation coefficient is \(\rho (\tau )={{\,\textrm{sinc}\,}}(\tau )\) and cancels every \(\tau =n \in \mathbb {Z}^*\). When \(\tau _1=-1\) and \(\tau _2=-1\), the orthogonal solutions plotted in Fig. 4a are well known in telecommunications and we have \(w_2(t)={{\,\textrm{sinc}\,}}(t+1)\) and \(w_3(t)={{\,\textrm{sinc}\,}}(t+2)\). By proposing any value of delay, different from \(\tau _1=-\tau _2\), the solutions are completely new. For example, by proposing \(\tau _1=-0.4\) and \(\tau _2=-0.6\), the signals \(w_1(t)\), \(w_2(t)\) and \(w_3(t)\) obtained provide a much greater overlap than with the classic settings (see Fig. 4b). The price to pay is an amplitude modulation.

  2. (b)

    The second example proposes the Gaussian function \(v_1(t)=\text{ e}^{-a t^2}\) as generator signal.Footnote 4 It is an even signal, derivable, of finite energy, non-bounded and non-oscillating. The correlation coefficient is equal to \(\rho (\tau )=\text{ e}^{-a\tau ^2/2}\). The signals \(w_1(t)\), \(w_2(t)\) and \(w_3(t)\) are depicted in Fig. 5a with \(a=2\), \(\tau _1=1/4\) s, \(\tau _2=-3/4\) s, \(\rho _{21}=\rho (1/4) = 0. 94\), \(\rho _{31}=\rho (1/4+3/4) = 0.78\), \(\rho (3/4) = 0.57\), \(\rho _{32} = -1.38\), \(\gamma _{21} = -0.94\), \(\gamma _{31} = -2.07\) and \(\gamma _{32} = 1.38\). An innovative example is given in Fig. 5b. Note that when the time shift \(\tau \) tends to zero, the solution obtained for \(w_2(t)\) is proportional to the derivative of \(w_1(t)\):

    $$\begin{aligned} \lim _{\tau \rightarrow 0} w_2(t)= & {} \lim _{\tau \rightarrow 0} {\tau }\frac{w_1(t+\tau )-\rho _{21}(\tau ) w_1(t)}{\tau }=\lim _{\tau \rightarrow 0} {\tau }\frac{w_1(t+\tau )-w_1(t)}{\tau }\\= & {} {\tau } \frac{\text{ d } w_1(t)}{\text{ d }t}, \end{aligned}$$

    with \(\lim _{\tau \rightarrow 0} \rho _{21}(\tau )=1\). In the present example the derivative is expressed by \( \frac{\text{ d } w_1(t)}{\text{ d }t}=\frac{1}{\tau } w_2(t)\).

  3. (c)

    The third example proposes the periodic rectangular signal of period T as generator signal. It is an odd, not derivable signal due to singularities and of finite average power. The correlation coefficient is equal to \(\rho (\tau )={{\,\textrm{Tri}\,}}_T*\textrm{III}_{2T}(\tau )\) where \(*\) is the convolution operation, \({{\,\textrm{Tri}\,}}_T\) is the triangular signal and \(\textrm{III}_T(t)\) is the Dirac comb (see the three definitions in “Appendix A.6”). The signals \(w_1(t)\), \(w_2(t)\) and \(w_3(t)\) are plotted in Fig. 6 with \(\tau _1=-0.15\) s, \(\tau _2=-0. 30\) s, \(T=1\) s, \(\gamma _{21}=-0.400\), \(\gamma _{31}=0.857\), \(\gamma _{32}=-0.143\). The solution proposed in Fig. 6a) is an innovative and alternative solution to methods providing singularities like the derivative and the Hilbert transform. Another solution is presented in Fig. 6b) with \(\tau _1=-0.25\) s, \(\tau _2=-0.25\) s, \(\gamma _{21}=0\), \(\gamma _{31}=1\), \(\gamma _{32}=0\), the first atom being defined by \(v_1(t)={{\,\textrm{sign}\,}}(\sin (\omega t))\) with \(T=1\) s, the \({{\,\textrm{sign}\,}}\) function is defined in “Appendix A.6”.

Fig. 5
figure 5

a Orthogonal Gaussian atoms obtained with time shifts \(\tau _1=1/4\) s and \(\tau _2=-3/4\) s, and with \(a=2\), \(\rho _{21}=\rho (1/4) = 0.94\), \(\rho _{31}=\rho (1/4+3/4) = 0.78\), \(\rho (3/4)= 0.57\), \(\rho _{32} = -1.38\), \(\gamma _{21} = -0.94\), \(\gamma _{31} = -2.07\) and \(\gamma _{32} = 1.38\); the first atom being defined by \(v_1(t)=\text{ e}^{-at^2}\). b Innovative orthogonal Gaussian atoms obtained with time shifts \(\tau _1=0.05\) s, \(\tau _2=-3/4\) s, \(a=2\), \(\rho _{21} = 1.00\), \(\rho _{31} = 0.61\), \(\rho (3/4) = 0.57\), \(\rho _{32} = -8.28\), \(\gamma _{21} = -1.00\), \(\gamma _{31} = -8.88\) and\(\gamma _{32} = 8.29\), the first atom being defined by \(v_1(t)=\text{ e}^{-at^2}\). The derivative of the Gaussian function is reported in dashed line with \(\tau =-1/4\) meaning that the derivative is \((-4)\) times higher than \(w_2(t)\)

Fig. 6
figure 6

a Innovative orthogonal atoms obtained with time shifts \(\tau _1=-0.15\) s, \(\tau _2=-0.15\) s, \(\gamma _{21}=-0.400\), \(\gamma _{31}=0.857\), \(\gamma _{32}=-0.143\), the first atom being defined by \(v_1(t)={{\,\textrm{sign}\,}}(\sin (\omega t))\) with \(T=1\) s. b Orthogonal atoms obtained with time shifts \(\tau _1=-0.25\) s, \(\tau _2=-0.25\) s, \(\gamma _{21}=0\), \(\gamma _{31}=1\), \(\gamma _{32}=0\), the first atom being defined by \(v_1(t)={{\,\textrm{sign}\,}}(\sin (\omega t))\) with \(T=1\) s

At this level, several remarks can be expressed. First of all, whatever the type of signals considered (finite energy and finite average power), the method always provides at least one solution. For finite energy signals, solutions for \(K>2\) are possible with an adequate adjustment of the time delays. As for the periodic signal, note that when the generator signal is a sinusoidal signal \(v_1(t)=\cos \left( \frac{2 \pi }{T} t\right) \), the correlation coefficient \(\rho (\tau )=\cos \left( \frac{2\pi }{T} \tau \right) \) is periodic too and the atoms obtained for \(K>2\) are null, for any chosen delays values. On the other hand, the periodic signal reported in Fig. 6a is completely novel. Finally, whatever the nature of the signal for which \(\lim _{\tau \rightarrow 0}\rho _{21}(\tau ) \rightarrow 1\) is verified and with \(K=2\), the solution obtained is proportional to the derivative.

2.2 Scaling Operation

The scaling operation is inspired by orthogonal wavelet based decompositions, such as the Haar base [6, 19]. However, in the case of the scaling operation proposed here, no particular property is imposed and any generative signal can be used. In the case of scaling, Eq. (1) becomes:

$$\begin{aligned} v_k(t)=T_{k-1}[v_{k-1}(t)] =\beta _k v_{k-1}(\beta _k t), \end{aligned}$$
(10)

where \(\beta _k\) is the scaling factor. With \(k>1\) and \(K=3\), it comes:

$$\begin{aligned} \left\{ \begin{array}{ll} v_2(t)=T_1[v_1(t)]=v_1(\beta _1 t),\\ v_3(t)=T_2[v_2(t)]=v_2(\beta _2 t)=v_1(\beta _3 t)\\ \end{array} \right. \end{aligned}$$
(11)

with \(\beta _3=\beta _1 \beta _2\).

For \(K=3\), the orthogonal atoms are written:

$$\begin{aligned} \left\{ \begin{array}{ll} w_1(t)= &{} v_1(t),\\ w_2(t)= &{} \beta _1 v_1(\beta _1 t)+ \gamma _{21} \, v_1(t),\\ w_3(t)= &{} \beta _3 v_1(\beta _3 t)+\gamma _{32} \, \beta _1 v_1(\beta _1 t)+\gamma _{31}\, v_1(t). \end{array} \right. \end{aligned}$$
(12)

The coefficients of Eqs. (3) and (4) are written for \(K=3\):

$$\begin{aligned} \left\{ \begin{array}{ll} \gamma _{21}= &{} -\rho (\beta _1),\\ \gamma _{31}= &{} \frac{\rho (\beta _1)\rho (\beta _2)-\rho (\beta _3)}{1-\rho ^2(\beta _1)/\beta _1},\\ \gamma _{32}= &{} -\frac{\beta _1 \rho (\beta _2) -\rho (\beta _1) \rho (\beta _3)}{(\beta _1-\rho ^2(\beta _1))}. \end{array} \right. \end{aligned}$$
(13)

with \(\rho _{21}=\rho (\beta _1)\), \(\rho _{31}=\rho (\beta _3)\).

Fig. 7
figure 7

a Orthogonal rectangular atoms \(w_1(t)\), \(w_2(t)/\beta _2\) and \(w_3(t)/\beta _3\) obtained by a scale change with \(T=1\) s, \(\beta _1 = 1/2\), \(\beta _2 = 1/3\), \(\rho _{21} = 1/2\), \(\rho _{31} = 1/6\), \(\rho _{32} = 1/3\), \(\gamma _{21} = -1/2\), \(\gamma _{31} = 0\) and \(\gamma _{32} = -1/3\); the first atom being defined by \(w_1(t)=v_1(t)=Rect_T(t-T/2)\). b Innovative orthogonal atoms \(w_1(t)\), \(w_2(t)/\beta _1\) and\(w_3(t)/\beta _2\) obtained by a scale change with \(T=2.5\) s, \(\beta _1 = 3/2\), \(\beta _2 = 1/2\), \(\rho _{21} = 1\), \(\rho _{31} = 3/4\), \(\rho _{32} = 0\), \(\gamma _{21} = -1\), \(\gamma _{31} = -3/4\) and\(\gamma _{32} =0\); the first atom being defined by \(w_1(t)=v_1(t)= {{\,\textrm{Rect}\,}}_T(t-T)\)

Three examples are proposed to build an orthogonal basis from the scaling operation.

  1. (a)

    The first example proposes the rectangular function as generator signal: \(v_1(t)= {{\,\textrm{Rect}\,}}_T(t-T/2)\), \({{\,\textrm{Rect}\,}}_T(t)\) being the rectangular function defined in “Appendix A.6”. It is a finite energy signal with compact support widely used in telecommunications (block-pulse method). The scale coefficient is equal to:

    $$\begin{aligned} \rho (\beta )= \left\{ \begin{array}{ll} \beta &{} \forall 0 \leqslant \beta \leqslant 1,\\ 1 &{} \forall \beta >1.\\ \end{array} \right. \end{aligned}$$

    The orthogonal signals \(w_1(t)\), \(w_2(t)/\beta _2\) and \(w_3(t)/\beta _3\) of duration \(T=1\) s, obtained with \(\beta _2 = 1/2\), \(\beta _3 = 1/3\), \(\rho _{21} = 1/2\), \(\rho _{31} = 1/6\), \(\rho _{32} = 1/3\), \(\gamma _{21} = -1/2\), \(\gamma _{31} = 0\) and \(\gamma _{32} = -1/3\) are reported in Fig. 7a. The signals obtained are of disjoint and contiguous supports. For another settings, the orthogonal rectangular atoms \(w_1(t)\), \(w_2(t)/\beta _2\) and \(w_3(t)/\beta _3\) are obtained by scaling with \(T=2.5\) s, \(\beta _2 = 3/2\), \(\beta _3 = 1/2\), \(\rho _{21} = 1\), \(\rho _{31} = 3/4\), \(\rho _{32} = 0\), \(\gamma _{21} = -1\), \(\gamma _{31} = -3/4\) and \(\gamma _{32} =0\) are reported in Fig. 7b. Orthogonal signals are no longer disjoint.

  2. (b)

    The second example proposes the cosine function as generator signal: \(v_1(t)=\cos \left( \frac{2 \pi }{T} t\right) \). It is a derivable, even and oscillating signal of period T and finite average power. The scale coefficient is equal to

    $$\begin{aligned} \rho (\beta ) =\beta {{\,\textrm{sinc}\,}}(2 \pi (\beta + 1))+ \beta {{\,\textrm{sinc}\,}}(2 \pi (\beta - 1)). \end{aligned}$$

    It is an even function where the maximum values are located in \(\beta = \pm 1\), and the zero crossings are located every \(\beta =\{ 0, \pm 1/2, \pm 3/2,...\}\). An example of the signals \(w_1(t)\), \(w_2(t)\) and \(w_3(t)\) is reported in Fig. 8a for a duration of 4 s, with \(f=4\) Hz, \(\beta _1=3/4\), \(\beta _2=5/4\). We notice here that the orthogonal signals obtained \(w_2(t)\) and \(w_3(t)\) are of the same nature as the generator signal, they present however an amplitude modulation.

  3. (c)

    The third example proposes as generator signal the modulated exponential function: \(v_1(t)=\cos (\omega t) \text{ e}^{-a t} u(t)\), where u(t) is the Heaviside function defined in “Appendix A.6”. It is a derivable, oscillating signal of period T, causal and of finite energy with unbounded support. The scale function is

    $$\begin{aligned} \rho (\beta )=\left( \frac{2\beta / (\beta +1 )}{2 + (\omega /a)^2}\right) \left( 1 + \frac{1 + (\omega /a)^2}{1+\left( \frac{\omega (\beta - 1)}{a (\beta + 1)}\right) ^2}\right) . \end{aligned}$$

    An example of the signals \(w_1(t)\), \(w_2(t)\) and \(w_3(t)\) is depicted in Fig. 8b for a duration of 8 s, with \(\beta _2=4\), \(\beta _3=3/2\), \(a=1/3\), \(\omega =3 a\), \(\gamma _{31}=-0.058\), \(\gamma _{32}=-0.746\) and \(\gamma _{21}=-0.403\). The obtained orthogonal signals present the same properties of the generator signal, i.e. derivable, causal and of finite energy with non-bounded support, only the frequency is modified.

Fig. 8
figure 8

a Orthogonal atoms obtained scale change with \(\beta _1=3/4\) and\(\beta _2=5/4\), \(\gamma _{21}=-0.409\), \(\gamma _{31}=-0.543\), \(\gamma _{32}=-0.830\); the first atom being defined by \(v_1(t)=\cos (2 \pi ft)\) for \(f=4\) Hz. b Orthogonal atoms obtained with \(w_1(t)=\cos (2 \pi t/T) \text{ e}^{-a t} u(t)\) with \(\beta _2=4\), \(\beta _3=3/2\), \(a=1/3\), \(\omega =3 a\), \(\gamma _{31}=-0.058\), \(\gamma _{32}=-0.746\) and \(\gamma _{21}=-0.403\)

For this type of transformation, there are no particular restrictions, as the orthogonal signals obtained present similar properties if compared with the generator signal. Note that for the cosine generator signal, if there were only 2 distinct solutions in the case of the time-shifting operation, for the scaling operation, there are as many solutions as necessary. It should also be noted that the solutions obtained correspond to sinusoidal signals modulated in amplitude, because of the beat phenomenon between the generator signal of frequency f and the orthogonal signal of frequency \(\beta f\).

2.3 Time-Reversal Operation

The time-reversal operation proposed here echoes the method proposed by [24] in order to orthogonalize linearly frequency modulated signals (sweep). The time-reversal operation, which allows us to obtain the atom \(v_{k-1}(t)\) from an atom \(v_k(t)\), is defined \(\, \forall k>1\) and \(K=3\) by

$$\begin{aligned} v_k(t)=T_k[v_{k-1}(t)]=v_1((-1)^k t+\tau _k). \end{aligned}$$

The introduction of the delay \(\tau _k\) combined with the time reversal allows to increase the calculation of the number of atoms. Indeed for \(\tau _1=\tau _2=0\), \(v_2(t)=v_1(-t)\) and \(v_3(t)=v_1(t)\), \(\rho _{31}=1\), \(\gamma _{31}=-1\) and \(\rho _{32}=0\), results in \(w_3(t)=0\). For \(K=3\), this yields:

$$\begin{aligned} \left\{ \begin{array}{ll} v_2(t)=T_1[v_1(t)]=v_1(-t+\tau _1),\\ v_3(t)=T_2[v_2(t)]=v_2(t+\tau _2)=v_1(-t+\tau _3)\\ \end{array} \right. \end{aligned}$$
(14)

with \(\tau _3=\tau _1-\tau _2\). Coefficients are defined by:

$$\begin{aligned} \left\{ \begin{array}{ll} \gamma _{21}= &{} -\rho _{21} \\ \gamma _{31} = &{} \frac{\nu _{32}\rho _{21}-\rho _{31}}{1-\rho ^2_{21}},\\ \gamma _{32}= &{} -\frac{\nu _{32} -\rho _{21}\rho _{31}}{(1-\rho ^2_{21})}, \end{array} \right. \end{aligned}$$
(15)

with \(\rho _{21}=C(\tau _1)/ \Vert w_1\Vert ^2\), \(\rho _{31}=C(\tau _3)/ \Vert w_1\Vert ^2\) with \(\rho (\tau )=C(\tau )/ \Vert w_1\Vert ^2\) and where \(C(\tau )=v_1(\tau )*v_1(\tau )\) is the auto-convolution function and with \(\Vert w_2\Vert ^2=\Vert w_1\Vert ^2(1-\rho ^2_{21})\) and \(\nu _{32}=\frac{R_{32}(\tau _3-\tau _1)}{\Vert w_1\Vert ^2}\) where \(R_{32}(\tau _3-\tau _1)\) is the cross-correlation function between \(v_3(t)\) and \(v_2(t)\).

For \(K=3\), the orthogonal atoms write:

$$\begin{aligned} \left\{ \begin{array}{ll} w_1(t)= &{} v_1(t),\\ w_2(t) = &{} v_1(-t+\tau _1)+ \gamma _{21}\, v_1(t),\\ w_3(t)= &{} v_1(-t+\tau _3)+ \gamma _{32} \, v_1(-t+\tau _1) + \gamma _{31} \, v_1(t). \end{array} \right. \end{aligned}$$
(16)

Two examples are proposed and reported in Fig. 9:

  • The generator signal is \(v_1(t)=\text{ e}^{-a t} u(t)\). It is a derivable, causal, finite energy signal with unbounded support. The coefficients are written \(\rho _{21}=\rho (\tau _1)\), \(\rho _{31}=\rho (\tau _3)\) with \(\rho (\tau )=2 a \tau \text{ e}^{-a \tau } u(\tau )\), \(\rho _{32}=\text{ e}^{-a |\tau _3-\tau _1|}\) and \(a=1\). Orthogonal signals are reported in Fig. 9a; Note that for \(\tau _1 \leqslant 0\), we obtain the anti-causal solution for \(w_2(t)=\text{ e}^{a t} u(-t)\).

  • The generator signal is \(v_1(t)=\text{ Rect}_T(t)\) with \(T=1\) s. It is note derivable due to discontinuities at \(|t|=T/2\) and it is a finite energy signal with compact support. The auto-convolution is \(C(\tau )=Tri_T(\tau )\). Parameters are \(\tau _1=0.2\), \(\tau _2=-0.4\), \(\gamma _{21}=-0.702\), \(\gamma _{31}=-0.714\) and \(\gamma _{32}=0.590\). Orthogonal signals are reported in Fig. 9b.

Fig. 9
figure 9

a Orthogonal atoms obtained for \(w_1(t)=\text{ e}^{-a t} u(t)\) with \(a=1\), \(\tau _1=4\), \(\tau _2=2\), \(\gamma _{21}=-0.147\), \(\gamma _{31}=-0.619\) and \(\gamma _{32}=0.533\). b Orthogonal atoms obtained for \(w_1(t)=\text{ Rect}_T(t)\) with \(T=1\) s, \(\tau _1=0.2\), \(\tau _2=-0.4\), \(\gamma _{21}=-0.702\), \(\gamma _{31}=-0.714\) and \(\gamma _{32}=0.590\)

Note that the orthogonal signals shown in Fig. 9 are completely new. In practice, time-reversal signals can be obtained using memories.

2.4 Amplitude Shift Operation

For the 3 previous operations, the energy nature of the signal has not been strongly modified. Here, the amplitude shift operation which consists in adding a DC component to the generating signal will transform a finite energy signal into a finite average power signal, the nature of the finite average power generating signals will not be changed. If this point is not a constraint, then from the atom \(v_{k-1}(t)\), the atom \(v_k(t)\) is obtained \( \forall k>1\) and \(K=3\) by:

$$\begin{aligned} v_k(t)=T_{k-1}[v_{k-1}(t)]=\alpha _k +v_{k-1}(t), \end{aligned}$$
(17)

where \(\alpha _k\) is the shift amplitude.

For \(K=3\), Eq. (1) becomes:

$$\begin{aligned} \left\{ \begin{array}{ll} v_2(t)=T_1[v_1(t)]=\alpha _1 + v_1(t),\\ v_3(t)=T_2[v_2(t)]=\alpha _1 + v_2(t) =\alpha _3 + v_1(t),\\ \end{array} \right. \end{aligned}$$
(18)

with \(\alpha _3=\alpha _1+\alpha _2\), \(\alpha _1, \, \alpha _2, \alpha _3 \, \in \mathbb {R}^*\). For \(K=3\), the orthogonal atoms being:

$$\begin{aligned} \left\{ \begin{array}{ll} w_1(t)= &{} v_1(t),\\ w_2(t) = &{} \alpha _1 + v_1(t) + \gamma _{21} v_1(t),\\ w_3(t)= &{} (\alpha _3 + v_1(t)) + \gamma _{32} (\alpha _1 + v_1(t)) +\gamma _{31} v_1(t). \end{array} \right. \end{aligned}$$
(19)

Note that orthogonal signals can be expressed simply as \(w_k(t) = \eta _k + \mu _k v_1(t) \). The coefficients are expressed as:

$$\begin{aligned} \left\{ \begin{array}{ll} \gamma _{21}= &{} -\rho (\alpha _1) \\ \gamma _{31} = &{} \frac{\nu +\rho (\alpha _1+\alpha _3)-\rho (\alpha _1)\rho (\alpha _3)}{(1-\rho (\alpha _1))},\\ \gamma _{32}= &{} \frac{\nu +\rho (\alpha _1+\alpha _3)-\rho (\alpha _1)\rho (\alpha _3)}{\rho (\alpha _1)(1-\rho (\alpha _1))}, \end{array} \right. \end{aligned}$$
(20)

with \(\nu =\frac{\alpha _1 \alpha _3 c}{\Vert v_1 \Vert ^2}\) where c is a constant of integration, and with \(\rho (\alpha )= 1+\alpha \frac{\overline{v_1}}{\Vert v_1 \Vert ^2}\), \(\rho _{21}=\rho (\alpha _1)\), \(\rho _{31}=\rho (\alpha _3)\), where \(\overline{v_1(t)}=\langle v_1, 1\rangle _t\).

Two examples are proposed to build an orthogonal basis from the amplitude shift operation.

  1. (a)

    The first proposed example has as generator signal the exponential signal: \(v_1(t)=\text{ e}^{-a t} u(t)\). It is a derivable, causal and finite energy signal with non-bounded support. The coefficient \(\rho (\alpha )\) is written: \(\rho (\alpha )=2\alpha +1\). The orthogonal atoms \(w_1(t)\), \(w_2(t)\), \(w_3(t)\) obtained by amplitude shift \(\alpha _1=1/4\) and \(\alpha _2=1/4\) are plotted in Fig. 10a with \(a=1\), \(\gamma _{21}=-1.491\), \(\gamma _{31}=-7.701\), and \(\gamma _{32}=3.835\). Although the generating signal is causal, the atoms \(w_2(t)\), \(w_3(t)\) are no longer causal due to the amplitude shift;

  2. (b)

    The second example proposed has for generator signal the absolute value function of the cosine signal: \(v_1(t)=|\cos (2 \pi f t)|\). It is not derivable over \(\mathbb {R}\), even, periodic signal of period \(T=1/2\) s of finite average power. The coefficient \(\rho (\alpha )\) is equal to \(\rho (\alpha ) =\alpha \left( \frac{8}{\pi -2}\right) +1\). An illustration of the orthogonal atoms \(w_1(t)\), \(w_2(t)\) and \(w_3(t)\) is reported in Fig. 10b with \(f=1\)Hz, \(\alpha _1=1/2\), \(\alpha _3=3/4\), \(\gamma _{21}=-1.636\), \(\gamma _{31}=-5.379\) and \(\gamma _{32}=2.093\). Note that the all input–output properties are preserved.

This transformation seems more adapted to signals with finite average power since the added component \(\alpha _k\) is itself of finite average power. However, for finite energy signals, we could replace \(\alpha _k\) by \(\alpha _k \text{ Rect}_T(t)\) and by other elementary signals.

Fig. 10
figure 10

a Orthogonal atoms obtained by amplitude shift, \(\alpha _1=1/4\), \(\alpha _2=1/4\), the first atom being defined by \(w_1(t)=\text{ e}^{-a t} u(t)\), with \(a=1\), \(\gamma _{21}=-1.491\), \(\gamma _{31}=-7.701\) and \(\gamma _{32}=3.835\). b Orthogonal atoms obtained by amplitude shift \(\alpha _1=1/2\), \(\alpha _3=3/4\). The first atom being defined by \(w_1(t)=|\cos (2 \pi f t)|\), with \(f=1\) Hz, \(\gamma _{21}=-1.636\), \(\gamma _{31}=-5.379\) and \(\gamma _{32}=2.093\)

2.5 Note: Numerical Calculation

Note that in all cases, it is always possible to compute numerically the different scalar products from Eq. (3). In the case of digital signals or digitized continuous signals, the calculation of the \(\gamma _{k,j}\) coefficients (from Eq. 5) is obtained by numerically calculating the \(\rho _{k,j}\) coefficients from the digital versions of the signals \({\textbf{v}}^T_k=[v_k(1),..., v_k(N)]\), N being the number of points composing the vector \({\textbf{v}}^T_k\). For example for the calculation of \(\rho _{2,1}\) we get: \(\rho _{2,1}=\frac{{\textbf{v}}_1^T {\textbf{v}}_2}{{\textbf{v}}^T_1 {\textbf{v}}_1}\) where \({\textbf{v}}^T_1=[v_1(1),...., v_1(N)]\) and \({\textbf{v}}^T_2=[v_2(1),..., v_2(N)]\) are the numerical versions of signals \(v_1(t)\) and \(v_2(t)\).

For example by applying a transformation operator from the composition of operations \(T_k[v_{k-1}]=\alpha _k + \beta _k v_1((-1)^k\beta _k t + \tau _k)\) and applied to the generating signal \(v_1(t)=t^2 \text{ e}^{-a t} \cos (2 \pi f t^2)\) representing a linear frequency modulation (see Matlab code in “Appendix A.5”). In this case, the too complex analytical form is not accessible whereas its numerical calculation is possible and leads to the results reported in Fig. 11 with \(K=3\).

Fig. 11
figure 11

Orthogonal atoms obtained numerically from the transformation \(T_k[v_1]=\alpha _k + \beta _k v_1((-1)^k\beta _k t + \tau _k)\) and for the generator signal \(v_1(t)=t^2 \text{ e}^{-a t} \cos (2 \pi f t^2)\) with \(K=3\). The sampling frequency is of \(F_s=1000\) Hz

3 Discussions and Conclusion

In this paper, a new OSG structure composed of two parts was proposed. A SIMO sub-part exploits transformations \(T[\bullet ]\), and a MIMO sub-part uses the Gram–Schmidt procedure (a kind of transformation \(G[\bullet ]\)). The method provides a formal framework that provides directly usable analytical solutions through the calculation of coefficients (\(\rho _{k,j}\), \(\gamma _{k,j}\)) and the setting of parameters (\(\tau _k\), \(\beta _k\), \(\alpha _k\)) depending of the transformation used. The proposed method can be used both from analytical and digital framework. Moreover, the obtained orthogonal signals are novel for most of them and their properties are very similar to the only available signal x(t). This could be an important advantage for practical applications. Furthermore, these solutions could probably not have been obtained from traditional methods. To show the applicability of the presented approach, two families of signals have been studied: finite energy signals and finite average power signals.

Based on existing orthogonal decompositions from purely mathematical approaches, four elementary signal processing operations have been proposed: time shifts, scaling, time reversal and amplitude shifts. We then built a base of orthogonal atoms by proposing a generator signal at the k iteration of the process which follows the same model: \(v_k(t)=T_k[v_{k-1}]\). In this case, the transformation is identical throughout the process. However, other transformations different at each iteration can also be used, such as \(v_2(t)=T_2[v_{1}]=v_1(t+\tau _1)\) and \(v_3(t)=T_3[v_{2}]=v_2(\beta _2 t)=v_1(\beta _2 t +\tau _1)\). Although only linear transformations have been used, this work can be extended to the use of nonlinear transformations, such as \(v_2(t)=T_2[v_{1}]=v_1^{1/2}(t)\) and \(v_3(t)=T_3[v_{2}]=v_2(\beta _2 t)=v_1^{1/3}(t)\). In this case, the difficulty lies in the analytical calculation of the coefficients \(\gamma _{kj}\) and \(\rho _{kj}\).

Another interesting point in the presented approach is that the different elements resulting from the \(\alpha _k\), \(\beta _k\) and \(\tau _k\) transformations can be calculated randomly from a list of pre-established values or not. For example, in a communication protocol, the time shift \(\tau _k\) could be carrier frequencies archived in the configuration system and made secret to the users. This may enhance security and privacy.

Finally, the strength of the proposed method lies in its simplicity, its efficiency and it offers an analytical framework that can be easily replaced by a numerical one.

The main drawback of the presented method is that for some transformations and generator signals, the analytical formulation becomes of difficult application. In these particular cases, a numerical implementation may be considered.

Finally, the real-time aspect was not taken into account in this work, and it could constitute a new track to explore.