CN108535566A - Electric appliance sorter - Google Patents

Electric appliance sorter Download PDF

Info

Publication number
CN108535566A
CN108535566A CN201810338502.3A CN201810338502A CN108535566A CN 108535566 A CN108535566 A CN 108535566A CN 201810338502 A CN201810338502 A CN 201810338502A CN 108535566 A CN108535566 A CN 108535566A
Authority
CN
China
Prior art keywords
electric appliance
current
load
classifier
starting
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
Application number
CN201810338502.3A
Other languages
Chinese (zh)
Inventor
张晓虎
凌云
肖伸平
曾红兵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hunan University of Technology
Original Assignee
Hunan University of Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hunan University of Technology filed Critical Hunan University of Technology
Priority to CN201810338502.3A priority Critical patent/CN108535566A/en
Publication of CN108535566A publication Critical patent/CN108535566A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)

Abstract

一种电器分类装置,包括信息采集模块、信息处理模块、通信模块,同时采用包括启动冲激电流、启动平均电流、启动电流冲量在内的电器启动电流特征,以及电器的负载电流频谱特征作为识别分类特征,特征信息丰富;采用包括BP神经网络分类器和贝叶斯分类器的组合分类器进行判断分类,兼顾BP神经网络分类器和贝叶斯分类器的特点进行综合判断,判断准确率高;提供的启动电流特征获取方法和负载电流频谱特征获取方法简单、可靠。所述装置可以用在学生集体宿舍、大型集贸市场等一些需要进行用电电器管理的集体公共场所,也可以用于需要进行电器识别分类与统计的其他需要进行用电设备管理的场合。

A device for classifying electrical appliances, including an information collection module, an information processing module, and a communication module, while using electrical appliance startup current characteristics including startup impulse current, startup average current, startup current impulse, and electrical appliance load current spectrum characteristics as identification Classification features, rich feature information; using a combination classifier including BP neural network classifier and Bayesian classifier for judgment and classification, taking into account the characteristics of BP neural network classifier and Bayesian classifier for comprehensive judgment, high judgment accuracy ; The method for acquiring the characteristics of the starting current and the frequency spectrum of the load current provided is simple and reliable. The device can be used in collective public places such as student dormitories and large-scale bazaars that require management of electrical appliances, and can also be used in other occasions that require electrical equipment management that requires identification, classification and statistics of electrical appliances.

Description

电器分类装置Electrical classification device

本发明专利申请为分案申请,原案申请号为201610213353.9,申请日为2016年4月8日,发明名称为一种用电器类型判断方法。The patent application for this invention is a divisional application, the original application number is 201610213353.9, the application date is April 8, 2016, and the invention name is a method for judging the type of electrical appliances.

技术领域technical field

本发明涉及一种设备判断及分类装置,尤其是涉及一种电器分类装置。The invention relates to an equipment judging and classifying device, in particular to an electrical appliance classifying device.

背景技术Background technique

目前,主流的电器负载性质判断方法包括基于负载功率综合系数算法的电器负载判断方法、基于电磁感应的电器负载判断方法、基于神经网络算法的电器负载判断方法、基于周期性离散变换算法的电器负载判断方法等。各种方法均能够在一定程度是实现电器负载性质的判断,但由于特征性质单一,判断手段单一,普遍存在泛化能力不够及不能完全准确判断的问题。At present, the mainstream methods for judging the properties of electrical appliances include the electrical load judging method based on the load power comprehensive coefficient algorithm, the electrical load judging method based on electromagnetic induction, the electrical load judging method based on neural network algorithm, and the electrical load judging method based on periodic discrete transform algorithm Judgment method, etc. Various methods can realize the judgment of the nature of electrical load to a certain extent, but due to the single characteristic and single judgment method, there are generally problems of insufficient generalization ability and incomplete and accurate judgment.

发明内容Contents of the invention

本发明的目的在于,针对现在已有技术的缺陷,提供一种能够实现高效判断的电器分类装置。所述装置包括信息采集模块、信息处理模块、通信模块;采用组合分类器进行电器识别分类,所述组合分类器的输入特征包括电器的启动电流特征和电器的负载电流频谱特征;所述启动电流特征包括启动冲激电流、启动平均电流、启动电流冲量。The object of the present invention is to provide an electrical appliance classification device capable of realizing efficient judgment, aiming at the defects of the prior art. The device includes an information collection module, an information processing module, and a communication module; a combined classifier is used to identify and classify electrical appliances, and the input characteristics of the combined classifier include the starting current characteristics of the electrical appliances and the load current spectrum characteristics of the electrical appliances; the starting current Features include starting impulse current, starting average current, and starting current impulse.

所述启动电流特征通过以下方法获得:The starting current characteristics are obtained by the following methods:

步骤1、等待,直至判断电器开始启动后,转向步骤2;Step 1. Wait until it is judged that the electrical appliance starts to start, then turn to step 2;

步骤2、对电器的负载电流进行连续采样,以工频周期为单位计算负载电流有效值并保存,直至判断电器负载进入稳定状态后,转向步骤3;Step 2. Continuously sample the load current of the electrical appliance, calculate and save the effective value of the load current in units of power frequency cycles, and turn to step 3 until it is judged that the electrical load has entered a stable state;

步骤3、将最近N个工频周期之内的负载电流有效值的平均值作为电器负载稳态电流;将电器开始启动时刻至最近N个工频周期起始时刻之间的时间作为启动过程时间;计算电器开始启动后L个工频周期之内的电器负载电流有效值的平均值与电器负载稳态电流之间的比值,将该比值作为电器的启动冲激电流;计算电器的启动过程时间之内的电器负载电流有效值的平均值与电器负载稳态电流之间的比值,将该比值作为电器的启动平均电流;计算电器的启动平均电流与启动过程时间之间的乘积,将该乘积作为电器的启动电流冲量;所述N的取值范围为50-500,L的取值范围为1-5。Step 3. Take the average value of the effective value of the load current within the last N power frequency cycles as the steady-state current of the electrical appliance load; take the time between the start of the electrical appliance and the start of the last N power frequency cycles as the start-up process time ;Calculate the ratio between the average value of the electrical appliance load current effective value and the electrical appliance load steady-state current within L power frequency cycles after the appliance starts, and use the ratio as the starting impulse current of the appliance; calculate the starting process time of the appliance The ratio between the average value of the effective value of the electrical appliance load current and the steady-state current of the electrical appliance load, the ratio is taken as the average startup current of the appliance; the product of the average startup current of the appliance and the startup process time is calculated, and the product is As the starting current impulse of the electrical appliance; the value range of N is 50-500, and the value range of L is 1-5.

所述判断电器开始启动的方法是:电器启动前,开始对电器的负载电流连续采样并对负载电流大小进行判断;当负载电流有效值大于ε时,判定电器开始启动;所述ε为大于0的数值。The method for judging that the electric appliance starts is as follows: before the electric appliance is started, start to continuously sample the load current of the electric appliance and judge the magnitude of the load current; when the effective value of the load current is greater than ε, it is determined that the electric appliance starts; value.

所述判断电器负载进入稳定状态的方法是:计算最近N个工频周期的负载电流有效值的平均值;当最近N个工频周期之内的每个工频周期的负载电流有效值与该N个工频周期的负载电流有效值的平均值相比较,波动幅度均小于设定的相对误差范围E时,判定电器负载进入稳定状态;所述E的取值范围为2%-20%。The method for judging that the electrical load enters a stable state is: calculating the average value of the effective value of the load current of the last N power frequency cycles; When the average value of the load current effective value of N power frequency cycles is compared, and the fluctuation range is smaller than the set relative error range E, it is determined that the electrical load enters a stable state; the value range of E is 2%-20%.

所述负载电流频谱特征通过以下方法获得:The load current spectrum feature is obtained by the following method:

步骤一、获取电器负载的稳态电流信号,并将其转换为对应的稳态电流数字信号;Step 1. Obtain the steady-state current signal of the electrical load and convert it into a corresponding steady-state current digital signal;

步骤二、对稳态电流数字信号进行傅立叶变换,得到负载电流频谱特性;Step 2, performing Fourier transform on the steady-state current digital signal to obtain the load current spectrum characteristic;

步骤三、将负载电流频谱特性中的n次谐波信号相对幅值作为负载电流频谱特征,其中,n=1,2,…,M;所述M表示谐波最高次数且M大于等于5。所述谐波信号相对幅值为谐波信号幅值与电器负载稳态电流有效值的比值。Step 3: Use the relative amplitude of the nth harmonic signal in the load current spectrum characteristic as the load current spectrum characteristic, where n=1, 2, . . . The relative amplitude of the harmonic signal is the ratio of the amplitude of the harmonic signal to the effective value of the steady-state current of the electrical appliance load.

所述组合分类器包括BP神经网络分类器和贝叶斯分类器,其中,BP神经网络分类器为主分类器,贝叶斯分类器为辅助分类器。所述组合分类器进行电器识别分类的方法是:当主分类器成功实现电器识别分类时,主分类器的电器识别分类结果为组合分类器的判断结果;当主分类器未能实现电器识别分类,且主分类器的判断结果为2种或者2种以上电器类型,将主分类器输出的2种或者2种以上电器识别分类结果中,辅助分类器输出中概率最高的电器类型作为组合分类器的电器识别分类结果;当主分类器未能实现电器识别分类,且主分类器的判断结果中未能给出判断的电器类型时,将辅助分类器输出中概率最高的电器类型作为组合分类器的电器识别分类结果。The combination classifier includes a BP neural network classifier and a Bayesian classifier, wherein the BP neural network classifier is a main classifier, and the Bayesian classifier is an auxiliary classifier. The method for the combined classifier to identify and classify electrical appliances is as follows: when the main classifier successfully realizes the identification and classification of electrical appliances, the result of the electrical identification and classification of the main classifier is the judgment result of the combined classifier; when the main classifier fails to realize the identification and classification of electrical appliances, and The judgment result of the main classifier is 2 or more types of electrical appliances, and among the 2 or more types of electrical identification and classification results output by the main classifier, the electrical appliance type with the highest probability in the output of the auxiliary classifier is used as the electrical appliance of the combined classifier. Recognition and classification results; when the main classifier fails to realize electrical appliance identification and classification, and the judgment result of the main classifier fails to give the type of electrical appliance judged, the electrical appliance type with the highest probability in the output of the auxiliary classifier is used as the electrical appliance identification of the combined classifier classification results.

