CN116095044A - Address allocation method and device for intelligent distribution box shunt circuit breaker - Google Patents

Address allocation method and device for intelligent distribution box shunt circuit breaker Download PDF

Info

Publication number
CN116095044A
CN116095044A CN202211476379.4A CN202211476379A CN116095044A CN 116095044 A CN116095044 A CN 116095044A CN 202211476379 A CN202211476379 A CN 202211476379A CN 116095044 A CN116095044 A CN 116095044A
Authority
CN
China
Prior art keywords
circuit breaker
shunt
address
address allocation
distribution box
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
Application number
CN202211476379.4A
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN202211476379.4A priority Critical patent/CN116095044A/en
Publication of CN116095044A publication Critical patent/CN116095044A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)

Abstract

The invention discloses an address allocation method and device of an intelligent distribution box shunt circuit breaker, and relates to the technical field of electricity. The method comprises the following steps: s1, distributing shunt address information of a breaker; s2, acquiring an address allocation instruction; s3, obtaining distributable shunt state information; s4, address allocation is carried out on the shunt of the circuit breaker. The method has the advantages that the address distribution operation is carried out on the circuit breaker branches through the set hash algorithm, the random number is generated by acquiring the execution command time, the corresponding circuit breaker branch information is acquired, and compared with the traversing algorithm, the acquisition of the free branches of the circuit breaker can be effectively improved, so that the distribution efficiency of the circuit breaker branch addresses is improved, the scanning times of occupied branches can be effectively reduced through the set unordered target branch acquisition mode, multiple scanning of a single occupied branch is avoided, and the distribution efficiency of the circuit breaker branch addresses is improved.

Description

Address allocation method and device for intelligent distribution box shunt circuit breaker
Technical Field
The invention relates to the technical field of electricity, in particular to an address allocation method and device of an intelligent distribution box shunt circuit breaker.
Background
With the development of society, household appliances in the families are various, electricity utilization environments are complex, the traditional distribution box has the functions of electric leakage, short-circuit protection and the like, and the occurrence of electric fire is not prevented, nearly 80% of users realize the harmfulness of the electric fire, and the awareness of people on safe electricity utilization is greatly enhanced. According to big data investigation shows, 96% of users are willing to use intelligent distribution box to ensure household electricity safety, realize intelligent house thing networking simultaneously, realize real-time supervision, can the energy saving. A circuit breaker is generally provided in an intelligent distribution box, and the circuit breaker is a switching device capable of carrying and breaking a current under normal loop conditions and carrying and breaking a current under abnormal loop conditions within a prescribed time. The circuit breaker is divided into a high-voltage circuit breaker and a low-voltage circuit breaker according to the application range, and the division of a high-voltage boundary line and a low-voltage boundary line is fuzzy, and is generally called as a high-voltage electrical appliance with the voltage of more than 3 kV. A main circuit breaker refers to a circuit breaker that is used for switching a main circuit, such as a distribution box. Shunt circuit breakers refer to circuit breakers that are used to make and break a single circuit, such as one shunt circuit in a distribution box. The intelligent circuit breaker is based on the traditional circuit breaker, and intelligent modules are added on hardware to further realize intelligent control functions, such as remote control switch, tripping automatic power transmission, electric leakage protection automatic detection, overvoltage protection, overload overcurrent protection and the like. The intelligent block terminal scheme of mainstream at present is on the basis of traditional circuit breaker, increases intelligent module to realize the function of intelligence. The intelligent modules are added to the circuit breakers, and the first scheme is that each circuit breaker is added with one intelligent module, so that the circuit breakers can be independently connected with the cloud server in a networking mode, but the scheme has higher hardware cost because each circuit breaker is added with one intelligent module; the second scheme is to extract the communication part function of the circuit breaker and make the circuit breaker into a communication module independently, so that the whole distribution box only needs to be provided with one communication module, the hardware cost is saved, but after the circuit breaker communication module is extracted, all the circuit breakers are identical in all aspects of appearance, hardware, software and the like, and the circuit breakers are difficult to distinguish.
In order to solve the problems, the invention patent with publication number CN 107864235B discloses an address allocation method and device of an intelligent distribution box shunt circuit breaker, wherein in the scheme, each shunt of the circuit breaker is scanned according to an address allocation instruction to judge whether the shunt is in a configurable state or not; if the branches are in a configurable state, addresses are allocated to the branches of the circuit breaker, and the scanning instruction is continuously repeated until the address allocation of all the branches is completed. In addition, whether the address setting state is entered or not may be judged according to the time of pressing the shunt switch; if the address setting state is entered, the number of times of pressing the shunt switch is obtained; setting a shunt address according to the number of times the switch is pressed, and judging whether to end the address allocation operation according to the time when the shunt switch is pressed, if in the course of the address setting state. By adopting the method and the device provided by the application, the address can be allocated or set for the shunt switch of the circuit breaker, so that the address is allocated for the circuit breaker, the hardware cost is reduced in the whole process, and the circuit breaker can be distinguished conveniently.
However, the above scheme still has some defects, in which a traversal algorithm is adopted for the shunt distribution address of the circuit breaker, the distribution efficiency is higher when the shunt distribution amount of the circuit breaker is not high, however, when the distribution amount of the circuit breaker is more, the circuit breaker shunt of which the front end firstly performs distribution scanning is occupied, so that a great deal of time is required to be spent on scanning the circuit breaker shunt which is already distributed when the circuit breaker shunt distribution is performed every time later, and a great deal of time is required to be spent for acquiring the idle circuit breaker shunt state when the circuit breaker shunt distribution is performed every time later, and the shunt distribution efficiency of the circuit breaker is affected.
Disclosure of Invention
The invention provides an address allocation method and device of an intelligent distribution box shunt circuit breaker, which are used for solving the problems in the background technology.
In order to solve the technical problems, the invention adopts the following technical scheme: an address allocation method and device of an intelligent distribution box shunt circuit breaker comprises the following steps:
s1, distributing shunt address information of a breaker;
s2, acquiring an address allocation instruction;
s3, obtaining distributable shunt state information;
s4, address allocation is carried out on the shunt of the circuit breaker.
The technical scheme of the invention is further improved as follows: the step S1 specifically includes:
s1.1, distributing hash algorithm configuration frames to all branches of a circuit breaker;
s1.2, sending a query frame comprising hash table rounds and hash table serial numbers to a shunt address of the circuit breaker;
s1.3, receiving and responding to the query frame sent in the S1.2 by the shunt address of the circuit breaker, and returning a response frame to the query module;
s1.4, distributing the response frame returned in the S1.3 to the idle address of the communication address table;
s1.5, sending an address configuration frame containing address information and a configuration command to the shunt address of the breaker;
s1.6, if the query module receives a plurality of response frames, the hash table serial numbers in the query frames correspond to a plurality of circuit breaker shunt addresses, and hash conflicts exist.
By adopting the technical scheme, the hash algorithm in the scheme configures corresponding information of the circuit breaker branches and the control module generates random hash table sequence numbers for the time allocated by each circuit breaker branch.
The technical scheme of the invention is further improved as follows: and under the condition that the hash conflict exists, starting address allocation of the next round in the step S1.6, and under the condition that the hash conflict does not exist, finishing address allocation when the number of the shunt addresses of the allocated circuit breakers is the same as the preset number.
By adopting the technical scheme, the multiple rounds of address allocation in the scheme can distribute each breaker to the corresponding hash value table in a branching way, so that the subsequent query operation is convenient.
The technical scheme of the invention is further improved as follows: the step S1 further includes:
s1.7, after the distribution of the shunt address of the circuit breaker is completed, the address and the characteristic information thereof are stored in a communication address table, so that the shunt of the circuit breaker is dynamically managed through the communication address table.
The technical scheme of the invention is further improved as follows: the step S2 specifically includes:
s2.1, outputting an address allocation instruction to a control module by a user;
and S2.2, the control module transmits the address allocation instruction output in the S2.1 to the query module.
The technical scheme of the invention is further improved as follows: the step S3 specifically includes:
s3.1, the query module receives an address allocation instruction input by the control module;
s3.2, acquiring time information according to the time module, and generating a random number according to the time information;
s3.3, converting the address allocation instruction and the time information into a hash algorithm configuration frame;
s3.4, carrying out hash calculation according to the configuration frame obtained in the S3.3 so as to generate a hash table sequence number;
and S3.5, the circuit breaker branches to obtain the configuration frame in S3.3, and the hash table sequence number in the configuration frame is compared with the hash table sequence number generated by the circuit breaker.
The technical scheme of the invention is further improved as follows: the step S3.5 specifically includes that if the serial number of the configuration frame hash table is the same as the serial number of the hash table of the circuit breaker shunt, a response frame is returned when the circuit breaker shunt is in an idle state, and the query module returns the state information of the circuit breaker shunt to the control module.
The technical scheme of the invention is further improved as follows: the step S3.5 further includes that when the circuit breaker shunt is in an occupied state, the query module repeats the step S3.2.
The technical scheme of the invention is further improved as follows: the step S3 further includes: and S3.6, when the number of the circuit breaker branches obtained in the step S3.5 is the same as the preset number, all the circuit breaker branches are in an occupied state, and the query module returns unavailable connection information to the control module.
The technical scheme of the invention is further improved as follows: comprising the following steps:
the time module is used for acquiring instruction execution time;
the inquiry module is used for inquiring the shunt address of the circuit breaker and the connection state of the shunt of the circuit breaker;
and the control module is used for interacting with a user, acquiring information of the time module and the query module, and communicating and connecting the control module with the time module and the query module.
By adopting the technical scheme, compared with the prior art, the invention has the following technical progress:
1. the invention provides an address allocation method and device for an intelligent distribution box shunt circuit breaker, which are used for carrying out address allocation operation on a circuit breaker shunt through a set hash algorithm, generating random numbers through acquiring execution command time and acquiring corresponding circuit breaker shunt information.
2. The invention provides an address distribution method and device for an intelligent distribution box shunt circuit breaker, which can effectively reduce the scanning times of occupied shunts by a set unordered target shunt acquisition mode, thereby avoiding scanning a single occupied shunt for multiple times and improving the shunt address distribution efficiency of the circuit breaker.
3. The invention provides an address allocation method and device for an intelligent distribution box shunt circuit breaker, wherein a user instruction can be acquired through a set control module, so that the shunt information of the circuit breaker can be quickly inquired by matching with a time module and an inquiry module, and the shunt address allocation efficiency of the circuit breaker is improved.
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate the invention and together with the embodiments of the invention, serve to explain the invention. In the drawings:
FIG. 1 is a schematic flow chart of the present invention;
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments.
Examples of the embodiments are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements throughout or elements having like or similar functionality. The embodiments described below by referring to the drawings are illustrative and intended to explain the present invention and should not be construed as limiting the invention.
In the present invention, unless explicitly specified and limited otherwise, the terms "mounted," "connected," "secured," and the like are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally formed; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communicated with the inside of two elements or the interaction relationship of the two elements. The specific meaning of the above terms in the present invention can be understood by those of ordinary skill in the art according to the specific circumstances.
The following specifically describes the working principle of the address allocation method and the device of the intelligent distribution box shunt circuit breaker.
As shown in fig. 1, the method comprises the following steps:
s1, distributing shunt address information of a breaker;
the step S1 specifically includes: s1.1, distributing hash algorithm configuration frames to all branches of a circuit breaker; s1.2, sending a query frame comprising hash table rounds and hash table serial numbers to a shunt address of the circuit breaker; s1.3, receiving and responding to the query frame sent in the S1.2 by the shunt address of the circuit breaker, and returning a response frame to the query module; s1.4, distributing the response frame returned in the S1.3 to the idle address of the communication address table; s1.5, sending an address configuration frame containing address information and a configuration command to the shunt address of the breaker; s1.6, if the query module receives a plurality of response frames, indicating that hash table serial numbers in the query frames correspond to a plurality of circuit breaker shunt addresses and hash conflicts exist; step S1.6 starts address allocation of the next round under the condition that hash conflict exists, and step S1.6 completes address allocation when the number of shunt addresses of the allocated circuit breaker is the same as the preset number under the condition that hash conflict does not exist; s1.7, after the distribution of the shunt address of the circuit breaker is completed, storing the address and the characteristic information thereof into a communication address table so as to dynamically manage the shunt of the circuit breaker through the communication address table; the hash result has the possibility of collision, namely different input information obtains the same hash value; to reduce the collision probability, collisions can be gradually eliminated by multiple hashes and multiple communications; the uncertain information is reduced after each hash and communication confirmation, and the next hash table can be reduced (for example, the hash table is reduced by 1/2); the probability of collision of the hashes for a plurality of times is negligible by selecting proper hashes and table sizes, and the method has engineering feasibility. The circuit breaker shunt adopts circuit breaker shunt position information, address allocation time and random numbers respectively according to a control module command, and three hash values are calculated and stored, namely hs1, hs2 and hs3 respectively. The control module sends the query frame of hs1 and sends the broadcast frame of hash table serial number X (for example, 0-4095) in turn; when a query frame with the hash table serial number X is received, if the hash table serial number of a certain breaker shunt sx is X, a response frame is sent to the control module, and characteristic information such as breaker shunt position information is attached. And the control module recognizes that the sx breaker shunt exists after receiving the effective response frame, and allocates a breaker shunt address for the sx breaker shunt. If a plurality of valid response frames are received or non-response frame information is detected (for example, circuit breaker shunt reply data is available but not response frames), judging that the hash serial number corresponds to a plurality of circuit breaker shunts, and recording the conflict and continuing to send a query frame; after the control module sequentially sends all inquiry frames of hs1, if the number of the effective circuit breaker branches is identified to be equal to the number N of the configuration circuit breakers branches and hash collision is not detected, ending address allocation; if a hash collision is detected, an hs2 query is entered. The hs2 query is similar to the hs1 query process, and incremental address allocation is adopted at this time, namely only the circuit breaker with unassigned address is in shunt participation; the circuit breaker shunt with the address distribution queried by hs1 does not respond; when hs2 is finished, if hash collision still exists, entering into hs3 for inquiring; the hs3 query is similar to the hs2 procedure described above.
S2, acquiring an address allocation instruction; the step S2 specifically includes: s2.1, outputting an address allocation instruction to a control module by a user; s2.2, the control module transmits the address allocation instruction output in the S2.1 to the query module;
s3, obtaining distributable shunt state information; the step S3 specifically includes: s3.1, the query module receives an address allocation instruction input by the control module; s3.2, acquiring time information according to the time module, and generating a random number according to the time information; s3.3, converting the address allocation instruction and the time information into a hash algorithm configuration frame; s3.4, carrying out hash calculation according to the configuration frame obtained in the S3.3 so as to generate a hash table sequence number; s3.5, the circuit breaker branches to obtain the configuration frame in S3.3, and the hash table sequence number in the configuration frame is compared with the hash table sequence number generated by the circuit breaker; the step S3.5 specifically includes that if the serial number of the configuration frame hash table is the same as the serial number of the hash table of the circuit breaker shunt, a response frame is returned when the circuit breaker shunt is in an idle state, and the inquiry module returns the state information of the circuit breaker shunt to the control module; the step S3.5 further comprises the step that when the circuit breaker shunt is in an occupied state, the query module repeats the step S3.2; s3.6, when the number of the circuit breaker branches obtained in the S3.5 is the same as the preset number, all the circuit breaker branches are in an occupied state, and the query module returns unavailable connection information to the control module;
s4, address allocation is carried out on the shunt of the circuit breaker.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a reference structure" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.

