A method for optimizing crystallization process based on quality attributes of cefuroxime sodium

By optimizing the crystallization process of cefuroxime sodium, determining the metastable region width and the upper limit of safe supersaturation, matching key quality attribute parameters of crystallization, and monitoring and correcting actions in real time, the problem of substandard quality in traditional processes has been solved, and the crystallization quality and efficiency have been improved.

CN123182792APending Publication Date: 2026-11-27SHANXI WEIQIDA PHARMA IND
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611274170.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-21
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

The traditional cefuroxime sodium crystallization process lacks monitoring and process adjustment, resulting in quality problems such as mixed crystal forms, excessive degradation impurities, unreasonable particle size distribution, and high residual solvent, making it difficult to meet clinical drug use and compliance requirements.

Method used

By determining the metastable region width and safe supersaturation upper limit of cefuroxime sodium in the optimal crystallization solvent system, key quality attribute parameters for crystallization are matched, a safe operating window is generated, and data in the crystallization tank is collected in real time for corrective actions, thereby optimizing the crystallization process.

Benefits of technology

The monitoring of cefuroxime sodium crystal quality and the efficiency of process optimization have been improved to ensure that the crystal quality meets the requirements for clinical drug use.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123182792A_ABST
    Figure CN123182792A_ABST
Patent Text Reader

Abstract

The present application relates to a crystallization process optimization method based on the quality attributes of cefuroxime sodium, belonging to the technical field of crystallization process. The method comprises: determining the optimal crystallization solvent system; determining the upper limit of the safe supersaturation system; determining the sensitivity of each crystallization key quality attribute parameter and each crystallization process parameter according to the upper limit of the safe supersaturation system, generating a safe operation window; generating a corresponding alternative parameter group of the crystallization process parameters according to the safe operation window; executing the alternative parameter group, and collecting the crystallization key quality attribute parameter data of the crystallization tank at multiple sampling times in the current sampling period in real time; predicting the cefuroxime sodium crystallization quality of the next sampling period according to the crystallization key quality attribute parameter data, and generating a correction action of the crystallization tank; the crystallization tank executes the correction action, and completes the crystallization process optimization. The present application improves the crystallization process optimization efficiency of the crystallization tank and the quality of cefuroxime sodium crystallization based on the correction action generated in the sampling period.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of crystallization technology, and in particular to a method for optimizing crystallization processes based on the quality properties of cefuroxime sodium. Background Technology

[0002] Cefuroxime sodium, a commonly used second-generation cephalosporin broad-spectrum antibiotic in clinical practice, is a core product for centralized procurement, generic drug consistency evaluation, and export to the international market. Therefore, the quality consistency requirements for cefuroxime sodium are extremely high. The crystallization process of cefuroxime sodium is extremely sensitive to fluctuations in process parameters such as temperature, pH, feeding rate, and seeding strategy.

[0003] Traditional crystallization processes crystallize cefuroxime sodium using pre-set process parameters. However, these processes lack monitoring and adjustment of the crystallization process, leading to problems such as mixed crystal forms, excessive degradation impurities, unreasonable particle size distribution, and high residual solvent levels. Consequently, the crystallization quality of cefuroxime sodium is difficult to consistently meet clinical drug use and compliance requirements. Summary of the Invention

[0004] To address the aforementioned technical problems, this invention provides a method for optimizing the crystallization process based on the quality properties of cefuroxime sodium. The technical solution of this invention is as follows: A method for optimizing the crystallization process based on the quality properties of cefuroxime sodium, comprising: S1. Determine the solubility of cefuroxime sodium in acetone-water mixed solvents with multiple preset ratios at multiple preset temperatures, construct temperature-solubility curves for each preset ratio, and determine the optimal crystallization solvent system based on the temperature-solubility curves for each preset ratio. S2, determine the width of the metastable region under the optimal crystallization solvent system, and determine the upper limit of safe supersaturation system based on the width of the metastable region; S3, Match multiple key quality attribute parameters of cefuroxime sodium to the safe supersaturation upper limit system, determine the sensitivity of each key quality attribute parameter to each crystallization process parameter, and generate a safe operating window based on the sensitivity of each key quality attribute parameter to each crystallization process parameter; S4, Generate alternative parameter groups corresponding to the crystallization process parameters based on the safety operation window; S5 controls the crystallizer to execute the alternative parameter group and collects key quality attribute parameter data of crystallization in the crystallizer at multiple sampling times in the current sampling cycle in real time; S6, based on the key quality attribute parameter data of crystallization at each sampling moment of the current sampling period, predict the crystallization quality of cefuroxime sodium in the next sampling period, and generate correction actions for the crystallization tank for the crystallization quality of cefuroxime sodium in the next sampling period. S7 controls the crystallizer to perform correction actions in the next sampling cycle, thereby optimizing the crystallization process.

[0005] Preferably, when determining the optimal crystallization solvent system based on the temperature-solubility curve for each preset ratio, step S1 includes: S11, calculate the slope of the temperature-solubility curve under standard temperature for each preset ratio, and take the preset ratio corresponding to the temperature-solubility curve with a slope not less than the preset slope threshold as the candidate ratio; S12, calculate the normalized slope and normalized solubility of each candidate ratio based on the temperature-solubility curve of each candidate ratio, and multiply the normalized slope of each candidate ratio by the normalized solubility to obtain the comprehensive score of each candidate ratio. S13. Select the candidate ratio with the highest comprehensive score as the optimal ratio, and use the temperature-solubility curve under the optimal ratio as the optimal crystallization solvent system.

