CN101267444A - Communication protocol for monitoring mode and monitoring center in dynamic environment - Google Patents

Communication protocol for monitoring mode and monitoring center in dynamic environment Download PDF

Info

Publication number
CN101267444A
CN101267444A CNA2007100381291A CN200710038129A CN101267444A CN 101267444 A CN101267444 A CN 101267444A CN A2007100381291 A CNA2007100381291 A CN A2007100381291A CN 200710038129 A CN200710038129 A CN 200710038129A CN 101267444 A CN101267444 A CN 101267444A
Authority
CN
China
Prior art keywords
order
monitoring
module
command
communication
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
CNA2007100381291A
Other languages
Chinese (zh)
Other versions
CN101267444B (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.)
SHANGHAI BEIDIAN INDUSTRY Co Ltd
Original Assignee
SHANGHAI BEIDIAN INDUSTRY 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 SHANGHAI BEIDIAN INDUSTRY Co Ltd filed Critical SHANGHAI BEIDIAN INDUSTRY Co Ltd
Priority to CN200710038129.1A priority Critical patent/CN101267444B/en
Publication of CN101267444A publication Critical patent/CN101267444A/en
Application granted granted Critical
Publication of CN101267444B publication Critical patent/CN101267444B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Selective Calling Equipment (AREA)

Abstract

The invention relates to a signal device class, specifically to a communication protocol between monitoring points and a monitoring center in dynamic environment, which is applied to a distributed monitoring system, and solves the interaction of commands and responses between the monitoring points and the monitoring center. The protocol has an open type architecture, can flexibly expand command frames and corresponding response frames according to practical needs; has error detecting function, and has a frame head-frame tail structure which is used for finding complete frames in disorder communication sequence; prescribes important data must be sent three times continuously, in order to ensure the monitoring can receive the important data; has a MI serial number, which is used for appropriate processing after information caused by delay in a communication link is generated; prescribes a remote restart command, by accepting the command of the center, the watchdog reset circuit is reset, so that the monitoring center can restart each module of the subordinate monitoring points, thus to solve the sudden dead halt problem.

Description

Be used for the control point of dynamic environment and the communications protocol between the Surveillance center
Technical field
The present invention relates to the signalling class, relate to a kind of control point of dynamic environment and communications protocol between the Surveillance center of being used for concretely, be used for distributed monitoring system, in the resolution system order of each control point and Surveillance center and reply mutual.
Receive the instruction that Surveillance center sends by communication module in the supervisory control system, be forwarded to corresponding module, with data Returning communication module, be transmitted to Surveillance center by communication module again after the module responds according to the requirement of instructing.The present invention has stipulated communication baud rate, command frame format, data frame format and the mechanism for correcting errors that communication module and Surveillance center are replied.
Background technology
Dynamic environment is the basis of communication system, and the works fine state of dynamic environment is the key of communication system operate as normal.The dynamic environment of general communication equipment will have: the state of the voltage of battery and operating state, AC distribution and DC distribution, indoor temperature and humidity, and whether the state of emergency (fire alarm, water logging, illegally enter etc.) is arranged.Along with coming into operation of a large amount of power base station, the rapid rising of maintenance and management cost, for to reducing the consideration that the professional disposes, reduces labor intensity, improves maintenance quality, extremely urgent for the demand of building up of dynamic environment monitoring system.
Summary of the invention
The objective of the invention is according to above-mentioned the deficiencies in the prior art part, a kind of control point of dynamic environment and communications protocol between the Surveillance center of being used for is provided, this agreement has been stipulated the interconnected communication protocol standard in control point and Surveillance center, interface comprises communication interface between inner different monitoring module of supervisory control system and the Surveillance center, realize the mutual communication of monitoring module and Surveillance center, the Echo Frame of this agreement has frame head postamble structure, be convenient under the situation of communication order confusion, find out complete frame, has the MI sequence number, can be to carrying out suitable processing after the information that produces because of time-delay on the communication link, in software, set, having stipulated needs to send three times continuously to significant data, can receive to guarantee Surveillance center.
The object of the invention realizes being finished by following technical scheme:
A kind of control point of supervisory control system and communications protocol between the Surveillance center of being used for, comprise command frame and Echo Frame, it is characterized in that described Echo Frame is sorted successively and formed by beginning flag (SOI), order destination address (DA), order source address (sa), order sign (MI), command body (MC), concrete data (DC), end mark (EOI).
Described order destination address (DA) and order source address (sa) are a byte, comprise respectively: PC=0X00, battery cell monitoring unit=0x01-0x04, simulation monitoring unit=0x05, digital supervision unit=0x06, clock and data record unit=0x07, communication unit=0X08, the expansion equipment address is followed successively by 0X0A, 0X0B, 0X0C, 0X0D intelligence serial ports.
Described order sign (MI) numerical value is one 16 system number, and in order to determine the corresponding relation of an order and its reply data, numerical value is from 01-0xCA.
Described command body (MC) is by 3 16 system numeric representations.
Advantage of the present invention is, has opening framework, can expand command frame and corresponding Echo Frame according to actual needs flexibly; Have error detection function, have frame head postamble structure and be convenient under the situation of communication order confusion, find out complete frame; Having stipulated needs to send three times continuously to significant data, can receive to guarantee Surveillance center; Has the MI sequence number, to carrying out suitable processing after the information that produces because of time-delay on the communication link; Can stipulate long-range reset command,, the watchdog reset circuit of self be resetted, so that each module of subordinate control point is restarted, to solve burst deadlock problem in Surveillance center by the order of receiving center.
Protocol infrastructure is clear, favorable expandability; The form of frame structure guaranteed communication reliable, stable, the error rate is low; Employing adds up and asks the mould negate to add one method of calibration, and antijamming capability is strong; Meet dynamic environment monitoring machine room designing requirement standard, and improved on this basis, carry out the expansion on the function.
Description of drawings
Accompanying drawing 1 is embodiment of the invention control block diagram.
Embodiment
Feature of the present invention and other correlated characteristic are described in further detail by embodiment below in conjunction with accompanying drawing, so that technical staff's of the same trade understanding:
As shown in Figure 1, number in the figure is represented respectively:
FSU: machine room (station) field terminal unit;
AUTO DEV: machine station smart machine (Switching Power Supply, intelligent entrance guard etc.);
COMM: the intelligent communication plate, be responsible for the external serial communication and the communication of external smart machine;
The D+R+T:DRT module is the clock display module, and display module+logging modle+clock control module is used for display data content, and record data, clock show and set;
B: battery module, 4 of maximum permissions, corresponding four Battery packs are used to gather cell voltage, electric current, and data surpass alarming threshold and then report;
A+D: analog module+digital module, allow external 33 analog quantitys, 16 digital quantities carry out analog quantity, digital data acquisition by external various kinds of sensors, have alarm then to report.
Physical interface and communication mode that present embodiment relates to are:
Serial communication port adopts the RS232 or the RS485 mode of standard.Information transmission mode is an asynchronous system, 1 of start bit, 8 of data bit, 1 of position of rest, no parity check position.Message transmission rate is 9.6,19.2,115.2kbit/s is optional.
External interface: 4 road smart machines output serial ports, 1 road PC debug serial port, 1 road E1 exports serial ports.Wherein, PC debug serial port and E1 output serial ports are shared, select control output by relay.Short message module is exported after reserving 1 road serial ports.
Communication mode: whole FSU has three cover communication systems, adopts with serial communication port and adopts the RS232 of standard or the master-slave communication mode that RS485 connects.
1.FSU communication system with exterior PC.Exterior PC is main, FSU be from.
2.FSU communication system with monitored smart machine.FSU is main, monitored smart machine be from.
3.FSU inner communication system, in shown in figure one, 485 master-slave mode communications are adopted in the communication between COMM, D+R+T, B, A+D, passive node, and wherein the D+R+T module is main, other module be from.The communication of each intermodule is all sent with D+R+T master and is set up communication.
Control point that is used for supervisory control system that present embodiment relates to and the communications protocol between the Surveillance center comprise two kinds of forms, command frame and acknowledgement frames.
The command frame basic format
Sequence number 1 2 3 4 5 6 9
Byte number 1 1 1 1 3 N 1
Symbol SOI DA SA MI MC DC EOI
The explanation of frame format each several part
Sequence number Symbol The expression meaning Remarks
1 SOI Beginning flag (START OF FRAME) FDH
2 DA Destination Address DA (order destination address)
3 SA Source Address SA (order source address)
4 MI The order sign
5 MC Command body
6 DC Concrete data
9 EOI End mark FEH
The Echo Frame basic format
Sequence number 1 2 3 4 5 6 9
Byte number 1 1 1 1 3 N 1
Symbol SOI DA SA MI MC DC EOI
The explanation of frame format each several part
Sequence number Symbol Meaning Remarks
1 SOI Beginning flag (START OF INFORMATION) FDH
2 DA Destination Address DA (order destination address)
3 SA Source Address SA (order source address)
4 MI The order sign
5 MC Command body
6 DC Concrete data
9 EOI End mark FEH
Order destination address DA and order source address SA are a byte, the order device address:
PC=0X00
Battery cell monitoring unit=0x01-0x04
Simulation monitoring unit=0x05
Digital supervision unit=0x06
Clock and data record unit=0x07
Communication unit=0X08
The expansion equipment address is followed successively by 0X0A, 0X0B, 0X0C, 0X0D intelligence serial ports.
Order sign ML, in order to determine the corresponding relation of an order and its reply data, i.e. order is identical with the MI of the Frame of its correspondence, and the numerical value of MI is one 16 system number, and numerical value is from 01-0xCA.The MI value of present embodiment mainly obtains from the PC command frame, the command frame that non-PC originating end is initiated, and the value of MI is C1H.
Command body MC, promptly Ming Ling concrete operations content by 3 16 system numeric representations, can be formed thousands of orders by the content of DA and MC.
Concrete data DC adopts the binary-coded decimal data representation, and DC is with data content by Frame, and its length is 0-50byte, and the data of battery pack and analog quantity are represented with binary-coded decimal, the data binary number representation of digital quantity.
Do not respond after the DRT module is retransmitted three times, then complain to frame to COMM module sending module fault.
This agreement can be according to the specific requirement of using, definition command body MC and corresponding data DC, thus can adapt to the application of different dcss.
Each software module function of present embodiment is single, design simple relatively, easy software modification, edition upgrading is convenient relatively.
The major function of FSU dynamic environment monitoring software is: in service, by its control, finish the power of whole base station and collection, processing, transmission and the relevant control action of environmental data to hardware circuit.The monitoring software design of entire equipment is the same with its hardware configuration, adopt the functionalization modular design, different software function modules is loaded among the CPU of different hardware module, identical hardware capability module, it software function module also identical, modular software design has following characteristics:
With each hardware module correspondence, whole FSU software detects software module, analog quantity detection software module, digital quantity detection software module, clock log software module and full-duplex communication software module by storage battery and forms.
Each software module is independent mutually, and each module division of labor is clear, does not intersect mutually, overlapping.
Each software module is carried out data by internal flow of information and is transmitted and exchange.Internal flow of information one is the information exchange between each sample detecting module and the clock log module, provide information to data record, internal flow of information two is the information exchange between each module and each the full-duplex communication module, and external information stream is the information exchange of full-duplex communication module and Surveillance center.The parallel running simultaneously of each software module, the speed of service is fast, and data processing is real-time.
The microdata structure is adopted in inside and outside information interchange, and communication frame is simple in structure, and communication speed is fast flexibly, the treatment effeciency height, and increase or modification control command are convenient.Each software module function is single, design simple relatively, easy software modification, edition upgrading is convenient relatively.
The following performance of FSU software makes it have very strong fault-tolerant error correcting capability, guarantees that running software is safe and reliable:
Have " source address " DS and " destination address " DA in the command frame of software and the data frame structure, different modules and external smart machine mouth, be assigned different " address ": 1# battery module address is 01,2# battery module address is 02,3# battery module address is 03,4# battery module address is 04, the analog signal detection module address is 05, digital quantity detection module address is 06, and the clock log module's address is 07, and the full-duplex communication module's address is 08,1# smart machine port address is 0A, 2# smart machine port address is 0B, and 3# smart machine port address is 0C, and 4# smart machine port address is 0D.Each software module is judged order and the data of receiving according to oneself " address ", whether to one's name, otherwise will be not one's own information, perhaps the information of " address " mistake is kept outside of the door.
The command frame of software has more rigorous command body MC structure, each module " address " and the combination of command body, make that each bar order all is " unique " in whole command set, so each software module is easy to the bad command content of receiving is ignored.
Data among the data volume DC in the frame structure of software are that binary-coded decimal is formed, it is except having than the high command body MC of getting of ASCII character, they all by 16 system numbers constitute-form, like this, the expression efficiency that each software module is many, to obviously be different from other parts in the frame structure-frame head SOF, postamble EOF simultaneously, when receiving and send data, can be because of the randomness of data value and random the generation and frame head SOF, postamble EOF, obscuring of command body MC content and make a mistake.
Each module has hardware and software combination " house dog " and (Watchdog) restarts function, in case owing to disturb strongly, when producing the software module run-time error, CPU will be restarted automatically, and software module is recovered normal and moved.
The FSU internal module connects by communication link, and the module that goes wrong can change mode of operation into listen mode automatically, can not send data, therefore can not influence other modules and normally move.

