[go: up one dir, main page]

CN103514724A - Adaptive configuration method of data acquisition unit - Google Patents

Adaptive configuration method of data acquisition unit Download PDF

Info

Publication number
CN103514724A
CN103514724A CN201210213857.2A CN201210213857A CN103514724A CN 103514724 A CN103514724 A CN 103514724A CN 201210213857 A CN201210213857 A CN 201210213857A CN 103514724 A CN103514724 A CN 103514724A
Authority
CN
China
Prior art keywords
acquisition unit
data acquisition
signal
interface
input end
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
CN201210213857.2A
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.)
Suzhou Industrial Park New Hongbo Communication Technology Co Ltd
Original Assignee
Suzhou Industrial Park New Hongbo Communication 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 Suzhou Industrial Park New Hongbo Communication Technology Co Ltd filed Critical Suzhou Industrial Park New Hongbo Communication Technology Co Ltd
Priority to CN201210213857.2A priority Critical patent/CN103514724A/en
Publication of CN103514724A publication Critical patent/CN103514724A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Communication Control (AREA)

Abstract

The invention provides an adaptive configuration method of a data acquisition unit. The data acquisition unit comprises a main controller and an RS485 interface externally connected to the main controller. The configuration method comprises the following steps: when a signal is input from the RS485 interface, an input end sends an RS485 test signal 0xCC; whether the baut rate is matched is judged; if yes, the input end sends an effective RS485 signal first byte; whether the first byte is equal to 0x68 is judged; if yes, the main controller receives an effective RS485 signal of the input end according to a DLT645-07 protocol, but if not, the main controller receives an effective RS485 signal of the input end according to an MODBUS protocol. Therefore, the process of manually setting the baut rate of the acquisition unit can be omitted, the operation error probability is lowered, manpower is saved, and great convenience is brought for construction and debugging.

Description

