CN104954213A - Arbitration bus-free networking system applicable to intelligent capacitor - Google Patents

Arbitration bus-free networking system applicable to intelligent capacitor Download PDF

Info

Publication number
CN104954213A
CN104954213A CN201510195951.3A CN201510195951A CN104954213A CN 104954213 A CN104954213 A CN 104954213A CN 201510195951 A CN201510195951 A CN 201510195951A CN 104954213 A CN104954213 A CN 104954213A
Authority
CN
China
Prior art keywords
machine
roll
networking
order
main frame
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
CN201510195951.3A
Other languages
Chinese (zh)
Inventor
张翔
于海果
周娟
丁彬
何金海
汪梦余
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Elefirst Science & Tech Co Ltd
Original Assignee
Elefirst Science & Tech Co Ltd
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 Elefirst Science & Tech Co Ltd filed Critical Elefirst Science & Tech Co Ltd
Priority to CN201510195951.3A priority Critical patent/CN104954213A/en
Publication of CN104954213A publication Critical patent/CN104954213A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses an arbitration bus-free networking system applicable to an intelligent capacitor. The arbitration bus-free networking system comprises a roll-call message module, for controlling all networking equipment to be started and to enter the delay state and sending roll-call messages when the delay terminates; a master determination module, for determining a master of the arbitration bus-free network from the networking equipment; a networking roll-call module, for controlling the master to send roll-call messages from a small ID to a big ID, and controlling a slave to respond to the received roll-call messages when second delay terminates; and a networking module, for networking of the arbitration bus-free network. Without the need of hardware cost and maintenance, the system of the invention achieves high intelligence and high reliability and has the function of communication failure self-diagnosis, thereby realizing setting-free and no-operation networking communication. Therefore, the system is quite suitable for occasions with bad maintenance environment, complicated setting and uneven quality of constructors.

Description

