Intelligent robot drug production dynamic risk management and control method and system
Through the dynamic risk management and control method of intelligent robot drug production, the Bayesian network model is used for risk monitoring and management, which solves the problem of low efficiency of drug production risk management in the existing technology and realizes comprehensive risk management and early warning of the drug production process. Significantly improved drug quality and production safety.
Patent Information
- Application Number
- CN202411246419.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-06
- Publication Date
- 2024-10-15
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing drug production risk management technology is inefficient, unable to achieve comprehensive and systematic risk management, and difficult to integrate multiple data and knowledge resources, resulting in one-sidedness and limitations of risk assessment.
Adopt the dynamic risk management and control method of intelligent robot drug production, collect production data through preset rules, build a Bayesian network model for risk monitoring and dynamic risk management, generate a management measure plan, and send it to relevant personnel in the form of pictures and texts for evaluation and Continuous improvement.
It improves the accuracy and efficiency of risk management, achieves comprehensive risk monitoring and early warning of the drug production process, reduces manual burden, ensures the effectiveness of the risk management process and the long-term stability of the system, and significantly improves drug quality and production. Safety.
Smart Images

Figure CN118780682A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of drug production risk management, and in particular to a method and system for dynamic risk management of drug production using intelligent robots. Background Art
[0002] With the increasing complexity of drug production and the continuous improvement of drug quality requirements, how to effectively manage the risks in the drug production process has become a key issue in the industry. At present, most drug manufacturers still rely on traditional manual monitoring and risk assessment methods, but this method is not only inefficient, but also easily interfered by human factors, and cannot guarantee the accuracy and timeliness of risk assessment.
[0003] In recent years, although some companies have begun to try to introduce automation and information technology to improve risk management, existing solutions usually only optimize a certain link or aspect and lack comprehensive and systematic risk management capabilities. For example, some systems may only focus on data collection and analysis, while ignoring the importance of early warning and decision support.
[0004] In addition, existing risk management systems often fail to effectively integrate multiple data and knowledge resources within and outside pharmaceutical companies, resulting in one-sidedness and limitations in risk assessment. Existing technologies have obvious deficiencies in dynamic risk analysis, making it difficult to provide pharmaceutical companies with comprehensive and efficient risk management solutions.
[0005] Therefore, there is an urgent need to provide a dynamic risk management method and system for intelligent robot drug production to improve the accuracy and efficiency of drug risk management compared with existing technologies. Summary of the invention
[0006] The present invention solves the technical problems existing in the prior art and provides a method and system for dynamic risk management and control of drug production by intelligent robots.
[0007] To achieve the above purpose, the technical solution adopted by the present invention is as follows: A method for dynamic risk management and control of intelligent robot drug production, comprising the following steps: S1. Collect the production data of drugs through preset rules, and then process the collected production data through preset algorithms; S2. Based on the production data processed in step S1, a Bayesian network model is constructed, risk monitoring and dynamic risk management are performed based on the Bayesian network model, and risk warning signals are issued; S3. Generate a replacement management measure plan based on the risk warning signal issued in step S2; S4, generating the management measures plan generated in step S3 in the form of graphics and text, and sending it to relevant personnel; S5. Evaluate the management measures sent to relevant personnel. The evaluation measures include whether it is implemented according to the plan, whether the expected risk reduction effect is achieved, and whether there are new risks. If all the evaluation measures are normal, the process ends. If any of the evaluation measures is abnormal, repeat steps S1-S5.
[0008] Furthermore, S2 specifically includes the following steps: S201, based on the production data processed in step S1, set at least one risk problem, and establish a Bayesian network model for each risk problem; S202, calculating the risk probability of each production data after being processed by the corresponding Bayesian network model, setting a corresponding warning threshold for each production data, comparing each risk probability with its corresponding warning threshold, and when the risk probability is greater than its corresponding warning threshold, issuing a risk warning signal, and outputting the production data for which no risk warning signal is issued; S203. Set a set value for each risk problem, calculate the node probability at each risk problem, compare the node probability at the risk problem with the set value of the risk problem, and issue a risk warning signal when the node probability at the risk problem is greater than or equal to the corresponding set value.
[0009] Furthermore, S201 specifically includes the following steps: S2011. Construct risk management knowledge graph; S2012. Set at least one risk question; S2013. For one of the risk issues, a fault tree corresponding to the risk issue is established, specifically: the risk issue is set as a root node, and the risk factors that have a causal relationship with the root node are analyzed in five aspects: personnel factors, equipment factors, material factors, manufacturing method factors, and environmental factors; S2014, transforming the fault tree established in step S2013 to form a Bayesian network model, wherein the top event of the fault tree is transformed into the target node of the Bayesian network model, the intermediate event of the fault tree is transformed into the intermediate node of the Bayesian network model, the basic event of the fault tree is transformed into the bottom node of the Bayesian network model, and the logic gate of the fault tree is transformed into the directed edge of the Bayesian network model; dividing the target node, the intermediate node, and the bottom node, if it is time-series changing data, it is divided into a dynamic node, otherwise it is a static node; S2015. Use the operation steps of S2013-S2014 to construct the Bayesian network model corresponding to the next risk problem, and repeat steps S2013-S2015 until the Bayesian network models corresponding to all risk problems are completed.
[0010] Furthermore, the specific method of step S2011 is: extract the production risk management document knowledge base established by the enterprise and the production data processed by step S1, use natural language processing technology to extract information from unstructured data, and convert it into a risk management knowledge graph.
[0011] Furthermore, the risk probability in step S202 is calculated by the following formula: ; In the above formula, The parent node set representing the probability of production data at the i-th node in the t-time domain, Indicates that production data is The parent node set of the probability at the i-th node in the time domain.
[0012] Furthermore, S203 specifically includes the following steps: S2031. For each Bayesian network model, construct a corresponding dynamic Bayesian network model; S2032. Based on the dynamic Bayesian network model, the node probability at the risk problem corresponding to each Bayesian network model is calculated to obtain the node probability at each risk problem; S2033. Compare the node probability at the risk problem with the set value. When the node probability at the risk problem is greater than or equal to the set value, issue a risk warning signal.
[0013] Furthermore, the dynamic Bayesian network model in step S2031 is expressed by the following formula: ; In the above formula, Indicates All nodes in the time domain, Indicates All nodes in the time domain, express based on The probability of The parent node set representing the probability of production data at the i-th node in the t-time domain, Indicates The i-th node in the time domain, express based on The probability of, N represents the total number of nodes in the Bayesian network model.
[0014] Furthermore, the node probability at each risk problem in step S2032 is calculated by the following method: Construct the log-likelihood function model, expressed as: ; In the above formula, represents the log-likelihood function, Indicates the risk problem corresponding to nodes, express Corresponding , T represents the total number of time domains, Indicates the total number of nodes corresponding to risk issues; definition , define a binary variable is 1 or 0, when hour, Take 1, otherwise, Take 0; use the Lagrange multiplier method to find the maximum value of L and obtain the node probability at the risk problem: ; In the above formula, is the node probability, j and k are both constants.
[0015] Furthermore, the preset rules include data collection frequency rules and setting range rules; the data collection frequency rules are: collecting production data of production equipment within a set time; the setting range rules are: ensuring that the collected data is within a set range; The preset algorithms include interpolation algorithm, outlier detection algorithm, and data conversion algorithm; the interpolation algorithm is: for missing data points, linear interpolation or polynomial interpolation is performed according to the values of the previous and next data points; the outlier detection algorithm is: using statistical methods to obtain outliers in the data; the data conversion algorithm is z-score standardization or min-max normalization.
[0016] A dynamic risk management and control system for intelligent robot drug production is characterized in that it includes a production data acquisition module, a risk identification module, a decision support module, a risk communication module and a risk review module; the production data acquisition module is used to collect and process production data, the risk identification module is used to build a Bayesian network model, perform risk monitoring and dynamic risk management, and issue risk warning signals, the decision support module is used to generate corresponding management measures for the risk warning signals issued by the risk identification module, the risk communication module is used to generate the management measures generated by the decision support module in a graphic form and send it to relevant personnel; the risk review module is used to evaluate the management measures sent to relevant personnel, and decide to end or restart the risk management and control task based on the evaluation results.
[0017] Compared with the prior art, the present invention has the following beneficial effects: The present invention greatly improves the efficiency and accuracy of risk management and reduces the manual burden through automation technology and intelligent algorithms; conducts risk monitoring and dynamic risk management in the drug production process, realizes real-time monitoring and risk warning, and responds to potential risks in a timely manner; comprehensively utilizes a variety of technical means to achieve comprehensive management of various risks in the production process; ensures the effectiveness of the risk management process and the long-term stability of the system through continuous risk review and improvement; realizes comprehensive management of risks in the drug production process, significantly improves the efficiency and accuracy of risk management, and is of great significance to ensuring drug quality and production safety. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 is a flow chart of the method of the present invention.
[0019] Figure 2 It is a schematic diagram of the fault tree of the present invention.
[0020] Figure 3 It is a schematic diagram of the node status of the Bayesian network of the present invention. DETAILED DESCRIPTION
[0021] The technical solution of the present invention will be clearly described below in conjunction with the accompanying drawings. Obviously, the described embodiments are not all embodiments of the present invention, and all other embodiments obtained by ordinary technicians in the field without making creative work are within the protection scope of the present invention.
[0022] Example 1 This embodiment takes the production of Chinese patent medicine tablets as an example to illustrate an intelligent robot drug production dynamic risk management method and system provided by the present invention. Specifically, a Chinese patent medicine enterprise produces a compound tablet for treating coronary heart disease, and its production process includes raw material pretreatment, extraction, concentration, alcohol precipitation, granulation, tableting, coating and other processes. The enterprise has established a complete automated production line and installed a variety of sensors, equipped with a SCADA system and an MSE system, and established a production risk management document knowledge base.
[0023] like Figure 1 As shown, this embodiment provides a method for dynamic risk control of intelligent robot drug production, comprising the following steps: S1. Collect the production data of drugs in various production processes through preset rules, and then process the production data through preset algorithms; production data includes but is not limited to raw material quality data, equipment operating parameters, and process control indicators. This step can capture production data from various production links in real time, and automatically organize, verify and preprocess the production data to ensure the real-time, accuracy and completeness of the production data. Specifically, it includes the following steps: S101. Collect production data of drugs in various production processes through preset rules. The preset rules include data collection frequency rules and set range rules. The data collection frequency rules are as follows: collect production data of production equipment within a set time. Production equipment includes but is not limited to sensors, equipment logs, and quality control systems. The set range rules are as follows: ensure that the collected production data is within the set range. The selection of the set range should be within a reasonable range. For example, the temperature reading should not be within -50 ~150 If the setting range is within this range, it is an unreasonable range.
[0024] S102. Process the production data collected in step S101 by a preset algorithm, so that the processed data is convenient for training and analyzing the machine learning model; the preset algorithm includes an interpolation algorithm, an outlier detection algorithm, and a data conversion algorithm, specifically: (1) Interpolation algorithm: For missing data points, linear interpolation or polynomial interpolation is performed based on the values of the previous and next data points to supplement the missing data points; Taking the moisture content in raw material quality data as an example, the following data points are collected (in batch units): Batch 1: 5.0%; Batch 2: data missing; Batch 3: 4.8%.
[0025] The interpolation value is calculated using the linear interpolation method: the value of the missing data point is calculated based on the values of the two known data points before and after (batch 1 and batch 3).
[0026] Calculate the slope: .
[0027] Use the slope and the values from batch 1 to calculate the interpolated values for batch 2: .
[0028] Results: The moisture content of the second batch was .
[0029] (2) Outlier detection algorithm: Use statistical methods to identify and process outliers in the data. The statistical method can be IQR (interquartile range); Taking the pH value in the raw material quality data as an example, the following data points were collected: 7.2, 7.3, 7.4, 7.5, 7.5, 7.6, and 10.0.
[0030] First, calculate the quartiles Q1 (first quartile) and Q3 (third quartile) of the data set consisting of the collected data points.
[0031] The data set is sorted as follows: 7.2, 7.3, 7.4, 7.5, 7.5, 7.6, 10.0.
[0032] Calculate Q1 and Q3: Q1 = 7.4, Q3 = 7.6.
[0033] Calculate IQR: IQR = Q3 Q1 = 0.2.
[0034] Identify outliers: Usually outliers are defined as values less than or greater than The value of .
[0035] 7.4 1.5 0.2=7.1.
[0036] 7.6+1.5 0.2=7.9.
[0037] 10.0 is identified as an outlier and needs to be deleted or replaced depending on the specific situation.
[0038] (3) Data conversion algorithm: Use z-score standardization or min-max normalization to process data.
[0039] Taking the particle size distribution in the raw material quality data as an example, the following data points are collected: 10 : 20%; 20 : 30%; 30 : 40%; 40 : 10%.
[0040] First calculate the mean and standard deviation: Mean .
[0041] Standard Deviation .
[0042] Apply z-score standardization to normalize each data point. The z-score standardization is expressed as follows: ; In the above formula, represents the data of the i-th data point, express The corresponding normalized data.
[0043] S2. Based on the production data processed in step S1, a Bayesian network model is established to conduct risk monitoring and dynamic risk management on the production data, which specifically includes the following steps: S201. Based on the production data processed in step S1, a Bayesian network model is established, specifically: S2011. Construct a risk management knowledge graph, extract the production risk management document knowledge base established by the enterprise and the production data processed by step S1, use natural language processing technology to extract information from unstructured data, and convert it into a risk management knowledge graph. Based on the risk management knowledge graph, the risk level is obtained. The specific method for obtaining the risk level through the risk management knowledge graph is an existing technology and will not be repeated here.
[0044] The risk management knowledge graph includes risk factor entities, risk event entities, risk impact entities, and the relationship edges between the above entities; risk factor entities include but are not limited to raw material quality, process parameters, equipment failure, environmental abnormalities, and human operations; risk event entities include risk occurrence situations, which include but are not limited to excessive pesticide residue content in a batch of Chinese medicinal materials and continuously high extraction temperatures; risk impact entities include the impact on the production process and product quality, such as deterioration in product quality, reduced production efficiency, and occurrence of safety accidents; the relationship edges between the above entities describe the relationships between risk factors, risk events, and risk impacts, such as causal relationships and influence relationships.
[0045] S2012. Based on the risk level obtained in step S2011, at least one risk problem is set. The risk problem set in this embodiment is the risk of alcohol precipitation package loss.
[0046] S2013. According to a risk problem, a corresponding fault tree is established, with the risk problem as the root node, and the risk factors that have a causal relationship with the root node are analyzed, and the risk factors are systematically considered from a set perspective. In this embodiment, the set perspective includes five perspectives: personnel factors, equipment factors, material factors, manufacturing method factors, and environmental factors.
[0047] like Figure 2 As shown, in the analysis of personnel factors, the risk of alcohol precipitation package loss is causally related to insufficient emergency response capabilities, personnel negligence, unskilled operators, and improper communication records; in the analysis of equipment factors, the risk of alcohol precipitation package loss is causally related to incomplete equipment cleaning, abnormal stirring speed, pipeline leakage, low filtration efficiency, abnormal stirring time, and abnormal ethanol flow rate; in the analysis of material factors, the risk of alcohol precipitation package loss is causally related to abnormal ethanol dosage, abnormal extract density, abnormal pH, abnormal ethanol concentration, and abnormal alcohol precipitation temperature; in the analysis of preparation method factors, the risk of alcohol precipitation package loss is causally related to improper process flow; in the analysis of environmental factors, the risk of alcohol precipitation package loss is causally related to ambient temperature fluctuations and insufficient air cleanliness.
[0048] S2014, respectively transform the "events" of the fault tree established in step S2013 to form a Bayesian network model, wherein the top event is transformed into the target node of the Bayesian network model, the intermediate event and the basic event are transformed into the intermediate or bottom node of the Bayesian network model, and the logic gate of the fault tree is transformed into the directed edge of the Bayesian network model. If the node is a time-series changing data, it is divided into a dynamic node, otherwise it is a static node, such as Figure 3 As shown in the figure, solid line nodes are static nodes and dashed line nodes are dynamic nodes. Each risk problem generates a fault tree and a Bayesian network model.
[0049] S2015. Use the method described in steps S2013-S2014 to construct the fault tree and Bayesian network model corresponding to the next risk problem, and repeat steps S2013-S2015 until the Bayesian network models corresponding to all risk problems are completed.
[0050] S202. Based on the Bayesian network model, risk monitoring of production data is performed, specifically: S2021. Calculate the risk probability of each production data after it is processed by the Bayesian network model of its corresponding risk problem; the risk probability of each production data is calculated by the following formula: ; In the above formula, Indicates that production data is The time domain The parent node set of the probability at the node, Indicates that production data is The time domain The parent node set of the probability at the node.
[0051] S2022. Set a warning threshold for each production data, compare the risk probability calculated for each production data with the set warning threshold, and issue a risk warning signal when the risk probability is greater than the corresponding warning threshold.
[0052] S203. Based on the Bayesian network model, dynamic risk management is carried out, specifically: S2031. For each Bayesian network model, a corresponding dynamic Bayesian network model is constructed; the dynamic Bayesian network model is represented by the following formula: ; In the above formula, Indicates All nodes in the time domain, Indicates All nodes in the time domain, express based on The probability of Indicates that production data is The time domain The parent node set of the probability at the node, Indicates In the time domain nodes, represents the total number of nodes in the Bayesian network model, express based on probability.
[0053] S2032. Based on the dynamic Bayesian network model, the node probability at the risk problem corresponding to each Bayesian network model is calculated to obtain the node probability of each risk problem.
[0054] Construct the log-likelihood function model, expressed as: ; In the above formula, represents the log-likelihood function, Indicates the risk problem corresponding to nodes, Indicates that production data is The time domain The parent node set of the probability at the node, Indicates In the time domain nodes, T represents the total number of time domains, Indicates the total number of nodes corresponding to risk issues, express Corresponding .
[0055] definition , binary variable is 1 (in the sample middle ) or 0 (other cases), the Lagrange multiplier method is used to find the maximum value of L and obtain the node probability at the risk problem: .
[0056] In the above formula, is the node probability, j and k are both constants.
[0057] S2033. Set a corresponding set value for each risk problem, compare the node probability at the risk problem with the set value, and issue an early warning when the node probability at the risk problem is greater than or equal to the set value. Specifically, for the alcohol precipitation process of this embodiment, when all parameters of the production data are in the normal operating range, but the Bayesian model analysis finds that the probability of the package loss risk node rises to more than 50%, an early warning is issued.
[0058] S3. Based on the risk management knowledge graph, generate corresponding replacement management measures for the warning issued in step S2.
[0059] S4: Generate readable text and graphic formats and send them to relevant personnel. Automatically distribute risk status reports and management measures updates through a centralized communication platform. The implementation methods include: (1) Risk information organization, organizing risk status reports, calendar measures updates and other information into a standard format; (2) Information release, automatically sending it to relevant personnel via email, text messages, etc. If the S3 step generates a corresponding management measures plan, the plan will be immediately sent to the relevant personnel for further review and analysis. If it cannot be generated, a notification reminder will be issued immediately.
[0060] S5. Evaluate the management measures sent to relevant personnel to verify whether the generated management measures effectively reduce risks. The evaluation measures include whether it is executed according to plan, whether the expected risk reduction effect is achieved, and whether there are any new risks. If the above three evaluation measures are all normal, the risk management task is terminated. If any of the above three evaluation measures is abnormal, repeat steps S1-S5 and redo the risk management task. If it is executed according to plan, the expected risk reduction effect is achieved, and there are no new risks, the evaluation measures are normal, otherwise they are abnormal. When the risk management task is redone, the production data obtained in step S1 will become the content of the production risk management document knowledge base established by the enterprise. The real-time production data obtained in step S1 will be combined in the redone step S2011 to generate a new risk management knowledge graph, and then the following operations are performed.
[0061] Example 2 The difference between this embodiment and embodiment 1 is that: Step S2 also includes the following steps: S204. By using multimodal data fusion technology and intelligently analyzing video surveillance images, the system can automatically identify abnormal situations at the production site, such as illegal operations by personnel and equipment failures. By performing spectrum analysis on the sound of equipment operation, the system can detect potential equipment failures or abnormalities early, and issue warnings when the intelligent analysis results show potential failures and abnormalities. Analyzing this information together with structured data can greatly improve the accuracy and comprehensiveness of risk identification.
[0062] S205. Use augmented reality (AR) technology to provide real-time risk warnings and operation instructions for on-site operators. For example, when an operator enters a high-risk area, the system can display the corresponding risk warnings and safety precautions in real time through AR glasses; when the operator needs to perform key operations, the system can provide step-by-step operation instructions through AR technology to reduce human errors. High-risk areas are determined according to the settings in the risk management knowledge graph, and key operations are some operating steps defined in the production SOP (production standard book). For example, during the material weighing process, ensure that the order of scanning, peeling, and weighing is performed in sequence.
[0063] Example 3 This embodiment also provides an intelligent robot drug production dynamic risk management system, including a production data acquisition module, a risk identification module, a decision support module, a risk communication module and a risk review module. The production data acquisition module is used to collect and process production data in the production process by setting rules and algorithms. The risk identification module includes a production risk knowledge base unit, a natural language model processing unit, a risk management knowledge graph unit, a fault tree establishment unit, a Bayesian model modeling unit, a risk monitoring unit, and a dynamic risk management unit; the production risk knowledge base unit is used to extract the production risk management document knowledge base established by the enterprise and the production data acquired by the production data acquisition module, the natural language model processing unit is used to use the natural language model to process the content extracted by the production risk knowledge base unit and generate a risk management knowledge graph, the risk management knowledge graph unit is used to store the risk management knowledge graph, the fault tree establishment unit is used to set risk problems based on the risk management knowledge graph and establish a fault tree corresponding to each risk problem, the Bayesian model modeling unit is used to establish a Bayesian model corresponding to each fault tree, the risk monitoring unit is used to calculate the pattern index corresponding to the production data, compare the pattern index with the warning threshold, and issue a warning, and the dynamic risk management unit is used to calculate the node probability at each risk problem, compare the node probability with the set value, and issue a warning. The decision support module is used to generate corresponding management measures for the warning issued by the risk identification module. The risk communication module includes a document receiving and sending unit and a document management unit. The document receiving and sending unit is used to receive the management measures plan issued by the decision-making unit and process it into readable graphic form and output it to relevant personnel. The document management unit is used to manage the readable graphic form of the management measures plan processed by the document receiving and sending unit. The risk review module is used to evaluate the management measures plan sent to relevant personnel and decide to end or restart the risk control task based on the evaluation results.
[0064] Example 4 The difference between this embodiment and embodiment 3 is that the risk control module also includes a process detection unit, which uses multimodal data fusion technology to improve the accuracy and comprehensiveness of risk identification.
[0065] Specifically, by intelligently analyzing video surveillance footage, the system can automatically identify abnormal situations at the production site, such as illegal operations by personnel, equipment failures, etc.; by performing spectrum analysis on the sound of equipment operation, the system can detect potential equipment failures or abnormalities early. Analyzing this information together with structured data can greatly improve the accuracy and comprehensiveness of risk identification.
[0066] In addition, the process detection unit also introduces augmented reality (AR) technology to provide real-time risk warnings and operation guidance for on-site operators. For example, when an operator enters a high-risk area, the system can display the corresponding risk warnings and safety precautions in real time through AR glasses; when an operator needs to perform a key operation, the system can provide step-by-step operation guidance through AR technology to reduce human errors.
[0067] The present invention greatly improves the efficiency and accuracy of risk management and reduces the manual burden through automation technology and intelligent algorithms; conducts risk monitoring and dynamic risk management in the drug production process, realizes real-time monitoring and risk warning, and responds to potential risks in a timely manner; comprehensively utilizes a variety of technical means to achieve comprehensive management of various risks in the production process; through continuous risk review and improvement, ensures the effectiveness of the risk management process and the long-term stability of the system; realizes comprehensive management of risks in the drug production process, significantly improves the efficiency and accuracy of risk management, and is of great significance to ensuring drug quality and production safety. By introducing multimodal data fusion and augmented reality technology, the present invention further enhances the intelligence level of the pharmaceutical process quality risk management software robot system, enabling it to more comprehensively and accurately identify various risks in the production process, and provide more intuitive and effective support for management decisions and on-site operations, thereby maximizing the safety and quality reliability of drug production.
[0068] Finally, it should be noted that the above content is only used to illustrate the technical solution of the present invention, rather than to limit the scope of protection of the present invention. Simple modifications or equivalent substitutions of the technical solution of the present invention by ordinary technicians in this field do not deviate from the essence and scope of the technical solution of the present invention.
Claims
1. A dynamic risk management and control method for intelligent robot drug production, characterized in that: The following steps are involved: S1. Collect the production data of drugs through preset rules, and then process the collected production data through preset algorithms; S2. Based on the production data processed in step S1, a Bayesian network model is constructed, risk monitoring and dynamic risk management are performed based on the Bayesian network model, and risk warning signals are issued; S3. Generate a replacement management measure plan based on the risk warning signal issued in step S2; S4, generating the management measures plan generated in step S3 in the form of graphics and text, and sending it to relevant personnel; S5. Evaluate the management measures sent to relevant personnel. The evaluation measures include whether it is implemented according to the plan, whether the expected risk reduction effect is achieved, and whether there are new risks. If all the evaluation measures are normal, the process ends. If any of the evaluation measures is abnormal, repeat steps S1-S5.
2. According to claim 1, a dynamic risk management and control method for intelligent robot drug production is characterized in that: S2 specifically includes the following steps: S201, based on the production data processed in step S1, set at least one risk problem, and establish a Bayesian network model for each risk problem; S202, calculating the risk probability of each production data after being processed by the corresponding Bayesian network model, setting a corresponding warning threshold for each production data, comparing each risk probability with its corresponding warning threshold, and when the risk probability is greater than its corresponding warning threshold, issuing a risk warning signal, and outputting the production data for which no risk warning signal is issued; S203. Set a set value for each risk problem, calculate the node probability at each risk problem, compare the node probability at the risk problem with the set value of the risk problem, and issue a risk warning signal when the node probability at the risk problem is greater than or equal to the corresponding set value.
3. The method for dynamic risk control of intelligent robot drug production according to claim 2 is characterized in that: S201 specifically includes the following steps: S2011. Construct risk management knowledge graph; S2012. Set at least one risk question; S2013. For one of the risk issues, a fault tree corresponding to the risk issue is established, specifically: the risk issue is set as a root node, and the risk factors that have a causal relationship with the root node are analyzed in five aspects: personnel factors, equipment factors, material factors, manufacturing method factors, and environmental factors; S2014, transforming the fault tree established in step S2013 to form a Bayesian network model, wherein the top event of the fault tree is transformed into the target node of the Bayesian network model, the intermediate event of the fault tree is transformed into the intermediate node of the Bayesian network model, the basic event of the fault tree is transformed into the bottom node of the Bayesian network model, and the logic gate of the fault tree is transformed into the directed edge of the Bayesian network model; dividing the target node, the intermediate node, and the bottom node, if it is time-series changing data, it is divided into a dynamic node, otherwise it is a static node; S2015. Use the operation steps of S2013-S2014 to construct the Bayesian network model corresponding to the next risk problem, and repeat steps S2013-S2015 until the Bayesian network models corresponding to all risk problems are completed.
4. The method for dynamic risk control of intelligent robot drug production according to claim 3 is characterized in that: The specific method of step S2011 is: extract the production risk management document knowledge base established by the enterprise and the production data processed by step S1, use natural language processing technology to extract information from unstructured data, and convert it into a risk management knowledge graph.
5. The method for dynamic risk control of intelligent robot drug production according to claim 2, characterized in that: The risk probability in step S202 is calculated by the following formula: ; In the above formula, The parent node set representing the probability of production data at the i-th node in the t-time domain, Indicates that production data is The parent node set of the probability at the i-th node in the time domain.
6. The method for dynamic risk control of intelligent robot drug production according to claim 2, characterized in that: S203 specifically includes the following steps: S2031. For each Bayesian network model, construct a corresponding dynamic Bayesian network model; S2032. Based on the dynamic Bayesian network model, the node probability at the risk problem corresponding to each Bayesian network model is calculated to obtain the node probability at each risk problem; S2033. Compare the node probability at the risk problem with the set value. When the node probability at the risk problem is greater than or equal to the set value, issue a risk warning signal.
7. The method for dynamic risk control of intelligent robot drug production according to claim 6, characterized in that: The dynamic Bayesian network model in step S2031 is expressed by the following formula: ; In the above formula, Indicates All nodes in the time domain, Indicates All nodes in the time domain, express based on The probability of The parent node set representing the probability of production data at the i-th node in the t-time domain, Indicates The i-th node in the time domain, express based on The probability of, N represents the total number of nodes in the Bayesian network model.
8. The method for dynamic risk control of intelligent robot drug production according to claim 7, characterized in that: The node probability at each risk problem in step S2032 is calculated by the following method: Construct the log-likelihood function model, expressed as: ; In the above formula, represents the log-likelihood function, Indicates the risk problem corresponding to nodes, express Corresponding , T represents the total number of time domains, Indicates the total number of nodes corresponding to risk issues; definition , define a binary variable is 1 or 0, when hour, Take 1, otherwise, Take 0; use the Lagrange multiplier method to find the maximum value of L and obtain the node probability at the risk problem: ; In the above formula, is the node probability, j and k are both constants.
9. The method for dynamic risk control of intelligent robot drug production according to claim 1, characterized in that: The preset rules include data collection frequency rules and setting range rules; the data collection frequency rules are: collect production data of production equipment within the set time; the setting range rules are: ensure that the collected data is within the set range; The preset algorithms include interpolation algorithm, outlier detection algorithm, and data conversion algorithm; the interpolation algorithm is: for missing data points, linear interpolation or polynomial interpolation is performed according to the values of the previous and next data points; the outlier detection algorithm is: using statistical methods to obtain outliers in the data; the data conversion algorithm is z-score standardization or min-max normalization.
10. An intelligent robot drug production dynamic risk management and control system, characterized in that: A method for dynamic risk management and control of drug production by an intelligent robot according to any one of claims 1 to 9, comprising a production data acquisition module, a risk identification module, a decision support module, a risk communication module and a risk review module; the production data acquisition module is used to collect and process production data, the risk identification module is used to build a Bayesian network model, perform risk monitoring and dynamic risk management, and issue risk warning signals, the decision support module is used to generate corresponding management measures for the risk warning signals issued by the risk identification module, the risk communication module is used to generate the management measures generated by the decision support module in a graphic form and send it to relevant personnel; the risk review module is used to evaluate the management measures sent to relevant personnel, and decide to end or restart the risk management task based on the evaluation results.
Citation Information
Patent Citations
Method for identifying production risk of drug production enterprise, and automatic early warning system
CN108122059A
Intelligent supervision black box and system for medicine production
CN113780740A
Intelligent decision-making method for construction safety risk of pumping and storage project
CN116644954A
Intelligent identification and prevention system for adverse drug reaction
CN118053541A
Drug production supervision system and method
CN118095842A
Cited By
Intelligent analysis method for bulk drug crystal form transformation risk
CN120878010A
Security risk monitoring method and system for pharmaceutical workshop, electronic equipment and medium
CN122022488A
