CN111614535A - Two-bus fire-fighting system communication method, system and device - Google Patents

Two-bus fire-fighting system communication method, system and device Download PDF

Info

Publication number
CN111614535A
CN111614535A CN202010455149.4A CN202010455149A CN111614535A CN 111614535 A CN111614535 A CN 111614535A CN 202010455149 A CN202010455149 A CN 202010455149A CN 111614535 A CN111614535 A CN 111614535A
Authority
CN
China
Prior art keywords
monitoring unit
sending
circuit
information
priority
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
CN202010455149.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.)
Qingdao University
Original Assignee
Qingdao University
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 Qingdao University filed Critical Qingdao University
Priority to CN202010455149.4A priority Critical patent/CN111614535A/en
Publication of CN111614535A publication Critical patent/CN111614535A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40143Bus networks involving priority mechanisms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node
    • H04L12/40045Details regarding the feeding of energy to the node from the bus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40143Bus networks involving priority mechanisms
    • H04L12/40163Bus networks involving priority mechanisms by assigning priority to messages according to a message field

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Alarm Systems (AREA)

Abstract

The application discloses two bus fire extinguishing system communication method, system and device, include: sending a polling command frame to each monitoring unit; sending receiving information to each monitoring unit at each preset time interval; receiving response information sent by each target monitoring unit according to the received information; receiving self priority information sent by each reporting monitoring unit; sending confirmation information to a high-priority monitoring unit with high priority according to the self priority information of each reported monitoring unit; receiving self-priority information sent by a highest-priority monitoring unit; sending the uploading information to the highest priority monitoring unit; receiving event information sent by a highest priority monitoring unit; according to the method and the device, the self priority information of the monitoring units is received, and the events reported by the monitoring units are received in sequence according to the priorities, so that the events of the monitoring units with high priorities can be processed in time, the events cannot be reported in an inspection list, and the event reporting efficiency is improved.

Description

Two-bus fire-fighting system communication method, system and device
Technical Field
The invention relates to the field of fire fighting, in particular to a communication method, a communication system and a communication device of a two-bus fire fighting system.
Background
A fire alarm system generally adopts two buses to realize communication among devices. The two buses are a two-wire communication mode for simultaneously carrying out electric energy transmission and data transmission.
The two-bus fire-fighting alarm system consists of a controller and a plurality of field monitoring units connected with the controller. The system adopts a master-slave mode and one-to-many communication method. The controller serves as master station equipment, and the monitoring unit serves as slave station equipment.
The two-bus fire fighting system is a broadcast type bus system so that any monitoring unit on the same bus can listen to the data transmitted by the controller. That is, the transmissions on the bus are not point-to-point, but rather point-to-multipoint.
In a fire alarm system, the main operations of the controller include: firstly, sending a polling command and inquiring the online state of a field monitoring unit; secondly, sending an event reporting command to acquire an alarm event of the field monitoring unit; thirdly, sending a data processing or control command and transmitting a data or control signal to the monitoring unit; and fourthly, uploading the alarm information to an alarm center or a 119 command center.
In the conventional fire alarm system, a controller inquires the online state of a monitoring unit by sending a polling command, and acquires an alarm event of the monitoring unit by an event reporting command; the two commands are sent alternately.
The event report of the existing fire alarm system is that the controller acquires alarm information of different monitoring units in a mode of alternate query, namely, the controller can only acquire the alarm event of a specified monitoring unit in the current command when sending an event report command. The polling communication method has the problems that the query time is longer and the event reporting is slower along with the increase of the number of the monitoring units. The main idea of the communication method for reporting the event is to report the event at fixed time by adopting a fixed time slot. The method can improve the event reporting speed under the condition of less event types. However, as the types of events increase, the time slot becomes longer, which also causes a problem that the polling period becomes longer.
Therefore, a two-bus fire-fighting communication method capable of ensuring timely reporting of important events is needed.
Disclosure of Invention
In view of the above, the present invention provides a communication method, system and device for a two-bus fire protection system, so as to improve the efficiency of event reporting. The specific scheme is as follows:
a two-bus fire fighting system communication method comprises the following steps:
sending a polling command frame to each monitoring unit;
after the polling command frame is sent, sending receiving information to each monitoring unit at preset time intervals;
receiving response information sent by each target monitoring unit according to corresponding received information; the target monitoring unit is a monitored monitoring unit corresponding to the polling address in the polling command frame;
receiving self priority information sent by each reporting monitoring unit; the reporting monitoring unit is a monitoring unit with an event needing to be reported;
sending corresponding confirmation information to a high-priority monitoring unit with high priority according to the self priority information of each reported monitoring unit;
until receiving self priority information sent by the highest priority monitoring unit;
sending upload information to the highest priority monitoring unit;
and receiving the event information sent by the highest priority monitoring unit.
Optionally, the process of receiving the response information sent by each target monitoring unit according to the corresponding received information includes:
and receiving response information which is sequentially sent by each target monitoring unit according to the sending times of the received information.
Optionally, the process of receiving the priority information sent by each reporting monitoring unit includes:
and receiving self-priority information which is sequentially sent by each reporting monitoring unit according to the binary event priority and the self-polling address.
Optionally, the process of receiving the priority information sent by each reporting monitoring unit includes:
and sampling for multiple times in the period of sending the self priority information by each reporting monitoring unit, and receiving the self priority information sent by each reporting monitoring unit.
Optionally, after receiving the priority information sent by each reporting monitoring unit, the method further includes:
judging whether the time length of the self priority information sent by each reporting monitoring unit exceeds the preset time or not;
and if the number exceeds the preset value, stopping receiving the information sent by the monitoring unit.
Optionally, the process of sending the upload information to the highest priority monitoring unit includes:
and sending the original code and the reversed code of the address of the highest priority monitoring unit to the highest priority monitoring unit.
Optionally, after the polling command frame is sent, the process of sending the receiving information to each monitoring unit at preset time intervals includes:
and sending the polling command frame, sending first received information after a preset buffer time interval, and then sending the received information to each monitoring unit at a preset first time interval.
Optionally, before receiving the priority information sent by each reporting monitoring unit, the method further includes:
and receiving the reporting notification information sent by each reporting monitoring unit for receiving the self priority information sent by each reporting monitoring unit.
The invention also discloses a two-bus fire-fighting system communication system, which comprises:
the command frame sending module is used for sending the polling command frame to each monitoring unit;
the received information sending module is used for sending received information to each monitoring unit at preset time intervals after the routing inspection command frame is sent;
the response information receiving module is used for receiving response information sent by each target monitoring unit according to the corresponding receiving information; the target monitoring unit is a monitored monitoring unit corresponding to the polling address in the polling command frame;
the priority receiving module is used for receiving self priority information sent by each reporting monitoring unit; the reporting monitoring unit is a monitoring unit with an event needing to be reported;
the confirming information sending module is used for sending corresponding confirming information to the high-priority monitoring unit with high priority according to the self priority information of each reported monitoring unit;
the priority screening module is used for screening the priority information of the monitoring unit until receiving the self priority information sent by the highest priority monitoring unit;
the uploading information sending module is used for sending uploading information to the highest priority monitoring unit;
and the event information receiving module is used for receiving the event information sent by the highest priority monitoring unit.
The invention also discloses a two-bus fire-fighting system communication device, which comprises: the controller, the main control device and the monitoring device are connected in sequence;
the main control device is connected with the monitoring device through two buses;
the controller is used for executing the communication method of the two-bus fire fighting system;
the main control device is used for modulating the sending signal sent by the controller into two bus signals, sending the two bus signals to the monitoring device, modulating the code returning signal sent by the monitoring device into a detection signal which can be identified by the controller, and sending the detection signal to the controller;
and the monitoring device is used for sending the code returning signal generated according to the two bus signals sent by the controller.
Optionally, the monitoring apparatus includes: a slave control device and a monitoring unit;
the slave control device is used for modulating the two bus signals sent by the controller into the sending signals which can be identified by the monitoring unit, sending the sending signals to the monitoring unit, modulating the detection signals sent by the monitoring unit into the code returning signals, and sending the code returning signals to the master control device;
and the monitoring unit is used for generating the detection signal according to the sending signal sent by the controller and sending the detection signal to the slave control device.
Optionally, the main control device includes: the device comprises a main control circuit, a main drive circuit and a main detection circuit;
the slave control device includes: a slave control circuit, a slave drive circuit and a slave detection circuit;
the master control circuit is respectively connected with the master drive circuit and the master detection circuit, the slave control circuit is respectively connected with the slave drive circuit and the slave detection circuit, the master drive circuit is connected with the slave detection circuit through the two buses, and the master detection circuit is connected with the slave drive circuit through the two buses;
the main control circuit is used for sending the sending signal to the main driving circuit;
the master drive circuit is used for modulating the sending signal into the two bus signals and sending the two bus signals to the slave detection circuit;
the main detection circuit is used for modulating the code returning signal into the detection signal and sending the detection signal to the main control circuit;
the slave control circuit is used for sending the detection signal to the slave driving circuit;
the slave drive circuit is used for modulating the detection signal into the code returning signal and sending the code returning signal to the master detection circuit;
and the slave detection circuit is used for receiving the two bus signals, modulating the two bus signals into the sending signal and sending the sending signal to the monitoring unit.
Optionally, the main control device further includes a first DC-DC converter;
the main drive circuit includes: the circuit comprises a first resistor, a second resistor, a third resistor, a fourth resistor, a fifth resistor, a first capacitor, a second capacitor, a first diode, a second diode, a third diode, a first triode, a second triode and a first inductor;
the power end of the main control circuit is connected with the first output end of the first DC-DC converter, the second output end of the first DC-DC converter is connected with the power end of the main detection circuit, the BUSH end of the main control circuit is connected with one end of the second resistor, the Vrev end of the main control circuit is connected with one end of the third resistor, the Irev end of the main control circuit is connected with the output end of the main detection circuit, the BUSL end of the main control circuit is connected with one end of the fifth resistor, the R/T end, the TX end and the RX end of the main control circuit are respectively used for being connected with the controller, the input end of the first DC-DC converter, one end of the first resistor and one end of the first capacitor are all connected with the power supply, the other end of the first capacitor is grounded, and the other end of the first resistor is respectively connected with the cathode of the first diode and one end of the first inductor, the anode of the first diode and the other end of the first inductor are both connected with the output end of the first triode, the control end of the first triode is connected with the other end of the second resistor, the input end of the first triode is connected with the other end of the third resistor, the cathode of the second diode, the cathode of the third diode, one end of the second capacitor, the input end of the second triode and the signal line of the second bus, the control end of the second triode is connected with the other end of the fifth resistor, the output end of the second triode is connected with one end of the fourth resistor, the other end of the fourth resistor is grounded with the ground wire of the second bus, the anode of the second diode is connected with the input end of the main detection circuit, and the anode of the third diode and the other end of the second capacitor are grounded.
Optionally, the main detection circuit includes: the current detection circuit comprises a voltage stabilizing circuit, a current detection circuit and a current limiting circuit;
the current detection circuit is respectively connected with the voltage stabilizing circuit and the current limiting circuit;
the output end of the current-identifying circuit is used as the output end of the main detection circuit, the input end of the current-limiting circuit is used as the power supply end of the main detection circuit, and the input end of the voltage stabilizing circuit is used as the input end of the main detection circuit.
Optionally, the slave control device further includes: a second DC-DC converter;
the slave detection circuit comprises a filter circuit, a comparator, a fourth diode and a fifth diode; the slave drive circuit comprises a constant current source;
the TX end and the RX end of the slave control circuit are respectively used for being connected with the monitoring unit, the signal end of the second bus of the control circuit is connected with the output end of the second DC-DC converter, the input end of the slave control circuit is connected with the output end of the filter circuit, the output end of the slave control circuit is connected with the input end of the slave driving circuit, the input end of the second DC-DC converter, the signal end of the second bus of the slave driving circuit, the anode of the fourth diode and the negative input end of the comparator are all connected with the signal end of the second bus, the output end of the slave driving circuit is grounded with the ground wire of the second bus, the input end of the constant current source is used as the signal end of the second bus of the slave driving circuit, the output end of the constant current source is used as the output end of the slave driving circuit, and the cathode of the fourth diode is connected with the anode of the fifth diode, and the cathode of the fifth diode is connected with the positive input end of the comparator, and the output end of the comparator is connected with the input end of the filter circuit.
In the invention, the communication method of the two-bus fire-fighting system comprises the following steps: sending a polling command frame to each monitoring unit; after the polling command frame is sent, sending receiving information to each monitoring unit at preset time intervals; receiving response information sent by each target monitoring unit according to corresponding received information; the target monitoring unit is a monitored monitoring unit corresponding to the polling address in the polling command frame; receiving self priority information sent by each reporting monitoring unit; the reporting monitoring unit is a monitoring unit with an event needing to be reported; sending corresponding confirmation information to a high-priority monitoring unit with high priority according to the self priority information of each reported monitoring unit; until receiving self priority information sent by the highest priority monitoring unit; sending the uploading information to the highest priority monitoring unit; and receiving the event information sent by the highest priority monitoring unit.
The invention receives the self priority information of the monitoring unit, and sequentially receives the events reported by the monitoring unit according to the priority, thereby ensuring that the events with high priority can be processed in time, and meanwhile, the events are not reported because the events are not in the polling list, thereby improving the reporting efficiency of the events.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic flow chart of a communication method of a two-bus fire fighting system according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart illustrating another communication method of a two-bus fire protection system according to an embodiment of the present invention;
FIG. 3 is a timing diagram of a communication method of a two-bus fire protection system according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a two-bus fire protection system according to an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of a communication device of a two-bus fire protection system according to an embodiment of the present invention;
FIG. 6 is a schematic structural diagram of another communication device of a two-bus fire protection system according to an embodiment of the present invention;
FIG. 7 is a schematic structural diagram of a main control device according to an embodiment of the present invention;
FIG. 8 is a schematic diagram of a main detection circuit according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a slave control device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a communication method of a two-bus fire fighting system, which is shown in figure 1 and comprises the following steps:
s11: and sending the polling command frame to each monitoring unit.
Specifically, on the basis of the two-bus communication mode, the monitoring units are controlled to perform actions such as polling and event reporting in a command frame mode, the polling command frame includes address information of the polling monitoring unit, namely, the polling address in the polling command frame, the address information of the monitoring unit can be an address field composed of multi-bit binary digits, for example, the address information of the monitoring unit can be represented as bn-1bn-2…b2b1b0Wherein b isn-1、b2、b0Etc. represent 1-bit binary digits, e.g., b6b5b4b3b2b1b01001101, the frame type information of the devices to be inspected in the inspection process is included in the inspection command frame, and the number of the inspection is usually 2 for the convenience of inspection due to the adoption of binary recorded addressesnTherefore, the equipment of the polling can be selected through the polling address and the frame type, for example, one equipment is polled, one monitoring unit with the same monitoring unit address as the polling address carries out polling response, two equipment is polled, two monitoring units with the same monitoring unit address as the polling address except the lowest bit are polled, 8 equipment is polled, 8 monitoring units with the same monitoring unit address as the polling address except the lowest bit of the polling address except the n-1 bit are polled, the monitoring unit address and the polling address except the lowest bit of the polling address are polled, for example, 4 monitoring units are used as an example for explanation, and polling b is usedn-1To b2The monitoring units with the same high order answer, the lowest two bits b of the answering monitoring units1And b0In contrast, the monitored unit canThe patrol and examine response is carried out in order according to the lower two bits of address, and the realization is answered in proper order, and 4 monitor cell's the address of patrolling and examining can be expressed as: bn-1bn-2…b200、bn-1bn-2…b201、bn-1bn-2…b210 and bn-1bn-2…b211。
It can be understood that the number of the patrolling checks at one time can be set according to the actual application requirement, and is not limited to 2nIn the form of (1).
Specifically, the determination of the monitored monitoring unit can be shown in table 1 below.
TABLE 1
Figure BDA0002509076720000081
S12: and after the polling command frame is sent, sending the receiving information to each monitoring unit at preset time intervals.
Specifically, in order to ensure the accuracy of communication, all monitoring units communicate in sequence, and in order to enable each monitoring unit to communicate in sequence, receiving information is sent to each monitoring unit at preset time intervals, and the monitoring units record in advance that the monitoring units respond after receiving the receiving information for the second time, so that the monitoring units can respond in sequence according to the sending times of the receiving information.
Specifically, in order to ensure that the time sequences of the monitoring units are consistent as much as possible, and avoid the problem of non-sequential communication caused by communication delay and time sequence inconsistency due to long-distance communication, the time for analyzing the received polling command frame is also given to each monitoring unit, for example, whether the polling command frame is polled is judged, and then the received information is sent after each preset time interval, and each time interval can ensure that all the monitoring units can receive the received information, so that the counting is uniform.
It should be noted that the preset time intervals of each preset time may be the same or different, for example, before the first time of sending the received information, a time interval may be separately reserved, then the first time of sending the received information is sent, and then the remaining received information is sent at the same time interval.
The received information may be a falling edge from a high level to a low level, and the monitoring unit sequentially responds according to the number of the falling edge.
S13: and receiving response information sent by each target monitoring unit according to the corresponding receiving information.
Specifically, the monitoring unit corresponding to the current polling command frame, namely the target monitoring unit, feeds back response information according to the received receiving information, and indicates that the target monitoring unit is running.
The target monitoring unit is a monitored monitoring unit corresponding to the polling address in the polling command frame;
s14: and receiving self priority information sent by each reporting monitoring unit.
Specifically, the event occurrence has the suddenness and the routing inspection has the timeliness, and once the monitoring unit needing to report the event is not routed, the condition of missed report is caused, so that any monitoring unit needing to report the event reports the monitoring unit, and after receiving the received information, the self priority information of the monitoring unit is sent, so that the monitoring unit with the highest priority and the reporting event are screened out, and the high priority event can be processed as early as possible.
Specifically, the self-priority information can be composed of event priorities and self-polling addresses, the event priorities and the self-polling addresses can be divided into multi-bit binary digits respectively due to the adoption of binary information communication, monitoring units with the highest priority are screened out one by sending each bit of binary digits, and the self-priority information is sent one by one according to bits, so that clutter in a two-bus can be reduced, and the precision is ensured.
For example, the event priority is composed of an event type and a self-polling address of the monitoring unit, and the event priority k may be set to 3 bits, the monitoring unit address m may be set to 8 bits, and n may be set to k + m to 11 bits, which may be expressed as b10b9b8b7b6b5b4b3b2b1b0Wherein b is2b1b0Can represent a 3-bit event priority, b10b9b8b7b6b5b4b3May represent an 8-bit monitor cell address; event types can be written in terms of the importance of the alarm event, e.g., fire alarm event priority is 000 at the highest, while common fault event priority is 111 at the lowest; the types of events detected by different monitoring units may be the same, but the addresses of the monitoring units in the same system are different, so that the priorities of n bits are different, and the priority of 0 can be set to be higher than 1, so that the priority of the monitoring unit sending 1 is lower than that of the monitoring unit sending 0 at the same time, and the event reporting can be quitted.
S15: and sending corresponding confirmation information to the high-priority monitoring unit with high priority according to the self priority information of each reported monitoring unit.
Specifically, different self-priority information corresponds to different confirmation information, and in order to reduce devices communicating simultaneously, corresponding confirmation information is fed back each time the self-priority information is received, so that the monitoring unit with a low priority can quit reporting as soon as possible according to the confirmation information, the occupancy rate of a communication channel is reduced, and clear communication is ensured.
For example, 4 monitoring units report, the priority of 0 is set to be higher than 1, the self-priority information sent by 2 monitoring units is 0, the self-priority information sent by 2 monitoring units is 1, the corresponding acknowledgement information is sent, the monitoring unit sending 0 receives the corresponding acknowledgement information, the self-priority information continues to be sent, and the monitoring unit sending 1 receives the acknowledgement information, finds that the self-priority information does not match the self-priority information sent by itself, and exits from this reporting.
The acknowledgment information may be a high level, and the time of the high level corresponding to 0 and 1 is different, so as to distinguish different acknowledgment information.
S16: until receiving self priority information sent by the highest priority monitoring unit.
Specifically, through multi-bit self-priority information consisting of event priorities and self-polling addresses, the highest-priority monitoring unit in the reporting period can be screened out finally.
S17: and sending the uploading information to the highest priority monitoring unit.
Specifically, after the highest priority monitoring unit is screened out, the uploading information can be sent to the highest priority monitoring unit, so that the highest priority monitoring unit starts to report the event.
S18: and receiving the event information sent by the highest priority monitoring unit.
Specifically, after receiving the event information sent by the highest priority monitoring unit, a polling process with event reporting is completed.
It can be understood that, in the process of the inspection, there may be no monitoring unit to be reported, and in this case, the inspection is finished after confirming that there is no monitoring unit to be reported; in addition, if there are multiple events to be reported, after the reporting is completed, the polling command frame is continuously sent, and the processes of steps S11 to S18 are continuously executed, so that all the events can be reported in sequence.
Therefore, the embodiment of the invention receives the self priority information of the monitoring unit, and sequentially receives the events reported by the monitoring unit according to the priority, so that the events with high priority can be processed in time, and meanwhile, the events are not reported because the events are not in the polling list, and the event reporting efficiency is improved.
The embodiment of the invention discloses a specific communication method of a two-bus fire fighting system, and compared with the previous embodiment, the embodiment further explains and optimizes the technical scheme. Referring to fig. 2, specifically:
s201: sending a polling command frame to each monitoring unit;
s202: sending a polling command frame, sending first received information after a preset buffer time interval, and then sending the received information to each monitoring unit at a preset first time interval;
specifically, in order to give time for each monitoring unit to analyze a received polling command frame, for example, it is determined whether the monitoring unit is polled in the polling command frame, after the polling command frame is sent, a preset buffer time is provided, a first received message is sent, and then a next received message is sent at a first time interval with the same preset time.
It should be noted that, the received information may be a falling edge, for convenience, a high level may be output during the buffering time as a buffering signal, and after the buffering time is over, the high level is changed to a low level to generate a falling edge, and the first received information is sent; meanwhile, the high-level buffer signal can also charge a subsequent monitoring unit to provide power support.
The time length of the first time interval is not equal to the buffering time, and of course, according to the actual application requirement, the time length of the buffering time may also be set to be equal to the first time interval, and the received information is sent by using the same time interval.
S203: receiving response information sent by each target monitoring unit according to corresponding received information; the target monitoring unit is a monitored monitoring unit corresponding to the polling address in the polling command frame;
s204: and receiving the reporting notification information sent by each reporting monitoring unit for receiving the self priority information sent by each reporting monitoring unit.
It can be understood that, during each polling, it is not necessary that there is an event to be reported by the monitoring unit, and actually there is no event to be reported belongs to a normal state, for this reason, before the monitoring unit reports the event, the monitoring unit sends a report notification message, after receiving the report notification message, it can be confirmed that there is a reported monitoring unit, and there is an event to be reported, so as to avoid directly ending this polling.
S205: and sampling for multiple times in the period of sending the self priority information by each reporting monitoring unit, and receiving the self priority information sent by each reporting monitoring unit.
Specifically, because there may be a delay between each monitoring unit, in a sampling period, the time that can receive the self-priority information sent by different monitoring units may be different, in order to ensure that the influence of the delay can be reduced, it is ensured that the self-priority information sent by each monitoring unit is collected, sampling is performed for multiple times in one collection period, and it is ensured that the self-priority information sent by each reported monitoring unit can be collected, for example, 3 times of sampling are performed at 3 time points in 1/6 periods, 1/2 periods, and 5/6 periods in one period, and it is basically ensured that the self-priority information sent by each monitoring unit is collected, of course, the number of sampling times and the time can be set according to actual application requirements, and no limitation is made here.
S206: judging whether the time length of the self priority information sent by each reporting monitoring unit exceeds the preset time or not;
s207: and if the number exceeds the preset value, stopping receiving the information sent by the monitoring unit.
Specifically, usually, only one sending cycle duration of the self-priority information exists once, but if the monitoring unit fails, the self-priority information is possibly sent for a long time, which will cause a priority judgment error, at this time, the information sent by the monitoring unit is not continuously received, and the polling is stopped, so that a polling command frame is sent again in the following process to perform a new polling or wait for maintenance of a maintenance person.
S208: sending corresponding confirmation information to a high-priority monitoring unit with high priority according to the self priority information of each reported monitoring unit;
s209: until receiving self priority information sent by the highest priority monitoring unit;
s210: and sending the original code and the reversed code of the address of the highest priority monitoring unit to the highest priority monitoring unit.
Specifically, in order to ensure that the selected highest priority monitoring unit is error-free, the original code and the anti-code of the address of the highest priority monitoring unit are finally sent to the highest priority monitoring unit for secondary confirmation, so that the monitoring unit is ensured to be error-free in selection.
S211: and receiving the event information sent by the highest priority monitoring unit.
Specifically, the embodiment of the invention also discloses a specific application example of the communication method of the two-bus fire fighting system, which is shown in fig. 3:
in particular, see FIG. 3, t0Time to t7Sending a patrol command frame at a moment t7Time of day insertion buffer time TCDThe period of time is used for the monitoring unit to analyze the received polling reporting command frame, and if the monitoring unit judges whether the command is polled for roll calling at the current time.
Specifically, the patrol command frame may specifically include a frame preamble, a frame type, a patrol address, a frame sequence number, and a frame check, where the frame preamble is used to indicate the start of the patrol command frame and may appear in a form of a preamble high level; the frame type indicates the number of monitoring units which need to respond to the online state in the inspection; the polling address is the specified address range of the monitoring unit which needs to participate in the online state response at this time; the frame sequence number is used for distinguishing different polling reporting frames; the frame check is used for ensuring the integrity of the patrol command frame.
In particular, the first monitoring unit, e.g. patrol address bn-1bn-2…b200 first monitoring Unit at t8' sending a reply message at a time, the second monitoring unit, for example, having a patrol address of bn-1bn-2…b201 at t10' the time sends the response message, and the rest monitoring units are analogized in turn, and in fig. 3, the response time of 2 monitoring units is given.
It should be noted that, the online status of the query monitoring unit is usually a statistical value within a period of time, and is online when exceeding a threshold, so that the reported content does not need to adopt a strict frame format, and the device address of the reported monitoring unit itself can be adopted as the response information; in addition, in order to facilitate the monitoring unit to locate its own response position, we fix the time between two polling responses, i.e. t8~t10=t10~t12
Specifically, if an event needs to be reported, an event reporting process is entered.
Specifically, all monitoring units that have an event to be reported will monitor until t is detected16And (4) entering a competition process. All monitoring units with events to be reported can compete to report the events, and not only the monitoring unit with the roll name to be inspected can report the events.
Specifically, the monitoring units having events to be reported compete for reporting according to their own priority information. The event reporting process may include three parts: competition period, confirmation period and reporting period.
A competition period: all monitoring units with events needing to be reported compete for reporting priority according to n-bit self-priority information;
a confirmation period: extracting k bit monitoring unit addresses in the received n bit self priority information and sending the k bit monitoring unit addresses to a monitoring unit for confirmation;
and (3) reporting period: and the monitoring unit which confirms the address matching reports the specific event.
The specific steps of the event reporting process include steps 1 to 7, specifically:
step 1, all monitoring units with events needing to be reported are simultaneously carried out at t16'~t17The method comprises the steps that a report notification information bit RF (the value of the RF is 0) is sent at the moment, and the time length is 1T (the width of one code element);
step 2, in order to filter interference and increase sampling accuracy, at t16'~t17In one period of' 3, at 1/6, 1/2 and 5/6 periods, 3 time points sample reported notification information for 3 times; due to the adoption of multiple sampling, in order to ensure the accuracy, the sampling values can be all 0 for multiple times, for example, if the sampling values in two times are the same and are all 0, the situation that one or more monitoring units need to report an event is indicated; otherwise, the monitoring unit reports no event, and the inspection is finished;
step 3, if the sampling value of the RF is 0, the monitoring unit requests the event to report; these reports monitor the reporting of eventsThe control units will be simultaneously at t17' transmitting own priority information at any time, transmitting the own priority information bit by bit from low bit to high bit, and transmitting the information bit b which is the lowest bit in the own priority information bit by bit0(the value may be 0 or 1);
step 4, at t17'~t18' period pair b0Sampling can be carried out for multiple times in the same period;
step 5, in order to prevent reporting the monitoring unit and sending the information in error at t19First information bit b of time detection monitoring unit0Whether the transmission is finished or not; the monitoring unit has limited one-time information bit sending time, if the time exceeds a certain time, the monitoring unit may have a fault, so whether the information bit sent by the monitoring unit is continuously received for 3 times through continuous detection for multiple times, for example, every interval of time, if the information bit 0 is continuously received, namely the signal sent by the monitoring unit is continuously received, the monitoring unit is considered to send an error and quit the receiving, and if the time does not exceed 3 times, the step 6 is skipped to be continuously executed; when the information bit sent by the monitoring unit is 1, the monitoring unit does not send a signal;
step 6, at t19The time is according to the pair b0Sends a bit acknowledgement code (T) to the monitoring unit of high priorityBC) That is, the acknowledgement information, for example, if the priority of the sending information bit is set to be 0 is high, the corresponding acknowledgement information is sent to the high-priority monitoring unit with the information bit of 0, that is, the current high priority; wherein, when the sampling data can be set to 0, the transmitted confirmation code TBC0When the sampling data is 1, the transmitted acknowledgement code T is 2TBC1=3T;
Step 7, sent b0Monitoring unit of bit information according to t19~t20Judging whether the confirmation information is matched with the information bit sent by the user, if so, at t20' time continuously transmitting information bit b1Otherwise, stopping the transmission of the subsequent information bits, namely exiting the event reporting.
Specifically, after the priority information of a certain monitoring unit is reported successfully, at t26And t27The monitoring unit address with the highest priority is returned at any moment, the original code and the reverse code are used for confirmation, and the monitoring unit with the successful address confirmation sends the event information at t28' upload is made at time. If the event uploaded by the monitoring unit is successfully received, the reporting is successful.
Specifically, if the event information reported by the monitoring unit is not successfully received, the frame number (SER) is not changed, the command polling frame sent this time is sent again, and the monitoring unit that reported the event in the previous frame executes the whole reporting process again after receiving the command polling frame with the same SER.
Correspondingly, the embodiment of the invention also discloses a two-bus fire fighting system communication system, as shown in fig. 4, the system comprises:
the command frame sending module 11 is used for sending the polling command frame to each monitoring unit;
the received information sending module 12 is configured to send received information to each monitoring unit at preset time intervals after sending the polling command frame;
the response information receiving module 13 is configured to receive response information sent by each target monitoring unit according to corresponding received information; the target monitoring unit is a monitored monitoring unit corresponding to the polling address in the polling command frame;
a priority receiving module 14, configured to receive priority information sent by each reporting monitoring unit; the reporting monitoring unit is a monitoring unit with an event needing to be reported;
the confirmation information sending module 15 is configured to send corresponding confirmation information to the high-priority monitoring unit with the high priority according to the priority information of each reported monitoring unit;
the priority screening module 16 is used for screening the priority information of the monitoring unit until receiving the self priority information sent by the highest priority monitoring unit;
an upload information sending module 17, configured to send upload information to the highest priority monitoring unit;
and the event information receiving module 18 is used for receiving the event information sent by the monitoring unit with the highest priority.
Therefore, the embodiment of the invention receives the self priority information of the monitoring unit, and sequentially receives the events reported by the monitoring unit according to the priority, so that the events with high priority can be processed in time, and meanwhile, the events are not reported because the events are not in the polling list, and the event reporting efficiency is improved.
In addition, the embodiment of the present invention also discloses a two-bus fire fighting system communication device, as shown in fig. 5, the device includes: the controller 1, the main control device 2 and the monitoring device 3 are connected in sequence;
the main control device 2 is connected with the monitoring device 3 through two buses;
the controller 1 is used for executing a computer program to realize the communication method of the two-bus fire fighting system;
the main control device 2 is used for modulating the sending signal sent by the controller 1 into two bus signals, sending the two bus signals to the monitoring device 3, modulating the code returning signal sent by the monitoring device 3 into a detection signal which can be identified by the controller 1, and sending the detection signal to the controller 1;
and the monitoring device 3 is used for sending a code returning signal generated according to the two bus signals sent by the controller 1.
Specifically, since the controller 1 cannot directly recognize the two bus signals transmitted through the two buses, the main control device 2 is used as a signal modulation and transmission/reception device between the controller 1 and the monitoring device 3, and is mainly used for converting the signal transmitted by the controller 1 into the two bus signals so as to transmit the two bus signals to the monitoring device 3 through the two buses, and converting the code return signal transmitted by the monitoring device 3 through the two buses into the detection signal recognized by the controller 1.
Specifically, the sending signal and the two-bus signal sent by the controller 1 include information sent to the monitoring unit, such as an inspection command frame, receiving information, confirmation information, uploading information and the like in the communication method of the two-bus fire-fighting system; the code return signal sent by the monitoring device 3 comprises information sent to the controller 1, such as response information, self-priority information, event information and the like in the two-bus fire fighting system communication method.
Therefore, the controller 1 in the embodiment of the present invention receives the priority information of the monitoring units, and sequentially receives the events reported by the monitoring units according to the priorities, so as to ensure that the events with high priorities can be processed in time, and meanwhile, the events are not reported because the events are not in the polling list, thereby improving the reporting efficiency of the events.
Specifically, referring to fig. 6, the monitoring device 3 may include: the slave control device 31 and the monitoring unit 32;
the slave control device 31 is used for modulating the two bus signals sent by the controller 1 into sending signals which can be identified by the monitoring unit 32, sending the sending signals to the monitoring unit 32, modulating the detection signals sent by the monitoring unit 32 into return code signals, and sending the return code signals to the master control device 2;
and a monitoring unit 32 for generating a detection signal according to the transmission signal transmitted from the controller 1 and transmitting the detection signal to the slave control device 31.
Specifically, the controller 1 is switched to the transmission state when transmitting a signal and is switched to the reception state when receiving a signal, for example, see fig. 3, t8At the moment, the controller 1 is switched from the sending state to the receiving state, and the monitoring unit 32 needing to participate in the polling response is at t8The moment is changed from the receiving state to the sending state, and the controller 1 is in t19The moment is changed from the receiving state to the transmitting state.
Specifically, the process of receiving the command frame by the monitoring unit 32 may include: receiving a polling command frame sent by the controller 1, and performing frame verification; the routing inspection address is used for address filtering after verification is successful; if the polling command frame is the polling command frame, judging whether the polling command frame is polled or not, and then judging whether an event is reported or not. If more than one of the two determinations is true, we consider the address matching to be successful, otherwise the monitoring unit 32 discards the command frame and prepares to receive a new command frame.
Specifically, the slave control device 31 functions similarly to the master control device 2, and also mainly functions to modulate and transmit and receive signals.
Specifically, as shown in fig. 6, the main control device 2 may include: a main control circuit 21, a main drive circuit 22, and a main detection circuit 23;
the slave control device 31 may include: a slave control circuit 311, a slave drive circuit 312, and a slave detection circuit 313;
the master control circuit 21 is connected to the master drive circuit 22 and the master detection circuit 23, the slave control circuit 311 is connected to the slave drive circuit 312 and the slave detection circuit 313, the master drive circuit 22 is connected to the slave detection circuit 313 via two buses, and the master detection circuit 23 is connected to the slave drive circuit 312 via two buses;
a main control circuit 21 for transmitting a transmission signal to a main drive circuit 22;
a master drive circuit 22 for modulating a transmission signal into two bus signals and transmitting the two bus signals to the slave detection circuit 313;
a main detection circuit 23 for modulating the return code signal into a detection signal and sending the detection signal to the main control circuit 21;
a slave control circuit 311 for sending a detection signal to the slave drive circuit 312;
a slave drive circuit 312 for modulating the detection signal into a return code signal and transmitting to the master detection circuit 23;
the slave detection circuit 313 is configured to receive the two bus signals, modulate the two bus signals into a transmission signal, and transmit the transmission signal to the monitoring unit 32.
Specifically, the driving circuit is mainly used for converting the signal into a two-bus signal, and the detection circuit is mainly used for detecting the signal in the two buses and converting the signal into a signal that can be recognized by the controller 1 or the monitoring unit 32.
Specifically, the main control device 2 may include, as shown in fig. 7, a main control circuit 21, a main detection circuit 23, a first DC-DC converter 24, and a main drive circuit 22;
the main driving circuit 22 includes: the circuit comprises a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, a fifth resistor R5, a first capacitor C1, a second capacitor C2, a first diode VD1, a second diode VD2, a third diode VD3, a first triode VM1, a second triode VM2 and a first inductor L1;
a power supply end of the main control circuit 21 is connected with a first output end of the first DC-DC converter 24, a second output end of the first DC-DC converter 24 is connected with a power supply end of the main detection circuit 23, a BUSH end of the main control circuit 21 is connected with one end of the second resistor R2, a Vrev end of the main control circuit 21 is connected with one end of the third resistor R3, an Irev end of the main control circuit 21 is connected with an output end of the main detection circuit 23, a BUSL end of the main control circuit 21 is connected with one end of the fifth resistor R5, an R/T end, a TX end and an RX end of the main control circuit 21 are respectively connected with the controller 1, an input end of the first DC-DC converter 24, one end of the first resistor R1 and one end of the first capacitor C1 are all connected with a power supply VCC, the other end of the first capacitor C1 is grounded, the other end of the first resistor R1 is respectively connected with a cathode of the first diode VD1 and one end of the first inductor L36, the anode of the first diode VD1 and the other end of the first inductor L1 are both connected with the output end of the first triode VM1, the control end of the first triode VM1 is connected with the other end of the second resistor R2, the input end of the first triode VM 35is connected with the other end of the third resistor R3, the cathode of the second diode VD2, the cathode of the third diode VD3, one end of the second capacitor C2, the input end of the second triode VM2 and the signal line of the two buses, the control end of the second triode VM2 is connected with the other end of the fifth resistor R5, the output end of the second triode VM2 is connected with one end of the fourth resistor R4, the other end of the fourth resistor R4 is grounded with the ground line of the two buses, the anode of the second diode VD2 is connected with the input end of the main detection circuit 23, and the anode of the third diode VD3 and the other end of the second capacitor C2 are grounded. The first triode VM1 can be a P-type MOS transistor, the gate serves as a control terminal, the source serves as an input terminal, the drain serves as an output terminal, the second triode VM2 can be an N-type MOS transistor, the gate serves as a control terminal, the drain serves as an input terminal, and the source serves as an output terminal; the power supply VCC may be DC24V or DC 36V.
Specifically, when R/T is 0, the main control device 2 is set to the transmission state, and transmits the polling command frame. If TX is 1, controlling BUSH and BUSL to enable a P-type MOS tube VM1 to be conducted, closing an N-type MOS tube VM2 and outputting VCC by a bus; if TXD is equal to 0, control BUSH and BUSL to turn VM1 off, VM2 is on, and the bus output is low.
When R/T is 1, the master control device 2 is set to the reception state, and the echo data of the monitoring unit 32 on the two buses is received. When the controller 1 is in a receiving state, the Vrev pin outputs DC5V voltage to the two buses, the detection circuit performs circuit sampling on the two buses to generate a detection signal, and the detection signal is sent to the main control circuit 21, the current detection of the main detection circuit 23 is 10mA, and the current is limited by 30mA, if the current detected by the main detection circuit 23 exceeds the current detection threshold, Irev is 0, otherwise Irev is 1.
Specifically, as shown in fig. 8, the main detection circuit 23 may include: a voltage stabilizing circuit 231, a current detecting circuit 232 and a current limiting circuit 233; the current detection circuit 232 is respectively connected with the voltage stabilizing circuit 231 and the current limiting circuit 233;
the output terminal of the current detecting circuit 232 serves as the output terminal of the main detecting circuit 23, the input terminal of the current limiting circuit 233 serves as the power supply terminal of the main detecting circuit 23, and the input terminal of the voltage stabilizing circuit 231 serves as the input terminal of the main detecting circuit 23.
Specifically, the current detecting circuit 232 is used for detecting the minimum current value in the circuit; the current limiting circuit 233 is used for avoiding the phenomenon that the bus voltage is too low to communicate due to the simultaneous current pulling of the plurality of monitoring units 32; the voltage stabilizing circuit 231 is used to prevent the bus jitter from generating interference current to cause false detection.
Specifically, the slave control device 31 may include, as shown in fig. 9: a slave control circuit 311, a slave drive circuit 312, a second DC-DC converter 314, and a slave detection circuit 313;
the slave detection circuit 313 comprises a filter circuit 3131, a comparator LM23, a fourth diode VD21 and a fifth diode VD 22; the slave drive circuit 312 includes a constant current source I24;
the TX terminal and the RX terminal of the slave control circuit 311 are respectively used to connect with the monitoring unit 32, the power supply terminal of the slave control circuit 311 is connected with the output terminal of the second DC-DC converter 314, the input terminal of the slave control circuit 311 is connected with the output terminal of the filter circuit 3131, the output terminal of the slave control circuit 311 is connected with the input terminal of the slave drive circuit 312, the input terminal of the second DC-DC converter 314, the power supply terminal of the slave drive circuit 312, the anode of the fourth diode VD21 and the negative input terminal of the comparator LM23 are all connected with the signal terminals of the two buses, the output terminal of the slave drive circuit 312 is connected with the ground of the two buses, the input terminal of the constant current source I24 is used as the power supply terminal of the slave drive circuit 312, the output terminal of the constant current source I24 is used as the output terminal of the slave drive circuit 312, the cathode of the fourth diode VD21 is connected with the anode of the fifth diode VD22, the, the output terminal of the comparator LM23 is connected to the input terminal of the filter circuit 3131.
It will be appreciated that the signal terminals of both buses are equal to the power supply terminals.
Specifically, when the slave control device 31 is in the receiving state, the two-bus voltage signal is input to the slave detection circuit 313, and the detection signal is generated and sent to the slave control circuit 311.
When the slave control device 31 is in the transmission state, the monitoring unit 32 generates a constant current of 20mA by generating a control signal from the control circuit 311 to drive the slave drive circuit 312 to generate a constant current of 20mA if 0 is transmitted, and turns off the constant current source I24 if 1 is transmitted, and the two buses have no current.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be 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. Also, 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 an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The technical content provided by the present invention is described in detail above, and the principle and the implementation of the present invention are explained in this document by applying specific examples, and the above description of the examples is only used to help understanding the method of the present invention and the core idea thereof; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (15)

