Automatic focusing method and system for sighting telescope

By obtaining target estimated distance and environmental information, combining the focus memory bank and the predetermined focus quality evaluation function, the optimal focus decision of the scope is determined, and the problems of long automatic focus time and low accuracy in the prior art are solved, and more efficient and accurate focus effect is achieved.

CN119617974APending Publication Date: 2025-03-14NANTONG PENGSHENG MACHINERY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411855875.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-17
Publication Date
2025-03-14

AI Technical Summary

Technical Problem

In the prior art, the scope automatically focuses time and has low accuracy.

Method used

By obtaining the target estimated distance, target detection distance and environmental information, it traverses in the focus memory bank as a focus constraint to obtain the optimal focus memory, and using the predetermined focus quality evaluation function for focus simulation analysis to determine the optimal focus decision.

Benefits of technology

Improves the accuracy and efficiency of automatic focus of scope, reduces focus time, and enhances adaptability to the environment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119617974A_ABST
    Figure CN119617974A_ABST
Patent Text Reader

Abstract

The invention discloses an automatic focusing method and system for a sighting telescope, and relates to the technical field of sighting telescopes, and the method comprises the steps: obtaining a target estimation distance; activating a target ranging probe, and obtaining a target detection distance through the target ranging probe; obtaining target environment information; taking the target detection distance and the plurality of environment index parameters as target focusing constraints to obtain an optimal focusing memory; calling a preset focusing quality evaluation function to analyze the simulation record to obtain focusing fitness; obtaining a first expansion field of the optimal focusing memory, and screening a first optimal focusing of the first expansion field; and determining a target focusing decision according to a first comparison result obtained by comparing the first fitness with the focusing fitness. The technical problems that in the prior art, the time needed for automatic focusing of the sighting telescope is long, and the precision is low are solved, and the technical effects that the detection distance of the sighting telescope is rapidly recognized, the focusing decision is optimized in combination with the distance measuring environment, and the focusing accuracy is improved are achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of sights, and in particular to an automatic focusing method and system for a sight. Background Art

[0002] With the continuous development of science and technology, the performance requirements for sights are also constantly increasing. Sights are required to have higher resolution, larger field of view, and faster aiming capabilities. Therefore, focusing technology needs to be improved to meet these requirements. At present, the focal length of the sight is mainly adjusted according to the distance and size of the target, but the distance and size of the target are less stable when identified, and often the initial focusing time is too long due to inaccurate identification. In addition, during the focusing process, it is easy to ignore the impact of the environment on the focusing, resulting in low accuracy of the focusing result.

[0003] The prior art has the technical problems that the automatic focusing of the sight takes a long time and has low precision. Summary of the invention

[0004] The present application provides an automatic focusing method and system for a sight, which are used to solve the technical problems in the prior art that the automatic focusing of the sight takes a long time and has low precision.

[0005] In view of the above problems, the present application provides an automatic focusing method and system for a sight.

[0006] In a first aspect of the present application, there is provided an automatic focusing method for a sight, the method comprising: Obtaining a target estimated distance, wherein the target estimated distance refers to an estimated value of the distance from the target sight to the target object; activating a target ranging probe according to a target ranging mode corresponding to the matched target estimated distance, and obtaining a target detection distance through the target ranging probe; Acquire target environment information, wherein the target environment information refers to environment information obtained by collecting multi-dimensional environment characteristics of the target sight, wherein the target environment information includes multiple environment indicator parameters of multiple environment indicators; Taking the target detection distance and the multiple environmental index parameters as target focus constraints, and traversing the target focus constraints in the focus memory library to obtain an optimal focus memory; Retrieving a predetermined focusing quality evaluation function to analyze a simulation record of focusing simulation of the target sight based on the optimal focusing memory to obtain a focusing adaptability; Acquire a first expansion domain of the optimal focus memory based on a predetermined micro-expansion scheme, and select a first optimal focus of the first expansion domain, wherein the first optimal focus corresponds to a first fitness; A target focusing decision is determined according to a first comparison result obtained by comparing the first fitness with the focusing fitness.

[0007] A second aspect of the present application provides an automatic focusing system for a sight, the system comprising: A target estimated distance acquisition module is used to acquire a target estimated distance, wherein the target estimated distance refers to an estimated value of the distance from the target sight to the target object; A target detection distance acquisition module is used to activate a target ranging probe according to a target ranging mode corresponding to the matched target estimated distance, and obtain a target detection distance through the target ranging probe; A target environment information acquisition module, used to acquire target environment information, wherein the target environment information refers to environment information obtained by collecting multi-dimensional environment characteristics of the target sight, wherein the target environment information includes multiple environment indicator parameters of multiple environment indicators; An optimal focus memory module, used to use the target detection distance and the multiple environmental index parameters as target focus constraints, and traverse the target focus constraints in a focus memory library to obtain an optimal focus memory; A focusing fitness obtaining module is used to retrieve a predetermined focusing quality evaluation function to analyze a simulation record of focusing simulation of the target sight based on the optimal focusing memory to obtain a focusing fitness; A first optimal focus screening module, configured to obtain a first expansion domain of the optimal focus memory based on a predetermined micro-expansion scheme, and screen a first optimal focus of the first expansion domain, wherein the first optimal focus corresponds to a first fitness; A target focusing decision determination module is used to determine a target focusing decision according to a first comparison result obtained by comparing the first fitness with the focusing fitness.

