CN106911334B - Fire-fighting industrial bus coding method - Google Patents

Fire-fighting industrial bus coding method Download PDF

Info

Publication number
CN106911334B
CN106911334B CN201710113010.XA CN201710113010A CN106911334B CN 106911334 B CN106911334 B CN 106911334B CN 201710113010 A CN201710113010 A CN 201710113010A CN 106911334 B CN106911334 B CN 106911334B
Authority
CN
China
Prior art keywords
coding
bit
bus
pulse width
fire
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.)
Active
Application number
CN201710113010.XA
Other languages
Chinese (zh)
Other versions
CN106911334A (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.)
Guanghedian Technology (Guangdong) Co.,Ltd.
Original Assignee
Guanghedian Technology Guangdong 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 Guanghedian Technology Guangdong Co ltd filed Critical Guanghedian Technology Guangdong Co ltd
Priority to CN201710113010.XA priority Critical patent/CN106911334B/en
Publication of CN106911334A publication Critical patent/CN106911334A/en
Application granted granted Critical
Publication of CN106911334B publication Critical patent/CN106911334B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M5/00Conversion of the form of the representation of individual digits
    • H03M5/02Conversion to or from representation by pulses
    • H03M5/04Conversion to or from representation by pulses the pulses having two levels
    • H03M5/06Code representation, e.g. transition, for a given bit cell depending only on the information in that bit cell
    • H03M5/12Biphase level code, e.g. split phase code, Manchester code; Biphase space or mark code, e.g. double frequency code

Abstract

The invention discloses a fire-fighting industrial bus coding method, which comprises the following steps: (1) the fire alarm controller takes a low level pulse with a duty ratio below 0.3 as a bit code division starting point to carry out coding and synchronizes signals; (2) during coding, a bit '0' is determined by the pulse width between two level falling edges, and a bit '1' is determined by the pulse width between two level rising edges; each two-end falling edge is endowed with an independent synchronous signal during coding; (3) and (3) repeating the step (2) for continuous coding until the coding is finished, and then sending the codes to the intelligent component through the bus. The invention has simple flow and simple and convenient coding mode, and can avoid the problem of longer idle time of the bus while ensuring the accuracy of data transmission, thereby being suitable for popularization and application.

Description

