Microscope live sample temperature and gas microenvironment control method and system
Through real-time data acquisition and adaptive feedback control, the microscope system achieves precise adjustment of temperature and gas concentration, solving the problem of insufficient precision of microscope environmental control devices in low temperature and low oxygen environments, and improving the stability and data reliability of microscopic imaging.
Patent Information
- Application Number
- CN202611151582.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-31
- Publication Date
- 2026-11-27
AI Technical Summary
Existing microscope environmental control devices lack precision in temperature and gas concentration control, failing to meet the stability requirements of biological samples for the microenvironment. In particular, they are prone to overshoot and airflow interference in low-temperature and low-oxygen environments.
The system uses temperature sensors and a multi-gas concentration sensor array to collect data in real time. Through feedback control of the heating component, cooling component, and gas control valve, it can achieve precise regulation of temperature and gas concentration. Adaptive algorithms are used to optimize the control strategy and reduce overshoot and oscillation.
It improves the survival rate of live cells in long-term culture and the stability of microscopic imaging data, ensures rapid response to temperature and gas concentration and steady-state zero static error tracking, and reduces the interference of environmental fluctuations on live samples.
Smart Images

Figure CN123177598A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of automatic control technology and can be applied to the control of the environment of live samples. In particular, it relates to a method and system for controlling the temperature and gas microenvironment of live samples for microscopes. Background Technology
[0002] In biomedical research, in vivo dynamic microscopy is a crucial tool for exploring the dynamic evolution of subcellular structures, cellular physiological processes, and macromolecular interactions. Maintaining a highly replicated physiological microenvironment is paramount in these long-term microscopy experiments to ensure biological activity and data accuracy. Different biological samples have highly specific and stringent requirements regarding the temperature and gas composition of their microenvironment. For example, in studies simulating hypoxic microenvironments in malignant cells, a 1%-5% hypoxic environment needs to be constructed; for obligate anaerobes such as microorganisms, an absolutely anaerobic / anaerobic environment is required; furthermore, organisms such as *C. elegans* and certain bacteria often require a specific low-temperature environment below room temperature during observation, necessitating constant control of temperature and gas composition.
[0003] However, in practical microscopic imaging systems, biological samples are typically placed in extremely small, closed or semi-closed microchambers, often with a volume of around 0.5 L or even less. The hydrodynamic and thermodynamic characteristics of these tiny spaces make them highly susceptible to temperature overshoot or drastic fluctuations in gas concentration, leading to overshoot in temperature or gas concentration control. Furthermore, existing microscope environmental control devices generally suffer from limited functionality; for example, they may only provide passive heating without active cooling, making it difficult to meet the needs of samples below room temperature; or they may only provide a continuous supply of premixed gas, which not only wastes gas but also interferes with the stability of microscopic imaging. Feedback-based gas concentration adjustment methods are prone to overshoot during application in microscopic imaging systems, resulting in control precision that cannot meet the stability requirements of the microenvironment for biological samples. Summary of the Invention
[0004] In view of this, the present invention provides a method and system for controlling the temperature and gas microenvironment of live samples for microscopes, the main purpose of which is to solve the problem that the control accuracy of existing control methods cannot meet the microenvironment stability requirements of biological samples.
[0005] According to one aspect of the present invention, a method for controlling the temperature and gas microenvironment of a live sample for microscopy is provided, comprising: Acquire temperature sensor signals in real time via a temperature sensor, wherein the temperature sensor is deployed in a cell culture chamber; Temperature parameters are calculated based on the temperature sensor signal, and the temperature control component is controlled based on the temperature parameters and temperature setting parameters. The temperature control component includes a heating component and a cooling component. The gas concentration of at least one gas to be controlled is collected in real time by a multi-gas concentration sensor array. For each gas to be controlled, the gas control valve status of the gas to be controlled is fed back based on the current gas concentration of the gas to be controlled, the historical gas concentration within a preset historical period and the gas concentration target value.
[0006] According to another aspect of the present invention, a temperature and gas microenvironment control system for live samples used in microscopes is provided, comprising: An acquisition module is used to acquire temperature sensor signals collected in real time by a temperature sensor module, wherein the temperature sensor module is deployed in a cell culture chamber; A temperature control module is used to calculate temperature parameters based on the temperature sensor signal, and to feed back and control the temperature control component based on the temperature parameters and temperature setting parameters, wherein the temperature control component includes a heating component and a cooling component; The gas control module is used to collect the gas concentration of at least one gas to be controlled in real time through a multi-gas concentration sensor array. For each gas to be controlled, the module feeds back the state of the gas control valve of the gas to be controlled based on the current gas concentration of the gas to be controlled, the historical gas concentration within a preset historical period, and the gas concentration target value.
[0007] According to another aspect of the present invention, a medium is provided that stores at least one executable instruction, the executable instruction causing a processor to perform operations corresponding to the above-described method for controlling the temperature and gas microenvironment of live samples for microscopy.
[0008] According to another aspect of the present invention, an apparatus is provided, comprising: an embedded system, a temperature sensor, a multi-gas concentration sensing array, a temperature control component, a gas control valve, and an interactive screen; The temperature sensor is deployed in the cell culture chamber to collect the temperature inside the cell culture chamber in real time and send it to the embedded system. The multi-gas concentration sensor array is used to collect the gas concentration of at least one gas to be controlled in the cell culture chamber in real time and send it to the embedded system; The temperature control component includes a heating component and a cooling component, and the temperature control component performs temperature regulation under the drive of the embedded system. The pneumatic control valve is a solenoid valve, used to perform pulse width modulation-type other concentration regulation under the drive of the embedded system; The interactive screen is used to receive the temperature setting parameters and gas concentration target values input by the user, and to display the real-time measured temperature and gas concentration data to the user. The embedded system is used to perform operations corresponding to the method of controlling the temperature and gas microenvironment of live samples for microscopy.
[0009] By employing the above-described technical solutions, the technical solutions provided by the embodiments of the present invention have at least the following advantages: This invention provides a method and system for controlling the temperature and gas microenvironment of live samples for microscopy. The embodiments of this invention acquire temperature sensor signals in real time via a temperature sensor deployed within a cell culture chamber. Temperature parameters are calculated based on the temperature sensor signals, and a temperature control component is fed back to control the temperature based on these parameters and a set temperature parameter. The temperature control component includes a heating component and a cooling component. The gas concentration of at least one gas to be controlled is acquired in real time via a multi-gas concentration sensor array. For each gas to be controlled, the gas control valve state is fed back to control the gas based on the current gas concentration, historical gas concentrations within a preset historical period, and a target gas concentration value. This minimizes gas waste and microscopic imaging disturbances caused by continuous high-speed airflow, and solves the problem of classical PID and other feedback control algorithms failing due to the delay between valve opening / closing and gas concentration changes. It significantly reduces temperature overshoot and concentration oscillations, lowers the interference of environmental fluctuations on the physiological state of live samples, and ensures rapid response to temperature change rates and steady-state, error-free tracking of multi-component gas concentrations. This greatly improves the survival rate of long-term live cell culture and the stability and reproducibility of microscopic imaging data.
[0010] The above description is merely an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention, it can be implemented according to the contents of the specification. Furthermore, in order to make the above and other objects, features and advantages of the present invention more apparent and understandable, specific embodiments of the present invention are described below. Attached Figure Description
[0011] Various other advantages and benefits will become apparent to those skilled in the art upon reading the following detailed description of preferred embodiments. The accompanying drawings are for illustrative purposes only and are not intended to limit the invention. Furthermore, the same reference numerals denote the same parts throughout the drawings. In the drawings: Figure 1 A flowchart of a method for controlling the temperature and gas microenvironment of a live sample for microscopy, provided by an embodiment of the present invention, is shown. Figure 2 This invention provides a flowchart of another method for controlling the temperature and gas microenvironment of live samples for microscopy. Figure 3 This diagram illustrates a refrigeration process for a cell culture chamber according to an embodiment of the present invention. Figure 4 This diagram illustrates a block diagram of a microscopic sample temperature and gas microenvironment control system provided by an embodiment of the present invention. Figure 5 A schematic diagram of the structure of a device provided in an embodiment of the present invention is shown. Detailed Implementation
[0012] Exemplary embodiments of the present disclosure will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
[0013] To address the issue that existing control methods cannot meet the microenvironment stability requirements of biological samples, this invention provides a method for controlling the temperature and gas microenvironment of live samples for microscopy, such as... Figure 1 As shown, the method includes steps 101-103: 101. Acquire the temperature sensor signal collected in real time by the temperature sensor.
[0014] In this embodiment of the invention, the current execution entity is an embedded system. This system receives a temperature sensor signal from a temperature sensor and converts the temperature signal into a temperature sensor measurement value. The temperature sensor is a thermistor, whose resistance increases with the increase of ambient temperature. This temperature sensor is deployed in a cell culture chamber.
[0015] 102. Calculate the temperature parameters based on the temperature sensor signal, and feed back and control the temperature control component based on the temperature parameters and temperature setting parameters.
[0016] In this embodiment of the invention, the embedded system converts the sensor resistance change into a voltage change through a temperature sensing processing circuit, then the microprocessor converts the analog voltage into a digital signal, and finally calculates the temperature sensor measurement value. The temperature parameter may include the temperature change rate in addition to the measured temperature value. The temperature setting parameter is the user-inputted temperature control target for the cell culture chamber.
[0017] The temperature control assembly includes a heating assembly and a cooling assembly. The heating assembly is used when it is necessary to maintain the ambient temperature of the live cells above room temperature. The heating assembly can be a ceramic heating element, attached to the side wall of the cell culture chamber. When the embedded system applies voltage to both ends of the heating element, the element heats up due to the current heating effect, thus raising the temperature of the cell culture chamber. The cooling assembly is used when it is necessary to maintain the ambient temperature of the live cells below room temperature. The cooling assembly can include a cold water tank, a water pump, and a cooler. The water pump draws cold water from the cold water tank, cools it through the cooler, and the cold water transfers heat through copper pipes to cool the cell culture chamber before returning to the cold water tank. The cooler is preferably a semiconductor cooler, which consists of a semiconductor cooling chip and a cooling fan.
[0018] 103. The gas concentration of at least one gas to be controlled is collected in real time by a multi-gas concentration sensor array. For each gas to be controlled, the gas control valve status of the gas to be controlled is fed back based on the current gas concentration of the gas to be controlled, the historical gas concentration within a preset historical period and the gas concentration target value.
[0019] In this embodiment of the invention, real-time concentration signals of each gas to be controlled are acquired in parallel using a multi-gas concentration sensor array, and a control channel is established independently for each gas. For a specific gas to be controlled, its current measured concentration value, concentration change trend data recorded over a preset historical period, and a preset target concentration value are comprehensively calculated. This involves comparing the instantaneous deviation between the current concentration and the target value, and analyzing the historical concentration slope to determine the rate of concentration change. Then, based on the multi-dimensional deviation analysis results, a control decision signal corresponding to the gas is generated and output to the gas control valve for that gas. By dynamically adjusting the valve opening or duty cycle, the inflow or outflow of the gas is changed, causing the measured concentration to approach the target value. Each gas channel executes the above feedback adjustment independently and in parallel, thereby achieving coordinated and stable control of the concentration of multiple gases. The gas concentration utilizes high-precision gas sensors, giving the system control qualities such as high feedback frequency, small overshoot, short settling time, and good stability. Temperature stability is particularly crucial for temperature-sensitive microscopic observation systems, effectively avoiding focus drift caused by thermal expansion and contraction.
[0020] It should be noted that through the coordinated control of temperature and gas concentration described above, a dual dynamic balance of the culture environment is achieved. At the temperature control end, high-frequency temperature signal acquisition and feedback regulation ensure that the actual temperature responds quickly to the set value, suppressing fluctuations within a minimal range. This provides a constant-temperature physical basis for stable gas concentration control, preventing temperature drift from interfering with sensor readings and the gas diffusion coefficient. At the gas control end, a multi-channel array sensor independently monitors the concentration of each component and performs multi-dimensional deviation calculations based on current measured values, historical trends, and target values. This dynamically adjusts the opening degree or operating frequency of the corresponding gas control valves, ensuring that each gas concentration can quickly track the set curve while effectively suppressing overshoot and oscillation. The gas control valves are solenoid valves. Ultimately, the temperature and gas control loops operate in parallel and are mutually dependent: stable temperature creates consistent environmental conditions for gas concentration measurement and control, while smooth changes in gas concentration will not cause coupling disturbances due to sudden temperature changes. The overall system has high response speed, small steady-state error and strong anti-interference capability, and can reliably maintain the temperature and multi-component gas concentration in the chamber within the target range specified by the user for a long time, meeting the high precision requirements of cell culture.
[0021] In one embodiment of the present invention, for further illustration and limitation, such as Figure 2 As shown, for any gas to be controlled, based on the current gas concentration of the gas to be controlled, the historical gas concentration within a preset historical period, and the target gas concentration value, the state of the gas control valve for the gas to be controlled is fed back for control, including: 201. For each control cycle, the instantaneous compensation valve opening time is determined based on the instantaneous deviation between the current gas concentration and the target gas concentration value.
[0022] 202. At preset time intervals, calculate the average gas concentration of historical gas concentration within a preset historical period, and dynamically correct the basic valve opening duty cycle based on the long-term deviation between the average gas concentration and the target gas concentration value through an adaptive algorithm.
[0023] 203. The basic valve opening duty cycle and the instantaneous compensation valve opening duration are superimposed to obtain the total opening duration of the pneumatic control valve in the current control cycle.
[0024] In this embodiment of the invention, if the current gas concentration is significantly lower than the target gas concentration value, the solenoid valve is fully opened; if the current gas concentration is significantly lower than the target gas concentration value, the solenoid valve is closed. The time for opening the solenoid valve consists of two parts: one part is the instantaneous deviation calculated based on the gas concentration target value and the current gas concentration, and the other part is a compensation value determined based on the difference between the gas concentration average over a long period and the gas concentration target value. The instantaneous deviation is used to maintain the concentration near the target value, and the compensation value is used to control the valve opening duty cycle to reduce oscillation and make the gas concentration more stable.
[0025] Specifically, at the beginning of each control cycle, the measured gas concentration value at the current moment is first read and subtracted from the target gas concentration value to obtain the instantaneous deviation. Based on the magnitude and direction (positive or negative) of this deviation, an instantaneous compensation valve opening duration is calculated. This duration is characterized by being short-term and dynamic, aiming to quickly offset sudden concentration fluctuations at the current moment and ensure that the system has a rapid dynamic response capability. Simultaneously, a timer is started, and at fixed preset time intervals, such as every 60 seconds, the arithmetic average of all gas concentration data stored in a preset historical period, such as the past 5 minutes, is calculated to obtain the average gas concentration. Then, the long-term deviation between this average value and the target gas concentration value is calculated. It is important to note that this deviation is not directly used to add to the valve opening duration; instead, it is input into an adaptive algorithm. This algorithm dynamically adjusts and updates a base valve opening duty cycle based on the direction and magnitude of this long-term accumulated deviation. This duty cycle represents the average reference gas supply required to maintain the target concentration under slowly changing conditions such as current gas source pressure, ambient temperature, and leakage rate. Its adjustment frequency is much lower than instantaneous control, belonging to a slow tracking loop.
[0026] Within the current control cycle, the updated baseline valve opening duty cycle is multiplied by the total duration of the control cycle to convert it into a fixed baseline opening duration. This is then algebraically summed with the instantaneous compensation valve opening duration calculated in the first step. If the concentration is too low, the instantaneous compensation valve opening duration is positive; otherwise, it is negative. The final total opening duration is the total time the pneumatic control valve coil is energized or the gas path is open within this cycle. This total duration is allocated within the cycle using pulse width modulation or time proportional control to drive the pneumatic control valve. Through this process, even when the system faces a drop in gas source pressure or sensor zero-point drift during long-term operation, it can automatically pull the average concentration back to the target value, thus achieving high-precision, zero-steady-state control while ensuring response speed.
[0027] In one embodiment of the present invention, for further explanation and limitation, the basic valve opening duty cycle is dynamically corrected using an adaptive algorithm, including: If the average gas concentration is less than the target gas concentration, the basic valve opening duty cycle is increased by a preset step. If the average gas concentration is greater than the target gas concentration, the basic valve opening duty cycle is reduced by a preset step. During the correction process, the basic valve opening duty cycle is constrained between a preset minimum duty cycle and a maximum duty cycle.
[0028] In this embodiment of the invention, after calculating the average gas concentration over a preset historical period, the average value is compared with the target gas concentration value. If the average value is less than the target value, it indicates that the current basic gas supply is insufficient. The basic valve opening duty cycle is then increased by a preset step size, such as 0.01 increments, to increase the baseline opening ratio and the average gas supply. Conversely, if the average value is greater than the target value, it indicates that the gas supply is excessive. The basic valve opening duty cycle is then decreased by the same step size to reduce the baseline opening ratio. Simultaneously, to prevent the accumulation of integral terms leading to parameter runaway or system oscillation, a safety limit constraint is consistently applied to the basic valve opening duty cycle throughout the correction process, keeping it between a preset minimum duty cycle (e.g., 0.1) and a maximum duty cycle (e.g., 0.4). This prevents complete closure from causing a persistently low concentration and prevents oversupply from causing concentration overshoot. Once the boundary value is reached, further adjustments in this direction cease, allowing the basic duty cycle to steadily approach the optimal steady-state value that maintains the target concentration within a safe range, achieving adaptive tracking of long-term operating condition drift.
[0029] In practical engineering implementation, the above adaptive correction step can be further refined into variable structure control logic based on state recognition and condition triggering, with the specific operating mechanism as follows: In each control cycle, the current concentration value (Current) is read in real time and the instantaneous deviation is calculated, i.e., Error = Target - Current. The algorithm first performs macroscopic state judgment: when the concentration is lower than 90% of the target value, i.e., Current < 0.9 × Target, it is judged as a severe gas shortage state. The solenoid valve is opened directly without conditions to force rapid gas replenishment with maximum execution force to ensure that the concentration does not fall below the safe lower limit. This step is a hard constraint fallback and does not participate in parameter learning.
[0030] When the concentration is within a safe range, the process transitions to a micro-level fine-tuning. An instantaneous compensation calculation is performed every 5 seconds: if a positive deviation exists (Error > 0), an additional on-time proportional to the instantaneous deviation, i.e., Error × 200 (milliseconds / concentration unit), is added on top of the baseline heartbeat pulse width (Heartbeat_Pulse × 5000 milliseconds) to rapidly suppress instantaneous concentration fluctuations; if there is no deviation (Error = 0), only the on-time corresponding to the baseline heartbeat pulse width is maintained. It should be noted that this proportionality coefficient of 200 milliseconds / concentration unit is relatively conservative, aiming to ensure that without baseline heartbeat intervention, the concentration fluctuates only within a small range, such as 4.5~4.8, without overshoot.
[0031] Meanwhile, a slow adaptive learning phase is executed every 70 seconds: First, the moving average (Current_mean) of all concentration data over the past 70 seconds is calculated to filter out instantaneous noise and reflect the recent true average level. Parameter correction is only initiated when this average is within the target buffer (4.5~5.1). Specifically, if the average is lower than the target value, such as 4.9, it indicates that the current baseline heartbeat setting is too low, so the baseline heartbeat is increased by 0.01 to increase the baseline gas supply; if the average is higher than the target value, such as 5.1, it indicates that the gas supply is excessive, so the baseline heartbeat is decreased by 0.01. After correction, a safety limit is applied to the baseline heartbeat between 0.1 and 0.4 to prevent integral saturation from causing parameter runaway. The core adaptive value of this phase lies in the fact that when the gas source pressure drops, pipeline leaks, or environmental disturbances cause long-term concentration deviations, the algorithm automatically adjusts the baseline duty cycle through error accumulation, so that the steady-state gas supply dynamically adapts to changes in operating conditions.
[0032] Finally, within the current control cycle, the reference duration corresponding to the adaptively corrected base duty cycle is superimposed with the instantaneous compensated valve opening duration to obtain the total opening duration of the solenoid valve for that cycle, which is then output for execution. This parallel and coordinated three-layer mechanism of strong macroscopic intervention, fast microscopic compensation, and slow self-learning ensures both rapid response to sudden concentration changes and high-precision, zero-steady-state control over long-term operation through a conditional integral strategy.
[0033] In one embodiment of the present invention, for further explanation and limitation, calculating temperature parameters based on the temperature sensor signal includes: The temperature sensor signal is an analog voltage. The analog voltage is converted into a digital signal, and the digital signal is denoised based on a moving average filtering algorithm to obtain the temperature sampling value. Calculate the rate of temperature change based on multiple temperature sampling values within a preset time period prior to the current moment; The temperature change rate and the current temperature sample value are used as the temperature parameters at the current time.
[0034] In this embodiment of the invention, the analog voltage signal output by the temperature sensor is first sampled and converted into a digital signal by an analog-to-digital converter. A moving average filtering algorithm is then used to perform an arithmetic average or weighted average of multiple consecutive digital signal values to filter out random noise and spike interference, resulting in a smooth and stable current temperature sample value. Subsequently, multiple historical temperature sample values from a preset time period prior to the current moment, such as the previous 30 or 60 seconds, are cached. The slope of these data over time is calculated using the least squares method or the difference method, serving as the current temperature change rate to characterize the temperature rise and fall trend and rate. Finally, the filtered temperature sample value at the current moment, reflecting the instantaneous amplitude of the temperature, is combined with the calculated temperature change rate, reflecting the dynamic direction and speed of temperature change, to constitute the current temperature parameter output for subsequent closed-loop control. This allows the control algorithm to not only rely on absolute temperature values but also predict temperature change trends, thereby improving the response foresight and disturbance rejection capability of the temperature control system.
[0035] In one embodiment of the present invention, for further explanation and limitation, the temperature control component that provides feedback control based on the temperature parameters and temperature setting parameters includes: A control signal is generated based on the deviation between the temperature sample value and the target temperature value, and the control output is limited and suppressed when the temperature change rate is greater than the temperature change rate threshold.
[0036] In this embodiment of the invention, the temperature setting parameters include a target temperature value and a temperature change rate threshold. First, the filtered current temperature sample value is compared with the user-preset target temperature value to obtain the real-time temperature deviation. Based on this deviation, a basic control signal, such as a heating power or cooling capacity command, is generated to drive the temperature control component to adjust the temperature value towards the target value. Simultaneously, the current temperature change rate is monitored in real time and compared with a preset temperature change rate threshold. If the temperature change rate does not exceed the threshold, the control output is executed according to the normal algorithm calculation, ensuring the system has sufficient adjustment response speed. Once the temperature change rate is detected to be greater than the threshold, i.e., the temperature shows an abnormally rapid rise or fall trend, a limiting and suppression mechanism is immediately activated to dynamically reduce or clamp the control output in the current cycle, such as limiting the output increase within a preset safety boundary or directly reducing the output amplitude of the current control signal, thereby preventing the risk of temperature overshoot or runaway due to excessive thermal inertia or strong external disturbances. The aforementioned deviation-driven and rate-of-change-constraint dual logics are executed in parallel. While ensuring that the temperature control system can quickly track the target value, it can also intervene in advance through trend perception to suppress excessive adjustment, thus achieving comprehensive feedback control that balances speed and stability.
[0037] In one embodiment of the present invention, for further explanation and limitation, when the temperature control component is a heating component, the feedback control process includes: If the temperature sample value is less than the target temperature value, a high level is output and amplified by the amplifier circuit before being applied to the heating component to drive the heating component to work. If the temperature sample value is greater than the target temperature value, a low level is output to stop driving the heating component; When the temperature control component is a refrigeration component, the feedback control process includes: If the temperature sample value is greater than the target temperature value, the cooler is turned on to cool the liquid-cooled circulating water and cool the cell culture chamber by the flow of the liquid-cooled circulating water around the copper tubes in the cell culture chamber.
[0038] In this embodiment of the invention, the system includes two control branches: heating and cooling. In the heating branch, since the microprocessor's I / O port has limited driving capability and cannot directly drive high-power heating loads, a drive circuit is added between the microprocessor output and the heating control component to amplify the high-level signal to a voltage and current level sufficient to reliably drive the heater, achieving isolation and power matching between weak current and strong current. In the cooling branch, the start and stop of the cooler and water pump are also controlled by the microprocessor via the drive circuit. When the temperature sampling value falls below the target value, the cooling output is automatically turned off, and a hysteresis comparison strategy is used to avoid frequent switching between cooling and heating, thereby extending the actuator's service life while ensuring temperature control accuracy. The driving circuit can be based on a series-connected bidirectional switch. Specifically, the driving circuit includes a first switch and a second switch, with the second terminal of the first switch and the first terminal of the second switch electrically connected in series. The first switch and the second switch are configured to alternately conduct under the control of the driving signal, and only one switch is allowed to be in the conducting state at any given time. This utilizes the conduction and turn-off characteristics of the switch to convert the low-voltage control signal into a high-voltage power output sufficient to drive the load, thereby achieving a power level boost.
[0039] When the current temperature is lower than the target temperature, a high-level output is used to drive the external heating control components to heat up. When the current temperature is higher than the target temperature, ... Figure 3 The diagram shows the refrigeration process in the cell culture chamber. A water pump draws chilled water from the chilled water tank, passes it through the chiller, and then the chilled water cools the cell culture chamber via copper pipes before returning to the chilled water tank. This liquid-cooled circulation system replaces the traditional direct-contact cooling method, utilizing the high specific heat capacity of water to achieve more stable temperature control. Furthermore, the copper pipe layout allows for flexible adaptation to the limited space of the cell culture chamber, effectively overcoming the limitations of conventional contact cooling systems in confined spaces, thus combining temperature control stability with spatial adaptability.
[0040] In one embodiment of the present invention, for further explanation and limitation, the method further includes: In response to parameter configuration commands input via the interactive screen, update the temperature setting parameters according to the temperature parameter configuration content, and / or update the gas concentration target value according to the gas concentration configuration content; The real-time collected temperature parameters and gas concentrations are displayed on the interactive screen.
[0041] In this embodiment of the invention, the system receives user-inputted parameter configuration commands in real time via an interactive screen, such as a capacitive touchscreen. When temperature parameter configuration is detected, the system updates the internally stored temperature setting parameters, including the target temperature value and temperature change rate threshold, based on this content. When gas concentration configuration is detected, the system updates the target gas concentration value for the corresponding gas to be controlled based on this content. The updated configuration takes effect immediately and serves as the latest setting benchmark for subsequent closed-loop control. Simultaneously, the system continuously pushes the real-time collected and filtered current temperature parameters, including temperature sampling values and temperature change rates, as well as the measured gas concentration values for each channel, to the interactive screen for digital or graphical display according to a preset refresh cycle. This allows users to intuitively monitor the real-time status and parameter change trends of the culture environment, achieving a human-computer interaction closed loop for parameter distribution and status feedback.
[0042] Furthermore, as a response to the above Figure 1 The implementation of the method shown in this invention provides a control system for the temperature and gas microenvironment of live samples for microscopes, such as... Figure 4 As shown, the system includes: Acquisition module 31 is used to acquire temperature sensor signals collected in real time by temperature sensor module, wherein the temperature sensor module is deployed in cell culture chamber; Temperature control module 32 is used to calculate temperature parameters based on the temperature sensor signal, and to feed back and control the temperature control component based on the temperature parameters and temperature setting parameters, wherein the temperature control component includes a heating component and a cooling component; The gas control module 33 is used to collect the gas concentration of at least one gas to be controlled in real time through a multi-gas concentration sensor array, and for each gas to be controlled, based on the current gas concentration of the gas to be controlled, the historical gas concentration within a preset historical period and the gas concentration target value, to feed back and control the gas control valve state of the gas to be controlled.
[0043] Furthermore, the gas control module 33 includes: The determining unit is used to determine the instantaneous compensation valve opening time for each control cycle based on the instantaneous deviation between the gas concentration at the current moment and the gas concentration target value. The correction unit is used to calculate the average gas concentration of historical gas concentration within a preset historical period at preset time intervals, and dynamically correct the basic valve opening duty cycle based on the long-term deviation between the average gas concentration and the target gas concentration value through an adaptive algorithm. The first calculation unit is used to superimpose the basic valve opening duty cycle and the instantaneous compensation valve opening duration to obtain the total opening duration of the pneumatic control valve in the current control cycle.
[0044] Furthermore, in a specific application scenario, the first calculation unit is specifically used to increase the basic valve opening duty cycle by a preset step if the average gas concentration is less than the target gas concentration value; If the average gas concentration is greater than the target gas concentration, the basic valve opening duty cycle is reduced by a preset step. During the correction process, the basic valve opening duty cycle is constrained between a preset minimum duty cycle and a maximum duty cycle.
[0045] Furthermore, the temperature control module 32 includes: The denoising unit is used to convert the temperature sensor signal into an analog voltage, convert the analog voltage into a digital signal, and perform denoising processing on the digital signal based on a moving average filtering algorithm to obtain the temperature sampling value. The second calculation unit is used to calculate the rate of temperature change based on multiple temperature sampling values within a preset time period prior to the current moment. The second determining unit is used to use the temperature change rate and the temperature sample value at the current moment as the temperature parameter at the current moment.
[0046] Furthermore, the temperature setting parameters include a target temperature value and a temperature change rate threshold; The temperature control module 32 further includes: The control unit is used to generate a control signal based on the deviation between the temperature sample value and the target temperature value, and to limit and suppress the control output when the temperature change rate is greater than the temperature change rate threshold.
[0047] Furthermore, when controlling the heating component, the control unit is specifically configured to output a high level and amplify it through an amplifier circuit to the heating component to drive the heating component to work if the temperature sample value is less than the target temperature value; and output a low level to stop driving the heating component if the temperature sample value is greater than the target temperature value. The control unit, when controlling the refrigeration component, is specifically used to control the refrigerator to turn on if the temperature sampling value is greater than the target temperature value, so that the refrigerator cools the liquid-cooled circulating water and cools the cell culture chamber by the flow of liquid-cooled circulating water around the copper tubes in the cell culture chamber.
[0048] Furthermore, the system also includes an interaction module, which is used to respond to parameter configuration commands input through the interactive screen, update the temperature setting parameters according to the temperature parameter configuration content, and / or update the gas concentration target value according to the gas concentration configuration content; and display the real-time collected temperature parameters and gas concentration to the interactive screen.
[0049] According to one embodiment of the present invention, a medium is provided that stores at least one executable instruction, which is capable of executing the microscopic sample temperature and gas microenvironment control method for microscopes in any of the above method embodiments.
[0050] Figure 5 The diagram shows a structural schematic of a device according to an embodiment of the present invention. The specific embodiments of the present invention do not limit the specific implementation of the device.
[0051] like Figure 5 As shown, the device may include: an embedded system 402, a temperature sensor 403, a multi-gas concentration sensor array 404, a temperature control component 405, a gas control valve 406, and an interactive screen 407.
[0052] Specifically: the temperature sensor 403, the multi-gas concentration sensor array 404 communicate with the embedded system 402; the temperature control component 405 and the gas control valve 406 communicate with the embedded system 402; and the embedded system 402 communicates with the interactive screen 407.
[0053] The embedded system 402 is used to execute program 410, specifically to execute the relevant steps in the above embodiment of the method for controlling the temperature and gas microenvironment of live samples for microscopes.
[0054] Specifically, program 410 may include program code that includes computer operation instructions.
[0055] Specifically, program 410 can be used to cause processor 402 to perform the following operations: Acquire temperature sensor signals in real time via a temperature sensor, wherein the temperature sensor is deployed in a cell culture chamber; Temperature parameters are calculated based on the temperature sensor signal, and the temperature control component is controlled based on the temperature parameters and temperature setting parameters. The temperature control component includes a heating component and a cooling component. The gas concentration of at least one gas to be controlled is collected in real time by a multi-gas concentration sensor array. For each gas to be controlled, the gas control valve status of the gas to be controlled is fed back based on the current gas concentration of the gas to be controlled, the historical gas concentration within a preset historical period and the gas concentration target value.
[0056] It is obvious to those skilled in the art that the modules or steps of the present invention described above can be implemented using general-purpose computing systems. They can be centralized on a single computing system or distributed across a network of multiple computing systems. Optionally, they can be implemented using program code executable by a computing system, thereby storing them in a storage system for execution by the computing system. In some cases, the steps shown or described can be performed in a different order than those presented herein, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, the present invention is not limited to any particular combination of hardware and software.
[0057] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A method for controlling the temperature and gas microenvironment of live samples for microscopy, characterized in that, include: Acquire temperature sensor signals in real time via a temperature sensor, wherein the temperature sensor is deployed in a cell culture chamber; Temperature parameters are calculated based on the temperature sensor signal, and the temperature control component is controlled based on the temperature parameters and temperature setting parameters. The temperature control component includes a heating component and a cooling component. The gas concentration of at least one gas to be controlled is collected in real time by a multi-gas concentration sensor array. For each gas to be controlled, the gas control valve status of the gas to be controlled is fed back based on the current gas concentration of the gas to be controlled, the historical gas concentration within a preset historical period and the gas concentration target value.
2. The method according to claim 1, characterized in that, For any gas to be controlled, based on the current gas concentration, the historical gas concentration within a preset historical period, and the target gas concentration value, the state of the gas control valve for the gas to be controlled is fed back, including: For each control cycle, the instantaneous compensation valve opening time is determined based on the instantaneous deviation between the current gas concentration and the target gas concentration value. At preset time intervals, the average gas concentration of historical gas concentration within a preset historical period is calculated, and the basic valve duty cycle is dynamically corrected through an adaptive algorithm based on the long-term deviation between the average gas concentration and the target gas concentration. The basic valve opening duty cycle and the instantaneous compensation valve opening duration are superimposed to obtain the total opening duration of the pneumatic control valve in the current control cycle.
3. The method according to claim 2, characterized in that, The method of dynamically correcting the basic valve opening duty cycle through an adaptive algorithm includes: If the average gas concentration is less than the target gas concentration, the basic valve opening duty cycle is increased by a preset step. If the average gas concentration is greater than the target gas concentration, the basic valve opening duty cycle is reduced by a preset step. During the correction process, the basic valve opening duty cycle is constrained between a preset minimum duty cycle and a maximum duty cycle.
4. The method according to claim 1, characterized in that, Calculating temperature parameters based on the temperature sensor signal includes: The temperature sensor signal is an analog voltage. The analog voltage is converted into a digital signal, and the digital signal is denoised based on a moving average filtering algorithm to obtain the temperature sampling value. Calculate the rate of temperature change based on multiple temperature sampling values within a preset time period prior to the current moment; The temperature change rate and the current temperature sample value are used as the temperature parameters at the current time.
5. The method according to claim 4, characterized in that, The temperature setting parameters include the target temperature value and the temperature change rate threshold; The temperature control component, which provides feedback control based on the temperature parameters and temperature setting parameters, includes: A control signal is generated based on the deviation between the temperature sample value and the target temperature value, and the control output is limited and suppressed when the temperature change rate is greater than the temperature change rate threshold.
6. The method according to claim 5, characterized in that, When the temperature control component is a heating component, the feedback control process includes: If the temperature sample value is less than the target temperature value, a high level is output and amplified by the amplifier circuit before being applied to the heating component to drive the heating component to work. If the temperature sample value is greater than the target temperature value, a low level is output to stop driving the heating component; When the temperature control component is a refrigeration component, the feedback control process includes: If the temperature sample value is greater than the target temperature value, the cooler is turned on to cool the liquid-cooled circulating water and cool the cell culture chamber by the flow of the liquid-cooled circulating water around the copper tubes in the cell culture chamber.
7. The method according to claim 1, characterized in that, The method further includes: In response to parameter configuration commands input via the interactive screen, update the temperature setting parameters according to the temperature parameter configuration content, and / or update the gas concentration target value according to the gas concentration configuration content; The real-time collected temperature parameters and gas concentrations are displayed on the interactive screen.
8. A temperature and gas microenvironment control system for live samples used in microscopes, characterized in that, include: An acquisition module is used to acquire temperature sensor signals collected in real time by a temperature sensor module, wherein the temperature sensor module is deployed in a cell culture chamber; A temperature control module is used to calculate temperature parameters based on the temperature sensor signal, and to feed back and control the temperature control component based on the temperature parameters and temperature setting parameters, wherein the temperature control component includes a heating component and a cooling component; The gas control module is used to collect the gas concentration of at least one gas to be controlled in real time through a multi-gas concentration sensor array. For each gas to be controlled, the module feeds back the state of the gas control valve of the gas to be controlled based on the current gas concentration of the gas to be controlled, the historical gas concentration within a preset historical period, and the gas concentration target value.
9. A medium, characterized in that, The medium stores at least one executable instruction that causes the processor to perform operations corresponding to the microscopic live sample temperature and gas microenvironment control method as described in any one of claims 1-7.
10. A device, characterized in that, include: Embedded systems, temperature sensors, multi-gas concentration sensor arrays, temperature control components, pneumatic valves, and interactive screens; The temperature sensor is deployed in the cell culture chamber to collect the temperature inside the cell culture chamber in real time and send it to the embedded system. The multi-gas concentration sensor array is used to collect the gas concentration of at least one gas to be controlled in the cell culture chamber in real time and send it to the embedded system; The temperature control component includes a heating component and a cooling component, and the temperature control component performs temperature regulation under the drive of the embedded system. The pneumatic control valve is a solenoid valve, used to perform pulse width modulation-type other concentration regulation under the drive of the embedded system; The interactive screen is used to receive the temperature setting parameters and gas concentration target values input by the user, and to display the real-time measured temperature and gas concentration data to the user. The embedded system is used to perform operations corresponding to the microscopic live sample temperature and gas microenvironment control method as described in any one of claims 1-7.