1. A two-bus fire-fighting system communication method is characterized by comprising the following steps:
sending a polling command frame to each monitoring unit;
after the polling command frame is sent, sending receiving information to each monitoring unit at preset time intervals;
receiving response information sent by each target monitoring unit according to corresponding received information; the target monitoring unit is a monitored monitoring unit corresponding to the polling address in the polling command frame;
receiving self priority information sent by each reporting monitoring unit; the reporting monitoring unit is a monitoring unit with an event needing to be reported;
sending corresponding confirmation information to a high-priority monitoring unit with high priority according to the self priority information of each reported monitoring unit;
until receiving self priority information sent by the highest priority monitoring unit;
sending upload information to the highest priority monitoring unit;
and receiving the event information sent by the highest priority monitoring unit.
2. The two-bus fire-fighting system communication method according to claim 1, wherein the process of receiving the response message sent by each target monitoring unit according to the corresponding receiving message comprises:
and receiving response information which is sequentially sent by each target monitoring unit according to the sending times of the received information.
3. The two-bus fire-fighting system communication method according to claim 2, wherein the process of receiving the priority information sent by each reporting monitoring unit includes:
and receiving self-priority information which is sequentially sent by each reporting monitoring unit according to the binary event priority and the self-polling address.
4. The two-bus fire-fighting system communication method according to claim 3, wherein the process of receiving the priority information sent by each reporting monitoring unit includes:
and sampling for multiple times in the period of sending the self priority information by each reporting monitoring unit, and receiving the self priority information sent by each reporting monitoring unit.
5. The two-bus fire fighting system communication method according to any one of claims 1 to 4, wherein after receiving the priority information sent by each reporting monitoring unit, the method further comprises:
judging whether the time length of the self priority information sent by each reporting monitoring unit exceeds the preset time or not;
and if the number exceeds the preset value, stopping receiving the information sent by the monitoring unit.
6. A two-bus fire protection system communication method as claimed in any one of claims 1 to 4, wherein the process of sending the upload information to the highest priority monitoring unit includes:
and sending the original code and the reversed code of the address of the highest priority monitoring unit to the highest priority monitoring unit.
7. The two-bus fire fighting system communication method according to any one of claims 1 to 4, wherein the process of sending the received information to each monitoring unit every preset time interval after sending the patrol command frame includes:
and sending the polling command frame, sending first received information after a preset buffer time interval, and then sending the received information to each monitoring unit at a preset first time interval.
8. The two-bus fire fighting system communication method according to any one of claims 1 to 4, wherein before receiving the priority information sent by each reporting monitoring unit, the method further comprises:
and receiving the reporting notification information sent by each reporting monitoring unit for receiving the self priority information sent by each reporting monitoring unit.
9. A two bus fire extinguishing system communication system, comprising:
the command frame sending module is used for sending the polling command frame to each monitoring unit;
the received information sending module is used for sending received information to each monitoring unit at preset time intervals after the routing inspection command frame is sent;
the response information receiving module is used for receiving response information sent by each target monitoring unit according to the corresponding receiving information; the target monitoring unit is a monitored monitoring unit corresponding to the polling address in the polling command frame;
the priority receiving module is used for receiving self priority information sent by each reporting monitoring unit; the reporting monitoring unit is a monitoring unit with an event needing to be reported;
the confirming information sending module is used for sending corresponding confirming information to the high-priority monitoring unit with high priority according to the self priority information of each reported monitoring unit;
the priority screening module is used for screening the priority information of the monitoring unit until receiving the self priority information sent by the highest priority monitoring unit;
the uploading information sending module is used for sending uploading information to the highest priority monitoring unit;
and the event information receiving module is used for receiving the event information sent by the highest priority monitoring unit.
10. A two bus fire extinguishing system communication device, comprising: the controller, the main control device and the monitoring device are connected in sequence;
the main control device is connected with the monitoring device through two buses;
the controller is used for executing the two-bus fire fighting system communication method according to any one of claims 1 to 8;
the main control device is used for modulating the sending signal sent by the controller into two bus signals, sending the two bus signals to the monitoring device, modulating the code returning signal sent by the monitoring device into a detection signal which can be identified by the controller, and sending the detection signal to the controller;
and the monitoring device is used for sending the code returning signal generated according to the two bus signals sent by the controller.
11. A two-bus fire protection system communication device as defined in claim 10, wherein the monitoring device comprises: a slave control device and a monitoring unit;
the slave control device is used for modulating the two bus signals sent by the controller into the sending signals which can be identified by the monitoring unit, sending the sending signals to the monitoring unit, modulating the detection signals sent by the monitoring unit into the code returning signals, and sending the code returning signals to the master control device;
and the monitoring unit is used for generating the detection signal according to the sending signal sent by the controller and sending the detection signal to the slave control device.
12. A two-bus fire protection system communication device as recited in claim 11, wherein said master control device comprises: the device comprises a main control circuit, a main drive circuit and a main detection circuit;
the slave control device includes: a slave control circuit, a slave drive circuit and a slave detection circuit;
the master control circuit is respectively connected with the master drive circuit and the master detection circuit, the slave control circuit is respectively connected with the slave drive circuit and the slave detection circuit, the master drive circuit is connected with the slave detection circuit through the two buses, and the master detection circuit is connected with the slave drive circuit through the two buses;
the main control circuit is used for sending the sending signal to the main driving circuit;
the master drive circuit is used for modulating the sending signal into the two bus signals and sending the two bus signals to the slave detection circuit;
the main detection circuit is used for modulating the code returning signal into the detection signal and sending the detection signal to the main control circuit;
the slave control circuit is used for sending the detection signal to the slave driving circuit;
the slave drive circuit is used for modulating the detection signal into the code returning signal and sending the code returning signal to the master detection circuit;
and the slave detection circuit is used for receiving the two bus signals, modulating the two bus signals into the sending signal and sending the sending signal to the monitoring unit.
13. The two-bus fire protection system communication device of claim 12, wherein the master control device further comprises a first DC-DC converter;
the main drive circuit includes: the circuit comprises a first resistor, a second resistor, a third resistor, a fourth resistor, a fifth resistor, a first capacitor, a second capacitor, a first diode, a second diode, a third diode, a first triode, a second triode and a first inductor;
the power end of the main control circuit is connected with the first output end of the first DC-DC converter, the second output end of the first DC-DC converter is connected with the power end of the main detection circuit, the BUSH end of the main control circuit is connected with one end of the second resistor, the Vrev end of the main control circuit is connected with one end of the third resistor, the Irev end of the main control circuit is connected with the output end of the main detection circuit, the BUSL end of the main control circuit is connected with one end of the fifth resistor, the R/T end, the TX end and the RX end of the main control circuit are respectively used for being connected with the controller, the input end of the first DC-DC converter, one end of the first resistor and one end of the first capacitor are all connected with the power supply, the other end of the first capacitor is grounded, and the other end of the first resistor is respectively connected with the cathode of the first diode and one end of the first inductor, the anode of the first diode and the other end of the first inductor are both connected with the output end of the first triode, the control end of the first triode is connected with the other end of the second resistor, the input end of the first triode is connected with the other end of the third resistor, the cathode of the second diode, the cathode of the third diode, one end of the second capacitor, the input end of the second triode and the signal line of the second bus, the control end of the second triode is connected with the other end of the fifth resistor, the output end of the second triode is connected with one end of the fourth resistor, the other end of the fourth resistor is grounded with the ground wire of the second bus, the anode of the second diode is connected with the input end of the main detection circuit, and the anode of the third diode and the other end of the second capacitor are grounded.
14. A two-bus fire protection system communication device as defined in claim 13, wherein the main detection circuit includes: the current detection circuit comprises a voltage stabilizing circuit, a current detection circuit and a current limiting circuit;
the current detection circuit is respectively connected with the voltage stabilizing circuit and the current limiting circuit;
the output end of the current-identifying circuit is used as the output end of the main detection circuit, the input end of the current-limiting circuit is used as the power supply end of the main detection circuit, and the input end of the voltage stabilizing circuit is used as the input end of the main detection circuit.
15. The two-bus fire protection system communication device of claim 14, wherein the slave control device further comprises: a second DC-DC converter;
the slave detection circuit comprises a filter circuit, a comparator, a fourth diode and a fifth diode; the slave drive circuit comprises a constant current source;
the TX end and the RX end of the slave control circuit are respectively used for being connected with the monitoring unit, the signal end of the second bus of the control circuit is connected with the output end of the second DC-DC converter, the input end of the slave control circuit is connected with the output end of the filter circuit, the output end of the slave control circuit is connected with the input end of the slave driving circuit, the input end of the second DC-DC converter, the signal end of the second bus of the slave driving circuit, the anode of the fourth diode and the negative input end of the comparator are all connected with the signal end of the second bus, the output end of the slave driving circuit is grounded with the ground wire of the second bus, the input end of the constant current source is used as the signal end of the second bus of the slave driving circuit, the output end of the constant current source is used as the output end of the slave driving circuit, and the cathode of the fourth diode is connected with the anode of the fifth diode, and the cathode of the fifth diode is connected with the positive input end of the comparator, and the output end of the comparator is connected with the input end of the filter circuit.
CN202010455149.4A 2020-05-26 2020-05-26 Two-bus fire-fighting system communication method, system and device Pending CN111614535A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010455149.4A CN111614535A (en) 2020-05-26 2020-05-26 Two-bus fire-fighting system communication method, system and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010455149.4A CN111614535A (en) 2020-05-26 2020-05-26 Two-bus fire-fighting system communication method, system and device

Publications (1)

Publication Number Publication Date
CN111614535A true CN111614535A (en) 2020-09-01

Family

ID=72204917

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010455149.4A Pending CN111614535A (en) 2020-05-26 2020-05-26 Two-bus fire-fighting system communication method, system and device

Country Status (1)

Country Link
CN (1) CN111614535A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5276887A (en) * 1991-06-06 1994-01-04 Commodore Electronics Limited Bus arbitration system for granting bus access to devices following two-wire bus arbitration protocol and devices following three-wire bus arbitration protocol
CN101140690A (en) * 2007-10-26 2008-03-12 千杰 Distributed alarming method and distributed alarm system
US20130148753A1 (en) * 2010-10-08 2013-06-13 Honeywell International Inc. Method for digital communication between a plurality of nodes connected by a serial field bus and corresponding system, in particular a field control system or field surveyance system
CN203435006U (en) * 2013-06-08 2014-02-12 青岛鼎信通讯股份有限公司 Bus isolator
CN106874237A (en) * 2017-03-08 2017-06-20 上海冉能自动化科技有限公司 Method of data synchronization and system based on two lines bus
CN109992549A (en) * 2019-03-27 2019-07-09 上海冉能自动化科技有限公司 Low power consumption data synchronous method and system based on two lines bus
CN110022253A (en) * 2018-01-10 2019-07-16 北京纳衡仪器仪表有限公司 Power and communicate simultaneously emergency communication device, agreement and the method for two lines bus
CN110136410A (en) * 2019-06-21 2019-08-16 山东众海公共安全器材有限公司 A kind of two lines bus digital communication method of fire alarm and linkage control system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5276887A (en) * 1991-06-06 1994-01-04 Commodore Electronics Limited Bus arbitration system for granting bus access to devices following two-wire bus arbitration protocol and devices following three-wire bus arbitration protocol
CN101140690A (en) * 2007-10-26 2008-03-12 千杰 Distributed alarming method and distributed alarm system
US20130148753A1 (en) * 2010-10-08 2013-06-13 Honeywell International Inc. Method for digital communication between a plurality of nodes connected by a serial field bus and corresponding system, in particular a field control system or field surveyance system
CN203435006U (en) * 2013-06-08 2014-02-12 青岛鼎信通讯股份有限公司 Bus isolator
CN106874237A (en) * 2017-03-08 2017-06-20 上海冉能自动化科技有限公司 Method of data synchronization and system based on two lines bus
CN110022253A (en) * 2018-01-10 2019-07-16 北京纳衡仪器仪表有限公司 Power and communicate simultaneously emergency communication device, agreement and the method for two lines bus
CN109992549A (en) * 2019-03-27 2019-07-09 上海冉能自动化科技有限公司 Low power consumption data synchronous method and system based on two lines bus
CN110136410A (en) * 2019-06-21 2019-08-16 山东众海公共安全器材有限公司 A kind of two lines bus digital communication method of fire alarm and linkage control system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
王建华: ""新时代消防企业自主创新与发展——以青岛鼎信通讯股份有限公司为例"", 《消防界》 *
王斌, 赵云, 尹云辉: ""一种能量/信息时分传输的二总线技术研究"", 《微型机与应用 》 *

