CN106911334A - A kind of fire-fighting industrial bus coding method - Google Patents
A kind of fire-fighting industrial bus coding method Download PDFInfo
- Publication number
- CN106911334A CN106911334A CN201710113010.XA CN201710113010A CN106911334A CN 106911334 A CN106911334 A CN 106911334A CN 201710113010 A CN201710113010 A CN 201710113010A CN 106911334 A CN106911334 A CN 106911334A
- Authority
- CN
- China
- Prior art keywords
- bit
- coding
- fire
- pulse width
- bus
- 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
Links
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M5/00—Conversion of the form of the representation of individual digits
- H03M5/02—Conversion to or from representation by pulses
- H03M5/04—Conversion to or from representation by pulses the pulses having two levels
- H03M5/06—Code representation, e.g. transition, for a given bit cell depending only on the information in that bit cell
- H03M5/12—Biphase level code, e.g. split phase code, Manchester code; Biphase space or mark code, e.g. double frequency code
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Small-Scale Networks (AREA)
- Dc Digital Transmission (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
The invention discloses a kind of fire-fighting industrial bus coding method, including:(1) fire alarm control unit is encoded using the low level pulse that dutycycle is less than 0.3 as bit demal starting point, and synchronizing signal;(2) when encoding, bit " 0 " is determined with the pulse width between level trailing edge twice, bit " 1 " is determined with the pulse width between level rising edge twice;Per two ends trailing edge an independent synchronizing signal is assigned in coding;(3) repeat step (2) continuous programming code, until coding is completed, then by bus to intelligent parts signaling.Flow of the present invention is simple, coded system is easy, can be while data transfer accuracy is ensured, it is to avoid bus-free time problem more long, therefore, the present invention is suitable to popularization and application.
Description
Technical field
The present invention relates to technical field of fire control, and in particular to be a kind of fire-fighting industrial bus coding method.
Background technology
Existing fire alarm control system, when signaling is carried out using bus, controller main frame need to be first in low
Level state is drawn high, and when main frame sends burst of data, such as when " 00101 ", the start bit of information transfer is a data, often
The time of a data transmission is fixed, so the time of transmission burst of data is also fixed value.This coded system, passes in information
Due to it is possible that the phenomenon that is advanced or delayed of clock in defeated process, thus during coding, will be because of in transmission first
Error being generated during data and promoting whole data encoding processor to form cumulative errors, it is incorrect to ultimately cause coding, reduces
Communication two ends clock it is accurate, and then by the low accuracy of data transfer, the verification of follow-up data can also be produced larger
Influence.
For these reasons, at present, the accuracy of data when some producers are in order to ensure to encode, reduces because clock institute band
The accumulated error come, using Synchronization (such as the technology disclosed in Patent No. 02129002.4), will divide the time
Equally spaced segment, each of which section represents a bit.Each short time dimidiation again in itself, preceding half time passed
Signal is the radix-minus-one complement that the time period transmits bit value, afterwards the transmission of half time period be bit value in itself.Although this mode exists
When level changes, there is synchronizing signal to produce, so that because of the brought error that is retarded or advanced of clock when reducing coding, but
In each level period of change, because free time is more long, thus capacity to exterior part electric capacity can have higher requirements, hardware
Acquisition cost is higher;Meanwhile, the load capacity of bus can also be deteriorated, and cause its power supply and driving force to rear end equipment to be dropped
It is low.
The content of the invention
For the deficiency of above-mentioned technology, the invention provides a kind of fire-fighting industrial bus coding method, data can ensured
While transmission accuracy, it is to avoid bus-free time problem more long.
To achieve the above object, the technical solution adopted by the present invention is as follows:
A kind of fire-fighting industrial bus coding method, comprises the following steps:
(1) fire alarm control unit is using low level pulse that dutycycle is less than 0.3 as bit demal starting point
Encoded, and synchronizing signal;
(2) when encoding, bit " 0 " is determined with the pulse width between level trailing edge twice, is risen with level twice
Pulse width between determines bit " 1 ";Decline to grind per two ends and assign an independent synchronizing signal in coding;
(3) repeat step (2) continuous programming code, until coding is completed, then by bus to intelligent parts signaling.
Further, in the step (2), pulse width when determining bit " 1 " is to determine arteries and veins during bit " 0 "
Fill the twice of width.
Compared with prior art, the invention has the advantages that:
(1) present invention is using a low level pulse width for dutycycle minimum (less than 0.3) as bit demal starting point
Encoded, and with synchronizing signal, because low level pulse width is far smaller than high level, thus bus when reducing coding
The upper idle time, power supply and the driving force of external portion's equipment were both can ensure that, while also reducing to exterior part capacitance
Requirement, reduce the cost that hardware is purchased.
(2) present invention determines bit " 0 " and " 1 " with the pulse width twice between level trailing edge or rising edge, and
A separate synchronizing signal is assigned simultaneously, consequently, it is possible to for comparing the mode of Synchronization, the present invention is not only
Coded system is easy, flow is simple, and equally can ensure that the accuracy of data transfer.
(3) present invention it is all linked with one another, be closely connected, its be fire-fighting industrial bus high efficiency coding and data transfer provide
Ensure, therefore, the present invention is suitable to the popularization and application in technical field of fire control.
Brief description of the drawings
Fig. 1 is schematic flow sheet of the invention.
Fig. 2 is pulse schematic diagram.
Specific embodiment
The invention will be further described with embodiment for explanation below in conjunction with the accompanying drawings, and mode of the invention includes but not only limits
In following examples.
As shown in Figure 1, 2, the invention provides a kind of efficient bus code method, both may insure data transfer
Accuracy, can avoid bus-free time long and cause load capacity to be deteriorated again.Main flow of the invention is as follows:
First, the low level pulse using a dutycycle minimum (less than 0.3) is encoded as bit demal starting point,
And synchronizing signal.During coding, with the pulse width between level trailing edge twice determine bit " 0 " (pulse width as 400~
500 μ s, comprising a low level pulse width of 50~100 μ s), ratio is determined with the pulse width between level rising edge twice
Special position " 1 " (twice of pulse width when pulse width is to determine bit " 0 ", and it is equally wide comprising a low level pulse
Degree), the signal of rising edge and trailing edge is as shown in Figure 2.Also, in the present embodiment, assigned in coding per two ends trailing edge
One independent synchronizing signal, causes coding cumulative errors occur to avoid clock from being advanced or delayed.
In the manner described above, controller continuous programming code, until coding is completed, then by bus to intelligent parts signaling.
The present invention effectively improves the accuracy of fire-fighting industrial bus data transfer by rational software and hardware combining,
And ensure that to the power supply of external equipment and driving force and reduce hardware acquisition cost.Therefore, the present invention is well by work
The skill upgrading of industry bus code to a new height, its compared with prior art, with prominent substantive distinguishing features and aobvious
The progress of work.
Above-described embodiment is only one of the preferred embodiment of the present invention, should not be taken to limit protection model of the invention
Enclose, it is all body design thought of the invention and mentally make have no the change of essential meaning or polishing, what it was solved
Technical problem is still consistent with the present invention, should be included within protection scope of the present invention.
Claims (2)
1. a kind of fire-fighting industrial bus coding method, it is characterised in that comprise the following steps:
(1) fire alarm control unit is carried out using the low level pulse that dutycycle is less than 0.3 as bit demal starting point
Coding, and synchronizing signal;
(2) encode when, bit " 0 " is determined with the pulse width between level trailing edge twice, with level rising edge twice it
Between pulse width determine bit " 1 ";Decline to grind per two ends and assign an independent synchronizing signal in coding;
(3) repeat step (2) continuous programming code, until coding is completed, then by bus to intelligent parts signaling.
2. a kind of fire-fighting industrial bus coding method according to claim 1, it is characterised in that in the step (2), really
Arteries and veins when pulse width when determining bit " 1 " is to determine bit " 0 " fills the twice of width.
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 true CN106911334A (en) | 2017-06-30 |
CN106911334B 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) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107453378A (en) * | 2017-08-02 | 2017-12-08 | 四川赛科安全技术有限公司 | The remote constant pressure method of supplying power to realized the method for fire-fighting bus output variable power and be made up of it |
CN112737905A (en) * | 2020-12-22 | 2021-04-30 | 青岛鼎信通讯消防安全有限公司 | Method and system for transmitting and receiving parallel two-bus communication |
Citations (11)
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 |
CN202795632U (en) * | 2012-07-20 | 2013-03-13 | 深圳市赋安安全系统有限公司 | Two-wire electric fire monitoring system |
CN103378923A (en) * | 2012-04-18 | 2013-10-30 | 北京鼎合远传技术有限公司 | FM (frequency modulation)-based baseband transmission encoding method and apparatus thereof |
CN103811021A (en) * | 2014-02-18 | 2014-05-21 | 天地融科技股份有限公司 | Method and device for waveform analysis |
CN103973279A (en) * | 2013-02-04 | 2014-08-06 | 瑞萨电子株式会社 | Bus communication transceiver |
CN104991440A (en) * | 2015-07-14 | 2015-10-21 | 中北大学 | High-precision IRIG-B(AC) code demodulation method and device |
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 |
CN205405782U (en) * | 2016-02-25 | 2016-07-27 | 四川赛科安全技术有限公司 | Touching formula fire control encoder |
CN106464623A (en) * | 2016-08-05 | 2017-02-22 | 深圳市汇顶科技股份有限公司 | A method and apparatus for transmitting a signal |
-
2017
- 2017-02-28 CN CN201710113010.XA patent/CN106911334B/en active Active
Patent Citations (11)
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 |
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 |
CN103973279A (en) * | 2013-02-04 | 2014-08-06 | 瑞萨电子株式会社 | Bus communication transceiver |
CN103811021A (en) * | 2014-02-18 | 2014-05-21 | 天地融科技股份有限公司 | Method and device for waveform analysis |
CN105049063A (en) * | 2015-06-30 | 2015-11-11 | 电子科技大学 | Grid-shaped pulse interval encoding method |
CN104991440A (en) * | 2015-07-14 | 2015-10-21 | 中北大学 | High-precision IRIG-B(AC) code demodulation method and device |
CN105262489A (en) * | 2015-09-01 | 2016-01-20 | 武汉瑞纳捷电子技术有限公司 | Time delay circuit and time delay method for differential Manchester decoding |
CN205405782U (en) * | 2016-02-25 | 2016-07-27 | 四川赛科安全技术有限公司 | Touching formula fire control encoder |
CN106464623A (en) * | 2016-08-05 | 2017-02-22 | 深圳市汇顶科技股份有限公司 | A method and apparatus for transmitting a signal |
Non-Patent Citations (2)
Title |
---|
SEBASTIEN PILLEMENT: "A new approach of coding to improve speed and noise tolerance of on-chip busses", 《 2008 3RD INTERNATIONAL CONFERENCE ON DESIGN AND TECHNOLOGY OF INTEGRATED SYSTEMS IN NANOSCALE ERA》 * |
黄文: "火灾报警及消防联动系统现场总线技术研究", 《中国优秀硕士学位论文全文数据库 工程科技Ⅰ辑》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107453378A (en) * | 2017-08-02 | 2017-12-08 | 四川赛科安全技术有限公司 | The remote constant pressure method of supplying power to realized the method for fire-fighting bus output variable power and be made up of it |
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 |
CN112737905A (en) * | 2020-12-22 | 2021-04-30 | 青岛鼎信通讯消防安全有限公司 | Method and system for transmitting and receiving parallel two-bus communication |
CN112737905B (en) * | 2020-12-22 | 2022-05-24 | 青岛鼎信通讯消防安全有限公司 | Method and system for transmitting and receiving parallel two-bus communication |
Also Published As
Publication number | Publication date |
---|---|
CN106911334B (en) | 2021-08-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101404556B (en) | One-wire bus communication method | |
CN106911334A (en) | A kind of fire-fighting industrial bus coding method | |
CN201562158U (en) | Multi-robot synchronous control system | |
US9992740B2 (en) | Communication device, program storage medium, and communication method | |
CN104579583A (en) | Improved method for 8b/10b coding mode | |
CN105187070A (en) | Manchester encoding signal decoding method and device | |
CN104424010B (en) | A kind of text document mess code detection and restorative procedure and system | |
CN104320224A (en) | Reliable communication method based on 1553B bus | |
CN105426171A (en) | Synchronization and switching method and system for multiple two-out-of-two systems | |
CN105303848A (en) | Traffic signal single point self-learning optimization control method | |
CN101640540A (en) | Digital signal decoding method | |
CN103593316B (en) | A kind ofly reduce the method that MCU interruption takies I2C bus time | |
CN206363300U (en) | A kind of battery management chip daisy chain communication system | |
CN103246216B (en) | The load mode switch method thereof of a kind of radio-frequency module and radio-frequency module | |
CN103684736A (en) | Clock synchronization method for high-speed communication | |
CN103763064A (en) | CRC code generating method and circuit applicable to ultra-high-speed communication system | |
CN104253667A (en) | System and method for check and feedback of serial synchronous bus for mobile phone platform | |
CN106656415A (en) | Data superframe generation method of adaptive transmission channel | |
CN100581148C (en) | Apparatus and method for realizing real-time detection practical communication baud rate | |
CN109379812B (en) | LED automatic coding address circuit and coding method | |
CN104062896B (en) | The redundancy implementation method of a kind of periodicity control synchronization signal | |
CN107465337B (en) | Driving synchronous control protection method and device applied to IGBT series power module | |
CN201393232Y (en) | Bus communication circuit applying novel CMI encoding | |
CN109412748B (en) | Method and device for encoding and decoding polarization code | |
CN103412529A (en) | Method, device and system for controlling concrete pumping machine oil consumption |
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 |
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. |
|
TA01 | Transfer of patent application right | ||
GR01 | Patent grant | ||
GR01 | Patent grant |