[go: up one dir, main page]

CN105026938A - Signal processing apparatus - Google Patents

Signal processing apparatus Download PDF

Info

Publication number
CN105026938A
CN105026938A CN201380071326.7A CN201380071326A CN105026938A CN 105026938 A CN105026938 A CN 105026938A CN 201380071326 A CN201380071326 A CN 201380071326A CN 105026938 A CN105026938 A CN 105026938A
Authority
CN
China
Prior art keywords
value
counting
signal
clock
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201380071326.7A
Other languages
Chinese (zh)
Other versions
CN105026938B (en
Inventor
大森康宏
皆川裕
元滨努
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Publication of CN105026938A publication Critical patent/CN105026938A/en
Application granted granted Critical
Publication of CN105026938B publication Critical patent/CN105026938B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G04HOROLOGY
    • G04GELECTRONIC TIME-PIECES
    • G04G3/00Producing timing pulses
    • G04G3/02Circuits for deriving low frequency timing pulses from pulses of higher frequency
    • G04G3/022Circuits for deriving low frequency timing pulses from pulses of higher frequency the desired number of pulses per unit of time being obtained by adding to or substracting from a pulse train one or more pulses
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/25Arrangements for measuring currents or voltages or for indicating presence or sign thereof using digital measurement techniques
    • G01R19/2513Arrangements for monitoring electric power systems, e.g. power lines or loads; Logging
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K5/00Manipulating of pulses not covered by one of the other main groups of this subclass
    • H03K5/00006Changing the frequency
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03LAUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
    • H03L7/00Automatic control of frequency or phase; Synchronisation

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Nonlinear Science (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Measurement Of Current Or Voltage (AREA)
  • Electric Clocks (AREA)

Abstract

A 1PPS signal reception unit (101) receives a 1PPS signal. An operation clock generation unit (102) generates an operation clock. A clock deviation measurement unit (103) measures a clock deviation that is a frequency deviation of the operation clock relative to the 1PPS signal. A counter (105) starts a count in accordance with the clock period of the operation clock when the 1PPS signal is inputted. The counter (105) completes one round of count when the count reaches a predetermined count completion value. Thereafter, the counter (105) starts another round of count. A sampling signal generation unit (106) outputs a sampling signal each time the counter (105) completes one round of count. A correction value calculation unit (110) and a change timing calculation unit (111) change the count completion value of any round, on the basis of the clock deviation, , thereby adjusting the output timing of the sampling signal.

Description

信号处理装置signal processing device

技术领域technical field

本发明涉及时刻同步控制技术,尤其涉及对输电线和/或母线的电量进行收集的装置中的时刻同步控制技术。The invention relates to a time synchronization control technology, in particular to a time synchronization control technology in a device for collecting electric power of transmission lines and/or busbars.

背景技术Background technique

目前存在如下的保护控制系统:在多个部位对输电线和/或母线的电量(电压值、电流值)进行收集,当根据这些电量检测到异常时,立即断开系统,抑制事故的波及。At present, there are protection and control systems as follows: the power (voltage value, current value) of transmission lines and/or busbars is collected at multiple locations, and when an abnormality is detected based on these power values, the system is immediately disconnected to prevent the spread of the accident.

在该保护控制系统中,为了降低收集到的电量的相位偏差,需要在收集地点间将取得了同步的信号作为电量收集的基准。In this protection control system, in order to reduce the phase deviation of the collected electricity, it is necessary to use a synchronized signal between collection points as a reference for electricity collection.

在近年来的保护继电器装置中,1台运算装置(以下,也称为IED:IntelligentElectronic Device,智能电子设备)经由局域网(程序总线)连接有多个数据收集装置(以下,也称为MU:Merging Unit,合并单元)。In protective relay devices in recent years, one computing device (hereinafter also referred to as IED: Intelligent Electronic Device, intelligent electronic device) is connected to multiple data collection devices (hereinafter also referred to as MU: Merging) via a local area network (program bus). Unit, merge unit).

各MU根据同步信号(1PPS信号:1Pulse Per Second信号(秒脉冲信号))取得定时同步,由此使MU间的数据采样定时和时间戳值一致。Each MU obtains timing synchronization according to the synchronization signal (1PPS signal: 1Pulse Per Second signal (second pulse signal)), so that the data sampling timing and timestamp value between MUs are consistent.

在先技术文献prior art literature

专利文献patent documents

专利文献1:日本特开2001-305177号公报Patent Document 1: Japanese Patent Laid-Open No. 2001-305177

发明内容Contents of the invention

发明要解决的课题The problem to be solved by the invention

1PPS信号的接收周期是1秒间隔。The reception period of the 1PPS signal is 1 second intervals.

因此,各MU需要将高精度石英振荡器(频率偏差:±几ppm)搭载于时钟产生电路生成频率偏差较小的高精度时钟,而将MU间的采样定时的偏差抑制为在1秒间为±几微秒以下。Therefore, it is necessary for each MU to mount a high-precision crystal oscillator (frequency deviation: ± several ppm) in a clock generation circuit to generate a high-precision clock with a small frequency deviation, and to suppress the deviation of sampling timing between MUs to 1 second ± a few microseconds or less.

因此,在数字电路中被普遍使用的价廉的通用振荡电路(频率偏差精度±50ppm左右)无法被使用,存在成本增加的课题。Therefore, an inexpensive general-purpose oscillation circuit (frequency deviation accuracy of about ±50 ppm) commonly used in digital circuits cannot be used, and there is a problem of increased cost.

本发明是为了解决上述这样的课题而完成的,其目的在于,即使使用频率偏差为±50ppm左右的通用振荡电路,也能够进行高精度的同步控制。The present invention was made to solve the above-mentioned problems, and an object of the present invention is to enable highly accurate synchronous control even when using a general-purpose oscillation circuit with a frequency deviation of about ±50 ppm.

用于解决课题的手段means to solve the problem

本发明的信号处理装置具有:脉冲信号接收部,其每单位时间接收脉冲信号;动作时钟生成部,其生成时钟周期与所述单位时间相比微小的动作时钟信号;计数器,其从所述脉冲信号接收部输入所述脉冲信号,从所述动作时钟生成部输入所述动作时钟信号,在所述脉冲信号的输入时开始进行与所述动作时钟信号的时钟周期相应的计数,在结束了到既定的计数完成值为止的计数时完成1个循环的计数,并开始下一循环的计数;控制信号输出部,每当所述计数器完成1个循环的计数时,该控制信号输出部输出控制信号;时钟偏差测定部,其从所述脉冲信号接收部输入所述脉冲信号,从所述动作时钟生成部输入所述动作时钟信号,对作为所述动作时钟信号相对于所述脉冲信号的频率偏差的时钟偏差进行测定;以及计数完成值变更部,其根据由所述时钟偏差测定部测定出的时钟偏差,变更任意循环的计数完成值,在由所述计数完成值变更部变更了任意循环的计数完成值的情况下,所述计数器在结束了到变更后的计数完成值为止的计数时完成该循环的计数,并开始下一循环的计数。The signal processing device of the present invention has: a pulse signal receiving unit that receives a pulse signal per unit time; an operation clock generation unit that generates an operation clock signal whose clock cycle is smaller than the unit time; The signal receiving part inputs the pulse signal, the operation clock signal is input from the operation clock generation part, and counting corresponding to the clock period of the operation clock signal is started when the pulse signal is input, and the counting is performed when the pulse signal is input. When counting up to the predetermined counting completion value, the counting of one cycle is completed, and the counting of the next cycle is started; the control signal output part outputs the control signal whenever the counter completes the counting of one cycle a clock deviation measurement unit, which receives the pulse signal from the pulse signal receiving unit, inputs the operation clock signal from the operation clock generation unit, and calculates the frequency deviation of the operation clock signal relative to the pulse signal and a counting completion value changing unit, which changes the counting completion value of an arbitrary cycle based on the clock deviation measured by the clock deviation measuring unit, and changes the counting completion value of any cycle by the counting completion value changing unit In the case of the count completion value, the counter completes the counting of the cycle when the counter finishes counting to the changed count completion value, and starts the counting of the next cycle.

发明效果Invention effect

根据本发明,由于测定时钟偏差,并根据测定出的时钟偏差对控制信号的输出定时进行调节,因此即使使用频率偏差为±50ppm左右的通用振荡电路,也能够进行高精度的同步控制。According to the present invention, since the clock deviation is measured and the output timing of the control signal is adjusted based on the measured clock deviation, high-precision synchronous control can be performed even if a general-purpose oscillation circuit with a frequency deviation of about ±50 ppm is used.

附图说明Description of drawings

图1是示出实施方式1的数据收集装置的结构例的图。FIG. 1 is a diagram showing a configuration example of a data collection device according to Embodiment 1. As shown in FIG.

图2是示出实施方式1的时钟偏差测定部的动作例的图。FIG. 2 is a diagram showing an example of the operation of the clock deviation measuring unit according to Embodiment 1. FIG.

图3是对因实施方式1的动作时钟的偏差导致的采样信号的输出定时的延迟进行说明的图。3 is a diagram illustrating delays in output timing of sampling signals due to variations in operating clocks in Embodiment 1. FIG.

图4是示出实施方式1的校正值计算部和变更定时计算部的动作例的图。4 is a diagram illustrating an example of operations of a correction value calculation unit and a change timing calculation unit according to Embodiment 1. FIG.

图5是示出实施方式2的数据收集装置的结构例的图。FIG. 5 is a diagram showing a configuration example of a data collection device according to Embodiment 2. FIG.

图6是示出实施方式2的计数器变更部的结构例的图。FIG. 6 is a diagram showing a configuration example of a counter changing unit according to Embodiment 2. FIG.

图7是示出实施方式2的计数器变更完成通知部的结构例的图。FIG. 7 is a diagram showing a configuration example of a counter change completion notification unit according to Embodiment 2. FIG.

图8是示出实施方式1和2的数据收集装置的硬件结构例的图。FIG. 8 is a diagram showing an example of a hardware configuration of a data collection device according to Embodiments 1 and 2. FIG.

具体实施方式Detailed ways

实施方式1.Implementation mode 1.

在本实施方式中,对数据收集装置(MU)进行说明,所述数据收集装置(MU)根据时钟频率偏差来计算决定电量的采样周期的计数器(采样周期计数器)的校正值。In this embodiment, a data acquisition unit (MU) that calculates a correction value of a counter (sampling period counter) that determines a sampling period of an electric quantity based on a clock frequency deviation will be described.

由此,即使使用频率偏差是±50ppm左右的通用振荡电路,也能够取得高精度的同步。Thus, even if a general-purpose oscillation circuit with a frequency deviation of about ±50 ppm is used, high-precision synchronization can be achieved.

另外,通常在组装设备中使用的振荡器只能以十几纳秒~几十纳秒的单位进行计数。In addition, generally, oscillators used in assembled equipment can only count in units of tens of nanoseconds to tens of nanoseconds.

在以上述方式根据时钟频率偏差来计算采样周期计数器的校正值的情况下当计数器的校正值为几纳秒单位时,存在如下课题:以MU的石英振荡器的分辨率无法进行几纳秒的调节。When the correction value of the sampling cycle counter is calculated from the deviation of the clock frequency as described above, if the correction value of the counter is in units of several nanoseconds, there is a problem that the resolution of several nanoseconds cannot be performed with the resolution of the crystal oscillator of the MU. adjust.

因此,需要对应于石英振荡器的计数单位而将几次的校正汇总成1次来进行,需要在MU动作中动态变更采样周期计数器的配置。Therefore, it is necessary to perform several corrections in one time according to the counting unit of the crystal oscillator, and it is necessary to dynamically change the arrangement of the sampling cycle counter during the MU operation.

在本实施方式中,对能够解决以上的课题且能够在MU间高精度地取得同步的采样信号生成方式进行说明。In the present embodiment, a sampling signal generation method capable of solving the above-mentioned problems and achieving high-precision synchronization between MUs will be described.

图1是示出本实施方式的数据收集装置100的结构例。FIG. 1 shows a configuration example of a data collection device 100 according to this embodiment.

数据收集装置100从运算装置200接收1PPS信号,并且将表示测定到的电量的数据发送给运算装置200。The data collection device 100 receives the 1PPS signal from the computing device 200 , and transmits data indicating the measured electric quantity to the computing device 200 .

数据收集装置100相当于信号处理装置的例子。The data collection device 100 corresponds to an example of a signal processing device.

作为IED的运算装置200检测电力系统的异常,通过断开系统而抑制事故的波及。The computing device 200 as an IED detects an abnormality in the power system, and suppresses the spread of the accident by shutting down the system.

另外,1PPS信号的发送源不限于IED,例如也可以将具有GPS接收器的其他装置作为发送源。In addition, the transmission source of the 1PPS signal is not limited to the IED, and for example, another device having a GPS receiver may be used as the transmission source.

在数据收集装置100中,1PPS信号接收部101接收1PPS信号。In the data collection device 100, the 1PPS signal receiving unit 101 receives a 1PPS signal.

即,1PPS信号接收部101每秒接收脉冲信号。That is, the 1PPS signal receiving unit 101 receives a pulse signal every second.

1PPS信号接收部101相当于脉冲信号接收部的例子。The 1PPS signal receiving unit 101 corresponds to an example of a pulse signal receiving unit.

动作时钟生成部102生成数据收集装置100的动作时钟信号(以下,简称为动作时钟)。The operation clock generator 102 generates an operation clock signal (hereinafter, simply referred to as an operation clock) of the data collection device 100 .

时钟偏差测定部103对作为数据收集装置100的动作时钟相对于1PPS信号的周期的频率偏差的时钟偏差进行测定。The clock deviation measurement unit 103 measures a clock deviation which is a frequency deviation of the operating clock of the data collection device 100 with respect to the period of the 1PPS signal.

时钟偏差测定值保持部104保持由时钟偏差测定部103测定到的时钟偏差测定值。The clock offset measurement value holding unit 104 holds the clock offset measurement value measured by the clock offset measurement unit 103 .

采样周期计数器105对电量采样定时的时间间隔进行计数。The sampling period counter 105 counts the time interval of the power sampling timing.

采样周期计数器105从1PPS信号接收部101输入1PPS信号,从动作时钟生成部102输入动作时钟,在1PPS信号的输入时开始进行与动作时钟的时钟周期相应的计数,当结束了到既定的计数完成值为止的计数时,完成一个循环的计数,并开始进行下一循环的计数。The sampling period counter 105 inputs a 1PPS signal from the 1PPS signal receiving part 101, and inputs an operating clock from the operating clock generating part 102. When the 1PPS signal is input, it starts counting corresponding to the clock period of the operating clock, and when it is finished, it reaches the predetermined counting completion. When counting up to the value, the counting of one cycle is completed, and the counting of the next cycle is started.

另外,采样周期计数器105也写成计数器105。In addition, the sampling cycle counter 105 is also written as counter 105 .

采样信号生成部106根据采样周期计数器105的计数值生成作为表示采样定时的脉冲的采样信号。The sampling signal generator 106 generates a sampling signal as a pulse indicating sampling timing based on the count value of the sampling cycle counter 105 .

更具体而言,每当采样周期计数器105完成一个循环的计数时,采样信号生成部106输出采样信号。More specifically, the sampling signal generator 106 outputs the sampling signal every time the sampling period counter 105 completes counting one cycle.

采样信号是对电量的测定定时进行控制的控制信号。The sampling signal is a control signal for controlling the measurement timing of the electric quantity.

采样信号生成部106相当于控制信号输出部的例子。The sampling signal generation unit 106 corresponds to an example of a control signal output unit.

电量测定部107在由采样信号生成部106生成的脉冲(采样信号)的定时对电力系统的电量进行测定。The electric quantity measuring unit 107 measures the electric quantity of the power system at the timing of the pulse (sampling signal) generated by the sampling signal generating unit 106 .

数据生成部108将由电量测定部107测定出的电量转换成能够发送给局域网(程序总线)的通信帧形式的数字数据。The data generating unit 108 converts the electric power measured by the electric power measuring unit 107 into digital data in a communication frame format that can be transmitted to a local area network (program bus).

数据发送部109经由局域网(程序总线)将由数据生成部108生成的数字数据发送给运算装置200。The data transmission unit 109 transmits the digital data generated by the data generation unit 108 to the computing device 200 via a local area network (program bus).

校正值计算部110根据由时钟偏差测定值保持部104保持的时钟偏差值来计算采样周期计数器105的计数完成值的校正值。The correction value calculation unit 110 calculates a correction value of the count completion value of the sampling period counter 105 based on the clock deviation value held by the clock deviation measurement value holding unit 104 .

变更定时计算部111计算将由校正值计算部110计算出的校正值应用于采样周期计数器105的时刻,并在计算出的时刻将计数完成值变更为校正值。The change timing calculation unit 111 calculates the time when the correction value calculated by the correction value calculation unit 110 is applied to the sampling cycle counter 105, and changes the count completion value to the correction value at the calculated time.

校正值计算部110和变更定时计算部111根据由时钟偏差测定部103测定出的时钟偏差,变更任意循环的计数完成值,而调节采样信号生成部106对采样信号的输出定时。The correction value calculation unit 110 and the change timing calculation unit 111 change the count completion value of an arbitrary cycle based on the clock deviation measured by the clock deviation measurement unit 103 to adjust the output timing of the sampling signal from the sampling signal generation unit 106 .

更具体而言,根据1秒间产生的循环的次数、时钟偏差和动作时钟的时钟周期,校正值计算部110决定作为变更计数完成值的变更对象的循环和作为变更后的计数完成值的校正值。More specifically, the correction value calculation unit 110 determines the cycle to be changed as the changed counted value and the correction value to be the changed counted value based on the number of cycles that occur in one second, the clock deviation, and the clock period of the operating clock. value.

并且,变更定时计算部111将由校正值计算部110决定的作为变更对象的循环的计数完成值变更为校正值。Then, the change timing calculation unit 111 changes the count completion value of the cycle to be changed determined by the correction value calculation unit 110 to a correction value.

校正值计算部110和变更定时计算部111相当于计数完成值变更部的例子。The correction value calculation unit 110 and the change timing calculation unit 111 correspond to an example of a count completion value change unit.

计数器初始值保持部112在采样信号输出后,将采样周期计数器105的计数完成值恢复为初始值。The counter initial value holding unit 112 restores the count completed value of the sampling cycle counter 105 to the initial value after the sampling signal is output.

计数器初始值保持部112相当于计数完成值复原部的例子。The counter initial value holding unit 112 corresponds to an example of a count completion value restoring unit.

接着,对本实施方式的数据收集装置100的动作例进行说明。Next, an example of the operation of the data collection device 100 of this embodiment will be described.

在数据收集装置100中使用光缆或电信号缆线这样的传送单元从运算装置200输入1PPS信号。In the data collection device 100, a 1PPS signal is input from the computing device 200 using a transmission means such as an optical cable or an electric signal cable.

1PPS信号是表示绝对时刻的1秒间的周期的脉冲信号。The 1PPS signal is a pulse signal with a period of 1 second representing an absolute time.

1PPS信号被1PPS信号接收部101接收,被分发给时钟偏差测定部103和采样周期计数器105。The 1PPS signal is received by the 1PPS signal receiving unit 101 and distributed to the clock deviation measuring unit 103 and the sampling cycle counter 105 .

在动作时钟生成部102中,生成数据收集装置100的动作时钟,分发给时钟偏差测定部103和采样周期计数器105。In the operation clock generation unit 102 , an operation clock of the data collection device 100 is generated and distributed to the clock deviation measurement unit 103 and the sampling period counter 105 .

在时钟偏差测定部103中,对时钟偏差进行测量,该时钟偏差是作为1PPS信号的接收定时与由数据收集装置100的动作时钟计数出的1秒间之间的偏差,并且测量结果被时钟偏差测定值保持部104保持。In the clock deviation measuring section 103, the clock deviation is measured as a difference between the receiving timing of the 1PPS signal and 1 second counted by the operating clock of the data collection device 100, and the measurement result is determined by the clock deviation The measured value holding unit 104 holds the measured value.

使用图2对时钟偏差测定部103的动作例进行说明。An example of the operation of the clock deviation measurement unit 103 will be described with reference to FIG. 2 .

当1PPS信号被输入到时钟偏差测定部103时,依照动作时钟的时钟周期进行计数的10毫秒的计数器进行动作。When a 1PPS signal is input to the clock deviation measuring unit 103, a 10-millisecond counter that counts in accordance with the clock period of the operating clock operates.

例如,在动作时钟为80MHz的情况下,成为采用以12.5纳秒为单位的计数,因此800000计数为10毫秒。For example, when the operating clock is 80 MHz, counts are performed in units of 12.5 nanoseconds, so 800,000 counts is 10 milliseconds.

当该10毫秒的计数为第99次时,如果计数器采用800000计数时,在数据收集装置100的动作时钟的测量中成为1秒的期间。When the count of 10 milliseconds is the 99th time, if the counter counts 800,000, it becomes a period of 1 second in the measurement of the operation clock of the data collection device 100 .

由该动作时钟计数出的1秒期间与1PPS信号的接收定时之差成为时钟偏差的测定值。The difference between the 1-second period counted by this operating clock and the reception timing of the 1PPS signal becomes the measured value of the clock skew.

在图2中,由于在10毫秒的计数器为798400计数的时间点接收到1PPS信号,因此动作时钟在1秒间计数慢20微秒((800000-798400)×12.5纳秒),该值为时钟偏差的测定值。In Figure 2, since the 1PPS signal is received at the time when the 10-millisecond counter counts 798400, the action clock counts 20 microseconds slower in 1 second ((800000-798400) × 12.5 nanoseconds), and this value is the clock Measured value of deviation.

通过这种动作,时钟偏差测定部103对作为动作时钟相对于1PPS信号的每1秒的偏差时间的时钟偏差进行测定,并将偏差测定值保存到时钟偏差测定值保持部104中。Through this operation, the clock deviation measurement unit 103 measures the clock deviation as the deviation time per second of the operating clock with respect to the 1PPS signal, and stores the deviation measurement value in the clock deviation measurement value holding unit 104 .

采样周期计数器105输入1PPS信号和动作时钟并进行动作。The sampling period counter 105 receives and operates a 1PPS signal and an operation clock.

例如,在电力系统的交流频率是50Hz,每1交流周期的采样次数是80次的情况下,采样周期为250微秒。For example, when the AC frequency of the power system is 50 Hz and the number of sampling times per AC cycle is 80, the sampling period is 250 microseconds.

在动作时钟是80MHz(12.5纳秒单位的计数)的情况下,采样周期计数器105的计数次数为20000计数,周期为250微秒。When the operating clock is 80 MHz (counting in units of 12.5 nanoseconds), the number of counts of the sampling cycle counter 105 is 20000 counts, and the cycle is 250 microseconds.

与1PPS信号的输入同时地,采样周期计数器105开始进行计数,将表示计数次数的计数值发送给采样信号生成部106。Simultaneously with the input of the 1PPS signal, the sampling period counter 105 starts counting, and sends a count value indicating the number of counts to the sampling signal generating unit 106 .

采样信号生成部106在计数值为20000(计数完成值)时输出采样信号。The sampling signal generator 106 outputs a sampling signal when the count value is 20000 (count completion value).

即,当计数值达到作为上限值的20000时完成1个循环的计数,采样周期计数器105开始下一循环的计数,每当采样周期计数器105完成1个循环的计数时,采样信号生成部106输出采样信号。That is, when the count value reaches 20000 as the upper limit value, the counting of one cycle is completed, and the sampling cycle counter 105 starts counting of the next cycle, and each time the sampling cycle counter 105 completes the counting of one cycle, the sampling signal generating part 106 Output sampled signal.

在动作时钟不存在偏差的情况下,由于采样信号精确地按照250微秒间隔输出,因此在从接收到1PPS信号到接收到下一1PPS信号的1秒间输出4000次的采样信号(即,在1秒间产生4000循环)。In the case that there is no deviation in the action clock, since the sampling signal is output at an interval of 250 microseconds, the sampling signal is output 4000 times in 1 second from receiving the 1PPS signal to receiving the next 1PPS signal (that is, in 4000 cycles in 1 second).

但是,由于动作时钟存在偏差,因此实际上在大多数情况下,并没有输出4000次的采样信号。However, due to deviations in the operation clock, the 4000-time sampling signal is not actually output in most cases.

例如,在基于动作时钟的1秒间的计数相比1PPS信号延迟20微秒的情况下,如图3所示,采样信号在1秒间只输出3999次,未能以250微秒的周期输出采样信号。For example, when counting by the operation clock for 1 second is delayed by 20 microseconds compared to 1PPS signal, as shown in Figure 3, the sampling signal is output only 3999 times per second, and cannot be output at a cycle of 250 microseconds sample signal.

因此,为了进行20微秒量的校正,需要变更采样周期计数的计数完成值。Therefore, in order to correct for 20 microseconds, it is necessary to change the count completion value of the sampling cycle count.

关于校正方法,首先根据保持在时钟偏差测定值保持部104中的偏差测定值,校正值计算部110决定采样周期计数器105的计数完成值的校正值。Regarding the correction method, first, the correction value calculation unit 110 determines the correction value of the count completion value of the sampling cycle counter 105 based on the deviation measurement value held in the clock deviation measurement value holding unit 104 .

在偏差测定值为20微秒的情况下,使1次的采样周期缩短5纳秒(20微秒/4000次),由此以250微秒周期输出采样信号。When the deviation measurement value is 20 microseconds, the sampling period of one time is shortened by 5 nanoseconds (20 microseconds/4000 times), whereby the sampling signal is output at a cycle of 250 microseconds.

但是,由于在数字电路中通常使用的动作时钟是几MHz~几十MHz(从十几纳秒到几十纳秒单位的计数),因此无法进行几纳秒单位的计数器调节,需要汇总地进行几纳秒的调节。However, since the operating clock usually used in digital circuits is several MHz to several tens of MHz (counting from tens of nanoseconds to tens of nanoseconds), it is impossible to perform counter adjustments of several nanoseconds, and it is necessary to collectively adjustments of a few nanoseconds.

在校正值为几纳秒的情况下,校正值计算部110以与动作时钟的计数单位匹配的方式,决定计数完成值的校正值和汇总地进行校正的时机。When the correction value is several nanoseconds, the correction value calculation unit 110 determines the correction value of the counted value and the timing of collective correction so as to match the count unit of the operating clock.

使用图4对校正值计算部110和变更定时计算部111的动作例进行说明。An example of the operation of the correction value calculation unit 110 and the change timing calculation unit 111 will be described with reference to FIG. 4 .

在动作时钟为80MHz的情况下,采样周期计数器105的计数为12.5纳秒单位,当使1次的校正量5纳秒与该计数的单位匹配时,汇总地进行5次(25纳秒)的校正。When the operating clock is 80 MHz, the counting of the sampling cycle counter 105 is in units of 12.5 nanoseconds, and when the correction amount of one time of 5 nanoseconds matches the counting unit, five times (25 nanoseconds) are collectively performed. Correction.

即,采样周期计数器105的校正值是25纳秒,且校正的时机是每5次采样周期(每5个循环)进行1次校正。That is, the correction value of the sampling cycle counter 105 is 25 nanoseconds, and the timing of the correction is every 5 sampling cycles (every 5 cycles).

变更定时计算部111对采样信号的输出次数(计数器105的循环的次数)进行计数,当进行4次计数时,将采样周期计数器105的上限值(20000计数)缩短25纳秒(缩短2计数)。The change timing calculation section 111 counts the output times of the sampling signal (the number of cycles of the counter 105), and when counting 4 times, shortens the upper limit value (20000 counts) of the sampling period counter 105 by 25 nanoseconds (shortening by 2 counts). ).

这样,校正值计算部110和变更定时计算部111使时钟偏差的测定值(20微秒)除以1秒间产生的循环的次数(4000次),并根据商(5纳秒)与动作时钟的时钟周期(12.5纳秒)的公倍数(25纳秒)来决定校正值。In this way, the correction value calculation unit 110 and the change timing calculation unit 111 divide the measured value of the clock deviation (20 microseconds) by the number of cycles (4000 times) generated in 1 second, and calculate the value based on the quotient (5 nanoseconds) and the operating clock. The common multiple (25 nanoseconds) of the clock period (12.5 nanoseconds) to determine the correction value.

在采样周期计数器105的被变更后的计数完成值(19998计数)时,采样信号生成部106输出采样信号。The sampling signal generator 106 outputs the sampling signal at the changed count completion value (19998 counts) of the sampling cycle counter 105 .

并且,当接收到采样信号时,计数器初始值保持部112将采样周期计数器105的计数完成值恢复为初始值(20000计数),下面的4循环以20000计数的周期输出采样信号。And, when the sampling signal is received, the counter initial value holding unit 112 restores the count completion value of the sampling period counter 105 to the initial value (20000 counts), and outputs the sampling signal at a period of 20000 counts in the following 4 cycles.

当按照5次的周期进行观察时,精确地在1.25毫秒(250微秒×5)间输出5次采样信号。When observation is performed in a period of 5 times, the sampling signal is output 5 times within exactly 1.25 milliseconds (250 microseconds×5).

