CN112985508A - Coding and communication method for multifunctional sensor output - Google Patents

Coding and communication method for multifunctional sensor output Download PDF

Info

Publication number
CN112985508A
CN112985508A CN202110279169.5A CN202110279169A CN112985508A CN 112985508 A CN112985508 A CN 112985508A CN 202110279169 A CN202110279169 A CN 202110279169A CN 112985508 A CN112985508 A CN 112985508A
Authority
CN
China
Prior art keywords
sensor
output
signal
vibration
event types
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.)
Pending
Application number
CN202110279169.5A
Other languages
Chinese (zh)
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.)
Sichuan Communication Scientific Research Planning And Design Co ltd
Original Assignee
Sichuan Communication Scientific Research Planning And Design 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 Communication Scientific Research Planning And Design Co ltd filed Critical Sichuan Communication Scientific Research Planning And Design Co ltd
Priority to CN202110279169.5A priority Critical patent/CN112985508A/en
Publication of CN112985508A publication Critical patent/CN112985508A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D21/00Measuring or testing not otherwise provided for
    • G01D21/02Measuring two or more variables by means not covered by a single other subclass
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C19/00Electric signal transmission systems

Abstract

The invention relates to the technical field of signal processing, and provides a coding and communication method for multifunctional sensor output. The sensor can output more information, so that high-level data analysis is facilitated, and meanwhile, a single data line is used for transmission, so that the material cost is saved. The main scheme comprises the following steps: acquiring output signals of each sensor, and counting the output signals of each sensor to obtain the signal triggering times n of each sensor in a unit time period t; step 2: defining event types according to the signal triggering times n of each sensor in the unit time period t to obtain different event types; and step 3: and generating signal pulses with different pulse widths corresponding to the event types according to the event types.

Description

Coding and communication method for multifunctional sensor output
Technical Field
The invention relates to the technical field of signal processing, and provides a coding and communication method for multifunctional sensor output.
Background
The traditional security system mainly comprises various types of sensors and cameras with various working principles, and the basic working mode is that various sensors are used as trigger sources, only two state signals of 'presence' and 'absence' or alarms are generated, and then verification and confirmation are carried out through the cameras in a mechanical or manual mode. With the rise of artificial intelligence in recent years, the dependence of security systems on camera video information is gradually increased, and related technologies and products are continuously updated. Although the technology and equipment of the sensor are continuously improved, the more progress is to improve the perception precision and reduce the cost of the single sensing technology, the position of the sensor is still used as a trigger of the system, and the information generated by the sensor is not further mined and processed.
If data information generated by various sensors is mined and processed, on one hand, the information types output by the sensor information need to be increased to express more information content, and on the other hand, the cost in the actual use process needs to be considered, and the cost, namely the manufacturing cost of equipment and the construction use cost, cannot be obviously increased.
The existing sensor, no matter the working mode or the working principle, has two main modes for information output: a switched level output and a standard protocol interface output.
And (3) switching type level output: that is, whether information is output or not is indicated by the high and low of the level, for example, if the sensor is triggered, the output is expressed by the high level, for example, an electric signal of 3.3V is continuously output; if the sensor is not triggered, it is expressed as a low level, for example, an electric signal of 0V is continuously output. The output mode is simple in principle and low in implementation cost, and the common sound control lamp is implemented based on the sensor output. However, the disadvantage of the output mode is obvious, 1. the information is simple to express, only two states of '0' and '1', only 'none' and 'present' can be expressed, and more information cannot be expressed. In fact, the sensing device of the sensor can provide the strength information of the signal, such as the size of sound, the distance between objects, the moving speed, the vibration strength and the like. But these messages cannot be expressed in the binary state of only "0" and "1" so that much of the message is discarded.
And (3) outputting a standard protocol interface: various programmable microprocessors have rich interface output protocols, such as RS232 RS485 IIC, SPI and the like. The disadvantage that the switch type level output can not express a plurality of information can be solved. The problem of information transmission can be effectively solved. The disadvantage is that one interface can only connect one device, and the connection distance cannot be too long. However, in engineering use, the number of sensors is large, and if one interface is connected with only one device, the cost of the device is increased; in addition, the sensor equipment cannot be networked in a chain type cascade mode. The chain type cascade networking can save wires used for transmission. Therefore, although the standard protocol interface can solve the problem of small information expression quantity of the switch type level output mode, the cost is high, and the problem of engineering realization cannot be solved.
For example, patent 2017111435462 discloses an information fusion-based anti-theft system for motor vehicles, which discloses a microwave doppler sensor array, a vibration sensor array, etc., which only transmits the collected information of a single sensor to the post-processing stage, and does not perform fusion processing on the information collected by each sensor before processing, and requires multiple signal lines to process the collected information for the subsequent units.
Disclosure of Invention
The technical method mainly solves the problem of providing an output coding mode and a data transmission mechanism of the multifunctional sensor. The sensor can output more information, data analysis of a high layer is facilitated, meanwhile, transmission of a single data line is achieved, and material cost is saved.
In order to solve the technical problems, the invention adopts the following technical scheme.
A method of encoding and communicating a multifunction sensor output, comprising the steps of:
step 1: acquiring output signals of each sensor, and counting the output signals of each sensor to obtain the signal triggering times n of each sensor in a unit time period t;
step 2: defining event types according to the signal triggering times n of each sensor in the unit time period t to obtain different event types;
and step 3: generating signal pulses with different pulse widths corresponding to each event type according to the event type;
further, the pulse width refers to the time duration Tn during which the nV voltage is generated on the signal line.
Further, all sensors include microwave sensors and vibration sensors.
Further, the event type corresponds to the following decision conditions:
event type Duration of signal pulse signal
Microwave oven T1
Strong microwave T2
Vibration T3
Strong vibration T4
Microwave oven&Vibration T5
The invention provides coding equipment which comprises a radio frequency antenna, an intermediate frequency signal filter, an amplifier, a comparator and a single chip microcomputer which are sequentially connected.
Because the invention adopts the technical scheme, the invention has the following beneficial effects:
in a standard protocol interface output mode, the RS485 cascade networking can effectively solve the problems and is closest to the technical method. Compared with RS485, the technical method can bear more information unlike RS485, but still has the advantages of economical construction materials and simple function realization:
RS485 uses 4 electric wires to communicate, 2 power cords, 2 data lines (data line is a sending and is received), and this technical scheme uses 3 electric wires, two power cords, 1 signal line of messenger. One wire is saved. The more sensors are deployed, the more significant the cost advantage.
Due to the chain type cascade, the RS485 adopts a polling mode, namely the system needs to run continuously. The technical method is controlled by an interrupt (a processing mode of a microprocessor), namely, the system works when needed and is in a silent idle state when not needed. The system can achieve low power consumption, and the code implementation logic is simpler.
RS485 needs microprocessor and special RS485 level conversion chip cooperation to realize, and this scheme only uses this microprocessor, does not need a level conversion device just can accomplish, has saved the device cost.
Under the condition of the same effect in certain specific application scenes, compared with RS485, the resource used and occupied by the technical method has obvious cost advantage. The method is suitable for certain projects which are sensitive to cost.
The technical method is applied to an outdoor security system which is customized and developed, and the capacity improvement of the sensing equipment in the security system can be realized through the technical method, so that the sensor can express more information instead of a simple trigger which only expresses 'existence' or 'nonexistence', and more detailed sensing information is provided for data analysis of an upper-layer system. Under the premise of not increasing the cost remarkably, the intelligent level and the accuracy degree of the security system are improved.
Drawings
Fig. 1 is a schematic diagram of output pulses.
Detailed Description
A method of encoding and communicating a multifunction sensor output, comprising the steps of:
step 1: acquiring output signals of each sensor, and counting the output signals of each sensor to obtain the signal triggering times n of each sensor in a unit time period t;
step 2: defining event types according to the signal triggering times n of each sensor in the unit time period t to obtain different event types;
and step 3: generating signal pulses with different pulse widths corresponding to each event type according to the event type;
example 1
The technical concept disclosed by the invention is as follows: according to business needs, information sensed by the sensors is abstracted into different event types to obtain a set of information types so as to distinguish and transmit the information.
The sensor in the technical scheme comprises two sensing functions of microwave and vibration, and the microwave and the vibration are respectively in intensity, and according to the service requirement of an upper layer, the information of the sensor can be abstracted into different event types to form a set. For example: { microwave, vibration, microwave plus vibration, strong microwave, strong vibration }, thus completing the abstraction of information.
The method has the advantages that the microwave and vibration simulation information detected by the sensor is abstracted into event types, the complex simulation signals detected by the sensor are not required to be transmitted and output, the detected simulation signals are abstracted into a plurality of events, and more information is expressed through a plurality of event types compared with the traditional trigger type sensor, so that statistics and calculation are facilitated.
Furthermore, event types, namely conditions for occurrence of each event, are defined according to physical characteristics and business requirements of the sensors, and a corresponding relation between information detected by the sensors and the event types is obtained. For example, how a "microwave" event occurs is defined, how a "strong microwave" event is defined, or what conditions are considered to have occurred { microwave, vibration, microwave and vibration, strong microwave, strong vibration }. Can be defined as follows: for example, a sensor detecting 100 times of microwave information within 1 second is defined as a "microwave" event, and a sensor detecting 100 times of vibration information within 1 second is defined as a "vibration" event. Thus, the sensing information of the sensor is abstracted into event types. And statistics and analysis are facilitated. The definition of the event type is exemplified by the following table:
event type Decision conditions Duration of signal
Microwave oven Microwave information is detected for more than 100 times and less than 200 times within 1 second T1
Strong microwave Microwave information is detected for more than 200 times within 1 second T2
Vibration Detecting information of more than 100 and less than secondary vibration within 1 second T3
Strong vibration More than 200 times of vibration information is detected in 1 second T4
Microwave oven&Vibration Simultaneous detection of microwave and vibration events within 1 second T5
The event decision of the invention is defined by adopting quantized parameters and algorithms, and event definitions can be added according to requirements. The flexibility or extensibility of the event definition is increased. And the adjustment is convenient according to the service requirement.
Furthermore, the abstraction and definition of the event are completed, namely how to output the information of the event type by using 3 wires. The three wires are a positive power line, a negative power line, and a signal line, respectively. The positive and negative power lines provide power, information cannot be carried, and only the signal line can carry information. The different event types are expressed by the voltage on the signal line and the duration of the voltage. As shown in fig. 1;
if the sensor judges that the occurrence condition of the microwave event is met, namely the microwave event is judged to occur, the nV voltage is generated on the signal wire (the voltage can be set by a person skilled in the art according to the requirement), and the duration is T1, and similarly, if the sensor judges that the vibration event occurs, the nV voltage is generated on the signal wire and the duration is T2. By analogy, different event types may be represented by different durations or levels. The goal of transmitting multiple event types has been achieved.
Information is transferred by means of a bus at different voltages and times. The number of wires required by information transmission is saved, and the cost is saved in system construction. Cascaded networking may be supported. That is, a plurality of devices share one signal line.
It is noted that, in light of the technical idea of the present invention, those skilled in the art can add the types of sensors and define more different types of events under the circumstances that the prior art can implement, and it can also be done by using one signal line to transmit the encoded signal to the post-stage processing.

Claims (5)

1. A method of encoding and communicating a multifunction sensor output, comprising the steps of:
step 1: acquiring output signals of each sensor, and counting the output signals of each sensor to obtain the signal triggering times n of each sensor in a unit time period t;
step 2: defining event types according to the signal triggering times n of each sensor in the unit time period t to obtain different event types;
and step 3: and generating signal pulses with different pulse widths corresponding to the event types according to the event types.
2. The method of claim 1 for encoding and communicating the output of a multifunctional sensor, wherein: the pulse width is the duration Tn of the nV voltage generated on the signal line.
3. The method of claim 1 for encoding and communicating the output of a multifunctional sensor, wherein: all sensors include microwave sensors and vibration sensors.
4. The method of claim 1 for encoding and communicating the output of a multifunctional sensor, wherein: the event type corresponds to the following judgment conditions:
event type Duration of signal pulse signal Microwave oven T1 Strong microwave T2 Vibration T3 Strong vibration T4 Microwave oven&Vibration T5
5. An encoding apparatus using the encoding and communication method of a multi-functional sensor output of claim 1, characterized in that: the device comprises a radio frequency antenna, an intermediate frequency signal filter, an amplifier, a comparator and a singlechip which are connected in sequence.
CN202110279169.5A 2021-03-16 2021-03-16 Coding and communication method for multifunctional sensor output Pending CN112985508A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110279169.5A CN112985508A (en) 2021-03-16 2021-03-16 Coding and communication method for multifunctional sensor output

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110279169.5A CN112985508A (en) 2021-03-16 2021-03-16 Coding and communication method for multifunctional sensor output

Publications (1)

Publication Number Publication Date
CN112985508A true CN112985508A (en) 2021-06-18

Family

ID=76336073

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110279169.5A Pending CN112985508A (en) 2021-03-16 2021-03-16 Coding and communication method for multifunctional sensor output

Country Status (1)

Country Link
CN (1) CN112985508A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117631597A (en) * 2024-01-25 2024-03-01 山东科技大学 Flexible programming method for multiple controllers in complex industrial system

Citations (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE4444907A1 (en) * 1994-12-16 1996-06-27 Daimler Benz Ag Sensor system with several cascadable sensors esp. for determining actual angle of rotation
US20040137915A1 (en) * 2002-11-27 2004-07-15 Diener Neil R. Server and multiple sensor system for monitoring activity in a shared radio frequency band
CN101179339A (en) * 2007-11-27 2008-05-14 广州市番禺奥迪威电子有限公司 Two-wire system active encoding digital type ultrasonic sensor probe
CN101419738A (en) * 2008-09-28 2009-04-29 阳泉市宏星力达科技有限公司 Anti-theft alarming device for power transmission line column material
CN101684893A (en) * 2008-09-27 2010-03-31 中国石油天然气股份有限公司 Pipeline safety pre-warning system combining sound vibration and electromagnetic waves
CN103236127A (en) * 2013-05-06 2013-08-07 无锡成电光纤传感科技有限公司 Fiber fence intrusion monitoring system and pattern recognition method thereof
CN103544791A (en) * 2012-07-10 2014-01-29 中国矿业大学(北京) Underground invasion monitoring system on basis of seismic waves
CN104605837A (en) * 2014-12-23 2015-05-13 电子科技大学 Pulse monitoring system based on micro fluid sensor
CN104700543A (en) * 2013-12-10 2015-06-10 南充鑫源通讯技术有限公司 Microwave-induced detection method and device used for safety protection
CN204479669U (en) * 2015-02-11 2015-07-15 酒泉职业技术学院 A kind of sensor device for high voltage transmission line fault monitoring
CN107044883A (en) * 2017-04-12 2017-08-15 中国科学院、水利部成都山地灾害与环境研究所 Barrier lake bursts monitoring and pre-alarming method
EP3264787A1 (en) * 2016-06-27 2018-01-03 MEAS France Method of transmitting a transducer output signal from a transducer unit to an evaluation unit
CN107735667A (en) * 2015-06-12 2018-02-23 皇家飞利浦有限公司 Optical particulate sensor and method for sensing
CN108058673A (en) * 2017-11-17 2018-05-22 苏州合利美电子科技有限公司 A kind of motor vehicle burglary-resisting system based on information fusion
CN108068975A (en) * 2016-11-11 2018-05-25 天津益华微电子有限公司 B-TRI Bus control structures
CN108387323A (en) * 2018-03-02 2018-08-10 成都凯天电子股份有限公司 Triple backup temperature transducers
CN108414076A (en) * 2017-02-10 2018-08-17 斯凯孚公司 The method and apparatus of the processing of sensor signal
CN108549280A (en) * 2018-04-03 2018-09-18 芜湖懒人智能科技有限公司 A kind of digital rudder controller control method for supporting multi signal to input
CN109738021A (en) * 2019-02-02 2019-05-10 天津神悦电子科技有限公司 The connection of multiple sensors and wiring method
CN110570613A (en) * 2019-09-18 2019-12-13 广州亓行智能科技有限公司 Fence vibration intrusion positioning and mode identification method based on distributed optical fiber system
CN111008546A (en) * 2018-10-08 2020-04-14 上海汽车集团股份有限公司 Method and device for identifying output signal of sensor
DE102018222584A1 (en) * 2018-12-20 2020-06-25 Robert Bosch Gmbh Method for determining steps of a living being, in particular a person
CN111356271A (en) * 2020-03-15 2020-06-30 杨廷友 Low-power-consumption intelligent street lamp control method capable of realizing time expansion function
CN112017421A (en) * 2020-08-27 2020-12-01 武汉中地恒达科技有限公司 Sensor conversion device for universal RS485 signal output and cascade implementation method

Patent Citations (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE4444907A1 (en) * 1994-12-16 1996-06-27 Daimler Benz Ag Sensor system with several cascadable sensors esp. for determining actual angle of rotation
US20040137915A1 (en) * 2002-11-27 2004-07-15 Diener Neil R. Server and multiple sensor system for monitoring activity in a shared radio frequency band
CN101179339A (en) * 2007-11-27 2008-05-14 广州市番禺奥迪威电子有限公司 Two-wire system active encoding digital type ultrasonic sensor probe
CN101684893A (en) * 2008-09-27 2010-03-31 中国石油天然气股份有限公司 Pipeline safety pre-warning system combining sound vibration and electromagnetic waves
CN101419738A (en) * 2008-09-28 2009-04-29 阳泉市宏星力达科技有限公司 Anti-theft alarming device for power transmission line column material
CN103544791A (en) * 2012-07-10 2014-01-29 中国矿业大学(北京) Underground invasion monitoring system on basis of seismic waves
CN103236127A (en) * 2013-05-06 2013-08-07 无锡成电光纤传感科技有限公司 Fiber fence intrusion monitoring system and pattern recognition method thereof
CN104700543A (en) * 2013-12-10 2015-06-10 南充鑫源通讯技术有限公司 Microwave-induced detection method and device used for safety protection
CN104605837A (en) * 2014-12-23 2015-05-13 电子科技大学 Pulse monitoring system based on micro fluid sensor
CN204479669U (en) * 2015-02-11 2015-07-15 酒泉职业技术学院 A kind of sensor device for high voltage transmission line fault monitoring
CN107735667A (en) * 2015-06-12 2018-02-23 皇家飞利浦有限公司 Optical particulate sensor and method for sensing
EP3264787A1 (en) * 2016-06-27 2018-01-03 MEAS France Method of transmitting a transducer output signal from a transducer unit to an evaluation unit
CN108068975A (en) * 2016-11-11 2018-05-25 天津益华微电子有限公司 B-TRI Bus control structures
CN108414076A (en) * 2017-02-10 2018-08-17 斯凯孚公司 The method and apparatus of the processing of sensor signal
CN107044883A (en) * 2017-04-12 2017-08-15 中国科学院、水利部成都山地灾害与环境研究所 Barrier lake bursts monitoring and pre-alarming method
CN108058673A (en) * 2017-11-17 2018-05-22 苏州合利美电子科技有限公司 A kind of motor vehicle burglary-resisting system based on information fusion
CN108387323A (en) * 2018-03-02 2018-08-10 成都凯天电子股份有限公司 Triple backup temperature transducers
CN108549280A (en) * 2018-04-03 2018-09-18 芜湖懒人智能科技有限公司 A kind of digital rudder controller control method for supporting multi signal to input
CN111008546A (en) * 2018-10-08 2020-04-14 上海汽车集团股份有限公司 Method and device for identifying output signal of sensor
DE102018222584A1 (en) * 2018-12-20 2020-06-25 Robert Bosch Gmbh Method for determining steps of a living being, in particular a person
CN109738021A (en) * 2019-02-02 2019-05-10 天津神悦电子科技有限公司 The connection of multiple sensors and wiring method
CN110570613A (en) * 2019-09-18 2019-12-13 广州亓行智能科技有限公司 Fence vibration intrusion positioning and mode identification method based on distributed optical fiber system
CN111356271A (en) * 2020-03-15 2020-06-30 杨廷友 Low-power-consumption intelligent street lamp control method capable of realizing time expansion function
CN112017421A (en) * 2020-08-27 2020-12-01 武汉中地恒达科技有限公司 Sensor conversion device for universal RS485 signal output and cascade implementation method

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
吴尤骏;: "浅议机场周界安防传感器应用现状" *
李小龙: "支撑动态数据管理与时空过程模拟的实时GIS数据模型研究" *
潘兴明;石倩;王晨;: "基于硬件鉴相的钻机大钩高度检测系统研制" *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117631597A (en) * 2024-01-25 2024-03-01 山东科技大学 Flexible programming method for multiple controllers in complex industrial system
CN117631597B (en) * 2024-01-25 2024-04-19 山东科技大学 Flexible programming method for multiple controllers in complex industrial system

Similar Documents

Publication Publication Date Title
CN1653406A (en) Methods and apparatus for reducing power usage of a transmitter and receiver coupled via a differential serial data link
CN102970051B (en) Anti-interference wireless communication system
CN107612577B (en) A kind of channel selecting system, method and electronic equipment
CN205281720U (en) Intelligence household security service robot system
CN110601943B (en) Communication system based on RS485 bus and communication method thereof
CN101751743A (en) Alarm device
CN108599853B (en) Self-adaptive optical fiber distribution transmission system
Boddu et al. Zigbee based mine safety monitoring system with GSM
CN112985508A (en) Coding and communication method for multifunctional sensor output
CN103605332A (en) Intelligent home central control method and system thereof
CN103984334A (en) Embedded type intelligent household remote control system
CN102759896A (en) Principal and subordinate communication system based on alternating current power lines
CN102438126A (en) Long-distance wireless intelligent monitoring system
CN206532413U (en) A kind of wireless communication control system for gates
CN109218005A (en) A kind of parallel detecting method of the ethernet device of no auto-negotiation signal
CN203872171U (en) Trunk circuit used for transmitting 1553B bus signals
EP1315317A3 (en) Apparatus for detecting cutoff of optical signal, optical receiver, optical transmitter, and corresponding method
CN1971657A (en) An electronic police and junction machine apparatus and control method
CN205454185U (en) Lighting device , control terminal and system
CN107481464A (en) A kind of building Automatic Antitheft System based on ZIGBEE
CN109200600B (en) Intelligent building block system and data transmission method
CN206162847U (en) Network alarm
CN110752875B (en) Visible light voice image hybrid transmission system and method based on light intensity
CN203242144U (en) Wireless network alarm system
CN203242141U (en) Wired network alarm system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210618