[0006] Preferably, S2 includes: S21. Construct multiple temperature ranges based on multiple preset temperatures. In any temperature range, determine the initial crystallization temperature of cefuroxime sodium in any temperature range according to the preset cooling rate and optimal ratio, obtain the cooling solubility corresponding to the initial crystallization temperature, and use the cooling solubility as the cooling solubility corresponding to the left end temperature value in any temperature range. S22, construct the supersolubility curve of the optimal crystallization solvent system based on the cooling solubility corresponding to the left-end temperature value in each temperature range; S23, input the operating temperature into the temperature-solubility curve and supersolubility curve of the optimal crystallization solvent system respectively to obtain the operating solubility and operating supersolubility, and calculate the absolute value of the difference between the operating solubility and operating supersolubility to obtain the width of the metastable region under the optimal crystallization solvent system. S24. Calculate the upper limit of safe temperature and the upper limit of safe solubility based on the preset safety factor and the width of the metastable region, and calculate the upper limit of supersaturation based on the upper limit of safe solubility. The upper limit of safe temperature, the upper limit of safe solubility and the upper limit of supersaturation form a system of upper limit of safe supersaturation.

[0007] Preferably, S3 includes: S31, Match multiple key crystallization quality attribute parameters of cefuroxime sodium in the target quality product file according to the safety oversaturation upper limit system; S32, Obtain the historical crystallization process parameter data for each crystallization process parameter and the historical attribute data corresponding to each key quality attribute parameter in the historical crystallization data of cefuroxime sodium. The historical crystallization process parameter data and the historical attribute data are time-aligned and have the same data volume. S33, Calculate the sensitivity of each crystallization key quality attribute parameter to each crystallization process parameter based on the historical crystallization process parameter data and the historical attribute data corresponding to each crystallization key quality attribute parameter; S34. Based on the sensitivity of each crystallization key quality attribute parameter and each crystallization process parameter, adjust the preset process range of each crystallization process parameter to obtain the safe process range of each crystallization process parameter, and generate a safe operation window from the safe process ranges of all crystallization process parameters.

[0008] Preferably, S33 includes: S331, calculate the sensitivity of each crystallization process parameter to each crystallization key quality attribute parameter at each historical sampling time based on the historical crystallization process parameter data and the historical attribute data corresponding to each crystallization key quality attribute parameter. S332, construct a sensitivity matrix based on the sensitivity of each crystallization process parameter and each crystallization key quality attribute parameter at each historical sampling time. S333, calculate the sensitivity of each crystallization key quality attribute parameter to each crystallization process parameter based on the sensitivity matrix.

[0009] Preferably, S4 includes: S41, obtain the safe process range of each crystallization process parameter according to the safe operation window, and sample and discretize the safe process range of each crystallization process parameter into multiple discrete candidate values ​​at equal intervals; S42, perform Cartesian product processing on multiple discrete candidate values ​​of all crystallization process parameters to obtain multiple initial parameter sets; S43, calculate the predicted value of each key quality attribute parameter of each crystallization process parameter based on the sensitivity of each crystallization process parameter to each key quality attribute parameter of crystallization; S44. For any initial parameter group, if the predicted values ​​of all key crystallization quality attribute parameters of the initial parameter group meet the standard range of the corresponding key crystallization quality attribute parameters, then the initial parameter group is determined to be a candidate parameter group.

[0010] Preferably, S6 includes: S61, Generate the quality state matrix for the current sampling period based on the key quality attribute parameter data of crystallization at each sampling moment in the current sampling period; S62, construct the initial mapping relationship between the mass value matrix and the mass state matrix based on the unknown coefficients and unknown constants; S63, calculate the crystal mass of cefuroxime sodium for the next sampling period based on the mass state matrix and initial mapping relationship of the current sampling period; S64, when the mass of cefuroxime sodium crystals in the next sampling period is less than or equal to the mass threshold, the difference between the mass threshold and the mass of cefuroxime sodium crystals in the next sampling period is calculated as the mass compensation amount. S65, define the correction action vector based on multiple crystallization process parameters of the crystallizer, calculate the solution of the correction action vector in combination with the mass compensation amount, and generate the correction action of the crystallizer based on the solution of the correction action vector.

[0011] Preferably, S63 includes: S631, calculate the quality value matrix of the current sampling period based on the key quality attribute parameter data of crystallization at each sampling time of the current sampling period, and input the quality value matrix and quality state matrix of the current sampling period into the initial mapping relationship, solve for the relationship between unknown coefficients and unknown constants, and update the initial mapping relationship through the relationship between unknown coefficients and unknown constants to obtain the final mapping relationship between the quality value matrix and the quality state parameters; S632, construct the state vector of the key quality attribute of crystallization at each sampling moment of the current sampling period, and calculate the state vector of the key quality attribute of crystallization at each future sampling moment of the next sampling period based on the pre-trained state transition matrix; S633, calculate the mass value of the next sampling period based on the final mapping relationship and the state vector of the key quality attribute of crystallization at each future sampling time of the next sampling period, and use the mass value of the next sampling period as the crystallization mass of cefuroxime sodium in the next sampling period.

[0012] Preferably, the method further includes: After all sampling cycles have been completed, the crystallization quality of cefuroxime sodium is measured in the crystallizer. If the quality of the cefuroxime sodium crystals still does not meet the quality requirements, the abnormal crystallization status of the cefuroxime sodium crystals that do not meet the quality requirements is obtained, and a recrystallization action is generated for the corresponding crystallization tank based on the abnormal crystallization status, and the crystallization tank is controlled to perform the recrystallization action on the cefuroxime sodium crystals that do not meet the quality requirements.

[0013] All of the above-mentioned optional technical solutions can be combined arbitrarily, and the present invention will not provide a detailed description of the structure after each combination.

[0014] By means of the above solution, the beneficial effects of the present invention are as follows: This invention focuses on optimizing the crystallization process of cefuroxime sodium within the crystallization tank. By measuring the metastable region width and safe supersaturation upper limit of cefuroxime sodium in the optimal crystallization solvent system, and matching multiple key quality attribute parameters of cefuroxime sodium based on the safe supersaturation upper limit, the sensitivity of each key quality attribute parameter to different crystallization process parameters is determined, and a safe operating window is generated. Compared to traditional methods that lack monitoring and process adjustment during the cefuroxime sodium crystallization process, this invention operates the crystallization tank according to the safe operating window. Data on key quality attribute parameters within the crystallization tank are collected according to a sampling period, and correction actions are performed on the crystallization tank based on the sampling period until the crystallization process optimization is completed. This improves the monitoring of cefuroxime sodium quality, and the correction actions based on the sampling period further improve the efficiency of crystallization process optimization in the crystallization tank, thereby improving the quality of cefuroxime sodium crystals.

[0015] The above description is merely an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention and to implement it in accordance with the contents of the specification, the preferred embodiments of the present invention are described in detail below with reference to the accompanying drawings. Attached Figure Description

[0016] Figure 1 This is a schematic flowchart of a crystallization process optimization method based on the quality properties of cefuroxime sodium provided by the present invention. Detailed Implementation

[0017] The specific embodiments of the present invention will be described in further detail below with reference to the accompanying drawings and examples. The following examples are for illustrative purposes only and are not intended to limit the scope of the invention.

[0018] like Figure 1 As shown in the embodiment of the present invention, a crystallization process optimization method based on the quality properties of cefuroxime sodium is provided, comprising: S1. Measure the solubility of cefuroxime sodium in acetone-water mixed solvents with multiple preset ratios at multiple preset temperatures, construct temperature-solution curves for each preset ratio, and determine the optimal crystallization solvent system based on the temperature-solution curves for each preset ratio.

[0019] Specifically, the preset ratio is a pre-determined ratio of acetone to water in an acetone-water mixed solvent, such as 3:1 or 4:7. The preset temperature is a pre-determined temperature for dissolving cefuroxime sodium, and the preset temperature range is generally between 0℃ and 60℃. A polynomial fit is performed on each preset temperature and its corresponding solubility under a given preset ratio to obtain the temperature-solubility curve for that preset ratio.

[0020] In a specific embodiment, when S1 determines the optimal crystallization solvent system based on the temperature-solubility curve for each preset ratio, it includes: S11, calculate the slope of the temperature-solubility curve under standard temperature for each preset ratio, and take the preset ratio corresponding to the temperature-solubility curve with a slope not less than the preset slope threshold as the candidate ratio.

[0021] Specifically, the standard temperature refers to 25℃. The preset slope threshold is a slope threshold for the temperature-solubility curve determined based on historical experience, typically 0.38. The derivative of the temperature-solubility curve with respect to solubility at the standard temperature is calculated for each preset ratio, and this derivative is used as the slope of the temperature-solubility curve at the standard temperature for each preset ratio.

[0022] S12, calculate the normalized slope and normalized solubility of each candidate formulation based on the temperature-solubility curve of each candidate formulation, and multiply the normalized slope of each candidate formulation by the normalized solubility to obtain the comprehensive score of each candidate formulation.

[0023] Specifically, when calculating the normalized slope of a candidate formulation, the slope at each preset temperature in the temperature-solubility curve of the candidate formulation is first calculated. Then, the average of the slopes at all preset temperatures is calculated as the normalized slope of the candidate formulation, and the average of the solubility at all preset temperatures is calculated as the normalized solubility of the candidate formulation.

[0024] S13. Select the candidate ratio with the highest comprehensive score as the optimal ratio, and use the temperature-solubility curve under the optimal ratio as the optimal crystallization solvent system.

[0025] S2, determine the width of the metastable region under the optimal crystallization solvent system, and determine the upper limit of safe supersaturation system based on the width of the metastable region.

[0026] Specifically, the metastable zone width refers to the supersaturation difference experienced by the solution during the crystallization process of cefuroxime sodium from a saturated state to spontaneous precipitation of crystals (expressed as solubility difference in this embodiment of the invention).

[0027] In one specific embodiment, S2 includes: S21. Construct multiple temperature ranges based on multiple preset temperatures. In any temperature range, determine the initial crystallization temperature of cefuroxime sodium in any temperature range according to the preset cooling rate and optimal ratio, obtain the cooling solubility corresponding to the initial crystallization temperature, and use the cooling solubility as the cooling solubility corresponding to the left end temperature value in any temperature range.

[0028] Specifically, when constructing multiple temperature ranges based on multiple preset temperatures, the temperature range between two preset temperatures is constructed as one temperature range. For example, if the three preset temperatures are 0℃, 10℃, and 20℃, then the constructed temperature ranges are [0,10] and [10,20]. Further, the cooling solubility in [0,10] is taken as the cooling solubility at 0℃, the cooling solubility in [10,20] is taken as the cooling solubility at 10℃, and there is no corresponding cooling solubility at 20℃. When determining the initial crystallization temperature of cefuroxime sodium in a certain temperature range, the number of crystal particles precipitated during the cooling process of cefuroxime sodium in that temperature range is detected in real time using an online image system. When the number of crystal particles precipitated is greater than a preset number, the temperature at which the number of crystal particles precipitated is determined as the initial crystallization temperature of cefuroxime sodium in that temperature range.

[0029] S22, construct the supersolubility curve of the optimal crystallization solvent system based on the cooling solubility corresponding to the left-end temperature value in each temperature range.

[0030] Specifically, polynomial fitting was performed on the cooling solubility corresponding to the left-hand temperature value in all temperature ranges to obtain the supersolubility curve under the optimal crystallization solvent system.

[0031] S23. Input the operating temperature into the temperature-solubility curve and supersolubility curve of the optimal crystallization solvent system respectively to obtain the operating solubility and operating supersolubility. Calculate the absolute value of the difference between the operating solubility and the operating supersolubility to obtain the width of the metastable region under the optimal crystallization solvent system.

[0032] Specifically, the operational solubility and operational supersolubility are the solubility and supersolubility corresponding to the operational temperature in the temperature-solubility curve and supersolubility curve, respectively. The operational temperature is the pre-set standard dissolution temperature of cefuroxime sodium.

[0033] S24. Calculate the upper limit of safe temperature and the upper limit of safe solubility based on the preset safety factor and the width of the metastable region, and calculate the upper limit of supersaturation based on the upper limit of safe solubility. The upper limit of safe temperature, the upper limit of safe solubility and the upper limit of supersaturation form a system of upper limit of safe supersaturation.

[0034] Specifically, the preset safety factor is multiplied by the width of the metastable region to obtain the upper limit of safe solubility. This upper limit is then input into the temperature-solubility curve of the optimal crystallization solvent system, and the corresponding temperature is the upper limit of safe temperature. When calculating the upper limit of supersaturation based on the upper limit of safe solubility, the difference between the upper limit of safe solubility and the operating solubility is calculated, and the absolute value of this difference is divided by the operating solubility to obtain the upper limit of supersaturation.

[0035] S3, Match multiple key quality attribute parameters of cefuroxime sodium to the safe supersaturation upper limit system, determine the sensitivity of each key quality attribute parameter to each crystallization process parameter, and generate a safe operating window based on the sensitivity of each key quality attribute parameter to each crystallization process parameter.

[0036] Specifically, because the crystallization process of cefuroxime sodium is not a single process but rather a superposition of multiple physicochemical changes, there are many crystallization process parameters (temperature, pH, feeding rate, and seeding strategy) that affect the crystallization quality of cefuroxime sodium. These crystallization process parameters are not independent but interdependent. By studying the sensitivity of key crystallization quality attributes to different crystallization process parameters, it is possible to reasonably set alternative parameter sets for subsequent crystallization. Among these, key crystallization quality attributes include particle size distribution, crystal shape, moisture content, and purity.

[0037] In one specific embodiment, S3 includes: S31, based on the safety oversaturation upper limit system, match multiple key crystallization quality attribute parameters corresponding to cefuroxime sodium in the target quality product file.

[0038] Specifically, the target quality product file is a comparison table containing the upper limit range of supersaturation and its corresponding key crystallization quality attribute parameters (in this embodiment, several key crystallization quality attribute parameters with significant influence are selected). By matching the upper limit of supersaturation in the safe supersaturation upper limit system against the comparison table, multiple corresponding key crystallization quality attribute parameters are obtained. The comparison table is shown in Table 1.

[0039]

[0040] S32, Obtain the historical crystallization process parameter data for each crystallization process parameter and the historical attribute data corresponding to each key quality attribute parameter in the historical crystallization data of cefuroxime sodium. The historical crystallization process parameter data and the historical attribute data are time-aligned and have the same data volume.

[0041] Specifically, historical crystallization process parameter data for each crystallization process parameter and historical attribute data for each key quality attribute parameter of crystallization are obtained from the database.

[0042] S33, calculate the sensitivity of each crystallization key quality attribute parameter to each crystallization process parameter based on the historical crystallization process parameter data and the historical attribute data corresponding to each crystallization key quality attribute parameter.

[0043] In one specific embodiment, S33 includes: S331, calculate the sensitivity of each crystallization process parameter to each crystallization key quality attribute parameter at each historical sampling time based on the historical crystallization process parameter data and the historical attribute data corresponding to each crystallization key quality attribute parameter.

[0044] Specifically, when calculating the single-sampling-time sensitivity of a crystallization process parameter and a key crystallization quality attribute parameter at a certain historical sampling time, the previous historical crystallization process parameter data of the neighboring time (the previous historical sampling time) of the crystallization process parameter at that historical sampling time is first obtained. The difference between the historical crystallization process parameter data and the previous historical crystallization process parameter data at that historical sampling time is calculated as the process change. Similarly, the quality attribute change of the historical attribute data corresponding to the key crystallization quality attribute parameter at that historical sampling time is calculated. The ratio of the process change to the quality attribute change is used as the single-sampling-time sensitivity of the crystallization process parameter and the key crystallization quality attribute parameter at that historical sampling time.

[0045] S332, construct a sensitivity matrix based on the single-sampling-time sensitivity of each crystallization process parameter and each key quality attribute parameter of crystallization at each historical sampling time.