所述组合分类器的输入特征还包括电器负载稳态电流。The input characteristics of the combined classifier also include the steady state current of the electrical appliance load.

所述信息采集模块用于采集电器的负载电流信息并送至信息处理模块;所述信息处理模块依据输入的信息进行电器识别分类;所述通信模块用于发送信息处理模块的电器识别分类结果至上位机。The information collection module is used to collect the load current information of the electrical appliance and send it to the information processing module; the information processing module performs electrical identification and classification according to the input information; the communication module is used to send the electrical identification and classification results of the information processing module to PC.

所述信息采集模块包括电流传感器、前置放大器、滤波器、A/D转换器;所述信息处理模块的核心为DSP,或者为ARM,或者为单片机,或者为FPGA。The information acquisition module includes a current sensor, a preamplifier, a filter, and an A/D converter; the core of the information processing module is DSP, or ARM, or a single-chip microcomputer, or FPGA.

所述A/D转换器可以采用信息处理模块的核心中包括的A/D转换器。The A/D converter may adopt an A/D converter included in the core of the information processing module.

所述信息采集模块、信息处理模块、通信模块的全部或者部分功能集成在一片SoC上。All or part of the functions of the information collection module, information processing module and communication module are integrated on one SoC.

所述通信模块还接收上位机的相关工作指令;所述通信模块与上位机之间的通信方式包括无线通信方式与有线通信方式;所述无线通信方式包括ZigBee、蓝牙、WiFi、433MHz数传方式;所述有线通信方式包括485总线、CAN总线、互联网、电力载波方式。The communication module also receives relevant work instructions from the host computer; the communication mode between the communication module and the host computer includes a wireless communication mode and a wired communication mode; the wireless communication mode includes ZigBee, Bluetooth, WiFi, and 433MHz digital transmission mode ; The wired communication methods include 485 bus, CAN bus, Internet, and power carrier.

本发明的有益效果是:采用包括BP神经网络分类器和贝叶斯分类器的组合分类器进行判断分类,兼顾BP神经网络分类器和贝叶斯分类器的特点进行综合判断,泛化能力与判断准确率高;同时采用电器的启动电流特征、电器的负载电流频谱特征以及电器负载稳态电流有效值作为组合分类器的输入特征,特征信息丰富;提供的包括启动冲激电流、启动平均电流、启动电流冲量在内的启动电流特征获取方法,以及负载电流频谱特征获取方法简单、可靠。The beneficial effect of the present invention is: adopt the combination classifier that comprises BP neural network classifier and Bayesian classifier to carry out judgment classification, take into account the characteristics of BP neural network classifier and Bayesian classifier to carry out comprehensive judgment, generalization ability and The judgment accuracy is high; at the same time, the starting current characteristics of electrical appliances, the load current spectrum characteristics of electrical appliances, and the effective value of steady-state current of electrical appliances are used as the input features of the combined classifier, and the feature information is rich; the provided information includes starting impulse current and starting average current. The acquisition method of starting current characteristics including starting current impulse and the acquisition method of load current spectrum characteristics are simple and reliable.

附图说明Description of drawings

图1为电器分类装置实施例的结构示意图;Fig. 1 is the structural representation of the embodiment of electric appliance classification device;

图2为白炽灯台灯的启动过程电流波形;Fig. 2 is the current waveform of the starting process of the incandescent desk lamp;

图3为电阻炉等电阻性负载的启动过程电流波形;Figure 3 is the current waveform of the start-up process of resistive loads such as resistance furnaces;

图4为单相电机类负载的启动过程电流波形;Figure 4 is the current waveform in the starting process of a single-phase motor load;

图5为计算机及开关电源类负载的启动过程电流波形;Fig. 5 is the starting process current waveform of computer and switching power supply load;

图6为电器分类装置的电器识别分类方法流程图。Fig. 6 is a flow chart of the electrical appliance identification and classification method of the electrical appliance classification device.

具体实施方式Detailed ways

以下结合附图对本发明作进一步说明。The present invention will be further described below in conjunction with accompanying drawing.

图1为电器分类装置实施例的结构示意图,包括信息采集模块101、信息处理模块102、通信模块103。FIG. 1 is a schematic structural diagram of an embodiment of an electrical appliance classification device, including an information collection module 101 , an information processing module 102 , and a communication module 103 .

信息采集模块102用于采集电器的负载电流并将负载电流转换成电流数字信号,电流数字信号被送至信息处理模块102。信息采集模块中包括电流传感器、前置放大器、滤波器、A/D转换器等组成部分,分别完成负载电流信号的传感、放大、滤波与模数转换功能。当负载电流范围较大时,可以选择具有程控功能的前置放大器,或者是在A/D转换器前再增加一个独立的程控放大器,对范围较大的负载电流实行分段控制放大,使输入至A/D转换器的电压信号范围保持在合理的区间,保证转换精度。滤波器用于滤除高频分量,避免频谱混叠。The information collection module 102 is used to collect the load current of the electrical appliance and convert the load current into a current digital signal, and the current digital signal is sent to the information processing module 102 . The information acquisition module includes current sensors, preamplifiers, filters, A/D converters and other components, which respectively complete the sensing, amplification, filtering and analog-to-digital conversion functions of the load current signal. When the load current range is large, you can choose a preamplifier with program-controlled function, or add an independent program-controlled amplifier before the A/D converter, and implement segmented control amplification for a large range of load current, so that the input The voltage signal range to the A/D converter is kept within a reasonable range to ensure conversion accuracy. Filters are used to filter out high frequency components to avoid spectral aliasing.

信息处理模块102依据输入的电流数字信号,采用包括BP神经网络分类器和贝叶斯分类器的组合分类器实现电器识别分类。组合分类器的输入特征包括电器的启动电流特征和电器的负载电流频谱特征。信息处理模块102的核心为DSP、ARM、单片机,或者为FPGA。当信息处理模块的核心中包括有A/D转换器且该A/D转换器满足要求时,信息采集模块101中的A/D转换器可以采用信息处理模块102的核心中包括的A/D转换器。The information processing module 102 uses a combined classifier including a BP neural network classifier and a Bayesian classifier to realize electrical appliance identification and classification according to the input current digital signal. The input features of the combined classifier include the starting current features of electrical appliances and the load current spectrum features of electrical appliances. The core of the information processing module 102 is DSP, ARM, single-chip microcomputer, or FPGA. When the core of the information processing module includes an A/D converter and the A/D converter meets the requirements, the A/D converter in the information collection module 101 can adopt the A/D converter included in the core of the information processing module 102. converter.

通信模块103用于实现与上位机之间的通信,将判断结果发送至上位机。通信模块102与上位机之间的通信方式包括无线通信方式与有线通信方式,可以采用的无线通信方式包括ZigBee、蓝牙、WiFi、433MHz数传等方式,可以采用的有线通信方式包括485总线、CAN总线、互联网、电力载波等方式。通信模块103还可以接收上位机的相关工作指令,完成指定的工作任务。上位机可以是管理部门的服务器,也可以是各种工作站,或者是各种移动终端。The communication module 103 is used to realize the communication with the upper computer, and send the judgment result to the upper computer. The communication mode between the communication module 102 and the upper computer includes wireless communication mode and wired communication mode. The wireless communication mode that can be used includes ZigBee, Bluetooth, WiFi, 433MHz data transmission, etc. The wired communication mode that can be used includes 485 bus, CAN Bus, Internet, power carrier, etc. The communication module 103 can also receive relevant work instructions from the host computer to complete specified work tasks. The upper computer can be the server of the management department, various workstations, or various mobile terminals.

信息采集模块101、信息处理模块102、通信模块103的全部或者部分功能可以集成在一片SoC上,减小装置体积,方便安装。All or part of the functions of the information collection module 101, the information processing module 102, and the communication module 103 can be integrated on one SoC, which reduces the size of the device and facilitates installation.

不同的电器设备具有不同的启动电流特征。如图2所示为白炽灯台灯的启动过程电流波形。白炽灯是将灯丝通电加热到白炽状态,利用热辐射发出可见光的电光源。白炽灯的灯丝通常用耐高温的金属钨制造,但金属钨的电阻随温度变化大,以Rt表示钨丝在t℃时的电阻,以R0表示钨丝在0℃时的电阻,则两者有下述的关系Different electrical equipment has different starting current characteristics. As shown in Figure 2, it is the current waveform of the starting process of the incandescent lamp. An incandescent lamp is an electric light source that heats the filament to an incandescent state and emits visible light by thermal radiation. The filament of an incandescent lamp is usually made of high temperature resistant metal tungsten, but the resistance of metal tungsten varies greatly with temperature. Let R t represent the resistance of the tungsten wire at t°C, and R 0 represent the resistance of the tungsten wire at 0°C, then The two have the following relationship

Rt=R0(1+0.0045t)R t =R 0 (1+0.0045t)

例如,设白炽灯的灯丝(钨丝)在正常工作时的温度为2000℃,一只“220V 100W”的白炽灯的灯丝在2000℃正常工作时的电阻为For example, if the temperature of the filament (tungsten filament) of an incandescent lamp is 2000°C during normal operation, the resistance of the filament of a "220V 100W" incandescent lamp at 2000°C is

其在不通电时0℃的电阻为Its resistance at 0°C when no power is applied is

其在不通电时20℃的电阻为Its resistance at 20°C when no power is applied is

R20=R0(1+0.0045t)=52.8ΩR 20 =R 0 (1+0.0045t)=52.8Ω

即白炽灯在启动通电的瞬间电流超过其额定电流的9倍,且最大启动电流发生在启动时刻。随着白炽灯钨丝温度的升高,白炽灯的负载电流按照指数规律减小,然后进入稳定状态。That is, the current of the incandescent lamp at the moment of starting and energizing exceeds 9 times its rated current, and the maximum starting current occurs at the starting moment. As the temperature of the tungsten filament of the incandescent lamp increases, the load current of the incandescent lamp decreases exponentially and then enters a steady state.

