CN102347878A - Multi-point communication system, method and equipment - Google Patents

Multi-point communication system, method and equipment Download PDF

Info

Publication number
CN102347878A
CN102347878A CN2011102979145A CN201110297914A CN102347878A CN 102347878 A CN102347878 A CN 102347878A CN 2011102979145 A CN2011102979145 A CN 2011102979145A CN 201110297914 A CN201110297914 A CN 201110297914A CN 102347878 A CN102347878 A CN 102347878A
Authority
CN
China
Prior art keywords
communication
slave unit
data
communication network
network address
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
CN2011102979145A
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.)
Shenzhen Longhorn Security and Technology Co Ltd
Original Assignee
Shenzhen Longhorn Security and Technology 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 Shenzhen Longhorn Security and Technology Co Ltd filed Critical Shenzhen Longhorn Security and Technology Co Ltd
Priority to CN2011102979145A priority Critical patent/CN102347878A/en
Publication of CN102347878A publication Critical patent/CN102347878A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention is suitable for the technical field of bus communication, and provides a multi-point communication system, method and equipment. In the system, master control communication equipment generates a communication network address distributed to slave communication equipment in advance; after all slave communication equipment are synchronized, a communication network address distribution command is transmitted to the slave communication equipment; after detecting the command, the slave communication equipment transmits physical addresses to the master control communication equipment; the master control communication equipment finds out the minimum physical address from the physical addresses, and distributes the communication network address generated in advance to the slave communication equipment corresponding to the minimum physical address; and then the master control communication equipment and the slave communication equipment can communicate by virtue of the communication network address. According to the invention, the master control communication equipment can dynamically distribute the communication network address to the slave communication equipment, so that the trouble of setting the communication network address is avoided.

Description

A kind of multipoint communication system, method and apparatus
Technical field
The invention belongs to the bus communication technical field, relate in particular to a kind of multipoint communication system, method and apparatus.
Background technology
The employed field bus technique in the world today is a lot, simple physics layer interface bus is arranged, like common buses such as RS485, RS422; Bus based on ISO link layer, application layer control protocol is also arranged, like CAN, Modbus, Profibus, LONWorks, HART, FF etc.
Because it is more flexible that RS485, RS422 bus just based on physical layer, are therefore used, can use along with the actual operating position configuration of equipment vendor.Yet when a plurality of chips sent data, bus data can present uncertain attitude, and can cause chip to damage, and therefore, a plurality of chips cannot use the communication of multiple spot competitive mode.And during multi-point communication, each bus apparatus must adopt the token pattern to send data, can not initiatively initiate transfer of data.Therefore, when bus apparatus quantity increased, the bus data transmission can become slowly, and often under this pattern, bus apparatus quantity is generally at tens.Owing to bus apparatus can not initiatively be sent out data simultaneously, therefore, the communication network address of bus apparatus must on-the-spotly be set, and perhaps uses the mode of hardware toggle switch to set the communication network address like the bus apparatus programmed settings, and is more loaded down with trivial details during use.
Though CAN, Modbus, Profibus, LONWorks, HART, though communication equipment standards such as FF the technological layer agreement, carried out good treatment at aspects such as speed control, bus distances.But the address of bus apparatus still needs on-the-spotly to set through software or hardware in these agreements, could proper communication after does not repeat the address that must guarantee each communication bus facility.
In addition, CAN, Modbus, Profibus, LONWorks, HART, dedicated bus relative complex such as FF must use the dedicated bus control chip to control, and production cost is high.
In sum, the existing field bus communication system that can realize multi-point when Master Communications equipment communicates with the slave unit of communicating by letter, must set the communication network address of communication slave unit at the scene, and is loaded down with trivial details during use.
Summary of the invention
The object of the present invention is to provide a kind of multipoint communication system; Be intended to solve the existing field bus communication system that can realize multi-point; When Master Communications equipment communicates with the slave unit of communicating by letter; Must set the communication network address of communication slave unit at the scene, loaded down with trivial details problem during use.
The present invention is achieved in that a kind of multipoint communication system, and said multipoint communication system comprises Master Communications equipment and a plurality of slave unit, connects through communication bus between said Master Communications equipment and a plurality of communication slave unit, and said Master Communications equipment comprises:
The communication network scalar/vector is used to generate the communication network address of the slave unit of communicating by letter that communicates with Master Communications equipment;
Clock generating circuit is used to generate the clock signal crowd, and through the said clock signal crowd of transmission to the slave unit of communicating by letter, with synchronous all communication slave units;
Mailing address assignment commands transmitting element is used for after all communication slave units are realized synchronously, sending the order of communication network address assignment to communication bus;
Testing circuit is used to detect a plurality of the physical addresss whether transmission of communication slave unit is arranged on the communication bus, if having, then said a plurality of physical addresss is compared, and finds out minimum physical address;
Communication network address transmitting element sends communication network address to the communication slave unit corresponding with the physical address of said minimum that said communication network scalar/vector generates;
Data-signal generation circuit is used to generate data-signal, and sends said data-signal to the corresponding slave unit of communicating by letter in communication network address that sends with said communication network address transmitting element;
Said communication slave unit comprises:
Testing circuit is used to detect the data of transmitting on the communication bus, judges whether said data are the orders of communication network address assignment;
The physical address transmitting element, being used for when said testing circuit detects the data of transmitting on the communication bus is communication network address assignment whens order, sends physical address to communication bus;
Communication network address receiving element is used to receive the communication network address that Master Communications equipment sends;
Data-signal generation circuit; Be used to generate data-signal; And said data-signal to Master Communications equipment is sent in the communication network address that utilizes said communication network address receiving element to receive; Wherein, When a plurality of communication slave units simultaneously during transmission of data signals to Master Communications equipment, the data-signal that priority is high preferentially sends to Master Communications equipment.
Another object of the present invention is to provide a kind of Master Communications equipment, connect through communication bus between said Master Communications equipment and the communication slave unit, said Master Communications equipment comprises:
The communication network scalar/vector is used to generate the communication network address of the slave unit of communicating by letter that communicates with Master Communications equipment;
Clock generating circuit is used to generate the clock signal crowd, and through the said clock signal crowd of transmission to the slave unit of communicating by letter, with synchronous all communication slave units;
Mailing address assignment commands transmitting element is used for after all communication slave units are realized synchronously, sending the order of communication network address assignment to communication bus;
Testing circuit is used to detect a plurality of the physical addresss whether transmission of communication slave unit is arranged on the communication bus, if having, then said a plurality of physical addresss is compared, and finds out minimum physical address;
Communication network address transmitting element sends communication network address to the communication slave unit corresponding with the physical address of said minimum that said communication network scalar/vector generates;
Data-signal generation circuit is used to generate data-signal, and sends said data-signal to the corresponding slave unit of communicating by letter in communication network address that sends with said communication network address transmitting element.
Another object of the present invention is to the method that provides a kind of Master Communications equipment and the slave unit of communicating by letter to communicate, said communication slave unit is at least one, connects through communication bus between said Master Communications equipment and the communication slave unit, and said method comprises:
Generate the communication network address that communicates with the slave unit of communicating by letter;
Generate the clock signal crowd, and through the said clock signal crowd of transmission to the slave unit of communicating by letter, with all communication slave units synchronously;
After all communication slave units are realized synchronously, send the order of communication network address assignment to communication bus;
Detect a plurality of the physical addresss whether transmission of communication slave unit is arranged on the communication bus,, then said a plurality of physical addresss are compared, find out minimum physical address if having;
Send in the communication network address that said communication network scalar/vector generates one to the communication slave unit corresponding with the physical address of said minimum;
Generate data-signal, and send said data-signal to the corresponding slave unit of communicating by letter in communication network address that sends with said communication network address transmitting element.
The method that another object of the present invention is to provide a kind of communicate by letter slave unit and Master Communications equipment to communicate connects through communication bus between said Master Communications equipment and the communication slave unit, and said method comprises:
Detect the data of transmitting on the communication bus, judge whether said data are the orders of communication network address assignment;
When the data of on detecting communication bus, transmitting are the order of communication network address assignment, send physical address to communication bus;
Receive the communication network address that Master Communications equipment sends;
Generate data-signal, and utilize said communication network address to send said data-signal to Master Communications equipment.
Another object of the present invention is to provide a kind of communication slave unit, connect through communication bus between said communication slave unit and the communication main control device, said communication slave unit comprises:
Testing circuit is used to detect the data of transmitting on the communication bus, judges whether said data are the orders of communication network address assignment;
The physical address transmitting element, being used for when said testing circuit detects the data of transmitting on the communication bus is communication network address assignment whens order, sends physical address to communication bus;
Communication network address receiving element is used to receive the communication network address that Master Communications equipment sends;
Data-signal generation circuit is used to generate data-signal, and said data-signal to Master Communications equipment is sent in the communication network address that utilizes said communication network address receiving element to receive.
In the present invention; Master Communications equipment in the multipoint communication system generates in advance distributes to the communication network address of communication from equipment; After all communications realize synchronously from equipment; Send communication network address assignment order to communication from equipment; After communication is ordered to this from Equipment Inspection; Send physical address to Master Communications equipment; Master Communications equipment finds the minimal physical address from those physical address; The communication network address assignment that will generate in advance then gives this pairing communication in minimal physical address from equipment; Follow-up, Master Communications equipment and communication are from communicating by this communication network address between the equipment.Master Communications equipment can be given the communication slave unit in dynamic assignment communication network address, has removed the trouble of setting the communication network address from.
Description of drawings
Fig. 1 is the structured flowchart of the multipoint communication system that provides of the embodiment of the invention.
Fig. 2 is the realization flow figure of the method that communicates of the embodiment of the invention Master Communications equipment that provides and the slave unit of communicating by letter.
Fig. 3 is the realization flow figure of the method that communicates of the communication slave unit that provides of the embodiment of the invention and Master Communications equipment.
Embodiment
In order to make the object of the invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with accompanying drawing and embodiment.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
In embodiments of the present invention; Master Communications equipment in the multipoint communication system generates in advance distributes to the communication network address of communication from equipment; After all communications realize synchronously from equipment; Send communication network address assignment order to communication from equipment; After communication is ordered to this from Equipment Inspection; Send physical address to Master Communications equipment; Master Communications equipment finds the minimal physical address from those physical address; The communication network address assignment that will generate in advance then gives this pairing communication in minimal physical address from equipment; Follow-up, Master Communications equipment and communication are from communicating by this communication network address between the equipment.Can reduce the workload of carrying out address setting, can also save soft, the hardware that carries out address setting and reduce the communication slave unit and go out the problem that current address repeats to cause debug difficulties.
Fig. 1 is the structured flowchart of the multipoint communication system that provides of the embodiment of the invention, for the ease of explanation, only shows the relevant part of the embodiment of the invention.In the present embodiment, this multipoint communication system comprises: the Master Communications equipment 1 and the slave unit 2 of communicating by letter, and the slave unit 2 of wherein communicating by letter can comprise a plurality of communication slave units, present embodiment is that example describes with a communication slave unit.
Connect through communication bus between Master Communications equipment 1 and the communication slave unit 2, both can transmit clock signal on the said communication bus, also can transmission of data signals.Wherein, Clock signal can transfer to communication slave unit 2 through a lead separately, also can be superimposed with data-signal through the signal stack, uses same lead with data signal line; Can reduce the lead use amount like this, communication slave unit 2 can be distinguished clock signal and data-signal.
Concrete, Master Communications equipment 1 comprises communication network scalar/vector 11, clock generating circuit 12, mailing address assignment commands transmitting element 13, testing circuit 14, communication network address transmitting element 15 and data-signal generation circuit 16.
Communication network scalar/vector 11 is used to generate the communication network address of the slave unit of communicating by letter that communicates with Master Communications equipment 1.In embodiments of the present invention, because the physical address of communication slave unit 2 do not repeat for dispatching from the factory, and the user need not change, convenient use.But accomplishing dispatches from the factory does not repeat, and need confirm the physical length of physical address according to the operating position of communication slave unit.Because the address bit of physical address is oversize; Be not easy to the succinct of data; Also be not easy to the online situation of Master Communications equipment 1 monitoring communications slave unit 2; Therefore; When Master Communications equipment 1 was communicated by letter with the slave unit 2 of communicating by letter, the physical address that uses a dynamic communication network address to replace the slave unit 2 of communicating by letter communicated.
Clock generating circuit 12 is used to generate the clock signal crowd, and through the said clock signal crowd of transmission to the slave unit 2 of communicating by letter, with synchronous all communication slave units 2.Master Communications equipment 1 is by sending clock signal crowd that said clock generating circuit 12 generates the blanking time of predetermined fixed to the slave unit 2 of communicating by letter, and this clock signal crowd is used for all communication slave units 2 synchronously.Communication slave unit 2 can detect this clock ensemble, and fracture just can realize detecting the function of clock ensemble among the I/O of use communication slave unit 2, need not special chip.
After all communication slave units are realized synchronously; Mailing address assignment commands transmitting element 13 sends the order of communication network address assignment to communication bus; This communication network assignment commands comprises automatic log-in command and log-on data type; As; Data type is 0 o'clock; Register initialization (all communication slave units 2 reinitialize) is carried out in expression, and data type is 1 o'clock, is expressed as the communication slave unit registering communication network address.
Through mailing address assignment commands transmitting element 13 after communication bus sends the order of communication network address assignment; Testing circuit 14 detects a plurality of physical addresss whether 2 transmission of communication slave unit are arranged on the communication bus; If have; Then said a plurality of physical addresss are compared, find out minimum physical address.In embodiments of the present invention, testing circuit not only can detect any data of transmitting on the communication bus, such as, the physical address of communication slave unit transmission, the packet that communication is sent from data.Such as, after Master Communications equipment 1 sent synchronous head and orders, testing circuit 14 detected the data that whether have communication slave unit 2 to send on the communication buss, if all communication slave units 2 all do not send data, then this communication is accomplished immediately.After waiting for the time of appointment, Master Communications equipment 1 resends synchronous head and orders to the slave unit 2 of communicating by letter, and repeats to send, until receiving the data that communication slave unit 2 sends.Certainly, can set the idle waiting time of clock frequency and Master Communications equipment 1 according to the characteristic of target application occasion and telecommunication circuit.If communication slave unit 2 has the transmission data; Then send the data type of ordering according to Master Communications equipment 1; Communication slave unit 2 sends physical address, Master Communications equipment 1 sends flow processs such as application data, verification, affirmation makes communication slave unit 2 communicate with Master Communications equipment 1; When a plurality of communication slave units 2 send data simultaneously, can compete in data type, 2 zones of physical address.
Send communication network address to the communication slave unit 2 corresponding that said communication network scalar/vector 11 generates through communication network address transmitting element 15 with the physical address of said minimum.In embodiments of the present invention, the physical address that communication slave unit 2 sends can be participated in the communication bus competition, and the rule of competition is the right that the minimum communication slave unit 2 of physical address has the communication network address of preferential acquisition Master Communications equipment 1 transmission.
Behind the communication network address that communication slave unit 2 is confirmed well and Master Communications equipment 1 communicates; Data-signal generation circuit 16 will generate data-signal and be sent to the corresponding slave unit 2 of communicating by letter in communication network address that sends with said communication network address transmitting element, and can communicate through said communication network address between the slave unit 2.
As a preferred embodiment of the present invention; In order to reduce the lead use amount; Master Communications equipment 1 also comprises superimposed signal circuit; The clock signal crowd that this superimposed signal circuit generates said clock generating circuit 12 is added in the data-signal that said data-signal generation circuit 16 generates, and transfers to communication slave unit 2 with the data wire of said data-signal through communication bus.
In addition, as an alternative embodiment of the invention, for the state of a plurality of communication slave units 2 of disposable detection, said Master Communications equipment 1 also comprises: online sense command transmitting element, online detection address transmitting element and reply receiving element.
Wherein, online sense command transmitting element is used for sending online sense command to communication bus;
Whether online online detection address transmitting element be used for sending to communication bus the physical address of needs detection communication slave unit 2;
Reply receiving element and receive the state response message that the communication slave unit corresponding with said physical address 2 sends, judge according to said state response message whether communication slave unit 2 is online through communication bus.
Concrete communication slave unit presence testing process is: Master Communications equipment 1 sends online sense command; Redispatch and comprise the address of the current communication slave unit 2 that needs detect; When each slave unit 2 of communicating by letter is consistent in the address that equipment of itself address and the Master Communications equipment 1 that detects sends; Transmit status response message to Master Communications equipment 1, Master Communications equipment 1 can judge whether communication slave unit 2 is online according to this state response message.Wherein, Master Communications equipment sends to the physical address of communication bus and can set according to actual needs, and the number of physical address has determined the number of a performance batch detection communication of Master Communications equipment slave unit.The present invention can a plurality of communication slave units of disposable detection state, be example with 16 communication slave units of each detection, redundant data can reduce 90%.
Concrete, communication slave unit 2 comprises testing circuit 21, physical address transmitting element 22, communication network address receiving element 23 and data-signal generation circuit 24.
Testing circuit 21 is used to detect the data of transmitting on the communication bus, judges whether said data are the orders of communication network address assignment.
It is communication network address assignment whens order that physical address transmitting element 22 is used for when said testing circuit 21 detects the data of transmitting on the communication bus, sends the physical address of communication slave unit 2 to communication bus.
Communication network address receiving element 23 is used to receive the communication network address that Master Communications equipment 1 sends.
Data-signal generation circuit 24 is used to generate data-signal, and said data-signal to Master Communications equipment 1 is sent in the communication network address that utilizes said communication network address receiving element to receive.
In addition; Testing circuit 21 can also be used for when sending data-signal to communication bus through said data-signal generation circuit 24; Detect data that said data-signal generation circuit 21 sends whether with communication bus on data consistent; If it is consistent; The Master Communications equipment 1 that sends data to that then can success, if inconsistent, then expression communication slave unit competition failure; Need continue to participate in the competition in next synchronizing cycle, successfully be sent to Master Communications equipment 1 until data.For example, communication slave unit a sends 0 to communication bus, and communication slave unit b sends 0 to communication bus, and the data on the communication bus are 0, the slave unit a that then communicates by letter, the equal competition success of b; Communication slave unit a sends 1 to communication bus, and communication slave unit b sends 1 to communication bus, and the data on the communication bus are 1, equipment a then, the equal competition success of b; Communication slave unit a sends 1 to communication bus, and communication slave unit b sends 0 to communication bus, and the data on the communication bus are 0, and the slave unit a that then communicates by letter competes failure, communication slave unit b competition success; Communication slave unit a sends 0 to communication bus, and communication slave unit b sends 1 to communication bus, and the data on the communication bus are 0, the slave unit a competition success of then communicating by letter, communication slave unit b competition failure.
In addition; Testing circuit 21 also can detect the data type of the data-signal that sent of communication slave unit 2, and the data type of the data-signal that each communication is sent maybe be different, in a communication; The data-signal competition success that data type priority is high is sent earlier; The data type competition failure that priority is low, send the back.In the instance of the present invention, data type has equipment alarm, equipment fault, personnel's normal operations, device programming operation etc.As, equipment alarm data type be 01, the equipment fault data type is 02, personnel's normal operations data type is 03, the device programming operation data type is 04.Through the competition of data bit, data type is that 01 data type priority will be higher than other data types, will preferentially send.In addition, the physical address of communication slave unit can not be just the same, and in a communication, the communication slave unit competition success that physical address is minimum is sent data-signal to Master Communications equipment 1 earlier; The communication slave unit competition failure that physical device address is big, data-signal to Master Communications equipment 1 is sent in the back.
Fig. 2 is the realization flow figure of the method that communicates of the embodiment of the invention Master Communications equipment that provides and the slave unit of communicating by letter, and wherein, connects through communication bus between Master Communications equipment and the communication slave unit, and details are as follows:
In step S201, generate the communication network address that communicates with the slave unit of communicating by letter in advance.
In embodiments of the present invention, the communication network scalar/vector through Master Communications equipment generates the communication network address that communicates with the slave unit of communicating by letter.
In step S202, generate the clock signal crowd, and through the said clock signal crowd of transmission to the slave unit of communicating by letter, with all communication slave units synchronously.
In embodiments of the present invention, generate the clock signal crowd through clock signal generating circuit, and through the said clock signal crowd of transmission to the slave unit of communicating by letter, with all communication slave units synchronously.
In step S203, after all communication slave units are realized synchronously, send the order of communication network address assignment to communication bus.
In embodiments of the present invention; After all communication slave units are realized synchronously; Master Communications equipment sends the order of communication network address assignment to communication bus; This communication network assignment commands comprises automatic log-in command and log-on data type; As, data type is 0 o'clock, register initialization (all communication slave units 2 reinitialize) is carried out in expression; Data type is 1 o'clock, is expressed as the communication slave unit registering communication network address.
In step S204, detect a plurality of the physical addresss whether transmission of communication slave unit is arranged on the communication bus, if having, then said a plurality of physical addresss are compared, find out minimum physical address.
In embodiments of the present invention; Master Communications equipment detects a plurality of the physical addresss whether transmission of communication slave unit is arranged on the communication bus, if having after communication bus sends the order of communication network address assignment; Then said a plurality of physical addresss are compared, find out minimum physical address.
In step S205, one in the communication network address that transmission generates in advance to the communication slave unit corresponding with the physical address of said minimum.
In embodiments of the present invention, Master Communications equipment is found out minimum physical address from the physical address that the communication slave unit sends, from the communication network address that generates in advance, select one then and send to the communication slave unit corresponding with this minimal physical address.
In step S206, generate data-signal, and send said data-signal to the corresponding slave unit of communicating by letter in communication network address that sends with said communication network address transmitting element.
In embodiments of the present invention, behind the data-signal generation circuit generation data-signal through Master Communications equipment, can communicate by letter with the corresponding communication slave unit, send said data-signal to said communication slave unit according to the communication network address that step S205 sends.
In addition; As a preferred embodiment of the present invention; Master Communications equipment with communicate by letter slave unit except carrying out the exchanges data according to the communication network address of dynamic assignment, can also send online test command to the communication slave unit according to this communication network, with the state information of test communications slave unit.So after step S205, said method also comprises:
Step 1, send online sense command to communication bus;
Step 2, need to detect the physical address of whether online communication slave unit to the communication bus transmission;
Step 3, receive the state response message that the communication slave unit corresponding with said physical address sends through communication bus, whether online according to the said state response message judgement slave unit of communicating by letter.
Wherein, Master Communications equipment sends to the physical address of communication bus and can set according to actual needs, and the number of physical address has determined the number of a performance batch detection communication of Master Communications equipment slave unit.The present invention can a plurality of communication slave units of disposable detection state, be example with 16 communication slave units of each detection, redundant data can reduce 90%.
Concrete condition is please with reference to the description in the multipoint communication system shown in Figure 1.
Fig. 3 is the realization flow figure of the method that communicates of the communication slave unit that provides of the embodiment of the invention and Master Communications equipment, wherein, connects through communication bus between communication slave unit and the Master Communications equipment, and details are as follows:
In step S301, detect the data of transmitting on the communication bus, judge whether said data are the orders of communication network address assignment.
In embodiments of the present invention, the communication slave unit detects the data of transmitting on the communication bus, judges whether said data are the orders of communication network address assignment.
In step S302, when the data of on detecting communication bus, transmitting are the order of communication network address assignment, send physical address to communication bus.
In step S303, receive the communication network address that Master Communications equipment sends;
In step S304, generate data-signal, and utilize said communication network address to send said data-signal to Master Communications equipment.
Concrete condition is please with reference to the description in the multipoint communication system shown in Figure 1.
In embodiments of the present invention; Master Communications equipment in the multipoint communication system generates in advance distributes to the communication network address of communication from equipment; After all communications realize synchronously from equipment; Send communication network address assignment order to communication from equipment; After communication is ordered to this from Equipment Inspection; Send physical address to Master Communications equipment; Master Communications equipment finds the minimal physical address from those physical address; The communication network address assignment that will generate in advance then gives this pairing communication in minimal physical address from equipment; Follow-up, Master Communications equipment and communication are from communicating by this communication network address between the equipment.Can reduce the workload of carrying out address setting, can also save soft, the hardware that carries out address setting and reduce the communication slave unit and go out the problem that current address repeats to cause debug difficulties.
In addition, the present invention can also realize non-destruction bus contention, realizes active transmission.RS485, RS422 bus can be used along with the actual operating position configuration of equipment vendor because just based on physical layer, therefore use is more flexible.Because when a plurality of chips sent data, bus data presented uncertain attitude, and can cause chip to damage, therefore, they cannot use the communication of multiple spot competitive mode.During multi-point communication, each bus apparatus must adopt the token pattern to send data, can not initiatively initiate transfer of data.Therefore, when number of devices increased, the bus data transmission can become slowly, and often under this pattern, bus apparatus quantity is generally at tens.Because bus slave can not active be sent out data simultaneously, therefore, the communication network address of slave unit must on-the-spotly be set, and sets perhaps like device programming and uses the mode of hardware toggle switch to carry out, and is more loaded down with trivial details during use.
In addition, but also whether batch detection equipment online in the present invention.Moreover the present invention can adopt clock generating circuit to generate synchronizing signal, and this synchronous mode is low to hardware requirement, and function realizes that cost is low.Compare CAN, Modbus, Profibus, LONWorks, HART, dedicated bus relative complex such as FF must use the dedicated bus control chip to come communication the controlling synchronously of slave unit, and cost is high.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of within spirit of the present invention and principle, being done, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. multipoint communication system, said multipoint communication system comprises Master Communications equipment and a plurality of slave unit, connects through communication bus between said Master Communications equipment and a plurality of communication slave unit, it is characterized in that said Master Communications equipment comprises:
The communication network scalar/vector is used to generate the communication network address of the slave unit of communicating by letter that communicates with Master Communications equipment;
Clock generating circuit is used to generate the clock signal crowd, and through the said clock signal crowd of transmission to the slave unit of communicating by letter, with synchronous all communication slave units;
Mailing address assignment commands transmitting element is used for after all communication slave units are realized synchronously, sending the order of communication network address assignment to communication bus;
Testing circuit is used to detect a plurality of the physical addresss whether transmission of communication slave unit is arranged on the communication bus, if having, then said a plurality of physical addresss is compared, and finds out minimum physical address;
Communication network address transmitting element sends communication network address to the communication slave unit corresponding with the physical address of said minimum that said communication network scalar/vector generates;
Data-signal generation circuit is used to generate data-signal, and sends said data-signal to the corresponding slave unit of communicating by letter in communication network address that sends with said communication network address transmitting element;
Said communication slave unit comprises:
Testing circuit is used to detect the data of transmitting on the communication bus, judges whether said data are the orders of communication network address assignment;
The physical address transmitting element, being used for when said testing circuit detects the data of transmitting on the communication bus is communication network address assignment whens order, sends physical address to communication bus;
Communication network address receiving element is used to receive the communication network address that Master Communications equipment sends;
Data-signal generation circuit; Be used to generate data-signal; And said data-signal to Master Communications equipment is sent in the communication network address that utilizes said communication network address receiving element to receive; Wherein, When a plurality of communication slave units simultaneously during transmission of data signals to Master Communications equipment, the data-signal that priority is high preferentially sends to Master Communications equipment.
2. multipoint communication system as claimed in claim 1 is characterized in that, said Master Communications equipment also comprises:
Online sense command transmitting element is used for sending online sense command to communication bus;
Whether online online detection address transmitting element be used for sending to communication bus the physical address of needs detection communication slave unit;
Reply receiving element, receive the state response message that the communication slave unit corresponding with said physical address sends, judge according to said state response message whether the communication slave unit is online through communication bus.
3. multipoint communication system as claimed in claim 1 is characterized in that, said Master Communications equipment also comprises:
Superimposed signal circuit is used for the data-signal that said data-signal generation circuit generates that is added to the clock signal crowd that said clock generating circuit generates, and transfers to the communication slave unit with the data wire of said data-signal through communication bus.
4. a Master Communications equipment connects through communication bus between said Master Communications equipment and the communication slave unit, it is characterized in that said Master Communications equipment comprises:
The communication network scalar/vector is used to generate the communication network address of the slave unit of communicating by letter that communicates with Master Communications equipment;
Clock generating circuit is used to generate the clock signal crowd, and through the said clock signal crowd of transmission to the slave unit of communicating by letter, with synchronous all communication slave units;
Mailing address assignment commands transmitting element is used for after all communication slave units are realized synchronously, sending the order of communication network address assignment to communication bus;
Testing circuit is used to detect a plurality of the physical addresss whether transmission of communication slave unit is arranged on the communication bus, if having, then said a plurality of physical addresss is compared, and finds out minimum physical address;
Communication network address transmitting element sends communication network address to the communication slave unit corresponding with the physical address of said minimum that said communication network scalar/vector generates;
Data-signal generation circuit is used to generate data-signal, and sends said data-signal to the corresponding slave unit of communicating by letter in communication network address that sends with said communication network address transmitting element.
5. Master Communications equipment as claimed in claim 4 is characterized in that, said Master Communications equipment also comprises: online sense command transmitting element is used for sending online sense command to communication bus;
Whether online online detection address transmitting element be used for sending to communication bus the physical address of needs detection communication slave unit;
Reply receiving element, receive the state response message that the communication slave unit corresponding with said physical address sends, judge according to said state response message whether the communication slave unit is online through communication bus.
6. Master Communications equipment as claimed in claim 4 is characterized in that, said Master Communications equipment also comprises:
Superimposed signal circuit is used for the data-signal that said data-signal generation circuit generates that is added to the clock signal crowd that said clock generating circuit generates, and transfers to the communication slave unit with the data wire of said data-signal through communication bus.
7. the method that communicates of a Master Communications equipment and the slave unit of communicating by letter, said communication slave unit is at least one, connects through communication bus between said Master Communications equipment and the communication slave unit, it is characterized in that said method comprises:
Generate the communication network address that communicates with the slave unit of communicating by letter;
Generate the clock signal crowd, and through the said clock signal crowd of transmission to the slave unit of communicating by letter, with all communication slave units synchronously;
After all communication slave units are realized synchronously, send the order of communication network address assignment to communication bus;
Detect a plurality of the physical addresss whether transmission of communication slave unit is arranged on the communication bus,, then said a plurality of physical addresss are compared, find out minimum physical address if having;
Send in the communication network address that said communication network scalar/vector generates one to the communication slave unit corresponding with the physical address of said minimum;
Generate data-signal, and send said data-signal to the corresponding slave unit of communicating by letter in communication network address that sends with said communication network address transmitting element.
8. the method that Master Communications equipment as claimed in claim 7 and the slave unit of communicating by letter communicate; It is characterized in that; After the step of extremely corresponding with the physical address of a said minimum communication slave unit in the communication network address that the said communication network scalar/vector of said transmission generates, said method also comprises:
Send online sense command to communication bus;
Need to detect the physical address of whether online communication slave unit to the communication bus transmission;
Receive the state response message that the communication slave unit corresponding with said physical address sends through communication bus, judge according to said state response message whether the communication slave unit is online.
9. the method that communicate by letter slave unit and Master Communications equipment communicate connects through communication bus between said Master Communications equipment and the communication slave unit, it is characterized in that said method comprises:
Detect the data of transmitting on the communication bus, judge whether said data are the orders of communication network address assignment;
When the data of on detecting communication bus, transmitting are the order of communication network address assignment, send physical address to communication bus;
Receive the communication network address that Master Communications equipment sends;
Generate data-signal, and utilize said communication network address to send said data-signal to Master Communications equipment, wherein, the data-signal that priority is high preferentially sends to Master Communications equipment.
10. a communication slave unit connects through communication bus between said communication slave unit and the communication main control device, it is characterized in that said communication slave unit comprises:
Testing circuit is used to detect the data of transmitting on the communication bus, judges whether said data are the orders of communication network address assignment;
The physical address transmitting element, being used for when said testing circuit detects the data of transmitting on the communication bus is communication network address assignment whens order, sends physical address to communication bus;
Communication network address receiving element is used to receive the communication network address that Master Communications equipment sends;
Data-signal generation circuit is used to generate data-signal, and said data-signal to Master Communications equipment is sent in the communication network address that utilizes said communication network address receiving element to receive.
CN2011102979145A 2011-09-30 2011-09-30 Multi-point communication system, method and equipment Pending CN102347878A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011102979145A CN102347878A (en) 2011-09-30 2011-09-30 Multi-point communication system, method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011102979145A CN102347878A (en) 2011-09-30 2011-09-30 Multi-point communication system, method and equipment