Claims (10)

1. An address allocation method of an intelligent distribution box shunt circuit breaker is characterized by comprising the following steps: the method comprises the following steps:
s1, distributing shunt address information of a breaker;
s2, acquiring an address allocation instruction;
s3, obtaining distributable shunt state information;
s4, address allocation is carried out on the shunt of the circuit breaker.
2. The address allocation method for the intelligent distribution box shunt circuit breaker according to claim 1, wherein: the step S1 specifically includes:
s1.1, distributing hash algorithm configuration frames to all branches of a circuit breaker;
s1.2, sending a query frame comprising hash table rounds and hash table serial numbers to a shunt address of the circuit breaker;
s1.3, receiving and responding to the query frame sent in the S1.2 by the shunt address of the circuit breaker, and returning a response frame to the query module;
s1.4, distributing the response frame returned in the S1.3 to the idle address of the communication address table;
s1.5, sending an address configuration frame containing address information and a configuration command to the shunt address of the breaker;
s1.6, if the query module receives a plurality of response frames, the hash table serial numbers in the query frames correspond to a plurality of circuit breaker shunt addresses, and hash conflicts exist.
3. The address allocation method for the intelligent distribution box shunt circuit breaker according to claim 2, wherein: and under the condition that the hash conflict exists, starting address allocation of the next round in the step S1.6, and under the condition that the hash conflict does not exist, finishing address allocation when the number of the shunt addresses of the allocated circuit breakers is the same as the preset number.
4. The address allocation method for the intelligent distribution box shunt circuit breaker according to claim 1, wherein: the step S1 further includes:
s1.7, after the distribution of the shunt address of the circuit breaker is completed, the address and the characteristic information thereof are stored in a communication address table, so that the shunt of the circuit breaker is dynamically managed through the communication address table.
5. The address allocation method for the intelligent distribution box shunt circuit breaker according to claim 1, wherein: the step S2 specifically includes:
s2.1, outputting an address allocation instruction to a control module by a user;
and S2.2, the control module transmits the address allocation instruction output in the S2.1 to the query module.
6. The address allocation method for the intelligent distribution box shunt circuit breaker according to claim 1, wherein: the step S3 specifically includes:
s3.1, the query module receives an address allocation instruction input by the control module;
s3.2, acquiring time information according to the time module, and generating a random number according to the time information;
s3.3, converting the address allocation instruction and the time information into a hash algorithm configuration frame;
s3.4, carrying out hash calculation according to the configuration frame obtained in the S3.3 so as to generate a hash table sequence number;
s3.5, the circuit breaker branches to obtain the configuration frame in S3.3, and the hash table sequence number in the configuration frame is compared with the hash table sequence number generated by the circuit breaker.
7. The address allocation method for the intelligent distribution box shunt circuit breaker according to claim 6, wherein: the step S3.5 specifically includes that if the serial number of the configuration frame hash table is the same as the serial number of the hash table of the circuit breaker shunt, a response frame is returned when the circuit breaker shunt is in an idle state, and the query module returns the state information of the circuit breaker shunt to the control module.
8. The address allocation method for the intelligent distribution box shunt circuit breaker according to claim 6, wherein: the step S3.5 further includes that when the circuit breaker shunt is in an occupied state, the query module repeats the step S3.2.
9. The address allocation method for the intelligent distribution box shunt circuit breaker according to claim 6, wherein: the step S3 further includes: and S3.6, when the number of the circuit breaker branches obtained in the step S3.5 is the same as the preset number, all the circuit breaker branches are in an occupied state, and the query module returns unavailable connection information to the control module.
10. An address distribution device of an intelligent distribution box shunt circuit breaker, which is characterized in that: comprising the following steps:
the time module is used for acquiring instruction execution time;
the inquiry module is used for inquiring the shunt address of the circuit breaker and the connection state of the shunt of the circuit breaker;
and the control module is used for interacting with a user, acquiring information of the time module and the query module, and communicating and connecting the control module with the time module and the query module.
CN202211476379.4A 2022-11-23 2022-11-23 Address allocation method and device for intelligent distribution box shunt circuit breaker Pending CN116095044A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211476379.4A CN116095044A (en) 2022-11-23 2022-11-23 Address allocation method and device for intelligent distribution box shunt circuit breaker

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211476379.4A CN116095044A (en) 2022-11-23 2022-11-23 Address allocation method and device for intelligent distribution box shunt circuit breaker

