Pharmaceutical and chemical equipment control method and compensation system

By calculating sensor response and controlling error index and controlling the working status of drug filling and packaging equipment, the accuracy and efficiency of drug filling and packaging caused by sensor inaccuracy are solved, and the operation accuracy and efficiency of the equipment are improved.

CN118915548AInactive Publication Date: 2024-11-08山东龙立恒医药有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411015957.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-26
Publication Date
2024-11-08
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

During the filling and packaging of drugs, the working status of the sensor may be affected, resulting in inaccurate process parameters and status information collected, which in turn affects the accuracy and efficiency of the filling and packaging of drugs.

Method used

By obtaining sensor response time data and transmission data within the target time interval, calculating the response error index and control error index, obtaining the control system error coefficient and compensation system unreliability coefficient, and controlling drug filling and packaging based on these indexes. The working status of the equipment ensures the accurate operation of the equipment.

Benefits of technology

It improves the accuracy and efficiency of drug filling and packaging, reduces misjudgment and errors, ensures that each packaging meets quality standards, and reduces production costs and time costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118915548A_ABST
    Figure CN118915548A_ABST
Patent Text Reader

Abstract

The invention discloses a pharmaceutical and chemical equipment control method and a compensation system, and relates to the technical field of pharmaceutical and chemical equipment, and the method comprises the steps: obtaining a response error index of a sensor contained in equipment corresponding to medicine filling and packaging in a target time interval and a control error index of a control system, and obtaining a control system error coefficient; the control system error coefficient is compared with a preset control system error coefficient threshold value, and the working state of equipment corresponding to medicine filling and packaging is controlled according to the comparison result. Obtaining a response error index of a sensor contained in equipment corresponding to medicine filling and packaging in the target time interval and a compensation error index of a compensation system, obtaining a compensation error index coefficient of the compensation system, and comparing the compensation error index with a preset compensation error index threshold value; and the working state of equipment corresponding to medicine filling and packaging can be compensated according to the comparison result, so that the accuracy and efficiency of medicine filling and packaging can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of pharmaceutical and chemical equipment, and in particular to a pharmaceutical and chemical equipment control method and compensation system. Background Art

[0002] The filling and packaging of drugs is a key link in the production of pharmaceutical chemicals, which directly affects the accuracy of drug dosage and the integrity of packaging. High-precision filling technology ensures that the dosage of each bottle of drugs meets the standard and guarantees its efficacy and safety. Advanced metering and control systems can accurately control the volume of liquid medicine to avoid waste and side effects. Efficient packaging systems ensure that drugs enter the market quickly and accurately. Automated packaging equipment improves production efficiency, reduces manual errors and contamination risks, and high-precision and high-efficiency filling and packaging technology ensures the quality and safety of drugs, providing patients with safer and more effective drug treatment.

[0003] In the existing process of drug filling and packaging, relevant process parameters and status information are basically collected through sensors. This information is transmitted to the control system and compensation system for processing and analysis. When problems occur in drug filling and packaging, the control system controls the corresponding equipment for drug filling and packaging to stop or start work in time. At the same time, the compensation system adjusts the operating speed and time of the corresponding equipment in time according to the actual situation to ensure that each package meets the quality standards.

[0004] However, in the actual process of drug filling and packaging, the working state of the sensor may be affected, resulting in the collected process parameters and status information about the drug being inaccurate. The control system and compensation system make decisions and adjustments based on inaccurate process parameters and status information, which may lead to reduced accuracy and efficiency in drug filling and packaging. Summary of the invention

[0005] The purpose of the present invention is to solve the problem and to propose a pharmaceutical and chemical equipment control method and compensation system.

[0006] In the first aspect of the present invention, a pharmaceutical and chemical equipment control method is first proposed, the method comprising:

[0007] Obtain the time period from the start of operation of the equipment corresponding to drug filling and packaging to the current time, and use it as the target time interval, and obtain the response time data of the sensor included in the equipment corresponding to drug filling and packaging within the target time interval, and obtain the response error index of the sensor according to the response time data;

[0008] Acquire data information transmitted to the control system by sensors included in the equipment corresponding to drug filling and packaging within the target time interval, and obtain a control error index of the sensor according to the data information transmitted to the control system by the sensor;

[0009] The control system error coefficient is obtained according to the response error index and the control error index of the sensor within the target time interval;

[0010] The control system error coefficient is compared with the preset control system error coefficient threshold, and the working state of the equipment corresponding to the drug filling and packaging is controlled according to the comparison result.

[0011] Optionally, the method for obtaining the response error index of the sensor is:

[0012] Obtain each response time of the sensors contained in the equipment corresponding to the drug filling and packaging at different times within the target time interval, and arrange them in the order of the acquisition time to obtain a response time sequence;

[0013] Calculate the difference between each two adjacent data in the response time series to obtain the response interval time series;

[0014] Label the data in the response interval time series as E 间 k , k represents the order number of the data in the response interval time series, k = 1, 2, 3, 4, ..., l, l is a positive integer;

[0015] According to E 间 k and the preset response time E 预 k The response time delay index PL is obtained, and the calculation formula is:

[0016] Calculate E in the response interval time series 间 k The standard deviation of is used as the response time instability index GF, and the calculation formula is:

[0017]

[0018] in, E is the response interval time series 间 k The average value of is obtained as:

[0019] The response error index of the sensor is calculated using the formula: Bas=a1×PL+a2×GF; wherein Bas is the response error index of the sensor, and a1 and a2 represent preset weight coefficients of the response time delay index and the response time instability index.

[0020] Optionally, the control error index acquisition method is:

[0021] Obtain the actual number of data transmitted from the sensors contained in the equipment corresponding to the drug filling and packaging at different times within the target time interval to the control system, and mark the actual number of data uploads and the corresponding preset number of data uploads as M respectively. 实 z and M 预 z , z represents the number of actual data uploads at different times and the corresponding preset data upload numbers, z=1, 2, 3, 4, ..., A, a is a positive integer;

[0022] According to M 实 z and M 预 z The first data transmission missing index DF is obtained, and the calculation formula is:

[0023] Obtain the actual upload time of the data transmitted from the sensors contained in the equipment corresponding to the drug filling and packaging at different times within the target time interval to the control system, and mark it as D 实 q , q represents the number of the time when the data transmitted by the sensor to the control system is actually uploaded, q = 1, 2, 3, 4, ..., d, d is a positive integer;

[0024] D 实 q Within the preset data upload time range (T 快 , T 慢 ) are re-marked as R s , s represents the actual upload time D 实 q Within the preset data upload time range (T 快 , T 慢 ) is numbered as follows, s=1, 2, 3, 4, ..., f, where f is a positive integer; calculating a first data transmission delay index Gxc, the calculation formula is: Gxc=ln(f / d+1);

[0025] The control error index is calculated using the following formula: Tbx=b1×QS+b2×Gxc; wherein Tbx is the control error index, and a1 and a2 represent preset weight coefficients of the first data transmission missing index and the first data transmission time error index.

[0026] Optionally, obtaining a control system error coefficient according to a response error index and a control error index of a sensor within a target time interval includes:

[0027] The response error index and control error index of the sensor within the target time interval are weighted and summed to obtain the control system error coefficient:

[0028] Ht=α×Bas+β×Tbx

[0029] Where Ht is the control system error coefficient, Bas and Tbx are the response error index and control error index of the sensor, respectively, α and β are the preset proportional coefficients of the response error index and control error index of the sensor, respectively, and both α and β are greater than 0.

[0030] Optionally, comparing the control system error coefficient with a preset control system error coefficient threshold, and controlling the working state of the equipment corresponding to the drug filling and packaging according to the comparison result includes:

[0031] When the control system error coefficient is not less than the preset control system error coefficient reference threshold, the control system immediately controls the corresponding equipment for drug filling and packaging to stop working and sends out a first alarm signal;

[0032] When the control system error coefficient is less than a preset control system error coefficient reference threshold, the control system controls the equipment corresponding to the drug filling and packaging according to the collected relevant process parameters and status information about the drug.

[0033] In a second aspect of the present invention, a pharmaceutical and chemical equipment compensation system is provided, which also includes a compensation error module, an unreliable compensation module and a judgment module, and each module is connected by a signal, wherein:

[0034] Compensation error module: obtains data information transmitted to the compensation system by sensors contained in the equipment corresponding to drug filling and packaging within the target time interval, and obtains the compensation error index of the sensor according to the data information transmitted to the compensation system by the sensor;

[0035] Compensation unreliability module: obtains the compensation system unreliability coefficient according to the response error index and compensation error index of the sensor within the target time interval;

[0036] Judgment module: compare the unreliability coefficient of the compensation system with the preset unreliability coefficient threshold of the compensation system, and determine whether the compensation system can compensate for the working status of the equipment corresponding to the drug filling and packaging based on the comparison result.

[0037] Optionally, the error compensation module includes:

[0038] Obtain the actual number of data transmitted from the sensors contained in the equipment corresponding to the drug filling and packaging at different times within the target time interval to the compensation system, and mark the actual number of data uploaded and the corresponding preset number of data uploaded as L respectively. 实 r and L 预 r , r represents the number of actual data uploads at different times and the corresponding preset data upload numbers, r = 1, 2, 3, 4, ..., Q, Q is a positive integer;

[0039] According to L 实 r and L 预 r The second data transmission missing index YH is obtained, and the calculation formula is:

[0040] Obtain the actual upload time from the sensor contained in the equipment corresponding to the drug filling and packaging at different times within the target time interval to the compensation system, and mark it as C 实 j , j represents the number of the time when the data transmitted by the sensor to the compensation system is actually uploaded, j=1, 2, 3, 4, ..., I, I is a positive integer;

[0041] C 实 j Within the preset data upload time range (V 快 , V 慢 ) are re-marked as V e , e represents the actual upload time C 实 j Within the preset data upload time range (V 快 , V 慢 ), e=1, 2, 3, 4, ..., i, i is a positive integer; calculate the second data transmission delay index Wds, the calculation formula is: Wds=i / I;

[0042] The compensation error index is calculated using the following formula: Egf=F1×YH+F2×Wds; wherein Egf is the compensation error index, and F1 and F2 represent preset weight coefficients of the second data transmission missing index and the second data transmission time error index.

[0043] Optionally, the unreliable compensation module includes:

[0044] The compensation system unreliability coefficient obtained according to the response error index and compensation error index of the sensor within the target time interval includes:

[0045] The response error index and compensation error index of the sensor within the target time interval are weighted and summed to obtain the compensation system unreliability coefficient, which includes:

[0046]

[0047] Where HW is the unreliability coefficient of the compensation system, Bas and Egf are the response error index and compensation error index of the sensor, respectively, γ and δ are the preset proportional coefficients of the response error index and compensation error index of the sensor, respectively, and both γ and δ are greater than 0.

[0048] Optionally, the judging module includes:

[0049] Comparing the unreliability coefficient of the compensation system with a preset unreliability coefficient threshold of the compensation system, and determining whether the compensation system can compensate for the working state of the equipment corresponding to the drug filling and packaging according to the comparison result;

[0050] When the unreliability coefficient of the compensation system is not less than the preset reference threshold value of the unreliability coefficient of the compensation system, a second alarm signal is issued, and the working state of the equipment corresponding to the drug filling and packaging is not compensated;

[0051] When the compensation system unreliability coefficient is less than a preset compensation system unreliability coefficient reference threshold, the compensation system compensates the equipment corresponding to the drug filling and packaging according to the collected relevant process parameters and status information about the drug.

[0052] Beneficial effects of the present invention:

[0053] The present invention proposes a pharmaceutical and chemical equipment control method and compensation system. The control system error coefficient is obtained by obtaining the response error index of the sensor contained in the equipment corresponding to the drug filling and packaging within the target time interval and the control error index of the control system. The control system error coefficient is compared with a preset control system error coefficient threshold. The working state of the equipment corresponding to the drug filling and packaging is controlled according to the comparison result. The compensation error index coefficient of the compensation system is obtained by obtaining the response error index of the sensor contained in the equipment corresponding to the drug filling and packaging within the target time interval and the compensation error index of the compensation system. The compensation error index is compared with the preset compensation error index threshold. According to the comparison result, the working state of the equipment corresponding to the drug filling and packaging can be compensated. In this way, the accuracy and efficiency of the drug filling and packaging can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] The present invention will be further described below in conjunction with the accompanying drawings.

[0055] Figure 1 This is a flow chart of a pharmaceutical and chemical equipment control method proposed by the present invention;

[0056] Figure 2 This is a framework diagram of a pharmaceutical and chemical equipment compensation system proposed by the present invention. DETAILED DESCRIPTION

[0057] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0058] Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in the field without making any creative work shall fall within the scope of protection of the present invention.

[0059] The embodiment of the present invention provides a control method for pharmaceutical and chemical equipment. Figure 1 , Figure 1 A flowchart of a pharmaceutical and chemical equipment control method provided by an embodiment of the present invention. The method comprises the following steps:

[0060] Obtain the time period from the start of operation of the equipment corresponding to drug filling and packaging to the current time, and use it as the target time interval, and obtain the response time data of the sensor included in the equipment corresponding to drug filling and packaging within the target time interval, and obtain the response error index of the sensor according to the response time data;

