CN106911334A - A kind of fire-fighting industrial bus coding method - Google Patents

A kind of fire-fighting industrial bus coding method Download PDF

Info

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
Application number
CN201710113010.XA
Other languages
Chinese (zh)
Other versions
CN106911334B (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
Sichuan Saike Security Technology 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 Sichuan Saike Security Technology Co Ltd filed Critical Sichuan Saike Security Technology 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

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 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

A kind of fire-fighting industrial bus coding method
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.
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 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)

* Cited by examiner, † Cited by third party
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)

* 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
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

Patent Citations (11)

* 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
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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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
CN105099843A (en) Run time compression method for a vehicle communication bus
CN101404556B (en) One-wire bus communication method
CN106911334A (en) A kind of fire-fighting industrial bus coding method
CN104503350B (en) The implementation method and controller of dual-redundant CAN bus
CN201562158U (en) Multi-robot synchronous control system
US9992740B2 (en) Communication device, program storage medium, and communication method
CN104978291A (en) Single line interface bus receiving and dispatching system based on I2C (Inter-Integrated Circuit) bus protocol, and I2C bus communication method
WO2009048298A3 (en) Method for setting output bit rate for video data transmission in a wibro system
CN104579583A (en) Improved method for 8b/10b coding scheme
CN102011287A (en) Water pressure sensing method used for washing machine
CN101702639A (en) Check value calculation method and device of cyclic redundancy check
CN104320224A (en) Reliable communication method based on 1553B bus
CN103841210B (en) It is method of data synchronization that adjustable main is standby
CN108958114A (en) It is built in MCU for realizing the hardware compression method of industrial bus communication
CN103593316B (en) A kind ofly reduce the method that MCU interruption takies I2C bus time
CN103269256A (en) Information timeliness safety judgment method in safety coding communication system
CN111988417A (en) Communication control method of physical network terminal
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
CN107423248B (en) Data frame header sending method and sending device
CN105591731B (en) A kind of DBPL coding/decoding method of active balise
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

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