CN110376477A - Prevent the method and device of power supply line anti-plug - Google Patents
Prevent the method and device of power supply line anti-plug Download PDFInfo
- Publication number
- CN110376477A CN110376477A CN201910718380.5A CN201910718380A CN110376477A CN 110376477 A CN110376477 A CN 110376477A CN 201910718380 A CN201910718380 A CN 201910718380A CN 110376477 A CN110376477 A CN 110376477A
- Authority
- CN
- China
- Prior art keywords
- power supply
- supply line
- value
- case
- voltage
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R19/00—Arrangements for measuring currents or voltages or for indicating presence or sign thereof
- G01R19/25—Arrangements for measuring currents or voltages or for indicating presence or sign thereof using digital measurement techniques
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/50—Testing of electric apparatus, lines, cables or components for short-circuits, continuity, leakage current or incorrect line connections
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Emergency Protection Circuit Devices (AREA)
Abstract
The present invention provides a kind of method and devices for preventing power supply line anti-plug, wherein this method comprises: obtaining the electric current and voltage value for the power supply line to electrical equipment;The electric current and the voltage value are sampled to obtain corresponding modulus AD value;Determine whether the power supply line is reversely connected according to the AD value.Through the invention, solve the problems, such as in the related technology labeling mark by way of prevent power supply line anti-plug in the presence of mark fall off lead to not prevention, achieved the effect that improve security performance.
Description
Technical field
The present invention relates to power domains, in particular to a kind of method and device for preventing power supply line anti-plug.
Background technique
The method of currently used anti-power supply line anti-plug be in such a way that labeling is known, this mode there are mark label it is wrong or
The risk to fall off is identified in use process.For alternating current equipment, be spaced apart the lower cutting of effect is all firewire, once power supply line
It is reversed, there can be the case where being spaced apart cutting zero curve, if touching firewire, there is electric shock risk.For DC equipment, if
Power supply line is reversed, will cause electrical equipment damage.
In view of the above problems in the related art, not yet there is effective solution at present.
Summary of the invention
The embodiment of the invention provides a kind of method and devices for preventing power supply line anti-plug, at least to solve in the related technology
Labeling mark by way of prevent power supply line anti-plug there are problems that mark fall off lead to not prevent.
According to one embodiment of present invention, provide a kind of method for preventing power supply line anti-plug, comprising: obtain for
The electric current and voltage value of the power supply line of electrical equipment;The electric current and the voltage value are sampled to obtain corresponding modulus AD
Value;Determine whether the power supply line is reversely connected according to the AD value.
According to another embodiment of the invention, a kind of device for preventing power supply line anti-plug is provided, comprising: obtain mould
Block, for obtaining electric current from the power supply line to electrical equipment and voltage value for;Sampling module, for the electric current and described
Voltage value is sampled to obtain corresponding modulus AD value;Determining module, for whether determining the power supply line according to the AD value
Reversal connection.
According to still another embodiment of the invention, a kind of equipment is additionally provided, including the above-mentioned dress for preventing power supply line anti-plug
It sets.
Through the invention, the electric current and voltage value for the power supply line to electrical equipment are obtained, and then to electric current and voltage
Value is sampled to obtain corresponding modulus AD value, and determines whether power supply line is reversely connected according to AD value;To solve the relevant technologies
In labeling mark by way of prevent power supply line anti-plug there are problems that mark fall off lead to not prevention, reached raising pacify
The effect of full performance.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair
Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of the method according to an embodiment of the present invention for preventing power supply line anti-plug;
Fig. 2 is the structural schematic diagram figure of inverse plugging module according to an embodiment of the present invention;
Fig. 3 is the structural block diagram of the device according to an embodiment of the present invention for preventing power supply line anti-plug.
Specific embodiment
Hereinafter, the present invention will be described in detail with reference to the accompanying drawings and in combination with Examples.It should be noted that not conflicting
In the case of, the features in the embodiments and the embodiments of the present application can be combined with each other.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, "
Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.
Embodiment 1
A kind of method for preventing power supply line anti-plug is provided in the present embodiment, and Fig. 1 is according to an embodiment of the present invention anti-
The only flow chart of the method for power supply line anti-plug, as shown in Figure 1, the process includes the following steps:
Step S102 obtains electric current from the power supply line to electrical equipment and voltage value for;
Step S104 samples electric current and voltage value to obtain corresponding modulus AD value;
Step S106 determines whether power supply line is reversely connected according to AD value.
S102 to step S106 through the above steps obtains electric current from the power supply line to electrical equipment and voltage value for,
And then electric current and voltage value are sampled to obtain corresponding modulus AD value, and determine whether power supply line is reversely connected according to AD value;From
And solve in the related technology labeling mark by way of prevent power supply line anti-plug in the presence of mark fall off lead to not prevention
Problem has achieved the effect that improve security performance.
In the optional embodiment of the application, power supply is determined according to AD value for what is be related in the application step S106
The mode whether line is reversely connected can be achieved in that
Step S106-11 is determined in the case where the voltage and current of AD value instruction power supply line is alternating current according to AD value
Phase difference between voltage and current;
The case where step S106-12, the quadrant fallen into according to phase difference, determines whether power supply line is reversely connected.
Wherein, step S106-12 may further be: fall into the feelings of first quartile and/or fourth quadrant in phase difference
Under condition, determine that power supply line access is normal;In the case where phase difference falls into the second quadrant and/or third quadrant, power supply line is determined
Reversal connection.
It is true according to AD value for what is be related in the application step S106 in another optional embodiment of the application
Determine the mode whether power supply line is reversely connected, may is that
Step S106-21 obtains preset time in the case where the voltage and current of AD value instruction power supply line is direct current
The mean value of AD value in section;
Step S106-21 determines whether power supply line is reversely connected according to the positive and negative situation of the mean value of AD value.
Wherein, step S106-21 may further be accomplished in the following manner: in the feelings that the mean value of AD value is positive
Under condition, determine that power supply line access is normal;In the case where the mean value of AD value is negative, determine that power supply line is reversely connected.
In another optional embodiment of the application, the present processes step can also include:
Step S108, in the case where power supply line accesses normal situation, what control was connect with electrical equipment is closed the switch;
Step S110 controls the switch connecting with electrical equipment and disconnects in the case where power supply line reversal connection.
It is illustrated below with reference to the optional embodiment of the application;
This optional embodiment provides a kind of inverse plugging module, which connects power supply line, output termination electricity consumption
Equipment.Entire module is made of load circuit, internal control circuit, power circuit, MCU and external control circuit etc., is such as schemed
Shown in 2.
Power supply line is powered by power module to MCU.The switch that electrical equipment is connected under original state is defaulted as disconnecting.
MCU can control internal circuit closure by internal control circuit, form a current loop.At this point, MCU can be in closed circuit
Voltage, electric current sampled.By sampling the zero passage points situation of obtained AD value, judge that accessing at this time is AC power source
Or DC power supply.
If judgement access is alternating current, the voltage and current AD value based on sampling is calculated between voltage and current signals
Phase difference.If phase difference falls in one, four-quadrant, i.e., within the scope of 0~90 ° and 270 °~360 °, then judge that power supply line access is normal.
At this point, MCU makes the switch for connecting electrical equipment by internal control circuit breaking inner circuit, and by external control circuit
Closure, by power supply line access device.If phase difference falls in two, three quadrant, i.e., 90 °~270 °, then it is assumed that power supply line reversal connection, it is external
Switch remains off, then equipment can not power on.
If judgement access is direct current, the mean value of voltage AD and electric current AD in a period of time are calculated.If AD mean value is
Just, then judge that power supply line access is normal, at this point, MCU passes through internal control circuit breaking inner circuit, and pass through external control electricity
Road makes to connect closing the switch for electrical equipment, by power supply line access device.If AD mean value is negative, it is believed that power supply line reversal connection, it is external
Switch remains off, then equipment can not power on.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation
The method of example can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but it is very much
In the case of the former be more preferably embodiment.Based on this understanding, technical solution of the present invention is substantially in other words to existing
The part that technology contributes can be embodied in the form of software products, which is stored in a storage
In medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, calculate
Machine, server or network equipment etc.) execute method described in each embodiment of the present invention.
Embodiment 2
A kind of device for preventing power supply line anti-plug is additionally provided in the present embodiment, and the device is for realizing above-described embodiment
And preferred embodiment, the descriptions that have already been made will not be repeated.As used below, term " module " may be implemented to make a reservation for
The combination of the software and/or hardware of function.It is hard although device described in following embodiment is preferably realized with software
The realization of the combination of part or software and hardware is also that may and be contemplated.
Fig. 3 is the structural block diagram of the device according to an embodiment of the present invention for preventing power supply line anti-plug, as shown in figure 3, the dress
Setting includes: to obtain module 32, for obtaining electric current from the power supply line to electrical equipment and voltage value for;Sampling module 34, with
The coupling link of module 32 is obtained, obtains corresponding modulus AD value for being sampled to electric current and voltage value;Determining module 36, with
The coupling link of sampling module 34, for determining whether power supply line is reversely connected according to AD value.
Optionally, the determining module 32 in the application can further include: the first determination unit, for indicating in AD value
In the case that the voltage and current of power supply line is alternating current, the phase difference between voltage and current is determined according to AD value;Second really
The case where order member, quadrant for being fallen into according to phase difference, determines whether power supply line is reversely connected.
Further, second determination unit may include: first determine subelement, for phase difference fall into first as
In the case where limit and/or fourth quadrant, determine that power supply line access is normal;Second determines subelement, for falling into the in phase difference
In the case where two quadrant and/or third quadrant, determine that power supply line is reversely connected.
Optionally, which can further include: third determination unit, for indicating institute in the AD value
In the case where the voltage and current of power supply line is stated as direct current, the mean value of AD value in preset time period is obtained;4th determination unit,
Positive and negative situation for the mean value according to the AD value determines whether the power supply line is reversely connected.
Wherein, the 4th determination unit can further include: third determines subelement, for the mean value in the AD value
In the case where being positive, determine that the power supply line access is normal;4th determines subelement, for what is be negative in the mean value of the AD value
In the case of, determine the power supply line reversal connection.
Obviously, those skilled in the art should be understood that each module of the above invention or each step can be with general
Computing device realize that they can be concentrated on a single computing device, or be distributed in multiple computing devices and formed
Network on, optionally, they can be realized with the program code that computing device can perform, it is thus possible to which they are stored
It is performed by computing device in the storage device, and in some cases, it can be to be different from shown in sequence execution herein
Out or description the step of, perhaps they are fabricated to each integrated circuit modules or by them multiple modules or
Step is fabricated to single integrated circuit module to realize.In this way, the present invention is not limited to any specific hardware and softwares to combine.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.It is all within principle of the invention, it is made it is any modification, etc.
With replacement, improvement etc., should all be included in the protection scope of the present invention.
Claims (12)
1. a kind of method for preventing power supply line anti-plug characterized by comprising
Obtain the electric current and voltage value for the power supply line to electrical equipment;
The electric current and the voltage value are sampled to obtain corresponding modulus AD value;
Determine whether the power supply line is reversely connected according to the AD value.
2. the method according to claim 1, wherein determine whether the power supply line is reversely connected according to the AD value,
Include:
In the case where the AD value indicates that the voltage and current of the power supply line is alternating current, voltage is determined according to the AD value
Phase difference between electric current;
The case where quadrant fallen into according to the phase difference, determines whether the power supply line is reversely connected.
3. according to the method described in claim 2, it is characterized in that, fallen into according to the phase difference quadrant the case where determine institute
State whether power supply line is reversely connected, comprising:
In the case where the phase difference falls into first quartile and/or fourth quadrant, determine that the power supply line access is normal;
In the case where the phase difference falls into the second quadrant and/or third quadrant, the power supply line reversal connection is determined.
4. the method according to claim 1, wherein determine whether the power supply line is reversely connected according to the AD value,
Include:
In the case where the AD value indicates that the voltage and current of the power supply line is direct current, AD value in preset time period is obtained
Mean value;
Determine whether the power supply line is reversely connected according to the positive and negative situation of the mean value of the AD value.
5. according to the method described in claim 4, it is characterized in that, according to the determination of the positive and negative situation of the mean value of the AD value
Whether power supply line is reversely connected, comprising:
In the case where the mean value of the AD value is positive, determine that the power supply line access is normal;
In the case where the mean value of the AD value is negative, the power supply line reversal connection is determined.
6. the method according to claim 3 or 5, which is characterized in that the method also includes:
In the case where the power supply line accesses normal situation, control is closed the switch with what the electrical equipment was connect;
In the case where power supply line reversal connection, controls the switch connecting with the electrical equipment and disconnect.
7. a kind of device for preventing power supply line anti-plug characterized by comprising
Module is obtained, for obtaining electric current from the power supply line to electrical equipment and voltage value for;
Sampling module obtains corresponding modulus AD value for being sampled to the electric current and the voltage value;
Determining module, for determining whether the power supply line is reversely connected according to the AD value.
8. device according to claim 7, which is characterized in that the determining module includes:
First determination unit, in the case where for indicating that the voltage and current of the power supply line is alternating current in the AD value, root
The phase difference between voltage and current is determined according to the AD value;
The case where second determination unit, quadrant for being fallen into according to the phase difference, determines whether the power supply line is reversely connected.
9. device according to claim 8, which is characterized in that second determination unit includes:
First determines subelement, described in determining in the case where the phase difference falls into first quartile and/or fourth quadrant
Power supply line access is normal;
Second determines subelement, described in determining in the case where the phase difference falls into the second quadrant and/or third quadrant
Power supply line reversal connection.
10. device according to claim 7, which is characterized in that the determining module includes:
Third determination unit obtains in the case where for indicating that the voltage and current of the power supply line is direct current in the AD value
Take the mean value of AD value in preset time period;
4th determination unit, the positive and negative situation for the mean value according to the AD value determine whether the power supply line is reversely connected.
11. device according to claim 10, which is characterized in that the 4th determination unit includes:
Third determines subelement, in the case where the mean value of the AD value is positive, determining that the power supply line access is normal;
4th determines subelement, in the case where the mean value of the AD value is negative, determining the power supply line reversal connection.
12. a kind of equipment, which is characterized in that including the described in any item devices of claim 7 to 11.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910718380.5A CN110376477A (en) | 2019-08-05 | 2019-08-05 | Prevent the method and device of power supply line anti-plug |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910718380.5A CN110376477A (en) | 2019-08-05 | 2019-08-05 | Prevent the method and device of power supply line anti-plug |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110376477A true CN110376477A (en) | 2019-10-25 |
Family
ID=68258071
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910718380.5A Pending CN110376477A (en) | 2019-08-05 | 2019-08-05 | Prevent the method and device of power supply line anti-plug |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110376477A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113740782A (en) * | 2021-09-16 | 2021-12-03 | 远景能源有限公司 | Wiring detection method |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2821454Y (en) * | 2005-10-01 | 2006-09-27 | 珠海格力电器股份有限公司 | Air conditioner power line connection detection circuit |
CN102664394A (en) * | 2012-04-25 | 2012-09-12 | 贺川 | Direct current polarity detection and protection circuit module |
CN102735986A (en) * | 2012-07-02 | 2012-10-17 | 安徽中兴继远信息技术股份有限公司 | Method for rapidly judging wiring error of power distribution transformer monitoring terminal |
CN104133149A (en) * | 2014-07-02 | 2014-11-05 | 惠州市亿能电子有限公司 | Wire harness detection device for voltage acquisition wire |
CN105182277A (en) * | 2015-10-20 | 2015-12-23 | 广州磐通电气技术有限公司 | Electric energy meter connection check system |
CN107942135A (en) * | 2017-11-20 | 2018-04-20 | 江门市新会新宝成电气科技有限公司 | A kind of power factor direction determination process and system |
CN207908608U (en) * | 2018-03-07 | 2018-09-25 | 石家庄联创自动化设备有限公司 | Metering device wire searcher |
CN208477055U (en) * | 2018-07-27 | 2019-02-05 | 清远职业技术学院 | A kind of high-low pressure metering cabinet wiring testing device |
-
2019
- 2019-08-05 CN CN201910718380.5A patent/CN110376477A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2821454Y (en) * | 2005-10-01 | 2006-09-27 | 珠海格力电器股份有限公司 | Air conditioner power line connection detection circuit |
CN102664394A (en) * | 2012-04-25 | 2012-09-12 | 贺川 | Direct current polarity detection and protection circuit module |
CN102735986A (en) * | 2012-07-02 | 2012-10-17 | 安徽中兴继远信息技术股份有限公司 | Method for rapidly judging wiring error of power distribution transformer monitoring terminal |
CN104133149A (en) * | 2014-07-02 | 2014-11-05 | 惠州市亿能电子有限公司 | Wire harness detection device for voltage acquisition wire |
CN105182277A (en) * | 2015-10-20 | 2015-12-23 | 广州磐通电气技术有限公司 | Electric energy meter connection check system |
CN107942135A (en) * | 2017-11-20 | 2018-04-20 | 江门市新会新宝成电气科技有限公司 | A kind of power factor direction determination process and system |
CN207908608U (en) * | 2018-03-07 | 2018-09-25 | 石家庄联创自动化设备有限公司 | Metering device wire searcher |
CN208477055U (en) * | 2018-07-27 | 2019-02-05 | 清远职业技术学院 | A kind of high-low pressure metering cabinet wiring testing device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113740782A (en) * | 2021-09-16 | 2021-12-03 | 远景能源有限公司 | Wiring detection method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106786712B (en) | A kind of commutation failure prediction technique suitable for layer-specific access mode | |
CN103532129B (en) | Dc source parallel system and method for supplying power to thereof | |
CN102777666A (en) | Electromagnetic valve control circuit and electromagnetic valve closing self-checking method thereof | |
CN108667327A (en) | Multi-electrical level inverter | |
CN106997016A (en) | A kind of low-voltage distributing line disconnection fault recognition methods and device | |
CN110376477A (en) | Prevent the method and device of power supply line anti-plug | |
CN204243737U (en) | A kind of charger protection circuit | |
CN109687399B (en) | Inverter overcurrent protection control method and device and terminal equipment | |
CN105259497B (en) | A kind of circuit breaker arc failure to trip system and method | |
CN202421995U (en) | Intelligent full-automatic start and stop deenergization protector for computer and accessory equipment of computer | |
CN106845553B (en) | Load characteristic identification mechanism, method and auto-power-off device | |
CN102402269A (en) | Intelligent fully-automatic on-off and outage protector of computer and accessory equipment of computer | |
CN106208384A (en) | A kind of housed device Electrical Safety learning system | |
Santoso et al. | Power quality data analytics: Tracking, interpreting, and predicting performance | |
CN110429579A (en) | A kind of reverse connection prevention protection circuit, method and DC grid system promoting safety | |
CN203287705U (en) | Control circuit of time relay | |
CN207585017U (en) | Control circuit and air-conditioning | |
CN208314086U (en) | A kind of high-voltage direct current quickly bypasses the pilot system of string benefit | |
CN207782674U (en) | Multichannel rectification circuit and Switching Power Supply altogether | |
CN105067900A (en) | Method and device for detecting lack of null line in three-phase power supply | |
CN206193467U (en) | Intelligent control switch | |
CN104882968A (en) | Household intelligent distribution system | |
CN204597444U (en) | A kind of connection circuit and comprise the overvoltage-undervoltage protector of this connection circuit | |
CN109490786A (en) | A kind of energy storage monitor system | |
CN108667126A (en) | A kind of contactor method of controlling operation, system and UPS applied to UPS |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191025 |
|
RJ01 | Rejection of invention patent application after publication |