Publications (1)

Publication Number Publication Date
CN102347878A true CN102347878A (en) 2012-02-08

Family

ID=45546183

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011102979145A Pending CN102347878A (en) 2011-09-30 2011-09-30 Multi-point communication system, method and equipment

Country Status (1)

Country Link
CN (1) CN102347878A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105847456A (en) * 2015-01-13 2016-08-10 浙江大华技术股份有限公司 RS485 automatic address distribution method, device and system
WO2017084044A1 (en) * 2015-11-18 2017-05-26 深圳市大疆创新科技有限公司 Bus addressing method and apparatus, and information prompting method and apparatus
CN106789188A (en) * 2016-12-05 2017-05-31 河南西岛仪表研发有限公司 A kind of method of the apparatus self-adaptation addressing of bus type topological structure
CN108491337A (en) * 2018-04-03 2018-09-04 张青 A method of realizing group control
CN117539806A (en) * 2024-01-09 2024-02-09 合芯科技(苏州)有限公司 Multi-point communication system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1209878A2 (en) * 2000-11-28 2002-05-29 Eaton Corporation Motor vehicle communication protocol with automatic device address assignment
CN1758658A (en) * 2004-10-07 2006-04-12 三星电子株式会社 The network system and the method for distributing the address
CN102036439A (en) * 2010-09-21 2011-04-27 浙江大学 Automatic equipment identification and maintenance supported DMX512 (Digital Multiplex 512) landscape lighting control system and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1209878A2 (en) * 2000-11-28 2002-05-29 Eaton Corporation Motor vehicle communication protocol with automatic device address assignment
CN1758658A (en) * 2004-10-07 2006-04-12 三星电子株式会社 The network system and the method for distributing the address
CN102036439A (en) * 2010-09-21 2011-04-27 浙江大学 Automatic equipment identification and maintenance supported DMX512 (Digital Multiplex 512) landscape lighting control system and method

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105847456A (en) * 2015-01-13 2016-08-10 浙江大华技术股份有限公司 RS485 automatic address distribution method, device and system
CN105847456B (en) * 2015-01-13 2019-07-16 浙江大华技术股份有限公司 A kind of RS485 distributes address methods, devices and systems automatically
WO2017084044A1 (en) * 2015-11-18 2017-05-26 深圳市大疆创新科技有限公司 Bus addressing method and apparatus, and information prompting method and apparatus
CN107211050A (en) * 2015-11-18 2017-09-26 深圳市大疆创新科技有限公司 A kind of bus addressing method, device and a kind of information cuing method, device
US10673808B2 (en) 2015-11-18 2020-06-02 SZ DJI Technology Co., Ltd. Method and device for bus addressing, and method and device for providing information
US11038837B2 (en) 2015-11-18 2021-06-15 SZ DJI Technology Co., Ltd. Method and device for bus addressing, and method and device for providing information
CN106789188A (en) * 2016-12-05 2017-05-31 河南西岛仪表研发有限公司 A kind of method of the apparatus self-adaptation addressing of bus type topological structure
CN106789188B (en) * 2016-12-05 2019-09-03 河南西岛仪表研发有限公司 A kind of method of the apparatus self-adaptation addressing of bus type topological structure
CN108491337A (en) * 2018-04-03 2018-09-04 张青 A method of realizing group control
CN117539806A (en) * 2024-01-09 2024-02-09 合芯科技(苏州)有限公司 Multi-point communication system
CN117539806B (en) * 2024-01-09 2024-04-12 合芯科技(苏州)有限公司 Multi-point communication system