[0046] Specifically, when constructing the sensitivity matrix, firstly, a single-sampling-time sensitivity matrix is ​​constructed for each historical sampling moment. Each element in the single-sampling-time sensitivity matrix for a given historical sampling moment represents the single-sampling-time sensitivity of each crystallization process parameter and each key crystallization quality attribute parameter. Then, all the single-sampling-time sensitivity matrices from all historical sampling moments are concatenated in the order of the historical sampling moments to obtain the final sensitivity matrix.

[0047] S333, calculate the sensitivity of each crystallization key quality attribute parameter to each crystallization process parameter based on the sensitivity matrix.

[0048] Specifically, when calculating the sensitivity of a key quality attribute parameter of crystallization to a crystallization process parameter, the process first calculates the sum of the sensitivities at each single sampling time in the sensitivity matrix, then normalizes the sum to obtain the historical weight coefficient for each historical sampling time. Next, a weighted sum is calculated based on the single-sampling-time sensitivity of the key quality attribute parameter and the crystallization process parameter at each historical sampling time and their corresponding historical weight coefficients, yielding the comprehensive sensitivity of the key quality attribute parameter and the crystallization process parameter. Finally, the root mean square (RMS) of the comprehensive sensitivity is calculated to obtain the root mean square (RMS) sensitivity of the key quality attribute parameter and the crystallization process parameter, which is then used as the sensitivity of the key quality attribute parameter and the crystallization process parameter.

[0049] S34. Based on the sensitivity of each crystallization key quality attribute parameter and each crystallization process parameter, adjust the preset process range of each crystallization process parameter to obtain the safe process range of each crystallization process parameter, and generate a safe operation window from the safe process ranges of all crystallization process parameters.

[0050] Specifically, assuming a crystallization process parameter is temperature, with a preset process range of [10, 50], determine the extreme value (highest or lowest) of the sensitivity of this crystallization process parameter to the key crystallization quality attribute parameter. This is determined by calculating the absolute difference between the mean and the extreme value of the sensitivity of this crystallization process parameter to all key crystallization quality attribute parameters, and selecting the sensitivity with the largest absolute difference as the extreme value. Assuming the extreme value of sensitivity is -0.3, the preset process range is reduced to 0.3 times its original value, resulting in a safe process range of [13, 35] for this crystallization process parameter. The safe process ranges for other crystallization process parameters can be obtained similarly. Finally, the safe process ranges of all crystallization process parameters constitute the safe operating window.

[0051] S4, generate alternative parameter groups corresponding to the crystallization process parameters based on the safety operation window.

[0052] Specifically, the alternative parameter group is a set of parameters consisting of the operating values ​​of all crystallization process parameters, wherein the operating values ​​of all crystallization process parameters are within the safe process range corresponding to their safe operating window.

[0053] In one specific embodiment, S4 includes: S41, obtain the safe process range of each crystallization process parameter according to the safe operation window, and sample and discretize the safe process range of each crystallization process parameter into multiple discrete candidate values ​​at equal intervals.

[0054] Specifically, in this embodiment of the invention, the sampling interval is generally 0.01 times the length of the safety process interval. This division results in a large number of discrete points, which makes the initial parameter set constructed subsequently more diverse.

[0055] S42, perform Cartesian product processing on multiple discrete candidate values ​​of all crystallization process parameters to obtain multiple initial parameter sets.

[0056] Specifically, Cartesian product processing refers to performing a full combination operation on multiple discrete candidate values, thereby obtaining a complete combination of all crystallization process parameters.

[0057] S43, calculate the predicted value of each key quality attribute parameter of each crystallization process parameter and each key quality attribute parameter of crystallization based on the sensitivity of each crystallization process parameter to each key quality attribute parameter of crystallization.

[0058] Specifically, when calculating the predicted value of a key quality attribute parameter for crystallization in a certain initial parameter set, the preset standard value of the key quality attribute parameter is first obtained. Then, the ratio of the discrete candidate value of each crystallization process parameter in the initial parameter set to its safe process interval length is calculated to obtain the candidate coefficient of each crystallization process parameter in the initial parameter set. The sensitivity of the key quality attribute parameter is superimposed with the candidate coefficient of each crystallization process parameter to obtain the single-parameter prediction coefficient of the key quality attribute parameter and each crystallization process parameter in the initial parameter set. The average of the single-parameter prediction coefficients of the key quality attribute parameter and all crystallization process parameters is calculated to obtain the prediction coefficient of the key quality attribute parameter in the initial parameter set. Finally, the preset standard value of the key quality attribute parameter is multiplied by the prediction coefficient to obtain the predicted value of the key quality attribute parameter in the initial parameter set.

[0059] S44. For any initial parameter group, if the predicted values ​​of all key crystallization quality attribute parameters of the initial parameter group meet the standard range of the corresponding key crystallization quality attribute parameters, then the initial parameter group is determined to be a candidate parameter group.

[0060] S5 controls the crystallizer to execute the alternative parameter group and collects key quality attribute parameter data of crystallization in the crystallizer at multiple sampling times in the current sampling cycle in real time.

[0061] Specifically, the particle size distribution, a key quality attribute parameter of crystallization, can be obtained online in real time through focused beam reflectance measurement; purity can be obtained online in real time through Raman spectroscopy; crystal shape can be obtained in real time through online microscopy and a neural network model (the image acquired by the online microscope is input into the neural network model, and the crystal shape is output by the neural network model); and moisture content can be obtained online in real time through near-infrared spectroscopy. The time interval between adjacent sampling times in this embodiment of the invention is 30 seconds.

[0062] S6, based on the key quality attribute parameter data of crystallization at each sampling moment of the current sampling period, predict the crystallization quality of cefuroxime sodium in the next sampling period, and generate correction actions for the crystallization tank in response to the crystallization quality of cefuroxime sodium in the next sampling period.

[0063] Specifically, the duration of the sampling period in this embodiment of the invention is 10 minutes, and the time interval between adjacent sampling periods is generally 30 minutes.

[0064] In one specific embodiment, S6 includes: S61, Generate the quality state matrix for the current sampling period based on the key quality attribute parameter data of crystallization at each sampling moment in the current sampling period.

[0065] Specifically, the rows in the quality state matrix represent the crystallization key quality attribute parameter data at different sampling times; the columns represent the crystallization key quality attribute parameter data for all crystallization key quality attributes at a sampling time.

[0066] S62, construct the initial mapping relationship between the mass value matrix and the mass state matrix based on the unknown coefficients and unknown constants.

[0067] Specifically, firstly, a multi-row, one-column quality value matrix is ​​constructed for the current sampling period. Each element in the quality value matrix represents a quality coefficient corresponding to a key quality attribute parameter of crystallization (obtained by calculating the ratio of the mean of the data of each key quality attribute parameter of crystallization in the current sampling period to its standard value). Assuming the quality state matrix is ​​X and the quality value matrix is ​​Y, the initial mapping relationship between the quality state matrix and the quality value matrix is ​​constructed as: Y = Xw + b1; where w represents the weight coefficient vector and b1 represents the bias (w and b1 are unknown coefficients and unknown constants in this embodiment of the invention).

[0068] S63, calculate the crystal mass of cefuroxime sodium for the next sampling period based on the mass state matrix and initial mapping relationship of the current sampling period.

[0069] In one specific embodiment, S63 includes: S631, calculate the quality value matrix of the current sampling period based on the key quality attribute parameter data of crystallization at each sampling time of the current sampling period, and input the quality value matrix and quality state matrix of the current sampling period into the initial mapping relationship, solve for the relationship between unknown coefficients and unknown constants, and update the initial mapping relationship through the relationship between unknown coefficients and unknown constants to obtain the final mapping relationship between the quality value matrix and the quality state parameters.

[0070] Specifically, the initial mapping relationship is solved using the least squares method to obtain... Where T represents transpose, For augmented matrices, specifically: .Will By inputting the initial mapping relationship, the final mapping relationship between the mass value matrix and the mass state parameters is obtained.

[0071] S632, construct the state vector of the key quality attribute of crystallization at each sampling moment of the current sampling period, and calculate the state vector of the key quality attribute of crystallization at each future sampling moment of the next sampling period based on the pre-trained state transition matrix.

[0072] Specifically, since the current sampling period and the next sampling period are continuous in the time dimension, the state vector of the key crystal quality attribute at each sampling moment of the next sampling period can be predicted using Kalman filtering. Each column of the quality state matrix for the current sampling period is obtained, yielding the state vector of the key crystal quality attribute at each sampling moment. When calculating and predicting the state vector of the key crystal quality attribute at the first future sampling moment of the next sampling period using the state vector of the key crystal quality attribute at the current sampling moment, Kalman filtering, and the pre-trained state transition matrix F, the Kalman filtering model is first constructed as follows: ;in, This represents the preset system noise error at the current sampling time within the current sampling period. This represents the state vector of key crystallization quality attributes at the current sampling time within the current sampling period. This represents the state vector of the key quality attribute of crystallization at the first future sampling moment of the next sampling period. Similarly, the state vector of the key quality attribute of crystallization at the second future sampling moment of the next sampling period is predicted based on the state vector of the key quality attribute of crystallization at the first future sampling moment of the next sampling period, and so on, to continuously predict the state vector of the key quality attribute of crystallization at each future sampling moment of the next sampling period.

[0073] S633, calculate the mass value of the next sampling period based on the final mapping relationship and the state vector of the key quality attribute of crystallization at each future sampling time of the next sampling period, and use the mass value of the next sampling period as the crystallization mass of cefuroxime sodium in the next sampling period.

[0074] Specifically, the predicted quality state matrix for the next sampling period is constructed from the state vectors of the key quality attributes of crystallization at each future sampling time in the next sampling period. The predicted quality state matrix for the next sampling period is then input into the final mapping relationship between the quality state matrix and the quality value matrix to obtain the quality value matrix for the next sampling period. All elements of the quality value matrix for the next sampling period are summed to obtain the quality value for the next sampling period. The quality value for the next sampling period is then used as the crystallization quality of cefuroxime sodium for the next sampling period.

[0075] S64, when the mass of cefuroxime sodium crystals in the next sampling period is less than or equal to the mass threshold, the difference between the mass threshold and the mass of cefuroxime sodium crystals in the next sampling period is calculated as the mass compensation amount.

[0076] S65, define the correction action vector based on multiple crystallization process parameters of the crystallizer, calculate the solution of the correction action vector in combination with the mass compensation amount, and generate the correction action of the crystallizer based on the solution of the correction action vector.

