A method, device and system for high-precision focusing of a space camera
By acquiring temperature deviation values and change rates, combining them with changes in image sharpness in adjacent frames, updating the strategy response table, and obtaining the environmental correction step size, the problem of insufficient focusing accuracy of aerospace cameras was solved, and high-precision focusing control was achieved in complex environments and under long-term degradation conditions.
Patent Information
- Application Number
- CN202611626943.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-21
- Publication Date
- 2026-11-17
AI Technical Summary
Existing focusing control methods for space cameras lack environmental disturbance classification response and closed-loop verification in complex environments, resulting in insufficient focusing accuracy. Furthermore, they fail to effectively integrate mission phase characteristics with the long-term degradation state of devices, making it difficult to achieve accurate and robust focusing control.
By acquiring temperature deviation values and change rates, combining them with changes in image sharpness in adjacent frames, updating the strategy response table, obtaining the environmental correction step size, considering the performance degradation of the focusing mechanism, fusing the mission phase permission rules, obtaining the final focusing step size, and executing the focusing command.
It improves the focusing accuracy of space cameras in complex temperature scenarios and long-term degradation conditions, ensuring that focusing actions meet the constraints of environmental compensation, mission phase status, and long-term operation of the focusing mechanism.
Smart Images

Figure CN123123721A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of camera focusing control technology, specifically to a high-precision focusing method, device, and system for aerospace cameras. Background Technology
[0002] During the operation of space cameras in orbit, environmental changes such as solar radiation, entering and exiting Earth's shadow, and satellite attitude adjustments, as well as material fatigue and optical component degradation caused by long-term operation, can cause the focal plane position to shift slowly or suddenly, directly affecting image quality. Current technologies often employ fixed programs preset on the ground or closed-loop feedback based on a single image sharpness evaluation. These technologies fail to differentiate between different environmental scenarios, such as slow temperature rises and rapid temperature drops, based on the distribution characteristics of temperature deviation values and change rates, and lack closed-loop verification and strategy correction mechanisms for compensation effects. This results in insufficient focusing accuracy in complex scenarios such as rapid temperature changes.
[0003] Meanwhile, existing methods do not incorporate mission-phase characteristics and long-term device degradation status into the focusing control logic. The switching of focusing strategies usually relies on manual intervention or simple time-driven logic, making it difficult to achieve accurate and robust focusing control in complex and ever-changing on-orbit environments. When dealing with focusing requirements, traditional methods fail to systematically integrate environmental disturbance classification responses, mission-phase characteristics, and device health status, lacking an adaptive evolution mechanism that spans the entire lifecycle. Summary of the Invention
[0004] To address the technical problem of insufficient focusing accuracy due to the lack of environmental disturbance classification response and closed-loop verification, the present invention aims to provide a high-precision focusing method, device, and system for aerospace cameras. The specific technical solution adopted is as follows: A high-precision focusing method for a space camera, the method comprising: Based on the changes and distribution of temperature data from the space camera, the temperature deviation value and temperature change rate are obtained; based on the distribution characteristics of the temperature deviation value and the temperature change rate, the environmental compensation requirement factor is obtained; the environmental compensation requirement factor and the preset standard focusing step size are fused to obtain the original compensation step size. Based on the changes in sharpness of adjacent frames, obtain the compensation effect index; retrieve the original compensation step size of historical adjacent frames, and update the strategy response table and obtain the environmental correction step size based on the numerical range of the compensation effect index, combined with the temperature deviation value, the temperature change rate, and the original compensation step size; read the current task stage flag and the corresponding preset step size permission rule, and obtain the stage permission step size by combining it with the environmental correction step size; read the cumulative focusing stroke and cumulative running time of the focusing mechanism, and obtain the performance degradation adjustment factor by combining it with the preset design life stroke and design life time. Based on the performance degradation adjustment factor, the preset initial focusing travel limit and the stage allowable step size are corrected to obtain the final focusing step size and execute the focusing command.
[0005] Furthermore, the method for obtaining the environmental compensation demand factor includes: Based on the ratio of the absolute value of the temperature deviation to a preset temperature deviation threshold, a deviation compensation component is obtained; based on the ratio of the sum of the absolute value of the temperature change rate and the preset temperature change rate threshold to the preset temperature change rate threshold, a rate compensation component is obtained; the deviation compensation component and the rate compensation component are fused to obtain the environmental compensation demand factor.
[0006] Furthermore, the method for obtaining the compensation effect index includes: The percentage of pixels whose gradient magnitude exceeds a preset gradient threshold in each frame is counted and used as a sharpness evaluation value; the compensation effect index is obtained based on the difference between the sharpness evaluation value of the current frame and the sharpness evaluation values of historical adjacent frames.
[0007] Furthermore, the method for updating the policy response table includes: The temperature deviation value and the temperature change rate are combined to form a scene identifier for each frame of the image; When the compensation effect index is less than the lower limit of the preset compensation stability range, the data value of the scene identifier of the historical adjacent frame found in the strategy response table is corrected to 1 / 2 of the existing value. If the search is empty, the original compensation step size of the historical adjacent frame is calculated according to the preset attenuation ratio and written as a new record. When the compensation effect index is greater than the upper limit of the preset compensation stability interval, the original compensation step size of the historical adjacent frames is written as a new record into the strategy response table based on the scene identifier.
[0008] Furthermore, the method for obtaining the environmental correction step size includes: Data is searched in the policy response table based on the scene identifier of the current frame image. If data exists, the searched data is used as the environment correction step size; if the search is empty, the original compensation step size of the current frame is used as the environment correction step size.
[0009] Furthermore, the method for obtaining the stage permission step size includes: If the current task stage is marked as routine imaging, the environmental correction step size is truncated to the preset maximum allowable step size, which is used as the stage allowable step size; If the current task stage is marked as long-term degradation, the minimum value between the preset maximum allowable step size of the preset safety ratio and the environmental correction step size is taken as the stage allowable step size.
[0010] Furthermore, the method for obtaining the performance degradation adjustment factor includes: The first effective remaining stroke is obtained based on the design life stroke and the cumulative focusing stroke, and the stroke degradation component is obtained according to the ratio of the cumulative focusing stroke to the first effective remaining stroke. A second effective remaining time is obtained based on the design life time and the cumulative operating time, and a time degradation component is obtained according to the ratio of the cumulative operating time to the second effective remaining time. The performance degradation adjustment factor is obtained by fusing the travel degradation component and the time degradation component.
[0011] Furthermore, the focusing movement direction is determined based on the positive or negative sign of the temperature deviation value; control commands are generated by combining the final focusing step size and the focusing movement direction, and the focusing mechanism is driven.
[0012] The present invention also proposes a high-precision focusing device for a space camera, the device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement any of the steps of the high-precision focusing method for a space camera described above.
[0013] This invention also proposes a high-precision focusing system for a space camera, the system comprising: The initial analysis module is used to obtain temperature deviation values and temperature change rates based on the changes and distribution of temperature data from the space camera; to obtain environmental compensation requirement factors based on the distribution characteristics of the temperature deviation values and temperature change rates; and to obtain the original compensation step size by fusing the environmental compensation requirement factors and the preset standard focusing step size. The compensation analysis module is used to obtain compensation effect indicators based on the sharpness changes of adjacent frame images; retrieve the original compensation step size of historical adjacent frames, update the strategy response table and obtain the environmental correction step size based on the numerical range of the compensation effect indicators, combined with the temperature deviation value, the temperature change rate and the original compensation step size; read the current task stage flag and the corresponding preset step size permission rule, and obtain the stage permission step size in combination with the environmental correction step size; read the cumulative focusing stroke and cumulative running time of the focusing mechanism, and obtain the performance degradation adjustment factor in combination with the preset design life stroke and design life time. The execution module is used to adjust the preset initial focusing stroke limit and the stage allowable step size based on the performance degradation adjustment factor, obtain the final focusing step size, and execute the focusing command.
[0014] The present invention has the following beneficial effects: This invention first integrates environmental compensation requirement factors and preset standard focusing step sizes to obtain the original compensation step size, quantifying the focusing compensation requirements corresponding to the current temperature environment. Then, based on the sharpness changes of adjacent frames, it obtains compensation effect indicators, providing feedback for adjusting the environmental compensation strategy. Next, it updates the strategy response table and obtains the environmental correction step size, feeding back historical focusing effects to the corresponding environmental response strategy, improving the matching degree between environmental compensation and actual imaging response. Furthermore, it reads the current mission stage flag and the corresponding preset step size permission rules to obtain the stage-permitted step size, providing a stage-permitted focusing basis for considering the long-term operating status of the focusing mechanism. Finally, it obtains a performance degradation adjustment factor. Based on the performance degradation adjustment factor, it corrects the preset initial focusing travel limit and the stage-permitted step size, obtaining the final focusing step size and executing the focusing command. This ensures that the final focusing action is simultaneously constrained by the environmental compensation results, the mission stage status, and the long-term operating status of the focusing mechanism, improving the focusing accuracy of the space camera in complex temperature scenarios and under long-term degradation conditions. Attached Figure Description
[0015] Figure 1 A flowchart illustrating a high-precision focusing method for a space camera according to an embodiment of the present invention; Figure 2 This is a flowchart of an update strategy response table provided in one embodiment of the present invention. Detailed Implementation
[0016] The following description, in conjunction with the accompanying drawings, details a specific solution for a high-precision focusing method, device, and system for a space camera provided by the present invention.
[0017] Please see Figure 1 The diagram illustrates a flowchart of a high-precision focusing method for a space camera according to an embodiment of the present invention, specifically including: Step S1: Based on the changes and distribution of temperature data from the space camera, obtain the temperature deviation value and temperature change rate; based on the distribution characteristics of the temperature deviation value and temperature change rate, obtain the environmental compensation requirement factor; and fuse the environmental compensation requirement factor and the preset standard focusing step size to obtain the original compensation step size.
[0018] In one embodiment of the present invention, mission phase information, temperature data, and historical operating data of the focusing mechanism corresponding to the current operating status of the space camera are first acquired, providing a data foundation for subsequent environmental compensation requirement analysis, compensation effect feedback, mission phase permission, and performance degradation analysis.
[0019] Specifically, the current mission phase markers are obtained from the satellite's mission management system. Mission phases include ground assembly and adjustment, launch lock-in, on-orbit wake-up, initial calibration, routine imaging, and long-term degradation. The mission phase markers are set by the mission management computer based on the satellite's flight sequence and the on-orbit status of the space cameras.
[0020] Temperature data from multiple measurement points are acquired by the space camera's thermal control system. These points are located on the back of the primary mirror, the secondary mirror support structure, and the focal plane frame. Temperature data is collected by platinum resistance temperature sensors and transmitted to the focusing control module via an internal bus from the thermal control slave device. Temperature data is collected at each measurement point at a preset sampling interval of 1 second, with the unit being degrees Celsius. The temperature data from all measurement points at the same sampling time are averaged to obtain the temperature data for the corresponding frame image.
[0021] The image acquisition cycle is controlled by the imaging task planning (e.g., acquiring one frame every 2-5 seconds), and the focusing cycle is synchronized with the image acquisition cycle. Each time an image is acquired, the temperature data at the same moment (or the latest) is retrieved, analyzed, and compared with the historical adjacent frames (i.e., old images recorded before the last focusing), the effect of the previous focusing is analyzed and the strategy response table is updated, and then the analysis continues to obtain the final focusing step size.
[0022] The cumulative focusing stroke and cumulative running time are obtained from the focusing mechanism control module. The cumulative focusing stroke is the sum of the absolute values of the actual focusing movements since the first on-orbit focusing, fed back by the displacement sensor of the focusing mechanism and stored in non-volatile memory; the cumulative running time is the cumulative running time since the on-orbit wake-up time, provided by the on-board clock.
[0023] During the operation of the space camera in orbit, temperature changes can cause thermal deformation of optical components and related support structures, which in turn causes the focal plane position to shift relative to the reference state. Therefore, the temperature deviation value and temperature change rate are first obtained based on the temperature data changes and distribution of the space camera. The temperature deviation value mainly reflects the degree of deviation of the current temperature state from the reference state, while the temperature change rate reflects the trend of temperature change. This is used to obtain the environmental compensation requirement factor. Then, the environmental compensation requirement factor and the preset standard focusing step size are integrated to obtain the original compensation step size. The focusing compensation requirement corresponding to the current temperature environment is quantified so that different temperature disturbance states can correspond to different degrees of environmental compensation requirements.
[0024] Preferably, in one embodiment of the present invention, the space camera has different control methods in different mission phases. When the mission phase is marked as ground assembly and adjustment, launch lock, on-orbit wake-up and initial calibration, the calculation and analysis from the original compensation step size to the final focusing step size is not performed, and a predetermined control method is adopted (described later). The temperature value recorded at the end of the initial calibration phase is the reference temperature value and stored in non-volatile memory. The temperature data value of each frame is subtracted from the reference temperature value, and the difference is used as the temperature deviation value; the temperature change rate is obtained based on the temperature data of each frame and the adjacent previous temperature data.
[0025] The larger the absolute value of the temperature deviation, the greater the temperature deviation of the current focal surface from the calibration reference state, and the greater the compensation requirement; the larger the absolute value of the temperature change rate, the greater the temperature field is in a rapid dynamic change process, and the greater the compensation requirement. Therefore, both are analyzed together. In order to eliminate the difference between the temperature deviation value and the temperature change rate, two physical quantities with different dimensions, a preset temperature deviation threshold and a preset temperature change rate threshold are introduced. Therefore, the deviation compensation component is obtained based on the ratio of the absolute value of the temperature deviation value to the preset temperature deviation threshold; the rate compensation component is obtained based on the ratio of the sum of the absolute value of the temperature change rate and the preset temperature change rate threshold to the preset temperature change rate threshold; and the environmental compensation demand factor is obtained by fusing the deviation compensation component and the rate compensation component.
[0026] As an example, the sum of the absolute value of the temperature deviation of the current image and 0.01 degrees Celsius is used as the numerator, the preset temperature deviation threshold is used as the denominator, and the ratio of the fractions is used as the deviation compensation component; where 0.01 degrees Celsius is used to avoid the overall environmental compensation requirement factor being forced to zero due to the deviation term being zero. The sum of the absolute value of the temperature change rate and the preset temperature change rate threshold is divided by the preset temperature change rate threshold, and the quotient is used as the rate compensation component. When the temperature change rate is zero, this term equals 1 and does not amplify or attenuate the deviation compensation component. When the temperature change rate increases, this term increases accordingly.
[0027] Furthermore, the product of the environmental compensation requirement factor and the preset standard focusing step size is used as the original compensation step size for the current image. At the same time, to ensure the operational safety of the focusing mechanism, the preset maximum allowable step size is retrieved. When the original compensation step size exceeds the preset maximum allowable step size, it is forcibly limited to the preset maximum allowable step size.
[0028] It should be noted that the preset temperature deviation threshold is determined based on the thermal sensitivity of the camera's optical system. Specifically, in the vacuum thermal test, the camera's optical system is thermally controlled using a step temperature difference. The wavefront difference at each temperature point is measured using an interferometer. The temperature change corresponding to the change in wavefront difference exceeding one-tenth of the camera's operating wavelength is defined as the temperature deviation threshold; for example, 0.5 degrees Celsius. The preset temperature change rate threshold is determined based on the camera's thermal shock test. In the thermal vacuum test, temperature shocks are applied to the camera at different temperature change rates. By monitoring the real-time output of the focal plane position sensor, when the temperature change rate exceeds a certain value, the focal plane position offset rate reaches an inflection point. This temperature change rate value is defined as the temperature change rate threshold; for example, 2 degrees Celsius / second. Both are obtained and stored through ground experiments for use during on-orbit operation.
[0029] During the ground assembly and adjustment phase, the camera's depth of focus range is determined through testing. To ensure a smooth focusing process without exceeding the optimal focal plane, a preset standard focusing step size is set to be less than half the depth of focus and rounded down to an integer multiple of the stepper motor's minimum motion equivalent. This step size is stored as a static constant in non-volatile memory (e.g., 0.01 mm) and used as a reference value for environmental factor amplification during on-orbit calculations. The preset maximum allowable step size is determined by the safe travel range of the focusing mechanism and is obtained and stored from the mechanism design file.
[0030] In other embodiments of the present invention, the implementer may conduct experiments and adjustments based on specific equipment.
[0031] Step S2: Obtain the compensation effect index based on the sharpness change of adjacent frame images; retrieve the original compensation step size of historical adjacent frames, update the strategy response table and obtain the environmental correction step size based on the numerical range of the compensation effect index, combined with the temperature deviation value, temperature change rate and the original compensation step size; read the current task stage flag and the corresponding preset step size permission rule, and obtain the stage permission step size by combining the environmental correction step size; read the cumulative focusing stroke and cumulative running time of the focusing mechanism, and obtain the performance degradation adjustment factor by combining the preset design life stroke and design life time.
[0032] Since there is a real response difference between temperature and focal plane offset, it is difficult to ensure that the compensation amount is matched with the actual focal plane change each time based solely on the environmental conditions. Therefore, the compensation effect index is obtained based on the sharpness change of adjacent frames. The change in imaging results reflects the actual impact of the previous focusing action on the image sharpness, thereby providing feedback for the adjustment of the environmental compensation strategy. Considering that the focal plane response of space cameras may differ under different temperature environments, and the compensation amount corresponding to the same temperature state may also change due to the actual operating conditions, the original compensation step size of adjacent historical frames is retrieved. Based on the numerical range of the compensation effect index, combined with the temperature deviation value, temperature change rate and the original compensation step size, the strategy response table is updated and the environmental correction step size is obtained. The historical focusing effect is fed back to the corresponding environmental response strategy, so that the compensation information verified by the actual imaging effect can participate in the focusing decision under subsequent similar environmental conditions, thereby improving the matching degree between environmental compensation and actual imaging response.
[0033] Preferably, in one embodiment of the present invention, considering that the larger the gradient magnitude of a pixel in an image, the more drastic the grayscale change at that pixel point, the richer the edge details, and the higher the image clarity, the percentage of pixels in each frame whose gradient magnitude exceeds a preset gradient threshold is counted as a clarity evaluation value. As an example, considering that the central area of the image is the main imaging target area of the space camera's field of view, and the edge areas may be affected by aberrations, stray light, etc. and are not representative, and that extracting only the central area can significantly reduce the amount of computation, only the central area of the image is extracted for analysis. The Sobel operator is used to calculate the horizontal and vertical gradients respectively, and then the percentage of pixels whose gradient magnitude exceeds the preset gradient threshold is counted as the corresponding image sharpness evaluation value.
[0034] The central region is the area in which the extracted image expands outwards from the center, with its width and height each accounting for 50% of the width and height of the original image.
[0035] Then, based on the difference between the sharpness evaluation value of the current frame image and the sharpness evaluation value of historical adjacent frames, the compensation effect index is obtained.
[0036] As an example, the difference between the sharpness evaluation value of the current frame image and the sharpness evaluation value of the historical adjacent frames is used as the numerator, and the sum of the sharpness evaluation values of the historical adjacent frames and the preset positive parameter (0.01) divided by zero is used as the denominator. The ratio of the fractions is used as the compensation effect index, representing the effectiveness of the previous focusing. When the compensation effect index is positive, it means that the image sharpness after focusing is improved compared to before focusing, and the larger the value, the more significant the improvement and the more ideal the focusing effect. When the compensation effect index is negative, it means that the image sharpness after focusing decreases instead, and the focusing effect is not good.
[0037] Further, please refer to Figure 2 It illustrates a flowchart of an update strategy response table provided by an embodiment of the present invention, specifically including: Step S201: Combine the temperature deviation value and the temperature change rate into a scene identifier for each frame of the image.
[0038] Since the temperature deviation value and the rate of temperature change directly reflect the degree of deviation of the temperature state from the reference temperature state and the degree of change of the temperature state, the two are combined into a scene identifier for the corresponding image to characterize the temperature environment scene corresponding to the current image, and to provide an index basis for subsequent policy response table lookup and update based on the temperature environment scene. Meanwhile, considering that temperature deviation and temperature change rate are continuously changing physical quantities, if the original precision of temperature data is used directly to construct scene identifiers, a large number of temperature environment scenes will be formed that are difficult to match repeatedly. Therefore, the precision of temperature deviation and temperature change rate data is processed to form a limited number of environment scenes that can be matched repeatedly, and to facilitate the subsequent query and update of the strategy response table.
[0039] As an example, the temperature deviation value and the temperature change rate are rounded according to the preset quantization step size, accurate to one decimal place (one decimal place is retained).
[0040] Step S202: When the compensation effect index is less than the lower limit of the preset compensation stability range, the data value of the scene identifier of the historical adjacent frame found in the strategy response table is corrected to 1 / 2 of the existing value. If the search is empty, the original compensation step size of the historical adjacent frame is calculated according to the preset attenuation ratio and written as a new record.
[0041] To distinguish between different response states such as improved, insignificantly improved, and deteriorated image sharpness after focusing, a preset compensation stability range is set based on the historical extreme values of the sharpness evaluation values of continuous imaging by the camera under static conditions without temperature disturbance in the ground thermal vacuum test. In this example, the range is [-0.05, 0.05]. If the current compensation effect index is less than the lower limit of the preset compensation stability range, it means that the focusing action performed in the historical adjacent frames has caused a significant decrease in the sharpness of the current image compared to before focusing. The scene identifier of the historical adjacent frames is used to search in the strategy response table. If response data exists, the found data value is corrected to 1 / 2 of the existing value to reduce the subsequent compensation amount in the corresponding temperature environment scene, so as to avoid excessive compensation and decreased sharpness again in the same scene. If the search is empty, the product of the original compensation step size and the preset attenuation ratio of the historical adjacent frames is written as a new record, so that the first occurrence of an environmental scene with improper compensation can also form a corresponding correction response, avoiding the repeated use of the focusing step size that leads to a decrease in sharpness when the same environmental scene occurs again. In this example, the preset attenuation ratio is 0.5.
[0042] Step S203: When the compensation effect index is greater than the upper limit of the preset compensation stability interval, the original compensation step size of the historical adjacent frames is written as a new record into the strategy response table based on the scene identifier.
[0043] If the current compensation effect index is greater than the upper limit of the preset compensation stability range, it means that the focusing action performed in the historical adjacent frames has significantly improved the clarity of the current image compared to before focusing. At this time, the scene identifier of the historical adjacent frames is used as the environment scene index in the strategy response table, and the original compensation step size of the historical adjacent frames is written as a new record into the strategy response table. If there are already data values in the table, they are overwritten, so that the data in the strategy response table is always iterated based on the latest effective focusing experience.
[0044] Step S204: When the compensation effect index is within the preset compensation stability range, keep the strategy response table unchanged.
[0045] If the current compensation effect index is within the preset compensation stability range, it means that the focusing action performed in adjacent historical frames has not significantly improved or decreased the current image sharpness, indicating that the current focusing response is within a stable range. At this time, the strategy response table is not updated to preserve the existing response relationship between the environmental scene and the compensation step size, and to reduce unnecessary adjustments to the strategy response table caused by imaging fluctuations or evaluation errors.
[0046] Then, the environment correction step size for the current frame image is obtained by looking up a table. Specifically: Data is searched in the policy response table based on the scene identifier of the current frame image. If data exists, the searched data is used as the environment correction step size; if the search is empty, the original compensation step size of the current frame is used as the environment correction step size.
[0047] It should be noted that if it is necessary to calculate and analyze the focus record of the first frame image without historical adjacent frames, the original compensation step size is directly used as the environmental correction step size, skipping the table lookup and update strategy response table.
[0048] Different mission phases of aerospace cameras have different requirements for the control authority, focusing needs, and range of motion of the focusing mechanism. Therefore, by reading the current mission phase flag and the corresponding preset step size permission rules, and combining them with the environmental correction step size, the phase permission step size can be obtained. This ensures that the focusing actions under different mission phases can meet the corresponding control requirements, and provides a phase-permitted focusing basis for considering the long-term operating status of the focusing mechanism.
[0049] During long-term operation, the focusing mechanism will experience varying degrees of performance degradation as the cumulative number of movements, cumulative amount of movement, and operating time increase. Therefore, by reading the cumulative focusing stroke and cumulative operating time of the focusing mechanism, and combining them with the design life stroke and design life time, a performance degradation adjustment factor can be obtained. The long-term operating status can be characterized by the degree of use of the focusing mechanism's stroke and time, enabling the focusing control to identify the corresponding degree of performance degradation based on the cumulative use status of the device, and providing a basis for subsequent adaptive correction of the focusing action.
[0050] In a preferred embodiment of the present invention, the task phase identifier is M, and the preset step size permission rule includes: If the current mission phase is marked as ground assembly (M=0), the focusing mechanism is fully open, allowing manual or automatic focusing throughout the entire stroke, with the step size determined by ground commands. If the current mission phase is marked as launch locked (M=1), the focusing mechanism is locked in the current mechanical position, and the locking device is activated by an electromagnetic pin or shape memory alloy, prohibiting any movement. If the current mission phase is marked as on-orbit wake-up (M=2), after unlocking, it will slowly move from the locked position to the ground zero position in a fixed step size. The motor current will be checked after each step, and if an abnormality is found, it will stop. The preset wake-up step size is set by the ground according to the unlocking safety policy.
[0051] If the current task stage is marked as initial calibration (M=3), under known ephemeris and imaging conditions, a complete focusing scan is performed, with the step size determined by the calibration algorithm. The calibration algorithm employs conventional defocusing scanning calibration techniques in this field, such as controlling the focusing mechanism to perform full-stroke equally spaced scans at preset step distances to acquire sequential images, calculating the sharpness evaluation value at each position, and finding the optimal focal position corresponding to the score peak through quadratic curve fitting. After determining the optimal focal position, the focusing mechanism is controlled to move to the optimal focal position, and the reference temperature value is recorded. This is existing technology well-known to those skilled in the art and will not be elaborated here.
[0052] If the current task stage is marked as routine imaging (M=4), it enters normal focusing control (from calculating the original compensation step size to the final focusing step size). At this time, in order to make the focusing requirements corresponding to environmental disturbances subject to the current allowable range of motion of the focusing mechanism, the environmental correction step size is truncated to the preset maximum allowable step size, that is, the minimum value between the environmental correction step size and the preset maximum allowable step size is taken as the stage allowable step size of the current frame image. If the current task stage is marked as long-term degradation (M=5), the minimum value between the preset maximum allowable step size of the preset safety ratio and the environment correction step size is taken as the stage allowable step size of the current frame image.
[0053] As an example, the long-term degradation phase is automatically entered when the cumulative focusing stroke exceeds 80% of the design life stroke, or the cumulative running time exceeds the design life time. The preset safety ratio is 80% to further limit the single focusing amplitude in the long-term degradation state.
[0054] Furthermore, considering that the larger the cumulative focusing stroke is compared to the remaining focusing stroke, it indicates that the focusing mechanism has a higher degree of stroke utilization and the performance degradation effect corresponding to stroke accumulation is more significant; the larger the cumulative running time is compared to the remaining service life, it indicates that the focusing mechanism has a higher degree of time utilization and the performance degradation effect corresponding to long-term operation is more significant. Moreover, stroke utilization and time utilization can reflect the performance degradation status of the focusing mechanism from different dimensions. Therefore, the first effective remaining stroke is obtained based on the design life stroke and the cumulative focusing stroke, and the stroke degradation component is obtained according to the ratio of the cumulative focusing stroke to the first effective remaining stroke; The second effective remaining time is obtained based on the design life time and the cumulative operating time, and the time degradation component is obtained according to the ratio of the cumulative operating time to the second effective remaining time. By fusing the travel degradation component and the time degradation component, a performance degradation adjustment factor is obtained.
[0055] As an example, the first effective remaining stroke is obtained by subtracting the cumulative focusing stroke from the design life stroke. The first effective remaining stroke is added to the preset stroke correction amount as the denominator, and the cumulative focusing stroke is used as the numerator to calculate the stroke degradation component. The second effective remaining time is obtained by subtracting the cumulative operating time from the design life time. The second effective remaining time is added to the preset time correction amount as the denominator, and the cumulative operating time is used as the numerator to calculate the time degradation component. The travel degradation component and the time degradation component are then multiplied and fused to obtain the performance degradation adjustment factor.
[0056] If the first valid remaining stroke or the second valid remaining time is negative, it is forced to be 0. The preset stroke correction is 0.01mm and the preset time correction is 0.01h to prevent the denominator from being 0.
[0057] It should be noted that the design life stroke and design life time are determined and stored by ground accelerated life tests and are related to specific hardware specifications, so they will not be limited here.
[0058] Step S3: Based on the performance degradation adjustment factor, correct the preset initial focusing travel limit and the stage permitted step size, obtain the final focusing step size, and execute the focusing command.
[0059] Considering that the actual motion capability and focusing control accuracy of the focusing mechanism after long-term operation may differ from the initial state, the preset initial focusing stroke limit and stage allowable step size are modified based on the performance degradation adjustment factor to obtain the final focusing step size and execute the focusing command. This ensures that the final focusing action is simultaneously constrained by the environmental compensation result, the task stage state, and the long-term operating state of the focusing mechanism.
[0060] Preferably, in one embodiment of the present invention, the reciprocal of the sum of constant 1 and performance degradation adjustment factor is used as the final correction factor, and the product of the stage permission step size of the current frame image and the final correction factor is used as the final focus step size. The product of the preset initial focusing travel limit and the final correction factor is used as the real-time focusing travel limit.
[0061] The smaller the performance degradation adjustment factor, the closer the final correction factor is to 1, and the final focusing step size is approximately equal to the stage allowable step size; the larger the performance degradation adjustment factor, the closer the final correction factor is to 0, and the more severe the decay of the final focusing step size and the upper limit of the real-time focusing stroke, so as to avoid damage to the mechanism caused by large-scale movements in the degradation state. The direction of focusing movement is determined based on the sign of the temperature deviation value. That is, based on the thermal expansion and contraction characteristics of the material, when the temperature deviation value is positive or 0, the direction of focusing movement is the first direction to compensate for thermal expansion deformation; when the temperature deviation value is negative, the direction of focusing movement is the second direction to compensate for thermal contraction deformation. The first direction and the second direction are opposite to each other. The preset initial focusing travel limit is obtained by reading the design file of the focusing mechanism, which includes the positive travel limit and the negative travel limit starting from the optimal focal position determined in the initial calibration stage; each travel limit is multiplied by the final correction factor to obtain the real-time positive travel limit and the real-time negative travel limit. The current focal plane position is superimposed with the final focusing step size along the focusing movement direction to obtain the target focal plane position. When the target focal plane position exceeds the real-time positive travel limit or the real-time negative travel limit, the target focal plane position is truncated and restricted to the corresponding travel limit boundary. The difference between the restricted target focal plane position and the current focal plane position is used as the actual final focusing step size.
[0062] Finally, control commands are generated based on the final focusing step size and focusing movement direction to drive the focusing mechanism. The control commands are automatically generated by the focusing control module of the space camera.
[0063] An embodiment of the present invention also provides a high-precision focusing device for a space camera. The device includes a memory, a processor, and a computer program. The memory is used to store the corresponding computer program, and the processor is used to run the corresponding computer program. When the computer program runs in the processor, it can implement the high-precision focusing method for a space camera described in steps S1-S3.
[0064] One embodiment of the present invention also provides a high-precision focusing system for a space camera, the system comprising: The initial analysis module is used to obtain temperature deviation values and temperature change rates based on the changes and distribution of temperature data from the space camera; to obtain environmental compensation requirement factors based on the distribution characteristics of temperature deviation values and temperature change rates; and to obtain the original compensation step size by fusing the environmental compensation requirement factors and the preset standard focusing step size. The compensation analysis module is used to obtain compensation effect indicators based on the sharpness changes of adjacent frames; retrieve the original compensation step size of historical adjacent frames, update the strategy response table and obtain the environmental correction step size based on the numerical range of the compensation effect indicators, combined with the temperature deviation value, temperature change rate and the original compensation step size; read the current task stage flag and the corresponding preset step size permission rule, and obtain the stage permission step size in combination with the environmental correction step size; read the cumulative focusing stroke and cumulative running time of the focusing mechanism, and obtain the performance degradation adjustment factor in combination with the preset design life stroke and design life time. The execution module is used to correct the preset initial focusing travel limit and stage permitted step size based on the performance degradation adjustment factor, obtain the final focusing step size, and execute the focusing command.
[0065] In summary, to address the technical problem of insufficient focusing accuracy caused by the lack of environmental disturbance classification response and closed-loop verification, the present invention aims to provide a high-precision focusing method, device, and system for aerospace cameras. The present invention first integrates an environmental compensation requirement factor and a preset standard focusing step size to obtain the original compensation step size; further, it obtains a compensation effect index based on the sharpness changes of adjacent frame images; then, it updates the strategy response table and obtains the environmental correction step size; further, it reads the current mission stage flag and the corresponding preset step size permission rule to obtain the stage permission step size; further, it obtains a performance degradation adjustment factor; finally, based on the performance degradation adjustment factor, it corrects the preset initial focusing travel limit and the stage permission step size to obtain the final focusing step size and executes the focusing command.
[0066] This invention improves the focusing accuracy of space cameras in complex temperature scenarios and long-term degradation conditions by using a temperature feature fusion standard focusing step size, updating the strategy response table through a closed-loop update of adjacent image sharpness, and progressively correcting the final focusing step size and travel limit by combining mission phase permission rules and performance degradation adjustment factors.
Claims
1. A high-precision focusing method for a space camera, characterized in that, The method includes: Based on the changes and distribution of temperature data from the space camera, the temperature deviation value and temperature change rate are obtained; based on the distribution characteristics of the temperature deviation value and the temperature change rate, the environmental compensation requirement factor is obtained; the environmental compensation requirement factor and the preset standard focusing step size are fused to obtain the original compensation step size. Based on the changes in sharpness of adjacent frames, obtain the compensation effect index; retrieve the original compensation step size of historical adjacent frames, and update the strategy response table and obtain the environmental correction step size based on the numerical range of the compensation effect index, combined with the temperature deviation value, the temperature change rate, and the original compensation step size; read the current task stage flag and the corresponding preset step size permission rule, and obtain the stage permission step size by combining it with the environmental correction step size; read the cumulative focusing stroke and cumulative running time of the focusing mechanism, and obtain the performance degradation adjustment factor by combining it with the preset design life stroke and design life time. Based on the performance degradation adjustment factor, the preset initial focusing travel limit and the stage allowable step size are corrected to obtain the final focusing step size and execute the focusing command.
2. The high-precision focusing method for a space camera according to claim 1, characterized in that, The method for obtaining the environmental compensation demand factor includes: Based on the ratio of the absolute value of the temperature deviation to a preset temperature deviation threshold, a deviation compensation component is obtained; based on the ratio of the sum of the absolute value of the temperature change rate and the preset temperature change rate threshold to the preset temperature change rate threshold, a rate compensation component is obtained; the deviation compensation component and the rate compensation component are fused to obtain the environmental compensation demand factor.
3. The high-precision focusing method for a space camera according to claim 1, characterized in that, The method for obtaining the compensation effect index includes: The percentage of pixels whose gradient magnitude exceeds a preset gradient threshold in each frame is counted and used as a sharpness evaluation value; the compensation effect index is obtained based on the difference between the sharpness evaluation value of the current frame and the sharpness evaluation values of historical adjacent frames.
4. The high-precision focusing method for a space camera according to claim 1, characterized in that, The method for updating the strategy response table includes: The temperature deviation value and the temperature change rate are combined to form a scene identifier for each frame of the image; When the compensation effect index is less than the lower limit of the preset compensation stability range, the data value of the scene identifier of the historical adjacent frame found in the strategy response table is corrected to 1 / 2 of the existing value. If the search is empty, the original compensation step size of the historical adjacent frame is calculated according to the preset attenuation ratio and written as a new record. When the compensation effect index is greater than the upper limit of the preset compensation stability interval, the original compensation step size of the historical adjacent frames is written as a new record into the strategy response table based on the scene identifier.
5. The high-precision focusing method for a space camera according to claim 4, characterized in that, The method for obtaining the environment correction step size includes: Data is searched in the policy response table based on the scene identifier of the current frame image. If data exists, the searched data is used as the environment correction step size; if the search is empty, the original compensation step size of the current frame is used as the environment correction step size.
6. The high-precision focusing method for a space camera according to claim 1, characterized in that, The method for obtaining the stage permission step size includes: If the current task stage is marked as routine imaging, the environmental correction step size is truncated to the preset maximum allowable step size, which is used as the stage allowable step size; If the current task stage is marked as long-term degradation, the minimum value between the preset maximum allowable step size of the preset safety ratio and the environmental correction step size is taken as the stage allowable step size.
7. The high-precision focusing method for a space camera according to claim 1, characterized in that, The method for obtaining the performance degradation adjustment factor includes: The first effective remaining stroke is obtained based on the design life stroke and the cumulative focusing stroke, and the stroke degradation component is obtained according to the ratio of the cumulative focusing stroke to the first effective remaining stroke. A second effective remaining time is obtained based on the design life time and the cumulative operating time, and a time degradation component is obtained according to the ratio of the cumulative operating time to the second effective remaining time. The performance degradation adjustment factor is obtained by fusing the travel degradation component and the time degradation component.
8. The high-precision focusing method for a space camera according to claim 1, characterized in that, The direction of focus movement is determined based on the sign of the temperature deviation value; control commands are generated by combining the final focus step size and the focus movement direction, and the focus mechanism is driven.
9. A high-precision focusing device for a space camera, the device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the high-precision focusing method for a space camera as described in any one of claims 1 to 8.
10. A high-precision focusing system for a space camera, characterized in that, The system includes: The initial analysis module is used to obtain temperature deviation values and temperature change rates based on the changes and distribution of temperature data from the space camera; to obtain environmental compensation requirement factors based on the distribution characteristics of the temperature deviation values and temperature change rates; and to obtain the original compensation step size by fusing the environmental compensation requirement factors and the preset standard focusing step size. The compensation analysis module is used to obtain compensation effect indicators based on the sharpness changes of adjacent frame images; retrieve the original compensation step size of historical adjacent frames, update the strategy response table and obtain the environmental correction step size based on the numerical range of the compensation effect indicators, combined with the temperature deviation value, the temperature change rate and the original compensation step size; read the current task stage flag and the corresponding preset step size permission rule, and obtain the stage permission step size in combination with the environmental correction step size; read the cumulative focusing stroke and cumulative running time of the focusing mechanism, and obtain the performance degradation adjustment factor in combination with the preset design life stroke and design life time. The execution module is used to adjust the preset initial focusing stroke limit and the stage allowable step size based on the performance degradation adjustment factor, obtain the final focusing step size, and execute the focusing command.
