CN115311801A - Coding method for fire-fighting two-bus equipment and infrared combination - Google Patents

Coding method for fire-fighting two-bus equipment and infrared combination Download PDF

Info

Publication number
CN115311801A
CN115311801A CN202210964264.3A CN202210964264A CN115311801A CN 115311801 A CN115311801 A CN 115311801A CN 202210964264 A CN202210964264 A CN 202210964264A CN 115311801 A CN115311801 A CN 115311801A
Authority
CN
China
Prior art keywords
loop
address
coding
bus
infrared
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.)
Granted
Application number
CN202210964264.3A
Other languages
Chinese (zh)
Other versions
CN115311801B (en
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.)
Yingkou Tiancheng Fire Equipment Co ltd
Original Assignee
Yingkou Tiancheng Fire Equipment Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yingkou Tiancheng Fire Equipment Co ltd filed Critical Yingkou Tiancheng Fire Equipment Co ltd
Priority to CN202210964264.3A priority Critical patent/CN115311801B/en
Publication of CN115311801A publication Critical patent/CN115311801A/en
Application granted granted Critical
Publication of CN115311801B publication Critical patent/CN115311801B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B17/00Fire alarms; Alarms responsive to explosion
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C23/00Non-electrical signal transmission systems, e.g. optical systems
    • G08C23/04Non-electrical signal transmission systems, e.g. optical systems using light waves, e.g. infrared
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention provides a coding method of a fire-fighting dual-bus device and an infrared combination, which realizes address coding between a fire alarm host and a loop device node in a way of matching an infrared electronic encoder and a loop dual-bus, and comprises the following specific steps: the fire control host is cascaded with the loop equipment through two buses to form closed loop circulation; after the system is powered on and operated, the fire alarm host sends an address coding command; after receiving an address coding command of a loop bus, loop equipment enters an address coding inspection mode; in the address coding and routing inspection process, firstly, routing inspection is carried out on the flag bit XX to determine the group number XX, and then routing inspection is carried out on the group number XX in the corresponding flag bit XX to determine the number of the group number XX; the hand-held infrared electronic encoder performs address coding operation on corresponding loop equipment; after the loop equipment analyzes correct infrared address information sent by the infrared electronic encoder, an address number is uploaded to a second loop bus; and the second loop bus reports the reported address number to the host and displays the address number in real time. In the invention, the loop equipment adopts a grouping mode, and can realize that more coded addresses are reported quickly under the condition of few code return bits.

Description

