A closed-loop control system and method for the preparation process parameters of Xiangsu powder
By using a closed-loop control system for the process parameters of Xiangsu powder preparation, the physical properties of the condensate are monitored in real time, and dynamic adjustment commands are generated. This solves the problems of inaccurate volatile oil extraction and thermodynamic equilibrium disruption, achieving efficient extraction of volatile oil and improved product quality.
Patent Information
- Application Number
- CN202611441087.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-16
- Publication Date
- 2026-11-17
AI Technical Summary
The existing process for preparing Xiangsu powder cannot accurately identify the rapid precipitation range of volatile oils, leading to thermal degradation of heat-sensitive components. Furthermore, during bypass extraction, it cannot adaptively adjust the heat input and gas phase back pressure, causing flash boiling in the extraction system and disrupting thermodynamic equilibrium.
A closed-loop control system for the preparation process parameters of Xiangsu powder is adopted. Through the collaborative work of the main control module, sensing module, pretreatment module, scheduling module, diversion module and compensation module, a closed-loop control architecture based on the physical property derivative matrix is constructed. The system monitors the physical property state of the condensate in real time, generates bypass diversion, reset reflux and enthalpy decay commands, adjusts the gas phase exhaust pressure and maintains thermodynamic stability.
Thermodynamic stability of the volatile oil extraction process is achieved, avoiding thermal degradation of heat-sensitive components, ensuring precise capture of the extraction endpoint, eliminating the risk of flash boiling, reducing energy loss and back pressure drop, and improving the quality of the finished product.
Smart Images

Figure CN123113764A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of pharmaceutical process regulation, and specifically relates to a closed-loop regulation system and method for process parameters of Xiangsu Powder preparation. Background Art
[0002] As a classic traditional Chinese medicine compound prescription, the core of the preparation process of Xiangsu Powder lies in extracting volatile oil and water-soluble active components from medicinal materials. In the traditional extraction process, the traditional Chinese medicinal material matrix and the solvent are heated to a boiling state in an extraction tank, and the generated mixed steam is condensed and then refluxed into the extraction tank to form a continuous thermodynamic cycle. The volatile components undergo interphase mass transfer and enrichment in the extraction system along with the condensed reflux liquid. In the reflux extraction stage, the control system must maintain stable temperature and pressure parameters inside the extraction tank to ensure the precipitation rate of target components and the gas-liquid mass transfer efficiency.
[0003] The existing preparation process lacks a real-time tracking mechanism for the evolution law of the physical property state of the condensed reflux liquid in the extraction reflux stage. The traditional control method relies on a fixed preset time or manual experience to divide the process stages, and cannot accurately identify the rapid precipitation interval of volatile oil components. Due to the lack of quantitative physical state feedback, the volatile components in the condensate repeatedly participate in the thermodynamic cycle between the extraction tank and the condenser. The heat-sensitive volatile oil components are exposed to a high-temperature heat source for a long time, resulting in thermal degradation, oxidative polymerization, which leads to a reduction in the retention rate of active components and a decline in the physicochemical quality of the final finished product.
[0004] In the operation of performing bypass shunt collection of volatile oil, the existing regulation and control equipment cannot adaptively adjust the heat source input and back pressure state of the extraction system according to the actual loss of liquid phase material. The bypass shunt action directly causes the reduction of the liquid phase volume and the increase of the gas phase space inside the extraction tank, resulting in a thermodynamic mismatch between the constant heat input rate and the expanded gas phase volume. The thermodynamic mismatch causes a non-linear drop in the internal pressure of the extraction tank, destroys the inherent thermodynamic equilibrium of the extraction system, triggers the flash boiling phenomenon of the internal mixed fluid, and interferes with the continuous operation of the process and the parameter control accuracy. Summary of the Invention
[0005] In view of the deficiencies in the prior art, the present invention provides a closed-loop regulation system and method for process parameters of Xiangsu Powder preparation, which solves the problems that the existing extraction process cannot accurately identify the rapid precipitation interval of volatile oil, resulting in thermal degradation of heat-sensitive components, and that the heat input and gas phase back pressure cannot be adaptively adjusted during the bypass shunt extraction of volatile oil, resulting in flash boiling of the extraction system and destruction of the thermodynamic equilibrium.
[0006] To achieve the above objectives, the present invention is implemented through the following technical solutions:
[0007] In a first aspect, the present invention provides a closed-loop regulation system for process parameters of Xiangsu Powder preparation, and the system comprises:
[0008] The main control module acquires real-time temperature and pressure parameters.
[0009] The sensing module acquires continuous fluid signals, raw density parameters, raw refractive index parameters, and instantaneous mass flow rate parameters.
[0010] The preprocessing module generates the derivative matrix of condensate properties based on the original density and refractive index parameters.
[0011] The scheduling module extracts real-time pressure parameters based on real-time temperature parameters and continuous fluid signals as initial equilibrium pressure parameters; it analyzes the derivative matrix of condensate properties to generate bypass diversion commands, reset reflux commands, enthalpy decay commands, and global reset commands; and it calculates the target compensation pressure parameters based on instantaneous mass flow rate parameters and initial equilibrium pressure parameters.
[0012] The current shunting module executes bypass current shunting instructions and reset return instructions;
[0013] The compensation module adjusts the gas phase exhaust pressure stabilization actuator based on the target compensation pressure parameter.
[0014] The closed-loop control system integrates sensing, preprocessing, scheduling, diversion and compensation modules to construct a closed-loop control architecture based on the physical property derivative matrix. The closed-loop control system uses the acquired fluid signals, physical properties and thermodynamic state data to perform state assessment and issue commands, and establishes thermodynamic closed-loop feedback while extracting volatile oil.
[0015] Furthermore, the preprocessing module executes a sliding window mid-range filter and a first-order hysteresis low-pass filter algorithm to obtain the effective net density parameter and the effective net refractive index parameter; based on the effective net density parameter and the effective net refractive index parameter, a discrete backward difference operation is performed to solve for the first derivative parameter of density, the first derivative parameter of refractive index, the second derivative parameter of density, and the second derivative parameter of refractive index.
[0016] By using a time-domain filtering algorithm to remove fluid noise and physical background noise, and combining it with differential operations to extract the rate of change and acceleration of the physical properties of the condensate, quantitative data is provided for determining the stage of the precipitation process.
[0017] Furthermore, the preprocessing module reorganizes the effective net density parameter, effective net refractive index parameter, and the first derivative parameters of density, first derivative parameters of refractive index, second derivative parameters of density, and second derivative parameters of refractive index into a matrix-based data structure of condensate property derivative matrix.
[0018] By establishing a matrix-based data structure, the independent physical property parameters and their differential change trends are integrated and used as the analytical benchmark for the scheduling module.
[0019] Furthermore, when the density first derivative parameter and the refractive index first derivative parameter in the condensate physical property derivative matrix are both less than zero, and the density second derivative parameter and the refractive index second derivative parameter are both less than zero, the scheduling module generates a bypass diversion command; the diversion module responds to the bypass diversion command by controlling the three-way proportional regulating valve to switch to the preset bypass position, so that the condensate return liquid is completely isolated and introduced into the bypass low-temperature temporary storage tank.
[0020] Based on the decreasing rate and acceleration characteristics of physical property parameters, the closed-loop control system identifies the concentrated precipitation range of volatile components and performs physical bypass isolation and collection within the concentrated precipitation range to prevent thermal degradation or oxidative polymerization of heat-sensitive volatile oil components.
[0021] Furthermore, when the density second derivative parameter or refractive index second derivative parameter in the condensate physical property derivative matrix crosses the zero critical point and enters the positive value range, and is maintained continuously for multiple control cycles, the scheduling module generates a reset reflux command and an enthalpy decay command; the diversion module responds to the reset reflux command and controls the physical valve opening of the three-way proportional regulating valve to return to the zero position, restoring the condensate reflux liquid to the main line of the extraction tank.
[0022] By utilizing the positive and negative reversal characteristics of the second derivative parameter, it is determined that the volatile oil precipitation rate has crossed the peak and entered the decay period. The main reflux is then restored to maintain the liquid phase distribution in the extraction system.
[0023] Furthermore, in response to the enthalpy decay command, the main control module uses a negative exponential decay function to calculate the target physical valve opening and reduce the physical valve opening of the heating pipeline in the extraction tank jacket.
[0024] This allows the heat source input to match the vaporization latent heat demand that decreases nonlinearly during the extraction decay stage, thereby reducing heat energy consumption and mitigating ineffective thermal shock to the medicinal material matrix.
[0025] Furthermore, the scheduling module uses the set sampling period as the time step, takes the instantaneous mass flow rate parameter during the duration of the bypass diversion command as the integrand, and performs discrete accumulation and summation processing to solve for the lost mass accumulation parameter. The lost mass accumulation parameter is converted into an equivalent gas phase volume, and the target compensation pressure parameter is generated by multiplying the initial equilibrium pressure parameter by the initial effective gas phase volume constant and dividing by the volume and parameter constructed by adding the initial effective gas phase volume constant and the equivalent gas phase volume.
[0026] The amount of liquid material lost during the bypass diversion process is quantified, and a pressure compensation calculation model is established based on the rate of change of spatial volume to provide a dynamic benchmark for back pressure regulation of the closed-loop control system.
[0027] Furthermore, the compensation module extracts the pressure deviation between the target compensation pressure parameter and the real-time pressure parameter; based on the pressure deviation, it calls the proportional-integral-derivative control algorithm to generate a frequency regulation control quantity; and sends the frequency regulation control quantity to the frequency converter inside the gas phase exhaust pressure stabilization actuator to continuously adjust the mechanical operating speed of the exhaust fan.
[0028] The closed-loop control system corrects the exhaust rate based on the target compensation pressure calculated dynamically, which alleviates the pressure drop inside the extraction tank caused by the drop in liquid level and prevents flash boiling of the mixed fluid.
[0029] Furthermore, the scheduling module determines that the process extraction has reached the preset process endpoint when the absolute values of the first derivative parameters of density and refractive index are within the set zero-bias dead zone range for multiple consecutive control cycles, and generates a global reset command; the main control module responds to the global reset command by outputting a zero-level signal to strip the opening of the heating physical valve; the compensation module responds to the global reset command by blocking the operating frequency of the gas phase exhaust pressure stabilization actuator and triggering the exhaust pressure relief valve to connect to the external atmospheric environment to eliminate the system pressure difference.
[0030] Using the state where the rate of change of physical properties approaches zero as the criterion for determining the extraction endpoint, heat source removal and air pressure unloading are achieved, ensuring safe operation of the equipment when it is stopped.
[0031] A second aspect of this invention provides a closed-loop control method for process parameters in the preparation of Xiangsu powder, the method comprising the following steps:
[0032] Acquire real-time temperature parameters and continuous fluid signals, and record real-time pressure parameters to generate initial equilibrium pressure parameters;
[0033] Obtain the original density and refractive index parameters, and perform time-domain filtering and difference operations to generate the condensate property derivative matrix;
[0034] Analyze the derivative matrix of condensate properties to generate bypass flow splitting commands, or generate reset reflux commands and enthalpy decay commands;
[0035] The instantaneous mass flow rate parameter is obtained, and the cumulative mass loss parameter is solved based on the instantaneous mass flow rate parameter and the bypass diversion command. The target compensation pressure parameter is calculated by combining the initial equilibrium pressure parameter and the cumulative mass loss parameter, and the operating frequency of the gas phase exhaust pressure stabilization actuator is adjusted according to the target compensation pressure parameter.
[0036] The density first derivative parameter and the refractive index first derivative parameter in the condensate physical property derivative matrix are monitored. When the density first derivative parameter and the refractive index first derivative parameter enter the set zero bias dead zone range and continue for multiple control cycles, a global reset command is generated to cut off the heat source and trigger the pressure relief action.
[0037] The control method uses the physical property derivative matrix as the feedback core, combines the bypass diversion logic, the negative exponential enthalpy decay strategy and the pressure compensation model to establish a linkage control mechanism from state perception, calculation analysis to physical equipment execution, so as to maintain the thermodynamic stability of the volatile oil extraction process.
[0038] This invention provides a closed-loop control system and method for the process parameters of Xiangsu powder preparation. It has the following beneficial effects:
[0039] 1. This invention constructs a closed-loop control architecture centered on the analysis of physical property derivative matrix and the calculation of mass pressure through the collaborative work of the main control module, sensing module, preprocessing module, scheduling module, diversion module and compensation module. The closed-loop control system establishes an initial benchmark based on continuous fluid signals and real-time temperature parameters. It not only issues bypass diversion commands and reset reflux commands to isolate materials based on the physical property derivative matrix of condensate, but also simultaneously calculates the target compensation pressure parameter based on instantaneous mass flow parameters and initial equilibrium pressure parameters, and adjusts the gas phase exhaust pressure stabilization execution end. The physical dimension of condensate diversion action and the thermodynamic dimension of gas pressure compensation action form a fully automatic linkage, overcoming the sudden change in gas phase volume and internal pressure difference imbalance caused by a single diversion operation, maintaining the dynamic thermodynamic balance of the entire preparation and extraction cycle as a whole, and eliminating the hidden danger of flash evaporation and boiling.
[0040] 2. This invention uses a preprocessing module to perform time-domain filtering and discrete backward difference operations on the original density and refractive index parameters, solving for the first and second derivative parameters and recombining them into a condensate property derivative matrix. The scheduling module analyzes the numerical sign characteristics of each derivative parameter in the property derivative matrix to generate action commands. The control logic converts the rate of change and acceleration of the physical properties of the condensate reflux liquid into trigger nodes for executing equipment actions. It abandons the extraction mode of blindly cutting valves according to a fixed set time. Based on the determination mechanism of derivative sign reversal characteristics, it realizes the accurate capture of the rapid precipitation stage of volatile oil and the process extraction endpoint, avoiding the oxidation or thermal degradation of heat-sensitive volatile oil components due to prolonged ineffective heating.
[0041] 3. This invention uses a scheduling module to discretely accumulate and sum the instantaneous mass flow parameters during the bypass diversion command period as an integrand. The calculated accumulated mass loss parameters are converted into equivalent gas phase volume. Combined with the initial effective gas phase volume constant, the target compensation pressure parameters are derived. The compensation module adjusts the mechanical operating speed of the exhaust fan based on the pressure deviation. Simultaneously, in response to the enthalpy decay command, the main control module uses a negative exponential decay function to reduce the physical valve opening of the heating pipeline. The closed-loop control system actively reduces the heat input rate and matches the nonlinear decrease in vaporization demand of the system while the volatile materials are temporarily stored in the bypass. The dual-track adjustment mechanism of pressure feedback and enthalpy decay compensates for the energy loss and back pressure drop gap during the diversion extraction process. Attached Figure Description
[0042] Figure 1 This is a schematic diagram of the system timing interaction of the present invention;
[0043] Figure 2 This is a schematic diagram of the method flow of the present invention;
[0044] Figure 3 This is a schematic diagram illustrating the process of establishing the basic thermodynamic reference for this invention.
[0045] Figure 4 This is a schematic diagram of the process for generating the derivative matrix of condensate properties according to the present invention;
[0046] Figure 5 This is a schematic diagram of the process state determination and linkage control flow of the present invention;
[0047] Figure 6 This is a schematic diagram of the target compensation pressure calculation and closed-loop pressure stabilization process of the present invention;
[0048] Figure 7 This is a schematic diagram of the process endpoint determination and global reset process of the present invention;
[0049] Figure 8 This is a schematic diagram illustrating the time evolution trajectory of the physical properties of the condensate in the later stage of the extraction process of this invention. Detailed Implementation
[0050] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0051] like Figure 1 As shown in the figure, this embodiment of the invention provides a closed-loop control system for the preparation process parameters of Xiangsu powder. The system includes: a main control module, a sensing module, a preprocessing module, a scheduling module, a diversion module, and a compensation module.
[0052] The main control module acquires the real-time temperature and pressure parameters inside the extraction tank and outputs them to the scheduling module. At the same time, it receives the enthalpy decay command output by the scheduling module and reduces the physical valve opening of the heating pipeline in the jacket of the extraction tank according to the enthalpy decay command, so as to reduce the heat input rate.
[0053] The sensing module acquires the continuous fluid signal, original density parameter, original refractive index parameter, and instantaneous mass flow rate parameter in the condensate return pipeline. It outputs the original density parameter and original refractive index parameter to the preprocessing module, and outputs the continuous fluid signal and instantaneous mass flow rate parameter to the scheduling module.
[0054] The preprocessing module is connected to the sensing module to receive the original density parameter and the original refractive index parameter. It performs a time-domain filtering operation on the original density parameter and the original refractive index parameter to extract the effective net density parameter and the effective net refractive index parameter. Based on the effective net density parameter and the effective net refractive index parameter, it performs a backward difference operation to solve for the first derivative parameter and the second derivative parameter. It combines the effective net density parameter, the effective net refractive index parameter, the first derivative parameter and the second derivative parameter to generate the condensate property derivative matrix, and outputs the condensate property derivative matrix to the scheduling module.
[0055] The scheduling module is connected to the main control module, sensing module, and preprocessing module, respectively. It receives real-time temperature parameters, real-time pressure parameters, continuous fluid signals, instantaneous mass flow rate parameters, and the condensate physical property derivative matrix. When the real-time temperature parameter reaches a set boiling point threshold and the sensing module outputs a continuous fluid signal, it records the current real-time pressure parameter to generate the initial equilibrium pressure parameter. Simultaneously, it analyzes the numerical sign characteristics of the first and second derivative parameters in the condensate physical property derivative matrix, and... A bypass shunt command is generated when all values are negative. A reset reflux command and a thermal enthalpy decay command are generated when the second derivative parameter flips from positive to negative. In addition, time-domain integration is performed based on the instantaneous mass flow rate parameter and the bypass shunt command to solve for the cumulative mass loss parameter. The target compensation pressure parameter is calculated by combining the initial equilibrium pressure parameter and the cumulative mass loss parameter. The bypass shunt command and the reset reflux command are output to the shunt module, the thermal enthalpy decay command is output to the main control module, and the target compensation pressure parameter is output to the compensation module.
[0056] The diversion module is connected to the scheduling module, receives bypass diversion commands and reset reflux commands, adjusts the physical valve opening at the execution end according to the bypass diversion command to guide the condensed reflux liquid into the bypass low-temperature temporary storage tank, and closes the bypass channel according to the reset reflux command to restore the condensed reflux liquid to the main line of the extraction tank.
[0057] The compensation module is connected to the scheduling module, receives the target compensation pressure parameter, and adjusts the operating frequency of the gas phase exhaust pressure stabilization actuator, i.e., the variable frequency exhaust fan, according to the target compensation pressure parameter, so as to reduce the absolute pressure of the gas phase space inside the extraction tank.
[0058] like Figure 2 As shown, this invention provides a closed-loop control method for process parameters in the preparation of Xiangsu powder, comprising the following steps:
[0059] S1, acquire real-time temperature parameters and continuous fluid signals, and record real-time pressure parameters to generate initial equilibrium pressure parameters;
[0060] Specifically, in this step, the real-time temperature and pressure parameters inside the extraction tank are acquired, and the continuous fluid signal in the condensation reflux pipeline is acquired. When the real-time temperature parameter reaches the set boiling point threshold and there is a continuous fluid signal in the condensation reflux pipeline, it is determined that the extraction system has entered the boiling reflux state. The current real-time pressure parameter is recorded to generate the initial equilibrium pressure parameter, while the bypass channel is kept closed to establish the basic thermodynamic benchmark for closed-loop control.
[0061] S2, obtain the original density parameter and the original refractive index parameter, and perform time-domain filtering and difference operation to generate the condensate property derivative matrix;
[0062] Specifically, in this step, the original density and refractive index parameters in the condensate return pipeline are continuously acquired according to the set sampling period. Time-domain filtering is performed on the original density and refractive index parameters to extract the effective net density and effective net refractive index parameters. Backward difference operation is performed on the effective net density and effective net refractive index parameters to solve for the first and second derivative parameters. The effective net density, effective net refractive index, first and second derivative parameters are combined to generate the condensate property derivative matrix, and the condensate property derivative matrix is used as the feedback data source for subsequent linkage control.
[0063] S3, parse the derivative matrix of condensate properties, generate bypass flow splitting command, or generate reset reflux command and enthalpy decay command;
[0064] Specifically, in this step, the numerical sign characteristics of the first and second derivative parameters in the condensate physical property derivative matrix are analyzed. Under the condition that both the first and second derivative parameters are negative, a bypass diversion command is generated. Based on the bypass diversion command, the physical valve opening at the execution end is adjusted to guide the condensate reflux liquid into the bypass low-temperature temporary storage tank. Under the condition that the second derivative parameter undergoes a positive-to-negative reversal, a reset reflux command and a enthalpy decay command are generated. Based on the reset reflux command, the bypass channel is closed to restore the condensate reflux liquid to the main line of the extraction tank. Furthermore, based on the enthalpy decay command, the physical valve opening of the extraction tank jacket heating pipeline is reduced to decrease the heat input rate.
[0065] S4, obtain the instantaneous mass flow rate parameter, solve the cumulative mass loss parameter based on the instantaneous mass flow rate parameter and the bypass diversion command, calculate the target compensation pressure parameter by combining the initial equilibrium pressure parameter and the cumulative mass loss parameter, and adjust the operating frequency of the gas phase exhaust pressure stabilization actuator according to the target compensation pressure parameter.
[0066] Specifically, in this step, the instantaneous mass flow rate parameter in the condensate reflux pipeline is acquired simultaneously. Based on the instantaneous mass flow rate parameter and the bypass diversion command, time-domain integration is performed to solve for the cumulative mass loss parameter. The target compensation pressure parameter is calculated by combining the initial equilibrium pressure parameter and the cumulative mass loss parameter. The operating frequency of the gas phase exhaust pressure stabilization actuator is continuously adjusted according to the target compensation pressure parameter to reduce the absolute pressure of the gas phase space inside the extraction tank, maintain the dynamic thermodynamic balance inside the extraction tank, and form a data control closed loop.
[0067] S5 monitors the first derivative parameters of density and refractive index in the condensate physical property derivative matrix. When the first derivative parameters of density and refractive index enter the set zero-bias dead zone range and continue for multiple control cycles, a global reset command is generated to cut off the heat source and trigger the pressure relief action.
[0068] Specifically, in this step, the first derivative parameters of density and refractive index in the physical property derivative matrix of condensate are continuously extracted. Under the condition that the first derivative parameters of density and refractive index are within the set zero-bias dead zone for multiple consecutive control cycles, the extraction process is determined to have reached the preset process endpoint and a global reset command is generated. In response to the global reset command, the physical valve opening of the jacket heating pipeline is set to zero. At the same time, in response to the global reset command, the operation of the gas phase exhaust pressure stabilization actuator is stopped, and the exhaust pressure relief valve is opened to balance the gas pressure inside and outside the extraction tank.
[0069] See Figure 3 In specific implementation, step S1 may include the following steps:
[0070] S101, the main control module acquires the real-time temperature and pressure parameters in the extraction tank, while the sensing module acquires the continuous fluid signal in the condensate return pipeline.
[0071] In practice, the main control module uses the temperature transmitter and pressure transmitter installed inside the extraction tank to perform sampling operations at a preset sampling frequency, and the specific value range of the preset sampling frequency is 1 Hz to 10 Hz.
[0072] The main control module collects real-time temperature and pressure parameters of the mixture system of Chinese medicinal materials matrix and solvent. The specific values of the real-time temperature and pressure parameters are characterized by the Celsius and kilopascal dimensions, respectively. At the same time, the sensing module detects the fluid flow status. When liquid phase substances pass through the condensation return pipeline, the flow data is converted into a continuous fluid signal. The main control module outputs the real-time temperature and pressure parameters to the scheduling module, and the sensing module synchronously sends the continuous fluid signal to the scheduling module, forming a multi-source data stream of the system's basic physical state characteristics.
[0073] S102, the scheduling module determines that the extraction system has entered the boiling reflux state when the real-time temperature parameter reaches the set boiling point threshold and there is a continuous fluid signal in the condensation reflux pipeline.
[0074] In practical implementation, the scheduling module continuously receives and monitors real-time temperature parameters and continuous fluid signals. The scheduling module is pre-configured with a set boiling point threshold, ranging from 95°C to 105°C. Within the physical system, heat input overcomes the latent heat of solvent vaporization, triggering a macroscopic phase change. When the real-time temperature parameter is equal to or greater than the set boiling point threshold, and the duration of the continuous fluid signal output by the sensing module exceeds a set time tolerance, the scheduling module performs logic and judgment operations. The set time tolerance ranges from 5 seconds to 15 seconds. The scheduling module calculates the system's operating status based on pre-defined logical relationships, and the judgment formula is as follows:
[0075] ;
[0076] In the formula, The Boolean determination result for determining whether the extraction system has reached the boiling reflux state is a dimensionless binary discrete variable. This is a real-time temperature parameter, measured in degrees Celsius. The boiling point threshold is a pre-set value, measured in degrees Celsius. The duration of a continuous fluid signal is measured in seconds. To set the time tolerance, the unit is seconds.
[0077] The scheduling module confirms that the extraction system has officially entered a stable boiling reflux state when the determination result is true.
[0078] S103, the scheduling module records the current real-time pressure parameters to generate the initial balanced pressure parameters, while the diversion module keeps the bypass channel closed.
[0079] In practical implementation, the scheduling module triggers a data latch operation and extracts real-time pressure parameters at the transient moment when the extraction system enters the boiling reflux state. The scheduling module defines the recorded real-time pressure parameters as the initial equilibrium pressure parameters. The initial equilibrium pressure parameters characterize the inherent gas phase back pressure characteristics of the system in the early stage of establishing dynamic thermodynamic equilibrium, and the dimension of the initial equilibrium pressure parameters is calibrated in kPa. At the same time, the scheduling module maintains sending the default control level to the diversion module. The diversion module receives the default control level and keeps the physical valve opening of the bypass channel at zero. The condensed reflux liquid circulates back along the main path of the extraction tank. The initial equilibrium pressure parameters and the reflux circulation state together constitute the basic thermodynamic reference for closed-loop control.
[0080] See Figure 4 Step S2 may include the following steps in its specific implementation:
[0081] S201, the sensing module acquires the original density parameter and the original refractive index parameter in the condensation reflux pipeline according to the set sampling period, and the preprocessing module performs time-domain filtering on the original density parameter and the original refractive index parameter to extract the effective net density parameter and the effective net refractive index parameter.
[0082] In practical implementation, the sensing module uses an online densitometer and a flow-through refractometer for continuous detection. The sensing module continuously outputs the original density parameter and the original refractive index parameter according to a set sampling period. The specific value range of the set sampling period is 0.1 seconds to 1.0 seconds. The preprocessing module receives the original density parameter and the original refractive index parameter and establishes a data cache queue in memory. The online densitometer and the flow-through refractometer perform temperature compensation according to a unified reference temperature. The online densitometer outputs the original density parameter converted to the unified reference temperature, and the flow-through refractometer outputs the original refractive index parameter converted to the unified reference temperature, so as to reduce the drift effect of the condensate reflux temperature fluctuation on the density detection result and the refractive index detection result.
[0083] Due to the continuous turbulent disturbance of the fluid inside the condenser pipe caused by the release of latent heat of phase change, and the electrical signals acquired by the sensors being superimposed with high-frequency physical background noise, the preprocessing module performs a sliding window median filtering operation to remove discrete noise jumps based on the existing median filtering algorithm. After removing pulse interference, a first-order hysteresis low-pass filtering algorithm is executed. The mathematical derivation formula of the first-order hysteresis low-pass filtering algorithm is as follows:
[0084] ;
[0085] In the formula, The effective net parameter for the current control cycle refers to the effective net density parameter or the effective net refractive index parameter. When the effective net parameter is the effective net density parameter, the dimension is kilograms per cubic meter. When the effective net parameter is the effective net refractive index parameter, it is a dimensionless physical quantity. This is the time index of the discrete control cycle, and is a positive integer. is the filter coefficient, is a dimensionless constant, and the specific value range of the filter coefficient is from 0.1 to 0.4; The input parameter for the current control cycle is processed by the sliding window mid-range filtering operation. When the input parameter is the effective net density parameter, the dimension is kilograms per cubic meter. When the input parameter is the effective net refractive index parameter, it is a dimensionless physical quantity. The effective net parameter of the previous control cycle refers to the effective net density parameter or the effective net refractive index parameter. When the effective net parameter is the effective net density parameter, the dimension is kilograms per cubic meter. When the effective net parameter is the effective net refractive index parameter, it is a dimensionless physical quantity.
[0086] S202, the preprocessing module performs backward difference operations based on the effective net density parameter and the effective net refractive index parameter to solve for the first derivative parameter and the second derivative parameter.
[0087] In practical implementation, the preprocessing module extracts the effective net parameters of adjacent control cycles in the time series. Because the process extraction involves the nonlinear precipitation of volatile oil components and the physical component distribution of the condensate exhibits dynamic concentration gradient characteristics, the preprocessing module uses the difference between the effective net parameters of the current control cycle and the effective net parameters of the previous control cycle to map the rate of change of the corresponding concentration gradient. The preprocessing module performs discrete backward difference operations on the effective net density parameter and the effective net refractive index parameter respectively. The specific expression of the difference operation equations is as follows:
[0088] ;
[0089] ;
[0090] In the formula, The first derivative parameter is solved for the current control cycle. When the effective net parameter is the effective net density parameter, the dimension is kilograms per cubic meter per second. When the effective net parameter is the effective net refractive index parameter, the dimension is the negative first power of seconds. The effective net parameter for the current control cycle refers to the effective net density parameter or the effective net refractive index parameter. When the effective net parameter is the effective net density parameter, the dimension is kilograms per cubic meter. When the effective net parameter is the effective net refractive index parameter, it is a dimensionless physical quantity. The effective net parameter of the previous control cycle. The effective net parameter specifically refers to the effective net density parameter or the effective net refractive index parameter. When the effective net parameter is the effective net density parameter, the dimension is kilograms per cubic meter. When the effective net parameter is the effective net refractive index parameter, it is a dimensionless physical quantity. To set the sampling period, the unit is seconds; The second derivative parameter is solved for the current control cycle. When the effective net parameter is the effective net density parameter, the dimension is kilograms per cubic meter per square second. When the effective net parameter is the effective net refractive index parameter, the dimension is the negative square of seconds. The first derivative parameter is obtained from the previous control cycle. When the effective net parameter is the effective net density parameter, its dimension is kilograms per cubic meter per second. When the effective net parameter is the effective net refractive index parameter, its dimension is the negative first power of seconds. This is the time index of the discrete control cycle, and it is a positive integer.
[0091] S203, the preprocessing module combines the effective net density parameter, effective net refractive index parameter, first derivative parameter and second derivative parameter to generate the condensate property derivative matrix, and uses the condensate property derivative matrix as the feedback data source for linkage control.
[0092] In practical implementation, the preprocessing module allocates a contiguous two-dimensional array storage space in the computing unit memory. The preprocessing module horizontally arranges the effective net density parameter, its corresponding first derivative parameter (density first derivative parameter), and its corresponding second derivative parameter as the first data row. Simultaneously, the preprocessing module horizontally arranges the effective net refractive index parameter, its corresponding first derivative parameter (refractive index first derivative parameter), and its corresponding second derivative parameter as the second data row. The first and second data rows, arranged according to the spatial mapping relationship between rows and columns, form a matrix data structure. The structural expression of the condensate property derivative matrix is as follows:
[0093] ;
[0094] In the formula, The derivative matrix of the physical properties of the condensate; The effective net density parameter for the current control cycle, in kilograms per cubic meter; The discrete first derivative parameter corresponding to the effective net density parameter, with dimensions in kilograms per cubic meter per second; The discrete second derivative parameter corresponding to the effective net density parameter, with dimensions in kilograms per cubic meter per square second; The effective net refractive index parameter for the current control cycle is a dimensionless physical quantity. The discrete first derivative parameter corresponding to the effective net refractive index parameter has the dimension of negative first second. The discrete second derivative parameter corresponding to the effective net refractive index parameter has the dimension of negative square of seconds.
[0095] See Figure 5 Step S3 may include the following steps in its specific implementation:
[0096] S301, the scheduling module analyzes the numerical sign characteristics of the first and second derivative parameters in the condensate physical property derivative matrix, and generates a bypass diversion command under the condition that both the first and second derivative parameters are negative.
[0097] In practice, the scheduling module continuously receives the derivative matrix of condensate properties from the preprocessing module. During the process calibration stage, the reflux condensate from the extraction process of the Xiangsu powder standard batch is continuously monitored, and the time interval of concentrated precipitation of volatile components in the reflux condensate is synchronously calibrated with the time series of effective net density and effective net refractive index parameters. The process calibration results show that during the concentrated precipitation stage of volatile components, both the effective net density and effective net refractive index parameters show a continuous decreasing trend, and the rate of decrease increases continuously in the early stage of concentrated precipitation of volatile components.
[0098] The scheduling module establishes numerical sign determination rules for the rapid precipitation stage of volatile oil based on the process calibration results. The scheduling module extracts the first derivative parameters of density, second derivative parameters of density, first derivative parameters of refractive index, and second derivative parameters of refractive index from the physical property derivative matrix of condensate. When the first derivative parameters of density and first derivative parameters of refractive index are both less than zero and the second derivative parameters of density and second derivative parameters of refractive index are both less than zero, the scheduling module determines that the extraction system has entered the rapid precipitation stage of volatile oil, and the scheduling module triggers a logic high-level state to generate a bypass shunt command.
[0099] S302, the diversion module adjusts the physical valve opening at the execution end according to the bypass diversion command to guide the condensate backflow liquid into the bypass low-temperature temporary storage tank.
[0100] In practice, the scheduling module sends a bypass diversion command to the diversion module. The diversion module responds to the bypass diversion command and outputs a control voltage to the three-way proportional regulating valve located at the end of the condensate return pipeline. The three-way proportional regulating valve switches to the preset bypass position according to the control voltage. The bypass channel corresponding to the preset bypass position is opened and the main line of the extraction tank is closed, so that all the condensate return liquid generated during the bypass diversion command period enters the bypass channel.
[0101] The reflux liquid rich in volatile oil flows continuously into the bypass low-temperature storage tank for isolated storage along the bypass channel. During the storage process, the inside of the bypass low-temperature storage tank is kept at a constant temperature of 5 to 10 degrees Celsius through independent ice-water refrigerant circulation. By constructing a low-temperature isolation environment, the degree of continuous heating of the volatile oil components is reduced, and the thermal degradation and oxidative polymerization of the volatile oil components are inhibited.
[0102] S303, the scheduling module generates a reset reflux command and a thermal enthalpy decay command when the second derivative parameter undergoes a positive-negative reversal. The diversion module closes the bypass channel and restores the condensed reflux liquid to the main line of the extraction tank according to the reset reflux command.
[0103] In practice, as the extraction process time increases and the volatile oil components are gradually released, the effective mass transfer driving force in the extraction system shows a decreasing trend. Affected by the decrease in the mass transfer driving force, the precipitation rate of volatile substances in the condensate exceeds the peak point and enters the decay inflection point, causing the acceleration of the decrease in the comprehensive density and comprehensive refractive index of the mixed fluid at the physical property level to cross the zero critical point.
[0104] Based on the change in physical properties, the scheduling module monitors the numerical sign characteristics of the second derivative parameters of density and refractive index in the physical property derivative matrix of the condensate. When the second derivative parameter of density or refractive index crosses from a negative value to zero and enters the positive value range, and the positive value state is maintained continuously for 3 to 5 control cycles, the scheduling module confirms that the second derivative parameter has completed the positive-to-negative reversal and determines that the extraction process has entered the extraction decay stage. The scheduling module simultaneously generates a reset reflux command and an enthalpy decay command. The diversion module receives the reset reflux command and resets the physical valve opening of the three-way proportional control valve to the zero position. The bypass channel is physically closed, and the condensate reflux liquid is prompted to re-enter the extraction system along the main path of the extraction tank.
[0105] S304, the main control module reduces the physical valve opening of the heating pipeline in the extraction tank jacket by using a negative exponential decay function based on the enthalpy decay command to reduce the heat input rate.
[0106] In practical implementation, the scheduling module sends the enthalpy decay command to the main control module. Since the latent heat of vaporization required by the extraction system during the extraction decay phase exhibits a non-linear decreasing trend, the main control module, upon receiving the enthalpy decay command, latches the current physical valve opening of the extraction tank jacket heating pipeline. Based on the built-in negative exponential decay function, it continuously calculates the target physical valve opening, causing the physical valve opening of the extraction tank jacket heating pipeline to gradually approach the minimum opening required to maintain the basic micro-boiling state of the extraction system from the locked maximum valve opening. This reduces the mass flow rate input of the heat source steam and matches the vaporization demand during the extraction decay phase. The calculation model for the negative exponential decay function is as follows:
[0107] ;
[0108] In the formula, The actual valve opening of the tank jacket heating pipeline at the current operating moment is expressed as a percentage. The maximum valve opening is locked during the rapid precipitation stage of volatile oil, expressed as a percentage, and the specific value of the maximum valve opening ranges from 80% to 100%. The minimum holding pressure opening for maintaining the basic micro-boiling state of the extraction system is expressed as a percentage, and the specific value of the minimum holding pressure opening ranges from 15% to 30%. It is a natural constant; is the enthalpy decay coefficient, which is a dimensionless constant, and the specific value range of the enthalpy decay coefficient is 0.02 to 0.08; The current running time is expressed in seconds. The initial trigger time for generating the enthalpy decay command is measured in seconds.
[0109] See Figure 6 Step S4 may include the following steps in its specific implementation:
[0110] S401, the scheduling module synchronously acquires the instantaneous mass flow rate parameter in the condensate return pipeline, and the scheduling module performs time-domain integration calculation based on the instantaneous mass flow rate parameter and the bypass diversion command to solve for the cumulative mass loss parameter.
[0111] In practice, the scheduling module continuously receives the continuous physical flow data in the condensate return pipeline monitored by the mass flow meter in the sensing module. During the duration of the bypass diversion command, the three-way proportional regulating valve maintains the preset bypass position, while the main pipeline of the extraction tank remains closed, so that all the condensate return liquid measured by the mass flow meter enters the bypass low-temperature temporary storage tank.
[0112] Therefore, the instantaneous mass flow parameter measured by the mass flow meter can be used as the integral input for the bypass loss mass. The scheduling module extracts the instantaneous mass flow parameter during the bypass diversion operation and sets the instantaneous mass flow parameter as the integrand. Considering the discrete sampling characteristics of the closed-loop control system, the scheduling module defines the duration of the bypass diversion command as the time from the starting physical time point of generating the bypass diversion command to the ending physical time point of generating the reset return command. The scheduling module sets the duration of the bypass diversion command as the upper limit of integration and continuously performs time-domain integration. In the underlying algorithm, the set sampling period is used as the time step to perform discrete accumulation and summation. The specific derivation formula of the definite integral mathematical equation is as follows:
[0113] ;
[0114] In the formula, The cumulative parameter for lost mass is expressed in kilograms. The variable represents the duration of the bypass shunt instruction and is the upper limit of the definite integral, with the dimension of seconds; This is the instantaneous mass flow rate parameter during the bypass channel opening period, with the dimension of kilograms per second; is a continuous dummy variable within the time integral, with the dimension of seconds; It is a differential operator.
[0115] S402, the scheduling module reads the initial equilibrium pressure parameter, and combines the initial equilibrium pressure parameter, the accumulated loss mass parameter, and the system's inherent volume constant to calculate the target compensation pressure parameter.
[0116] In practice, the scheduling module reads the initial equilibrium pressure parameter recorded and latched when the boiling reflux state is established. The initial equilibrium pressure parameter is collected at the time when the continuous and stable reflux liquid first appears in the condensation reflux pipeline. After the liquid phase material enters the bypass low temperature temporary storage tank, the volume occupied by the liquid phase inside the extraction tank decreases, while the effective volume of the gas phase increases.
[0117] To prevent violent flash boiling caused by a sudden drop in liquid level inside the extraction tank, and to appropriately lower the boiling point of the extraction system during the extraction attenuation phase to protect the heat-sensitive active ingredients, the scheduling module establishes a pressure compensation model based on the volume change rate. The scheduling module converts the cumulative loss of mass parameter into a decrease in liquid phase volume according to the standard liquid phase density of the reflux condensate, and then equates the decrease in liquid phase volume to an increase in gas phase volume. Combined with the initial effective gas phase volume established during the boiling reflux state, the target compensation pressure parameter is calculated. The state equation for the target compensation pressure parameter is:
[0118] ;
[0119] In the formula, The target compensation pressure parameter is in the dimension of kilopascals; The initial equilibrium pressure parameter has the dimension of kilopascals; The initial effective gas phase volume constant inside the extraction tank when the boiling reflux state is established, in cubic meters; The cumulative parameter for lost mass is expressed in kilograms. is the standard liquid density constant of the reflux condensate, with dimensions in kilograms per cubic meter.
[0120] The initial effective gas phase volume constant is calculated based on the effective sealed volume of the extraction tank and the volume occupied by the initial liquid phase in the process. After obtaining the target compensation pressure parameter, the scheduling module applies pressure boundary restrictions to the target compensation pressure parameter to keep it within the allowable working pressure range of the extraction tank and the allowable adjustment range of the gas phase exhaust pressure stabilization actuator.
[0121] S403, the compensation module continuously adjusts the operating frequency of the gas phase exhaust pressure stabilization actuator according to the target compensation pressure parameter, thereby reducing the absolute pressure of the gas phase space inside the extraction tank and maintaining dynamic thermodynamic balance.
[0122] In practical implementation, the main control module continuously acquires the real-time pressure parameters inside the extraction tank and outputs the real-time pressure parameters to the scheduling module. The scheduling module synchronously outputs the real-time pressure parameters of the current control cycle and the target compensation pressure parameters to the compensation module. The compensation module calculates the pressure deviation between the real-time pressure parameters and the target compensation pressure parameters, and generates a frequency adjustment control quantity based on the proportional-integral-derivative control algorithm. The compensation module sends the frequency adjustment control level to the gas phase exhaust pressure stabilization execution end based on the algorithm output result. The gas phase exhaust pressure stabilization execution end is specifically a variable frequency exhaust fan. The variable frequency exhaust fan changes the mechanical operating speed of the exhaust fan according to the frequency adjustment control level. The change in the mechanical operating speed continuously adjusts the exhaust rate at the top of the extraction tank.
[0123] When the real-time pressure parameter is higher than the target compensation pressure parameter, the compensation module increases the operating frequency of the gas phase exhaust pressure stabilization actuator; when the real-time pressure parameter gradually approaches the target compensation pressure parameter, the compensation module reduces the operating frequency of the gas phase exhaust pressure stabilization actuator, so that the real-time pressure parameter dynamically approaches the target compensation pressure parameter, thereby maintaining the dynamic thermodynamic balance inside the extraction tank and forming a pressure feedback closed loop.
[0124] See Figure 7 and Figure 8 In specific implementation, step S5 may include the following steps:
[0125] S501, the scheduling module monitors the density first derivative parameter and the refractive index first derivative parameter in the condensate physical property derivative matrix, and compares the numerical relationship between the absolute value of the density first derivative parameter and the zero bias threshold of the density first derivative, and the absolute value of the refractive index first derivative parameter and the zero bias threshold of the refractive index first derivative.
[0126] In practice, the scheduling module continuously receives the condensate property derivative matrix sent by the preprocessing module. As the extraction process continues, the release rate of volatile components in the condensate reflux gradually decreases, and the time change rate of the effective net density parameter and the effective net refractive index parameter gradually stabilizes. The scheduling module continuously extracts the density first derivative parameter and the refractive index first derivative parameter from the condensate property derivative matrix, and calculates the absolute values of the density first derivative parameter and the refractive index first derivative parameter. The scheduling module sets the zero bias threshold for the density first derivative and the zero bias threshold for the refractive index first derivative, respectively.
[0127] The dimension of the zero bias threshold of the first derivative of density is consistent with that of the first derivative parameter of density. It is pre-calibrated based on the zero drift of the online density meter, the measurement accuracy, and the density background fluctuation amplitude during the stable reflux stage. The specific value range of the zero bias threshold of the first derivative of density is from 0.001 kg / m³ / s to 0.005 kg / m³ / s.
[0128] The dimensions of the zero bias threshold of the first derivative of the refractive index are consistent with those of the first derivative parameter of the refractive index. It is pre-calibrated based on the zero drift of the flow-through refractometer, the measurement accuracy, and the background fluctuation amplitude of the refractive index during the stable reflux phase. The specific value range of the zero bias threshold of the first derivative of the refractive index is from -1 to -1 to 0.0005 seconds. The scheduling module performs two sets of value comparisons to determine whether the density change rate and the refractive index change rate simultaneously enter the stable range.
[0129] S502, the scheduling module determines that the extraction process has reached the preset process endpoint when the absolute values of the first derivative of density and the first derivative of refractive index are within the zero bias threshold of the first derivative of density and the zero bias threshold of the first derivative of refractive index respectively for multiple consecutive control cycles, and the scheduling module synchronously generates a global reset command.
[0130] In practice, the scheduling module monitors the duration for which the absolute values of the first derivative of the density parameter and the first derivative of the refractive index simultaneously satisfy the corresponding zero bias threshold through an internal timer. The scheduling module compares the duration with a set time window, which is set to a range of 60 to 180 seconds.
[0131] Considering that industrial microprocessors employ a discrete scanning cycle mechanism, the endpoint determination logic performs state accumulation and state verification through multiple consecutive control cycles. It also requires that the absolute values of the first derivative of the density parameter and the absolute values of the first derivative of the refractive index parameter continuously satisfy the corresponding zero-bias thresholds throughout the entire set time window. The mathematical expression for the continuous domain is:
[0132] ;
[0133] In the formula, The density first derivative function parameter is given by the physical properties of the condensate at the current operating moment in the continuous time domain, with dimensions in kilograms per cubic meter per second. is the upper boundary value of the zero-partial threshold of the first derivative of density, with dimensions of kilograms per cubic meter per second; Let be the first derivative function parameter of the refractive index in the physical state of the condensate at the current operating moment in the continuous time domain, with the dimension being the negative first power of seconds; It is the upper boundary value of the zero-bias threshold of the first derivative of the refractive index, with the dimension of negative first second; The current running time is expressed in seconds. The time when the absolute value of the first derivative parameter first falls below the corresponding zero bias threshold, measured in seconds; To set a time window, the unit is seconds.
[0134] When the mathematical expression conditions are met, the scheduling module determines that the extraction process has reached the preset process endpoint. The determination logic filters out single-point data noise interference through a set time window. The scheduling module triggers a high-level logic state to generate a global reset instruction. The generation of the global reset instruction cuts off the heat source and triggers a pressure relief action in the physical execution dimension.
[0135] Specific combination Figure 8 As shown, Figure 8 This demonstrates the temporal evolution trajectory of the physical properties of the condensate in the later stages of the extraction process. Figure 8 The solid line in the figure reflects the dynamic decay trajectory of the absolute value of the first derivative of density as the current operating time progresses, and shows the physical process in which the absolute value of the first derivative of density gradually decreases and tends to level off as the extraction process continues. Figure 8 The horizontal dashed line represents the pre-set zero bias threshold of the first derivative of the density.
[0136] exist Figure 8 The first vertical dashed line marks the moment when the absolute value of the first derivative parameter first falls below the corresponding zero bias threshold. The horizontal line between the two vertical dashed lines marks the set time window. Nodes marked with circles visually indicate that when the absolute value of the density's first derivative parameter continuously meets the condition of being less than the zero bias threshold throughout the set time window, the extraction process is triggered to determine if it has reached the preset process endpoint, and the scheduling module synchronously generates a global reset command. Figure 8 The steps S501 to S502 show the process of accurately capturing the bottom-level closed-loop determination of the process endpoint by filtering out single-point data noise interference through a set time window.
[0137] S503, the main control module responds to the global reset command to set the physical valve opening of the heating pipeline in the extraction tank jacket to zero, the compensation module responds to the global reset command to stop the operation of the gas phase exhaust pressure stabilization actuator, and the exhaust pressure relief valve responds to the global reset command to connect the inside of the extraction tank with the external atmospheric environment.
[0138] In practice, the scheduling module sends a global reset command to the main control module and the compensation module respectively. After receiving the global reset command, the main control module outputs a zero-position control level, sets the physical valve opening of the heating pipeline in the extraction tank jacket to zero, and stops the heat input. After a preset equipment anti-outburst delay of 3 to 5 seconds, the compensation module stops outputting the operating frequency control signal to the gas phase exhaust pressure stabilizing actuator, causing the gas phase exhaust pressure stabilizing actuator to stop operating.
[0139] The scheduling module simultaneously sends an opening command to the exhaust and pressure relief valve installed on the top of the extraction tank. The exhaust and pressure relief valve opens and connects the gas phase space inside the extraction tank with the external atmospheric environment, allowing the pressure inside the extraction tank to gradually recover to the external atmospheric pressure. When the pressure difference between the pressure inside the extraction tank and the external atmospheric pressure enters the preset safe pressure difference range, the system unloading of the extraction process is completed. The specific value range of the preset safe pressure difference range is 0 kPa to 5 kPa.
[0140] To aid in understanding the technical solution of this invention, the following is an application example of a closed-loop control system for the preparation process parameters of Xiangsu Powder.
[0141] The closed-loop control system receives multi-source basic physical state data from the bottom-level sensors of the main control module and the sensing module. At the same time, the closed-loop control system has a pre-set system configuration file. The configuration file contains preset thresholds for setting boiling point threshold, setting time tolerance, equivalent filter coefficient, setting sampling period, negative exponential decay mathematical model, and setting zero bias dead zone range. The configuration file serves as a unified calculation benchmark for extracting phase change determination, time domain filtering, property matrix generation, thermodynamic compensation, and process endpoint determination.
[0142] The preprocessing module calls the underlying high-frequency analog-to-digital conversion interface to synchronously acquire the original density and refractive index parameters of the online densitometer and flow-through refractometer after unified reference temperature compensation at a set high-frequency sampling frequency. The preprocessing module establishes a data cache queue in the computing memory. The preprocessing module calls the digital signal processing component to sequentially perform sliding window mid-range filtering to remove discrete pulse jumps caused by fluid turbulence. The preprocessing module connects a first-order hysteresis low-pass filtering algorithm to extract the smooth effective net density and effective net refractive index parameters.
[0143] The preprocessing module extracts the effective net density and effective net refractive index parameters of adjacent control periods in the time series, performs discrete backward difference operations, and solves for the first and second derivative parameters of the rate of change of the concentration gradient of the volatile components. The preprocessing module allocates a contiguous two-dimensional array storage space in memory. According to the row and column space mapping relationship, the preprocessing module reassembles the effective net density parameter, effective net refractive index parameter, first derivative parameter, and second derivative parameter into a condensate property derivative matrix. The preprocessing module packages the condensate property derivative matrix into a time series data frame with a timestamp and writes the time series data frame into the protected working area of shared memory.
[0144] The scheduling module monitors data updates in the computing memory. When it determines that the real-time temperature parameter of the extraction system is greater than or equal to the preset boiling point threshold, and the time span of the continuous fluid signal output by the sensing module exceeds the set time tolerance, the scheduling module executes logic and judgment to confirm that the extraction system has entered a stable boiling reflux state. At the moment of confirmation of entering the boiling reflux state, the scheduling module triggers a data latching operation to extract the current real-time pressure parameter as the initial equilibrium pressure parameter of the system.
[0145] The scheduling module continuously parses the condensate property derivative matrix in shared memory, extracts the numerical sign characteristics of the derivative parameters in the condensate property derivative matrix, and when the first derivative parameters of density, refractive index, density, and refractive index are all negative values less than zero, the scheduling module determines that the extraction system has entered the rapid precipitation stage of volatile oil. The scheduling module immediately generates a bypass diversion command and triggers the diversion module through the underlying communication bus to switch the three-way proportional regulating valve to the preset bypass position. The position switching operation causes the condensate rich in volatile oil to be completely isolated and introduced into the bypass low-temperature temporary storage tank that maintains a constant temperature thermodynamic state.
[0146] During the bypass diversion command, the scheduling module synchronously reads the instantaneous mass flow parameters measured by the sensing channel and uses the instantaneous mass flow parameters as the integrand. The scheduling module calls the integral operation core and uses the set sampling period as the time step to perform discrete accumulation and summation, finally solving for the lost mass cumulative parameters. The scheduling module combines the initial equilibrium pressure parameters, the gas phase volume increased by the equivalent transformation of the lost mass cumulative parameters, and the inherent initial effective gas phase volume constant of the system to calculate and generate the target compensation pressure parameters, and applies boundary limiting to the target compensation pressure parameters.
[0147] The compensation module generates a frequency regulation control quantity by calling the proportional-integral-derivative control algorithm based on the deviation between the target compensation pressure parameter and the real-time pressure parameter. The compensation module sends the frequency regulation control quantity to the frequency converter at the gas phase exhaust pressure stabilization execution end to continuously adjust the mechanical operating speed of the exhaust fan, dynamically reduce the absolute pressure of the gas phase space of the extraction tank, and maintain the thermodynamic balance of the system.
[0148] As the process evolves, the scheduling module continuously identifies the derivative matrix of condensate properties. When it identifies that the second derivative parameter in the condensate property derivative matrix crosses the zero critical point from a negative value and enters the positive value range, and the positive value state of the second derivative parameter is continuously maintained for the preset control period, the scheduling module determines that the extraction process has exceeded the peak value and entered the extraction decay stage. The scheduling module simultaneously issues a reset reflux command and an enthalpy decay command. After receiving the reset reflux command, the diversion module closes the bypass channel and restores the condensate reflux liquid to the main line of the extraction tank.
[0149] After the main control module captures the enthalpy decay command, it latches the current physical valve position opening state. The main control module continuously calculates the target physical valve position opening based on the built-in negative exponential decay function core, and drives the underlying hardware to make the physical valve position opening of the extraction tank jacket heating pipeline gradually approach the minimum pressure holding opening along the nonlinear curve, thereby dynamically reducing the heat input rate.
[0150] The scheduling module maintains a sliding data column with a set time window in the background, continuously extracting the absolute values of the first-order derivative parameters of density and refractive index from the derivative matrix of condensate properties. The scheduling module sends the absolute values of the first-order derivative parameters of density and refractive index to the logic judgment unit, and performs multiple floating-point value comparisons with the corresponding zero-bias threshold in the system's fixed configuration file. When the logic judgment unit detects that the absolute values of the first-order derivative parameters of density and refractive index are completely within the set zero-bias dead zone range for multiple consecutive control cycles, the scheduling module determines that the process extraction has reached the preset process endpoint and generates a global reset command.
[0151] The system's underlying control logic responds to the global reset command, and the main control module directly outputs a zero-level signal to reset the opening of the heating physical valve to zero. After the equipment anti-outburst delay, the compensation module blocks the operating frequency of the gas phase exhaust pressure stabilization actuator. The system's underlying control logic triggers the hardware relay of the exhaust pressure relief valve to open the exhaust channel. After the exhaust channel is opened, it connects the inside of the extraction tank with the external atmospheric environment, eliminating the system pressure difference. Through the above process, the closed-loop control system realizes a complete control closed loop from the underlying high-frequency data acquisition and dynamic phase change logic deduction to the final physical safety unloading.
[0152] While specific embodiments of the present invention have been described above, those skilled in the art should understand that these specific embodiments are merely illustrative. Those skilled in the art can omit, substitute, and modify the details of the above methods and systems in various ways without departing from the principles and essence of the present invention. For example, combining the above method steps to perform substantially the same function and achieve substantially the same result using substantially the same method falls within the scope of the present invention.
Claims
1. A xiangsu powder preparation process parameter closed-loop regulation system, characterized in that, The system includes: The main control module acquires real-time temperature and pressure parameters. The sensing module acquires continuous fluid signals, raw density parameters, raw refractive index parameters, and instantaneous mass flow rate parameters. The preprocessing module generates a condensate property derivative matrix based on the original density parameter and the original refractive index parameter; The scheduling module extracts the real-time pressure parameter as the initial equilibrium pressure parameter based on the real-time temperature parameter and the continuous fluid signal; it parses the condensate property derivative matrix to generate bypass diversion command, reset reflux command, enthalpy decay command and global reset command; and it calculates the target compensation pressure parameter based on the instantaneous mass flow rate parameter and the initial equilibrium pressure parameter. The shunt module executes the bypass shunt instruction and the reset return instruction; The compensation module adjusts the gas phase exhaust pressure stabilization actuator based on the target compensation pressure parameter.
2. The closed-loop control system for the preparation process parameters of Xiangsu powder according to claim 1, characterized in that, The preprocessing module executes a sliding window mid-range filter and a first-order hysteresis low-pass filter algorithm to obtain the effective net density parameter and the effective net refractive index parameter. Based on the effective net density parameter and the effective net refractive index parameter, perform a discrete backward difference operation to solve for the first derivative parameter of density, the first derivative parameter of refractive index, the second derivative parameter of density, and the second derivative parameter of refractive index.
3. The Xiangsu San preparation process parameter closed-loop regulation and control system according to claim 2, characterized in that, The preprocessing module reassembles the effective net density parameter, the effective net refractive index parameter, the first derivative parameter of density, the first derivative parameter of refractive index, the second derivative parameter of density, and the second derivative parameter of refractive index into a matrix-structured data structure of the condensate property derivative matrix.
4. The Xiangsu San preparation process parameter closed-loop regulation and control system according to claim 3, characterized in that, The scheduling module generates the bypass diversion command when the first derivative parameter of density and the first derivative parameter of refractive index in the condensate property derivative matrix are both less than zero, and the second derivative parameter of density and the second derivative parameter of refractive index are both less than zero. The diversion module responds to the bypass diversion command by controlling the three-way proportional regulating valve to switch to the preset bypass position, so that the condensate reflux liquid is completely isolated and introduced into the bypass low-temperature temporary storage tank.
5. The Xiangsu San preparation process parameter closed-loop regulation and control system according to claim 3, characterized in that, The scheduling module generates the reset reflux command and the enthalpy decay command when the density second derivative parameter or the refractive index second derivative parameter in the condensate physical property derivative matrix crosses the zero critical point and enters the positive value range, and is maintained continuously for multiple control cycles. The diversion module, in response to the reset reflux command, controls the physical valve opening of the three-way proportional regulating valve to return to the zero position, restoring the condensate reflux liquid to the main line of the extraction tank.
6. The Xiangsu San preparation process parameter closed-loop regulation and control system according to claim 5, characterized in that, The main control module responds to the enthalpy decay command by using a negative exponential decay function to calculate the target physical valve opening and reduce the physical valve opening of the extraction tank jacket heating pipeline.
7. The closed-loop control system for the preparation process parameters of Xiangsu powder according to claim 1, characterized in that, The scheduling module uses a set sampling period as the time step and takes the instantaneous mass flow parameter during the duration of the bypass diversion instruction as the integrand function to perform discrete accumulation and summation processing to solve for the lost mass accumulation parameter. The accumulated mass loss parameter is converted into an equivalent gas phase volume. The target compensation pressure parameter is generated by multiplying the initial equilibrium pressure parameter by the initial effective gas phase volume constant and dividing by the volume and parameter constructed by adding the initial effective gas phase volume constant and the equivalent gas phase volume.
8. The Xiangsu San preparation process parameter closed-loop regulation and control system according to claim 1, characterized in that, The compensation module extracts the pressure deviation between the target compensation pressure parameter and the real-time pressure parameter; Based on the pressure deviation, a proportional-integral-derivative (PI-DE) control algorithm is invoked to generate a frequency adjustment control quantity. The frequency adjustment control quantity is sent to the frequency converter inside the gas phase exhaust pressure stabilization actuator to continuously adjust the mechanical operating speed of the exhaust fan.
9. The closed-loop control system for the preparation process parameters of Xiangsu powder according to claim 2, characterized in that, The scheduling module determines that the process extraction has reached the preset process endpoint when the absolute values of the first derivative of the density parameter and the first derivative of the refractive index parameter are within the set zero-bias dead zone range for multiple consecutive control cycles, and generates the global reset command. The main control module responds to the global reset command by outputting a zero-level signal to strip the opening of the heating physical valve. The compensation module, in response to the global reset command, blocks the operating frequency of the gas phase exhaust pressure stabilization actuator and triggers the exhaust pressure relief valve to connect to the external atmospheric environment to eliminate the system pressure difference.
10. A method for closed-loop regulation of process parameters for the preparation of Xiangsu Powder, characterized in that, The method using the closed-loop control system for the preparation process parameters of Xiangsu powder according to any one of claims 1 to 9 includes the following steps: Acquire real-time temperature parameters and continuous fluid signals, and record real-time pressure parameters to generate initial equilibrium pressure parameters; Obtain the original density and refractive index parameters, and perform time-domain filtering and difference operations to generate the condensate property derivative matrix; Analyze the derivative matrix of condensate properties to generate bypass flow splitting commands, or generate reset reflux commands and enthalpy decay commands; The instantaneous mass flow rate parameter is obtained, and the cumulative mass loss parameter is solved based on the instantaneous mass flow rate parameter and the bypass diversion command. The target compensation pressure parameter is calculated by combining the initial equilibrium pressure parameter and the cumulative mass loss parameter, and the operating frequency of the gas phase exhaust pressure stabilization actuator is adjusted according to the target compensation pressure parameter. The density first derivative parameter and the refractive index first derivative parameter in the condensate physical property derivative matrix are monitored. When the density first derivative parameter and the refractive index first derivative parameter enter the set zero bias dead zone range and continue for multiple control cycles, a global reset command is generated to cut off the heat source and trigger the pressure relief action.