Fire-fighting industrial bus coding method
Technical Field
The invention relates to the technical field of fire fighting, in particular to a fire fighting industry bus coding method.
Background
In the conventional fire alarm control system, when a bus is used for transmitting a code, a controller host needs to be pulled high in a low level state, when the host transmits a string of data, such as '00101', the start bit of information transmission is the first bit of data, the time for transmitting each bit of data is fixed, and therefore the time for transmitting the string of data is also a fixed value. The encoding mode has the advantages that the phenomenon of clock advance or delay can occur in the information transmission process, so that during encoding, errors are generated during transmission of first-bit data, the whole data encoding process is promoted to form accumulated errors, encoding is incorrect finally, the accuracy of clocks at two ends of communication is reduced, the accuracy of data transmission is lowered, and the subsequent data verification can be greatly influenced.
For the above reasons, some manufacturers currently use manchester coding (e.g., the technique disclosed in patent No. 02129002.4) to divide the time into equally spaced segments, each of which represents a bit, in order to ensure the accuracy of the data during encoding and reduce the accumulated error caused by the clock. Each small time is divided into two halves, the signal transmitted in the first half is the code reversal of the bit value transmitted in the time interval, and the bit value itself is transmitted in the second half. Although the mode generates synchronous signals when the level changes, so that errors caused by delay or advance of a clock during coding are reduced, the idle time is longer in each level change period, so that the capacity of external part capacitors has higher requirements, and the hardware acquisition cost is higher; at the same time, the load capacity of the bus also deteriorates, resulting in a reduction in its power supply and driving capabilities to the back-end devices.
Disclosure of Invention
Aiming at the technical defects, the invention provides a fire-fighting industry bus coding method which can avoid the problem of long bus idle time while ensuring the accuracy of data transmission.
In order to achieve the purpose, the technical scheme adopted by the invention is as follows:
a fire-fighting industry bus coding method comprises the following steps:
(1) the fire alarm controller takes a low level pulse with a duty ratio below 0.3 as a bit code division starting point to carry out coding and synchronizes signals;
(2) during encoding, determining bit '0' or '1' according to pulse width between two level falling edges or rising edges, and simultaneously endowing two independent synchronous signals according to two ends of the bit of the two falling edges or rising edges;
(3) and (3) repeating the step (2) for continuous coding until the coding is finished, and then sending the codes to the intelligent component through the bus.
Further, in the step (2), the pulse width when the bit "1" is determined is twice the pulse width when the bit "0" is determined.
Compared with the prior art, the invention has the following beneficial effects:
(1) the invention takes a low level pulse width with extremely small duty ratio (below 0.3) as a bit code division starting point for coding, and has a synchronous signal, because the low level pulse width is far smaller than the high level, the idle time on a bus during coding is reduced, the power supply and the driving capability of external equipment can be ensured, the requirement on the capacity of external part capacitors is also reduced, and the cost of hardware purchase is reduced.
(2) The invention determines the bit '0' and '1' according to the pulse width between two level falling edges or rising edges, and simultaneously gives a synchronous signal which is independent of each other, so that compared with a Manchester coding mode, the invention not only has simple and convenient coding mode and simple flow, but also can ensure the accuracy of data transmission.
(3) The invention is buckled and closely connected with each other, and provides guarantee for high-efficiency coding and data transmission of the fire-fighting industrial bus, so that the invention is suitable for popularization and application in the fire-fighting technical field.
Drawings
FIG. 1 is a schematic flow chart of the present invention.
Fig. 2 is a schematic diagram of pulses.
Detailed Description
The present invention will be further described with reference to the following description and examples, which include but are not limited to the following examples.
As shown in fig. 1 and 2, the present invention provides a high-efficiency bus encoding method, which can ensure the accuracy of data transmission and avoid the load capacity deterioration caused by the long idle time of the bus. The main process of the invention is as follows:
first, a low-level pulse with a very small duty ratio (0.3 or less) is encoded as a bit division code start point, and a signal is synchronized. During encoding, a bit "0" is determined by the pulse width between two level falling edges (the pulse width is 400-500 μ s, including a low-level pulse width of 50-100 μ s), a bit "1" is determined by the pulse width between two level rising edges (the pulse width is twice the pulse width when the bit "0" is determined, and also includes a low-level pulse width), and the rising edges and the falling edges are schematically shown in fig. 2. In addition, in the embodiment, each two end falling edges are provided with an independent synchronous signal during encoding, so as to avoid the occurrence of accumulated errors in encoding caused by clock advance or delay.
In the above manner, the controller continues encoding until encoding is complete, and then transmits the code to the intelligent component via the bus.
According to the invention, through reasonable software and hardware combination, the accuracy of fire-fighting industrial bus data transmission is effectively improved, the power supply and driving capability of external equipment are ensured, and the hardware acquisition cost is reduced. Therefore, the invention well promotes the industrial bus coding technology to a new height, and has outstanding substantive features and remarkable progress compared with the prior art.
The above-mentioned embodiment is only one of the preferred embodiments of the present invention, and should not be used to limit the scope of the present invention, and all the technical problems solved by the present invention should be consistent with the present invention, if they are not substantially modified or retouched in the spirit and concept of the present invention.

Claims (2)

1. A fire-fighting industry bus coding method is characterized by comprising the following steps:
(1) the fire alarm controller takes a low level pulse with a duty ratio below 0.3 as a bit code division starting point to carry out coding and synchronizes signals;
(2) during encoding, determining bit '0' or '1' according to pulse width between two level falling edges or rising edges, and simultaneously endowing two independent synchronous signals according to two ends of the bit of the two falling edges or rising edges;
(3) and (3) repeating the step (2) for continuous coding until the coding is finished, and then sending the codes to the intelligent component through the bus.
2. A fire protection industry bus coding method as claimed in claim 1, wherein in the step (2), the pulse width when the bit "1" is determined is twice as wide as the pulse width when the bit "0" is determined.
CN201710113010.XA 2017-02-28 2017-02-28 Fire-fighting industrial bus coding method Active CN106911334B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710113010.XA CN106911334B (en) 2017-02-28 2017-02-28 Fire-fighting industrial bus coding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710113010.XA CN106911334B (en) 2017-02-28 2017-02-28 Fire-fighting industrial bus coding method

Publications (2)

Publication Number Publication Date
CN106911334A CN106911334A (en) 2017-06-30
CN106911334B true CN106911334B (en) 2021-08-10

Family

ID=59208217

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710113010.XA Active CN106911334B (en) 2017-02-28 2017-02-28 Fire-fighting industrial bus coding method

Country Status (1)