Coding method for fire-fighting two-bus equipment and infrared combination
Technical Field
The invention relates to a coding method of a fire-fighting two-bus device and an infrared combination, and belongs to the technical field of coding of fire alarm devices.
Background
The two-bus technical line is a technology that a power supply line and a signal line are combined into one, and signals and power supply share one bus. Because the two buses greatly save the construction and cable cost, and bring great convenience to site construction and later maintenance, the two buses are widely applied to the fields of fire fighting, instruments, sensors, industrial control and the like. Typical two BUS technologies include M-BUS, fire BUS, etc.
At present, the automatic fire alarm system gradually adopts two buses to connect a fire alarm controller and detection components, and each detection component needs to have a unique address code for distinguishing so that the fire alarm controller can inspect.
However, in the conventional automatic fire alarm system, when an address is set for loop equipment, the address needs to be coded first and then installed, and when the address is set, cyclic inspection between addresses of 1 to 255 (maximum) is needed each time, when the quantity of engineering is large, thousands of equipment are provided, and time and labor are consumed for coding components; after the addresses of the loop devices are set, if the same addresses of the loop devices are found in operation, namely the situation of recoding, the corresponding loop devices need to be disassembled, the addresses are coded again through the coder, and the loop devices still need to be circularly checked among addresses of 1-255 (maximum) during address coding.
Disclosure of Invention
The invention provides a coding method combining two bus equipment and infrared for fire fighting.
The invention is implemented by the following technical scheme: a coding method of fire-fighting dual-bus equipment and infrared combination is characterized in that address coding is realized between a fire alarm host and a loop equipment node in a mode of matching an infrared electronic encoder and a loop dual-bus, and the method comprises the following specific steps:
(1) The fire control host is cascaded with the loop equipment through two buses to form closed loop circulation; the loop equipment sets an encoding format in a grouping mode, and the encoding format of the answer code is as follows: a flag bit XX-group number XX;
(2) After the system is powered on and operated, sending an address coding command through a fire alarm host; (ii) a
(3) After receiving an address coding command of a loop bus, loop equipment enters an address coding inspection mode; in the address coding and routing inspection process, firstly, routing inspection is carried out on the flag bit XX to determine the group number XX, and then routing inspection is carried out on the group number XX in the corresponding flag bit XX to determine the number of the group number XX;
(4) The hand-held infrared electronic encoder performs address coding operation on corresponding loop equipment;
(5) After the loop equipment analyzes correct infrared address information sent by the infrared electronic encoder, an address number is uploaded to a second loop bus;
(6) And the second loop bus reports the reported address number to the host and displays the address number in real time.
Preferably, in the case of low power bus devices, the loop coding sequence is as follows: the method comprises the steps that a starting code (2 bit) + a command code (nbit) + an address code (nbit) + a delay + an answer code (nbit) + synchronization time, and correspondingly, the coding format of the answer code adopts a zone bit (n-1), a group number bit (n-2) -bit 0.
Preferably, in the case of a high bus device power, the loop coding sequence is as follows: the code format of the answer code correspondingly adopts a flag bit answer code 1 (highest bit) and a group number (answer code total number-1).
The invention has the beneficial effects that:
1. in the invention, the loop equipment adopts a grouping mode, and in the process of routing inspection, the flag bit XX is firstly inspected to determine that the loop equipment is in a plurality of groups, and then the group number XX in the corresponding flag bit XX is inspected to determine which number the loop equipment is in the group, so that more coded addresses can be quickly reported under the condition of few return bits, and the routing inspection is not required to be carried out circularly between 1-maximum number addresses each time, thereby greatly saving the routing inspection time; in addition, the coding sequence of the loop is divided into two modes according to the bus power, wherein the first mode is suitable for the condition that the bus equipment power is small, one-time sampling can be realized to complete the answer, and the speed is high; the second mode is suitable for the condition of high power of the bus equipment, the answer can still be quickly completed through scattered answer and combined calculation, and if the first mode is used under the condition of high power of the bus equipment, the condition of power failure of the equipment can occur during code returning, so that the coding efficiency is influenced.
2. By adopting the invention, the loop equipment can be installed firstly, and the traditional mode can be compatible with address coding firstly, in a word, the addressing scheme can be adjusted in real time according to the field condition; if the loop equipment is installed, the address can be easily modified without disassembly by adopting the invention.
3. When setting the address of the loop equipment, the invention needs to calculate the corresponding relation between the binary number and the decimal number, but because of the grouping setting, the calculation amount of each group is very small, the error is not easy to occur, even if the duplication code phenomenon occurs when setting the address of the loop equipment, the duplication code is relatively easy, rapid and accurate to search.
4. In the invention, loop equipment is designed into a grouping mode, the more the address bits of the echo bits are, the larger the realized address range is, the multiple increase of 2 is presented when one bit is added, for example, 4064 addresses can be easily realized by 8 bits of the echo bits, 127 groups can be divided by 7 bits, and each group of 4064/127=32 bus equipment.
Drawings
Fig. 1 is a timing diagram of the encoding of a reply code in the case of a low bus device power.
Fig. 2 is a timing diagram of the encoding of the reply code in the case of a high bus device power.
Fig. 3 is a timing diagram of the encoding of the reply code (60 addresses, the reply code being 5 bits) during a round robin process according to an embodiment of the present invention.
Fig. 4 is a timing diagram of the encoding with flag bit 1 being answered according to an embodiment of the present invention.
Fig. 5 is a timing diagram of the encoding of group number 1 with a reply according to an embodiment of the present invention.
Fig. 6 is a timing diagram of the encoding of the reply code (4064 addresses, 8 bits for the reply code) in the second round-robin process according to the embodiment of the present invention.
Detailed Description
Example one
This embodiment takes 60 addresses and 5 bits of the answer code as an example for explanation.
Five bits of the answer code are high- > low, bit 4-zone bit, bit 3-0 group number, 60 addresses are divided into 15 groups (bit 3-0 is 4 bits, the maximum value is 15), each group has 4 devices (60/15 = 4), when the zone bit is '1', the group number is reported, and when the zone bit is '0', the normal response of the address is reported.
Taking address 1 as an example to explain:
the first step is as follows: the loop device receives the address command of the loop bus, and enters an address polling mode, as shown in fig. 3.
The second step is that: the encoder performs an infrared addressing operation.
The third step: after the loop equipment resolves correct infrared address information, the address number is uploaded, two steps are carried out, the application group number (shown in figure 4) is sent in the first step, the routing inspection address group (shown in figure 5) is adjusted by the loop board according to the group number, and the correct address response is returned in the second step, so that address coding and reporting are completed.
The fourth step: the loop reports the reported address number to the host again for real-time display.
As can be seen from fig. 4, for the 1-group application, the coded address range bits 1~4 (4 addresses per group) can be calculated, but it cannot be determined which address is, and all of the following rounds of 1~4 address see which address has the answer signal, i.e., which address is proved. The patrol inspection No. 1 address has an answer signal, which indicates that the addressing of the No. 1 address is successful, and the patrol inspection 2~4 is not needed, and the No. 1 address is reported to the host for display.
Example two
This embodiment is illustrated with 4064 addresses and 8 bits of the reply code, as shown in fig. 6.
Five bits of the answer code are high- > low, bit 7-flag bit, bit 6-0 group number, 4064 address groups 127 (bit 6-0 is 7 bits, maximum value is 127), each group has 32 bus devices (4064/127 = 32), when the flag bit is "1", it indicates that the group number is reported, and when the flag bit is "0", it indicates that the normal response of the address is reported. It can be seen that 4064 addresses can be easily implemented by 8 bits of the answer code.
The address coding process is the same as that of the first embodiment, and is not described herein again.

