Method and apparatus for measuring a disturbed variable
10048297 ยท 2018-08-14
Assignee
Inventors
Cpc classification
G01R19/003
PHYSICS
H03M1/0658
ELECTRICITY
H03M3/376
ELECTRICITY
G01R1/30
PHYSICS
G01R19/0053
PHYSICS
International classification
G01R19/00
PHYSICS
Abstract
Provided are apparatuses and methods, in which a disturbed measurement variable is converted to a digital signal. The digital signal is then averaged over a number of sampling values which corresponds to a period of the disturbances.
Claims
1. Apparatus for processing a measurement signal, the apparatus comprising: an analog-to-digital converter configured to receive a measurement signal and output digital sampling values that represent the measurement signal, wherein the measurement signal corresponds to a base signal that exhibits noise-induced ripple through unintentional overlap with a periodic disturbance, and an averaging device configured to carry out a multiplicity of averages of the digital sampling values over a time duration corresponding to a period duration of the periodic disturbance, wherein the multiplicity of averages are phase-shifted by a fraction of the period duration of the periodic disturbance.
2. Apparatus according to claim 1, wherein the analog-to-digital converter comprises a multibit analog-to-digital converter.
3. Apparatus according to claim 1, wherein the analog-to-digital converter comprises a continuous-time sigma-delta analog-to-digital converter.
4. Apparatus according to claim 1, wherein the averaging device comprises a digital integrator.
5. Apparatus according to claim 1, wherein the analog-to-digital converter is configured to be clocked by an analog-to-digital converter clock signal, wherein the apparatus further comprises a counter that is configured to determine a number of periods of the analog-to-digital converter clock signal during a period duration of the periodic disturbance to determine a number of digital sampling values for the averaging over the time duration which corresponds to the period duration of the periodic disturbance.
6. Apparatus according to claim 5, wherein the counter is configured to receive a synchronization signal which indicates information relating to the period duration of the periodic disturbance.
7. Apparatus according to claim 5, further comprising an oscillator device configured to generate the analog-to-digital converter clock signal, wherein the oscillator device comprises a control device that is configured to control a frequency of the analog-to-digital converter clock signal such that, within the period duration, an integer number of digital sampling values is present.
8. Apparatus according to claim 1, further comprising a sensor for providing the measurement signal.
9. Apparatus according to claim 8, wherein the sensor comprises a current sensor.
10. Apparatus according to claim 1, wherein the averaging device is configured to discard at least one digital sampling value at at least one of a start and an end of an averaging period.
11. Apparatus according to claim 1, wherein the apparatus is configured to carry out filtering on the basis of the multiplicity of averages of the averaging device.
12. Apparatus according to claim 1, further comprising a filter device coupled to an output of the analog-to-digital converter to monitor the periodic disturbance.
13. Apparatus according to claim 1, wherein the averaging device comprises: a first digital integrator configured to form a first average value of the digital sampling values over the time duration; and a second digital integrator to form a second average value of the digital sampling values over the time duration, wherein the second average value takes place with a time offset from the first average value.
14. Apparatus for processing a measurement signal, the apparatus comprising: an analog-to-digital converter configured to receive a measurement signal and output digital sampling values that represent the measurement signal, wherein the measurement signal corresponds to a base signal that exhibits noise-induced ripple through unintentional overlap with a periodic disturbance, and an averaging device configured to: discard at least one digital sampling value at at least one of a start and an end of a time duration corresponding to a period duration of the periodic disturbance; and form an average value of digital sampling values over the time duration.
15. Apparatus according to claim 14, wherein the averaging device is further configured to form a plurality of temporally offset average values of the digital sampling values over the time duration, wherein the temporal spacing of the average values corresponds to a fraction of the period duration.
16. Apparatus according to claim 14, wherein the averaging device comprises: a first digital integrator configured to form a first average value of the digital sampling values over the time duration; and a second digital integrator to form a second average value of the digital sampling values over the time duration, wherein the second average value takes place with a time offset from the first average value.
17. Apparatus according to claim 14, further comprising a counter configured to determine a number of periods of an analog-to-digital converter clock signal during the period duration of the periodic disturbance to determine a number of digital sampling values for the averaging over the time duration which corresponds to the period duration of the periodic disturbance.
18. Apparatus for processing a measurement signal, the apparatus comprising: an analog-to-digital converter configured to receive a measurement signal and output digital sampling values that represent the measurement signal, wherein the measurement signal corresponds to a base signal that exhibits noise-induced ripple through unintentional overlap with a periodic disturbance, an oscillator device configured to generate an analog-to-digital converter clock signal to clock the analog-to-digital converter, the oscillator device comprising a control device that is configured to control a frequency of the analog-to-digital converter clock signal such that within a periodic duration of the periodic disturbance an integer number of digital sampling values is present, a counter that is configured to determine a number of periods of the analog-to-digital converter clock signal during the period duration to determine a number of digital sampling values for averaging over a time duration which corresponds to the period duration, and an averaging device configured to form an average value of digital sampling values over the time duration.
19. Apparatus according to claim 18, wherein the averaging device is further configured to form a plurality of temporally offset average values of the digital sampling values over the time duration, wherein the temporal spacing of the average values corresponds to a fraction of the period duration.
20. Apparatus according to claim 18, wherein the averaging device comprises: a first digital integrator configured to form a first average value of the digital sampling values over the time duration; and a second digital integrator to form a second average value of the digital sampling values over the time duration, wherein the second average value takes place with a time offset from the first average value.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
DETAILED DESCRIPTION
(7) Exemplary embodiments of the present invention will be explained in detail below. It should be noted that these exemplary embodiments merely serve as examples and should not be understood to be limiting.
(8) Even if some exemplary embodiments are described as having a large number of properties or features, this should not be understood to mean that these properties or features are essential. Different exemplary embodiments can have fewer features or properties and/or alternative features or properties. In addition, features of different exemplary embodiments can be combined with one another, unless indicated otherwise.
(9) In some exemplary embodiments, a signal which is subject to a periodic disturbance is digitized with a sampling frequency, in particular converted to multibit sampling values. Averaging over a number of multibit sampling values is then carried out, which corresponds to the period duration of the disturbance or an integer multiple thereof.
(10) In some exemplary embodiments, such averaging can begin a number of times with time offset in each period of the disturbances. In some exemplary embodiments it is thus possible to reduce a delay which is produced by the averaging.
(11) Examples of the above-explained concepts are explained in more detail below with reference to the figures.
(12)
(13) In the exemplary embodiment of
(14) The values output by the analog-to-digital converter 11 are averaged in an averaging device 12, wherein a number of sampling values over which averaging is performed corresponds to a period duration or an integer multiple thereof. Averaged values which are ascertained in this way are output as the output signal out.
(15) In the exemplary embodiment of
(16) It should be noted that, in addition to averaging over a duration corresponding to a disturbance period, longer averaging, for example over an integer multiple of the disturbance period, can also be carried out. It should additionally be noted that even though the number of sampling values over which averaging is carried out in the exemplary embodiment of
(17)
(18) At 20, a measurement variable is captured, for example a current. At 21, the captured measurement variable is then converted into a digital signal, for example a multibit signal with a multiplicity of successive n-bit sampling values, wherein n>1. At 22, the sampling values of the digital signal are then averaged over a duration of a period of a disturbance in order to generate an output signal. The beginning of the averaging in this case does not need to coincide with the beginning of a disturbance period of a disturbance signal which is superposed over the measurement variable, but merely the duration substantially matches.
(19) It is also possible to carry out a plurality of averagings with a time offset and partial overlap in order to update the output signal thus generated more frequently. In some exemplary embodiments, this can result in a smaller delay of the output signal, which is useful for example in applications in which the measurement variable is controlled on the basis of the output signal.
(20) In order to explain the apparatus of
(21) An enlarged section of this solid curve 36 is shown at 31, where the triangular ripple together with peaks which are caused, for example, by switching the pulse-width-modulated control signal 32 on and off or by the synchronization signals 33, 34 are represented. The synchronization signals 33 and 34 have a frequency equal to a frequency of the control signal 32 and thus a frequency of the disturbances for example corresponding to the curve 31 or the solid curve 30. This triangular signal represents an example of a periodic disturbance signal to which the actual measurement variable (dashed curve 30) is subject. By averaging, as was discussed with reference to
(22) In addition, for illustration purposes in
(23) A clock frequency of the signal 35 is here significantly larger than a frequency of the PWM control signal 32 or the synchronization signals 33, 34, for example between 10 and 20 times as large.
(24)
(25) In the exemplary embodiment of
(26) The analog-to-digital converter 44 comprises a subtractor 45, wherein a signal of the sensor 40 is supplied to a positive input of the subtractor 45 and the output signal of the analog-to-digital converter 44 is supplied to a negative input of the subtractor 45 via a feedback loop with a multibit digital-to-analog converter 49. The multibit digital-to-analog converter (DAC) 49 here serves for converting the digital output signal into an analog signal.
(27) An output signal of the subtractor 45 is supplied to an analog integrator 46. An output signal of the analog integrator 46 is supplied to a multistage comparator 47, which samples the output signal of the analog integrator 46 with a converter clock frequency f.sub.ADC and compares it for example with a plurality of threshold values in order to output, in dependence on this comparison, an associated value of a multibit digital signal (for example a 2-bit signal, 3-bit signal, 4-bit signal and the like). An output signal of the comparator 47 is then integrated by a digital integrator 48 in order to form the output signal of the analog-to-digital converter 44. A sigma-delta analog-to-digital converter of the construction illustrated in
(28) The output signal of the analog-to-digital converter 44 is supplied to a block 410 for averaging. The block 410 in this case comprises four digital integrators 411-414, which integrate the output signal of the analog-to-digital converter 44 in each case over a period duration of a disturbance, wherein the averaging by way of the four integrators 411-414 takes place with a time offset in the exemplary embodiment of
(29) For producing the analog-to-digital converter clock signal, an oscillator 41 with a fractional phase-locked loop (PLL) can additionally be optionally used, with which the clock signal can be matched up to a specific degree to the synchronization signal sync. Depending on the analog-to-digital converter used, the option for matching can be limited here. For example, in a sigma-delta analog-to-digital converter, as represented in
(30) While four integrators 411-414 are used in the exemplary embodiment of
(31) As indicated by a dashed arrow 417, the output signal of the analog-to-digital converter 44 can additionally optionally be used for other purposes. For example, this output signal can be supplied to a digital filter path 418, via which for example an amplitude of the ripples or other properties of the ripples, i.e. the disturbances, can be monitored. By such monitoring it is possible, for example in the case of motor control, to detect malfunctions of the motor, for example blocking of the motor.
(32) In order to further illustrate the mode of function of the exemplary embodiment of
(33) A curve 55 shows a disturbance-free signal profile, in this case a sinusoidal signal profile. In the example of
(34) Parentheses 50-52 and the parenthesis 53 in
(35) In some exemplary embodiments, it is possible by way of the represented averaging for a smaller delay in the generation of the output signal to be achieved than in other procedures, for example when using a lowpass filter with an analog-to-digital converter that is connected downstream.
(36)
(37) A resulting updating rate f.sub.update can thus be a multiple of the frequency of the disturbances, for example, as represented, four times the frequency of the disturbances. To give examples of numerical values, for example the frequency f.sub.ADC can be of the order of magnitude of 10 MHz, and the multibit output signal of the digital-to-analog converter can be a 6-bit output signal with sampling values which are produced in this example with time spacings of 100 ms. At a frequency of the synchronization signal f.sub.sync (corresponding to the frequency of the disturbances) of 50 kHz and four temporally offset averagings, as represented, a delay, as represented in
(38) With these numerical values, the oscillator 41 can serve for example for matching the frequency f.sub.ADC between two neighboring integer values of the fractional divisor, i.e. for example between 50 or 51 in the case discussed above f.sub.ADC=10 MHz, f.sub.update=200 kHz, f.sub.ripple=f.sub.sync=50 kHz. This results in an effective delay of 10 s and an update period of 5 s. In this case, it is necessary to indicate for example the internal oscillator only by 2%. The above numerical values only serve for illustration purposes, and depending on the implementation and use, other values are possible.
(39) The above-discussed exemplary embodiments only serve as examples, and various modifications and variations are possible. By way of example, the averaged output signal (for example the output signal of the block 12 in
(40) In other exemplary embodiments, additionally or alternatively, a prediction algorithm can be used to preset for example the feedback analog-to-digital converter 49 to a target value, which can accelerate processing. In other words, for example in a converter which operates according to the principle of successive approximation, a target value is preset on the basis of a preceding output signal.
(41) In some exemplary embodiments, an analog-to-digital converter used, such as the sigma-delta analog-to-digital converter 44 in
(42) In some exemplary embodiments, what is known as a guard bending scheme can be used to reduce the influence of peaks, in which for example the first and last sample values of an averaging period are discarded and not included in the averaging, since peaks could occur in particular when switching, for example of the PWM control signal 230. This can be useful in particular when using analog-to-digital converters having switched capacitors, while it has less of an effect in continuous-time sigma-delta converters.
(43) As already mentioned, it is also possible, instead of using a synchronization signal, to determine the time duration of the averaging directly from the measurement variable by way of ascertaining a period of the disturbances.
(44) In addition, in the represented example, a single-phase disturbance, i.e. for example a single-phase PWM control signal 32 in
(45) As can be seen, many variations and modifications of the illustrated exemplary embodiments are thus possible. These should thus not be understood to be limiting.