CN104750649A - Synchronous sequential control method for opening topology structure bus - Google Patents

Synchronous sequential control method for opening topology structure bus Download PDF

Info

Publication number
CN104750649A
CN104750649A CN201310750905.6A CN201310750905A CN104750649A CN 104750649 A CN104750649 A CN 104750649A CN 201310750905 A CN201310750905 A CN 201310750905A CN 104750649 A CN104750649 A CN 104750649A
Authority
CN
China
Prior art keywords
data
link
slave station
expansion
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.)
Granted
Application number
CN201310750905.6A
Other languages
Chinese (zh)
Other versions
CN104750649B (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.)
Center Control Systems Engineering (cse) Co Ltd
Original Assignee
Center Control Systems Engineering (cse) 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 Center Control Systems Engineering (cse) Co Ltd filed Critical Center Control Systems Engineering (cse) Co Ltd
Priority to CN201310750905.6A priority Critical patent/CN104750649B/en
Publication of CN104750649A publication Critical patent/CN104750649A/en
Application granted granted Critical
Publication of CN104750649B publication Critical patent/CN104750649B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention relates to the technical field of industrial control field bus and particularly discloses a synchronous sequential control method for opening topology structure bus. The method specially includes: 1), establishing a system provided with an expansion bus structure; 2), forming a data link control protocol of a sequential control management method; 3), establishing an implementation method for a multifunctional application layer of sequential control management and completing transmission control on a bus extension link of the opening topology structure. Compared with the prior art, the synchronous sequential control method has the advantages that a great deal of equipment communications can be completed under the limited timing circle; efficient management of a great deal of field equipment and data seamless bridging are realized under the condition that the sequential control method adopted can meet the efficient management mode of an entire system, and meanwhile, time determinability characteristics in data transmission control on the whole DCS (data communication system) bus can be kept.

Description