设电器负载稳态电流有效值为IW,且定义电器负载电流有效值进入电器负载稳态电流有效值的一个设定的相对误差范围之内并稳定在这个相对误差范围之内,则电器负载进入稳定状态。相对误差范围可以设定为10%,也可以设定为2%、5%、15%、20%等2%-20%之间的值。图2中,设定的相对误差范围为10%,当白炽灯的负载电流按照指数规律减小到其IW的10%误差范围时,如图2中的时刻TS,启动过程结束。白炽灯的启动过程时间为TS。IW为有效值。Assuming that the effective value of the steady-state current of the electrical appliance load is I W , and it is defined that the effective value of the electrical appliance load current enters a set relative error range of the steady-state current effective value of the electrical appliance load and is stable within this relative error range, then the electrical appliance load into a steady state. The relative error range can be set at 10%, or at a value between 2%, 5%, 15%, 20%, etc., between 2% and 20%. In Figure 2, the set relative error range is 10%. When the load current of the incandescent lamp decreases to the 10% error range of its I W according to the exponential law, as shown in the time T S in Figure 2, the start-up process ends. The starting process time of the incandescent lamp is T S . I W is a valid value.

选择启动冲激电流IG、启动平均电流ID、启动电流冲量QI作为电器的启动电流特征;启动冲激电流IG、启动平均电流ID均为标么值。具体定义是:启动冲激电流IG为电器启动开始后T2时间之内的电器负载电流平均值与电器负载稳态电流IW的比值;启动平均电流ID为电器启动时间TS之内的电器负载电流平均值与电器负载稳态电流IW的比值;启动电流冲量QI为启动平均电流ID与启动过程时间TS的乘积,量纲为ms。电器负载电流、电器负载稳态电流均为有效值。T2的取值范围为20-100ms,或者是1-5个工频周期;例如,T2取值40ms,即2个工频周期。启动冲激电流IG反映的是电器负载启动后短时间内的电流冲激大小。在部分电器的启动过程中,当有电器的实际启动过程时间TS小于设定的T2时,令电器的启动过程时间TS等于T2。启动平均电流ID反映的是电器负载启动过程中的电流整体大小。启动电流冲量QI反映的是电器负载启动的整体强度。The starting impulse current I G , the starting average current ID and the starting current impulse Q I are selected as the starting current characteristics of the electrical appliance; the starting impulse current I G and the starting average current ID are all standard unit values. The specific definition is: the starting impulse current I G is the ratio of the average value of the electrical load current to the steady-state current I W of the electrical load within T 2 time after the start of the electrical appliance; the starting average current I D is within the starting time T S of the electrical appliance The ratio of the average value of the load current of the electrical appliance to the steady-state current I W of the electrical appliance load; the starting current impulse Q I is the product of the average starting current ID and the starting process time T S , and the dimension is ms. Electrical load current and electrical load steady-state current are effective values. The value range of T 2 is 20-100 ms, or 1-5 power frequency cycles; for example, the value of T 2 is 40 ms, that is, 2 power frequency cycles. The starting impulse current IG reflects the magnitude of the current impulse within a short time after the electrical load is started. In the starting process of some electrical appliances, when the actual starting process time T S of some electrical appliances is less than the set T 2 , make the starting process time T S of the electrical appliances equal to T 2 . The starting average current ID reflects the overall size of the current during the starting process of the electrical load. The starting current impulse Q I reflects the overall strength of the electrical load starting.

图2中,白炽灯的启动冲激电流IG为T0(白炽灯启动时刻,电流为I0)至T2(设定的时刻,电流为I2)之间白炽灯的电流平均值与白炽灯的稳态电流IW的比值。启动平均电流ID为T0(白炽灯启动时刻)至TS(白炽灯启动过程结束时间)之间白炽灯的电流平均值与白炽灯的稳态电流IW的比值。启动电流冲量QI为白炽灯启动平均电流ID与启动过程时间TS的乘积。In Fig. 2, the starting impulse current I G of the incandescent lamp is the average value of the current of the incandescent lamp between T 0 (the starting time of the incandescent lamp, the current is I 0 ) and T 2 (the setting time, the current is I 2 ) and The ratio of the steady-state current I W of an incandescent lamp. The starting average current ID is the ratio of the average current of the incandescent lamp between T 0 (starting time of the incandescent lamp) and T S (end time of the starting process of the incandescent lamp) and the steady-state current I W of the incandescent lamp. The starting current impulse Q I is the product of the average starting current ID of the incandescent lamp and the starting process time T S .

如图3所示为电阻炉等电阻性负载的启动过程电流波形。电阻炉等电阻性负载通常采用镍铬、铁铬铝等电热合金丝,其共同特点是电阻温度修正系数小,电阻值稳定。以牌号为Cr20Ni80的镍铬电热丝为例,其在1000℃时的电阻修正系数为1.014,即1000℃时相对于20℃时,牌号为Cr20Ni80的镍铬电热丝电阻只增加1.4%。电阻炉等电阻性负载在通电启动时即进入稳定状态,电阻炉等电阻性负载的实际启动过程时间TS=0,因此,令电阻炉等电阻性负载的实际启动过程时间TS=T2;例如,当T2设定为40ms时,则此时的启动过程时间TS也为40ms。由于电阻性负载T0时刻电流I0、T2时刻电流I2与电阻性负载的稳态电流IW相等,因此,电阻性负载的启动冲激电流IG=1,启动平均电流ID=1。Figure 3 shows the current waveform of the start-up process of resistive loads such as resistance furnaces. Resistive loads such as resistance furnaces usually use electrothermal alloy wires such as nickel-chromium, iron-chromium-aluminum, etc., and their common characteristics are small resistance temperature correction coefficient and stable resistance value. Taking the nickel-chromium heating wire with the brand name Cr20Ni80 as an example, its resistance correction coefficient at 1000°C is 1.014, that is, at 1000°C compared to 20°C, the resistance of the nickel-chromium heating wire with the brand name Cr20Ni80 only increases by 1.4%. Resistive loads such as resistance furnaces enter a stable state when they are powered on, and the actual start-up time of resistive loads such as resistance furnaces T S = 0. Therefore, the actual start-up time of resistive loads such as resistance furnaces T S = T 2 ; For example, when T 2 is set to 40ms, the start-up process time T S is also 40ms. Since the current I 0 at the moment T 0 of the resistive load and the current I 2 at the moment T 2 are equal to the steady-state current I W of the resistive load, the starting impulse current I G of the resistive load = 1, and the starting average current I D = 1.

如图4所示为单相电机类负载的启动过程电流波形。单相电机类负载既具有电感性负载特性,又具有反电动势负载特性。启动时刻,由于电感的作用,启动时刻的启动电流I0为0;随后电流迅速上升,在电机反电动势未建立之前,达到电流峰值IM;此后,电机转速增加,电机负载电流逐步减小,直到进入稳定状态。图4中,单相电机类负载的启动冲激电流IG为T0(单相电机类负载启动时刻,电流为I0)至T2(设定的时刻,电流为I2)之间单相电机类负载的电流平均值与稳态电流IW的比值。启动平均电流ID为T0(单相电机类负载启动时刻)至TS(单相电机类负载启动过程结束时间)之间单相电机类负载的电流平均值与稳态电流IW的比值。启动电流冲量QI为单相电机类负载启动平均电流ID与启动过程时间TS的乘积。Figure 4 shows the current waveform of the single-phase motor load during startup. Single-phase motor loads have both inductive load characteristics and counter electromotive force load characteristics. At the starting moment, due to the effect of the inductance, the starting current I 0 at the starting moment is 0; then the current rises rapidly, and reaches the current peak value I M before the back electromotive force of the motor is established; after that, the motor speed increases, and the motor load current gradually decreases, until it reaches a steady state. In Figure 4, the starting impulse current I G of a single-phase motor load is a single-phase current between T 0 (when the single-phase motor load starts, the current is I 0 ) and T 2 (the setting time, the current is I 2 ). The ratio of the average current of the phase motor load to the steady-state current I W. The starting average current I D is the ratio of the average current of the single-phase motor load to the steady-state current I W between T 0 (starting moment of the single-phase motor load) and T S (the end time of the single-phase motor load start-up process) . The starting current impulse Q I is the product of the average starting current ID of a single-phase motor load and the starting process time T S.

如图5所示为计算机及开关电源类负载的启动过程电流波形。计算机及开关电源类负载因为对电容充电的影响,在启动瞬间会产生一个很大的浪涌电流,其峰值可达到稳态电流有效值IW的几倍至十几倍,时间为1至2个工频周期。由于计算机及开关电源类负载的启动时间短,其启动过程时间TS有可能小于设定的T2;当其启动过程时间TS小于设定的T2时,令TS等于T2。图5中,计算机及开关电源类负载的启动冲激电流IG为T0(计算机及开关电源类负载启动时刻,电流为I0)至T2(设定的时刻,电流为I2)之间计算机及开关电源类负载的电流平均值与稳态电流IW的比值。启动平均电流ID为T0(计算机及开关电源类负载启动时刻)至TS(计算机及开关电源类负载启动过程结束时间)之间计算机及开关电源类负载的电流平均值与稳态电流IW的比值。启动电流冲量QI为计算机及开关电源类负载启动平均电流ID与启动过程时间TS的乘积。Figure 5 shows the current waveforms of the computer and switching power supply loads during startup. Computer and switching power supply loads will generate a large surge current at the moment of startup due to the impact on capacitor charging, and its peak value can reach several times to ten times the steady-state current effective value I W , and the time is 1 to 2 frequency cycle. Due to the short start-up time of computers and switching power supply loads, the start-up process time T S may be less than the set T 2 ; when the start-up process time T S is less than the set T 2 , set T S equal to T 2 . In Fig. 5, the start-up impulse current I G of computer and switching power supply loads is between T 0 (when the computer and switching power supply loads start, the current is I 0 ) to T 2 (the setting time, the current is I 2 ) The ratio of the average current of computer and switching power supply loads to the steady-state current I W. Starting average current I D is the average current and steady-state current I of computer and switching power loads between T 0 (starting time of computer and switching power loads) and T S (end time of starting process of computer and switching power loads) Ratio of W. The starting current impulse Q I is the product of the average starting current ID of computer and switching power supply loads and the starting process time T S.

获取电器的启动电流特征的方法是:The method to obtain the starting current characteristics of the electrical appliance is:

电器启动前,负载电流值为0(未开机)或者很小(处于待机状态)时,信息处理模块102即开始对负载电流进行连续采样;当采样得到的负载电流值有效值开始大于0或者是开始大于电器的待机电流时,即判断出电器已经启动,记录该时刻为T0。用一个较小的非负阈值ε来区分电器启动前后的负载电流值,当ε取值特别小时,例如,ε取值1mA时,所述装置不考虑待机情况,即认为待机也是电器的启动状态;当ε取值较小但大于电器的待机电流时,例如,ε取值20mA时,所述装置会将电器的待机状态认为是未启动状态,但同时也会的部分功率特别小的电器造成漏判断。Before the electrical appliance starts, when the load current value is 0 (not powered on) or very small (in standby state), the information processing module 102 starts to continuously sample the load current; when the sampled effective value of the load current starts to be greater than 0 or is When it starts to be greater than the standby current of the electrical appliance, it is judged that the electrical appliance has been started, and this moment is recorded as T 0 . A small non-negative threshold ε is used to distinguish the load current value before and after the electrical appliance is started. When the value of ε is particularly small, for example, when the value of ε is 1mA, the device does not consider the standby situation, that is, the standby is also the starting state of the electrical appliance ; When the value of ε is small but greater than the standby current of the electrical appliance, for example, when the value of ε is 20mA, the device will consider the standby state of the electrical appliance as an inactive state, but at the same time, some electrical appliances with particularly small power will cause Leaked judgment.

信息处理模块102对负载电流进行连续采样,且以工频周期为单位计算负载电流有效值并保存;当电器已经启动,且连续采样达到N个工频周期后,采样的同时连续计算最近N个工频周期的负载电流有效值的平均值IV;信息处理模块102对最近N个工频周期之内每个工频周期的负载电流有效值与该N个工频周期的负载电流有效值的平均值进行比较,误差(或波动)幅度均小于设定的相对误差范围E时,判定电器负载进入稳定状态,该最近N个工频周期的起始时刻为启动过程的结束时刻,记录该时刻为T1(如图2-图5所示)。The information processing module 102 continuously samples the load current, and calculates and saves the effective value of the load current in units of power frequency cycles; when the electrical appliance has been started and the continuous sampling reaches N power frequency cycles, the latest N values are continuously calculated while sampling. The average value IV of the load current effective value of the power frequency cycle; the information processing module 102 compares the load current effective value of each power frequency cycle within the latest N power frequency cycles with the load current effective value of the N power frequency cycles Compared with the average value, when the error (or fluctuation) range is less than the set relative error range E, it is judged that the electrical load has entered a stable state, and the start time of the latest N power frequency cycles is the end time of the start-up process, record this time is T 1 (as shown in Fig. 2-Fig. 5).

将最近N个工频周期之内的负载电流有效值的平均值作为电器负载稳态电流IW;将电器开始启动时刻T0至最近N个工频周期起始时刻T1之间的时间作为启动过程时间TS。计算T0至设定的T2之间(即电器开始启动后1-5个工频周期之内)的负载电流平均值与稳态电流IW的比值,将该比值作为电器的启动冲激电流IG。计算T0至TS之间的负载电流平均值与稳态电流IW的比值,将该比值作为电器的启动平均电流ID。计算电器的启动平均电流ID与启动过程时间TS的乘积,将该乘积作为电器的启动电流冲量QIThe average value of the effective value of the load current within the latest N power frequency cycles is taken as the steady-state current I W of the electrical appliance load; Start process time T S . Calculate the ratio of the average value of the load current to the steady-state current I W between T 0 and the set T 2 (that is, within 1-5 power frequency cycles after the electrical appliance starts to start), and use this ratio as the starting impulse of the electrical appliance current I G . Calculate the ratio of the average load current between T 0 and T S to the steady-state current I W , and use this ratio as the starting average current ID of the electrical appliance. Calculate the product of the starting average current ID of the electrical appliance and the starting process time T S , and use this product as the starting current impulse Q I of the electrical appliance.

由于预先不知道电器负载稳态电流有效值IW,因此,将N个工频周期,即一段持续时间TP之内波动范围小于设定的相对误差范围E时的负载电流有效值的平均值作为电器负载稳态电流有效值IW。由于普通电器负载的启动过程较快,所以,TP的取值范围为1-10s,典型取值是2s,相应的工频周期数量N的取值范围为50-500,N的典型取值是100。所述相对误差范围E的取值范围为2%-20%,E的典型取值是10%。Since the effective value of the steady-state current I W of the electrical appliance load is not known in advance, the average value of the effective value of the load current when the fluctuation range is less than the set relative error range E within N power frequency cycles, that is, a period of time T P As the effective value of the steady-state current of the electrical appliance load I W . Due to the fast start-up process of ordinary electrical loads, the value range of T P is 1-10s, the typical value is 2s, and the corresponding power frequency cycle number N ranges from 50-500, the typical value of N is 100. The value range of the relative error range E is 2%-20%, and the typical value of E is 10%.

组合分类器的输入特征还包括电器的负载电流频谱特征。电器的负载电流频谱特征由信息处理模块102控制信息采集模块101,通过以下步骤获得:The input features of the combination classifier also include the load current spectrum features of electrical appliances. The load current spectrum feature of the electrical appliance is obtained by the information processing module 102 controlling the information collection module 101 through the following steps:

步骤一、待电器负载进入稳定状态后,获取电器负载的稳态电流信号,并将其转换为对应的稳态电流数字信号。Step 1. After the electrical load enters a steady state, the steady-state current signal of the electrical load is obtained and converted into a corresponding steady-state current digital signal.

步骤二、对稳态电流数字信号进行傅立叶变换,得到负载电流频谱特性。为保证傅立叶变换的顺利进行,在前述获取电器负载的稳态电流信号,并将其转换为对应的稳态电流数字信号的过程中,A/D转换器的精度和速度需要满足傅立叶变换的要求,采样频率可以设定为10kHz,或者是其他数值;信息处理模块102对采集到的稳态电流数字信号进行FFT运算,计算其频谱。Step 2, performing Fourier transform on the steady-state current digital signal to obtain the load current spectrum characteristic. In order to ensure the smooth progress of Fourier transform, in the process of obtaining the steady-state current signal of the electrical load and converting it into the corresponding steady-state current digital signal, the accuracy and speed of the A/D converter need to meet the requirements of Fourier transform , the sampling frequency can be set to 10kHz, or other numerical values; the information processing module 102 performs FFT operation on the collected steady-state current digital signal, and calculates its frequency spectrum.

步骤三、将负载电流频谱特性中的n次谐波信号相对幅值作为负载电流频谱特征,其中,n=1,2,…,M;在组成组合分类器的输入特征向量时,n次谐波信号相对幅值在输入特征向量中按照1,2,…,M的顺序依次排列。由于负载电流频谱特性主要由奇次谐波组成,除少数电器设备外,偶次谐波分量几乎为0,因此,也可以将负载电流频谱特性中谐波次数为n的次奇次谐波信号相对幅值作为负载电流频谱特征,其中,n=1,3,…,M。所述谐波信号相对幅值为谐波信号幅值与电器负载稳态电流有效值IW的比值。n=1时的1次谐波为工频基波。所述M表示谐波最高次数,一般情况下,M大于等于5。Step 3, use the relative amplitude of the nth harmonic signal in the load current spectral characteristic as the load current spectral characteristic, wherein, n=1, 2, ..., M; when forming the input feature vector of the combined classifier, the nth harmonic The relative amplitude of the wave signal is arranged in the order of 1, 2, ..., M in the input feature vector. Since the load current spectral characteristics are mainly composed of odd harmonics, except for a few electrical equipment, the even harmonic components are almost 0, therefore, the odd harmonic signal whose harmonic order is n in the load current spectral characteristics can also be The relative amplitude is used as the characteristic of the load current spectrum, where, n=1, 3, . . . , M. The relative amplitude of the harmonic signal is the ratio of the amplitude of the harmonic signal to the effective value I W of the steady-state current of the electrical appliance load. The 1st harmonic when n=1 is the power frequency fundamental wave. The M represents the highest order of the harmonic, and in general, M is greater than or equal to 5.

组合分类器中,BP神经网络分类器为主分类器,贝叶斯分类器为辅助分类器。组合分类器的输入特征包括前述的启动电流特征和负载电流频谱特征,组合分类器的输入特征同时作为BP神经网络分类器的输入特征和贝叶斯分类器的输入特征。In the combined classifiers, the BP neural network classifier is the main classifier, and the Bayesian classifier is the auxiliary classifier. The input features of the combined classifier include the aforementioned start-up current features and load current spectrum features, and the input features of the combined classifier are both the input features of the BP neural network classifier and the input features of the Bayesian classifier.

如图6所示为电器分类装置的电器识别分类方法流程图,具体步骤是:As shown in Figure 6, it is a flow chart of the electrical appliance identification and classification method of the electrical appliance classification device, and the specific steps are:

步骤A、等待电器启动;Step A, wait for the electrical appliance to start;

步骤B、采集电器启动电流数据并保存,直至电器启动过程结束;Step B, collecting and saving the starting current data of the electric appliance until the end of the starting process of the electric appliance;

步骤C、分析采集的电器启动电流数据,获取电器的启动电流特征;Step C, analyzing the collected starting current data of the electric appliance to obtain the starting current characteristics of the electric appliance;

步骤D、采集电器稳态工作时的数据并保存;Step D, collect and save the data when the electric appliance works in a steady state;

步骤E、分析采集的电器稳态工作时的数据,获取电器的负载电流频谱特征;Step E, analyzing the collected data of the electric appliance during steady state operation, and obtaining the load current spectrum characteristics of the electric appliance;

步骤F、将启动电流特征和负载电流频谱特征作为组合分类器的输入特征;组合分类器进行电器识别分类;Step F, using the starting current feature and the load current spectrum feature as the input features of the combined classifier; the combined classifier performs electrical identification and classification;

步骤G、输出电器识别分类结果。Step G, outputting the electrical appliance identification and classification results.

所述组合分类器进行电器识别分类与识别的方法是:当主分类器成功实现电器识别分类,即主分类器输出的判断结果为唯一的电器类型,即判断结果中唯一的电器类型为是时,将主分类器判断的电器类型作为组合分类器的电器识别分类结果;当主分类器未能实现电器识别分类,且主分类器的判断结果为2种或者2种以上电器类型,即判断结果中有2种或者2种以上电器类型为是时,将主分类器输出的2种或者2种以上电器识别分类结果中,辅助分类器输出中概率最高的电器类型作为组合分类器的电器识别分类结果;当主分类器未能实现电器识别分类,且主分类器的判断结果中未能给出判断的电器类型,即判断结果中没有电器类型为是时,将辅助分类器输出中概率最高的电器类型作为组合分类器的电器识别分类结果。The method for the combined classifier to identify and classify electrical appliances is as follows: when the main classifier successfully implements electrical identification and classification, that is, when the judgment result output by the main classifier is the only electrical appliance type, that is, when the only electrical appliance type in the judgment result is yes, The electrical appliance type judged by the main classifier is used as the electrical appliance identification and classification result of the combined classifier; When 2 or more types of electrical appliances are yes, among the 2 or more types of electrical identification and classification results output by the main classifier, the electrical appliance type with the highest probability in the output of the auxiliary classifier is used as the electrical identification and classification result of the combined classifier; When the main classifier fails to realize electrical identification and classification, and the judgment result of the main classifier fails to give the judged electrical type, that is, if there is no electrical type in the judgment result, the electrical type with the highest probability in the output of the auxiliary classifier is taken as Combined classifier's appliance recognition classification results.

以一个简单的实施例1为例,来说明组合分类器进行电器识别分类的方法。设有一个组合分类器,其输入特征为x={IG,ID,QI,A1,A2,A3,A4,A5},其中,IG是启动冲激电流;ID是启动平均电流;QI是启动电流冲量;A1、A2、A3、A4、A5为负载电流频谱特性中的1-5次谐波信号相对幅值。组合分类器的输出是{B1,B2,B3,B4},B1、B2、B3、B4分别代表组合分类器对白炽灯、电阻炉、吹风机、计算机的判断结果输出,判断结果B1、B2、B3、B4的取值均为二值分类标记。主分类器的输入特征也是x={IG,ID,QI,A1,A2,A3,A4,A5},其输出是{F1,F2,F3,F4},F1、F2、F3、F4分别代表主分类器对白炽灯、电阻炉、吹风机、计算机的判断结果输出,判断结果F1、F2、F3、F4的取值也均为二值分类标记。辅助分类器的输入特征同样为x={IG,ID,QI,A1,A2,A3,A4,A5},其输出是{P(y1|x),P(y2|x),P(y3|x),P(y4|x)},P(y1|x)、P(y2|x)、P(y3|x)、P(y4|x)为辅助分类器输出的后验概率,P(y1|x)、P(y2|x)、P(y3|x)、P(y4|x)之间的相互大小表明辅助分类器的当前输入特征表示所判断的电器属于白炽灯、电阻炉、吹风机、计算机的可能性大小。A simple embodiment 1 is taken as an example to illustrate the method of combining classifiers to identify and classify electrical appliances. There is a combined classifier whose input feature is x={I G , I D , Q I , A 1 , A 2 , A 3 , A 4 , A 5 }, where I G is the starting impulse current; I D is the starting average current; Q I is the starting current impulse; A 1 , A 2 , A 3 , A 4 , and A 5 are the relative amplitudes of the 1-5 harmonic signals in the load current spectrum characteristics. The output of the combined classifier is {B 1 , B 2 , B 3 , B 4 }, B 1 , B 2 , B 3 , and B 4 respectively represent the output of the combined classifier’s judgment results for incandescent lamps, resistance furnaces, hair dryers, and computers , the values of the judgment results B 1 , B 2 , B 3 , and B 4 are all binary classification marks. The input features of the main classifier are also x={I G , I D , Q I , A 1 , A 2 , A 3 , A 4 , A 5 }, and its output is {F 1 , F 2 , F 3 , F 4 }, F 1 , F 2 , F 3 , and F 4 respectively represent the output of the judgment results of the main classifier for incandescent lamps, resistance furnaces, hair dryers, and computers, and the values of the judgment results F 1 , F 2 , F 3 , and F 4 are also Both are binary classification labels. The input feature of the auxiliary classifier is also x={I G , ID , Q I , A 1 , A 2 , A 3 , A 4 , A 5 }, and its output is {P(y 1 |x), P( y 2 |x), P(y 3 |x), P(y 4 |x)}, P(y 1 |x), P(y 2 |x), P(y 3 |x), P(y 4 |x) is the posterior probability output by the auxiliary classifier, and the mutual size between P(y 1 |x), P(y 2 |x), P(y 3 |x), and P(y 4 |x) Indicates that the current input features of the auxiliary classifier represent the possibility that the judged electrical appliances belong to incandescent lamps, resistance stoves, hair dryers, and computers.

在实施例1中,B1、B2、B3、B4的分类标记和F1、F2、F3、F4的分类标记均取1、0。分类标记为1时,相应的电器类型与当前输入特征匹配,为确认的判断结果,或者说相应的电器识别分类结果为是;分类标记为0时,相应的电器类型与输入特征不匹配,未能成为确认的判断结果,或者说相应的电器识别分类结果为否。In Example 1, the classification marks of B 1 , B 2 , B 3 , and B 4 and the classification marks of F 1 , F 2 , F 3 , and F 4 are all 1 and 0. When the classification mark is 1, the corresponding electrical appliance type matches the current input feature, which is a confirmed judgment result, or the corresponding electrical appliance identification and classification result is yes; when the classification mark is 0, the corresponding electrical appliance type does not match the input feature, not The judgment result that can be confirmed, or the corresponding electric appliance identification and classification result is no.

在实施例1中,设某次的主分类器的判断结果分类标记为F1F2F3F4=0100,则认为主分类器成功实现电器识别分类,因此,不考虑辅助分类器的判断结果,直接令B1B2B3B4=0100,即组合分类器的判断结果是:被判断的电器为电阻炉。In Embodiment 1, if the classification mark of the judgment result of a certain main classifier is F 1 F 2 F 3 F 4 =0100, then it is considered that the main classifier successfully realizes the identification and classification of electrical appliances, so the judgment of the auxiliary classifier is not considered As a result, directly set B 1 B 2 B 3 B 4 =0100, that is, the judgment result of the combination classifier is: the judged electric appliance is a resistance furnace.

在实施例1中,设某次的主分类器的判断结果分类标记为F1F2F3F4=1010,则认为主分类器未能实现电器识别分类,且主分类器的判断结果为2种或者2种以上电器类型;再设此时辅助分类器的判断结果满足P(y1|x)<P(y3|x),则令B1B2B3B4=0010,即组合分类器的判断结果是:被判断的电器为吹风机。In Embodiment 1, if the classification mark of the judgment result of a certain main classifier is F 1 F 2 F 3 F 4 =1010, then it is considered that the main classifier failed to realize the electrical identification classification, and the judgment result of the main classifier is 2 or more than 2 types of electrical appliances; and assuming that the judgment result of the auxiliary classifier satisfies P(y 1 |x)<P(y 3 |x), then let B 1 B 2 B 3 B 4 =0010, that is The judging result of the combined classifier is: the judged electrical appliance is a hair dryer.

在实施例1中,设某次的主分类器的判断结果分类标记为F1F2F3F4=0000,则认为主分类器未能实现电器识别分类,且主分类器的判断结果中未能给出判断的电器类型;再设此时辅助分类器的判断结果满足P(y1|x)>P(y2|x)且P(y1|x)>P(y3|x)且P(y1|x)>P(y4|x),则令B1B2B3B4=1000,即组合分类器的判断结果是:被判断的电器为白炽灯。In Embodiment 1, if the classification mark of the judgment result of a certain main classifier is F 1 F 2 F 3 F 4 =0000, then it is considered that the main classifier has failed to realize electrical appliance identification and classification, and the judgment result of the main classifier is The type of electrical appliance that can not be judged is given; and the judgment result of the auxiliary classifier at this time is set to satisfy P(y 1 |x)>P(y 2 |x) and P(y 1 |x)>P(y 3 |x ) and P(y 1 |x)>P(y 4 |x), then set B 1 B 2 B 3 B 4 =1000, that is, the judgment result of the combination classifier is: the electric appliance judged is an incandescent lamp.

组合分类器、主分类器的判断结果分类标记也可以采用其他的方案,例如,分别用分类标记1、-1,或者是0、1,或者是-1、1,以及其他方案来表示相应电器判断结果为是、否。组合分类器与主分类器的分类标记方案可以相同,也可以不相同。The classification marks of the judgment results of the combined classifier and the main classifier can also adopt other schemes, for example, use the classification marks 1, -1, or 0, 1, or -1, 1, and other schemes to represent the corresponding electrical appliances The judgment result is yes or no. The classification labeling scheme of the combined classifier and the main classifier can be the same or different.

所述组合分类器的输入特征中,还可以包括电器负载稳态电流有效值IW。例如,有2种不同的电器,电烙铁和电阻炉需要判断,电烙铁、电阻炉都是纯电阻负载,且都具有电阻温度修正系数小,电阻值稳定的共同特点。因此,单纯依靠前述的启动电流特征和负载电流频谱特征无法将他们进行区分。输入特征中增加电器负载稳态电流有效值IW后,电烙铁功率小,电器负载稳态电流有效值IW小;电阻炉功率大,电器负载稳态电流有效值IW大,特征不同,组合分类器可以进行并完成判断。The input features of the combined classifier may also include the effective value I W of the steady-state current of the electrical appliance load. For example, there are two different electrical appliances, electric soldering iron and resistance furnace, which need to be judged. Both electric soldering iron and resistance furnace are pure resistance loads, and both have the common characteristics of small resistance temperature correction coefficient and stable resistance value. Therefore, they cannot be distinguished simply by relying on the aforementioned starting current characteristics and load current spectrum characteristics. After adding the effective value of the steady-state current I W of the electric appliance load in the input feature, the power of the electric soldering iron is small, and the effective value I W of the steady-state current of the electric appliance load is small; the power of the resistance furnace is large, and the effective value I W of the steady-state current of the electric appliance load is large, and the characteristics are different. Combined classifiers can make and complete judgments.

辅助分类器为贝叶斯分类器。可以选择NBC分类器(朴素贝叶斯分类器)、TAN分类器(树扩展朴素贝叶斯分类器)、BAN分类器(增强的贝叶斯分类器)等三种贝叶斯分类器之中的一种作为辅助分类器。The auxiliary classifier is a Bayesian classifier. You can choose among three Bayesian classifiers such as NBC classifier (Naive Bayesian classifier), TAN classifier (Tree-extended Naive Bayesian classifier), BAN classifier (Enhanced Bayesian classifier) A kind of as an auxiliary classifier.

实施例2选择NBC分类器作为辅助分类器。朴素贝叶斯分类的定义如下:Example 2 selects the NBC classifier as the auxiliary classifier. Naive Bayes classification is defined as follows:

⑴设x={a1,a2,…,am}为一个待分类项,而每个a为x的一个特征属性;(1) Let x={a 1 , a 2 ,..., a m } be an item to be classified, and each a is a characteristic attribute of x;

⑵有类别集合C={y1,y2,…,yn};⑵There is a category set C={y 1 , y 2 ,...,y n };

⑶计算P(y1|x),P(y2|x),…,P(yn|x);⑶ Calculate P(y 1 |x), P(y 2 |x),..., P(y n |x);

⑷如果P(yk|x)=max{P(y1|x),P(y2|x),…,P(yn|x)},则x∈yk(4) If P(y k |x)=max{P(y 1 |x), P(y 2 |x), ..., P(y n |x)}, then x∈y k .

计算第⑶步中的各个条件概率的具体方法是:The specific method of calculating each conditional probability in step (3) is:

①找到一个已知分类的待分类项集合作为训练样本集;① Find a set of items to be classified with known classification as the training sample set;

②统计得到各类别下各个特征属性的条件概率估计;②Statistically obtain the conditional probability estimates of each feature attribute under each category;

P(a1|y1),P(a2|y1),…,P(am|y1);P(a 1 |y 1 ), P(a 2 |y 1 ),..., P(a m |y 1 );

P(a1|y2),P(a2|y2),…,P(am|y2);P(a 1 |y 2 ), P(a 2 |y 2 ),..., P(a m |y 2 );

…;...;

P(a1|yn),P(a2|yn),…,P(am|yn)。P(a 1 |y n ), P(a 2 |y n ),..., P(a m |y n ).

③根据贝叶斯定理,有:③According to Bayes' theorem, there are:

因为分母对于所有类别为常数,因此我们只要将分子最大化即可;又因为在朴素贝叶斯中各特征属性是条件独立的,所以有:Because the denominator is constant for all categories, we only need to maximize the numerator; and because each feature attribute in Naive Bayes is conditionally independent, so there are:

实施例2中,组合分类器的输入特征是{IG,ID,QI,A1,A3,A5,IW},其中,IG是启动冲激电流;ID是启动平均电流;QI是启动电流冲量;A1、A3、A5为负载电流频谱特性中的1、3、5次奇次谐波信号相对幅值;IW为电器负载稳态电流有效值,单位是安培。要求判断的电器类别是白炽灯、电阻炉、电风扇、计算机、电烙铁。令朴素贝叶斯分类器的特征属性组合x={a1,a2,a3,a4,a5,a6,a7}中的元素与组合分类器的输入特征集合中的元素按序{IG,ID,QI,A1,A3,A5,IW}一一对应;朴素贝叶斯分类器的输出类别集合C={y1,y2,y3,y4,y5}则分别与电器类别白炽灯、电阻炉、电风扇、计算机、电烙铁一一对应。In Example 2, the input features of the combined classifier are {I G , ID , Q I , A 1 , A 3 , A 5 , I W }, where I G is the starting impulse current; ID is the starting average current; Q I is the starting current impulse; A 1 , A 3 , A 5 are the relative amplitudes of the 1st, 3rd, and 5th odd-order harmonic signals in the spectrum characteristics of the load current; I W is the effective value of the steady-state current of the electrical appliance load, The unit is ampere. The electrical appliances that require judgment are incandescent lamps, resistance furnaces, electric fans, computers, and electric soldering irons. Let the elements in the feature attribute combination x={a 1 , a 2 , a 3 , a 4 , a 5 , a 6 , a 7 } of the naive Bayesian classifier and the elements in the input feature set of the combined classifier press Sequence {I G , I D , Q I , A 1 , A 3 , A 5 , I W } one-to-one correspondence; output category set C of Naive Bayesian classifier={y 1 , y 2 , y 3 , y 4 , y 5 } are in one-to-one correspondence with electrical appliances such as incandescent lamps, resistance furnaces, electric fans, computers, and electric soldering irons.

训练NBC分类器的过程包括:The process of training an NBC classifier includes:

1、对特征属性进行分段划分,进行离散化处理。实施例2中,采取的特征属性离散化方法是:1. Divide the feature attributes into segments and perform discretization. In Embodiment 2, the feature attribute discretization method adopted is:

a1:{a1<2.8,2.8≤a1≤5.2,a1>5.2};a 1 : {a 1 <2.8, 2.8≤a 1 ≤5.2, a 1 >5.2};

a2:{a2<1.31,1.31≤a2≤2.6,a2>2.6};a 2 : {a 2 <1.31, 1.31≤a 2 ≤2.6, a 2 >2.6};

a3:{a3<128,128≤a3≤550,a3>550};a 3 : {a 3 <128, 128≤a 3 ≤550, a 3 >550};

a4:{a4<0.7,0.7≤a4≤0.9,a4>0.9};a 4 : {a 4 <0.7, 0.7≤a 4 ≤0.9, a 4 >0.9};

a5:{a5<0.02,0.02≤a5≤0.05,a5>0.05};a 5 : {a 5 <0.02, 0.02≤a 5 ≤0.05, a 5 >0.05};

a6:{a6<0.01,0.01≤a6≤0.035,a6>0.035};a 6 : {a 6 <0.01, 0.01≤a 6 ≤0.035, a 6 >0.035};

a7:{a7<0.45,a7≥0.45}。a 7 : {a 7 <0.45, a 7 ≥0.45}.

2、对每类电器类型均采集多组样本作为训练样本,同时计算每类电器类型样本在所有电器类型样本中所占有的比例,即分别计算P(y1)、P(y2)、P(y3)、P(y4)、P(y5)。当每类电器均采集相同的样本数量时,例如,每类电器均采集超过100组的样本,其中每类电器随机选择100组样本作为训练样本,其他则作为测试样本,总的训练样本为500组,且有2. Collect multiple sets of samples for each type of electrical appliances as training samples, and calculate the proportion of each type of electrical appliances in all electrical appliances, that is, calculate P(y 1 ), P(y 2 ), P (y 3 ), P(y 4 ), P(y 5 ). When the same number of samples is collected for each type of electrical appliance, for example, each type of electrical appliance collects more than 100 groups of samples, among which 100 groups of samples are randomly selected for each type of electrical appliance as training samples, and the others are used as test samples. The total training samples are 500 group with

P(y1)=P(y2)=P(y3)=P(y4)=P(y5)=0.2。P(y 1 )=P(y 2 )=P(y 3 )=P(y 4 )=P(y 5 )=0.2.

3、计算训练样本每个类别条件下各个特征属性分段的频率(比例),统计得到各类别下各个特征属性的条件概率估计,即分别统计计算3. Calculate the frequency (proportion) of each feature attribute segment under each category condition of the training sample, and obtain the conditional probability estimate of each feature attribute under each category, that is, statistical calculation respectively

P(a1<2.8|y1)、P(2.8≤a1≤5.2|y1)、P(a1>5.2|y1);P(a 1 <2.8|y 1 ), P(2.8≤a 1 ≤5.2|y 1 ), P(a 1 >5.2|y 1 );

P(a1<2.8|y2)、P(2.8≤a1≤5.2|y2)、P(a1>5.2|y2);P(a 1 <2.8|y 2 ), P(2.8≤a 1 ≤5.2|y 2 ), P(a 1 >5.2|y 2 );

…;...;

P(a1<2.8|y5)、P(2.8≤a1≤5.2|y5)、P(a1>5.2|y5);P(a 1 <2.8|y 5 ), P(2.8≤a 1 ≤5.2|y 5 ), P(a 1 >5.2|y 5 );

P(a2<1.31|y1)、P(1.31≤a2≤2.6|y1)、P(a2>2.6|y1);P(a 2 <1.31|y 1 ), P(1.31≤a 2 ≤2.6|y 1 ), P(a 2 >2.6|y 1 );

P(a2<1.31|y2)、P(1.31≤a2≤2.6|y2)、P(a2>2.6|y2);P(a 2 <1.31|y 2 ), P(1.31≤a 2 ≤2.6|y 2 ), P(a 2 >2.6|y 2 );

…;...;

P)a2<1.31|y5)、P(1.31≤a2≤2.6|y5)、P(a2>2.6|y5);P) a 2 <1.31|y 5 ), P(1.31≤a 2 ≤2.6|y 5 ), P(a 2 >2.6|y 5 );

P(a3<128|y1)、P(128≤a3≤550|y1)、P(a3>550|y1);P(a 3 <128|y 1 ), P(128≤a 3 ≤550|y 1 ), P(a 3 >550|y 1 );

P(a3<128|y2)、P(128≤a3≤550|y2)、P(a3>550|y2);P(a 3 <128|y 2 ), P(128≤a 3 ≤550|y 2 ), P(a 3 >550|y 2 );

…;...;

P(a3<128|y5)、P(128≤a3≤550|y5)、P(a3>550|y5);P(a 3 <128|y 5 ), P(128≤a 3 ≤550|y 5 ), P(a 3 >550|y 5 );

P(a4<0.7|y1)、P(0.7≤a4≤0.9|y1)、P(a4>0.9|y1);P(a 4 <0.7|y 1 ), P(0.7≤a 4 ≤0.9|y 1 ), P(a 4 >0.9|y 1 );

P(α4<0.7|y2)、P(0.7≤a4≤0.9|y2)、P(a4>0.9|y2);P(α 4 <0.7|y 2 ), P(0.7≤a 4 ≤0.9|y 2 ), P(a 4 >0.9|y 2 );

…;...;

P(a4<0.7|y5)、P(0.7≤a4≤0.9|y5)、P(a4>0.9|y5);P(a 4 <0.7|y 5 ), P(0.7≤a 4 ≤0.9|y 5 ), P(a 4 >0.9|y 5 );

P(a5<0.02|y1)、P(0.02≤a5≤0.05|y1)、P(a5>0.05|y1);P(a 5 <0.02|y 1 ), P(0.02≤a 5 ≤0.05|y 1 ), P(a 5 >0.05|y 1 );

P(a5<0.02|y2)、P(0.02≤a5≤0.05|y2)、P(a5>0.05|y2);P(a 5 <0.02|y 2 ), P(0.02≤a 5 ≤0.05|y 2 ), P(a 5 >0.05|y 2 );

P(a5<0.02|y5)、P(0.02≤a5≤0.05|y5)、P(a5>0.05|y5);P(a 5 <0.02|y 5 ), P(0.02≤a 5 ≤0.05|y 5 ), P(a 5 >0.05|y 5 );

P(a6<0.01|y1)、P(0.01≤a6≤0.035|y1)、P(a6>0.035|y1);P(a 6 <0.01|y 1 ), P(0.01≤a 6 ≤0.035|y 1 ), P(a 6 >0.035|y 1 );

P(a6<0.01|y2)、P(0.01≤a6≤0.035|y2)、P(a6>0.035|y2);P(a 6 <0.01|y 2 ), P(0.01≤a 6 ≤0.035|y 2 ), P(a 6 >0.035|y 2 );

…;...;

P(a6<0.01|y5)、P(0.01≤a6≤0.035|y5)、P(a6>0.035|y5);P(a 6 <0.01|y 5 ), P(0.01≤a 6 ≤0.035|y 5 ), P(a 6 >0.035|y 5 );

P(a7<0.45|y1)、P(a7≥0.45|y1);P(a 7 <0.45|y 1 ), P(a 7 ≥0.45|y 1 );

P(a7<0.45|y2)、P(a7≥0.45|y2);P(a 7 <0.45|y 2 ), P(a 7 ≥0.45|y 2 );

…;...;

P(a7<0.45|y5)、P(a7≥0.45|y5)。P(a 7 <0.45|y 5 ), P(a 7 ≥0.45|y 5 ).

经过上述的步骤1、步骤2、步骤3,NBC分类器训练完成。其中,步骤1对特征属性进行分段划分由人工确定,对每一个输入特征进行分段离散化时,分段的数量为2段或者2段以上,例如,实施例2中,特征a1-a6都分为3段,特征a7分为2段。每一个特征具体分为多少段,分段阈值的选择可以根据训练后的贝叶斯分类器对测试样本测试后的结果进行调整。步骤2、步骤3由信息处理模块102或者是计算机计算完成。After the above steps 1, 2 and 3, the training of the NBC classifier is completed. Among them, step 1 divides the feature attributes into segments manually determined, and when discretizing each input feature into segments, the number of segments is 2 segments or more. For example, in embodiment 2, feature a 1 - a 6 is divided into 3 sections, feature a 7 is divided into 2 sections. How many segments each feature is divided into, and the selection of the segmentation threshold can be adjusted according to the results of the test sample after the training of the Bayesian classifier. Step 2 and Step 3 are completed by the information processing module 102 or computer calculation.

本发明中采用贝叶斯分类器进行分类的方法是:The method that adopts Bayesian classifier to classify among the present invention is:

1、将组合分类器的输入特征作为贝叶斯分类器的输入特征。在实施例2中,将组合分类器的输入特征集合{IG,ID,QI,A1,A3,A5,IW}作为贝叶斯分类器的输入特征x,且有x={a1,a2,a3,a4,a5,a6,a7}。1. Use the input features of the combined classifier as the input features of the Bayesian classifier. In Example 2, the input feature set {I G , ID , Q I , A 1 , A 3 , A 5 , I W } of the combined classifier is used as the input feature x of the Bayesian classifier, and x = {a 1 , a 2 , a 3 , a 4 , a 5 , a 6 , a 7 }.

2、根据训练得到的各类别下各个特征属性的条件概率估计,分别确定各输入特征属性的分段所在并确定其对每类电器类别的概率P(a1|y1)~P(am|yn),其中,电器类别集合为C={y1,y2,…,yn}。实施例2中,电器类别集合C={y1,y2,y3,y4,y5}对应代表的电器类别是白炽灯、电阻炉、电风扇、计算机、电烙铁,确定P(a1|y1)~P(a7|y5)的方法是采用训练NBC分类器过程中得到的各个特征属性的条件概率估计。2. According to the conditional probability estimation of each characteristic attribute under each category obtained through training, respectively determine the segmentation location of each input characteristic attribute and determine its probability P(a 1 |y 1 )~P(a m |y n ), where the set of electrical appliance categories is C={y 1 , y 2 ,...,y n }. In Example 2, the electrical appliance category set C={y 1 , y 2 , y 3 , y 4 , y 5 } corresponds to the representative electrical appliance categories including incandescent lamps, resistance furnaces, electric fans, computers, and electric soldering irons, and P(a 1 |y 1 )~P(a 7 |y 5 ) method is to use the conditional probability estimation of each feature attribute obtained in the process of training the NBC classifier.

3、按照式3. According to the formula

计算每种电器类别的后验概率。因为分母P(x)对于所有电器类别为常数,令P(x)=1替代实际的P(x)值,不影响每种电器类别后验概率之间的相互大小比较,此时有Compute the posterior probability for each appliance class. Since the denominator P(x) is a constant for all electrical appliances, setting P(x)=1 to replace the actual P(x) value does not affect the mutual comparison between the posterior probabilities of each electrical appliance category. At this time, there is

实施例2中,有In Example 2, there are

采用测试样本对训练好的贝叶斯分类器进行测试,根据测试结果决定是否调整对输入特征的离散化方法(即调整分段数量与阈值),重新训练贝叶斯分类器。Use test samples to test the trained Bayesian classifier, and decide whether to adjust the discretization method for input features (that is, adjust the number of segments and thresholds) according to the test results, and retrain the Bayesian classifier.

主分类器为BP神经网络分类器,选择3层BP神经网络分类器作为主分类器。将BP神经网络分类器输入特征向量中元素的数量,即输入特征的数量作为输入层的节点数,例如,实施例1中的8个,或者是实施例2中的7个。将需要分类判断的电器类型的数量作为输出层节点数,例如,实施例1中,输出层节点为4个,分别输出判断白炽灯、电阻炉、吹风机、计算机的结果;实施例2中,输出层节点为5个,分别输出判断白炽灯、电阻炉、电风扇、计算机、电烙铁的结果。中间隐层的节点数量根据经验来取,例如,实施例1、实施例2中隐层的节点数量可以在6-15的范围内选取。对每类电器类型均采集多组样本,例如,均采集200组样本;随机选取其中的若干组,例如150组样本作为训练样本,剩余的作为测试样本,对BP神经网络分类器进行训练与测试。多输入、多输出的3层BP神经网络分类器由于多输出之间的耦合作用,有可能在训练或者测试时不能对样本进行完全判断;即使是在训练或者测试时能够对样本进行完全判断,受到泛化能力的制约,对新输入的某一特征属性进行判断时,主分类器有可能输出的判断结果为唯一的电器类型,或者判断结果为2种或者2种以上电器类型,或者未能给出判断的电器类型。The main classifier is a BP neural network classifier, and a 3-layer BP neural network classifier is selected as the main classifier. The number of elements in the BP neural network classifier input feature vector, that is, the number of input features, is used as the number of nodes in the input layer, for example, 8 in embodiment 1, or 7 in embodiment 2. The quantity of the electric appliance type that needs classification judgment is used as the output layer node number, for example, in embodiment 1, output layer node is 4, outputs and judges the result of incandescent lamp, resistance furnace, blower, computer respectively; In embodiment 2, output There are 5 layer nodes, which respectively output the results of judging incandescent lamps, resistance furnaces, electric fans, computers, and electric soldering irons. The number of nodes in the middle hidden layer is selected based on experience. For example, the number of nodes in the hidden layer in Embodiment 1 and Embodiment 2 can be selected within the range of 6-15. Collect multiple sets of samples for each type of electrical appliance, for example, 200 sets of samples are collected; some of them are randomly selected, for example, 150 sets of samples as training samples, and the rest are used as test samples to train and test the BP neural network classifier . Due to the coupling effect between multiple outputs, the multi-input and multi-output 3-layer BP neural network classifier may not be able to completely judge the samples during training or testing; even if it can completely judge the samples during training or testing, Restricted by the generalization ability, when judging a certain feature attribute of the new input, the main classifier may output the judgment result as the only electrical type, or the judgment result is 2 or more types of electrical appliances, or fail to Give the type of electrical appliances judged.

主分类器还可以选择多个单节点输出的3层BP神经网络分类器共同组成,每个单节点输出的3层BP神经网络分类器对应判断一种电器类型,例如,实施例1中可以采用4个单节点输出的3层BP神经网络分类器分别判断白炽灯、电阻炉、吹风机、计算机;实施例2中可以采用5个单节点输出的3层BP神经网络分类器分别判断白炽灯、电阻炉、电风扇、计算机、电烙铁。主分类器选择多个单节点输出的3层BP神经网络分类器共同组成时,所有单节点输出的3层BP神经网络分类器的输入层节点数为主分类器输入特征向量中元素的数量;中间隐层的节点数量根据经验来取,各单节点输出的3层BP神经网络分类器中间隐层的节点数量可以相同,也可以不同,按照各自的需要选择。与非单节点输出的神经网络一样,需要对每类电器类型均采集多组样本,例如,均采集200组样本;随机选取其中的若干组,例如150组样本作为训练样本,剩余的作为测试样本,对每个单节点输出的BP神经网络分类器进行训练与测试。主分类器选择多个单节点输出的3层BP神经网络分类器共同组成时,每个单节点输出的3层BP神经网络分类器只需要完成一种电器类型的判断,每个网络的训练相对简单。由于此时主分类器由多个单节点输出的3层BP神经网络分类器组成,各单节点输出的3层BP神经网络分类器之间相互独立,因此,对某一特征属性进行判断时,主分类器有可能输出的判断结果为唯一的电器类型,或者判断结果为2种或者2种以上电器类型,或者未能给出分类判断的电器类型。The main classifier can also be composed of multiple single-node output 3-layer BP neural network classifiers, and each single-node output 3-layer BP neural network classifier corresponds to judge a type of electrical appliance. For example, in embodiment 1, it can be used The 3-layer BP neural network classifier of 4 single-node outputs judges incandescent lamp, resistance furnace, hair dryer, computer respectively; Can adopt the 3-layer BP neural network classifier of 5 single-node outputs to judge respectively incandescent lamp, resistor in embodiment 2 Stove, electric fan, computer, electric soldering iron. When the main classifier selects multiple single-node output 3-layer BP neural network classifiers to form together, the number of input layer nodes of all single-node output 3-layer BP neural network classifiers is the number of elements in the main classifier input feature vector; The number of nodes in the middle hidden layer is based on experience. The number of nodes in the middle hidden layer of the 3-layer BP neural network classifier output by each single node can be the same or different, and can be selected according to their own needs. Like the neural network with non-single-node output, multiple sets of samples need to be collected for each type of electrical appliance, for example, 200 sets of samples are collected; some of them are randomly selected, for example, 150 sets of samples are used as training samples, and the rest are used as test samples , to train and test the BP neural network classifier output by each single node. When the main classifier is composed of multiple single-node output 3-layer BP neural network classifiers, each single-node output 3-layer BP neural network classifier only needs to complete the judgment of one electrical appliance type, and the training of each network is relatively Simple. Since the main classifier is composed of multiple 3-layer BP neural network classifiers output by single nodes at this time, and the 3-layer BP neural network classifiers output by each single node are independent of each other, therefore, when judging a certain characteristic attribute, The judgment result output by the main classifier may be the only electrical appliance type, or the judgment result may be two or more electrical appliance types, or the electrical appliance type for which classification judgment cannot be given.