[0008] One or more technical solutions provided in this application have at least the following technical effects or advantages: The present application obtains a target estimated distance, which refers to an estimated value of the distance from a target sight to a target object, and then activates a target ranging probe according to a target ranging mode corresponding to the matched target estimated distance, and obtains a target detection distance through the target ranging probe, thereby obtaining target environment information, wherein the target environment information refers to environment information obtained by collecting multi-dimensional environmental features of a target sight, wherein the target environment information includes multiple environmental indicator parameters of multiple environmental indicators, and uses the target detection distance and the multiple environmental indicator parameters as target focusing constraints, and traverses the target focusing constraints in a focusing memory library to obtain an optimal focusing memory, and then calls a predetermined focusing quality evaluation function to analyze a simulation record of focusing simulation of a target sight based on the optimal focusing memory to obtain a focusing fitness, obtains a first expansion domain of the optimal focusing memory based on a predetermined micro-expansion scheme, and screens a first optimal focusing of the first expansion domain, wherein the first optimal focusing corresponds to a first fitness, and then determines a target focusing decision according to a first comparison result obtained by comparing the first fitness with the focusing fitness. The detection distance of the sight is quickly identified, a basis is provided for determining the ranging mode, and the focusing decision is optimized in combination with the ranging environment, thereby improving the focusing accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0010] Figure 1 A schematic flow chart of an automatic focusing method for a sight provided in an embodiment of the present application; Figure 2 A schematic diagram of the structure of an automatic focusing system for a sight provided in an embodiment of the present application.

[0011] Explanation of the reference numerals: target estimated distance acquisition module 11, target detection distance acquisition module 12, target environment information acquisition module 13, optimal focus memory module 14, focus fitness acquisition module 15, first optimal focus screening module 16, first optimal focus screening module 17. DETAILED DESCRIPTION

[0012] The present application provides an automatic focusing method and system for a sight, which is used to solve the technical problems in the prior art that the automatic focusing of the sight takes a long time and has low precision.

[0013] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0014] It should be noted that the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or server that includes a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or modules that are not explicitly listed or inherent to these processes, methods, products or devices.

[0015] Embodiment 1 like Figure 1 As shown, the present application provides an automatic focusing method for a sight, which includes: S100: Obtaining a target estimated distance, where the target estimated distance refers to an estimated value of the distance from the target sight to the target object; Furthermore, to obtain the estimated target distance, step S100 in the embodiment of the present application further includes: estimating the distance from the target sight to the target object and obtaining an estimated distance value, wherein the estimated distance value includes a longest estimated distance, a most likely estimated distance, and a shortest estimated distance; Analyze the longest estimated distance, the most likely estimated distance, and the shortest estimated distance to obtain an expected value of distance and a distance variance; The target estimated distance is obtained by simulating a distance probability density function constructed based on the distance expected value and the distance variance.

[0016] In a possible embodiment, when the target sight is used to aim at the target object, in order to be able to quickly perform automatic focusing to aim at and magnify the target object, it is necessary to estimate the distance between the target sight and the target object, thereby providing a reliable basis for focusing. This achieves the technical effect of providing basic data for subsequent matching of the most suitable intelligent ranging mode and improving ranging reliability.

[0017] In one embodiment, the target sight is a device for making the target object overlap with the aiming line on a plane through optical principles, thereby enlarging the field of view, including a mechanical sight, a red dot sight, a laser sight, etc. The target object is an object to be aimed at, including trees, vehicles, buildings, etc. The target estimated distance refers to an estimated value of the distance from the target sight to the target object. Optionally, the distance between the target sight and the target object is estimated by using a subjective estimation method, a radar ranging method, a reference object method, etc. to generate the target estimated distance.

[0018] Optionally, different distance measurement methods are used to estimate the distance from the target sight to the target object to obtain the estimated distance value. The estimated distance value includes a longest estimated distance, a most likely estimated distance and a shortest estimated distance. The longest estimated distance is the longest distance value among multiple estimated distance values ​​estimated using different distance measurement methods. The most likely estimated distance is the estimated distance obtained after estimating using the method with the highest credibility among different distance measurement methods. The shortest estimated distance is the shortest distance value among multiple estimated distance values ​​estimated using different distance measurement methods.

[0019] Optionally, the distance estimation may be performed with reference to the object method. When there is an object (such as a building) with a known distance near the target object, the distance is roughly estimated by comparing the size of the target object with the object with the known distance, thereby obtaining an estimated distance.

[0020] Optionally, an estimated distance is obtained by a user of the target sight making a subjective estimate of the distance between the target sight and the target object based on experience.

[0021] Optionally, the distance is estimated by using a visual angle ranging method, using the visual angle size of the target object observed by the user of the target sight in the target sight, and then using the proportional relationship between the actual size of the target and the visual angle size to determine the estimated distance. The estimated distance is the product of the ratio of the actual size to the visual angle size and the viewing distance. Preferably, the visual angle ranging method is a common and more accurate measurement method, and therefore, the estimated distance estimated by the visual angle ranging method is used as the most likely estimated distance.