A kind of adaptive configuring method of data acquisition unit
Technical field
The present invention relates to communication technical field, relate in particular to a kind of adaptive configuring method of data acquisition unit.
Background technology
At present, development along with the intelligent network communication technology, data acquisition unit is except the universal use of electric power, communications industry, apply to more and more widely the intelligent network controlling unit of every profession and trade, but because data acquisition unit is used in power industry the earliest, therefore current most of collector downlink communication agreement is followed " DLT645-07 multifunctional electric energy meter communication protocol ".Yet the expansion along with collector application, increasing industrial automation network control, intelligent building networking control, automotive electronics networking control and commercialization network control all will be introduced the technology of data acquisition unit, thereby realize the wireless wisdom of advanced networking city.Therefore the developing direction in data acquisition unit future must be the downlink communication mode of diversification.
Therefore, be necessary to provide a kind of adaptive configuring method of data acquisition unit to carry out compatible multiple transport protocols.
Summary of the invention
The object of the present invention is to provide a kind of adaptive configuring method of data acquisition unit, by same RS485 interface, without the software of change collector inside, just can automatically identify the communication baud rate of inputting RS485 signal, and the agreement of distinguishing signal is DLT645-07 or MODBUS.
Correspondingly, the adaptive configuring method of a kind of data acquisition unit of the present invention, wherein said data acquisition unit comprises master controller and is connected on the RS485 interface on master controller outward, described collocation method comprises the following steps:
When RS485 interface has signal input, input end is sent out RS485 test signal 0xCC;
Judge whether baud rate mates;
If coupling, input end sends effective RS485 signal first byte;
Judge whether first byte equals 0x68;
If so, master controller is pressed effective RS485 signal that DLT645-07 agreement receives input end, and if not, master controller is pressed effective RS485 signal that MODBUS agreement receives input end.
As a further improvement on the present invention, described RS485 interface is two.
As a further improvement on the present invention, during RS485 interface signal input master controller, receive the timer port that master controller has simultaneously.
As a further improvement on the present invention, described data acquisition unit also comprises Ethernet interface and GPRS/CDMA interface.
As a further improvement on the present invention, described data acquisition unit also comprises RS485 service port and infrared local maintenance mouth.
The invention has the beneficial effects as follows: omit the process that collector baud rate is manually set, reduced operating mistake probability, saved manpower, bring great convenience to construction, debugging.
Accompanying drawing explanation
Fig. 1 is the structural drawing of a kind of data acquisition unit of the present invention;
Fig. 2 shows the process flow diagram of the adaptive configuring method of a kind of data acquisition unit of the present invention.
embodiment
Below with reference to each embodiment shown in the drawings, describe the present invention.But these embodiments do not limit the present invention, the conversion in the structure that those of ordinary skill in the art makes according to these embodiments, method or function is all included in protection scope of the present invention.
As shown in Figure 1, data acquisition unit of the present invention comprises master controller 1, is external in two RS485 interfaces 2, Ethernet interface 3 and the GPRS/CDMA interface 4 of master controller 1.During RS485 interface signal input master controller 1, receive the timer port one 1 that master controller has, to data step-by-step timing, counting simultaneously.In addition, data acquisition unit of the present invention also comprises RS485 service port and infrared local maintenance mouth.
As shown in Figure 2, the adaptive configuring method of a kind of data acquisition unit of the present invention adopts two kinds of self-adapting signal judgements to input signal respectively: self-adaptation baud rate module and self-adapted protocol module.When collector output signal, because being subject to remote platform, collector controls, and the node characteristic of its access has remote platform to provide, and collector does not need to carry out Adaptive matching.Only have when RS485 is during as access point, just need to enter adaptive configuration.
First carry out RS485 baud rate self-adapting coupling, if the baud rate of communicating pair is inconsistent, will produce communication failure or garble, so baud rate could be set up the link of communicating pair after the match is successful.Particularly, input end is sent out RS485 test signal 0xCC and is judged that whether baud rate mates, if do not mated, returns.Baud rate coupling has two kinds of modes, and a kind of is polling method, has both traveled through possible several baud rates, successively mates, until successful matching; Another kind is bit rate estimation algorithm, both, by catching the start bit of standard testing frame and pulse figure place and timing between position of rest, calculates the time that each on average takies, and contrasts with standard baud rate, and getting immediate is communication baud rate.These two kinds of adaptive approachs can arrange by button according to the different demand of user.Selecting polling method to high, the ageing less demanding place of accuracy requirement, for ageing height, precision Di place, can select bit rate estimation algorithm.
When RS485 baud rate is after the match is successful, collector can receive efficient communication data, after receiving first byte, judge whether this byte equals 0x68, equal 0x68 this input signal be DLT645-07 agreement, otherwise be MODBUS agreement (note: MODBUS is from address disable 0x68).
Be to be understood that, although this instructions is described according to embodiment, but not each embodiment only comprises an independently technical scheme, this narrating mode of instructions is only for clarity sake, those skilled in the art should make instructions as a whole, technical scheme in each embodiment also can, through appropriately combined, form other embodiments that it will be appreciated by those skilled in the art that.
Listed a series of detailed description is above only illustrating for feasibility embodiment of the present invention; they are not in order to limit the scope of the invention, all disengaging within equivalent embodiment that skill spirit of the present invention does or change all should be included in protection scope of the present invention.

Claims (5)

1. an adaptive configuring method for data acquisition unit, wherein said data acquisition unit comprises master controller and is connected on the RS485 interface on master controller outward, it is characterized in that, described collocation method comprises the following steps:
When RS485 interface has signal input, input end is sent out RS485 test signal 0xCC;
Judge whether baud rate mates;
If coupling, input end sends effective RS485 signal first byte;
Judge whether first byte equals 0x68;
If so, master controller is pressed effective RS485 signal that DLT645-07 agreement receives input end, and if not, master controller is pressed effective RS485 signal that MODBUS agreement receives input end.
2. the adaptive configuring method of a kind of data acquisition unit according to claim 1, is characterized in that, described RS485 interface is two.
3. the adaptive configuring method of a kind of data acquisition unit according to claim 1, is characterized in that, during RS485 interface signal input master controller, receives the timer port that master controller has simultaneously.
4. according to the adaptive configuring method of a kind of data acquisition unit described in any one in claims 1 to 3, it is characterized in that, described data acquisition unit also comprises Ethernet interface and GPRS/CDMA interface.
5. the adaptive configuring method of a kind of data acquisition unit according to claim 4, is characterized in that, described data acquisition unit also comprises RS485 service port and infrared local maintenance mouth.
CN201210213857.2A 2012-06-27 2012-06-27 Adaptive configuration method of data acquisition unit Pending CN103514724A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210213857.2A CN103514724A (en) 2012-06-27 2012-06-27 Adaptive configuration method of data acquisition unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210213857.2A CN103514724A (en) 2012-06-27 2012-06-27 Adaptive configuration method of data acquisition unit

Publications (1)

Publication Number Publication Date
CN103514724A true CN103514724A (en) 2014-01-15

Family

ID=49897389

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210213857.2A Pending CN103514724A (en) 2012-06-27 2012-06-27 Adaptive configuration method of data acquisition unit

Country Status (1)

Country Link
CN (1) CN103514724A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104900026A (en) * 2014-03-04 2015-09-09 国网上海市电力公司 Monitoring method for collector in centralized meter reading system
CN106130856A (en) * 2016-08-17 2016-11-16 天津市英贝特航天科技有限公司 A kind of self adaptation baud rate RS485 communications protocol
CN106340177A (en) * 2016-11-02 2017-01-18 北京华电知企能源技术服务有限公司 System for automatically matching Baud rates of ammeter broadband carrier communication interface and control method thereof
CN107093318A (en) * 2017-04-01 2017-08-25 惠州中城电子科技有限公司 A kind of energy data copy reading method, energy data copy reading module and collector
CN107357219A (en) * 2017-08-30 2017-11-17 江南大学 A kind of adaptive industrial gateway
CN107515802A (en) * 2017-08-11 2017-12-26 中国电子技术标准化研究院 Method, device and signal generator for calculating input format of test signal
CN110279920A (en) * 2019-05-23 2019-09-27 广州博而济信息科技有限公司 A method of ventilator data are acquired based on external acquisition equipment
CN111770105A (en) * 2020-07-02 2020-10-13 山东建筑大学 A Multi-protocol Adaptive Electricity Meter Data Acquisition Algorithm
CN113542030A (en) * 2021-07-20 2021-10-22 深圳市泛海三江电子股份有限公司 A kind of intelligent networking method and communication device based on network communication of fire protection system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5450402A (en) * 1993-04-02 1995-09-12 Ricoh Company, Ltd. Transmission control system in data terminal equipment
CN1342938A (en) * 2000-09-11 2002-04-03 合肥创源智能网络有限责任公司 Plug-and-play method for measuring-controlling module in RS-485 bus type measuring-controlling system and its measuring-controlling module
CN201336071Y (en) * 2008-12-31 2009-10-28 骆勇强 Multi-channel low-voltage electric power data acquisition terminal
CN102098055A (en) * 2010-12-28 2011-06-15 上海磁浮交通发展有限公司 Data baud rate adaptive digital-analogue conversion device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5450402A (en) * 1993-04-02 1995-09-12 Ricoh Company, Ltd. Transmission control system in data terminal equipment
CN1342938A (en) * 2000-09-11 2002-04-03 合肥创源智能网络有限责任公司 Plug-and-play method for measuring-controlling module in RS-485 bus type measuring-controlling system and its measuring-controlling module
CN201336071Y (en) * 2008-12-31 2009-10-28 骆勇强 Multi-channel low-voltage electric power data acquisition terminal
CN102098055A (en) * 2010-12-28 2011-06-15 上海磁浮交通发展有限公司 Data baud rate adaptive digital-analogue conversion device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李正民等: ""基于ARM和GPRS技术的无线自动抄表系统的设计"", 《测控技术》, vol. 31, no. 6, 18 June 2012 (2012-06-18) *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104900026A (en) * 2014-03-04 2015-09-09 国网上海市电力公司 Monitoring method for collector in centralized meter reading system
CN106130856A (en) * 2016-08-17 2016-11-16 天津市英贝特航天科技有限公司 A kind of self adaptation baud rate RS485 communications protocol
CN106340177A (en) * 2016-11-02 2017-01-18 北京华电知企能源技术服务有限公司 System for automatically matching Baud rates of ammeter broadband carrier communication interface and control method thereof
CN107093318A (en) * 2017-04-01 2017-08-25 惠州中城电子科技有限公司 A kind of energy data copy reading method, energy data copy reading module and collector
CN107515802A (en) * 2017-08-11 2017-12-26 中国电子技术标准化研究院 Method, device and signal generator for calculating input format of test signal
CN107357219A (en) * 2017-08-30 2017-11-17 江南大学 A kind of adaptive industrial gateway
CN110279920A (en) * 2019-05-23 2019-09-27 广州博而济信息科技有限公司 A method of ventilator data are acquired based on external acquisition equipment
CN111770105A (en) * 2020-07-02 2020-10-13 山东建筑大学 A Multi-protocol Adaptive Electricity Meter Data Acquisition Algorithm
CN111770105B (en) * 2020-07-02 2023-01-31 山东建筑大学 Multi-protocol self-adaptive electricity meter data acquisition method
CN113542030A (en) * 2021-07-20 2021-10-22 深圳市泛海三江电子股份有限公司 A kind of intelligent networking method and communication device based on network communication of fire protection system