Claims (5)

1. one kind is used for the control point of supervisory control system and the communications protocol between the Surveillance center, comprise command frame and Echo Frame, it is characterized in that described Echo Frame is sorted successively and formed by beginning flag (SOI), order destination address (DA), order source address (sa), order sign (MI), command body (MC), concrete data (DC), end mark (EOI).
2. a kind of control point of supervisory control system and communications protocol between the Surveillance center of being used for according to claim 1, it is characterized in that described order destination address (DA) and order source address (sa) are a byte, comprise respectively: PC=0X00, battery cell monitoring unit=0x01-0x04, simulation monitoring unit=0x05, digital supervision unit=0x06, clock and data record unit=0x07, communication unit=0X08.
3. a kind of control point of supervisory control system and communications protocol between the Surveillance center of being used for according to claim 2 is characterized in that the expansion equipment address of described order destination address (DA) and order source address (sa) is followed successively by 0X0A, 0X0B, 0X0C, 0X0D intelligence serial ports.
4. a kind of control point of supervisory control system and communications protocol between the Surveillance center of being used for according to claim 1, it is characterized in that described order sign (MI) numerical value is one 16 system number, in order to determine the corresponding relation of an order and its reply data, numerical value is from 01-0xCA.
5. a kind of control point of supervisory control system and communications protocol between the Surveillance center of being used for according to claim 1 is characterized in that described command body (MC) is by 3 16 system numeric representations.
CN200710038129.1A 2007-03-16 2007-03-16 For the means of communication between the control point in supervisory control system and Surveillance center Active CN101267444B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200710038129.1A CN101267444B (en) 2007-03-16 2007-03-16 For the means of communication between the control point in supervisory control system and Surveillance center

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200710038129.1A CN101267444B (en) 2007-03-16 2007-03-16 For the means of communication between the control point in supervisory control system and Surveillance center

