METHOD FOR GENERATING A NEGATIVE GROUP DELAY AND ASSOCIATED ELECTRONIC DEVICE AND COMPUTER PROGRAM PRODUCT
20250070760 ยท 2025-02-27
Inventors
Cpc classification
International classification
Abstract
A method for generating, by an electrical device based on an input signal, an output signal that exhibits a negative group delay. The method includes the following steps, carried out by a programmable digital processing unit of the device: obtaining a sampling frequency associated with a digital signal representative of the input signal; obtaining a target negative group delay value; determining a set of coefficients for a differential equation according to the sampling frequency and the target negative group delay value; calculating, upon acquiring a current value of the digital signal, a corresponding current value of the output signal by using the differential equation.
Claims
1. A method comprising: generating, by an electronic device, from a signal supplied as input to said electronic device, an output signal having a negative group delay with respect to said input signal, the generating comprising at least one iteration of the following acts, implemented by a programmable digital processing unit of said electronic device: obtaining a sampling frequency associated with a digital signal representative of said input signal; obtaining a group delay value, referred to as a target negative group delay value, said target negative group delay value being controlled by said programmable digital processing unit to be less than or equal to a quarter of a current rise or fall variation time of said input signal when said input signal is non-deterministic, or to a quarter of a period of said input signal when said input signal is periodic; determining a set of coefficients from a difference equation, as a function of said sampling frequency and said target negative group delay value, said difference equation defining a relationship between a value of said output signal, a value of said input signal and at least one previous value of said input signal and/or said output signal; and calculating, on acquisition of a current value of said digital signal, a corresponding current value of said output signal, by using said difference equation.
2. The method according to claim 1, wherein said difference equation is determined as a function of an operating mode selected from a recursive mode and a non-recursive mode, and as a function of an order associated with said operating mode.
3. The method according to claim 1, wherein said input signal is an analogue signal, and the method comprises an analogue-to-digital conversion of said input signal, said conversion comprising sampling said input signal at said sampling frequency, providing said digital signal representative of said input signal.
4. The method according to claim 3, comprising, prior to said analogue-to-digital conversion, conditioning said analogue input signal.
5. The method according to claim 1, wherein said sampling frequency of the input analogue signal is controlled by said programmable digital processing unit.
6. The method according to claim 5, wherein said sampling frequency of the input analogue signal is adapted as a function of a current rise and/or fall time of said input signal.
7. An electronic device for generating an output signal having a negative group delay with respect to an input signal supplied as input to said electronic device, said electronic device being comprising: an input for receiving the input signal; an output for supplying the output signal; and a programmable digital processing unit configured to: obtain a sampling frequency associated with a digital signal representative of said input signal; obtain a group propagation time value, referred to as target negative group propagation time value, said target negative group propagation time value being controlled by said programmable digital processing unit so as to be less than or equal to a quarter of a time of current variation in rise or fall of said input signal when said input signal is non-deterministic, or to a quarter of a period of said input signal when said input signal is periodic; determine a set of coefficients of a difference equation as a function of said sampling frequency and said target negative group propagation time value, said difference equation defining a relationship between a value of said output signal, a value of said input signal and at least one previous value of said input signal and/or said output signal; calculate, on acquisition of a current value of said digital signal, a corresponding current value of said output signal, by using said difference equation.
8. The electronic device according to claim 7, comprising an analogue-to-digital converter which samples said input signal at said sampling frequency, delivering said digital signal representative of said input signal, when said input signal is analogue.
9. The electronic device according to claim 7, wherein said programmable digital processing unit belongs to the group consisting of: a microcontroller; a virtual machine running on a computer; A Field Programmable Gate Array (FPGA)-type programmable prediffused integrated circuit; and an Application Specific Integrated Circuit (ASIC)-type integrated circuit with a specific application.
10. A non-transitory computer readable medium comprising program code instructions stored thereon for executing a method, when executed on a computer of an electronic device, wherein the method comprises: generating, by the electronic device, from a signal supplied as input to said electronic device, an output signal having a negative group delay with respect to said input signal, the generating comprising at least one iteration of: obtaining a sampling frequency associated with a digital signal representative of said input signal; obtaining a group delay value, referred to as a target negative group delay value, said target negative group delay value being controlled by said programmable digital processing unit to be less than or equal to a quarter of a current rise or fall variation time of said input signal when said input signal is non-deterministic, or to a quarter of a period of said input signal when said input signal is periodic; determining a set of coefficients from a difference equation, as a function of said sampling frequency and said target negative group delay value, said difference equation defining a relationship between a value of said output signal, a value of said input signal and at least one previous value of said input signal and/or said output signal; and calculating, on acquisition of a current value of said digital signal, a corresponding current value of said output signal, by using said difference equation.
Description
FIGURES
[0040] Other features and advantages of the invention will become clearer on reading the following description of a preferred embodiment, given merely as an illustrative and non-limiting example, and of the accompanying drawings, in which:
[0041]
[0042]
[0043]
[0044]
[0045]
[0046]
[0047]
[0048]
[0049]
DETAILED DESCRIPTION OF THE INVENTION
[0050] The present invention relates to a method for generating a negative group delay that makes it possible to overcome most of the obstacles and barriers cited in relation to the prior art, thus opening up the field to numerous practical applications in multiple fields (industrial, medical, general public, etc.). More specifically, the present invention aims to offer a solution for generating a negative group delay that is both robust and flexible, and can therefore be industrialised. In terms of robustness, the proposed solution is reliable, in the sense that it does not have the random or uncertain nature of existing solutions as described in relation to the prior art, with regard to the generated value of negative group delay. In terms of flexibility, the proposed solution makes it possible to generate a negative group delay that can be greater than one second (or even in the order of one minute, one hour, one day or more on certain slow signals), over a wider frequency band than the solutions of the prior art. The proposed solution is also reconfigurable, in the sense that it can dynamically and automatically modify the negative group delay (i.e. the advance) generated by the electronic device in which the method is implemented, and adaptive in the sense that it is capable of self-configuring according to the temporal nature of the input signal.
[0051] These objectives are achieved by means of a method for generating a negative group delay which is based on digital processing of the input signal. More particularly, the proposed technique relates to a method for generating an output signal having a negative group delay with respect to an input signal supplied as input to an electronic device, this method differing from solutions of the prior art in that the steps of generating the negative group delay are implemented by a programmable digital processing unit of said electronic device (the digital processing unit being programmed for this purpose, for example by means of a high-level programming language). As detailed below, in a particular embodiment of the proposed invention, the programmable digital processing unit is configured in particular to analyse the variations in the input signal (e.g. minimum and maximum values, rise and/or fall times, etc.), as the samples are acquired, and to adapt the negative group delay, in other words the advance of the output signal, automatically as a result.
[0052]
[0053] In step 13, the digital processing unit obtains a sampling frequency associated with a digital signal representative of the input signal of the electronic device. Depending on the nature of this input signal, the digital signal representing the input signal may be: [0054] the input signal itself, if the latter is already a digital signal, in which case the sampling frequency corresponds to a frequency of selection of the values of the input signal, which can be controlled so as to correspond, for example, to the frequency of appearance of the values of the input signal, to a lower frequency (consisting for example of selecting only one sample out of two, or out of three, or out of four etc. of the input signal values), or at a higher frequency (in which case values not initially present in the digital input signal are extrapolated as a function of previous input signal values for example); [0055] or the result of a step 12 of analogue-to-digital conversion of the input signal, if the latter is an analogue signal, in which case the sampling frequency corresponds to the frequency at which the analogue input signal is sampled, step 12 of analogue-to-digital conversion possibly being preceded by a step 11 of conditioning the analogue input signal comprising for example amplification and/or filtering operations enabling the signal to be prepared prior to processing.
[0056] Regardless of the nature of the input signal (digital or analogue), the sampling frequency associated with the digital signal representing the input signal can therefore be controlled by the programmable digital processing unit of the electronic device, in accordance with the procedures detailed later in relation to a particular embodiment of the proposed invention.
[0057] In step 14, the digital processing unit obtains a group delay value, referred to as the target negative group delay in that it represents the targeted time advance of the output signal relative to the input signal. Such a value is, for example, programmed manually by a user, at least initially, possibly on the basis of a preliminary study by the user of the characteristics of the input signal, and in particular its variation times. More specifically, the purpose of such a study is to take account of certain constraints that need to be complied with in order to ensure the optimum generation of the target negative group delay. In other words, the aim here is to take into account the fact that the achievable advance (i.e. the advance of the output signal that can be synthesised with sufficient robustness and stability) depends directly on the rate of variation of the input signal. Thus, according to one particular feature, the target negative group delay is less than or equal to a quarter of the instantaneous variation of the input signal (i.e. a current rise time or a current fall time of the input signal, as the case may be) when the latter is non-deterministic, or to a quarter of the period of the input signal when the latter is periodic. Controls implemented by the digital processing unit may be implemented to ensure that this constraint is respected. More particularly, in a particular embodiment, a continuous and automatic analysis of the input signal is implemented by the digital processing unit (for example each time a new value of the digital signal representative of the input signal is acquired), enabling this processing unit to estimate in real-time (or virtually real-time) a current variation time (e.g. rise or fall) of the input signal, and to adapt accordingly the target negative group delay value (in other words the achievable advance) as a function of this current variation time. According to one particular feature, the group delay value determined in step 14 is thus fixed at a quarter of the current variation time estimated in this way (or at least at a value less than a quarter of the current variation time).
[0058] In step 15, the digital processing unit determines a set of coefficients of a difference equation, as a function of the sampling frequency obtained in step 13 and the target negative group delay value obtained in step 14.
[0059] The difference equation has the following general form:
[0060] In particular, the difference equation makes it possible to calculate the current value y[n] of the output signal as a function of the current value of the input signal x[n] and, depending on the case, of a certain number of previous values of the input signal and the output signal, these values being weighted by means of the coefficients determined in step 15.
[0061] According to one particular feature, the form of the difference equation (and more particularly the number of coefficients calculated in step 15) is determined as a function of an operating mode selected by the user, from a recursive mode and a non-recursive mode, and as a function of an order selected for said operating mode. The operating mode may for example correspond to a mode of order 1 infinite impulse response type (order 1 IIR), a mode of order 2 infinite impulse response type (order 2 IIR), a mode of order 1 finite impulse response type (order 1 FIR), a mode of order 2 finite impulse response type (order 2 FIR), etc.
[0062] We will now describe an example of determining the coefficients of the difference equation in the case of an order 1 infinite impulse response (order 1 IIR) mode of operation, which makes it possible to generate a low-pass negative group delay (LP NGD) function. In this operating mode, the difference equation has the following form:
[0063]
[0065] The coefficients a.sub.0, a.sub.1 and b.sub.1 of the difference equation (1) are determined for example from the canonical first-order analogue form of a LP NGD function, as shown below. In particular, studies have shown that the following analogue first-order transfer function (TF) is likely to behave like an unfamiliar LP NGD function:
[0067] The features of a LP NGD function can furthermore be defined by the ideal GD (w) group propagation time response as illustrated in relation to
[0068] It has been shown in the literature that the generation of a LP NGB function from these specification parameters implies that the coefficients a and b in equation (4) have the following values:
[0069] In addition, in order to highlight the time signature of the LP NGD function, the power spectrum of the input signal X(j) has to satisfy the condition .sub.max=.sub.n.
[0070] Combining equations (3) and (4) leads to the following new symbolic expression as a function of the coefficients a and b:
[0071] By adopting the hypothesis:
[0073] This equation is the source of the formulae for calculating the coefficients a.sub.0, a.sub.1 and b.sub.1 in equation (1). To achieve this, a discretisation is carried out, taking into account a sampling step that respects the following condition in order to minimise numerical uncertainties:
[0074] More specifically, the continuous variable t is discretised into its sample:
[0077] Consequently, the discretisation is mathematically achieved by the following substitutions:
[0078] This involves discretising the input and output terms into the following derivatives:
[0079] Substituting equations (13), (14) and (15) into equation (9) gives the following values calculated in step 15 for the coefficients a.sub.0, @1 and b.sub.1 of the difference equation (1):
where: [0080] .sub.n is a negative value corresponding to the target negative group delay time, expressed in seconds; [0081] T.sub.e is the sampling period (inverse of the sampling frequency obtained in step 13), expressed in seconds;
[0082] Returning to a general case, in an iterative step 16, the difference equation whose coefficients were determined in step 15 is used to generate the output signal having a negative group propagation time (GPT) with respect to said input signal. More particularly, each time a current value of the digital signal representative of the input signal is obtained (or acquired)in other words at the sampling frequency-a current value of the output signal is calculated by means of said difference equation.
[0083] In a particular embodiment, according to a principle already explained above, the last values of the input signal obtained during the last iterations of step 16 are analysed so as to estimate a current rise time or a current fall time of the input signal (i.e. a current variation time of the input signal). The results of such an estimate can then be used, in a step 17, to adapt the target negative group delay value (by automatically setting it to a quarter of the estimated current variation time for example), but also to adapt the input signal sampling frequency accordingly. The aim here is, for example, to ensure that sufficient samples are available during the subsequent implementation of the method so that the variations in the input signal can continue to be analysed with sufficient precision. According to a particular feature, the sampling frequency (i.e. the sampling frequency used for converting the analogue signal to a digital signal when the input signal to the negative group delay device is an analogue signal, or the frequency for selecting the values of the input signal when the input signal of the negative group delay device is a digital signal) is thus controlled and adjusted by the digital processing unit so that the sampling period is in the order of a tenth of the estimated current variation time. In this way, the process of generating a negative group delay is adaptive, i.e. it is capable of self-configuring according to the temporal nature of the input signal.
[0084]
[0085] Referring now to
[0086] According to the proposed technique, the programmable digital processing unit UT comprises in particular, in a particular embodiment: [0087] means for obtaining a sampling frequency associated with the digital signal representative of the input signal, this frequency corresponding, in the particular embodiments illustrated in
[0091] In a particular embodiment, the programmable digital processing unit also comprises means (CTRL Fe) for controlling the sampling frequency, enabling it to automatically adapt the sampling frequency used in the ADC analogue-to-digital conversion unit as a function of the time evolution of the digital signal delivered by this unit (and in particular an analysis of the rise and/or fall times of this signal).
[0092] These elements (units and means) in common of an electronic device for generating a negative group delay, presented above, are however capable of being implemented in different ways, as shown in relation to
[0093] In a first implementation mode, illustrated in relation to
[0094] In a second implementation mode, illustrated in relation to
[0095] In a third implementation mode, illustrated in relation to
[0096] In a fourth implementation mode, illustrated in relation to
[0097] Of course, these modes of implementation are given purely by way of illustration and are not limitative, and other modes of implementation may be envisaged in the context of the present technique, for example an integration of the method of generating a negative group propagation time on generic processors for the general public or, on the contrary, processors specialised in certain fields of activity (industry 4.0, autonomous driving, intelligent mobility solutions, aeronautical systems, etc.), or even on very widespread Flash/EEPROM type memory components (particularly in smartphones).
[0098] The present technique for generating a negative group delay based on digital circuits, in any of the embodiments described above, therefore makes it possible to overcome most of the obstacles and technological barriers associated with the solutions of the prior art, based on analogue circuits. It thus constitutes a robust and flexible alternative opening the way to a large number of applications in fields as varied as industrial applications (e.g. for reducing or eliminating latencies in detection signals from sensors, observed in industrial control/command systems, particularly in the fields of robotics, automatic control, intelligent buildings or smart-buildings, etc.), smart energy networks or smart-grids (e.g. to implement efficient management of electrical energy production by anticipating variations in weather conditions), signal processing in critical on-board systems (e.g. to reduce the reaction times of these critical systems, anticipate events from sensors, predict failures and breakdowns, particularly in the field of autonomous vehicles, aeronautics, nuclear power, etc.), signal reconstruction in medical engineering (e.g. to reconstitute a signal drowned in noise, such as an electroencephalogram, or heavily degraded by interference, such as an electrocardiogram), artificial intelligence (e.g. for the real-time prediction of information), etc.