A kind of be applied to Intelligent capacitor without arbitration bus group network system
Technical field
The invention belongs to group-net communication field, relate to a kind of constructing communication network system.
Background technology
The current usual manner without arbitration bus networking is: before equipment network, just carries out address assignment to each equipment, and assigns one as main frame, and the communication dominant right of this network administered by this main frame.The advantage of this system is that address arranges intuitively, clearly can know which address which equipment corresponds to, shortcoming is once the number of devices of networking is larger, then arrange workload to be also multiplied, if arrange mistake in address allocation procedure, find that there is conflict after later stage powers on, also must re-start investigation, and reset.
Existing system is after device power, carry out MANET according to address and complete networking operation, if in running, have equipment to be damaged, need to change one with current normal operational outfit in can the networking operation of finishing equipment without the new equipment of repeat to address (RA).Also there is following shortcoming in said system:
1. if cannot know the address of current every platform equipment, just can not arrange effective address to newly entering equipment, also just very likely can cause address conflict, networking collapse or address arrange the other problemses such as spilling.
2. in networking equipment running, if desired add new equipment, then can find the problem the same with problem 1, just must know the address of all current devices, otherwise cannot networking operation be completed, even networking collapse.
3., in networking equipment running, need to change if main frame breaks down, during hostdown, whole ad-hoc network collapses because lacking host schedules.
4. in actual field construction running, because field condition is severe; Engineering construction personnel do not possess and arrange networking knowledge or dislike trouble; Many times, be all that device power is run, but and could not group net operation, wasted electric energy, due social value can not have been played.
Summary of the invention
technical problem:the invention provides one and there is highly intelligent and reliability, do not consume hardware cost, non-maintaining, and have communication failure self-diagnostic function be applied to Intelligent capacitor without arbitration bus group network system.
technical scheme:of the present invention be applied to Intelligent capacitor without arbitration bus group network system, comprising:
Roll-call message module, starts in order to control all networking equipments and enters respective random delay, sending roll-call message after time delay terminates;
Main frame determination module, in order to determine the main frame without arbitration bus network from networking equipment;
Networking roll-call module, in order to main control system according to ID order ascending transmission roll-call message, controls to reply the roll-call message received at the end of secondary random delay from machine;
Networking module, in order to carry out the networking without arbitration bus network;
Described main frame determination module comprises:
First processing unit, in order to the equipment not receiving other equipment roll-call messages in whole time delay process, assert that this equipment self is main frame, and after time delay terminates, sends roll-call message;
Second processing unit, in order to the equipment receiving other equipment message in time delay process, assert that this equipment self is from machine, cancels and sends roll-call message, enter secondary delay, and enters by roll-call wait;
Described networking module comprises:
3rd processing unit, in order to take ID as it from machine region from machine ID using legal response;
Fourth processing unit, in order to find in secondary delay process himself ID and other reply from machine ID repeat from machine, cancelling should from machine response, enter spare area and wait for and calling the roll, and is updated to by its ID and unduplicatedly in spare area takies ID;
5th processing unit, in order to the situation being less than host id from machine ID to response, main frame is reduced to from machine, its ID is updated in spare area to enter after the unduplicated ID of taking and is waited for by roll-call, and this response is restarted to send roll-call message and response after machine is upgraded to main frame;
6th processing unit, in order to complete at main frame to all after the roll-call of machine ID, if having to be allocated from machine in spare area, then continues to carry out roll-call response in spare area, until complete networking, otherwise directly completes networking.
In the preferred version of present system, the 7th processing unit is also comprised in networking module, in order to when main frame does not receive legal response message within the response time limit, repeat the roll-call message sending this ID, until receive after legal response or number of repetition exceed fault-tolerant number of times, then send the roll-call message of next ID.
In the preferred version of present system, in the 6th processing unit, comprise in order to carry out the following subelement of replying of calling the roll in spare area:
First subelement, in order to main control system according to the ascending transmission roll-call message of the initial ID in spare area order, controls to reply from machine the roll-call message consistent with its ID received;
Second subelement, for legal response from machine, this is revised as it from the ID of machine does not have occupied ID from machine region.
In the preferred version of present system, also comprise poller module, described poller module comprises:
Poll response unit, in order to main control system to online from machine successively poll, inquiry slave status and parameter, reply after machine receives polling message, after main frame receives response, if find that there is from machine fault, then record trouble is from the ID of machine;
Main frame detecting unit, in order to immediate from machine as backup host with host id using No. ID, described backup host detecting host polling message, if detecting is less than polling message, then thinks that main frame does not exist, restarts networking after this backup host is upgraded to main frame.
In the preferred version of present system, also comprise new equipment inquiry distribution module, described new equipment inquiry distribution module comprises:
8th processing unit, when bus having data interaction in order to detect in random delay process after new equipment powers on, its ID is updated to and unduplicatedly in spare area takies ID, main control system is regularly according to the ascending transmission roll-call message of the initial ID in spare area order simultaneously, controls the roll-call message from machine response main frame;
9th processing unit, in order to after main frame receives response, takies ID and is updated to the ID not repeating to take from machine region from the spare area of machine by this response.
In the present invention, power on smart host identification, and the intelligence that powers on sorts from machine, in running, real-time judge is with or without newly adding from machine and completing networking, real-time judge Host Status, after main frame breaks down, whole ad-hoc network can be taken over by automatically selecting from machine new main frame.
Present system is useful on USBs such as including but are not limited to Rs485, Rs232, M-bus, is applied to and needs to carry out group-net communication, and networking controls, the multiple occasions such as unattended operation is non-maintaining.After completing networking according to the inventive method, can the communications status of Real-Time Monitoring current networking member: newly redistribute new address and without the need to any setting from machine or the new slave devices that adds to what change because there being fault, namely be no matter because of fault renew new for machine, or what then add because number of devices is not enough is new for machine, networking can be carried out to these new equipments by main frame intelligence, and without the need to any setting.Simultaneously to the situation of the urban district networking maincenter because of hostdown, by the main frame that can make new advances in the selection of intelligence from machine, and whole networking can not be caused to collapse because lacking maincenter host computer control, namely after the main frame in networking is because of fault damage, remaining slave system can Intellisense, and therefrom selects a new main frame to take over whole ad-hoc network.
The present invention can realize; Intelligent bus main process equipment is arbitrated, and intelligent slave devices distributes, and intelligence adds from machine and exits, and intelligence is put forward power from machine and controlled and restore funcitons.After being connected by many indifferences (or having part variation) terminal bus, intelligent specifically will require that carrying out main frame screens automatically as requested, sort from machine, in the process run, whether whether Real-Time Monitoring has new entering from machine, have fault to exit from machine, put forward power the need of after hostdown from machine, really achieve and exempt to arrange, without the group-net communication of operation.Be specially adapted to safeguard that occasion is severe, complexity is set, the uneven occasion of workmen's quality.
beneficial effect:the present invention compared with prior art, has the following advantages:
During traditional device power, during master-slave response according to the ID(address that equipment has set) carry out communication, namely, want the networking of all devices, the process that a nothing repeats setting must be carried out to ID, if ID is identical, then have no idea, by the similarities and differences of ID differentiation equipment, naturally also just to have no idea to carry out master-slave response.
The present invention devises the mode of a kind of automatic amendment ID of powering on, and without the need to manually arranging device id before making to power on, time particularly number of devices is more again, greatly simplify the setting steps that powers on, really having accomplished plug and play.Before device power, arrange without the need to any networking, after completing the physical connection of communication, can autonomous networking.
No matter equipment is newly add equipment, equipment replacement in running, or hostdown, all can automatically complete networking process, without the need to artificial participation, time saving and energy saving.
The place severe to field condition, do not possess parameters condition, traditional system just can not adapt to this requirement again, and the present invention only need complete all physical connections powers on.
Accompanying drawing explanation
Fig. 1 is present system schematic diagram.
Fig. 2 is present system workflow diagram.
Embodiment
Below in conjunction with embodiment and Figure of description, the present invention is further illustrated.
Embodiment 1:
For Intelligent capacitor networkings in parallel some in certain engineering department reactive compensation cabinet, have and install intelligent capacitor 4 in this compensating cabinet, wherein first three is initial stage installation, and last is mend dress after later stage dilatation.Networking adopts the RS485 communication bus without arbitration to connect, and this Intelligent capacitor group as main frame, carries out the Reactive Power Dispatch of the whole network by wherein, controls the function such as switching and status monitoring.
Power on after all Intelligent capacitor physical connections complete, because factory-default ID is 1(extreme case, all device id is number all identical), now, networking is carried out to all Intelligent capacitors.
After all devices unification powers on, the all networking equipments of roll-call message module controls start and enter random delay, after time delay terminates, one of terminating of time delay at first sends roll-call message to bus, first processing unit of main frame determination module is to the equipment not receiving other equipment message in whole time delay process, assert that this equipment self is main frame, and after time delay terminates, send roll-call message.Time delay terminates slower terminal can find that bus has roll-call message, and the second processing unit assert that this terminal self is from machine, then cancel sending roll-call message, enter and called the roll by wait.Now, the terminal (namely not receiving the terminal of other equipment message in its whole time delay process) sending roll-call message is at first main frame, and all the other are by the state of calling the roll from machine.
Every enter from machine by the state of calling the roll from machine enter second time random delay, after time delay terminates, reply roll-call message, if find that there is message and oneself ID double sign of reply, then fourth processing unit is cancelled to call the roll from machine response and is replied, enter spare area get unduplicated ID for subsequent use at random can not other repeat from the ID that takies of machine with spare area as oneself the ID(that takies).
After main frame has all been called the roll, from machine district some take the lead in replying from machine, legal response is being taken ID as it from machine region from machine ID by the 3rd processing unit, and now, these construct an initialization networking from machine and main frame.
When spare area carries out roll-call response, first subelement main control system timing roll-call spare area ID, according to the ascending transmission roll-call message of the initial ID in spare area order, from machine, the roll-call message consistent with its ID received is replied, the spare area of legal response to change into from machine district No. ID (this No. ID can not with repeating from machine of having taken before) from No. ID of machine by the second subelement, after spare area ID has all called the roll, in all device id Jun Congji district ID, networking has completed.
Invention preferred embodiment in, in system cloud gray model, if because of device damage change or new equipment add, then new equipment powers on and can detect that bus has communication state, and the 8th processing unit changes its ID in spare area unduplicated ID.
Main frame is in running, except each state from machine of poll and issuing control command, also timing is looked into newly to spare area, 8th processing unit main control system is according to the ascending transmission roll-call message of the initial ID in spare area order, the roll-call message of the new equipment response main frame in spare area, if find, spare area ID has reply, then the 9th processing unit changes this of replying into from machine region unduplicated ID(and original not repeating from machine ID), complete new equipment and add networking process.
In another preferred embodiment of invention, in the network operation, if main frame is damaged, then main frame detecting unit by former from machine minimum No. ID be upgraded to displacement main frame from machine (backup host), and carry out networking process again to all from machine, flow process is as above.Like this, just complete hostdown automatic rejection, automatically the function of substitute.
Above-described embodiment is only the preferred embodiment of the present invention; be noted that for those skilled in the art; under the premise without departing from the principles of the invention; some improvement and equivalent replacement can also be made; these improve the claims in the present invention and are equal to the technical scheme after replacing, and all fall into protection scope of the present invention.