[0022] In an embodiment of the present application, the longest estimated distance, the most likely estimated distance and the shortest estimated distance are averaged to generate an expected distance value. The expected distance value reflects the average of the estimated distance between the target sight and the target object. Furthermore, the longest estimated distance, the most likely estimated distance and the shortest estimated distance, as well as the expected distance value, are used to perform variance calculation to generate the distance variance. The distance variance reflects the degree of fluctuation of the estimated distance between the longest estimated distance, the most likely estimated distance and the shortest estimated distance. The larger the distance variance, the greater the degree of difference between the estimated distances and the lower the reliability.

[0023] Optionally, after obtaining the expected distance value and the distance variance, the estimated target distance is obtained by simulating a distance probability density function constructed based on the distribution of the estimated distance value and the expected distance value and the distance variance.

[0024] S200: activating a target ranging probe according to a target ranging mode corresponding to the matched target estimated distance, and obtaining a target detection distance through the target ranging probe; Further, according to the target ranging mode corresponding to the matched target estimated distance, the target ranging probe is activated. In the embodiment of the present application, step S200 further includes: A: Reading a predetermined distance measurement mode, wherein the predetermined distance measurement mode includes an infrared distance measurement mode and a laser distance measurement mode; B: Determine whether the estimated target distance is within a predetermined distance threshold; C1: If yes, use the infrared ranging mode as the target ranging mode; C2: If not, use the laser ranging mode as the target ranging mode; D: Among them, the infrared ranging mode corresponds to the infrared ranging probe, and the laser ranging mode corresponds to the laser ranging probe.

[0025] In a possible embodiment, target ranging mode matching is performed based on the target estimated distance to generate the target ranging mode. The target ranging mode is the type of ranging device used to accurately measure the distance between the target sight and the target object. The target ranging probe is activated based on the target ranging mode, and the time when the target ranging probe emits laser or infrared light and the time when the laser or infrared light reaches the surface of the target object and is reflected back are recorded, and the target detection distance is determined based on the recorded time difference.

[0026] Optionally, the predetermined ranging mode is a ranging mode configured by a technician in the field on the target sight, including an infrared ranging mode and a laser ranging mode. Among them, the linear propagation characteristics of the laser beam and the high-frequency measurement can play a good role in long-distance ranging. However, the infrared beam is easily affected by environmental factors and the surface characteristics of the object being measured, and has low accuracy, so it is often used in short-distance ranging. Therefore, by comparing the estimated distance of the target and the size of the predetermined distance threshold, a suitable ranging mode can be selected. Among them, the infrared ranging mode corresponds to an infrared ranging probe, and the laser ranging mode corresponds to a laser ranging probe.

[0027] Optionally, it is determined whether the target estimated distance is within the predetermined distance threshold. If so, it indicates that the distance between the target object and the target sight is relatively close, and in this case, the infrared ranging mode is selected as the target ranging mode. If not, it indicates that the distance between the target object and the target sight is relatively far, and in this case, the laser ranging mode is selected as the target ranging mode.

[0028] By matching the target ranging mode according to the estimated target distance and activating the corresponding target ranging probe, the technical effect of improving the ranging detection accuracy is achieved, paving the way for subsequently improving the reliability of automatic focusing.

[0029] S300: Acquire target environment information, where the target environment information refers to environment information obtained by collecting multi-dimensional environment characteristics of the target sight, wherein the target environment information includes multiple environment indicator parameters of multiple environment indicators; In a possible embodiment, a plurality of environmental monitors are used to collect multi-dimensional environmental features of the target sight to obtain the target environmental information. The target environmental information reflects the environmental conditions of the target sight when it is working from multiple dimensions, including multiple environmental indicator parameters of multiple environmental indicators. Optionally, the environmental indicators include temperature, humidity, vibration, dust, vibration intensity, and light intensity. A temperature sensor, a humidity sensor, a vibration sensor, a dust quality monitor, a vibration monitor, and a photometer are used to monitor multiple environmental indicators to generate the multiple environmental indicator parameters.

[0030] Therefore, by collecting multiple environmental indicator parameters of multiple environmental indicators, environmental impact information is provided for subsequent automatic focusing, thereby achieving the technical effect of improving focusing reliability and the degree of adaptability of focusing to the environment.

[0031] S400: taking the target detection distance and the multiple environmental index parameters as target focus constraints, and traversing the target focus constraints in a focus memory library to obtain an optimal focus memory; In a possible embodiment, the target detection distance and the multiple environmental index parameters are used as the distance and environmental conditions that need to be considered when focusing the target sight, and the target focusing constraint is generated. The target focusing constraint is used as an index to search the focusing memory library to obtain the optimal focusing memory. The focusing memory library stores the focusing-related data of the target sight in the historical time, including multiple focusing memories, each of which includes focusing constraints, focusing decisions and focusing records. The focusing decision is a plan for focusing the target sight, including objective lens focusing parameters, magnification adjustment parameters, etc. The focusing record is the aiming condition of the target sight after focusing the target sight according to the focusing decision, including data such as clarity, aiming accuracy, and field of view.

