The objective of the invention is to:, propose a kind of two-bus communication that can respond fast fire, report to the police rapidly at the problem that prior art exists.Simultaneously, the present invention also propose a kind ofly to adopt said method, to the fire fast response and the fire alarm system of reporting to the police.
Two-bus communication of the present invention is realized in the fire alarm system of being made up of addressed location and alarm controller, above-mentioned addressed location can be fire detector, manual pull station and other functional modules, (j≤64 are the bus loop number can j * k; K≤512 are the addressed location number of each bus loop), its implementation procedure is: A. is divided into n (1≤n≤64) group with the addressed location in each detection bus loop; B. alarm controller sends command code and addressing sign indicating number to addressed location one by one by bus, and receives the sign indicating number that returns of corresponding addressed location, normally patrols and examines, and wherein the application position is interrupted in the warning of signaling position double as addressed location; C. (when a certain in the group addressing unit of m≤n) has the addressed location generation alerting signal of fire alarm interrupt priority, organize group number pulse from bus to the alarm controller loopback that interrupt application on the corresponding signaling position by at the m of agreement as m; D. after alarm controller received the group number pulse of interrupting application, (m≤n) the group addressing unit sent the special sign indicating number order of returning to m; E. m (m≤n) receive the group addressing unit special return the sign indicating number order after, the addressed location that alerting signal takes place returns on the sign indicating number position by bus in its correspondence of arranging and number pulse in the group of own address is represented in the alarm controller loopback; F. alarm controller is according to the group number and the interior address number that calculates this unit of numbering of group of alerting signal generating unit, display alarm in time.
The fire alarm system of realizing said method is made up of addressed location and alarm controller that (addressed location can be a fire detector, manual pull station and other authorization function modules, addressed location adds up to j * k, j≤64, be the bus loop number, k≤512, addressed location number for each bus loop), addressed location in each bus loop is divided into n (1≤n≤64) group, the addressed location that wherein has interrupt priority contains the element that can interrupt to the alarm controller application at any time, alarm controller comprises finger-impu system, the alarm indication device, master control borad and circuit management circuit (circuit management circuit sum j≤64), finger-impu system connects the input end of master control borad, demonstration and printing portion connect the output terminal of master control borad, the circuit management circuit connects the communication ends of master control borad, and by each addressed location of two bus interface, the circuit management circuit contains to addressed location and sends command code, the signaling circuit of addressing sign indicating number and time sign indicating number synchronizing pulse, and can receive the testing circuit that normal information is returned sign indicating number and interrupted applying for back sign indicating number.
During the automatic fire detection-alarm system works set up according to bus communication of the present invention, because the application position is interrupted in the fire alarm of the signaling position double as addressed location of alarm controller, so any addressed location in the system with fire alarm interrupt priority, comprise fire detector, manual pull station and other authorization function module, can when the condition of a disaster takes place, send to alarm controller immediately and interrupt the application signal, make alarm controller in time make quick response, and that addressed location needn't wait passively is to be inspected to the condition of a disaster.This shows that no matter automatic fire detection-alarm of the present invention system has the addressed location that how much comprises fire detector on the bus, can both be in the shortest time that the condition of a disaster takes place timely alarm response, thereby fire damage is reduced to bottom line.
Below in conjunction with accompanying drawing above technical scheme of the present invention is described further.
The two-bus communication of present embodiment is based upon in the fire alarm system of being made up of 16 * 254 addressed locations and alarm controller, and implementation step is:
A. 254 addressed locations that comprise fire detector, manual pull station and other functional modules are divided into one group by per 16 of its address number, then can be divided into 16 groups altogether, just in time equal the order and the addressing bit number sum of fire controller signaling, promptly the group number of 16 groups of fire detector application warnings can be corresponding one by one with the signaling position.The fire alarm that accompanying table 1 and table 2 have been listed 16 group addressing unit respectively interrupts the grouping situation of application location, 254 addressed locations, and numbers and its time code position in the group of every group addressing unit, can be used as and understands this
The reference of embodiment.
B. under normal circumstances, alarm controller is is constantly patrolled and examined addressed location.In the automatic fire detection-alarm system of this embodiment, the signaling negative sense superposition of bus is on supply voltage.The information code of every frame (being each communication cycle) is divided into two large divisions (referring to Fig. 1), and first is the signaling of alarm controller, comprises 8 order of the bit sign indicating numbers and 8 bit addressing sign indicating numbers; Second portion is the sign indicating number information of returning of addressed location.Signaling has 16, and time sign indicating number of addressed location also is 16.Wherein the application position is interrupted in the fire alarm of signaling position double as addressed location.That separate the two large divisions is initial code, space A and space B.Initial code is the flag of frame of communication, and space A and space B are the time intervals that the addressed location microprocessor work needs.Addressed location can be answered the information of different content according to the order of alarm controller on time sign indicating number position.For example can answer state, type, address, fire characteristic parameter (smog, temperature, carbon monoxide) of addressed location etc.When fire alarm takes place when, addressed location with fire alarm interrupt priority sends fire alarm to alarm controller and interrupts application information on the signaling position, alarm controller is received this information, to the addressed location place group that fire alarm takes place send special return the sign indicating number order after, return the sign indicating number part and be used for transmitting in the group of fire alarm generating unit and number back a yard pulse.
The alarm controller signaling is with the form performance (referring to Fig. 4) of potential pulse.In the signaling part, " 0 " is that the code interval of 0.2ms and negative pulse that width is 0.9ms are formed at interval by width; " 1 " is that the code interval of 0.2ms and negative pulse that width is 1.3ms are formed by width.Returning the sign indicating number part, returning code space and equate, be 1.1ms, returning between the code space is time sign indicating number synchronizing pulse of width 0.2ms.
About 0.5ms is go back to the position (referring to Fig. 5) of code current pulse after the following jumping edge of signaling spacing pulse and time sign indicating number synchronizing pulse.Return sign indicating number " 1 " current impulse amplitude and be about 20mA, width is 0.2ms.There is not current impulse to represent back sign indicating number to be " 0 ".
C. when the addressed location generation the condition of a disaster application that has the fire alarm interrupt priority in certain group addressing unit is interrupted, then with group number correspondence code position on send group number current pulse signal (as Fig. 1 and shown in Figure 5) by bus to alarm controller, for example certain the addressed location generation the condition of a disaster in the 11st group, then the group number pulse that the loopback application is interrupted on the 11st yard position of correspondence.
D. after alarm controller is received this application signal, interrupt immediately normally patrolling and examining, send the special sign indicating number order of returning, require the addressed location that application is interrupted to return address code information (numbering pulse in the group) to the application interrupt groups.
E. after special time sign indicating number order received in the specific addressing unit of this group application interruption, 16 times code space correspondence positions that send at alarm controller returned address code information (numbering pulse in the group)
F. after the alarm controller receiver address returns yard information,, determine the specific address numbering of this addressed location, determine the fire alarm time of origin according to real-time clock simultaneously, display alarm in time according to numbering in group number and the group.
Like this, alarm procedure can be finished in two communication cycles, and irrelevant with the fire detector quantity on the bus.And adopt existing general universal method, then might need 254 communication cycles to determine.Because high-rise and heavy construction increases day by day, fire alarm system is more and more huger, on each bus loop with addressed location often a lot, monitoring time is difficult to shortening, so the present invention has won valuable time to putting out a fire to save life and property of fire.
Realize that the fire alarm system circuit block diagram of above-mentioned two-bus communication sees Fig. 2, U represents addressed location (≤254) among the figure, L represents two buses, this system is made up of 16 * 254 addressed locations and alarm controller, and wherein alarm controller mainly partly is made up of finger-impu system, demonstration and printing portion, storer, master control borad, real-time clock and 16 circuit management circuit etc.Finger-impu system connects the input end of master control borad, is used to import various operational orders, to finish the operation of expection; Demonstration and printing portion connect the output terminal of master control borad, are used to show or export the current and historical data of relevant fire alarm, fault, diagnosis, configuration, fire characteristic parameter; Storer is used for configuration data, historical events and the calculating of storage system and service data etc., real-time clock provides correct time information for alarm controller, with the time of determining that fire alarm, fault, diagnostic message take place, and provide time coordinate for program run; The circuit management circuit connects the communication ends of master control borad, by each addressed location of two bus interface, its major function is under the control of master control borad, patrols and examines each addressed location that is connected in these loop two buses, the information that detects each addressed location is returned sign indicating number and fire alarm and is interrupted back yard, and preferential affairs are interrupted in the processing fire alarm.The addressed location of each circuit management Circuit management mostly is 254 most, is divided into 16 groups (referring to table 1 and tables 2) by address number.
Fig. 3 specifically moves the addressed location and the circuit management circuit part circuit diagram of situation so as to explanation the foregoing description automatic fire detection-alarm system, and wherein arrow represents to connect mainboard.The addressed location on the left side can be fire detector, manual pull station and other functional modules among this figure, is connected with circuit management circuit in the alarm controller of the right by two buses of centre.
In addressed location, three terminal regulator N1 provides power supply for other functional circuits in microprocessor up1 and the addressed location.C1, C2 are the supporting filter capacitor of N1.The rush of current that when current-limiting resistance R1 works in order to the buffering addressed location two buses is caused.V1, C3, R3, R2, R4, C4 form a receipts sign indicating number interface, will come the information of self-loop management circuit to deliver to microprocessor up1 port on the bus after level conversion and shaping.C3 is the signal coupling capacitance, and C4 is used for signal shaping.V2, R5, R6 form back the sign indicating number interface circuit.R6 determines back the amplitude of code current.The width and the action moment that return code current are determined by microprocessor up1.Owing to adopted when taking place to report to the police, can pass through back the sign indicating number interface, passback is reported to the police and is interrupted the microprocessor up1 of numbering pulse in group numbering pulse and the group on agreement sign indicating number position, so simple and direct, the dependable performance of present embodiment circuit.
In the circuit management circuit, three terminal regulator N2 and R7, R8, V3, R9 and microprocessor up2 constitute the signaling circuit jointly, its function be to bus give an order sign indicating number, addressing sign indicating number, return sign indicating number synchronizing pulse and initial code, space A and space B, allow signaling position double as to interrupt the application position simultaneously.The amplitude of sign indicating number pulse is by voltage stabilizing value and R7 and the decision of R8 intrinsic standoff ratio of N2.Return sign indicating number sample resistance R10, signal amplifier N3 and microprocessor up2 and constitute back the sign indicating number testing circuit jointly, this circuit can accept to interrupt application at any time.When time code current is flowed through back sign indicating number sample resistance R10, will produce voltage signal.After this voltage signal amplifies shaping through amplifier N3, be fed to the port of microprocessor up2.Microprocessor up2 the position occurs according to an order of carrying out at present and a time sign indicating number pulse, whether judgement is which kind of returns sign indicating number information (sign indicating number, cigarette/temperature/carbon monoxide, diagnostic message etc. are returned in the state of addressed location, type, address), and be that numbering pulse in application group number and the group is interrupted in fire alarm.
The fire alarm system circuit of present embodiment is simple and direct, and reliable operation can realize two-bus communication of the present invention, in the shortest time that the condition of a disaster is taken place, makes quick response.
Application group and corresponding interrupt bit thereof are interrupted in table 1 fire alarm
Interrupt application location | The order position | Address bit |
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
Group | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 |
Affiliated addressed location address number | 1 to 15 | 16 to 31 | 32 to 47 | 48 to 63 | 64 to 79 | 80 to 95 | 96 to 111 | 112 to 127 | 128 to 143 | 144 to 159 | 160 to 175 | 176 to 193 | 194 to 207 | 208 to 223 | 224 to 239 | 240 to 254 |
Numbered positions in table 2 group
Return code position | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 |
Interior number of group | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 |
| 1 group | - | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
| 2 groups | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 |
The institute | 3 groups | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 |
Belong to | 4 groups | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 |
Compile | 5 groups | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 |
The location | 6 groups | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 |
Single | 7 groups | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 |
Unit | 8 groups | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 |
Ground | 9 groups | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 |
The location | 10 groups | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 |
Number | 11 groups | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 |
| 12 groups | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 |
| 13 groups | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 |
| 14 groups | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 |
| 15 groups | 224 | 225 | 226 | 227 | 228 | 229 | 230 | 231 | 232 | 233 | 234 | 235 | 236 | 237 | 238 | 239 |
| 16 groups | 240 | 241 | 242 | 243 | 244 | 245 | 246 | 247 | 248 | 249 | 250 | 251 | 252 | 253 | 254 | - |