CN111314006A - A Time-Delay Curve Fitting Method Based on Data Transmission Without Time-Scale Out-of-limit Data - Google Patents
A Time-Delay Curve Fitting Method Based on Data Transmission Without Time-Scale Out-of-limit Data Download PDFInfo
- Publication number
- CN111314006A CN111314006A CN201911233192.XA CN201911233192A CN111314006A CN 111314006 A CN111314006 A CN 111314006A CN 201911233192 A CN201911233192 A CN 201911233192A CN 111314006 A CN111314006 A CN 111314006A
- Authority
- CN
- China
- Prior art keywords
- clock
- curve
- time
- master
- station
- 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
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 12
- 238000000034 method Methods 0.000 title claims abstract description 9
- 238000010248 power generation Methods 0.000 claims abstract 4
- 230000001360 synchronised effect Effects 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 3
- 239000011159 matrix material Substances 0.000 description 3
- 238000005259 measurement Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000007405 data analysis Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/02—Details
- H04J3/06—Synchronising arrangements
- H04J3/0635—Clock or time synchronisation in a network
- H04J3/0638—Clock or time synchronisation among nodes; Internode synchronisation
- H04J3/0658—Clock or time synchronisation among packet nodes
- H04J3/0661—Clock or time synchronisation among packet nodes using timestamps
- H04J3/0667—Bidirectional timestamps, e.g. NTP or PTP for compensation of clock drift and for compensation of propagation delays
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/02—Details
- H04J3/06—Synchronising arrangements
- H04J3/0635—Clock or time synchronisation in a network
- H04J3/0682—Clock or time synchronisation in a network by delay compensation, e.g. by compensation of propagation delay or variations thereof, by ranging
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/02—Details
- H04J3/06—Synchronising arrangements
- H04J3/0635—Clock or time synchronisation in a network
- H04J3/0638—Clock or time synchronisation among nodes; Internode synchronisation
- H04J3/0644—External master-clock
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Remote Monitoring And Control Of Power-Distribution Networks (AREA)
- Supply And Distribution Of Alternating Current (AREA)
Abstract
Description
技术领域technical field
本发明涉及一种基于无时标越限数据传送的时间延时曲线拟合方法,特别涉及发电厂与变电站间、变电站与变电站间的基于无时标越限数据传送的时间延时曲线拟合方法。The invention relates to a time-delay curve fitting method based on data transmission without time-scale overrun, in particular to a time-delay curve fitting between power plants and substations and between substations and substations based on time-scale overrun data transmission method.
背景技术Background technique
随着计算机技术、云计算技术和大数据分析技术的发展和广泛应用,更多基于电网大数据的高级应用对发电厂与变电站间、以及变电站之间数据的同步性和同步稳定性提出了更高要求。With the development and wide application of computer technology, cloud computing technology and big data analysis technology, more advanced applications based on power grid big data have proposed more advanced applications for the synchronization and synchronization stability of data between power plants and substations, as well as between substations. high demands.
然而,由于目前变电站建设初期,对全站时间同步系统考虑不够全面,使变电站内同时存在多套对时系统,多个时钟源完成站内设备的时间同步,这样由于不同授时设备同步精度的差异,造成了站内不同设备时间同步精度不同,报文时间标志也不同,使调度端对各变电站上送数据的可用性降低。因此,如何提高发电厂和变电站数据同步可靠性,成为变电站数据可靠性的关键环节。However, due to the lack of comprehensive consideration of the total station time synchronization system in the initial stage of the construction of the substation, there are multiple time synchronization systems in the substation at the same time, and multiple clock sources complete the time synchronization of the equipment in the station. As a result, the time synchronization precision of different devices in the station is different, and the message time stamp is also different, which reduces the availability of the data sent by the dispatcher to each substation. Therefore, how to improve the reliability of data synchronization between power plants and substations has become a key link in the reliability of substation data.
发明内容SUMMARY OF THE INVENTION
本发明要解决的技术问题是提供一种基于无时标越限数据传送的时间延时曲线拟合方法,提高发电厂和变电站数据同步可靠性,以确保变发电厂对电站数据的可用性。The technical problem to be solved by the present invention is to provide a time-delay curve fitting method based on data transmission without time scale overrun to improve the synchronization reliability of power plant and substation data to ensure the availability of power station data from the substation.
本发明的技术方案是:The technical scheme of the present invention is:
一种基于无时标越限数据传送的时间延时曲线拟合方法,其特征是:A time-delay curve fitting method based on data transmission without time-scale and out-of-limit data, characterized in that:
具体步骤如下:Specific steps are as follows:
步骤1IEEE1588同步协议确定动态延时曲线Step 1: IEEE1588 synchronization protocol to determine dynamic delay curve
发电厂时钟为主站主时钟、变电站时钟为厂站从时钟,假设主站主时钟、厂站从时钟间偏差恒定、传输路径对称,则The clock of the power plant is the master clock of the master station, and the clock of the substation is the slave clock of the factory station.
t1+Delay=t2+Offset (1)t1+Delay=t2+Offset (1)
t4=t3+Offset+Delay (2)t4=t3+Offset+Delay (2)
其中,t1代表主站主时钟发出指令时刻,t2代表厂站从时钟接收到t1发出的指令指令时刻。;Among them, t1 represents the time when the master clock of the master station sends out the command, and t2 represents the time when the factory station receives the command command issued by t1 from the clock. ;
t3代表厂站从时钟发出指令时刻,t4代表主站主时钟接收到t3发出的指令时刻;t3 represents the time when the factory station sends the command from the clock, t4 represents the time when the master clock of the master station receives the command from t3;
Delay表示报文传输的网络延时,Offset表示主时钟与从时钟的偏差;Delay represents the network delay of packet transmission, and Offset represents the deviation between the master clock and the slave clock;
由式(1)和式(2)可以得到:From formula (1) and formula (2), we can get:
Delay=(t2-t1)+(t4-t3)/2 (3)Delay=(t2-t1)+(t4-t3)/2 (3)
Offset=(t4-t3)-(t2-t1)/2 (4)Offset=(t4-t3)-(t2-t1)/2 (4)
得到了从时钟与主时钟间的偏差Offset,记为Δt,在不同时刻,主时钟与从时钟偏差Δt的坐标点形成散点分布;The deviation Offset between the slave clock and the master clock is obtained, which is recorded as Δt. At different times, the coordinate points of the master clock and the slave clock deviation Δt form a scatter distribution;
步骤2同步有功负荷Step 2 Synchronize Active Loads
根据主时钟与从时钟偏差Δt的坐标点形成散点分布,将变电站与发电厂之间传输的有功负荷散点分布情况,推算出变电站从时钟与发电站主时钟同步的有功负荷散点分布,再由曲线拟合获得有功负荷曲线;According to the scatter distribution of the coordinate points of the deviation Δt between the master clock and the slave clock, the scatter point distribution of the active load transmitted between the substation and the power plant is calculated to calculate the scatter point distribution of the active load synchronous between the slave clock of the substation and the master clock of the power station, Then the active load curve is obtained by curve fitting;
步骤3曲线拟合Step 3 Curve Fitting
假设给定数据点(xi,yi)(i=0,1,...,m),xi代表时间t,yi代表有功负荷P;Assuming given data points (x i , y i ) (i=0, 1, . . . , m), x i represents time t, and y i represents active load P;
根据给定的m个点,并不要求这条曲线精确地经过这些点,而是曲线y=f(x)的近似曲线y=p(x);According to the given m points, the curve is not required to pass through these points exactly, but the approximate curve y=p(x) of the curve y=f(x);
求近似曲线使得近似曲线p(x)在点i处的偏差I最小,即find approximate curve Make the deviation I of the approximate curve p(x) at the point i the smallest, that is
即which is
求得式(7)中a0,a1,...an的多元函数,获得I=I(a0,a1,...an)的极值,得出最小二乘法多项式拟合曲线,即有功负荷拟合曲线。Obtain the multivariate functions of a 0 , a 1 ,...an in equation (7), obtain the extreme value of I=I(a 0 , a 1 ,...an ) , and obtain the least squares polynomial fitting The resultant curve is the active load fitting curve.
本发明的有益效果:Beneficial effects of the present invention:
根据主时钟与从时钟偏差Δt的坐标点形成散点分布,将变电站与发电厂之间传输的有功负荷散点分布情况,推算出变电站从时钟与发电站主时钟同步的有功负荷散点分布,同步精度满足要求,再由曲线拟合获得有功负荷曲线,提高发电厂和变电站数据同步可靠性,以确保变发电厂对电站数据的可用性,为智能电网可靠运行提供保障。According to the scatter distribution of the coordinate points of the deviation Δt between the master clock and the slave clock, the scatter point distribution of the active load transmitted between the substation and the power plant is calculated to calculate the scatter point distribution of the active load synchronous between the slave clock of the substation and the master clock of the power station, The synchronization accuracy meets the requirements, and then the active load curve is obtained by curve fitting to improve the synchronization reliability of the power plant and substation data, to ensure the availability of the substation data to the power station, and to provide a guarantee for the reliable operation of the smart grid.
附图说明Description of drawings
图1是本发明实施例的A站的时钟偏差Δt散点分布图;FIG. 1 is a scatter diagram of clock deviation Δt of station A according to an embodiment of the present invention;
图2的B站的时钟偏差Δt散点分布图;The clock deviation Δt scatter distribution diagram of station B in Fig. 2;
图3是本发明实施例A站有功负荷散点分布图;Fig. 3 is the scatter point distribution diagram of active load of station A according to the embodiment of the present invention;
图4是本发明实施例B站有功负荷散点分布图;Fig. 4 is the active load scatter point distribution diagram of station B according to the embodiment of the present invention;
图5是图3中A站前移Δt后有功负荷散点分布图;Fig. 5 is a scatter diagram of active load after station A is moved forward by Δt in Fig. 3;
图6是图4中B站前移Δt后有功负荷散点分布图;Fig. 6 is a scatter diagram of active load after station B in Fig. 4 is moved forward by Δt;
图7是图5中有功负荷散点分布拟合后所得有功负荷曲线图;Fig. 7 is a graph of active load obtained after fitting the scatter point distribution of active load in Fig. 5;
图8是图6中有功负荷散点分布拟合后所得有功负荷曲线图。FIG. 8 is a graph of the active load obtained after fitting the scatter point distribution of the active load in FIG. 6 .
具体实施方式Detailed ways
实施例Example
假设某区域内含发电站(A站)和220kV变电站(B站),假定发电站和变电站内有主变1台,220kV出线1回。为保证两站的独立性,各站配置独立的间隔交换机,同时满足系统双重化冗余设计要求。220kV线路间隔通过1台合并单元和1台智能单元实现220kV线路保护和测控功能,220kV母联间隔采集本间隔和母线PT间隔的数字量和状态量实现220kV母联保护测控功能,母差保护IED跨间隔采集信息实现220kV母差保护功能。A站和B站两站间的有功负荷和Δt的采集如表1所示,其中时钟偏差Δt计算方式如下:It is assumed that a power station (station A) and a 220kV substation (station B) are included in a certain area. It is assumed that there is one main transformer in the power station and substation, and one 220kV outlet. In order to ensure the independence of the two stations, each station is equipped with an independent interval switch, and at the same time meets the requirements of the dual redundant design of the system. The 220kV line interval realizes the 220kV line protection and measurement and control functions through a merging unit and an intelligent unit. The 220kV bus tie interval collects the digital quantity and state quantity of the interval and the bus PT interval to realize the 220kV bus tie protection measurement and control function, and the bus difference protection IED Collect information across intervals to realize 220kV bus differential protection function. The collection of active load and Δt between station A and station B is shown in Table 1, where the clock deviation Δt is calculated as follows:
Delay=(t2-t1)+(t4-t3)/2 (1)Delay=(t2-t1)+(t4-t3)/2 (1)
offset=(t4-t3)-(t2-t1)/2 (2)offset=(t4-t3)-(t2-t1)/2 (2)
t1代表主站主时钟发出指令时刻,t2代表厂站从时钟接收到t1发出的指令指令时刻。;t1 represents the time when the master clock of the master station sends an instruction, and t2 represents the time when the factory station receives the instruction command issued by t1 from the clock. ;
t3代表厂站从时钟发出指令时刻,t4代表主站主时钟接收到t3发出的指令时刻;t3 represents the time when the factory station sends the command from the clock, t4 represents the time when the master clock of the master station receives the command from t3;
得到了从时钟与主时钟间的偏差Offset,记为Δt,在不同时刻,主时钟与从时钟偏差Δt的坐标点形成散点分布,如图1、图2所示(横坐标为t,单位:s);The deviation Offset between the slave clock and the master clock is obtained, which is recorded as Δt. At different times, the coordinate points of the master clock and the slave clock deviation Δt form a scatter distribution, as shown in Figure 1 and Figure 2 (the abscissa is t, the unit is t). :s);
表1有功负荷和Δt(单位:μs)的采集表Table 1 Collection table of active load and Δt (unit: μs)
根据主时钟与从时钟偏差Δt的坐标点形成散点分布,将变电站与发电厂之间传输的有功负荷散点分布情况(如图3、图4(横坐标为t,单位:s)),推算出变电站从时钟与发电站主时钟同步的有功负荷散点分布(如图5、图6(横坐标为t,单位:s)),再由曲线拟合获得有功负荷曲线;According to the coordinate points of the master clock and the slave clock deviation Δt, the scatter distribution is formed, and the active load transmission between the substation and the power plant is scattered (as shown in Figure 3 and Figure 4 (the abscissa is t, unit: s)), Calculate the active load scatter point distribution of the substation slave clock synchronized with the power station master clock (as shown in Figure 5 and Figure 6 (the abscissa is t, unit: s)), and then obtain the active load curve by curve fitting;
曲线拟合具体步骤如下:The specific steps of curve fitting are as follows:
假设给定数据点(xi,yi)(i=0,1,...,m),xi代表时间t,yi代表有功负荷P;Assuming given data points (x i , y i ) (i=0, 1, . . . , m), x i represents time t, and y i represents active load P;
根据给定的m个点,并不要求这条曲线精确地经过这些点,而是曲线y=f(x)的近似曲线y=p(x);According to the given m points, the curve is not required to pass through these points exactly, but the approximate curve y=p(x) of the curve y=f(x);
求近似曲线使得近似曲线p(x)在点i处的偏差I最小,即find approximate curve Make the deviation I of the approximate curve p(x) at the point i the smallest, that is
即which is
求得式(4)中a0,a1,...an的多元函数,获得I=I(a0,a1,...an)的极值;Obtain the multivariate functions of a 0 , a 1 , ...an in formula (4), and obtain the extreme value of I=I(a 0 , a 1 , ... an ) ;
为了求得符合条件的a值,对等式右边求ai偏导数;是关于a0,a1,...an的线性方程组,用矩阵表示为:In order to find the value of a that meets the conditions, find the partial derivative of a i on the right side of the equation; it is a system of linear equations about a 0 , a 1 , ... a n , which is represented by a matrix as:
方程组(5)的系数矩阵是一个对称正定矩阵,故存在唯一解;从式中出ak(k=0,1,...,n),从而可得多项式最小二乘法多项式拟合曲线,即有功负荷拟合曲线,如图7和图8所示(横坐标为t,单位:s)。The coefficient matrix of the equation system (5) is a symmetric positive definite matrix, so there is a unique solution; from the formula a k (k = 0, 1, ..., n) can be obtained, so that the polynomial can be obtained The least squares polynomial fitting curve, that is, the active load fitting curve, is shown in Figure 7 and Figure 8 (the abscissa is t, unit: s).
以上仅为本发明的具体实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above are only specific embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911233192.XA CN111314006B (en) | 2019-12-05 | 2019-12-05 | Time delay curve fitting method based on non-time-scale out-of-limit data transmission |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911233192.XA CN111314006B (en) | 2019-12-05 | 2019-12-05 | Time delay curve fitting method based on non-time-scale out-of-limit data transmission |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111314006A true CN111314006A (en) | 2020-06-19 |
CN111314006B CN111314006B (en) | 2022-01-28 |
Family
ID=71150640
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911233192.XA Active CN111314006B (en) | 2019-12-05 | 2019-12-05 | Time delay curve fitting method based on non-time-scale out-of-limit data transmission |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111314006B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112083713A (en) * | 2020-09-24 | 2020-12-15 | 国网辽宁省电力有限公司葫芦岛供电公司 | Timing correction check control method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100094574A1 (en) * | 2008-10-10 | 2010-04-15 | Guangyu He | Method for state estimation based on the measured data of the data-acquisition system in power system |
CN103763052A (en) * | 2014-02-18 | 2014-04-30 | 中国科学院国家天文台长春人造卫星观测站 | Method and device for measuring time deviation of forwarding type track measuring system |
CN103984305A (en) * | 2014-05-06 | 2014-08-13 | 国网吉林省电力有限公司 | Method for evaluating clock state of power grid automation equipment based on data statistic analysis |
CN109829613A (en) * | 2018-12-26 | 2019-05-31 | 国网山东省电力公司淄博供电公司 | A kind of power distribution network multiple time scale model method for estimating state and system |
-
2019
- 2019-12-05 CN CN201911233192.XA patent/CN111314006B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100094574A1 (en) * | 2008-10-10 | 2010-04-15 | Guangyu He | Method for state estimation based on the measured data of the data-acquisition system in power system |
CN103763052A (en) * | 2014-02-18 | 2014-04-30 | 中国科学院国家天文台长春人造卫星观测站 | Method and device for measuring time deviation of forwarding type track measuring system |
CN103984305A (en) * | 2014-05-06 | 2014-08-13 | 国网吉林省电力有限公司 | Method for evaluating clock state of power grid automation equipment based on data statistic analysis |
CN109829613A (en) * | 2018-12-26 | 2019-05-31 | 国网山东省电力公司淄博供电公司 | A kind of power distribution network multiple time scale model method for estimating state and system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112083713A (en) * | 2020-09-24 | 2020-12-15 | 国网辽宁省电力有限公司葫芦岛供电公司 | Timing correction check control method |
CN112083713B (en) * | 2020-09-24 | 2023-12-15 | 国网辽宁省电力有限公司葫芦岛供电公司 | Timing correction verification control method |
Also Published As
Publication number | Publication date |
---|---|
CN111314006B (en) | 2022-01-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Hasan et al. | A novel artificial intelligence based timing synchronization scheme for smart grid applications | |
CN111211856B (en) | Wired seismometer time synchronization system and method based on WR protocol | |
CN103605023A (en) | Method and device for measuring merging unit time characteristics | |
CN110492965A (en) | The method and apparatus of serial message clock synchronization in a kind of master-slave system | |
CN103036216A (en) | System and clock synchronization method applied to intelligentized converting station digitization busbar differential protection | |
CN111221794A (en) | Multi-source data fusion method for wide area measurement and control system of distribution network | |
CN111314006A (en) | A Time-Delay Curve Fitting Method Based on Data Transmission Without Time-Scale Out-of-limit Data | |
CN105553593A (en) | SDH (Synchronous Digital Hierarchy)-based multi-time source PTP (Precision Time Protocol) data synchronization and time monitoring system | |
CN109450583A (en) | A kind of high-accuracy network clock synchronization synchronous method based on Machine self-learning | |
CN103812731B (en) | Digitization sampling time delay frequency conversion measuring method and measuring system | |
CN103698636B (en) | A kind of method of relay-protection tester parallel synchronous test | |
Ridwan et al. | Review of digital substation equipment and technical specification in Indonesia | |
CN112671491B (en) | A method and device for compensating transmission delay of DC B code | |
CN102420667A (en) | System and implementation method of time synchronization network based on synchronous digital hierarchy (SDH) | |
CN111211855B (en) | Mixed clock synchronization method for distributed processing system | |
CN103412843B (en) | Based on step-length control method and the device of electric system and communication system combined simulation | |
CN210780829U (en) | Wired seismograph time synchronization system based on WR protocol | |
CN112327047B (en) | Method for realizing power same-section data measurement in transformer substation | |
CN116244901A (en) | Electric power system model joint simulation method based on synchronous phasor measurement device | |
CN107809106B (en) | A device and method for synchronously processing voltage and current data for distribution network protection measurement and control | |
CN103427976A (en) | High-precision time synchronization method for distributed optical fibers | |
CN103823884B (en) | Maintenance right-based loose consistency synchronization method for grid calculating data | |
Chavan et al. | Implementation of fpga-based network synchronization using ieee 1588 precision time protocol (ptp) | |
CN103078698B (en) | A kind of channel delay compensation method | |
Fletcher et al. | Smart clocks have a hand in the smart grid |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |