CN109445319A - A kind of intelligent switch with Data Detection function - Google Patents
A kind of intelligent switch with Data Detection function Download PDFInfo
- Publication number
- CN109445319A CN109445319A CN201811123696.1A CN201811123696A CN109445319A CN 109445319 A CN109445319 A CN 109445319A CN 201811123696 A CN201811123696 A CN 201811123696A CN 109445319 A CN109445319 A CN 109445319A
- Authority
- CN
- China
- Prior art keywords
- threshold
- chip microcontroller
- data
- latching relay
- magnetic latching
- Prior art date
Links
- 238000004891 communication Methods 0.000 claims description 18
- 230000001276 controlling effects Effects 0.000 claims description 8
- 238000003825 pressing Methods 0.000 claims description 8
- 230000004044 response Effects 0.000 claims description 6
- 230000005540 biological transmission Effects 0.000 claims description 4
- 230000003111 delayed Effects 0.000 claims description 2
- 238000002360 preparation methods Methods 0.000 claims description 2
- 238000003860 storage Methods 0.000 claims description 2
- 238000009826 distribution Methods 0.000 abstract description 6
- 238000000034 methods Methods 0.000 description 4
- 230000000875 corresponding Effects 0.000 description 2
- 238000010586 diagrams Methods 0.000 description 2
- 238000005516 engineering processes Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
- G05B19/0423—Input/output
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01K—MEASURING TEMPERATURE; MEASURING QUANTITY OF HEAT; THERMALLY-SENSITIVE ELEMENTS NOT OTHERWISE PROVIDED FOR
- G01K1/00—Details of thermometers not specially adapted for particular types of thermometer
- G01K1/02—Special applications of indicating or recording means, e.g. for remote indications
-
- 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/165—Indicating that current or voltage is either above or below a predetermined value or within or outside a predetermined range of values
- G01R19/16566—Circuits and arrangements for comparing voltage or current with one or several thresholds and for indicating the result not covered by subgroups G01R19/16504, G01R19/16528, G01R19/16533
- G01R19/16571—Circuits and arrangements for comparing voltage or current with one or several thresholds and for indicating the result not covered by subgroups G01R19/16504, G01R19/16528, G01R19/16533 comparing AC or DC current with one threshold, e.g. load current, over-current, surge current or fault current
-
- 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/165—Indicating that current or voltage is either above or below a predetermined value or within or outside a predetermined range of values
- G01R19/16566—Circuits and arrangements for comparing voltage or current with one or several thresholds and for indicating the result not covered by subgroups G01R19/16504, G01R19/16528, G01R19/16533
- G01R19/16576—Circuits and arrangements for comparing voltage or current with one or several thresholds and for indicating the result not covered by subgroups G01R19/16504, G01R19/16528, G01R19/16533 comparing DC or AC voltage with one threshold
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R21/00—Arrangements for measuring electric power or power factor
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R22/00—Arrangements for measuring time integral of electric power or current, e.g. by electricity meters
- G01R22/06—Arrangements for measuring time integral of electric power or current, e.g. by electricity meters by electronic methods
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/25—Pc structure of the system
- G05B2219/25257—Microcontroller
Abstract
Description
Technical field
The invention belongs to switching equipment technologies, more specifically, are related to a kind of intelligence with Data Detection function It can switch.
Background technique
Power distribution cabinet switch equipment at this stage, most of only have the function of on-off circuit, can only by controlling manually, And the circuit disconnected is generally firewire, and zero curve is not turned off, and there are security risks;User can neither remote control switch it is logical It is disconnected, can not real-time measurement electrical equipment electricity consumption situation.
However, power is larger when many device standbies, these equipment are closed in time, can save electricity, reduce electricity consumption;This Outside, when electrical equipment occur short circuit, overload, electric leakage etc. failures when, traditional switch cannot disconnect circuit in time, be easy to cause fire Etc. accidents generation.
Summary of the invention
It is an object of the invention to overcome the deficiencies of the prior art and provide a kind of intelligence with Data Detection function to open It closes, by having guided to 485 bus apparatus in traditional power distribution cabinet switch equipment, increases the function of switch, improve switch The reliability of open and close.
For achieving the above object, a kind of intelligent switch with Data Detection function of the present invention, which is characterized in that packet It includes:
STM32 single-chip microcontroller is established and is connected by serial mode and 485 communication modules, electric energy metering module, temperature detecting module It connects, key and LED is also connected with outside single-chip microcontroller, STM32 single-chip microcontroller is normal for intelligent switch initialization and after initializing Operation;
DC-DC power module is kept to STM32 single-chip microcontroller, 485 communication modules, magnetic respectively by external 12V DC power supply Relay, electric energy metering module, temperature detecting module, key and LED power supply;
485 communication modules are received during initialization by 485 buses for communicating with 485 equipment of higher level When voltage threshold, current threshold, power threshold, leakage current threshold, power threshold, temperature threshold and delay that grade equipment is sent Between, during normal operation, the control command of higher level equipment is received by 485 buses and superior equipment sends response and refers to It enables;
Magnetic latching relay, breaker input terminal are connected with the output end of magnetic latching relay, magnetic latching relay according to Being turned on or off for breaker is controlled from the instruction of single-chip microcontroller;
The output end of breaker, breaker is connected with load, for controlling being turned on or off for load circuit;
Electric energy metering module, electric current, the voltage, power, electricity of self-timing measurement load, leakage current etc.;
Temperature detecting module, the temperature inside real-time measurement intelligent switch;
Key controls magnetic latching relay by pressing the button and is turned on or off;
LED shows the working condition of intelligent switch by flashing;
It is first initialized when intelligent switch powers on, establishes serial communication with higher level equipment by 485 communication modules and connect, Higher level equipment response after, by 485 buses send overloading threshold, voltage threshold, current threshold, power threshold, leakage current threshold, Temperature threshold and delay time are to STM32 single-chip microcontroller, and above-mentioned data are stored in memory by STM32 single-chip microcontroller, and superior is set Preparation send initialization to complete instruction, while controlling after LED flashes for a long time and closing, and initialization is prompted to complete;
When intelligent switch is run, electric current, the voltage, power, electricity of the measurement load of electric energy metering module self-timing, electric leakage Stream, while the temperature inside temperature detecting module measurement intelligent switch, and it is uploaded to STM32 single-chip microcontroller, STM32 single-chip microcontroller together Above-mentioned data are stored, and judge whether above-mentioned data are more than threshold data in memory, if one item number of any of them According to being more than threshold data, then magnetic latching relay will disconnect automatically, and a period of time that is delayed automatic closure, then in subsequent time It compares again, if continuing is more than threshold data, magnetic latching relay will disconnect automatically again, continuously detect three times when existing Data be more than threshold data after, magnetic latching relay will remain turned-off the state of disconnection, after needing user to debug manually, Open magnetic latching relay manually again;
When above-mentioned data are less than threshold data, STM32 single-chip microcontroller is sentenced automatically according to higher level equipment instruction and keys interrupt Break current intelligent switch state be controlled device or control object;
When the state of current intelligent switch is controlled device, STM32 single-chip microcontroller reads the control command that higher level equipment is sent, If the address in order is as the address of itself, then judges the function digit in data, if function digit is that magnetic keeps relay The control instruction of device then executes unlatching, closing or time opening, closes magnetic latching relay, and single-chip microcontroller controls LED long It is bright, while being sent and being opened by 485 buses, closing the instruction of magnetic latching relay successful respond;If function digit is transmission data Instruction, then the real time data of storage is sent to higher level equipment by 485 buses by STM32 single-chip microcontroller, and controls LED flashing;
When the state of current intelligent switch is control object, after there is keys interrupt, STM32 single-chip microcontroller is by judging key Whether it is pressed, is turned on or off to control magnetic latching relay, and it is bright to control LED long;Wherein, when key is not pressed When, magnetic latching relay is in close state, then the remotely instruction failure of control magnetic latching relay, until pressing key pressing, far Journey switch relay control instruction is just effective;When STM32 single-chip microcontroller detects that short circuit occurs for load, if magnetic latching relay Fail to disconnect in time, breaker restarts direct disconnecting circuit manually after user's debugging.
Goal of the invention of the invention is achieved in that
485 bus apparatus, are introduced into traditional power distribution cabinet by a kind of intelligent switch with Data Detection function of the present invention In switchgear, by the electric current of real-time detection load, voltage, power, electricity, leakage current and temperature carry out closing for control switch It closes and disconnects, increase the function of switch, improve the reliability for closing the switch and disconnecting, while there is the function of Data Detection Can, user can electricity consumption data to electrical appliance it is very clear, timing function also further promotes the operability of user, the program Structure is simply at low cost, is installed using guide rail, convenient to be reequiped on existing power distribution cabinet.
Detailed description of the invention
Fig. 1 is a kind of intelligent switch schematic diagram with Data Detection function of the present invention;
Specific embodiment
A specific embodiment of the invention is described with reference to the accompanying drawing, preferably so as to those skilled in the art Understand the present invention.Requiring particular attention is that in the following description, when known function and the detailed description of design perhaps When can desalinate main contents of the invention, these descriptions will be ignored herein.
Embodiment
Fig. 1 is a kind of intelligent switch schematic diagram with Data Detection function of the present invention.
In the present embodiment, as shown in Figure 1, a kind of intelligent switch with Data Detection function of the present invention, comprising: STM32 single-chip microcontroller 1, DC-DC power module 2,485 communication modules 3, magnetic latching relay 4, breaker 5, electric energy metering module 6, Temperature detecting module 7, key 8 and LED9.
STM32 single-chip microcontroller 1 is established by serial mode and 485 communication modules 3, electric energy metering module, temperature detecting module It connects, key and LED is also connected with outside single-chip microcontroller, STM32 single-chip microcontroller 1 is used for after intelligent switch is initialized and initialized just Often operation;
DC-DC power module 2, by external 12V DC power supply respectively to STM32 single-chip microcontroller 1,485 communication modules 3, magnetic Guard relay 4, electric energy metering module 6, temperature detecting module 7, key 8 and LED9 power supply;
485 communication modules 3 are received during initialization by 485 buses for communicating with 485 equipment of higher level When voltage threshold, current threshold, power threshold, leakage current threshold, power threshold, temperature threshold and delay that higher level equipment is sent Between, during normal operation, the control command of higher level equipment is received by 485 buses and superior equipment sends response and refers to It enables;
Magnetic latching relay 4,5 input terminal of breaker are connected with the output end of magnetic latching relay 4, magnetic latching relay 4 Being turned on or off for breaker is controlled according to the instruction from single-chip microcontroller;
The output end of breaker 5, breaker 5 is connected with load, for controlling being turned on or off for load circuit;
Electric energy metering module 6, electric current, the voltage, power, electricity of self-timing measurement load, leakage current etc.;
Temperature detecting module 7, the temperature inside real-time measurement intelligent switch;
Key 8 is turned on or off by pressing the button 8 to control magnetic latching relay 4;
LED9 shows the working condition of intelligent switch by flashing;
The initial configuration process of intelligent switch with Data Detection, can be logical automatically by 485 when intelligent switch powers on News module 3 is established serial communication mode with higher level equipment and connect, after higher level equipment response, by 485 buses transmission overloading threshold, Voltage threshold, current threshold, power threshold, leakage current threshold, temperature threshold and delay time, STM32 single-chip microcontroller 1 is by above-mentioned number According to being stored in memory, and superior equipment sends initialization and completes instruction, at the same LED9 flash for a long time after close, prompt just Beginningization is completed, and the initialization procedure does not need human intervention, is automatically performed by intelligent switch.
Intelligent switch detection data with Data Detection and according to the data action process detected, electric energy metered system Electric current, the voltage, power, electricity of self-timing measurement load, leakage current, while inside temperature detecting module measurement intelligent switch Temperature, above-mentioned data are stored in the memory of oneself and judged these data by STM32 single-chip microcontroller 1, if electric current is super Overcurrent threshold value, voltage are more than leakage current threshold, temperature more than temperature more than power threshold, leakage current more than voltage threshold, power Threshold value is spent, magnetic latching relay 4 will disconnect automatically, delay a period of time automatic closure, if the data of measurement continue to be more than threshold Value, magnetic latching relay 4 will disconnect automatically again, and until being less than threshold condition, the data continuously detected three times are greater than Threshold value, magnetic latching relay 4 will remain turned-off the state of disconnection need to open magnetic latching relay after user's debugging manually 4。
The course of work of the intelligent switch with Data Detection as controlled device, STM32 single-chip microcontroller 1 are handled by reception The data of 485 communication modules 3 output, if the address in data as the address of itself, further according to the function digit in data, If function digit is relay control instruction, executes unlatching, closing or time opening, closes magnetic latching relay 4, accordingly LED9 long is bright, and sends unlatching in 485 buses by 485 communication modules 3, closes the instruction of 4 successful respond of magnetic latching relay, If function digit is transmission data command, STM32 single-chip microcontroller 1 leaks electricity electric current, voltage, power, the electricity in oneself memory Stream, temperature, relay switch status data send data, corresponding LED9 flashing by 485 communication modules 3.
It is logical to press the button 8, STM32 single-chip microcontroller 1 for the course of work of the intelligent switch with Data Detection as control object It crosses and judges whether key 8 is pressed, control magnetic latching relay 4 is turned on or off, and corresponding LED9 long is bright, and works as key In the case where controlling the closing of magnetic latching relay 4, the long-range instruction failure for controlling magnetic latching relay 4, until pressing key control magnetic Teleinstruction is just effective in the case that guard relay 4 is opened.When short circuit occurs for load, magnetic latching relay fails to disconnect in time In the case where, breaker will be switched off circuit, and user is restarted manually after need to debugging, and ensure electrical appliance safety to the full extent.
Although the illustrative specific embodiment of the present invention is described above, in order to the technology of the art Personnel understand the present invention, it should be apparent that the present invention is not limited to the range of specific embodiment, to the common skill of the art For art personnel, if various change the attached claims limit and determine the spirit and scope of the present invention in, these Variation is it will be apparent that all utilize the innovation and creation of present inventive concept in the column of protection.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811123696.1A CN109445319A (en) | 2018-09-26 | 2018-09-26 | A kind of intelligent switch with Data Detection function |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811123696.1A CN109445319A (en) | 2018-09-26 | 2018-09-26 | A kind of intelligent switch with Data Detection function |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109445319A true CN109445319A (en) | 2019-03-08 |
Family
ID=65544329
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811123696.1A CN109445319A (en) | 2018-09-26 | 2018-09-26 | A kind of intelligent switch with Data Detection function |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109445319A (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201576928U (en) * | 2009-12-23 | 2010-09-08 | 张斌 | Intelligent protection controller of low-pressure table region |
CN202374049U (en) * | 2011-12-27 | 2012-08-08 | 吉林省电力有限公司电力科学研究院 | Low-voltage power distribution network intelligent switch |
CN103872658A (en) * | 2014-04-03 | 2014-06-18 | 湖南星球智能电气科技开发有限公司 | Multifunctional self-recovery over-voltage and under-voltage protector |
CN205068014U (en) * | 2015-09-30 | 2016-03-02 | 国网山西省电力公司运城供电公司 | Intelligence switch control system |
CN206788613U (en) * | 2017-05-27 | 2017-12-22 | 广东技术师范学院 | A kind of intelligent switch |
CN207338264U (en) * | 2017-05-04 | 2018-05-08 | 深圳市几多网络科技有限公司 | A kind of long-distance intelligent killer switch |
CN108448724A (en) * | 2018-04-02 | 2018-08-24 | 安徽广祺智能电器股份有限公司 | A kind of the ring main unit control system and its implementation of Intellectual computer protection |
CN207882399U (en) * | 2018-02-11 | 2018-09-18 | 杭州珏朗科技有限公司 | A kind of switch control module with failure feedback processing function |
-
2018
- 2018-09-26 CN CN201811123696.1A patent/CN109445319A/en active Search and Examination
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201576928U (en) * | 2009-12-23 | 2010-09-08 | 张斌 | Intelligent protection controller of low-pressure table region |
CN202374049U (en) * | 2011-12-27 | 2012-08-08 | 吉林省电力有限公司电力科学研究院 | Low-voltage power distribution network intelligent switch |
CN103872658A (en) * | 2014-04-03 | 2014-06-18 | 湖南星球智能电气科技开发有限公司 | Multifunctional self-recovery over-voltage and under-voltage protector |
CN205068014U (en) * | 2015-09-30 | 2016-03-02 | 国网山西省电力公司运城供电公司 | Intelligence switch control system |
CN207338264U (en) * | 2017-05-04 | 2018-05-08 | 深圳市几多网络科技有限公司 | A kind of long-distance intelligent killer switch |
CN206788613U (en) * | 2017-05-27 | 2017-12-22 | 广东技术师范学院 | A kind of intelligent switch |
CN207882399U (en) * | 2018-02-11 | 2018-09-18 | 杭州珏朗科技有限公司 | A kind of switch control module with failure feedback processing function |
CN108448724A (en) * | 2018-04-02 | 2018-08-24 | 安徽广祺智能电器股份有限公司 | A kind of the ring main unit control system and its implementation of Intellectual computer protection |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN203339430U (en) | Intelligent socket and control system thereof | |
CN205485532U (en) | Circuit intelligent management system | |
CN203859339U (en) | Intelligent socket control terminal | |
CN104868326A (en) | Smart socket system for monitoring and controlling load electric appliances and control method thereof | |
CN101615040B (en) | Temperature control system with contactor fault detection and control | |
US8914161B2 (en) | Power supply control device and ventilating device using same | |
US8987946B2 (en) | Air conditioner | |
CN201063382Y (en) | Intelligent standby electricity-saving socket for household appliances | |
CN2884600Y (en) | Smart remote controlled energy saving socket for TV and air conditioner | |
CN203056953U (en) | Driver and bus capacitor discharge circuit thereof | |
CN105182802B (en) | It is a kind of based on manually and radio double-control switching system and its control method | |
CN206225690U (en) | Intelligent safety socket | |
CN101639675B (en) | Efficient energy-saving switch circuit | |
CN201413455Y (en) | Energy-saving control device | |
US8421275B2 (en) | Apparatus for providing zero standby power control in an appliance | |
CN103488159A (en) | Distribution box type smart home terminal and comprehensive protection controller | |
CN204858671U (en) | Direct current of low stand -by power consumption machine that charges | |
CN201522626U (en) | High-efficient energy-saving switch circuit | |
CN103560587A (en) | Zero power consumption green power supply synthesized power distribution control box | |
CN105914534A (en) | Energy-saving intelligent socket | |
CN103116296B (en) | A kind of energy-saving socket | |
KR20130109879A (en) | Dc electronic switch for dc distribution systems | |
CN104135083A (en) | Intelligent household distribution box | |
CN102024306A (en) | Detection circuit for washing machine door cover | |
RU2489784C1 (en) | Mobile device for address control of non-priority load and method for address control of non-priority load |
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 |