Similar Documents

Publication Publication Date Title
CN103514724A (en) Adaptive configuration method of data acquisition unit
CN103777538B (en) The baud rate automatic matching method of controller and CAN
CN104950792B (en) Mixed networking method and industrial terminal equipment based on modbus agreements
CN102215263B (en) Data transmission and remote control method for self-organizing wireless internet of things (IoT) system
CN102833112A (en) Communication management machine having looped network function
CN201358816Y (en) Mine safety monitoring and controlling system based on wireless data transmitting and receiving and signal converter
CN105957319A (en) Micropower wireless meter reading method
CN114023053B (en) Terminal energy data acquisition system and method based on HPLC and Bluetooth
CN104283746A (en) System and method for realizing integration of three networks of digital transformer substation by using FPGA
CN104332045A (en) Intelligent infrared remote controlsystem based on wireless network and method
CN103258415B (en) Low-consumption wireless sensing node device and method of work thereof
CN106033641A (en) A multifunctional intelligent control system achieved by a power line carrier and a controlling method thereof
CN105530151A (en) GPRS module and information transmission method for GPRS module
CN106330397B (en) method and device for realizing data interaction by ZigBee and Modbus RTU (remote terminal Unit) protocols
CN203759861U (en) Zigbee-based short circuit switch remote monitoring system for copper electrolysis
CN107360539A (en) A kind of low-power consumption emergency communication network hardware system based on LoRa technologies
CN207677744U (en) A kind of data transmission device based on NBIoT networks
Gupta et al. An autonomous address translation scheme to integrate modbus with ieee 802.15. 4 networks
CN110083122A (en) A kind of industry internet control acquisition system
CN205247603U (en) Solve communication extension terminal of power consumption information collection system up channel blind area
CN102081383A (en) Device and method for secure network protocol for field control
CN106549841A (en) Smart home infrared remote control device and system based on NB‑IOT
CN207115735U (en) A kind of infrared temperature networking collection and distance transmission system
CN204066382U (en) A kind of novel Zigbee infrared learning transponder
Fang et al. Research and Implementation of Collision Detection Based on Modbus Protocol.

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20140115