[0032] By traversing the target focusing constraint in the focusing memory library, the optimal focusing memory that meets the current actual situation of the target sight is determined, thereby achieving the technical effect of improving the focusing reliability.

[0033] Furthermore, the target detection distance and the multiple environmental index parameters are used as target focusing constraints, and step S400 of the embodiment of the present application further includes: When the target ranging probe is the infrared ranging probe, the plurality of environmental indicator parameters are traversed and extracted based on a predetermined infrared ranging factor to obtain first target factor information; Acquire a target material of the target object, and acquire a first target reflection index of the target material to the infrared light beam; The target detection distance is corrected and compensated in combination with the first target factor information and the first target reflection index.

[0034] In an embodiment of the present application, when the target ranging probe is the infrared ranging probe, the predetermined infrared ranging factor is used as an index to traverse and extract the multiple environmental indicator parameters, thereby obtaining factor information that affects the working effect of the infrared ranging probe, and generating the first target factor information.

[0035] The predetermined infrared ranging factor is a factor affecting the working effect of the infrared ranging probe determined by technicians in this field according to the specifications of the infrared ranging probe, including temperature, dust level, light intensity, etc.

[0036] Optionally, the target material of the target object is collected, and the target material includes metal, wood, plastic, glass, etc. Different target object materials reflect different infrared beams emitted by the infrared ranging probe. The first target reflection index can be obtained based on the target material. The larger the first target reflection index, the higher the reflection effect of the target material on the infrared beam. On the contrary, the smaller the first target reflection index, the worse the reflection effect of the target material on the infrared beam. At this time, when focusing the target sight, it is necessary to increase the magnification or frequency to ensure the accuracy of ranging.

[0037] Optionally, the reflectivity, absorption and transmittance of the target object to the infrared light beam can be obtained based on the target material, the inverses of the absorption and transmittance, and the reflectivity are weightedly calculated, and the first target reflection index is obtained according to the calculation results.

[0038] Optionally, after obtaining the first target factor information and the first target reflection index, the target detection distance is compensated using a distance correction compensation unit. By obtaining multiple sample target factor information, multiple sample reflection indexes, and multiple sample compensation distances as training data, a feedforward neural network model is used to supervise the mapping relationship between the target factor information, the reflection index, and the compensation distance, until the model output reaches convergence, and the trained distance correction compensation unit is obtained. The first target factor information and the first target reflection index are input into the distance correction compensation unit for distance correction to obtain the first target compensation distance. The target detection distance is corrected using the first target compensation distance.

[0039] As a result, the technical effect of correcting the target detection distance according to the environmental factors affecting the infrared ranging probe and the reflection of the infrared beam by the target material is achieved, thereby further providing accurate data support for the subsequent constraint of the focusing process according to the target detection distance.

[0040] Furthermore, the target detection distance and the multiple environmental index parameters are used as target focusing constraints, and step S400 of the embodiment of the present application further includes: When the target ranging probe is the laser ranging probe, the plurality of environmental index parameters are traversed and extracted based on a predetermined laser ranging factor to obtain second target factor information; Acquire a second target reflection index of the target material to the laser beam; The target detection distance is corrected and compensated in combination with the second target factor information and the second target reflection index.

[0041] In an embodiment of the present application, when the target ranging probe is the laser ranging probe, the predetermined laser ranging factor is used as an index to traverse and extract the multiple environmental indicator parameters, thereby obtaining factor information that affects the working effect of the laser ranging probe, and generating the second target factor information.

[0042] The predetermined laser ranging factor is a factor that affects the working effect of the infrared ranging probe and is determined by technicians in this field according to the specifications of the laser ranging probe, including temperature, dust level, vibration intensity, etc.

[0043] Optionally, due to the different materials of the target object, the reflection of the laser beam emitted by the laser ranging probe is different. Based on the target material, the second target reflection index can be obtained. The larger the second target reflection index, the higher the reflection effect of the target material on the laser beam. On the contrary, the smaller the second target reflection index, the worse the reflection effect of the target material on the laser beam. In this case, it is necessary to increase the magnification or frequency when focusing the target sight. Optionally, the second target reflection index is obtained based on the same calculation principle as the first target reflection index.

[0044] Optionally, the second target factor information and the second target reflection index are input into the distance correction compensation unit for distance correction to obtain a second target compensation distance, and the target detection distance is corrected using the second target compensation distance.

[0045] Further, to obtain the optimal focus memory, step S400 in the embodiment of the present application further includes: Extracting a first focusing memory from the focusing memory library, wherein the first focusing memory includes a first focusing constraint, a first focusing decision, and a first focusing record; If a first constraint deviation between the target focus constraint and the first focus constraint meets a predetermined constraint deviation threshold, analyzing the first focus record to obtain a first focus fitness; Arrange the first mapping relationship between the first focusing decision and the first focusing record in descending order based on the first focusing fitness to obtain a focusing fitness descending order list; The maximum focus fitness in the focus fitness descending list is obtained, and the focus decision corresponding to the maximum focus fitness reversely matched based on the mapping relationship is used as the optimal focus memory.

