CN116559767A - A Field Calibration Method of Electric Energy Meter Based on Satellite High and Low Orbit System Timing - Google Patents
A Field Calibration Method of Electric Energy Meter Based on Satellite High and Low Orbit System Timing Download PDFInfo
- Publication number
- CN116559767A CN116559767A CN202310525212.0A CN202310525212A CN116559767A CN 116559767 A CN116559767 A CN 116559767A CN 202310525212 A CN202310525212 A CN 202310525212A CN 116559767 A CN116559767 A CN 116559767A
- Authority
- CN
- China
- Prior art keywords
- satellite
- timing
- electric energy
- energy meter
- module
- 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.)
- Withdrawn
Links
- 238000000034 method Methods 0.000 title claims abstract description 41
- 238000006243 chemical reaction Methods 0.000 claims abstract description 15
- 238000005259 measurement Methods 0.000 claims description 39
- 238000012545 processing Methods 0.000 claims description 25
- 230000008569 process Effects 0.000 claims description 19
- 230000006870 function Effects 0.000 claims description 18
- 238000012549 training Methods 0.000 claims description 18
- 238000011156 evaluation Methods 0.000 claims description 15
- 238000013135 deep learning Methods 0.000 claims description 10
- 238000004891 communication Methods 0.000 claims description 8
- 230000008859 change Effects 0.000 claims description 6
- 239000013078 crystal Substances 0.000 claims description 6
- 238000004364 calculation method Methods 0.000 claims description 5
- 230000002787 reinforcement Effects 0.000 claims description 5
- 238000013468 resource allocation Methods 0.000 claims description 5
- 239000000284 extract Substances 0.000 claims description 3
- 238000005070 sampling Methods 0.000 claims description 3
- 238000012795 verification Methods 0.000 description 8
- 230000000737 periodic effect Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 230000001186 cumulative effect Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003442 weekly effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R35/00—Testing or calibrating of apparatus covered by the other groups of this subclass
- G01R35/04—Testing or calibrating of apparatus covered by the other groups of this subclass of instruments for measuring time integral of power or current
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S19/00—Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
- G01S19/01—Satellite radio beacon positioning systems transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
- G01S19/13—Receivers
- G01S19/24—Acquisition or tracking or demodulation of signals transmitted by the system
- G01S19/25—Acquisition or tracking or demodulation of signals transmitted by the system involving aiding data received from a cooperating element, e.g. assisted GPS
- G01S19/256—Acquisition or tracking or demodulation of signals transmitted by the system involving aiding data received from a cooperating element, e.g. assisted GPS relating to timing, e.g. time of week, code phase, timing offset
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Electric Clocks (AREA)
Abstract
Description
技术领域technical field
本发明属于电力检修技术领域,具体涉及一种基于卫星高低轨系统授时的电能表现场校准方法。The invention belongs to the technical field of electric power maintenance, and in particular relates to an on-site calibration method of an electric energy meter based on satellite high and low orbit system timing.
背景技术Background technique
目前,电能表的校准都是在计量实验室完成的。在电能表的使用寿命内,还要经过周期检定。越是精度高的表计,越是重要场合的表计其周检间隔时间越短。这类重要场合的表计,由于数量庞大,很难完成规定的周期检定。没有进行周期检定的表计,其计量误差是未知的。由于存在这些不确定的因素,导致电力计量错误,每年带来巨大损失。现在大多数电力部门主要使用现场校验仪进行比对。由于现场校验仪受自身工作原理、计量精度、现场电力电压、电流波动的影响,不能实现校准,只能进行比对。这种校准装置的测量结果也只能作为参考。At present, the calibration of electric energy meters is done in metrology laboratories. During the service life of the electric energy meter, it must also undergo periodic verification. The more accurate the meter is, the shorter the interval between weekly inspections is for the meter on more important occasions. Due to the large number of meters in such important occasions, it is difficult to complete the prescribed periodic verification. The measurement error of a meter without periodic verification is unknown. Due to the existence of these uncertain factors, electricity metering errors result in huge losses every year. Most power departments now mainly use on-site calibrator for comparison. Because the on-site calibrator is affected by its own working principle, measurement accuracy, on-site power voltage, and current fluctuations, it cannot be calibrated and can only be compared. The measurement results of this calibration device should only be used as a guideline.
鉴于此,本发明为解决上述问题,设计一种基于卫星高低轨系统授时的电能表现场校准方法。In view of this, in order to solve the above problems, the present invention designs a field calibration method for electric energy meters based on satellite high and low orbit system timing.
发明内容Contents of the invention
发明目的:本发明的目的是针对目前技术中的不足,提供了一种基于卫星高低轨系统授时的电能表现场校准方法。Purpose of the invention: The purpose of the present invention is to provide a field calibration method for electric energy meters based on satellite high and low orbit system timing for the deficiencies in the current technology.
技术方案:为实现上述目的,本发明提供了一种基于卫星高低轨系统授时的电能表现场校准方法,包括如下步骤:Technical solution: In order to achieve the above purpose, the present invention provides a field calibration method for electric energy meters based on satellite high and low orbit system timing, including the following steps:
S1,设定由多个高轨卫星和N个低轨卫星所组成的导航系统;S1, setting a navigation system composed of multiple high-orbit satellites and N low-orbit satellites;
S2,卫星导航系统中的低轨卫星采集并接收各自覆盖面积内的电能表校准的事件申请信息并上报给高轨卫星;S2, the low-orbit satellites in the satellite navigation system collect and receive the event application information of the calibration of the electric energy meter in their respective coverage areas and report to the high-orbit satellites;
S3,卫星导航系统中的高轨卫星的授时模块根据深度学习方法建立时钟信号决策模型并计算得出时钟信号的最优值;S3, the timing module of the high-orbit satellite in the satellite navigation system establishes a clock signal decision-making model according to the deep learning method and calculates the optimal value of the clock signal;
S4,地面电能场现场校正装置根据卫星高低轨系统的授时完成电能表校准。S4, the on-site calibration device of the ground electric energy field completes the calibration of the electric energy meter according to the timing of the satellite high and low orbit system.
进一步的,包括电能表电压计量回路、电能表电流计量回路、单相/三相标准交流信号源、电压-频率转换模块、处理模块和卫星高低轨系统授时模块。Further, it includes the voltage measurement circuit of the electric energy meter, the current measurement circuit of the electric energy meter, the single-phase/three-phase standard AC signal source, the voltage-frequency conversion module, the processing module and the satellite high and low orbit system timing module.
进一步的,单相/三相标准交流信号源在处理模块的控制下产生符合落地国要求的单相、三相三线或三相四线制的交流信号源,单相/三相标准交流信号源输出三路电压交流信号和三路电流交流信号,其输出的电压交流信号和电流交流信号分别与电能表电压计量回路、电能表电流计量回路连接,其输出的电压交流信号和电流交流信号还分别与电压-频率转换模块连接;电能表电压计量回路、电能表电流计量回路分别对电压交流信号和电流交流信号进行电参数计量,并将计量的电参数结果发送给处理模块。Further, under the control of the processing module, the single-phase/three-phase standard AC signal source generates a single-phase, three-phase three-wire or three-phase four-wire AC signal source that meets the requirements of the landing country, and the single-phase/three-phase standard AC signal source Output three-way voltage AC signal and three-way current AC signal, the output voltage AC signal and current AC signal are respectively connected with the voltage measurement circuit of the electric energy meter and the current measurement circuit of the electric energy meter, and the output voltage AC signal and current AC signal are also respectively It is connected with the voltage-frequency conversion module; the electric energy meter voltage metering circuit and the electric energy meter current metering circuit measure the electrical parameters of the voltage AC signal and the current AC signal respectively, and send the measured electrical parameter results to the processing module.
进一步的,所述卫星高低轨系统授时模块特征是:建立深度学习授时决策模型,其过程为:Further, the feature of the satellite high and low orbit system timing module is: to establish a deep learning timing decision model, the process of which is:
设置状态空间集合S,集合中的每个状态s∈S;用参数向量A表示授时过程所有可设置的参数值,在某一时刻设置的参数值a∈A,其中a0=(N0,C0,L0,B0,F0,D0,P0,E0),s随着a的变化一起变化;每一个状态变化设定一个即时评价函数r;Set the state space set S, each state s∈S in the set; use the parameter vector A to represent all the parameter values that can be set in the timing process, the parameter value a∈A set at a certain moment, where a 0 =(N 0 , C 0 , L 0 , B 0 , F 0 , D 0 , P 0 , E 0 ), s changes with the change of a; each state change sets an instant evaluation function r;
其中,即时评价函数r为: Among them, the instant evaluation function r is:
授时任务根据高轨卫星授时历史记录数据进行深度学习计算,得到参数设置策略π;设函数Q为最优参数函数,T为强化学习执行的步骤数,则有:The timing task is calculated by deep learning based on the high-orbit satellite timing historical record data, and the parameter setting strategy π is obtained; if the function Q is the optimal parameter function, and T is the number of steps executed by reinforcement learning, then:
进一步的,计算得出卫星授时的最优优先级的过程为:Further, the process of calculating the optimal priority of satellite timing is:
设定训练样本,每个样本由(st,at,rt,st+1)1表示;设定一个阈值θ评价训练要求;Set training samples, each sample is represented by (s t , a t , r t , s t+1 ) 1 ; set a threshold θ to evaluate training requirements;
计算Q(st+1,a)值;选取参数集合a对应的最优评价值argmaxQt(s',a';θi),其中θi表示第i次计算的阈值θ;Calculate the value of Q(s t+1 ,a); select the optimal evaluation value argmaxQ t (s',a'; θ i ) corresponding to the parameter set a, where θ i represents the threshold value θ calculated for the ith time;
对Q函数进行迭代计算,设γ为迭代损耗系数,设α为学习率,则有:Iteratively calculate the Q function, let γ be the iterative loss coefficient, and let α be the learning rate, then:
Qt+1(s,a)=Ql(s,a;θ)+α(r+γarg max Qt(s,a;θi)-Qt(s,a;θ));Qt +1 (s,a)= Ql (s,a;θ)+α(r+γarg max Qt (s,a; θi )-Qt(s,a;θ));
计算两次迭代之间的差异函数LOSS=(Qt+1(s,a)-Qt(s,a))2;Calculate the difference function LOSS=(Qt +1 (s,a) -Qt (s,a)) 2 between two iterations;
判断状态st+1是否存在授时网络通信不畅的情况。It is judged whether the state s t+1 has the situation that the communication of the time service network is not smooth.
进一步的,根据卫星资源分配的最优值进行卫星网络资源分配的过程为:Further, the process of satellite network resource allocation according to the optimal value of satellite resource allocation is:
根据最优解,卫星授时模块从卫星导航系统接收授时信号并提取出时钟信号。According to the optimal solution, the satellite timing module receives the timing signal from the satellite navigation system and extracts the clock signal.
进一步的,现场校准方法为:Further, the on-site calibration method is:
处理模块控制单相/三相标准交流信号源产生交流信号源;处理模块依次进行定时采样、电参数计量和计算计量误差,最终根据计量误差对待校准电能表进行校准;The processing module controls the single-phase/three-phase standard AC signal source to generate an AC signal source; the processing module sequentially performs timing sampling, electrical parameter measurement and calculation of measurement error, and finally calibrates the watt-hour meter to be calibrated according to the measurement error;
上述电参数计量过程得出的电参数比对模块接收待校准电能表对标准信号进行电参数测量所得的电参数测量数据,并将其与电参数测量模块所得的电参数测量数据进行比较,即计算出待校准电能表的计量误差;校准控制信号产生模块根据该计量误差通过控制端向待校准电能表发出校准指令,对待校准电能表进行校准。The electrical parameter comparison module obtained from the above electrical parameter measurement process receives the electrical parameter measurement data obtained from the electrical parameter measurement of the standard signal by the electric energy meter to be calibrated, and compares it with the electrical parameter measurement data obtained by the electrical parameter measurement module, that is Calculate the measurement error of the electric energy meter to be calibrated; the calibration control signal generation module sends a calibration instruction to the electric energy meter to be calibrated through the control terminal according to the measurement error, and calibrates the electric energy meter to be calibrated.
进一步的,所述的卫星授时模块包括GPS卫星授时模块、北斗卫星授时模块、GLONASS卫星授时模块和伽利略卫星授时模块中的任意一种或多种的组合。Further, the satellite timing module includes any one or combination of GPS satellite timing module, Beidou satellite timing module, GLONASS satellite timing module and Galileo satellite timing module.
有益效果:1.本发明通过电压-频率转换模块,将标准信号源产生的交流信号转换成与之相应的频率信号,然后利用卫星导航系统提供的高精度时钟信号,测量出该交流信号的电压、电流、有功功率和无功功率等电参数,并根据该电参数与待校准电能表所测的电参数进行比较,计算得出待测量电能表的计量误差,最后根据该计量误差完成对该电能表的校准。Beneficial effects: 1. The present invention converts the AC signal generated by the standard signal source into a corresponding frequency signal through the voltage-frequency conversion module, and then uses the high-precision clock signal provided by the satellite navigation system to measure the voltage of the AC signal , current, active power and reactive power and other electrical parameters, and compare the electrical parameters with the electrical parameters measured by the watt-hour meter to be calibrated, calculate the measurement error of the watt-hour meter to be measured, and finally complete the measurement according to the measurement error Calibration of energy meters.
2.本发明电能表现场校准装置采用能提供高精度时钟信号的卫星授时模块、具有高线性度、高稳定特性的电压-频率转换模块和符合《JJG 597-2005交流电能表检定装置检定规程》要求的交流信号源,保证本发明电能表现场校准装置的测量结果和电能表的校准具有高精确性、可信性、可靠性和可溯源性。本发明电能表现场校准装置,符合国家交流电能表检定装置检定规程的要求。2. The electric energy meter field calibration device of the present invention adopts a satellite timing module that can provide high-precision clock signals, a voltage-frequency conversion module with high linearity and high stability characteristics, and conforms to "JJG 597-2005 Verification Regulations for Verification Devices for AC Electric Energy Meters" The required AC signal source ensures that the measurement results of the electric energy meter field calibration device of the present invention and the calibration of the electric energy meter have high accuracy, reliability, reliability and traceability. The on-site calibration device of the electric energy meter of the present invention meets the requirements of the verification regulations of the national AC electric energy meter verification device.
3.本发明电能表现场校准装置能在任何工作场合和工作环境下,完成电能表的现场校准工作,使得该电能表无需再定期送到计量鉴定机构进行检定和校准。本发明还能避免传统量值溯源和量值传递方式所带来的问题,避免计量误差的累积传递。3. The on-site calibration device of the electric energy meter of the present invention can complete the on-site calibration of the electric energy meter in any working place and working environment, so that the electric energy meter does not need to be regularly sent to a metrological appraisal institution for verification and calibration. The invention can also avoid the problems caused by the traditional way of traceability and value transmission, and avoid the cumulative transmission of measurement errors.
4.本发明电能表现场校准装置还可增设通信模块,通过通信模块实现电力计量管理部门对该电能表现场校准装置的远程控制和管理。4. The on-site calibration device of the electric energy meter of the present invention can also be equipped with a communication module, and the remote control and management of the on-site calibration device of the electric energy meter can be realized by the power metering management department through the communication module.
附图说明Description of drawings
图1为本发明流程图;Fig. 1 is a flowchart of the present invention;
图2为本发明深度学习算法流程图;Fig. 2 is a flowchart of the deep learning algorithm of the present invention;
图3为本发明结构图。Fig. 3 is a structural diagram of the present invention.
具体实施方式Detailed ways
下面结合附图和具体实施方式,进一步阐明本发明,应理解下述具体实施方式仅用于说明本发明而不用于限制本发明的范围。需要说明的是,下面描述中使用的词语“前”、“后”、“左”、“右”、“上”和“下”指的是附图中的方向,词语“内”和“外”分别指的是朝向或远离特定部件几何中心的方向。The present invention will be further explained below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the following specific embodiments are only used to illustrate the present invention and are not intended to limit the scope of the present invention. It should be noted that the words "front", "rear", "left", "right", "upper" and "lower" used in the following description refer to the directions in the drawings, and the words "inner" and "outer ” refer to directions towards or away from the geometric center of a particular part, respectively.
实施例1,根据图1-图3作进一步解释说明。Embodiment 1, further explanation will be made according to Fig. 1-Fig. 3 .
本发明提供一种基于卫星高低轨系统授时的电能表现场校准方法,实现了高低轨卫星间通信授时的准确度,提高了电能表的校正准确度;包括如下步骤:The invention provides a field calibration method for an electric energy meter based on satellite high and low orbit system timing, which realizes the accuracy of communication timing between high and low orbit satellites, and improves the correction accuracy of the electric energy meter; it includes the following steps:
S1,设定由多个高轨卫星和N个低轨卫星所组成的导航系统;S1, setting a navigation system composed of multiple high-orbit satellites and N low-orbit satellites;
S2,卫星导航系统中的低轨卫星采集并接收各自覆盖面积内的电能表校准的事件申请信息并上报给高轨卫星;S2, the low-orbit satellites in the satellite navigation system collect and receive the event application information of the calibration of the electric energy meter in their respective coverage areas and report to the high-orbit satellites;
S3,卫星导航系统中的高轨卫星的授时模块根据深度学习方法建立时钟信号决策模型并计算得出时钟信号的最优值;S3, the timing module of the high-orbit satellite in the satellite navigation system establishes a clock signal decision-making model according to the deep learning method and calculates the optimal value of the clock signal;
S4,地面电能场现场校正装置根据卫星高低轨系统的授时完成电能表校准。S4, the on-site calibration device of the ground electric energy field completes the calibration of the electric energy meter according to the timing of the satellite high and low orbit system.
作为本发明的一种具体实施方式,包括电能表电压计量回路、电能表电流计量回路,它还包括单相/三相标准交流信号源、电压-频率转换模块、处理模块和卫星高低轨系统授时模块。As a specific embodiment of the present invention, it includes the electric energy meter voltage metering circuit, the electric energy meter current metering circuit, and it also includes a single-phase/three-phase standard AC signal source, a voltage-frequency conversion module, a processing module and satellite high and low orbit system timing module.
作为本发明的一种具体实施方式,单相/三相标准交流信号源在处理模块的控制下产生符合落地国要求的单相、三相三线或三相四线制的交流信号源,单相/三相标准交流信号源输出三路电压交流信号和三路电流交流信号,其输出的电压交流信号和电流交流信号分别与电能表电压计量回路、电能表电流计量回路连接,其输出的电压交流信号和电流交流信号还分别与电压-频率转换模块连接。电能表电压计量回路、电能表电流计量回路分别对电压交流信号和电流交流信号进行电参数计量,并将计量的电参数结果发送给处理模块。As a specific embodiment of the present invention, the single-phase/three-phase standard AC signal source generates a single-phase, three-phase three-wire or three-phase four-wire AC signal source that meets the requirements of the landing country under the control of the processing module. /The three-phase standard AC signal source outputs three voltage AC signals and three current AC signals, and the output voltage AC signals and current AC signals are respectively connected to the voltage measurement circuit of the electric energy meter and the current measurement circuit of the electric energy meter, and the output voltage AC signal The signal and the current AC signal are also respectively connected to the voltage-frequency conversion module. The voltage measurement circuit of the electric energy meter and the current measurement circuit of the electric energy meter measure the electrical parameters of the voltage AC signal and the current AC signal respectively, and send the measured electrical parameter results to the processing module.
作为本发明的一种具体实施方式,所述卫星高低轨系统授时模块特征是:建立深度学习授时决策模型,其过程为:As a specific embodiment of the present invention, the satellite high and low orbit system timing module is characterized by: establishing a deep learning timing decision model, the process of which is:
将正在处理的授时任务的状态空间的集合设为S,集合中的每个状态s∈S;执行授时过程所有可设置的参数值用参数向量A表示,在某一时刻设置的参数值a∈A,其中a0=(N0,C0,L0,B0,F0,D0,P0,E0),根据a0变化到a1,授时任务的状态也从s0变化到s1;每一个状态变化设定一个即时评价函数R,即a0对应s0同时对应r0,a1对应s1同时对应r1,状态一直转移下去;Set the set of the state space of the timing task being processed as S, and each state in the set is s∈S; all the parameter values that can be set during the execution of the timing process are represented by parameter vector A, and the parameter value a∈ set at a certain moment A, where a 0 = (N 0 , C 0 , L 0 , B 0 , F 0 , D 0 , P 0 , E 0 ), according to the change from a 0 to a 1 , the state of the timing task also changes from s 0 to s 1 ; set a real-time evaluation function R for each state change, that is, a 0 corresponds to s 0 and r 0 at the same time, a 1 corresponds to s 1 and r 1 at the same time, and the state keeps shifting;
其中,即时评价函数r为: Among them, the instant evaluation function r is:
其中,授时训练过程成功获得最大优先级,获得最大评价值100,表明授时成功,则训练一轮结束;如果未能获得最大优先级,则训练评价值为1;如果未能分配优先级,则训练评价值为0;Among them, the timing training process successfully obtains the maximum priority and obtains the maximum evaluation value of 100, indicating that the timing is successful, and the training round ends; if the maximum priority cannot be obtained, the training evaluation value is 1; if the priority cannot be assigned, then The training evaluation value is 0;
授时任务根据高轨卫星授时历史记录数据进行深度学习计算,得到参数设置策略π,在这个策略每一次执行下,参数设置都会趋近于最优参数;设函数Q为最优参数函数,T为强化学习执行的步骤数,则有:The timing task is based on the deep learning calculation of the high-orbit satellite timing historical record data, and the parameter setting strategy π is obtained. In each execution of this strategy, the parameter setting will approach the optimal parameter; let the function Q be the optimal parameter function, and T be The number of steps performed by reinforcement learning is:
作为本发明的一种具体实施方式,计算得出卫星授时的最优优先级的过程为:As a specific embodiment of the present invention, the process of calculating the optimal priority of satellite timing is:
将卫星授时模块中的所有历史记录数据设定为训练样本,每个样本都由(st,at,rt,st+1)1表示,并设定一个阈值θ评价样本数量符合训练要求;Set all the historical record data in the satellite timing module as training samples, each sample is represented by (st t ,a t ,r t ,s t+1 ) 1 , and set a threshold θ to evaluate the number of samples in line with the training Require;
对于每个样本,计算Q(st+1,a)值,并选取参数集合a对应的最优评价值argmaxQt(s',a';θi),其中θi表示第i次计算的阈值θ;For each sample, calculate the Q(s t+1 ,a) value, and select the optimal evaluation value argmaxQ t (s',a'; θ i ) corresponding to the parameter set a, where θ i represents the i-th calculated Threshold θ;
对每次强化学习的Q函数进行迭代计算,设β为迭代损耗系数,设α为学习率,则有:Iteratively calculate the Q function of each reinforcement learning, let β be the iterative loss coefficient, and let α be the learning rate, then:
Qt+1(s,a)=Qt(s,a;θ)+α(r+γarg max Qt(s,a;θt)-Qt(s,a;θ));Qt +1 (s,a)= Qt (s,a;θ)+α(r+γarg max Qt (s,a; θt ) -Qt (s,a;θ));
每次迭代完成计算两次迭代之间的差异函数,LOSS=(Qt+1(s,a)-Qt(s,a))2并通过梯度下降算法更新最优值,此时为一次学习过程结束,并记录学习次数+1;Each iteration completes the calculation of the difference function between two iterations, LOSS=(Q t+1 (s,a)-Q t (s,a)) 2 and updates the optimal value through the gradient descent algorithm, which is once The learning process is over, and the number of learning +1 is recorded;
判断状态st+1是否存在授时网络通信不畅的情况,如果是,则停止本次训练,并跳转下一状态重新开始训练,并更新状态st=st+1,继续重复上述过程,并最终得到最优解。Judging whether there is poor communication in the timing network in state s t+1 , if so, stop this training, and jump to the next state to restart training, and update state s t = s t+1 , continue to repeat the above process , and finally get the optimal solution.
作为本发明的一种具体实施方式,所述根据卫星资源分配的最优值进行卫星网络资源分配的过程为:As a specific embodiment of the present invention, the process of allocating satellite network resources according to the optimal value of satellite resource allocation is as follows:
根据最优解,卫星授时模块从卫星导航系统接收授时信号并提取出时钟信号,卫星授时模块的输出分别与标准信号源、电压-频率转换模块和处理模块的时钟输入连接,为标准信号源、电压-频率转换模块和处理模块提供时钟基准。According to the optimal solution, the satellite timing module receives the timing signal from the satellite navigation system and extracts the clock signal. The output of the satellite timing module is respectively connected to the standard signal source, the voltage-frequency conversion module and the clock input of the processing module, which are the standard signal source, A voltage-to-frequency conversion block and a processing block provide the clock reference.
作为本发明的一种具体实施方式,现场校准方法的特征为:As a specific embodiment of the present invention, the on-site calibration method is characterized by:
处理模块通过通讯总线与待校准电能表连接,处理模块的校准命令及电参数的获取均通过通讯总线进行交互,处理模块的电能脉冲输入与待校准电能表的电能脉冲输出连接,处理模块控制单相/三相标准交流信号源产生交流信号源。处理模块根据卫星授时模块输出的时钟信号对电压-频率转换模块输出的频率信号进行定时采样,并根据采样结果对单相/三相标准交流信号源输出的电压信号、电流信号进行电参数计量。处理模块将其计量的电参数与待校准电能表计量的电参数进行比较计算出该待校准电能表的计量误差,并根据该计量误差对待校准电能表进行校准。The processing module is connected with the electric energy meter to be calibrated through the communication bus. The calibration command and the acquisition of electric parameters of the processing module interact through the communication bus. The electric energy pulse input of the processing module is connected with the electric energy pulse output of the electric energy meter to be calibrated. The processing module control unit Phase/three-phase standard AC signal source produces an AC signal source. The processing module samples the frequency signal output by the voltage-frequency conversion module regularly according to the clock signal output by the satellite timing module, and measures the electrical parameters of the voltage signal and current signal output by the single-phase/three-phase standard AC signal source according to the sampling result. The processing module compares the measured electrical parameters with the electrical parameters measured by the electric energy meter to be calibrated to calculate the measurement error of the electric energy meter to be calibrated, and calibrates the electric energy meter to be calibrated according to the measurement error.
所述的电参数比对模块接收待校准电能表对标准信号进行电参数测量所得的电参数测量数据,并将其与电参数测量模块所得的电参数测量数据进行比较,即计算出待校准电能表的计量误差。所述的校准控制信号产生模块根据该计量误差通过控制端向待校准电能表发出校准指令,对待校准电能表进行校准。所述的卫星授时模块由卫星授时处理电路和高稳恒温晶振电路组成,根据卫星授时时间和高稳恒温晶振之间的时差,采用驯服算法,实时调整高稳恒温晶振的时钟精度,保证提供给单相/三相标准交流信号源、电压-频率转换模块和处理模块的时钟信号始终保持高精度和时钟的可溯源。The electrical parameter comparison module receives the electrical parameter measurement data obtained by the electrical parameter measurement of the standard signal by the electrical energy meter to be calibrated, and compares it with the electrical parameter measurement data obtained by the electrical parameter measurement module, that is, calculates the electrical energy to be calibrated Table measurement error. The calibration control signal generating module sends a calibration instruction to the electric energy meter to be calibrated through the control terminal according to the measurement error, and calibrates the electric energy meter to be calibrated. The satellite timing module is composed of a satellite timing processing circuit and a high-stable constant-temperature crystal oscillator circuit. According to the time difference between the satellite timing time and the high-stable constant-temperature crystal oscillator, a taming algorithm is adopted to adjust the clock accuracy of the high-stable constant-temperature crystal oscillator in real time to ensure that it is provided to The clock signals of single-phase/three-phase standard AC signal sources, voltage-frequency conversion modules and processing modules always maintain high precision and traceable clock sources.
作为本发明的一种具体实施方式,所述的卫星授时模块包括GPS卫星授时模块、北斗卫星授时模块、GLONASS卫星授时模块和伽利略卫星授时模块中的任意一种或多种的组合。As a specific embodiment of the present invention, the satellite timing module includes any one or combination of GPS satellite timing module, Beidou satellite timing module, GLONASS satellite timing module and Galileo satellite timing module.
以上所述的具体实施方式,对本发明的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本发明的具体实施方式而已,并不用于限制本发明,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The specific embodiments described above have further described the purpose, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above descriptions are only specific embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310525212.0A CN116559767A (en) | 2023-05-11 | 2023-05-11 | A Field Calibration Method of Electric Energy Meter Based on Satellite High and Low Orbit System Timing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310525212.0A CN116559767A (en) | 2023-05-11 | 2023-05-11 | A Field Calibration Method of Electric Energy Meter Based on Satellite High and Low Orbit System Timing |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116559767A true CN116559767A (en) | 2023-08-08 |
Family
ID=87492667
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310525212.0A Withdrawn CN116559767A (en) | 2023-05-11 | 2023-05-11 | A Field Calibration Method of Electric Energy Meter Based on Satellite High and Low Orbit System Timing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116559767A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104330765A (en) * | 2014-11-12 | 2015-02-04 | 成都天兴电气有限公司 | Satellite navigation system based electric-energy-meter field calibration device |
CN104991221A (en) * | 2015-07-07 | 2015-10-21 | 国家电网公司 | Device and detection method for calibrating metering device in distributed substation |
CN113824489A (en) * | 2021-11-22 | 2021-12-21 | 凯睿星通信息科技(南京)股份有限公司 | Satellite network resource dynamic allocation method, system and device based on deep learning |
CN114499629A (en) * | 2021-12-24 | 2022-05-13 | 南京邮电大学 | Dynamic resource allocation method for beam hopping satellite system based on deep reinforcement learning |
-
2023
- 2023-05-11 CN CN202310525212.0A patent/CN116559767A/en not_active Withdrawn
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104330765A (en) * | 2014-11-12 | 2015-02-04 | 成都天兴电气有限公司 | Satellite navigation system based electric-energy-meter field calibration device |
CN104991221A (en) * | 2015-07-07 | 2015-10-21 | 国家电网公司 | Device and detection method for calibrating metering device in distributed substation |
CN113824489A (en) * | 2021-11-22 | 2021-12-21 | 凯睿星通信息科技(南京)股份有限公司 | Satellite network resource dynamic allocation method, system and device based on deep learning |
CN114499629A (en) * | 2021-12-24 | 2022-05-13 | 南京邮电大学 | Dynamic resource allocation method for beam hopping satellite system based on deep reinforcement learning |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104330765B (en) | Electric energy meter field calibrating installation based on satellite navigation system | |
CN202196119U (en) | Single-phase multifunctional electric energy metering circuit | |
US20200309829A1 (en) | On-line monitoring system for the performance of the measurement equipment in the entire power grid based on wide-area synchronous measurement | |
CN108801141B (en) | Intelligent debugging and calibrating system for ultrahigh-voltage isolating switch based on laser measurement technology | |
CN104062625A (en) | Digital electric energy metering device calibration equipment and method thereof | |
CN102928810A (en) | System and method for evaluating accuracy of digital electric energy meter | |
CN203930043U (en) | A kind of digitalized electric energy measuring apparatus correcting device | |
CN115792776A (en) | Remote calibration system and method for alternating current voltage source | |
CN110990505B (en) | A Loran-C ASF Correction Method Based on Neural Network | |
CN203069774U (en) | System for evaluating accuracy of digital electric energy meter | |
CN103885438A (en) | Automatic test system and method for transformer substation measurement and control device | |
CN108132455A (en) | Global error check system based on combining unit | |
Adamo et al. | Channel characterization of an open source energy meter | |
CN116819425A (en) | Charging pile remote calibration system and calibration method | |
CN113569201A (en) | Geomagnetic Ap index forecasting method and device and electronic equipment | |
WO2024187507A1 (en) | Power distribution network topology identification method and apparatus, device and medium | |
CN104007410A (en) | Digital electric energy meter verifying device | |
CN102591211B (en) | Synchronous simulation control system | |
CN202330589U (en) | High-precision multi-mode low-voltage load power characteristic recording meter | |
CN110736957A (en) | Online detection system and method for electric energy metering device based on clock synchronization | |
CN116559767A (en) | A Field Calibration Method of Electric Energy Meter Based on Satellite High and Low Orbit System Timing | |
CN107046285A (en) | A method for state assessment of distribution network based on hybrid measurement | |
CN114925973A (en) | Power grid running state obtaining method and system based on multi-source data integration | |
CN220933181U (en) | Remote calibration system for electric quantity metering chip of charging pile | |
CN105427123A (en) | An electricity bill calculation system and method based on multiple settlement entities |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20230808 |