通过以上的动作,能够输出校正了20微秒的偏差的采样信号,能够在1秒间输出精确次数(4000次)的采样信号。Through the above operations, it is possible to output a sampling signal corrected for a deviation of 20 microseconds, and it is possible to output a sampling signal of an accurate number of times (4000 times) within one second.

电量测定部107接收按照以上的顺序进行了时钟偏差校正的采样信号,电量测定部107对电力系统的电量(电流值、电压值)进行测量。The electrical quantity measurement unit 107 receives the sampling signal subjected to clock offset correction in the above procedure, and the electrical quantity measurement unit 107 measures the electrical quantity (current value, voltage value) of the power system.

数据生成部108将测定出的电量生成为能够发送给运算装置200的通信帧形式,数据发送部109将所生成的通信帧发送给运算装置200。The data generating unit 108 generates the measured electric quantity in a communication frame format that can be transmitted to the computing device 200 , and the data transmitting unit 109 transmits the generated communication frame to the computing device 200 .

这样,根据本实施方式,由于根据时钟偏差来计算采样周期计数器的校正值,并且根据计算出的校正值,动态变更采样周期计数器的计数完成值,因此即使使用频率偏差为±50ppm左右的通用振荡电路,也能够在精确的时机输出采样信号,能够以精确的时间测量电量。Thus, according to this embodiment, since the correction value of the sampling period counter is calculated according to the clock deviation, and the counting completion value of the sampling period counter is dynamically changed according to the calculated correction value, even if a general-purpose oscillator with a frequency deviation of about ±50ppm is used, The circuit can also output sampling signals at precise timing, and can measure power at precise timing.

