Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
ARCHITECTURE OF TIME SAMPLING DIGITAL SIGNAL PROCESSING DEVICE BASED ON AN APPLICATION OF THE FREQUENCY MULTIPLYING DEVICE
Document Type and Number:
WIPO Patent Application WO/2020/078927
Kind Code:
A1
Abstract:
The invention relates to an architecture of the signal processing device comprising a Frequency Multiplying Device, analogue-to-digital conversion unit, memory and a signal processing unit that can ensure proper synchronization with the input signal comprising arbitrary frequency drifts to obtain stable pre-defined number of samples per period, as well as an accurate information on the estimated value of the signal's actual fundamental frequency for the purpose of adequately interpreting the results of the signal conversion and processing and, where required, proper reconstruction of the signal in an analogue form again.

Inventors:
ANTIC BORIS (RS)
SANTRAC BRANISLAV (RS)
Application Number:
PCT/EP2019/077822
Publication Date:
April 23, 2020
Filing Date:
October 14, 2019
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
SMART GRID SOLUTIONS GMBH (DE)
International Classes:
G01R19/25; G01R25/00
Foreign References:
US20080218153A12008-09-11
GB2052815A1981-01-28
DE3205296A11983-09-01
US3970954A1976-07-20
US20070080724A12007-04-12
EP2018059421W2018-04-12
YU48640B1999-03-04
YU48195B1997-07-31
US20020036492A12002-03-28
Other References:
VAN YANG: "Coherent Sampling Solution for an Electric Power System", 31 December 2012 (2012-12-31), pages 1 - 9, XP055654772, Retrieved from the Internet [retrieved on 20200103]
W. A. C. PERERAJ. F. CHICHAROB. S. P. PERERA: "On the merits and demerits of using a fast fourier transform approach for establishing the harmonic spectrum in power system", PROC. AUPEC '93, 29 September 1993 (1993-09-29), pages 108 - 115
A. A. GIRGISF. HAM: "A qualitative study of pitfalls in FFT", IEEE TRANS. AEROSP. ELECTRON. SYST., vol. AES-16, no. 4, July 1980 (1980-07-01), pages 434 - 439, XP011166700
K. SRINIVASAN: "Errors in digital measurement of voltage active and reactive power and an on-line correction for frequency drift", IEEE TRANS. POWER DELIVERY, vol. PWRD-2, no. 1, January 1987 (1987-01-01), pages 72 - 76
G. ANDRIA: "Windows and interpolation algorithms to improve electrical measurement accuracy", IEEE TRANS. INSTRUM. MEAS., vol. IM-38, August 1989 (1989-08-01), pages 856 - 863
FREDRIC J. HARRIS: "On the use of Windows for Harmonic Analysis with the Discrete Fourier Transform", PROCEEDINGS OF THE IEEE, vol. V66N1, January 1978 (1978-01-01), pages 51 - 83
FANG XU: "Algorithm to Remove Spectral Leakage, Close-in Noise, and Its Application to Converter Test", 2006 IEEE INSTRUMENTATION AND MEASUREMENT TECHNOLOGY CONFERENCE PROCEEDINGS, DATE OF CONFERENCE: 24-27 APRIL 2006 , CONFERENCE LOCATION: SORRENTO, ITALY , DATE ADDED TO IEEE XPLORE, 12 March 2007 (2007-03-12)
DJ. HADDADID. DALLETPH. MARCHEGAY: "Phase noise compensation in ADC characterization by spectral analysis", IMTC 2005 - INSTRUMENTATION AND MEASUREMENT TECHNOLOGY CONFERENCE, 17 May 2005 (2005-05-17)
TI DESIGNS: "Multi-Phase Power Quality Measurement With Isolated Shunt Sensors", TEXAS INSTRUMENTS, KEY SYSTEM SPECIFICATIONS, January 2016 (2016-01-01), Retrieved from the Internet
"Energy Metering IC with Sensor Monitoring and Autocalibration", ANALOGUE DEVICES, 2017, Retrieved from the Internet
SUFYANU A: "Power Quality and Harmonic Analysis in Three Phase Systems", JOURNAL OF ELECTRICAL & ELECTRONIC SYSTEMS, vol. 7, no. 4, January 2018 (2018-01-01), pages 1000291
PENG FEIMENG ZHANGSHAOFENG YUQINGQING MUYIBO GAOHUIXUAN SHI: "An On-line Multiplexed High Accuracy Electric Energy Meter Based on Dual-access RAM", PROCEEDINGS OF THE 2016 JOINT INTERNATIONAL INFORMATION TECHNOLOGY, MECHANICAL AND ELECTRONIC ENGINEERING (JIMEC 2016, January 2016 (2016-01-01)
SHOUXI ZHUWENLAI MA: "A Design of Aircraft Grid Harmonic Detection Device using DSPandARM", INTERNATIONAL JOURNAL OF CONTROL AND AUTOMATION, vol. 8, no. 3, 2015, pages 81 - 98, Retrieved from the Internet
Attorney, Agent or Firm:
KÖNIG, Gregor et al. (DE)
Download PDF:
Claims:
Claims:

1. A device comprising

a Frequency Multiplying Device (b),

an ADC unit (a), and

a Signal processing unit (d),

wherein the Frequency Multiplying Device (b) has an input for an analogue signal (A) which is to be processed, measured and/or analyzed, and

the ADC unit (a) has an input for the analogue signal,

an output of the ADC unit (a) is connected to an input of the Signal processing unit (d),

wherein the ADC unit (a) and the Signal processing unit (d) are connected and adapted to be tuned to the fundamental frequency of the input signal (A) and to perform the Processing, Measurement and/or Analysis within the interval of the period of the input signal (A).

2. The device according to claim 1 , wherein the Frequency Multiplying Device (b) has two outputs:

(i) a start/stop output (VII) and

(ii) a frequency estimate N output (VIII),

wherein the two outputs (VII, VIII) are connected to inputs of the Signal processing unit (d).

3. Method for processing, measuring and/or analyzing an analogue signal (A), the method comprising the steps:

Converting the analogue signal (A) into a digital signal (IV),

Providing a Start/Stop signal (VII) and a frequency signal (VIII) from the analogue signal (A), and

Tuning the Converting and Processing, Measuring and/or Analyzing to the fundamental frequency of the analogue signal (A) and Performing the Processing, Measuring and/or Analyzing within the interval of a period of the analogue signal (A).

4. A device for processing, measuring and/or analyzing a signal to be processed (A), the device, especially according to claim 1 or 2, comprising a Frequency Multiplying Device (b) with one input for the signal to be processed (A) and at least two outputs, wherein a first output (K) which is to provide for a chosen multiple of the fundamental frequency (II) of the signal to be processed (A), a second output (G) which is to provide for a clock signal (III), and/or a third output (E) which is to provide for the actual ratio of frequencies (VIII) in a digital, preferably binary, form.

5. The device according to claim 4, wherein a further output (J) of the Frequency Multiplying Device (b) provides indication (VII) on a start and an end of an analogue-to-digital conversion process.

6. The device according to claim 1 or 2, wherein the device comprises an analogue- to-digital conversion unit (a) having three inputs, a first input for the signal to be processed (I), a second input (CLK) for the clock signal (III) and a third input (fs) for the multiple of the fundamental frequency (II) of the signal to be processed (A), the analogue-to-digital conversion unit (a) further comprising an output providing digitized values of the input signal.

7. The device according to claim 3, wherein the device comprises a memory (c) to store digitized data received from the analogue-to-digital conversion unit (a), especially between conversion and processing phases with one clock input, one digital input and one digital output.

8. The device according to claim 4, wherein the memory (c) has all digital interfaces parallel in design.

9. The device according to claim 4 or 5, the device comprising a signal processing unit (d) adapted to fulfill the main processing functionality of the device, the signal processing unit (d) having an analogue input (CLK) for the clock signal and/or a digital input for fetching external data.

10. The device according to claim 6, the signal processing unit (d) comprising a second analogue input (N) for obtaining frequency estimate information and/or a second digital output connected to additional internal memory capacity.

1 1. The device according to any one of claims 1 to 7, wherein the input (A) of the Frequency Multiplying Device (b) is coupled with the input (I) of the device and an output (G) coupled to the input (CLK) of the analogue-to-digital conversion unit (a), to the memory (c) and the signal processing unit (d).

12. The device according to any one of claims 1 to 8, wherein the analogue-to-digital conversion unit (a) comprises a minimum of sample-and-hold circuit, quantizer and preferably a digital coder, capable of performing an analogue-to-digital conversion in any manner available, comprising the input coupled to the input (I) of the device, wherein an input (fs) is coupled to the output (K) of the Frequency Multiplying Device (b), further comprising the output coupled to the input of the memory (c), which is further coupled to the signal processing unit (d).

13. The device according to any one of claim 1 to 9, capable of performing frequency multiplication and reporting on the start and end instances of the AD conversion phase through it analogue output (J) coupled to the signal processing unit (d), and capable of reporting on the estimated value of the fundamental frequency through its digital, preferably binary output (E) also coupled to the signal processing unit (d).

14. Use of the device, preferably according to any one of claim 1 to 10, for an efficient synchronization of a sampling and/or quantization process within an analogue-to-digital conversion unit (a) with the input signal by ensuring a constant (arbitrary) integer number of samples to be taken from each signal period over large observation / measurement periods.

15. Method for processing and/or analyzing a signal to be processed (A), the method comprising the steps:

Providing an input for the signal to be processed (A) and at least three outputs, wherein as a first output (K) a chosen multiple of the fundamental frequency (II) of the signal to be processed (A) is provided, a second output (G) for a clock signal (III) is provided, and a third output for the actual ratio of frequencies (VIII) in a digital, preferably binary form, is provided.

Description:
"Architecture of time sampling digital signal processing device based on an application of the Frequency Multiplying Device"

The invention relates to the application of the Frequency Multiplying Device (FMD) - as described in PCT/EP2018/059421 [1] - in the design of an arbitrary signal processing circuit, which uses time samples of a periodic signal to determine the properties of that signal.

The invention relates in general to the field of analogue to digital converters (ADCs), signal processing and spectrum analysis. The invention can be used as part of a measurement device or any signal processing device dealing with periodic signals.

Typically, devices used to calculate various statistical and/or spectral properties of the signal are sensitive to small errors in synchronization of the device with that signal. If the ratio of the sampling frequency and the signal’s fundamental frequency (frequency corresponding to the inverse of the signal’s period) is not an integer number and isn’t constant over long periods of observation, the device and the signal are said to be“out of synchronization” of “unsynchronized” and the spectrum calculated from time samples will be distorted or the determined statistical properties will be erroneous. Unsynchronized signal processing results in leakage (shifting of energy between spectral amplitude components and occurrence of non-existing components in the spectrum), bias (additional energy component at 0 Hz) and phase shifting (distortion of the spectral phase distribution) as discussed in [2] and [3]. The correct spectrum reconstruction of a periodic signal from its digitized time samples is a well know issue in signal processing theory. Any processing of such spectrum will result in flawed characterization of the signal.

Statistical properties of periodic signals, such as amplitude, phase, median, root-mean- square (RMS), total harmonic distortion (THD) etc. are also very sensitive to incorrect synchronization and will accumulate error over prolonged time of observation as shown in [4]

These issues occur because majority of device manufacturers opt to construct a device with a fixed internal clock reference, also used for signal sampling. Commonly the signal’s period is considered well-known in advance and the device takes that fact into account when setting the start and the end of the observation interval. However in reality due to various reasons, even the signals which are supposed to be very stable, e.g. power grid frequency, exhibit small drifts and variations over short periods of time.

One possibility to partially overcome this issue is to measure over extremely long periods of time compared to the duration of the signal’s period and then average out the error of spectrum leakage. However, this approach incorrectly assumes that the frequency drift will be balanced in both directions (increase and decrease). If that is not the case, than the extension of the observation time will not be able to mitigate the problem. Furthermore, it will perform even worse in terms of error accumulation. The reason why it will perform worse is assumed to be that the end phase of the measurement interval will have a value that will solely depend on the amount of frequency shift, which can be considered random.

In some cases an alternative solution can be found in locking the device to the actual fundamental frequency of the signal by means of phase-locked-loop (PLL) circuit. However, this is valid only if the signal frequency exhibits a constant frequency variation over a short period of time, but not in cases when the frequency changes slightly over each consecutive period (strong phase noise present). The PLL output is always randomly shifted in time compared to the original signal, which makes it extremely inconvenient for sampling between two consecutive zero-crossings. Additionally, the PLL can’t ensure extreme frequency ratios, necessary for modern devices operating in THz ranges.

Further possibilities include adaptive signal windowing, e.g. [5] and [6] and various signal post-processing algorithms, e.g. [7] and [8] to compensate for spectrum leakage. But their application is limited to very specific applications. Both approaches commonly assume very special signal features and properties, which is either not correct or significantly limits their application. In the architecture of most widely used integrated harmonic measuring circuits today, the synchronisation with the input signal is commonly omitted, which is evident from the schematics indicating no clock reference, meaning that the entire circuit is triggered with a predefined clock rate and is thus“blind” for any frequency drifts at the input [11], [12], [13]

If, however, the ADC unit of the device is synchronized with any of the above mentioned methods, with all their drawbacks, it was additionally found necessary to use an asynchronous Random Access Memory (RAM) with dual ports operating at different rates. This further introduces the problem of accurately tracking the latest measurement data to be fetched by the signal processing unit of the measuring device [14], [15], [16]

Given this background, the problem to be solved by the invention is to improve signal processing and/or signal analyzing with regard to at least one of the afore-mentioned issues, especially to improve a device, a use and/or a method for signal processing, preferably in one aspect of the invention with an efficient synchronization with the input signal by fine-tuning the sampling frequency and by precisely aligning the start and stop instants in signal sampling with the signal’s actual zero-crossings. This can in one aspect maintain a constant (arbitrary) integer number of samples taken from each signal period over large observation / measurement periods. Furthermore, since the signal’s period is not considered to be known in advance, one aspect of the problem is also to ensure the information on the estimated value of the signal’s fundamental frequency with an arbitrary small error, which can be used to correctly interpret the results of the signal processing and, where required, properly reconstruct the signal in an analogue form again.

This problem is at least partially solved by the subject matter of the independent claims. Preferred embodiments are described in the dependent claims and in the description following hereafter.

The concept proposed in the invention is to base the design of the signal processing devices, or modify the architecture of existing devices, where construction permits, by incorporating especially the FMD described in PCT/EP2018/059421 and by using its three outputs.

One embodiment of the invention is shown in Fig. 1.

According to a further (additional and/or alternative) aspect, the invention may solve an additional and/or alternative problem in circuit design and operation - an alignment of operation of the analogue part of the circuit (ADC unit) which is tuned to the fundamental frequency of the quantity to be measured and the digital part of the circuit (Signal processing unit) without the need to introduce the memory with asynchronous ports for read and write operations. Instead, a much simpler and faster RAM memory can be used with a deterministic synchronous sequential access, i.e. for each new stored measurement value provided by the ADC unit, the signal processing unit is capable of fetching that value at the subsequent clock interval. Especially, the output(s) of the ADC unit can be connected via the RAM memory to input(s) of the Signal processing unit. Thus, according to a preferred embodiment the memory is a RAM memory adapted to have synchronous ports for read and write operation.

In case of the modification of an existing device the invention is to be applied as denoted in Fig. 2. In Fig. 2a) is depicted original generic block diagram of the device, while Fig 2b) denotes the rewired circuitry incorporating the FMD, which bypasses the sampling reference provided by the signal processing unit of the original circuitry. Alternatively, the internal clock reference can be completely omitted, providing the schematic identical to that in Fig. 1. However, even when considering the embodiment of Fig. 1 , a separate clock reference to the Frequency Multiplying Device can be present but is assumed to be not necessary.

Since the analogue part (ADC unit) and the digital part (Signal processing unit) of the circuits are implemented on the same surface, but they are required to operate at different clock rates in this case it is necessary to introduce an asynchronous dual-port RAM.

According to one embodiment of the invention, two digital feeds or digital outputs of the Frequency multiplying device are provided to the Signal processing unit: 1 ) the start/stop pulse indicating an appropriate time corresponding to the actual duration of the signal period of the analogue signal which is to be processed, measured and/or analyzed and 2) the integer N representing the rounded up ratio of the internal clock frequency and the fundamental frequency of the analogue signal which is to be processed, measured and/or analyzed. Having these inputs considered by the Signal processing unit, the Signal processing unit doesn’t need to assume a default value of the fundamental frequency nor the default positions of spectral components, but is capable to reconstruct the actual spectrum and position it precisely on the frequency axis, as well as to adequately calculate the total harmonic distortion (TDH) factor.

According to the invention, for the first time, it is considered to tune an entire circuit to the fundamental frequency of the analogue signal which is to be processed, measured and/or analyzed. An entire signal processing can be performed within the interval of the period of the analogue signal, especially regardless of how stretched that interval may be due to the input frequency drift. For the first time, the inventors have introduced a start/stop signal and a signal corresponding to the frequency estimate. These signals are not trivial to consider and the connection of the devices/units is one of the findings of the inventors to appropriately process the signals, especially the digitized signals. The start/stop signal and the estimate frequency signal enable automatic adjustment of the measurement/processing/analyzing interval and a straightforward calculation of spectral components because the number of samples per interval is maintained constant and strictly ten to the power of an integer number. This is important so that the ratio of the sampling frequency and fundamental frequency of the input signal remain an integer number as only division by ten is performed and in most applications this would lead to a constant number of samples per period. For example in case of a ratio which would be a power of 2, which would have been much easier to realize in digital technology, the division with such number would never lead to integers. The constant and known number of samples per each period can prevent occurrence of spectral leakage and inter-harmonic distortion during both measuring/analyzing and numerical processing of data by appropriate operation of the Signal processing unit in coherence with the ADC unit.

Benefits of at least one of the embodiments or aspects of the present invention can be: simpler hardware components, no timing skew between analogue and digital parts of the device/circuit allowing a normal/synchronous circuit/device design style, synchronous data flow without the need for dual port RAMs and/or constant and pre- programmable number of samples taken at the input within measurement/analyzing/processing interval.

Finally, in reference to [1], the schematics of the FMD circuit is shown in Fig 3.

Advantages of the invention are listed in the following. The main advantage can be given by the fact that the device conforming the design principle of the invention will be adaptable to the input signals fundamental frequency in terms of the sampling rate, and observation’s start and stop instants. Any processing performed in such device will be free from spectrum leakage pitfalls or severe measurement error accumulation.

The signal processing unit can apply Fourier transform DFT or FFT without compromising the validity of the measurement data. When input signals are periodic, there is no need for window-filtering to compensate for the distortions in the spectrum. The values of mean, RMS and higher statistical momentums are calculated exactly according to their definition.

Increase of the sampling frequency will increase the signal-to-noise ratio (reduce the quantization error) in a much wider range of oversampling rates since it will not affect the quality of the obtained samples. Device designers are free from considering possible drifts and instability in the input signal since there is no need for any time consuming and resource demanding signal post-processing to reduce the errors, such as close-in noise of phase noise, caused by an inappropriate design in the analogue part of the circuitry.

Consequently, this opens up a variety of applications for considerably fast and precise analogue to digital conversion that could have not thought of before. For instance the majority of digital signal processing devices and instruments based on signal sampling, and particularly those that deal with periodic signals, require precise synchronization and constant integer number of samples per period. The invention can also be suitable in precise measurement of statistical properties of multiple signals, such as precise measurements of active, reactive and apparent power in power grids, phase angles between two signals, measuring auto-correlation and cross-correlation values.

The FMD described in PCT/EP2018/059421 also has a possibility to modify the ratio to a desired integer value by setting an arbitrary integer factor of the frequency divider denoted with (8) in Fig 3.

The described invention can be used in any measurement and/or signal processing device. It can be thought of applying the corresponding measurement device for detection of the frequency for power quality analysis applications or electricity metering in a power grid.

The term“input signal” in the description encompasses any signal, whose properties are to be characterized and brought to the input port of the device.

The term“analogue-to-digital converter unit” in the description comprise analogue and digital circuitry necessary to sample, hold, quantize and code the input signal into a digital, preferably binary form.

The term“Frequency Multiplying Device” refers to the circuit described in [1], which comprises an internal frequency reference, a series of frequency dividers, two binary counters and a digital comparator to generate a clock signal proportional to the exact multiple of the input signal’s fundamental frequency. It also provides additional outputs which are used to obtain start and stop instants and the estimate of the fundamental frequency in a digital (binary) form.

The notion“internal clock reference” encompasses a clock generator or a circuit which is especially capable of producing a timing signal. Especially, the signal can be a rectangular, square or sinusoidal wave. The clock can be adapted as or comprising a frequency generator or oscillator that preferably has a high temporal stability. The signal generated by the clock can be a periodic or a non-periodic signal. The term clock encompasses as well an electronic circuit which receives an (external) signal which is a timing signal and processes the signal to generate a (further) timing signal, for example a frequency divider.

The notion“frequency divider” usually comprises an electronic device that can receive electric signals, optionally store them and preferably perform changes on said electric signal, typically in form of numerical operations. The received signal, that is typically changed, is then transferred to an output that can preferably allow different signal transmission standards. In a special embodiment, the adder-based shift register performs a numerical processing of the received values by averaging out code words of two preferably subsequent conversion phases, realized by shifting the converted value one bit to the right and adding this value to its previous content.

The notion “memory” usually comprises semiconductor electronic devices on an integrated circuits used to store digitized data in binary form.

The notion“signal processing unit” usually comprises a number of integrated circuits, enclosed in a single module (package) with its architecture optimized for the operational needs of digital signal processing. It may or may not comprise additional internal memory units.

The term“device” according to the description encompasses units and devices which can be connected forming a circuit.

