![]() Method and measuring device for determining a latency between a measurement time and a time of a mea
专利摘要:
Disclosed is a method for determining a latency between a measurement time and a time of a measurement value output by a measurement device (30), wherein at least one measurement pulse of a test object (20) is received and a first time stamp (35) of a timer (34) is assigned to the measurement pulse, at least one data record of the test object (20) is received and a second time stamp (36) of the timer (34) is assigned to the received data record, and a time difference between the first time stamp (35) and the second time stamp (36) is determined. A measuring device (30) and a control program (40) are also disclosed. 公开号:CH715598A2 申请号:CH01365/19 申请日:2019-10-29 公开日:2020-05-29 发明作者:Wisy Martin 申请人:Emsycon Gmbh; IPC主号:
专利说明:
The invention relates to a method for determining a latency between a measurement time and a time of a measured value output by a measuring device, such a measuring device and a control program. Energy meters are used to determine a consumed amount of electrical energy, for example a building. In a simple case, such energy meters can be designed as Ferraris meters. With the increasing digitization of energy networks, electronic energy meters or so-called modern measuring devices are increasingly being used to measure the electrical energy consumed. [0003] Modern measuring devices of this type can form an intelligent measuring system with a communication interface, such as a so-called smart meter gateway. Through the use of intelligent measuring systems, the determined consumption data of consumers or of the energy operators can be used to optimize the control of the energy networks. According to the law on measuring point operation, high demands are placed on data security and the precision of such intelligent measuring systems. From US 2017/0160124 A1 a device and a method for calibrating a consumption meter is known. Data from the consumption meter is compared with data from a reference meter. The data from the consumption meter are provided with time stamps from a timer and determined during a defined time interval. When using intelligent measuring systems, it is also necessary to know the time delay that arises between a single measurement of the measuring device of the measuring system and the forwarding of the measurement data to the communication interface. In particular, when the formation of a tuple consists of the measured value and time stamp from which the measurement data-receiving communication device is carried out, the latency between the measurement value generation in the measuring device and the time stamp in the communication device may be due to the process technology or the law ( for example, do not violate the limits defined by the Measurement and Calibration Act). The above requirement is further tightened if the communication device receiving the measurement data not only appends a time stamp to the measurement value, but also signs the tuple formed in this way from the measurement value and time stamp, and this signature, in the legal sense, the correctness of the measurement value to that by time stamp signaled time guaranteed. The invention has for its object to propose a method and a measuring device for determining a latency between a measurement and a measured value output. This object is achieved by the features specified in claim 1, in claim 4 and in claim 9. Further advantageous embodiments of the invention are described in the subclaims. [0009] According to one aspect of the invention, a method for determining a latency between a measurement time and a time of a measurement value output by the measurement unit is provided by a measurement device. In one step, at least one measuring pulse of a test object (<=> a measuring unit) is received and a first time stamp of a timer is assigned to the measuring pulse. At least one data record of the device under test is received and a second time stamp of the timer is assigned to the received data record. A time difference between the first time stamp and the second time stamp is then determined. The test specimen can preferably be a modern measuring device or another measuring unit of a measuring system consisting of a measuring unit and communication device. The measuring unit for the example of an electricity measuring device can be designed as a current transformer or as a current measuring unit. The measurement of the current can in particular be initiated by a measurement pulse and can be carried out, for example, by Hall sensors or by measurement resistors. Based on the measured current and the known or also measured voltage, the consumed or generated electrical energy can be calculated by the measuring unit, taking into account a correct time base. The measurement times thus arise when the measurement value is formed in the measurement unit. These measuring times are typically visible to the outside because the measuring unit uses them to generate energy-proportional pulses and outputs these pulses at an interface. [0015] For further processing of the measured values, these are forwarded to an interface, such as a communication interface. The measured values can be output by forwarding the measured values to the interface. The measured values determined can be output individually or as a data record. The data record can be output in the form of a tuple, a data packet, a data array and the like. [0016] The interface or the communication interface can be used, for example, to carry out remote reading by an energy supply company. Furthermore, devices or control units for implementing automation and so-called smart home functions can access the interface for data transmission. The interface can be based, for example, on a transmission standard, such as infrared signals, power line communication, serial communication, mobile radio transmission and the like. The interface can be designed as a universal asynchronous receiver transmitter (UART) or can have a UART. [0018] The interface or the communication interface can be connected to a computing unit of the measuring device or integrated into the computing unit. In addition to a measurement value output, data input, for example by the measuring device, can also be carried out via the interface. This means that control commands can also be transmitted to the intelligent measuring system. A global or a generally valid time can be provided by the timer, which is used to mark the respective measured values and / or measured value packages. In particular, the measurement pulses can be marked with a first time stamp or time stamps can be assigned to the respective measurement pulses. The data records transmitted via the interface can also be provided with time stamps, in particular second time stamps, by the timer. The time of the first time stamp provided by the timer usually differs from the time of the second time stamp. The difference between the at least one first time stamp and the at least one second time stamp represents the latency or the time delay that lies between the measurement value generation and the measurement value output of the measurement system. It can be determined by the method, the latency, which is necessary as evidence for the type approval of a measuring system in accordance with the Measuring Point Operation Act and the Measuring and Verification Act. According to one embodiment, the measuring pulse is provided by a clock generator of a test counter and / or by a pulse interface of the test object. The measuring pulse can thus be received by an internal pulse generator of the test object or the measuring system. The measuring pulses can be determined or read out, for example, via a separate interface of the intelligent measuring system. Alternatively or additionally, the measuring pulses of the measuring system can be determined by a sensor of the measuring device. The latency can be determined in a particularly versatile manner if the time for creating time stamps is provided by a timer of the measuring device or by a timer of the device under test and / or a test counter. For the calculation of the latency or a time difference between the first time stamp and the second time stamp, the time provided can be obtained from any timer. [0023] The timer can be implemented as hardware or as software. For example, the timer can have an oscillating quartz, a piezo oscillator, an electronic oscillation generator and the like. [0024] According to a further aspect of the invention, a measuring device for determining a latency between a measuring time and a time of a measured value output of a test object is provided. The measuring device has a computing unit and an interface that can be connected to the computing unit for receiving data records from at least one test object. Furthermore, the measuring device has a pulse interface for determining measuring pulses of the test object and a central timer. According to the invention, the at least one received measurement pulse and the at least one received data record can each be assigned a time stamp by the timer, the assigned time stamps being able to be used to determine the time delay. The measuring device can thus have a central timer, an interface for receiving the data sets and a pulse interface for recording counter pulses. The components of the measuring device can, for example, be accommodated in a single gate array. A computing unit can assign corresponding time stamps to the received measurement pulses and the data sets. The time for the time stamp is provided by the central timer. [0026] In particular, a time difference can be calculated from the assigned time stamps, which forms a time delay or the latency time. The latency can be calculated hardware-based and / or software-based by the computing unit. The central arrangement of the timer and the combined test counter pulse detection and reception of the data records via the interface in a single device are advantageous here. As a result, errors in the temporal assignment of data records or data telegram contents and the arrival of the test counter impulses can be excluded, except for device-internal signal run times. The measuring device can be of particularly compact design if the computing unit is designed as an FPGA or as a microprocessor. In particular, the measuring device can be designed as a so-called field programmable gate array (FPGA) or as an integrated circuit. A logic circuit or a control program can be stored in the computing unit and can be executed by the computing unit. Alternatively or additionally, the computing unit can be designed as a processor, the control program being stored on a memory which can be connected to the computing unit. The computing unit can thus access the memory and execute the control program. According to one embodiment, the interface and / or the pulse interface can be connected directly or indirectly to the computing unit. In particular, the interfaces can be connected to the computing unit via electrical lines or can be integrated into the computing unit. [0031] For example, the interfaces can be arranged on a common printed circuit board of the computing unit. Furthermore, the central timer and the interfaces can be arranged on the computing unit designed as an integrated circuit or as an FPGA. The communication between the at least one test object and the measuring device can be designed to be particularly flexible if the interface and / or the pulse interface are based on wired or wireless data transmission. For example, the measurement impulses and / or the data sets can be exchanged between the test object and the measurement device via a serial interface, an infrared interface, a mobile radio transmission and the like. [0033] According to a further exemplary embodiment, the central timer is integrated in the computing unit or can be connected to the computing unit. As an alternative or in addition to an integration of the central timer into the computing unit and / or the measuring device, the central timer can be configured on the test specimen side or externally. For example, the central timer can be connectable to the measuring device via a communication connection, such as a UMTS or LTE connection. In this way, for example, time data of an atomic clock can be provided via an internet-capable connection of the measuring device. According to a further aspect of the invention, a control program for determining a time delay is provided, the control program being set up to execute the method according to the invention. The control program can be executed, for example, by a computing unit of the measuring device or by a separate computing unit. Alternatively, the control program can be executed by an additional computing unit or processor. Control and evaluation software for data communication with the test object can thus be provided, which are used to record the test counter pulses and, if necessary, test object pulses and to evaluate and evaluate the latency measured thereby. The control program can, in particular, form data tuples from the data sets or data telegrams supplied by a consumption meter to be checked and an assigned time stamp. Corresponding data tuples can also be created from the measurement pulses supplied by a test counter and an assigned time stamp. The latency can be determined from the differences between the assigned time stamps by forming the difference. An embodiment of the invention is explained in more detail with reference to the drawing. 1 illustrates an arrangement 10 in a schematic representation. In particular, the arrangement 10 serves to illustrate a method according to the invention for determining a latency time between a measurement time and a time of a measurement value output. The arrangement has a test specimen 20 and a measuring device 30 according to one embodiment. The device under test 20 is designed either as a measuring unit or as a measuring system comprising a measuring unit and communication device and has a measuring unit 21 for determining a measured variable (for example a used or generated electrical energy). Furthermore, the device under test 20 has a pulse generator 22, which can be designed as a clock generator and / or a timer, for generating measuring pulses and a data interface 31 for the measurement value output as a data telegram. The measuring pulses are generated at a defined time interval and output as pulses proportional to the measured variable from the pulse generator 22 and internally transmit measuring devices to the measuring unit 21. By receiving a measurement pulse, the measurement unit 21 is activated, accumulates the measurement variable as required and outputs it as a data telegram at the interface 31. The measuring device 30 is connected to the test object 20 via interfaces 31, 32. The measuring device 30 here has a first interface 31 for receiving data records of the test specimen 20. [0044] A data record can contain, for example, the determined electrical energies, for example, of a number of measurements. The second interface 32 is used to receive measurement pulses from the pulse generator 22. Thus, the pulses initiating measurements and the measured value output in the form of data records can be received by the measuring device 30 via the interfaces 31, 32. The measuring device 30 has a computing unit 33 which is connected to the interfaces 31, 31 in a data-conducting manner. According to the exemplary embodiment, the computing unit 33 is designed as a field programmable gate array or FPGA and has a stored control program 40. [0047] Furthermore, the measuring device 30 has a central timer 34. The central timer 34 is set up to generate a continuous time and to assign time stamps 35, 36 to received data records or pulses. By means of the central timer 34, the pulses received by the pulse interface 32 can be assigned a first time stamp 35 with a first time. The pulse can be received by the measuring device 30, for example, as a voltage curve or as a binary or decimal value. The data records received via the interface 31 can be assigned a second time of the timer 34 via a second time stamp 36. According to the exemplary embodiment, the assigned time stamps 35, 36 have times that differ at least slightly from one another. The time stamps 35, 36 can be assigned hardware-based by the computing unit 33 or software-based by the control program 40. [0051] Furthermore, one or more pulses received via the pulse interface 32 can be assigned one or more data records received via the interface 31. The assignment can be made, for example, by knowing the time intervals of the measurement pulses. The control program 40 can also establish an active data connection to the test object 20. The data sets or data telegrams delivered by the test object 20 can be evaluated by the control program 40 and data tuples can be formed from the data sets and the assigned second time stamps 36. The data records can contain, for example, the electrical energy consumed in the form of counter readings. In addition, the received measurement pulses are also marked with first time stamps 35 in each case. The first time stamps 35 can be assigned in the form of a generation of data tuples with a first time stamp 35 and corresponding measurement pulses. The control program 40 can then evaluate the time stamps 35, 36 of the measurement pulses and the measurement value output. In particular, the assigned times can be evaluated between the pulse detection of the test counter pulses or a number of received test counter pulses and the times of the data records output via the interface 31. When evaluating, the differences from the assigned times of the central timer 34 can be calculated by the control program 40 and / or by the computing unit 33. The corresponding differences between the time stamps 35, 36 form the latency between the measured value acquisition and the measured value output of the test object. Reference symbol list 10 arrangement 20 device under test / intelligent measuring system 21 measuring unit 22 pulse generator 30 measuring device 31 first interface / communication interface 32 second interface / pulse interface 33 arithmetic unit 34 central timer 35 first time stamp 36 second time stamp 40 control program
权利要求:
Claims (9) [1] 1. A method for determining a latency between a measurement time and a time of a measurement value output by a measurement device (30), wherein at least one measurement pulse of a test object (20) is received and a first time stamp (35) of a timer (34) is assigned to the measurement pulse, at least a data record of the test object (20) is received and a second time stamp (36) of the timer (34) is assigned to the received data record, and a time difference between the first time stamp (35) and the second time stamp (36) is determined. [2] 2. The method according to claim 1, wherein the measuring pulse is provided by a clock generator (22) of a test counter and / or by a pulse interface of the test object (20). [3] 3. The method according to claim 1 or 2, wherein a time for creating time stamps (35, 36) from a timer (34) of the measuring device (30) or from a timer (22) of the test object (20) and / or a test counter is provided becomes. [4] 4. Measuring device (30) for determining a latency between a measurement time and a time of a measured value output of a test object (20), comprising a computing unit (33), an interface (31) that can be connected to the computing unit (33) for receiving data records from at least one Test object (20), having a pulse interface (32) for determining measurement pulses of the test object (20) and having a central timer (34), characterized in that the at least one received measurement pulse and the at least one received data record each have a time stamp (35, 36) can be assigned by the timer (34), the assigned time stamps (35, 36) being able to be used to determine the latency time. [5] 5. Measuring device according to claim 4, wherein the computing unit (33) is designed as an FPGA or as a microprocessor. [6] 6. Measuring device according to claim 4 or 5, wherein the interface (31) and / or the pulse interface (32) can be connected directly or indirectly to the computing unit (33). [7] 7. Measuring device according to one of claims 4 to 6, wherein the interface (31) and / or the pulse interface (32) based on a wired or wireless data transmission. [8] 8. Measuring device according to one of claims 4 to 7, wherein the central timer (34) is integrated in the computing unit (33) or can be connected to the computing unit (33). [9] 9. Control program (40) for determining a time delay, the control program (40) being set up to carry out the method according to one of claims 1 to 3.
类似技术:
公开号 | 公开日 | 专利标题 DE102006061580A1|2008-07-03|Rotating shaft speed determining method, involves transferring impulse to controller, and correcting numerical value with correction value that is determined from comparison of actual time period with reference-time period EP2246984A9|2011-03-16|Diagnosis switch for monitoring an analogue-digital conversion switch EP3087439B1|2018-01-31|Measurement transducer having a monitoring function DE102013213040A1|2015-01-08|Transmission device for a measuring device and method for transmitting raw data with a transmission device DE102006024742A1|2007-12-06|transmitters DE102018129971A1|2020-05-28|Method and measuring device for determining a latency DE102014111758A1|2016-02-18|Method for checking a field device DE102015100166A1|2016-07-28|Method for the sequential arrangement of radiometric measuring instruments DE102017114701A1|2019-01-03|Optical readout head for consumption meter EP3407181A1|2018-11-28|Method and device for computer-supported processing of a random bit pattern DE102015116608A1|2017-03-30|Electric circuit and a field device with such DE102018130476A1|2020-06-04|Intelligent cable for remote control of a field device in automation technology DE102012109010A1|2014-03-27|Measuring device of process automation technology BE1026732B1|2020-06-03|Measuring device EP3771136A1|2021-01-27|Installed module and method for operating an installed module DE202011104089U1|2012-03-20|Pulse processing module EP2306405B1|2019-05-22|Tachograph assembly for a vehicle and sensor assembly for a tachograph WO2019072763A1|2019-04-18|Control unit and method for controlling a gas measuring device DE102019108564A1|2020-10-08|Additional module for a field device DE102020104319A1|2021-08-19|Method for the transmission of data packets DE102015209003B3|2016-11-10|Calibration device for calibrating a circulating time measuring device and associated calibration method DE102016117007A1|2018-03-15|Method and system for verifying an electrical or electronic component DE102016219663A1|2018-04-12|Method for monitoring a network for anomalies WO2004020955A2|2004-03-11|Electronic quantity converter Torabpourshiraz et al.2015|Design and implementation of a diagnostic device for fuel cell systems based on an application web server
同族专利:
公开号 | 公开日 AT521939A3|2021-04-15| AT521939B1|2021-08-15| AT521939A2|2020-06-15| DE102018129971A1|2020-05-28|
引用文献:
公开号 | 申请日 | 公开日 | 申请人 | 专利标题 DE102006024742A1|2006-05-26|2007-12-06|Siemens Ag|transmitters| EP2770339B1|2013-02-26|2019-11-27|Hexagon Technology Center GmbH|Sensor synchronisation method and corresponding sensor measuring system| EP3169980B1|2014-07-18|2018-06-27|Apator Miitors ApS|A method and a system for test and calibration of wireless consumption meters| JP6361589B2|2015-06-11|2018-07-25|株式会社デンソー|Communications system| DE102017209132A1|2017-05-31|2018-12-06|Robert Bosch Gmbh|Sensor data processing means|
法律状态:
优先权:
[返回顶部]
申请号 | 申请日 | 专利标题 DE102018129971.0A|DE102018129971A1|2018-11-27|2018-11-27|Method and measuring device for determining a latency| 相关专利
Sulfonates, polymers, resist compositions and patterning process
Washing machine
Washing machine
Device for fixture finishing and tension adjusting of membrane
Structure for Equipping Band in a Plane Cathode Ray Tube
Process for preparation of 7 alpha-carboxyl 9, 11-epoxy steroids and intermediates useful therein an
国家/地区
|