[0046] Furthermore, step S400 in the embodiment of the present application further includes: Reading a predetermined tag scheme; Based on the predetermined labeling scheme, the target focus constraint and the first focus constraint are labeled in sequence to obtain a target label vector and a first label vector respectively; The target label vector is compared with the first label vector to obtain the first constraint deviation.

[0047] In a possible embodiment, a first focus memory in the focus memory library is extracted, wherein the first focus memory includes a first focus constraint, a first focus decision, and the first focus record. Deviation analysis is performed on the target focus constraint and the first focus constraint to generate the first constraint deviation. The first constraint deviation reflects the degree of deviation between the target focus constraint and the first focus constraint.

[0048] If the first constraint deviation meets the predetermined constraint deviation threshold (which is set by technical personnel in the field according to the required accuracy, and may be 0.7, 0.85, etc.), it indicates that the first focusing decision and the first focusing record corresponding to the first focusing constraint can be analyzed to obtain the optimal focusing memory.

[0049] Optionally, the predetermined labeling scheme is a conversion scheme for converting raw data into a conversion scheme that can be used for vector analysis, such as corresponding the detection distance data in the focus constraint to a label, and using the detection distance as a label element, using multiple environmental indicators as multiple labels, and using multiple environmental indicator parameters as multiple label elements, and obtaining a label vector based on multiple label elements. Thus, the target focus constraint and the first focus constraint are labeled in turn according to the predetermined labeling scheme, thereby obtaining a target label vector and the first label vector.

[0050] Optionally, the target label vector and the first label vector are compared to see whether label elements corresponding to the same label are consistent, and the ratio of the number of inconsistent label elements to the total number of label elements is used as the first constraint deviation.

[0051] Extract the beam waveform and aiming speed in the first focusing record, then calculate the error between the beam waveform and the ideal beam waveform to obtain a beam waveform error. Use a beam waveform error as a simulated wavefront error, and input it into the predetermined focusing quality evaluation function in combination with the aiming speed to obtain a first focusing fitness. The first focusing fitness reflects the quality of the focusing effect of the first focusing decision corresponding to the first focusing record. The larger the first focusing fitness, the better the focusing effect of the corresponding first focusing decision.

[0052] The plurality of focus memories in the focus memory library whose constraint deviation from the target focus constraint meets the predetermined constraint deviation threshold are calculated based on the calculation principle of the first focus fitness to obtain a plurality of focus fitnesses. The first mapping relationship between the first focus decision and the first focus record is arranged in descending order based on the first focus fitness, and the plurality of mapping relationships corresponding to the plurality of focus fitnesses are combined to obtain the focus fitness descending list.

[0053] Furthermore, the maximum focus fitness in the focus fitness descending list is extracted, and the corresponding focus decision is reversely matched based on the mapping relationship, and the focus decision corresponding to the matched maximum focus fitness is used as the optimal focus memory.

[0054] S500: Retrieving a predetermined focusing quality evaluation function to analyze a simulation record of focusing simulation of the target sight based on the optimal focusing memory to obtain a focusing adaptability; Furthermore, step S500 of the embodiment of the present application further includes: The simulation record includes a simulated wavefront error and a simulated aiming speed when focusing simulation is performed on the target sight based on the optimal focusing memory; The simulated wavefront error and the simulated aiming speed are analyzed in combination with the predetermined focusing quality evaluation function to obtain the focusing adaptability, wherein the expression of the predetermined focusing quality evaluation function is as follows: ; in, Characterization based on the optimal focus memory the focusing adaptability of the target sight for focusing simulation, Characterization based on the optimal focus memory The target sight is first The simulated wavefront error of the simulation, Characterization based on the optimal focus memory The target sight is first The simulation aiming speed of the simulation, Characterization based on the optimal focus memory The target sight is The first focus simulation Simulation, and represent the first weight and the second weight respectively, and .

[0055] In an embodiment of the present application, the target sight is simulated and focused according to the optimal focusing memory by using a simulation method, the wavefront error of the simulated light beam passing through the target sight is extracted, and the simulated aiming speed during focusing is determined to generate the simulation record. The simulated wavefront error is the error between the wavefront shape of the simulated light beam after passing through the target sight and the ideal wavefront. The simulated aiming speed is the time required for the target sight to switch from a non-aiming state to an aiming state.

[0056] Optionally, the simulated wavefront error and the simulated aiming speed are input into the predetermined focus quality evaluation function for fitness analysis to generate the focus fitness. The predetermined focus quality evaluation function is used to quantitatively analyze the effect of using the optimal focus memory to simulate the focus of the target sight. The target sight is simulated for multiple times using the optimal focus memory to obtain multiple simulation record data of the multiple simulation focusing, and the simulated wavefront error and the simulated aiming speed in the multiple simulation record data are extracted and input into the predetermined focus quality evaluation function for calculation, and the multiple simulations are combined for calculation to obtain the focus fitness.

[0057] The predetermined focusing quality evaluation function Characterization based on the optimal focus memory the focusing adaptability of the target sight for focusing simulation, Characterization based on the optimal focus memory The target sight is first The simulated wavefront error of the simulation, Characterization based on the optimal focus memory The target sight is first The simulation aiming speed of the simulation, Characterization based on the optimal focus memory The target sight is The first focus simulation Simulation, and represent the first weight and the second weight respectively, and .

[0058] S600: acquiring a first expansion domain of the optimal focus memory based on a predetermined micro-expansion scheme, and selecting a first optimal focus of the first expansion domain, wherein the first optimal focus corresponds to a first fitness; In a possible embodiment, in order to avoid falling into the local optimal solution screened in the focus memory library, the optimal focus memory is expanded according to the predetermined micro-expansion scheme to obtain the first expansion domain. The expansion adjustment method is added to the disabled table with a disabled number to avoid repeated use of the same expansion adjustment method for adjustment. The predetermined micro-expansion scheme is set by a technician in the field to micro-scale the parameters (magnification parameters, windage parameters, trajectory parameters, etc.) in the focus decision in the optimal focus memory.

[0059] Then, the predetermined focus quality evaluation function is used to perform fitness quantification calculation on multiple expanded focus memories in the first expanded domain to obtain multiple expanded focus memories, and then the expanded focus memory corresponding to the maximum value among the multiple expanded focus memories is used as the stage focus memory, and the predetermined micro-expansion scheme is used again to sample and remove the expansion adjustment method in the disabled table to expand the stage focus memory to obtain the first stage expanded domain. The predetermined focus quality evaluation function is used to perform fitness calculation, and after multiple expansion adjustments, the maximum fitness value is selected as the first fitness, and the stage focus memory corresponding to the first fitness is used as the first optimal focus. The technical effect of quickly performing expansion optimization on the basis of avoiding falling into the optimal solution is achieved.

[0060] S700: Determine a target focusing decision according to a first comparison result obtained by comparing the first fitness and the focusing fitness.

[0061] In a possible embodiment, the first fitness is compared with the focusing fitness, and the decision corresponding to the larger fitness value is used as the target focusing decision. Thus, the technical effect of improving the focusing efficiency and reliability of the target sight is achieved.

[0062] In summary, the embodiments of the present application have at least the following technical effects: The present application obtains the target estimated distance, and then activates the target ranging probe according to the target ranging mode corresponding to the matched target estimated distance, realizes determining the target of the appropriate ranging probe by performing distance estimation, and then obtains the target detection distance with high accuracy, and then obtains the target environment information, and uses the target detection distance and multiple environmental index parameters as target focusing constraints, traverses in the focusing memory library, and realizes the goal of obtaining the optimal focusing memory under the premise of satisfying the target focusing constraints, and then calls the predetermined focusing quality evaluation function to analyze the simulation record of focusing simulation of the target sight based on the optimal focusing memory, and realizes the goal of quantitative analysis of the optimal focusing memory and improving the focusing accuracy, and obtains the first expansion domain of the optimal focusing memory based on the predetermined micro-expansion scheme, and screens the first optimal focusing of the first expansion domain, the first optimal focusing corresponds to the first fitness, and then determines the target focusing decision according to the first comparison result obtained by comparing the first fitness with the focusing fitness, and realizes avoiding falling into the local optimal solution. The detection distance of the sight is quickly identified, a basis is provided for determining the ranging mode, and the focusing decision is optimized in combination with the ranging environment, and the focusing accuracy is improved.

[0063] Embodiment 2 Based on the same inventive concept as the automatic focusing method for a sight in the aforementioned embodiment, Figure 2 As shown, the present application provides an automatic focusing system for a sight, and the system and method embodiments in the present application are based on the same inventive concept. The system includes: The target estimated distance acquisition module 11 is used to acquire the target estimated distance, where the target estimated distance refers to the estimated value of the distance from the target sight to the target object; A target detection distance acquisition module 12 is used to activate a target ranging probe according to a target ranging mode corresponding to the matched target estimated distance, and obtain a target detection distance through the target ranging probe; A target environment information acquisition module 13 is used to acquire target environment information, wherein the target environment information refers to environment information obtained by collecting multi-dimensional environment characteristics of the target sight, wherein the target environment information includes multiple environment indicator parameters of multiple environment indicators; An optimal focus memory module 14 is used to use the target detection distance and the multiple environmental index parameters as target focus constraints, and traverse the target focus constraints in a focus memory library to obtain an optimal focus memory; A focusing adaptability obtaining module 15 is used to retrieve a predetermined focusing quality evaluation function to analyze a simulation record of focusing simulation of the target sight based on the optimal focusing memory to obtain a focusing adaptability; A first optimal focus screening module 16, configured to obtain a first expansion domain of the optimal focus memory based on a predetermined micro-expansion scheme, and screen a first optimal focus of the first expansion domain, wherein the first optimal focus corresponds to a first fitness; The target focusing decision determining module 17 is configured to determine a target focusing decision according to a first comparison result obtained by comparing the first fitness with the focusing fitness.

[0064] Furthermore, the target estimated distance acquisition module 11 is used to perform the following steps: estimating the distance from the target sight to the target object and obtaining an estimated distance value, wherein the estimated distance value includes a longest estimated distance, a most likely estimated distance, and a shortest estimated distance; Analyze the longest estimated distance, the most likely estimated distance, and the shortest estimated distance to obtain an expected value of distance and a distance variance; The target estimated distance is obtained by simulating a distance probability density function constructed based on the distance expected value and the distance variance.