Similar Documents

Publication Publication Date Title
US9996316B2 (en) Mediation of wakeword response for multiple devices
US20120166700A1 (en) Specialized universal serial bus controller
US4392125A (en) Multiplex communication system using remote microprocessors
US4468655A (en) Multiplex security system using remote microprocessors
CN102714420B (en) Active communications bus power harvester for differential signal communication system
TWI651011B (en) Resource elimination method and device
CN104348567A (en) Public broadcasting system with fault defection
TW201029410A (en) Data communication device, communication control method, and program
CN112994971A (en) Equipment offline monitoring method based on cloud server and related device
CN111600758A (en) Message reporting method and platform, intelligent gateway and storage medium
CN113543295B (en) Data transmission method and system based on acoustic wave communication
JP2753915B2 (en) Communication control device
CN108399700A (en) Theft preventing method and smart machine
CN111614535A (en) Two-bus fire-fighting system communication method, system and device
CN110012051A (en) Notify method for pushing, device, terminal device, server and system
CN110971854B (en) Double-link-acquisition law enforcement recorder acquisition system and acquisition method thereof
CN106875664A (en) A kind of exclusive formula collecting method based on CAN
CN111462461B (en) Synchronous alarming and resetting method for receiving end in multi-transmitting and one-receiving internet of things
CN103455461B (en) For the method improving RS485 bus communication reliability
CN115150916B (en) Wireless networking method and wireless networking system
CN113056017B (en) Intelligent building monitoring information collection method and system based on 5G system
CN114697361B (en) Method and system for solving automobile feed based on remote communication
CN113757932B (en) Air conditioner communication fault processing method and device, computer equipment and storage medium
CN111770455A (en) Message pushing method and device
CN113294887A (en) Competitive RS485 communication method and device and air conditioning 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200901

RJ01 Rejection of invention patent application after publication