The synchronous time sequence control method of open topological structure bus
Technical field
The invention belongs to Industry Control field bus technique field, be specifically related to a kind of synchronous time sequence control method of open topological structure bus.
Background technology
In DCS system, the most important thing is whole system timing management ability, namely have strict restriction to the control time in devices in system communications access cycle.Under this specific demand, in system, all devices must complete mass data communication within the restricted cycle, when up to a hundred field apparatus connecting systems, if each devices communicating interval is in units of 1ms, then whole system communication cycle will increase millisecond up to a hundred, this means if still use original control system, then in limited communication timing cycles, cannot complete all devices data communication, this defect directly causes Portable device quantity in DCS system to be restricted.
In addition, in DCS system, on communication hardware, the main 485 high-speed bus technology that adopt complete bus data transfer, and total inorganic nitrogen also has strict index.If under wanting the prerequisite ensureing not increase at Control timing sequence, access a large amount of field apparatus and realize field apparatus dilatation, can consider once data all to be passed through bus transfer.But due to 485 high-speed bus own physical medium features, field apparatus control time and quantity can be caused to be restricted: 1. byte number should be less than 255 bytes; 2. system requirements traffic load rate <30%.
The byte quantity that load factor=each byte number/transmission speed transmitted specifies;
Reach 5Mbps for traffic rate, system requirements traffic load rate is less than 30% according to formula analysis, and the byte quantity of each transmission just must be allowed to control in 200 byte left and right most suitable.Therefore, physical medium feature to be met during data transmission, then must the scale of each transmission be calculated and be judged, ensure that every data transfer meets system requirements.
Finally, the data message quantity of some field intelligent device is in 50 bytes, if system carries a large amount of this field apparatus, when then once all data will be transferred to bus master, message byte is considerably beyond the restriction of physical medium, can not proper communication, when all having scanned, the scan period of whole system also can increase.
At present at DCS control field, be badly in need of a kind ofly under limited communication cycle and commitment defini interval, under the prerequisite increasing few sequence scanning cycle, the method for large number quipments communications to be completed.
Summary of the invention
The object of the present invention is to provide a kind of synchronous time sequence control method of open topological structure bus, under limited communication cycle and commitment defini interval, under the prerequisite increasing few sequence scanning cycle, the transmission of large number quipments communication can be completed.
Technical scheme of the present invention is as follows: a kind of synchronous time sequence control method of open topological structure bus, the method specifically comprises the steps:
Step 1, foundation have the system of expansion bus structure;
The data link control protocol of step 2, formation sequential control management method;
At bus system main website and the female slave station of expansion, expand female slave station and branch line substation, adopt synchronous sequence LMP Link Manager Protocol (FTCDL) to complete slave station time determinability Data Transmission Controlling; The function of sequential LMP Link Manager Protocol is realized at timing management configuration layer (NTMS), wherein, timing management configuration layer (NTMS) mainly completes dynamic link management function, and dynamic link management sets up link chained list by the logical address and physical address that read entrained field apparatus; Link management operation and computation process in by physical address as index, complete according to the master slave relation of system the management service that data transmit warm swap field apparatus;
Step 3, set up sequential control management multifunctional application layer implementation method, complete open topological structure bus extension link transmission and control.
Described step 1 specifically comprises:
Step 1.1, user terminal are connected with system controller one-level main website by the high speed 485 with Shielded Twisted Pair, and have binary-channel redundancy function, and ensure that the proper communication of DCS data is minimum by external interference, its typical bandwidth is 5Mbps;
Step 1.2, to be connected by the one-level backbone with binary-channel redundancy function between one-level main website and secondary main website, the female slave station of expansion in secondary main website is also connected by the branch line with binary-channel redundancy function with between branch line I/O substation, and one-level main website forms one-level physical link layer, general slave station and the female slave station of expansion form secondary physical link layer together, and the branch line I/O substation in each expansion branch line forms three level physical link layers;
Step 1.3, one-level main website are realized all general slave station on main line and the female slave station dynamic link managerial ability of expansion by synchronous sequence data link management agreement (FTCDL), and the deadline, deterministic transmission controlled;
Step 1.4, in secondary physical link layer, if when DCS system capacity enough meets field apparatus access demand, then use the general slave station of main line just can complete the data-transformation facility of site intelligent unit; If when the sequential of DCS system can not change access cycle, but when needing to expand power system capacity, then use the female slave station of the expansion of main line to complete and expand the transmission of field intelligent device data, expand female slave station simultaneously and can ensure that the sequential that whole system is run obviously can not increase and affect the operation of whole DCS system access cycle;
The branch line I/O substation access bus system of female slave station and expansion thereof is expanded in step 1.5, secondary main website, expand female slave station to realize managing the dynamic link of substations all on branch line by synchronous sequence data link management agreement (FTCDL), the deadline, deterministic transmission controlled
Described step 2 specifically comprises:
Step 2.1, set up dynamic time sequence management algorithm;
Step 2.2, set up and dynamically to pack algorithm;
At main website and the female slave station of expansion of bus system, secondary expansion data link management agreement (SEDL) is adopted to complete Data Transmission Controlling and data processing.The function of secondary expansion data link management agreement (SEDL) is being realized towards same bus growth data transmission control layer (AEDTC); Wherein, secondary expansion data link management agreement (SEDL) provides dynamic management algorithm;
Step 2.3, set up the self-checking algorithm of data link management protocol dynamic subpackage;
Described step 2.1 specifically comprises:
Step 2.1.1, in main website set up expansion female slave station link, meanwhile, expansion female slave station in set up branch line substation link;
In main website, set up according to the return address of point-to-point access the link expanding female slave station, and set up branch line substation link in the female slave station of expansion;
Step 2.1.2, set up link procedure and reply by being waited for by point-to-point mode order inquiry field apparatus logical address, protocol algorithm self-verifying address also determines how this logical address associates with physical address;
Step 2.1.3, to complete substation information sorting, and real-time checking whether is inserted and deletes new field apparatus.
In described step 2.2, dynamic management algorithm specifically comprises:
Step 2.2.1, data link management agreement (SEDL) dynamically Packetization subtract certainly;
For meeting 485 bus physical medium features at a high speed, each transmission quantity maximum limit fixes on 245 bytes, and during each packing, head frame and tail frame need 10 bytes altogether, then also remaining 245-10=235 byte can be used for packing;
Step 2.2.2, data link management agreement (SEDL) start dynamically to pack;
Message is divided into master data and hot plug process attachment data; Wherein, primary data segment comprises initial code encapsulation, performance data, field data three part; Extra data segment comprises 10 byte accessory command code encapsulation, 9 byte field device information, and 10 bytes delete information, and therefore also remaining 200 bytes leave data intelligence subpackage for;
Step 2.2.3, according to DCS system form, the field device type of optimum choice subpackage and quantity;
Form according to DCS system and field apparatus quantity type is divided into five types: I/O digital quantity, I/O analog quantity and pulsed quantity; Each type, when DCS system transmission data, have fixing data transfer rate, and field equipment data amount is divided into performance data, field equipment data and delta data three sections; Dynamic packing algorithm, according to above equipment transmission data amount, after automatically carrying out field apparatus classification, adopts dynamic optimization analysis, analyze the worst case of each packing, namely the maximum message segment byte number of each subpackage, determines subpackage size, the field device type of optimum choice subpackage and quantity
Step 2.2.4, dynamically pack and send;
Down link is searched in turn, can judge whether this node exists facility information, until link search is to afterbody to during dynamic time sequence administration and supervision authorities (NTMS) link traversal at every turn by link chained list; At every turn in the ending of dynamically packing, first reading data putting into packing buffer zone from real-time database (ARTDB), then reading next link nodes, calculating the byte value of next node, after judging that new facility information adds packing data district after being added, after byte number, whether be greater than 165; Enter next ergodic process with this judgement, judge whether that packing byte number is more than 165; This ensures that thering in the data cached district of packing each time must be the facility information being less than 165 bytes;
Dynamic packing algorithm can before transmission data, it is up-to-date for ensureing that each subpackage increases field device information, confirm this concrete buffer zone title used of giving out a contract for a project simultaneously, needing the buffer area write of packing to send in buffer zone, completing this packing like this and sending.
The data volume that in described step 2.2.3, field apparatus quantity is dissimilar is specially: the performance data in input data volume type is 16 bytes, and field equipment data is 2 bytes, and delta data is 2 bytes; The performance data exporting digital quantity and output analog quantity is 2 bytes, and field equipment data is 8 bytes, and delta data is 0 byte; The performance data of input analog amount is 32 bytes, and field equipment 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 bytes, and delta data is 0 byte.
Described step 2.3 is specially:
Before each packing, upgrading link, constantly next search node is judged in packing process, skip this node immediately when there is empty node or new insertion node and continue packing, completing the packing of normal data through testing.
Described step 3 specifically comprises:
The transmission that step 3.1, main website send data to the female slave station of same bus extension by main line controls;
Timing management configuration layer (NTMS) realizes completing dynamic link management to each equipment of master slave relation according to synchronous sequence LMP Link Manager Protocol (FTCDL), complete according to dynamic link management chained list the two priority classes sending data towards growth data transmission control layer (AEDTC), real-time database (ARTDB) is responsible for storing data, under strict time-series dynamics management agreement, start secondary expansion data link management agreement (SEDL), do differential signal by RS485 driver after completing the data encapsulation process of dynamic subpackage and send;
Step 3.2, expand female slave station respond main website transmission control;
After receiving main website polling data by RS485 driver, by 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 strict dynamic packing algorithm secondary expansion data link management agreement (SEDL), data are replied to main website by RS485 driver;
Step 3.3, expand female slave station by branch line send data to branch line substation transmission control;
Timing management configuration layer (NTMS) realizes completing dynamic link management to each equipment of master slave relation according to synchronous sequence LMP Link Manager Protocol (FTCDL), data is done differential signal by RS485 driver and sends to branch line substation;
Step 3.4, expand female slave station by branch line receive data transmission control;
After standing in transmission data, within the time determined, data are received by RS485 driver with bus extension is female, start timing management configuration layer (NTMS) and start analysis protocol according to synchronous sequence LMP Link Manager Protocol (FTCDL), start real-time database (ARTDB) after processing is completed and store branch line substation information;
The transmission that step 3.5, main website receive data by main line from the female slave station of expansion controls;
Within the time determined, data are received by RS485 driver after sending data, start towards same bus growth data transmission control layer (AEDTC), Data Analysis process is completed according to secondary expansion data link management agreement (SEDL), start real-time database (ARTDB) after processing is completed and store branch line substation information, if there is warm swap equipment phenomenon, then start synchronous sequence LMP Link Manager Protocol (FTCDL) and complete dynamic link control amendment, realize the function of dynamic realtime management.
Remarkable result of the present invention is: the synchronous time sequence control method of a kind of open topological structure bus of the present invention compared with the prior art, has obvious advantage: under limited timing cycles, can complete large number quipments data communication.Adopt sequential control management method can meet whole system under efficient way to manage, realize a large amount of field apparatus and manage efficiently and data seamless bridge joint, the Data Transmission Controlling of whole DCS bus can retention time determinacy feature simultaneously.
Accompanying drawing explanation
Fig. 1 is the expansion bus principle schematic of open topological structure of the present invention;
Fig. 2 is that in the synchronous time sequence control method of open topological structure bus of the present invention, synchronous sequence data link management agreement sets up link schematic diagram;
Fig. 3 is data link management protocol dynamic subpackage process flow diagram in the synchronous time sequence control method of open topological structure bus of the present invention;
Fig. 4 is data link management protocol dynamic Packetization process flow diagram in the synchronous time sequence control method of open topological structure bus of the present invention;
Fig. 5 is the self-checking algorithm process flow diagram of data link management protocol dynamic subpackage in the synchronous time sequence control method of open topological structure bus of the present invention.
Embodiment
Below in conjunction with drawings and the specific embodiments, the present invention is described in further detail.
As shown in Fig. 1 ~ 5, a kind of synchronous time sequence control method of open topological structure bus, the method specifically comprises the steps:
Step 1, foundation have the system of expansion bus structure;
Step 1.1, user terminal are connected with system controller one-level main website by the high speed 485 with Shielded Twisted Pair, and have binary-channel redundancy function, and ensure that the proper communication of DCS data is minimum by external interference, its typical bandwidth is 5Mbps;
Step 1.2, to be connected by the one-level backbone with binary-channel redundancy function between one-level main website and secondary main website, the female slave station of expansion in secondary main website is also connected by the branch line with binary-channel redundancy function with between branch line I/O substation, and one-level main website forms one-level physical link layer, general slave station and the female slave station of expansion form secondary physical link layer together, and the branch line I/O substation in each expansion branch line forms three level physical link layers;
Step 1.3, one-level main website are realized all general slave station on main line and the female slave station dynamic link managerial ability of expansion by synchronous sequence data link management agreement (FTCDL), and the deadline, deterministic transmission controlled;
Step 1.4, in secondary physical link layer, if when DCS system capacity enough meets field apparatus access demand, then use the general slave station of main line just can complete the data-transformation facility of site intelligent unit; If when the sequential of DCS system can not change access cycle, but when needing to expand power system capacity, then use the female slave station of the expansion of main line to complete and expand the transmission of field intelligent device data, expand female slave station simultaneously and can ensure that the sequential that whole system is run obviously can not increase and affect the operation of whole DCS system access cycle;
The branch line I/O substation access bus system of female slave station and expansion thereof is expanded in step 1.5, secondary main website, expand female slave station to realize managing the dynamic link of substations all on branch line by synchronous sequence data link management agreement (FTCDL), the deadline, deterministic transmission controlled;
The data link control protocol of step 2, formation sequential control management method;
At bus system main website and the female slave station of expansion, expand female slave station and branch line substation, adopt synchronous sequence LMP Link Manager Protocol (FTCDL) to complete slave station time determinability Data Transmission Controlling; The function of sequential LMP Link Manager Protocol is realized at timing management configuration layer (NTMS), wherein, timing management configuration layer (NTMS) mainly completes dynamic link management function, and dynamic link management sets up link chained list by the logical address and physical address that read entrained field apparatus.Link management operation and computation process in by physical address as index, complete according to the master slave relation of system the management service that data transmit warm swap field apparatus.Because dynamic link management provides a kind of dynamic memory mode, so timing management configuration layer (NTMS) can distribute data flexibly, convenient insertion and deletion data.
Step 2.1, set up dynamic time sequence management algorithm;
Step 2.1.1, in main website set up expansion female slave station link, meanwhile, expansion female slave station in set up branch line substation link;
In main website, set up according to the return address of point-to-point access the link expanding female slave station, and set up branch line substation link in the female slave station of expansion;
Step 2.1.2, set up link procedure and reply by being waited for by point-to-point mode order inquiry field apparatus logical address, protocol algorithm self-verifying address also determines how this logical address associates with physical address;
Step 2.1.3, to complete substation information sorting, and real-time checking whether is inserted and deletes new field apparatus;
Step 2.2, set up and dynamically to pack algorithm;
At main website and the female slave station of expansion of bus system, secondary expansion data link management agreement (SEDL) is adopted to complete Data Transmission Controlling and data processing.The function of secondary expansion data link management agreement (SEDL) is being realized towards same bus growth data transmission control layer (AEDTC); Wherein, secondary expansion data link management agreement (SEDL) provides dynamic management algorithm:
Step 2.2.1, data link management agreement (SEDL) dynamically Packetization subtract certainly;
For meeting 485 bus physical medium features at a high speed, each transmission quantity maximum limit fixes on 245 bytes, and during each packing, head frame and tail frame need 10 bytes altogether, then also remaining 245-10=235 byte can be used for packing;
Step 2.2.2, data link management agreement (SEDL) start dynamically to pack;
Message is divided into master data and hot plug process attachment data; Wherein, primary data segment comprises initial code encapsulation, performance data, field data three part; Extra data segment comprises 10 byte accessory command code encapsulation, 9 byte field device information, and 10 bytes delete information, and therefore also remaining 200 bytes leave data intelligence subpackage for;
Step 2.2.3, according to DCS system form, the field device type of optimum choice subpackage and quantity;
Form according to DCS system and field apparatus quantity type is divided into five types: I/O digital quantity, I/O analog quantity and pulsed quantity; Each type is when DCS system transmission data, there is fixing data transfer rate, and field equipment data amount is divided into performance data, field equipment data and delta data three sections, be specially: the performance data in input data volume type is 16 bytes, field equipment data is 2 bytes, and delta data is 2 bytes; The performance data exporting digital quantity and output analog quantity is 2 bytes, and field equipment data is 8 bytes, and delta data is 0 byte; The performance data of input analog amount is 32 bytes, and field equipment 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 bytes, and delta data is 0 byte;
Dynamic packing algorithm, according to above equipment transmission data amount, after automatically carrying out field apparatus classification, adopts dynamic optimization analysis, analyze the worst case of each packing, namely the maximum message segment byte number of each subpackage, determines subpackage size, the field device type of optimum choice subpackage and quantity;
Step 2.2.4, dynamically pack and send;
Down link is searched in turn, can judge whether this node exists facility information, until link search is to afterbody to during dynamic time sequence administration and supervision authorities (NTMS) link traversal at every turn by link chained list; At every turn in the ending of dynamically packing, first reading data putting into packing buffer zone from real-time database (ARTDB), then reading next link nodes, calculating the byte value of next node, after judging that new facility information adds packing data district after being added, after byte number, whether be greater than 165; Enter next ergodic process with this judgement, judge whether that packing byte number is more than 165; This ensures that thering in the data cached district of packing each time must be the facility information being less than 165 bytes;
Dynamic packing algorithm can before transmission data, it is up-to-date for ensureing that each subpackage increases field device information, confirm this concrete buffer zone title used of giving out a contract for a project simultaneously, needing the buffer area write of packing to send in buffer zone, completing this packing like this and sending;
Step 2.3, set up the self-checking algorithm of data link management protocol dynamic subpackage
Before each packing, upgrading link, constantly next search node is judged in packing process, skip this node immediately when there is empty node or new insertion node and continue packing, completing the packing of normal data through testing;
Step 3, set up sequential control management multifunctional application layer implementation method, complete open topological structure bus extension link transmission and control;
The transmission that step 3.1, main website send data to the female slave station of same bus extension by main line controls;
Timing management configuration layer (NTMS) realizes completing dynamic link management to each equipment of master slave relation according to synchronous sequence LMP Link Manager Protocol (FTCDL), complete according to dynamic link management chained list the two priority classes sending data towards growth data transmission control layer (AEDTC), real-time database (ARTDB) is responsible for storing data, under strict time-series dynamics management agreement, start secondary expansion data link management agreement (SEDL), do differential signal by RS485 driver after completing the data encapsulation process of dynamic subpackage and send;
Step 3.2, expand female slave station respond main website transmission control;
After receiving main website polling data by RS485 driver, by 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 strict dynamic packing algorithm secondary expansion data link management agreement (SEDL), data are replied to main website by RS485 driver;
Step 3.3, expand female slave station by branch line send data to branch line substation transmission control;
Timing management configuration layer (NTMS) realizes completing dynamic link management to each equipment of master slave relation according to synchronous sequence LMP Link Manager Protocol (FTCDL), data is done differential signal by RS485 driver and sends to branch line substation;
Step 3.4, expand female slave station by branch line receive data transmission control;
After standing in transmission data, within the time determined, data are received by RS485 driver with bus extension is female, start timing management configuration layer (NTMS) and start analysis protocol according to synchronous sequence LMP Link Manager Protocol (FTCDL), start real-time database (ARTDB) after processing is completed and store branch line substation information;
The transmission that step 3.5, main website receive data by main line from the female slave station of expansion controls;
Within the time determined, data are received by RS485 driver after sending data, start towards same bus growth data transmission control layer (AEDTC), Data Analysis process is completed according to secondary expansion data link management agreement (SEDL), start real-time database (ARTDB) after processing is completed and store branch line substation information, if there is warm swap equipment phenomenon, then start synchronous sequence LMP Link Manager Protocol (FTCDL) and complete dynamic link control amendment, realize the function of dynamic realtime management.