Claims (4)

1. A coding method of a fire-fighting two-bus device and an infrared combination is characterized in that: and the fire alarm host and the loop equipment node realize address coding in a mode of matching an infrared electronic encoder with a loop two-bus.
2. A fire fighting two-bus device and infrared combined coding method as defined in claim 1, characterized by the concrete steps of:
(1) The fire control host is cascaded with the loop equipment through two buses to form closed loop circulation; the loop device sets the coding format in a grouping mode, and the coding format of the answer code is as follows: flag bit XX-group number XX;
(2) After the system is powered on and operated, sending an address coding command through a fire alarm host;
(3) After receiving an address coding command of a loop bus, loop equipment enters an address coding inspection mode; in the address coding and routing inspection process, firstly, routing inspection is carried out on the flag bit XX to determine the group number XX, and then routing inspection is carried out on the group number XX in the corresponding flag bit XX to determine the number of the group number XX;
(4) The hand-held infrared electronic encoder performs address coding operation on corresponding loop equipment;
(5) After the loop equipment analyzes correct infrared address information sent by the infrared electronic encoder, an address number is uploaded to a second loop bus;
(6) And the loop two bus reports the reported address number to the host again for real-time display.
3. A fire fighting two-bus device and infrared combined coding method as defined in claim 1, wherein: in the case of low power bus devices, the loop coding sequence is as follows: the method comprises the steps that a starting code (2 bit) + a command code (nbit) + an address code (nbit) + a delay + an answer code (nbit) + synchronization time, and correspondingly, the coding format of the answer code adopts a zone bit (n-1), a group number bit (n-2) -bit 0.
4. A fire fighting two-bus device and infrared combined coding method as defined in claim 1, wherein: when the power of the bus device is large, the loop coding sequence is as follows: the code format of the answer code correspondingly adopts a flag bit answer code 1 (highest bit) and a group number (answer code total number-1).
CN202210964264.3A 2022-08-12 2022-08-12 Encoding method for two-bus equipment and infrared combination for fire protection Active CN115311801B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210964264.3A CN115311801B (en) 2022-08-12 2022-08-12 Encoding method for two-bus equipment and infrared combination for fire protection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210964264.3A CN115311801B (en) 2022-08-12 2022-08-12 Encoding method for two-bus equipment and infrared combination for fire protection

Publications (2)

Publication Number Publication Date
CN115311801A true CN115311801A (en) 2022-11-08
CN115311801B CN115311801B (en) 2023-07-11

Family

ID=83862013

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210964264.3A Active CN115311801B (en) 2022-08-12 2022-08-12 Encoding method for two-bus equipment and infrared combination for fire protection

Country Status (1)

