RU2550518C2 - Data transmission method - Google Patents

Data transmission method Download PDF

Info

Publication number
RU2550518C2
RU2550518C2 RU2013111255/08A RU2013111255A RU2550518C2 RU 2550518 C2 RU2550518 C2 RU 2550518C2 RU 2013111255/08 A RU2013111255/08 A RU 2013111255/08A RU 2013111255 A RU2013111255 A RU 2013111255A RU 2550518 C2 RU2550518 C2 RU 2550518C2
Authority
RU
Russia
Prior art keywords
data
current
transmitting
sensor
microcontroller
Prior art date
Application number
RU2013111255/08A
Other languages
Russian (ru)
Other versions
RU2013111255A (en
Inventor
Игорь Георгиевич Саутин
Борис Александрович Ларионов
Вячеслав Витальевич Мельников
Николай Николаевич Сильнягин
Original Assignee
Общество с ограниченной ответственностью "Конструкторское бюро "МЕТРОСПЕЦТЕХНИКА"
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 Общество с ограниченной ответственностью "Конструкторское бюро "МЕТРОСПЕЦТЕХНИКА" filed Critical Общество с ограниченной ответственностью "Конструкторское бюро "МЕТРОСПЕЦТЕХНИКА"
Priority to RU2013111255/08A priority Critical patent/RU2550518C2/en
Publication of RU2013111255A publication Critical patent/RU2013111255A/en
Application granted granted Critical
Publication of RU2550518C2 publication Critical patent/RU2550518C2/en

Links

Abstract

FIELD: physics, communications.
SUBSTANCE: invention relates to communication engineering and specifically to methods of transmitting information from physical quantity detectors using a current loop interface. A method of transmitting data using a current loop interface includes consecutively transmitting on the same transmission lines multiple analogue and digital parameters, wherein digital data are transmitted after transmitting analogue data with association to a second clock-pulse generated by a microcontroller sensor, digital data are transmitted byte-wise while breaking down the current range into 256 subranges, and transmission of control commands from the receiver, which includes a programmable microcontroller, to the sensor is carried out by changing the time of turning on power for, or measurement with testing and outputting of measurement results, or measurement with testing and turning colour display. In the method of transmitting data using a current loop interface, the current in the line ranges from 4 mA to 20 mA.
EFFECT: high noise-immunity of data transmission and powering the sensor directly from the transmission line.
2 cl, 1 dwg

Description

Изобретение относится к технике связи, а именно к способам передачи информации от датчиков физических величин с использованием интерфейса токовой петли. Преимущественно оно может быть использовано в системах пожарной сигнализации для сбора информации от пожарных датчиков. Причем этот способ может быть использован для получения информации от различных устройств, выдающих данные в цифровом или аналоговом виде.The invention relates to communication technology, and in particular to methods of transmitting information from sensors of physical quantities using the current loop interface. Mostly it can be used in fire alarm systems to collect information from fire detectors. Moreover, this method can be used to obtain information from various devices that issue data in digital or analog form.

Известны различные способы передачи данных с помощью интерфейса цифровой токовой петли. Например, известен способ передачи данных с помощью интерфейса цифровой токовой петли, который первоначально нашел применение в телетайпных аппаратах, а потом для радиального подключения различных устройств с последовательной передачей информации (ИРПС) (см. с. 4, ГОСТ 27696-88. Роботы промышленные. Интерфейсы. Технические требования, а также ГОСТ 28854-90 Интерфейс последовательный радиального типа для автоматизированных систем управления рассредоточенными объектами. Общие технические требования). В известном способе передачи данных с помощью интерфейса цифровой токовой петли, выдающего данные в цифровом виде, используют низкий уровень тока от 0 до 3 мА как значение логического нуля. Вместе с тем в этом способе используют и высокий уровень тока от 15 до 25 мА как значение логической единицы. Данные передают стартстопным методом, формат посылки совпадает с RS-232, например 8-N-1:8 бит, без паритета, 1 стоп-бит. В известном способе ИРПС обеспечивают передачу данных со скоростью до 19,2 кбит/с на расстояние до 500 м. Этот способ передачи данных с помощью интерфейса цифровой токовой петли широко применялся в компьютерах, в основном выпускавшихся в СССР и странах СЭВ до 90-х годов двадцатого века. Этот же способ передачи данных в несколько измененном виде применялся и за рубежом. Он описан в стандарте IEC 62056-21 (см. с. 19 IEC 62056-21 International Standard. Electricity metering - Data exchange for metering reading, tariff and load control - Part 21: Direct local data exchange. Преимуществом известного способа передачи данных с помощью интерфейса цифровой токовой петли является высокая помехозащищенность, которая в свою очередь позволяет передавать сигналы на значительные расстояния, вплоть до нескольких километров. Но известный способ имеет крупный недостаток, состоящий в низкой скорости передачи данных.Various methods for transmitting data using the digital current loop interface are known. For example, there is a known method of transmitting data using the digital current loop interface, which was initially used in teletype devices, and then for radial connection of various devices with serial transmission of information (IRPS) (see p. 4, GOST 27696-88. Industrial robots. Interfaces Technical requirements, as well as GOST 28854-90 Serial interface of radial type for automated control systems for dispersed objects. General technical requirements). In the known method of transmitting data using a digital current loop interface that outputs data in digital form, a low current level of 0 to 3 mA is used as a logic zero value. However, this method also uses a high current level of 15 to 25 mA as a value of a logical unit. Data is transmitted using the start-stop method, the send format is the same as RS-232, for example, 8-N-1: 8 bits, without parity, 1 stop bit. In the known method, IRPS provide data transmission at a speed of up to 19.2 kbit / s over a distance of up to 500 m. This method of data transmission using the digital current loop interface has been widely used in computers, mainly produced in the USSR and CMEA countries until the 90s twentieth century. The same method of data transfer in a slightly modified form was used abroad. It is described in IEC 62056-21 (see p. 19 IEC 62056-21 International Standard. Electricity metering - Data exchange for metering reading, tariff and load control - Part 21: Direct local data exchange. An advantage of the known method of data transmission using the interface of the digital current loop is a high noise immunity, which in turn allows signals to be transmitted over long distances, up to several kilometers, but the known method has a major drawback consisting in the low data transfer rate.

Этот недостаток способа передачи данных с помощью интерфейса цифровой токовой петли не присущ известному способу передачи данных с помощью аналоговой токовой петли (см. с. 3 ГОСТ 27696-88. Роботы промышленные. Интерфейсы. Технические требования, а также с. 2 ГСТ 26.011-80 Средства измерений и автоматизации. Сигналы тока и напряжения электрические непрерывные входные и выходные). Этот способ передачи данных является наиболее близким решением к заявляемому (прототипом). В способе-прототипе аналоговую токовую петлю используют для передачи аналогового сигнала по паре проводов в лабораторном оборудовании, системах управления и т.д. Причем в описываемом способе-прототипе применяют смещенный диапазон от 4 до 20 мА, то есть наименьшее значение сигнала соответствует току 4 мА, а наибольшее - 20 мА. Таким образом, весь диапазон допустимых значений занимает 16 мА. Нулевое значение тока в цепи означает обрыв линии и позволяет легко диагностировать такую ситуацию. Описываемый способ передачи данных с помощью интерфейса аналоговой токовой петли используют для получения данных с разнообразных датчиков, например, датчиков давления, температуры и т.д. Также этот способ используют для управления регистрирующими и исполнительными устройствами: самописцами, заслонками и т.д. Его преимуществом является также точность передачи данных, которая не зависит от длины и сопротивления линии передачи, поскольку управляемый источник тока будет автоматически поддерживать требуемый ток в линии. Кроме того, при использовании этого способа, можно «запитывать» датчик непосредственно от линии передачи. Но необходимо отметить, что в данном способе по линии связи возможна передача только одного потока информации, например, текущего значения температуры. Это и является его крупным недостатком.This drawback of the method of transmitting data using the digital current loop interface is not inherent in the known method of transmitting data using an analog current loop (see p. 3 GOST 27696-88. Industrial robots. Interfaces. Technical requirements, as well as with. 2 GST 26.011-80 Means of measurement and automation.Signals of current and voltage, electrical, continuous input and output). This method of data transfer is the closest solution to the claimed (prototype). In the prototype method, an analog current loop is used to transmit an analog signal over a pair of wires in laboratory equipment, control systems, etc. Moreover, in the described prototype method, an offset range of 4 to 20 mA is used, that is, the smallest signal value corresponds to a current of 4 mA, and the largest - 20 mA. Thus, the entire allowable range is 16 mA. A zero value of the current in the circuit means an open circuit and makes it easy to diagnose this situation. The described method of data transmission using the analog current loop interface is used to obtain data from a variety of sensors, for example, pressure sensors, temperature sensors, etc. Also, this method is used to control recording and executive devices: recorders, shutters, etc. Its advantage is also the accuracy of data transmission, which does not depend on the length and resistance of the transmission line, since the controlled current source will automatically maintain the required current in the line. In addition, when using this method, you can "power" the sensor directly from the transmission line. But it should be noted that in this method, only one stream of information, for example, the current temperature value, can be transmitted over the communication line. This is its major drawback.

Задача, которую поставил перед собой разработчик нового способа передачи данных, состояла в создании такого способа, который позволил бы передавать данные с высокой степенью точности и помехоустойчивости, с отсутствием чувствительности к длине линии, а также передавать данные с высокой скоростью и на большие расстояния.The task set by the developer of a new data transmission method was to create a method that would allow data to be transmitted with a high degree of accuracy and noise immunity, with no sensitivity to line length, and also to transmit data at high speed and over long distances.

Техническим результатом заявляемого способа явилась большая помехозащищенность передачи данных, а также возможность запитывания датчика непосредственно от линии передачи.The technical result of the proposed method was a large noise immunity of data transmission, as well as the ability to power the sensor directly from the transmission line.

Сущность изобретения состоит в том, что в способе передачи данных с помощью интерфейса токовой петли последовательно передают по одним и тем же линиям связи несколько аналоговых, а также цифровых параметров, причем цифровые данные передают после передачи аналоговых данных с привязкой ко второму синхроимпульсу, сформированному микроконтроллером датчика, цифровые данные передают побайтно с разбиением диапазона тока на 256 поддиапазонов, а передачу управляющих команд с приемника, включающего программируемый микроконтроллер, на датчик осуществляют путем изменения времени включения питания на линии, при этом в зависимости от принятой управляющей команды датчиком осуществляют разные действия.The essence of the invention lies in the fact that in the method of transmitting data using the current loop interface, several analog as well as digital parameters are sequentially transmitted over the same communication lines, and the digital data is transmitted after transmitting the analog data with reference to the second clock pulse generated by the sensor microcontroller , digital data is transmitted byte-by-bit with the current range being divided into 256 sub-bands, and the transmission of control commands from the receiver, including the programmable microcontroller, to the fected by changing the time of inclusion on the power line, while according to the received control command sensor perform different actions.

Вместе с тем, сущность изобретения состоит и в том, что в способе передачи данных с помощью интерфейса токовой петли, диапазон тока в линии принимают в пределах от 4 до 20 мА.However, the essence of the invention lies in the fact that in the method of transmitting data using the current loop interface, the range of current in the line is taken in the range from 4 to 20 mA.

Заявляемый способ может быть реализован, например, при осуществлении взаимодействия и управления многофункциональным пожарным датчиком, а также получения от него необходимой информации со стороны устройства сбора информации.The inventive method can be implemented, for example, in the implementation of interaction and control of a multifunctional fire sensor, as well as receiving from him the necessary information from the information collection device.

Изобретение поясняется графически, где на фиг. 1 изображена схема устройства для реализации способа передачи данных с помощью интерфейса токовой петли между пожарным датчиком и приемным устройством.The invention is illustrated graphically, where in FIG. 1 shows a diagram of a device for implementing a data transmission method using a current loop interface between a fire detector and a receiving device.

Устройство для реализации способа передачи данных с помощью интерфейса токовой петли состоит из приемного устройства 1, в которое входит микроконтроллер 2. К выходу микроконтроллера 2 подключен управляющий вход электронного ключа 3. Источник питания постоянного тока 4 через электронный ключ 3 соединен с пожарным датчиком 5 линией связи 6. К входу микроконтроллера 2 подключен аналого-цифровой преобразователь (АЦП) 7, ко входу которого присоединен измерительный резистор 8. Измерительный резистор 8 подключен последовательно к линии связи 6, что позволяет производить измерение тока в петле. Микроконтроллер 2 через шину данных 9 связан с внешним управляющим устройством - пультом центрального наблюдения системы пожарной сигнализации 10. А пожарный датчик 5 состоит из микроконтроллера 11, соединенного с датчиком температуры 12 и дымовой камерой 13. Вход микроконтроллера 11 соединен с вторичным источником питания 14, а его выход - с управляемым генератором тока 15. Один из выходов контроллера 11 подключен к устройству световой индикации «Пожар» 16.A device for implementing the method of transmitting data using the current loop interface consists of a receiving device 1, which includes a microcontroller 2. The control input of the electronic key 3 is connected to the output of the microcontroller 2. The DC power supply 4 is connected to the fire sensor 5 via an electronic key 3 via a communication line 6. An analog-to-digital converter (ADC) 7 is connected to the input of the microcontroller 2, and a measuring resistor 8 is connected to its input. The measuring resistor 8 is connected in series to the communication line 6, which It allows to measure the current in the loop. Microcontroller 2 via data bus 9 is connected to an external control device - the central monitoring panel of the fire alarm system 10. And the fire detector 5 consists of a microcontroller 11 connected to a temperature sensor 12 and a smoke chamber 13. The input of the microcontroller 11 is connected to a secondary power source 14, and its output is with a controlled current generator 15. One of the outputs of the controller 11 is connected to the light indication device "Fire" 16.

Новый способ передачи данных с помощью интерфейса токовой петли осуществляют следующим образом. С помощью микроконтроллера 2 приемного устройства 1 с заданной периодичностью и длительностью через электронный ключ 3 коммутируют напряжение с источника питания постоянного тока 4 на пожарный датчик 5. Коммутируют напряжение через линию связи 6. А с помощью пожарного датчика 5 в зависимости от длительности прихода напряжения питания выполняют разные действия. При этом значения интервалов времени разделяют на первый, второй и третий. Они соответствуют трем управляющим командам: «измерение», «измерение с тестированием и выдачей его результатов» и «измерение с тестированием и включением световой индикации».A new method of transmitting data using the current loop interface is as follows. Using the microcontroller 2 of the receiving device 1 with a given frequency and duration through the electronic key 3, the voltage is switched from the DC power source 4 to the fire sensor 5. The voltage is switched through the communication line 6. And using the fire sensor 5, depending on the duration of the supply voltage different actions. The values of the time intervals are divided into the first, second and third. They correspond to three control commands: “measurement”, “measurement with testing and delivery of its results” and “measurement with testing and inclusion of light indication”.

Работу пожарного датчика 5 в режиме измерения осуществляют следующим образом. С помощью приемного устройства 1 подают питание на пожарный датчик 5 в течение времени, равного первому интервалу. Эту операцию выполняют с помощью микропроцессора 2 путем подачи управляющего сигнала заданной длительности на управляющий вход электронного ключа 3. При этом с помощью электронного ключа 3 коммутируют напряжение источника питания 4 на линию связи 6. А непосредственно передачу данных осуществляют следующим образом. С помощью микроконтроллера 11 пожарного датчика 5 получают напряжение питания и величину длительности интервала времени с линии связи 6 через вторичный источник питания 14. Значения температуры получают с датчика температуры 12. Уровень задымленности в дымовой камере 13 получают также с помощью микроконтроллера 11. Далее с помощью микроконтроллера 11, а также управляемого генератора тока 15 формируют в токовой петле ответный короткий синхронизирующий импульс заданной амплитуды. После этого в течение двух коротких временных промежутков с помощью микроконтроллера 11 передают последовательно аналоговые значения температуры от датчика температуры 12 и уровня задымленности в дымовой камере 13. Аналоговые значения температуры и уровня задымленности передают величинами постоянного тока в диапазоне от 4 до 20 мА и с привязкой ко времени к синхронизирующему импульсу. А прием данных осуществляют следующим образом. С помощью микроконтроллера 2 приемного устройства 1 через АЦП 7 с определенным темпом считывают значения тока в линии связи 6. Это осуществляют путем измерения падения напряжения на измерительном резисторе 8 и заносят эти измерения в оперативную память микроконтроллера 2. По истечении первого интервала времени, которое соответствует управляющей команде «измерение», с помощью микроконтроллера 2 приемного устройства 1 снимают питание с пожарного датчика 5. Затем программным способом при помощи микроконтроллера 2 выделяют из зафиксированных отсчетов тока время прихода синхронизирующего импульса. Фиксируют отсчеты АЦП 7 в моменты, соответствующие передаче данных температуры и уровня задымленности пожарным датчиком 5. Эти моменты времени определяют в течение каждого информационного импульса тока окончанием переходных процессов установления тока в цепи. После этого с помощью микроконтроллера 2 программно преобразуют эти значения тока в соответствующие физические величины температуры и оптической плотности среды. Далее с помощью микроконтроллера 2 выдают эти преобразованные величины для дальнейшей обработки через шину данных 9 на пульт центрального наблюдения системы пожарной сигнализации 10.The operation of the fire sensor 5 in the measurement mode is as follows. Using the receiving device 1, power is supplied to the fire detector 5 for a time equal to the first interval. This operation is performed using a microprocessor 2 by supplying a control signal of a given duration to the control input of the electronic key 3. In this case, using the electronic key 3, the voltage of the power supply 4 is switched to the communication line 6. And the direct data transfer is carried out as follows. Using the microcontroller 11 of the fire sensor 5, the supply voltage and the duration of the time interval from the communication line 6 are obtained via the secondary power supply 14. The temperature values are obtained from the temperature sensor 12. The smoke level in the smoke chamber 13 is also obtained using the microcontroller 11. Next, using the microcontroller 11, as well as a controlled current generator 15, form a response short synchronizing pulse of a given amplitude in the current loop. After that, for two short periods of time, the analog temperature values from the temperature sensor 12 and the smoke level in the smoke chamber 13 are transmitted sequentially using the microcontroller 11. The analog values of the temperature and smoke level are transmitted by direct current values in the range from 4 to 20 mA and with reference to time to the clock pulse. And receiving data is as follows. Using the microcontroller 2 of the receiving device 1 through the ADC 7 with a certain pace read the current values in the communication line 6. This is done by measuring the voltage drop across the measuring resistor 8 and enter these measurements into the RAM of the microcontroller 2. After the first time interval that corresponds to the control to the “measurement” command, using the microcontroller 2 of the receiving device 1, the power is removed from the fire sensor 5. Then, using the microcontroller 2, programmatically, they are isolated from the fixed current samples the time of arrival of the synchronizing pulse. The ADC 7 readings are recorded at the moments corresponding to the transmission of temperature and smoke level data by the fire sensor 5. These time moments are determined during each information current pulse by the end of transient processes of establishing current in the circuit. After that, using the microcontroller 2 programmatically convert these current values into the corresponding physical quantities of temperature and optical density of the medium. Then, using the microcontroller 2, these converted values are output for further processing through the data bus 9 to the central monitoring console of the fire alarm system 10.

Работу пожарного датчика 5 в режиме тестирования проводят следующим образом. С помощью приемного устройства 1 включают питание на пожарный датчик 5 в течение времени, равного второму интервалу. Этот интервал соответствует второй управляющей команде - «измерение с тестированием и выдачей результатов тестирования», который по длительности больше первого интервала. Эту операцию осуществляют с помощью микроконтроллера 2 путем подачи управляющего сигнала заданной длительности на управляющий вход электронного ключа 3. При этом электронный ключ 3 коммутирует напряжение источника питания 4 на линию связи 6 аналогично тому, как это производится при формировании первой управляющей команды. В течение первого интервала времени с помощью пожарного датчика 5 выполняют действия, как описано выше. Но если с помощью микроконтроллера 11 пожарного датчика 5 фиксируют наличие напряжения питания после окончания первого временного интервала, то в данном случае начинают осуществлять выполнение операции режима тестирования. Далее, после завершения операций тестирования, с помощью микроконтроллера 11 пожарного датчика 5 и генератора тока 15 формируют второй синхронизирующий импульс, аналогичный первому. По окончании этого импульса передают результат тестирования. Результат тестирования представляет собой аналоговое значение собственной температуры датчика температуры 12 в режиме его проверки в виде импульса постоянного тока в диапазоне от 4 до 20 мА, привязанного к указанному синхронизирующему импульсу. После этого передают цифровые данные, включающие заводской номер пожарного датчика, информацию о производителе, типе прибора и дате его выпуска в цифровом виде представления информации. Передачу данных осуществляют способом передачи импульсов тока в петле, побайтно, путем разбиения диапазона тока 4-20 мА на 256 поддиапазонов тока (по количеству значений кодов в байте) и передачей каждого байта в течение коротких промежутков времени с привязкой к второму синхроимпульсу. Передаваемые цифровые данные содержат поле синхронизации, данные и циклическую контрольную сумму для защиты от ошибок. С помощью микроконтроллера 2 приемного устройства 1 через АЦП 7 считывают отсчеты значения тока. Это осуществляют в определенном темпе в линии связи 6. Причем делают это путем измерения падения напряжения на измерительном резисторе 8. Далее эти цифровые данные заносят в оперативную память микроконтроллера 2. По истечении второго интервала времени с помощью микроконтроллера 2 приемного устройства 1 отключают питание с пожарного датчика 5. Затем программным способом выделяют из зафиксированных отсчетов тока время прихода второго синхронизирующего импульса, а также фиксируют отсчеты АЦП 7 в моменты времени, соответствующие передаче данных с результатом тестирования, и цифровые данные с информацией о производителе, типе прибора и дате выпуска в моменты времени. После этого с помощью микроконтроллера 2 программно преобразуют указанные значения тока в соответствующие данные и выдают их на пульт центрального наблюдения системы пожарной сигнализации 10 для дальнейшей обработки. Включение устройства световой индикации «Пожар» пожарного датчика производят следующим образом. На время третьего интервала времени, соответствующего третьей управляющей команде - «измерение с тестированием и включением световой индикации», коммутируют питание на пожарный датчик 5. Это производят с помощью микроконтроллера 2 приемного устройства 1. В течение второго интервала времени с пожарного датчика 5 передают данные, как было описано выше. Но если с помощью пожарного датчика 5 фиксируют наличие напряжения питания после окончания второго интервала времени, то в данном случае осуществляют выполнение операции по включению режима световой индикации. Это производят с помощью микроконтроллера 11 пожарного датчика 5 подачей управляющего напряжения на устройство световой индикации «Пожар» 16. Устройство световой индикации «Пожар» 16 работает до момента отключения напряжения питания приемным устройством 1 на пожарном датчике 5.The operation of the fire sensor 5 in test mode is as follows. Using the receiving device 1 turn on the power to the fire sensor 5 for a time equal to the second interval. This interval corresponds to the second control command - “measurement with testing and delivery of test results”, which is longer than the first interval in duration. This operation is carried out using a microcontroller 2 by supplying a control signal of a given duration to the control input of the electronic key 3. In this case, the electronic key 3 commutes the voltage of the power supply 4 to the communication line 6 in the same way as when the first control command is generated. During the first time interval using the fire sensor 5 perform the actions as described above. But if, using the microcontroller 11 of the fire sensor 5, the presence of the supply voltage is detected after the end of the first time interval, then in this case, the operation of the test mode operation is started. Further, after completion of the testing operations, a second synchronizing pulse, similar to the first, is formed using the microcontroller 11 of the fire sensor 5 and the current generator 15. At the end of this impulse, the test result is transmitted. The test result is an analogue value of the intrinsic temperature of the temperature sensor 12 in the test mode in the form of a direct current pulse in the range from 4 to 20 mA, tied to the specified synchronizing pulse. After that, digital data is transmitted, including the serial number of the fire sensor, information about the manufacturer, the type of device and the date of its release in digital form for the presentation of information. Data transmission is carried out by the method of transmitting current pulses in a loop, byte-by-by-line, by dividing the 4-20 mA current range into 256 current sub-bands (by the number of codes in a byte) and transmitting each byte for short periods of time with reference to the second clock pulse. The transmitted digital data contains a synchronization field, data and a cyclic checksum to protect against errors. Using the microcontroller 2 of the receiving device 1 through the ADC 7 read samples of the current value. This is carried out at a certain pace in the communication line 6. Moreover, they do this by measuring the voltage drop across the measuring resistor 8. Next, these digital data are stored in the RAM of the microcontroller 2. After the second time interval, the power from the fire sensor is turned off using the microcontroller 2 of the receiving device 1 5. Then, the program determines the time of arrival of the second synchronizing pulse from the recorded current samples, and also records the ADC 7 at time points corresponding to the transmission yes GOVERNMENTAL with the result of the test, and digital data with information about the manufacturer, the type of instrument and the date of issue at time points. After that, using the microcontroller 2 programmatically convert the indicated current values into the corresponding data and give them to the central monitoring console of the fire alarm system 10 for further processing. The inclusion of the light indication device "Fire" of the fire sensor is as follows. At the time of the third time interval corresponding to the third control command - “measurement with testing and turning on the light indication”, the power is switched to the fire sensor 5. This is done using microcontroller 2 of the receiving device 1. During the second time interval, data is transmitted from the fire sensor 5, as described above. But if, with the help of the fire sensor 5, the presence of the supply voltage is detected after the end of the second time interval, then in this case, the operation to enable the light indication mode is performed. This is done using the microcontroller 11 of the fire sensor 5 by applying a control voltage to the light indication device "Fire" 16. The light indication device "Fire" 16 works until the power supply is disconnected by the receiving device 1 on the fire sensor 5.

Применение заявляемого способа передачи данных между приемным устройством и пожарным датчиком с помощью токовой петли позволило уменьшить время обмена данными, включающими совокупность нескольких параметров между датчиком и приемным устройством. Кроме того, применение заявляемого способа позволило сохранить высокую помехоустойчивость канала связи в условиях воздействия индустриальных помех, сохранить высокую точность при передаче аналоговых величин, сэкономить значительное количество электроэнергии преимущественно при работе в режиме измерения и, следовательно, улучшить параметры энергопотребления системы пожарной сигнализации в режиме работы от резервной батареи, а также увеличить ресурс работы пожарных датчиков.The use of the inventive method of transmitting data between the receiving device and the fire sensor using the current loop has reduced the data exchange time, including a combination of several parameters between the sensor and the receiving device. In addition, the application of the proposed method allowed us to maintain high noise immunity of the communication channel under the influence of industrial interference, to maintain high accuracy in the transmission of analog values, to save a significant amount of electricity mainly when working in measurement mode and, therefore, to improve the energy consumption of the fire alarm system in operation from backup battery, as well as increase the life of the fire sensors.

Claims (2)

1. Способ передачи данных с помощью интерфейса токовой петли, отличающийся тем, что в способе последовательно передают по одним и тем же линиям связи несколько аналоговых, а также цифровых параметров, причем цифровые данные передают после передачи аналоговых данных с привязкой ко второму синхроимпульсу, сформированному микроконтроллером датчика, цифровые данные передают побайтно с разбиением диапазона тока на 256 поддиапазонов, а передачу управляющих команд с приемника, включающего программируемый микроконтроллер, на датчик осуществляют путем изменения времени включения питания на линии, при этом в зависимости от принятой управляющей команды датчиком осуществляют измерение, или измерение с тестированием и выдачей его результатов, или измерение с тестированием и включением цветовой индикации.1. A method of transmitting data using the current loop interface, characterized in that in the method several analogue and also digital parameters are sequentially transmitted over the same communication lines, the digital data being transmitted after transmitting the analogue data with reference to a second clock pulse generated by the microcontroller the sensor, digital data is transmitted byte-by-bit with the current range being divided into 256 sub-bands, and control commands are transmitted from the receiver, including the programmable microcontroller, to the sensor m by changing the power-on time to the line, while depending on the received control command sensor measurement is performed, or the measurement with the testing and issuing of the results, or the measurement with the testing and switching the display color. 2. Способ передачи данных с помощью интерфейса токовой петли по п. 1, отличающийся тем, что диапазон тока в линии принимают в пределах от 4 до 20 мА. 2. The method of transmitting data using the current loop interface according to claim 1, characterized in that the range of current in the line is taken in the range from 4 to 20 mA.
RU2013111255/08A 2013-03-12 2013-03-12 Data transmission method RU2550518C2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
RU2013111255/08A RU2550518C2 (en) 2013-03-12 2013-03-12 Data transmission method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
RU2013111255/08A RU2550518C2 (en) 2013-03-12 2013-03-12 Data transmission method

Publications (2)

Publication Number Publication Date
RU2013111255A RU2013111255A (en) 2013-07-27
RU2550518C2 true RU2550518C2 (en) 2015-05-10

Family

ID=49155495

Family Applications (1)

Application Number Title Priority Date Filing Date
RU2013111255/08A RU2550518C2 (en) 2013-03-12 2013-03-12 Data transmission method

Country Status (1)

Country Link
RU (1) RU2550518C2 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6211649B1 (en) * 1999-03-25 2001-04-03 Sourcenext Corporation USB cable and method for charging battery of external apparatus by using USB cable
US6377859B1 (en) * 1996-10-04 2002-04-23 Fisher Controls International, Inc. Maintenance interface device for a use in a process control network
RU29789U1 (en) * 2002-10-23 2003-05-27 Федеральное государственное унитарное предприятие "Научно-производственное предприятие "Рубин" UNIFIED CONTROL AND MANAGEMENT UNIT
RU2269154C1 (en) * 2004-05-25 2006-01-27 Открытое акционерное общество "Научно-производственное предприятие "Рубин" (ОАО "НПП "Рубин") Telecommunication multi-functional multiplexer
RU2342639C2 (en) * 2002-08-13 2008-12-27 Вега Грисхабер Кг System for manufacture of device with modular design for determination of physical value in technological process and unified components
RU2396528C1 (en) * 2009-04-28 2010-08-10 Общество с ограниченной ответственностью "Научно-производственное предприятие "Резонанс" Pressure measuring device
RU2434270C2 (en) * 2006-11-09 2011-11-20 Роузмаунт, Инк. Interfacing unit (versions) and method, for communication between computer and field device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6377859B1 (en) * 1996-10-04 2002-04-23 Fisher Controls International, Inc. Maintenance interface device for a use in a process control network
US6211649B1 (en) * 1999-03-25 2001-04-03 Sourcenext Corporation USB cable and method for charging battery of external apparatus by using USB cable
RU2342639C2 (en) * 2002-08-13 2008-12-27 Вега Грисхабер Кг System for manufacture of device with modular design for determination of physical value in technological process and unified components
RU29789U1 (en) * 2002-10-23 2003-05-27 Федеральное государственное унитарное предприятие "Научно-производственное предприятие "Рубин" UNIFIED CONTROL AND MANAGEMENT UNIT
RU2269154C1 (en) * 2004-05-25 2006-01-27 Открытое акционерное общество "Научно-производственное предприятие "Рубин" (ОАО "НПП "Рубин") Telecommunication multi-functional multiplexer
RU2434270C2 (en) * 2006-11-09 2011-11-20 Роузмаунт, Инк. Interfacing unit (versions) and method, for communication between computer and field device
RU2396528C1 (en) * 2009-04-28 2010-08-10 Общество с ограниченной ответственностью "Научно-производственное предприятие "Резонанс" Pressure measuring device

Also Published As

Publication number Publication date
RU2013111255A (en) 2013-07-27

Similar Documents

Publication Publication Date Title
CN103698366A (en) Multifunctional digital rock-soil static cone penetration test system
CN102179728A (en) Device for intelligently detecting abrasion of numerical control cutting tool
CN103675461B (en) Based on the resistance measurement method of adjustable current source
KR101165941B1 (en) Control/monitor signal transmission system
CN201314846Y (en) Temperature inspecting instrument
CN103454004B (en) A kind of digital multi-drop temp measuring system and implementation method
CN103776364B (en) A kind of have the angular surveying and fault diagnosis system that fly to turn warning function
CN204855788U (en) Error treater and electric energy meter calibration device
CN104625276A (en) On-line operation parameter real-time monitoring system and method of spark machine
CN106969270B (en) Acquisition device for detecting pipeline leakage based on sound wave detection and use method
RU2550518C2 (en) Data transmission method
CN203479406U (en) Intelligent temperature recorder
CN105223463A (en) The monitoring system of ring main unit and method
CN105589450A (en) Calibration method of airplane flow control box test system
CN203705070U (en) Temperature-detecting device for power battery pack
CN203643034U (en) Multipoint temperature measurement monitoring system based on DS18B20 chip
CN206440390U (en) A kind of monitoring system based on wireless senser
CN204649151U (en) Plank length intelligent device for measuring
CN205016255U (en) Measure redundant excellent position detecting system
CN202256370U (en) Rotating speed monitoring protector
CN204594578U (en) The luminous power collector of fiber laser and based on its ageing tester
CN203443688U (en) Digital multipoint temperature measurement system
CN207660601U (en) A kind of well testing depth test system
Rajmond et al. 8 channel configurable data logger for reliability testing and quality assurance
CN205538793U (en) Critical freeze injury temperature detector of plant

Legal Events

Date Code Title Description
MM4A The patent is invalid due to non-payment of fees

Effective date: 20200313