Similar Documents

Publication Publication Date Title
US6700877B1 (en) Method and bus system for automatic address allocation
CN106647613B (en) PLC (programmable logic controller) dual-machine redundancy method and system based on MAC (media access control)
CN104317765B (en) A kind of one-to-many communication system and implementation method based on serial communication
US8671310B2 (en) Method and system for redundantly controlling a slave device
JP4542733B2 (en) Method for performing configuration of station connected to fieldbus and station
US20060282506A1 (en) Communication master station startup period control method
US10868754B2 (en) High availability input/output management nodes
CN101477506A (en) Addressing system and method of master equipment to slave equipment
CN102347878A (en) Multi-point communication system, method and equipment
CN107508930A (en) ID distribution methods and system
US11323323B2 (en) Communication system, communication apparatus, and communication method
CN101167341A (en) Address assignment for safe users of a field bus
US10581633B2 (en) Automation device for the redundant control of a bus subscriber
CN104866399B (en) UM-BUS bus run Failure Detection Controller and detection method
CN103186440B (en) Detect subcard method, apparatus and system in place
JP2008099482A (en) Battery pack block, battery pack system, and address setting method for battery pack system
KR101179431B1 (en) Network Management System based on a EhterCAT And Managing Method thereof
WO2019196477A1 (en) Air-conditioning system and communication method for air-conditioning units
JPH09181737A (en) Communication method for small scale network
CN105357664A (en) Wireless control system and data communication method thereof
CN110995889A (en) Address allocation system and method
CN105022333A (en) PLC system having a plurality of CPU modules and control method thereof
US20160357194A1 (en) Method of controlling inverters
CN103370906B (en) Communication system
CN107968718A (en) A kind of method, apparatus and equipment for confirming standby usage state

Legal Events

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

Application publication date: 20120208