Every electrical component referred to in this description can comprise an impedance, which means a complex resistance that can cause a change of amplitude and phase. In the same way, each electrical component can comprise not only a linear, but also a non-linear behavior. Non-linear in the context of electrical components or elements means, that, for instance, new frequencies are generated that were not available in the input signal of the specific electrical component before.

The embodiment shown in Fig. 1 comprises the ADC unit performing time and amplitude discretization of the input signal (I).

Preferably, the input signal is fed to the ADC unit, which is connected to the FMD to obtain the clock reference signal and the sampling frequency signal via separate links and to the device memory to store the obtained samples in the digital form. In a preferred embodiment, the input signal is also fed to the FMD, which is also connected to the memory circuit and signal processing unit to provide them with the clock signal. Additionally, the FMD can be connected to the signal processing unit via two additional link. One analogue to provide the start/stop instances coinciding with the input signal’s zero crossings. And one digital to provide with the measured/estimated value of the signal’s actual fundamental frequency necessary to interpret the result contained in the memory block.

Preferably, memory is connected to the signal processing unit via a separate bus to enable fetching the digitized values.

Fig. 1 shows a block diagram of a signal processing device, where 1.a) denotes a generic schematic of arbitrary signal processing device and 1.b) denotes the device schematic after the modification with the invention

Fig. 2 shows a block diagram of a signal processing device, where 1.a) denotes a generic schematic of arbitrary signal processing device and 1.b) denotes the device schematic after the modification with the invention

Fig. 3 shows a block diagram of the Frequency Multiplying Device as described in

[1 ]-

Figure 1 shows the block diagram of an embodiment for a proposed architecture based on FMD implementation to ensure the sampling frequency independently from the device clock frequency. The analogue input signal (I) is connected both to the input (A) of the FMD (b) and to the input of the ADC unit (a). The FMD uses (I) to extract and multiply its fundamental frequency. The ADC unit performs discretization of the input signal in time and the quantization of its amplitude to provide the digital representation of that signal. The first analogue output (K) of the FMD (b) is connected to the input (fs) of the ADC unit (a) providing the sampling frequency clock signal (II) which is the integer multiple of the fundamental frequency of the input signal, ensuring that the number of samples taken in each period is constant and known.

The second analogue output (G) of the FDM (b) further connects to (CLK) inputs of (a), (c) and (d) proving the high frequency clock signal (III) for the entire device. The third analogue output (J) of the FMD (b) connects to the analogue input (start/stop) of (d) to provide pulse indication (VII) of the zero crossings of the input signal (I). This signal can be used for additional control over the AD conversion process such as indication that information is ready. Although it can be omitted since the number of samples to be fetched from memory (c) is known in advance. The signal (VII) can be called start/stop signal. The fourth digital output (E) of the FMD (b) connects to the digital input (N) of (d) to transmit the information on measured/estimated fundamental frequency on form of digits (VIII). This information is essential for the proper interpretation of the measurement results since it the only indication of the actual scale of the signal’s spectrum on the frequency axis. In case only statistical parameters of the input signal are required, this output may not be necessary since this statistical moments are averaged over a finite number of exact period intervals. The signal (VIII) can be called frequency estimate or fundamental frequency estimate.

The digital output of the ADC circuit (a) connects to the digital input of (c) to transmit digital (binary) sequence (IV), which is the digital representation of the input signal (I). This is a continuing stream of digital values as long as the AD conversion process is enabled.

The digital output of the Memory block (c) connects to the digital input of (d) to enable fetching the digitized values (V) for further processing. The data flow of (V) is independent and asynchronous from that of (IV) between blocks (a) and (c). The rate of (V) corresponds to the maximum speed of data rate over device’s bus determined by the operating clock signal (III), while the rate of (IV) is determined by the value of (II).

The Signal processing unit (d) uses (V), (VII) and (VIII) to perform the desired computation and processing of digitized values and report it using its digital output (VI). The digital output of (d) denoted with (VI) should also comprise the information contained in (VIII).

Figure 2 illustrates one possible transition from a conventional generic architecture of the signal processing device to the configuration of this invention.

In Fig 2a) the input signal (I) is fed only to the input of the ADC unit (a). The internal clock reference (e) provides the operating clock (III) for all modules of the device. The ADC unit feeds the Memory block with digitized values of (I), wherefrom they are fetch on demand by the Signal processing unit similar to the already explained schematic provided in Fig. 1. The main difference is that the sampling frequency is determined by the Signal processing unit or it can be internally fixed by the design of the ADC unit depending on the application of the device.

The transition to the schematics shown in Fig. 2b) is achieved by disconnecting the Signal processing unit (d) from the ADC unit’s (a) input fs and by inserting the FMD (b) to provide for signal (II) instead. To ensure the functionality of the FMD, the input signal should be connected to its analogue input A, from which it will perform the fundamental frequency extraction and multiplication. Additionally, the FMD can be connected from its analogue output (J) back to (d) to provide the information about zero crossings of the input signal as indication on the instances at which the conversion is completed and the entire measurement data is ready for further processing, as well as the from its digital output (E) to provide an integer number proportional to the actual ratio of the reference signal clock and the fundamental frequency of the input signal (I). The connection of both these outputs is optional when only scalar values characterizing the input signal (I) are required. However if more complex information is required at the output (VI) such as spectral components or a stream of all processed signal samples, then the feed of (VIII) to the (d) is mandatory. Otherwise the stream of digital values at (VI) would have an infinite number of possible interpretations.

Fig. 3 is an excerpt from [1] where it is explained in detail.

Reference signs used in Figs. 1 to 3:

(I) input signal

(II) sampling clock

(III) device circuitry operating clock

(IV) digitized samples of the input signal

(V) digitized samples fetched for digital processing

(VI) output of the device

(VII) analogue pulse signal indicating start/stop instances for signal processing synchronization

(VIII) digital value of the ratio of the sampling frequency and the fundamental frequency of the input signal

(CLK) clock input of a digital part of the circuitry

(fs) sampling frequency input

(a) ADC unit

(b) Frequency Multiplying Device

(c) Memory

(d) Signal processing unit

(e) Internal clock reference

The following annotations and legend is taken over from [1]:

(A) analogue input of the FMD (input signal)

(E) digital output of the FMD (ratio of the sampling rate and the fundamental frequency of the input signal)

(G) analogue pulse output of the FMD (referent frequency clock signal)

(J) analogue pulse output of the FMD (start/stop signals) (K) analogue pulse signal whose frequency is the desired multiple of the fundamental frequency of the input signal

The following embodiments with regard to a device architecture are described:

1. A device architecture comprising an analogue-to-digital conversion (ADC) unit denoted as (a) with three inputs, the first for the signal to be processed (I), the second (CLK) for the operating clock signal (III) and the third (fs) for the sampling frequency (II) and one output providing digitized values of the input signal

a Frequency Multiplying Device (FMD) denoted as (b), with one input for the signal to be processed (A) and four outputs, the first (K) to provide for the chosen multiple of the fundamental frequency (II), the second to provide for the device operating clock (III), the third (J) which provides indication (VII) on the start and end of the AD conversion process and the fourth to provide for the actual ratio of frequencies (VIII) in a digital, preferably binary form.

a memory denoted as (c) to store digitized data between conversion and processing phases with one clock input, one digital input and one digital output, where possible but not necessarily with all digital interfaces parallel in design, and

a signal processing unit denoted as (d) responsible for fulfilling the main processing functionality of the device not specified in this invention, with two analogue inputs, the first (CLK) for the device operational clock frequency and the second optional input (start/stop) for indication on data readiness for processing, two digital inputs, the first for fetching external data and the second optional interface (N) for obtaining frequency estimate information, and one digital output, where required but not necessarily with an additional internal memory capacity

characterised by

2. the FMD recited in embodiment, wherein its input A is coupled with the input (I) of the device and an output (G) coupled to the input (CLK) of the ADC unit (a) recited in claim 1 , memory (c) recited in claim 1 and signal processing unit (d) recited in claim 1.

3. the ADC unit recited in embodiments 1 and 2 comprising a minimum of sample- and-hold circuit, quantizer and preferably a digital coder, capable of performing an analogue-to-digital conversion in any manner available, comprising the input coupled to the input (I) of the device, an input (fs) coupled to the output (K) of the Frequency Multiplying Device recited in claims 1 and 2, further comprising the output coupled to the input of the memory (c) recited in claim 1 , which is further coupled to the signal processing unit (d) recited in claim 1.

4. The FMD circuit recited in embodiments 1-3 capable of performing frequency multiplication and reporting on the start and end instances of the AD conversion phase through it analogue output (J) coupled to the signal processing unit (d) recited in claims 1-3, and capable of reporting on the estimated value of the fundamental frequency though its digital, preferably binary output (E) also coupled to the signal processing unit (d).

5. Use of the architecture for an efficient synchronization of the sampling and quantization processes within (a) with the input signal by ensuring a constant (arbitrary) integer number of samples to be taken from each signal period over large observation / measurement periods.

6. An architecture of the signal processing device resilient to the impact of frequency drifts in the input signal to the overall accuracy of the device when determining signal spectral composition or any statistical parameter of the signal, including but not limited to mean value, RMS value, harmonic distortion factor and power.

In the following a frequency multiplying device is described which can be used with regard to the present invention and which is explained in [1]

The general concept of the frequency multiplying device is to generate a reference signal with a frequency f osc and generate a further reference signal having a frequency f K . The multiplication is independent from the reference signal but dependent from the ratio of the reference signal and the further reference signal. When providing the reference signal and the further reference signal substantially from the same source, a constant and/or pre-determined multiplication factor can be obtained. The frequencies of the reference signal and of the further reference signal doesn’t have to be considered on their own. The inventors have for the first time realized that a counting of edges of a signal having a frequency f 0SC /K during a period of the target signal and counting the edges of a signal having a frequency f osc can obtain a signal having a multiple of the frequency of the target signal when comparing the two results and outputting a signal in case that the two counts are the same. Thus, even without knowing the frequencies of the reference signal and the further reference signal the multiplication of the frequency of the target signal will be of high accuracy, especially in case the reference signal is stable. For the frequency multiplying device a simple hardware can be used which can be also implemented as a part of an integrated circuit. The frequency multiplying device allows for a device, where there is no substantial delay in information propagation from the input to the output allowing fast reactions. If the fundamental frequency changes from cycle to cycle, the measurement ends precisely at the end of the signals period. Another advantage is that the information on the frequency ratio is available in digital form. Further, the multiplication factor is arbitrarily high and is preferably in the range of approximately 2 to 10 5 . The increase in multiplication factor does not require an increase in complexity of the hardware. Another benefit of the frequency multiplying device is that it allows the generation of a digital signal with for instance 50/50% filling factor with significant power to trigger outside circuitry.

This opens up a variety of new applications for highly precise measurement of a fundamental frequency since higher frequencies often allow lower errors of preferably less costly hardware for e.g. digitisation and/or frequency determination. By changing an input filter and/or by changing a division factor K of a frequency divider that is preferably integrated in the proposed circuit, the circuit can also be applied in any instrument measuring harmonics such as in EMC testers and RF immunity testing on demand, or for evaluating harmonics in aircraft equipment in which the fundamental frequency may easily change to other harmonics. Alternatively, such instruments can be used to observe changes in the harmonic distortion factor in each phase of semiconductor components and non-linear input elements. In audio analyzers the invention can be applied for determining the distortion factor of audio signals since this typically requires an exact determination of the fundamental frequency, but the invention can also be utilised in frequency multiplexers and demultiplexers when significant signal dispersion is expected.

The signal generated by the proposed frequency multiplying device is suitable for determination of the fundamental frequency f of the analogue target signal.

The elements of the frequency multiplying device can be integrated circuits, especially the elements specified in the description are separate integrated circuits forming a larger circuit. Preferably, the elements specified in the description can be identified in the integrated circuit as such.

The notion“coupled” denotes an electrical connection between two elements which may be a direct connection, but can also comprise further active or passive electric or electronic elements for adapting and optimizing an electrical signal between the two elements (indirect connection). The term“generating device” encompasses a frequency generator or oscillator or clock that preferably has a high temporal stability. The“generating device” can provide a stable reference signal, including periodic and partly non-periodic signals, especially with regard to amplitude.

Furthermore, the term “frequency divider” refers to an electronic device which is adapted to divide the frequency of an input signal by a factor K, wherein K is an integer, but K can - in general - also comprise a real or complex number in particular when an electric component also generates a phase shift that can be incorporated in an imaginary part of a number. It also has to be considered that every electrical component referred to in this description can comprise an impedance, which means a complex resistance that can cause a change of amplitude and phase. In the same way, each electrical component can comprise not only a linear, but also a non-linear behavior. Non-linear in the context of electrical components or elements denotes, that for instance new frequencies are generated that were not available in the input signal of the specific electrical component before.

The term“counter” encompasses an electronic device which is adapted to count events in a signal, especially rising or falling edges. A counter can be a binary or digital counter. A binary counter can be constructed by a number of flip-flops connected in cascade. A binary or digital counter can be a common integrated circuit having a “RESET” (reset) input, a“UP” input, a“CLK” (clock) input and an output.

The term“comparator” encompasses an electronic device which is adapted to compare two inputs. A comparator can be a common integrated circuit having two inputs“A” and “B” as well as a“CLK” (clock) input and an output. The term comparator encompasses a digital or binary comparator.

The term“correspond” in the entire description of the patent comprises the meaning of “relate” and/or“substantially equal” and/or“substantially proportional”.

In the description, the term “trigger” encompasses an integrated circuit which is adapted to extract the fundamental frequency of an input signal. The term“trigger” encompasses a Schmitt trigger or any other kind of trigger circuit. Further, the term “trigger” can encompass that input signal is previously, simultaneously or subsequently filtered, especially low pass filtered.

In a preferred embodiment, the frequency determining multiplying device for determining a fundamental frequency f of an analogue target signal comprises at least a signal input (A) that is connected to a trigger- , which is subsequently connected to a first counter. The trigger converts said analogue input signal to a digital output signal (C). The circuit further comprises a generating device for generating a reference signal (G) having a frequency f osc higher than the fundamental frequency f of the target signal. The reset input of the first counter is coupled to the trigger and the clock input of the first counter is coupled to the generating device. The output (E) of the counter can have a maximal decimal value N. Subsequent to the counter the output can be coupled to a first input A of the comparator, wherein a latch register can be coupled between the first counter and the comparator for receiving and storing the digital output (E) of the first binary counter. The frequency of the reference signal (G) is divided by K and the corresponding signal is received by the clock input of the first counter. Further, the reference signal (G) is received by the clock input of the comparator and by the clock input of the second counter, said second counter generates an output signal (I) and is coupled to a second input B of the comparator comparing the output (I) with the digital values (F) of the latch register coupled to the first input A of the comparator. Said comparator generates an analogue output signal (J) having a frequency that is a multiple of the fundamental frequency of the analogue input signal (A). Further the analogue output signal serves as a reset signal for the second counter.

