Protein concentration on-line detection system for extracting seabuckthorn seed meal protein
By incorporating an irreversible loss compensation unit and signal preprocessing during the alkaline protein extraction process, the detection deviation caused by alkaline exposure was resolved, achieving long-term accuracy and stability of online protein concentration detection and improving production control efficiency.
Patent Information
- Application Number
- CN202611669082.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-27
- Publication Date
- 2026-11-27
AI Technical Summary
Existing technologies fail to effectively account for irreversible losses caused by alkali exposure during offline reference detection in the alkaline protein extraction process, resulting in low online detection results that are difficult to accurately reflect the true concentration. Furthermore, the lack of an effective calibration model update mechanism leads to fluctuations in detection results under different operating conditions.
By setting up an irreversible loss compensation unit, associating the cumulative amount of alkali exposure and determining the one-sided concentration constraint, a candidate calibration model is generated. The accuracy and stability of the model are ensured through signal preprocessing, state similarity gating, hysteresis mismatch suppression, and update backtracking verification.
This method achieves long-term accuracy and stability in online protein concentration detection during alkaline extraction, reduces the impact of noise and interference, and improves the reliability of detection results and production control efficiency.
Smart Images

Figure CN123175873A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of online detection technology for protein extraction. More specifically, this invention relates to an online protein concentration detection system for extracting protein from sea buckthorn seed meal. Background Technology
[0002] Sea buckthorn seed meal is a byproduct of oil extraction from sea buckthorn seeds. It has a high protein content, and industrially, the protein is often extracted using an alkaline extraction and acid precipitation method. The extract solution needs to be maintained in a strongly alkaline environment to ensure protein dissolution (see a method for extracting protein from sea buckthorn seed meal disclosed in Chinese patent application CN105481940A). However, under alkaline conditions, the protein undergoes irreversible chemical modifications such as denaturation and cross-linking with prolonged alkali exposure (see Chinese patent application CN101724376B, which discloses peptide bond degradation and primary structure changes in protein under strongly alkaline conditions, and Chinese patent application CN102224880A, which discloses lysine cross-linking reaction during alkaline extraction of protein), leading to a decrease in the detectable protein content in the solution.
[0003] To monitor the extraction process, existing technologies propose incorporating online protein concentration detection during the extraction steps. For example, Chinese patent application CN122306746A discloses a method and system for detecting fish lysate protein content based on near-infrared spectroscopy. This method uses offline reference detection results as the true value to establish a calibration model for online protein content output. However, the labeled values in this application are directly taken from offline Kjeldahl nitrogen determination results, without considering changes in the sample due to alkaline exposure from sampling completion to detection end, and lacking a mechanism for updating or switching the calibration model based on reference sample constraints. Furthermore, offline reference detection involves an unavoidable time interval between on-site sampling and result acquisition. During this interval, the sample remains in its original alkaline environment, and irreversible protein degradation continues, resulting in a final reference concentration value lower than the true protein concentration of the extract at the time of sampling.
[0004] Because the reference standard itself is systematically low, the correction performed using it as the true value will cause the model output to shift to a lower value and increase as the correction accumulates. This results in the online detection results being consistently lower than the actual concentration, making it difficult to accurately reflect the true concentration state. Moreover, this deviation fluctuates due to the influence of operating conditions such as sampling interval, alkalinity, and temperature, and is difficult to correct with a uniform fixed compensation value. Furthermore, frequent sampling will significantly increase the detection cost and operational burden.
[0005] In summary, there is currently no existing technology that combines the cumulative amount of alkali exposure during offline reference detection in the alkaline protein extraction process to perform irreversible loss compensation or one-sided constraint correction model update mechanism for offline reference results. The online correction model is easily dragged down by the systematically low reference results, which is a technical problem that urgently needs to be solved in this field. Summary of the Invention
[0006] One object of the present invention is to solve at least the above-mentioned problems and to provide at least the advantages that will be described later.
[0007] Another objective of this invention is to provide an online protein concentration detection system for sea buckthorn seed meal protein extraction. In the scenario of online protein concentration detection in alkaline protein extraction, the existing calibration process directly uses the offline reference detection results as the true concentration benchmark to update the calibration model, without considering the irreversible loss of protein due to alkaline exposure during the interval from sampling to detection. This results in a systematically low reference result, and after multiple calibrations, the model continues to drift towards a lower value. Moreover, the degree of this lower value fluctuates with the sampling interval, alkalinity, temperature, and other operating conditions, making it difficult to correct with a unified fixed compensation value. It also lacks a one-sided concentration constraint that combines the cumulative amount of alkaline exposure with a model update judgment mechanism, making it difficult to maintain the long-term accuracy of online detection.
[0008] To achieve these objectives and other advantages according to the present invention, an online protein concentration detection system for sea buckthorn seed meal protein extraction is provided, comprising:
[0009] The online signal acquisition module is configured to acquire optical detection signals of the extract in real time during the extraction of protein from sea buckthorn seed meal;
[0010] The protein concentration determination module is configured to input the optical detection signal into the current calibration model and output the online protein concentration value; the current calibration model is a calibration model that maps the optical detection signal to the online protein concentration value.
[0011] The calibration model management module is configured to generate, select, update, or switch the current calibration model, and includes an irreversible loss compensation unit. The irreversible loss compensation unit is configured to associate the cumulative amount of alkali exposure with each offline reference detection result and determine the one-sided concentration constraint based on the cumulative amount of alkali exposure.
[0012] The cumulative alkali exposure is the cumulative duration for which the pH of the extract is higher than a preset pH threshold; the cumulative alkali exposure associated with the irreversible loss compensation unit is the cumulative alkali exposure between the sampling timestamp of the corresponding offline reference detection result and the completion time of the corresponding offline reference detection; the one-sided concentration constraint is that, when the cumulative alkali exposure is equal to the time interval between the sampling timestamp and the completion time of the offline reference detection, the offline reference detection result is not higher than the actual protein concentration at its sampling timestamp, and the offline reference detection result constitutes the lower bound of the actual protein concentration; the offline reference detection result and the corresponding one-sided concentration constraint constitute the reference sample;
[0013] The calibration model management module generates or selects candidate calibration models based on reference samples. If the prediction of a candidate calibration model at the sampling timestamp of a reference sample that did not participate in its generation or selection is lower than the lower bound of the one-sided concentration constraint of the corresponding reference sample, then the current calibration model remains the calibration model called by the protein concentration determination module.
[0014] Preferably, it also includes a signal preprocessing module, which is configured to perform time alignment, outlier identification, baseline correction and interference compensation on the optical detection signal to obtain a preprocessed signal; the protein concentration determination module is configured to input the preprocessed signal into the current correction model.
[0015] Preferably, when the cumulative amount of alkali exposure exceeds a preset exposure threshold, the irreversible loss compensation unit excludes the corresponding reference sample from the reference sample on which the candidate correction model is based and the selected reference sample, and triggers a new offline reference detection.
[0016] Preferably, the calibration model management module also includes a state similarity gating unit and a hysteresis mismatch suppression unit;
[0017] The state similarity gating unit is configured to calculate the state similarity between the current process state features and the process state features of the reference sample. Both the current process state features and the process state features of the reference sample include the cumulative amount of alkali exposure. The state similarity gating unit allows the reference sample to participate in the generation or selection of candidate correction models only when the state similarity is not less than a first threshold.
[0018] The hysteresis mismatch suppression unit is configured to store the reference sample into the matching library when the state similarity is less than the first threshold. The reference sample in the matching library does not participate in the generation or selection of the candidate correction model until its state similarity is not less than the first threshold, and the generation or selection of the candidate correction model is based on the reference sample whose state similarity is not less than the first threshold.
[0019] Preferably, the calibration model management module further includes an update backtesting unit. The update backtesting unit is configured to perform backtesting predictions on optical detection signals within the same historical time period using the current calibration model and the candidate calibration model after generating or selecting a candidate calibration model and before updating or switching the current calibration model. The historical time period does not intersect with the sampling timestamps of each reference sample on which the candidate calibration model is based, and includes periods in which the temporal change rate of the online protein concentration is less than a preset change rate and the cumulative amount of alkali exposure is greater than a preset cumulative amount.
[0020] The update backtesting unit is also configured to perform jump verification. If the maximum deviation between the candidate calibration model and the current calibration model in the historical time period is greater than the preset jump threshold, a jump is determined. The update backtesting unit only performs the selection, update or switch of the current calibration model when the prediction of the candidate calibration model at the sampling timestamp of the reference sample that did not participate in its generation or selection is not lower than the lower bound of the one-sided concentration constraint of the corresponding reference sample, and the jump verification does not determine a jump. The confidence information after execution is determined based on the margin and maximum deviation between the prediction of the candidate calibration model at the sampling timestamp of the reference sample and the corresponding lower bound.
[0021] Preferably, the state similarity gating unit is further configured to decrease the first threshold when the prediction of the candidate correction model at the sampling timestamp of the reference sample that did not participate in its generation or selection is not lower than the lower bound of the one-sided concentration constraint of the corresponding reference sample, and to increase the first threshold when the prediction of the candidate correction model at the sampling timestamp of the reference sample that did not participate in its generation or selection is lower than the lower bound of the one-sided concentration constraint of the corresponding reference sample, and the first threshold is not less than a preset lower limit value.
[0022] Preferably, it also includes an output module, which is configured to output at least one of an online protein concentration value, confidence information, and a control signal based on the online protein concentration value.
[0023] The present invention has at least the following beneficial effects:
[0024] This invention establishes a calibration model management module with an irreversible loss compensation unit. This module correlates the cumulative alkali exposure to offline reference detection results and determines one-sided concentration constraints, clearly defining the offline reference results as the lower bound of the true concentration at the sampling time. Candidate calibration models are generated based on the reference samples, and the model switching criterion is based on whether the predicted value at the verification sample is lower than the concentration lower bound. This avoids systematically low reference results from dragging down the calibration model, effectively suppressing continuous model drift and ensuring the long-term accuracy of online protein concentration detection during alkali extraction.
[0025] This invention, by adding a signal preprocessing module, sequentially performs time alignment, outlier identification, baseline correction, and interference compensation on the optical detection signal. This eliminates sampling timing deviations, removes signal anomalies, corrects device baseline drift, and suppresses environmental interference, resulting in a stable and regular preprocessed signal. Inputting the preprocessed signal into the calibration model improves the accuracy of protein concentration calculation, reduces the negative impact of noise and interference on model fitting, and enhances the stability and reliability of online detection results.
[0026] This invention, through an irreversible loss compensation unit, removes the corresponding reference sample and triggers a new offline reference detection when the cumulative alkali exposure exceeds a preset exposure threshold. This can automatically identify failed reference samples that are excessively degraded or have too large a deviation, thus avoiding their interference with the fitting accuracy of the calibration model. At the same time, it can promptly supplement new and effective reference data, maintain the effectiveness and sufficiency of the modeling samples, and ensure that the calibration model is always updated based on reference samples within a reasonable deviation range.
[0027] This invention calculates process state similarity using the cumulative amount of alkali exposure as the core feature by setting a state similarity gating unit and a hysteresis mismatch suppression unit. Only reference samples that meet the similarity threshold are allowed to participate in modeling; samples that do not meet the threshold are stored in a matching library or trigger new detection. This ensures the adaptability of the modeled samples to the current operating conditions, improves the fit of the calibration model to the current production state, reduces model mismatch bias caused by changes in operating conditions, and improves the accuracy of online detection at different production stages.
[0028] This invention adds an update backtracking verification unit, which performs backtracking predictions using independent historical time periods before model switching, and simultaneously performs jump verification. The model update is completed only when the verification sample prediction meets the lower bound and there are no output jumps, and confidence information is output. This allows for advance prediction of the accuracy and stability after the model update, avoiding output jumps and accuracy degradation caused by model switching, while quantifying the reliability of the detection results, facilitating the reasonable use of detection data by the production end.
[0029] This invention uses a state similarity gating unit to dynamically adjust a first threshold based on the verification performance of candidate models. When verification is successful, the threshold is decreased to expand the modeling sample size; when verification fails, the threshold is increased to strictly control sample fit, and the threshold is never lower than a preset lower limit. This maximizes the number of usable samples while ensuring model-condition adaptation accuracy, dynamically balancing sample utilization and model fit, and improving the fitting effect and robustness of the calibration model under different conditions.
[0030] This invention, by setting up an output module, can output at least one of the following: online protein concentration value, confidence information, and control signal based on the online protein concentration value. It not only provides real-time concentration data but also clarifies the reliability of the detection results. Furthermore, it can directly interface with the extraction process control system. This facilitates production personnel in judging the reliability of the detection results and can also directly link with process parameter adjustments, helping to achieve closed-loop precise control of the protein extraction process and improving production management efficiency.
[0031] This invention determines the minimum irreversible protein loss and constructs a revised lower bound by querying a pre-defined monotone non-decreasing mapping relationship based on the cumulative alkali exposure. The model update decision is refined to a two-layer constraint of the original lower bound and the revised lower bound, with the correspondence between the zero cumulative alkali exposure level and zero serving as a fixed endpoint constraint mapping relationship. This allows for the quantitative compensation of the systematic underperformance of offline reference results for different levels of alkali exposure and varying operating conditions, avoiding the problem of a uniform fixed compensation value being difficult to adapt to fluctuations in operating conditions, and further improving the accuracy and stability of online protein concentration detection under different operating conditions.
[0032] Other advantages, objectives and features of the present invention will become apparent in part from the following description, and in part from those skilled in the art through study and practice of the invention. Attached Figure Description
[0033] Figure 1 This is a flowchart of the online protein concentration detection system for sea buckthorn seed meal protein extraction of the present invention;
[0034] Figure 2 This is a system block diagram of an online protein concentration detection system for sea buckthorn seed meal protein extraction, as described in one of the technical solutions of the present invention. Detailed Implementation
[0035] The present invention will be further described in detail below with reference to embodiments, so that those skilled in the art can implement it based on the description.
[0036] Example 1: As Figure 1 As shown, this invention provides an online protein concentration detection system for sea buckthorn seed meal protein extraction, comprising:
[0037] The online signal acquisition module is configured to acquire optical detection signals of the extract in real time during the extraction of protein from sea buckthorn seed meal;
[0038] The protein concentration determination module is configured to input the optical detection signal into the current calibration model and output the online protein concentration value; the current calibration model is a calibration model that maps the optical detection signal to the online protein concentration value.
[0039] The calibration model management module is configured to generate, select, update, or switch the current calibration model, and includes an irreversible loss compensation unit. The irreversible loss compensation unit is configured to associate each offline reference detection result with the cumulative amount of alkali exposure, and determine the one-sided concentration constraint based on the cumulative amount of alkali exposure.
[0040] The cumulative alkali exposure is the cumulative duration for which the pH of the extract is higher than a preset pH threshold; the cumulative alkali exposure associated with the irreversible loss compensation unit is the cumulative alkali exposure between the sampling timestamp of the offline reference detection result and the completion time of the offline reference detection; the one-sided concentration constraint is that, when the cumulative alkali exposure is equal to the time interval between the sampling timestamp and the completion time of the offline reference detection, the offline reference detection result is not higher than the actual protein concentration at its sampling timestamp, and the offline reference detection result constitutes the lower bound of the actual protein concentration; the offline reference detection result and the corresponding one-sided concentration constraint constitute the reference sample;
[0041] The calibration model management module generates or selects candidate calibration models based on the reference sample. If the prediction of a candidate calibration model at the sampling timestamp of a reference sample that did not participate in its generation or selection is lower than the lower bound of the one-sided concentration constraint of that reference sample, then the current calibration model remains the calibration model called by the protein concentration determination module.
[0042] In the above technical solution, the wavelength for online optical detection can be selected from the wavelength within the characteristic ultraviolet absorption band of proteins, and the signal sampling frequency can be set to 1 time / 10s or 1 time / 30s. The acquisition device can be a flow-through optical detector or an online spectrophotometer, and the detection flow cell in contact with the extract can be made of quartz glass. The acquisition device can be installed in series on the delivery pipeline of the sea buckthorn seed meal protein extract, specifically in the horizontal section between the outlet of the extraction tank and the subsequent purification process. During operation, the extract continuously flows through the detection flow cell at a stable flow rate. The optical component emits incident light of a specific wavelength, which passes through the extract and is collected by the photoelectric receiving element, converted into a corresponding electrical signal, and output in real time.
[0043] The cumulative alkali exposure is calculated by counting the continuous or intermittent cumulative duration of the extract pH being higher than the preset pH threshold. The preset pH threshold is determined by the minimum pH value that causes irreversible chemical modification of the protein in the extract, and is less than the pH of the extract in the alkali extraction and acid precipitation process. The statistical period is 1 minute. The historical time series data of the on-site pH meter is read, and the pH is judged to exceed the threshold according to the 1-minute statistical period. The duration of the period exceeding the threshold is accumulated.
[0044] The calibration model used for concentration conversion can be a linear regression model or a second-order polynomial model, and the input optical detection signal range can be a 0-5V DC voltage signal. The irreversible loss compensation unit can be an embedded industrial controller or a micro data processing module. The protein concentration determination module can be installed inside the field control cabinet in the extraction workshop and connected to the online signal acquisition module via a shielded signal cable. During operation, the protein concentration determination module receives the optical signal from the online signal acquisition module, calls the currently stored calibration model to complete the calculation, and outputs the online protein concentration value at the corresponding time.
[0045] During runtime, after each offline reference detection, the calibration model management module extracts the pH of the extract from the sampling timestamp to the detection completion time, calculates the cumulative alkali exposure within that interval, and determines the concentration lower bound of that offline detection result at the corresponding sampling time, which together form the reference sample. When generating candidate calibration models, the optical detection signal values at the corresponding sampling times of each reference sample are used as independent variables, and the one-sided concentration constraint lower bound of each reference sample is used as the dependent variable. The least squares method is used for fitting, resulting in multiple sets of candidate models with different function forms, such as linear models and second-order polynomial models. Since the one-sided concentration constraint lower bound is a conservative lower bound of the actual protein concentration at the sampling time, the candidate model obtained by fitting it is a conservative estimation model. When selecting a candidate model, it is validated using reference samples that are not involved in the modeling, and the model with the smallest prediction deviation is selected as the candidate to be switched. If the predicted value of the candidate model at the sampling time of the validation sample is lower than the concentration lower bound of that sample, the current calibration model remains unchanged, and parameter updates and model switching operations are not performed. The connection relationship of the above modules is as follows: Figure 2 As shown: the output of the online signal acquisition module is connected to the input of the protein concentration determination module, the output of the protein concentration determination module is connected to the output module, the calibration model management module provides the current calibration model to the protein concentration determination module, and the offline reference detection results are input to the calibration model management module.
[0046] Using this technical solution, the present invention can realize real-time online detection of protein concentration in sea buckthorn seed meal under alkaline extraction. By statistical analysis of cumulative alkali exposure and setting one-sided concentration constraints, it corrects the systematic bias caused by irreversible chemical modification of protein after sampling in offline reference results, avoids the calibration model being continuously dragged down by the low reference results, ensures the long-term accuracy of online detection results, and stably maintains detection precision.
[0047] To verify the aforementioned technical effects, two sets of operations were set up for a comparative test in the same batch of alkaline extraction process: the control group directly used offline reference detection results as true values to update the current calibration model; the test group fitted a candidate calibration model with the lower bound of the one-sided concentration constraint as the dependent variable, and maintained the current calibration model through lower bound judgment. The baseline protein concentration with zero alkali exposure was set at 2.0 mg / mL, the duration from sampling to completion of detection was about 2 h, and the liquid temperature was about 40°C. The deviations of the online detection values after the 1st, 2nd, 3rd, and 4th rounds of calibration in the control group from the baseline concentration with zero alkali exposure were approximately -0.17 mg / mL, -0.18 mg / mL, -0.19 mg / mL, and -0.21 mg / mL, respectively, with the negative bias gradually expanding with the number of calibration rounds; the corresponding values in the test group were approximately -0.018 mg / mL, -0.019 mg / mL, -0.018 mg / mL, and -0.020 mg / mL, respectively, which remained basically stable under the constraint of the lower bound judgment. It should be noted that the aforementioned online values of the test group were output by the current calibration model maintained after the lower bound judgment; the predictions of the candidate calibration model at the sampling timestamps of the validation samples were lower than the lower bounds of the corresponding one-sided concentration constraints, so they did not participate in updating or switching.
[0048] Embodiment 2: On the basis of Embodiment 1, the system further includes a signal preprocessing module, which is configured to perform time alignment, outlier identification, baseline correction, and interference compensation on the optical detection signal to obtain a preprocessed signal; the protein concentration determination module is configured to input the preprocessed signal into the current calibration model.
[0049] In the aforementioned technical solution, the signal preprocessing module is arranged between the online signal acquisition module and the protein concentration determination module. The time alignment accuracy of signal preprocessing can be set to 1 s, the 3σ criterion can be used for outlier identification, and the baseline correction period can be set to 30 min. The signal preprocessing module can adopt a digital signal processing chip or an embedded arithmetic unit. The signal preprocessing module can be integrated and installed at the signal output end of the online signal acquisition module, in the signal link between the online signal acquisition module and the protein concentration determination module in the control cabinet.
[0050] The implementation of time alignment is to perform linear interpolation on the original signals of different channels according to a unified time axis, so that each signal point corresponds to the same time point. The linear interpolation formula is: y(t)=y1+(y2-y1)×(t-t1) / (t2-t1), where t1 and t2 are two adjacent sampling moments, y1 and y2 are the corresponding signal values, t is the moment to be aligned, t1<t<t2, and t2≠t1. The calculation method for outlier identification is to take 5 consecutive sampling points as a sliding window, calculate the mean μ and standard deviation σ of the signals within the window, and if the value x of the current sampling point exceeds the range of μ±3σ, it is determined as an outlier and removed.
[0051] Interference compensation can employ moving average filtering or adaptive filtering algorithms, while baseline correction can use the zero-tracking method. The sliding window length can be set to 5 or 10 sampling points, and the filtering parameters can be adjusted according to the on-site interference level. The moving average filtering formula is: Where N is the window length, and x(ni) is the i-th sampled value within the window, i=1,2,…,N. The window consists of N consecutive sampled points preceding the current sampled point, excluding the current sampled point x(n). Baseline correction can be performed using the zero-tracking method, taking the tracked value of the signal's stable segment as the baseline reference. The real-time signal is subtracted from this baseline reference to complete the baseline correction. Then, a filtering algorithm that averages the signal within the sliding window is used to suppress noise interference caused by pipeline flow fluctuations, outputting a stable pre-processed signal.
[0052] The preprocessed signal is directly fed into the protein concentration determination module for concentration calculation. The output impedance of the preprocessed signal can be matched to 50Ω, and the output range remains consistent with the original signal. Signal transmission can utilize twisted-pair shielded cables to reduce the impact of electromagnetic interference on-site. During operation, the preprocessed signal maintains the correspondence between timing and amplitude, directly connecting to the input interface of the calibration model to replace the original optical signal in concentration calculation, ensuring stable and reliable signal quality for the input model.
[0053] By employing this technical solution, the present invention can effectively remove timing deviations, outliers, baseline drift, and interference noise from the original optical detection signal, improve the signal quality of the input correction model, reduce the impact of signal interference on concentration calculation results, improve the stability and repeatability of online detection, and reduce concentration calculation errors caused by signal fluctuations.
[0054] Example 3: Based on Example 1, when the cumulative amount of alkali exposure exceeds the preset exposure threshold, the irreversible loss compensation unit excludes the corresponding reference sample from the reference sample on which the candidate correction model is based and the selected reference sample, and triggers a new offline reference detection.
[0055] In the above technical solution, the irreversible loss compensation unit performs the following threshold determination and sample rejection process. The preset exposure threshold can be set to 120 minutes to determine whether the alkali exposure level of the reference sample exceeds a reasonable range. The determination logic can be integrated within the irreversible loss compensation unit, and the calculations can be performed using existing control hardware. The threshold parameters can be stored in the module's parameter register, allowing for on-site adjustment based on the detection cycle and process conditions.
[0056] Each time the cumulative alkali exposure of a single sample is calculated during runtime, it is compared with a preset exposure threshold. If the cumulative alkali exposure of a reference sample exceeds 120 minutes, it is marked as a failed sample and directly removed from the sample set used to generate or select the candidate calibration model, triggering a new offline reference test. When failed samples occur consecutively, or the number of valid reference samples falls below the preset minimum sample size, additional offline reference tests are triggered. The minimum sample size can be set to 5 groups. The trigger command can be sent to the laboratory testing terminal via industrial Ethernet, simultaneously pushing on-site sampling point information and recommended sampling time. After the runtime command is sent, it waits for new test results to be returned, replenishing the number of valid reference samples to maintain the sufficiency and effectiveness of the modeled samples.
[0057] Data filtering can employ a labeling method, adding valid or invalid labels to each reference sample. During modeling, only sample data with valid labels is read. Data storage can reuse the existing data storage server, with a separate storage area for invalid samples, retaining the original data for future reference. When the runtime calibration model management module calls the modeling samples, it automatically filters samples with invalid labels, using only valid samples to complete model fitting and selection.
[0058] By adopting this technical solution, the present invention can automatically identify failed reference samples with excessive alkali exposure and large deviations, avoid them from interfering with the fitting accuracy of the calibration model, and at the same time, promptly supplement new effective detection samples to maintain the quality and quantity of modeling samples, ensuring that the calibration model is always updated based on reference data within a reasonable deviation range.
[0059] Example 4: Based on Example 1, the calibration model management module further includes a state similarity gating unit and a hysteresis mismatch suppression unit;
[0060] The state similarity gating unit is configured to calculate the state similarity between the current process state features and the process state features of the reference sample. Both the current process state features and the process state features of the reference sample include the cumulative amount of alkali exposure. The state similarity gating unit allows the reference sample to participate in the generation or selection of candidate correction models only when the state similarity is not less than a first threshold.
[0061] The hysteresis mismatch suppression unit is configured to store the reference sample into the matching library when the state similarity is less than the first threshold. The reference sample in the matching library does not participate in the generation or selection of the candidate correction model until its state similarity is not less than the first threshold, and the generation or selection of the candidate correction model is based on the reference sample whose state similarity is not less than the first threshold.
[0062] In the above technical solution, the state similarity gating unit and the hysteresis mismatch suppression unit perform the following processing: The process state features used for state comparison include the cumulative amount of alkali exposure, and extract temperature and material concentration can also be added as supplementary features. Similarity calculation can use a cosine similarity algorithm or an Euclidean distance algorithm. The first threshold can be set to 0.85. The computation unit can reuse the industrial control computer of the calibration model management module, requiring no additional hardware. The state similarity gating unit can be integrated into the sample screening stage of the calibration model management module.
[0063] The cosine similarity is calculated by normalizing the current process state features and the process state features of the reference sample using the same set of reference values, transforming them into feature vectors A and B of the same dimension, and then calculating the ratio of the dot product of the two vectors to the product of their magnitudes. , The ratio represents the Euclidean norm; the closer the ratio is to 1, the higher the similarity. If the Euclidean distance algorithm is used, the distance d = |AB| is first calculated after normalization using the same set of reference values, and then s = 1 - d / d is applied. max Convert to similarity, where d max The maximum distance is preset. During runtime, the current process state features and the process state features of each reference sample are extracted, the state similarity values of the two are calculated, and the values are compared with the first threshold.
[0064] Reference samples with a state similarity of not less than the first threshold are marked as modelable samples, allowing them to participate in the generation or selection of candidate calibration models; reference samples with a state similarity less than the first threshold are marked as samples to be matched. Sample labeling can take the form of state tags, which are bound to the sample data for storage. After the similarity calculation is completed at runtime, the sample classification is automatically completed. Samples that meet the criteria are entered into the modeling queue, while samples that do not meet the criteria are stored in the waiting-to-match library for retention.
[0065] The generation or selection of candidate correction models is based solely on modelable samples with a state similarity not less than a first threshold. When the number of samples in the matching library is large, or when the current operating conditions change, the hysteresis mismatch suppression unit can trigger new offline reference detection, collecting new samples that match the current state. The triggering condition for new detection can be set to the proportion of samples to be matched exceeding 60% of the total number of samples. During runtime, qualified samples are automatically selected to complete the fitting, while the proportion of samples to be matched is monitored. When the triggering condition is met, a new sampling and detection process is initiated.
[0066] By adopting this technical solution, the present invention can screen reference samples that match the current working condition for modeling, improve the adaptability of the calibration model to the current production state, reduce the model generalization bias caused by working condition differences, and at the same time retain unmatched samples and supplement new samples as needed, thus balancing model adaptation accuracy and sample utilization efficiency.
[0067] Example 5: Based on Example 4, the calibration model management module further includes an update backtesting unit. The update backtesting unit is configured to perform backtesting prediction on the optical detection signals of the current calibration model and the candidate calibration model within the same historical time period after generating or selecting a candidate calibration model and before updating or switching the current calibration model. The historical time period does not intersect with the sampling timestamps of each reference sample on which the candidate calibration model is based, and includes periods in which the temporal change rate of the online protein concentration is less than a preset change rate and the cumulative amount of alkali exposure is greater than a preset cumulative amount.
[0068] The update backtesting unit is also configured to perform jump verification. If the maximum deviation between the candidate calibration model and the current calibration model in the historical time period is greater than the preset jump threshold, a jump is determined. The update backtesting unit only performs the selection, update or switch of the current calibration model when the prediction of the candidate calibration model at the sampling timestamp of the reference sample that did not participate in its generation or selection is not lower than the lower bound of the one-sided concentration constraint of the reference sample, and the jump verification does not determine a jump. The unit then determines the confidence information after execution based on the margin and maximum deviation between the prediction of the candidate calibration model at the sampling timestamp of the reference sample and the corresponding lower bound.
[0069] In the above technical solution, the updated backtesting unit performs the following backtesting prediction, jump verification, and confidence information determination. The historical time period selected for backtesting does not intersect with the sampling timestamps of the reference samples on which the candidate calibration model is based, nor with the sampling timestamps of the reference samples not involved in the generation or selection of the candidate calibration model. The length of the historical time period can be set to 2 hours, the preset value for the time-series change rate of protein concentration within the time period can be set to 0.05 mg / (mL·min), and the preset value for cumulative alkali exposure can be set to 60 min. Historical data can be retrieved from the historical database of the data storage server without additional collection.
[0070] The calculation method for the time-series change rate of protein concentration is as follows: within the target time period, the online protein concentration values output by the current calibration model are taken at 1-minute intervals. The absolute value of the change between two adjacent concentration values is calculated, and then the average value of all changes is taken. If the average value is less than a preset value, it meets the smoothness condition. After generating candidate models during runtime, historical time periods that meet the conditions are automatically selected, and the optical detection signals of the corresponding time periods are extracted as verification inputs.
[0071] The preset jump threshold for jump verification can be set to 0.2 mg / mL. During the verification process, the current calibration model and the candidate calibration model are used to retrospectively predict the optical detection signals for the same historical period, obtaining two sets of concentration time-series data. The maximum deviation between the two sets of data over the entire time period is calculated. The maximum deviation is calculated by taking the maximum absolute value of the difference: D max =max|ycur (t)-y cand (t)|,y where y cur (t) represents the backtracking prediction value of the current correction model at time t, y cand (t) represents the backtracking prediction value of the candidate correction model at time t. During runtime, the calculated maximum deviation is compared with a preset jump threshold. If it exceeds the threshold, it is considered a jump, and model updates are not allowed.
[0072] The selection, updating, or switching of the current calibration model is only performed if the predicted value of the candidate calibration model at the reference sample not involved in modeling is not lower than the lower bound of the corresponding one-sided concentration constraint, and the jump check does not determine a jump. Confidence information is determined by combining the prediction margin of the candidate model at the validation sample and the maximum backtracking deviation. Specifically, the calculation method is as follows: for each reference sample j not involved in candidate model generation or selection, calculate the prediction margin m. j =y j -L j , where y j L represents the predicted value of the candidate model at the sampling timestamp. j This is the lower bound of the one-sided concentration constraint for this sample; the minimum margin M is taken. min K is the number of reference samples that were not involved in the generation or selection of the candidate calibration model. The formula is C = 0.5 × min(M). min / M0,1)+0.5×max(1-D max The confidence level C is calculated using the formula / D0,0, where M0 is a preset margin reference value (which can be 0.2 mg / mL) and D0 is a preset deviation reference value (which can also be 0.2 mg / mL). A higher C value indicates a higher confidence level. Confidence information can be output synchronously with the concentration value; see the corresponding implementation method in the output module for specific output details.
[0073] By adopting this technical solution, the present invention can complete backtracking verification and jump verification through independent historical data before model update, predict the accuracy and output stability after model update in advance, avoid output jump and accuracy decrease caused by model switching, and quantify output confidence information to facilitate the production end to judge the credibility of the detection results.
[0074] Example 6: Based on Example 5, the state similarity gating unit is further configured to decrease the first threshold when the prediction of the candidate correction model at the sampling timestamp of the reference sample that did not participate in its generation or selection is not lower than the lower bound of the one-sided concentration constraint of the reference sample, and to increase the first threshold when the prediction of the candidate correction model at the sampling timestamp of the reference sample that did not participate in its generation or selection is lower than the lower bound of the one-sided concentration constraint of the reference sample, and the first threshold is not less than a preset lower limit value.
[0075] In the above technical solution, the state similarity gating unit dynamically adjusts the first threshold as follows: When the verification result shows that the predicted value of the candidate model at the reference sample not involved in modeling is not lower than the corresponding one-sided concentration constraint lower bound, the operation of reducing the first threshold is performed. The step size for each adjustment can be set to 0.02. The adjustment logic is integrated within the state similarity gating unit, reusing the original computational hardware. During runtime, after each candidate model verification, the verification result is judged; if the reduction condition is met, the first threshold value is reduced by the step size.
[0076] When the predicted value of the candidate model at reference samples not involved in the modeling is lower than the lower bound of the corresponding one-sided concentration constraint, the first threshold is increased. The step size for each adjustment can be set to 0.02. The threshold adjustment takes effect immediately and is applied to the state similarity screening of the next batch of reference samples. If the runtime validation fails, the first threshold is increased by the step size to strictly enforce the sample admission criteria and improve the matching degree between the modeled samples and the current working conditions.
[0077] The preset lower limit of the first threshold can be set to 0.7. After each adjustment, the threshold is compared with the preset lower limit. If the adjusted threshold is lower than the lower limit, the threshold is locked at the lower limit. The lower limit parameter is stored in the module's parameter storage area and can be manually modified. After the threshold adjustment is completed at runtime, the lower limit is automatically checked to ensure that the threshold is never lower than the preset lower limit, thus avoiding a significant decrease in sample fit due to an excessively low threshold.
[0078] By adopting this technical solution, the present invention can dynamically adjust the admission threshold of state similarity according to the model verification effect, maximize the number of available modeling samples while ensuring the model's working condition adaptation accuracy, dynamically balance the sample utilization rate and model adaptability, and improve the fitting effect and working condition adaptability of the calibration model.
[0079] Example 7: Based on Example 1, an output module is also included. The output module is configured to output at least one of the following: online protein concentration value, confidence information, and control signal based on the online protein concentration value.
[0080] In the above technical solution, the output module performs the following output: The output module can output online protein concentration values, and the output refresh rate can be consistent with the sampling frequency, which is 1 time / 10s or 1 time / 30s. During runtime, it receives concentration data output from the concentration calculation unit in real time and outputs it externally through a display interface or data interface.
[0081] The output module can output confidence information, which is divided into three levels: high, medium, and low, corresponding to different levels of detection reliability. For example, a confidence level C of not less than 0.8 is considered high, C of not less than 0.5 and less than 0.8 is considered medium, and C of less than 0.5 is considered low. Confidence information can be displayed synchronously with concentration values or transmitted along with concentration data via a data interface. The output interface can use an RS485 interface or an Ethernet interface, supporting standard communication protocols. During runtime, the confidence information data for the corresponding time period is retrieved, bound to the concentration data, and output synchronously, facilitating the user's assessment of data reliability.
[0082] The output module can output a control signal based on the online protein concentration value. This control signal can be a 4-20mA analog signal or a digital signal, corresponding to parameter adjustment commands for the extraction process. The control signal can be directly connected to the extraction process control system to adjust parameters such as feed rate and alkali addition. The control signal is generated by calculating the real-time online protein concentration value C. online With the target value C set The deviation between them is e=C set -C online After proportional or PID calculation, the signal is converted into a 4-20mA analog signal output. During operation, based on the deviation between the real-time concentration value and the set target value, a corresponding control signal output is generated to assist in achieving closed-loop control of the extraction process.
[0083] By adopting this technical solution, the present invention can provide multiple forms of output content to meet the needs of different scenarios. It can not only intuitively display real-time concentration and confidence information, but also directly link with the process control system to help achieve precise control of the extraction process and improve the practicality and adaptability of the system.
[0084] Although the embodiments of the present invention have been disclosed above, they are not limited to the applications listed in the specification and embodiments. They can be applied to various fields suitable for the present invention. For those skilled in the art, other modifications can be easily made. Therefore, without departing from the technical solution of the present invention and the general concept defined by its equivalents, the present invention is not limited to the specific details and embodiments shown and described herein.
Claims
1. An online protein concentration detection system for sea buckthorn seed meal protein extraction, characterized in that, include: The online signal acquisition module is configured to acquire optical detection signals of the extract in real time during the extraction of protein from sea buckthorn seed meal; The protein concentration determination module is configured to input the optical detection signal into the current calibration model and output the online value of the protein concentration; The current calibration model maps the optical detection signal to online protein concentration values. The calibration model management module is configured to generate, select, update, or switch the current calibration model, and includes an irreversible loss compensation unit. The irreversible loss compensation unit is configured to associate each offline reference detection result with the cumulative amount of alkali exposure, and determine the one-sided concentration constraint based on the cumulative amount of alkali exposure. The cumulative alkali exposure is the cumulative duration for which the pH of the extract is higher than a preset pH threshold; the cumulative alkali exposure associated with the irreversible loss compensation unit is the cumulative alkali exposure between the sampling timestamp of the corresponding offline reference detection result and the completion time of the corresponding offline reference detection; the one-sided concentration constraint is that, when the cumulative alkali exposure is equal to the time interval between the sampling timestamp and the completion time of the offline reference detection, the offline reference detection result is not higher than the actual protein concentration at its sampling timestamp, and the offline reference detection result constitutes the lower bound of the actual protein concentration; the offline reference detection result and the corresponding one-sided concentration constraint constitute the reference sample; The calibration model management module generates or selects candidate calibration models based on reference samples. If the prediction of a candidate calibration model at the sampling timestamp of a reference sample that did not participate in its generation or selection is lower than the lower bound of the one-sided concentration constraint of the corresponding reference sample, then the current calibration model remains the calibration model called by the protein concentration determination module.
2. The online protein concentration detection system for sea buckthorn seed meal protein extraction as described in claim 1, characterized in that, It also includes a signal preprocessing module, which is configured to perform time alignment, outlier identification, baseline correction and interference compensation on the optical detection signal to obtain a preprocessed signal; The protein concentration determination module is configured to input the preprocessed signal into the current calibration model.
3. The online protein concentration detection system for sea buckthorn seed meal protein extraction as described in claim 1, characterized in that, When the cumulative amount of alkali exposure exceeds the preset exposure threshold, the irreversible loss compensation unit excludes the corresponding reference sample from the reference sample on which the candidate correction model is based and the selected reference sample, and triggers a new offline reference detection.
4. The online protein concentration detection system for sea buckthorn seed meal protein extraction as described in claim 1, characterized in that, The calibration model management module also includes a state similarity gating unit and a hysteresis mismatch suppression unit; The state similarity gating unit is configured to calculate the state similarity between the current process state features and the process state features of the reference sample. Both the current process state features and the process state features of the reference sample include the cumulative amount of alkali exposure. The state similarity gating unit allows the reference sample to participate in the generation or selection of candidate correction models only when the state similarity is not less than a first threshold. The hysteresis mismatch suppression unit is configured to store the reference sample into the matching library when the state similarity is less than the first threshold. The reference sample in the matching library does not participate in the generation or selection of the candidate correction model until its state similarity is not less than the first threshold, and the generation or selection of the candidate correction model is based on the reference sample whose state similarity is not less than the first threshold.
5. The online protein concentration detection system for sea buckthorn seed meal protein extraction as described in claim 4, characterized in that, The calibration model management module also includes an update backtesting unit. The update backtesting unit is configured to perform backtesting predictions on optical detection signals within the same historical time period using the current calibration model and the candidate calibration model after generating or selecting a candidate calibration model and before updating or switching the current calibration model. The historical time period does not intersect with the sampling timestamps of each reference sample on which the candidate calibration model is based, and includes periods when the temporal change rate of the online protein concentration is less than the preset change rate and the cumulative amount of alkali exposure is greater than the preset cumulative amount. The update backtesting unit is also configured to perform jump verification. If the maximum deviation between the candidate calibration model and the current calibration model in the historical time period is greater than the preset jump threshold, a jump is determined. The update backtesting unit only performs the selection, update or switch of the current calibration model when the prediction of the candidate calibration model at the sampling timestamp of the reference sample that did not participate in its generation or selection is not lower than the lower bound of the one-sided concentration constraint of the corresponding reference sample, and the jump verification does not determine a jump. The confidence information after execution is determined based on the margin and maximum deviation between the prediction of the candidate calibration model at the sampling timestamp of the reference sample and the corresponding lower bound.
6. The online protein concentration detection system for sea buckthorn seed meal protein extraction as described in claim 5, characterized in that, The state similarity gating unit is also configured to decrease the first threshold when the prediction of the candidate calibration model at the sampling timestamp of the reference sample that did not participate in its generation or selection is not lower than the lower bound of the one-sided concentration constraint of the corresponding reference sample, and to increase the first threshold when the prediction of the candidate calibration model at the sampling timestamp of the reference sample that did not participate in its generation or selection is lower than the lower bound of the one-sided concentration constraint of the corresponding reference sample, and the first threshold is not less than a preset lower limit value.
7. The online protein concentration detection system for sea buckthorn seed meal protein extraction as described in claim 1, characterized in that, It also includes an output module, which is configured to output at least one of an online protein concentration value, confidence information, and a control signal based on the online protein concentration value.
Citation Information
Patent Citations
Wood adhesive prepared by degrading soybean protein by utilizing strong basicity and preparation method thereof
CN101724376B
Extraction method of protein component in aquatic product material
CN102224880A
Seabuckthorn seed meal protein extraction method
CN105481940A
Fish soluble pulp protein content detection method and system based on near infrared spectrum
CN122306746A