另外,以上对采样信号生成部106对采样周期计数器105的计数值达到计数完成值(20000计数或19998计数)的情况进行检测而输出采样信号的例子进行了说明。In addition, the example in which the sampling signal generator 106 detects that the count value of the sampling period counter 105 has reached the count completion value (20000 count or 19998 count) and outputs a sampling signal has been described above.

取而代之,也可以是,在采样周期计数器105的计数值达到计数完成值(20000计数或19998计数)时,采样周期计数器105将脉冲信号输出给采样信号生成部106,采样信号生成部106在被输入了来自采样周期计数器105的脉冲信号的时候输出采样信号。Alternatively, when the count value of the sampling cycle counter 105 reaches the count completion value (20000 counts or 19998 counts), the sampling cycle counter 105 outputs a pulse signal to the sampling signal generating part 106, and the sampling signal generating part 106 is inputted The sampling signal is output when the pulse signal from the sampling period counter 105 is received.

并且,以上对动作时钟相对于1PPS信号延迟的例子进行了说明,但在动作时钟相对于1PPS信号超前的情况也是同样的,通过变更计数完成值,而能够以精确的时间输出采样信号。In addition, the example in which the operating clock is delayed relative to the 1PPS signal has been described above. However, the same applies to the case where the operating clock is ahead of the 1PPS signal. By changing the count completion value, it is possible to output the sampling signal at an accurate time.