Thus, the comparator can be provided in a negative reset loop. The comparator can be provided in a negative reset loop connected to the second counter to reset the second counter.

Preferably, the first and second counter have an edge-triggered“RESET” input. In an advantageous realization, both counters are set to logical“1” so that the counters always count up. The digital comparator preferably has an edge-triggered“CLK” input. The generating device provides a frequency that is usually significantly higher than the fundamental frequency that needs to be detected precisely. In a preferred embodiment, the reference signal generating device generates a highly stable frequency with a Q factor preferably lower or equal to 1 ppm and the temperature parabolic factor better than 0.1 ppm/°C 2 .

Preferably, the edge triggered clock input of the first binary counter is inverted that may improve also the stability of the signal.

In a preferred embodiment, the frequency multiplying device has a latch register coupled to the output of the first counter. By this, the results of the counter can be stored and used with a time shift, especially when the values are required later. Furthermore, depending on the read and write method, values can also be amended or provided in other formats. The count of the first counter stored in the latch register can correspond to the ratio of two frequencies at inputs“CLK” and“RESET” and thus can represent the ratio of the frequency f osc of the reference signal (G) and the fundamental frequency f given by f os J{K-f). In a preferred embodiment the latch register is a latch and shift register. Thus, if a latch register is mentioned in the description it can also refer to a latch and shift register. By a latch and shift register the bits can be shifted to the right. The shifting will be explained below.

In a further preferred embodiment, the output of the first counter is divided by D1 before in particular led to the latch register. Preferably D1 is an integer power of 2. Preferably, this is achieved by shifting the bits log2(D1 ) places to the right, preferably by one place to the right in case D1 is equal to 2, or generally an integer power of 2. In other words, the MSB of the output of the first counter is coupled to the MSB-1 bit of the latch register. The MSB-1 bit of first counter is coupled to the MSB-2 bit of the latch register etc., until the LSB+1 bit of the first counter is coupled to the LSB of the latch register. The last LSB bit of the first counter is not coupled to the latch register. Alternatively, a division by 4, 8, 16, etc. is possible as the same method can be performed for other factors D1 that can be represented by 2 n , where n denotes a natural number.

In another preferred embodiment, the output of the comparator is coupled to a frequency divider with the factor D2, preferably dividing by a factor of D2=2, resulting in an analogue signal (K). Alternatively, a division by 4, 8, 16, etc. is possible as the same method can be performed for other factors that can be represented by 2 n , where n denotes a natural number. Preferably, the factor of the frequency divider corresponds to or is equal to the factor with that the output of the first counter (E) is changed, especially by the aforementioned method of shifting.

In a further preferred embodiment, the output of the reference signal module is coupled to an inverter. The inverter can be realized as an inverted amplifier. The inverter can stabilise the signal due to the typical characteristics of an amplifier circuit.

In another preferred embodiment, the signal (C) is delayed by a delay circuit generating the output signal (D) led to the reset input of the first counter. The delay assures that the latch register is free to receive the signal from the first counter and is typically much shorter than one measurement cycle.

In another preferred embodiment, the input signal (A) is filtered by a low pass filter before entering the trigger circuit in order to suppress higher unwanted harmonic frequencies as well as noise which may cause error in the measurement circuit. The corresponding cut-off frequency of the low pass filter usually corresponds to a lower frequency than the maximum frequency that measurement circuit can handle correctly. In a particularly preferred embodiment, the output signal (K) has a frequency that is a K-multiple of the fundamental frequency f. The signal (G) having the reference oscillator’s frequency f osc preferably drives the second counter which is counting up in particular at a much higher rate. Preferably whenever the output of the second counter and the latch register are equal (both are at Nl 2), the comparator generates a relatively short RESET signal (J) at its“A=B” output. This signal typically resets the second counter to zero and the counting of that counter will continue. Within one period of the input signal (A) the second counter will reset exactly 2 K times because it corresponds to the ratio of frequencies f osc and f/2 due to the division by 2 (right shifting) prior to coping the value into the latch register. The“A=B” output of the digital comparator is led to a frequency divider by factor 2 to obtain the signal (K) with 50/50% fill ratio. Signal (K) is the analogue output signal with the frequency of KJ.

A measurement device with a frequency multiplying device according to the description is described. The corresponding measurement device can be applied for example in EMC testers and RF immunity testing on demand, an application is in a generator to detect the shifting power grid frequency and synchronise its generated electricity to the grid frequency for injection, for precise measurement of consumed power in AC-grids, for evaluating harmonics in aircraft equipment in which the fundamental frequency easily changes to harmonics, in instruments used to observe changes in the harmonic distortion factor in each phase of semiconductor components and non-linear four input elements, in audio analysers determining the distortion factor of audio signals as well as in frequency multiplexers and demultiplexers when significant signal dispersion is expected. The measurement device can comprise a frequency determining device which is adapted to determine the frequency of the signal generated by the frequency multiplying device.

The frequency multiplying device also provides the use of a comparator for multiplying a fundamental frequency f of an analogue target, wherein a reference signal with a frequency f 0Sc , the frequency f osc being higher than the frequency f, is generated and a further reference signal which is the reference signal having a frequency f K , which is f osc /K, is generated, and signal edges of a signal corresponding to the further reference signal during a time interval which relates to a period of the analogue target signal are counted, and signal edges of a signal corresponding to the reference signal are counted, the comparator is used to compare counting signals of the two counting steps, and is used to generate a signal which corresponds to the counting signals and used to reset the counting of the signal edges of the counting signal corresponding to the reference signal.

Furthermore, a method for multiplying a fundamental frequency f of an analogue target signal is described. The method comprises the steps of: generating a reference signal with a frequency f 0Sc , the frequency f osc being higher than the frequency f and generating a further reference signal which is the reference signal having a frequency f K , which is f osc /K, counting signal edges of a signal corresponding to the further reference signal during a time interval which relates to a period of the analogue target signal, counting signal edges of a signal corresponding to the reference signal, generating counting signals of the two counting steps, and comparing the counts of the two counting steps, wherein a signal is generated which corresponds to the counting signals and output as a signal corresponding to the output signal and used to reset the counting of the signal edges of the counting signal corresponding to the reference signal.

Fig. 4 illustrates the signals related to the block diagram of fig. 3 and

Fig. 5 shows a block diagram of the frequency multiplying device in a simplified embodiment of fig. 3.

