Digital measurement input for an electric automation device, electric automation device comprising a digital measurement input, and method for processing digital input measurement values
09917662 ยท 2018-03-13
Assignee
Inventors
Cpc classification
G01R19/2509
PHYSICS
G05B11/32
PHYSICS
International classification
H04L25/03
ELECTRICITY
G05B11/32
PHYSICS
Abstract
A digital measurement input for an electric automation device has a receiving device configured to receive digital input measurement values generated by sampling an analog measurement signal at a first sampling rate, and a signal converting device configured to generate digital output measurement values from the digital input measurement values and to provide digital output measurement values. The sampling rate and sampling times of each digital output measurement value is adapted to a specified sampling rate and/or specified sampling time. The signal converting device has a digital encoder filter on the input side and a digital decoder filter on the output side, between which an interpolator is provided. The encoder filter, the interpolator, and the decoder filter are matched to one another so as to adapt the sampling rate and/or sampling time of the digital input measurement values.
Claims
1. A digital measurement input for an electric automation device, the digital measurement input comprising: a receiving device configured to receive digital input measurement values which have been generated by sampling an analog measurement signal at a first sampling rate via a merging unit being different from the electric automation device; and a signal conversion device configured to form and provide digital output measurement values from the digital input measurement values, at least one of a sampling rate or sampling times of the digital output measurement values is adapted to at least one of a specified sampling rate or specified sampling times, said signal conversion device having a digital encoder filter on an input side and a decoder filter on an output side, between which an interpolator is disposed, said encoder filter, said interpolator and said decoder filter are matched to one another so that an adaptation of at least one of a sampling rate or sampling times of the digital input measurement values is effected by said signal conversion device.
2. The digital measurement input according to claim 1, wherein said interpolator is configured to generate interpolated digital auxiliary measurement values using a signal model.
3. The digital measurement input according to claim 2, wherein the signal model describes a quadratic function.
4. The digital measurement input according to claim 1, wherein said encoder filter and said decoder filter have individual transmission functions which can be matched to one another so that their common transmission function effects an adjustable shift of a phase response of a sequence of digital input measurement values in order to generate a required temporal shift of the digital output measurement values compared to the digital input measurement values.
5. The digital measurement input according to claim 1, wherein said encoder filter has a PD characteristic and said decoder filter has a low-pass characteristic.
6. The digital measurement input according to claim 1, wherein the digital measurement input is configured in a form of a processing module with hardware-defined programming.
7. The digital measurement input according to claim 6, wherein said processing module has a memory register in which filter coefficients of at least one of said encoder filter or said decoder filter are modifiably stored.
8. The digital measurement input according to claim 1, wherein said receiving device is configured to receive the digital input measurement values in a form of data messages.
9. The digital measurement input according to claim 8, wherein said receiving device is configured to extract information relating to the first sampling rate from the data messages containing the digital input measurement values and forward the information to said signal conversion device.
10. The digital measurement input according to claim 1, wherein the digital measurement input is configured as an ASIC or an FPGA.
11. An electric automation device, comprising: a digital measurement input, containing: a receiving device configured to receive digital input measurement values which have been generated by sampling an analog measurement signal at a first sampling rate via a merging unit being different from the electric automation device; and a signal conversion device configured to form and provide digital output measurement values from the digital input measurement values, at least one of a sampling rate or sampling times of the digital output measurement values is adapted to at least one of a specified sampling rate or specified sampling times, said signal conversion device having a digital encoder filter on an input side and a decoder filter on an output side, between which an interpolator is disposed, said encoder filter, said interpolator and said decoder filter are matched to one another so that an adaptation of at least one of a sampling rate or sampling times of the digital input measurement values is effected by said signal conversion device.
12. The electric automation device according to claim 11, further comprising at least one analog signal input configured to capture a local analog measurement signal and to form local digital measurement values; and wherein said signal conversion device of said digital measurement input is configured to use at least one of a sampling rate or sampling times of the local digital measurement values as at least one of the specified sampling rate or the specified sampling times in order to adapt at least one of the sampling rate or the sampling times of the digital input measurement values.
13. The electric automation device according to claim 11, further comprising at least one further digital measurement input which is configured according to said digital measurement input.
14. The electric automation device according to claim 11, wherein said digital measurement input is configured to receive and process a plurality of sequences of digital input measurement values.
15. A method for processing digital input measurement values having been generated by sampling an analog measurement signal at a first sampling rate, which comprises the steps of: receiving the digital input measurement values via a receiving device of a digital measurement input of an automation device, the digital input measurement values being generated in a merging unit being different from the automation device; forming and providing digital output measurement values with a signal conversion device of the digital measurement input from the digital input measurement values, at least one of a sampling rate or sampling times of the digital output measurement values are adapted to at least one of a specified sampling rate or specified sampling times; filtering the digital input measurement values with a digital encoder filter of the signal conversion device with formation of encoded digital input measurement values; interpolating the encoded digital input measurement values with an interpolator of the signal conversion device with formation of digital auxiliary measurement values; and filtering the digital auxiliary measurement values with a digital decoder filter of the signal conversion device with formation of the digital output measurement values, the encoder filter, the interpolator and the decoder filter are matched to one another so that they effect an adaptation of at least one of a sampling rate or sampling times of the digital input measurement values.
16. The method according to claim 15, wherein a common transmission function resulting from a linking of individual transmission functions of the encoder filter and the decoder filter effects an adjustable shift of a phase response of a sequence of digital input measurement values in order to generate a required temporal shift of the digital output measurement values compared with the digital input measurement values.
Description
BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWING
(1) In the drawing:
(2)
(3)
(4)
(5)
(6)
(7)
DESCRIPTION OF THE INVENTION
(8)
(9) Analog measurement signals indicating, for example, currents and/or voltages prevailing at measurement points 13a-b are captured by means of suitable transformers at measurement points 13a-b of the power grid. Specifically, for example, analog current signals i.sub.1, i.sub.2, i.sub.3 and i.sub.4 and analog voltage signals u.sub.1 and u.sub.2 are captured at the measurement points 13a and 13b and are forwarded to the merging units 12a-b. The signal processing is described below by way of example with reference to the merging unit 12b, wherein the description is applicable accordingly to the merging unit 12a also. The merging unit 12b converts the received analog measurement signals, here specifically the signals i.sub.3, i.sub.4, u.sub.2, into digital input measurement values M.sub.E by sampling with an analog-to-digital converter 14. The analog-to-digital converter 14 can use a sampling rate of 4 kHz, for example, for the sampling. The sampling rate can be synchronized by an external time synchronization signal, e.g. a 1PPS (1PPS=1 Pulse per Second) pulse, or may be free-running. The merging unit 12b forms data messages T with the digital input measurement values M.sub.E and forwards them on the output side via a data interface 15 to a data communication bus 16, also referred to as a process bus, for the transmission of process-related measurement values, event data and commands. The data messages T containing the digital input measurement values M.sub.E may, for example, be designed as Sampled Measured Values (SMV) according to the IEC 61850-9-2 standard and can be transmitted via an Ethernet-based data communication bus 16.
(10) The data messages T are fed to the automation device 11. The latter has a process bus module 17a with which the messages T are received and the digital input measurement values M.sub.E are extracted therefrom. The process bus module 17a has at least one physical process bus interface, e.g. an Ethernet interface 18, for receiving the data messages T. In the example embodiment according to
(11) Along with the process bus module 17a, the automation device 11 also has a processor module 17b and an analog input module 17c. The individual modules 17a-17c are interconnected via an internal communication bus 19 via which internal data are exchanged, and a time synchronization of the individual modules 17a-17c is also carried out so that all modules 17a-17c of the automation device 11 use the same system time.
(12) The analog input module 17c is connected directly to measurement transformers disposed at a further measurement point 13c of the power grid and, from said transformers, captures, for example, an analog current signal i.sub.5 and an analog voltage signal u.sub.3. These locally captured analog measurement signals are fed to an analog-to-digital converter of the analog input module 17c and are converted into local digital measurement values M.sub.lok. A sampling rate of 16 kHz, for example, which is controlled via the system time and can be precisely compared with other signals by means of an external time synchronization signal (e.g. a 1PPS pulse) is used for this purpose.
(13) The local digital measurement values M.sub.lok are used by the processor module 17b in the same way as the digital output measurement values M.sub.A provided via the process bus module 17a to perform control, monitoring and/or protection functions for the power grid. If the automation device 11 is, for example, an electric protection device, protection algorithms, such as e.g. a distance protection algorithm or a differential protection algorithm, inter alia, are executed by the processor module 17b in order to be able to detect faults in and shut down the power grid.
(14) To perform the functions, the processor module 17b requires measurement values that are comparable with one another, i.e. the sampling rate and/or sampling time of the digital input measurement values M.sub.E received from the process bus module 17a must be adapted to the local digital measurement values M.sub.lok formed from the locally captured analog signals. In the present case, both the sampling rate and the sampling times of the digital input measurement values M.sub.E and the local digital measurement values M.sub.lok should differ from one another since, on the one hand, a sampling rate differing from that used in the automation device 11 is used in the merging units 12a-b (e.g. 4 kHz instead of 16 kHz), and, on the other hand, the sampling times of the individual measurement value sequences are not synchronized with one another. The sampling rate and sampling times of the digital input measurement values M.sub.E received via the process bus module 17a must therefore be adapted to the local digital measurement values M.sub.lok by means of a digital measurement input 20 with formation of the digital output measurement values M.sub.A before being forwarded to the processor module 17b.
(15)
(16) The mode of operation of the digital measurement input 20 is explained in detail below with reference to
(17)
(18) Along with the digital input measurement values M.sub.E themselves, the receiving device 21 also extracts information I relating to the sampling rate at which the digital input measurement values M.sub.E are generated in the merging unit 12a-b and relating to the sampling time Z of the respective digital input measurement value M.sub.E from the data messages T. For example, the information I relating to the sampling rate used may be contained directly in one, some, or all of the data messages T. Alternatively, the receiving device 21 can also obtain the information, as already explained above, indirectly via timestamps or counter values allocated to the digital input measurement values M.sub.E. The information Z relating to the sampling time may be derived, for example, from a timestamp or counter value.
(19) The information elements I and Z relating to the sampling rate and the sampling time of the digital input measurement values M.sub.E are transferred from the receiving device 21 to a time control device 22 of the digital measurement input 20. In the case of only indirectly determined information I and/or Z, the receiving device 21 can alternatively also transfer the timestamps or counter values of the digital input measurement values M.sub.E directly to the time control device 22 which then itself determines the information elements I and/or Z via the sampling rate I or the respective sampling times.
(20) In addition, an internal time signal T.sub.Sync of the automation device 11 indicating the system time is also fed to the time control device 22. On the basis of the information relating to the sampling times of the digital measurement values on the one hand and the system time on the other hand, with a known time delay, by means of the sampling in the merging unit 12a-b and the transmission between the merging unit 12a-b and the automation device 11, on the one hand a time lag between the system time and the sampling times of the digital input measurement values M.sub.E can be determined and, on the other hand, a relationship can be established between the digital input measurement values M.sub.E based on the time basis of the respective merging unit 12a-b and the digital output measurement values M.sub.A to be formed in the signal conversion device 26 and based on the system time of the automation device 11.
(21) The digital input measurement values M.sub.E obtained from the data messages T are transferred from the receiving device 21 to the signal conversion device 26 which has a digital encoder filter 23 on the input side. The encoder filter may, for example, have a transmission function with a PD characteristic. The digital input measurement values M.sub.E are filtered in the digital encoder filter 23 with formation of encoded digital input measurement values M.sub.E*. Following the filtering with the encoder filter 23, the encoded digital measurement values M.sub.E* are fed to an interpolator 24 which carries out an interpolation using a signal model based on the encoded digital measurement values M.sub.E* with formation of digital auxiliary measurement values M.sub.H and adapts the sampling rate and the respective sampling time of the encoded digital input measurement values M.sub.E* to the required sampling rate and the required sampling times. For this purpose, the interpolator 24 uses the information relating to the sampling rate or the sampling times of the digital measurement values provided by the time control device 22 on the one hand and the system time on the other hand. The interpolator 24 calculates digital auxiliary measurement values M.sub.H through interpolation at a sampling rate of 16 kHz, for example using the encoded digital input measurement values M.sub.E*, at sampling times specified by the system time. The digital auxiliary measurement values M.sub.H are forwarded from the interpolator 24 on the output side to a decoder filter 25 which, for example, has a low-pass characteristic. Here, the decoder filter 25 performs, inter alia, a band limitation function by limiting unwanted high-frequency components. On the output side, the decoder filter 25 outputs the digital output measurement values M.sub.A, the sampling rate and sampling times of which are adapted to the values required for further processing in the processor module 17b (cf.
(22) The transmission functions of the encoder filter 23 and the decoder filter 25 can advantageously be matched with one another so that the resulting summation transmission function effects an adaptation of the time delay of the formed digital output measurement values M.sub.A to the local digital measurement values M.sub.lok by influencing the phase response of the digital input measurement values M.sub.E. This is explained in detail in
(23) For this purpose,
(24) The sequences 31 and 32 are temporally shifted compared with the analog measurement signal 30; the respective temporal shift results from the processing time in the sampling and, where relevant, from the transmission time. It is evident, on the one hand, that the local digital measurement values M.sub.lok have been generated at a significantly higher sampling rate (the ellipses are closer together) than the digital input measurement values M.sub.E of the merging unit. On the other hand, it is also clear that, due to the sampling in the merging unit and the subsequent transmission of the digital input measurement values M.sub.E, the sequence 32 has a significantly greater temporal shift in relation to the analog measurement signal 30 than the sequence 31 of the local digital measurement values M.sub.lok.
(25) This is highlighted again in
(26) In order to be able to compare the two sequences 31 and 32 with one another, on the one hand the sampling rate and sampling times of the digital input measurement values M.sub.E and the local digital measurement values M.sub.lok must be adapted to one another by the signal conversion device 26 (cf.
(27) To do this, on the one hand the sampling rate of the digital input measurement values M.sub.E is increased accordingly by the interpolator and, on the other hand, its sampling times are synchronized with those of the local digital measurement values M.sub.lok. Due to the interaction of the encoder filter and the decoder filter, the phase response of the digital input measurement values M.sub.E is influenced accordingly in order to even out the difference between the two time delays t.sub.D,MU?t.sub.D,lok of the sequences 31 and 32. As a result, the sequence 32 of the digital input measurement values M.sub.E is made to overlap more or less with the sequence 31 of the local digital measurement values M.sub.lok.
(28) In summary, the digital input measurement values M.sub.E received from the merging unit are therefore filtered by means of the encoder filter without prior sampling rate conversion. Digital auxiliary measurement values M.sub.H are formed from the resulting encoded digital input measurement values M.sub.E* by means of the interpolator at the required new sampling times with the required new sampling rate from the encoded digital measurement values M.sub.E*. The new sampling value stream resulting from the digital auxiliary measurement values M.sub.H is converted by means of the decoder filter into the digital output measurement values M.sub.A of the new sampling rate.
(29) If no temporal shift is required by the signal processing in the signal conversion device, the convolution of the transmission functions of the encoder filter and the decoder filter forms the value 1 in the time domain. This is possible whenever the sampling rates are identical before and after the interpolation or a higher sampling rate is used after the interpolation. Furthermore, by selecting a summation transmission function with a specified frequency-dependent or constant group delay for the convoluted transmission functions of the encoder filter and the decoder filter, a frequency-dependent temporal shift can be set so that the resulting group delay of the digital input measurement values M.sub.E is adapted exactly to the group delay of the local digital measurement values M.sub.lok. In this way, the transmission characteristic of the digital input measurement values M.sub.E received from a merging unit can, as it were, be adapted to the transmission characteristic of the local digital measurement values M.sub.lok. If the group delay of the digital input measurement values M.sub.E from the merging unit is already greater than the group delay of the local digital measurement values M.sub.lok, the group delay of the input measurement values M.sub.E can also be set to an integral multiple of the group delay of the local digital measurement values M.sub.lok. A delay in the value stream of the local digital measurement values by the number of sampling values corresponding to the difference between the two groups delays then supplies value streams that are synchronous with one another.
(30) The interpolation is carried out on the basis of a signal model so that interpolation errors only above half the original sampling frequency are generated in the interpolated sequence of the digital auxiliary measurement values M.sub.H and these interpolation errors are suppressed by the decoder filter to the extent that the interpolation errors in the sequence of digital output measurement values M.sub.A provided at the output of the decoder filter have an amplitude below the required signal resolution.
(31) The following statements, for example, can be made in respect of the design of the filters:
(32) The method described can be implemented e.g. by the use of digital IIR filters for the encoder filter and the decoder filter. If no temporal shift of the sequence of digital input measurement values is to be effected by the two filters, the following summation transmission function can be used in the frequency range:
G(j?)=G.sub.Enc(j?).Math.G.sub.Dec(j?)=1.
(33) Here: G(j?) stands for the summation transmission function in the frequency range, G.sub.Enc(j?) stands for the transmission function of the encoder filter, G.sub.Dec(j?) stands for the transmission function of the decoder filter, ? stands for the angular frequency, and j stands for the imaginary number.
(34) In this case, a summation transmission function which does not modify the signal is sought for the series connection of the encoder filter and the decoder filter. This is possible whenever the sampling rates before and after the interpolation are identical or a higher sampling rate is used after the interpolation. Furthermore, by selecting a summation transmission function with a predefined, frequency-dependent or constant group delay for the convoluted transmission functions of the encoder filter and the decoder filter, a frequency-dependent temporal shift can be set so that the resulting group delay of the digital input measurement values is adapted exactly to the group delay of the local digital measurement values. In this way, the transmission characteristic of the digital input measurement values received from the merging unit can be adapted to the transmission characteristic of the local digital measurement values.
(35) In the case of a sampling rate of the digital output measurement values which is lower than the original sampling rate, a low-pass characteristic must be selected for the summation transmission function of both filters with the correspondingly required anti-aliasing characteristics.
(36) For example, a transmission function
(37)
can be used for the encoder filter. Here: T.sub.o stands for an upper time constant of the filter, T.sub.u stands for a lower time constant of the filter, and n stands for the filter order.
(38) For the decoder filter, the transmission function
(39)
can be selected accordingly. By means of bilinear transformation (see e.g. http://en.wikipedia.org/wiki/Bilinear_transform), digital IIR filters which allow an implementation of the filters by means of differential equations in the form
(40)
can be designed from the analog transmission functions indicated above. Here: A and B stand for the filter coefficients, k stands for the counter value of the respective measurement value, x stands for the measurement values present at the input of the filter, and y stands for the measurement values output at the filter on the output side.
(41) Due to the individual specification of the coefficients A and B for the individual filters, the summation transmission function can be influenced on the whole in the required manner. Insofar as the digital measurement input is designed as an ASIC or an FPGA, the filter coefficients can be modifiably specified e.g. in a memory register of the module in question. The following parameters, for example, can be used for the filters:
(42)
(43) A signal model in the form of a quadratic function, for example, can be used for the interpolator:
y.sub.(k)=a.Math.x.sub.(k).sup.2+b.Math.x.sub.k+c.
(44) The interpolator coefficients a, b and c can be formed by means of coefficient comparison from the last three sampling values of the data stream present at the input of the interpolator. This is shown by way of example in
(45)
(46) The time lag between two digital measurement values specified by the sampling rate is denoted here as t.sub.a. The reference point for t=0 of the calculated coefficients of the signal model is x.sub.(k?2) here. The digital auxiliary measurement values M.sub.H of the sequence for the required sampling times which is output by the interpolator on the output side can now be calculated from the encoded digital input measurement values M.sub.E* present at the input of the interpolator using the signal model in the form indicated above. A different sampling rate can also be selected for said sampling times, e.g. the sampling rate can be increased from 4 kHz to 16 kHz.
(47) Additional spectral components which were not contained in the original signal are generated by the interpolation in the sequence of the auxiliary measurement values M.sub.H present on the output side. These spectral components are then suppressed by the filtering with the decoder filter to the extent that the harmonics induced by the interpolation can be ignored.
(48) Finally,
(49) The digital measurement input is preferably implemented according to the invention by means of a VHDL or schematics implementation in an FPGA or an ASIC in order to prevent any delays through a firmware implementation.
(50) With the described digital measurement input of an automation device and the described method for processing digital input measurement values, the sampling rate and/or sampling times can be adapted on the one hand for each incoming sequence of digital input measurement values. In addition, as explained, it is possible to adapt the digital input measurement values to local digital measurement values sampled directly by the automation device. Furthermore, a plurality of sequences of digital input measurement values can be adapted to one another. The respectively used merging units can use different sampling rates and different sampling times so that the usability of the digital input measurement values remains guaranteed through the described formation of digital output measurement values, even in the event of failure of an external synchronization.
(51) It is also conceivable within the scope of the invention for a plurality of external time synchronization signals to be used in each case for a merging unit or a group of merging units. These time synchronization signals can also be generated by the merging units themselves. In this way, the input measurement values supplied by these merging units can still be synchronized with local digital measurement values even if the time synchronization signal for synchronizing the merging units fails.