Electronic device, corresponding apparatus, method and computer program product
11300596 · 2022-04-12
Assignee
Inventors
- Marco Maria Branciforte (Catania, IT)
- Luigi Fortuna (Syracuse, IT)
- Arturo Buscarino (Tremestrieri Etneo, IT)
- Maide Bucolo (Catania, IT)
- Fernando Nuwan Poruthotage (Sant'Agata li Battiati, IT)
Cpc classification
Y04S40/20
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
H02J3/00
ELECTRICITY
H02J2203/20
ELECTRICITY
G01R19/2513
PHYSICS
H02J3/001
ELECTRICITY
Y02E60/00
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
International classification
G01R23/00
PHYSICS
H02J13/00
ELECTRICITY
Abstract
An oscillatory electric signal having an oscillation frequency is processed by time-sampling to generate a sampled oscillatory electric signal. A nonlinear circuit driven by the sampled oscillatory electric signal outputs a hysteretic response signal as a function of the sampled oscillatory electric signal. The hysteretic response signal has a frequency in a first frequency range as a result of an increase in the oscillation frequency of the oscillatory electric signal, and a frequency in a second frequency range as a result of a decrease in the oscillation frequency of the oscillatory electric signal. A detection circuit processes the hysteretic response signal to compute an envelope signal of the hysteretic response signal, perform a comparison of the envelope signal with a threshold, and produce a signal indicative of an increase or a decrease in the oscillation frequency of the oscillatory electric signal as a result of the outcome of the comparison.
Claims
1. An electronic device, comprising: an input node configured to receive an oscillatory electric signal that has an oscillation frequency; a processing circuit coupled to said input node and configured to apply time-sampling to said oscillatory electric signal and provide a sampled oscillatory electric signal; a nonlinear circuit configured to receive said sampled oscillatory electric signal, wherein the nonlinear oscillator circuit is driven by said sampled oscillatory electric signal to output a hysteretic response signal as a function of said sampled oscillatory electric signal, wherein said hysteretic response signal has a frequency in a first frequency range as a result of an increase in the oscillation frequency of the oscillatory electric signal, and has a frequency in a second frequency range as a result of a decrease in the oscillation frequency of the oscillatory electric signal; and a detection circuit coupled to receive said hysteretic response signal from said nonlinear circuit and configured to compute an envelope signal of said hysteretic response signal, perform a comparison of said envelope signal with at least one threshold, and produce a signal indicative of one of an increase or a decrease in the oscillation frequency of the oscillatory electric signal as a result of the outcome of said comparison.
2. The electronic device of claim 1, wherein the processing circuit is configured to adjust an amplitude of said sampled oscillatory electric signal.
3. The electronic device of claim 1, wherein the nonlinear circuit comprises a microcontroller-based circuit.
4. The electronic device of claim 1, wherein said nonlinear circuit has a hysteretic frequency response which satisfies an expression:
5. The electronic device of claim 1, wherein the nonlinear circuit comprises an Infinite Impulse Response (IIR) filter.
6. The electronic device of claim 5, wherein the IIR filter is configured to have a hysteretic frequency response H(z) which satisfies an expression:
7. The electronic device of claim 1, further comprising: an oscillatory signal generator configured to generate the oscillatory electronic signal; a user circuit configured to operate said oscillatory signal generator as a function of said signal indicative of an increase or a decrease in the oscillation frequency of the oscillatory electric signal.
8. The electronic device of claim 7, wherein said oscillatory signal generator is a power grid supply signal generator and wherein said oscillation frequency is equal to 50 Hz or 60 Hz.
9. A method, comprising: receiving an oscillatory electric signal that has an oscillation frequency; applying time-sampling to said oscillatory electric signal to provide a sampled oscillatory electric signal; performing a nonlinear processing on the sampled oscillatory electric signal to output a hysteretic response signal, wherein said hysteretic response signal has a frequency in a first frequency range as a result of an increase in the oscillation frequency of the oscillatory electric signal, and has a frequency in a second frequency range as a result of a decrease in the oscillation frequency of the oscillatory electric signal; computing an envelope signal of said hysteretic response signal; performing a comparison of said envelope signal with at least one threshold; and producing a signal indicative of one of an increase or a decrease in the oscillation frequency of the oscillatory electric signal as a result of the outcome of said comparison.
10. The method of claim 9, comprising: configuring a nonlinear processing circuit which performs the nonlinear processing to output a plurality of hysteretic response signals; and wherein computing comprises computing the envelope signal of said plurality of hysteretic response signals.
11. A computer program product loadable into a memory of a processing circuit and comprising a software code portion implementing a method according to claim 9 when the software code portion is executed by said processing circuit.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) One or more embodiments will now be described, by way of non-limiting example only, with reference to the annexed Figures, wherein:
(2)
(3)
(4)
(5)
(6)
DETAILED DESCRIPTION
(7) In the ensuing description, one or more specific details are illustrated, aimed at providing an in-depth understanding of examples of embodiments of this description. The embodiments may be obtained without one or more of the specific details, or with other methods, components, materials, etc. In other cases, known structures, materials, or operations are not illustrated or described in detail so that certain aspects of embodiments will not be obscured.
(8) Reference to “an embodiment” or “one embodiment” in the framework of the present description is intended to indicate that a particular configuration, structure, or characteristic described in relation to the embodiment is comprised in at least one embodiment. Hence, phrases such as “in an embodiment” or “in one embodiment” that may be present in one or more points of the present description do not necessarily refer to one and the same embodiment.
(9) Moreover, particular conformations, structures, or characteristics may be combined in any adequate way in one or more embodiments.
(10) The references used herein are provided merely for convenience and hence do not define the extent of protection or the scope of the embodiments.
(11) One or more embodiments may exploit a property of non-autonomous nonlinear dynamical systems.
(12) A linear dynamical system is a system in which a relatively small change in an initial condition of the system produces a relatively small and quantifiable or predictable change in an output state of the system.
(13) Frequency response is the quantitative measure of the output spectrum of a system or device in response to a stimulus, and is used to characterize the dynamics of the system. It is a measure of magnitude and phase of the output as a function of frequency, in comparison to the input. In simplest terms, if a sine wave is injected into a system at a given frequency, a linear system will respond at that same frequency with a certain magnitude and a certain phase angle relative to the input. In other words, the magnitude of a frequency response of a linear system is characterized by a single valued curve |G(jω)|, where w is the frequency of the input signal.
(14) Conversely, a nonlinear dynamical system may exhibit a relatively sensitive dependence on system initial conditions. Thus, a relatively small or even a virtually unmeasurable difference in system initial conditions can result in nonpredictable system output states. Such output states may, in some instances, have relatively large differences between them despite the relatively small differences in initial conditions of the system.
(15) Nonlinear systems receiving a driving signal may show a regimen in which a magnitude of the frequency response |U| may have different values for a same frequency value ω.
(16) A wide variety of nonlinear oscillator circuits may display such behavior, which may be observed as a result of increasing (decreasing) frequency of the driving signal.
(17) One or more embodiments are based on the observation that jump resonance may actively be used, purposely designing a device showing such an otherwise detrimental physical phenomenon to facilitate the detection of the trend of frequency drifts in an oscillatory signal, e.g., an analog signal.
(18) One or more embodiments comprise purposely designed and configured microcontroller-implemented discrete-time dynamical systems showing jump resonance to obtain a fast analysis of the input signal frequency and to detect increasing and/or decreasing trends.
(19) In one or more embodiments, a discrete-time nonlinear core may be implemented in a microcontroller in a flexible way (e.g., programmable microcontroller), so that the nonlinear core may be reconfigurable “online”, e.g. modifying a small set of parameters. For instance, obtaining the detection of frequency drifts in various bands may be facilitated by changing at least one parameter.
(20)
(21) As exemplified in
(22) Jump resonance is a phenomenon observed in nonlinear circuits where an output frequency response function (module) |U| exhibits abrupt jumps when the frequency of the input signal is varied, for instance the output response may change its value from A to B if the frequency is reached from a higher value to a lower value, and change from B to A if the frequency ω.sub.0 is reached from a lower value to a upper value, as exemplified in
(23) The presence of a hysteretic curve in the frequency response U of a dynamical system is something unusual and, especially in control systems, worsens the control performance. Therefore, analysis is performed in control systems design with the aim of avoiding the parameter space in which jump resonance occurs.
(24) The Inventors have observed that such a (frequency-hysteresis) behavior may be advantageously exploited in an electronic device 10, as exemplified in
(25) One or more embodiments may comprise a frequency hysteresis-based circuit. Such a frequency hysteresis may differ from classical hysteresis-based circuits wherein a hysteresis phenomenon occurs in voltage/current or from ferromagnetic devices wherein a hysteresis occurs in magnetic field/flux.
(26) In one or more embodiments, such an electronic device 10 may comprise: a pre-processing (PP) circuit 12, configured to receive the oscillatory signal S provided to the device 10 and to apply signal conditioning thereto, for instance attenuating or amplifying the signal (e.g., amplitude adjustment), providing as output a signal having a same frequency of the oscillatory signal S and amplitude characteristics suitable to drive the nonlinear oscillator circuit, as discussed in the following, a nonlinear oscillator (OSC) circuit 14, for instance a suitably configured microcontroller or second order IIR filter, depending on whether the input signal is a continuous or discrete time signal, configured to provide as an output a frequency response function in time U, a jump detection (processing) circuit 16, for instance a processing circuit to compute an envelope of the frequency response U or a comparator circuit configured to receive the frequency response and compare its value with one or more reference values.
(27) In one or more embodiments, the jump detection circuit 16 may be configured to forward to a user circuit 18 a trigger or alert signal T in case a significant variation, e.g., above a certain threshold, of the value of an envelope of the response signal U is detected, indicative of a frequency jump happened in the frequency response.
(28) One or more embodiments may optionally include a reconfiguration (Rec) circuit 15, coupled to the nonlinear circuit 14, wherein the reconfiguration circuit 15 (for instance, a computer) may be used to “tune” one or more design parameters, for instance a set of parameters ω.sub.n, K, F, ξ discussed in the following, facilitating using the device 10 also to measure an unknown period of a signal S fed thereto. For instance, if a signal having an unknown frequency f is fed to the circuit 14 and the circuit parameters are “swept” between different ranges of values, the value of the parameter, e.g., ω.sub.n for which a trigger signal T is raised may be indicative of the frequency value of the unknown frequency f of the signal S.
(29) One or more embodiments may comprise a method for detecting a change in oscillation frequency of an oscillatory signal, the method comprising: providing a nonlinear oscillator circuit 14 behaving as a non-autonomous nonlinear system, e.g., having a frequency response as exemplified in
(30) In one or more embodiments the alert signal T may, for instance, be an envelope signal E of the variation of the frequency response U in time of the circuit 14. For instance, if the frequency drift is positive, and there is an increase in drive signal frequency, the envelope T of the response U may have a negative trend during a time-interval reaching a first threshold, e.g., going from a higher value to a lower value. Such a negative trend may be indicative of a positive drift in the frequency.
(31) Similarly, if the frequency drift is negative, and there is a decrease in drive signal frequency, the envelope T of the response U may have a positive trend, e.g., going from a lower value to a higher value during a time interval above a second threshold. Such a positive trend may be indicative of a negative drift in the frequency.
(32) In one or more embodiments the user circuit 18 may comprise a control circuit coupled to a generator of the oscillatory signal S and capable of compensating such drift, until the envelope T value changes in the opposite direction.
(33) In one or more embodiments, the user circuit 18 may comprise a control circuit which may be used to automatically take action, for instance in order to prevent a power grid failure. In one or more embodiments, the user circuit 18 may comprise interactive human-machine interfaces configured to alert human operators of the possibility of an impending power grid failure.
(34) In one or more embodiments, data may be sent from the power grid line or may be sensed by a sensor coupled to the power grid.
(35) It is noted that the device could be used in many other applications where frequency drift monitoring may be of interest, such as in the power electrical plants. For instance, the device can be used to detect vibrational behavior of mechanical systems, electromechanical systems, hydraulic systems, etc. where it may be an on-site low-cost sensor providing a general high-level monitoring platform, facilitating decision actions.
(36) As a further remark, it is noted that one or more embodiments may employ an analog nonlinear oscillator circuit. At the same time, such an analog circuit may hardly provide an easy programmability of the device 14, therefore software adjustments are useful to reach an adequate performance.
(37)
(38) In one or more embodiments, such a circuit 14 may have a resonance response U designed as a closed-loop system, composed by a continuous-time linear circuit portion 140 and a polynomial nonlinear circuit portion 142, wherein the nonlinear circuit portion forms a retroactive feedback branch for the linear circuit portion 140. In one or more embodiments, for instance, the nonlinear circuit portion 142 may be coupled between the linear portion 140 output and its input, being coupled to the input via an adder 144 which subtracts the feedback from the input.
(39) In one or more embodiments, a quasilinear representation for a nonlinear element subjected to a sinusoidal input R, indicated as describing function DF, may be a function both of an amplitude and frequency of the input signal R.
(40) In one or more embodiments, the modulus of the closed-loop response U of the system may be expressed as a polynomial whose order may be a function of the order of the polynomial nonlinearity, for instance as a result of applying a describing function DF approach.
(41) In the following, principles underlying one or more embodiments are discussed with reference to an example of a third order nonlinearity, being otherwise understood that such a case is purely exemplary and in no way limiting.
(42) In one or more embodiments, the linear circuit portion 140 may have a general second-order transfer function G(s) which may be expressed in the Laplace domain as:
(43)
(44) while a function N for the non-linear circuit portion 142 may be expressed as a cubic term, e.g.:
N(u)=u.sup.3 wherein K, ω.sub.n and ξ are design parameters and the coefficients of the polynomial nonlinearity.
(45) Design parameters K, ω.sub.n and ξ can be fixed imposing the desired solutions to the polynomial describing the modulus of the closed-loop response, as discussed in the following.
(46) For the considered cubic nonlinearity, the describing function DF with sinusoidal inputs r may be expressed as:
(47)
(48) so that the closed loop system response U may be expressed as:
(49)
(50) where: G.sup.−1(jω)=R(ω)+jI(ω) is the inverse transfer function of the linear circuit portion 140, and F and ψ are further design parameters.
(51) For instance, imposing F=1, it follows that the expression of the closed loop system response U becomes:
(52)
(53) Applying the modulus operator to the expression and considering ψ=0, the modulus of the equation above may be expressed as:
(54)
(55) In order to have a window of jump resonance, the equation above is conditioned to provide three positive and real solutions U for a same value of ω.
(56) Given a generic third order (dis)equation, which may be expressed as
ax.sup.3+bx.sup.2+cx+d=0
(57) the condition to impose so that it admits three real roots may be expressed as:
(58)
(59) where
(60)
(61) For instance, the sign of the obtainable three roots can be evaluated using a Routh table.
(62) From the discussion in the foregoing, it follows that a set of conditions may be derived to design a nonlinear circuit 14 having a transfer function as exemplified in
(63) For instance, such condition may be expressed as:
(64)
(65) wherein
(66)
(67)
(68) Starting from such continuous-time nonlinear circuit, a discrete-time nonlinear system may be obtained, purposely designing or providing a linear circuit portion and a nonlinear circuit portion in order to have jump resonance in the frequency response U.
(69) For instance, the linear portion transfer function may be expressed in a time-discrete domain by applying a Tustin transformation to the transfer function in the Laplace domain. The Tustin transformation may be expressed as:
(70)
(71) and the linear circuit portion transfer function in the time-discrete domain G(z) may be expressed as:
(72)
(73) A nonlinear circuit 14 having a time-discrete transfer function G(z) may be purposefully exploited in one or more embodiments of the electronic device 10 for frequency drift detection in the oscillatory signal S.
(74) In one or more embodiments, the (discrete-time nonlinear) system may be implemented using a (purposely programmed) microcontroller device. For instance, a STM32F446 microcontroller by STMicroelectronics may be employed as such a microcontroller device.
(75) In one or more embodiments, a second order Infinite Impulse Response, briefly IIR, filter may be purposely designed so that it shows a nonlinear behavior with jump frequency.
(76) Considering a second order IIR filter transfer function in the discrete time domain, which may be expressed as:
(77)
(78) it follows that the coefficients a.sub.0, a.sub.1, a.sub.2, b.sub.1, b.sub.2 may have values selected so that the polar diagram of the reciprocal (or the inverse) of H(z) crosses the regions of multiple solutions, for instance the regions exemplified with the curves in
(79) One or more embodiments may advantageously employ discrete-time non-linear oscillator 14, wherein the frequency response U may be an oscillatory function repeating with periodicity 2π. In one or more embodiments, it may be possible to select the frequency range in which hysteresis occurs as a function of the sampling time in the time-discrete system, improving flexibility of the device 10 facilitating reconfigurability.
(80)
(81) One or more embodiments may employ, as mentioned, an odd nonlinearity of higher order than three, such as a quintic (see for instance
(82) In one or more embodiments of the device 10, thanks to such a higher selectivity, may detect drifts occurring in different combinations of directions at different frequencies. For instance, the oscillatory signal S can be a wideband signal and it may be possible to detect a plurality of frequency drifts with the device 10 having a quintic or septic nonlinearity.
(83)
(84) As exemplified in
(85) A consequence of purposely designing such nonlinear oscillator 14 is that its frequency response U is known, at least within a certain frequency range. As a result, if an oscillatory signal S having an unknown oscillation frequency is fed to the nonlinear circuit 14 and the unknown oscillatory frequency lies within the frequency response U of the nonlinear circuit 14, it may be measured. Such a measurement, advantageously, may not use any time to frequency transformation and may be the result of the jump detection circuit 16 detecting a jump: the oscillation frequency of the signal input is hence the detected jump frequency.
(86)
(87) As exemplified in
(88) One or more embodiments may comprise an electronic device (for instance, 10), comprising: an input node configured to receive an oscillatory electric signal (for instance, S), the oscillatory electric signal having an oscillation frequency, a processing circuit (for instance, 12) coupled to said input node and configured to apply time-sampling to said oscillatory electric signal and provide a sampled oscillatory electric signal (for instance, R), a nonlinear circuit (for instance, 14) configured to receive said sampled oscillatory electric signal (for instance, R), the nonlinear oscillator circuit driven by said sampled oscillatory electric signal to output a hysteretic response signal (for instance, U) as a function of said sampled oscillatory electric signal, wherein said hysteretic response signal has a frequency in a first frequency range (for instance, U.sub.1) as a result of an increase in the oscillation frequency of the oscillatory electric signal, and in a second frequency range (for instance, U.sub.2) as a result of a decrease in the oscillation frequency of the oscillatory electric signal, a detection circuit (for instance, 16) coupled to said nonlinear circuit and configured to receive said hysteretic response signal therefrom, the detection circuit (16) configured to compute an envelope signal (for instance, E) of said hysteretic response signal, perform a comparison of said envelope signal with at least one threshold, and produce a signal (for instance, T) indicative of an increase or a decrease in the oscillation frequency of the oscillatory electric signal as a result of the outcome of said comparison.
(89) In one or more embodiments, the processing circuit may be configured to adjust an amplitude of said sampled oscillatory electric signal.
(90) In one or more embodiments, as mentioned, the nonlinear circuit (for instance, 14) may comprise a (purposely programmed) microcontroller-based circuit.
(91) In one or more embodiments, said nonlinear circuit may have a hysteretic frequency response (for instance, U) which satisfies an expression:
(92)
(93) wherein G(jω)=R(ω)+jI(ω) is a linear portion of the hysteretic frequency response (for instance, U) and
(94)
is a describing function DF of a nonlinear portion of the hysteretic frequency response.
(95) In one or more embodiments, the nonlinear circuit (hysteretic 14) may comprise an Infinite Impulse Response (IIR) filter.
(96) In one or more embodiments, the IIR filter may be configured to have a hysteretic frequency response H(z) which satisfies an expression:
(97)
(98) wherein coefficients a.sub.0, a.sub.1, a.sub.2, b.sub.1, b.sub.2 have values selected so that the polar diagram of the reciprocal of H(z) crosses a region of the complex plane comprising multiple values of z.
(99) One or more embodiments may comprise an electronic apparatus, comprising: one or more embodiments of an electronic device (for instance, 10), an oscillatory signal generator (for instance, 11) coupled to said electronic device and feeding an oscillatory electronic signal (for instance, S) having an oscillation frequency thereto, a user circuit (for instance, 18) coupled to said electronic device and to said oscillatory signal generator, the user circuit configured to operate said oscillatory signal generator as a function of said signal (for instance, T) indicative of an increase or a decrease in the oscillation frequency of the oscillatory electric signal.
(100) In one or more embodiments of the electronic apparatus, said oscillatory signal generator may be a power grid supply signal generator and said oscillation frequency may be equal to 50 Hz or 60 Hz.
(101) One or more embodiments may comprise a method, comprising: receiving an oscillatory electric signal (for instance, S), the oscillatory signal having an oscillation frequency, applying time-sampling (for instance, 12) to said oscillatory electric signal and providing a sampled oscillatory electric signal (for instance, R), configuring a nonlinear processing circuit (for instance, 14) to output a hysteretic response signal (for instance, U) when driven by said sampled oscillatory electric signal, wherein said hysteretic response signal has a frequency in a first frequency range (for instance, U.sub.1) as a result of an increase in the oscillation frequency of the oscillatory electric signal, and in a second frequency range (for instance, U.sub.2) as a result of a decrease in the oscillation frequency of the oscillatory electric signal, driving said configured a nonlinear processing circuit by said sampled oscillatory electric signal, computing (for instance, 16) an envelope signal (for instance, E) of said hysteretic response signal (for instance, U), performing a comparison of said envelope signal with at least one threshold, and producing a signal (for instance, T) indicative of an increase or a decrease in the oscillation frequency of the oscillatory electric signal as a result of the outcome of said comparison.
(102) In one or more embodiments, the method may comprise: configuring said nonlinear processing circuit (for instance, 14) to output a plurality of hysteretic response signals (U), and computing (for instance, 16) an envelope signal (for instance, E) of said plurality of hysteretic response signals (for instance, U), performing a comparison of said envelope signal with at least one threshold and producing a signal (for instance, T) indicative of an oscillation frequency of the oscillatory electric signal as a result of the outcome of said comparison.
(103) One or more embodiments may comprise a computer program product loadable into the memory of at least one processing circuit (for instance, 14) and comprising software code portion implementing the method of any of claims 9 to 10 when run on said processing circuit (for instance, 14).
(104) It will be otherwise understood that the various individual implementing options exemplified throughout the figures accompanying this description are not necessarily intended to be adopted in the same combinations exemplified in the figures. One or more embodiments may thus adopt these (otherwise non-mandatory) options individually and/or in different combinations with respect to the combination exemplified in the accompanying figures.
(105) The claims are an integral part of the technical teaching provided herein with reference to the embodiments.
(106) Without prejudice to the underlying principles, the details and embodiments may vary, even significantly, with respect to what has been described by way of example only, without departing from the extent of protection. The extent of protection is defined by the annexed claims.