[0065] Furthermore, the target detection distance acquisition module 12 is used to perform the following steps: A: Reading a predetermined distance measurement mode, wherein the predetermined distance measurement mode includes an infrared distance measurement mode and a laser distance measurement mode; B: Determine whether the estimated target distance is within a predetermined distance threshold; C1: If yes, use the infrared ranging mode as the target ranging mode; C2: If not, use the laser ranging mode as the target ranging mode; D: Among them, the infrared ranging mode corresponds to the infrared ranging probe, and the laser ranging mode corresponds to the laser ranging probe.

[0066] Furthermore, the optimal focus memory module 14 is used to perform the following steps: When the target ranging probe is the infrared ranging probe, the plurality of environmental indicator parameters are traversed and extracted based on a predetermined infrared ranging factor to obtain first target factor information; Acquire a target material of the target object, and acquire a first target reflection index of the target material to the infrared light beam; The target detection distance is corrected and compensated in combination with the first target factor information and the first target reflection index.

[0067] Furthermore, the optimal focus memory module 14 is used to perform the following steps: When the target ranging probe is the laser ranging probe, the plurality of environmental index parameters are traversed and extracted based on a predetermined laser ranging factor to obtain second target factor information; Acquire a second target reflection index of the target material to the laser beam; The target detection distance is corrected and compensated in combination with the second target factor information and the second target reflection index.

[0068] Furthermore, the optimal focus memory module 14 is used to perform the following steps: Extracting a first focusing memory from the focusing memory library, wherein the first focusing memory includes a first focusing constraint, a first focusing decision, and a first focusing record; If a first constraint deviation between the target focus constraint and the first focus constraint meets a predetermined constraint deviation threshold, analyzing the first focus record to obtain a first focus fitness; Arrange the first mapping relationship between the first focusing decision and the first focusing record in descending order based on the first focusing fitness to obtain a focusing fitness descending order list; The maximum focus fitness in the focus fitness descending list is obtained, and the focus decision corresponding to the maximum focus fitness reversely matched based on the mapping relationship is used as the optimal focus memory.

[0069] Furthermore, the optimal focus memory module 14 is used to perform the following steps: Reading a predetermined tag scheme; Based on the predetermined labeling scheme, the target focus constraint and the first focus constraint are labeled in sequence to obtain a target label vector and a first label vector respectively; The target label vector is compared with the first label vector to obtain the first constraint deviation.

[0070] Furthermore, the focusing adaptability obtaining module 15 is used to perform the following steps: The simulation record includes a simulated wavefront error and a simulated aiming speed when focusing simulation is performed on the target sight based on the optimal focusing memory; The simulated wavefront error and the simulated aiming speed are analyzed in combination with the predetermined focusing quality evaluation function to obtain the focusing adaptability, wherein the expression of the predetermined focusing quality evaluation function is as follows: ; in, Characterization based on the optimal focus memory the focusing adaptability of the target sight for focusing simulation, Characterization based on the optimal focus memory The target sight is first The simulated wavefront error of the simulation, Characterization based on the optimal focus memory The target sight is first The simulation aiming speed of the simulation, Characterization based on the optimal focus memory The target sight is The first focus simulation Simulation, and represent the first weight and the second weight respectively, and .

[0071] It should be noted that the above-mentioned sequence of the embodiments of the present application is only for description and does not represent the advantages and disadvantages of the embodiments. And the above-mentioned specific embodiments of this specification are described. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0072] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.

[0073] This specification and drawings are merely exemplary illustrations of the present application and are deemed to cover any and all modifications, variations, combinations or equivalents within the scope of the present application. Obviously, a person skilled in the art may make various modifications and variations to the present application without departing from the scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the present application and its equivalents, the present application intends to include these modifications and variations.

Claims

1. An automatic focusing method for a sight, characterized in that: include: Obtaining a target estimated distance, wherein the target estimated distance refers to an estimated value of the distance from the target sight to the target object; activating a target ranging probe according to a target ranging mode corresponding to the matched target estimated distance, and obtaining a target detection distance through the target ranging probe; Acquire target environment information, wherein the target environment information refers to environment information obtained by collecting multi-dimensional environment characteristics of the target sight, wherein the target environment information includes multiple environment indicator parameters of multiple environment indicators; Taking the target detection distance and the multiple environmental index parameters as target focus constraints, and traversing the target focus constraints in the focus memory library to obtain an optimal focus memory; Retrieving a predetermined focusing quality evaluation function to analyze a simulation record of focusing simulation of the target sight based on the optimal focusing memory to obtain a focusing adaptability; Acquire a first expansion domain of the optimal focus memory based on a predetermined micro-expansion scheme, and select a first optimal focus of the first expansion domain, wherein the first optimal focus corresponds to a first fitness; A target focusing decision is determined according to a first comparison result obtained by comparing the first fitness with the focusing fitness.