[0061] Acquire data information transmitted to the control system by sensors included in the equipment corresponding to drug filling and packaging within the target time interval, and obtain a control error index of the sensor according to the data information transmitted to the control system by the sensor;

[0062] The control system error coefficient is obtained according to the response error index and the control error index of the sensor within the target time interval;

[0063] The control system error coefficient is compared with the preset control system error coefficient threshold, and the working state of the equipment corresponding to the drug filling and packaging is controlled according to the comparison result.

[0064] In one embodiment, a method for obtaining a response error index of a sensor is as follows:

[0065] Obtain each response time of the sensors contained in the equipment corresponding to the drug filling and packaging at different times within the target time interval, and arrange them in the order of the acquisition time to obtain a response time sequence;

[0066] Calculate the difference between each two adjacent data in the response time series to obtain the response interval time series;

[0067] Label the data in the response interval time series as E 间 k , k represents the order number of the data in the response interval time series, k = 1, 2, 3, 4, ..., l, l is a positive integer;

[0068] According to E 间 k and the preset response time E 预 k The response time delay index PL is obtained, and the calculation formula is:

[0069] Calculate E in the response interval time series 间 k The standard deviation of is used as the response time instability index GF, and the calculation formula is:

[0070]

[0071] in, E is the response interval time series 间 k The average value of is obtained as:

[0072] The response error index of the sensor is calculated using the formula: Bas=a1×PL+a2×GF; wherein Bas is the response error index of the sensor, and a1 and a2 represent preset weight coefficients of the response time delay index and the response time instability index.

[0073] It should be noted that the response time of each sensor included in the equipment corresponding to the drug filling and packaging at different times within the target time interval can be obtained in real time according to the monitoring system in the control system, or in other ways, which are not specifically limited.

[0074] It should be noted that the sensor response error index refers to the degree of sensor response time delay and the degree of response time instability. If the sensor response time delay is greater and the response time instability is greater, it means that the relevant process parameters and status information about the drug collected by the sensor may not be accurate. The control system makes decisions and adjustments based on inaccurate process parameters and status information, which may lead to reduced accuracy and efficiency of drug filling and packaging. The reasons are:

[0075] Misjudgment and error amplification: Due to delayed or unstable sensor data, the control system may misjudge the current process status, resulting in inappropriate adjustments, which in turn affects the accuracy and quality of drug filling and packaging.

[0076] Slow response: Sensors with large response time delays cause the control system to be unable to adjust the equipment operating status in a timely manner, which may cause over- or under-filling during the filling or packaging process, affecting production efficiency and product quality.

[0077] Fluctuations and inconsistencies: Due to unstable sensor data, the production process may experience frequent fluctuations, making the drug quality and process parameters of each production batch inconsistent and difficult to meet quality standard requirements.

[0078] Reduced efficiency: Inaccurate sensor data will affect the operating efficiency of the entire production line, which may lead to frequent equipment downtime, adjustments and maintenance, increasing production costs and time costs.

[0079] Therefore, when the response error index of the sensor is larger, it means that the collected process parameters and status information related to the drug may not be accurate, and the control system cannot make control according to the collected data.

[0080] In one embodiment, the control error index acquisition method is:

[0081] Obtain the actual number of data transmitted from the sensors contained in the equipment corresponding to the drug filling and packaging at different times within the target time interval to the control system, and mark the actual number of data uploads and the corresponding preset number of data uploads as M respectively. 实 z and M 预 z , z represents the number of actual data uploads at different times and the corresponding preset data upload numbers, z=1, 2, 3, 4, ..., A, A is a positive integer;

[0082] According to M 实 z and M 预 z The first data transmission missing index DF is obtained, and the calculation formula is:

[0083] Obtain the actual upload time of the data transmitted from the sensors contained in the equipment corresponding to the drug filling and packaging at different times within the target time interval to the control system, and mark it as D 实 q , q represents the number of the time when the data transmitted by the sensor to the control system is actually uploaded, q = 1, 2, 3, 4, ..., d, d is a positive integer;

[0084] D 实 q Within the preset data upload time range (T 快 , T 慢 ) are re-marked as R s , s represents the actual upload time D 实 q Within the preset data upload time range (T 快 , T 慢 ) is numbered as follows, s=1, 2, 3, 4, ..., f, where f is a positive integer; calculating a first data transmission delay index Gxc, the calculation formula is: Gxc=ln(f / d+1);

[0085] The control error index is calculated using the following formula: Tbx=b1×QS+b2×Gxc; wherein Tbx is the control error index, and a1 and a2 represent preset weight coefficients of the first data transmission missing index and the first data transmission time error index.