Country Link
CN (1) CN106911334B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107453378B (en) * 2017-08-02 2020-06-16 四川赛科安全技术有限公司 Method for realizing variable power output of fire-fighting bus and remote constant-voltage power supply method
CN112737905B (en) * 2020-12-22 2022-05-24 青岛鼎信通讯消防安全有限公司 Method and system for transmitting and receiving parallel two-bus communication

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5687193A (en) * 1995-06-22 1997-11-11 France Telecom Manchester coder/decoder
CN1866310A (en) * 2006-05-19 2006-11-22 宁波中科集成电路设计中心有限公司 Manchester code decoding method and application apparatus therefor
CN105049063A (en) * 2015-06-30 2015-11-11 电子科技大学 Grid-shaped pulse interval encoding method
CN105262489A (en) * 2015-09-01 2016-01-20 武汉瑞纳捷电子技术有限公司 Time delay circuit and time delay method for differential Manchester decoding
CN106464623A (en) * 2016-08-05 2017-02-22 深圳市汇顶科技股份有限公司 A method and apparatus for transmitting a signal

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103378923A (en) * 2012-04-18 2013-10-30 北京鼎合远传技术有限公司 FM (frequency modulation)-based baseband transmission encoding method and apparatus thereof
CN202795632U (en) * 2012-07-20 2013-03-13 深圳市赋安安全系统有限公司 Two-wire electric fire monitoring system
JP6013214B2 (en) * 2013-02-04 2016-10-25 ルネサスエレクトロニクス株式会社 Bus communication transceiver
CN103811021B (en) * 2014-02-18 2016-12-07 天地融科技股份有限公司 A kind of method and apparatus resolving waveform
CN104991440B (en) * 2015-07-14 2017-03-01 中北大学 High accuracy IRIG B(AC)Code demodulation method and device
CN205405782U (en) * 2016-02-25 2016-07-27 四川赛科安全技术有限公司 Touching formula fire control encoder

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5687193A (en) * 1995-06-22 1997-11-11 France Telecom Manchester coder/decoder
CN1866310A (en) * 2006-05-19 2006-11-22 宁波中科集成电路设计中心有限公司 Manchester code decoding method and application apparatus therefor
CN105049063A (en) * 2015-06-30 2015-11-11 电子科技大学 Grid-shaped pulse interval encoding method
CN105262489A (en) * 2015-09-01 2016-01-20 武汉瑞纳捷电子技术有限公司 Time delay circuit and time delay method for differential Manchester decoding
CN106464623A (en) * 2016-08-05 2017-02-22 深圳市汇顶科技股份有限公司 A method and apparatus for transmitting a signal

Also Published As

Publication number Publication date
CN106911334A (en) 2017-06-30

Similar Documents

Publication Publication Date Title
US10216690B2 (en) Single-wire interface bus transceiver system based on I2C-bus, and associated method for communication of single-wire interface bus
EP3126994B1 (en) Methods to send extra information in-band on inter-integrated circuit (i2c) bus
EP3284229B1 (en) Clock and data recovery for pulse based multi-wire link
CN102438301B (en) Wireless communication system and method
WO2015155242A1 (en) 2-wire differential-end bus transceiver system based on 12c-bus, and associated method for communication of 2-wire differential-end bus
CN106911334B (en) Fire-fighting industrial bus coding method
CN104113347A (en) Isolated serializer-deserializer
CN105261199A (en) Infrared data coding and decoding method and apparatus thereof
EP3117527B1 (en) Method for using error correction codes with n factorial or cci extension
CN103841210B (en) It is method of data synchronization that adjustable main is standby
US6694377B1 (en) Communications interface for the serial transmission of digital data, and corresponding data transmission method
CN103516423A (en) Method and apparatus used for optical fiber clock remote transmission
CN112003954B (en) Data communication method, data communication system, and computer-readable storage medium
CN106656702B (en) The sequential control method of Intelligent redundant universal serial bus
US9094911B2 (en) Data communication system, method of optimizing preamble length, and communication apparatus
WO2017050235A1 (en) Method and device for sending data, and method and device for receiving data
US9490964B2 (en) Symbol transition clocking clock and data recovery to suppress excess clock caused by symbol glitch during stable symbol period
CN103166732A (en) Clock pulse embedded data transfer method and packet data coding/decoding method
US20230259480A1 (en) Bi-phase Mark Code Asynchronous Decoder using SPI Block
US20030206556A1 (en) Method, system, and article of manufacture for data transmission
EP2339803A1 (en) Pulse Width Modulation Data Transmission
US20220163936A1 (en) Serial isolation communication method, device and system
CN110489373B (en) Serial isolation communication method, device and system
CN102148732B (en) Transmission method of generic serial communication interface
CN102006083A (en) Method for decoding phase code

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20210618

Address after: 529700 new material base, Gonghe Town, Heshan City, Jiangmen City, Guangdong Province

Applicant after: Guanghedian Technology (Guangdong) Co.,Ltd.

Address before: No.128, Rengang Road, south area of Chengdu modern industrial port, Pidu District, Chengdu, Sichuan 610000

Applicant before: SICHUAN SECAIR SECURITY TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant