Online monitoring equipment, monitoring method and device for medicine coating thickness distribution condition
Through the combination of the probe-type Raman spectrometer and the recurrent neural network model, online real-time monitoring and distribution status analysis of the drug coating thickness are realized, providing accurate and timely data support for adjusting the working status of the coating machine, and solving the problems in the existing technology. The problem of lagging test results.
Patent Information
- Application Number
- CN202410525896.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-28
- Publication Date
- 2024-09-17
AI Technical Summary
In the existing technology, the drug coating thickness detection results lag behind, making it impossible to achieve online real-time monitoring and provide accurate data support for adjusting the working status of the coating machine.
A probe-type Raman spectrometer is used to obtain the Raman spectrum in the coating pot in real time. Combined with the pre-trained recurrent neural network (GRU) model, the distribution status results of the coating thickness are generated. Based on this result, a parameter adjustment strategy is generated to adjust the package. Working parameters of the clothes machine.
It realizes online real-time monitoring and distribution status statistics of drug coating thickness, provides accurate and timely data support, and improves the efficiency of adjusting the working status of the coating machine.
Smart Images

Figure CN118654580A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of drug preparation, and in particular to an online monitoring device, a monitoring method and a device for drug coating thickness distribution. Background Art
[0002] Drug coating refers to wrapping a polymer on the outer surface of a solid dosage form according to a certain process, so that after drying, it becomes a multifunctional protective layer that is tightly adhered to the surface of the tablet, one or more layers, which has the functions of masking bad odors, isolation and controlled release. The thickness of the drug coating is one of the key indicators of quality control. A coating layer that is too thin cannot meet the expected sustained-release protection requirements, and a coating layer that is too thick will prolong the coating time and waste coating materials. Coating uniformity is an important feature of film-coated dosage forms and a key indicator of quality control. Poor coating uniformity can lead to problems such as reduced coating function, such as dose dumping, insufficient gastric resistance, poor appearance, and reduced stability. In the existing technology, offline weighing or microscope image measurement methods are often used to detect the thickness of drug coatings. This test method has a low degree of automation, which will cause the measurement results to lag, and it is impossible to achieve online real-time monitoring of coating thickness, and it is impossible to provide accurate data support for the adjustment of the working state of the coating machine. Summary of the invention
[0003] The present invention provides an online monitoring device, a monitoring method and a device for the distribution of drug coating thickness, which are used to solve the technical problem in the prior art that the measurement results are delayed and the online real-time monitoring of the coating thickness state cannot be realized, so as to provide more accurate and timely data support for the working state adjustment of the coating machine through online real-time monitoring of the coating thickness, statistics and analysis of the thickness distribution state.
[0004] The present invention provides an online monitoring device for drug coating thickness distribution, comprising:
[0005] A probe-type Raman spectrometer, the probe of which is inserted into the coating pan of the coating machine to obtain a Raman spectrum of the material to be analyzed in the coating pan in real time;
[0006] A processor, the processor being used to generate a distribution state result of coating thickness according to the Raman spectrum and a pre-stored coating state detection model, and to generate a parameter adjustment strategy based on the distribution state result;
[0007] The coating machine executes a parameter adjustment strategy corresponding to the distribution status result in response to the distribution status result.
[0008] The present invention also provides a method for online monitoring of drug coating thickness distribution, based on the above-mentioned online monitoring device for drug coating thickness distribution, the method comprising:
[0009] Obtain the Raman spectrum in the coating pan in real time;
[0010] Inputting the Raman spectrum into a pre-trained coating state detection model to obtain the coating thickness output by the coating state detection model;
[0011] Counting the thickness intervals of the coating thickness generated within a preset time period to generate a distribution state result of the coating thickness;
[0012] The coating state detection model is based on a pre-built recurrent neural network (GRU), which is trained using the Raman spectra of the coating samples and the corresponding coating thickness values.
[0013] In some embodiments, the thickness intervals of the coating thickness generated within a preset time period are counted to generate a distribution state result of the coating thickness, and then the method further includes:
[0014] Based on the pre-stored analysis strategy, the distribution state results of the coating thickness are analyzed to generate a parameter adjustment strategy, so as to adjust the working parameters of the coating machine according to the parameter adjustment strategy.
[0015] In some embodiments, the analysis strategy comprises:
[0016] When the coating thickness at the target time is less than the target thickness value, the coating speed is increased by adjusting the parameters, and the parameter adjustment includes at least one of increasing the spray rate, increasing the drum speed and increasing the temperature.
[0017] In some embodiments, the distribution status results are output in the form of a chart.
[0018] In some embodiments, the network structure of the pre-built recurrent neural network (GRU) includes:
[0019] An input layer, wherein the input layer is used to obtain a Raman spectrum after dimensionality reduction;
[0020] A hidden layer, wherein the hidden layer includes an update gate and a reset gate, and the hidden layer has 2 layers and 64 nodes;
[0021] The output layer is fully connected to the nodes of the hidden layer and is used to output the coating thickness value.
[0022] In some embodiments, the coating state detection model is obtained by training using the Raman spectrum of the coating sample and the corresponding coating thickness value, which specifically includes:
[0023] Obtain pill samples at multiple target moments during the target work period;
[0024] The coating thickness of the tablet sample at each target time is obtained through offline measurement, and the Raman spectrum at each target time is obtained through online detection;
[0025] The coating thickness results and Raman spectra at the same target time are taken as one data group, and a training set including multiple data groups is constructed;
[0026] Each data group in the training set is input into the recurrent neural network (GRU) for training to obtain the coating state detection model.
[0027] In some embodiments, the Raman spectrum at each target moment is obtained by online detection, and then the following steps are further included:
[0028] The polynomial fitting method was used to perform baseline correction preprocessing on the collected Raman spectra;
[0029] Savitzky-Gol ay filtering method is used to filter out random noise in the Raman spectrum obtained after preprocessing;
[0030] The denoised Raman spectrum is reduced in dimension using the principal component analysis algorithm.
[0031] In some embodiments, a polynomial fitting method is used to perform baseline correction preprocessing on the collected Raman spectrum, specifically including:
[0032] Peak elimination;
[0033] The polynomial fitting approximates the baseline to obtain the baseline;
[0034] Subtract the baseline to obtain the baseline-corrected spectral data.
[0035] The present invention also provides an online monitoring device for drug coating thickness distribution, based on the above-mentioned online monitoring device for drug coating thickness distribution, the device comprises:
[0036] A spectrum acquisition unit, used to acquire the Raman spectrum in the coating pan in real time;
[0037] A thickness generating unit, used for inputting the Raman spectrum into a pre-trained coating state detection model to obtain the coating thickness output by the coating state detection model;
[0038] A result generating unit, used for counting the thickness intervals of the coating thickness generated within a preset time period to generate a distribution state result of the coating thickness;
[0039] The coating state detection model is based on a pre-built recurrent neural network (GRU), which is trained using the Raman spectra of the coating samples and the corresponding coating thickness values.
[0040] The online monitoring device for drug coating thickness distribution provided by the present invention comprises a probe-type Raman spectrometer and a processor, wherein the probe of the probe-type Raman spectrometer extends into a coating pan of a coating machine to obtain a Raman spectrum of the material to be analyzed in the coating pan in real time; the processor is used to generate a distribution state result of the coating thickness according to the Raman spectrum and a pre-stored coating state detection model, and generate a parameter adjustment strategy based on the distribution state result; the coating machine responds to the distribution state result and executes the parameter adjustment strategy corresponding to the distribution state result.
[0041] During the working process, the Raman spectrum in the coating pan is obtained in real time, and the Raman spectrum is input into the pre-trained coating state detection model to obtain the coating thickness output by the coating state detection model; the thickness interval of the coating thickness generated within the preset time is counted to generate the distribution state result of the coating thickness. This solves the technical problem of the lag in measurement results and the inability to realize online real-time monitoring of the coating thickness state in the prior art. Through online real-time monitoring of the coating thickness, statistics and analysis of the thickness distribution state, it provides more accurate and timely data support for the working state adjustment of the coating machine. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0043] Figure 1 One of the flow charts of the method for online monitoring of drug coating thickness distribution provided by the present invention;
[0044] Figure 2 This is the second flow chart of the method for online monitoring of drug coating thickness distribution provided by the present invention;
[0045] Figure 3 Flow chart 3 of the method for online monitoring of drug coating thickness distribution provided by the present invention;
[0046] Figure 4 This is a diagram showing the prediction results of the online monitoring method for the distribution of drug coating thickness provided by the present invention in Example 1;
[0047] Figure 5 This is a diagram showing the prediction results of the online monitoring method for the distribution of drug coating thickness provided by the present invention in Example 2;
[0048] Figure 6This is a diagram showing the prediction results of the online monitoring method for the distribution of drug coating thickness provided by the present invention in Example 3;
[0049] Figure 7 is a scatter plot of coating thickness measured by the software;
[0050] Figure 8 This is a structural block diagram of the online monitoring device for drug coating thickness distribution provided by the present invention. DETAILED DESCRIPTION
[0051] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0052] In order to solve the problems existing in the prior art, the present invention provides an online monitoring device, a monitoring method and a device for the distribution of drug coating thickness. The solution solves the problem that offline sampling and analysis in the experimental process is time-consuming and labor-intensive and the endpoint judgment of the coating process cannot be made in time, improves the automation of coating detection, and reflects the coating thickness and uniformity results in real time, which provides a basis for parameter adjustment in the coating experimental process, provides an effective tool for studying the mechanism of coating experiments, and realizes the integration of Raman spectrum acquisition, processing, coating thickness prediction and uniformity analysis.
[0053] Theoretically, the equipment, method and device provided by the present invention are applicable to solid preparations, including pills, tablets or micropills, preferably pills with a diameter of 3-12 mm or tablets with a diameter of 8-22 mm, wherein the coating material contains a coating powder with a Raman signal, such as Opadry I, Opadry II, etc.
[0054] In a specific embodiment, the online monitoring device for the drug coating thickness distribution provided by the present invention includes a probe-type Raman spectrometer and a processor, and is used in conjunction with a coating machine. The probe of the probe-type Raman spectrometer is installed in the coating pot of the coating machine at a preset angle, and the probe is used to obtain the Raman spectrum of the material to be analyzed in the coating pot in real time. In a specific usage scenario, a probe-type Raman spectrometer can be used, and the step size can be selected from 1mA, 10mA, 50mA and 100mA, the laser power is 0-500mw, the probe working distance is 1-5mm, and the spectral range is 200-4000cm -1 , integration time 8ms-60min.
[0055] The processor can be a computer host or other intelligent terminal, and the processor is used to generate a distribution state result of coating thickness according to the Raman spectrum and the pre-stored coating state detection model, and generate a parameter adjustment strategy based on the distribution state result; that is, the processor stores the pre-trained coating state detection model, the coating machine and the Raman spectrometer operating parameter settings, draws the collected Raman spectrum, calculates the drug coating thickness according to the coating state detection model, counts the drug coating thickness distribution, and analyzes the uniformity of the drug coating thickness. The coating machine responds to the distribution state result and executes the parameter adjustment strategy corresponding to the distribution state result. For example, when the distribution state result indicates that the current coating is thinner than the target value, the parameter adjustment strategy is an operation strategy for controlling the coating machine to increase the coating speed.
[0056] In this embodiment, the coating machine can be a drum coating machine, including a high-efficiency coating machine, a water chestnut coating machine, etc. The load capacity of the coating pot is 0-13kg, and the rotation speed is 0-50r / min. The connection relationship between the coating machine, the probe Raman spectrometer and the processor with a pre-stored coating state detection model, such as a computer host, is that the coating machine and the probe Raman spectrometer are both connected to the computer host, and the operating state of the coating machine and the Raman spectrometer is set by the drug coating thickness distribution online detection and uniformity analysis software in the computer host. The probe of the Raman spectrometer is placed in the coating machine window to collect the Raman spectrum of the system during the coating process in real time.
[0057] The present invention also provides a method for online monitoring of drug coating thickness distribution, based on the above-mentioned online monitoring device for drug coating thickness distribution, such as Figure 1 As shown, the method comprises the following steps:
[0058] S110: obtaining a Raman spectrum in the coating pan in real time;
[0059] S120: Inputting the Raman spectrum into a pre-trained coating state detection model to obtain the coating thickness output by the coating state detection model; wherein the coating state detection model is based on a pre-built recurrent neural network (GRU), and is trained using the Raman spectrum of the coating sample and the corresponding coating thickness value.
[0060] S130: Counting the thickness intervals of the coating thickness generated within a preset time length to generate a distribution state result of the coating thickness; in some embodiments, the distribution state result is output in the form of a chart. For example, the distribution state result can be a coating thickness distribution bar chart fitted based on a standard Gaussian function method, with the half-peak width, mean and correlation result of the Gaussian function respectively representing the uniformity of the thickness distribution, the most probable thickness and the correlation of the fitting, so as to facilitate the subsequent analysis of the distribution state result.
[0061] Furthermore, in addition to being able to achieve online real-time monitoring of coating thickness, the method provided by the present invention can also generate a corresponding parameter adjustment strategy based on the distribution state result, so as to adjust the working parameters of the coating machine according to the parameter adjustment strategy, such as adjusting the state working parameters of the coating machine, or adjusting the start-stop state. During the working process, when it is judged according to the distribution state result that the coating thickness at the current moment is lower than the target thickness value, a parameter adjustment strategy for increasing the coating speed is generated, such as increasing the spray rate, increasing the drum speed and increasing the temperature.
[0062] Specifically, Figure 2 As shown, the thickness intervals of the coating thickness generated within the preset time are counted to generate the distribution state results of the coating thickness, and then it also includes:
[0063] S210: Based on the pre-stored analysis strategy, the coating thickness distribution state result is analyzed to generate a parameter adjustment strategy, and the parameter adjustment strategy is used to control the coating machine to adjust the working parameters. The analysis strategy includes: when the coating thickness at the target time is less than the target thickness value, the coating speed is increased by parameter adjustment, and the parameter adjustment includes at least one of increasing the spray rate, increasing the drum speed, and increasing the temperature.
[0064] The analysis strategy may also be other strategies for modifying relevant operating condition parameters, for example, modifying the coating machine parameter settings, including the hot air temperature, spray rate, atomization pressure, and drum speed parameter settings; the probe Raman spectrometer parameter settings, including the laser power, smoothing width, number of scans, integration time, and laser wavelength parameter settings.
[0065] During the experiment, the coating thickness will not be too thick. If the ideal coating thickness is not reached within the specified time, for example, the ideal coating thickness is 160μm at 90min, but at 80min, the coating thickness calculated by the software is 150μm, then the spray rate can be increased by 1-3mL / min, the drum speed can be increased by 2-5rpm, and the temperature can be increased by 2-5℃ to increase the coating speed. Theoretically, the analysis strategy can also be to generate a shutdown command when the coating thickness at the target time is equal to or greater than the target thickness value, so as to terminate the coating in time.
[0066] In step S120, the network structure of the pre-built recurrent neural network (GRU) includes:
[0067] The input layer is used to obtain the Raman spectrum after dimensionality reduction. The first three principal components after PCA dimensionality reduction are used as input variables of the GRU model.
[0068] Hidden layer, the hidden layer includes an update gate and a reset gate, the hidden layer is 2 layers, 64 nodes; wherein the update gate inputs the Raman spectrum after PCA dimension reduction into the network structure, h t-1 and x t The data is multiplied by its own weight and then the σ function is applied, which is calculated as follows:
[0069] z t =σ(W z ·[h t-1 ,x t ])
[0070] The reset gate is calculated in the same way as the update gate, and is calculated as follows:
[0071] r t =σ(W r ·[h t-1 ,x t ])
[0072] Candidate hidden state: Use the reset gate to store relevant information from the past, apply the nonlinear activation function tanh, and calculate it as follows:
[0073]
[0074] Hidden state: To obtain the final memory of the current time step, h needs to be calculated t , which saves the information of the current unit and passes it to the network. This step requires an update gate, which is calculated as follows:
[0075]
[0076] In the formula, z t is the update gate, r t is the reset gate, x t is the network input at time t, h t is the state of the hidden layer at time t, W is the weight matrix of each gate, σ is the sigmoid(x) nonlinear activation function, which processes the data into a value of [0,1], and tanh is the hyperbolic tangent function, which processes the data into a value of [-1,1]. The formula is as follows:
[0077]
[0078]
[0079] The output layer is fully connected to the nodes of the hidden layer, and is used to output the coating thickness value, and is fully connected to the nodes of the output layer.
[0080] In general, the algorithm structure of the GRU neural network includes an input layer, a hidden layer, and an output layer. The optimizer selects Adam, the batch_size parameter is set to 72, the batch_first parameter is set to True, the number of iterations of the model is 1000, and the initial learning rate is 0.01.
[0081] Based on the above recurrent neural network (GRU), such as Figure 3 As shown, the coating state detection model is obtained by training using the Raman spectrum of the coating sample and the corresponding coating thickness value, which specifically includes the following steps:
[0082] S310: Acquire tablet samples at multiple target moments during a target working period; specifically, acquire tablet samples at multiple target moments during a target working period, and directly acquire coating thickness data using optical coherence tomography or terahertz spectrometer, or perform microscopic section measurement.
[0083] S320: Obtain the coating thickness result of the tablet sample at each target moment through offline measurement, and obtain the Raman spectrum at each target moment through online detection; that is, obtain the Raman spectra at multiple target moments and the coating thickness results of offline measurement corresponding to the Raman spectra, wherein at any target moment, the number of Raman spectrum samples is equal to the total number of detection nodes in the offline measurement.
[0084] S330: taking the coating thickness result and the Raman spectrum at the same target time as one data group, and constructing a training set including multiple data groups;
[0085] S340: Input each data group in the training set into the recurrent neural network (GRU) for training to obtain the coating state detection model.
[0086] It should be understood that in order to improve the accuracy of the model, the generated coating state detection model can also be optimized using the validation set consisting of the above data set.
[0087] During the training process, the polynomial fitting method was used to perform baseline correction preprocessing on the collected Raman spectroscopy data, the Savitzky-Gol ay filtering method was used to filter out random noise, the principal component analysis (PCA) was used to further reduce the data dimension, and finally a recurrent neural network (GRU) was used to establish a quantitative correction model for coating thickness.
[0088] In some embodiments, the Raman spectrum at each target moment is obtained by online detection, and then the following steps are further included:
[0089] The polynomial fitting method was used to perform baseline correction preprocessing on the collected Raman spectra;
[0090] The Savitzky-Gol ay filtering method is used to filter out the random noise in the Raman spectrum obtained after preprocessing;
[0091] The denoised Raman spectrum is reduced in dimension using the principal component analysis algorithm.
[0092] Among them, the polynomial fitting method is used to perform baseline correction preprocessing on the collected Raman spectrum, specifically including:
[0093] Peak elimination;
[0094] The polynomial fitting approximates the baseline to obtain the baseline;
[0095] Subtract the baseline to obtain the baseline-corrected spectral data.
[0096] That is to say, when preprocessing the spectrum, the polynomial fitting method is first used to perform baseline correction preprocessing on the collected Raman spectrum, and then the Savitzky-Gol ay filtering method is used to filter out random noise, and the data is further reduced in dimension through principal component analysis (PCA), and finally a recurrent neural network (GRU) is used to establish a quantitative correction model for coating thickness.
[0097] The polynomial fitting formula is as follows:
[0098]
[0099] Where x is the wavelength and y is the Raman signal response value.
[0100] The formula of Savitzky-Golay filtering method and its moving window average algorithm is as follows:
[0101]
[0102] Where u is the window width; is the average signal strength of the midpoint of window u; x i The intensity value of each point within the window.
[0103] In order to verify the technical effect of the solution provided by the present invention, the implementation process of the solution of the present invention is briefly described below by taking three specific embodiments as examples.
[0104] Embodiment 1:
[0105] Imei stomach-soluble coating powder premix and 800g of protein selenium biconvex tablets with a specification of 0.9mm×5mm were used as coating materials and plain tablets respectively. The coating machine used a water chestnut-type coating machine, and the coating conditions were set as follows: the hot air temperature was 60°C, the exhaust temperature was 54°C, the coating machine speed was 40r / min, the atomization pressure was 1.5bar, the spray rate was 15mL / min, the spray gun was tilted downward at 45°, about 10cm away from the tablet bed, so that the coating suspension was atomized. The Raman probe was fixed at a distance of 5mm from the tablet bed at the entrance of the coating machine. The laser wavelength of the Raman spectrometer is 785nm, the collection power is 500mW, the scanning wavelength setting range during collection is 200-2500nm, the integration time is 1000ms, and the smoothing width is 2. When the coating time is 60min, the coating thickness distribution is as follows Figure 4 As shown, the correlation of the model is 0.997, the RMSE is 0.524 μm, the uniformity (two times the standard deviation) is 26.896 μm, and the most probable thickness is 163.813 μm.
[0106] Embodiment 2:
[0107] Imeiwei-soluble coating powder premix and 800g of mulberry linterus pills with a diameter of 8mm were used as coating materials and plain tablets respectively. The coating machine used a water chestnut-type coating machine, and the coating conditions were set as follows: hot air temperature of 60°C, exhaust temperature of 54°C, coating machine speed of 40r / min, atomization pressure of 1.5bar, spray rate of 15mL / min, spray gun tilted downward at 45°, about 10cm away from the tablet bed, so that the coating suspension was atomized. The Raman probe was fixed at a distance of 5mm from the tablet bed at the inlet of the coating machine. The laser wavelength of the Raman spectrometer was 785nm, the collection power was 500mW, the scanning wavelength setting range during collection was 200-2500nm, the integration time was 1000ms, and the smoothing width was 2. When the coating time was 60min, the coating thickness distribution was as follows Figure 5 As shown, the model has a correlation of 0.992, a RMSE of 0.660 μm, a uniformity (two times the standard deviation) of 26.896 μm, and a most probable thickness of 161.299 μm.
[0108] Embodiment 3:
[0109] Imei stomach-soluble coating powder premix and 500g of protein selenium biconvex tablets with a specification of 0.9mm×5mm were used as coating materials and plain tablets respectively. The coating machine used a water chestnut-type coating machine, and the coating conditions were set as follows: the hot air temperature was 60°C, the exhaust temperature was 54°C, the coating machine speed was 40r / min, the atomization pressure was 1.5bar, the spray rate was 10mL / min, the spray gun was tilted downward at 45°, about 10cm away from the tablet bed, so that the coating suspension was atomized. The Raman probe was fixed at a distance of 5mm from the tablet bed at the inlet of the coating machine. The laser wavelength of the Raman spectrometer was 785nm, the collection power was 500mW, the scanning wavelength setting range during collection was 200-2500nm, the integration time was 1000ms, and the smoothing width was 2. When the coating time was 60min, the coating thickness distribution was as follows Figure 6 and Figure 7 As shown, the uniformity (two times the standard deviation) of the model is 16.491 μm and the most probable thickness is 164.729 μm.
[0110] In this way, the online monitoring method for the distribution of drug coating thickness provided by the present invention obtains the Raman spectrum in the coating pan in real time, inputs the Raman spectrum into the pre-trained coating state detection model to obtain the coating thickness output by the coating state detection model; and the thickness interval of the coating thickness generated within a preset time is counted to generate the distribution state result of the coating thickness. This solves the technical problem of the lag in the measurement results in the prior art and the inability to realize the online real-time monitoring of the coating thickness state. Through the online real-time monitoring of the coating thickness, the statistics and analysis of the thickness distribution state, it provides more accurate and timely data support for the working state adjustment of the coating machine.
[0111] In addition to the above method, the present invention also provides an online monitoring device for the distribution of drug coating thickness, such as Figure 8 As shown, the device comprises:
[0112] Spectrum acquisition unit 810, used to acquire the Raman spectrum in the coating pan in real time;
[0113] A thickness generating unit 820, for inputting the Raman spectrum into a pre-trained coating state detection model to obtain the coating thickness output by the coating state detection model;
[0114] A result generating unit 830, for counting the thickness intervals of the coating thickness generated within a preset time period to generate a distribution state result of the coating thickness;
[0115] The coating state detection model is based on a pre-built recurrent neural network (GRU), which is trained using the Raman spectra of the coating samples and the corresponding coating thickness values.
[0116] In some embodiments, the thickness intervals of the coating thickness generated within a preset time period are counted to generate a distribution state result of the coating thickness, and then the method further includes:
[0117] Based on the pre-stored analysis strategy, the distribution state results of the coating thickness are analyzed to generate a parameter adjustment strategy, so as to adjust the working parameters of the coating machine according to the parameter adjustment strategy.
[0118] In some embodiments, the analysis strategy comprises:
[0119] When the coating thickness at the target time is less than the target thickness value, the coating speed is increased by adjusting the parameters, and the parameter adjustment includes at least one of increasing the spray rate, increasing the drum speed and increasing the temperature.
[0120] In some embodiments, the distribution status results are output in the form of a chart.
[0121] In some embodiments, the network structure of the pre-built recurrent neural network (GRU) includes:
[0122] An input layer, wherein the input layer is used to obtain a Raman spectrum after dimensionality reduction;
[0123] A hidden layer, wherein the hidden layer includes an update gate and a reset gate, and the hidden layer has 2 layers and 64 nodes;
[0124] The output layer is fully connected to the nodes of the hidden layer and is used to output the coating thickness value.
[0125] In some embodiments, the coating state detection model is obtained by training using the Raman spectrum of the coating sample and the corresponding coating thickness value, which specifically includes:
[0126] Obtain pill samples at multiple target moments during the target work period;
[0127] The coating thickness of the tablet sample at each target time is obtained through offline measurement, and the Raman spectrum at each target time is obtained through online detection;
[0128] The coating thickness results and Raman spectra at the same target time are taken as one data group, and a training set including multiple data groups is constructed;
[0129] Each data group in the training set is input into the recurrent neural network (GRU) for training to obtain the coating state detection model.
[0130] In some embodiments, the Raman spectrum at each target moment is obtained by online detection, and then the following steps are further included:
[0131] The polynomial fitting method was used to perform baseline correction preprocessing on the collected Raman spectra;
[0132] The Savitzky-Gol ay filtering method is used to filter out the random noise in the Raman spectrum obtained after preprocessing;
[0133] The denoised Raman spectrum is reduced in dimension using the principal component analysis algorithm.
[0134] In some embodiments, a polynomial fitting method is used to perform baseline correction preprocessing on the collected Raman spectrum, specifically including:
[0135] Peak elimination;
[0136] The polynomial fitting approximates the baseline to obtain the baseline;
[0137] Subtract the baseline to obtain the baseline-corrected spectral data.
[0138] The online monitoring device for drug coating thickness distribution provided by the present invention comprises a probe-type Raman spectrometer and a processor, wherein the probe of the probe-type Raman spectrometer extends into a coating pan of a coating machine to obtain a Raman spectrum of the material to be analyzed in the coating pan in real time; the processor is used to generate a distribution state result of the coating thickness according to the Raman spectrum and a pre-stored coating state detection model, and generate a parameter adjustment strategy based on the distribution state result; the coating machine responds to the distribution state result and executes the parameter adjustment strategy corresponding to the distribution state result.
[0139] During the working process, the Raman spectrum in the coating pan is obtained in real time, and the Raman spectrum is input into the pre-trained coating state detection model to obtain the coating thickness output by the coating state detection model; the thickness interval of the coating thickness generated within the preset time is counted to generate the distribution state result of the coating thickness. This solves the technical problem of the lag in measurement results and the inability to realize online real-time monitoring of the coating thickness state in the prior art. Through online real-time monitoring of the coating thickness, statistics and analysis of the thickness distribution state, it provides more accurate and timely data support for the working state adjustment of the coating machine.
[0140] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0141] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0142] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. An online monitoring device for drug coating thickness distribution, It is characterized in that include: A probe-type Raman spectrometer, wherein the probe of the probe-type Raman spectrometer extends into the coating pan of the coating machine to obtain a Raman spectrum of the material to be analyzed in the coating pan in real time; A processor, the processor being used to generate a distribution state result of coating thickness according to the Raman spectrum and a pre-stored coating state detection model, and to generate a parameter adjustment strategy based on the distribution state result; The coating machine executes a parameter adjustment strategy corresponding to the distribution status result in response to the distribution status result.
2. A method for online monitoring of drug coating thickness distribution, based on the online monitoring device for drug coating thickness distribution according to claim 1, It is characterized in that The method comprises: Obtain the Raman spectrum in the coating pan in real time; Inputting the Raman spectrum into a pre-trained coating state detection model to obtain the coating thickness output by the coating state detection model; Counting the thickness intervals of the coating thickness generated within a preset time period to generate a distribution state result of the coating thickness; The coating state detection model is based on a pre-built recurrent neural network and is trained using the Raman spectra of the coating samples and the corresponding coating thickness values.
3. The method for online monitoring of drug coating thickness distribution according to claim 2, It is characterized in that The thickness intervals of the coating thickness generated within the preset time are counted to generate the distribution state results of the coating thickness, and then the following are included: Based on the pre-stored analysis strategy, the distribution state results of the coating thickness are analyzed to generate a parameter adjustment strategy, so as to adjust the working parameters of the coating machine according to the parameter adjustment strategy.
4. The method for online monitoring of drug coating thickness distribution according to claim 3, It is characterized in that The analysis strategy includes: When the coating thickness at the target time is less than the target thickness value, the coating speed is increased by adjusting the parameters, and the parameter adjustment includes at least one of increasing the spray rate, increasing the drum speed and increasing the temperature.
5. The method for online monitoring of drug coating thickness distribution according to claim 3, It is characterized in that The distribution status results are output in the form of graphs.
6. The method for online monitoring of drug coating thickness distribution according to any one of claims 2 to 5, It is characterized in that The network structures of the pre-built recurrent neural networks include: An input layer, wherein the input layer is used to obtain a Raman spectrum after dimensionality reduction; A hidden layer, wherein the hidden layer includes an update gate and a reset gate, and the hidden layer has 2 layers and 64 nodes; The output layer is fully connected to the nodes of the hidden layer and is used to output the coating thickness value.
7. The method for online monitoring of drug coating thickness distribution according to claim 6, It is characterized in that The coating state detection model is obtained by training using the Raman spectrum of the coating sample and the corresponding coating thickness value, which specifically includes: Obtain pill samples at multiple target moments during the target work period; The coating thickness of the tablet sample at each target time is obtained through offline measurement, and the Raman spectrum at each target time is obtained through online detection; The coating thickness results and Raman spectra at the same target time are taken as one data group, and a training set including multiple data groups is constructed; Each data group in the training set is input into the recurrent neural network for training to obtain the coating state detection model.
8. The method for online monitoring of drug coating thickness distribution according to claim 2, It is characterized in that The Raman spectrum of each target moment is obtained through online detection, followed by: The polynomial fitting method was used to perform baseline correction preprocessing on the collected Raman spectra; Savitzky-Golay filtering method is used to filter out random noise in the Raman spectrum obtained after preprocessing; The denoised Raman spectrum is reduced in dimension using the principal component analysis algorithm.
9. The method for online monitoring of drug coating thickness distribution according to claim 8, It is characterized in that The polynomial fitting method is used to perform baseline correction preprocessing on the collected Raman spectra, including: Peak elimination; The polynomial fitting approximates the baseline to obtain the baseline; Subtract the baseline to obtain the baseline-corrected spectral data.
10. An online monitoring device for drug coating thickness distribution, based on the online monitoring device for drug coating thickness distribution according to claim 1, It is characterized in that The device comprises: A spectrum acquisition unit, used to acquire the Raman spectrum in the coating pan in real time; A thickness generating unit, used for inputting the Raman spectrum into a pre-trained coating state detection model to obtain the coating thickness output by the coating state detection model; A result generating unit, used for counting the thickness intervals of the coating thickness generated within a preset time period to generate a distribution state result of the coating thickness; The coating state detection model is based on a pre-built recurrent neural network and is trained using the Raman spectra of the coating samples and the corresponding coating thickness values.
Citation Information
Cited By
Drug coating thickness OCT real-time detection method and system suitable for assembly line
CN119197348A
GRU regression model and method for realizing intelligent detection of deltamethrin pesticide residues by using same
CN120744869A
Drug coating state detection system and method
CN120948459A
Ampicillin tablet and preparation method thereof
CN121622598A