[0086] It should be noted that the actual number of data transmitted from the sensors contained in the equipment corresponding to the drug filling and packaging at different times within the target time interval to the control system and the actual data upload time can be obtained in real time according to the monitoring system in the system. In addition, the corresponding preset number of data uploads and the preset data upload time range are determined by professionals based on the actual situation and are not specifically limited.

[0087] It should be noted that the control error index refers to the degree of missing data actually uploaded from the sensors in the equipment corresponding to drug filling and packaging to the control system and the degree of error in the time of data upload. If the degree of missing data actually uploaded and the degree of error in the time of data upload are greater, it means that the control system makes decisions and adjustments based on inaccurate process parameters and status information, which may lead to reduced accuracy and efficiency of drug filling and packaging. The reasons are:

[0088] Misleading decisions: Control systems make decisions and adjustments based on incomplete or delayed data, which may lead to misjudgment of the current production status and inappropriate operations and adjustments.

[0089] Unstable production process: Missing data or time errors may cause the control system to be unable to grasp the true situation of process parameters in real time, resulting in frequent fluctuations and inconsistencies in the production process.

[0090] Quality control issues: Inaccurate process parameters and status information may affect the filling volume, packaging integrity and labeling accuracy of the drug, thereby affecting the quality and compliance of the product.

[0091] Reduced production efficiency: The control system is unable to accurately adjust the operating status of the equipment, which may lead to reduced efficiency of the production line, including reduced output and extended production cycle.

[0092] Therefore, when the control error index is larger, it means that the control system cannot make decisions and adjustments based on the collected process parameters and status information, which may lead to reduced accuracy and efficiency of drug filling and packaging.

[0093] In one embodiment, obtaining the control system error coefficient according to the response error index and the control error index of the sensor within the target time interval includes:

[0094] The response error index and control error index of the sensor within the target time interval are weighted and summed to obtain the control system error coefficient:

[0095] Ht=α×Bas+β×Tbx

[0096] Where Ht is the control system error coefficient, Bas and Tbx are the response error index and control error index of the sensor, respectively, α and β are the preset proportional coefficients of the response error index and control error index of the sensor, respectively, and both α and β are greater than 0.

[0097] In one embodiment, comparing the control system error coefficient with a preset control system error coefficient threshold, and controlling the working state of the equipment corresponding to the drug filling and packaging according to the comparison result includes:

[0098] When the control system error coefficient is not less than the preset control system error coefficient reference threshold, it means that the control system cannot accurately control the equipment. At this time, the control system immediately controls the corresponding equipment for drug filling and packaging to stop working and sends out the first alarm signal;

[0099] When the control system error coefficient is less than the preset control system error coefficient reference threshold, it means that the control system can accurately control the equipment. At this time, the control system controls the equipment corresponding to the drug filling and packaging according to the collected relevant process parameters and status information about the drugs.

[0100] In one implementation, the above-mentioned preset control system error coefficient reference threshold is set by professionals according to actual conditions, and the details are not repeated here.

[0101] In one implementation, through the above method, when the control system error coefficient is not less than the preset control system error coefficient reference threshold, the control system immediately controls the equipment corresponding to the drug filling and packaging to stop working, and issues a first alarm to remind employees that the control system cannot accurately control the equipment corresponding to the drug filling and packaging, and needs timely maintenance to ensure that the accuracy and efficiency of the drug filling and packaging are reduced.

[0102] The embodiment of the present invention also provides a pharmaceutical and chemical equipment compensation system. Figure 2 , Figure 1 The framework diagram of a pharmaceutical and chemical equipment compensation system provided by an embodiment of the present invention. The system includes an error compensation module, an unreliable compensation module and a judgment module, and each module is connected by signals, wherein:

[0103] Compensation error module: obtains data information transmitted to the compensation system by sensors contained in the equipment corresponding to drug filling and packaging within the target time interval, and obtains the compensation error index of the sensor according to the data information transmitted to the compensation system by the sensor;

[0104] Compensation unreliability module: obtains the compensation system unreliability coefficient according to the response error index and compensation error index of the sensor within the target time interval;

[0105] Judgment module: compare the unreliability coefficient of the compensation system with the preset unreliability coefficient threshold of the compensation system, and determine whether the compensation system can compensate for the working status of the equipment corresponding to the drug filling and packaging based on the comparison result.

[0106] In one embodiment, the error compensation module includes:

[0107] Obtain the actual number of data transmitted from the sensors contained in the equipment corresponding to the drug filling and packaging at different times within the target time interval to the compensation system, and mark the actual number of data uploaded and the corresponding preset number of data uploaded as L respectively. 实 r and L 预 r , r represents the number of actual data uploads at different times and the corresponding preset data upload numbers, r = 1, 2, 3, 4, ..., Q, Q is a positive integer;

[0108] According to L 实 r and L 预 r The second data transmission missing index YH is obtained, and the calculation formula is:

[0109] Obtain the actual upload time from the sensor contained in the equipment corresponding to the drug filling and packaging at different times within the target time interval to the compensation system, and mark it as C 实 j , j represents the number of the time when the data transmitted by the sensor to the compensation system is actually uploaded, j=1, 2, 3, 4, ..., I, I is a positive integer;

[0110] C 实 j Within the preset data upload time range (V 快 , V 慢 ) are re-marked as V e , e represents the actual upload time C 实 j Within the preset data upload time range (V 快 , V 慢 ), e=1, 2, 3, 4, ..., i, i is a positive integer; calculate the second data transmission delay index Wds, the calculation formula is: Wds=i / I;

[0111] The compensation error index is calculated using the following formula: Egf=F1×YH+F2×Wds; wherein Egf is the compensation error index, and F1 and F2 represent preset weight coefficients of the second data transmission missing index and the second data transmission time error index.

[0112] It should be noted that the actual number of data transmitted to the compensation system by the sensors contained in the equipment corresponding to the drug filling and packaging at different times within the target time interval and the actual data upload time can be obtained in real time according to the monitoring system in the system. In addition, the corresponding preset number of data uploads and the preset data upload time range are determined by professionals based on the actual situation and are not specifically limited.

[0113] It should be noted that the compensation error index refers to the degree of missing data actually uploaded by the sensors contained in the equipment corresponding to drug filling and packaging and the degree of error in the time of data upload. If the degree of missing data actually uploaded and the degree of error in the time of data upload are greater, it means that the compensation system cannot make decisions and adjustments based on the process parameters and status information of the equipment, and cannot compensate for the working status of the equipment corresponding to drug filling and packaging. The reasons are:

[0114] Limited compensation capability: The compensation system cannot accurately obtain the real-time process parameters and status information of the equipment, and therefore cannot effectively and accurately compensate for the working status of the drug filling and packaging equipment.

[0115] Difficulty in adjusting process parameters: Missing or delayed data will affect the compensation system's ability to adjust the equipment's operating parameters in real time, which may cause the equipment to be unable to operate according to the expected process parameters, affecting the quality and stability of the product.

[0116] Production consistency issues: Since the compensation system cannot effectively compensate for the working status of the equipment, the consistency of the product during the production process may be reduced, resulting in quality differences between batches.

[0117] Degraded system performance: If the compensation system fails to respond and adjust in a timely manner, it may lead to reduced efficiency of the production line and additional wear and tear on equipment, increasing maintenance costs and production costs.

[0118] Difficulties in quality control: Due to the lack of accurate process parameters and status information, it is difficult for the compensation system to effectively monitor and adjust key quality control points in the drug filling and packaging process, affecting the quality stability of the product.

[0119] Therefore, the larger the compensation error index is, the more it means that the compensation system cannot make decisions and adjustments based on the process parameters and status information of the equipment, and cannot compensate for the working status of the equipment corresponding to the drug filling and packaging.

[0120] In one embodiment, the unreliable compensation module includes:

[0121] The compensation system unreliability coefficient obtained according to the response error index and compensation error index of the sensor within the target time interval includes:

[0122] The response error index and compensation error index of the sensor within the target time interval are weighted and summed to obtain the compensation system unreliability coefficient, which includes:

[0123]

[0124] Where HW is the unreliability coefficient of the compensation system, Bas and Egf are the response error index and compensation error index of the sensor, respectively, γ and δ are the preset proportional coefficients of the response error index and compensation error index of the sensor, respectively, and both γ and δ are greater than 0.

[0125] In one embodiment, the determination module includes:

[0126] Comparing the unreliability coefficient of the compensation system with a preset unreliability coefficient threshold of the compensation system, and determining whether the compensation system can compensate for the working state of the equipment corresponding to the drug filling and packaging according to the comparison result;

[0127] When the unreliability coefficient of the compensation system is not less than the preset reference threshold value of the unreliability coefficient of the compensation system, it means that the compensation system cannot compensate for the working state of the equipment corresponding to the drug filling and packaging, and a second alarm signal is issued at this time;

[0128] When the compensation system unreliability coefficient is less than the preset compensation system unreliability coefficient reference threshold, it means that the compensation system can compensate for the working status of the equipment corresponding to the drug filling and packaging. At this time, the compensation system compensates the equipment corresponding to the drug filling and packaging according to the collected relevant process parameters and status information about the drugs.

[0129] In one implementation, through the above method, when the compensation system unreliability coefficient is not less than the preset compensation system unreliability coefficient reference threshold, it means that the compensation system cannot compensate for the working status of the equipment corresponding to the drug filling and packaging, and a second alarm is issued to remind employees that the compensation system cannot compensate for the working status of the equipment corresponding to the drug filling and packaging, and timely maintenance is required to ensure the accuracy and efficiency of drug filling and packaging.

[0130] The above is a detailed description of an embodiment of the present invention, but the content is only a preferred embodiment of the present invention and cannot be considered to limit the scope of implementation of the present invention. All equivalent changes and improvements made within the scope of the present invention should still fall within the scope of the patent coverage of the present invention.

Claims

1. A pharmaceutical and chemical equipment control method, characterized in that: The following steps are involved: Obtain the time period from the start of operation of the equipment corresponding to drug filling and packaging to the current time, and use it as the target time interval, and obtain the response time data of the sensor included in the equipment corresponding to drug filling and packaging within the target time interval, and obtain the response error index of the sensor according to the response time data; Acquire data information transmitted to the control system by sensors included in the equipment corresponding to drug filling and packaging within the target time interval, and obtain a control error index of the sensor according to the data information transmitted to the control system by the sensor; The control system error coefficient is obtained according to the response error index and the control error index of the sensor within the target time interval; The control system error coefficient is compared with the preset control system error coefficient threshold, and the working state of the equipment corresponding to the drug filling and packaging is controlled according to the comparison result.

2. A pharmaceutical and chemical equipment control method according to claim 1, characterized in that: The method for obtaining the sensor's response error index is: Obtain each response time of the sensors contained in the equipment corresponding to the drug filling and packaging at different times within the target time interval, and arrange them in the order of the acquisition time to obtain a response time sequence; Calculate the difference between each two adjacent data in the response time series to obtain the response interval time series; Label the data in the response interval time series as E 间 k , k represents the order number of the data in the response interval time series, k = 1, 2, 3, 4, ..., l, l is a positive integer; According to E 间 k and the preset response time E 预 k The response time delay index PL is obtained, and the calculation formula is: Calculate E in the response interval time series 间 k The standard deviation of is used as the response time instability index GF, and the calculation formula is: in, E is the response interval time series 间 k The average value of is obtained as: The response error index of the sensor is calculated using the formula: Bas=a1×PL+a2×GF; wherein Bas is the response error index of the sensor, and a1 and a2 represent preset weight coefficients of the response time delay index and the response time instability index.

3. A pharmaceutical and chemical equipment control method according to claim 1, characterized in that: The control error index is obtained as follows: Obtain the actual number of data transmitted from the sensors contained in the equipment corresponding to the drug filling and packaging at different times within the target time interval to the control system, and mark the actual number of data uploads and the corresponding preset number of data uploads as M respectively. 实 z and M 预 z, z represents the number of actual data uploads at different times and the corresponding preset data upload numbers, z=1, 2, 3, 4, ..., A, A is a positive integer; According to M 实 z and M 预 z The first data transmission missing index DF is obtained, and the calculation formula is: Obtain the actual upload time of data transmitted from the sensors contained in the equipment corresponding to the drug filling and packaging at different times within the target time interval to the control system, and mark it as D 实 q , q represents the number of the time when the data transmitted by the sensor to the control system is actually uploaded, q = 1, 2, 3, 4, ..., d, d is a positive integer; D 实 q Within the preset data upload time range (T 快 , T 慢 ) are re-marked as R s , s represents the actual upload time D 实 q Within the preset data upload time range (T 快 , T 慢 ) is numbered as follows, s=1, 2, 3, 4, ..., f, where f is a positive integer; calculating a first data transmission delay index Gxc, the calculation formula is: Gxc=ln(f / d+1); The control error index is calculated using the following formula: Tbx=b1×QS+b2×Gxc; wherein Tbx is the control error index, and a1 and a2 represent preset weight coefficients of the first data transmission missing index and the first data transmission time error index.

