Method and system for detecting impurities in glucosamine production process

By sampling and combining production logs during glucosamine production, impurity detection models and optimizing process parameters, the problem of insufficient impurity control in glucosamine production is solved, and the stability of product quality and efficient impurity removal effect is achieved.

CN119619020AActive Publication Date: 2025-03-14JIYUAN BIOLOGICAL PROD (XUZHOU) CO LTD

Patent Information

Application Number
CN202411714755.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-27
Publication Date
2025-03-14
Estimated Expiration
2044-11-27

AI Technical Summary

Technical Problem

Inadequate control of impurities during glucosamine production, it is difficult for the prior art to achieve efficient impurity removal and stability of product purity.

Method used

By taking samples during the trial production of glucosamine, obtaining quality control samples of multiple production steps, extracting impurity type sets in combination with the production log, configuring impurities detection models and call tables, analyzing the accumulation law of sample impurities, positioning the key steps and their corresponding impurity types, and optimizing process parameters based on this, configuring an online detection module to realize dynamic detection and early warning of impurity deviations.

Benefits of technology

It improves the accuracy and efficiency of impurity control in glucosamine production, and ensures the consistency and stability of product quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119619020A_ABST
    Figure CN119619020A_ABST
Patent Text Reader

Abstract

The invention discloses an impurity detection method and system in a glucosamine production process, and relates to the technical field of detection.The method comprises the steps that quality control samples of multiple steps are obtained through sampling, an impurity type set is extracted in combination with a production log, and an impurity detection model and a call table are configured. Performing accumulation rule analysis on sample impurities, positioning key steps and impurity types corresponding to the key steps, optimizing process parameters based on the key steps, and configuring an online detection module. Optimized process parameters are applied in the key steps, and dynamic monitoring and early warning of impurity deviation are achieved through an online detection module. The technical problem of insufficient impurity control in the existing glucosamine production process is solved, and the technical effects of improving the impurity control precision and efficiency in glucosamine production and ensuring the consistency and stability of product quality are achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of detection technology, and in particular to a method and system for detecting impurities in the production process of glucosamine. Background Art

[0002] Glucosamine is an important raw material for medicine and health products. The stability of product purity and quality during its production process is crucial to the safety and effectiveness of the final application. However, due to the accumulation, transformation or retention of various impurities during the production process, it is often difficult for the purity of the final product to meet high standards. Most of the existing technologies use single-point detection and offline analysis methods, which cannot fully reflect the change law of impurities in the production process, and it is difficult to respond in time, affecting production optimization and control. Especially in multi-step production, it is still a difficult problem to accurately locate the key process steps and their corresponding impurity types to achieve efficient impurity removal. Therefore, there is an urgent need for a real-time monitoring and optimization control method that combines production process data to improve product quality and production efficiency while reducing production costs.

[0003] In the current relevant technologies, there is a technical problem of insufficient impurity control in the production process of glucosamine. Summary of the invention

[0004] The present application solves the technical problem of insufficient impurity control in the existing glucosamine production process by providing a method and system for detecting impurities in the glucosamine production process.

[0005] The present application provides a method for detecting impurities in the production process of glucosamine, including: By sampling during the trial production of glucosamine, multiple quality control samples of multiple production steps are obtained, wherein the multiple production steps have multiple execution order identifiers; after obtaining a sample impurity type set through an interactive production log, an impurity detection model is configured according to the sample impurity type set to obtain a detection model call table; an impurity accumulation law analysis is performed on the multiple quality control samples, and K groups of key impurity types of K key steps are located based on the analysis results, wherein the K key steps have K execution order identifiers; with the K groups of key impurity types as impurity removal guides, the K key steps are coupled optimized according to the K execution order identifiers, and K optimized process parameters are output; online detection function configuration is performed on the K key steps according to the K groups of key impurity types and the detection model call table to obtain K online detection modules; after the process parameters of the K key steps are updated using the K optimized process parameters, dynamic detection and early warning of impurity deviations in the glucosamine production process are performed through the K online detection modules.

[0006] The present application also provides an impurity detection system in the glucosamine production process, including: A quality control sample acquisition module, the quality control sample acquisition module is used to obtain multiple quality control samples of multiple production steps by sampling during the trial production of glucosamine, wherein the multiple production steps have multiple execution order identifiers; an impurity detection model configuration module, the impurity detection model configuration module is used to obtain a sample impurity type set through interactive production logs, configure the impurity detection model according to the sample impurity type set, and obtain a detection model call table; a cumulative law analysis module, the cumulative law analysis module is used to perform impurity cumulative law analysis on the multiple quality control samples, and locate K groups of key impurity types of K key steps based on the analysis results, wherein the K key steps have K execution order identifiers. order identification; a coupling optimization module, the coupling optimization module is used to use the K groups of key impurity types as impurity removal guides, perform coupling optimization on the K key steps according to the K execution order identifications, and output K optimized process parameters; an online detection function configuration module, the online detection function configuration module is used to perform online detection function configuration on the K key steps according to the K groups of key impurity types and the detection model call table, and obtain K online detection modules; a dynamic detection and early warning module, the dynamic detection and early warning module is used to perform dynamic detection and early warning of impurity deviations in the glucosamine production process through the K online detection modules after the process parameters of the K key steps are updated using the K optimized process parameters.

[0007] The impurity detection method and system in the glucosamine production process proposed in this application first obtains quality control samples of multiple steps through sampling, extracts the impurity type set in combination with the production log, and configures the impurity detection model and call table. The cumulative law analysis of sample impurities is carried out to locate the key steps and their corresponding impurity types, and based on this, the process parameters are optimized and the online detection module is configured. The optimized process parameters are applied in the key steps, and the dynamic monitoring and early warning of impurity deviations are realized through the online detection module, so as to achieve the technical effect of improving the accuracy and efficiency of impurity control in glucosamine production and ensuring the consistency and stability of product quality. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] In order to more clearly illustrate the technical solution of the embodiment of the present invention, the accompanying drawings of the embodiment of the present invention will be briefly introduced below. A flow chart is used in the present application to illustrate the operations performed by the system according to the embodiment of the present application. It should be understood that the preceding or following operations are not necessarily performed accurately in order. On the contrary, various steps can be processed in reverse order or simultaneously as needed. At the same time, other operations can also be added to these processes, or one or more operations can be removed from these processes.

[0009] Figure 1 A schematic flow chart of a method for detecting impurities in the glucosamine production process provided in an embodiment of the present application.

[0010] Figure 2 A schematic diagram of the structure of an impurity detection system in the glucosamine production process provided in an embodiment of the present application.

[0011] Explanation of the reference numerals: quality control sample acquisition module 10 , impurity detection model configuration module 20 , accumulation rule analysis module 30 , coupling optimization module 40 , online detection function configuration module 50 , dynamic detection warning module 60 . DETAILED DESCRIPTION

[0012] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below.

[0013] In order to make the objectives, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. The described embodiments should not be regarded as limiting the present application. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of this application.

[0014] In the following description, reference is made to "some embodiments", which describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict, and the terms "first\second" involved are merely to distinguish similar objects and do not represent a specific ordering of objects. The terms "including" and "having" and any variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product, or server that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or modules that are not clearly listed or inherent to these processes, methods, products, or devices. Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those generally understood by technicians in the technical field of this application. The terms used herein are for the purpose of describing the embodiments of the present application only.

[0015] The present application provides a method and system for detecting impurities in the production process of glucosamine. Figure 1 As shown, the method includes: Step S100, by sampling during the trial production of glucosamine, a plurality of quality control samples of a plurality of production steps are obtained, wherein the plurality of production steps have a plurality of execution order identifiers. Specifically, before the trial production of glucosamine, the production process is first planned and sorted out, each link is clarified and assigned an execution order identifier. Then, the sampling points are determined according to the production steps and key links, and liquid samples are collected as quality control samples using professional equipment specifications at different stages such as after raw material processing, during the reaction, before and after purification of intermediate products, and after synthesis of the final product. After collection, the sample is labeled and recorded with information, including production step identification, sampling time, location, and operator, and an archive is established to record the appearance and preliminary physical and chemical properties. Subsequently, the sample is properly stored and the pre-treated reagents, instruments, equipment, and operating procedures are prepared according to the test requirements to prevent the sample from deteriorating or being interfered with, and to ensure the accuracy and comparability of the test results.

[0016] Step S200, after obtaining the sample impurity type set through the interactive production log, the impurity detection model is configured according to the sample impurity type set to obtain the detection model call table. Specifically, firstly, the production log of glucosamine is interacted to mine and sort out the sample impurity type set, then the network call data is constructed for M types of sample impurity types, and M sample impurity spectrum atlases containing M sample impurity content identification sets are integrated and classified, and then the M types of sample impurity types are used as constraints to obtain composite and single-dimensional impurity spectrum graphs through the network, and these are used to construct a layer separation model, and M impurity content identification branches are constructed according to the spectrum atlas set and the content identification set, and the layer separation model and the identification branch are connected to form an impurity detection model, and finally the M types of sample impurity types and the M impurity content identification branches are associated and stored to construct the detection model call table and store it, so as to detect impurities efficiently and accurately during the production process.

[0017] In a possible implementation, after obtaining a sample impurity type set through interactive production logs, an impurity detection model is configured according to the sample impurity type set to obtain a detection model call table, and step S200 further includes step S210, performing online data call according to M sample impurity types in the sample impurity type set to obtain M sample impurity spectrum atlases of the M sample impurity types, wherein the M sample impurity spectrum atlases have M sample impurity content identification sets. Specifically, based on the M sample impurity types in the sample impurity type set, the online data call program is started. Connect to professional chemical databases, spectral data sharing platforms of scientific research institutions, and large data resource libraries within the industry, etc. In these massive data resources, accurate search algorithms and data screening technologies are used to search and match one by one according to the M sample impurity types. For example, if one of the sample impurity types is a metal ion impurity, the spectral data of the metal ion in different chemical environments and different concentrations is searched in the database. The spectral data corresponding to each sample impurity type searched is sorted and classified to obtain M sample impurity spectrum atlases. In addition, in the process of constructing these atlases, M sample impurity content identification sets are simultaneously established. This is done by analyzing and extracting a large amount of spectral data with precise impurity content annotations in the database to determine the quantitative relationship between different spectral features and specific impurity content, so that the impurity content can be inferred based on the spectral features when testing unknown samples later.

[0018] Step S220, using the M types of sample impurity types as constraints to perform networked data calls, and obtain multiple sample composite impurity spectra and multiple groups of sample single-dimensional impurity spectra. Specifically, using the M types of sample impurity types as constraints, we delve into networked data resources, focusing on obtaining diverse spectra, including sample composite impurity spectra reflecting the mixing of multiple impurities, screening spectral data containing a mixture of multiple known impurities, simulating the effects of impurity coexistence and interaction on spectral characteristics in glucosamine production; and multiple groups of sample single-dimensional impurity spectra focusing on the specific dimensional characteristics of a single impurity, the data is derived from information under a specific wavelength range, polarization direction or spectral analysis technology, and due to the impurity composition limitations of the composite impurity spectrum, it can be decomposed from the composite spectrum or extracted from the single impurity spectrum resources to accurately present the specific dimensional spectral characteristics of a single impurity.

[0019] Step S230, constructing a layer separation model based on the multiple sample composite impurity spectra and multiple groups of sample single-dimensional impurity spectra. Specifically, a layer separation model is constructed based on multiple sample composite impurity spectra and multiple groups of sample single-dimensional impurity spectra, and image analysis algorithms and chemometric principles are used to extract composite impurity spectra features, such as peak position, peak shape, peak intensity and spectral curve trend. Cluster analysis, principal component analysis and other methods are used to separate different impurity spectral information in the composite spectra into different layers, and the sample single-dimensional impurity spectra are used as reference standards for verification and optimization. After repeated adjustment of model parameters and algorithm structure, the model can accurately separate M or less impurity spectral information in the composite impurity spectra to corresponding layers, providing a clear and independent spectral data source for impurity content identification.

[0020] Step S240, based on the M sample impurity spectrum atlases and the M sample impurity content identification sets, M impurity content identification branches are constructed. Specifically, M impurity content identification branches are constructed based on the M sample impurity spectrum atlases and the M sample impurity content identification sets. For each impurity content identification branch, the corresponding sample impurity spectrum atlas is used as the main learning data source. Regression analysis algorithms in machine learning are adopted, such as linear regression, multivariate regression or support vector regression. The spectral feature data in the sample impurity spectrum atlas is used as the input variable, and the impurity content data in the corresponding sample impurity content identification set is used as the output variable to perform model training. During the training process, the parameters of the model, such as regression coefficients, kernel function parameters, etc., are continuously optimized to improve the degree of fit of the model to the relationship between spectral features and impurity content. After training and verification of a large amount of data, each impurity content identification branch can accurately predict the content of the impurity based on the specific impurity spectral features of the input unknown sample, thereby realizing the content identification function of M types of sample impurity types.

[0021] Step S250, after the M impurity content identification branches are connected in parallel and the M sample impurity types are used to identify the M impurity content identification branches, the output end of the layer separation model is connected to the input end of the M impurity content identification branches to complete the construction of the impurity detection model. Specifically, the M impurity content identification branches are connected in parallel so that they can independently identify the content of the corresponding impurity types. Then, the M sample impurity types are used to identify the M impurity content identification branches respectively, and the function of each branch and the corresponding impurity type are clarified. The output end of the layer separation model is connected to the input end of the M impurity content identification branches to construct a complete impurity detection model. When the spectral data of an unknown sample is input, the layer separation model is first entered, and the impurity spectral information therein is separated into different layers according to different impurity types, and then the spectral data of each layer is respectively input into the corresponding impurity content identification branch, and these branches predict and analyze the impurity content, and finally the content information of the M sample impurity types in the unknown sample is obtained, so as to realize comprehensive and accurate detection of sample impurities.

[0022] Step S260, the M types of sample impurity types and the M impurity content identification branches are stored in association, and the construction of the detection model call table is completed. Specifically, the M types of sample impurity types and the M impurity content identification branches are stored in association to construct a detection model call table. In this process, the M types of sample impurity types are used as index keywords, and the corresponding M impurity content identification branches are used as storage content or link addresses pointing to branches. For example, it can be stored in the form of a database table, in which one column records the sample impurity type and the other column records the relevant information of the corresponding impurity content identification branch. In this way, when actually performing impurity detection, when it is necessary to detect a certain specific sample impurity type, it is only necessary to query the detection model call table to quickly locate the corresponding impurity content identification branch, thereby calling the branch for impurity content detection. This method greatly improves the efficiency and flexibility of the impurity detection model in practical applications, ensuring that impurities in the glucosamine production process can be detected and monitored quickly and accurately.

[0023] Step S300, analyze the impurity accumulation rules of the multiple quality control samples, and locate K groups of key impurity types of K key steps based on the analysis results, wherein the K key steps have K execution order identifiers. Specifically, firstly, for multiple liquid quality control samples, use the impurity detection model to divide the first quality control sample into N step sub-samples and generate N real-time impurity spectra using an infrared spectrometer, synchronize them to the layer separation model to separate H real-time single-dimensional spectra of H sample impurity types, input the impurity content identification branch according to the corresponding relationship to obtain H real-time impurity contents to form the first real-time impurity information, process the N real-time impurity spectra in this way to obtain N real-time impurity information, aggregate and extract the first sample impurity content set with the highest value, repeat the operation to obtain multiple sample impurity content sets, construct an impurity distribution matrix with the sample impurity type set as a constraint, and locate K key steps and K groups of key impurity types and clarify their K execution order identifiers through operations such as cumulative amount calculation, cumulative rate analysis, cross-step impurity removal contribution analysis, and single-step weighted calculation.

[0024] In one possible implementation, an impurity accumulation regularity analysis is performed on the multiple quality control samples, and K groups of key impurity types of K key steps are located based on the analysis results, wherein the K key steps have K execution order identifiers, and step S300 further includes step S310, using the impurity detection model to poll and detect the multiple quality control samples to obtain multiple sample impurity content sets. Specifically, after the quality control liquid samples collected from each step of glucosamine production are sorted out, the impurity detection model is enabled for polling detection, and a sample is divided into N step sub-samples according to key production factors. A high-precision infrared spectrometer is used to generate N real-time impurity spectra containing impurity molecule information. The first real-time impurity spectrum is sent to a layer separation model, and H real-time single-dimensional spectra of H types of sample impurity types are separated according to the spectral feature library and the image analysis algorithm. Then, M impurity content identification branches are introduced according to the corresponding relationship. With the help of regression analysis, it is concluded that the H real-time impurity contents constitute the first real-time impurity information. In this way, N real-time impurity spectra are processed to obtain N real-time impurity information, and the extreme value information is summarized, integrated and extracted to construct a first sample impurity content set. The operation is repeated to complete all sample detections to obtain multiple sample impurity content sets.

[0025] Step S320, taking the sample impurity type set as a constraint, construct and generate an impurity distribution matrix according to the multiple sample impurity content sets. Specifically, the impurity distribution matrix is ​​constructed based on the sample impurity type set as a constraint, each row of which represents a specific impurity type such as heavy metal impurities, solvent residues, oxidation byproducts, etc., and each column corresponds to each production step from raw material pretreatment to final product molding. The matrix element values ​​are derived from multiple sample impurity content sets, that is, the detection concentration or mass data of a certain impurity in a specific production step. For example, the value of the column corresponding to the heavy metal impurity in the decalcification step is the average concentration or total mass of this step in all samples. This construction method integrates scattered data to make the impurity distribution clear, laying a solid data foundation for analyzing the accumulation law.

[0026] Step S330, perform cumulative law analysis according to the impurity distribution matrix, and locate the K key steps and K groups of key impurity types based on the analysis results. Specifically, based on the impurity distribution matrix, first calculate the impurity accumulation, and add the column element values ​​of each production step according to the impurity type in each row of the matrix, such as calculating the cumulative total amount of heavy metal impurities in multiple steps, so as to understand the overall accumulation and screen the key impurity types; then perform cumulative rate analysis, calculate the change rate of impurity content in adjacent steps to determine the growth rate, such as the change rate of heavy metal impurities between decalcification and deacidification steps, to find out the key production interval; then carry out cross-step impurity removal contribution analysis, evaluate the effect of specific steps on impurity removal and subsequent impact, such as the effect of purification steps on solvent residues, and determine the key hub steps to improve impurity removal efficiency.

[0027] Step S340, according to the K key steps, K sample impurity content sets and the K execution order identifiers are obtained by calling from the multiple execution order identifiers and multiple sample impurity content sets. Specifically, the single-step weighted calculation is carried out by comprehensively considering factors such as the impurity accumulation, accumulation rate and cross-step impurity removal contribution. According to the influence of each factor on product quality and production process, weights are assigned to impurity types and production steps, and high weights are assigned to those with high accumulation, fast rate and low impurity removal contribution. After weighted calculation, K key steps and K groups of key impurity types are accurately located from many steps and impurity types. For example, a production step with a high accumulation, fast rate and low impurity removal contribution of a specific impurity is a key step, and the corresponding impurity is a key impurity type. At the same time, the execution order identifier is extracted according to the K key steps, and the corresponding sample impurity content set is called to provide goals and data support for process optimization and impurity control.

[0028] In a possible implementation, the impurity detection model is used to poll and detect the multiple quality control samples to obtain multiple sample impurity content sets. Step S310 further includes step S311, after the first quality control sample is divided into N step sub-samples, an infrared spectrometer is used to generate N real-time impurity spectra of the N step sub-samples. Specifically, first, for the first quality control sample, it is accurately divided into N step sub-samples according to each key link or stage feature in the production process. Since each step has a corresponding liquid quality control sample, this division can carefully reflect the changes in products and impurities at different production stages. After the division is completed, the N step sub-samples are detected separately using a high-precision infrared spectrometer. The infrared spectrometer generates N real-time impurity spectra of N step sub-samples by emitting infrared light in a specific wavelength range and detecting the absorption of these lights by the sample. These spectra are presented in the form of unique spectral curves, which contain rich information, such as the vibration absorption peak position and intensity of specific chemical bonds in impurity molecules, which can serve as an important basis for identifying impurity types and contents.

[0029] Step S312, synchronize the first real-time impurity spectrum to the layer separation model of the impurity detection model, perform layer separation based on the impurity type, and obtain H real-time single-dimensional spectra of H sample impurity types, where H is a positive integer less than or equal to M. Specifically, the first real-time impurity spectrum is transmitted to the layer separation model in the pre-built impurity detection model. The model relies on a powerful algorithm and a rich impurity spectrum feature library to perform a fine layer separation operation on the composite first real-time impurity spectrum based on the impurity type. During the separation process, the model will decompose the first real-time impurity spectrum into H real-time single-dimensional spectra of H sample impurity types according to the characteristic differences shown by different impurity types on the spectrum, such as the characteristic absorption peak position, peak shape and relative intensity of the peak of different impurities. Here, H is a positive integer less than or equal to M, which means that the number of separated impurity types will not exceed the predetermined total number of sample impurity types M, thereby ensuring the accuracy and effectiveness of the separation results. Each single-dimensional spectrum focuses on a specific impurity type, laying a solid foundation for the subsequent accurate impurity content identification.

[0030] Step S313, according to the correspondence between the H sample impurity types and the M impurity content identification branches in the impurity detection model, the H real-time single-dimensional spectra are guided to be input into the H impurity content identification branches for directional identification of impurity content, and H real-time impurity contents are obtained, wherein the H real-time impurity contents constitute the first real-time impurity information. Specifically, according to the pre-set correspondence between the H sample impurity types and the M impurity content identification branches in the impurity detection model, the H real-time single-dimensional spectra are accurately guided to be input into the corresponding H impurity content identification branches. These impurity content identification branches are intelligent modules trained based on a large amount of sample data, and they use advanced machine learning algorithms, such as linear regression, multivariate regression or neural network regression. When the single-dimensional spectra are input, the branch model will extract the key feature data in the spectra, and perform directional identification calculation of the impurity content based on the mathematical relationship between these data and the known impurity content samples, and finally obtain H real-time impurity contents. These real-time impurity contents together constitute the first real-time impurity information, which can reflect the impurity content of the first quality control sample in the current production step in real time, providing timely and accurate data support for quality monitoring in the production process.

[0031] Step S314, and so on, the impurity detection model is used to analyze the N real-time impurity spectra to obtain N real-time impurity information. Specifically, according to the same process and method as above, the impurity detection model is used to perform in-depth analysis on the N real-time impurity spectra in turn. For each real-time impurity spectra, the operation steps of layer separation, single-dimensional spectrum acquisition and directional identification of impurity content are repeated to obtain N complete real-time impurity information. These real-time impurity information covers various information such as the impurity type, content and related spectral characteristics of the first quality control sample in each subdivided production step. They are a comprehensive and detailed description of the impurity situation of the first quality control sample, and provide rich data resources for subsequent further analysis and processing.

[0032] Step S315, after aggregating the N real-time impurity information based on the impurity type, perform an extreme value extraction of the impurity content to obtain the first sample impurity content set. Specifically, after obtaining N real-time impurity information, perform an aggregation operation on these information based on the impurity type. Integrate the real-time impurity information of the same impurity type under different production steps to form an information sequence about each impurity type in the entire first quality control sample production process. Then, extract the extreme value of the impurity content from these information sequences. For example, find out the maximum content value, minimum content value and corresponding production steps of a certain impurity in all production steps. In this way, a large number of real-time impurity information is condensed into a more representative and instructive first sample impurity content set. This content set not only contains the content range information of various impurity types in the first quality control sample, but also indirectly reflects the changing trend and key control points of impurities in the production process, providing an important reference for the optimization of production processes and impurity control.

[0033] Step S316, and so on, using the impurity detection model, polling and detecting the multiple quality control samples, and obtaining the multiple sample impurity content sets. Specifically, taking the detection and analysis process of the first quality control sample as an example, and so on, using the impurity detection model to perform comprehensive polling detection on all multiple quality control samples. For each quality control sample, the above-mentioned whole set of operation processes from sub-sample division, spectrum generation, layer separation, impurity content identification to impurity content set generation are repeated. After completing the detection of all quality control samples, the sample impurity content sets obtained from each sample are summarized and integrated, and finally successfully obtain multiple sample impurity content sets that can reflect the impurity conditions in different production steps in the entire glucosamine production process. These data sets provide a comprehensive and detailed data basis for the subsequent in-depth analysis of the impurity accumulation law in the production process, positioning key steps and key impurity types, and formulating targeted impurity removal strategies, and are the key to achieving efficient quality control and process optimization in the glucosamine production process.

[0034] In a possible implementation, the cumulative law analysis is performed according to the impurity distribution matrix, and the K key steps and K groups of key impurity types are located based on the analysis results. Step S330 further includes step S331, which performs cumulative amount calculation according to the impurity distribution matrix to obtain M impurity cumulative amount sequences corresponding to the M sample impurity types. Specifically, the impurity cumulative amount calculation work is first carried out based on the constructed impurity distribution matrix. Each row of the impurity distribution matrix represents a sample impurity type, each column corresponds to a production step, and the matrix element value is the detection concentration or mass of the impurity in the step. For each of the M sample impurity types, along its corresponding row, the element values ​​(i.e., impurity concentration or mass data) in each production step column are accumulated and summed. For example, for the first sample impurity type, its impurity content in the first production step and the impurity content in the second production step are added in sequence until the accumulation of all production steps is completed, so that the cumulative total amount of the impurity type is obtained. According to this method, the M types of sample impurity are calculated one by one, and finally M impurity accumulation sequences corresponding to the M types of sample impurity are obtained. These sequences clearly show the overall accumulation of each impurity in the entire production process.

[0035] Step S332, performing cumulative rate analysis according to the impurity distribution matrix to obtain M cumulative rate sequences. Specifically, after obtaining the impurity accumulation sequence, performing cumulative rate analysis according to the impurity distribution matrix. For each sample impurity type, calculate the rate of change of its impurity content between adjacent production steps, and the calculation method is the change in the concentration of the impurity before and after the step divided by the execution time of the step. For example, for the second sample impurity type, calculate the cumulative rate from the third production step to the fourth production step, and express it as (impurity concentration of the fourth production step-impurity concentration of the third production step) / execution time between these two steps. According to this calculation method, for each sample impurity type, calculations are performed between each adjacent production step to obtain a sequence of concentration change rates containing multiple steps, and finally obtain M cumulative rate sequences. These sequences can reflect the growth speed of impurities in different production stages, which helps to find the key intervals of abnormal impurity growth.

[0036] Step S333, perform cross-step impurity removal contribution analysis based on the M impurity accumulation sequences to obtain M impurity removal contribution rate sequences. Specifically, a cross-step impurity removal contribution analysis is performed based on the existing M impurity accumulation sequences. For each sample impurity type, the effect of removing the impurity in a specific production step and the impact of this removal effect on the impurity content in subsequent production steps are investigated. For example, for the third sample impurity type, analyze the amount of its removal in the purification step and the degree of reduction in the impurity content in the concentration step after removal. By comparing the changes in impurity content in different production steps, quantify the contribution value of each step to the removal of specific impurities, and then obtain M impurity removal contribution rate sequences. These sequences can clarify which production steps play a key role in the removal of specific impurities in the entire impurity removal process, providing an important basis for subsequent process optimization.

[0037] Step S334, single-step weighted calculation is performed on the M impurity accumulation sequences, M accumulation rate sequences and M impurity removal contribution rate sequences to obtain M impurity removal priority sequences. Specifically, single-step weighted calculation is performed on the M impurity accumulation sequences, M accumulation rate sequences and M impurity removal contribution rate sequences. The weight is determined based on the importance of each factor to the product quality and production process. For example, a higher weight is given to the impurity type with high accumulation, fast accumulation rate and low contribution to impurity removal across steps in the corresponding production step. For each production step and each impurity type, the data information in these three sequences is comprehensively considered, and the calculation is performed according to the set weight calculation method to obtain a value that comprehensively reflects the impurity removal priority of the impurity type in the production step. By calculating all impurity types and production steps, M impurity removal priority sequences are finally obtained, which can more comprehensively and accurately measure the importance of impurity removal of each production step for different impurity types.

[0038] Step S335, make the highest level call from the M impurity removal priority sequences to obtain M impurity removal priority steps. Specifically, make the highest level call from the M impurity removal priority sequences, that is, find the production step corresponding to the maximum value in each impurity removal priority sequence. These production steps are the steps with the highest impurity removal priority for the corresponding impurity type. By extracting these steps, M impurity removal priority steps are obtained. These steps play the most critical role in controlling specific impurity types in the entire production process and are the focus of subsequent focused process optimization and impurity control.

[0039] Step S336, aggregate the M impurity removal priority steps to obtain the K key steps. Specifically, aggregate the M impurity removal priority steps, remove the possible repeated steps, and obtain K key steps. These key steps cover the most critical production links for controlling multiple impurity types in the entire production process.

[0040] Step S337, according to the mapping relationship between the M impurity removal priority steps and the K key steps, the M sample impurity types are aggregated to obtain the K groups of key impurity types. Specifically, according to the mapping relationship between the M impurity removal priority steps and the K key steps, the sample impurity types associated with the K key steps are found, and these impurity types are aggregated to obtain the K groups of key impurity types. The determination of these key steps and key impurity types provides clear goals and directions for further targeted process optimization and impurity control of the glucosamine production process, which helps to improve product quality and production efficiency.

[0041] Step S400, taking the K groups of key impurity types as the impurity removal guide, the K key steps are coupled optimized according to the K execution order identifiers, and K optimized process parameters are output. Specifically, first, taking the K groups of key impurity types as the impurity removal guide and determining the information of each key step according to the K execution order identifiers, for each key step and its corresponding impurity type, the target impurity concentration of M types of sample impurity types is interactively obtained and the impurity concentration constraints of the key steps are determined accordingly, and the initial process parameters are interactively obtained at the same time, and the sample impurity concentration set, sample process parameter set and sample concentration change set are collected online with the key steps and impurity types as constraints, and an impurity prediction model is constructed through multivariate regression analysis, and the initial process parameter solution is expanded with the preset parameter adjustment scale to obtain the updated process parameters, and the prediction model is used to combine the impurity concentration constraints to screen out reliable process parameters, and the K key steps are optimized one by one to obtain K groups of reliable process parameters, and then through permutation and combination enumeration, simulated production and cost analysis and other coupled optimizations, K optimized process parameters are finally output.

[0042] In a possible implementation, the K groups of key impurity types are used as impurity removal guides, the K key steps are coupled and optimized according to the K execution order identifiers, and K optimized process parameters are output. Step S400 further includes step S410, interactively obtaining M target impurity concentrations of the M sample impurity types. Specifically, first, by interacting with a professional database, an industry standard data interface, or a large amount of experimental data records accumulated internally, M target impurity concentrations of M sample impurity types are obtained. These target impurity concentrations are determined based on in-depth research on the quality requirements of glucosamine products and the purity standards generally recognized in the industry. For example, for a certain metal ion impurity, its target impurity concentration may be set to an extremely low one part per million level to ensure the safety and effectiveness of glucosamine products in pharmaceutical or other high-end application fields. These data provide a clear direction for impurity control for the optimization of process parameters in subsequent key steps and are an important benchmark for the entire optimization process.

[0043] Step S420, extract the first key step and the first group of key impurity types from the K key steps and K groups of key impurity types respectively according to the K execution order identifiers. Specifically, based on the K execution order identifiers, the first key step and the first group of key impurity types are accurately extracted from the determined K key steps and K groups of key impurity types. Taking the glucosamine production process as an example, if the K key steps are distributed in the links of raw material pretreatment, reaction synthesis, intermediate product purification, etc., then the first key step determined according to the execution order identifier may be a specific step in the reaction synthesis link, and the corresponding first group of key impurity types may be by-product impurities that are easily generated during the reaction process or residual impurities that are difficult to remove in the raw materials. This step clarifies the specific object that currently needs to be optimized for process parameters, making subsequent data collection and model construction more targeted.

[0044] Step S430, obtain the first impurity concentration constraint by calling from the M target impurity concentrations according to the first group of key impurity types. Specifically, according to the first group of key impurity types, the concentration data matching it is called from the M target impurity concentrations to obtain the first impurity concentration constraint. This constraint clarifies the concentration range allowed for the first group of key impurity types in the first key step. For example, if the first group of key impurity types contains two impurities, then the first impurity concentration constraint will specify the maximum allowable concentration values ​​of the two impurities at the end of the first key step. This provides strict restrictions for the adjustment of subsequent process parameters, ensuring that the control of impurity concentration will not be neglected due to excessive pursuit of other indicators when optimizing process parameters, and ensuring that product quality is always within a controllable range.

[0045] Step S440, interactively obtain the first initial process parameters of the first key step. Specifically, the first initial process parameters of the first key step are obtained by interacting with the production equipment control system, the process parameter record document or the operator's experience data. These initial process parameters cover the various process conditions involved in this step, such as reaction temperature, reaction pressure, reaction time, reactant concentration ratio, etc. For example, when the first key step is a chemical reaction step, the initial process parameters may include a reaction temperature set to 50 degrees Celsius, a reaction pressure of 2 atmospheres, a reaction time of 3 hours, and a concentration ratio of reactant A to reactant B of 2:1, etc. These data reflect the actual operating parameter settings of the first key step in the current production process and are the starting point for process parameter optimization.

[0046] Step S450, taking the first key step and the first group of key impurity types as data call constraints, networked data collection is performed to obtain a first sample impurity concentration set, a first sample process parameter set and a first sample concentration change set. Specifically, taking the first key step and the first group of key impurity types as data call constraints, access is made to a wide range of chemical industry data networks, scientific research institutions' shared data platforms, and historical production data warehouses within enterprises, etc., to perform comprehensive networked data collection. In this process, a first sample impurity concentration set is obtained, which contains the actual impurity concentration measurement values ​​of the first group of key impurity types in many production processes similar to the first key step; the first sample process parameter set collects various process parameter combinations used in these similar production processes; and the first sample concentration change set records the concentration changes of the first group of key impurity types as the process parameters change. For example, from experimental data of multiple different production batches but similar to the first key step, the concentration change data of the first group of key impurity types under different reaction temperature, pressure and time combinations are extracted, and these data will provide sufficient material for building an accurate impurity prediction model.

[0047] Step S460, by performing multiple regression analysis on the first sample impurity concentration set, the first sample process parameter set and the first sample concentration change set, a first impurity prediction model is fitted and generated. Specifically, an in-depth multiple regression analysis is performed on the collected first sample impurity concentration set, the first sample process parameter set and the first sample concentration change set. By using advanced statistical analysis software and data modeling algorithms, a first impurity prediction model is fitted and generated. The model establishes a mathematical relationship between process parameters and impurity concentrations. For example, it can predict the concentration values ​​of the first group of key impurity types at the end of the first key step based on the input process parameters such as reaction temperature, pressure and time. This model is a core tool for subsequent evaluation and optimization of process parameters. It can quickly evaluate the impact of different process parameter combinations on impurity concentrations without conducting actual production tests, greatly improving the efficiency of process parameter optimization.

[0048] Step S470, using a preset parameter adjustment scale to de-expand the first initial process parameters to obtain a first set of updated process parameters. Specifically, the first initial process parameters are de-expanded using a preset parameter adjustment scale to obtain a first set of updated process parameters. The preset parameter adjustment scale is determined based on the understanding of the production process, industry experience, and the mastery of equipment performance. For example, if the initial reaction temperature is 50 degrees Celsius, and the preset parameter adjustment scale stipulates that the temperature adjustment range is ±10 degrees Celsius, then the reaction temperature in the updated process parameters may be 40 degrees Celsius, 45 degrees Celsius, 55 degrees Celsius, 60 degrees Celsius, etc. In this way, the limitations of the initial process parameters are broken, a wider range of process parameter space is explored, and the possibility of finding a better combination of process parameters is increased.

[0049] Step S480, using the first impurity prediction model to evaluate the first set of updated process parameters, and obtain the first set of reliable process parameters. Specifically, the first set of updated process parameters is evaluated using the first impurity prediction model. The first set of updated process parameters is input into the first impurity prediction model to obtain a first set of predicted concentration change sets, which contains the concentration changes of the first group of key impurity types predicted under different updated process parameter combinations. Then, the first impurity concentration constraint is used to traverse and compare the first set of predicted concentration change sets, and the first set of reliable process parameters whose impurity concentration meets the first impurity concentration constraint is screened out from the first set of updated process parameters. For example, if the first impurity concentration constraint stipulates that the concentration of a certain impurity shall not exceed 0.1%, then in the first set of predicted concentration change sets, only those updated process parameter combinations that make the impurity concentration lower than 0.1% will be screened out as the first set of reliable process parameters. This step ensures that the optimized process parameters can not only meet the impurity concentration control requirements, but also find the optimal solution within a wider parameter range.

[0050] Step S490, and so on, taking the K groups of key impurity types as the impurity removal guide, optimizing the process parameters of the K key steps according to the K execution order identifiers, and outputting K groups of reliable process parameters. Specifically, according to the above steps, taking the K groups of key impurity types as the impurity removal guide, optimizing the process parameters of the K key steps in turn according to the K execution order identifiers, and finally outputting K groups of reliable process parameters.

[0051] Step S4100, the K groups of reliable process parameters are coupled and optimized, and the K optimized process parameters are output. Specifically, after completing the independent optimization of each key step, the K groups of reliable process parameters are coupled and optimized. Considering that each key step does not exist in isolation, but is a relationship of mutual influence and mutual restriction, for example, the change of the process parameters of the previous key step may affect the raw material quality or reaction conditions of the next key step, it is necessary to comprehensively coordinate the process parameters of each key step through methods such as permutation and combination enumeration, simulated production and cost analysis. For example, in the simulated production process, different K groups of reliable process parameter combinations are tried, and indicators such as reagent dosage, energy consumption, impurity removal cycle and production efficiency under each combination are calculated, and finally a set of optimal process parameter combinations is determined, that is, K optimized process parameters are output, which can achieve the best production benefits while achieving effective control of impurities as a whole.

[0052] In a possible implementation, the first impurity prediction model is used to evaluate the first group of updated process parameters to obtain the first group of reliable process parameters, and step S480 further includes step S481, using the first key step and the first group of key impurity types as search constraints, and searching from the impurity distribution matrix to obtain the first group of key impurity concentrations. Specifically, the first key step and the first group of key impurity types are used as search constraints to perform a precise search in the constructed impurity distribution matrix. Each row of the impurity distribution matrix represents an impurity type, and each column corresponds to a production step, which stores the detection concentration or quality information of each impurity in the corresponding step. Since the first key step and the first group of key impurity types have been determined, the corresponding cell data can be quickly located through the row and column indexes to obtain the first group of key impurity concentrations. For example, if the first key step is the "mid-reaction" step in the glucosamine production process, and the first group of key impurity types includes "side reaction product A" and "residual raw material impurity B", then the data in the cells where the "mid-reaction" column intersects with the "side reaction product A" row and the "residual raw material impurity B" row in the impurity distribution matrix are found, and these data are the first group of key impurity concentrations. These concentration data reflect the actual concentration levels of these key impurities at this critical step in past production practices, providing an important reference for subsequent model evaluation.

[0053] Step S482, synchronize the first group of key impurity concentrations and the first group of updated process parameters to the first impurity prediction model for evaluation, and obtain the first group of predicted concentration change sets. Specifically, the first group of key impurity concentrations and the first group of updated process parameters obtained are synchronously input into the first impurity prediction model for evaluation. The first impurity prediction model is constructed based on a large amount of sample data through multivariate regression analysis, and it establishes a mathematical relationship between process parameters and impurity concentrations. After the first group of key impurity concentrations and the first group of updated process parameters are input, the model performs complex calculations based on internal algorithms and data relationships to predict the changes in the first group of key impurity concentrations when these updated process parameters are adopted, and then obtains the first group of predicted concentration change sets. For example, if the first group of updated process parameters adjusts parameters such as reaction temperature, pressure, and reaction time, the model will calculate the concentration change values ​​of "side reaction product A" and "residual raw material impurity B" under the new parameters based on these parameter changes and the correlation with impurity concentrations. These values ​​constitute the first group of predicted concentration change sets, which show the possible change trend of impurity concentrations when the updated process parameters are assumed to be adopted.

[0054] Step S483, by using the first impurity concentration constraint to traverse and compare the first set of predicted concentration change sets, the first set of reliable process parameters whose impurity concentration meets the first impurity concentration constraint are screened from the first set of updated process parameters. Specifically, by using the first impurity concentration constraint to traverse and compare the first set of predicted concentration change sets, the first set of reliable process parameters that meet the requirements are screened from the first set of updated process parameters. The first impurity concentration constraint clarifies the concentration range allowed for the first group of key impurity types in the first key step, which is set based on product quality standards and production process requirements. During the comparison process, each predicted concentration value in the first set of predicted concentration change sets is checked one by one to see if it meets the first impurity concentration constraint. For example, if the first impurity concentration constraint stipulates that the concentration of "side reaction product A" shall not exceed 0.5% and the concentration of "residual raw material impurity B" shall not exceed 0.3%, then only when the predicted concentration values ​​of the corresponding impurities in the first set of predicted concentration change sets are all lower than these limit values, the corresponding first set of updated process parameters are considered to meet the requirements, and thus are screened out as the first set of reliable process parameters. These reliable process parameters can not only theoretically ensure that the concentration of key impurities is controlled within a reasonable range, but also reflect the effectiveness verification of the update and adjustment of process parameters, providing feasible parameter selection for the optimization of subsequent production processes.

[0055] In a possible implementation, the K groups of reliable process parameters are coupled and optimized, and the K optimized process parameters are output. Step S4100 further includes step S4101, which performs permutation and combination enumeration on the K groups of reliable process parameters to obtain multiple groups of coupled process parameters. Specifically, the K groups of reliable process parameters are first permuted and combined. Since each group covers multiple key step optimization parameters, comprehensive permutation and combination can generate a large number of multiple groups of coupled process parameters. For example, 27 groups can be generated when there are 3 key steps and each has 3 reliable parameter values. This method can systematically explore the effects of different step parameter combinations, explore better combinations, avoid falling into local optimality and missing the global optimality, and lay a solid foundation for screening the best process parameter combination.

[0056] Step S4102, simulate the production of glucosamine for the multiple sets of coupled process parameters to obtain multiple process performance information, wherein the process performance information includes reagent dosage, impurity removal cycle, production efficiency and production energy consumption. Specifically, for multiple sets of coupled process parameters, use chemical production simulation software or an established mathematical model to simulate the glucosamine production process, input parameters and record the conditions of each link in detail to obtain process performance information, such as reagent dosage, impurity removal cycle, production efficiency and production energy consumption data under different combinations, wherein the reagent dosage is determined according to the reaction consumption, the impurity removal cycle is calculated according to the simulation steps and the removal rate, the production efficiency is reflected in the output per unit time, and the production energy consumption is obtained by integrating various operation consumptions. This information can reflect the actual performance of the coupled process parameters and provide quantitative data support for cost analysis.

[0057] Step S4103, by performing cost analysis on the multiple process performance information, a target coupling process parameter combination is obtained, wherein the target coupling process parameter combination includes the K optimized process parameters. Specifically, by performing cost analysis on the multiple process performance information, cost factors of various aspects are weighed comprehensively. In terms of reagent dosage, reagent cost directly affects production cost, and the greater the dosage, the higher the cost; a long impurity removal cycle may mean a long equipment occupancy time and increased labor costs; low production efficiency will lead to an increase in fixed costs per unit product; high production energy consumption will lead to an increase in energy costs. According to these factors, the corresponding cost weights are set. For example, for enterprises with a high proportion of energy costs, the weight of production energy consumption may be relatively large. Then, the total cost corresponding to each set of coupling process parameters is calculated, and by comparing the total cost, one or several sets of coupling process parameter combinations with the lowest cost are selected. These combinations are the target coupling process parameter combinations, which contain the K optimized process parameters finally determined. These optimized process parameters minimize production costs while ensuring product quality (through effective control of key impurity types), thereby improving the economic benefits and competitiveness of the glucosamine production process.

[0058] Step S500, configure the online detection function for the K key steps according to the K groups of key impurity types and the detection model call table to obtain K online detection modules. Specifically, according to the K groups of key impurity types, K impurity content identification branches that match them are screened out in the detection model call table. For the K key steps, these branches are integrated and configured and equipped with hardware equipment such as high-precision spectrometers, sample collection and transmission devices, and data processing units to construct K online detection modules. Each module corresponds to a specific key step and can accurately detect the content of key impurity types therein. Then, standard impurity samples of known concentrations are used to calibrate and optimize each module, adjust spectrometer parameters, and optimize algorithm models to ensure detection accuracy and stability. At the same time, the sample collection and transmission efficiency and data processing speed are improved, so that the K online detection modules can effectively perform dynamic detection and early warning of impurity deviations in the K key steps in glucosamine production to ensure stable and consistent product quality.

[0059] Step S600, after the process parameters of the K key steps are updated by using the K optimized process parameters, the impurity deviation dynamic detection and early warning of the glucosamine production process are performed by the K online detection modules. Specifically, when producing glucosamine, the process parameters of the K key steps are first updated according to the K optimized process parameters. After the production is started, the K online detection modules collect samples according to predetermined conditions for each key step with the help of a special sample collection device and send them to a high-precision spectrometer to obtain spectral data. The data processing unit inputs the corresponding impurity content identification branch to calculate the key impurity content, and then compares it with the preset standard content range to calculate the deviation value. If the deviation value is within the normal range, the production continues. If it exceeds the normal range, the module immediately triggers an early warning signal, which is conveyed to the monitoring personnel in various ways with detailed deviation information. The monitoring personnel evaluate the production process based on this and take adjustment measures such as checking the process parameters or equipment conditions to correct the deviation to ensure stable, efficient and up-to-standard production.

[0060] The embodiment of the present application adopts the quality control samples of multiple steps obtained by sampling, and extracts the impurity type set in combination with the production log, configures the impurity detection model and the call table. The sample impurities are analyzed for cumulative regularity, the key steps and their corresponding impurity types are located, and the process parameters are optimized based on this, and the online detection module is configured. The optimized process parameters are applied in the key steps, and the dynamic monitoring and early warning of impurity deviations are realized through the online detection module, so as to achieve the technical effect of improving the accuracy and efficiency of impurity control in glucosamine production and ensuring the consistency and stability of product quality.

[0061] In the above, refer to Figure 1 The present invention describes in detail the method for detecting impurities in the glucosamine production process according to an embodiment of the present invention. Figure 2 The impurity detection system in the glucosamine production process according to an embodiment of the present invention is described.

[0062] The impurity detection system in the glucosamine production process according to the embodiment of the present invention is used to solve the technical problem of insufficient impurity control in the existing glucosamine production process, and achieves the technical effect of improving the accuracy and efficiency of impurity control in glucosamine production and ensuring the consistency and stability of product quality. The impurity detection system in the glucosamine production process includes: a quality control sample acquisition module 10, an impurity detection model configuration module 20, a cumulative law analysis module 30, a coupling optimization module 40, an online detection function configuration module 50, and a dynamic detection warning module 60.

[0063] The quality control sample acquisition module 10 is used to obtain a plurality of quality control samples of a plurality of production steps by sampling during the trial production of glucosamine, wherein the plurality of production steps have a plurality of execution order identifiers.

[0064] The impurity detection model configuration module 20 is used to obtain a sample impurity type set through interactive production logs, configure the impurity detection model according to the sample impurity type set, and obtain a detection model call table.

[0065] The accumulation rule analysis module 30 is used to perform impurity accumulation rule analysis on the multiple quality control samples, and locate K groups of key impurity types of K key steps based on the analysis results, wherein the K key steps have K execution order identifiers.

[0066] The coupling optimization module 40 is used to take the K groups of key impurity types as impurity removal guides, perform coupling optimization on the K key steps according to the K execution order identifiers, and output K optimized process parameters.

[0067] The online detection function configuration module 50 is used to perform online detection function configuration on the K key steps according to the K groups of key impurity types and the detection model call table to obtain K online detection modules.

[0068] The dynamic detection and early warning module 60 is used to perform dynamic detection and early warning of impurity deviations in the glucosamine production process through the K online detection modules after the process parameters of the K key steps are updated using the K optimized process parameters.

[0069] The specific configuration of the impurity detection model configuration module 20 will be described in detail below. As described above, after the interactive production log obtains the sample impurity type set, the impurity detection model is configured according to the sample impurity type set to obtain the detection model call table. The impurity detection model configuration module 20 further includes: a sample impurity spectrum atlas acquisition unit, the sample impurity spectrum atlas acquisition unit is used to perform networked data call according to the M types of sample impurity types in the sample impurity type set, and obtain M sample impurity spectrum atlas sets of the M types of sample impurity types, wherein the M sample impurity spectrum atlas sets have M sample impurity content identification sets; a networked data call unit, the networked data call unit is used to perform networked data call with the M types of sample impurity types as constraints, and obtain multiple sample composite impurity spectra and A plurality of groups of sample single-dimensional impurity spectra; a layer separation model construction unit, the layer separation model construction unit is used to construct a layer separation model based on the plurality of sample composite impurity spectra and the plurality of groups of sample single-dimensional impurity spectra; an identification branch construction unit, the identification branch construction unit is used to construct M impurity content identification branches based on the M sample impurity spectrum sets and the M sample impurity content identification sets; an end connection unit, the end connection unit is used to connect the M impurity content identification branches in parallel, and after using the M sample impurity types to identify the M impurity content identification branches, connect the output end of the layer separation model with the input end of the M impurity content identification branches to complete the construction of the impurity detection model; A detection model calling table construction unit is used to associate and store the M sample impurity types and the M impurity content identification branches to complete the construction of the detection model calling table.

[0070] The specific configuration of the accumulation rule analysis module 30 will be described in detail below. As described above, the impurity accumulation rule analysis is performed on the multiple quality control samples, and the K groups of key impurity types of the K key steps are located based on the analysis results, wherein the K key steps have K execution order identifiers, and the accumulation rule analysis module 30 further includes: a sample impurity content set acquisition unit, the sample impurity content set acquisition unit is used to adopt the impurity detection model, poll and detect the multiple quality control samples, and obtain multiple sample impurity content sets; an impurity distribution matrix generation unit, the impurity distribution matrix generation unit is used to construct an impurity distribution matrix based on the multiple sample impurity content sets with the sample impurity type set as a constraint; an impurity type positioning unit, the impurity type positioning unit is used to perform accumulation rule analysis based on the impurity distribution matrix, and locate the K key steps and K groups of key impurity types based on the analysis results; a content set calling unit, the content set calling unit is used to obtain K sample impurity content sets and the K execution order identifiers from the multiple execution order identifiers and multiple sample impurity content sets according to the K key steps.

[0071] Wherein, the impurity detection model is adopted to poll and detect the multiple quality control samples to obtain multiple sample impurity content sets, and the sample impurity content set acquisition unit further includes: a real-time impurity spectrum map generation subunit, the real-time impurity spectrum map generation subunit is used to divide the first quality control sample into N step sub-samples, and then use an infrared spectrometer to generate N real-time impurity spectrum maps of the N step sub-samples; a layer separation subunit, the layer separation subunit is used to synchronize the first real-time impurity spectrum map to the layer separation model of the impurity detection model, perform layer separation based on the impurity type, and obtain H real-time single-dimensional spectrum maps of H types of sample impurity types, wherein H is a positive integer less than or equal to M; a directional identification subunit, the directional identification subunit is used to identify the H types of sample impurity types according to the M impurity types in the impurity detection model; The H real-time single-dimensional spectra are guided and input into H impurity content identification branches for directional identification of impurity content to obtain H real-time impurity contents, wherein the H real-time impurity contents constitute the first real-time impurity information; an impurity information acquisition subunit, the impurity information acquisition subunit is used to analyze the N real-time impurity spectra by analogy, adopt the impurity detection model to obtain N real-time impurity information; an impurity content extreme value extraction subunit, the impurity content extreme value extraction subunit is used to perform impurity content extreme value extraction after aggregating the N real-time impurity information based on impurity type, and obtain a first sample impurity content set; a polling detection subunit, the polling detection subunit is used to poll and detect the multiple quality control samples by analogy, adopt the impurity detection model, and obtain the multiple sample impurity content sets.

[0072] Wherein, a cumulative law analysis is performed according to the impurity distribution matrix, and the K key steps and K groups of key impurity types are located based on the analysis results, and the impurity type positioning unit further includes: a cumulative amount calculation subunit, the cumulative amount calculation subunit is used to perform cumulative amount calculation according to the impurity distribution matrix, and obtain M impurity cumulative amount sequences corresponding to the M types of sample impurity types; a cumulative rate analysis subunit, the cumulative rate analysis subunit is used to perform cumulative rate analysis according to the impurity distribution matrix, and obtain M cumulative rate sequences; an impurity removal contribution analysis subunit, the impurity removal contribution analysis subunit is used to perform cross-step impurity removal contribution analysis according to the M impurity cumulative amount sequences, and obtain M impurity removal contribution rate sequences; and A weight calculation subunit, the weight calculation subunit is used to perform single-step weighted calculation on the M impurity accumulation amount sequences, the M accumulation rate sequences and the M impurity removal contribution rate sequences to obtain M impurity removal priority sequences; a highest level call subunit, the highest level call subunit is used to perform the highest level call from the M impurity removal priority sequences to obtain M impurity removal priority steps; an aggregation step subunit, the aggregation step subunit is used to aggregate the M impurity removal priority steps to obtain the K key steps; a key impurity type acquisition subunit, the key impurity type acquisition subunit is used to aggregate the M sample impurity types according to the mapping relationship between the M impurity removal priority steps and the K key steps to obtain the K groups of key impurity types.

[0073] The specific configuration of the coupling optimization module 40 will be described in detail below. As described above, taking the K groups of key impurity types as the impurity removal guide, the K key steps are coupled optimized according to the K execution order identifiers, and K optimized process parameters are output. The coupling optimization module 40 further includes: an interactive acquisition unit, the interactive acquisition unit is used to interactively obtain the M target impurity concentrations of the M sample impurity types; a type extraction unit, the type extraction unit is used to extract the first key step and the first group of key impurity types from the K key steps and the K groups of key impurity types according to the K execution order identifiers; an impurity concentration constraint acquisition unit, the impurity concentration constraint acquisition unit is used to call and obtain the first impurity concentration constraint from the M target impurity concentrations according to the first group of key impurity types; a parameter step acquisition unit, the parameter step acquisition unit is used to interactively obtain the first initial process parameter of the first key step; and a networked data acquisition unit, the networked data acquisition unit is used to perform networked data acquisition with the first key step and the first group of key impurity types as data call constraints. a first set of impurity concentrations, a first set of process parameters and a first set of concentration changes of the first samples, to obtain a first set of sample impurity concentrations, a first set of sample process parameters and a first set of sample concentration changes; a multiple regression analysis unit, the multiple regression analysis unit is used to fit and generate a first impurity prediction model by performing multiple regression analysis on the first set of impurity concentrations, the first set of process parameters and the first set of sample concentration changes; a de-expansion unit, the de-expansion unit is used to perform de-expansion on the first initial process parameters using a preset parameter adjustment scale to obtain a first set of updated process parameters; an evaluation unit, the parameter evaluation unit is used to evaluate the first set of updated process parameters using the first impurity prediction model to obtain a first set of reliable process parameters; a process parameter optimization unit, the process parameter optimization unit is used to perform process parameter optimization on the K key steps according to the K execution order identifiers, and output K sets of reliable process parameters by analogy with the K sets of key impurity types as the impurity removal guide; and a coupling optimization unit, the coupling optimization unit is used to perform coupling optimization on the K sets of reliable process parameters and output the K optimized process parameters.

[0074] Among them, the first impurity prediction model is used to evaluate the first group of updated process parameters to obtain a first group of reliable process parameters, and the parameter evaluation unit further includes: a search constraint subunit, the search constraint subunit is used to use the first key step and the first group of key impurity types as search constraints to search and obtain a first group of key impurity concentrations from the impurity distribution matrix; a parameter synchronization subunit, the parameter synchronization subunit is used to synchronize the first group of key impurity concentrations and the first group of updated process parameters to the first impurity prediction model evaluation to obtain a first group of predicted concentration change sets; a constraint traversal subunit, the constraint traversal subunit is used to compare the first group of predicted concentration change sets by using the first impurity concentration constraint to screen and obtain the first group of reliable process parameters whose impurity concentrations satisfy the first impurity concentration constraint from the first group of updated process parameters.

[0075] Wherein, the K groups of reliable process parameters are coupled and optimized, and the K optimized process parameters are outputted. The coupling optimization unit further comprises: a permutation and combination enumeration subunit, which is used to perform permutation and combination enumeration on the K groups of reliable process parameters to obtain multiple groups of coupled process parameters; a production simulation subunit, which is used to perform glucosamine production simulation on the multiple groups of coupled process parameters to obtain multiple process performance information, wherein the process performance information includes reagent dosage, impurity removal cycle, production efficiency and production energy consumption; a cost analysis subunit, which is used to obtain a target coupled process parameter combination by performing cost analysis on the multiple process performance information, wherein the target coupled process parameter combination includes the K optimized process parameters.

[0076] The impurity detection system in the glucosamine production process provided by the embodiment of the present invention can execute the impurity detection method in the glucosamine production process provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0077] Although the present application makes various references to certain modules in the system according to the embodiments of the present application, any number of different modules may be used and run on the user terminal and / or server, and the various units and modules included are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.

[0078] The above specific implementation manner does not constitute a limitation to the protection scope of the present application. It should be understood by those skilled in the art that various modifications, combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present application should be included in the protection scope of the present application. In some cases, the actions or steps recorded in the present application can be performed in an order different from that in the embodiment and can still achieve the desired results. In addition, the process depicted in the accompanying drawings does not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

Claims

1. A method for detecting impurities in the production process of glucosamine, characterized in that: The method comprises: By sampling during the trial production of glucosamine, a plurality of quality control samples of a plurality of production steps are obtained, wherein the plurality of production steps have a plurality of execution order identifiers; After obtaining a sample impurity type set through interactive production logs, an impurity detection model is configured according to the sample impurity type set to obtain a detection model call table; Performing impurity accumulation rule analysis on the multiple quality control samples, and locating K groups of key impurity types of K key steps based on the analysis results, wherein the K key steps have K execution order identifiers; Taking the K groups of key impurity types as impurity removal guides, performing coupling optimization on the K key steps according to the K execution order identifiers, and outputting K optimized process parameters; Performing online detection function configuration on the K key steps according to the K groups of key impurity types and the detection model call table to obtain K online detection modules; After the process parameters of the K key steps are updated by using the K optimized process parameters, dynamic detection and early warning of impurity deviations in the glucosamine production process are performed through the K online detection modules.

2. The method for detecting impurities in the glucosamine production process according to claim 1, characterized in that: After obtaining a sample impurity type set through interactive production logs, an impurity detection model is configured according to the sample impurity type set to obtain a detection model call table. The method includes: Performing online data call according to M sample impurity types in the sample impurity type set to obtain M sample impurity spectrum atlas sets of the M sample impurity types, wherein the M sample impurity spectrum atlas sets have M sample impurity content identification sets; Using the M sample impurity types as constraints, network data calls are performed to obtain multiple sample composite impurity spectra and multiple groups of sample single-dimensional impurity spectra; Constructing a layer separation model based on the multiple sample composite impurity spectra and multiple groups of sample single-dimensional impurity spectra; Based on the M sample impurity spectrum atlas sets and the M sample impurity content identification sets, M impurity content identification branches are constructed; After connecting the M impurity content identification branches in parallel and using the M sample impurity types to identify the M impurity content identification branches, the output end of the layer separation model is connected to the input end of the M impurity content identification branches to complete the construction of the impurity detection model; The M sample impurity types and the M impurity content identification branches are stored in association to complete the construction of the detection model calling table.

3. The method for detecting impurities in the glucosamine production process according to claim 2, characterized in that: Performing impurity accumulation rule analysis on the multiple quality control samples, and locating K groups of key impurity types of K key steps based on the analysis results, the method comprising: Using the impurity detection model, polling and detecting the multiple quality control samples to obtain multiple sample impurity content sets; Taking the sample impurity type set as a constraint, constructing and generating an impurity distribution matrix according to the plurality of sample impurity content sets; Performing cumulative rule analysis according to the impurity distribution matrix, and locating the K key steps and K groups of key impurity types based on the analysis results; According to the K key steps, K sample impurity content sets and the K execution order identifiers are obtained by calling from the multiple execution order identifiers and the multiple sample impurity content sets.

4. The method for detecting impurities in the glucosamine production process according to claim 3, characterized in that: The impurity detection model is used to poll and detect the multiple quality control samples to obtain multiple sample impurity content sets. The method includes: After dividing the first quality control sample into N step sub-samples, an infrared spectrometer is used to generate N real-time impurity spectra of the N step sub-samples; Synchronize the first real-time impurity spectrum map to the layer separation model of the impurity detection model, perform layer separation based on the impurity type, and obtain H real-time single-dimensional spectrum maps of H types of sample impurity types, where H is a positive integer less than or equal to M; According to the correspondence between the H sample impurity types and the M impurity content identification branches in the impurity detection model, the H real-time single-dimensional spectra are guided and input into H impurity content identification branches for directional identification of impurity content to obtain H real-time impurity contents, wherein the H real-time impurity contents constitute first real-time impurity information; By analogy, the impurity detection model is used to analyze the N real-time impurity spectra to obtain N real-time impurity information; After aggregating the N real-time impurity information based on the impurity type, extracting the extreme value of impurity content to obtain a first sample impurity content set; By analogy, the impurity detection model is adopted to poll and detect the multiple quality control samples to obtain the impurity content sets of the multiple samples.

5. The method for detecting impurities in the glucosamine production process according to claim 3, characterized in that: Performing cumulative law analysis according to the impurity distribution matrix, and locating the K key steps and K groups of key impurity types based on the analysis results, the method includes: Performing cumulative amount calculation according to the impurity distribution matrix to obtain M impurity cumulative amount sequences corresponding to the M sample impurity types; Performing cumulative rate analysis according to the impurity distribution matrix to obtain M cumulative rate sequences; Performing cross-step impurity removal contribution analysis according to the M impurity accumulation amount sequences to obtain M impurity removal contribution rate sequences; Performing single-step weighted calculation on the M impurity accumulation amount sequences, the M accumulation rate sequences, and the M impurity removal contribution rate sequences to obtain M impurity removal priority sequences; Perform the highest level call from the M impurity removal priority sequences to obtain M impurity removal priority steps; Aggregating the M impurity removal priority steps to obtain the K key steps; The M sample impurity types are aggregated according to the mapping relationship between the M impurity removal priority steps and the K key steps to obtain the K groups of key impurity types.

6. The method for detecting impurities in the glucosamine production process according to claim 3, characterized in that: Taking the K groups of key impurity types as the impurity removal guide, performing coupling optimization on the K key steps according to the K execution order identifiers, and outputting K optimized process parameters, the method includes: Interactively obtaining M target impurity concentrations of the M sample impurity types; Extracting a first key step and a first group of key impurity types from the K key steps and the K groups of key impurity types respectively according to the K execution order identifiers; Obtaining a first impurity concentration constraint from the M target impurity concentrations according to the first group of key impurity types; interactively obtaining a first initial process parameter of the first key step; Taking the first key step and the first group of key impurity types as data call constraints, networked data collection is performed to obtain a first sample impurity concentration set, a first sample process parameter set, and a first sample concentration change set; By performing a multivariate regression analysis on the first sample impurity concentration set, the first sample process parameter set and the first sample concentration change set, a first impurity prediction model is generated by fitting; De-expanding the first initial process parameters using a preset parameter adjustment scale to obtain a first set of updated process parameters; evaluating the first set of updated process parameters using the first impurity prediction model to obtain a first set of reliable process parameters; By analogy, taking the K groups of key impurity types as the impurity removal guide, optimizing the process parameters of the K key steps according to the K execution order identifiers, and outputting K groups of reliable process parameters; The K groups of reliable process parameters are coupled optimized and the K optimized process parameters are output.

7. The method for detecting impurities in the glucosamine production process according to claim 6, characterized in that: The first impurity prediction model is used to evaluate the first set of updated process parameters to obtain a first set of reliable process parameters, the method comprising: Taking the first key step and the first group of key impurity types as search constraints, searching and obtaining a first group of key impurity concentrations from the impurity distribution matrix; Synchronizing the first set of key impurity concentrations and the first set of updated process parameters to the first impurity prediction model evaluation to obtain a first set of predicted concentration change sets; By using the first impurity concentration constraint to traverse and compare the first group of predicted concentration change sets, the first group of reliable process parameters whose impurity concentrations satisfy the first impurity concentration constraint are obtained from the first group of updated process parameters.

8. The method for detecting impurities in the glucosamine production process according to claim 6, characterized in that: The K groups of reliable process parameters are coupled optimized to output the K optimized process parameters, the method comprising: Performing permutations, combinations and enumerations on the K groups of reliable process parameters to obtain multiple groups of coupled process parameters; Performing glucosamine production simulation on the multiple sets of coupled process parameters to obtain multiple process performance information, wherein the process performance information includes reagent dosage, impurity removal cycle, production efficiency and production energy consumption; By performing a cost analysis on the multiple process performance information, a target coupled process parameter combination is obtained, wherein the target coupled process parameter combination includes the K optimized process parameters.

9. An impurity detection system in the glucosamine production process, characterized in that: The system is used to implement the method for detecting impurities in the glucosamine production process according to any one of claims 1 to 8, and the system comprises: A quality control sample acquisition module, the quality control sample acquisition module is used to obtain a plurality of quality control samples of a plurality of production steps by sampling during the trial production of glucosamine, wherein the plurality of production steps have a plurality of execution order identifiers; An impurity detection model configuration module, wherein the impurity detection model configuration module is used to obtain a sample impurity type set through interactive production logs, configure an impurity detection model according to the sample impurity type set, and obtain a detection model call table; A cumulative rule analysis module, the cumulative rule analysis module is used to perform impurity cumulative rule analysis on the multiple quality control samples, and locate K groups of key impurity types of K key steps based on the analysis results, wherein the K key steps have K execution order identifiers; A coupling optimization module, wherein the coupling optimization module is used to take the K groups of key impurity types as impurity removal guides, perform coupling optimization on the K key steps according to the K execution order identifiers, and output K optimized process parameters; An online detection function configuration module, the online detection function configuration module is used to perform online detection function configuration on the K key steps according to the K groups of key impurity types and the detection model call table to obtain K online detection modules; A dynamic detection and early warning module is used to perform dynamic detection and early warning of impurity deviations in the glucosamine production process through the K online detection modules after the process parameters of the K key steps are updated using the K optimized process parameters.

Citation Information

Patent Citations

  • GC*GC fingerprint rapid comparison method combining MSCC with modulation peak classification

    CN114577966A

  • Lithium carbonate production management method and system combined with purity detection

    CN118350514A

  • Laser-induced breakdown spectroscopy quantitative analysis method for elements on inner wall surface of magnetic confinement fusion device

    CN119000648A

  • Method for analyzing multicomponent mixed spectrum

    JP2002005890A

  • Method and apparatus for identifying sample

    JP2002055045A

Cited By

  • Medical intermediate production process regulation and control method and system

    CN120688783A