CN104750649B - The synchronous time sequence control method of open topological structure bus - Google Patents
The synchronous time sequence control method of open topological structure bus Download PDFInfo
- Publication number
- CN104750649B CN104750649B CN201310750905.6A CN201310750905A CN104750649B CN 104750649 B CN104750649 B CN 104750649B CN 201310750905 A CN201310750905 A CN 201310750905A CN 104750649 B CN104750649 B CN 104750649B
- Authority
- CN
- China
- Prior art keywords
- data
- link
- extension
- slave station
- management
- 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.)
- Active
Links
Landscapes
- Communication Control (AREA)
- Small-Scale Networks (AREA)
Abstract
The present invention relates to Industry Control field bus technique field, a kind of synchronous time sequence control method of open topological structure bus is specifically disclosed.This method is specifically included:1)Set up the system with expansion bus structure;2)Form the data link control protocol of SECO management method;3)SECO management multifunctional application layer implementation method is set up, open topological structure bus extension link transmission control is completed.A kind of synchronous time sequence control method of open topological structure bus of the present invention compared with the prior art, with obvious advantage:Large number quipments data communication can be completed under limited timing cycles.Whole system can be met under efficient way to manage using SECO management method, a large amount of field apparatus efficiently management and data seamless bridge joint are realized, while the Data Transmission Controlling of whole DCS buses can be with retention time certainty feature.
Description
Technical field
The invention belongs to Industry Control field bus technique field, and in particular to a kind of open topological structure bus it is same
Walk sequential control method.
Background technology
In DCS system, it is most important that whole system timing management ability, i.e., to the devices in system communications access cycle
Control time have strict limitation.Under this specific demand, all devices must be completed within the restricted cycle in system
Mass data communicates, when up to a hundred field apparatus access systems, whole if each equipment communication interval is in units of 1ms
Individual system communication cycle will increase milliseconds up to a hundred, it means that if still using original control system, lead in limited
Believe in timing cycles, it is impossible to complete all devices data communication, this defect directly result in DCS system Portable device quantity by
Limitation is arrived.
In addition, main on communication hardware in DCS system complete bus data transfer using 485 high-speed bus technologies, and
And total inorganic nitrogen also has strict index.If it is desired to ensureing under the premise of control sequential is not increased, access a large amount of scenes and set
It is standby to realize field apparatus dilatation, it may be considered that data are all once passed through into bus transfer.But it is due to 485 high-speed buses itself
Physical medium feature, can cause field apparatus control time and quantity to be restricted:1. byte number should be less than 255 bytes;2.
System requirements traffic load rate<30%.
Byte quantity as defined in the byte number/transmission speed for load factor=transmit every time;
So that traffic rate reaches 5Mbps as an example, system requirements traffic load rate is less than 30% according to formula analysis, just must
The byte quantity transmitted every time must be allowed to control most suitable in 200 bytes or so.Therefore, physical medium is met during data transfer special
Point, then must be calculated and be judged to the scale transmitted every time, it is ensured that each data transfer meets system requirements.
Finally, the data message quantity of some field intelligent devices is in 50 bytes, if system carries a large amount of this scenes
Equipment, then when all data being once transferred to bus master, restriction of the message byte considerably beyond physical medium, it is impossible to just
Normal open believes that the scan period of whole system can also increase when all scanning is completed.
At present in DCS control fields, urgent need is a kind of can be few in increase under limited communication cycle and commitment defini interval
On the premise of the sequence scanning cycle, the method for completing large number quipments communications.
The content of the invention
It is an object of the invention to provide a kind of synchronous time sequence control method of open topological structure bus, can have
Under the communication cycle and commitment defini interval of limit, on the premise of few sequence scanning cycle is increased, the biography of large number quipments communication is completed
It is defeated.
Technical scheme is as follows:A kind of synchronous time sequence control method of open topological structure bus, this method
Specifically include following steps:
The system of step 1, foundation with expansion bus structure;
Step 2, the data link control protocol for forming SECO management method;
In bus system main website and the female slave station of extension, the female slave station of extension and branch line substation, using synchronous sequence link management
Agreement(FTCDL)Complete to slave station time determinability Data Transmission Controlling;In timing management configuration layer(NTMS)Realize sequential chain
The function of road management agreement, wherein, timing management configuration layer(NTMS)It is main to complete dynamic link management function, dynamic link pipe
Manage and set up link chained list by reading the logical address and physical address of entrained field apparatus;Link management is running and calculated
During index is used as by physical address, according to the master slave relation of system complete data transfer plugged field apparatus
Management service;
Step 3, SECO management multifunctional application layer implementation method is set up, complete open topological structure bus extension
Link transmission is controlled.
Described step 1 is specifically included:
Step 1.1, user terminal are connected by the high speed 485 with Shielded Twisted Pair with system controller one-level main website,
And with binary-channel redundancy function, it is ensured that the proper communication of DCS data is minimum by external interference, and its typical bandwidth is 5Mbps;
It is connected between step 1.2, one-level main website and two grades of main websites by the one-level backbone with binary-channel redundancy function
Connect, be connected between the female slave station of the extension in two grades of main websites and branch line I/O substations also by the branch line with binary-channel redundancy function
Connect, and one-level main website forms one-level physical link layer, general slave station and the female slave station of extension constitute two grades of physical link layers together,
Branch line I/O substations in each extension branch line form three-level physical link layer;
Step 1.3, one-level main website pass through synchronous sequence data link management agreement(FTCDL)Realize to all on main line
General slave station and the female slave station dynamic link managerial ability of extension, deadline deterministic transmission control;
Step 1.4, in two grades of physical link layers, if DCS system capacity meets field apparatus access demand enough,
The data-transformation facility of site intelligent unit can be just completed using the general slave station of main line;If when the sequential of DCS system is accessed
Cycle can not change, but when needing to expand power system capacity, then complete to expand field intelligent device using the female slave station of extension of main line
Data transfer, while extending female slave station can ensure that the sequential of whole system operation will not substantially increase and influence whole access cycle
Individual DCS system operation;
The branch line I/O substations access bus system of female slave station and its extension is extended in step 1.5, two grades of main websites, extension is female
Slave station passes through synchronous sequence data link management agreement(FTCDL)Realize and the dynamic link of all substations on branch line is managed, it is complete
Transmission into time determinability is controlled
Described step 2 is specifically included:
Step 2.1, set up dynamic time sequence management algorithm;
Step 2.2, the dynamic packing algorithm of foundation;
In the main website of bus system and the female slave station of extension, using secondary expansion data link management agreement(SEDL)Complete number
According to transmission control and data processing.Towards identical bus extension Data Transmission Controlling layer(AEDTC)Realize secondary expansion data
LMP Link Manager Protocol(SEDL)Function;Wherein, secondary expansion data link management agreement(SEDL)Dynamic management algorithm is provided;
Step 2.3, the self-checking algorithm for setting up data link management protocol dynamic subpackage;
Described step 2.1 is specifically included:
Step 2.1.1, the link for setting up in main website the female slave station of extension, meanwhile, set up branch line in the female slave station of extension
Stand link;
The link of the female slave station of extension is set up in main website according to the return address of point-to-point access, and in the female slave station of extension
In set up branch line substation link;
Step 2.1.2, set up link procedure by by point-to-point mode order inquiry field apparatus logical address wait
Reply, protocol algorithm checks address and determines how the logical address associates with physical address automatically;
Step 2.1.3, complete to substation information sorting, and check whether there is insertion in real time and delete new scene and set
It is standby.
Dynamic management algorithm is specifically included in described step 2.2:
Step 2.2.1, data link management agreement(SEDL)Dynamic Packetization subtracts certainly;
To meet 485 bus physical medium features at a high speed, each transmission quantity maximum is limited to 245 bytes, when packing every time
Head frame and tail frame need 10 bytes altogether, then there remains the byte of 245-10=235 and can be used for packing;
Step 2.2.2, data link management agreement(SEDL)Start dynamic packing;
Message is divided into master data and hot plug processing attachment data;Wherein, primary data segment is encapsulated including initial code, function
Data, the part of field data three;Extra data segment is encapsulated including 10 byte accessory command codes, 9 byte field device informations, 10 words
Save and delete information, therefore there remains 200 bytes and leave data intelligence subpackage for;
Step 2.2.3, constituted according to DCS system, the field device type and quantity of optimum choice subpackage;
Constituted according to DCS system and field apparatus quantity type is divided into five types:Input/output digital quantity, input/defeated
Go out analog quantity and pulsed quantity;Each type has fixed data transfer rate, and field equipment data when DCS system transmits data
Amount is divided into three sections of performance data, field equipment data and delta data;Dynamic packing algorithm is according to above equipment transmission data
Amount, it is automatic to carry out after field apparatus classification, analyzed using dynamic optimization, analyze the worst case packed every time, i.e., divided every time
The maximum message segment byte number of bag, determines subpackage size, the field device type and quantity of optimum choice subpackage
Step 2.2.4, enter Mobile state packing and send;
Link is down searched for by link chained list in turn, every time to dynamic time sequence management level(NTMS)Meeting during link traversal
Judge to whether there is facility information on the node, until link search is untill afterbody;Every time dynamically packing ending, first from
Real-time database(ARTDB)Read data and be put into packing buffering area, then read next link nodes, calculate next node
Judge that new facility information is added behind packing data area after byte value, addition, whether be more than 165 after byte number;With this
Judge to enter next ergodic process, judge whether packing byte number more than 165;So ensure that the caching packed each time
Certain facility information for being less than 165 bytes in data field;
Dynamic packing algorithm can be before data be sent, it is ensured that each subpackage increase field device information be it is newest, simultaneously
Confirm this specific buffering area title used of giving out a contract for a project, the buffer area write-in for needing to pack is sent in buffering area, so completed
This packing and transmission.
The different types of data volume of field apparatus quantity is specially in described step 2.2.3:In input data amount type
Performance data be 16 bytes, field equipment data be 2 bytes, delta data be 2 bytes;Export digital quantity and output analog quantity
Performance data be 2 bytes, field equipment data be 8 bytes, delta data be 0 byte;The performance data of input analog amount is
32 bytes, field equipment data is 16 bytes, and delta data is 0 byte;The performance data of pulsed quantity is 32 bytes, field apparatus
Data are 8 bytes, and delta data is 0 byte.
Described step 2.3 is specially:
Link is updated before each packing, constantly next search node is judged in packing process, empty section occurs
The node is skipped immediately when point or new insertion node to continue to pack, and completes normal data packing by test.
Described step 3 is specifically included:
The transmission that step 3.1, main website send data to the female slave station of same bus extension by main line is controlled;
Timing management configuration layer(NTMS)According to synchronous sequence LMP Link Manager Protocol(FTCDL)Realize to each of master slave relation
Individual equipment completes dynamic link management, towards growth data transmission control layer(AEDTC)Chained list is managed according to dynamic link to complete
Send the two priority classes of data, real-time database(ARTDB)It is responsible for data storage, starts under strict time-series dynamics management agreement
Secondary expansion data link management agreement(SEDL), done by RS485 drivers after the data encapsulation process for completing dynamic subpackage
Differential signal is sent;
Step 3.2, the female slave station of extension respond the transmission control of main website;
Received by RS485 drivers after main website polling data, pass through secondary expansion data link management agreement(SEDL)
To data protocol analysis, start secondary expansion application layer, start real-time database(ARTDB)By branch line substation digital independent, according to tight
The dynamic packing algorithm secondary expansion data link management agreement of lattice(SEDL)Data are replied into master by RS485 drivers
Stand;
The transmission that step 3.3, the female slave station of extension send data to branch line substation by branch line is controlled;
Timing management configuration layer(NTMS)According to synchronous sequence LMP Link Manager Protocol(FTCDL)Realize to each of master slave relation
Individual equipment completes dynamic link management, and data are done into differential signal by RS485 drivers and are sent to branch line substation;
The transmission that step 3.4, the female slave station of extension receive data by branch line is controlled;
With the female slave station of bus extension after data are sent it is determined that time in data are received by RS485 drivers, open
Dynamic timing management configuration layer (NTMS) is according to synchronous sequence LMP Link Manager Protocol(FTCDL)Start analysis protocol, completed in processing
After start real-time database(ARTDB)Store branch line substation information;
The transmission that step 3.5, main website receive data by main line from the female slave station of extension is controlled;
Send after data it is determined that time in data are received by RS485 drivers, start towards identical bus extension
Data Transmission Controlling layer(AEDTC), according to secondary expansion data link management agreement(SEDL)Data dissection process is completed, at place
Start real-time database after the completion of reason(ARTDB)Branch line substation information is stored, if hot plugging equipment phenomenon, then when starting synchronous
Sequence LMP Link Manager Protocol(FTCDL)Dynamic link control modification is completed, the function of dynamic realtime management is realized.
The remarkable result of the present invention is:A kind of synchronous sequence control of open topological structure bus of the present invention
Method compared with the prior art, with obvious advantage:Large number quipments data communication can be completed under limited timing cycles.
Whole system can be met under efficient way to manage using SECO management method, realize that a large amount of field apparatus are efficient
Management and data seamless bridge joint, while the Data Transmission Controlling of whole DCS buses can be with retention time certainty feature.
Brief description of the drawings
Fig. 1 is the expansion bus principle schematic of open topological structure of the present invention;
Fig. 2 is synchronous sequence Data-Link in the synchronous time sequence control method of open topological structure bus of the present invention
Road management agreement sets up link schematic diagram;
Fig. 3 assists for data link management in the synchronous time sequence control method of open topological structure bus of the present invention
The dynamic subpackage flow chart of view;
Fig. 4 assists for data link management in the synchronous time sequence control method of open topological structure bus of the present invention
The dynamic Packetization flow chart of view;
Fig. 5 assists for data link management in the synchronous time sequence control method of open topological structure bus of the present invention
The self-checking algorithm flow chart of the dynamic subpackage of view.
Embodiment
Below in conjunction with the accompanying drawings and specific embodiment is described in further detail to the present invention.
As shown in Fig. 1~5, a kind of synchronous time sequence control method of open topological structure bus, this method is specifically included
Following steps:
The system of step 1, foundation with expansion bus structure;
Step 1.1, user terminal are connected by the high speed 485 with Shielded Twisted Pair with system controller one-level main website,
And with binary-channel redundancy function, it is ensured that the proper communication of DCS data is minimum by external interference, and its typical bandwidth is 5Mbps;
It is connected between step 1.2, one-level main website and two grades of main websites by the one-level backbone with binary-channel redundancy function
Connect, be connected between the female slave station of the extension in two grades of main websites and branch line I/O substations also by the branch line with binary-channel redundancy function
Connect, and one-level main website forms one-level physical link layer, general slave station and the female slave station of extension constitute two grades of physical link layers together,
Branch line I/O substations in each extension branch line form three-level physical link layer;
Step 1.3, one-level main website pass through synchronous sequence data link management agreement(FTCDL)Realize to all on main line
General slave station and the female slave station dynamic link managerial ability of extension, deadline deterministic transmission control;
Step 1.4, in two grades of physical link layers, if DCS system capacity meets field apparatus access demand enough,
The data-transformation facility of site intelligent unit can be just completed using the general slave station of main line;If when the sequential of DCS system is accessed
Cycle can not change, but when needing to expand power system capacity, then complete to expand field intelligent device using the female slave station of extension of main line
Data transfer, while extending female slave station can ensure that the sequential of whole system operation will not substantially increase and influence whole access cycle
Individual DCS system operation;
The branch line I/O substations access bus system of female slave station and its extension is extended in step 1.5, two grades of main websites, extension is female
Slave station passes through synchronous sequence data link management agreement(FTCDL)Realize and the dynamic link of all substations on branch line is managed, it is complete
Transmission into time determinability is controlled;
Step 2, the data link control protocol for forming SECO management method;
In bus system main website and the female slave station of extension, the female slave station of extension and branch line substation, using synchronous sequence link management
Agreement(FTCDL)Complete to slave station time determinability Data Transmission Controlling;In timing management configuration layer(NTMS)Realize sequential chain
The function of road management agreement, wherein, timing management configuration layer(NTMS)It is main to complete dynamic link management function, dynamic link pipe
Manage and set up link chained list by reading the logical address and physical address of entrained field apparatus.Link management is running and calculated
During index is used as by physical address, according to the master slave relation of system complete data transfer plugged field apparatus
Management service.Because dynamic link management provides a kind of dynamic memory mode, timing management configuration layer(NTMS)Can be with
Flexible distribution data, convenient insertion and deletion data.
Step 2.1, set up dynamic time sequence management algorithm;
Step 2.1.1, the link for setting up in main website the female slave station of extension, meanwhile, set up branch line in the female slave station of extension
Stand link;
The link of the female slave station of extension is set up in main website according to the return address of point-to-point access, and in the female slave station of extension
In set up branch line substation link;
Step 2.1.2, set up link procedure by by point-to-point mode order inquiry field apparatus logical address wait
Reply, protocol algorithm checks address and determines how the logical address associates with physical address automatically;
Step 2.1.3, complete to substation information sorting, and check whether there is insertion in real time and delete new scene and set
It is standby;
Step 2.2, the dynamic packing algorithm of foundation;
In the main website of bus system and the female slave station of extension, using secondary expansion data link management agreement(SEDL)Complete number
According to transmission control and data processing.Towards identical bus extension Data Transmission Controlling layer(AEDTC)Realize secondary expansion data
LMP Link Manager Protocol(SEDL)Function;Wherein, secondary expansion data link management agreement(SEDL)Dynamic management algorithm is provided:
Step 2.2.1, data link management agreement(SEDL)Dynamic Packetization subtracts certainly;
To meet 485 bus physical medium features at a high speed, each transmission quantity maximum is limited to 245 bytes, when packing every time
Head frame and tail frame need 10 bytes altogether, then there remains the byte of 245-10=235 and can be used for packing;
Step 2.2.2, data link management agreement(SEDL)Start dynamic packing;
Message is divided into master data and hot plug processing attachment data;Wherein, primary data segment is encapsulated including initial code, function
Data, the part of field data three;Extra data segment is encapsulated including 10 byte accessory command codes, 9 byte field device informations, 10 words
Save and delete information, therefore there remains 200 bytes and leave data intelligence subpackage for;
Step 2.2.3, constituted according to DCS system, the field device type and quantity of optimum choice subpackage;
Constituted according to DCS system and field apparatus quantity type is divided into five types:Input/output digital quantity, input/defeated
Go out analog quantity and pulsed quantity;Each type has fixed data transfer rate, and field equipment data when DCS system transmits data
Amount is divided into three sections of performance data, field equipment data and delta data, is specially:Performance data in input data amount type
For 16 bytes, field equipment data is 2 bytes, and delta data is 2 bytes;Export digital quantity and export the performance data of analog quantity
For 2 bytes, field equipment data is 8 bytes, and delta data is 0 byte;The performance data of input analog amount is 32 bytes, scene
Device data is 16 bytes, and delta data is 0 byte;The performance data of pulsed quantity is 32 bytes, and field equipment data is 8 words
Section, delta data is 0 byte;
Dynamic packing algorithm is automatic to carry out after field apparatus classification according to above equipment transmission data amount, excellent using dynamic
Change analysis, analyze the worst case packed every time, i.e., the maximum message segment byte number of each subpackage determines subpackage size, optimize
Select the field device type and quantity of subpackage;
Step 2.2.4, enter Mobile state packing and send;
Link is down searched for by link chained list in turn, every time to dynamic time sequence management level(NTMS)Meeting during link traversal
Judge to whether there is facility information on the node, until link search is untill afterbody;Every time dynamically packing ending, first from
Real-time database(ARTDB)Read data and be put into packing buffering area, then read next link nodes, calculate next node
Judge that new facility information is added behind packing data area after byte value, addition, whether be more than 165 after byte number;With this
Judge to enter next ergodic process, judge whether packing byte number more than 165;So ensure that the caching packed each time
Certain facility information for being less than 165 bytes in data field;
Dynamic packing algorithm can be before data be sent, it is ensured that each subpackage increase field device information be it is newest, simultaneously
Confirm this specific buffering area title used of giving out a contract for a project, the buffer area write-in for needing to pack is sent in buffering area, so completed
This packing and transmission;
Step 2.3, the self-checking algorithm for setting up data link management protocol dynamic subpackage
Link is updated before each packing, constantly next search node is judged in packing process, empty section occurs
The node is skipped immediately when point or new insertion node to continue to pack, and completes normal data packing by test;
Step 3, SECO management multifunctional application layer implementation method is set up, complete open topological structure bus extension
Link transmission is controlled;
The transmission that step 3.1, main website send data to the female slave station of same bus extension by main line is controlled;
Timing management configuration layer(NTMS)According to synchronous sequence LMP Link Manager Protocol(FTCDL)Realize to each of master slave relation
Individual equipment completes dynamic link management, towards growth data transmission control layer(AEDTC)Chained list is managed according to dynamic link to complete
Send the two priority classes of data, real-time database(ARTDB)It is responsible for data storage, starts under strict time-series dynamics management agreement
Secondary expansion data link management agreement(SEDL), done by RS485 drivers after the data encapsulation process for completing dynamic subpackage
Differential signal is sent;
Step 3.2, the female slave station of extension respond the transmission control of main website;
Received by RS485 drivers after main website polling data, pass through secondary expansion data link management agreement(SEDL)
To data protocol analysis, start secondary expansion application layer, start real-time database(ARTDB)By branch line substation digital independent, according to tight
The dynamic packing algorithm secondary expansion data link management agreement of lattice(SEDL)Data are replied into master by RS485 drivers
Stand;
The transmission that step 3.3, the female slave station of extension send data to branch line substation by branch line is controlled;
Timing management configuration layer(NTMS)According to synchronous sequence LMP Link Manager Protocol(FTCDL)Realize to each of master slave relation
Individual equipment completes dynamic link management, and data are done into differential signal by RS485 drivers and are sent to branch line substation;
The transmission that step 3.4, the female slave station of extension receive data by branch line is controlled;
With the female slave station of bus extension after data are sent it is determined that time in data are received by RS485 drivers, open
Dynamic timing management configuration layer (NTMS) is according to synchronous sequence LMP Link Manager Protocol(FTCDL)Start analysis protocol, completed in processing
After start real-time database(ARTDB)Store branch line substation information;
The transmission that step 3.5, main website receive data by main line from the female slave station of extension is controlled;
Send after data it is determined that time in data are received by RS485 drivers, start towards identical bus extension
Data Transmission Controlling layer(AEDTC), according to secondary expansion data link management agreement(SEDL)Data dissection process is completed, at place
Start real-time database after the completion of reason(ARTDB)Branch line substation information is stored, if hot plugging equipment phenomenon, then when starting synchronous
Sequence LMP Link Manager Protocol(FTCDL)Dynamic link control modification is completed, the function of dynamic realtime management is realized.
Claims (8)
1. a kind of synchronous time sequence control method of open topological structure bus, it is characterised in that:This method specifically includes as follows
Step:
The system of step 1, foundation with expansion bus structure;
Step 2, the data link control protocol for forming SECO management method;
In bus system main website and the female slave station of extension, the female slave station of extension and branch line substation, using synchronous sequence LMP Link Manager Protocol
Complete to slave station time determinability Data Transmission Controlling;The function of sequential LMP Link Manager Protocol is realized in timing management configuration layer,
Wherein, timing management configuration layer mainly completes dynamic link management function, and dynamic link management is set by reading entrained scene
Standby logical address and physical address sets up link chained list;Link management is used as in operation and calculating process by physical address
Index, completes data transfer according to the master slave relation of system and plugs the management service of field apparatus;
Step 3, SECO management multifunctional application layer implementation method is set up, complete open topological structure bus extension link
Transmission control.
2. a kind of synchronous time sequence control method of open topological structure bus according to claim 1, it is characterised in that:
Described step 1 is specifically included:
Step 1.1, user terminal are connected by the high speed 485 with Shielded Twisted Pair with system controller one-level main website, and are had
There is binary-channel redundancy function, it is ensured that the proper communication of DCS data is minimum by external interference, its typical bandwidth is 5Mbps;
It is connected between step 1.2, one-level main website and two grades of main websites by the one-level backbone with binary-channel redundancy function, two
It is connected between the female slave station of extension and branch line I/O substations in level main website also by the branch line with binary-channel redundancy function, and
One-level main website formation one-level physical link layer, general slave station and the female slave station of extension constitute two grades of physical link layers together, each to expand
The branch line I/O substations opened up in branch line form three-level physical link layer;
Step 1.3, one-level main website by synchronous sequence data link management protocol realization to all general slave stations on main line and
The female slave station dynamic link managerial ability of extension, deadline deterministic transmission control;
Step 1.4, in two grades of physical link layers, if DCS system capacity meets field apparatus access demand enough, use
The general slave station of main line can just complete the data-transformation facility of site intelligent unit;If when the sequential access cycle of DCS system
When can not change, but need to expand power system capacity, then complete to expand field intelligent device data using the female slave station of extension of main line
Transmission, while extending female slave station can ensure that the sequential of whole system operation will not substantially increase and influence whole access cycle
DCS system is run;
The branch line I/O substations access bus system of female slave station and its extension, the female slave station of extension are extended in step 1.5, two grades of main websites
The dynamic link of all substations on branch line is managed by synchronous sequence data link management protocol realization, the deadline determines
Property transmission control.
3. a kind of synchronous time sequence control method of open topological structure bus according to claim 1, it is characterised in that:
Described step 2 is specifically included:
Step 2.1, set up dynamic time sequence management algorithm;
Step 2.2, the dynamic packing algorithm of foundation;
In the main website of bus system and the female slave station of extension, Data Transmission Controlling is completed using secondary expansion data link management agreement
And data processing;The work(of secondary expansion data link management agreement is being realized towards identical bus extension Data Transmission Controlling layer
Energy;Wherein, secondary expansion data link management agreement provides dynamic management algorithm;
Step 2.3, the self-checking algorithm for setting up data link management protocol dynamic subpackage.
4. a kind of synchronous time sequence control method of open topological structure bus according to claim 3, it is characterised in that:
Described step 2.1 is specifically included:
Step 2.1.1, the link for setting up in main website the female slave station of extension, meanwhile, set up branch line substation chain in the female slave station of extension
Road;
The link of the female slave station of extension is set up in main website according to the return address of point-to-point access, and is built in the female slave station of extension
Vertical branch line substation link;
Step 2.1.2, set up link procedure by by point-to-point mode order inquiry field apparatus logical address wait reply,
Protocol algorithm checks address and determines how the logical address associates with physical address automatically;
Step 2.1.3, completion check whether there is insertion and delete new field apparatus in real time to substation information sorting.
5. a kind of synchronous time sequence control method of open topological structure bus according to claim 3, it is characterised in that:
Dynamic management algorithm is specifically included in described step 2.2:
Step 2.2.1, data link management protocol dynamic Packetization subtract certainly;
To meet 485 bus physical medium features at a high speed, each transmission quantity maximum is limited to 245 bytes, every time head frame during packing
Need 10 bytes altogether with tail frame, then there remains 245-10=235 bytes and can be used for packing;
Step 2.2.2, data link management agreement start dynamic packing;
Message is divided into master data and hot plug processing attachment data;Wherein, primary data segment is encapsulated including initial code, function number
According to the part of field data three;Extra data segment is encapsulated including 10 byte accessory command codes, 9 byte field device informations, 10 bytes
Information is deleted, therefore there remains 200 bytes and leaves data intelligence subpackage for;
Step 2.2.3, constituted according to DCS system, the field device type and quantity of optimum choice subpackage;
Constituted according to DCS system and field apparatus quantity type is divided into five types:Input/output digital quantity, input/output
Analog quantity and pulsed quantity;Each type has fixed data transfer rate, and field equipment data amount when DCS system transmits data
It is divided into three sections of performance data, field equipment data and delta data;Dynamic packing algorithm according to above equipment transmission data amount,
It is automatic to carry out after field apparatus classification, analyzed using dynamic optimization, analyze the worst case packed every time, i.e., each subpackage
Maximum message segment byte number, determines subpackage size, the field device type and quantity of optimum choice subpackage
Step 2.2.4, enter Mobile state packing and send;
Link is down searched for by link chained list in turn, the link can be judged when every time to dynamic time sequence management level link traversal
It whether there is facility information on node, until link search is untill afterbody;Every time in the ending of dynamically packing, first from real-time database
Read data and be put into packing buffering area, then read next link nodes, calculate the byte value of next node, be added
Judge that new facility information is added behind packing data area afterwards, whether be more than 165 after byte number;Enter next with this judgement
Ergodic process, judges whether packing byte number more than 165;So ensuring that in the data cached area packed each time to be
Less than the facility information of 165 bytes;
Dynamic packing algorithm can be before data be sent, it is ensured that each subpackage increase field device information is newest, is confirmed simultaneously
This specific buffering area title used of giving out a contract for a project, the buffer area write-in for needing to pack is sent in buffering area, so completes this
Packing and transmission.
6. a kind of synchronous time sequence control method of open topological structure bus according to claim 5, it is characterised in that:
The different types of data volume of field apparatus quantity is specially in described step 2.2.3:Function number in input data amount type
According to for 16 bytes, field equipment data is 2 bytes, and delta data is 2 bytes;Export digital quantity and export the function number of analog quantity
According to for 2 bytes, field equipment data is 8 bytes, and delta data is 0 byte;The performance data of input analog amount is 32 bytes, existing
Field device data are 16 bytes, and delta data is 0 byte;The performance data of pulsed quantity is 32 bytes, and field equipment data is 8 words
Section, delta data is 0 byte.
7. a kind of synchronous time sequence control method of open topological structure bus according to claim 3, it is characterised in that:
Described step 2.3 is specially:
Update link before each packing, constantly next search node judged in packing process, occur empty node or
Person skips the node and continues to pack immediately when newly inserting node, complete normal data packing by test.
8. a kind of synchronous time sequence control method of open topological structure bus according to claim 1, it is characterised in that:
Described step 3 is specifically included:
The transmission that step 3.1, main website send data to the female slave station of same bus extension by main line is controlled;
Timing management configuration layer is realized according to synchronous sequence LMP Link Manager Protocol completes dynamic chain to each equipment of master slave relation
Road is managed, and managing chained list according to dynamic link towards growth data transmission control layer completes to send the two priority classes of data, real
When storehouse be responsible for data storage, under strict time-series dynamics management agreement start secondary expansion data link management agreement, complete
Differential signal transmission is done by RS485 drivers after the data encapsulation process of dynamic subpackage;
Step 3.2, the female slave station of extension respond the transmission control of main website;
Received by RS485 drivers after main website polling data, by secondary expansion data link management agreement to data protocol
Parsing, starts secondary expansion application layer, starts real-time database by branch line substation digital independent, according to strict dynamic packing algorithm two
Data are replied to main website by level growth data LMP Link Manager Protocol by RS485 drivers;
The transmission that step 3.3, the female slave station of extension send data to branch line substation by branch line is controlled;
Timing management configuration layer is realized according to synchronous sequence LMP Link Manager Protocol completes dynamic chain to each equipment of master slave relation
Road is managed, and data are done into differential signal by RS485 drivers and are sent to branch line substation;
The transmission that step 3.4, the female slave station of extension receive data by branch line is controlled;
With the female slave station of bus extension after data are sent it is determined that time in data are received by RS485 drivers, during startup
Sequence management configuration layer starts analysis protocol according to synchronous sequence LMP Link Manager Protocol, starts real-time database storage branch after processing is completed
Line substation information;
The transmission that step 3.5, main website receive data by main line from the female slave station of extension is controlled;
Send after data it is determined that time in data are received by RS485 drivers, start towards identical bus extension data
Transmission control layer, data dissection process is completed according to secondary expansion data link management agreement, is started after processing is completed real-time
Library storage branch line substation information, if hot plugging equipment phenomenon, then starts synchronous sequence LMP Link Manager Protocol and completes dynamic
Link control modification, realizes the function of dynamic realtime management.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310750905.6A CN104750649B (en) | 2013-12-31 | 2013-12-31 | The synchronous time sequence control method of open topological structure bus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310750905.6A CN104750649B (en) | 2013-12-31 | 2013-12-31 | The synchronous time sequence control method of open topological structure bus |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104750649A CN104750649A (en) | 2015-07-01 |
CN104750649B true CN104750649B (en) | 2017-09-29 |
Family
ID=53590364
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310750905.6A Active CN104750649B (en) | 2013-12-31 | 2013-12-31 | The synchronous time sequence control method of open topological structure bus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104750649B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110071792A (en) * | 2019-04-28 | 2019-07-30 | 西安空间无线电技术研究所 | A kind of wireless transmission control method that the low time delay based on half-duplex bus is highly reliable |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107995080B (en) * | 2017-12-14 | 2020-09-29 | 长沙玄米电子科技有限公司 | Multi-host communication method based on two-wire bus |
CN108134727A (en) * | 2017-12-25 | 2018-06-08 | 杭州和利时自动化有限公司 | A kind of control system of two layers of fieldbus |
CN108234218A (en) * | 2018-01-23 | 2018-06-29 | 华尔达(厦门)塑胶有限公司 | A kind of intelligent network connection and extended method |
CN110365567A (en) * | 2019-07-23 | 2019-10-22 | 中电智能科技有限公司 | A kind of unified modules configuration strategy towards multibus |
CN110784387A (en) * | 2019-11-04 | 2020-02-11 | 刘晓飞 | Method for realizing distributed intelligent physiotherapy system |
CN111131477B (en) * | 2019-12-28 | 2022-01-11 | 杭州和利时自动化有限公司 | Data processing method, device and equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102289422A (en) * | 2011-06-28 | 2011-12-21 | 北京荣信慧科科技有限公司 | Multi-level extension control system based on back plate bus and high-speed serial communication |
CN102439531A (en) * | 2009-05-20 | 2012-05-02 | 克罗诺洛吉克有限公司 | High density, low jitter, synchronous usb expansion |
CN202713329U (en) * | 2012-08-23 | 2013-01-30 | 和记奥普泰通信技术有限公司 | Coordination type time synchronization system of smart power grid packet communication information platform |
CN103269263A (en) * | 2013-05-17 | 2013-08-28 | 浙江赛思电子科技有限公司 | Device and method for RS422/485 time code expanding output based on custom expansion clock and communication bus |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011049964A (en) * | 2009-08-28 | 2011-03-10 | Denso Corp | Node used for communication system |
-
2013
- 2013-12-31 CN CN201310750905.6A patent/CN104750649B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102439531A (en) * | 2009-05-20 | 2012-05-02 | 克罗诺洛吉克有限公司 | High density, low jitter, synchronous usb expansion |
CN102289422A (en) * | 2011-06-28 | 2011-12-21 | 北京荣信慧科科技有限公司 | Multi-level extension control system based on back plate bus and high-speed serial communication |
CN202713329U (en) * | 2012-08-23 | 2013-01-30 | 和记奥普泰通信技术有限公司 | Coordination type time synchronization system of smart power grid packet communication information platform |
CN103269263A (en) * | 2013-05-17 | 2013-08-28 | 浙江赛思电子科技有限公司 | Device and method for RS422/485 time code expanding output based on custom expansion clock and communication bus |
Non-Patent Citations (1)
Title |
---|
DCS与现场总线综述;张桢 等;《电气自动化》;20130130;第35卷(第1期);第4-6,46页 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110071792A (en) * | 2019-04-28 | 2019-07-30 | 西安空间无线电技术研究所 | A kind of wireless transmission control method that the low time delay based on half-duplex bus is highly reliable |
CN110071792B (en) * | 2019-04-28 | 2021-12-07 | 西安空间无线电技术研究所 | Low-delay high-reliability wireless transmission control method based on half-duplex bus |
Also Published As
Publication number | Publication date |
---|---|
CN104750649A (en) | 2015-07-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104750649B (en) | The synchronous time sequence control method of open topological structure bus | |
CN102439818B (en) | Method and device for auto-generating goose signal connection topology from substation level | |
CN104660682B (en) | A kind of OPC data collection and monitoring intelligent terminal based on TD-LTE | |
CN101873299B (en) | Serial bus, communication method and system | |
CN103280894A (en) | Power distribution network control application network topology automatic identifying method | |
CN104318006B (en) | A kind of optimization method of virtual terminals of intelligent substation design | |
CN102611710A (en) | Data interaction method and data interaction system for scheduling master station and transformer substation based on MMS (Multimedia Messaging Service) | |
CN106533876A (en) | Data collection method based on car CAN bus data collection system | |
CN105208622A (en) | High-efficiency dynamic automatic-maintenance routing list structure and routing list management method | |
CN102064962A (en) | Method for implementing input and output assemblies of ATS (Automatic Train Supervision) system based on named pipeline communication | |
CN103778772A (en) | Framing and interconnection transmitting method in electricity utilization information collecting system | |
CN102868552A (en) | Data sending method | |
CN104753899B (en) | A kind of open bus structures with multi-tier structure | |
CN100334819C (en) | Ethernet optical fiber transceiver and data transceiving method used on said tranceiver | |
CN106571991A (en) | Method and data for transmitting data | |
CN109215326A (en) | A kind of parallel meter register method and device | |
CN105007310A (en) | Information synchronization method, device and system | |
CN107995128A (en) | Data access method, device, host and the storage medium of fully mechanized mining centralized control system | |
CN103545933A (en) | Instation I/O interface protocol of intelligent substation online monitoring system | |
CN103226535B (en) | A kind of microserver and management method thereof | |
CN104967657A (en) | Internet of things system and realization method thereof | |
CN105227629A (en) | The long-range retrieval method that a kind of multi-source data is shown with figure | |
CN104967546A (en) | High reliability dynamic ad hoc network construction method of multiple intelligent household devices | |
CN103442091A (en) | Data transmission method and device | |
CN104731992B (en) | Power distribution automation modeling method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |