Detector closed-loop time-consuming self-learning method, system and device and storage medium
By dividing the focal temperature of the detector into multiple gears and storing the corresponding parameter values, the problem of the detector's closed-loop adjustment time is solved, and a faster closed-loop process and a better user experience is achieved.
Patent Information
- Application Number
- CN202510283175.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-11
- Publication Date
- 2025-05-23
AI Technical Summary
The closed-loop adjustment process of existing detectors takes a long time, resulting in image display stagnation, especially when quickly switching temperature measurement gears or when the device is turned on, it affects the user experience.
By dividing the focus temperature change interval of the detector, the focus temperature is divided into multiple focus temperature gears, and the parameter values after the closed loop are successfully stored. When the detector starts closed-loop adjustment, matches the corresponding focus temperature gear to obtain the pre-stored parameter values, and directly calls these parameter values to shorten the closed-loop time.
It significantly shortens the time spent on detector closed-loop adjustment, reduces image display stagnation time, and improves user experience.
Smart Images

Figure CN120027935A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of detector technology, and more specifically to a detector closed-loop time-consuming self-learning method, system, device and storage medium. Background Art
[0002] Detector closed-loop adjustment is a technology widely used when starting a device or switching temperature measurement gears. It ensures that the detector output remains within the ideal working range by adjusting the ra_adj and hssd registers. In the prior art, the adjustment of the ra_adj and hssd registers is usually performed in two ways: a step-by-step method or a binary method. Regardless of which method is used, the entire adjustment process requires 2 to 16 adjustments. If the interval of each adjustment is set to 0.16 seconds, the entire detector closed-loop adjustment process will take about 0.32 seconds to 2.56 seconds.
[0003] A long detector closed-loop adjustment time will cause the image display to stagnate for a long time, that is, the image freezes. Especially in application scenarios where it is necessary to quickly switch the temperature measurement gear or obtain images immediately when the device is turned on, the time consumption of the detector closed-loop process is particularly critical. If the detector closed-loop time is too long, it will directly affect the user experience. Summary of the invention
[0004] In order to better solve the above problems, the present invention provides a detector closed-loop time-consuming self-learning method, which is implemented by executing the following steps:
[0005] S1: dividing the coke temperature into a plurality of coke temperature levels based on the coke temperature variation range of the detector;
[0006] S2: When the detector starts closed-loop regulation, the current coke temperature is detected and matched to the corresponding coke temperature gear;
[0007] S3: Acquire the initial value of the first parameter and / or the initial value of the second parameter pre-stored in the matching coke temperature gear;
[0008] S4: After a preset time interval, determine whether the closed-loop adjustment is successful. If successful, the closed-loop adjustment of the detector is completed, and the first parameter and / or the second parameter at the current coke temperature are output and stored in the corresponding coke temperature gear.
[0009] As a preferred technical solution of the present invention, each degree of the coke temperature corresponds to a coke temperature gear.
[0010] As a preferred technical solution of the present invention, if the closed-loop adjustment fails, the detector is re-closed-loop adjusted using a successive progressive method or a binary method.
[0011] As a preferred technical solution of the present invention, if the detector is successfully re-closed-loop adjusted, the closed-loop adjustment of the detector is completed, and a new first parameter and / or second parameter is output and stored in the corresponding coke temperature gear.
[0012] As a preferred technical solution of the present invention, if the detector fails to re-closed-loop adjust, the closed-loop adjustment of the detector is terminated, and the initial value of the first parameter and / or the initial value of the second parameter of the current focus temperature is stored in the corresponding focus temperature gear.
[0013] As a preferred technical solution of the present invention, the S3 further includes: configuring the acquired initial value of the first parameter and / or the initial value of the second parameter to a register corresponding to the detector.
[0014] As a preferred technical solution of the present invention, the initial value of the first parameter and / or the initial value of the second parameter is a parameter stored during the last successful closed-loop adjustment or a factory parameter.
[0015] The present invention also provides a detector closed-loop time-consuming self-learning system as described above, comprising the following modules:
[0016] An initialization unit, configured to divide the coke temperature into a plurality of coke temperature gears based on a coke temperature variation interval of a detector;
[0017] A detection unit, used to detect the current coke temperature and match the corresponding coke temperature gear when the detector starts closed-loop regulation;
[0018] An acquisition unit, used for acquiring an initial value of the first parameter and / or an initial value of the second parameter pre-stored in the matching coke temperature gear;
[0019] The storage unit is used to determine whether the closed-loop adjustment is successful after a preset time interval. If successful, the closed-loop adjustment of the detector is completed, and the first parameter and / or the second parameter at the current coke temperature are output and stored in the corresponding coke temperature gear.
[0020] The present invention also provides a computing device, the device comprising:
[0021] Memory and processor;
[0022] The memory is used to store computer executable instructions, and the processor is used to execute the computer executable instructions. When the computer executable instructions are executed by the processor, the above-mentioned detector closed-loop time-consuming self-learning method is implemented.
[0023] The present invention also provides a storage medium, wherein the storage medium stores computer executable instructions, and when the computer executable instructions are executed by a processor, the above-mentioned detector closed-loop time-consuming self-learning method is implemented.
[0024] Compared with the prior art, the beneficial effects of the present invention are at least as follows:
[0025] The technical solution of the present invention divides the coke temperature into a plurality of coke temperature gears based on the coke temperature variation interval of the detector, so as to save the value of the first parameter and / or the value of the second parameter after the closed loop is successfully in the corresponding coke temperature gear; when the detector starts the closed loop adjustment, the current coke temperature is detected and matched with the corresponding coke temperature gear, and the initial value of the first parameter and / or the initial value of the second parameter pre-stored in the matched coke temperature gear are obtained. After a preset time period, it is determined whether the initial closed loop adjustment of the detector is successful. If the initial closed loop adjustment is successful, the closed loop adjustment of the detector ends, and the first parameter and / or the second parameter at the current coke temperature are output and stored in the corresponding coke temperature gear, providing a parameter basis for the next closed loop of the detector. If the initial closed loop adjustment is unsuccessful, the original closed loop mechanism is executed to re-close the loop until the detector closes the loop successfully. The present invention can achieve the purpose of shortening the time consumption of the detector closed loop. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0027] Figure 1 It is a flowchart of the steps of the closed-loop time-consuming self-learning method of the detector in the present invention;
[0028] Figure 2 It is a structural diagram of the closed-loop time-consuming self-learning system of the detector in the present invention. DETAILED DESCRIPTION
[0029] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0030] It is understood that the terms "first", "second", etc. used in this application may be used herein to describe various elements, but unless otherwise specified, these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, without departing from the scope of this application, a first xx script may be referred to as a second xx script, and similarly, a second xx script may be referred to as a first xx script.
[0031] In the prior art, the detector closing process takes a long time, resulting in a long image freeze time. Especially in the scenario of switching the temperature measurement gear or starting the machine to require quick image output, if the closing loop takes too long, it will directly affect the user experience.
[0032] In view of the above technical problems, the present invention proposes Figure 1 The detector closed-loop time-consuming self-learning method shown is implemented by executing the following steps:
[0033] After the detector is powered on and stabilized and the response rate is configured, its output characteristics will produce dynamic offsets as the focal temperature changes. Based on this characteristic, the present application designs a self-learning solution to solve the problem of long closed-loop time of the detector, as follows.
[0034] S1: Based on the focal temperature variation range of the detector, the focal temperature is divided into multiple focal temperature gears, each focal temperature gear corresponds to a focal temperature value, which is used to save the first parameter value and / or the second parameter value after the closed loop is successfully closed at the focal temperature, that is, the ra_adj and hssd register values, ra_adj and hssd are the values of two specific registers of the detector, ra_adj is used to adjust the value of the register for the global coarse adjustment of the detector output, and hssd is used to adjust the value of the register for the global fine adjustment of the detector output; specifically, the focal temperature is used as the index key value, and an independent gear is divided for each degree of focal temperature. Each focal temperature gear is used as a unique identifier, and the optimized parameter value after the closed loop adjustment is successfully saved at the temperature in each focal temperature gear. Among them, the ra_adj and hssd register values are determined in combination with the specific device model, calibration data or focal temperature gear configuration table.
[0035] S2: When the detector starts closed-loop adjustment, it detects the current focal temperature and matches the corresponding focal temperature gear, directly calls the parameters (ra_adj and hssd value) under the gear, skips the traditional multiple iterative adjustment process, and shortens the closed-loop time. The traditional method requires multiple adjustments, generally 2-16 times, and takes 0.32s-2.56s, while directly calling the pre-stored parameters only requires a single configuration, which takes almost instantaneous time.
[0036] S3: Obtain the initial value of the first parameter and / or the initial value of the second parameter pre-stored in the matching focal temperature gear. Specifically, after the detector is powered on and stabilized and the response rate is configured, the output characteristics of the detector will produce a dynamic offset as the focal temperature changes. In the initial closed-loop adjustment process, the corresponding ra_adj and hssd values can be directly taken out from the matching focal temperature gear according to the current focal temperature, and set to the corresponding register of the detector, so that the ideal output can be achieved in one adjustment process.
[0037] S4: After a preset time interval, determine whether the closed-loop adjustment is successful. If successful, the closed-loop adjustment of the detector ends, and the first parameter and / or the second parameter at the current focal temperature are output and stored in the corresponding focal temperature gear. Specifically, if the closed-loop adjustment is successful, the ra_adj value and the hssd value after the closed-loop is successful at the current focal temperature are saved in the focal temperature gear, providing a parameter basis for the next closed-loop of the detector, so as to achieve an ideal output in one adjustment process. If the closed-loop adjustment is unsuccessful, the original closed-loop mechanism is executed to re-close the loop, which will be described in detail below.
[0038] Through the coordination of the above steps, the present application can achieve the purpose of shortening the loop closing time of the detector when the loop is closed.
[0039] Furthermore, each coke temperature corresponds to a coke temperature gear, which is used to save the first parameter and the second parameter values after the loop is successfully closed at the coke temperature, that is, the ra_adj and hssd register values.
[0040] Furthermore, if the closed-loop adjustment fails, the detector is re-adjusted in the closed loop using a successive incremental method or a binary method.
[0041] Specifically, after the detector is powered on and stabilized and the response rate is configured, the detector's output characteristics change with the focal temperature and produce a dynamic offset. Based on this characteristic, the next time the detector is closed-loop, the corresponding ra_adj value and hssd value can be taken out in the focal temperature position according to the current focal temperature and set to the corresponding register, so that only one adjustment process is required to achieve the detector output within the ideal range. However, such an adjustment method may fail. In case of failure, the detector output is readjusted in the original closed-loop manner to obtain the ra_adj value and hssd value after the closed-loop is successful. Among them, the original closed-loop method to readjust the detector output refers to the use of a successive progressive method or a binary method to perform closed-loop adjustment on the detector until the closed-loop adjustment of the detector is successful.
[0042] Furthermore, if the detector re-closed-loop adjustment is successful, the closed-loop adjustment of the detector ends, and the new first parameter and / or second parameter are output and stored in the corresponding coke temperature gear. If the detector re-closed-loop adjustment fails, the closed-loop adjustment of the detector ends, and the initial value of the first parameter of the current coke temperature and / or the initial value of the second parameter are stored in the corresponding coke temperature gear.
[0043] Specifically, if the detector fails after the secondary closed-loop adjustment and the number of readjustments exceeds 8 times, and the successful ra_adj value and hssd value cannot be obtained at this time, the initial values of ra_adj and hssd will be saved as a reference for the focal temperature position.
[0044] Furthermore, S3 also includes: configuring the acquired initial value of the first parameter and / or the initial value of the second parameter to a register corresponding to the detector.
[0045] Further, the initial value of the first parameter and / or the initial value of the second parameter is a parameter stored during the last successful closed-loop adjustment or a factory parameter.
[0046] The present invention also provides a Figure 2 The detector closed-loop time-consuming self-learning system shown includes the following modules:
[0047] An initial unit, used to divide the coke temperature into a plurality of coke temperature gears based on the coke temperature variation range of the detector;
[0048] The detection unit is used to detect the current coke temperature and match the corresponding coke temperature gear when the detector starts the closed-loop adjustment;
[0049] An acquisition unit, used to acquire an initial value of the first parameter and / or an initial value of the second parameter pre-stored in a matching coke temperature gear;
[0050] The storage unit is used to determine whether the closed-loop adjustment is successful after a preset time interval. If successful, the closed-loop adjustment of the detector is completed, and the first parameter and / or the second parameter at the current coke temperature are output and stored in the corresponding coke temperature gear.
[0051] The present invention also provides a computing device, the device comprising:
[0052] Memory and processor;
[0053] The memory is used to store computer executable instructions, and the processor is used to execute the computer executable instructions. When the computer executable instructions are executed by the processor, the above-mentioned detector closed-loop time-consuming self-learning method is implemented.
[0054] The present invention also provides a computer storage medium, which stores program instructions. When the program instructions are executed, the device where the computer storage medium is located is controlled to execute the above-mentioned detector closed-loop time-consuming self-learning method.
[0055] In summary, the technical solution of the present application divides the coke temperature into a plurality of coke temperature gears based on the coke temperature variation interval of the detector, so as to save the value of the first parameter and / or the value of the second parameter after the closed loop is successfully in the corresponding coke temperature gear; when the detector starts the closed loop adjustment, by detecting the current coke temperature and matching the corresponding coke temperature gear, the initial value of the first parameter and / or the initial value of the second parameter pre-stored in the matched coke temperature gear is obtained, and the parameters (ra_adj and hssd value) under the gear are directly called, skipping the multiple iterative adjustment process of the traditional method, and shortening the closed loop time. After a preset time period, it is determined whether the initial closed loop adjustment of the detector is successful. If the initial closed loop adjustment is successful, the closed loop adjustment of the detector ends, and the first parameter and / or the second parameter under the current coke temperature are output and stored in the corresponding coke temperature gear, providing a parameter basis for the next closed loop of the detector. If the initial closed loop adjustment is unsuccessful, the original closed loop mechanism is executed to re-close the loop until the detector closes the loop successfully. The present invention can achieve the purpose of shortening the closed loop time of the detector.
[0056] It should be understood that, although each step in the flow chart of each embodiment of the present invention is shown in sequence according to the indication of the arrow, these steps are not necessarily performed in sequence according to the order indicated by the arrow. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be performed in other orders. Moreover, at least a portion of the steps in each embodiment may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and the execution order of these sub-steps or stages is not necessarily performed in sequence, but can be performed in turn or alternately with at least a portion of other steps or sub-steps or stages of other steps.
[0057] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the above-mentioned program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0058] The technical features of the above-mentioned embodiments can be combined arbitrarily. In order to make the description concise, not all possible combinations of the technical features in the above-mentioned embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0059] The above-mentioned embodiments only express several implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the patent of the present invention. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.
[0060] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A detector closed-loop time-consuming self-learning method, characterized in that: The method comprises: S1: dividing the coke temperature into a plurality of coke temperature levels based on the coke temperature variation range of the detector; S2: When the detector starts closed-loop regulation, the current coke temperature is detected and matched to the corresponding coke temperature gear; S3: Acquire the initial value of the first parameter and / or the initial value of the second parameter pre-stored in the matching coke temperature gear; S4: After a preset time interval, determine whether the closed-loop adjustment is successful. If successful, the closed-loop adjustment of the detector is completed, and the first parameter and / or the second parameter at the current coke temperature are output and stored in the corresponding coke temperature gear.
2. The method according to claim 1, characterized in that Each degree of the coke temperature corresponds to a coke temperature gear.
3. The method according to claim 1, characterized in that If the closed-loop adjustment fails, the detector is re-adjusted in a closed-loop manner using a successive incremental method or a binary method.
4. The method according to claim 3, characterized in that If the detector is successfully re-adjusted in the closed loop, the closed loop adjustment of the detector is completed, and a new first parameter and / or second parameter is output and stored in the corresponding coke temperature gear.
5. The method according to claim 3, characterized in that: If the detector fails to re-closed-loop adjust, the closed-loop adjustment of the detector ends, and the initial value of the first parameter and / or the initial value of the second parameter of the current coke temperature is stored in the corresponding coke temperature gear.
6. The method according to claim 1, characterized in that The S3 further includes: configuring the acquired initial value of the first parameter and / or the initial value of the second parameter to a register corresponding to the detector.
7. The method according to claim 1, characterized in that The initial value of the first parameter and / or the initial value of the second parameter are parameters stored during the last successful closed-loop adjustment or factory parameters.
8. A detector closed-loop time-consuming self-learning system, used to implement the detector closed-loop time-consuming self-learning method according to any one of claims 1 to 7, characterized in that: The system includes the following modules: An initialization unit, configured to divide the coke temperature into a plurality of coke temperature gears based on a coke temperature variation interval of a detector; A detection unit, used to detect the current coke temperature and match the corresponding coke temperature gear when the detector starts closed-loop regulation; An acquisition unit, used for acquiring an initial value of the first parameter and / or an initial value of the second parameter pre-stored in the matched coke temperature gear; The storage unit is used to determine whether the closed-loop adjustment is successful after a preset time interval. If successful, the closed-loop adjustment of the detector is completed, and the first parameter and / or the second parameter at the current coke temperature are output and stored in the corresponding coke temperature gear.
9. A computing device, characterized in that: The device comprises: Memory and processor; The memory is used to store computer executable instructions, and the processor is used to execute the computer executable instructions. When the computer executable instructions are executed by the processor, the detector closed-loop time-consuming self-learning method described in any one of claims 1 to 7 is implemented.
10. A computer storage medium, characterized in that: The storage medium stores program instructions, wherein when the program instructions are executed, the device where the storage medium is located is controlled to execute the detector closed-loop time-consuming self-learning method according to any one of claims 1 to 7.