SCADA (supervisory control and data acquisition) system-based visual monitoring method and device for pharmaceutical preparation production line
Through visual monitoring methods and 3D technology based on SCADA system, the data acquisition and monitoring complexity brought about by the equipment diversity of pharmaceutical preparation production lines is solved, real-time and accurate monitoring and management of pharmaceutical preparation production lines is realized, and production efficiency is improved. Quality management level.
Patent Information
- Application Number
- CN202410991061.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-23
- Publication Date
- 2024-11-12
AI Technical Summary
Due to the wide variety of equipment and different control systems and communication protocols of the pharmaceutical preparation production line, data collection and monitoring work is complicated, and it is difficult for managers to monitor the operating conditions of the equipment in real time and accurately, which increases maintenance costs and resource waste, affecting production efficiency and competitiveness. .
Using a visual monitoring method based on SCADA system, the SCADA server and digital acquisition module are configured redundantly, combined with 3D visualization technology, real-time data acquisition and three-dimensional modeling display of pharmaceutical preparation production line equipment, unified management standard and non-standard protocol equipment Data, obtain device status information in real time, and send data to the 3D operating station through the WebSocket protocol for 3D visual monitoring and alarm prompts.
It realizes accurate and unified management of pharmaceutical preparation production line equipment, improves monitoring efficiency and management level, reduces equipment fault handling time, optimizes human-machine interface design, ensures that operators can quickly and accurately judge and adjust the equipment status, and avoids Production line shutdown.
Smart Images

