Control method, system and equipment for preparation of liquid preparation and storage medium
By using liquid level sensors and image acquisition equipment for real-time monitoring and adjustment during the preparation of liquid preparations, combined with an automated control system, the problems of low efficiency and contamination risks of traditional manual operations are solved, and efficient and quality-reliable small-batch preparation production is achieved.
Patent Information
- Application Number
- CN202510826405.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-19
- Publication Date
- 2025-09-09
AI Technical Summary
In the laboratory-scale preparation of liquid preparations, traditional manual operation methods are inefficient and easily lead to transfer contamination of intermediate products, affecting product quality. In addition, the existing online system cannot meet the needs of small-batch production.
A control method for the preparation of a liquid preparation is provided, which includes the steps of preparation, filtration and filling. Liquid level sensors and image acquisition equipment are used to monitor and adjust stirring parameters in real time to ensure the uniformity and stability of the material state. The automated control system is used to achieve close connection between the steps.
It improves the production efficiency and quality of preparations, reduces manual intervention and contamination risks, and realizes efficient automated control of small-batch production.
Smart Images

Figure CN120605650A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of laboratory preparation, and in particular to a control method, system, equipment and storage medium for the preparation of a liquid preparation. Background Art
[0002] In the pharmaceutical industry, the traditional preparation process for laboratory-scale liquid dosage forms includes multiple steps, including weighing, blending, filtration, and filling. These steps are typically performed manually in a laboratory setting. Due to the small batch sizes of 100ml, 1L, or 10L, this method is relatively inefficient and time-consuming. Furthermore, the transfer of intermediate products during manual operations can cause secondary contamination, impacting the quality of the final product.
[0003] With the continuous advancement of pharmaceutical technology, higher requirements are being placed on the efficiency and quality control of liquid dosage form preparation processes. Although online systems for pilot or commercial production have improved production efficiency to a certain extent, these systems are generally unable to adapt to the needs of small-batch production at the laboratory scale.
[0004] Therefore, developing a method and system for online preparation and filling that can reduce manual operations, improve work efficiency, and is suitable for laboratory scale has become an urgent problem to be solved in this field. Summary of the Invention
[0005] The present application provides a control method, system, equipment and storage medium for the preparation of liquid preparations, which effectively solves the gap in small-scale online preparation, filtration and filling systems used in laboratories, optimizes the preparation process, reduces manual operations, improves production efficiency and realizes intelligent management.
[0006] In a first aspect of the present application, a control method for liquid preparation is provided, characterized in that it is applied to a liquid preparation platform, wherein the liquid preparation platform includes a preparation unit, a filtering device, and a filling unit, wherein the preparation unit includes a preparation tank, the filtering device includes a filter element, and the filling unit includes a metering tank, and the method includes: Add water for injection and excipients into the preparation tank according to the prescription table; Acquiring the liquid level in the preparation tank by acquiring data from a liquid level sensor installed on the preparation tank, and adjusting the position of the stirring paddle in the preparation tank according to the liquid level; Acquire a material state image during the mixing process, and determine the current material state based on the material state image, wherein the current material state includes the mixing uniformity of the material, the viscosity change of the material, the generation and dissipation of bubbles, and whether the material agglomerates or delaminates; Determining a first adjustment parameter for the stirring speed and a second adjustment parameter for the stirring time according to the current material state; The current stirring speed is adjusted according to the first adjustment parameter, and the current stirring time is adjusted according to the second adjustment parameter, so as to obtain the first preparation through stirring.
[0007] By adopting the above technical solution, a liquid level sensor installed on the mixing tank obtains real-time information on the liquid level in the mixing tank. This step ensures accurate liquid level measurement during the mixing process and avoids overflow or underflow caused by excessively high or low liquid levels. The position of the agitator is adjusted based on the liquid level, ensuring it is always within the optimal mixing zone. This adaptive adjustment not only improves mixing efficiency but also reduces energy loss and material waste during the mixing process. An image acquisition device captures images of the material state during the mixing process, providing data support for subsequent material state analysis. Using image recognition technology, these images are analyzed to determine the current mixing uniformity, viscosity changes, bubble generation and dissipation, and whether agglomeration or stratification is present. This step enables real-time monitoring and feedback of the mixing process. Based on the current material state, the first adjustment parameter for the stirring speed and the second adjustment parameter for the stirring time are intelligently determined. This step ensures that the stirring parameters can be dynamically adjusted based on the material state to achieve optimal mixing results. The current stirring speed and stirring time are adjusted in real time based on the adjustment parameters. This dynamic adjustment ensures that materials maintain an optimal mixing state throughout the mixing process, improving the uniformity and stability of the formulation. Intelligently controlling the mixing process can significantly improve the quality of liquid formulations. Factors such as mixing uniformity, viscosity control, and bubble management during the mixing process directly impact the stability and efficacy of the formulation. Intelligent control ensures that these critical factors are optimally addressed, thereby improving the overall quality of the formulation.
[0008] Optionally, adding water for injection and excipients into a preparation tank according to the prescription table and stirring includes: Obtaining data information from a prescription table to determine a first weight of water for injection and a type of excipient and a corresponding second weight; Weighing the water for injection and various excipients respectively to obtain preset weights of water for injection and various excipients; A preset weight of water for injection and various excipients are added to a preparation tank and stirred to obtain a first preparation.
[0009] By employing the above technical solution, data from the prescription table is obtained, enabling the accurate determination of the first weight of the water for injection, as well as the types of required excipients and their corresponding second weights. This step ensures the accuracy of the ingredients and avoids formulation quality issues caused by inaccurate ingredient dosing. The water for injection and various excipients are weighed separately to obtain the preset weights of the water for injection and various excipients. This step utilizes a precise weighing method, reducing human error and improving weighing accuracy.
[0010] Optionally, the control method further includes: Determining the material and pore size of the filter element according to the prescription table, and adjusting the filter element according to the material and pore size, when the excipient is dissolved in the water for injection, pushing the first preparation into the filtration device, and filtering the first preparation through the adjusted filter element to obtain the second preparation; Pushing the second preparation into the filling unit, and when the volume of the second preparation in the metering tank reaches a first preset volume, opening the switch of the metering tank to fill the second preparation into the injection soft bag; The flow rate value filled into the injection bag is obtained, and when the flow rate value reaches a second preset volume, the switch of the metering tank is turned off and a dosing plug is installed on the injection bag to seal it.
[0011] By adopting the above technical solution, the material and pore size of the filter element are accurately selected according to the prescription table and adjusted in time, which can ensure that impurities and particulates in the preparation are effectively removed, thereby improving the purity and quality of the preparation. The embodiments of the present application specify in detail each step of the operation from preparation, filtration to filling, and each step is performed based on preset conditions and parameters, such as determining the ingredient ratio according to the prescription table, adjusting the filter element, controlling the filling volume, etc. This standardized and process-based production method enhances the controllability of the production process and reduces the errors caused by human operation. Through automated and standardized process control, such as automatic adjustment of the filter element, metered filling, etc., production efficiency can be significantly improved. At the same time, the flow value during the filling process is monitored in real time, and the filling switch is automatically turned off when the preset volume is reached, avoiding overfilling or underfilling, further improving production efficiency and product quality. After filling is completed, the injection bag is promptly sealed with a dosing plug, effectively preventing the preparation from being contaminated during subsequent processing or storage, and ensuring the safety and stability of the product.
[0012] Optionally, the preparation unit includes a circulation pump, which is disposed between the preparation tank and the filtering device. Before pushing the first preparation into the filtering device, the control method further includes: Open the first valve and the second valve, and close the third valve so that the circulation pump pushes the first preparation to circulate in the loop, the first valve is arranged between the outlet of the preparation tank and the circulation pump, the second valve is arranged between the circulation pump and the inlet of the preparation tank, and the third valve is arranged between the circulation pump and the filtering device.
[0013] By adopting the above technical solution, a circulation pump propels the first formulation through a loop, ensuring more thorough mixing of the materials in the preparation tank. This circulation helps eliminate local concentration variations in the materials, improves mixing uniformity, and provides higher-quality preparations for subsequent filtration and filling. For certain excipients that require dissolution, the circulation promotes full contact with the injection water, accelerating the dissolution process. This not only shortens dissolution time but also improves dissolution efficiency, ensuring that the excipients are completely and evenly dissolved in the injection water. The turbulence and shear forces generated during the circulation help break up bubbles and lumps in the material. This reduces the impact of bubbles on formulation quality and prevents lumps from clogging the filter element, ensuring a smooth filtration process. In some cases, the formulation may need to be prepared at a specific temperature. The circulation pump and preparation tank can be combined with a heating or cooling system to preheat or cool the formulation through circulation to meet process requirements. The introduction of circulation pumps and valve controls makes the production process more flexible and controllable. Operators can adjust the cycle time and flow rate as needed to adapt to changing formulation and process requirements. This flexibility helps improve production efficiency and the ability to respond to unexpected events.
[0014] Optionally, the control method further includes: The filter element pressure difference is obtained by acquiring data information of a pipeline pressure sensor arranged on the filter device. When the filter element pressure difference is greater than a threshold value, a prompt message for replacing the filter element is issued.
[0015] By implementing the above technical solution, real-time monitoring of the filter element differential pressure allows for timely detection of filter element blockage. When the filter element differential pressure exceeds a threshold, it indicates that the filter element has accumulated a significant amount of impurities, significantly reducing filtration efficiency. Promptly replacing the filter element at this time ensures consistently high filtration efficiency, thereby guaranteeing the quality of liquid preparations. Proper timing for filter element replacement not only ensures filtration efficiency but also extends the filter element's lifespan. Over-frequent filter element replacement increases production costs and wastes resources; while untimely replacement can lead to excessive filter element blockage and even damage the filtration system. By monitoring the filter element differential pressure to determine the replacement timing, the filter element can operate at optimal conditions, thereby extending its lifespan. During the liquid preparation process, severe filter element blockage and failure to replace it promptly can cause filtration system failure or downtime, impacting production efficiency and safety. Real-time monitoring of the filter element differential pressure and prompting prompts for replacement can prevent this from happening, ensuring the continuity and stability of the production process. Prompt replacement of clogged filter elements not only ensures filtration efficiency and production efficiency, but also reduces damage to other components and repair costs caused by excessive filter element blockage. In addition, by monitoring the filter element pressure difference to formulate a reasonable replacement plan, unnecessary filter element waste and inventory backlog can be avoided, further reducing maintenance costs.
[0016] Optionally, opening the switch of the metering tank to fill the second preparation into the injection soft bag includes: Close the fourth valve, connect the filling head to the dosing port of the injection bag, open the fifth valve, and fill the second preparation into the injection bag by gravity. The fourth valve is arranged between the filtering device and the inlet of the metering tank, the filling head is arranged at the outlet of the metering tank, and the fifth valve is arranged between the filling head and the outlet of the metering tank.
[0017] By adopting this technical solution, closing the fourth valve cuts off the connection between the filtration device and the metering tank, preventing cross-contamination during the filling process. Furthermore, the connection between the filling head and the injection bag's dosing port is sealed, further ensuring a hygienic and safe filling process. The metering tank design allows for precise metering of the second agent before filling, ensuring a consistent amount of agent in each injection bag. This precise metering not only improves product uniformity but also meets the stringent dosage requirements of the medical field. Gravity-based filling of the second agent into the injection bag eliminates the need for additional power equipment, simplifying the process and reducing energy consumption and costs. This filling method also reduces the potential for errors and failures caused by mechanical operation. During the filling process, opening the fifth valve allows the second agent to be quickly discharged from the metering tank and poured into the injection bag. This rapid filling method improves production efficiency and shortens production cycle time. By controlling the switch states of the fourth and fifth valves, the start and end of the filling process can be flexibly controlled. This controllability allows operators to adjust filling speed and volume according to actual conditions to meet different production needs. The entire filling process takes place in a closed environment, preventing contamination of the formulation by external factors. Furthermore, precise metering and rapid filling methods ensure the stability and consistency of the formulation during the filling process, thus guaranteeing the final quality of the product.
[0018] Optionally, the control method further includes: Adjust the preparation tank bracket and the metering tank bracket according to needs so that the preparation tank and the metering tank meet the preset height; The clamp is adjusted according to the size of the injection solution soft bag of preset specifications to clamp the injection solution soft bag.
[0019] By adopting the above technical solution, the height of the preparation tank and metering tank brackets can be adjusted to ensure that the preparation tanks and metering tanks meet the preset height requirements in different production environments. This flexibility allows the equipment to adapt to different production line layouts and space constraints, improving its versatility and applicability. Adjusting the height of the preparation tank and metering tank ensures smooth material transfer and reduces material stagnation or leakage caused by height mismatches. Furthermore, the optimized height configuration helps improve production efficiency, reducing waiting time and resource waste during the production process. Different sizes of injection bags require different handling methods and filling conditions. By adjusting the clamp to clamp the pre-set size of the bag, the bag maintains a stable position and shape during the filling process, avoiding filling inaccuracies or contamination caused by bag movement or deformation. This precise control helps improve product quality and consistency. Ensuring the stability of the equipment and product during the filling process is crucial for production safety. By adjusting the brackets and clamps to secure the equipment and product, safety hazards caused by equipment movement or product falling can be reduced. This preventative measure contributes to overall safety in the production process. The adjustable bracket and clamp design makes equipment installation, commissioning, and maintenance much simpler and faster. Operators can easily adjust the height and clamping force of the equipment according to actual needs without the need for complex disassembly or reconstruction. This design reduces operational difficulty and maintenance costs, improving production efficiency and equipment maintainability.
[0020] In a second aspect of the present application, a control system for preparing a liquid preparation is provided, comprising an input module, a stirring module, an image module, an adjustment module, and an execution module, wherein: an input module configured to add water for injection and excipients into a preparation tank according to a prescription table; a stirring module configured to obtain data information of a liquid level sensor installed on the preparation tank to obtain the liquid level height in the preparation tank, and adjust the position of the stirring paddle in the preparation tank according to the liquid level height; an imaging module configured to acquire an image of the material state during the mixing process and determine a current material state based on the image of the material state, wherein the current material state includes the mixing uniformity of the material, the viscosity change of the material, the generation and dissipation of bubbles, and whether the material agglomerates or delaminates; an adjustment module configured to determine a first adjustment parameter for the stirring speed and a second adjustment parameter for the stirring time according to the current material state; The execution module is configured to adjust the current stirring speed according to the first adjustment parameter and adjust the current stirring time according to the second adjustment parameter, so as to obtain the first preparation through stirring.
[0021] In the third aspect of the present application, an electronic device is provided, including a processor, a memory, a user interface and a network interface, the memory is used to store instructions, the user interface and the network interface are both used to communicate with other devices, and the processor is used to execute the instructions stored in the memory so that the electronic device performs any of the methods described above.
[0022] In a fourth aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores instructions. When the instructions are executed, any one of the methods described above is executed.
[0023] In summary, one or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages: 1. Ensure the accurate ratio of water for injection and excipients by strictly following the prescription list. At the same time, the first preparation is precisely filtered according to the filter material and pore size specified in the prescription list to effectively remove impurities and particles, ensuring the purity and quality of the second preparation. This quality control mechanism helps to improve the safety and effectiveness of the final product; 2. The entire preparation process is automated, with each step from preparation and filtration to filling tightly linked, reducing manual intervention and waiting time. In particular, by monitoring the volume of the preparation in the metering tank in real time and automatically filling when the preset volume is reached, production efficiency is greatly improved. Furthermore, the introduction of flow control makes the filling process more precise and efficient. 3. The embodiment of the present application can flexibly adjust the material and pore size of the filter element according to the requirements of different prescription tables to meet the filtration needs of different preparations. At the same time, the filling unit is also adaptable to different specifications of injection soft bags. By adjusting the clamp and other devices, different products can be easily filled. This flexibility makes this method widely applicable to the preparation of various liquid preparations; 4. During the filling process, the flow rate is monitored in real time and the metering tank is promptly closed when the preset volume is reached, effectively preventing safety hazards caused by overfilling. At the same time, the installation of a dosing plug and sealing step on the injection soft bag further ensures the sealing and sterility of the product, preventing contamination and deterioration of the product during subsequent storage and transportation. 5. By precisely controlling each step of the process, material waste and substandard products are reduced. Automated control also reduces labor costs and the potential for human error, further reducing production costs. Furthermore, optimized production processes increase equipment utilization and production efficiency, further reducing unit product costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1Schematic diagram of a control method for preparing a liquid preparation disclosed in an embodiment of the present application; Figure 2 Schematic diagram of the liquid preparation preparation platform disclosed in the examples of this application; Figure 3 Schematic diagram of the control method for preparing the liquid preparation disclosed in the examples of the present application; Figure 4 Schematic diagram of a module of a control system for preparing a liquid preparation disclosed in an embodiment of the present application; Figure 5 This is a structural diagram of an electronic device disclosed in an embodiment of the present application.
[0025] Explanation of the reference numerals: 401, input module; 402, stirring module; 403, image module; 404, adjustment module; 405, execution module; 501, processor; 502, communication bus; 503, user interface; 504, network interface; 505, memory. DETAILED DESCRIPTION
[0026] In order to enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments.
[0027] In the description of the embodiments of this application, words such as "for example" or "for instance" are used to indicate examples, illustrations, or explanations. Any embodiment or design described as "for example" or "for instance" in the embodiments of this application should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "for example" or "for instance" is intended to present the relevant concepts in a concrete manner.
[0028] In the description of the embodiments of the present application, the term "multiple" means two or more. For example, multiple systems refer to two or more systems, and multiple screen terminals refer to two or more screen terminals. In addition, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized.
[0029] This embodiment discloses a control method for liquid preparation, which is applied to a liquid preparation platform. The liquid preparation platform includes a preparation unit, a filtering device, and a filling unit. The preparation unit includes a preparation tank, the filtering device includes a filter element, and the filling unit includes a metering tank. Figure 1 Schematic diagram of the control method for preparing the liquid preparation disclosed in the examples of this application, such as Figure 1 As shown, the method includes the following steps: S110, adding water for injection and excipients into the preparation tank according to the prescription table; Figure 2 is a schematic diagram of the liquid preparation preparation platform disclosed in the examples of this application, such as Figure 2 As shown, the liquid preparation preparation platform includes a stirring paddle bracket 201, a stirring paddle controller 202, a preparation tank bracket 203, a preparation tank 204, a stirring paddle 205, a preparation tank bracket 206, a bracket base 207 (movable with wheels), a first valve 208, a circulation pump 209, a second valve 210, a third valve 211, a filter device 212, a fourth valve 213, a metering tank bracket 214, a metering tank 215, a measuring scale 216, a fifth valve 217, a filling head 218, an injection bag dosing port 219, an injection bag fixture 220, an injection bag 221, and a tray 222. Figure 2 The embodiments of the present application are described.
[0030] The prescription sheet is the blueprint for preparation, detailing the various ingredients and precise amounts required to prepare a specific liquid formulation. These ingredients typically include water for injection as a solvent, as well as various excipients added based on the formulation's characteristics and therapeutic needs, such as active pharmaceutical ingredients, stabilizers, buffers, and preservatives. Before adding any ingredients, the operator needs to carefully check the prescription sheet to ensure the correct types, amounts, and proportions of all ingredients. Water for injection is the base solvent for preparing liquid formulations and must comply with relevant national or industry standards to ensure the purity and safety of the formulation. According to the requirements of the prescription sheet, the appropriate amount of water for injection can be automatically measured and added to the preparation tank 204. After confirming that the water for injection has been accurately added, the platform will add the required excipients one by one to the preparation tank 204 according to the instructions on the prescription sheet. The order and method of adding these excipients may require special attention to ensure that they are fully dissolved or evenly dispersed in the solvent.
[0031] Optionally, adding water for injection and excipients into a preparation tank according to the prescription table and stirring includes: Obtaining data information from a prescription table to determine a first weight of water for injection and a type of excipient and a corresponding second weight; Weighing the water for injection and various excipients respectively to obtain preset weights of water for injection and various excipients; A preset weight of water for injection and various excipients are added to a preparation tank and stirred to obtain a first preparation.
[0032] Extract key data from the prescription, including but not limited to the first weight of the water for injection (i.e., the specific amount required), the types of excipients required, and the corresponding second weight of each excipient (i.e., the exact amount of each excipient used). This information is fundamental to the preparation of the formulation and ensures the accuracy and consistency of the formulation. Use a precise weighing device (such as an electronic scale) to weigh the water for injection to ensure that it meets the first weight specified in the prescription. According to the prescription instructions, weigh each excipient individually or simultaneously (if conditions permit and it does not affect weighing accuracy) to ensure that the amount of each excipient meets the second weight specified in the prescription. During the weighing process, strictly adhere to operating procedures to avoid contamination and error. First, add the weighed water for injection to the preparation tank 204. Preparation tank 204 should be cleaned and disinfected beforehand to ensure the hygienic quality of the preparation. Add the weighed excipients of each type to the preparation tank 204 in sequence according to the prescription or a pre-set order. Care should be taken to avoid direct contact between the excipients, which may cause reactions or precipitation. After all ingredients have been added to the preparation tank 204, start the stirring device to stir. The purpose of stirring is to uniformly mix the various ingredients in the solvent to form a stable first formulation. During the stirring process, the temperature of the liquid in the formulation tank 204 can be monitored and controlled using a temperature-controlled heater and detection sensors installed in the formulation tank. Parameters such as the appropriate formulation temperature and stirring time can be set through the human-machine interface to ensure that the formulation is prepared under optimal conditions. After stirring is completed, the formulation should be inspected for uniformity and stability to ensure that it meets the requirements of the prescription and the expected quality standards.
[0033] By capturing precise data from the prescription, including the primary weight of water for injection and the type and corresponding secondary weight of excipients, the accuracy of drug preparation is ensured. This accuracy is crucial for ensuring drug quality and efficacy, preventing decreased efficacy or increased side effects due to improper ingredient ratios. The entire preparation process adheres to strict operating procedures, including calibration of weighing equipment, cleaning and disinfection of preparation tanks, and addition of raw materials according to the prescribed sequence. Standardized execution of these steps helps reduce human error and contamination risks, improving the hygienic quality and safety of the preparations. The use of modern weighing equipment and stirring devices significantly improves the efficiency of preparation. Automated weighing reduces manual operation time and labor intensity, while efficient stirring devices ensure uniform mixing of various ingredients in a short time, shortening production cycles. Data and information from the entire preparation process (such as weighing results, preparation temperature, stirring time, etc.) are recorded and stored, facilitating traceability of drug production. In the event of quality issues, these records can be reviewed to quickly identify the cause and implement appropriate corrective measures. The embodiments of the present application have a certain degree of flexibility and can prepare different types of preparations according to different prescription tables. By adjusting the ingredients and proportions in the prescription table, medicines that meet different treatment needs and patient needs can be produced.
[0034] S120, obtaining data from a liquid level sensor installed on the preparation tank to obtain a liquid level in the preparation tank, and adjusting a position of a stirring paddle in the preparation tank according to the liquid level; During the preparation process, a liquid level sensor installed on the preparation tank 204 obtains real-time information about the liquid level within the tank. This information is crucial for determining the appropriate position of the stirring paddle 205, as the relative position of the stirring paddle 205 to the liquid surface directly affects the stirring effect and efficiency. Based on changes in the liquid level, the position of the stirring paddle 205 is adjusted manually or automatically by the platform to ensure that the stirring paddle 205 operates within the optimal depth range, ensuring sufficient stirring of the liquid while avoiding excessive disturbance of the liquid surface, thereby improving stirring uniformity and efficiency.
[0035] S130, obtaining a material state image during the stirring process, and determining a current material state based on the material state image, wherein the current material state includes material mixing uniformity, material viscosity change, bubble generation and dissipation, and whether material agglomeration or stratification occurs; Using a camera or other image acquisition device, real-time images of the material state during the mixing process are captured. These images contain a wealth of information, such as the mixing uniformity, viscosity changes, bubble generation and dissipation, and the presence of material agglomeration or stratification. Using image analysis technology, these images are processed and identified to determine the current material state. This process may involve advanced technologies such as image processing algorithms and machine learning models to accurately determine the material state.
[0036] S140: Determine a first adjustment parameter for the stirring speed and a second adjustment parameter for the stirring time according to the current material state.
[0037] Based on the analyzed current material state, the platform intelligently determines a first adjustment parameter for the stirring speed and a second adjustment parameter for the stirring time. These parameters are designed to further optimize the stirring effect by adjusting the stirring speed and stirring time to achieve the optimal mixing state. For example, if image analysis indicates that the material is not mixed uniformly, the platform may increase the stirring speed or extend the stirring time. If agglomeration or stratification occurs in the material, the platform may implement a specific stirring strategy to eliminate these problems.
[0038] S150: Adjust the current stirring speed according to the first adjustment parameter, and adjust the current stirring time according to the second adjustment parameter, so as to obtain a first preparation through stirring.
[0039] Based on the determined first and second adjustment parameters, the platform automatically adjusts the current stirring speed and stirring time. This process is real-time and dynamic, providing real-time feedback and adjustment of stirring parameters based on changes in material state, ensuring the final first formulation has good uniformity and stability.
[0040] By monitoring the liquid level in the preparation tank in real time and adjusting the position of the stirring paddle accordingly, it is possible to ensure that the stirring paddle is always working in the optimal position, thereby maximizing the stirring efficiency. This dynamic adjustment can reduce ineffective stirring, make the stirring energy act more concentratedly on the material, and improve the mixing uniformity. Determining the current material state based on the material state image during the stirring process and adjusting the stirring speed and stirring time accordingly can further ensure that the material is fully and evenly mixed, avoiding local over-stirring or insufficient stirring. Real-time monitoring of the material state, including the mixing uniformity of the material, viscosity changes, bubble generation and dissipation, and whether the material agglomerates or delaminates, helps to promptly detect and correct factors that may affect the quality of the preparation. Precise control of the stirring speed and stirring time also helps to reduce preparation quality problems caused by excessive or insufficient stirring, such as degradation of active pharmaceutical ingredients, crystal growth, etc. The embodiments of the present application combine physical sensors and image analysis technology to achieve real-time monitoring and intelligent adjustment of the preparation process. This automated and intelligent production method can significantly reduce the errors and risks caused by human factors and improve production efficiency and consistency. At the same time, by collecting and analyzing large amounts of production data, it can also provide strong support for subsequent process optimization and quality control.
[0041] Optionally, the control method further includes: Determining the material and pore size of the filter element according to the prescription table, and adjusting the filter element according to the material and pore size, when the excipient is dissolved in the water for injection, pushing the first preparation into the filtration device, and filtering the first preparation through the adjusted filter element to obtain the second preparation; Pushing the second preparation into the filling unit, and when the volume of the second preparation in the metering tank reaches a first preset volume, opening the switch of the metering tank to fill the second preparation into the injection soft bag; The flow rate value filled into the injection bag is obtained, and when the flow rate value reaches a second preset volume, the switch of the metering tank is turned off and a dosing plug is installed on the injection bag to seal it.
[0042] Different formulations may require different filter material and pore size requirements. These requirements are typically based on the formulation's ingredients, intended use, purity standards, and special manufacturing considerations (such as avoiding contamination and preventing ingredient interactions). Therefore, based on the detailed information in the prescription, the platform carefully evaluates and selects the most appropriate filter material and pore size. Material selection may involve factors such as compatibility with the formulation's ingredients, corrosion resistance, and antimicrobial properties. Pore size selection depends on properties such as the particle size of impurities to be removed and the formulation's viscosity. Materials may include polyethersulfone, polytetrafluoroethylene, polyvinylidene fluoride, polypropylene, and nylon, with pore sizes ranging from 1µm, 0.45µm, to 0.22µm. After the excipients are completely dissolved in water for injection and thoroughly stirred, the resulting first formulation is pushed into filtration device 212. Filter device 212 is a device specifically designed for filtering liquids and contains a pre-selected and adjusted filter element. During the filtration process, the first preparation flows through the filter element. The filter element's material and pore size prevent impurity particles larger than the set pore size from passing through, thereby purifying the preparation. At the same time, the filter element's special material and structural design also help remove harmful substances such as tiny particles, bacteria, and viruses dissolved in the preparation. After filtration, the resulting second preparation will be purer, more uniform, and meet the expected quality standards. During and after the filtration process, the second preparation requires strict quality control and verification. This includes checking the preparation's appearance, color, odor, pH value, purity, and other indicators to ensure that it meets the requirements of the prescription and relevant regulatory standards.
[0043] Optionally, the preparation unit includes a circulation pump, which is disposed between the preparation tank and the filtering device. Before pushing the first preparation into the filtering device, the control method further includes: Open the first valve and the second valve, and close the third valve so that the circulation pump pushes the first preparation to circulate in the loop, the first valve is arranged between the outlet of the preparation tank and the circulation pump, the second valve is arranged between the circulation pump and the inlet of the preparation tank, and the third valve is arranged between the circulation pump and the filtering device.
[0044] like Figure 2As shown, the circulation pump 209, serving as the power source for the entire system, is located between the preparation tank 204 and the filtration device 212. Its primary function is to circulate the first agent within the loop to ensure thorough mixing and uniformity, or to push the second agent into the filling unit. The platform is equipped with multiple valves to control the direction and flow of fluids. These valves include a first valve 208, a second valve 210, and a third valve 211, each performing a different function. First valve 208, located between the outlet of the preparation tank 204 and the circulation pump 209, controls whether the first agent in the preparation tank 204 enters the circulation pump 209. When the first valve 208 is open, the first agent can flow from the preparation tank 204 to the circulation pump 209. Second valve 210, located between the circulation pump 209 and the inlet of the preparation tank 204, forms a loop. When the second valve 210 is open, the circulation pump 209 pushes the first agent back into the preparation tank 204, achieving a reflux cycle. The third valve 211 is provided between the circulation pump 209 and the filter device 212 and is used to control whether the first preparation enters the filter device 212. During the circulation reflux phase, the third valve 211 remains closed to prevent the first preparation from directly entering the filter device 212. Before pushing the first preparation into the filter device 212, the control method includes the following steps: Open the first valve 208 and the second valve 210: This step allows the first agent in the preparation tank 204 to flow into the circulation pump 209 through the first valve 208, and is pushed by the circulation pump 209 to flow back to the preparation tank 204 through the second valve 210. In this way, a circulation loop is formed between the preparation tank 204 and the circulation pump 209 for the first agent.
[0045] Closing the third valve 211: During the circulation reflux phase, the third valve 211 remains closed to ensure that the first preparation does not accidentally flow into the filtration device 212. This is to ensure that the filtration operation will not be performed before the preparation reaches sufficient uniformity and stability.
[0046] As the circulation pump 209 operates, the first preparation circulates continuously in the loop. This circulation helps to further mix and homogenize the ingredients in the preparation, which is particularly important when the preparation contains multiple excipients and needs to be fully dissolved and mixed. Since all valves are equipped with pressure sensors, the switch status of the valves can be monitored in real time. This ensures the safety and reliability of the system, and once any abnormality or failure is found, measures can be taken immediately to deal with it. When the first preparation reaches the expected uniformity and stability, the first valve 208 and the second valve 210 can be closed, and the third valve 211 can be opened at the same time. At this time, the circulation pump 209 pushes the first preparation from the preparation tank 204 to the filtration device 212 for filtration treatment to obtain a purer and standard-compliant second preparation.
[0047] By opening the first and second valves and closing the third valve, the circulation pump propels the first preparation through a closed loop between the preparation tank and the circulation pump, continuously circulating the preparation. This circulation helps thoroughly mix the components in the preparation and improves its homogeneity. Especially for preparations that require prolonged stirring or dissolution, the circulation accelerates the dissolution process and shortens production cycles. The continuous action of the circulation pump eliminates bubbles, lumps, and stratification in the preparation, ensuring optimal homogeneity before filtration. This is crucial for subsequent filtration operations and final product quality. Precise control of the opening and closing states of the first, second, and third valves allows for flexible switching of the preparation between the preparation tank, the circulation pump, and the filtration unit. This flexibility allows the production process to be adjusted and optimized according to actual needs, improving production efficiency and product quality. Pressure sensors installed on all valves monitor the valve opening and closing states in real time, providing accurate feedback to the control system. If any abnormality or malfunction is detected, the control system can immediately take appropriate action to ensure the stability and safety of the production process. By using a recirculating system, the product is prevented from prematurely entering the filtration unit before reaching the required filtration standards, thus avoiding waste caused by uneven or substandard product flow. The circulating pump can adjust its power and speed based on actual needs to achieve optimal energy efficiency. Furthermore, precise control of valve opening and closing times can further optimize energy consumption during the production process.
[0048] Optionally, the control method further includes: The filter element pressure difference is obtained by acquiring data information of a pipeline pressure sensor arranged on the filter device. When the filter element pressure difference is greater than a threshold value, a prompt message for replacing the filter element is issued.
[0049] The pipeline pressure sensor installed on the filtration device accurately monitors and collects pressure data before and after the filter element in real time. This data is a key indicator for evaluating the operating status and performance of the filter element. By comparing the pressure data before and after the filter element, the platform automatically calculates the filter element differential pressure. The filter element differential pressure directly reflects the filter element's clogging degree and filtration efficiency. Over time, the filter element gradually accumulates impurities, causing the differential pressure to increase. The platform has a preset filter element differential pressure threshold, which is determined based on factors such as the filter element's design performance, the characteristics of the chemical solution, and production requirements. When the filter element differential pressure data obtained by the platform via the pipeline pressure sensor exceeds this preset threshold, the filter element needs to be replaced. When the filter element differential pressure exceeds the threshold, the platform automatically generates a filter element replacement prompt based on pre-set logic. This information is displayed to the operator through text, icons, or audio on the platform interface, clearly notifying the operator of the urgency and importance of filter element replacement. Upon receiving the prompt, the operator should promptly prepare and replace the filter element according to the operating procedures. After the replacement is complete, it's necessary to recheck whether the filter element's pressure differential has returned to normal to ensure the filtration system continues to operate stably. To facilitate subsequent management and maintenance, the platform should also be able to record filter element replacement history. Each time a filter element is replaced, detailed information such as the time of operation, operator, and filter element model should be recorded for traceability and analysis.
[0050] Real-time monitoring helps detect filter clogs or performance degradation in advance, avoiding resulting production interruptions and product quality issues. Timely filter replacement can prevent production downtime caused by filter clogs, shortening production cycles and improving production efficiency. Monitoring data based on filter differential pressure allows for more informed filter replacement and maintenance plans, reducing unnecessary maintenance costs and downtime. Timely filter replacement ensures optimal filtration performance, ensuring consistent and stable product quality. Clogged filters can allow unfiltered impurities to enter the product, impacting product quality. Real-time monitoring and timely filter replacement effectively mitigate this contamination risk. Regular filter replacement reduces wear and damage to the filter, extending equipment life. This avoids the waste of liquid medicine and the cost of repeated filtration due to filter clogs.
[0051] The metering tank is a key component in the filling unit, used to accurately measure and temporarily store a specific amount of the second agent. During the filling process, the metering tank ensures that the volume of the second agent in each fill meets the preset standard. As the second agent is introduced into the metering tank, the platform monitors the volume in real time. This is typically achieved using a level sensor or weight sensor mounted on the metering tank. When the volume of the second agent in the metering tank reaches a predetermined volume (this predetermined volume is determined based on factors such as product specifications and filling requirements), the platform automatically detects or generates a signal. When the predetermined volume is reached, the system controls a switch (such as a valve) on the metering tank to open, allowing the second agent in the metering tank to flow through a predetermined pipe or channel into the injection bag. During the filling process, the flow rate and fill volume must remain stable to avoid waste or inaccurate volume. Furthermore, the cleanliness and sterility of the filling environment must be maintained to prevent contamination of the agent.
[0052] Optionally, opening the switch of the metering tank to fill the second preparation into the injection soft bag includes: Close the fourth valve, connect the filling head to the dosing port of the injection bag, open the fifth valve, and fill the second preparation into the injection bag by gravity. The fourth valve is arranged between the filtering device and the inlet of the metering tank, the filling head is arranged at the outlet of the metering tank, and the fifth valve is arranged between the filling head and the outlet of the metering tank.
[0053] The fourth valve 213 is located between the filter device 212 and the inlet of the metering tank 215. Its primary function is to control the flow of solution from the filter device 212 to the metering tank 215. Before filling begins, this valve needs to be closed to ensure that the solution in the metering tank 215 is not affected by the newly added solution from the filter device 212 during the filling process. The filling head is a specially designed device used to accurately fill the solution from the metering tank 215 into the injection bag 221. Before filling, the filling head needs to be securely connected to the dosing port of the injection bag 221 to prevent leakage during the filling process. The fifth valve 217 is located between the filling head and the outlet of the metering tank 215. Its function is to control the outflow of the solution from the metering tank 215. After confirming that the filling head is properly connected to the injection bag 221, the fifth valve 217 is opened, allowing the second preparation in the metering tank 215 to flow through the filling head into the injection bag 221 under the action of gravity. During the filling process, the operator can monitor the volume and temperature of the medicinal solution in the metering tank 215 in real time through a visual human-machine interface monitoring module. If any abnormalities are detected (such as rapid volume loss or abnormal temperature), immediate adjustments can be made or filling can be stopped. When the volume of the solution in the injection bag 221 reaches a preset standard (this standard may be determined based on product specifications, patient needs, and other factors), the system automatically closes the fifth valve 217, or the operator manually closes it, halting the filling process. Subsequently, the filling head is disconnected from the injection bag 221, preparing for filling the next bag or subsequent processing.
[0054] By closing the fourth valve, the second preparation in the metering tank is protected from external interference, such as the influx of freshly filtered liquid, during the filling process, thus ensuring accurate filling volume. A measuring scale mounted on the metering tank's see-through window and a liquid level sensor provide dual safeguards, enabling operators to accurately monitor and adjust the volume of the solution in the metering tank in real time, ensuring that the amount of preparation in each injection bag meets the preset standard. The filling process is carried out naturally by gravity, eliminating the need for additional power equipment, streamlining the operation and reducing energy consumption and costs. The quick-connect design between the filling head and the injection bag dosing port, coupled with the instant opening of the fifth valve, enables rapid start and efficient completion of the filling process, improving production efficiency. During the filling process, the temperature inside the metering tank is monitored in real time by a temperature sensor, ensuring that the preparation maintains a stable temperature throughout the filling process, preventing temperature fluctuations that could affect product quality. The sealed connection between the filling head and the injection bag, as well as the aseptic filling process, effectively prevent contamination of the preparation, ensuring product safety and efficacy. The visual human-machine interface monitoring module enables operators to intuitively understand the volume and temperature of the medicinal solution in the metering tank, facilitating timely adjustment of operating parameters and monitoring of the filling process. Automated control of valves and filling heads reduces manual intervention, lowers operational difficulty and labor intensity, and improves operational convenience and comfort. The metering tanks offer a wide range of volumes (0.5L to 50L), meeting the filling requirements of different injection soft bags and needs, enhancing the flexibility and adaptability of the production line. By adjusting filling parameters and replacing filling heads of different specifications, filling production of different products can be easily achieved, reducing the cost and time of production line conversions.
[0055] Optionally, the control method further includes: Adjust the preparation tank bracket and the metering tank bracket according to needs so that the preparation tank and the metering tank meet the preset height; The clamp is adjusted according to the size of the injection solution soft bag of preset specifications to clamp the injection solution soft bag.
[0056] Based on actual production needs, the height of the preparation and metering tank supports is adjusted to ensure that their outlets or related interfaces maintain the appropriate docking height with subsequent filling equipment (such as filling heads and pipelines), ensuring smooth and accurate transfer and filling of the preparation. These supports are typically designed to be adjustable, either mechanically (e.g., with bolts or knobs) or electrically (e.g., with motors or hydraulic cylinders). The operator adjusts the height of the supports using the corresponding adjustment mechanism based on a preset height or actual measurements until a satisfactory docking position is achieved. The clamping width and force of the clamp are adjusted based on the size of the injection bag to ensure that the bag is securely clamped to the filling station, preventing displacement or dislodging during the filling process, thereby ensuring stability and safety. The clamp is typically designed to be adjustable, with features such as retractable arms, an adjustable clamping surface, and adjustable clamping force. Based on the pre-set bag size, the operator manually or automatically adjusts the clamp's grip width and force to ensure a tight and even grip around the bag's dosing port or designated area. The clamp may also be equipped with automatic recognition, automatically adjusting to the appropriate grip based on information such as a barcode or QR code on the bag.
[0057] By precisely adjusting the height and size of the preparation tank, metering tank, and clamps, it is possible to ensure that each link in the filling process can be smoothly connected, reducing downtime and production delays caused by equipment mismatch. The tight clamping of the clamp effectively prevents the displacement and falling of the injection soft bag during the filling process, thereby avoiding the risk of drug leakage or contamination due to improper operation and ensuring the quality and safety of the product. The adjustable brackets and clamps enable the production line to easily adapt to the filling production of injection soft bags of different specifications and requirements, improving the flexibility and adaptability of the production line. Automatic or manual adjustment of height and size reduces the difficulty and labor intensity of operation, and improves the convenience and comfort of operation. At the same time, the automatic recognition function further simplifies the operation process and reduces the occurrence of human errors.
[0058] The filling head is connected to a hydraulic flowmeter and / or a mass flowmeter. These two flowmeters can measure the volume or mass flow of the solution entering the injection bag through the filling head separately or simultaneously. The flowmeter transmits real-time flow data to the control system for monitoring and recording. The control system automatically records and saves the flow values obtained by the flowmeter. This data can be used for subsequent production statistics, quality control, and traceability. At the same time, the control system may also display the real-time flow values on a visual human-machine interface so that the operator can monitor the filling progress at any time. The control system continuously monitors the flow value obtained by the flowmeter and compares it with a second preset volume. When the flow value reaches or exceeds the second preset volume, the control system automatically sends a signal to close the switch of the metering tank (such as closing the fifth valve) to stop further filling of the liquid medicine.
[0059] After filling is complete, the operator removes the filled injection bag and immediately seals it by installing a dosing plug at the bag's dosing port. This step prevents contamination or leakage during subsequent storage and transportation. If additional bags need to be filled, the operator repeats the above steps, placing the new injection bag on the pallet, adjusting the clamp to secure the bag, and then connecting the filling head to begin filling. Once all pre-set batches of injection bags have been filled and sealed, the entire liquid dosage product preparation process is complete. At this point, the equipment on the production line can be cleaned, disinfected, and maintained in preparation for the next production run.
[0060] The present invention also includes online cleaning and online drying. The preparation tanks, filter devices, metering tanks, pipelines, etc. used in production can be cleaned online with distilled water or steam, and then dried online with compressed air.
[0061] The following is a specific embodiment: Weigh 600g of water for injection and add it to a 2L preparation tank. Add 6.60g of sodium chloride, 0.16g of magnesium chloride, 0.24g of calcium chloride, and 1.91g of anhydrous glucose in sequence according to the prescription amount. Turn on the stirrer at 500rpm. After stirring for 10 minutes, observe the dissolution. The raw materials have completely dissolved. Use dilute hydrochloric acid to adjust the pH value of the solution to 5.0, and then add water for injection to a total mass of 1000g. Turn on the circulation pump, filter the solution through a 0.22 micron pore size polypropylene filter, and the filtered solution enters the metering tank and is filled into 250ml per bag of injection solution. After filling is completed, install the dosing plug to seal, and finally clean the preparation system.
[0062] Figure 3 This is a schematic diagram of the control method for preparing a liquid preparation disclosed in the examples of this application, such as Figure 3As shown, the control method includes weighing, stirring and preparing, circulation, filtration, quantitative filling and plugging, among which weighing, stirring and preparing, circulation, filtration and quantitative filling are all provided with monitoring modules, and then the central control module uniformly controls each monitoring module.
[0063] All parts of the platform that come into contact with the chemical solution are made of original components made of materials that comply with relevant national standards, ensuring compatibility between components and the chemical solution. All monitoring modules are connected to the central control module for overall coordination and control. The central control module monitors and centrally controls the operating status of each production unit and the storage and management of data. It is used to collect, monitor, and output real-time product status and data throughout the entire production process, enabling comprehensive intelligent monitoring and real-time process and review management from the central control module.
[0064] The present application can be used for laboratory-scale and batch preparation of single-chamber bags or multi-chamber bags. Through a unified intelligent monitoring and control module, it can realize the effective transmission and feedback of data information. It has a reasonable layout and stable operation. It can optimize the production process of liquid preparations such as injections, reduce human operation errors in the laboratory research stage, improve preparation and production efficiency, and ensure product quality. The preparation tank bracket and the metering tank bracket are both equipped with electric telescopic rods and can be moved up and down; the specifications and volumes of the tank bodies can be replaced and installed as needed. The injection liquid soft bag splint can be moved up and down as well as left and right to meet the filling requirements of soft bags of different varieties and sizes. The material and pore size of the filter element in the filter device can be selected and replaced according to the characteristics of the product, and it is easy to use. The present invention effectively fills the gap in small-scale online preparation, filtration, and filling control systems used in liquid preparation laboratories, optimizes the production preparation process, reduces manual operations, and improves production efficiency.
[0065] The embodiment of the present application also includes an audit tracking unit, which can be used to record operation records, equipment status, event records and timestamps. Operation records include: user login, prescription table loading, parameter adjustment (such as stirring speed / time, filter element material / pore size), valve switch status, filling volume, etc. The equipment status includes: liquid level height, filter element pressure difference, flow value, agitator position, circulation pump status and other real-time data. Event records include: alarm information (such as filter element pressure difference exceeding the threshold), prompt information (such as filter element replacement), abnormal operation (such as manual intervention parameters). Timestamp: All records are accompanied by an unalterable timestamp, which is synchronized with the system time.
[0066] Audit trail data is stored in a local, encrypted database to prevent loss. Regularly upload audit trail data to the cloud or server to ensure data recovery. Access to audit trail records is restricted to authorized personnel to prevent tampering. Quickly search records by time, operation type, device number, and other criteria. Export audit reports in PDF / Excel formats for compliance audits.
[0067] During the preparation stage, the audit tracking unit can record the type, weight, addition time and operator of injection water and excipients; record the liquid level height, stirring paddle position changes and adjustment time; record the material status image, mixing uniformity, viscosity changes, etc. during the stirring process, and associate the stirring parameter adjustment records.
[0068] During the filtration stage, the audit tracking unit can record the filter element material, pore size, replacement time and operator; record the circulation pump start-up time, valve switch status and number of cycles; record the filter element pressure difference in real time, and when the pressure difference exceeds the threshold, automatically generate and record the prompt information for replacing the filter element.
[0069] During the filling phase, the audit tracking unit can record the time when the volume of the metering tank reaches the first preset volume, the time when the filling head is connected, and the operator; it can also record the filling flow value in real time, and when the second preset volume is reached, it can also record the closing switch time and the sealing operation of the dosing plug.
[0070] When adjusting the equipment, the adjustment time and target height of the preparation tank and metering tank bracket can be recorded; the adjustment time and target size of the fixture can be recorded to ensure that it matches the specifications of the injection liquid soft bag.
[0071] This embodiment also discloses a control system for preparing a liquid preparation. Figure 4 This is a module diagram of the control system for preparing the liquid preparation disclosed in the examples of this application, such as Figure 4 As shown, the system includes an input module 401, a stirring module 402, an image module 403, an adjustment module 404 and an execution module 405, wherein: An input module 401 is configured to add water for injection and excipients into a preparation tank according to a prescription table; A stirring module 402 is configured to obtain data information of a liquid level sensor installed on the preparation tank to obtain the liquid level height in the preparation tank, and adjust the position of the stirring paddle in the preparation tank according to the liquid level height; An imaging module 403 is configured to obtain an image of the material state during the mixing process and determine the current material state based on the image of the material state, wherein the current material state includes the mixing uniformity of the material, the viscosity change of the material, the generation and dissipation of bubbles, and whether the material agglomerates or delaminates; An adjustment module 404 is configured to determine a first adjustment parameter for the stirring speed and a second adjustment parameter for the stirring time according to the current material state; The execution module 405 is configured to adjust the current stirring speed according to the first adjustment parameter and adjust the current stirring time according to the second adjustment parameter to obtain the first preparation through stirring.
[0072] Optionally, the stirring control module is configured to: Obtaining data information from a prescription table to determine a first weight of water for injection and a type of excipient and a corresponding second weight; Weighing the water for injection and various excipients respectively to obtain preset weights of water for injection and various excipients; A preset weight of water for injection and various excipients are added to a preparation tank and stirred to obtain a first preparation.
[0073] Optionally, the control system further includes a filling module: Determining the material and pore size of the filter element according to the prescription table, and adjusting the filter element according to the material and pore size, when the excipient is dissolved in the water for injection, pushing the first preparation into the filtration device, and filtering the first preparation through the adjusted filter element to obtain the second preparation; Pushing the second preparation into the filling unit, and when the volume of the second preparation in the metering tank reaches a first preset volume, opening the switch of the metering tank to fill the second preparation into the injection soft bag; The flow rate value filled into the injection bag is obtained, and when the flow rate value reaches a second preset volume, the switch of the metering tank is turned off and a dosing plug is installed on the injection bag to seal it.
[0074] Optionally, the control system further includes a circulation module, wherein the circulation module is configured to: Open the first valve and the second valve, and close the third valve so that the circulation pump pushes the first preparation to circulate in the loop, the first valve is arranged between the outlet of the preparation tank and the circulation pump, the second valve is arranged between the circulation pump and the inlet of the preparation tank, and the third valve is arranged between the circulation pump and the filtering device.
[0075] Optionally, the control method further includes a prompt module, wherein the prompt module is configured to: The filter element pressure difference is obtained by acquiring data information of a pipeline pressure sensor arranged on the filter device. When the filter element pressure difference is greater than a threshold value, a prompt message for replacing the filter element is issued.
[0076] Optionally, the filling control module is configured to: Close the fourth valve, connect the filling head to the dosing port of the injection bag, open the fifth valve, and fill the second preparation into the injection bag by gravity. The fourth valve is arranged between the filtering device and the inlet of the metering tank, the filling head is arranged at the outlet of the metering tank, and the fifth valve is arranged between the filling head and the outlet of the metering tank.
[0077] Optionally, the control system further includes a regulating module, wherein the regulating module is configured to: Adjust the preparation tank bracket and the metering tank bracket according to needs so that the preparation tank and the metering tank meet the preset height; The clamp is adjusted according to the size of the injection solution soft bag of preset specifications to clamp the injection solution soft bag.
[0078] It should be noted that the above embodiments provide devices that implement their functions using only the division of the above functional modules as examples. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiments are based on the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.
[0079] This embodiment also discloses an electronic device, referring to Figure 5 The electronic device may include: at least one processor 501 , at least one communication bus 502 , a user interface 503 , a network interface 504 , and at least one memory 505 .
[0080] The communication bus 502 is used to implement the connection and communication between these components.
[0081] The user interface 503 may include a display screen (Display) and a camera (Camera). Optionally, the user interface 503 may also include a standard wired interface and a wireless interface.
[0082] The network interface 504 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).
[0083] The processor 501 may include one or more processing cores. Using various interfaces and circuits, the processor 501 connects to various components within the server. It executes instructions, programs, code sets, or instruction sets stored in the memory 505, as well as accesses data stored in the memory 505, to perform various server functions and process data. Optionally, the processor 501 may be implemented using at least one of the following hardware forms: a digital signal processing (DSP), a field-programmable gate array (FPGA), or a programmable logic array (PLA). The processor 501 may integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. The CPU primarily processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing content displayed on the display screen; and the modem handles wireless communications. It is understood that the modem may also be implemented as a separate chip, rather than integrated into the processor 501.
[0084] Among them, the memory 505 may include a random access memory (RAM) or a read-only memory (Read-Only Memory). Optionally, the memory 505 includes a non-transitory computer-readable storage medium. The memory 505 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 505 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 505 may also be optionally at least one storage device located away from the aforementioned processor 501. As Figure 5 As shown, the memory 505 as a computer storage medium may include an operating system, a network communication module, a user interface module, and an application program for a control method for preparing a liquid preparation.
[0085] exist Figure 5In the electronic device shown, the user interface 503 is mainly used to provide an input interface for the user and obtain data input by the user; and the processor 501 can be used to call the application program of the control method for preparing the liquid preparation stored in the memory 505. When executed by one or more processors 501, the electronic device executes one or more methods as in the above-mentioned embodiments.
[0086] It should be noted that for the aforementioned method embodiments, for simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that this application is not limited by the order of the actions described, because according to this application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required for this application.
[0087] In the above embodiments, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0088] In the several embodiments provided in this application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are merely schematic, such as the division of units, which is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interface, and the indirect coupling or communication connection of devices or units can be electrical or other forms.
[0089] Units described as separate components may or may not be physically separate, and components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0090] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0091] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of this application, or the portion that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a memory 505 and includes several instructions for causing a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the various embodiments of the method of this application. The aforementioned memory 505 includes various media that can store program code, such as a USB flash drive, a mobile hard drive, a magnetic disk, or an optical disk.
[0092] The above is only an exemplary embodiment of the present disclosure and cannot be used to limit the scope of the present disclosure. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the disclosure of the specification, those skilled in the art will easily think of other embodiments of the present disclosure. This application is intended to cover any variations, uses or adaptive changes of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the technical field that are not recorded in the present disclosure. The description and examples are to be regarded as exemplary only, and the scope and spirit of the present disclosure are defined by the claims.
Claims
1. A control method for preparing a liquid preparation, characterized in that: Applied to a liquid preparation preparation platform, the liquid preparation preparation platform includes a preparation unit, a filtering device and a filling unit, the preparation unit includes a preparation tank, the filtering device includes a filter element, and the filling unit includes a metering tank. The method includes: Add water for injection and excipients into the preparation tank according to the prescription table; Acquiring the liquid level in the preparation tank by acquiring data from a liquid level sensor installed on the preparation tank, and adjusting the position of the stirring paddle in the preparation tank according to the liquid level; Acquire a material state image during the mixing process, and determine the current material state based on the material state image, wherein the current material state includes the mixing uniformity of the material, the viscosity change of the material, the generation and dissipation of bubbles, and whether the material agglomerates or delaminates; Determining a first adjustment parameter for the stirring speed and a second adjustment parameter for the stirring time according to the current material state; The current stirring speed is adjusted according to the first adjustment parameter, and the current stirring time is adjusted according to the second adjustment parameter, so as to obtain the first preparation through stirring.
2. The control method for preparing a liquid preparation according to claim 1, characterized in that: Said adding water for injection and excipients into the preparation tank according to the prescription table comprises: Obtaining data information from a prescription table to determine a first weight of water for injection and a type of excipient and a corresponding second weight; Weighing the water for injection and various excipients respectively to obtain preset weights of water for injection and various excipients; Add the preset weight of water for injection and various excipients into the preparation tank.
3. The control method for preparing a liquid preparation according to claim 1, characterized in that: The control method further includes: Determining the material and pore size of the filter element according to the prescription table, and adjusting the filter element according to the material and pore size, when the excipient is dissolved in the water for injection, pushing the first preparation into the filtration device, and filtering the first preparation through the adjusted filter element to obtain the second preparation; Pushing the second preparation into the filling unit, and when the volume of the second preparation in the metering tank reaches a first preset volume, opening the switch of the metering tank to fill the second preparation into the injection soft bag; The flow rate value filled into the injection bag is obtained, and when the flow rate value reaches a second preset volume, the switch of the metering tank is turned off and a dosing plug is installed on the injection bag to seal it.
4. The control method for preparing a liquid preparation according to claim 3, characterized in that: The preparation unit includes a circulation pump, which is arranged between the preparation tank and the filtering device. Before pushing the first preparation into the filtering device, the control method further includes: Open the first valve and the second valve, and close the third valve so that the circulation pump pushes the first preparation to circulate in the loop, the first valve is arranged between the outlet of the preparation tank and the circulation pump, the second valve is arranged between the circulation pump and the inlet of the preparation tank, and the third valve is arranged between the circulation pump and the filtering device.
5. The control method for preparing a liquid preparation according to claim 1, characterized in that: The control method further includes: The filter element pressure difference is obtained by acquiring data information of a pipeline pressure sensor arranged on the filter device. When the filter element pressure difference is greater than a threshold value, a prompt message for replacing the filter element is issued.
6. The control method for preparing a liquid preparation according to claim 3, characterized in that: The step of opening the switch of the metering tank to fill the second preparation into the injection soft bag comprises: Close the fourth valve, connect the filling head to the dosing port of the injection bag, open the fifth valve, and fill the second preparation into the injection bag by gravity. The fourth valve is arranged between the filtering device and the inlet of the metering tank, the filling head is arranged at the outlet of the metering tank, and the fifth valve is arranged between the filling head and the outlet of the metering tank.
7. The control method for preparing a liquid preparation according to claim 1, characterized in that: The control method further includes: Adjust the preparation tank bracket and the metering tank bracket according to needs so that the preparation tank and the metering tank meet the preset height; The clamp is adjusted according to the size of the injection solution soft bag of preset specifications to clamp the injection solution soft bag.
8. A control system for preparing a liquid preparation, characterized in that: It includes an input module, a stirring module, an image module, an adjustment module and an execution module, wherein: an input module configured to add water for injection and excipients into a preparation tank according to a prescription table; a stirring module configured to obtain data information of a liquid level sensor installed on the preparation tank to obtain the liquid level height in the preparation tank, and adjust the position of the stirring paddle in the preparation tank according to the liquid level height; an imaging module configured to acquire an image of the material state during the mixing process and determine a current material state based on the image of the material state, wherein the current material state includes the mixing uniformity of the material, the viscosity change of the material, the generation and dissipation of bubbles, and whether the material agglomerates or delaminates; an adjustment module configured to determine a first adjustment parameter for the stirring speed and a second adjustment parameter for the stirring time according to the current material state; The execution module is configured to adjust the current stirring speed according to the first adjustment parameter and adjust the current stirring time according to the second adjustment parameter, so as to obtain the first preparation through stirring.
9. An electronic device, characterized in that: The electronic device comprises a processor, a memory, a user interface and a network interface, wherein the memory is used to store instructions, the user interface and the network interface are both used to communicate with other devices, and the processor is used to execute the instructions stored in the memory so that the electronic device executes the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores instructions, and when the instructions are executed, the method according to any one of claims 1 to 7 is executed.