Claims (8)

1. a synchronous time sequence control method for open topological structure bus, is characterized in that: the method specifically comprises the steps:
Step 1, foundation have the system of expansion bus structure;
The data link control protocol of step 2, formation sequential control management method;
At bus system main website and the female slave station of expansion, expand female slave station and branch line substation, adopt synchronous sequence LMP Link Manager Protocol (FTCDL) to complete slave station time determinability Data Transmission Controlling; The function of sequential LMP Link Manager Protocol is realized at timing management configuration layer (NTMS), wherein, timing management configuration layer (NTMS) mainly completes dynamic link management function, and dynamic link management sets up link chained list by the logical address and physical address that read entrained field apparatus; Link management operation and computation process in by physical address as index, complete according to the master slave relation of system the management service that data transmit warm swap field apparatus;
Step 3, set up sequential control management multifunctional application layer implementation method, complete open topological structure bus extension link transmission and control.
2. the synchronous time sequence control method of a kind of open topological structure bus according to claim 1, is characterized in that: described step 1 specifically comprises:
Step 1.1, user terminal are connected with system controller one-level main website by the high speed 485 with Shielded Twisted Pair, and have binary-channel redundancy function, and ensure that the proper communication of DCS data is minimum by external interference, its typical bandwidth is 5Mbps;
Step 1.2, to be connected by the one-level backbone with binary-channel redundancy function between one-level main website and secondary main website, the female slave station of expansion in secondary main website is also connected by the branch line with binary-channel redundancy function with between branch line I/O substation, and one-level main website forms one-level physical link layer, general slave station and the female slave station of expansion form secondary physical link layer together, and the branch line I/O substation in each expansion branch line forms three level physical link layers;
Step 1.3, one-level main website are realized all general slave station on main line and the female slave station dynamic link managerial ability of expansion by synchronous sequence data link management agreement (FTCDL), and the deadline, deterministic transmission controlled;
Step 1.4, in secondary physical link layer, if when DCS system capacity enough meets field apparatus access demand, then use the general slave station of main line just can complete the data-transformation facility of site intelligent unit; If when the sequential of DCS system can not change access cycle, but when needing to expand power system capacity, then use the female slave station of the expansion of main line to complete and expand the transmission of field intelligent device data, expand female slave station simultaneously and can ensure that the sequential that whole system is run obviously can not increase and affect the operation of whole DCS system access cycle;
The branch line I/O substation access bus system of female slave station and expansion thereof is expanded in step 1.5, secondary main website, expand female slave station to realize managing the dynamic link of substations all on branch line by synchronous sequence data link management agreement (FTCDL), the deadline, deterministic transmission controlled.
3. the synchronous time sequence control method of a kind of open topological structure bus according to claim 1, is characterized in that: described step 2 specifically comprises:
Step 2.1, set up dynamic time sequence management algorithm;
Step 2.2, set up and dynamically to pack algorithm;
At main website and the female slave station of expansion of bus system, secondary expansion data link management agreement (SEDL) is adopted to complete Data Transmission Controlling and data processing.The function of secondary expansion data link management agreement (SEDL) is being realized towards same bus growth data transmission control layer (AEDTC); Wherein, secondary expansion data link management agreement (SEDL) provides dynamic management algorithm;
Step 2.3, set up the self-checking algorithm of data link management protocol dynamic subpackage.
4. the synchronous time sequence control method of a kind of open topological structure bus according to claim 3, is characterized in that: described step 2.1 specifically comprises:
Step 2.1.1, in main website set up expansion female slave station link, meanwhile, expansion female slave station in set up branch line substation link;
In main website, set up according to the return address of point-to-point access the link expanding female slave station, and set up branch line substation link in the female slave station of expansion;
Step 2.1.2, set up link procedure and reply by being waited for by point-to-point mode order inquiry field apparatus logical address, protocol algorithm self-verifying address also determines how this logical address associates with physical address;
Step 2.1.3, to complete substation information sorting, and real-time checking whether is inserted and deletes new field apparatus.
5. the synchronous time sequence control method of a kind of open topological structure bus according to claim 3, is characterized in that: in described step 2.2, dynamic management algorithm specifically comprises:
Step 2.2.1, data link management agreement (SEDL) dynamically Packetization subtract certainly;
For meeting 485 bus physical medium features at a high speed, each transmission quantity maximum limit fixes on 245 bytes, and during each packing, head frame and tail frame need 10 bytes altogether, then also remaining 245-10=235 byte can be used for packing;
Step 2.2.2, data link management agreement (SEDL) start dynamically to pack;
Message is divided into master data and hot plug process attachment data; Wherein, primary data segment comprises initial code encapsulation, performance data, field data three part; Extra data segment comprises 10 byte accessory command code encapsulation, 9 byte field device information, and 10 bytes delete information, and therefore also remaining 200 bytes leave data intelligence subpackage for;
Step 2.2.3, according to DCS system form, the field device type of optimum choice subpackage and quantity;
Form according to DCS system and field apparatus quantity type is divided into five types: I/O digital quantity, I/O analog quantity and pulsed quantity; Each type, when DCS system transmission data, have fixing data transfer rate, and field equipment data amount is divided into performance data, field equipment data and delta data three sections; Dynamic packing algorithm, according to above equipment transmission data amount, after automatically carrying out field apparatus classification, adopts dynamic optimization analysis, analyze the worst case of each packing, namely the maximum message segment byte number of each subpackage, determines subpackage size, the field device type of optimum choice subpackage and quantity
Step 2.2.4, dynamically pack and send;
Down link is searched in turn, can judge whether this node exists facility information, until link search is to afterbody to during dynamic time sequence administration and supervision authorities (NTMS) link traversal at every turn by link chained list; At every turn in the ending of dynamically packing, first reading data putting into packing buffer zone from real-time database (ARTDB), then reading next link nodes, calculating the byte value of next node, after judging that new facility information adds packing data district after being added, after byte number, whether be greater than 165; Enter next ergodic process with this judgement, judge whether that packing byte number is more than 165; This ensures that thering in the data cached district of packing each time must be the facility information being less than 165 bytes;
Dynamic packing algorithm can before transmission data, it is up-to-date for ensureing that each subpackage increases field device information, confirm this concrete buffer zone title used of giving out a contract for a project simultaneously, needing the buffer area write of packing to send in buffer zone, completing this packing like this and sending.
6. the synchronous time sequence control method of a kind of open topological structure bus according to claim 5, it is characterized in that: the data volume that in described step 2.2.3, field apparatus quantity is dissimilar is specially: the performance data in input data volume type is 16 bytes, field equipment data is 2 bytes, and delta data is 2 bytes; The performance data exporting digital quantity and output analog quantity is 2 bytes, and field equipment data is 8 bytes, and delta data is 0 byte; The performance data of input analog amount is 32 bytes, and field equipment 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 bytes, and delta data is 0 byte.
7. the synchronous time sequence control method of a kind of open topological structure bus according to claim 3, is characterized in that: described step 2.3 is specially:
Before each packing, upgrading link, constantly next search node is judged in packing process, skip this node immediately when there is empty node or new insertion node and continue packing, completing the packing of normal data through testing.
8. the synchronous time sequence control method of a kind of open topological structure bus according to claim 1, is characterized in that: described step 3 specifically comprises:
The transmission that step 3.1, main website send data to the female slave station of same bus extension by main line controls;
Timing management configuration layer (NTMS) realizes completing dynamic link management to each equipment of master slave relation according to synchronous sequence LMP Link Manager Protocol (FTCDL), complete according to dynamic link management chained list the two priority classes sending data towards growth data transmission control layer (AEDTC), real-time database (ARTDB) is responsible for storing data, under strict time-series dynamics management agreement, start secondary expansion data link management agreement (SEDL), do differential signal by RS485 driver after completing the data encapsulation process of dynamic subpackage and send;
Step 3.2, expand female slave station respond main website transmission control;
After receiving main website polling data by RS485 driver, by 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 strict dynamic packing algorithm secondary expansion data link management agreement (SEDL), data are replied to main website by RS485 driver;
Step 3.3, expand female slave station by branch line send data to branch line substation transmission control;
Timing management configuration layer (NTMS) realizes completing dynamic link management to each equipment of master slave relation according to synchronous sequence LMP Link Manager Protocol (FTCDL), data is done differential signal by RS485 driver and sends to branch line substation;
Step 3.4, expand female slave station by branch line receive data transmission control;
After standing in transmission data, within the time determined, data are received by RS485 driver with bus extension is female, start timing management configuration layer (NTMS) and start analysis protocol according to synchronous sequence LMP Link Manager Protocol (FTCDL), start real-time database (ARTDB) after processing is completed and store branch line substation information;
The transmission that step 3.5, main website receive data by main line from the female slave station of expansion controls;
Within the time determined, data are received by RS485 driver after sending data, start towards same bus growth data transmission control layer (AEDTC), Data Analysis process is completed according to secondary expansion data link management agreement (SEDL), start real-time database (ARTDB) after processing is completed and store branch line substation information, if there is warm swap equipment phenomenon, then start synchronous sequence LMP Link Manager Protocol (FTCDL) and complete dynamic link control amendment, realize the function of dynamic realtime management.
CN201310750905.6A 2013-12-31 2013-12-31 The synchronous time sequence control method of open topological structure bus Active CN104750649B (en)

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 true CN104750649A (en) 2015-07-01
CN104750649B 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 (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107995080A (en) * 2017-12-14 2018-05-04 长沙玄米电子科技有限公司 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
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
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
CN111131477A (en) * 2019-12-28 2020-05-08 杭州和利时自动化有限公司 Data processing method, device and equipment
CN114637776A (en) * 2021-12-31 2022-06-17 北京航天智造科技发展有限公司 Data management method and device based on rule engine

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011049964A (en) * 2009-08-28 2011-03-10 Denso Corp Node used for communication system
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102439531A (en) * 2009-05-20 2012-05-02 克罗诺洛吉克有限公司 High density, low jitter, synchronous usb expansion
JP2011049964A (en) * 2009-08-28 2011-03-10 Denso Corp Node used for communication system
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)

* Cited by examiner, † Cited by third party
Title
张桢 等: "DCS与现场总线综述", 《电气自动化》 *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107995080A (en) * 2017-12-14 2018-05-04 长沙玄米电子科技有限公司 Multi-host communication method based on two-wire bus
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
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
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
CN111131477A (en) * 2019-12-28 2020-05-08 杭州和利时自动化有限公司 Data processing method, device and equipment
CN111131477B (en) * 2019-12-28 2022-01-11 杭州和利时自动化有限公司 Data processing method, device and equipment
CN114637776A (en) * 2021-12-31 2022-06-17 北京航天智造科技发展有限公司 Data management method and device based on rule engine

Also Published As

Publication number Publication date
CN104750649B (en) 2017-09-29

Similar Documents

Publication Publication Date Title
CN104750649A (en) Synchronous sequential control method for opening topology structure bus
CN101873299B (en) Serial bus, communication method and system
CN103280894A (en) Power distribution network control application network topology automatic identifying method
CN105208622A (en) High-efficiency dynamic automatic-maintenance routing list structure and routing list management method
CN102611710A (en) Data interaction method and data interaction system for scheduling master station and transformer substation based on MMS (Multimedia Messaging Service)
CN105281433A (en) Distribution terminal communication system
CN105978896A (en) Communication device for converting industry Ethernet slave station into Modbus master station
CN104753899B (en) A kind of open bus structures with multi-tier structure
CN105306327A (en) Method for realizing microgrid control system based on high-speed Ethernet industrial bus
CN105471955A (en) Writing method of distributed file system, client device and distributed file system
CN102065508A (en) Wireless bridge forwarding equipment and method
CN103346943B (en) Data transmission method and system
CN114500559A (en) Breakpoint resume control method, control terminal and computer storage medium
CN204145528U (en) The how main real-time communication system of a kind of UART
JPS6319959B2 (en)
CN111314408B (en) Local edge calculation and Internet of things management method based on communication layer multi-data item caching task
CN105446863A (en) Electronic device with recording capability and circuit status recording method
CN101820373B (en) Real-time collocation method for fieldbus modules
CN106249660A (en) The conflation unit of compatible to IEC 61,850 92 and IEC60044 8 stipulations and method
CN103399545B (en) A kind of real-time database administration module for dcs
CN203759848U (en) GPRS (General Packet Radio Service) wireless data transmission system based on dynamic IP (Internet Protocol) address
CN205247143U (en) Coupling communication board based on etherCAT technique
CN109951309B (en) Electric energy cloud acquisition system network node maintenance method and device
CN106407307A (en) Interaction method and interaction device for node data of distributed database
CN206557591U (en) Suitable for the access system of generating set

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