Detection method for voltage regulation socket illegally used in student dormitory

文档序号:584596 发布日期:2021-05-25 浏览:17次 中文

阅读说明:本技术 一种学生宿舍违规使用调压插座的检测方法 (Detection method for voltage regulation socket illegally used in student dormitory ) 是由 梁昆 张轩铭 钱伟 于 2020-12-31 设计创作,主要内容包括:本发明公开了一种学生宿舍违规使用调压插座的检测方法,步骤1:以一定的采样频率,对宿舍总线处的电流和电压进行高频采样,得到每个工频周期的电流采样序列和电压采样序列;步骤2:通过电流采样序列和电压采样序列计算对应工频周期的有功功率和无功功率;步骤3:每秒采样一次当前线路的有功功率和无功功率,形成有功功率队列和无功功率队列;步骤4:设置功率计数器C=0,当P-(x+1)>P-x并且Q-(x+1)>Q-x时,功率计数器C=C+1;步骤5:判断功率计数器C≥5,若是,则判定宿舍有调压插座接入并运行,否则执行步骤6;步骤6:判断R大于预设阈值,若是,则判定宿舍有调压插座接入并运行,否则执行步骤1;本发明的方法可有效解决学生借助宿舍调压插座绕过限电系统的电气安全隐患。(The invention discloses a detection method for a voltage regulating socket illegally used in a student dormitory, which comprises the following steps of 1: carrying out high-frequency sampling on the current and the voltage at the dormitory bus at a certain sampling frequency to obtain a current sampling sequence and a voltage sampling sequence of each power frequency period; step 2: calculating active power and reactive power corresponding to a power frequency period through a current sampling sequence and a voltage sampling sequence; and step 3: sampling the active power and the reactive power of the current line once every second to form an active power queue and a reactive power queue; and 4, step 4: setting the power counter C to 0 when P x+1 >P x And Q x+1 >Q x Then, the power counter C is equal to C + 1; and 5: judging that the power counter C is more than or equal to 5, if so, judging that a voltage regulating socket is accessed and operated in a dormitory, otherwise, executing the step 6; step 6: judging that R is larger than a preset threshold value, if so, judging that a voltage regulating socket is accessed and operated in the dormitory, otherwise, executing the step 1; the method can effectively solve the potential electrical safety hazard that students bypass the electricity limiting system by means of the dormitory voltage regulating socket.)

1. A detection method for illegally using a voltage regulating socket in a student dormitory is characterized by comprising the following steps:

step 1: carrying out high-frequency sampling on the current and the voltage at the dormitory bus at a certain sampling frequency to obtain a current sampling sequence I of each power frequency periodT={i1,i2,...,in}TAnd a voltage sampling sequence UT={u1,u2,...,un}TN represents the number of sampling points;

step 2: calculating the active power P of the current line in the corresponding power frequency period through the current sampling sequence and the voltage sampling sequenceT={P1,P2,...,Pn}TAnd reactive power QT={q1,q2,...,qn}T

And step 3: sampling the active power and the reactive power of the current line once per second, and respectively putting the active power and the reactive power into a queue to form an active power queue Pqueue={P1,P2,...,PmAnd reactive power queue Qqueue={Q1,Q2,...,QmM is the queue length;

and 4, step 4: setting the power counter C to 0 when Px+1>PxAnd Qx+1>QxThen, the power counter C is equal to C + 1;

and 5: judging that the power counter C is more than or equal to 5, if so, judging that a voltage regulating socket is accessed and operated in a dormitory, otherwise, executing the step 6;

step 6: judging that R is larger than a preset threshold value,imaxcurrent sampling sequence I ═ { I } representing the current power frequency cycle1,i2,...,inMaximum current value in (I) }dmaxThe difference value sequence I corresponding to the current sampling sequence representing the current power frequency periodd={id1,id2,...,id(n-1)Get the maximum difference, if yes, judge the dormitoryAnd (4) connecting and operating a voltage regulating socket, otherwise, executing the step 1.

2. The method for detecting the illegal use of the voltage regulating socket in the student dormitory as claimed in claim 1, wherein in the step 1, the sampling frequency is 12.8 k/s.

3. The method for detecting the illegal use of the voltage regulating socket in the student dormitory as claimed in claim 1, wherein in the step 1, the number n of sampling points is 256.

4. The method as claimed in claim 1, wherein in the step 3, the queue length m is 10.

5. The method for detecting the illegal use of the voltage regulating socket in the student dormitory as claimed in claim 1, wherein in the step 6, the preset threshold value is 0.9.

6. The method as claimed in claim 1, wherein in step 3, the queue is a first-in first-out queue.

Technical Field

The invention belongs to the field of electric appliance detection, and particularly relates to a detection method for a voltage regulating socket illegally used in a student dormitory.

Background

Nowadays, many school's dormitories all install the finite electric system, monitor student's dormitory and insert the power consumption of electrical apparatus. And when the power of the accessed electric appliance is detected to exceed the set threshold value, the power supply is cut off so as to prevent the students from using the forbidden electric appliance to cause electric fire. In recent years, however, a plurality of voltage-regulating sockets special for dormitories are available for escaping from the dormitory electricity-limiting system.

The dormitory voltage regulating socket can be conveniently purchased on each large e-commerce platform, most of the dormitory voltage regulating sockets are low in price, but the dormitory voltage regulating socket is poor in quality; often a period of operation will result in a noticeable scorched smell. The use of the voltage-regulating socket not only enables the forbidden electrical appliance to escape the electricity-limiting system, but also is more likely to cause fire due to the self-working heat.

Disclosure of Invention

One of the objectives of the present invention is to provide a method for detecting the illegal use of a voltage regulating socket in a student dormitory, so as to solve the problem in the background art that the existing voltage regulating socket for the dormitory can escape from a first power limiting system, thereby possibly causing a fire.

In order to achieve the purpose, the invention provides the following technical scheme:

a detection method for illegally using a voltage regulating socket in a student dormitory comprises the following steps:

step 1: carrying out high-frequency sampling on the current and the voltage at the dormitory bus at a certain sampling frequency to obtain a current sampling sequence I of each power frequency periodT={i1,i2,…,in}TAnd a voltage sampling sequence UT={u1,u2,…,un}TN represents the number of sampling points;

step 2: calculating the active power P of the current line in the corresponding power frequency period through the current sampling sequence and the voltage sampling sequenceT={P1,P2,…,Pn}TAnd reactive power QT={q1,q2,…,qn}T

Step (ii) of3: sampling the active power and the reactive power of the current line once per second, and respectively putting the active power and the reactive power into a queue to form an active power queue Pqueue={P1,P2,…,PmAnd reactive power queue Qqueue={Q1,Q2,…,QmM is the queue length;

and 4, step 4: setting the power counter C to 0 when Px+1>PxAnd Qx+1>QxThen, the power counter C is equal to C + 1;

and 5: judging that the power counter C is more than or equal to 5, if so, judging that a voltage regulating socket is accessed and operated in a dormitory, otherwise, executing the step 6;

step 6: judging that R is larger than a preset threshold value,imaxcurrent sampling sequence I ═ { I } representing the current power frequency cycle1,i2,…,inMaximum current value in (I) }d maxThe difference value sequence I corresponding to the current sampling sequence representing the current power frequency periodd={id1,id2,…,id(n-1)Obtaining the maximum difference value, if so, judging that a dormitory has a voltage regulating socket to access and operate, otherwise, executing the step 1.

Preferably, in the step 1, the sampling frequency is 12.8 k/s.

Preferably, in step 1, the number n of sampling points is 256.

Preferably, in step 3, the queue length m is 10.

Preferably, in step 6, the preset threshold is 0.9.

Preferably, in step 3, the queue is a first-in first-out queue.

Compared with the prior art, the invention has the beneficial effects that:

the method can effectively solve the potential electrical safety hazard that students bypass the electricity limiting system by means of the dormitory voltage regulating socket.

Drawings

FIG. 1 is a flow chart of the present invention.

Detailed Description

The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

A detection method for illegally using a voltage regulating socket in a student dormitory comprises the following steps:

step 1: carrying out high-frequency sampling on the current and the voltage at the dormitory bus at the sampling frequency of 12.8k/s to obtain a current sampling sequence I of each power frequency periodT={i1,i2,…,in}TAnd a voltage sampling sequence UT={u1,u2,…,un}TAnd n represents the number of sample points.

As one specific implementation of step 1 of the present invention, there are 256 sampling points for the voltage and current in each power frequency period, and each sampling point is provided with a number, that is, a subscript in the sequence, so that a current sampling sequence and a voltage sampling sequence are formed, where each power frequency period T is 0.02 seconds.

Step 2: calculating an active power sequence P of the current line in the corresponding power frequency period through the current sampling sequence and the voltage sampling sequenceT={P1,P2,…,Pn}TAnd a reactive power sequence QT={q1,q2,…,qn}T

In the invention, each sampling point has corresponding current, voltage, active power and reactive power in each power frequency period, so that all the sampling points in the same power frequency period have corresponding active power sequences and reactive power sequences. The calculation of the reactive power and the active power is common knowledge in the field, and the person skilled in the art can set the calculation according to the actual situation.

And step 3: sampling the active power and the reactive power of the current line once per second, and respectively putting the active power and the reactive power into a first-in first-out queue to form an active power queue Pqueue={P1,P2,…,PmAnd reactive power queue Qqueue={Q1,Q2,…,QmM is the queue length; in step 3, the queue length m is 10.

In the invention, because the power frequency period is 0.02s, 50 power frequency periods exist in one second, an active power sequence and a reactive power sequence corresponding to one power frequency period k are selected, and an active power p numbered as l in the active power sequence is selectedlSelecting a reactive power q with the serial number of l in the reactive power sequencelAnd the active power and the reactive power of the current line are obtained by sampling. It should be noted that, when the power frequency period selected in the first second is k, the power frequency period selected in each second is k.

The FIFO queue is a conventional sequential execution method, in which an instruction entered first completes and retires first, and then executes a second instruction, so that the instruction is updated every second, for example, when the 11 th second samples the active power of the current line, P in the active power queue is updated1Deletion of value of, P2-P9The value of (A) is sequentially moved forward, and the active power of the 11 th second is assigned to P10This is common knowledge in the art.

And 4, step 4: setting the power counter C to 0 when Px+1>PxAnd Qx+1>QxThen, the power counter C is equal to C + 1; wherein x is an integer of 9 or less.

In the invention, when the active power of the next second is greater than the current active power and the reactive power of the next second is greater than the current reactive power, the power counter is added by 1, and the power counter continuously counts through the relationship between two adjacent reactive powers and the relationship between two adjacent active powers along with the time.

And 5: judging that the power counter C is more than or equal to 5, if so, judging that a voltage regulating socket is accessed and operated in a dormitory, otherwise, executing the step 6;

step 6: judging that R is larger than a preset threshold value,imaxcurrent sampling sequence I ═ { I } representing the current power frequency cycle1,i2,…,inMaximum current value in (I) }d maxThe difference value sequence I corresponding to the current sampling sequence representing the current power frequency periodd={id1,id2,…,id(n-1)Obtaining the maximum difference value, if so, judging that a dormitory has a voltage regulating socket to access and operate, otherwise, executing the step 1.

In step 6 of the present invention, any element in the difference sequence corresponding to the current sampling sequence of the current power frequency period is the difference between the next current and the previous current, and is marked as ir+!-ir

In step 6 of the present invention, the preset threshold is 0.9.

It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned.

Furthermore, it should be understood that although the present description refers to embodiments, not every embodiment may contain only a single embodiment, and such description is for clarity only, and those skilled in the art should integrate the description, and the embodiments may be combined as appropriate to form other embodiments understood by those skilled in the art.

6页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:电量确定方法、装置、存储介质和电子设备

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!