Claims (5)

1. be applied to Intelligent capacitor without an arbitration bus group network system, it is characterized in that, this system comprises:
Roll-call message module, starts in order to control all networking equipments and enters respective random delay, sending roll-call message after time delay terminates;
Main frame determination module, in order to determine the main frame without arbitration bus network from networking equipment;
Networking roll-call module, in order to main control system according to ID order ascending transmission roll-call message, controls to reply the roll-call message received at the end of secondary random delay from machine;
Networking module, in order to carry out the networking without arbitration bus network;
Described main frame determination module comprises:
First processing unit, in order to the equipment not receiving other equipment roll-call messages in whole time delay process, assert that this equipment self is main frame, and after time delay terminates, sends roll-call message;
Second processing unit, in order to the equipment receiving other equipment message in time delay process, assert that this equipment self is from machine, cancels and sends roll-call message, enter secondary delay, and enters by roll-call wait;
Described networking module comprises:
3rd processing unit, in order to take ID as it from machine region from machine ID using legal response;
Fourth processing unit, in order to find in secondary delay process himself ID and other reply from machine ID repeat from machine, cancelling should from machine response, enter spare area and wait for and calling the roll, and is updated to by its ID and unduplicatedly in spare area takies ID;
5th processing unit, in order to the situation being less than host id from machine ID to response, main frame is reduced to from machine, its ID is updated in spare area to enter after the unduplicated ID of taking and is waited for by roll-call, and this response is restarted to send roll-call message and response after machine is upgraded to main frame;
6th processing unit, in order to complete at main frame to all after the roll-call of machine ID, if having to be allocated from machine in spare area, then continues to carry out roll-call response in spare area, until complete networking, otherwise directly completes networking.
2. according to claim 1 be applied to Intelligent capacitor without arbitration bus group network system, it is characterized in that, the 7th processing unit is also comprised in described networking module, in order to when main frame does not receive legal response message within the response time limit, repeat the roll-call message sending this ID, until receive after legal response or number of repetition exceed fault-tolerant number of times, then send the roll-call message of next ID.
3. according to claim 1 and 2 be applied to Intelligent capacitor without arbitration bus group network system, it is characterized in that, in described 6th processing unit, comprise in order to carry out in spare area call the roll response following subelement:
First subelement, in order to main control system according to the ascending transmission roll-call message of the initial ID in spare area order, controls to reply from machine the roll-call message consistent with its ID received;
Second subelement, for legal response from machine, this is revised as from the ID of machine and is there is no occupied ID from machine region.
4. according to claim 1 and 2 be applied to Intelligent capacitor without arbitration bus group network system, it is characterized in that, this system also comprises poller module, and described poller module comprises:
Poll response unit, in order to main control system to online from machine successively poll, inquiry slave status and parameter, reply after machine receives polling message, after main frame receives response, if find that there is from machine fault, then record trouble is from the ID of machine;
Main frame detecting unit, in order to immediate from machine as backup host with host id using No. ID, described backup host detecting host polling message, if detecting is less than polling message, then thinks that main frame does not exist, restarts networking after this backup host is upgraded to main frame.
5. according to claim 4 be applied to Intelligent capacitor without arbitration bus group network system, it is characterized in that, this system also comprises new equipment inquiry distribution module, and described new equipment inquiry distribution module comprises:
8th processing unit, when bus having data interaction in order to detect in random delay process after new equipment powers on, its ID is updated to and unduplicatedly in spare area takies ID, main control system is regularly according to the ascending transmission roll-call message of the initial ID in spare area order simultaneously, controls the roll-call message from machine response main frame;
9th processing unit, in order to after main frame receives response, takies ID and is updated to the ID not repeating to take from machine region from the spare area of machine by this response.
CN201510195951.3A 2015-04-23 2015-04-23 Arbitration bus-free networking system applicable to intelligent capacitor Pending CN104954213A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510195951.3A CN104954213A (en) 2015-04-23 2015-04-23 Arbitration bus-free networking system applicable to intelligent capacitor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510195951.3A CN104954213A (en) 2015-04-23 2015-04-23 Arbitration bus-free networking system applicable to intelligent capacitor

Publications (1)

Publication Number Publication Date
CN104954213A true CN104954213A (en) 2015-09-30

Family

ID=54168586

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510195951.3A Pending CN104954213A (en) 2015-04-23 2015-04-23 Arbitration bus-free networking system applicable to intelligent capacitor

Country Status (1)

Country Link
CN (1) CN104954213A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108387257A (en) * 2018-02-01 2018-08-10 深圳市矗能科技有限公司 A kind of method of ageing system slave ID distribution
CN108848199A (en) * 2018-05-28 2018-11-20 浙江嘉宏电力科技有限公司 A kind of peer-to-peer network automatic seeking main system and method
CN109361585A (en) * 2018-12-22 2019-02-19 沈阳阿尔特科技发展有限公司 A kind of method that child node baud rate and address is arranged in host node automatically
CN109450662A (en) * 2018-09-30 2019-03-08 浙江正泰电器股份有限公司 Ad hoc network communication manager and network-building method, ad hoc network communication system
CN109688037A (en) * 2019-01-23 2019-04-26 广东工业大学华立学院 A kind of M-Bus main website circuit

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101404604A (en) * 2008-11-03 2009-04-08 浪潮电子信息产业股份有限公司 485 bus type monitoring system and its high extendibility method
CN101494383A (en) * 2008-01-23 2009-07-29 力博特公司 Control method for parallel connection system of inverter
CN102684923A (en) * 2012-05-24 2012-09-19 江苏华德电力科技有限公司 Self-healing networking method for half-duplex asynchronous communication

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101494383A (en) * 2008-01-23 2009-07-29 力博特公司 Control method for parallel connection system of inverter
CN101404604A (en) * 2008-11-03 2009-04-08 浪潮电子信息产业股份有限公司 485 bus type monitoring system and its high extendibility method
CN102684923A (en) * 2012-05-24 2012-09-19 江苏华德电力科技有限公司 Self-healing networking method for half-duplex asynchronous communication

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108387257A (en) * 2018-02-01 2018-08-10 深圳市矗能科技有限公司 A kind of method of ageing system slave ID distribution
CN108848199A (en) * 2018-05-28 2018-11-20 浙江嘉宏电力科技有限公司 A kind of peer-to-peer network automatic seeking main system and method
CN109450662A (en) * 2018-09-30 2019-03-08 浙江正泰电器股份有限公司 Ad hoc network communication manager and network-building method, ad hoc network communication system
CN109450662B (en) * 2018-09-30 2023-09-15 浙江正泰电器股份有限公司 Ad hoc network communication manager, networking method and ad hoc network communication system
CN109361585A (en) * 2018-12-22 2019-02-19 沈阳阿尔特科技发展有限公司 A kind of method that child node baud rate and address is arranged in host node automatically
CN109688037A (en) * 2019-01-23 2019-04-26 广东工业大学华立学院 A kind of M-Bus main website circuit
CN109688037B (en) * 2019-01-23 2023-09-15 广东工业大学华立学院 M-Bus master station circuit

Similar Documents

Publication Publication Date Title
CN104811339A (en) Intelligent networking method based on arbitration-free bus
CN104954213A (en) Arbitration bus-free networking system applicable to intelligent capacitor
CN111147619B (en) Method and system for realizing automatic address allocation of RS485 slave equipment locally
CN109450662B (en) Ad hoc network communication manager, networking method and ad hoc network communication system
US6587950B1 (en) Cluster power management technique
CN106603696B (en) A kind of high-availability system based on super fusion basic framework
DE102013210265A1 (en) communication system
CN101447894B (en) Identification of physical address of partial node, network configuration and maintaining method, and network system
CN109040184B (en) Host node election method and server
CN103248514A (en) Fault detection and mitigation for in-vehicle LAN network management
CN102684923A (en) Self-healing networking method for half-duplex asynchronous communication
CN106569897B (en) The polling method and device of shared bus based on collaborative multi-task scheduling mechanism
CN102842939A (en) Battery management system and battery management method
CN102236340A (en) Multi-equipment management method and device
CN108848199A (en) A kind of peer-to-peer network automatic seeking main system and method
CN105227696A (en) A kind of server management system MAC Address distribution method
CN106532960B (en) A kind of adaptive SCADA monitoring methods being suitable for field of power distribution
CN111182086A (en) CAN bus address allocation method and device based on one-master multi-slave module
CN106230622A (en) A kind of cluster implementation method and device
CN115022109A (en) Data management method for intelligent edge all-in-one machine and station cloud system
CN203289491U (en) Cluster storage system capable of automatically repairing fault node
CN104883701A (en) Communication method between frame and discs in mobile forward network
CN106506193A (en) UPS network monitorings communication system and method
CN109586978B (en) Bus topology network ad hoc network method
CN201387666Y (en) Traffic control system with master/slave computer collision detection

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150930

RJ01 Rejection of invention patent application after publication