BP神经网络分类器的训练方法可以采用梯度下降法,也可以采用粒子群优化、遗传算法等优化方法。样本采集采用前述的获取电器的启动电流特征的方法和获取电器的负载电流频谱特征的方法。The training method of the BP neural network classifier can adopt the gradient descent method, and can also adopt optimization methods such as particle swarm optimization and genetic algorithm. Sample collection adopts the aforementioned method of acquiring the starting current characteristics of the electrical appliance and the method of acquiring the load current spectrum characteristics of the electrical appliance.

Claims (9)

1. a kind of electric appliance sorter, which is characterized in that including information acquisition module, message processing module, communication module;Using Assembled classifier carries out electric appliance identification classification, and the input feature vector of the assembled classifier includes the starting current feature and electricity of electric appliance The load current spectrum signature of device;The starting current feature includes starting current rush, starting average current, starting current punching Amount.
2. electric appliance sorter as described in claim 1, which is characterized in that the starting current feature obtains by the following method :
Step 1 waits for, until after judging that electric appliance starts startup, turns to step 2;
Step 2 carries out continuous sampling to the load current of electric appliance, as unit computational load current effective value and is protected using power frequency period It deposits, until after judging that electric appliance load enters stable state, turns to step 3;
Step 3, using the average value of the load current virtual value within nearest N number of power frequency period as electric appliance load steady-state current; Electric appliance is started into Startup time to the time between nearest N number of power frequency period initial time as the start-up course time;Calculate electricity Device starts after starting between the average value and electric appliance load steady-state current of the electric appliance load current effective value within L power frequency period Ratio, using the ratio as the startup current rush of electric appliance;Calculate the electric appliance load electricity within the start-up course time of electric appliance The ratio between the average value and electric appliance load steady-state current of virtual value is flowed, using the ratio as the startup average current of electric appliance; The startup average current for calculating electric appliance and the product between the start-up course time are rushed the product as the starting current of electric appliance Amount;The value range of the N is 50-500, and the value range of L is 1-5.
3. electric appliance sorter as claimed in claim 2, which is characterized in that it is described judge electric appliance start start method be: Before appliance starting, starts the load current continuous sampling to electric appliance and load current size is judged;When load current has When valid value is more than ε, judgement electric appliance starts to start;The ε is the numerical value more than 0.
4. electric appliance sorter as claimed in claim 3, which is characterized in that the judgement electric appliance load enters stable state Method is:Calculate the average value of the load current virtual value of N number of power frequency period recently;It is every within nearest N number of power frequency period The load current virtual value of a power frequency period is compared with the average value of the load current virtual value of N number of power frequency period, fluctuation When amplitude is respectively less than the relative error range E set, judgement electric appliance load enters stable state;The value range of the E is 2%-20%.
5. electric appliance sorter as described in claim 1, which is characterized in that the load current spectrum signature passes through with lower section Method obtains:
Step 1: obtaining the steady state current signals of electric appliance load, and it is converted into corresponding steady-state current digital signal;
Step 2: carrying out Fourier transform to steady-state current digital signal, load current spectral characteristic is obtained;
Step 3: using the nth harmonic signal relative magnitude in load current spectral characteristic as load current spectrum signature, In, n=1,2 ..., M;The M indicates harmonic wave highest number and M is more than or equal to 5.
6. electric appliance sorter as claimed in claim 5, which is characterized in that the harmonic signal relative magnitude is harmonic signal The ratio of amplitude and electric appliance load steady-state current virtual value.
7. the electric appliance sorter as described in any one of claim 1-6, which is characterized in that the assembled classifier includes BP Neural network classifier and Bayes classifier;In the assembled classifier, BP neural network grader is main grader, pattra leaves This grader is auxiliary grader.
8. electric appliance sorter as claimed in claim 7, which is characterized in that the assembled classifier carries out electric appliance identification classification Method be:When Main classification device successfully realizes electric appliance identification classification, the electric appliance identification classification results of Main classification device are combination point The judging result of class device;Classify when Main classification device fails realization electric appliance identification, and the judging result of Main classification device is 2 kinds or 2 Kind or more appliance type, in 2 kinds that Main classification device is exported or two or more electric appliance identification classification results, subsidiary classification device is defeated The electric appliance for going out the highest appliance type of middle probability as assembled classifier identifies classification results;When Main classification device fails to realize electric appliance Identification classification, and when failing to provide the appliance type of judgement in the judging result of Main classification device, will be general in the output of subsidiary classification device The highest appliance type of rate identifies classification results as the electric appliance of assembled classifier.
9. electric appliance sorter as described in claim 1, which is characterized in that described information acquisition module is for acquiring electric appliance Load current information is simultaneously sent to message processing module;Described information processing module carries out electric appliance identification point according to the information of input Class;The electric appliance that the communication module is used to send message processing module identifies classification results to host computer.
CN201810338502.3A 2016-04-08 2016-04-08 Electric appliance sorter Withdrawn CN108535566A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810338502.3A CN108535566A (en) 2016-04-08 2016-04-08 Electric appliance sorter

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810338502.3A CN108535566A (en) 2016-04-08 2016-04-08 Electric appliance sorter
CN201610213353.9A CN105759148B (en) 2016-04-08 2016-04-08 A kind of electrical appliance type judgement method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201610213353.9A Division CN105759148B (en) 2016-04-08 2016-04-08 A kind of electrical appliance type judgement method

Publications (1)

Publication Number Publication Date
CN108535566A true CN108535566A (en) 2018-09-14

Family

ID=56334281

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201610213353.9A Expired - Fee Related CN105759148B (en) 2016-04-08 2016-04-08 A kind of electrical appliance type judgement method
CN201810338502.3A Withdrawn CN108535566A (en) 2016-04-08 2016-04-08 Electric appliance sorter

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201610213353.9A Expired - Fee Related CN105759148B (en) 2016-04-08 2016-04-08 A kind of electrical appliance type judgement method

Country Status (1)

Country Link
CN (2) CN105759148B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112093690A (en) * 2020-09-11 2020-12-18 湖南三一中型起重机械有限公司 Starting current optimization method and device, electronic equipment and storage medium
EP3992643A1 (en) * 2020-11-02 2022-05-04 Aptiv Technologies Limited Methods and systems for determining a state of an arrangement of electric and/or electronic components

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109030975B (en) * 2018-05-23 2020-02-18 北京航空航天大学 Electric appliance type inference method and device based on intelligent socket
CN108548976A (en) * 2018-05-25 2018-09-18 杭州拓深科技有限公司 Non-invasive household electrical equipment type detection method based on convolutional neural networks
CN109164327A (en) * 2018-10-11 2019-01-08 深圳华建电力工程设计有限公司 Electricity system electric appliance behavior discrimination method and device based on combined type criterion
CN110333404B (en) * 2019-06-24 2022-02-01 江门云天电力设计咨询有限公司 Non-invasive load monitoring method, device, equipment and storage medium
CN110601722B (en) * 2019-08-16 2022-01-25 佛山科学技术学院 Carrier signal-based active identification method and device for electric appliance
CN113759198B (en) * 2021-09-16 2024-11-26 招商局重庆交通科研设计院有限公司 Detection method for detecting whether a power adapter is suitable for a DC power distribution system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN200989922Y (en) * 2006-08-09 2007-12-12 太原市特普高电子科技有限公司 Electronic energy meter with power-driven device identification function
CN104090176A (en) * 2014-06-09 2014-10-08 深圳市宏电技术股份有限公司 Intelligent household appliance recognition method based on power consumption characteristic curve

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112093690A (en) * 2020-09-11 2020-12-18 湖南三一中型起重机械有限公司 Starting current optimization method and device, electronic equipment and storage medium
EP3992643A1 (en) * 2020-11-02 2022-05-04 Aptiv Technologies Limited Methods and systems for determining a state of an arrangement of electric and/or electronic components
CN114528901A (en) * 2020-11-02 2022-05-24 Aptiv技术有限公司 Method and system for determining the state of a structure of an electrical and/or electronic component

Also Published As

Publication number Publication date
CN105759148A (en) 2016-07-13
CN105759148B (en) 2018-06-15

Similar Documents

Publication Publication Date Title
CN105759148B (en) A kind of electrical appliance type judgement method
CN105866581B (en) A kind of appliance type recognition methods
CN105785187B (en) A kind of students&#39; dormitory electrical appliance type judgement method
CN105913005A (en) Electric appliance load type intelligent identification method and device
CN105913006A (en) Electricity load type identification method
CN105759149B (en) Students&#39; dormitory electrical appliance type detector
Heo et al. Toward load identification based on the Hilbert transform and sequence to sequence long short-term memory
JP5444343B2 (en) Utility instrument
Ghosh et al. An improved load feature extraction technique for smart homes using fuzzy-based NILM
CN110514889A (en) A kind of method and system of non-intrusion type household electricity remained capacity
CN106909101A (en) A kind of non-intrusion type household electrical appliance sorter and method
CN106646026A (en) Non-intrusive household appliance load identification method
CN105891633A (en) Device for determining the type of electrical appliances used in student dormitories
Du et al. Support vector machine based methods for non-intrusive identification of miscellaneous electric loads
CN107817382B (en) Intelligent electric meter, electric appliance identification method and intelligent apartment system with electric meter
CN105868790A (en) Electrical load type recognizer
Rathore et al. Non intrusive load monitoring and load disaggregation using transient data analysis
CN105913009A (en) Electric appliance type identifier
CN105866580A (en) Electric appliance type determining apparatus
CN110135392A (en) An electrical load type identification method
CN105913010A (en) Electric appliance type determination device
Cuñado et al. A supervised learning approach to appliance classification based on power consumption traces analysis
CN205809165U (en) A kind of load identification system for domestic intelligent electricity meter based on similarity algorithm
CN111736012A (en) A non-intrusive power load identification method and system
WO2024109264A1 (en) Aerosol generating device, and temperature control method and device therefor

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

Application publication date: 20180914

WW01 Invention patent application withdrawn after publication