另外,在动作时钟相对于1PPS信号超前的情况下,在任意的循环中设定值比初始值大的计数完成值。In addition, when the operating clock is advanced with respect to the 1PPS signal, a count completion value whose value is larger than the initial value is set in an arbitrary cycle.

并且,以上对采样周期计数器105增计数的例子进行了说明,因此计数完成值为采样周期计数器105的上限值,但在采样周期计数器105减计数的情况下,计数完成值成为采样周期计数器105的下限值。In addition, the example in which the sampling cycle counter 105 counts up has been described above, so the count completion value is the upper limit value of the sampling cycle counter 105, but when the sampling cycle counter 105 is counted down, the count completion value becomes the upper limit value of the sampling cycle counter 105. the lower limit value of .

以上,在本实施方式中,对收集电力系统的电量并发送给运算装置且具有以下单元的数据收集装置进行了说明。As mentioned above, in this embodiment, the data collection device which collects the electric quantity of an electric power system and transmits it to a computing device, and which has the following means was demonstrated.

(a)接收1PPS信号的单元,(a) units receiving 1PPS signals,

(b)测量1PPS信号与装置内时钟之间的频率偏差的单元,(b) a unit for measuring the frequency deviation between the 1PPS signal and the internal clock of the device,

(c)保持1PPS信号与装置内时钟之间的频率偏差的测量值的单元,(c) a unit that maintains a measurement of the frequency deviation between the 1PPS signal and the clock within the device,

(d)根据1PPS信号与装置内时钟之间的频率偏差来变更采样周期计数器的计数范围的单元,(d) means for changing the counting range of the sampling period counter according to the frequency deviation between the 1PPS signal and the internal clock of the device,

(e)测量变更采样周期计数器的计数范围的时机的单元,(e) a unit for measuring the timing of changing the count range of the sampling period counter,

(f)根据采样周期计数器的计数值生成采样信号的单元,(f) a unit for generating a sampling signal based on the count value of the sampling period counter,

(g)保持采样周期计数器的计数值的初始值,并将采样周期计数器的计数值恢复为初始值的单元,(g) a unit for maintaining the initial value of the count value of the sampling period counter and restoring the count value of the sampling period counter to the initial value,

(h)按采样信号的定时测定电力系统的电量的单元,(h) A unit for measuring the electrical quantity of the power system at the timing of the sampling signal,

(i)将电量数字化而构成通信帧的单元,(i) A unit that digitizes the amount of electricity to form a communication frame,

(j)将通信帧发送给运算装置的单元。(j) A unit that transmits a communication frame to an arithmetic device.

实施方式2.Implementation mode 2.

在本实施方式中,对使采样周期计数器105的计数完成值的校正值和校正的时机在1秒间的期间中发生变化的结构进行说明。In this embodiment, a configuration in which the correction value and the timing of the correction of the count completion value of the sampling cycle counter 105 are changed within a period of one second will be described.

图5示出本实施方式的数据收集装置100的结构例。FIG. 5 shows a configuration example of the data collection device 100 of this embodiment.

在图5中,计数器变更部113变更采样周期计数器105的上限值。In FIG. 5 , the counter changing unit 113 changes the upper limit value of the sampling cycle counter 105 .

计数器变更部113与校正值计算部110和变更定时计算部111一同相当于计数完成值变更部的例子。The counter changing unit 113 corresponds to an example of a count completion value changing unit together with the correction value calculating unit 110 and the change timing calculating unit 111 .

计数器变更完成通知部114将变更了采样周期计数器105的上限值的情况通知给变更定时计算部111和计数器初始值保持部112。The counter change completion notification unit 114 notifies the change timing calculation unit 111 and the counter initial value holding unit 112 that the upper limit value of the sampling cycle counter 105 has been changed.

另外,由于计数器变更部113和计数器变更完成通知部114以外的要素与图1所示的内容相同,因此省略说明。In addition, elements other than the counter change unit 113 and the counter change completion notification unit 114 are the same as those shown in FIG. 1 , and thus description thereof will be omitted.

接着,对本实施方式的数据收集装置100的动作例进行说明。Next, an example of the operation of the data collection device 100 of this embodiment will be described.

与实施方式1相同,时钟偏差测定部103测定时钟偏差,并将偏差测定值保存在时钟偏差测定值保持部104中。Similar to Embodiment 1, the clock offset measuring unit 103 measures the clock offset and stores the measured offset value in the clock offset measured value holding unit 104 .

校正值计算部110与实施方式1相同,根据时钟偏差值计算采样周期计数器105的校正值。The correction value calculation unit 110 calculates the correction value of the sampling cycle counter 105 from the clock offset value as in the first embodiment.

这里,在本实施方式中,变更定时计算部111根据来自计数器变更完成通知部114的计数器变更完成通知来决定变更计数器的时机。Here, in the present embodiment, the change timing calculation unit 111 determines the timing to change the counter based on the counter change completion notification from the counter change completion notification unit 114 .

并且,变更定时计算部111将采样周期计数器105的计数完成值的校正值设定给计数器变更部113,计数器变更部113变更采样周期计数器105的计数完成值。Then, the change timing calculation unit 111 sets the correction value of the count completion value of the sampling period counter 105 to the counter change unit 113 , and the counter change unit 113 changes the count completion value of the sampling period counter 105 .

例如,校正值计算部110、变更定时计算部111由CPU(Central Processing Unit:中央处理器)的软件处理构成,计数器变更部113由设定校正值的寄存器构成。For example, the correction value calculation unit 110 and the change timing calculation unit 111 are constituted by software processing of a CPU (Central Processing Unit: central processing unit), and the counter change unit 113 is constituted by a register for setting a correction value.

来自计数器变更完成通知部114的计数器变更完成通知是通过对软件的中断或者来自软件的轮询处理而实现的。The counter change completion notification from the counter change completion notification unit 114 is realized by an interrupt to software or a polling process from software.

具体而言,计数器变更部113由图6这样的8比特的寄存器构成。Specifically, the counter changing unit 113 is constituted by an 8-bit register as shown in FIG. 6 .

例如,图6的最高位比特(比特7)是被设定了正或者负的比特,比特6-比特0是设定了校正值的比特。For example, the most significant bit (bit 7) in FIG. 6 is a bit in which positive or negative is set, and bits 6-bit 0 are bits in which a correction value is set.

如果最高位比特(比特7)被设定为正,则将对比特6-比特0设定的校正值与采样周期计数器105的计数完成值相加,如果最高位比特(比特7)被设定为负,则将对比特6-比特0设定的校正值从采样周期计数器105的计数完成值中减去。If the highest bit (bit 7) is set to positive, the correction value set for bit 6-bit 0 is added to the count completion value of the sampling period counter 105, if the highest bit (bit 7) is set If negative, the correction value set for bit 6-bit 0 is subtracted from the count completion value of the sampling cycle counter 105 .