Publications (1)

Publication Number Publication Date
CN116095044A true CN116095044A (en) 2023-05-09

Family

ID=86201438

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211476379.4A Pending CN116095044A (en) 2022-11-23 2022-11-23 Address allocation method and device for intelligent distribution box shunt circuit breaker

Country Status (1)

Country Link
CN (1) CN116095044A (en)

Similar Documents

Publication Publication Date Title
US9160411B2 (en) Communication process for elements composing a home or industrial electrical energy distribution network and devices for implementing the same
JP6736292B2 (en) Overlapping priority contention windows for G3 power line communication networks
US9094234B2 (en) Carrier sense multiple access (CSMA) protocols for power line communications (PLC)
WO2016176314A1 (en) Apparatus for detecting faults in an electrical circuit and monitoring and controlling electrical energy consumption
CN113054749A (en) Distribution network differential protection method, device and system based on 5G remote communication
CN111262767A (en) Photovoltaic system and communication method thereof
CN110691712A (en) Method for operating a vehicle charging device, vehicle charging device and system comprising a sensor device and a vehicle charging device
CN101964509A (en) Method and device for preventing power of electric equipment from exceeding standard and electric equipment
WO1999007113A2 (en) Wireless networked device installation
CN106707862A (en) Intelligent home electric box with man-machine interaction
CN116095044A (en) Address allocation method and device for intelligent distribution box shunt circuit breaker
CN107483084B (en) Broadband carrier networking method, site and system
Sivaneasan et al. A new routing protocol for PLC-based AMR systems
CN113067525A (en) Gear control circuit and system of alternating current motor
Brissette et al. Analysis of emerging technology for DC-enabled smart homes
CN110137973B (en) Intermediate energy management device and associated energy management method
CN104485741A (en) Reactive compensation module and reactive compensation method based on automatic networking
CN117996910A (en) Electric vehicle charger with load shedding
CN107864235B (en) Address allocation method and device for shunt circuit breaker of intelligent distribution box
CN102684013B (en) Electric connector capable of realizing address allocation of controlled equipment
CN113115282A (en) Internet of things communication method and Internet of things communication system
CN111614109A (en) Load three-phase unbalance management method and system considering user side energy access
CN210986126U (en) Installation guide rail with address recognition function
KR20160083923A (en) A method of managing the definition of at least one action in at least a portion of an electrical power grid
CN220964333U (en) Power distribution device and system

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