CN201596678U - Hot rolling process control middleware system - Google Patents

Hot rolling process control middleware system Download PDF

Info

Publication number
CN201596678U
CN201596678U CN2009202297163U CN200920229716U CN201596678U CN 201596678 U CN201596678 U CN 201596678U CN 2009202297163 U CN2009202297163 U CN 2009202297163U CN 200920229716 U CN200920229716 U CN 200920229716U CN 201596678 U CN201596678 U CN 201596678U
Authority
CN
China
Prior art keywords
text
process control
datagram
receiving
hot rolling
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.)
Expired - Fee Related
Application number
CN2009202297163U
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.)
Wuhan Iron and Steel Group Corp
Original Assignee
Wuhan Iron and Steel Group Corp
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 Wuhan Iron and Steel Group Corp filed Critical Wuhan Iron and Steel Group Corp
Priority to CN2009202297163U priority Critical patent/CN201596678U/en
Application granted granted Critical
Publication of CN201596678U publication Critical patent/CN201596678U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Programmable Controllers (AREA)

Abstract

The utility model provides a hot rolling process control middleware system, which comprises a receiving unit and a cache unit. The receiving unit is used for receiving actually measured datagram from a basic automatic system and transmitting the actually measured datagram to the cache unit; the cache unit is used for caching the corresponding actually measured datagram and informing a process control system to receive the actually measured datagram until receiving is successful; the receiving unit is further used for receiving set datagram from the process control system and transmitting the set datagram to the cache unit; and the cache unit is further used for extracting the corresponding set datagram and transmitting the same to the basic automatic system until transmission is successful. The hot rolling process control middleware system effectively shields complication of TCP/IP bottom network communication, relieves communication pressure of industrial Ethernet, guarantees reliability of data communication between process control automation and basic automation, and avoids production accidents and device accidents caused by process control system failures.

Description

A kind of course of hot rolling control middleware system
Technical field
The utility model relates to the metallurgical industry automation control area, is specifically related to a kind of course of hot rolling control middleware system.
Background technology
Process control is the important step of hot rolling automation control system, and its main task is according to hot rolling production technology and relevant Mathematical Modeling the milling train and the equipment of production line to be optimized setting, to obtain good strip surface quality and properties of product.In the hot-strip production process, basic automatization sends to process automation system with cycle of Millisecond with the measured data of rolling line equipment collection, and process control computer sends to basic automation systems with setting data in sequential accurately simultaneously.A large amount of real-time measured datas and setting data have caused huge pressure for EPA communication and process control computer, production accident and equipment breakdown that the Process Control System fault causes happen occasionally, and have had a strong impact on the operating efficiency of course of hot rolling control system.
The utility model content
In order to improve the reliability and the efficient of existing course of hot rolling control system data communication, the utility model utilizes the principle of message passing mechanism and queueing theory, proposes a kind of course of hot rolling control middleware system.
The course of hot rolling control middleware system that the utility model proposes comprises receiving element and buffer unit; Described receiving element is used for receiving the measured data text from basic automation systems, and this measured data text is sent to described buffer unit; Described buffer unit is used for corresponding measured data text of buffer memory and notification procedure control system and receives, until receiving successfully; Described receiving element also is used for receiving the setting data text from Process Control System, and this setting data text is sent to described buffer unit; Described buffer unit also is used to extract corresponding setting data text and sends to described basic automation systems, until sending successfully.
Described buffer unit is provided with application programming interfaces and calls for external program, and safeguards the text message queue, according to the order buffer memory measured data text or the setting data text of FIFO.
Described buffer unit is set up text transmit queue and text and is received formation according to user-defined text length and buffering text quantity, is used for buffer memory setting data text and measured data text.
Described buffer unit also is used for after Process Control System reads the success of measured data text the corresponding measured data text that deletion is stored.
Described buffer unit also is used for after basic automation systems send the success of setting data text the corresponding setting data text that deletion is stored.
Described buffer unit, to send the setting data text to basic automation systems unsuccessful if run into network congestion, and then retry interval time of setting according to the user and the number of retries repeating transmission of delaying time is until sending successfully.
Described receiving element also is used for blocking and also hanging up consumer process when the reception message queue of buffer unit is sky; Described receiving element also is used for when receiving new actual measurement telegraph text data, should survey telegraph text data and be stored in the described buffer unit, and notice and excited users process read the actual measurement telegraph text data.
Described receiving element, also be used for when a plurality of rolling line server applications call this unit transmission setting data text simultaneously, the application program called at first of control obtains the tail pointer of message queue, and enters the critical resource district and protect, and blocks other text and sends process; After having added the setting telegraph text data and having revised the message queue tail pointer, control this application program of calling at first and withdraw from the critical resource district, activate other text and send process.
Described buffer unit also is used for carrying out alarm operation when queue full, remind the user not have application program to receive this text.
This course of hot rolling control middleware system is arranged on the course of hot rolling control computer.
The utility model has effectively shielded the complexity of TCP/IP bottom-layer network communication, alleviated the pressure communication of EPA, guaranteed the reliability of the data communication between process control automation and the basic automatization, avoid the production accident that the Process Control System fault causes and the generation of equipment breakdown, improved the engineer's of hot rolling automation control development efficiency simultaneously greatly.
Description of drawings
Fig. 1 is the structure chart of course of hot rolling control system under the utility model;
Fig. 2 is that the communication text of a kind of course of hot rolling control of the utility model middleware system embodiment receives schematic diagram;
Fig. 3 is that the communication text of a kind of course of hot rolling control of the utility model middleware system embodiment sends schematic diagram.
Among the figure:
1-heating furnace database server, 2-heating furnace apps server, 3-rolling line process control computer, 4-rolling line historic data server, 5-HMI server, 6-heating furnace district PLC/TDC, 7-roughing district PLC/TDC, 8-finish rolling district PLC/TDC, the 9-laminar flow cools off+batches PLC/TDC, the 10-HMI client, the 11-HMI client, the 12-drive apparatus, 13-remote I/O, 14-message queue.
The specific embodiment
Below in conjunction with the drawings and specific embodiments the utility model is described in further detail.
The structure chart of course of hot rolling control system as shown in Figure 1 under the utility model.Wherein, Level0 is a gear stage, and Level 1 is the basic automatization level, and Level 2 is a process control level.Wherein, Level2 is provided with heating furnace database server 1, heating furnace apps server 2, rolling line process control computer 3 and rolling line historic data server 4.Level 1 is provided with HMI server 5, heating furnace district PLC/TDC6, roughing district PLC/TDC7, finish rolling district PLC/TDC8, laminar flow and cools off+batch PLC/TDC9, HMI client 10, HMI client 11.0 of Level is corresponding to heating furnace district, roughing district, finish rolling district, laminar flow cooling and batch the district and be provided with drive apparatus 12 and remote I/O 13 respectively.
The PLC of process control computer and basic automatization or TDC carry out communication by EPA, for the stability that guarantees communication and the reliability and the integrality of data, adopt ICP/IP protocol transmission data.Process control computer uses socket (Socket) object to connect and realizes the transmitting-receiving of communication text.When receiving the measured data text, middleware system is set up the data that message queue 14 comes buffer memory to receive from basic automatization, avoided the process control application program to lose, and provide interface function to read telegraph text data from message queue for other application program because of handling the untimely communication text that causes.When sending the setting data text, middleware system is set up the telegraph text data that message queue 14 buffer memorys will send, send successfully back these data of deletion from message queue, if running into network congestion sends unsuccessful then the time-delay repeating transmission, till sending successfully, and provide interface function to store data to message queue.
On the hot rolling automatic production line, roughing district, finish rolling district, laminar flow cooling zone and the basic automatization control appliance PLC (TDC) that batches the district connect the rolling line process control computer by EPA.Basic automatization sends to process automation system with cycle of Millisecond with the measured data of rolling line equipment collection, and process control computer sends to basic automation systems with setting data in sequential accurately simultaneously.
The process control middleware system is deployed on the course of hot rolling control computer, and provide application programming interfaces (API) and each hot rolling Mathematical Modeling program interaction, receive formation buffer memory transmitting-receiving text by text transmit queue and text, and read and send the text communication data according to the order of first in first out.Course of hot rolling control middleware system is responsible for safeguarding message queue, carries out and adds, deletes, sends, receives, and the alarm operation when queue full.
In order effectively to safeguard the communication message queue, the text head of communication text must define according to the standard data structure that middleware system provides.Communication text length and telegraph text content are by User Defined, and text length should be more than or equal to text head length degree.Because the restriction of basic automatization control appliance addressing system and data type, the data type of communication text must be defined as the simple data type of computer advanced language, account for fixing byte number, comprise a char Class1 byte, 4 bytes of integer type, 4 bytes of float type, 8 bytes of double type, 2 bytes of short int type.Actual communication text can be the combination of these simple data types.
The user is according to number of retries, retry interval time and the reception telegraph text data buffer size of the actual conditions definition text transmission of hot rolling line, when the EPA communication failure, course of hot rolling control middleware system disposes retry according to the user and sends the communication text, perhaps dispose the telegraph text data that reads designated length from buffering area according to the user, subpackage deposits in the message queue.
Middleware can be set up a plurality of server socket (Socket) in the process of rolling line server operation, and the port of binding agreement is waited for the connection of the equipment such as TDC, PLC of basic automatization.Roughing, finish rolling, the equipment such as TDC that batch are transferred to server socket with communication data with Transmission Control Protocol.After middleware receives these data,, data are saved in the message queue according to the position of message queue tail pointer and the order of FIFO.When application program when message queue reads data, at first obtain the message queue owner pointer, when formation when not being empty, call middleware api function RecvDate (), according to the data that the sequential processes of FIFO receives, its text receives schematic diagram as shown in Figure 2.
At first, define text size and buffering text quantity, set up operating system nucleus object-Memory Mapping File and its, be used to produce the round-robin queue of text according to the user.Then, call socket function Recv () and receive text, and the text that receives is inserted the message queue tail.User's calls application interface function R ecvData () reads text, when message queue is sky, uses operating system nucleus object-event object, blocks consumer process; When the message queue non-NULL, operating system nucleus object-event object activates the consumer process that blocks, and reads the communication text.Need change the head and the tail pointer of message queue owing to safeguard message queue, so message queue head and the tail pointer be put into the critical resource district protect, promptly revise the preceding locking of message queue head and the tail pointer critical zone, withdraw from the critical zone after modification finishes.
In order to send data for control appliances such as basic automatization TDC, PLC, middleware can be set up a plurality of client socket (Client Socket) in the process of rolling line server operation, and each socket has all defined the IP address and the port numbers of remote equipment.The tail pointer (Rear Pointer) that application program at first obtains message queue calls middleware api function SendDate (), and the data that send are write the formation end successively.When message queue is not sky, trigger message-oriented middleware and send data function Send (), this function is by client socket, and the setting data of process control Mathematical Modeling application program is sent to the basic automatization control appliance, and its text sends schematic diagram as shown in Figure 3.
Before sending data, define text size and buffering text quantity, set up operating system nucleus object-Memory Mapping File and its, be used to produce the round-robin queue of text according to the user.Because the user adds the head and the tail pointer that message queue need be revised in new communication text, therefore provide application program interface function SendData () to add the telegraph text data of new transmission, and, after interpolation finishes, withdraw from the critical resource district in the critical zone protection for the user.When transmit queue is not empty, then the socket function Send of call operation system () sends the communication text, and deletes this communication data.If the network communication fault is not then deleted the not successful communication text of transmission, dispose the time-delay retry according to the user.
The utility model has effectively shielded the complexity of TCP/IP bottom-layer network communication, alleviated the pressure communication of EPA, guaranteed the reliability of the data communication between process control automation and the basic automatization, avoid the production accident that the Process Control System fault causes and the generation of equipment breakdown, improved the engineer's of hot rolling automation control development efficiency simultaneously greatly.
The above; it only is a part of specific embodiment of the present utility model; protection domain of the present utility model is not limited thereto; anyly be familiar with those skilled in the art in the technical scope that the utility model discloses; the variation that can expect easily or replacement all should be encompassed within the protection domain of the present utility model.The protection domain of the utility model embodiment should be as the criterion with the protection domain of claim.

Claims (1)

1. a course of hot rolling is controlled middleware system, it is characterized in that:
Comprise receiving element and buffer unit;
Described receiving element is used for receiving the measured data text from basic automation systems, and this measured data text is sent to described buffer unit;
Described buffer unit is used for corresponding measured data text of buffer memory and notification procedure control system and receives, until receiving successfully;
Described receiving element also is used for receiving the setting data text from Process Control System, and this setting data text is sent to described buffer unit;
Described buffer unit also is used to extract corresponding setting data text and sends to described basic automation systems, until sending successfully;
Described buffer unit is provided with application programming interfaces and calls for external program, and safeguards the text message queue, according to the order buffer memory measured data text or the setting data text of FIFO.
CN2009202297163U 2009-11-10 2009-11-10 Hot rolling process control middleware system Expired - Fee Related CN201596678U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009202297163U CN201596678U (en) 2009-11-10 2009-11-10 Hot rolling process control middleware system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009202297163U CN201596678U (en) 2009-11-10 2009-11-10 Hot rolling process control middleware system

Publications (1)

Publication Number Publication Date
CN201596678U true CN201596678U (en) 2010-10-06

Family

ID=42807725

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009202297163U Expired - Fee Related CN201596678U (en) 2009-11-10 2009-11-10 Hot rolling process control middleware system

Country Status (1)

Country Link
CN (1) CN201596678U (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107695107A (en) * 2017-11-23 2018-02-16 北京科技大学设计研究院有限公司 A kind of method for tracking and managing of Stand Mill roughing mill setting data
CN108076085A (en) * 2016-11-10 2018-05-25 北京国双科技有限公司 The method and data transmission device of a kind of data transmission
CN108941207A (en) * 2018-06-04 2018-12-07 北京金自天正智能控制股份有限公司 A kind of hot fine rolling model process control subsystem and method
CN113890792A (en) * 2021-09-30 2022-01-04 北京科技大学设计研究院有限公司 Method for determining parallel second-generation communication gateways of hot rolling second-stage system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108076085A (en) * 2016-11-10 2018-05-25 北京国双科技有限公司 The method and data transmission device of a kind of data transmission
CN107695107A (en) * 2017-11-23 2018-02-16 北京科技大学设计研究院有限公司 A kind of method for tracking and managing of Stand Mill roughing mill setting data
CN108941207A (en) * 2018-06-04 2018-12-07 北京金自天正智能控制股份有限公司 A kind of hot fine rolling model process control subsystem and method
CN113890792A (en) * 2021-09-30 2022-01-04 北京科技大学设计研究院有限公司 Method for determining parallel second-generation communication gateways of hot rolling second-stage system
CN113890792B (en) * 2021-09-30 2023-09-01 北京科技大学设计研究院有限公司 Second generation communication gateway determination method for parallel hot rolling secondary system

Similar Documents

Publication Publication Date Title
CN201596678U (en) Hot rolling process control middleware system
CN103209137B (en) Configurable high precision time interval frame issues Ethernet interface control system
CN103259683A (en) Web network management system second level cache pushing method based on HTML5
CN103096271A (en) Information pushing system and information pushing method
CN105119907A (en) FPGA-based BiSS-C communication protocol method
CN101339541B (en) DMA data-transmission method and DMA controller
CN103516580A (en) Method of realizing message receiving and forwarding based on message queue and system thereof
CN103546394A (en) Communication device
CN105652785A (en) PLC (programmable logic controller) communication module based on IEC (international electrotechnical commission) 60870-5-104 telecontrol protocol
CN110311966B (en) Dual-system communication method and system fusing PC system and android system
CN108304335A (en) A method of the indefinite long message of serial ports is received by DMA
CN101815034B (en) Intertask message sending method and communication apparatus
CN103269376B (en) Enterprise network large file transmission system authorized and managed in centralized method
CN102437952A (en) Method for managing multi-variety Modbus protocol message
CN104753749A (en) Multi-host communication method and multi-host communication system
CN208940011U (en) Data based on local datastore acquire transmission device
CN101895462B (en) Serial communication gateway
CN101751012B (en) Device and method for realizing communication of direct current cabinet and host computer based on communication supervisor
CN102708032B (en) Method and device for detecting hot plug of secure digital card
CN104486188B (en) A kind of method to set up and device for receiving and dispatching separate threads
CN101883126B (en) DP-NET data link control mechanism with strict time certainty
CN103973530A (en) Catching technology based information interaction bus data reliable-transmission method
CN103995789A (en) Direct memory access achievement system and method
CN109660608A (en) Data acquisition and transmission method, device and equipment based on local datastore
CN105812932B (en) A kind of the communication data anti-loss method and system of module TV

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20101006

Termination date: 20151110

EXPY Termination of patent right or utility model