这样,采样周期计数器105的上限值最大能够变更到±127计数(比特6-比特0全部为“1”,在10进制数中则为127)。In this way, the upper limit value of the sampling period counter 105 can be changed up to ±127 counts (all bits 6-bit 0 are "1" and are 127 in decimal notation).

在动作时钟为80MHz(12.5纳秒单位的计数)的情况下,能够进行从12.5纳秒到大约1.5微秒的校正。When the operating clock is 80 MHz (counting in units of 12.5 nanoseconds), correction can be performed from 12.5 nanoseconds to approximately 1.5 microseconds.

并且,计数器变更完成通知部114根据采样信号生成部106生成的采样信号的接收与采样周期计数器105的校正定时,能够对在采样周期计数器105的计数完成值被校正后输出的采样信号进行测量。In addition, the counter change completion notification unit 114 can measure the sampling signal output after the count completion value of the sampling period counter 105 is corrected based on the reception of the sampling signal generated by the sampling signal generation unit 106 and the correction timing of the sampling period counter 105 .

因此,计数器变更完成通知部114能够通知变更定时计算部111和计数器初始值保持部112计数器变更完成。Therefore, the counter change completion notification unit 114 can notify the change timing calculation unit 111 and the counter initial value holding unit 112 of the completion of the counter change.

计数器变更完成通知部114例如构成为图7这样的1比特的寄存器。The counter change completion notification unit 114 is configured, for example, as a 1-bit register as shown in FIG. 7 .

并且,在本寄存器为“1”时,将计数器变更部113的设定值反映给采样周期计数器105,表示校正完成,在为“0”时,表示校正未完成。And, when this register is "1", the setting value of the counter changing unit 113 is reflected in the sampling period counter 105, indicating that the calibration is completed, and when it is "0", it indicates that the calibration is not completed.

变更定时计算部111和计数器初始值保持部112能够通过参照图7的寄存器来判断校正是完成还是未完成。The change timing calculation unit 111 and the counter initial value holding unit 112 can judge whether the calibration is completed or not by referring to the register in FIG. 7 .

如果在校正完成,成为下一校正实施的时机时,则变更定时计算部111将校正值设定给计数器变更部113。When the calibration is completed and it is time to perform the next calibration, the change timing calculation unit 111 sets the correction value to the counter change unit 113 .

如果校正完成,则计数器初始值保持部112将采样周期计数器105的计数完成值恢复为初始值(20000计数)。When the correction is completed, the counter initial value holding unit 112 restores the count completion value of the sampling period counter 105 to the initial value (20000 counts).

在下一计数完成值被变更之前,按照计数完成值的初始值的周期输出采样信号。The sampling signal is output at the cycle of the initial value of the count completion value until the next count completion value is changed.

通过以上的动作,能够将采样周期计数器105的校正值设定为可变,关于根据时钟偏差计算出的校正值的结果,即使在存在尾数的情况下,也能够调节尾数。Through the above operations, the correction value of the sampling cycle counter 105 can be set variable, and the result of the correction value calculated from the clock deviation can be adjusted even if there is a mantissa.

例如,在根据时钟偏差计算出的校正值为23微秒的情况下,1次的校正量为5.75纳秒。For example, when the correction value calculated from the clock offset is 23 microseconds, the amount of correction per time is 5.75 nanoseconds.

在5.75纳秒的情况下,当使其与12.5纳秒单位的计数匹配时,会出现尾数(当每5次进行1次25纳秒的校正时,整体出现3微秒的尾数)。In the case of 5.75 ns, when making it match the count in 12.5 ns units, there is a mantissa (3 microseconds overall when correcting for 25 ns every 5).

为了也对该尾数(3微秒)进行校正,除了每5次实施1次25纳秒的校正之外,还需要每33次实施1次25纳秒的校正。In order to correct the mantissa (3 microseconds) as well, it is necessary to perform a correction of 25 nanoseconds every 33 times in addition to performing a correction of 25 nanoseconds every 5 times.

另外,在该例中,每5次1次的校正值和每33次1次的校正值都为25纳秒,值是共通的,但每5次1次的校正值和每33次1次的校正值也可以是不同的值。Also, in this example, the correction value every 5 times and the correction value every 33 times are both 25 nanoseconds, and the value is common, but the correction value every 5 times and 1 time every 33 times The correction value of can also be a different value.

像本实施方式那样,具有使校正值和校正的时机可变的配置,从而即使在校正值存在尾数的情况下,也能够进行校正。With an arrangement in which the correction value and the timing of correction are variable as in the present embodiment, correction can be performed even when the correction value has a mantissa.

即,在本实施方式中,校正值计算部110决定多个作为变更计数完成值的变更对象的循环和变更后的计数完成值的组,变更定时计算部111和计数器变更部113将作为变更对象的循环的计数完成值变更为针对该作为变更对象的循环决定出的变更后的计数完成值(校正值)。That is, in the present embodiment, the correction value calculation unit 110 determines a plurality of cycles as the change target of the change count completion value and the set of the changed count completion value, and the change timing calculation unit 111 and the counter change unit 113 set the number of cycles as the change target. The completed count value of the cycle is changed to the changed count completed value (correction value) determined for the cycle to be changed.

这样,能够高精度地控制采样信号的输出定时。In this way, the output timing of the sampling signal can be controlled with high precision.

以上,在本实施方式中,对收集电力系统的电量并发送给运算装置且具有以下单元的数据收集装置进行了说明。As mentioned above, in this embodiment, the data collection device which collects the electric quantity of an electric power system and transmits it to a computing device, and which has the following means was demonstrated.

(a)接收1PPS信号的单元,(a) units receiving 1PPS signals,

(b)测量1PPS信号与装置内时钟之间的频率偏差的单元,(b) a unit for measuring the frequency deviation between the 1PPS signal and the internal clock of the device,

(c)保持1PPS信号与装置内时钟之间的频率偏差的测量值的单元,(c) a unit that maintains a measurement of the frequency deviation between the 1PPS signal and the clock within the device,

(d)根据1PPS信号与装置内时钟之间的频率偏差来设定采样周期计数器的计数范围的变更值的单元,(d) means for setting the change value of the counting range of the sampling period counter according to the frequency deviation between the 1PPS signal and the internal clock of the device,

(e)依照采样周期计数器的计数范围的变更值的设定来变更计数范围的单元,(e) A unit that changes the count range according to the setting of the change value of the count range of the sampling cycle counter,

(f)测量变更采样周期计数器的计数范围的时机的单元,(f) means for measuring the timing of changing the count range of the sampling period counter,

(g)根据采样周期计数器的计数值生成采样信号的单元,(g) a unit for generating a sampling signal from the count value of the sampling period counter,

(h)保持采样周期计数器的计数值的初始值,并将采样周期计数器的计数值恢复为初始值的单元,(h) a unit for maintaining the initial value of the count value of the sampling period counter and restoring the count value of the sampling period counter to the initial value,

(i)通知按照变更了采样周期计数器的计数范围的值生成采样信号的单元,(i) Notify the unit that generates the sampling signal according to the value of the count range of the sampling period counter changed,

(j)按采样信号的定时测定电力系统的电量的单元,(j) A unit for measuring the electrical quantity of the power system at the timing of the sampling signal,

(k)将电量数字化并构成为通信帧的单元,(k) Digitizing the electric quantity and constituting the unit of the communication frame,

(l)将通信帧发送给运算装置的单元。(l) A unit that transmits a communication frame to an arithmetic device.

最后,参照图8对实施方式1、2所示的数据收集装置100的硬件结构例进行说明。Finally, an example of the hardware configuration of the data collection device 100 shown in Embodiments 1 and 2 will be described with reference to FIG. 8 .

数据收集装置100是计算机,能够利用程序来实现数据收集装置100的各要素。The data collection device 100 is a computer, and each element of the data collection device 100 can be realized by a program.

作为数据收集装置100的硬件结构,控制装置901、外部存储装置902、主存储装置903、通信装置904、输入输出装置905、时钟产生电路906、计数器907与总线连接。As a hardware configuration of the data collection device 100, a control device 901, an external storage device 902, a main storage device 903, a communication device 904, an input/output device 905, a clock generation circuit 906, and a counter 907 are connected to a bus.

控制装置901是执行程序的CPU。The control device 901 is a CPU that executes programs.

外部存储装置902例如是ROM(Read Only Memory:只读存储器)或闪速存储器、硬盘装置。The external storage device 902 is, for example, a ROM (Read Only Memory), a flash memory, or a hard disk device.

主存储装置903是RAM(Random Access Memory:随机存取存储器)。The main storage device 903 is RAM (Random Access Memory: Random Access Memory).

时钟偏差测定值保持部104例如通过主存储装置903而实现。The clock deviation measured value holding unit 104 is realized by, for example, the main storage device 903 .

通信装置904对应于1PPS信号接收部101和数据发送部109的物理层。The communication device 904 corresponds to the physical layer of the 1PPS signal receiving unit 101 and the data transmitting unit 109 .

输入输出装置905例如是鼠标、键盘、显示装置等。The input/output device 905 is, for example, a mouse, a keyboard, a display device, and the like.

时钟产生电路906具有石英振荡器,生成数据收集装置100的动作时钟信号。The clock generation circuit 906 has a quartz oscillator, and generates a clock signal for the operation of the data collection device 100 .

动作时钟生成部102通过时钟产生电路906实现。The operation clock generation unit 102 is realized by the clock generation circuit 906 .

并且,采样周期计数器105通过计数器907实现。Also, the sampling period counter 105 is realized by the counter 907 .

程序通常存储于外部存储装置902,在被加载到主存储装置903的状态下,依次被控制装置901读取、执行。The program is usually stored in the external storage device 902 , loaded into the main storage device 903 , and sequentially read and executed by the control device 901 .

程序是实现作为图1和图5所示的“~部”(但是除了动作时钟生成部102、时钟偏差测定值保持部104、计数器变更部113、计数器变更完成通知部114,以下也同样)进行说明的功能的程序。The program is implemented as the "~ part" shown in Fig. 1 and Fig. 5 (except for the operating clock generation part 102, the clock deviation measurement value holding part 104, the counter changing part 113, and the counter change completion notification part 114, the same applies below) A program that describes the function.

此外,外部存储装置902中也存储有操作系统(OS),OS的至少一部分被加载到主存储装置903,控制装置901一边执行OS,一边执行实现图1所示的“~部”的功能的程序。In addition, an operating system (OS) is also stored in the external storage device 902, at least a part of the OS is loaded into the main storage device 903, and the control device 901 executes the function of "-part" shown in FIG. 1 while executing the OS. program.

并且,在实施方式1、2的说明中,将表示作为“~的测定”、“~的计数”、“~的变更”、“~的决定”、“~的设定”、“~的指定”、“~的计算”、“~的判断”、“~的判定”、“~的选择”、“~的生成”、“~的输入”、“~的接收”等进行说明的处理的结果的信息、数据、信号值和变量值作为文件存储于主存储装置903。In addition, in the description of Embodiments 1 and 2, it will be expressed as "measurement of ~", "count of ~", "change of ~", "determination of ~", "setting of ~", "designation of ~ ", "calculation of ~", "judgment of ~", "judgment of ~", "selection of ~", "generation of ~", "input of ~", "reception of ~", etc. The information, data, signal values and variable values are stored in the main storage device 903 as files.

另外,图8的结构仅示出数据收集装置100的硬件结构的一例,数据收集装置100的硬件结构不限于图8中记载的结构,也可以是其他的结构。In addition, the structure of FIG. 8 shows only an example of the hardware structure of the data collection apparatus 100, and the hardware structure of the data collection apparatus 100 is not limited to the structure described in FIG. 8, and may be other structures.

标号说明Label description

100:数据收集装置;101:1PPS信号接收部;102:动作时钟生成部;103:时钟偏差测定部;104:时钟偏差测定值保持部;105:采样周期计数器;106:采样信号生成部;107:电量测定部;108:数据生成部;109:数据发送部;110:校正值计算部;111:变更定时计算部;112:计数器初始值保持部;113:计数器变更部;114:计数器变更完成通知部。100: Data collection device; 101: 1PPS signal receiving unit; 102: Operating clock generating unit; 103: Clock deviation measuring unit; 104: Clock deviation measured value holding unit; 105: Sampling cycle counter; 106: Sampling signal generating unit; 107 108: Data generation unit; 109: Data transmission unit; 110: Correction value calculation unit; 111: Change timing calculation unit; 112: Counter initial value holding unit; 113: Counter change unit; 114: Counter change completed Notify the Ministry.

Claims (8)

1. a signal processing apparatus, is characterized in that, described signal processing apparatus has:
Pulsed signal portion, its time per unit return pulse signal;
Action clock generating unit, the Action clock signal that its generated clock cycle is small compared with the described unit interval;
Counter, it inputs described pulse signal from described pulsed signal portion, described Action clock signal is inputted from described Action clock generating unit, start when the input of described pulse signal to carry out the counting corresponding to the clock period of described Action clock signal, complete the counting of 1 circulation during counting finishing set counting and completing value, and start counting of next circulation;
Control signal efferent, when described counter completes the counting of 1 circulation, this control signal efferent exports control signal;
Clock jitter determination part, it inputs described pulse signal from described pulsed signal portion, input described Action clock signal from described Action clock generating unit, measure relative to the clock jitter of the frequency departure of described pulse signal as described Action clock signal; And
Counted value changing unit, it is according to the clock jitter determined by described clock jitter determination part, and the counting changing Arbitrary cyclic completes value,
When the counting being completed value changing unit by described counting and change Arbitrary cyclic completes value, complete the counting of this circulation during the counting of described counter till finishing the counting after changing and completing value, and start counting of next circulation.
2. signal processing apparatus according to claim 1, is characterized in that,
Described signal processing apparatus also has counting and completes value recovery portion, and described counting completes value recovery portion and the counting being completed value changing unit by described counting and change next circulation of the circulation having counted value is completed value reverts to described set counting and complete value.
3. signal processing apparatus according to claim 1 and 2, wherein,
During the value changing unit that completes described counting circulates according to n, the ratio of 1 time changes counting and completes value, and wherein, n is the integer of more than 2.
4. the signal processing apparatus according to any one in claims 1 to 3, is characterized in that,
Described counting completes the clock period of value changing unit according to the number of times of the circulation produced in the described unit interval, the clock jitter determined by described clock jitter determination part and described Action clock signal, the counting determining to change after the circulation and change count value completes value, and the counting of the circulation determined is completed value and change to the counting determined and complete value.
5. signal processing apparatus according to claim 4, wherein,
Described counting completes clock jitter that value changing unit makes to be determined by the described clock jitter determination part number of times divided by the circulation produced in the described unit interval, according to the common multiple of the clock period of business and described Action clock signal, the counting determining to change after the circulation and change count value completes value.
6. the signal processing apparatus according to any one in claim 1 to 5, is characterized in that,
Described counting completes value changing unit and determines multiple as changing the circulation that count the change object of value and the counting after changing completes the group of value, changes to and completes value for this as the counting after the change that the circulation of change object determines using completing value as the counting of the circulation of changing object.
7. the signal processing apparatus according to any one in claim 1 to 6, is characterized in that,
When described counter completes the counting of 1 circulation, described control signal efferent exports sampled signal as described control signal,
Described signal processing apparatus also has coulometry portion, the sampled signal that the input of this coulometry portion exports from described control signal efferent, measures electricity on the opportunity that have input sampled signal.
8. signal processing apparatus according to claim 7, is characterized in that,
Described pulsed signal portion receives 1PPS (1 Pulse Per Second) signal from external device (ED),
Described signal processing apparatus also has data sending part, and this data sending part will notify that the data of the electricity determined by described coulometry portion send to described arithmetic unit.
CN201380071326.7A 2013-02-04 2013-02-04 Signal processing apparatus Expired - Fee Related CN105026938B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2013/052464 WO2014118984A1 (en) 2013-02-04 2013-02-04 Signal processing apparatus