In fig. 3, an embodiment according to the invention is shown. An analogue input is fed into a low pass filter 1. The output of the filter 1 is coupled to the input of a Schmitt- trigger 2 or a comparator in general. The output of the Schmitt-trigger 2 is coupled to the input of a delay circuit 3 and the edge-triggered“ENABLE” input of a latch register 4. The delay circuit 3 is coupled to the edge-triggered“RESET” input of a first binary counter 5. The“UP” input of said first binary counter 5 is coupled to logical 1 so that counter 5 always counts up. The output of a high frequency oscillator 6 is coupled to the input of an inverter 7. The output of the inverter is fed into a frequency divider 8 (the factor of the frequency divider is K), and thereby to the edge-triggered“CLK” input of a digital comparator 10, and also to the edge-triggered“CLK” input of a second binary counter 9. The digital output of the first binary counter 5 can serve as a digital output of the circuit. The digital output of the first binary counter 5 is also fed into a latch register 4 by shifting the bits one place to the right, so that the MSB of the output of the first binary counter 5 is coupled to the MSB-1 bit of the latch register 4, whereby MSB denotes most significant bit. The MSB-1 bit of 5 is coupled to the MSB-2 bit of 4 and so on, until the LSB+1 bit of 5 is coupled to the LSB of 4, whereby LSB denotes least significant bit. The last LSB bit of the first binary counter 5 is not coupled to 4. The output of the frequency divider 8 is coupled to the inverted edge-triggered“CLK” input of the first binary counter 5. The digital output of 4 is coupled to the digital input“A” of the digital comparator 10 and the digital output of the second binary counter 9 is coupled to the digital input“B” of the digital comparator 10. The“A=B” output of the digital comparator 10 is coupled to the“RESET” input of the second binary counter 9 and to the input of a frequency divider 1 1 by 2. The output of the frequency divider 1 1 by 2 is the analogue output of the circuit and it generates the desired K multiple of the input signal. Fig. 4 shows an illustration of the signals from figure 3. The circuit from figure 3 uses a high-frequency reference oscillator with the frequency f osc and a frequency divider with the factor K to generate a K multiple frequency of an unknown fundamental frequency of the input signal A. The reference frequency and the multiplication factor have to be set in advance, but the principle of operation is independent on the choices of f osc and K. The input signal A should be any periodic signal which fundamental frequency f is unknown. The circuit can provide two outputs: one digital output (E) corresponding to the ratio of the unknown frequency f and the frequency f 0 K and one analogue output K - the digital clock signal having 50/50% fill ratio and the fundamental frequency equal to K f.

The signal of the reference oscillator 6 is first inverted and by this preferably also stabilized by application of an inverter 7 and then led to a frequency division circuit 8 with the factor K. The signal H at the output of the frequency divider 8 is used to trigger counting of the first binary counter 5. The binary counter will count upward because its “UP” input is coupled to a logical“1”, as long as the signal D passes through one period.

Signal D is obtained from the input signal A. First, the signal A with the unknown fundamental frequency f passes through a low-pass filter 1 to suppress noise and higher harmonics. The low-pass filter 1 produces signal B, which is then coupled to the input of a Schmitt-trigger circuit 2 to obtain square pulses C with frequency equal to f. This signal is used to enable the transfer of the output of first binary counter 5 into a latch register 4, where it is kept until the end of the cycle defined by the fundamental frequency f. A slightly delayed signal D is led to the RESET input of the first binary counter 5 to allow for a good synchronization with the latch register precisely at the end of the cycle. The delay should be shorter than the period of the signal H but longer than the speed of the latch register 4.

Besides latching, the output of the first binary counter 5 is divided by 2 before led to the latch register 4. This is achieved by shifting the bits one place to the right. In other words, the MSB of the output of 5 is coupled to the MSB-1 bit of the 4, The MSB-1 bit of 5 is coupled to the MSB-2 bit of 4 and so on, until the LSB+1 bit of 5 is coupled to the LSB of 4. The last LSB bit of the first binary counter 5 is not coupled to 4. Let integer number“N” denote the maximal decimal value of the first binary counter 5 at the moment of latching. N is the ratio of two frequencies at inputs“CLK” and“RESET” and equals f 0sc /{K-f). Then the value copied into the latch register equals Nl 2 = f o J{2K-f). On the other hand, the signal G having the reference oscillator’s frequency f osc drives the second binary counter 9 which is counting up at a much higher rate. Whenever the output of the second binary counter 9 and the latch register 4 are equal (both are at L//2) the digital comparator 10 will generate a short RESET signal J at its“A=B” output. This signal will reset the second counter 9 to zero and the counting of that counter will continue. Within one period of the input signal A the second binary counter 9 will reset exactly 2 K times because it corresponds to the ratio of frequencies f osc and f/2 due to the division by 2 (right shifting) prior to coping the value into the latch register 4. The “A=B” output of the digital comparator 10 is led to a frequency divider by factor 2 to obtain the signal K with preferably 50/50% fill ratio. Signal K is the analogue output signal with the frequency of KJ.

Fig. 5 shows a block diagram of a simplified second embodiment of the frequency multiplying and/or determining device to illustrate the measurement method. Here, the Schmitt trigger 2 is replaced by a general trigger and the reference signal generating device is given by a general clock 6. The arrows indicate a coupling or transferring of signals, that also can comprise a change of the signals by other additional electrically active components.

Embodiments referring to a frequency multiplying device:

1. A frequency multiplying device for determination of a fundamental frequency f of an analogue target signal, the device comprising

• a generating device (6) for generating a reference signal having a frequency f osc , wherein f osc is greater than f,

• a first counter (5) being coupled to a terminal, the terminal to be fed with the analogue target signal, and being coupled to the generating device (6) such that the first counter (5) counts a number of signal edges generated from the reference signal and outputs a first counter signal

• a frequency divider (8) being coupled between the generating device (6) and the first counter (5) and

• a second counter (9) being coupled to the generating device (6) for counting signal edges of a signal generated from the reference signal the second counter outputting a second counter signal and

• a comparator (10) with a first input (A)coupled to the first counter (5) to receive the first counter signal and with a second input (B) coupled to the second counter (9) to receive the second counter signal, wherein the comparator (10) is configured to generate a signal to an output of the comparator in the event the first counter signal is equal to the second counter signal, and with an output of the comparator (10) being coupled to reset the second counter (9), characterized in that

the frequency multiplying device has a latch register (4) with an input and an output, the input coupled to the output of the first counter (5), which is adapted to count the number of signal edges generated from the reference signal in a time interval equal to 1/f, and the output coupled to the first input (A) of the comparator (10), wherein the output from the first binary counter (5) is divided by a factor of D1 , that is an integer power of 2, in the latch register (4) that is configured to shift the bits by log2(D1 ) places.

2. Frequency multiplying device recited in embodiment 1 , wherein the output of the digital comparator (10) is also coupled to a frequency divider (1 1 ), dividing by a factor of D2, preferably 2.

3. Frequency multiplying device recited in one of the aforementioned embodiments, wherein a clock (6) with an output for a clock signal is coupled to an inverter (7).

4. Frequency multiplying device recited in one of the aforementioned embodiments, wherein a trigger (2) has an output and an input, the input being coupled with the input signal (A) and the output being coupled to a delay circuit (3) and the output of said delay circuit (3) being coupled to the reset input of the first binary counter (5).

5. Frequency multiplying device recited in one of the aforementioned embodiments, wherein the input signal (A) is coupled to a low pass filter (1 ) having an output to the trigger (2).

6. Measurement system comprising the frequency multiplying device according to anyone of the aforementioned embodiments.

7. A method for multiplying a fundamental frequency f of an analogue target signal, the method comprising the steps of: generating a reference signal with a frequency f 0Sc , the frequency f osc being higher than the frequency f and generating a further reference signal which is the reference signal having a frequency f K , which is f osc /K, counting signal edges of a signal corresponding to the further reference signal during a period of the analogue target signal, counting signal edges of a signal corresponding to the reference signal, generating counting signals of the two counting steps, and comparing the counts of the two counting steps, wherein a signal is generated which corresponds to the counting signals and output as a signal corresponding to the output signal and used to reset the counting of the signal edges of the counting signal corresponding to the reference signal, wherein the first counting signal is divided by D1 in a latch register (4), wherein D1 is an integer power of 2, the latch register configured to shift the bits in the latch register log2(D1 ) places to the right.

Embodiments according to the present invention, especially referring to a device or circuit:

1. Device for processing, measuring and/or analyzing a signal to be processed (A), the device comprising a Frequency Multiplying Device (b) with one input for the signal to be processed (A) and at least two outputs, wherein a first output (K) which is to provide for a chosen multiple of the fundamental frequency (II) of the signal to be processed (A), a second output (G) which is to provide for a clock signal (III), and/or a third output (E) which is to provide for the actual ratio of frequencies (VIII) in a digital, preferably binary, form.

2. The device according to embodiment 1 , wherein a further output (J) of the Frequency Multiplying Device (b) provides indication (VII) on a start and an end of an analogue-to-digital conversion process.

3. The device according to embodiment 1 or 2, wherein the device comprises an analogue-to-digital conversion unit (a) having three inputs, a first input for the signal to be processed (I), a second input (CLK) for the clock signal (III) and a third input (fs) for the multiple of the fundamental frequency (II) of the signal to be processed (A), the analogue-to-digital conversion unit (a) further comprising an output providing digitized values of the input signal.

4. The device according to embodiment 3, wherein the device comprises a memory (c) to store digitized data received from the analogue-to-digital conversion unit (a), especially between conversion and processing phases with one clock input, one digital input and one digital output.

5. The device according to embodiment 4, wherein the memory (c) has all digital interfaces parallel in design.

6. The device according to embodiment 4 or 5, the device comprising a signal processing unit (d) adapted to fulfill the main processing functionality of the device, the signal processing unit (d) having an analogue input (CLK) for the clock signal and/or a digital input for fetching external data. The device according to embodiment 6, the signal processing unit (d) comprising a second analogue input (N) for obtaining frequency estimate information and/or a second digital output connected to additional internal memory capacity. The device according to any one of embodiments 1 to 7, wherein the input (A) of the Frequency Multiplying Device (b) is coupled with the input (I) of the device and an output (G) coupled to the input (CLK) of the analogue-to-digital conversion unit (a), to the memory (c) and the signal processing unit (d). The device according to any one of embodiments 1 to 8, wherein the analogue- to-digital conversion unit (a) comprises a minimum of sample-and-hold circuit, quantizer and preferably a digital coder, capable of performing an analogue-to- digital conversion in any manner available, comprising the input coupled to the input (I) of the device, wherein an input (fs) is coupled to the output (K) of the Frequency Multiplying Device (b), further comprising the output coupled to the input of the memory (c), which is further coupled to the signal processing unit (d). The device according to any one of embodiments 1 to 9, capable of performing frequency multiplication and reporting on the start and end instances of the AD conversion phase through it analogue output (J) coupled to the signal processing unit (d), and capable of reporting on the estimated value of the fundamental frequency through its digital, preferably binary output (E) also coupled to the signal processing unit (d). Use of the device, preferably according to any one of embodiments 1 to 10, for an efficient synchronization of a sampling and/or quantization process within an analogue-to-digital conversion unit (a) with the input signal by ensuring a constant (arbitrary) integer number of samples to be taken from each signal period over large observation / measurement periods. Method for processing and/or analyzing a signal to be processed (A), the method comprising the steps:

Providing an input for the signal to be processed (A) and at least three outputs, wherein as a first output (K) a chosen multiple of the fundamental frequency (II) of the signal to be processed (A) is provided, a second output (G) for a clock signal (III) is provided, and a third output for the actual ratio of frequencies (VIII) in a digital, preferably binary form, is provided. References:

[1] B. Antic, S. Santrac, “Frequency Multiplying Device”, patent application PCT/EP2018/059421

[2] W. A. C. Perera, J. F. Chicharo, B. S. P. Perera, "On the merits and demerits of using a fast fourier transform approach for establishing the harmonic spectrum in power system", Proc. AUPEC '93, pp. 108-1 15, Sept. 290ct. 1 1993.

[3] A. A. Girgis, F. Ham, "A qualitative study of pitfalls in FFT", IEEE Trans. Aerosp.

Electron. Syst., vol. AES-16, no. 4, pp. 434-439, July 1980.

[4] K. Srinivasan, "Errors in digital measurement of voltage active and reactive power and an on-line correction for frequency drift", IEEE Trans. Power Delivery, vol. PWRD-2, no. 1 , pp. 72-76, Jan. 1987.

[5] G. Andria, "Windows and interpolation algorithms to improve electrical measurement accuracy", IEEE Trans. Instrum. Meas., vol. IM-38, pp. 856-863, Aug. 1989.

[6] Fredric J. Harris,“On the use of Windows for Harmonic Analysis with the Discrete Fourier Transform”, Proceedings of the IEEE, V66N1 , Jan. 1978, pp. 51-83.

[7] Fang Xu, "Algorithm to Remove Spectral Leakage, Close-in Noise, and Its Application to Converter Test”, 2006 IEEE Instrumentation and Measurement Technology Conference Proceedings, Date of Conference: 24-27 April 2006 , Conference Location: Sorrento, Italy , Date Added to IEEE Xplore: 12 March 2007

[8] Dj. Haddadi, D. Dallet, Ph. Marchegay, "Phase noise compensation in ADC characterization by spectral analysis", IMTC 2005 - Instrumentation and Measurement Technology Conference, May 17-19, 2005.

[9] V. Vujicic,“Digital Instrument for Measuring Harmonics”, patent YU 48640 B, 1996.

[10] V. Vujicic, S. Milovancev, “Digital Instrument for Measuring Mean Value of the Product of two Periodic Signals”, patent YU 48195 B, 1995.

[11] Tl Designs, “Multi-Phase Power Quality Measurement With Isolated Shunt Sensors”, Texas Instruments, Key System Specifications, http://www.ti.com/lit/ug/tidubo7a/tidubo7a.pdf, January 2016.

[12] Analogue Devices, “Energy Metering IC with Sensor Monitoring and Autocalibration”, Data Sheet, https://www.analog.com/media/en/technical- documentation/data-sheets/ADE9153B.pdf, 2017.

[13] Sufyanu A, “Power Quality and Harmonic Analysis in Three Phase Systems”, Journal of Electrical & Electronic Systems, Vol 7, Issue 4, 1000291 , DOI: 10.4172/2332-0796.1000291 , January 2018.

[14] Peng Fei, Meng Zhang, Shaofeng Yu, Qingqing Mu, Yibo Gao, Huixuan Shi,“An On-line Multiplexed High Accuracy Electric Energy Meter Based on Dual-access RAM”, Proceedings of the 2016 Joint International Information Technology, Mechanical and Electronic Engineering (JIMEC 2016), October 4-5, 2016 in Xi'an, China, DOI: 10.2991/jimec-16.2016.19, January 2016.

[15] Byron Slater, Gordon Burns, John Voisine, “Electronic meter having random access memory with passive nonvolatility”, patent No. US20020036492A1 , 2001.

[16] Shouxi Zhu, Wenlai Ma,“A Design of Aircraft Grid Harmonic Detection Device using DSPandARM”, International Journal of Control and Automation, Vol.8, No.3, pp.81-98, http://dx.doi.Org/10.14257/ijca.2015.8.3.11 , 2015.