Adaptive control method and system for medical metrology equipment
By periodically collecting temperature data and determining operating conditions in medical metrology equipment, dynamically configuring weights and adjusting compensation amounts, the problem of temperature control mismatch in traditional methods is solved, achieving more accurate and continuous temperature tracking.
Patent Information
- Application Number
- CN202611356221.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-03
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2046-09-03
AI Technical Summary
Traditional temperature control methods for medical metrology equipment are ill-suited to the coexistence of rapid and slow temperature deviations during operation. This leads to a mismatch between the compensation response rhythm and the temperature change rhythm, which can result in repeated compensation or directional cancellation, affecting the temperature tracking status.
By collecting temperature measurements and timestamps at preset intervals, calculating deviations and deviation change rates, determining whether the operating condition is abrupt or gradual, dynamically configuring weights, calculating and limiting the basic modification amount of temperature compensation, and adjusting compensation parameters in conjunction with historical net modification amounts and already responded amplitudes, the system reduces redundant compensation and directional cancellation.
It enables accurate adjustment of temperature compensation parameters under different operating conditions, reduces fluctuations in the temperature control process, and maintains the continuity and accuracy of temperature tracking.
Smart Images

Figure CN122861491B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of medical metrology technology, and in particular to an adaptive control method and system for medical metrology equipment. Background Technology
[0002] The field of medical metrology typically involves the acquisition, recording, comparison, and adjustment of operating parameters such as temperature in medical metrology equipment. Temperature sensors acquire measured values, which are transmitted to a controller via an acquisition interface. The controller combines target values, historical records, and preset control parameters to generate adjustment commands, which are then sent to the temperature controller. Simultaneously, the measurement time, parameter changes, and execution records are saved. Traditional adaptive control methods for medical metrology equipment involve continuous monitoring and parameter adjustment to address temperature deviations during equipment operation. This typically involves periodically reading the current temperature and comparing it with the target temperature. The compensation amount is determined based on the magnitude of the deviation, the trend of deviation change, and preset thresholds. The magnitude of each adjustment is limited, and the temperature compensation parameters are modified according to the control cycle. The issued parameters and subsequent temperature response data are recorded.
[0003] Traditional temperature control processes read the current temperature at fixed intervals and compare it with the target temperature. The compensation amount is calculated based on the periodic deviation or a preset threshold. When faced with a process where temperature deviation changes rapidly and slowly, the control basis is difficult to reflect the continuous growth state and the difference in the rate of change of the deviation. This can easily lead to a mismatch between the compensation response rhythm and the temperature change rhythm. Historical adjustments that are still in effect after a single compensation are not included in subsequent calculations. Repeated compensation or directional cancellation can easily occur between continuous control cycles, resulting in fluctuations in the temperature compensation parameter adjustment and affecting the temperature tracking status during the measurement process. Summary of the Invention
[0004] The purpose of this invention is to overcome the shortcomings of existing technologies and to propose an adaptive control method and system for medical metrology equipment.
[0005] To achieve the above objectives, the present invention adopts the following technical solution: an adaptive control method for medical metrology equipment, comprising the following steps:
[0006] S1: Collect the current temperature value of the temperature measurement unit according to the preset cycle and record the corresponding timestamp, obtain the target temperature value, calculate the deviation between the current temperature value and the target temperature value to obtain the measurement deviation, and write the current temperature value, measurement deviation and timestamp into the measurement timing data;
[0007] S2: Calculate the rate of change of measurement deviation based on the measurement time series data, count the number of cycles in which the deviation increases continuously in the same direction, compare the rate of change of measurement deviation and the number of cycles in which the deviation increases continuously in the same direction with the corresponding threshold. If both reach the corresponding threshold, it is determined to be a sudden change condition; otherwise, it is determined to be a gradual change condition, and the condition determination result is obtained.
[0008] S3: Determine the current control stage based on the condition determination result. If the condition is determined to be a sudden change, the current control stage is determined to be a sudden response stage. If the condition is determined to be a gradual change, the current control stage is determined to be a steady tracking stage. Obtain the control stage mark. Determine the weights of the historical measurement deviation and the current measurement deviation based on the control stage mark and perform a weighted summation to obtain the weighted measurement deviation.
[0009] S4: Calculate the basic temperature compensation modification amount based on the control stage marker, the weighted measurement deviation, and the measurement deviation change rate, and limit the modification range of the basic temperature compensation modification amount according to the preset single modification range upper limit to obtain the initial compensation modification amount;
[0010] S5: Read the historical net modification amount and corresponding issuance timestamp saved in the previous control cycle, calculate the responded amplitude based on the current temperature value after the issuance timestamp in the measurement timing data, calculate the incomplete compensation amount based on the historical net modification amount and the responded amplitude, determine the net modification amount based on the compensation direction and modification amplitude of the initial compensation modification amount and the incomplete compensation amount, read the temperature compensation parameters currently executed by the temperature control unit, adjust and issue the temperature compensation parameters based on the net modification amount, and save the net modification amount and the current timestamp.
[0011] As a further aspect of the present invention, the process of S1 is specifically as follows:
[0012] S101: Read the current temperature value output by the temperature measurement unit according to the preset cycle and read the corresponding timestamp, read the target temperature value set by the temperature control unit, calculate the temperature deviation between the current temperature value and the target temperature value, and obtain the measurement deviation;
[0013] S102: Arrange the current temperature value and the measurement deviation according to the timestamp, and write the current temperature value and measurement deviation corresponding to the same timestamp into the same sequence position to establish measurement time series data.
[0014] As a further aspect of the present invention, the process of S2 is specifically as follows:
[0015] S201: Based on the measurement timing data, read the measurement deviation and timestamp of adjacent control cycles, calculate the ratio of the change in adjacent measurement deviation to the corresponding time interval, and obtain the rate of change of measurement deviation.
[0016] S202: Based on the measurement timing data, read the measurement deviation of the continuous control cycle, compare the change direction and deviation amplitude of adjacent measurement deviations, count the number of cycles with the same change direction and continuously increasing deviation amplitude, and obtain the number of cycles with continuously increasing deviation in the same direction.
[0017] S203: Read the pre-stored change rate threshold and cycle number threshold, compare the change rate of the measurement deviation with the change rate threshold, compare the number of cycles in which the deviation increases continuously in the same direction with the cycle number threshold, and determine the sudden change condition when both reach the corresponding threshold; otherwise, determine the gradual change condition and obtain the condition determination result.
[0018] As a further aspect of the present invention, the process of S3 is specifically as follows:
[0019] S301: Determine the current control stage based on the operating condition determination result, determine the current control stage corresponding to the sudden change operating condition as the sudden response stage, and determine the current control stage corresponding to the gradual change operating condition as the steady tracking stage, and obtain the control stage mark.
[0020] S302: Determine the number of historical deviation selection cycles according to the control stage marker, and read the total weight of historical deviation and the current deviation weight corresponding to the control stage marker from the pre-stored weight parameters;
[0021] S303: From the measurement timing data, starting from the control cycle before the current control cycle, read the measurement deviation cycle by cycle according to the timestamp. The number of cycles read is the same as the number of cycles selected for the historical deviation, to obtain multiple historical measurement deviations. Then, read the measurement deviation of the current control cycle to obtain the current measurement deviation. Distribute the total weight of the historical deviation to the multiple historical measurement deviations. Associate the weight of the current deviation with the current measurement deviation to generate deviation weight data.
[0022] S304: Based on the deviation weight data, calculate multiple historical deviation weight values according to the weight corresponding to each historical measurement deviation, calculate the current deviation weight value according to the current deviation weight, and calculate the sum of multiple historical deviation weight values and the current deviation weight value to obtain the weighted measurement deviation.
[0023] As a further aspect of the present invention, the process for determining the number of historical deviation selection periods, the total weight of historical deviations, and the weight of the current deviation is as follows:
[0024] Read the pre-stored number of stable historical periods, number of abrupt historical periods, total weight of stable historical deviation, weight of current stable deviation, total weight of abrupt historical deviation, and weight of current abrupt deviation;
[0025] Among them, the number of historical cycles of sudden changes is less than the number of historical cycles of stability, the total weight of the historical deviation of stability is greater than the weight of the current deviation of stability, and the total weight of the historical deviation of sudden changes is less than the weight of the current deviation of sudden changes.
[0026] Normalize the total weight of historical deviation and the weight of current deviation for each group so that the sum of the weights for each group is 1.
[0027] When the control phase is marked as the stable tracking phase, the number of stable historical cycles is determined as the number of historical deviation selection cycles, the total weight of the stable historical deviation is divided equally to determine the weight corresponding to each historical measurement deviation, and the weight of the stable current deviation is determined as the current deviation weight.
[0028] When the control phase is marked as the mutation response phase, the number of mutation history cycles is determined as the number of historical deviation selection cycles, the total weight of the mutation history deviation is evenly divided to determine the weight corresponding to each historical measurement deviation, and the current deviation weight of the mutation is determined as the current deviation weight.
[0029] Based on the historical measurement deviations corresponding to the current control phase, the weights corresponding to each historical measurement deviation, the current measurement deviation, and the current deviation weight, deviation weight data is generated.
[0030] As a further aspect of the present invention, the process of S4 is specifically as follows:
[0031] S401: Select the corresponding preset gain parameter according to the control stage mark, calculate the modification range according to the weighted measurement deviation and the preset gain parameter in the stable tracking stage, adjust the preset gain parameter according to the measurement deviation change rate and calculate the modification range in the sudden response stage, determine the compensation direction according to the weighted measurement deviation, and obtain the temperature compensation basic modification amount according to the modification range and compensation direction.
[0032] S402: Read the pre-stored upper limit of single modification range, compare the modification range of the temperature compensation base modification amount with the upper limit of single modification range, retain the modification range if it does not exceed the upper limit of single modification range, and limit the modification range to the upper limit of single modification range if it exceeds the upper limit, maintain the compensation direction, and obtain the initial compensation modification amount.
[0033] As a further aspect of the present invention, the process of adjusting the preset gain parameter and calculating the modification magnitude according to the rate of change of the measurement deviation during the mutation response stage specifically includes:
[0034] Read the pre-stored rate of change threshold, calculate the ratio of the absolute value of the rate of change of the measurement deviation to the rate of change threshold to obtain the gradient ratio, calculate the square of the gradient ratio to obtain the gradient amplification coefficient, calculate the product of the preset gain parameter and the gradient amplification coefficient to obtain the abrupt change stage gain parameter, and calculate the product of the absolute value of the weighted measurement deviation and the abrupt change stage gain parameter to obtain the modification amplitude.
[0035] As a further aspect of the present invention, the process of S5 is specifically as follows:
[0036] S501: Read the historical net modification amount and the issuance timestamp associated with the previous control cycle, select multiple current temperature values located after the issuance timestamp according to the measurement time series data, arrange the multiple current temperature values according to the timestamp, and generate a temperature response sequence.
[0037] S502: Calculate the cumulative temperature change between the current temperature value corresponding to the issued timestamp and the subsequent current temperature value based on the temperature response sequence; read the pre-calibrated total temperature change corresponding to the historical net modification amount; calculate the ratio of the cumulative temperature change to the total temperature change to obtain the compensation completion ratio; calculate the responded amplitude based on the historical net modification amount and the compensation completion ratio; calculate the difference between the modification amplitude of the historical net modification amount and the responded amplitude to obtain the modification amplitude of the uncompensated compensation amount; determine the compensation direction of the historical net modification amount as the compensation direction of the uncompensated compensation amount to obtain the uncompensated compensation amount.
[0038] S503: Compare the compensation direction of the initial compensation modification amount with the compensation direction of the incomplete compensation amount. If the compensation directions are the same, calculate the difference between the two modification magnitudes. If the compensation directions are opposite, calculate the sum of the two modification magnitudes. Determine the calculation result as the net compensation magnitude. Determine the compensation direction of the initial compensation modification amount as the net compensation direction. Obtain the net modification amount based on the net compensation magnitude and the net compensation direction.
[0039] S504: Read the temperature compensation parameters currently being executed by the temperature control unit, adjust and issue the temperature compensation parameters according to the net modification amount, read the current timestamp, and associate and save the net modification amount and the current timestamp.
[0040] As a further aspect of the present invention, the process of obtaining the net modification amount specifically includes:
[0041] The compensation direction of the initial compensation modification amount is determined as the net compensation direction;
[0042] When the initial compensation modification amount and the incomplete compensation amount have the same compensation direction, compare their modification ranges. When the modification range of the initial compensation modification amount is greater than the modification range of the incomplete compensation amount, calculate the difference between their modification ranges and determine the difference as the net compensation range. When the modification range of the initial compensation modification amount is not greater than the modification range of the incomplete compensation amount, determine the net compensation range as 0.
[0043] When the initial compensation modification amount and the incomplete compensation amount are in opposite directions, the sum of their modification magnitudes is calculated and the sum of the modification magnitudes is determined as the net compensation magnitude;
[0044] The net modification amount is obtained based on the net compensation direction and the net compensation magnitude.
[0045] An adaptive control system for a medical metrology device, the adaptive control system for the medical metrology device being used to execute the aforementioned adaptive control method for the medical metrology device, the system comprising:
[0046] Timing deviation recording module: Collects the current temperature value of the temperature measurement unit according to a preset cycle and records the corresponding timestamp, obtains the target temperature value, calculates the deviation between the current temperature value and the target temperature value to obtain the measurement deviation, and writes the current temperature value, measurement deviation and timestamp into the measurement timing data;
[0047] Temperature drift feature discrimination module: Calculates the rate of change of measurement deviation based on the measurement time series data, counts the number of cycles in which the deviation increases continuously in the same direction, compares the rate of change of measurement deviation and the number of cycles in which the deviation increases continuously in the same direction with the corresponding threshold. If both reach the corresponding threshold, it is judged as a sudden change condition; otherwise, it is judged as a gradual change condition, and the condition judgment result is obtained.
[0048] The weighted dynamic configuration module determines the current control stage based on the operating condition judgment result. When the operating condition is determined to be a sudden change, the current control stage is determined to be a sudden response stage. When the operating condition is determined to be a gradual change, the current control stage is determined to be a steady tracking stage. The control stage label is obtained. The weights of the historical measurement deviation and the current measurement deviation are determined based on the control stage label and then weighted and summed to obtain the weighted measurement deviation.
[0049] Compensation amount generation and limiting module: Calculates the basic temperature compensation modification amount based on the control stage mark, the weighted measurement deviation, and the measurement deviation change rate, and limits the modification range of the basic temperature compensation modification amount according to the preset single modification range upper limit to obtain the initial compensation modification amount;
[0050] Historical compensation integration and distribution module: reads the historical net modification amount and corresponding distribution timestamp saved in the previous control cycle, calculates the responded amplitude based on the current temperature value after the distribution timestamp in the measurement timing data, calculates the incomplete compensation amount based on the historical net modification amount and the responded amplitude, determines the net modification amount based on the compensation direction and modification amplitude of the initial compensation modification amount and the incomplete compensation amount, reads the temperature compensation parameters currently executed by the temperature control unit, adjusts and distributes the temperature compensation parameters based on the net modification amount, and saves the net modification amount and the current timestamp.
[0051] Compared with the prior art, the advantages and positive effects of the present invention are as follows:
[0052] In this invention, measurement time-series data consisting of the current temperature value, measurement deviation, and timestamp are generated according to a preset cycle. Sudden change conditions and gradual change conditions are determined by the rate of change of the measurement deviation and the number of consecutive cycles of deviation growth in the same direction. This allows the control phase and deviation weights to switch with the operating conditions, reducing the impact of single-cycle fluctuations on compensation calculations while preserving the deviation trend. The basic temperature compensation modification amount is calculated and limited based on the weighted measurement deviation and the rate of change of the measurement deviation, which constrains the magnitude of a single adjustment. The uncompleted compensation amount is calculated by combining historical net modification amounts, issuance timestamps, and already responded magnitudes. Furthermore, the direction and magnitude of the initial compensation modification amount and the uncompleted compensation amount are coordinated, reducing redundant compensation and directional cancellation, thus ensuring continuous adjustment of temperature compensation parameters. Attached Figure Description
[0053] Figure 1 This is a schematic diagram of the adaptive control method for the medical metrology equipment of the present invention.
[0054] Figure 2 This is a schematic diagram of the adaptive control workflow of the medical metrology equipment of the present invention;
[0055] Figure 3 This is a schematic diagram illustrating the principle of bias weight data generation in this invention;
[0056] Figure 4 This is a schematic diagram illustrating the principle of determining the net modification amount in this invention;
[0057] Figure 5 This is a schematic diagram of the adaptive control system structure of the medical metrology equipment of the present invention. Detailed Implementation
[0058] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.
[0059] This embodiment focuses on temperature control during the operation of medical metrology equipment. The temperature measurement unit continuously outputs the current temperature value reflecting the current thermal state of the equipment. The temperature control unit stores the target temperature value corresponding to the current control objective and executes temperature compensation parameters that can affect the temperature control state. The control process establishes a continuous time-series record based on the deviation of the current temperature from the target temperature. It distinguishes between abrupt and gradual change conditions based on the rate and continuous development of the deviation. Then, it adjusts the participation of historical and current measurement deviations in the control calculations for different conditions. Simultaneously, it incorporates the compensation effect issued in the previous control cycle but not yet fully reflected in temperature changes, offsetting or superimposing the compensation modifications generated in this control cycle. Therefore, the current control action depends not only on the current measurement state but also on the trend of the deviation and the incomplete response process of the previous control action.
[0060] Please see Figure 1 and Figure 2 S1: The current temperature value of the temperature measurement unit is collected according to a preset cycle, and the corresponding timestamp is recorded. The target temperature value is obtained, and the measurement deviation is formed based on the deviation of the current temperature value from the target temperature value. Then, the current temperature value, measurement deviation, and timestamp are written into the measurement time sequence data according to their chronological order. The preset cycle here is a data reading rhythm that is pre-configured and continuously used in the control process to ensure that adjacent measurement results have a definite chronological relationship. The timestamp is a time identifier corresponding to a temperature reading operation, used to determine the order of each measurement and the time interval spanned by subsequent changes. The measurement time sequence data is a continuous record structure arranged according to timestamps. The current temperature value and corresponding measurement deviation generated by the same reading are stored at the same sequence position. Subsequent calculations of the rate of change, statistics of continuous growth status, extraction of historical deviations, and temperature response analysis all read data from this record structure. If the current temperature value, target temperature value, or timestamp matching the current temperature value cannot be obtained in this control cycle, or if the format of the read result cannot be parsed by the current control process, then this control cycle will not write the incomplete record into the measurement timing data, nor will it form a new temperature compensation action based on the record. Instead, it will retain the most recent complete and valid data state and reread it in subsequent control cycles, thereby avoiding missing data from entering the continuous deviation judgment link.
[0061] S101: Read the current temperature value output by the temperature measurement unit according to a preset cycle, simultaneously read the timestamp corresponding to this temperature output, and read the target temperature value currently set by the temperature control unit. The current temperature value represents the actual temperature state detected in this control cycle, and the target temperature value represents the temperature state that the current temperature control process wants to maintain; both correspond to the same controlled temperature object. Compare the deviation between the current temperature value and the target temperature value, determine the direction of the deviation according to the relative height of the current temperature and the magnitude of the deviation according to the degree of difference between the two, thus obtaining the measurement deviation. The measurement deviation retains both direction and magnitude meanings, enabling subsequent processing to determine whether the deviation is converging towards the target temperature or continuing to deviate from the target temperature, and to formulate a compensation direction and modification magnitude based on the degree of deviation. If the timestamp and the current temperature value cannot form a one-to-one correspondence, this reading will not be included in the subsequent timing sequence to avoid incorrect combination of data from different sampling times.
[0062] S102: Arrange the acquired current temperature values and measurement deviations according to timestamps, and write the current temperature value and measurement deviation corresponding to the same timestamp into the same sequence position to establish measurement time series data. During the establishment process, first confirm the chronological relationship between the newly acquired timestamps and existing records, and then place the new record in the position corresponding to its time sequence, so that adjacent sequence positions can represent the temperature and deviation states of adjacent control cycles. The current temperature value in the measurement time series data is used to identify the actual response process after the temperature control action is issued, and the measurement deviation is used to calculate the deviation change rate, statistically analyze the continuous growth state in the same direction, and form a weighted measurement deviation. If the order of the read timestamps is inconsistent with the existing records, first reconfirm the record order based on the timestamps. If a unique chronological relationship cannot be confirmed, the record will not be included in the calculation of changes in adjacent cycles, thereby maintaining the correspondence between the subsequent change direction and time interval.
[0063] Please see Figure 1 and Figure 2S2: Based on the measurement time-series data, the relationship between measurement deviation changes between continuous control cycles is extracted. This involves forming the measurement deviation change rate and counting the number of cycles in which the deviation continuously increases in the same direction. These are then compared with pre-stored change rate thresholds and cycle number thresholds. The change rate threshold distinguishes whether the deviation change has shown a rapid development trend, while the cycle number threshold distinguishes whether this trend is maintained within the continuous control cycle. When both conditions simultaneously meet their respective judgment requirements, the current state is judged as a sudden change condition, indicating that the deviation not only changes rapidly but also continues to expand in the same direction. If either condition fails to meet its corresponding judgment requirement, it is judged as a slow change condition, indicating that the current deviation's rate of change or degree of continuous development does not yet exhibit sudden change characteristics. The obtained condition judgment result serves as the direct input for subsequent control stage division. The change rate threshold and cycle number threshold are written to the control parameter storage area before the control process runs and are read from the same configuration source each time a condition judgment is executed, thus maintaining a consistent judgment caliber between adjacent control cycles. If the measured time series data is insufficient to form a relationship between adjacent periods, or if the timestamps cannot provide a valid sequence, no new abrupt change determination will be generated. Instead, control will continue according to the gradual change state that can be confirmed by the current complete data. Once the continuous records are restored, the complete determination will be re-executed.
[0064] S201: Read the measurement deviations and corresponding timestamps of adjacent control cycles from the measurement time series data. First, determine the time interval between adjacent measurements based on the two timestamps. Then, determine the amount of change in the deviation within that time interval based on the direction and magnitude of the two measurement deviations. The degree of change in the deviation relative to the corresponding time interval is taken as the rate of change of the measurement deviation. This rate of change does not describe the magnitude of the deviation alone, but rather how quickly the deviation develops over time. Therefore, the same deviation change corresponds to different degrees of urgency at different time intervals. Subsequent operating condition judgments use this result to identify whether the temperature deviation changes rapidly in a short period of time. During the abrupt response phase, this result is also used to adjust the compensation modification magnitude. If the two timestamps are the same, the temporal relationship cannot be confirmed, or adjacent records are missing, then this set of records does not participate in the rate of change formation, and the examination continues for records that can form a valid adjacent relationship.
[0065] S202: Continuously read the measurement deviations from the measurement time series data for multiple control cycles, and sequentially compare the direction and magnitude of adjacent measurement deviations. The direction of change is used to determine whether the deviation continues to develop in the same direction within a continuous cycle, and the magnitude of the deviation is used to determine whether this unidirectional change manifests as an increase cycle by cycle. When adjacent cycles maintain the same direction of change and the deviation magnitude continues to increase in the next cycle, this continuous relationship is counted as a state of continuous deviation growth in the same direction. As soon as the direction of change changes or the deviation magnitude stops increasing, the current continuous relationship terminates at that position, and the count begins again from the position where continuous unidirectional growth can be formed again. This yields the number of cycles with continuous deviation growth in the same direction. This result describes whether rapid changes have continuity, avoiding the direct conclusion that a continuous abrupt change in temperature state has occurred based solely on deviation fluctuations in a single cycle.
[0066] S203: Read the pre-stored rate of change threshold and cycle number threshold, compare the rate of change of the measured deviation with the rate of change threshold, and simultaneously compare the number of cycles in which the deviation continues to increase in the same direction with the cycle number threshold. Only when the rate of change of the measured deviation reaches the judgment condition corresponding to the rate of change, and the continuous increase in the same direction reaches the judgment condition corresponding to the cycle continuity, is the operating condition determined as a sudden change condition; otherwise, the operating condition is determined as a slow change condition. Using both conditions for joint determination ensures that deviations that change rapidly in a single instance but do not continue to develop will not directly enter the sudden change response stage, and also ensures that deviations with a long duration but slow change remain smoothly tracked. The obtained operating condition determination result is passed forward with the current control cycle, and S3 uses it to determine the current control stage.
[0067] Please see Figure 1 , Figure 2 and Figure 3S3: Determine the current control stage based on the operating condition judgment results and form a control stage marker corresponding to the current control stage. Sudden change operating conditions correspond to the sudden change response stage, and gradually changing operating conditions correspond to the stable tracking stage. The control stage marker indicates which set of historical deviation selection rules and weight parameters are used in the current control process. It does not change the measurement deviation itself, but rather changes the participation ratio of historical and current measurement deviations in subsequent control calculations. Subsequently, based on the control stage marker, the corresponding number of historical deviation selection cycles, the total weight of historical deviations, and the weight of current deviations are read. The corresponding number of historical and current measurement deviations are extracted from the measurement time series data to form deviation weight data, which is then weighted to obtain the weighted measurement deviation. The stable tracking stage uses a longer historical deviation observation range and makes the overall participation of historical deviations higher than that of current deviations, so that continuous historical states can smooth the fluctuations of a single control cycle. The sudden change response stage uses a shorter historical deviation observation range and makes the participation of current deviations higher than that of the overall participation of historical deviations, so that the latest deviation changes can be more directly incorporated into temperature compensation calculations. If the available valid historical records in the measurement time series data are less than the range of historical deviations required for the current control stage, only existing historical measurement deviations with valid time relationships will be used. The total weight of the historical deviations corresponding to the current stage will be redistributed among the existing historical records to maintain the weight relationship between the historical and current deviations of the same control stage. Historical data that has not yet been formed will not be referenced.
[0068] S301: Determine the current control stage based on the operating condition judgment result obtained in S2. If the operating condition judgment result is a sudden change operating condition, the current control stage is determined as the sudden response stage, and a corresponding control stage marker is generated; if the operating condition judgment result is a gradually changing operating condition, the current control stage is determined as the stable tracking stage, and a corresponding control stage marker is generated. The control stage marker is saved in the subsequent processing link along with this control cycle. S302 uses this marker to select the historical data range and weight parameters, and S401 uses the same marker to select the gain processing method, thereby ensuring that the historical deviation participation method and the compensation modification magnitude formation method adopt corresponding operating condition states.
[0069] S302: Determine the number of historical deviation selection periods based on the control phase marker, and read the total historical deviation weight and current deviation weight corresponding to the control phase marker from the pre-stored weight parameters. The number of historical deviation selection periods limits the time range for tracing back the measurement deviations in this control period; the total historical deviation weight represents the weight share shared by all historical measurement deviations within this range; the current deviation weight represents the weight share borne solely by the measurement deviation in the current control period. The number of stable historical periods, the number of abrupt historical periods, the total weight of stable historical deviations, the weight of stable current deviations, the total weight of abrupt historical deviations, and the weight of abrupt current deviations are all configured and pre-stored before the control process runs. Among them, the number of abrupt historical periods is less than the number of stable historical periods, the total weight of stable historical deviations is greater than the weight of stable current deviations, and the total weight of abrupt historical deviations is less than the weight of abrupt current deviations. Each set of total historical deviation weights and current deviation weights is normalized before use, so that all weights under the same control phase constitute a unified weight benchmark. The subsequent weighted result thus remains the deviation state after the proportional combination of historical and current information, and will not change the magnitude relationship of deviations due to changes in the total weight.
[0070] S303: From the measurement time series data, starting from the control cycle preceding the current control cycle, read the measurement deviation cycle by cycle backward according to the timestamp. The reading range is controlled by the number of historical deviation selection cycles determined in S302, resulting in multiple historical measurement deviations. Simultaneously, read the measurement deviation of the current control cycle to obtain the current measurement deviation. During the stable tracking phase, the number of stable historical cycles is used as the number of historical deviation selection cycles, and the total weight of stable historical deviations is evenly distributed among the actually selected historical measurement deviations. The weight of the stable current deviation is then associated with the current measurement deviation. During the abrupt response phase, the number of abrupt historical cycles is used as the number of historical deviation selection cycles, and the total weight of abrupt historical deviation is evenly distributed among the actually selected historical measurement deviations. The weight of the abrupt current deviation is then associated with the current measurement deviation. Deviation weight data is generated from the historical measurement deviations, the weights corresponding to each historical measurement deviation, the current measurement deviation, and the current deviation weight. Deviation weight data is an intermediate data structure that maintains the paired association between measurement deviations and their corresponding weights. S304 can perform weighting processing item by item based on this data without needing to re-determine the current control phase.
[0071] S304: Based on the deviation weight data, each historical measurement deviation is assigned a corresponding historical deviation weighted value according to its associated weight. The current measurement deviation is assigned a current deviation weighted value according to its current deviation weight. The historical deviation weighted values are then combined with the current deviation weighted value to obtain the weighted measurement deviation. The weighted measurement deviation retains the directional meaning of the temperature deviation. Different control stages change the historical range and the proportion of historical and current information involved, giving the same temperature deviation data different time emphases before entering the compensation calculation. The results of the stable tracking stage retain more continuous historical changes, preventing short-term disturbances from directly dominating compensation modifications; the results of the abrupt response stage retain more current changes, allowing subsequent compensation amounts to follow rapidly developing deviations. The weighted measurement deviation is then passed to S4 as the basic input for determining the compensation direction and modification magnitude.
[0072] Please see Figure 1 and Figure 2 S4: Select the preset gain parameter corresponding to the current control stage based on the control stage marker, and combine it with the weighted measurement deviation to form the basic temperature compensation modification amount. In the stable tracking stage, the modification range is directly determined according to the proportional relationship between the weighted measurement deviation and the corresponding preset gain parameter; in the sudden response stage, the preset gain parameter is further adjusted using the rate of change of the measurement deviation, so that the gain effect is stronger when the deviation develops faster. The compensation direction is determined by the deviation direction of the weighted measurement deviation relative to the target temperature, ensuring that the modification direction of the temperature compensation parameter corresponds to correcting the current deviation state. After forming the basic temperature compensation modification amount, the pre-stored single modification range upper limit is read, and the modification range of the basic modification amount is limited to obtain the initial compensation modification amount. The single modification range upper limit is a pre-configured and saved single-cycle modification constraint used to limit excessive changes in the temperature compensation parameter within one control cycle; the limit only changes the modification range exceeding the constraint, without changing the already determined compensation direction. If the preset gain parameter, rate of change threshold, or single modification limit corresponding to the control phase cannot be read, no new temperature compensation modification will be generated in this control cycle, and the currently executed temperature compensation parameter will be retained. This step will be re-executed after the parameter reading status is restored.
[0073] S401: Select the corresponding preset gain parameter according to the control stage marker. In the stable tracking stage, the modification magnitude is determined based on the deviation of the weighted measurement deviation and the preset gain parameter corresponding to the stable tracking stage, so that the persistent temperature deviation is converted into the adjustment degree of the compensation parameter according to the predetermined ratio of the current stage. In the sudden response stage, in addition to reading the corresponding preset gain parameter, a pre-stored rate of change threshold is also read. The absolute magnitude of the measurement deviation rate of change is compared proportionally with the rate of change threshold to obtain the gradient ratio. The gradient ratio describes the degree of the current deviation development speed relative to the sudden judgment benchmark. The gradient ratio is then squared to obtain the gradient amplification coefficient, so that the rate of change exceeding the sudden judgment benchmark can act on the gain in a stronger manner. Subsequently, the gradient amplification coefficient is applied to the preset gain parameter to obtain the gain parameter for the sudden stage. The modification magnitude is then determined by the absolute magnitude of the weighted measurement deviation and the gain parameter for the sudden stage. The compensation direction is determined according to the direction of the weighted measurement deviation, and the determined modification magnitude and compensation direction are combined to form the basic temperature compensation modification amount. Thus, the sudden response stage, while retaining the current deviation direction information, incorporates the deviation development speed into the modification magnitude formation process.
[0074] S402: Read the pre-stored upper limit of the single modification range and compare the modification range of the basic temperature compensation modification amount with this upper limit. When the modification range of the basic modification amount does not exceed the limit, maintain the original modification range and compensation direction; when the modification range of the basic modification amount exceeds the upper limit of the single modification range, limit the modification range to the allowable level corresponding to the upper limit of the single modification range, while maintaining the original compensation direction unchanged, thus obtaining the initial compensation modification amount. This process is performed before the historical compensation integration, so S5 receives modification requests that have already completed the single-cycle amplitude constraint. Subsequent offsetting or superimposing of historical incomplete compensation effects will not change the single basic constraint logic determined in this step.
[0075] Please see Figure 1 , Figure 2 and Figure 4S5: Read the historical net modification amount and its issuance timestamp associated with the previous control cycle, and extract the current temperature value formed after the issuance timestamp from the measurement time series data. These temperature values constitute the temperature response sequence. The historical net modification amount is the net change information actually used to modify the temperature compensation parameters in the previous control cycle, including the compensation direction and modification magnitude; the issuance timestamp is used to divide the temperature measurement data before and after the issuance of the historical modification amount. Based on the temperature response sequence, determine the temperature change that has been reflected after the issuance of the historical net modification amount, and then combine it with the pre-calibrated total temperature change corresponding to the historical net modification amount to form the compensation completion ratio, thereby determining the response magnitude and the uncompleted compensation amount that has not yet been reflected in the actual temperature change. Subsequently, compare the initial compensation modification amount of this control cycle with the uncompleted compensation amount in terms of direction and magnitude. When they are in the same direction, deduct the historical compensation that is still in effect; when they are in the opposite direction, include the degree of modification required to offset the historical uncompleted effect and the reverse modification requirement of this cycle into the net compensation magnitude to obtain the net modification amount. Finally, the temperature compensation parameters currently being executed by the temperature control unit are read, adjusted according to the net modification amount, and the updated temperature compensation parameters are issued. The net modification amount and the current timestamp are then associated and saved for the next control cycle to continue judging incomplete historical compensation actions. If there is no valid historical net modification amount record in the previous control cycle, the current cycle is considered to have no historical compensation action to be offset, and the current net modification requirement is directly formed according to the initial compensation modification amount. If there is a historical net modification amount but the valid current temperature value after the timestamp is not sufficient to form a temperature response sequence, the historical compensation remains in an insufficient response state, and incomplete response data is not used to expand new modification actions. If the temperature compensation parameter reading fails, the issuance interface is abnormal, or the issuance permission verification fails, the proposed adjustment value is not considered to have been executed, and the corresponding issuance timestamp is not updated. Subsequent control cycles will still use the most recently confirmed successfully issued historical record as the basis for historical compensation.
[0076] S501: Read the historical net modification amount and issuance timestamp associated with the previous control cycle. The historical net modification amount comes from the actual net modification information saved after the temperature compensation parameters were issued in the previous control cycle. The issuance timestamp comes from the time identifier read and associated with the current issuance. Using this issuance timestamp as the starting point of the response process, select multiple current temperature values located after the issuance timestamp from the measurement timing data, and arrange them according to the chronological order of their respective timestamps to generate a temperature response sequence. This sequence only includes the temperature measurement state formed after the issuance of the historical net modification amount. Therefore, the temperature changes extracted from the sequence can establish a time correlation with the response process of this historical control action, without mixing in temperature changes that existed before the issuance.
[0077] S502: Based on the temperature response sequence, determine the gradual temperature changes between the temperature state corresponding to the issued timestamp and subsequent current temperature values, and accumulate these changes in chronological order to obtain the cumulative temperature change. Then, read the pre-calibrated total temperature change corresponding to the historical net modification. This total temperature change is calibrated before formal control operation for the complete temperature response after corresponding modifications to the temperature compensation parameters. A correspondence is established between the modification degree corresponding to the historical net modification and the total temperature change formed after the response stabilizes, and this is saved. Therefore, the current control cycle can read the corresponding response benchmark based on the historical net modification. The completion degree of the cumulative temperature change relative to the total temperature change is determined as the compensation completion ratio. Then, the modification amplitude of the historical net modification and this completion degree are used to determine the response amplitude already reflected through temperature changes. The portion of the historical net modification that has not yet been reflected as a response amplitude forms the modification amplitude of the incomplete compensation amount, and the compensation direction of the historical net modification is continued as the compensation direction of the incomplete compensation amount, thus obtaining the incomplete compensation amount. The incomplete compensation amount describes the remaining control action that was issued in the previous control cycle but has not yet been fully reflected in the temperature state. It is the basis for S503 to avoid repeatedly applying the same-direction modification in consecutive control cycles. If the calibration result corresponding to the historical net modification amount cannot be read, the degree of compensation completion is not inferred based on the missing benchmark, but the historical compensation is kept in a pending confirmation state until a valid response benchmark is obtained before the incomplete compensation amount is formed.
[0078] S503: First, determine the compensation direction of the initial compensation modification amount as the net compensation direction for this control cycle, and then compare the compensation directions of the initial compensation modification amount and the incomplete compensation amount. When the two compensation directions are the same, it indicates that the action not yet completed in the previous control cycle is continuing in the direction required by this control cycle. Therefore, first compare the modification magnitudes of the two. When the modification magnitude of the initial compensation modification amount is greater than the modification magnitude of the incomplete compensation amount, only the difference exceeding the incomplete compensation action is determined as the net compensation magnitude, so that the historical actions that have been issued and are still responding are not counted repeatedly. When the modification magnitude of the initial compensation modification amount is not greater than the modification magnitude of the incomplete compensation amount, the existing incomplete compensation action has already covered the same-direction modification requirement of this control cycle. Therefore, the net compensation magnitude is determined as a state where no additional modification is generated. When the two compensation directions are opposite, it indicates that this control cycle requires a change in the development direction of the previous control action. At this time, it is necessary to consider both the offsetting of the incomplete historical action and the modification degree corresponding to the current reverse compensation. Therefore, the modification magnitudes of both are included in the net compensation magnitude, and the direction of the initial compensation modification amount is maintained as the net compensation direction. Finally, the net compensation direction and net compensation magnitude are combined to obtain the net modification amount, and this result is given to S504 for actual adjustment of temperature compensation parameters.
[0079] S504: Read the temperature compensation parameters currently being executed by the temperature control unit, adjust the current temperature compensation parameters according to the net modification amount obtained in S503, and send the adjusted temperature compensation parameters to the current temperature control process. When the net modification amount is in a state where no additional modification is required, the currently executed temperature compensation parameters remain unchanged; when the net modification amount has a valid modification range, change the current temperature compensation parameters according to the net compensation direction, and read the current timestamp after confirming successful sending. Subsequently, the net modification amount corresponding to this actual sending is associated with and saved with the current timestamp, making this timestamp the starting point for dividing the temperature response sequence in the next control cycle, and this net modification amount becomes the source for judging historical incomplete compensation actions in the next control cycle. Through this continuous saving relationship, the compensation actions and actual temperature responses of adjacent control cycles remain closed, and will not repeatedly form the same-direction modification based solely on new measurement deviations before historical control actions have fully responded.
[0080] Please see Figure 5 An adaptive control system for medical metrology equipment includes a timing deviation recording module, a temperature drift feature discrimination module, a weight dynamic configuration module, a compensation amount generation and limiting module, and a historical compensation integration and distribution module. The timing deviation recording module (S1) generates measurement timing data; the temperature drift feature discrimination module (S2) generates operating condition judgment results; the weight dynamic configuration module (S3) generates control stage markers, deviation weight data, and weighted measurement deviations; the compensation amount generation and limiting module (S4) generates basic temperature compensation modification amounts and initial compensation modification amounts; and the historical compensation integration and distribution module (S5) generates incomplete compensation amounts and net modification amounts, and completes the adjustment and distribution of temperature compensation parameters, as well as the associated storage of net modification amounts and timestamps.
[0081] The above are merely preferred embodiments of the present invention and are not intended to limit the present invention in any other way. Any person skilled in the art may make changes or modifications to the above-disclosed technical content to create equivalent embodiments that can be applied to other fields. However, any simple modifications, equivalent changes, and modifications made to the above embodiments based on the technical essence of the present invention without departing from the scope of the present invention shall still fall within the protection scope of the present invention.
Claims
1. An adaptive control method for medical metrology equipment, characterized in that, Includes the following steps: S1: Collect the current temperature value of the temperature measurement unit according to the preset cycle and record the corresponding timestamp, obtain the target temperature value, calculate the deviation between the current temperature value and the target temperature value to obtain the measurement deviation, and write the current temperature value, measurement deviation and timestamp into the measurement timing data; S2: Calculate the rate of change of measurement deviation based on the measurement time series data, count the number of cycles in which the deviation increases continuously in the same direction, compare the rate of change of measurement deviation and the number of cycles in which the deviation increases continuously in the same direction with the corresponding threshold. If both reach the corresponding threshold, it is determined to be a sudden change condition; otherwise, it is determined to be a gradual change condition, and the condition determination result is obtained. S3: Determine the current control stage based on the condition determination result. If the condition is determined to be a sudden change, the current control stage is determined to be a sudden response stage. If the condition is determined to be a gradual change, the current control stage is determined to be a steady tracking stage. Obtain the control stage mark. Determine the weights of the historical measurement deviation and the current measurement deviation based on the control stage mark and perform a weighted summation to obtain the weighted measurement deviation. S301: Determine the current control stage based on the operating condition determination result, determine the current control stage corresponding to the sudden change operating condition as the sudden response stage, and determine the current control stage corresponding to the gradual change operating condition as the steady tracking stage, and obtain the control stage mark. S302: Determine the number of historical deviation selection cycles according to the control stage marker, and read the total weight of historical deviation and the current deviation weight corresponding to the control stage marker from the pre-stored weight parameters; S4: Calculate the basic temperature compensation modification amount based on the control stage marker, the weighted measurement deviation, and the measurement deviation change rate, and limit the modification range of the basic temperature compensation modification amount according to the preset single modification range upper limit to obtain the initial compensation modification amount; S401: Select the corresponding preset gain parameter according to the control stage mark, calculate the modification range according to the weighted measurement deviation and the preset gain parameter in the stable tracking stage, adjust the preset gain parameter according to the measurement deviation change rate and calculate the modification range in the sudden response stage, determine the compensation direction according to the weighted measurement deviation, and obtain the temperature compensation basic modification amount according to the modification range and compensation direction. S5: Read the historical net modification amount and corresponding issuance timestamp saved in the previous control cycle, calculate the responded amplitude based on the current temperature value after the issuance timestamp in the measurement timing data, calculate the incomplete compensation amount based on the historical net modification amount and the responded amplitude, determine the net modification amount based on the compensation direction and modification amplitude of the initial compensation modification amount and the incomplete compensation amount, read the temperature compensation parameters currently executed by the temperature control unit, adjust and issue the temperature compensation parameters based on the net modification amount, and save the net modification amount and the current timestamp.
2. The adaptive control method for medical metrology equipment according to claim 1, characterized in that, The process of S1 is as follows: S101: Read the current temperature value output by the temperature measurement unit according to the preset cycle and read the corresponding timestamp, read the target temperature value set by the temperature control unit, calculate the temperature deviation between the current temperature value and the target temperature value, and obtain the measurement deviation; S102: Arrange the current temperature value and the measurement deviation according to the timestamp, and write the current temperature value and measurement deviation corresponding to the same timestamp into the same sequence position to establish measurement time series data.
3. The adaptive control method for medical metrology equipment according to claim 1, characterized in that, The process of S2 is as follows: S201: Based on the measurement timing data, read the measurement deviation and timestamp of adjacent control cycles, calculate the ratio of the change in adjacent measurement deviation to the corresponding time interval, and obtain the rate of change of measurement deviation. S202: Based on the measurement timing data, read the measurement deviation of the continuous control cycle, compare the change direction and deviation amplitude of adjacent measurement deviations, count the number of cycles with the same change direction and continuously increasing deviation amplitude, and obtain the number of cycles with continuously increasing deviation in the same direction. S203: Read the pre-stored change rate threshold and cycle number threshold, compare the change rate of the measurement deviation with the change rate threshold, compare the number of cycles in which the deviation increases continuously in the same direction with the cycle number threshold, and determine the sudden change condition when both reach the corresponding threshold; otherwise, determine the gradual change condition and obtain the condition determination result.
4. The adaptive control method for medical metrology equipment according to claim 1, characterized in that, The process of S3 is as follows: S303: From the measurement timing data, starting from the control cycle before the current control cycle, read the measurement deviation cycle by cycle according to the timestamp. The number of cycles read is the same as the number of cycles selected for the historical deviation, to obtain multiple historical measurement deviations. Then, read the measurement deviation of the current control cycle to obtain the current measurement deviation. Distribute the total weight of the historical deviation to the multiple historical measurement deviations. Associate the weight of the current deviation with the current measurement deviation to generate deviation weight data. S304: Based on the deviation weight data, calculate multiple historical deviation weight values according to the weight corresponding to each historical measurement deviation, calculate the current deviation weight value according to the current deviation weight, and calculate the sum of multiple historical deviation weight values and the current deviation weight value to obtain the weighted measurement deviation.
5. The adaptive control method for medical metrology equipment according to claim 4, characterized in that, The process for determining the number of historical deviation selection periods, the total weight of historical deviations, and the weight of the current deviation is as follows: Read the pre-stored number of stable historical periods, number of abrupt historical periods, total weight of stable historical deviation, weight of current stable deviation, total weight of abrupt historical deviation, and weight of current abrupt deviation; Among them, the number of historical cycles of sudden changes is less than the number of historical cycles of stability, the total weight of the historical deviation of stability is greater than the weight of the current deviation of stability, and the total weight of the historical deviation of sudden changes is less than the weight of the current deviation of sudden changes. Normalize the total weight of historical deviation and the weight of current deviation for each group so that the sum of the weights for each group is 1. When the control phase is marked as the stable tracking phase, the number of stable historical cycles is determined as the number of historical deviation selection cycles, the total weight of the stable historical deviation is divided equally to determine the weight corresponding to each historical measurement deviation, and the weight of the stable current deviation is determined as the current deviation weight. When the control phase is marked as the mutation response phase, the number of mutation history cycles is determined as the number of historical deviation selection cycles, the total weight of the mutation history deviation is evenly divided to determine the weight corresponding to each historical measurement deviation, and the current deviation weight of the mutation is determined as the current deviation weight. Based on the historical measurement deviations corresponding to the current control phase, the weights corresponding to each historical measurement deviation, the current measurement deviation, and the current deviation weight, deviation weight data is generated.
6. The adaptive control method for medical metrology equipment according to claim 1, characterized in that, The process of S4 is as follows: S402: Read the pre-stored upper limit of single modification range, compare the modification range of the temperature compensation base modification amount with the upper limit of single modification range, retain the modification range if it does not exceed the upper limit of single modification range, and limit the modification range to the upper limit of single modification range if it exceeds the upper limit, maintain the compensation direction, and obtain the initial compensation modification amount.
7. The adaptive control method for medical metrology equipment according to claim 6, characterized in that, The process of adjusting the preset gain parameter and calculating the modification magnitude based on the rate of change of the measurement deviation during the mutation response phase is as follows: Read the pre-stored rate of change threshold, calculate the ratio of the absolute value of the rate of change of the measurement deviation to the rate of change threshold to obtain the gradient ratio, calculate the square of the gradient ratio to obtain the gradient amplification coefficient, calculate the product of the preset gain parameter and the gradient amplification coefficient to obtain the abrupt change stage gain parameter, and calculate the product of the absolute value of the weighted measurement deviation and the abrupt change stage gain parameter to obtain the modification amplitude.
8. The adaptive control method for medical metrology equipment according to claim 1, characterized in that, The process of S5 is as follows: S501: Read the historical net modification amount and issuance timestamp associated with the previous control cycle, and then, based on the measurement timing... The data selects multiple current temperature values located after the issued timestamp, arranges the multiple current temperature values according to the timestamp, and generates a temperature response sequence. S502: Calculate the cumulative temperature change between the current temperature value corresponding to the issued timestamp and the subsequent current temperature value based on the temperature response sequence; read the pre-calibrated total temperature change corresponding to the historical net modification amount; calculate the ratio of the cumulative temperature change to the total temperature change to obtain the compensation completion ratio; calculate the responded amplitude based on the historical net modification amount and the compensation completion ratio; calculate the difference between the modification amplitude of the historical net modification amount and the responded amplitude to obtain the modification amplitude of the uncompensated compensation amount; determine the compensation direction of the historical net modification amount as the compensation direction of the uncompensated compensation amount to obtain the uncompensated compensation amount. S503: Compare the compensation direction of the initial compensation modification amount with the compensation direction of the incomplete compensation amount. If the compensation directions are the same, calculate the difference between the two modification magnitudes. If the compensation directions are opposite, calculate the sum of the two modification magnitudes. Determine the calculation result as the net compensation magnitude. Determine the compensation direction of the initial compensation modification amount as the net compensation direction. Obtain the net modification amount based on the net compensation magnitude and the net compensation direction. S504: Read the temperature compensation parameters currently being executed by the temperature control unit, adjust and issue the temperature compensation parameters according to the net modification amount, read the current timestamp, and associate and save the net modification amount and the current timestamp.
9. The adaptive control method for medical metrology equipment according to claim 8, characterized in that, The process of obtaining the net modification amount is as follows: The compensation direction of the initial compensation modification amount is determined as the net compensation direction; When the initial compensation modification amount and the incomplete compensation amount have the same compensation direction, compare their modification ranges. When the modification range of the initial compensation modification amount is greater than the modification range of the incomplete compensation amount, calculate the difference between their modification ranges and determine the difference as the net compensation range. When the modification range of the initial compensation modification amount is not greater than the modification range of the incomplete compensation amount, determine the net compensation range as 0. When the initial compensation modification amount and the incomplete compensation amount are in opposite directions, the sum of their modification magnitudes is calculated and the sum of the modification magnitudes is determined as the net compensation magnitude; The net modification amount is obtained based on the net compensation direction and the net compensation magnitude.
10. An adaptive control system for medical metrology equipment, characterized in that, The system is used to implement the adaptive control method for the medical metrology equipment according to any one of claims 1-9, the system comprising: Timing deviation recording module: Collects the current temperature value of the temperature measurement unit according to a preset cycle and records the corresponding timestamp, obtains the target temperature value, calculates the deviation between the current temperature value and the target temperature value to obtain the measurement deviation, and writes the current temperature value, measurement deviation and timestamp into the measurement timing data; Temperature drift feature discrimination module: Calculates the rate of change of measurement deviation based on the measurement time series data, counts the number of cycles in which the deviation increases continuously in the same direction, compares the rate of change of measurement deviation and the number of cycles in which the deviation increases continuously in the same direction with the corresponding threshold. If both reach the corresponding threshold, it is judged as a sudden change condition; otherwise, it is judged as a gradual change condition, and the condition judgment result is obtained. The weighted dynamic configuration module determines the current control stage based on the operating condition judgment result. When the operating condition is determined to be a sudden change, the current control stage is determined to be a sudden response stage. When the operating condition is determined to be a gradual change, the current control stage is determined to be a steady tracking stage. The control stage label is obtained. The weights of the historical measurement deviation and the current measurement deviation are determined based on the control stage label and then weighted and summed to obtain the weighted measurement deviation. Compensation amount generation and limiting module: Calculates the basic temperature compensation modification amount based on the control stage mark, the weighted measurement deviation, and the measurement deviation change rate, and limits the modification range of the basic temperature compensation modification amount according to the preset single modification range upper limit to obtain the initial compensation modification amount; Historical compensation integration and distribution module: reads the historical net modification amount and corresponding distribution timestamp saved in the previous control cycle, calculates the responded amplitude based on the current temperature value after the distribution timestamp in the measurement timing data, calculates the incomplete compensation amount based on the historical net modification amount and the responded amplitude, determines the net modification amount based on the compensation direction and modification amplitude of the initial compensation modification amount and the incomplete compensation amount, reads the temperature compensation parameters currently executed by the temperature control unit, adjusts and distributes the temperature compensation parameters based on the net modification amount, and saves the net modification amount and the current timestamp.
Citation Information
Patent Citations
Thickness uniformity intelligent control method and system for cable sheath extrusion molding
CN122100468A
Atmosphere mesh belt furnace production management method and system
CN122258649A