Publications (2)

Publication Number Publication Date
CN105026938A true CN105026938A (en) 2015-11-04
CN105026938B CN105026938B (en) 2017-09-05

Family

ID=51261726

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201380071326.7A Expired - Fee Related CN105026938B (en) 2013-02-04 2013-02-04 Signal processing apparatus

Country Status (5)

Country Link
JP (1) JP5936716B2 (en)
KR (1) KR101665903B1 (en)
CN (1) CN105026938B (en)
GB (1) GB2527685B (en)
WO (1) WO2014118984A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109407498A (en) * 2018-01-04 2019-03-01 国网四川省电力公司电力科学研究院 A kind of clock of power meter test method and clock of power meter test device
CN110007144A (en) * 2019-04-30 2019-07-12 杭州万高科技股份有限公司 A kind of frequency measurement method and associated component of input signal
CN113711497A (en) * 2019-05-29 2021-11-26 欧姆龙株式会社 Data transmission device, control device, setting device, and control method for data transmission device
CN115333981A (en) * 2021-05-11 2022-11-11 爱德万测试株式会社 Measuring apparatus and measuring method

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2527007B (en) * 2013-03-29 2018-01-10 Mitsubishi Electric Corp Signal processing device for time synchronization control
FR3090885B1 (en) * 2018-12-20 2021-05-07 Schneider Electric Ind Sas Method and system for measuring electrical quantities

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09113654A (en) * 1995-10-16 1997-05-02 Nec Ic Microcomput Syst Ltd Intermittent receiver controller
JPH1020052A (en) * 1996-07-01 1998-01-23 Yazaki Corp Time correction method and device
JP2001052280A (en) * 1999-05-28 2001-02-23 Fuji Electric Co Ltd Synchronizing device for distributed system equipment and distributed control system
CN1642010A (en) * 2004-01-01 2005-07-20 华为技术有限公司 Clock-locked frequency deviation detecting device
CN101051888A (en) * 2006-04-04 2007-10-10 北京信威通信技术股份有限公司 Obtaining and keeping synchronous method for base station
CN101431602A (en) * 2007-11-08 2009-05-13 恩益禧电子股份有限公司 Signal processing apparatus
CN202372881U (en) * 2011-12-23 2012-08-08 北京煜邦电力技术有限公司 Program downloading timely clock calibration tool for data acquiring terminal of smart grid
CN102721865A (en) * 2012-06-04 2012-10-10 惠州Tcl移动通信有限公司 Method and system for measuring accuracy of crystal oscillators

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000244351A (en) * 1999-02-19 2000-09-08 Fujitsu Ltd Reception control device and method
JP2001308839A (en) * 2000-04-21 2001-11-02 Fujikura Ltd Clock synchronization circuit and clock synchronization method
JP4316103B2 (en) * 2000-04-27 2009-08-19 株式会社東芝 Fault location system
US20030058004A1 (en) * 2001-09-24 2003-03-27 Stengel Robert E. Method and apparatus for direct digital synthesis of frequency signals
US7254194B2 (en) * 2002-01-25 2007-08-07 Infineon Technologies North America Corp. Automatic gain control for communication receivers
JP2006310964A (en) * 2005-04-26 2006-11-09 Canon Inc COMMUNICATION TERMINAL DEVICE, ITS CONTROL METHOD, AND PROGRAM

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09113654A (en) * 1995-10-16 1997-05-02 Nec Ic Microcomput Syst Ltd Intermittent receiver controller
JPH1020052A (en) * 1996-07-01 1998-01-23 Yazaki Corp Time correction method and device
JP2001052280A (en) * 1999-05-28 2001-02-23 Fuji Electric Co Ltd Synchronizing device for distributed system equipment and distributed control system
CN1642010A (en) * 2004-01-01 2005-07-20 华为技术有限公司 Clock-locked frequency deviation detecting device
CN101051888A (en) * 2006-04-04 2007-10-10 北京信威通信技术股份有限公司 Obtaining and keeping synchronous method for base station
CN101431602A (en) * 2007-11-08 2009-05-13 恩益禧电子股份有限公司 Signal processing apparatus
CN202372881U (en) * 2011-12-23 2012-08-08 北京煜邦电力技术有限公司 Program downloading timely clock calibration tool for data acquiring terminal of smart grid
CN102721865A (en) * 2012-06-04 2012-10-10 惠州Tcl移动通信有限公司 Method and system for measuring accuracy of crystal oscillators

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109407498A (en) * 2018-01-04 2019-03-01 国网四川省电力公司电力科学研究院 A kind of clock of power meter test method and clock of power meter test device
CN110007144A (en) * 2019-04-30 2019-07-12 杭州万高科技股份有限公司 A kind of frequency measurement method and associated component of input signal
CN113711497A (en) * 2019-05-29 2021-11-26 欧姆龙株式会社 Data transmission device, control device, setting device, and control method for data transmission device
CN115333981A (en) * 2021-05-11 2022-11-11 爱德万测试株式会社 Measuring apparatus and measuring method
CN115333981B (en) * 2021-05-11 2024-03-22 爱德万测试株式会社 Measuring device and measuring method

Also Published As

Publication number Publication date
KR20150100821A (en) 2015-09-02
JP5936716B2 (en) 2016-06-22
CN105026938B (en) 2017-09-05
GB201514508D0 (en) 2015-09-30
JPWO2014118984A1 (en) 2017-01-26
HK1212039A1 (en) 2016-06-03
KR101665903B1 (en) 2016-10-12
GB2527685B (en) 2018-03-21
GB2527685A (en) 2015-12-30
WO2014118984A1 (en) 2014-08-07

Similar Documents

Publication Publication Date Title
CN105026938B (en) Signal processing apparatus
EP3009897A1 (en) Distribution device, distribution system, and distribution method
CN105102991B (en) signal processing device
EP2365651A2 (en) System and method for providing time synchronization
CN106773635A (en) A kind of time service precision detecting system and implementation method
CN103346852B (en) A kind of device that reference clock signal is provided
JP2009300128A (en) Sampling synchronization device and sampling synchronization method
TW201303315A (en) Method and system for measuring frequency
KR101240798B1 (en) Apparatus for real time clock frequency offset detection and method thereof
KR101942719B1 (en) Real Time Clock Apparatus
CN104460313A (en) GPS time service device for providing high-precision large-step time synchronizing signals
CN116980065B (en) Clock calibration method, clock calibration device, terminal equipment and storage medium
JP2007078405A (en) Timing program of software timepiece
CN110928177B (en) Clock synchronization system and method
US20130346022A1 (en) Physical quantity measuring apparatus and physical quantity measuring method
JP5914718B2 (en) Time base with oscillator, frequency division circuit and clock pulse suppression circuit
CN109286461B (en) Method for matching timestamps when detecting sensor data
JP2005134215A (en) System for measuring difference of signal arrival time
CN107566199A (en) Signal processing apparatus and method and the electronic equipment including the device
HK1212039B (en) Signal processing apparatus
CN108073806B (en) Method and device for detecting clock frequency
KR20150015200A (en) Device for measuring frequency of power based on zero-crossing and method for measuring frequency of power based on zero-crossing
CN114070762B (en) Network monitoring probe assembly, synchronization method and data acquisition and analysis device
EP2936172B1 (en) Method and apparatus for determining characteristics of an input signal
HK1212777B (en) Signal processing device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1212039

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant
REG Reference to a national code

Ref country code: HK

Ref legal event code: GR

Ref document number: 1212039

Country of ref document: HK

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170905

Termination date: 20190204