CN104486185A - Control system communication method and system for nuclear power plant - Google Patents

Control system communication method and system for nuclear power plant Download PDF

Info

Publication number
CN104486185A
CN104486185A CN201410768394.5A CN201410768394A CN104486185A CN 104486185 A CN104486185 A CN 104486185A CN 201410768394 A CN201410768394 A CN 201410768394A CN 104486185 A CN104486185 A CN 104486185A
Authority
CN
China
Prior art keywords
message
control system
communication
address
register
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410768394.5A
Other languages
Chinese (zh)
Inventor
夏丰元
汪富强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China General Nuclear Power Corp
China Nuclear Power Engineering Co Ltd
Original Assignee
China General Nuclear Power Corp
China Nuclear Power Engineering 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 China General Nuclear Power Corp, China Nuclear Power Engineering Co Ltd filed Critical China General Nuclear Power Corp
Priority to CN201410768394.5A priority Critical patent/CN104486185A/en
Publication of CN104486185A publication Critical patent/CN104486185A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention discloses a control system communication method and a control system communication system for a nuclear power plant, and solves the technical problems that in the prior art, the control systems in the nuclear power plant communicate through a Modbus manner, and the characteristic of the most transmission quantity of the single Modbus message is not sufficiently used to perform message encapsulation to communication programs, so that during the Modbus communication process, a mass of short messages emerge, the quantity of the messages is increased, and the data refreshing time is obviously slowed down. The method comprises the following steps: S1. performing first message encapsulation to the communication signals between a master control system and a sub-control system, encapsulating the communication signals to form N messages, and storing the N messages in N registers; S2. based on N register addresses corresponding to the N register addresses, performing second message encapsulation to the N messages, encapsulating the communication signals to form M messages, so as to allow the master control system and the sub-control system to communicate based on the M messages, wherein M is a positive integer less than or equal to N, further reduce the Modbus encapsulated message quantity of the communication signals, and quicken data refreshing.

Description

A kind of nuclear power plant's control system means of communication and system
Technical field
The present invention relates to nuclear power plant's communication technique field, particularly relate to a kind of nuclear power plant control system means of communication and system.
Background technology
In large-scale Thermal Power Station, nuclear plant, thousands of process equipment and system synergistic working is needed from heat energy, atomic energy to the transfer process of electric energy, adopt the numerical control system based on control technology, mechanics of communication, computer technology to realize this collaborative work task at present, in a large-scale Thermal Power Station or nuclear plant, need the different numerical control system platform of several even dozens of to complete the control of full plant and system all simultaneously.
In nuclear power generating sets; usually by a main frame numerical control system being positioned at center-control district (as DCS; Distributed Control System) and some control system for special system (as steam turbine protection control system (TCS, Turbine Control System), electic protection and control system etc.) composition general control system.DCS is provided with than more completely operating and watchdog subsystem in central control room, and the control system of other special systems (hereinafter referred to as " sub-control system ") needs by digital communication or hard wired mode and DCS swap data, to make the operation of DCS and watchdog subsystem carry out operation monitoring to above-mentioned sub-control system, and then realize controlling with operation the centralized watch of full plant and system (comprising the above-mentioned special system mentioned).
In DCS supervision with when operating described sub-control system, DCS carries out Signal transmissions by Communication Gateway and some control system for special system, mainly comprises on-off model and analog signals.Modbus communication based on ICP/IP protocol is the communication modes that DCS control system and other sub-control system often adopt when carrying out communication.Modbus agreement is a kind of all-purpose language be applied on electronic controller, Modbus communication is namely by this agreement, between the controllers, controller via between network (such as Ethernet) and miscellaneous equipment realize communication, it has become a current industry standard.Modbus communication is master slave mode, DCS gateway is main website, sub-control system gateway (TCS gateway) is slave station, its communication process adopts request/answer-mode, main website periodically asks, and slave station receives passively and asks and the content completed in request message, then performance is responded main website by response message.Such as, when DCS monitors TCS, carry out application data exchange therebetween by Modbus, for different transmission demands, DCS reads (or write) switching value (or analog quantity) from TCS.
Know according to standard Modbus protocol specification, the maximum Byte number that Modbus communication limits single message is 255, and the most multipotency of single message transmits 2000 switching values, or most multipotency transmits 125 16bit analog quantitys.For the Modbus exchanges data between specific two systems, for the Signal transmissions of equal number, the speed of its Refresh Data is decided by that each takes turns the time interval between message number and two complete message that Refresh Data comprises, the impact of length on data refresh time of single message is very little, the time that the time interval between two complete message transmits in a link much larger than message itself.But in actual applications, Modbus communication program is underused the most multipotency of single Modbus message and is transmitted 2000 switching values or 125 these characteristics of 16bit analog quantity register carry out message encapsulation.
Be DCS with engine control system and sub-control system for TCS be example, in certain nuclear power station TCS and DCS joint test process, carry out DCS and TCS Level1 gateway communication performance test time, the Modbus Address d istribution table that it adopts, as shown in Figure 1A ~ Fig. 1 D.By analyzing Figure 1A and Figure 1B, find that the length of monolithic continuous print Modbus Signal Message Address is substantially all much smaller than 2000 switching values; In figure ia, 1753 on-off model are packaged in 30 messages respectively; In fig. 1 c, 2407 on-off model are dispensed in 12 messages respectively.Same, for the analog quantity in Figure 1B and Fig. 1 D, the length of monolithic continuous print Modbus Signal Message Address is substantially all much smaller than 125 analog quantitys; In fig. ib, 88 on-off model are packaged in 6 messages respectively; In Fig. 1 D, 762 on-off model are packaged in 15 messages respectively.Final test finds that the Refresh Data between DCS gateway and TCS gateway is comparatively slow, makes DCS not high to the control efficiency of TCS.
Visible, exist in the prior art, when adopting Modbus communication between master control system (as DCS) and sub-control system (as TCS), Modbus communication program is underused this characteristic of the maximum transmission quantity of single Modbus message and is carried out message encapsulation, cause in Modbus communication process, occur that a large amount of short messages, message amount increase, make the technical problem that the Refresh Data time is significantly slack-off.
Summary of the invention
The present invention is directed to and to exist in prior art, when adopting Modbus communication between nuclear power plant's control system, communication program is underused this characteristic of the maximum transmission quantity of single Modbus message and is carried out message encapsulation, cause in Modbus communication process, occur that a large amount of short messages, message amount increase, make the technical problem that the Refresh Data time is significantly slack-off, a kind of nuclear power plant control system means of communication and system are provided, achieve the Modbus encapsulated message number reducing communication signal, accelerate the technique effect of Refresh Data.
On the one hand, embodiments provide a kind of nuclear power plant control system means of communication, described method comprises step:
S1, when adopting Modbus to carry out communication when between nuclear power plant's master control system and sub-control system, first message encapsulation process is carried out to the communication signal between described master control system and described sub-control system, described communication signal is encapsulated as N number of message, and described N number of message one_to_one corresponding is stored in N number of register, the number of signals that the arbitrary message in described N number of message comprises is less than or equal to predetermined number; Wherein, described N number of register and N number of register address one_to_one corresponding, N is positive integer;
S2, based on described N number of register address, second message encapsulation process is carried out to described N number of message, described communication signal is encapsulated as M message, to make described master control system and described sub-control system carry out communication based on a described M message, the number of signals that the arbitrary message in a described M message comprises is less than or equal to described predetermined number; Wherein, M is the positive integer being less than or equal to N.
Optionally, described step S2 specifically comprises:
S21, obtain P between described N number of register address idle address, and to the register corresponding to the part or all of address in described P idle address, write false signal; Wherein, described false signal does not affect the communication between described master control system and described sub-control system, and P is the positive integer being less than or equal to N-1;
S22, based on described false signal and described N number of message, described communication signal is encapsulated as M message, to make described master control system and described sub-control system carry out communication based on a described M message, the number of signals that the arbitrary message in a described M message comprises is less than or equal to described predetermined number; Wherein, M is the positive integer being less than or equal to N.
Optionally, described step S21 specifically comprises:
S211, obtain described P between described N number of register address idle address;
Whether S212, the length of arbitrary idle address judged in described P idle address are less than preset length, obtain judged result;
S213, when described judged result is for being, to the register corresponding to described arbitrary idle address, write described false signal.
Optionally, described communication signal is on-off model or analog signals.
Optionally, when described communication signal is on-off model, described predetermined number is the first quantity; When described communication signal is analog signals, described predetermined number is second quantity different from described first quantity.
On the other hand, the embodiment of the present invention additionally provides a kind of nuclear power plant control system communication system, and described system comprises:
First message encapsulation process module, when carrying out communication for adopting Modbus when between nuclear power plant's master control system and sub-control system, first message encapsulation process is carried out to the communication signal between described master control system and described sub-control system, described communication signal is encapsulated as N number of message, and described N number of message one_to_one corresponding is stored in N number of register, the number of signals that the arbitrary message in described N number of message comprises is less than or equal to predetermined number; Wherein, described N number of register and N number of register address one_to_one corresponding, N is positive integer;
Second message encapsulation process module, for based on described N number of register address, second message encapsulation process is carried out to described N number of message, described communication signal is encapsulated as M message, to make described master control system and described sub-control system carry out communication based on a described M message, the number of signals that the arbitrary message in a described M message comprises is less than or equal to described predetermined number; Wherein, M is the positive integer being less than or equal to N.
Optionally, described second message encapsulation process module, specifically comprises:
False signal writing unit, for obtaining P idle address between described N number of register address, and to the register corresponding to the part or all of address in described P idle address, write false signal; Wherein, described false signal does not affect the communication between described master control system and described sub-control system, and P is the positive integer being less than or equal to N-1;
Message encapsulation process unit, for based on described false signal and described N number of message, described communication signal is encapsulated as M message, to make described master control system and described sub-control system carry out communication based on a described M message, the number of signals that the arbitrary message in a described M message comprises is less than or equal to described predetermined number; Wherein, M is the positive integer being less than or equal to N.
Optionally, described false signal writing unit, specifically comprises:
Idle address acquisition subelement, for obtaining described P idle address between described N number of register address;
Address size judgment sub-unit, for judging whether the length of the arbitrary idle address in described P idle address is less than preset length, obtains judged result;
False signal write subelement, for when described judged result is for being, to the register corresponding to described arbitrary idle address, writes described false signal.
Optionally, described communication signal is on-off model or analog signals.
Optionally, when described communication signal is on-off model, described predetermined number is the first quantity; When described communication signal is analog signals, described predetermined number is second quantity different from described first quantity.
One or more technical scheme provided by the invention, at least has following technique effect or advantage:
Due in the present invention, when adopting Modbus to carry out communication when between nuclear power plant's master control system and sub-control system, Modbus communication program carries out the first message encapsulation process to the communication signal between described master control system and described sub-control system, described communication signal is encapsulated as N number of message, and described N number of message one_to_one corresponding is stored in N number of register, the number of signals that the arbitrary message in described N number of message comprises is less than or equal to predetermined number; Wherein, described N number of register and N number of register address one_to_one corresponding, N is positive integer; Further, based on described N number of register address, second message encapsulation process is carried out to described N number of message, described communication signal is encapsulated as M message, to make described master control system and described sub-control system carry out communication based on a described M message, the number of signals that the arbitrary message in a described M message comprises is less than or equal to described predetermined number; Wherein, M is the positive integer being less than or equal to N.That is, Modbus communication program carries out twice message encapsulation process to the communication signal between described master control system and described sub-control system, register address distribution situation when determining that communication signal is encapsulated as N number of message by first time message encapsulation process (i.e. described first message encapsulation process), second time message encapsulation process (i.e. described second message encapsulation process) is on the basis of the register address distribution of first time message encapsulation process acquisition, N number of message is encapsulated as M message, when the resultant signal quantity of communication signal is constant, the encapsulated message number of communication signal is reduced, efficiently solve in prior art, when adopting Modbus communication between nuclear power plant's control system, communication program is underused this characteristic of the maximum transmission quantity of single Modbus message and is carried out message encapsulation, cause occurring a large amount of short messages in Modbus communication process, message amount increases, make the technical problem that the Refresh Data time is significantly slack-off, achieve the signal transmitting greater number to large extent in single Modbus message, to reduce Modbus message amount, under communication signal Modbus distributes discontinuous situation, accelerate Refresh Data, and then improve the technique effect of the communication speed between control system.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only embodiments of the invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to the accompanying drawing provided.
Figure 1A-Fig. 1 D be background technology provide the communication of TCS and DCS gateway time switching value and the Modbus Address d istribution chart of analog quantity;
The first nuclear power plant's control system means of communication flow chart that Fig. 2 provides for the embodiment of the present invention;
Communication structure schematic diagram between DCS and the TCS that Fig. 3 provides for the embodiment of the present invention;
The second nuclear power plant control system means of communication flow chart that Fig. 4 provides for the embodiment of the present invention;
The third nuclear power plant's control system means of communication flow chart that Fig. 5 provides for the embodiment of the present invention;
The first nuclear power plant's control system communication system architectures block diagram that Fig. 6 provides for the embodiment of the present invention;
The second nuclear power plant control system communication system architectures block diagram that Fig. 7 provides for the embodiment of the present invention.
Embodiment
The embodiment of the present invention is by providing a kind of nuclear power plant control system means of communication, solve exist in prior art between nuclear power plant's control system, adopt Modbus communication time, communication program is underused this characteristic of the maximum transmission quantity of single Modbus message and is carried out message encapsulation, cause in Modbus communication process, occur that a large amount of short messages, message amount increase, make the technical problem that the Refresh Data time is significantly slack-off, achieve the Modbus encapsulated message number reducing communication signal, accelerate the technique effect of Refresh Data.
The technical scheme of the embodiment of the present invention is for solving the problems of the technologies described above, and general thought is as follows:
Embodiments provide a kind of nuclear power plant control system means of communication, described method comprises step: when adopting Modbus to carry out communication when between nuclear power plant's master control system and sub-control system, first message encapsulation process is carried out to the communication signal between described master control system and described sub-control system, described communication signal is encapsulated as N number of message, and described N number of message one_to_one corresponding is stored in N number of register, the number of signals that the arbitrary message in described N number of message comprises is less than or equal to predetermined number; Wherein, described N number of register and N number of register address one_to_one corresponding, N is positive integer; Based on described N number of register address, second message encapsulation process is carried out to described N number of message, described communication signal is encapsulated as M message, to make described master control system and described sub-control system carry out communication based on a described M message, the number of signals that the arbitrary message in a described M message comprises is less than or equal to described predetermined number; Wherein, M is the positive integer being less than or equal to N.
Visible, in embodiments of the present invention, Modbus communication program carries out twice message encapsulation process to the communication signal between described master control system and described sub-control system, register address distribution situation when determining that communication signal is encapsulated as N number of message by first time message encapsulation process (i.e. described first message encapsulation process), second time message encapsulation process (i.e. described second message encapsulation process) is on the basis of the register address distribution of first time message encapsulation process acquisition, N number of message is encapsulated as M message, when the resultant signal quantity of communication signal is constant, the encapsulated message number of communication signal is reduced, efficiently solve in prior art, when adopting Modbus communication between nuclear power plant's control system, communication program is underused this characteristic of the maximum transmission quantity of single Modbus message and is carried out message encapsulation, cause occurring a large amount of short messages in Modbus communication process, message amount increases, make the technical problem that the Refresh Data time is significantly slack-off, achieve the signal transmitting greater number to large extent in single Modbus message, to reduce Modbus message amount, under communication signal Modbus distributes discontinuous situation, accelerate Refresh Data, and then improve the technique effect of the communication speed between control system.
In order to better understand technique scheme, below in conjunction with Figure of description and concrete execution mode, technique scheme is described in detail, the specific features being to be understood that in the embodiment of the present invention and embodiment is the detailed description to technical scheme, instead of the restriction to technical scheme, when not conflicting, the technical characteristic in the embodiment of the present invention and embodiment can combine mutually.
Embodiment one
Please refer to Fig. 2, embodiments provide a kind of nuclear power plant control system means of communication, described method comprises step:
S1, when adopting Modbus to carry out communication when between nuclear power plant's master control system and sub-control system, first message encapsulation process is carried out to the communication signal between described master control system and described sub-control system, described communication signal is encapsulated as N number of message, and described N number of message one_to_one corresponding is stored in N number of register, the number of signals that the arbitrary message in described N number of message comprises is less than or equal to predetermined number; Wherein, described N number of register and N number of register address one_to_one corresponding, N is positive integer;
S2, based on described N number of register address, second message encapsulation process is carried out to described N number of message, described communication signal is encapsulated as M message, to make described master control system and described sub-control system carry out communication based on a described M message, the number of signals that the arbitrary message in a described M message comprises is less than or equal to described predetermined number; Wherein, M is the positive integer being less than or equal to N.
Concrete; the main frame numerical control system being nuclear power plant for described master control system (DCS) and described sub-control system are the steam turbine protection control system (TCS) of nuclear power plant; as shown in Figure 3, the Communication Gateway of 3 pairs of redundancies is configured with between DCS and TCS altogether for realizing exchanges data therebetween.Between TCS and DCS, 3 pairs of redundancy communication gateway functions are as follows:
The communication module (CM1041A with CM 1041B) of TCS is connected with the operating office (65A and 65B) of DCS respectively, first pair of Communication Gateway is set up between TCS and DCS, the communication module (CM1042A with CM 1042B) of TCS is connected with the operating office (66A and 66B) of DCS respectively, sets up second pair of Communication Gateway between TCS and DCS; These two pairs of Communication Gateways are used between DCS and TCS, transmit LEVEL1 live signal, comprise: TCS sends the man-machine interface (HMI of DCS to, HumanMachine Interface), for carrying out display and the alarm signal of picture display, control interlocking signal, and DCS sends to operational order and the associated lock signal of TCS.Therefore, these two pairs of gateways are also claimed to be LEVEL1 gateway here.
Two layers of communication module (TCS XU1 and TCS XU2) of TCS are connected with two layers of telecommunication customer end assembly (XU Client A and XU Client B) of DCS respectively.The time tag (Time Tag Data) that this pair link is used for the on-off model generated by TCS passes to DCS.Concrete, consider the time delay of gateway communication, on-off model beats time tag in the source of the functional unit (namely FUM gathers fastener) of TCS side to on-off model, then this time tag is passed to DCS by switching value assembly (TCS XU1 and TCSXU2).After DCS receives time tag, find information corresponding with it to mate by signal name, and show this information in DCS daily record, alarm list.Because this pair gateway lays respectively at the LEVEL2 of DCS and TCS both sides system, be therefore called LEVEL2 gateway.
Inner at DCS, client component (XU Client A and XU Client B) and operator station are communicated with engineer station's server, real-time server, calculation server and history server by supervising the network (MNET); Operating office (65A, 65B, 66A, 66B) is communicated with real-time server with engineer station's server by monitor network (SNET).When DCS receive from TCS information or need to TCS send information time, DCS carries out Coordination Treatment by above-mentioned internal structure, thus communicates with external system devices.
Level1 gateway adopts Modbus over ICP/IP protocol.With reference to the 7 layer network reference models of the OSI of ISO, this agreement can be decomposed into 5 layers, namely the physical layer based on the Ethernet protocol of IEEE802.3 and Media Access Controlled sublayer (MAC is adopted, Media Access Control), the logical links sublayer (LLC, Logical Link Control) based on IEEE802.2, IP-based network layer, the transport layer based on TCP and the application layer based on Modbus.Modbus communication is master slave mode, and DCS gateway is main website, and TCS gateway is slave station, its communication process adopts request-answer-mode, main website periodically asks, and slave station receives passively asks and the content completed in request message, then performance is responded main website by response message.Modbus, when carrying out application data and exchanging, for different transmission demands, adopts different function codes (Function Code).Know according to Modbus function code definition standard, function code " 1 " is for DCS from TCS read switch amount, and communication is counted and is about 4000; Function code " 3 " reads analog quantity for DCS from TCS, and communication is counted and is about 800; Function code " 5 " is for DCS to TCS write switch amount, and communication is counted and is about 870; Function code " 16 " writes analog quantity for DCS to TCS, and communication is counted and is about 44.
Wherein, described analog quantity refers to that the size of control system amount is a serial number changed within the specific limits; Such as temperature from 0 to 100 degrees Celsius, pressure from 0 to 10Mpa, liquid level from 1-5 rice, the aperture of electrically operated valve from 0-100%, etc., this tittle is all analog quantity.Described switching value be used for describe control relay connect or disconnect corresponding value; As the conducting of switch and the state of disconnection, the closed of relay and open, electromagnetically operated valve logical and disconnected, etc.In the controls, analog quantity and switching value are usual amounts, no matter input or output, and a parameter or be analog quantity, or be switching value.In the embodiment of the present application, described master control system (as DCS) and as described in sub-control system (as TCS) based on Modbus carry out transmitting as described in communication signal be on-off model or analog signals.This programme will be specifically described based on Modbus transmission on-off model or analog signals with DCS and TCS respectively below:
Described step S1 ~ S2 is, Modbus communication program carries out the first message encapsulation process to the on-off model between described master control system and described sub-control system or analog signals, described on-off model or described analog signals are encapsulated as N number of message, and described N number of message one_to_one corresponding is stored in N number of register, the number of signals that the arbitrary message in described N number of message comprises is less than or equal to predetermined number; Wherein, described N number of register and N number of register address one_to_one corresponding, N is positive integer; And based on described N number of register address, second message encapsulation process is carried out to described N number of message, described communication signal is encapsulated as M message, to make described master control system and described sub-control system carry out communication based on a described M message, the number of signals that the arbitrary message in a described M message comprises is less than or equal to described predetermined number; Wherein, M is the positive integer being less than or equal to N.Wherein, when described communication signal is on-off model, described predetermined number is the first quantity; When described communication signal is analog signals, described predetermined number is second quantity different from described first quantity.
Concrete, described first message encapsulation process is the acquiescence packaged type of Modbus communication program switch amount signal or analog signals in prior art, when described master control system is DCS and described sub-control system is TCS, please refer to Figure 1A-Fig. 1 D, wherein, the Modbus that Figure 1A and Fig. 1 C is respectively the switching value of TCS to DCS in first pair of gateway of LEVEL1 gateway and second pair of gateway gives tacit consent to encapsulated message Address d istribution chart, the Modbus that Figure 1B and Fig. 1 D is respectively the analog quantity of TCS to DCS in first pair of gateway of LEVEL1 gateway and second pair of gateway gives tacit consent to encapsulated message Address d istribution chart, in figure ia, 1753 on-off model that the first pair of gateway transmits are encapsulated as 30 messages, in fig. ib, 88 analog signalses that the first pair of gateway transmits are encapsulated as 6 messages, in fig. 1 c, 2407 on-off model that the second pair of gateway transmits are encapsulated as 12 messages, in Fig. 1 D, 792 on-off model that the second pair of gateway transmits are encapsulated as 15 messages, and correspondence provides the register initial address of each message, and the number of signals in each message, the register as in Figure 1A No. 1 message rises, address of beginning is respectively 1 and 11, comprises 11 number of signals etc.
According to the Modbus protocol specification of standard, for the first message encapsulation process of on-off model, after encapsulation, length (i.e. single message comprise the number of signals) requirement of single message address is less than or equal to 2000 switching values; For the first message encapsulation process of analog signals, after encapsulation, the length requirement of single message address is less than or equal to 125 analog quantitys.Be not difficult to find by Figure 1A and Fig. 1 C, the length (i.e. the length of single message address) of monolithic continuous print Modbus Signal Message Address is substantially all much smaller than 2000 switching values, be not difficult to find by Figure 1B and Fig. 1 D, the length of monolithic continuous print Modbus Signal Message Address is substantially all much smaller than 125 analog quantitys.
But retain some reason such as home address due to needs, when arranging switching value and the analog signals address of communication between TCS and DCS, in each gateway, there is non-continuous event in of a sort Signal Message Address distribution; Such as, shown in Figure 1B, the rising of No. 1 message, beginning address is 1301 and 1335, and the rising of No. 2 messages, beginning address are 2901 and 2937, there are 1565 bit address intervals (namely the difference of No. 2 start of message (SOM) addresses and No. 1 ENMES address subtracts 1) between No. 1 message and No. 2 messages, etc.And just because of these address gaps, make to occur a large amount of short messages in Modbus communication process, message amount increases, make the Refresh Data time significantly slack-off, to this, on the basis that the register address obtained in first time message encapsulation process (namely Modbus gives tacit consent to message encapsulation process) distributes, carry out second time message encapsulation process (i.e. described second message encapsulation process), described N number of message that first time process obtains is carried out reconfiguring encapsulation, the encapsulated message number of described communication signal is made to be reduced to M, wherein, the resultant signal quantity that a described M message comprises is equal with the resultant signal quantity that described N number of message comprises, be the resultant signal quantity of described communication signal.
In specific implementation process, please refer to Fig. 4, described step S2 specifically comprises:
S21, obtain P between described N number of register address idle address, and to the register corresponding to the part or all of address in described P idle address, write false signal; Wherein, described false signal does not affect the communication between described master control system and described sub-control system, and P is the positive integer being less than or equal to N-1;
S22, based on described false signal and described N number of message, described communication signal is encapsulated as M message, to make described master control system and described sub-control system carry out communication based on a described M message, the number of signals that the arbitrary message in a described M message comprises is less than or equal to described predetermined number; Wherein, M is the positive integer being less than or equal to N.
Concrete, still carry out communication for DCS and TCS based on Modbus, first, please refer to table 1, for carrying out the Modbus Address d istribution result after second time message encapsulation process for the message of switching value shown in Figure 1A,
Table 1
Associative list 1 is known, step S21 and step S22 is specially: 1) determine 29 the idle addresses of 30 messages one to one between 30 register addresss, and to described 29 idle addresses part or all of address corresponding to register in write described false signal; 2) based on described false signal and 30 messages, on-off model encapsulation is optimized for 5 messages; Wherein, the length of single idle address is: the initial address of current message register address, subtracts 1 with the difference of the end address of last message registration device address; If current message is No. 13 messages (initial address of register address is 405), be 15 with the idle address size between last message (i.e. No. 12 messages, the end address of its register address is 389).Then, please refer to table 2, table 3 and table 4, be respectively and carry out the Modbus Address d istribution result after second time message encapsulation process for analog quantity message shown in switching value message and Fig. 1 D shown in the message of analog quantity shown in Figure 1B, Fig. 1 C,
Table 2
Table 3
Table 4
Wherein, 8 ~ No. 12 messages in table 4 are encapsulated as the Modbus Address d istribution of two messages in Table 4-1:
Table 4-1
In table 2, the message encapsulation of 6 in Figure 1B is optimized for 4; In table 3, the message encapsulation of 12 in Fig. 1 C is optimized for 5; In table 4, the message encapsulation of 15 in Fig. 1 D is optimized for 7; The encapsulation optimal enforcement mode of table 2, table 3 and table 4, with table 1, repeats here no longer one by one.
After carrying out second time message encapsulation process (after namely encapsulation is optimized), in the new message obtained, the number of signals that each message comprises is not more than described predetermined number, concrete, when packed message is on-off model, the number of signals that in new message, arbitrary message comprises is not more than described first quantity (as 2000), when packed message is analog signals, the number of signals that in new message, arbitrary message comprises is not more than described second quantity (as 125).
Here it is to be noted, in the process of carrying out message encapsulation optimization, in order to the number of signals making each message after optimization comprise is not more than described predetermined number, can to the register address corresponding to the part or all of message in the N number of message obtained after first time message encapsulation process, again divide into groups, as shown shown in 4-1, message A and B has carried out register address to 8 ~ No. 12 messages in Fig. 1 D again to divide into groups obtained new message; Concrete, in Fig. 1 D No. 9 message be divide into two parts, encapsulate with No. 8 and 10 ~ No. 12 messages respectively.
In specific implementation process, the operation to idle address write false signal is performed by master control system side (as DCS gateway side); For the false signal in the idle address of write, although can not affect the communication between described master control system and described sub-control system, control system, when carrying out packet parsing, still needs spended time to read false signal in idle address; When considering that idle address size between two adjacent messages of numbering is long, after idle address write false signal, spend in the time of reading in false signal can be greater than this idle address idle time two messages between the time interval, to this, in order to when carrying out second time message encapsulation process, can not in order to reduce message amount and blindly in idle address, write false signal, finally cause message refresh time long, please refer to Fig. 5, in the present embodiment, described step S21 specifically comprises:
S211, obtain described P between described N number of register address idle address;
Whether S212, the length of arbitrary idle address judged in described P idle address are less than preset length, obtain judged result;
S213, when described judged result is for being, to the register corresponding to described arbitrary idle address, write described false signal; In addition, when described judged result is no, then not to the register corresponding to described arbitrary idle address.
That is, after all idle addresses of acquisition, by judging the length of each idle address in all idle addresses, the idle address long for length does not write false signal, thus the quantity of message can either be reduced, avoid the minus effect brought after the long idle address write false signal of length simultaneously, achieve when by writing false signal to idle address thus reduce the quantity of encapsulated message, not by the impact of blank addresses, and in single Modbus message, transmit the technique effect of more signal to greatest extent.
In specific implementation process, when switch amount signal and analog signals carry out packet optimization, in theory, idle address between two adjacent switch amount messages is less than 1999, idle address between two adjacent analog amount messages is less than 124, can be optimized by writing false signal and re-starting message encapsulation, but consider that inserting too much false signal to the actual message amount effect of minimizing is not clearly, also can increase the configuration work amount of program simultaneously, therefore, idle address size is just optimized by filling false signal for how many, depend on the trade-off to communication performance and configuration work amount.
Still carry out communication for DCS and TCS based on Modbus, described preset length is 15, please refer to table 1-table 4, be on-off model in Table 1, after message encapsulation process, as long as the number of signals of single message is not more than 2000, after second time encapsulation process is carried out to 30 messages, 1 ~ No. 19 message is packed to be optimized in a message, and its resultant signal quantity was 1305 (being less than 2000), met encapsulation condition, please continue the data in observation table 1, be not difficult to find, if the idle address between No. 20 messages and No. 19 messages is also write false signal, 1 ~ No. 20 message is encapsulated in a message, its resultant signal quantity was 1337 (being also less than 2000), but the length of the idle address between No. 20 messages and No. 19 messages is 264, consider that its length is greater than described preset length (15), after write false signal, parsing time when 1 ~ No. 20 message can be caused to be a message, be greater than parsing time when 1 ~ No. 19 message and No. 20 messages two independent messages, thus No. 20 messages are encapsulated as an independent message.In like manner, other analogue in table 1 and table 3 also so processes.
In addition, be analog signals in table 2, after message encapsulation process, as long as the number of signals of single message is not more than 125, after carrying out second time encapsulation process to 6 messages, 1,2, No. 3 message is still independent message, and 4 ~ No. 6 messages are packed to be optimized in a message, its resultant signal quantity was 4 (being less than 125), met encapsulation condition; In like manner, other analogue in table 2 and table 4 also so processes.In the embodiment of the present application, the encapsulation process scheme for analog signals is similar to the encapsulation process scheme of above-mentioned on-off model.
Described first time, message encapsulation process was usual the adopted encapsulation process of Modbus communication program of the prior art, for DCS and TCS communication, described first time message encapsulation process encapsulated result as shown in Figure 1A ~ Fig. 1 D, introduced above, here no longer repeat specification.Respectively to carry out first time message encapsulation process and second time message encapsulation process after Refresh Data time of (before and after namely optimizing) carry out actual test and compare, still for DCS and TCS communication, test and comparison result as shown in table 5 and table 6, wherein, table 5 is first time, the message amount contrast table of (before and after namely optimizing) after second time message encapsulation process, and table 6 is first time, (before and after namely optimizing) Refresh Data time contrast table after second time message encapsulation process.
Table 5
Table 6
Known by table 5 and table 6, after second time message encapsulation process, message amount and Refresh Data time are all obviously reduced.Generally speaking, the present invention program need not revise original communication signal and Modbus address assignment thereof, but in main website side, in the gateway configuration of i.e. master control system side, false signal is added in discontinuous address block, these false signals can not really use in logic, only take blank Modbus address, make the communication program of main website when encapsulated message, not by the impact of blank addresses, realize in single Modbus message, transmitting more signal to greatest extent, and then improve the communication speed between message refresh rate and control system.
Embodiment two
Based on same inventive concept, please refer to Fig. 6, the embodiment of the present invention additionally provides a kind of nuclear power plant control system communication system, comprising:
First message encapsulation process module 601, when carrying out communication for adopting Modbus when between nuclear power plant's master control system and sub-control system, first message encapsulation process is carried out to the communication signal between described master control system and described sub-control system, described communication signal is encapsulated as N number of message, and described N number of message one_to_one corresponding is stored in N number of register, the number of signals that the arbitrary message in described N number of message comprises is less than or equal to predetermined number; Wherein, described N number of register and N number of register address one_to_one corresponding, N is positive integer;
Second message encapsulation process module 602, for based on described N number of register address, second message encapsulation process is carried out to described N number of message, described communication signal is encapsulated as M message, to make described master control system and described sub-control system carry out communication based on a described M message, the number of signals that the arbitrary message in a described M message comprises is less than or equal to described predetermined number; Wherein, M is the positive integer being less than or equal to N.
In specific implementation process, please refer to Fig. 7, described second message encapsulation process module 602, specifically comprises:
False signal writing unit 6021, for obtaining P idle address between described N number of register address, and to the register corresponding to the part or all of address in described P idle address, write false signal; Wherein, described false signal does not affect the communication between described master control system and described sub-control system, and P is the positive integer being less than or equal to N-1;
Message encapsulation process unit 6022, for based on described false signal and described N number of message, described communication signal is encapsulated as M message, to make described master control system and described sub-control system carry out communication based on a described M message, the number of signals that the arbitrary message in a described M message comprises is less than or equal to described predetermined number; Wherein, M is the positive integer being less than or equal to N.
Concrete, still please refer to Fig. 7, described false signal writing unit 6021, specifically comprises:
Idle address acquisition subelement 6021-1, for obtaining described P idle address between described N number of register address;
Address size judgment sub-unit 6021-2, for judging whether the length of the arbitrary idle address in described P idle address is less than preset length, obtains judged result;
False signal write subelement 6021-3, for when described judged result is for being, to the register corresponding to described arbitrary idle address, writes described false signal.
In specific implementation process, described communication signal is on-off model or analog signals.
Further, when described communication signal is on-off model, described predetermined number is the first quantity; When described communication signal is analog signals, described predetermined number is second quantity different from described first quantity.
According to description above, above-mentioned control system communication system is used for realizing the above-mentioned control system means of communication, so the course of work of this system is consistent with one or more embodiments of said method, has just repeated no longer one by one at this.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) of computer usable program code.
Although describe the preferred embodiments of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (10)

1. nuclear power plant's control system means of communication, is characterized in that, described method comprises step:
S1, when adopting Modbus to carry out communication when between nuclear power plant's master control system and sub-control system, first message encapsulation process is carried out to the communication signal between described master control system and described sub-control system, described communication signal is encapsulated as N number of message, and described N number of message one_to_one corresponding is stored in N number of register, the number of signals that the arbitrary message in described N number of message comprises is less than or equal to predetermined number; Wherein, described N number of register and N number of register address one_to_one corresponding, N is positive integer;
S2, based on described N number of register address, second message encapsulation process is carried out to described N number of message, described communication signal is encapsulated as M message, to make described master control system and described sub-control system carry out communication based on a described M message, the number of signals that the arbitrary message in a described M message comprises is less than or equal to described predetermined number; Wherein, M is the positive integer being less than or equal to N.
2. the control system means of communication as claimed in claim 1, it is characterized in that, described step S2 specifically comprises:
S21, obtain P between described N number of register address idle address, and to the register corresponding to the part or all of address in described P idle address, write false signal; Wherein, described false signal does not affect the communication between described master control system and described sub-control system, and P is the positive integer being less than or equal to N-1;
S22, based on described false signal and described N number of message, described communication signal is encapsulated as M message, to make described master control system and described sub-control system carry out communication based on a described M message, the number of signals that the arbitrary message in a described M message comprises is less than or equal to described predetermined number; Wherein, M is the positive integer being less than or equal to N.
3. the control system means of communication as claimed in claim 2, it is characterized in that, described step S21 specifically comprises:
S211, obtain described P between described N number of register address idle address;
Whether S212, the length of arbitrary idle address judged in described P idle address are less than preset length, obtain judged result;
S213, when described judged result is for being, to the register corresponding to described arbitrary idle address, write described false signal.
4. the control system means of communication as described in claim as arbitrary in claims 1 to 3, is characterized in that, described communication signal is on-off model or analog signals.
5. the Modbus means of communication as claimed in claim 4, it is characterized in that, when described communication signal is on-off model, described predetermined number is the first quantity; When described communication signal is analog signals, described predetermined number is second quantity different from described first quantity.
6. nuclear power plant's control system communication system, is characterized in that, described communication system comprises:
First message encapsulation process module, when carrying out communication for adopting Modbus when between nuclear power plant's master control system and sub-control system, first message encapsulation process is carried out to the communication signal between described master control system and described sub-control system, described communication signal is encapsulated as N number of message, and described N number of message one_to_one corresponding is stored in N number of register, the number of signals that the arbitrary message in described N number of message comprises is less than or equal to predetermined number; Wherein, described N number of register and N number of register address one_to_one corresponding, N is positive integer;
Second message encapsulation process module, for based on described N number of register address, second message encapsulation process is carried out to described N number of message, described communication signal is encapsulated as M message, to make described master control system and described sub-control system carry out communication based on a described M message, the number of signals that the arbitrary message in a described M message comprises is less than or equal to described predetermined number; Wherein, M is the positive integer being less than or equal to N.
7. control system communication system as claimed in claim 6, it is characterized in that, described second message encapsulation process module, specifically comprises:
False signal writing unit, for obtaining P idle address between described N number of register address, and to the register corresponding to the part or all of address in described P idle address, write false signal; Wherein, described false signal does not affect the communication between described master control system and described sub-control system, and P is the positive integer being less than or equal to N-1;
Message encapsulation process unit, for based on described false signal and described N number of message, described communication signal is encapsulated as M message, to make described master control system and described sub-control system carry out communication based on a described M message, the number of signals that the arbitrary message in a described M message comprises is less than or equal to described predetermined number; Wherein, M is the positive integer being less than or equal to N.
8. control system communication system as claimed in claim 7, it is characterized in that, described false signal writing unit, specifically comprises:
Idle address acquisition subelement, for obtaining described P idle address between described N number of register address;
Address size judgment sub-unit, for judging whether the length of the arbitrary idle address in described P idle address is less than preset length, obtains judged result;
False signal write subelement, for when described judged result is for being, to the register corresponding to described arbitrary idle address, writes described false signal.
9. the control system communication system as described in claim as arbitrary in claim 6 ~ 8, is characterized in that, described communication signal is on-off model or analog signals.
10. control system communication system as claimed in claim 9, it is characterized in that, when described communication signal is on-off model, described predetermined number is the first quantity; When described communication signal is analog signals, described predetermined number is second quantity different from described first quantity.
CN201410768394.5A 2014-12-12 2014-12-12 Control system communication method and system for nuclear power plant Pending CN104486185A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410768394.5A CN104486185A (en) 2014-12-12 2014-12-12 Control system communication method and system for nuclear power plant

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410768394.5A CN104486185A (en) 2014-12-12 2014-12-12 Control system communication method and system for nuclear power plant

Publications (1)

Publication Number Publication Date
CN104486185A true CN104486185A (en) 2015-04-01

Family

ID=52760691

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410768394.5A Pending CN104486185A (en) 2014-12-12 2014-12-12 Control system communication method and system for nuclear power plant

Country Status (1)

Country Link
CN (1) CN104486185A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105278918A (en) * 2015-10-15 2016-01-27 珠海格力电器股份有限公司 Reading method of register and register using reading method
CN106656708A (en) * 2016-12-06 2017-05-10 珠海格力电器股份有限公司 Communication method and device based on communication protocol under master/slave mode
CN106680841A (en) * 2016-12-31 2017-05-17 中国人民解放军63653部队 Method for detecting short message communication performance of Beidou first-generation user machine in external field
CN110417764A (en) * 2019-07-19 2019-11-05 西门子工厂自动化工程有限公司 The method and apparatus for sending the method and apparatus of data and receiving data
CN112383640A (en) * 2020-12-09 2021-02-19 上海核工程研究设计院有限公司 Nuclear power operation monitoring data real-time reporting communication system
CN113364746A (en) * 2021-05-24 2021-09-07 湖南华菱涟源钢铁有限公司 Equipment identification method, device, equipment and computer storage medium
CN117452873A (en) * 2023-12-26 2024-01-26 宁波和利时信息安全研究院有限公司 Communication method, device, equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1399445A (en) * 2001-07-25 2003-02-26 华为技术有限公司 Redundant transmission method of data message package of IP fax gateway user
US20030088394A1 (en) * 2001-10-17 2003-05-08 Min Sung-Hwan Efficient construction of passive macromodels for resonant networks
CN101252534A (en) * 2008-03-28 2008-08-27 清华大学 Method for improving mobile self-organizing network communication capacity through link layer message combination
CN102073837A (en) * 2009-11-23 2011-05-25 天津中兴软件有限责任公司 Device and method for realizing label counting in radio frequency identifying system
CN102080579A (en) * 2010-12-10 2011-06-01 中国广东核电集团有限公司 Method and device for controlling starting and stopping of turbo generator set of nuclear power plant, and digital control system (DCS)
CN102820959A (en) * 2011-06-10 2012-12-12 哈尔滨工业大学 Method for performing large data volume communication between Modbus master station and Modbus slave station
CN103777579A (en) * 2012-10-19 2014-05-07 中广核工程有限公司 Nuclear power plant TG and DCS communication system and method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1399445A (en) * 2001-07-25 2003-02-26 华为技术有限公司 Redundant transmission method of data message package of IP fax gateway user
US20030088394A1 (en) * 2001-10-17 2003-05-08 Min Sung-Hwan Efficient construction of passive macromodels for resonant networks
CN101252534A (en) * 2008-03-28 2008-08-27 清华大学 Method for improving mobile self-organizing network communication capacity through link layer message combination
CN102073837A (en) * 2009-11-23 2011-05-25 天津中兴软件有限责任公司 Device and method for realizing label counting in radio frequency identifying system
CN102080579A (en) * 2010-12-10 2011-06-01 中国广东核电集团有限公司 Method and device for controlling starting and stopping of turbo generator set of nuclear power plant, and digital control system (DCS)
CN102820959A (en) * 2011-06-10 2012-12-12 哈尔滨工业大学 Method for performing large data volume communication between Modbus master station and Modbus slave station
CN103777579A (en) * 2012-10-19 2014-05-07 中广核工程有限公司 Nuclear power plant TG and DCS communication system and method

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105278918A (en) * 2015-10-15 2016-01-27 珠海格力电器股份有限公司 Reading method of register and register using reading method
CN105278918B (en) * 2015-10-15 2017-12-08 珠海格力电器股份有限公司 The read method of register and the register using the read method
CN106656708A (en) * 2016-12-06 2017-05-10 珠海格力电器股份有限公司 Communication method and device based on communication protocol under master/slave mode
CN106680841A (en) * 2016-12-31 2017-05-17 中国人民解放军63653部队 Method for detecting short message communication performance of Beidou first-generation user machine in external field
CN110417764A (en) * 2019-07-19 2019-11-05 西门子工厂自动化工程有限公司 The method and apparatus for sending the method and apparatus of data and receiving data
CN110417764B (en) * 2019-07-19 2021-08-03 西门子工厂自动化工程有限公司 Method and apparatus for transmitting and receiving data, data transmission apparatus and storage medium
CN112383640A (en) * 2020-12-09 2021-02-19 上海核工程研究设计院有限公司 Nuclear power operation monitoring data real-time reporting communication system
CN113364746A (en) * 2021-05-24 2021-09-07 湖南华菱涟源钢铁有限公司 Equipment identification method, device, equipment and computer storage medium
CN117452873A (en) * 2023-12-26 2024-01-26 宁波和利时信息安全研究院有限公司 Communication method, device, equipment and storage medium
CN117452873B (en) * 2023-12-26 2024-03-15 宁波和利时信息安全研究院有限公司 Communication method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN104486185A (en) Control system communication method and system for nuclear power plant
CN103828305B (en) For parametrization automated system or the system and method for the field apparatus of control system
CN109257208A (en) A kind of information integrated system and method based on OPC UA
US20040054829A1 (en) Method, system and program for the transmission of modbus messages between networks
CN101341450B (en) Method, communication network, and control unit for the cyclical transmission of data
CN102843238B (en) Energy-conservation in the network node of automated network
Han et al. Control over WirelessHART network
CN103117933A (en) Method and system for transmitting data in multipoint communication network
CN101178666A (en) Coordinating and scheduling method between heterogeneous multi-core
CN110008267B (en) Data processing system and method
CN102843390A (en) Ethernet deterministic data transmission method of data-oriented role
CN112055047B (en) Data communication method based on publishing and subscribing for intelligent coal-fired power plant
CN105652785A (en) PLC (programmable logic controller) communication module based on IEC (international electrotechnical commission) 60870-5-104 telecontrol protocol
CN102438017B (en) Routing function-based conversion apparatus of Modbus protocol and BACnet Ethernet protocol and conversion method thereof
CN111740879A (en) Data acquisition and data forwarding gateway implementation method
CN104767598B (en) A kind of data transmission system and its method between energy-accumulating power station field device
CN104717050A (en) Multiple frame rate system
US20190296936A1 (en) Gateway system for heterogeneous fieldbus
CN104243172B (en) The extension input/output unit and method of a kind of scattered control system
CN104821948A (en) Method for realizing openSAFETY function security based on POWERLINK
CN103457996B (en) A kind of Protocol Conformance Test System internal data store method and system
Bai Modeling analysis of Intelligent Manufacturing System based on SDN
CN212411068U (en) Integrated intelligent optimization control system for thermal power generating unit
CN111507053A (en) Method, module, storage medium and system for data communication in integrated circuit simulation
CN107229525A (en) A kind of power system device model keyword generation method based on Zookeeper

Legal Events

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

Application publication date: 20150401