Publications (2)

Publication Number Publication Date
CN101267444A true CN101267444A (en) 2008-09-17
CN101267444B CN101267444B (en) 2015-11-25

Family

ID=39989580

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200710038129.1A Active CN101267444B (en) 2007-03-16 2007-03-16 For the means of communication between the control point in supervisory control system and Surveillance center

Country Status (1)

Country Link
CN (1) CN101267444B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075387A (en) * 2011-01-10 2011-05-25 京信通信技术(广州)有限公司 Method and device for communication of monitoring system
CN102184613A (en) * 2009-12-25 2011-09-14 日探株式会社 Data transmission system, and monitoring system
CN105812086A (en) * 2014-12-30 2016-07-27 深圳市科曼医疗设备有限公司 Monitor communication method and system
CN111402525A (en) * 2020-04-26 2020-07-10 重庆红透科技有限公司 Equipment on-site positioning system and method in cabinet and operation and maintenance management system and method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1309211C (en) * 2003-05-13 2007-04-04 中兴通讯股份有限公司 Distributed central management method for special shaped network equipment in distributing network environment
CN100382515C (en) * 2005-06-28 2008-04-16 上海集成通信设备有限公司 Power and environment concentrated monitoring management system
CN100403622C (en) * 2006-09-01 2008-07-16 桂林航天电子有限公司 Intelligent power distribution administrative center

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102184613A (en) * 2009-12-25 2011-09-14 日探株式会社 Data transmission system, and monitoring system
CN102184613B (en) * 2009-12-25 2014-05-14 骊住日探株式会社 Data transmission system, and monitoring system
CN102075387A (en) * 2011-01-10 2011-05-25 京信通信技术(广州)有限公司 Method and device for communication of monitoring system
CN102075387B (en) * 2011-01-10 2012-10-31 京信通信技术(广州)有限公司 Method and device for communication of monitoring system
CN105812086A (en) * 2014-12-30 2016-07-27 深圳市科曼医疗设备有限公司 Monitor communication method and system
CN105812086B (en) * 2014-12-30 2019-05-03 深圳市科曼医疗设备有限公司 The communication means and system of patient monitor
CN111402525A (en) * 2020-04-26 2020-07-10 重庆红透科技有限公司 Equipment on-site positioning system and method in cabinet and operation and maintenance management system and method