Country Link
CN (1) CN115311801B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5128855A (en) * 1988-06-08 1992-07-07 Lgz Landis & Gyr Zug Ag Building automation system operating installation control and regulation arrangement
CN1296245A (en) * 1999-12-02 2001-05-23 王殊 Two-bus communication method and fire alarm system using same
US20070260844A1 (en) * 2006-02-08 2007-11-08 Daren Croxford Memory bus encoding
CN102355395A (en) * 2011-10-09 2012-02-15 蚌埠依爱消防电子有限责任公司 Bus communication protocol of fire alarm system
CN103077575A (en) * 2012-11-01 2013-05-01 深圳市泛海三江电子有限公司 Novel sensor access bus protocol
CN203118148U (en) * 2013-01-17 2013-08-07 北京利达英杰联合技术有限公司 A hand-held encoder used for an electrical fire monitoring detector
CN105049311A (en) * 2015-09-17 2015-11-11 北京建安成自动化电控技术有限公司 Two-bus communication method and system
CN205405782U (en) * 2016-02-25 2016-07-27 四川赛科安全技术有限公司 Touching formula fire control encoder
CN108022398A (en) * 2016-11-04 2018-05-11 西安盛赛尔电子有限公司 A kind of fire alarm system communication means
CN109035670A (en) * 2018-10-12 2018-12-18 湖北旭兴达科技有限公司 A kind of fire alarm system and its address coding method
CN110349387A (en) * 2019-07-12 2019-10-18 南京中消安全技术有限公司 The addressing method of fire detection alarm system and wherein detector
CN113077616A (en) * 2021-03-24 2021-07-06 深圳市泛海三江电子股份有限公司 Fire automatic alarm intelligent coding control method, device, equipment and storage medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5128855A (en) * 1988-06-08 1992-07-07 Lgz Landis & Gyr Zug Ag Building automation system operating installation control and regulation arrangement
CN1296245A (en) * 1999-12-02 2001-05-23 王殊 Two-bus communication method and fire alarm system using same
US20070260844A1 (en) * 2006-02-08 2007-11-08 Daren Croxford Memory bus encoding
CN102355395A (en) * 2011-10-09 2012-02-15 蚌埠依爱消防电子有限责任公司 Bus communication protocol of fire alarm system
CN103077575A (en) * 2012-11-01 2013-05-01 深圳市泛海三江电子有限公司 Novel sensor access bus protocol
CN203118148U (en) * 2013-01-17 2013-08-07 北京利达英杰联合技术有限公司 A hand-held encoder used for an electrical fire monitoring detector
CN105049311A (en) * 2015-09-17 2015-11-11 北京建安成自动化电控技术有限公司 Two-bus communication method and system
CN205405782U (en) * 2016-02-25 2016-07-27 四川赛科安全技术有限公司 Touching formula fire control encoder
CN108022398A (en) * 2016-11-04 2018-05-11 西安盛赛尔电子有限公司 A kind of fire alarm system communication means
CN109035670A (en) * 2018-10-12 2018-12-18 湖北旭兴达科技有限公司 A kind of fire alarm system and its address coding method
CN110349387A (en) * 2019-07-12 2019-10-18 南京中消安全技术有限公司 The addressing method of fire detection alarm system and wherein detector
CN113077616A (en) * 2021-03-24 2021-07-06 深圳市泛海三江电子股份有限公司 Fire automatic alarm intelligent coding control method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN115311801B (en) 2023-07-11

Similar Documents

Publication Publication Date Title
EP2241950B1 (en) Communication master station startup period control method
CN106131240B (en) CAN address allocation method and communication system based on sequential chain
CN109377700A (en) A kind of software automatic addressing method and its system
CA3140736A1 (en) Daisy chain two-wire sensor measurement system and method
CN1841252A (en) Flexible control system
CN115311801A (en) Coding method for fire-fighting two-bus equipment and infrared combination
CN107767613B (en) A kind of universal fire-fighting control device and method
US7827335B2 (en) Remote communication system of a network
CN1009769B (en) Improvements in or relating to transducer interfaces
CN1201272C (en) Alarm information transmission method and two-wire system communication bus equipment
CN101415128B (en) Method, apparatus for sharing signaling message load, and signaling transmission system
KR20060072423A (en) Ground control system for launching vehicle
CN107247683B (en) Positioning management system and method for rack server
CN112165422A (en) One-master multi-slave temperature control system and address automatic matching method
CN111614534A (en) Communication method and device and electronic equipment
CN202583739U (en) Multi-digital-input-point expansion apparatus
CN109917099A (en) A kind of distributed monitoring water quality equipment based on wide-area, wireless network
CN104202227A (en) Fixed time slice based RS485 rapid communication method
JPH0332954B2 (en)
CN2867729Y (en) Transmission interface switching equipment
CN113672540A (en) Two-bus system
CN114911736A (en) Master-slave machine system
SU1298802A2 (en) Coder
CN115576279A (en) Data signal conversion apparatus and data signal conversion system
JPS5848593A (en) Polling transmission 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
GR01 Patent grant
GR01 Patent grant