CN114759558A - Non-invasive online rapid detection method for charging load of electric bicycle - Google Patents
Non-invasive online rapid detection method for charging load of electric bicycle Download PDFInfo
- Publication number
- CN114759558A CN114759558A CN202210539784.XA CN202210539784A CN114759558A CN 114759558 A CN114759558 A CN 114759558A CN 202210539784 A CN202210539784 A CN 202210539784A CN 114759558 A CN114759558 A CN 114759558A
- Authority
- CN
- China
- Prior art keywords
- electric bicycle
- reactive power
- differential signal
- active power
- load
- 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
Images
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J3/00—Circuit arrangements for AC mains or AC distribution networks
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J2203/00—Indexing scheme relating to details of circuit arrangements for AC mains or AC distribution networks
- H02J2203/10—Power transmission or distribution systems management focussing at grid-level, e.g. load flow analysis, node profile computation, meshed network optimisation, active network management or spinning reserve management
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J2203/00—Indexing scheme relating to details of circuit arrangements for AC mains or AC distribution networks
- H02J2203/20—Simulating, e g planning, reliability check, modelling or computer assisted design [CAD]
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J2310/00—The network for supplying or distributing electric power characterised by its spatial reach or by the load
- H02J2310/70—Load identification
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
Description
技术领域technical field
本发明涉及电动自行车充电负荷监测领域,具体涉及基于局部特征的非侵入式电动自行车充电负荷在线快速检测方法。The invention relates to the field of electric bicycle charging load monitoring, in particular to a non-invasive online fast detection method of electric bicycle charging load based on local features.
背景技术Background technique
在“双碳”战略目标统一部署下,清洁电能替代已成为摆脱化石能源依赖的重要方法。在交通领域,我国新能源汽车和电动自行车产业也进入快速发展时期。其中,电动自行车社会保有量已经超过3亿辆。但是由于电动自行车充电场所缺乏规划管理、居民安全意识薄弱等原因导致相关火灾事故频发,常常造成巨大人员伤亡和财产损失。为此,电力、物业等部门常常需要人工现场检测用户违规充电行为,但存在效率低下、用户配合度低等问题。非侵入式负荷监测技术(Non-intrusive Load Monitoring,NILM)不需要侵入用户内部,只需通过对负荷用电总量数据的处理分析便可获取用户每个电器的详细用电信息,还能据此分析用户用电行为。因此,将NILM技术应用到电动自行车违规充电高效检测具有很大的现实可实施性,这种高效便捷的监测技术还将在电动自行车健康状态评估、充电电量查询、能效分析等领域具有广阔的应用前景。Under the unified deployment of the "dual carbon" strategic goal, clean electric energy replacement has become an important way to get rid of fossil energy dependence. In the field of transportation, my country's new energy vehicle and electric bicycle industries have also entered a period of rapid development. Among them, the social ownership of electric bicycles has exceeded 300 million. However, due to the lack of planning and management of electric bicycle charging sites and the weak safety awareness of residents, related fire accidents frequently occur, often causing huge casualties and property losses. For this reason, power, property and other departments often need to manually detect users' illegal charging behaviors on the spot, but there are problems such as low efficiency and low user cooperation. Non-intrusive Load Monitoring (NILM) technology does not need to intrude into the user's interior. It only needs to process and analyze the total load power consumption data to obtain the detailed power consumption information of each electrical appliance of the user. This analyzes the user's electricity consumption behavior. Therefore, it is very practical to apply NILM technology to the efficient detection of illegal charging of electric bicycles. This efficient and convenient monitoring technology will also have broad applications in the fields of electric bicycle health status assessment, charging power query, and energy efficiency analysis. prospect.
目前,非侵入式负荷监测技术在居民用户中的应用主要聚焦于一些常见家用电器,针对电动自行车充电负荷检测方法的研究较少。并且尽管最先进的NILM方法能够分解大多数家用电器负荷,但电动自行车充电负荷为连续可变负荷,该类负荷的识别与分解仍是一项艰巨的任务。现有识别连续可变负荷的方法要么需要大型训练数据集,要么需要用于瞬态特征提取的高采样频率数据,这些是计费智能电表无法满足的,也限制了这些方法的大面积推广与应用。另一方面,电动自行车充电负荷的运行时间较长,可能与其他电器负荷混叠运行,给识别与分解工作带来极大挑战。此外虽然存在少量无监督非侵入式电动自行车充电负荷检测方法,但是无法实现在线检测。At present, the application of non-intrusive load monitoring technology in residential users mainly focuses on some common household appliances, and there are few studies on electric bicycle charging load detection methods. And although the state-of-the-art NILM method can decompose most of the household appliance loads, the electric bicycle charging load is a continuously variable load, and the identification and decomposition of this kind of load is still a difficult task. Existing methods for identifying continuously variable loads either require large training data sets or high sampling frequency data for transient feature extraction, which cannot be satisfied by billing smart meters, which also limits the large-scale promotion and application of these methods. application. On the other hand, the charging load of electric bicycles runs for a long time, which may overlap with other electrical loads, which brings great challenges to identification and decomposition. In addition, although there are a few unsupervised and non-invasive electric bicycle charging load detection methods, online detection cannot be achieved.
发明内容SUMMARY OF THE INVENTION
考虑到现有技术存在的不足,为进一步实现电动自行车充电负荷的快速发现,本发明结合非侵入式负荷监测技术,提出了一种基于局部特征的非侵入式电动自行车充电负荷在线快速检测方法,旨在满足实际用电场景中对于电动自行车充电能及时快速发现与定位的需求。此发明可以准确快速地实现电动自行车的在线检测,在电动自行车违规充电稽查等领域具有广阔的应用前景。Considering the shortcomings of the prior art, in order to further realize the rapid discovery of the charging load of electric bicycles, the present invention combines the non-invasive load monitoring technology, and proposes a non-invasive online rapid detection method of electric bicycle charging load based on local features, It aims to meet the demand for timely and rapid discovery and positioning of electric bicycle charging in actual power consumption scenarios. The invention can accurately and quickly realize on-line detection of electric bicycles, and has broad application prospects in the fields of electric bicycle illegal charging inspection and the like.
为了解决上述技术问题,本发明提出的一种非侵入式电动自行车充电负荷在线快速检测方法,主要包括:构建电动自行车充电负荷模板;判断被检测用户的用电负荷中是否疑似存在电动自行车充电负荷;最终检测出被检测用户的用电负荷中是否存在电动自行车充电负荷。具体步骤如下:In order to solve the above technical problems, the present invention proposes a non-intrusive online fast detection method for electric bicycle charging load, which mainly includes: constructing an electric bicycle charging load template; ; Finally, it is detected whether there is an electric bicycle charging load in the electricity load of the detected user. Specific steps are as follows:
步骤1、构建电动自行车充电负荷模板,步骤如下:
1-1)以采样频率为1Hz,采集若干台电动自行车单独充电有功功率和无功功率数据;1-1) Collect the active power and reactive power data of several electric bicycles separately charged with the sampling frequency of 1Hz;
1-2)数据预处理:对步骤1-1)采集到的有功功率和无功功率数据取时间窗口,采用状态转换移除算法将窗口内总有功功率和总无功功率中的负荷事件移除;将有功功率和无功功率数据的采样频率降为1/30Hz,并采用Savitzky-Golay(SG)滤波以减小降频后的功率信号中的噪声;1-2) Data preprocessing: take a time window for the active power and reactive power data collected in step 1-1), and use the state transition removal algorithm to remove the load events in the total active power and total reactive power in the window. Divide; reduce the sampling frequency of active power and reactive power data to 1/30Hz, and use Savitzky-Golay (SG) filtering to reduce the noise in the power signal after the frequency reduction;
1-3)对步骤1-2)预处理后的有功功率和无功功率数据计算差分得到有功功率差分信号和无功功率差分信号;1-3) Calculate the difference between the active power and reactive power data preprocessed in step 1-2) to obtain an active power differential signal and a reactive power differential signal;
1-4)分别将处于恒压充电阶段的有功功率差分信号和无功功率差分信号各自拟合为一条线段,以拟合的线段的最值点和斜率作为特征向量参数,从而建立包括有有功功率差分信号模板和无功功率差分信号模板的电动自行车充电负荷模板;1-4) Fit the active power differential signal and reactive power differential signal in the constant voltage charging stage as a line segment respectively, and take the maximum point and slope of the fitted line segment as the eigenvector parameters, so as to establish the parameters including active power Electric bicycle charging load template for power differential signal template and reactive power differential signal template;
步骤2、判断被检测用户的用电负荷中是否疑似存在电动自行车充电负荷:
2-1)采集被检测用户入户处的有功功率数据和无功功率数据,并按照上述步骤1-2)和步骤1-3)从而计算得到用户入户处有功功率差分信号和无功功率差分信号;2-1) Collect the active power data and reactive power data of the detected user's home, and calculate the active power differential signal and reactive power at the user's home according to the above steps 1-2) and 1-3). differential signal;
2-2)将步骤2-1)计算得到的用户入户处的有功功率差分信号中连续负的子序列与无功功率差分信号中连续正的子序列匹配,如果成功匹配,则执行步骤3,否则,重复执行步骤2;2-2) Match the continuous negative subsequence in the active power differential signal obtained by step 2-1) with the continuous positive subsequence in the reactive power differential signal, and if the matching is successful, perform
步骤3:计算步骤2成功匹配得到的连续子序列和步骤1构建的电动自行车单独充电负荷模板的距离为L,若该距离L≥预先设定的距离阈值,返回步骤2,否则检测出该用户的用电负荷中存在电动自行车充电负荷。Step 3: Calculate the distance between the continuous subsequence obtained by the successful matching in
进一步讲,本发明所述的非侵入式电动自行车充电负荷在线快速检测方法,其中:Further, the non-invasive electric bicycle charging load online rapid detection method of the present invention, wherein:
对于步骤1-1),电动自行车的台数为10台。For step 1-1), the number of electric bicycles is 10.
对于步骤1-2),所述时间窗口的长度设置为6个小时,步长设置为10分钟;所述的采用状态转换移除算法将窗口内总有功功率和总无功功率中的负荷事件移除,是指在电动自行车单独充电的功率数据中,电动自行车的开启事件被移除;在用户入口处的功率数据中,将除电动自行车之外的电器负荷的开启、运行、关闭事件被移除。For step 1-2), the length of the time window is set to 6 hours, and the step size is set to 10 minutes; the state transition removal algorithm is used to remove the load events in the total active power and total reactive power in the window Removal means that in the power data of the separate charging of the electric bicycle, the opening event of the electric bicycle is removed; in the power data at the user's entrance, the opening, running, and closing events of the electrical load other than the electric bicycle are removed. remove.
对于步骤2-2),所述连续正的子序列为无功功率差分信号大于0.06,且连续8个以上采样点为同一状态的差分信号序列;所述连续负的子序列为有功功率差分信号小于-0.1,且连续8个以上采样点为同一状态的差分信号序列;所述成功匹配是指连续负的有功功率差分信号子序列和连续正的无功功率差分信号子序列在时间上有重叠。For step 2-2), the continuous positive subsequence is the differential signal sequence in which the reactive power differential signal is greater than 0.06, and more than 8 consecutive sampling points are in the same state; the continuous negative subsequence is the active power differential signal A differential signal sequence that is less than -0.1 and has more than 8 consecutive sampling points in the same state; the successful matching means that the consecutive negative active power differential signal subsequences and the consecutive positive reactive power differential signal subsequences overlap in time .
对于步骤3,所述距离L是指电动自行车充电负荷模板中的有功功率差分信号模板与成功匹配的有功功率差分连续子序列之间差值的平方和均值与电动自行车充电负荷模板中的无功功率差分信号模板与成功匹配的无功功率差分连续子序列之间差值的平方和均值的平均值。For
与现有技术相比,本发明的有益效果是:Compared with the prior art, the beneficial effects of the present invention are:
本发明将非侵入式负荷监测技术方法应用于电动自行车充电负荷检测,提取出电动自行车充电负荷的局部特征,建立了基于局部特征的非侵入式电动自行车充电负荷在线快速检测方法,能够在不侵入用户内部的情况下,准确快速地实现电动自行车的在线检测。这一方法可以满足实际用电场景中对于电动自行车充电能及时快速发现与定位的需求,在电动自行车违规充电稽查等领域具有广阔的应用前景。The invention applies the non-intrusive load monitoring technology method to electric bicycle charging load detection, extracts the local features of the electric bicycle charging load, and establishes a non-intrusive electric bicycle charging load online fast detection method based on the local characteristics. The online detection of electric bicycles can be accurately and quickly realized under the condition of the user's interior. This method can meet the demand for timely and rapid discovery and positioning of electric bicycle charging in actual power consumption scenarios, and has broad application prospects in the fields of electric bicycle charging violation inspection and other fields.
附图说明Description of drawings
图1是本发明在线快速检测方法流程图;Fig. 1 is the flow chart of the online rapid detection method of the present invention;
图2(a)是电动自行车充电阶段模型有功功率滤波示意图;Figure 2(a) is a schematic diagram of the active power filtering of the electric bicycle charging stage model;
图2(b)是电动自行车充电阶段模型无功功率滤波示意图;Figure 2(b) is a schematic diagram of the reactive power filtering of the electric bicycle charging stage model;
图2(c)是电动自行车充电阶段模型滤波后有功功率差分信号示意图;Figure 2(c) is a schematic diagram of the active power differential signal after model filtering in the charging stage of the electric bicycle;
图2(d)是电动自行车充电阶段模型滤波后无功功率差分信号示意图;Figure 2(d) is a schematic diagram of the reactive power differential signal after model filtering in the charging stage of the electric bicycle;
图3(a)是检测到的负荷事件检测结果及SG滤波示意图;Figure 3 (a) is a schematic diagram of the detected load event detection result and SG filtering;
图3(b)是检测到的状态转换移除及SG滤波示意图;Figure 3(b) is a schematic diagram of detected state transition removal and SG filtering;
图4(a)是10个电动自行车充电负荷斜率-有功功率差分图;Figure 4(a) is a graph of 10 electric bicycle charging load slope-active power difference;
图4(b)是10个电动自行车充电负荷斜率-无功功率差分图;Figure 4(b) is a graph of 10 electric bicycle charging load slope-reactive power difference;
图5(a)是SG滤波后有功功率差分信号及连续负的子序列示意图;Figure 5(a) is a schematic diagram of the active power differential signal and the continuous negative subsequence after SG filtering;
图5(b)是SG滤波后无功功率差分信号及连续正的子序列示意图;Figure 5(b) is a schematic diagram of the reactive power differential signal and the continuous positive subsequence after SG filtering;
图6(a)是1号用户某次电动自行车充电负荷在线检测用户功率及EBCL功率真实值;Figure 6(a) is the real value of user power and EBCL power detected online by a certain electric bicycle charging load of user No. 1;
图6(b)是1号用户某次电动自行车充电负荷在线检测SG滤波后有功功率差分信号及连续负的子序列示意图;Figure 6(b) is a schematic diagram of the active power differential signal and continuous negative sub-sequence after SG filtering of the online detection of a certain electric bicycle charging load of user No. 1;
图6(c)是1号用户某次电动自行车充电负荷在线检测SG滤波后无功功率差分信号及连续正的子序列示意图。Figure 6(c) is a schematic diagram of a reactive power differential signal and a continuous positive subsequence after online detection of a certain electric bicycle charging load of user No. 1 after SG filtering.
具体实施方式Detailed ways
本发明提出的非侵入式电动自行车充电负荷在线快速检测方法的设计思路是,在研究过程中,通过采集的电动自行车单独充电的有功功率和无功功率数据,发现电动自行车存在区别于其他电器负荷的恒压充电阶段,该阶段表现出有功功率下降缓坡和无功功率上升缓坡的负荷特征,因此,本发明采用恒压阶段的局部特征,即有功功率和无功功率幅值的差分逐渐增加的负荷特征来检测电动自行车充电负荷。The design idea of the non-intrusive electric bicycle charging load online rapid detection method proposed by the present invention is that, in the research process, it is found that the electric bicycle is different from other electrical loads by collecting the active power and reactive power data of the electric bicycle charging alone. In the constant voltage charging stage, this stage shows the load characteristics of the active power falling gently and the reactive power rising gently. Therefore, the present invention adopts the local characteristics of the constant voltage stage, that is, the difference between the active power and the reactive power amplitude gradually increases. Load feature to detect electric bike charging load.
下面结合附图及具体实施例对本发明做进一步的说明,但下述实施例绝非对本发明有任何限制。The present invention will be further described below with reference to the accompanying drawings and specific embodiments, but the following embodiments do not limit the present invention by any means.
实现本发明基于局部特征的非侵入式电动自行车充电负荷在线快速检测方法,主要包括采用恒压阶段的局部特征构建电动自行车充电负荷模板,然后采集被检测用户入户处的有功功率数据和无功功率数据,并根据计算得到的用户入户处有功功率差分信号和无功功率差分信号,判断被检测用户的用电负荷中是否疑似存在电动自行车充电负荷;最终通过与电动自行车充电负荷模板进行比对和计算检测出被检测用户的用电负荷中是否存在电动自行车充电负荷。如图1所示,具体步骤如下:The method for realizing the non-intrusive online fast detection method of electric bicycle charging load based on local characteristics of the present invention mainly includes constructing electric bicycle charging load template by using local characteristics of constant voltage stage, and then collecting the active power data and reactive power of the detected user's home. Power data, and based on the calculated active power differential signal and reactive power differential signal at the user's home, determine whether there is suspected electric bicycle charging load in the electricity load of the detected user; finally compare with the electric bicycle charging load template. The pair sum calculation detects whether there is an electric bicycle charging load in the electricity load of the detected user. As shown in Figure 1, the specific steps are as follows:
步骤1、构建电动自行车充电负荷模板,步骤如下:
1-1)以采样频率为1Hz,同时采集10台电动自行车单独充电有功功率和无功功率数据;1-1) At the sampling frequency of 1Hz, collect active power and reactive power data of 10 electric bicycles separately charged at the same time;
1-2)数据预处理:对步骤1-1)采集到的电动自行车单独充电的数据取时间窗口,采用状态转换移除算法将窗口内总有功功率和总无功功率中的负荷事件移除。1-2) Data preprocessing: Take a time window for the data collected in step 1-1) for the separate charging of electric bicycles, and use the state transition removal algorithm to remove the load events in the total active power and total reactive power in the window. .
本方法采用[Luan W,Liu Z,Liu B,et al.An Adaptive Two-stage Load EventDetection Method for Nonintrusive Load Monitoring.]所提出的一种自适应两阶段事件检测方法,该方法根据用电总量数据中电器负荷波动的不同程度自适应调整事件检测阈值,并针对具有不同波形特征的类阶跃事件和长暂态事件,分别采用改进的边缘检测方法和结合移动平均及滑动T检验的基于窗口的检测方法,实现用电总量数据中电器负荷事件的准确检测与定位。进而采用状态转换移除算法将检测到的其从总量数据中移除。This method adopts an adaptive two-stage event detection method proposed by [Luan W, Liu Z, Liu B, et al. An Adaptive Two-stage Load Event Detection Method for Nonintrusive Load Monitoring.]. The different degrees of electrical load fluctuation in the data adaptively adjust the event detection threshold, and for the step-like events and long transient events with different waveform characteristics, the improved edge detection method and the window-based method combined with moving average and sliding T test are respectively adopted. The detection method can realize the accurate detection and positioning of electrical load events in the total electricity consumption data. The detected state transition removal algorithm is then used to remove it from the total data.
根据有功功率中的事件确定无功功率中的负荷事件,然后采用状态转换移除算法移除检测到的事件。状态转换移除的目的是恢复因其他电器负荷的状态转换而被分割的电动自行车充电负荷(EBCL)缓坡趋势特征。当功率信号中检测到负荷事件时,采用式(1)将其从总量数据中移除:Load events in reactive power are determined from events in active power, and then a state transition removal algorithm is used to remove the detected events. The purpose of state transition removal is to restore the gentle slope trend characteristic of electric bicycle charging load (EBCL) segmented by state transitions of other electrical loads. When a load event is detected in the power signal, it is removed from the total data using equation (1):
其中,τ表示被分析信号的时间索引,Z表示有功功率及无功功率信号,ΔZ表示检测到的事件的有功功率和无功功率的值,Lt表示状态转移移除后的有功功率信号和无功功率信号。where τ is the time index of the analyzed signal, Z is the active and reactive power signals, ΔZ is the value of the active and reactive power of the detected event, and Lt is the active power signal after state transition removal and Reactive power signal.
降采样和滤波,将电动自行车单独充电数据的采样频率降为1/30Hz,并采用Savitzky-Golay(SG)滤波以减小降频后的功率信号中的噪声。Down-sampling and filtering, the sampling frequency of the individual charging data of the electric bicycle is reduced to 1/30Hz, and Savitzky-Golay (SG) filtering is used to reduce the noise in the down-frequency power signal.
本发明中,为了同时保留电动自行车的缓坡特征和减小其他电器负荷的干扰,每30个采样点求一次均值作为新的采样点,即将采样频率降为1/30Hz。由于状态转换移除后的信号中仍包含电器负荷运行中的波动,为了进一步减小此波动并平滑电动自行车恒压充电阶段对应的缓坡特征,本发明采用Savitzky-Golay滤波(SG滤波)平滑信号。SG滤波是一种采用滑动窗的基于局部最小二乘多项式拟合的滤波方法,该滤波方法在消除不同频率噪声的同时,保留了原始信号的峰值和宽度,广泛应用于具有非高斯噪声的信号去噪。与均值滤波、卡尔曼滤波等滤波方法相比,SG滤波在不损失分辨率的情况下,具有更好的信号形状保持和去噪性能。In the present invention, in order to preserve the gentle slope characteristics of the electric bicycle and reduce the interference of other electrical loads at the same time, the average value is calculated every 30 sampling points as a new sampling point, that is, the sampling frequency is reduced to 1/30Hz. Since the signal after the state transition is removed still contains the fluctuation in the operation of the electrical load, in order to further reduce the fluctuation and smooth the gentle slope characteristic corresponding to the constant voltage charging stage of the electric bicycle, the present invention adopts the Savitzky-Golay filter (SG filter) to smooth the signal. . SG filtering is a filtering method based on local least squares polynomial fitting with sliding window. This filtering method retains the peak value and width of the original signal while eliminating noise at different frequencies, and is widely used in signals with non-Gaussian noise. Denoise. Compared with filtering methods such as mean filtering and Kalman filtering, SG filtering has better signal shape preservation and denoising performance without loss of resolution.
给定一个长度为2m+1的局部对称数据窗口n=[l-m,l-m+1,...,l0,...,lm-1,lm],li表示滤波后信号Lt中一个采样点的有功功率和无功功率数据,则SG滤波后的信号为:Given a local symmetric data window n=[l -m ,l -m+1 ,...,l 0 ,...,l m-1 ,l m ] of length 2m+1, l i represents the filtering The active power and reactive power data of a sampling point in the post signal L t , the signal after SG filtering is:
其中,p<2m,表示最小二乘多项式的阶数,ak表示多项式的系数,l'n是SG滤波后数据窗口n对应的有功功率和无功功率信号。Where, p<2m, represents the order of the least square polynomial, a k represents the coefficient of the polynomial, and l' n is the active power and reactive power signals corresponding to the data window n after SG filtering.
本发明中,所述时间窗口的长度设置为6个小时,步长设置为10分钟。所述的采用状态转换移除算法将窗口内总有功功率和总无功功率中的负荷事件移除,针对电动自行车单独充电的功率数据,电动自行车的开启事件被移除。In the present invention, the length of the time window is set to 6 hours, and the step size is set to 10 minutes. The state transition removal algorithm is used to remove the load events in the total active power and total reactive power within the window, and for the power data of the single charging of the electric bicycle, the start event of the electric bicycle is removed.
1-3)计算功率数据差分,对步骤1-2)预处理后的电动自行车单独充电数据计算差分得到电动自行车单独充电的有功功率差分信号和无功功率差分信号。1-3) Calculate the difference of the power data, and calculate the difference of the pre-processed electric bicycle charging data in step 1-2) to obtain the active power differential signal and reactive power differential signal of the electric bicycle alone charging.
1-4)利用预处理后的电动自行车单独充电功率数据构建电动自行车充电负荷模板。1-4) Use the preprocessed electric bicycle charging power data to construct the electric bicycle charging load template.
SG滤波使恒流充电阶段转换为恒压充电阶段的过渡过程更平滑,恒压充电阶段的小波动也得以平滑,对处理后的有功功率数据和无功功率数据计算差分信号,如图2(a)、图2(b)、图2(c)和图2(d)所示,在恒压充电阶段的功率差分信号可以拟合为一条线段,以该拟合的线段的最值点和斜率作为模板的特征向量参数。分别对有功功率和无功功率数据的恒压段进行拟合,建立电动自行车充电负荷的有功功率差分信号模板和无功功率差分信号模板图2(a)示出了电动自行车充电阶段模型有功功率滤波示意图;图2(b)示出了电动自行车充电阶段模型无功功率滤波示意图;图2(c)示出了电动自行车充电阶段模型滤波后有功功率差分信号;图2(d)示出了电动自行车充电阶段模型滤波后无功功率差分信号。SG filtering makes the transition from the constant current charging stage to the constant voltage charging stage smoother, and the small fluctuations in the constant voltage charging stage are also smoothed out. The differential signal is calculated for the processed active power data and reactive power data, as shown in Figure 2 ( a), Fig. 2(b), Fig. 2(c) and Fig. 2(d), the power differential signal in the constant voltage charging stage can be fitted as a line segment, with the maximum point of the fitted line segment and The slope is used as the eigenvector parameter of the template. Fit the constant voltage segment of the active power and reactive power data respectively to establish the active power differential signal template of the electric bicycle charging load and reactive power differential signal mask Figure 2(a) shows the schematic diagram of active power filtering of the electric bicycle charging stage model; Figure 2(b) shows the schematic diagram of the reactive power filtering of the electric bicycle charging stage model; Figure 2(c) shows the electric bicycle charging stage model Active power differential signal after filtering; Figure 2(d) shows the reactive power differential signal after model filtering in the charging stage of the electric bicycle.
步骤2、判断被检测用户的用电负荷中是否疑似存在电动自行车充电负荷。Step 2: Determine whether there is a suspected electric bicycle charging load in the electricity load of the detected user.
2-1)采集被检测用户入户处的有功功率数据和无功功率数据,并按照上述步骤1-2)和步骤1-3),在过程中代入的数据是从用户入户处采集的功率数据,降采样和滤波后,针对用户入口处的功率数据,将除电动自行车之外的电器负荷的开启、运行、关闭事件被移除。通过计算功率数据差分得到用户入户处有功功率差分信号和无功功率差分信号。2-1) Collect the active power data and reactive power data of the detected user's home, and follow the above steps 1-2) and 1-3), and the data substituted in the process is collected from the user's home. The power data, after downsampling and filtering, for the power data at the user's entrance, the on, running, and off events of electrical loads other than electric bicycles are removed. The active power differential signal and reactive power differential signal at the user's home are obtained by calculating the power data differential.
2-2)计算功率数据差分:将步骤2-1)计算得到的用户入户处的有功功率差分信号中连续负的子序列与无功功率差分信号中连续正的子序列匹配。2-2) Calculate the difference of power data: Match the continuous negative subsequence in the active power differential signal at the user's entrance calculated in step 2-1) with the continuous positive subsequence in the reactive power differential signal.
本发明设置有功功率差分小于-0.1为负,无功功率差分大于0.06为正,并规定连续8个以上采样点为同一状态可划分为连续子序列。电动自行车恒压充电阶段的有功功率下降缓坡和无功功率上升缓坡在时间上同步,因此,需对连续负的有功功率差分信号子序列和连续正的无功功率差分信号子序列匹配,即连续负的有功功率差分信号子序列和连续正的无功功率差分信号子序列在时间上有重叠则认为匹配。如果成功匹配,则执行步骤3,否则,重复执行步骤2。The present invention sets the active power difference less than -0.1 to be negative, and the reactive power difference greater than 0.06 to be positive, and stipulates that more than 8 consecutive sampling points are in the same state and can be divided into continuous subsequences. In the constant voltage charging phase of the electric bicycle, the active power descending slope and the reactive power ascending slope are synchronized in time. Therefore, it is necessary to match the continuous negative active power differential signal subsequence with the continuous positive reactive power differential signal subsequence, that is, continuous If the negative active power differential signal subsequence and the continuous positive reactive power differential signal subsequence overlap in time, it is considered a match. If the match is successful, go to
步骤3:与电动自行车充电负荷模板进行匹配,通过计算匹配的连续子序列和电动自行车充电负荷模板的距离,若距离小于预先设定的距离阈值,则认为与模板匹配。Step 3: Match with the electric bicycle charging load template, by calculating the distance between the matched continuous subsequences and the electric bicycle charging load template, if the distance is less than the preset distance threshold, it is considered to match the template.
对于时间上同步(即成功匹配)的有功功率差分信号连续负的子序列和无功功率差分信号连续正的子序列,分别计算其与电动自行车充电负荷模板的距离,所述距离是指电动自行车充电负荷模板中的有功功率差分信号模板与成功匹配的有功功率差分连续子序列之间差值的平方和均值与电动自行车充电负荷模板中的无功功率差分信号模板与成功匹配的无功功率差分连续子序列之间差值的平方和均值的平均值,如式(3)所示:For the time-synchronized (ie successfully matched) active power differential signal continuous negative subsequence and reactive power differential signal continuous positive subsequence, calculate the distance from the electric bicycle charging load template, where the distance refers to the electric bicycle The square sum mean of the difference between the active power differential signal template in the charging load template and the successive subsequences of successfully matched active power differentials and the reactive power differential signal template in the electric bicycle charging load template and the successfully matched reactive power differential The average value of the square and mean of the differences between consecutive subsequences, as shown in formula (3):
其中,x为电动自行车充电负荷模板信号,y为成功匹配的功率差分连续子序列,x1为模板的最值点,y1为连续子序列的最值点,n为差分信号连续子序列中最值点到子序列终止点的数据点个数,需要注意的是为避免连续子序列中最值点在最后一位,且其与模板最高点接近的情况,需要令n>10,ΔS表示有功信号子序列距离和功信号子序列距离。取有功信号子序列距离和无功信号子序列距离的均值为匹配子序列与模板的距离,若其小于启发式设定的距离阈值,则认为子序列与模板匹配,存在电动自行车恒压充电阶段,即检测出该用户的用电负荷中存在电动自行车充电负荷;若大于或等于阈值,则认为子序列与模板不匹配,不存在电动自行车恒压充电阶段。Among them, x is the electric bicycle charging load template signal, y is the successfully matched power differential continuous subsequence, x1 is the maximum value point of the template, y1 is the maximum value point of the continuous subsequence, and n is the differential signal continuous subsequence. The number of data points from the maximum point to the termination point of the subsequence. It should be noted that in order to avoid the situation where the maximum point in the continuous subsequence is in the last digit and is close to the highest point of the template, n>10, ΔS is required. Active signal subsequence distance and active signal subsequence distance. Take the average of the distance of the active signal subsequence and the distance of the reactive signal subsequence as the distance between the matching subsequence and the template. If it is less than the distance threshold set by the heuristic, it is considered that the subsequence matches the template, and there is a constant voltage charging stage of the electric bicycle. , that is, it is detected that there is an electric bicycle charging load in the user's electricity load; if it is greater than or equal to the threshold, it is considered that the subsequence does not match the template, and there is no electric bicycle constant voltage charging stage.
研究材料实例1:Research Material Example 1:
图3(a)和图3(b)分别展示了对某一时段的用户入口处数据进行负荷事件检测结果和状态转换移除后的结果,同时展示了SG滤波前后的对比图像,可以看出负荷事件检测算法可以准确检测到用电总量数据中的事件。Figure 3(a) and Figure 3(b) respectively show the results of load event detection and state transition removal for the data at the user entrance of a certain period of time, and also show the comparison images before and after SG filtering, it can be seen that The load event detection algorithm can accurately detect events in the total electricity consumption data.
利用10个电动自行车单独充电的有功功率数据和无功功率数据构建电动自行车充电负荷模板。得到上表所示的10个电动自行车充电负荷模型参数。根据表1数据绘制10个电动自行车充电负荷的模型图,图4(a)示出了10个电动自行车充电负荷斜率-有功功率差分图,图4(b)示出了10个电动自行车充电负荷斜率-无功功率差分图。以看出5号铅酸电池的模型明显偏离其余9个模型,因此将其剔除,对其余9个模型取均值求得EBCL模板,即最低点:-1.2836;斜率:0.0100;最高点:0.5548;斜率:-0.0054。The electric bicycle charging load template is constructed by using the active power data and reactive power data of 10 electric bicycles individually charged. The 10 electric bicycle charging load model parameters shown in the table above are obtained. According to the data in Table 1, the model diagram of 10 electric bicycle charging loads is drawn. Figure 4(a) shows the slope-active power difference diagram of 10 electric bicycle charging loads, and Figure 4(b) shows 10 electric bicycle charging loads. Slope-Reactive Power Differential Plot. It can be seen that the model of No. 5 lead-acid battery obviously deviates from the other 9 models, so it is eliminated, and the average value of the remaining 9 models is obtained to obtain the EBCL template, namely Lowest: -1.2836; slope: 0.0100; Highest point: 0.5548; Slope: -0.0054.
表1 10个电动自行车充电负荷模型参数Table 1 10 electric bicycle charging load model parameters
对入户处有功功率和无功功率数据计算差分信号,并对有功功率差分信号中连续负的子序列和无功功率差分信号中连续正的子序列进行匹配,如图5(a)和图5(b)所示,可以看出00:00附近的加深的两子序列匹配。最后将距离阈值设置为0.25,图6(a)、图6(b)和图6(c)展示了对于1号用户某次电动自行车充电负荷在线检测结果,其中,图6(a)是1号用户某次电动自行车充电负荷在线检测用户功率及EBCL功率真实值;图6(b)是1号用户某次电动自行车充电负荷在线检测SG滤波后有功功率差分信号及连续负的子序列示意图;图6(c)是1号用户某次电动自行车充电负荷在线检测SG滤波后无功功率差分信号及连续正的子序列示意图。Calculate the differential signal for the active power and reactive power data at the entrance, and match the continuous negative subsequence in the active power differential signal with the continuous positive subsequence in the reactive power differential signal, as shown in Figure 5(a) and As shown in 5(b), it can be seen that the deepened two subsequences around 00:00 match. Finally, the distance threshold is set to 0.25. Figure 6(a), Figure 6(b) and Figure 6(c) show the online detection results of a certain electric bicycle charging load for user No. 1, where Figure 6(a) is 1 Figure 6(b) is a schematic diagram of the active power differential signal and continuous negative sub-sequence after online detection of a certain electric bicycle charging load of user No. 1 after SG filtering; Figure 6(c) is a schematic diagram of a reactive power differential signal and a continuous positive subsequence after online detection of a certain electric bicycle charging load of user No. 1 after SG filtering.
研究材料实例2:Research Material Example 2:
同时对7个用户总计411天的入口处有功功率和无功功率数据进行电动自行车充电负荷在线检测,表2展示了7个用户内的实验结果,可以看出几乎不存在充电负荷漏检的情况,同时基本实现恒压充电开始后20分钟至45分钟的在线快速检测。At the same time, the active power and reactive power data at the entrance of 7 users for a total of 411 days were tested online for the charging load of electric bicycles. Table 2 shows the experimental results of the 7 users. It can be seen that there is almost no leakage of charging load. At the same time, it basically realizes the online rapid detection from 20 minutes to 45 minutes after the constant voltage charging starts.
表2电动自行车充电负荷在线快速检测结果Table 2 Results of online rapid detection of electric bicycle charging load
按照上述实施,本发明能够根据总结出的电动自行车充电负荷模板,在不侵入用户内部的情况下,快速检测到电动自行车充电负荷,具有较高的准确性。这一方法在电动自行车违规充电高效检测的应用上具有很大的现实可实施性,可以满足实际用电场景中对于电动自行车违规充电行为的快速发现与定位的需求,在电动自行车违规充电稽查等领域具有广阔的应用前景。According to the above implementation, the present invention can quickly detect the electric bicycle charging load with high accuracy without intruding into the user's interior according to the summed up electric bicycle charging load template. This method has great practical feasibility in the application of high-efficiency detection of illegal charging of electric bicycles, and can meet the needs of rapid discovery and positioning of illegal charging behaviors of electric bicycles in actual power consumption scenarios. The field has broad application prospects.
尽管上面结合附图对本发明进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨的情况下,还可以做出很多变形,这些均属于本发明的保护之内。Although the present invention has been described above in conjunction with the accompanying drawings, the present invention is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of the present invention, many modifications can be made without departing from the spirit of the present invention, which all belong to the protection of the present invention.
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210539784.XA CN114759558B (en) | 2022-05-18 | 2022-05-18 | Non-intrusive online rapid detection method for charging load of electric bicycles |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210539784.XA CN114759558B (en) | 2022-05-18 | 2022-05-18 | Non-intrusive online rapid detection method for charging load of electric bicycles |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114759558A true CN114759558A (en) | 2022-07-15 |
CN114759558B CN114759558B (en) | 2025-05-06 |
Family
ID=82335698
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210539784.XA Active CN114759558B (en) | 2022-05-18 | 2022-05-18 | Non-intrusive online rapid detection method for charging load of electric bicycles |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114759558B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116526496A (en) * | 2023-06-16 | 2023-08-01 | 国网山西省电力公司晋城供电公司 | A New Auxiliary Decision-Making Method for Power System Load Control |
CN119740051A (en) * | 2025-03-06 | 2025-04-01 | 天津大学 | Load identification method and device based on variable sliding window multi-resolution power matching |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012082802A2 (en) * | 2010-12-13 | 2012-06-21 | Fraunhofer Usa, Inc. | Methods and system for nonintrusive load monitoring |
WO2014075581A1 (en) * | 2012-11-16 | 2014-05-22 | 天津大学 | Current-mode matching method for non-invasive power load monitoring and decomposition |
CN113361831A (en) * | 2021-08-10 | 2021-09-07 | 国网江苏省电力有限公司营销服务中心 | Non-invasive load identification electric quantity decomposition method and system based on priority distribution |
CN113567794A (en) * | 2021-09-24 | 2021-10-29 | 国网江苏省电力有限公司营销服务中心 | Indoor charging identification method and system for electric bicycles based on dynamic time warping |
-
2022
- 2022-05-18 CN CN202210539784.XA patent/CN114759558B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012082802A2 (en) * | 2010-12-13 | 2012-06-21 | Fraunhofer Usa, Inc. | Methods and system for nonintrusive load monitoring |
WO2014075581A1 (en) * | 2012-11-16 | 2014-05-22 | 天津大学 | Current-mode matching method for non-invasive power load monitoring and decomposition |
CN113361831A (en) * | 2021-08-10 | 2021-09-07 | 国网江苏省电力有限公司营销服务中心 | Non-invasive load identification electric quantity decomposition method and system based on priority distribution |
CN113567794A (en) * | 2021-09-24 | 2021-10-29 | 国网江苏省电力有限公司营销服务中心 | Indoor charging identification method and system for electric bicycles based on dynamic time warping |
Non-Patent Citations (1)
Title |
---|
栾文鹏;马纯伟;赵博超;刘子帅;李旭昊;刘博: "非侵入式电动自行车充电负荷在线识别", 电力系统及其自动化学报, vol. 34, no. 010, 31 December 2022 (2022-12-31) * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116526496A (en) * | 2023-06-16 | 2023-08-01 | 国网山西省电力公司晋城供电公司 | A New Auxiliary Decision-Making Method for Power System Load Control |
CN116526496B (en) * | 2023-06-16 | 2023-09-08 | 国网山西省电力公司晋城供电公司 | A new auxiliary decision-making method for power system load control |
CN119740051A (en) * | 2025-03-06 | 2025-04-01 | 天津大学 | Load identification method and device based on variable sliding window multi-resolution power matching |
CN119740051B (en) * | 2025-03-06 | 2025-06-24 | 天津大学 | Load identification method and device based on variable sliding window multi-resolution power matching |
Also Published As
Publication number | Publication date |
---|---|
CN114759558B (en) | 2025-05-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106022645A (en) | Non-intruding type on-line and real-time electric power load identification method and identification system | |
CN108899892A (en) | One kind being based on CNN non-intrusion type power load decomposition method | |
Li et al. | A VME method based on the convergent tendency of VMD and its application in multi-fault diagnosis of rolling bearings | |
CN106093630A (en) | A non-intrusive household appliance identification method | |
CN114759558A (en) | Non-invasive online rapid detection method for charging load of electric bicycle | |
CN113567794B (en) | Electric bicycle indoor charging identification method and system based on dynamic time warping | |
CN106908671A (en) | A kind of non-intrusion type household loads intelligent detecting method and system | |
CN107085764A (en) | A Load Decomposition Method and Device Based on Improved DFHMM Model | |
CN111553444A (en) | A load identification method based on non-intrusive load terminal data | |
CN114139436B (en) | A method for tracing the source of power quality disturbances for users in low-voltage distribution networks | |
CN105550450B (en) | Electric energy quality interference source characteristic harmonic modeling method | |
CN105652118A (en) | Load instantaneous energy feature-based power grid electric energy load monitoring method | |
CN111783684A (en) | A method and system for household electricity load decomposition based on Bi-GRU-SA | |
CN106443164A (en) | Transient state event and steady state event monitoring method during electric energy classification metering process | |
CN117761453B (en) | Low-voltage fault arc identification method, device, medium and equipment | |
CN111325485A (en) | Light-weight gradient elevator power quality disturbance identification method considering internet-of-things bandwidth constraint | |
CN116304537B (en) | A verification method for electricity stealing users based on intelligent measurement terminals | |
CN116796403A (en) | A building energy-saving method based on comprehensive energy consumption prediction of commercial buildings | |
CN113887912A (en) | Non-invasive load identification method for deeply learning downward embedded equipment | |
CN114629103A (en) | Building load decomposition method based on acceptance structure load decomposition model | |
CN115186258A (en) | Edge-side online non-intrusive load identification method based on CUSUM-Bi-LSTM | |
CN105445577A (en) | Power quality disturbance source working condition identifying method | |
CN118887972A (en) | Transformer operation abnormality monitoring method based on sound feature recognition | |
CN112345824A (en) | Variable frequency air conditioner non-invasive identification method based on piecewise linear approximation algorithm | |
CN117471157A (en) | Non-invasive electric bicycle load charging event detection and extraction method |
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 |