2. The automatic focusing method according to claim 1, characterized in that: Get the estimated distance of the target, including: estimating the distance from the target sight to the target object and obtaining an estimated distance value, wherein the estimated distance value includes a longest estimated distance, a most likely estimated distance, and a shortest estimated distance; Analyze the longest estimated distance, the most likely estimated distance, and the shortest estimated distance to obtain an expected value of distance and a distance variance; The target estimated distance is obtained by simulating a distance probability density function constructed based on the distance expected value and the distance variance.

3. The automatic focusing method according to claim 1, characterized in that: Activating the target ranging probe according to the target ranging mode corresponding to the matched target estimated distance includes: A: Reading a predetermined distance measurement mode, wherein the predetermined distance measurement mode includes an infrared distance measurement mode and a laser distance measurement mode; B: Determine whether the estimated target distance is within a predetermined distance threshold; C1: If yes, use the infrared ranging mode as the target ranging mode; C2: If not, use the laser ranging mode as the target ranging mode; D: Among them, the infrared ranging mode corresponds to the infrared ranging probe, and the laser ranging mode corresponds to the laser ranging probe.

4. The automatic focusing method according to claim 3, characterized in that: Using the target detection distance and the multiple environmental index parameters as target focusing constraints also includes: When the target ranging probe is the infrared ranging probe, the plurality of environmental indicator parameters are traversed and extracted based on a predetermined infrared ranging factor to obtain first target factor information; Acquire a target material of the target object, and acquire a first target reflection index of the target material to the infrared light beam; The target detection distance is corrected and compensated in combination with the first target factor information and the first target reflection index.

5. The automatic focusing method according to claim 4, characterized in that: Using the target detection distance and the multiple environmental index parameters as target focusing constraints also includes: When the target ranging probe is the laser ranging probe, the plurality of environmental indicator parameters are traversed and extracted based on a predetermined laser ranging factor to obtain second target factor information; Acquire a second target reflection index of the target material to the laser beam; The target detection distance is corrected and compensated in combination with the second target factor information and the second target reflection index.

6. The automatic focusing method according to claim 1, characterized in that: Get the best focus memory, including: Extracting a first focusing memory from the focusing memory library, wherein the first focusing memory includes a first focusing constraint, a first focusing decision, and a first focusing record; If a first constraint deviation between the target focus constraint and the first focus constraint meets a predetermined constraint deviation threshold, analyzing the first focus record to obtain a first focus fitness; Arrange the first mapping relationship between the first focusing decision and the first focusing record in descending order based on the first focusing fitness to obtain a focusing fitness descending order list; The maximum focus fitness in the focus fitness descending list is obtained, and the focus decision corresponding to the maximum focus fitness reversely matched based on the mapping relationship is used as the optimal focus memory.

7. The automatic focusing method according to claim 6, characterized in that the method include: Reading a predetermined tag scheme; Based on the predetermined labeling scheme, the target focus constraint and the first focus constraint are labeled in sequence to obtain a target label vector and a first label vector respectively; The target label vector is compared with the first label vector to obtain the first constraint deviation.

8. The automatic focusing method according to claim 1, characterized in that: Methods include: The simulation record includes a simulated wavefront error and a simulated aiming speed when focusing simulation is performed on the target sight based on the optimal focusing memory; The simulated wavefront error and the simulated aiming speed are analyzed in combination with the predetermined focusing quality evaluation function to obtain the focusing adaptability, wherein the expression of the predetermined focusing quality evaluation function is as follows: ; in, Characterization based on the optimal focus memory the focusing adaptability of the target sight for focusing simulation, Characterization based on the optimal focus memory The target sight is first The simulated wavefront error of the simulation, Characterization based on the optimal focus memory The target sight is first The simulation aiming speed of the simulation, Characterization based on the optimal focus memory The target sight is The first focus simulation Simulation, and represent the first weight and the second weight respectively, and .

9. An automatic focusing system for a sight, characterized in that: For implementing the steps of the method according to any one of claims 1 to 8, the system comprises: A target estimated distance acquisition module is used to acquire a target estimated distance, wherein the target estimated distance refers to an estimated value of the distance from the target sight to the target object; A target detection distance acquisition module is used to activate a target ranging probe according to a target ranging mode corresponding to the matched target estimated distance, and obtain a target detection distance through the target ranging probe; A target environment information acquisition module, used to acquire target environment information, wherein the target environment information refers to environment information obtained by collecting multi-dimensional environment characteristics of the target sight, wherein the target environment information includes multiple environment indicator parameters of multiple environment indicators; An optimal focus memory module, used to use the target detection distance and the multiple environmental index parameters as target focus constraints, and traverse the target focus constraints in a focus memory library to obtain an optimal focus memory; A focusing fitness obtaining module is used to retrieve a predetermined focusing quality evaluation function to analyze a simulation record of focusing simulation of the target sight based on the optimal focusing memory to obtain a focusing fitness; A first optimal focus screening module, configured to obtain a first expansion domain of the optimal focus memory based on a predetermined micro-expansion scheme, and screen a first optimal focus of the first expansion domain, wherein the first optimal focus corresponds to a first fitness; A target focusing decision determination module is used to determine a target focusing decision according to a first comparison result obtained by comparing the first fitness with the focusing fitness.