Also Published As

Publication number Publication date
CN101267444B (en) 2015-11-25

Similar Documents

Publication Publication Date Title
CN109450704B (en) Plug-and-play intelligent distribution transformer terminal and distribution data communication system
CN205539996U (en) Redundant control system of controller, IO communication bus and communication module
CN101267425B (en) Inter-board interface communication protocol for dynamic environment distributed monitoring system
CN102664719B (en) Distributed secure transmission method applied to distributed control system (DCS)
CN102347879A (en) D-BUS high-speed bus technology based on ring type Ethernet and auxiliary network
CN104345717A (en) Intelligent remote data acquisition system based on Internet of Things
WO2017143766A1 (en) Independent module combination 3u chassis structure-based train fire alarm communication method
CN103123485A (en) Intelligent data acquisition and control terminal and Internet of Things system with same
CN103336471A (en) Servo motion control card based on EtherCAT network communication
CN104683168A (en) Process level network communication failure automatic positioning method for intelligent transformer substation
CN102355507A (en) Novel serial communication interface with functions of self-detection and conflict detection
CN107092243B (en) Power supply control intelligent safety monitoring system based on Internet of things
CN106789511B (en) Based on the train of FPGA CAN communication switching control method and conversion module
CN202735787U (en) Electric power information machine room environment real-time monitoring system
CN105551222A (en) Embedded bridge health monitoring system
CN101267444A (en) Communication protocol for monitoring mode and monitoring center in dynamic environment
CN210839619U (en) System for error recording mechanism
CN103744365A (en) Bridging module for communication between room control terminal and upper computer and method thereof
CN219105371U (en) Multimode environment monitoring system of thing networking
CN117348900A (en) Electric energy meter matching upgrading method and related equipment
CN217767435U (en) Profibus bus double-channel redundant communication module
CN1992664A (en) Method and system of emergency exit communication for light rail
CN211181050U (en) Comprehensive state intelligent collector for electric control cabinet
CN112347157A (en) Terminal data transmission method and system based on Internet of things
CN112206453A (en) Fire control system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent for invention or patent application
CB02 Change of applicant information

Address after: 201206 floor, building D, No. 501 Jinqiao Jin Road, Shanghai, Pudong New Area, China

Applicant after: Shanghai electric power industry (Group) Limited by Share Ltd

Address before: 201206 floor, building D, No. 501 Jinqiao Jin Road, Shanghai, Pudong New Area, China

Applicant before: Shanghai Beidian Industry Co., Ltd.

COR Change of bibliographic data

Free format text: CORRECT: APPLICANT; FROM: SHANGHAI BEIDIAN INDUSTRY CO., LTD. TO: SHANGHAI BEIDIAN INDUSTRIAL (GROUP) CO., LTD.

C14 Grant of patent or utility model
GR01 Patent grant