[0077] Specifically, assuming the crystallization process parameters of the crystallizer include temperature, pH value, and feed rate, the elements in the generated correction action vector include: temperature correction value, pH value correction value, and feed rate correction value. Furthermore, the correction action vector defined based on the multiple crystallization process parameters of the crystallizer is an unknown vector here (i.e., an unknown quantity that needs to be obtained through subsequent solutions). Based on the correction action vector... Adjusted new mass state matrix for: Where C represents the preset control matrix. Based on the new mass state matrix and the final mapping relationship, the corrected new mass value matrix is ​​determined, resulting in... ;in, This represents the mass compensation amount; solving the above equation yields the corrected motion vector. The solution.

[0078] Assuming the solution to the corrected action vector is [20, -10, 3], and the solution 20 corresponds to the temperature correction value, -10 corresponds to the feed rate correction value, and 3 corresponds to the pH correction value, then the corrected actions of the crystallizer generated based on the solution of this corrected action vector are: increase the temperature by 20℃, decrease the feed rate by 10, and increase the pH value by 3.

[0079] S7 controls the crystallizer to perform correction actions in the next sampling cycle, thereby optimizing the crystallization process.

[0080] In one specific embodiment, the method provided by the present invention further includes: After all sampling cycles have been completed, the crystallization quality of cefuroxime sodium is measured in the crystallizer. If the quality of the cefuroxime sodium crystals still does not meet the quality requirements, the abnormal crystallization status of the cefuroxime sodium crystals that do not meet the quality requirements is obtained, and a recrystallization action is generated for the corresponding crystallization tank based on the abnormal crystallization status, and the crystallization tank is controlled to perform the recrystallization action on the cefuroxime sodium crystals that do not meet the quality requirements.

[0081] Specifically, in this embodiment of the invention, the quality requirement refers to a preset quality threshold for the crystallization of the finished product. Abnormal crystallization conditions include excessive fine powder, agglomeration, and unqualified purity. When the abnormal crystallization condition is excessive fine powder, the recrystallization action involves increasing the acetone ratio in the acetone-water mixture of the optimal crystallization solvent system, and then continuing the system operation. When the abnormal crystallization condition is agglomeration, the temperature in the acetone-water mixture of the optimal crystallization solvent system is decreased, and then the system operation continues. When the abnormal crystallization condition is unqualified purity, the temperature in the acetone-water mixture of the optimal crystallization solvent system is increased, and then the system operation continues.

[0082] The above description is merely a preferred embodiment of the present invention and is not intended to limit the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the technical principles of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.

Claims

1. A method for optimizing the crystallization process based on the quality properties of cefuroxime sodium, characterized in that, include: S1. Determine the solubility of cefuroxime sodium in acetone-water mixed solvents with multiple preset ratios at multiple preset temperatures, construct temperature-solubility curves for each preset ratio, and determine the optimal crystallization solvent system based on the temperature-solubility curves for each preset ratio. S2, determine the width of the metastable region under the optimal crystallization solvent system, and determine the upper limit of safe supersaturation system based on the width of the metastable region; S3, Match multiple key quality attribute parameters of cefuroxime sodium to the safe supersaturation upper limit system, determine the sensitivity of each key quality attribute parameter to each crystallization process parameter, and generate a safe operating window based on the sensitivity of each key quality attribute parameter to each crystallization process parameter; S4, Generate alternative parameter groups corresponding to the crystallization process parameters based on the safety operation window; S5 controls the crystallizer to execute the alternative parameter group and collects key quality attribute parameter data of crystallization in the crystallizer at multiple sampling times in the current sampling cycle in real time; S6, based on the key quality attribute parameter data of crystallization at each sampling moment of the current sampling period, predict the crystallization quality of cefuroxime sodium in the next sampling period, and generate correction actions for the crystallization tank for the crystallization quality of cefuroxime sodium in the next sampling period. S7 controls the crystallizer to perform correction actions in the next sampling cycle, thereby optimizing the crystallization process.

2. The method for optimizing the crystallization process based on the quality properties of cefuroxime sodium according to claim 1, characterized in that, When determining the optimal crystallization solvent system based on the temperature-solubility curve for each preset ratio, step S1 includes: S11, calculate the slope of the temperature-solubility curve under standard temperature for each preset ratio, and take the preset ratio corresponding to the temperature-solubility curve with a slope not less than the preset slope threshold as the candidate ratio. S12, calculate the normalized slope and normalized solubility of each candidate ratio based on the temperature-solubility curve of each candidate ratio, and multiply the normalized slope of each candidate ratio by the normalized solubility to obtain the comprehensive score of each candidate ratio. S13. Select the candidate ratio with the highest comprehensive score as the optimal ratio, and use the temperature-solubility curve under the optimal ratio as the optimal crystallization solvent system.

3. The method for optimizing the crystallization process based on the quality properties of cefuroxime sodium according to claim 1, characterized in that, S2 includes: S21. Construct multiple temperature ranges based on multiple preset temperatures. In any temperature range, determine the initial crystallization temperature of cefuroxime sodium in any temperature range according to the preset cooling rate and optimal ratio, obtain the cooling solubility corresponding to the initial crystallization temperature, and use the cooling solubility as the cooling solubility corresponding to the left end temperature value in any temperature range. S22, construct the supersolubility curve of the optimal crystallization solvent system based on the cooling solubility corresponding to the left-end temperature value in each temperature range; S23, input the operating temperature into the temperature-solubility curve and supersolubility curve of the optimal crystallization solvent system respectively to obtain the operating solubility and operating supersolubility, and calculate the absolute value of the difference between the operating solubility and operating supersolubility to obtain the width of the metastable region under the optimal crystallization solvent system. S24. Calculate the upper limit of safe temperature and the upper limit of safe solubility based on the preset safety factor and the width of the metastable region, and calculate the upper limit of supersaturation based on the upper limit of safe solubility. The upper limit of safe temperature, the upper limit of safe solubility and the upper limit of supersaturation form a system of upper limit of safe supersaturation.

4. The method for optimizing the crystallization process based on the quality properties of cefuroxime sodium according to claim 1, characterized in that, S3 includes: S31, Match multiple key crystallization quality attribute parameters of cefuroxime sodium in the target quality product file according to the safety oversaturation upper limit system; S32, Obtain the historical crystallization process parameter data for each crystallization process parameter and the historical attribute data corresponding to each key quality attribute parameter in the historical crystallization data of cefuroxime sodium. The historical crystallization process parameter data and the historical attribute data are time-aligned and have the same data volume. S33, Calculate the sensitivity of each crystallization key quality attribute parameter to each crystallization process parameter based on the historical crystallization process parameter data and the historical attribute data corresponding to each crystallization key quality attribute parameter; S34. Based on the sensitivity of each crystallization key quality attribute parameter and each crystallization process parameter, adjust the preset process range of each crystallization process parameter to obtain the safe process range of each crystallization process parameter, and generate a safe operation window from the safe process ranges of all crystallization process parameters.

5. The method for optimizing the crystallization process based on the quality properties of cefuroxime sodium according to claim 4, characterized in that, S33 includes: S331, calculate the sensitivity of each crystallization process parameter to each crystallization key quality attribute parameter at each historical sampling time based on the historical crystallization process parameter data and the historical attribute data corresponding to each crystallization key quality attribute parameter. S332, construct a sensitivity matrix based on the single-sampling-time sensitivity of each crystallization process parameter and each crystallization key quality attribute parameter at each historical sampling time; S333, calculate the sensitivity of each crystallization key quality attribute parameter to each crystallization process parameter based on the sensitivity matrix.

6. The method for optimizing the crystallization process based on the quality properties of cefuroxime sodium according to claim 1, characterized in that, S4 includes: S41, obtain the safe process range of each crystallization process parameter according to the safe operation window, and sample and discretize the safe process range of each crystallization process parameter into multiple discrete candidate values ​​at equal intervals; S42, perform Cartesian product processing on multiple discrete candidate values ​​of all crystallization process parameters to obtain multiple initial parameter sets; S43, calculate the predicted value of each key quality attribute parameter of each crystallization process parameter based on the sensitivity of each crystallization process parameter to each key quality attribute parameter of crystallization; S44. For any initial parameter group, if the predicted values ​​of all key crystallization quality attribute parameters of the initial parameter group meet the standard range of the corresponding key crystallization quality attribute parameters, then the initial parameter group is determined to be a candidate parameter group.

7. The method for optimizing the crystallization process based on the quality properties of cefuroxime sodium according to claim 1, characterized in that, S6 includes: S61, Generate the quality state matrix for the current sampling period based on the key quality attribute parameter data of crystallization at each sampling moment in the current sampling period; S62, construct the initial mapping relationship between the mass value matrix and the mass state matrix based on the unknown coefficients and unknown constants; S63, calculate the crystal mass of cefuroxime sodium for the next sampling period based on the mass state matrix and initial mapping relationship of the current sampling period; S64, when the mass of cefuroxime sodium crystals in the next sampling period is less than or equal to the mass threshold, the difference between the mass threshold and the mass of cefuroxime sodium crystals in the next sampling period is calculated as the mass compensation amount. S65, define the correction action vector based on multiple crystallization process parameters of the crystallizer, calculate the solution of the correction action vector in combination with the mass compensation amount, and generate the correction action of the crystallizer based on the solution of the correction action vector.

8. The method for optimizing the crystallization process based on the quality properties of cefuroxime sodium according to claim 6, characterized in that, S63 includes: S631, calculate the quality value matrix of the current sampling period based on the key quality attribute parameter data of crystallization at each sampling time of the current sampling period, and input the quality value matrix and quality state matrix of the current sampling period into the initial mapping relationship, solve for the relationship between unknown coefficients and unknown constants, and update the initial mapping relationship through the relationship between unknown coefficients and unknown constants to obtain the final mapping relationship between the quality value matrix and the quality state parameters; S632, construct the state vector of the key quality attribute of crystallization at each sampling moment of the current sampling period, and calculate the state vector of the key quality attribute of crystallization at each future sampling moment of the next sampling period based on the pre-trained state transition matrix; S633, calculate the mass value of the next sampling period based on the final mapping relationship and the state vector of the key quality attribute of crystallization at each future sampling time of the next sampling period, and use the mass value of the next sampling period as the crystallization mass of cefuroxime sodium in the next sampling period.

9. The method for optimizing the crystallization process based on the quality properties of cefuroxime sodium according to claim 1, characterized in that, The method further includes: After all sampling cycles have been completed, the crystallization quality of cefuroxime sodium is measured in the crystallizer. If the quality of the cefuroxime sodium crystals still does not meet the quality requirements, the abnormal crystallization status of the cefuroxime sodium crystals that do not meet the quality requirements is obtained, and a recrystallization action is generated for the corresponding crystallization tank based on the abnormal crystallization status, and the crystallization tank is controlled to perform the recrystallization action on the cefuroxime sodium crystals that do not meet the quality requirements.