Figure CN118938825A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of industrial monitoring, and in particular relates to a visual monitoring method and device for a pharmaceutical preparation production line based on a SCADA system. Background Art
[0002] The pharmaceutical industry has many production facilities, resulting in complex and large production lines, which poses a challenge to management. Due to the wide variety of equipment, different control systems and communication protocols used, data collection and monitoring work becomes complicated and difficult. In this case, it is not easy for managers to monitor the operating status of each device in real time and accurately, and it is difficult to quickly respond to failures and abnormal situations that occur during the production process.
[0003] At the same time, the large number of production equipment also increases the equipment maintenance and operation costs, and maintenance personnel need to spend more time and energy to maintain and manage the equipment. In addition, the large number of equipment may also lead to waste of resources and inefficient use of production capacity, affecting the production efficiency and competitiveness of the enterprise. Summary of the invention
[0004] The purpose of the present invention is to provide a visual monitoring method for a pharmaceutical preparation production line based on a SCADA system, so as to realize real-time monitoring and management of various equipment in the pharmaceutical production process.
[0005] To solve the above problems, the technical solution of the present invention is:
[0006] A visual monitoring method for a pharmaceutical preparation production line based on a SCADA system, comprising:
[0007] Redundantly configured SCADA servers are used for storage of configuration files and routing of real-time data. They also send production line equipment operation data to the 3D operation station for display via the websocket protocol, thus achieving 3D visual monitoring of the production line.
[0008] Among them, the operation data of the production line equipment includes standard protocol equipment data and non-standard protocol equipment data. The standard protocol equipment data is collected through the digital acquisition module, and the non-standard protocol equipment data is directly collected by the SCADA system;
[0009] In the 3D operation station, the production line equipment is three-dimensionally modeled according to the production line equipment attributes to form an equipment model; the equipment attributes include equipment type, equipment number and equipment three-dimensional coordinates; the status information of the production line equipment is obtained in real time; and the operating action being performed by each device at the current moment is determined according to the status information of each device, and the corresponding equipment model operation action is determined according to the operation action of each device, and each equipment model is controlled to be displayed in 3D according to the corresponding equipment operation action.
[0010] According to one embodiment of the present invention, a three-dimensional model of a pharmaceutical production line is constructed in a 3D operation station, including a raw material preparation area for storing, preparing and weighing raw materials required for drug production, a mixing and granulation area for mixing various raw materials according to formula proportions to form granular dosage forms, a powder dosage form area for making raw materials into powder preparations, a liquid dosage form area for producing liquid dosage form drugs, an ointment dosage form area for producing ointment dosage form drugs, a plastic product area for producing plastic products required for drug packaging, and a finished product packaging area for packaging the manufactured drugs.
[0011] According to one embodiment of the present invention, the digital acquisition module is connected to the production line equipment for communication, real-time collection of the operation data of the production line equipment during the process of obtaining raw materials, weighing, preparing, filtering, filling, testing and packaging, and uploads the data to the 3D operation station.
[0012] According to an embodiment of the present invention, the digital acquisition module also collects product information on the production line equipment in real time and uploads it to the 3D operation station; the 3D operation station determines the corresponding product display model according to each product information and displays it on the equipment model.
[0013] According to an embodiment of the present invention, the 3D operation station determines whether a device fails based on the operation information of each device, and when a device fails, an alarm prompt is issued on the corresponding device model.
[0014] A visual monitoring device for a pharmaceutical preparation production line based on a SCADA system, comprising:
[0015] The monitoring module is used to redundantly configure the SCADA server, store configuration files and route real-time data. It also sends the production line equipment operation data to the 3D operation station for display via the websocket protocol, thus realizing 3D visual monitoring of the production line.
[0016] An acquisition module is used to collect the operation data of the production line equipment; the operation data includes standard protocol equipment data and non-standard protocol equipment data, wherein the standard protocol equipment data is collected by the digital acquisition module, and the non-standard protocol equipment data is directly collected by the SCADA system;
[0017] The display module is used to perform three-dimensional modeling of the production line equipment in the 3D operation station according to the production line equipment attributes to form an equipment model; the equipment attributes include equipment type, equipment number and equipment three-dimensional coordinates; obtain the status information of the production line equipment in real time; and determine the operating actions being performed by each device at the current moment according to the status information of each device, determine the corresponding equipment model operation actions according to the operation actions of each device, and control each equipment model to perform 3D display while performing the corresponding equipment operation actions.
[0018] Due to the adoption of the above technical solution, the present invention has the following advantages and positive effects compared with the prior art:
[0019] The visual monitoring method for pharmaceutical preparation production lines based on the SCADA system in one embodiment of the present invention accurately collects and uniformly manages standard protocol equipment data and non-standard protocol equipment data, and comprehensively understands important information such as the operating status, output data, and abnormal alarms of production equipment; combined with 3D visualization technology, each production line equipment is presented as a specific three-dimensional model, and the operating status of the equipment can be monitored in real time through simulation, which greatly improves the monitoring efficiency and management level of the pharmaceutical preparation production line, and provides strong support for the quality management and production efficiency of pharmaceutical companies. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 is a pharmaceutical process flow chart in one embodiment of the present invention;
[0021] Figure 2 A schematic diagram of a visual monitoring system for a pharmaceutical preparation production line based on a SCADA system in one embodiment of the present invention;
[0022] Figure 3 A 3D modeling diagram of a pharmaceutical production line in one embodiment of the present invention;
[0023] Figure 4 Another 3D modeling diagram of a pharmaceutical production line in one embodiment of the present invention;
[0024] Figure 5 It is a 3D schematic diagram of a purified water reverse osmosis device in one embodiment of the present invention;
[0025] Figure 6 In one embodiment of the present invention DETAILED DESCRIPTION
[0026] The following is a further detailed description of a visual monitoring method and device for a pharmaceutical preparation production line based on a SCADA system proposed by the present invention in conjunction with the accompanying drawings and specific embodiments. The advantages and features of the present invention will become more apparent from the following description and claims.
[0027] This embodiment aims at the problem that there are many production devices in the pharmaceutical preparation industry, the control systems and communication protocols used are different, and the data collection and monitoring work becomes complicated and difficult. A visual monitoring device for the pharmaceutical preparation production line based on the SCADA system can realize real-time monitoring and management of various equipment in the pharmaceutical production process. The solution adopts a customized data collection solution to ensure that the data of various non-standard protocol devices can be accurately collected and integrated into a unified data management platform. In this way, the operator can have a more comprehensive understanding of the operating status, output data, abnormal alarm and other important information of the production equipment. Combined with 3D visualization technology, each device and production line will be presented as an intuitive and specific three-dimensional model, and the operator can monitor the operating status of the equipment in real time through virtual simulation. This visualization method can greatly improve the work efficiency of the operator and the management level of the production line. In addition, the monitoring solution also optimizes the human-machine interface design to ensure that the operator can quickly and accurately judge and adjust the equipment status. Through the intuitive graphical interface, the operator can quickly locate the faulty equipment and take countermeasures in time, thereby effectively avoiding the losses caused by the shutdown of the production line.
[0028] In summary, this 3D visualization monitoring solution based on the SCADA system will greatly improve the monitoring efficiency and management level of the pharmaceutical preparation production line, and provide strong support for the quality management and production efficiency of pharmaceutical companies.
[0029] Specifically, the pharmaceutical production line needs to strictly follow the requirements of Good Manufacturing Practice (GMP) for pharmaceuticals, and has strict requirements on production environment, production process, equipment cleaning and disinfection, quality control, etc., to ensure that the drugs produced meet quality standards and are safe and effective. When designing a pharmaceutical production line, manufacturers need to consider factors such as production scale, drug type, and production process to ensure production efficiency and drug quality.
[0030] The production line for the production of pharmaceutical preparations (finished pharmaceutical products) includes the following main parts:
[0031] Raw material preparation area: used to store, prepare and weigh raw materials required for drug production, including active drugs, excipients, solvents, etc.;
[0032] Mixing and granulation area: various raw materials are mixed according to the formula ratio and made into granular dosage forms, such as granules, granules, etc. Powder dosage form area: raw materials are made into powder preparations, such as powders, dry suspensions, etc.
[0033] Liquid dosage form area: produces liquid dosage form drugs, such as oral liquid, injection, etc.;
[0034] Ointment dosage form area: production of ointment dosage form drugs, such as ointments, suppositories, etc.;
[0035] Plastic products area: used to produce plastic products required for drug packaging, such as medicine bottles, medicine boxes, etc.;
[0036] Finished product packaging area: The finished medicines are packaged, including medicine bottles, medicine bags, medicine boxes, etc.
[0037] For its pharmaceutical process, please refer to Figure 1 The pharmaceutical process first requires obtaining raw materials (raw and auxiliary materials), weighing the raw materials, and after obtaining the required amount, putting various raw materials into production equipment for preparation; after the preparation is completed, the finished product is filtered, and the finished product that meets the requirements is filled, that is, the inner packaging; then it is packaged after inspection, that is, the outer packaging; and finally put into storage.
[0038] The visual monitoring device of the pharmaceutical preparation production line based on the SCADA system in this embodiment needs to complete the operation data collection, analysis and processing and 3D visualization display of each device in the above-mentioned pharmaceutical process, ensuring that the operator can quickly and accurately judge and adjust the equipment status. Due to the wide variety of equipment, the control systems and communication protocols used are different. This embodiment adopts the following scheme for the collection of equipment data: All devices using the MODBUS-RTU protocol are collected through the digital acquisition module. Devices using other communication protocols are directly collected by the SCADA system.
[0039] Among them, the SCADA (Supervisory Control And Data Acquisition) system is a computer-based production process control and dispatching automation system. The SCADA system can monitor and control the process or equipment with dispersed measurement and control points locally or remotely, realize various functions such as data acquisition, equipment control, measurement, parameter adjustment, and various signal alarms, and provide necessary and complete data and technical support for safe production, dispatching, management, optimization and fault diagnosis.
[0040] Digital acquisition module: This is a data acquisition module provided in this embodiment with functions such as control operation, data acquisition and communication processing. This module uses the UCP unified control protocol to connect to the process control layer (operator station, engineer station), receive relevant management commands, and pass the characteristic data and real-time data of the equipment upward; communicate with the field device layer in real time to realize the monitoring of the field serial port equipment. This digital acquisition module supports MODBUS TCP client / server, MODBUSRTU master / slave and custom communication protocols.
[0041] Please see Figure 2The visual monitoring device of the pharmaceutical preparation production line based on the SCADA system of this embodiment mainly includes a SCADA server, a digital acquisition module and a 3D operation station. Among them, the SCADA server (data server and configuration server) is redundantly configured for the storage of configuration files and the routing of real-time data; the 3D operation station is used for the 3D stereoscopic display of the equipment, the display of key operating data and alarm data; in the entire 3D visual monitoring system, all devices using the MODBUS-RTU protocol are collected through the digital acquisition module. Devices using other communication protocols are directly collected by SCADA. The 3D operation station data is sent by the SCADA server through the WebSocket protocol.
[0042] That is to say, two server nodes and one operation node are deployed in the SCADA webserver of the visual monitoring system, and the Web service configuration is performed according to the deployment method. Before starting the Web client, it is necessary to start the monitoring software of any server node. Among them, the process of calling using the WebSocket protocol is: the client sends a JSON package as a call request, and the server returns a JSON package as a response. The client's JSON package complies with the following standard format: {callID, method, _parameters}, callID is a 32-bit integer greater than 0, which is specified by the client as the unique identifier of this call, and the server includes this identifier in the returned response. This is to be able to match the response and call when dealing with asynchronous calls such as JavaScript in the front end of the browser; method is of string type, which indicates the name of the function to be called; Version is of int type, which is the version of the current client interface. If the version is greater than the server version, the interface call fails. The version number of the first version is 100. _parameters is the parameter array of the called function. If there is no parameter, the parameter can be ignored. The JSON package returned by the server follows the following standard format: {callID, method, callResult, datas}callID is the unique identifier of this call, specified by the client and returned by the server in response; method is of string type, indicating the name of the called function; callResult is a 32-bit integer, indicating the result of this call. If it is 0, it means the call is successful, otherwise it means failure. Please refer to the common error code definition part of the appendix. Other specific error codes are defined by each function; datas is the specific data part, which is defined by each function. About the time format: Since JSON itself does not specify a specific time format, for the convenience of client programming, the format of JavaScript built-in JSON object is used: 2016-08-01T18:25:43.511Z, in which the millisecond part can be omitted, that is, it can be like this: 2016-08-01T18:25:43Z; About the port: The port number is 23314.
[0043] The monitoring method of the visual monitoring system of the pharmaceutical preparation production line based on the SCADA system comprises the following steps:
[0044] Redundantly configured SCADA servers are used for storage of configuration files and routing of real-time data. They also send production line equipment operation data to the 3D operation station for display via the websocket protocol, thus achieving 3D visual monitoring of the production line.
[0045] Among them, the operation data of the production line equipment includes standard protocol equipment data and non-standard protocol equipment data. The standard protocol equipment data is collected through the digital acquisition module, and the non-standard protocol equipment data is directly collected by the SCADA system;
[0046] In the 3D operation station, the production line equipment is three-dimensionally modeled according to the production line equipment attributes to form an equipment model; the equipment attributes include equipment type, equipment number and equipment three-dimensional coordinates; the status information of the production line equipment is obtained in real time; and the operating action being performed by each device at the current moment is determined according to the status information of each device, and the corresponding equipment model operation action is determined according to the operation action of each device, and each equipment model is controlled to be displayed in 3D according to the corresponding equipment operation action.
[0047] A three-dimensional model of the pharmaceutical production line is constructed in the 3D operation station, including a raw material preparation area for storing, preparing and weighing raw materials required for drug production, a mixing and granulation area for mixing various raw materials according to the formula ratio to make granular dosage forms, a powder dosage form area for making raw materials into powder preparations, a liquid dosage form area for producing liquid dosage form drugs, an ointment dosage form area for producing ointment dosage form drugs, a plastic product area for producing plastic products required for drug packaging, and a finished product packaging area for packaging the finished drugs.
[0048] Please see Figure 3 and Figure 4 , Figure 3 The general view of the first floor including the purified water treatment device, air compressor unit, washing machine, shoe washing machine and sterilization cabinet is displayed. Figure 4 The overall appearance of the three production lines is displayed. Each production line is divided into a clean area and a packaging area. The clean area includes a vacuum emulsifying machine, a filling and sealing machine; the packaging area includes a cartoning machine, a wrapping machine, a case packing machine and other equipment.
[0049] When performing three-dimensional modeling of production line equipment, 3DMAX software can be used. The components of the production line equipment can be divided into several components according to their structure and function. By obtaining the parameters related to the component dimensions in the component attributes of each component, the three-dimensional models of the components in the production line equipment can be modeled using 3DMAX modeling software; according to the information parameters such as the position deployment in the component attributes of each component, the three-dimensional models of each component are combined to form an equipment model.
[0050] Components of the same type can be set to the same component type. Before 3D modeling of the production line equipment, 3D modeling of components of different types can be performed separately to form component models corresponding to each component type. When 3D modeling of the production line equipment is performed, the corresponding component model can be called according to the component type of each component. The component model coordinates corresponding to each component can be determined based on the component three-dimensional coordinates, combined with the correspondence between the three-dimensional coordinates of the actual space of the production line equipment and the model coordinates in the equipment model space. The component models of all components can be combined according to the corresponding component model coordinates to obtain the equipment model of the entire production line equipment.
[0051] The digital acquisition module is connected to the production line equipment to collect real-time operation data of the production line equipment during the process of obtaining raw materials, weighing, preparing, filtering, filling, testing and packaging, and upload it to the 3D operation station. The digital acquisition module also collects product information on the production line equipment in real time and uploads it to the 3D operation station; the 3D operation station determines the corresponding product display model based on the product information and displays it on the equipment model.
[0052] Please see Figure 5 The figure shows a purified water reverse osmosis device, which is mainly used to prepare purified water. The figure shows the operating status of the device and the pressure, conductivity, flow rate and other data in the process of preparing purified water.
[0053] In addition to displaying the corresponding data on the corresponding equipment model, the 3D operation station also determines whether the equipment has failed based on the operating information of each device. When a device fails, an alarm prompt will be issued on the corresponding equipment model.
[0054] The visual monitoring system of the pharmaceutical preparation production line based on the SCADA system collects data from all equipment instruments in the entire field through the digital acquisition module and SCADA, achieving the effect of unified acquisition and monitoring, which is convenient for production personnel and quality personnel to timely control the production and quality of the entire factory. Modeling and restoring the workshop and workshop equipment greatly facilitates relevant personnel in all aspects of pharmaceutical production to instantly understand the operation status of workshop equipment and production status. This visual method can greatly improve the work efficiency of operators and the management level of production lines.
[0055] In addition, the monitoring solution also optimizes the human-machine interface design to ensure that operators can quickly and accurately judge and adjust the equipment status. Through the intuitive graphical interface, operators can quickly locate faulty equipment and take timely countermeasures, thereby effectively avoiding losses caused by production line downtime.
[0056] In summary, the 3D visualization monitoring solution based on the SCADA system will greatly improve the monitoring efficiency and management level of the pharmaceutical preparation production line, and provide strong support for the quality management and production efficiency of pharmaceutical companies.
[0057] Based on the same concept, this embodiment also provides a visual monitoring device for a pharmaceutical preparation production line based on a SCADA system. Figure 6 , the device comprises:
[0058] The monitoring module is used to redundantly configure the SCADA server, store configuration files and route real-time data. It also sends the production line equipment operation data to the 3D operation station for display via the websocket protocol, thus realizing 3D visual monitoring of the production line.
[0059] An acquisition module is used to collect the operation data of the production line equipment; the operation data includes standard protocol equipment data and non-standard protocol equipment data, wherein the standard protocol equipment data is collected by the digital acquisition module, and the non-standard protocol equipment data is directly collected by the SCADA system;
[0060] The display module is used to perform three-dimensional modeling of the production line equipment in the 3D operation station according to the production line equipment attributes to form an equipment model; the equipment attributes include equipment type, equipment number and equipment three-dimensional coordinates; obtain the status information of the production line equipment in real time; and determine the operating actions being performed by each device at the current moment according to the status information of each device, determine the corresponding equipment model operation actions according to the operation actions of each device, and control each equipment model to perform 3D display while performing the corresponding equipment operation actions.
[0061] The device can realize the above-mentioned visual monitoring method of the pharmaceutical preparation production line based on the SCADA system. Its functions and implementation methods are as described above and will not be repeated here.
[0062] The embodiments of the present invention are described in detail above in conjunction with the accompanying drawings, but the present invention is not limited to the above embodiments. Even if various changes are made to the present invention, if these changes fall within the scope of the claims of the present invention and their equivalents, they still fall within the protection scope of the present invention.
Claims
1. A visual monitoring method for a pharmaceutical preparation production line based on a SCADA system, characterized in that: include: Redundantly configured SCADA servers are used for storage of configuration files and routing of real-time data. They also send production line equipment operation data to the 3D operation station for display via the websocket protocol, thus achieving 3D visual monitoring of the production line. Among them, the operation data of the production line equipment includes standard protocol equipment data and non-standard protocol equipment data. The standard protocol equipment data is collected through the digital acquisition module, and the non-standard protocol equipment data is directly collected by the SCADA system; In the 3D operation station, the production line equipment is three-dimensionally modeled according to the production line equipment attributes to form an equipment model; the equipment attributes include equipment type, equipment number and equipment three-dimensional coordinates; the status information of the production line equipment is obtained in real time; And according to the status information of each device, the operation action being performed by each device at the current moment is determined, and the corresponding device model operation action is determined according to the operation action of each device, and each device model is controlled to perform 3D display while performing the corresponding device operation action.
2. The visual monitoring method for a pharmaceutical preparation production line based on a SCADA system as claimed in claim 1, characterized in that: A three-dimensional model of the pharmaceutical production line is constructed in the 3D operation station, including a raw material preparation area for storing, preparing and weighing raw materials required for drug production, a mixing and granulation area for mixing various raw materials according to the formula ratio to make granular dosage forms, a powder dosage form area for making raw materials into powder preparations, a liquid dosage form area for producing liquid dosage form drugs, an ointment dosage form area for producing ointment dosage form drugs, a plastic product area for producing plastic products required for drug packaging, and a finished product packaging area for packaging the finished drugs.
3. The visual monitoring method for a pharmaceutical preparation production line based on a SCADA system as claimed in claim 1, characterized in that: The digital acquisition module is connected to the production line equipment for communication, and collects the operation data of the production line equipment in real time during the process of obtaining raw materials, weighing, preparing, filtering, filling, testing and packaging, and uploads it to the 3D operation station.
4. The visual monitoring method for a pharmaceutical preparation production line based on a SCADA system as claimed in claim 3, characterized in that: The digital acquisition module also collects product information on the production line equipment in real time and uploads it to the 3D operation station; the 3D operation station determines the corresponding product display model according to each product information and displays it on the equipment model.
5. The visual monitoring method for a pharmaceutical preparation production line based on a SCADA system as claimed in claim 1, characterized in that: The 3D operation station determines whether a device fails based on the operation information of each device. When a device fails, an alarm prompt is issued on the corresponding device model.
6. A visual monitoring device for a pharmaceutical preparation production line based on a SCADA system, characterized in that: include: The monitoring module is used to redundantly configure the SCADA server, store configuration files and route real-time data. It also sends the production line equipment operation data to the 3D operation station for display via the websocket protocol, thus realizing 3D visual monitoring of the production line. An acquisition module is used to collect the operation data of the production line equipment; the operation data includes standard protocol equipment data and non-standard protocol equipment data, wherein the standard protocol equipment data is collected by the digital acquisition module, and the non-standard protocol equipment data is directly collected by the SCADA system; The display module is used to perform three-dimensional modeling of the production line equipment in the 3D operation station according to the production line equipment attributes to form an equipment model; the equipment attributes include equipment type, equipment number and equipment three-dimensional coordinates; obtain the status information of the production line equipment in real time; and determine the operating actions being performed by each device at the current moment according to the status information of each device, determine the corresponding equipment model operation actions according to the operation actions of each device, and control each equipment model to perform 3D display while performing the corresponding equipment operation actions.
Citation Information
Patent Citations
Pharmacy digital workshop management system
CN109884993A
Visual monitoring method, device and system, electronic device and storage medium
CN113284233A
SCADA (supervisory control and data acquisition)-based data acquisition and 3D (three-dimensional) effect monitoring display method in pharmaceutical industry
CN114625039A
Filling production line dynamic monitoring device based on digital twinning technology
CN115010072A
Operation method of digital twinborn model in wind turbine generator
CN116398360A