4. A pharmaceutical and chemical equipment control method according to claim 1, characterized in that: The control system error coefficient obtained according to the sensor response error index and control error index within the target time interval includes: The response error index and control error index of the sensor within the target time interval are weighted and summed to obtain the control system error coefficient: Ht=α×Bas+β×Tbx Where Ht is the control system error coefficient, Bas and Tbx are the response error index and control error index of the sensor, respectively, α and β are the preset proportional coefficients of the response error index and control error index of the sensor, respectively, and both α and β are greater than 0.

5. A pharmaceutical and chemical equipment control method according to claim 1, characterized in that: Comparing the control system error coefficient with the preset control system error coefficient threshold, and controlling the working state of the equipment corresponding to the drug filling and packaging according to the comparison result includes: When the control system error coefficient is not less than the preset control system error coefficient reference threshold, the control system immediately controls the corresponding equipment for drug filling and packaging to stop working and sends out a first alarm signal; When the control system error coefficient is less than a preset control system error coefficient reference threshold, the control system controls the equipment corresponding to the drug filling and packaging according to the collected relevant process parameters and status information about the drug.

6. A pharmaceutical and chemical equipment compensation system, implemented according to a pharmaceutical and chemical equipment control method according to claims 1-2, characterized in that: It also includes an error compensation module, an unreliable compensation module and a judgment module, and each module is connected through signals, wherein: Compensation error module: obtains data information transmitted to the compensation system by sensors contained in the equipment corresponding to drug filling and packaging within the target time interval, and obtains the compensation error index of the sensor according to the data information transmitted to the compensation system by the sensor; Compensation unreliability module: obtains the compensation system unreliability coefficient according to the response error index and compensation error index of the sensor within the target time interval; Judgment module: compare the unreliability coefficient of the compensation system with the preset unreliability coefficient threshold of the compensation system, and determine whether the compensation system can compensate for the working status of the equipment corresponding to the drug filling and packaging based on the comparison result.

7. A pharmaceutical and chemical equipment compensation system according to claim 6, characterized in that: The error compensation module includes: Obtain the actual number of data transmitted from the sensors contained in the equipment corresponding to the drug filling and packaging at different times within the target time interval to the compensation system, and mark the actual number of data uploaded and the corresponding preset number of data uploaded as L respectively. 实 r and L 预 r, r represents the number of actual data uploads at different times and the corresponding preset data upload numbers, r = 1, 2, 3, 4, ..., Q, Q is a positive integer; According to L 实 r and L 预 r The second data transmission missing index YH is obtained, and the calculation formula is: Obtain the actual upload time from the sensor contained in the equipment corresponding to the drug filling and packaging at different times within the target time interval to the compensation system, and mark it as C 实 j, j represents the number of the time when the data transmitted by the sensor to the compensation system is actually uploaded, j=1, 2, 3, 4, ..., I, I is a positive integer; C 实 j Within the preset data upload time range (V 快 , V 慢 ) are re-marked as V e , e represents the actual upload time C 实 j Within the preset data upload time range (V 快 , V 慢 ), e=1, 2, 3, 4, ..., i, i is a positive integer; calculate the second data transmission delay index Wds, the calculation formula is: Wds=l / I; The compensation error index is calculated using the following formula: Egf=F1×YH+F2×Wds; wherein Egf is the compensation error index, and F1 and F2 represent preset weight coefficients of the second data transmission missing index and the second data transmission time error index.

8. A pharmaceutical and chemical equipment compensation system according to claim 6, characterized in that: The unreliable compensation module includes: The compensation system unreliability coefficient obtained according to the response error index and compensation error index of the sensor within the target time interval includes: The response error index and compensation error index of the sensor within the target time interval are weighted and summed to obtain the compensation system unreliability coefficient, which includes: Where HW is the unreliability coefficient of the compensation system, Bas and Egf are the response error index and compensation error index of the sensor, γ and δ are the preset proportional coefficients of the response error index and compensation error index of the sensor, and both γ and δ are greater than 0.

9. A pharmaceutical and chemical equipment compensation system according to claim 6, characterized in that: The judgment module includes: Comparing the unreliability coefficient of the compensation system with a preset unreliability coefficient threshold of the compensation system, and determining whether the compensation system can compensate for the working state of the equipment corresponding to the drug filling and packaging according to the comparison result; When the unreliability coefficient of the compensation system is not less than the preset reference threshold value of the unreliability coefficient of the compensation system, a second alarm signal is issued, and the working state of the equipment corresponding to the drug filling and packaging is not compensated; When the compensation system unreliability coefficient is less than a preset compensation system unreliability coefficient reference threshold, the compensation system compensates the equipment corresponding to the drug filling and packaging according to the collected relevant process parameters and status information about the drug.