Heat dissipation control method, system and device of detection light source and storage medium

By collecting substrate temperature and operating parameters in real time to calculate junction temperature and generate status indicators, the problem of lag and deviation in heat dissipation control in the prior art is solved, realizing refined heat dissipation management of the detection light source and improving the stability and lifespan of the light source.

CN121879466APending Publication Date: 2026-04-17CONONLUX TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-01-14
Publication Date
2026-04-17

AI Technical Summary

Technical Problem

Existing heat dissipation control methods for detection light sources rely on substrate temperature monitoring, which suffers from thermal hysteresis and measurement deviation, failing to achieve accurate and efficient thermal management and affecting the performance stability and lifespan of the light source.

Method used

By collecting substrate temperature and operating parameters in real time, junction temperature is calculated, a temperature status indicator is generated, and heat dissipation parameters are analyzed based on the indicator to generate target control parameters. Heat dissipation control commands are then generated according to a preset control command protocol.

Benefits of technology

It enables precise hierarchical identification and dynamic adjustment of heat dissipation requirements, improves the timeliness and accuracy of heat dissipation control, effectively suppresses abnormal fluctuations in the junction temperature of the light source, and enhances the operational reliability and lifespan of the device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121879466A_ABST
    Figure CN121879466A_ABST
Patent Text Reader

Abstract

The invention relates to a heat dissipation control method, system and device for a detection light source and a storage medium, and the method comprises the steps: collecting the substrate temperature and working parameters of the detection light source in real time, and carrying out the junction temperature calculation based on the substrate temperature and the working parameters, and obtaining the junction temperature of the light source; performing interval matching on the light source junction temperature and a preset temperature interval set to generate a temperature state identifier; acquiring characteristic information of the detection light source, and performing heat dissipation parameter analysis on the characteristic information based on the temperature state identifier to generate a target control parameter; wherein the characteristic information is a data set containing light source attribute information and control configuration information. And performing instruction conversion on the target control parameter according to a preset control instruction protocol to generate a heat dissipation control instruction. According to the invention, fine grading identification of heat dissipation requirements can be realized, and then targeted adjustment can be carried out on light source driving parameters according to the identifier.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the technical field of detection light sources, and particularly to a heat dissipation control method, system, device, and storage medium for detection light sources. Background Technology

[0002] With the widespread application of intelligent, high-power-density detection light sources in industrial lighting, special displays, and precision testing, luminous efficiency and operational stability have become key performance indicators. However, most common heat dissipation control methods currently rely on monitoring substrate temperature or ambient temperature and directly adjusting the operating state of heat dissipation devices based on fixed thresholds. While these methods are simple and easy to implement, the substrate temperature cannot directly and accurately reflect the actual junction temperature inside the chip, resulting in thermal hysteresis and measurement deviation. Furthermore, using fixed thresholds for control constitutes open-loop management, which cannot dynamically estimate and adaptively adjust the junction temperature based on the real-time electrical operating parameters of the detection light source. This leads to delayed response and insufficient accuracy in heat dissipation control, making it difficult to achieve precise and efficient thermal management under complex workloads, thus affecting the performance stability and lifespan of the detection light source. Summary of the Invention

[0003] The main objective of this invention is to provide a heat dissipation control method, system, device, and storage medium for detecting light sources, which can achieve refined hierarchical identification of heat dissipation requirements, and then make targeted adjustments to the light source driving parameters based on the identification.

[0004] To achieve the above objectives, the present invention provides a heat dissipation control method for a detection light source, comprising: The substrate temperature and operating parameters of the light source are collected in real time, and the junction temperature is calculated based on the substrate temperature and the operating parameters to obtain the junction temperature of the light source. The junction temperature of the light source is matched with a preset temperature range set to generate a temperature status identifier. The characteristic information of the detection light source is obtained, and the heat dissipation parameters are analyzed based on the temperature status identifier to generate target control parameters; wherein, the characteristic information is a data set containing light source attribute information and control configuration information.

[0005] The target control parameters are converted into commands according to a preset control command protocol to generate heat dissipation control commands.

[0006] Further, the step of calculating the junction temperature based on the substrate temperature and the operating parameters to obtain the light source junction temperature includes: Extract the real-time operating current and real-time operating voltage of the detection light source from the operating parameters; Multiply the real-time operating current by the real-time operating voltage to obtain the real-time electrical power; The thermal resistance coefficient corresponding to the real-time operating current is matched from the preset light source characteristic table, and the real-time electric power is multiplied by the thermal resistance coefficient to calculate the real-time temperature rise of the light source; The junction temperature of the light source is obtained by calculating the junction temperature of the substrate and the real-time temperature rise of the light source.

[0007] Further, the step of performing interval matching between the junction temperature of the light source and a preset temperature range set to generate a temperature status identifier includes: Read each temperature threshold interval from the preset temperature interval set, wherein each temperature threshold interval is associated with a status identifier; In each of the temperature threshold intervals, the target temperature threshold interval to which the junction temperature of the light source belongs is determined, and the status identifier corresponding to the target temperature threshold interval is determined as the temperature status identifier.

[0008] Further, the step of acquiring the characteristic information of the detection light source and performing heat dissipation parameter analysis on the characteristic information based on the temperature state identifier to obtain the target control parameters includes: Read the operating mode table and the driving baseline parameters associated with the operating mode table from the characteristic information; The temperature status identifier is matched with the working mode table to obtain candidate working modes; Based on the candidate operating mode, the corresponding driving reference parameters are read from the characteristic information, and the corresponding adjustment coefficient is found from the pre-stored correction coefficient table according to the temperature status identifier; The target control parameters are obtained by adjusting the driving reference parameters and the adjustment coefficients.

[0009] Further, the step of looking up the corresponding adjustment coefficient from the pre-stored correction coefficient table based on the temperature state identifier includes: Obtain multiple coefficient entries from the pre-stored correction coefficient table, each coefficient entry being associated with a status identifier field and a correction coefficient; The temperature status identifier is matched one by one with the status identifier field of each coefficient entry; When there is a status identifier field that is exactly the same as the temperature status identifier, the correction coefficient corresponding to the status identifier field is set as the adjustment coefficient; When no status identifier field is exactly the same as the temperature status identifier, the default coefficient in the correction coefficient table is set as the adjustment coefficient.

[0010] Further, the step of adjusting the driving reference parameters and the adjustment coefficient to obtain the target control parameters includes... Extract all driving sub-parameters from the driving reference parameters, and multiply the adjustment coefficient by each driving sub-parameter in sequence to obtain preliminary adjustment sub-parameters; Determine whether the preliminary adjustment sub-parameters exceed the preset safe operating range; If the initial adjustment sub-parameter is not exceeded, the target sub-parameter will be determined. If the value exceeds the limit, the safety boundary value of the driving sub-parameter is converted into the target sub-parameter. All the target sub-parameters are integrated according to a predetermined control parameter format to generate the target control parameters.

[0011] Furthermore, the step of converting the target control parameters into instructions according to a preset control instruction protocol to generate heat dissipation control instructions includes: Read the instruction structure template in the preset control instruction protocol; The target control parameters are parsed based on the instruction structure template to identify the values ​​of the control parameters to be encoded. The control parameter values ​​to be encoded are sequentially filled into the instruction structure template to generate the initial control instruction; The initial control command is subjected to integrity verification according to the command verification rules in the preset control command protocol to obtain the heat dissipation control command.

[0012] The present invention also provides a heat dissipation control system for a detection light source, applied to the heat dissipation control method for the detection light source described in any one of the above claims, comprising: The acquisition module is used to collect the substrate temperature and operating parameters of the detection light source in real time, and calculate the junction temperature based on the substrate temperature and the operating parameters to obtain the junction temperature of the light source. The analysis module is used to perform interval matching between the junction temperature of the light source and a preset temperature range set to generate a temperature status identifier. The processing module is used to acquire the characteristic information of the detection light source and perform heat dissipation parameter analysis on the characteristic information based on the temperature status identifier to generate target control parameters; wherein, the characteristic information is a data set containing light source attribute information and control configuration information; The association module is used to convert the target control parameters into instructions according to a preset control instruction protocol in order to generate heat dissipation control instructions.

[0013] The present invention also provides a heat dissipation control device for detecting a light source, comprising: Memory, used to store programs; A processor is configured to execute the program to implement the steps of a heat dissipation control method for a detection light source as described in any of the preceding claims.

[0014] The present invention also provides a storage medium storing computer instructions for causing a computer to perform any of the methods described above.

[0015] The present invention provides a heat dissipation control method, system, device, and storage medium for a detection light source, which has the following beneficial effects: By dynamically calculating the junction temperature using substrate temperature and real-time operating parameters, the thermal state of the detection light source can be more accurately reflected, overcoming the measurement lag and bias problems caused by relying solely on substrate temperature. By matching the calculated junction temperature with a preset threshold range and generating a temperature status indicator, refined hierarchical identification of heat dissipation requirements is achieved, allowing for targeted adjustment of the light source driving parameters based on this indicator. This transforms heat dissipation control from an open-loop mode based on fixed thresholds to a closed-loop dynamic adjustment based on real-time thermal state analysis, significantly improving the timeliness and accuracy of heat dissipation control. This effectively suppresses abnormal fluctuations in the light source junction temperature under different workloads, thereby improving the device's operational reliability and lifespan from a thermal management perspective. Attached Figure Description

[0016] Figure 1 This is a flowchart of a heat dissipation control method for a detection light source provided by the present invention; Figure 2 This is a structural diagram of a heat dissipation control system for a detection light source provided by the present invention; Figure 3 This is a structural diagram of a heat dissipation control device for a detection light source provided by the present invention.

[0017] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0018] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.

[0019] The present invention will now be further described in conjunction with the accompanying drawings and specific embodiments.

[0020] Reference Figure 1 As shown, the present invention provides a heat dissipation control method for a detection light source, comprising: Step S1: Real-time acquisition of substrate temperature and operating parameters of the light source, and calculation of junction temperature based on the substrate temperature and operating parameters to obtain the junction temperature of the light source; Specifically, the substrate temperature is the temperature value directly acquired at a specific measurement point on the light source substrate by a physical contact or non-contact temperature sensor. Operating parameters refer to the electrical state quantities of the light source during operation, including operating current and operating voltage. Real-time electrical power is calculated based on the acquired operating current and voltage; this power characterizes the instantaneous heat generation power of the light source chip. Combining the thermal resistance coefficient—which reflects the heat conduction characteristics from the chip junction to the substrate measurement point—matched from pre-stored light source characteristic data and corresponding to the current operating conditions, the real-time electrical power is multiplied by the thermal resistance coefficient to calculate the real-time temperature rise of the light source chip relative to the substrate measurement point. This calculated real-time temperature rise is algebraically superimposed with the directly measured substrate temperature; the result is the light source junction temperature. This method of obtaining the light source junction temperature overcomes the thermal hysteresis and measurement point deviation problems caused by relying solely on substrate temperature.

[0021] Step S2: Match the junction temperature of the light source with a preset temperature range set to generate a temperature status identifier; Specifically, the preset temperature range set is a predefined data structure containing multiple temperature threshold ranges, each associated with a predefined status identifier. This status identifier is typically a code or symbol with a specific meaning, such as low-temperature normal state, medium-temperature warning state, or high-temperature protection state. The light source junction temperature is used as input and compared sequentially with each temperature threshold range in the preset temperature range set. If the light source junction temperature is greater than or equal to the lower limit of a certain range and simultaneously less than or equal to the upper limit of that range, it is determined to fall within that specific temperature threshold range. Upon successful matching, the predefined status identifier associated with that range is extracted and designated as the temperature status identifier for the current control cycle. This temperature status identifier is a logical signal representing the current thermal state.

[0022] Step S3: Obtain the characteristic information of the detection light source, and perform heat dissipation parameter analysis on the characteristic information based on the temperature status identifier to generate target control parameters; wherein, the characteristic information is a data set containing light source attribute information and control configuration information.

[0023] Specifically, based on the temperature status identifier, the target control parameters used to drive the light source to perform heat dissipation adjustments are parsed and generated from the inherent characteristics of the light source and the preset control logic. The characteristic information is a comprehensive dataset integrating static attributes and dynamic configurations. Its core components include: a predefined operating mode table, which lists all operating modes supported by the light source and their entry conditions (e.g., allowed temperature status identifiers); driving reference parameters uniquely bound to each operating mode, defining the standard electrical operating point of the light source in that mode (e.g., reference current, reference voltage); and a pre-stored correction coefficient table, which stores adjustment coefficients for different temperature status identifiers, used for fine-tuning the reference parameters. The operating mode table is queried based on the temperature status identifier, and the candidate operating mode to be used is determined by matching the identifier. Based on the candidate operating mode, the corresponding driving reference parameters are retrieved from the characteristic information. Again, based on the same temperature status identifier, the corresponding adjustment coefficient is retrieved from the pre-stored correction coefficient table. The driving reference parameters and adjustment coefficients are combined and calculated according to predetermined rules (e.g., multiplication), and after the calculation, a limiting process is performed according to a preset safe operating range to output the target control parameters.

[0024] Step S4: Convert the target control parameters into instructions according to the preset control instruction protocol to generate heat dissipation control instructions.

[0025] Specifically, the preset control command protocol is a pre-agreed communication standard regarding command format, data encoding, transmission timing, and verification rules. The protocol reads the command structure template, which specifies the position and meaning of each field, including the frame header, address field, command word, data length, parameter data field, and checksum. The target control parameters are parsed, decomposed, or encoded into control parameter values ​​that conform to the protocol's data field requirements. These parameter values ​​are then sequentially filled into the corresponding data fields of the command structure template according to its format, assembling a complete initial control command. The initial control command is calculated according to the protocol's verification rules (such as cyclic redundancy check CRC), and the resulting checksum is appended to a specific position in the command frame, or the entire command frame's compliance is verified. After integrity verification, the final cooling control command is formed.

[0026] This invention provides a heat dissipation control method for a detection light source. By dynamically calculating the junction temperature through the acquisition of substrate temperature and real-time operating parameters, it can more accurately reflect the thermal state of the detection light source, thus overcoming the measurement lag and bias problems caused by relying solely on substrate temperature. By matching the calculated junction temperature with a preset threshold range and generating a temperature status identifier, it achieves refined hierarchical identification of heat dissipation requirements, and then allows for targeted adjustment of the light source driving parameters based on this identifier. This transforms heat dissipation control from an open-loop mode based on a fixed threshold to a closed-loop dynamic adjustment based on real-time thermal state analysis, significantly improving the timeliness and accuracy of heat dissipation control. This effectively suppresses abnormal fluctuations in the light source junction temperature under different workloads, thereby improving the device's operational reliability and lifespan at the thermal management level.

[0027] In some embodiments, the step of calculating the junction temperature based on the substrate temperature and the operating parameters to obtain the light source junction temperature includes: Extract the real-time operating current and real-time operating voltage of the detection light source from the operating parameters; Multiply the real-time operating current by the real-time operating voltage to obtain the real-time electrical power; The thermal resistance coefficient corresponding to the real-time operating current is matched from the preset light source characteristic table, and the real-time electric power is multiplied by the thermal resistance coefficient to calculate the real-time temperature rise of the light source; Thermal resistance coefficient is a specific parameter characterizing the efficiency of heat conduction path from the semiconductor junction (heat source) to the substrate temperature measurement point of a particular light source product, and its unit is degrees Celsius per watt. The preset light source characteristic table records the corresponding thermal resistance coefficients of this type of light source under different operating conditions or different operating ranges.

[0028] The junction temperature of the light source is obtained by calculating the junction temperature of the substrate and the real-time temperature rise of the light source.

[0029] Specifically, the calculation is performed in two stages. The first stage involves a multiplication operation: multiplying the real-time electrical power by the thermal resistance coefficient to obtain the real-time temperature rise of the light source. This real-time temperature rise is the expected value of the light source's semiconductor junction temperature being higher than the substrate's measurement point temperature, assuming steady-state heat conduction at the current transient heating power. The second stage involves an addition operation: algebraically adding the real-time temperature rise of the light source to the substrate temperature. The formula is: Junction Temperature = Substrate Temperature + (Electrical Power × Thermal Resistance Coefficient). The substrate temperature is the actual measured temperature at a point downstream of the heat dissipation path; the real-time temperature rise is the temperature difference estimated by the model from this downstream point to the upstream heating junction. Adding these two values ​​together yields the light source junction temperature.

[0030] The method provided in this embodiment, by collecting substrate temperature and real-time operating parameters and dynamically calculating the light source junction temperature based on a thermal resistance model, can more realistically reflect the internal thermal state of the chip compared to traditional methods that rely solely on substrate temperature. This provides a more accurate and timely basis for heat dissipation control decisions. By matching the junction temperature with a set of preset temperature ranges and generating temperature status identifiers, a discretized and state-based description of heat dissipation requirements is achieved, making the control logic clear and easy to configure, and supporting differentiated and fine-grained control strategies for different temperature zones. Based on the temperature status identifiers, the light source characteristic information (including operating mode, drive reference parameters, and correction coefficients) is analyzed and parameters are adjusted to generate target control parameters that precisely match the current thermal state. Standardized instruction protocol conversion generates directly executable heat dissipation control commands, achieving fully closed-loop automated management from heat sensing to drive execution.

[0031] In some embodiments, the step of matching the junction temperature of the light source with a preset temperature range set to generate a temperature status identifier includes: Read each temperature threshold interval from the preset temperature interval set, wherein each temperature threshold interval is associated with a status identifier; In each of the temperature threshold intervals, the target temperature threshold interval to which the junction temperature of the light source belongs is determined, and the status identifier corresponding to the target temperature threshold interval is determined as the temperature status identifier.

[0032] Specifically, a preset set of temperature ranges is used as the decision criterion, and the junction temperature data of the light source is used as the input object. Each temperature threshold range in the set is visited sequentially. For the currently visited range, its lower and upper temperature limits are extracted. The junction temperature data of the light source is compared with these two boundary values ​​simultaneously, performing two parallel logical judgments: the first judgment confirms whether the junction temperature data of the light source is greater than or equal to the lower limit of the current range; the second judgment confirms whether the junction temperature data of the light source is simultaneously less than or equal to the upper temperature limit of the current range. The program flow determines that the junction temperature data of the light source falls within the currently checked temperature threshold range only if both of these logical judgments are true. Once this matching relationship is established, the traversal process immediately terminates, and the current range that meets the conditions is confirmed as the target temperature threshold range. After successful matching, the pre-associated status identifier is extracted from the data structure of the target temperature threshold range. The extracted status identifier is then assigned and used as the final output result of this control cycle—the temperature status identifier.

[0033] The method provided in this embodiment achieves discretization and abstraction of the thermal state by matching the calculated junction temperature of the light source with a preset set of temperature ranges and generating a temperature state identifier. It transforms continuous physical temperature signals into finite logical states with clear control semantics, making subsequent control decisions independent of minute fluctuations in specific temperature values, thereby improving the anti-interference capability and decision stability of the control system. The configurability of the preset temperature range set allows for flexible definition of temperature management strategies based on the safe operating range of different light sources or the performance requirements of different application scenarios. For example, it allows setting different states and their trigger thresholds, such as normal operation, performance derating, or emergency shutdown, enhancing the method's versatility and adaptability.

[0034] In some embodiments, acquiring the characteristic information of the detection light source and performing heat dissipation parameter analysis on the characteristic information based on the temperature state identifier to obtain target control parameters includes: Read the operating mode table and the driving baseline parameters associated with the operating mode table from the characteristic information; The temperature status identifier is matched with the working mode table to obtain candidate working modes; Specifically, each record in the operating mode table is sequentially or indexed. For the currently checked operating mode entry, its list of allowed temperature status identifiers is extracted. The current actual thermal status—i.e., the input temperature status identifier—is compared one by one with each allowed identifier in this list. This comparison is a precise string or code matching operation designed to determine whether the current thermal status is explicitly listed within the admission criteria of the operating mode. When the traversal reaches an operating mode entry and the current temperature status identifier exactly matches an item in the list of allowed temperature status identifiers for that entry, the matching condition is met. At this point, the traversal process usually terminates, and the mode identifier corresponding to that operating mode entry is selected as a candidate operating mode. This process ensures that the selected operating mode is strategically consistent with the current thermal management requirements; for example, under high-temperature conditions, only modes that allow derating operation will be matched, not full-power modes.

[0035] Based on the candidate operating mode, the corresponding driving reference parameters are read from the characteristic information, and the corresponding adjustment coefficient is found from the pre-stored correction coefficient table according to the temperature status identifier; The target control parameters are obtained by adjusting the driving reference parameters and the adjustment coefficients.

[0036] The method provided in this embodiment reads a predefined operating mode table and matches it with temperature status identifiers. This allows for the automatic selection of the most suitable light source operating mode based on the real-time thermal state level, achieving dynamic alignment between the control strategy and thermal management requirements. This avoids performance loss or overheating risks associated with a single, fixed control response. The method reads the corresponding drive reference parameters based on the matched candidate operating modes, providing a standardized starting point for control and ensuring the basic performance and efficiency of the light source under the given mode. By searching for pre-stored adjustment coefficients based on the same temperature status identifier, a secondary fine-tuning mechanism is introduced for the current subtle thermal state. This allows the final control parameters to both adhere to the macroscopic operating mode framework and undergo refined dynamic adaptation, significantly improving control accuracy.

[0037] In some embodiments, the step of looking up the corresponding adjustment coefficient from a pre-stored correction coefficient table based on the temperature state identifier includes: Obtain multiple coefficient entries from the pre-stored correction coefficient table, each coefficient entry being associated with a status identifier field and a correction coefficient; Each coefficient entry constitutes a complete and independent data record. Each coefficient entry contains two core data fields that are forcibly associated: a status identifier field and a correction coefficient. The status identifier field stores a logical identifier with specific semantics, such as a string or numerical code. It belongs to the same coding system as the temperature status identifier generated by the interval matching step and is designed to represent a specific thermal state category or level.

[0038] The temperature status identifier is matched one by one with the status identifier field of each coefficient entry; Specifically, each individual coefficient entry in the coefficient entry set is accessed sequentially according to a predetermined order (such as storage order or index order). For the currently accessed entry, the status identifier field value is extracted from the entry's data structure. Then, the externally input temperature status identifier is compared with this extracted field value. The comparison is either a character-by-character comparison of strings or a direct equality comparison of numerical values / encoding. The sole criterion for judgment is whether the two are completely identical, i.e., they have no difference in data type, encoding format, or actual content. Matching stops when all coefficient entries have been traversed, or when an entry that meets the exact same condition is found during the traversal.

[0039] When there is a status identifier field that is exactly the same as the temperature status identifier, the correction coefficient corresponding to the status identifier field is set as the adjustment coefficient; When no status identifier field is exactly the same as the temperature status identifier, the default coefficient in the correction coefficient table is set as the adjustment coefficient.

[0040] The method provided in this embodiment obtains preset coefficient entries and matches the temperature state identifier with the state identifier field of each entry, ensuring a high degree of determinism and traceability in the process of finding adjustment coefficients for the current specific thermal state, thus improving the reliability of parameter retrieval. When identical state identifier fields exist, their strictly corresponding correction coefficient is set as the adjustment coefficient, achieving precise binding between the adjustment factor and the thermal state level, avoiding coefficient misuse, and ensuring the accuracy and consistency of control fine-tuning within a specific temperature range. When no completely matching identifier field exists, the pre-stored default coefficient is automatically used as the adjustment coefficient, providing a clear and safe fallback strategy for undefined or abnormal thermal states, enhancing the fault tolerance and robustness of the control system, and preventing process interruptions or control malfunctions caused by coefficient lookup failures.

[0041] In some embodiments, adjusting the driving reference parameters and the adjustment coefficient to obtain the target control parameters includes: Extract all driving sub-parameters from the driving reference parameters, and multiply the adjustment coefficient by each driving sub-parameter in sequence to obtain preliminary adjustment sub-parameters; The drive reference parameters are a dataset containing all the independent controllable variables required to define the standard electrical states of the candidate operating modes. The drive sub-parameters are independent controllable variables, including the reference current value, maximum allowable voltage value, reference duty cycle, and frequency value in constant current drive mode, and pulse width modulation mode.

[0042] Determine whether the preliminary adjustment sub-parameters exceed the preset safe operating range; Specifically, each preliminary adjustment sub-parameter and its corresponding parameter type identifier are accessed sequentially. Based on the type identifier, the corresponding minimum and maximum values ​​are retrieved from the preset safe operating range, forming a closed interval. The current preliminary adjustment sub-parameter value is compared with the two endpoints of this closed interval. It is checked whether the preliminary adjustment sub-parameter value is less than the retrieved minimum value; then, it is checked whether the value is greater than the retrieved maximum value. If the value is less than the minimum value or greater than the maximum value, the condition is met, and it is considered a violation; if the value is greater than or equal to the minimum value and less than or equal to the maximum value, it is considered compliant and not exceeded.

[0043] If the initial adjustment sub-parameter is not exceeded, the target sub-parameter will be determined. If the value exceeds the limit, the safety boundary value of the driving sub-parameter is converted into the target sub-parameter. All the target sub-parameters are integrated according to a predetermined control parameter format to generate the target control parameters.

[0044] Specifically, each target sub-parameter is accessed sequentially according to the order of sub-parameters defined in the predetermined format. For each target sub-parameter, it is converted into a corresponding byte stream according to the required byte length and encoding method. For example, a target sub-parameter representing current can be converted into a 16-bit unsigned integer in milliamperes, arranged in big-endian order. These converted byte blocks are then filled into the corresponding data fields of the output data buffer in a prescribed order. After integrating all target sub-parameters, a checksum (such as CRC) is calculated and filled according to the format specification. Once the entire buffer is fully constructed according to the predetermined format, the target control parameters are obtained.

[0045] The method provided in this embodiment extracts all driving sub-parameters from the driving reference parameters and multiplies them sequentially by adjustment coefficients. This enables unified and precise proportional adjustment of multiple independent control dimensions of the light source, achieving refined dynamic matching between control commands and thermal states, thus improving the adaptability and accuracy of control. By comparing each preliminary adjustment sub-parameter with a preset safe operating range and forcibly replacing parameters exceeding the range with the corresponding safe boundary values, a rigid parameter safety clamping mechanism is established. This ensures that the control parameters generated under any calculation or configuration condition do not exceed the safety tolerance limits of the device and system, thereby greatly enhancing the reliability of control and the self-protection capability of the system.

[0046] In some embodiments, the step of converting the target control parameters according to a preset control instruction protocol to generate a heat dissipation control instruction includes: Read the instruction structure template in the preset control instruction protocol; The target control parameters are parsed based on the instruction structure template to identify the values ​​of the control parameters to be encoded. Specifically, the process sequentially accesses each parameter field description defined in the instruction structure template. For the current field description, the corresponding raw value is located and extracted from the composite structure of the target control parameter based on the parameter identifier or sequential index specified in the field description. For example, if the template field description is Field 1: Output Current, a 16-bit unsigned integer, the corresponding member value is extracted from the target control parameter. Next, the data type of the extracted raw value is compared with the data type required by the template field, and necessary conversions are performed. If the raw value is an integer while the template requires a fixed-point number, scaling and type conversion are required; if the template specifies a particular unit, corresponding conversions are performed. This conversion process generates a scalar that is ready in terms of both numerical value and data type; this scalar is the control parameter value to be encoded. All fields in the template data field are traversed. All identified and converted control parameter values ​​to be encoded are temporarily stored sequentially in a list or array.

[0047] The control parameter values ​​to be encoded are sequentially filled into the instruction structure template to generate the initial control instruction; Specifically, a byte array buffer is first allocated in memory to hold the final instructions. Based on the instruction structure template, writing is performed starting from the beginning of the buffer, following the order of fields. For non-data fields (such as fixed frame headers, device addresses, and command codes), predefined constant byte patterns from the template are written to the corresponding positions in the buffer. When processing a data field, the first value is sequentially retrieved from the list of control parameter values ​​to be encoded. According to the detailed specifications of the corresponding data field in the template (including byte length, byte order, and whether it is a signed number), the control parameter value is converted into an exact binary byte sequence. For example, a 16-bit unsigned integer with a value of 500 is converted to the byte sequence 0x01F4 in big-endian. After conversion, this byte sequence is continuously written to the current data field write pointer in the buffer. The write pointer then moves forward by the length of the field, preparing to receive the next value. This process is repeated until all control parameter values ​​to be encoded in the list have been converted and written to the corresponding positions in the data fields of the buffer. After all data fields are filled, blank space is reserved in the buffer (usually at the end of the instruction) according to the template for subsequent checksums. At this point, the complete byte sequence stored in the buffer constitutes an initial control instruction.

[0048] The initial control command is subjected to integrity verification according to the command verification rules in the preset control command protocol to obtain the heat dissipation control command.

[0049] Specifically, according to the instruction verification rules, all bytes within the specified range of the initial control instruction are read and fed into the specified verification algorithm for calculation, generating a verification result value, such as a 16-bit CRC code. Based on the instruction verification rules, this verification result value is converted according to the required format (e.g., two bytes, little byte first) and written to the reserved checksum field in the initial control instruction buffer. The verification value is recalculated for the complete instruction frame with the attached checksum and compared with the checksum carried in the frame. Finally, the memory buffer contains a heat dissipation control instruction that includes valid control parameters, conforms to the communication frame structure, and is accompanied by an integrity checksum.

[0050] The method provided in this embodiment provides a precise format blueprint for the conversion of target control parameters by reading the structure template in the preset instruction protocol. This ensures that the generated instructions strictly adhere to the underlying communication specifications in terms of data structure, thereby guaranteeing reliable compatibility and interoperability between the control unit and various types of light source driver devices. Based on this template, the target control parameters are parsed in format, accurately identifying and extracting the parameter values ​​to be encoded that meet the requirements of each protocol field. This achieves an unambiguous mapping from the internal data structure to the communication byte stream, avoiding control deviations caused by inconsistent data interpretation. By sequentially filling the parameter values ​​to be encoded into the instruction template to generate the initial control instruction, this process systematically assembles the discrete control parameters into a structurally rigorous communication message, ensuring that the control intent is completely and orderly encapsulated and ready for transmission.

[0051] Reference Figure 2 As shown, the present invention also provides a heat dissipation control system for a detection light source, applied to the heat dissipation control method for the detection light source described in any one of the above claims, comprising: The acquisition module is used to collect the substrate temperature and operating parameters of the detection light source in real time, and calculate the junction temperature based on the substrate temperature and the operating parameters to obtain the junction temperature of the light source. The analysis module is used to perform interval matching between the junction temperature of the light source and a preset temperature range set to generate a temperature status identifier. The processing module is used to acquire the characteristic information of the detection light source and perform heat dissipation parameter analysis on the characteristic information based on the temperature status identifier to generate target control parameters; wherein, the characteristic information is a data set containing light source attribute information and control configuration information; The association module is used to convert the target control parameters into instructions according to a preset control instruction protocol in order to generate heat dissipation control instructions.

[0052] Reference Figure 3 As shown, the present invention also provides a heat dissipation control device for detecting a light source, comprising: Memory, used to store programs; A processor is configured to execute the program to implement the steps of a heat dissipation control method for a detection light source as described in any of the preceding claims.

[0053] In this embodiment, the processor and memory can be connected via a bus or other means. The memory may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as read-only memory, flash memory, hard disk, or solid-state drive. The processor may be a general-purpose processor, such as a central processing unit, digital signal processor, application-specific integrated circuit, or one or more integrated circuits configured to implement embodiments of the present invention.

[0054] The present invention also provides a storage medium storing computer instructions for causing a computer to perform any of the methods described above.

[0055] It should be noted that those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the system and each module described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0056] The above description is only a preferred embodiment of the present invention and does not limit the patent scope of the present invention. Any equivalent structural or procedural transformations made based on the content of the present invention specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of the present invention.

Claims

1. A method for controlling the heat dissipation of a detection light source, characterized in that, include: The substrate temperature and operating parameters of the light source are collected in real time, and the junction temperature is calculated based on the substrate temperature and the operating parameters to obtain the junction temperature of the light source. The junction temperature of the light source is matched with a preset temperature range set to generate a temperature status identifier. The characteristic information of the detection light source is obtained, and the heat dissipation parameters are analyzed based on the temperature status identifier to generate target control parameters; wherein, the characteristic information is a data set containing light source attribute information and control configuration information. The target control parameters are converted into commands according to a preset control command protocol to generate heat dissipation control commands.

2. The heat dissipation control method for the detection light source according to claim 1, characterized in that, The calculation of the junction temperature based on the substrate temperature and the operating parameters to obtain the light source junction temperature includes: Extract the real-time operating current and real-time operating voltage of the detection light source from the operating parameters; Multiply the real-time operating current by the real-time operating voltage to obtain the real-time electrical power; The thermal resistance coefficient corresponding to the real-time operating current is matched from the preset light source characteristic table, and the real-time electric power is multiplied by the thermal resistance coefficient to calculate the real-time temperature rise of the light source; The junction temperature of the light source is obtained by calculating the junction temperature of the substrate and the real-time temperature rise of the light source.

3. The heat dissipation control method for the detection light source according to claim 1, characterized in that, The step of matching the junction temperature of the light source with a preset temperature range set to generate a temperature status identifier includes: Read each temperature threshold interval from the preset temperature interval set, wherein each temperature threshold interval is associated with a status identifier; In each of the temperature threshold intervals, the target temperature threshold interval to which the junction temperature of the light source belongs is determined, and the status identifier corresponding to the target temperature threshold interval is determined as the temperature status identifier.

4. The heat dissipation control method for the detection light source according to claim 1, characterized in that, The process of acquiring the characteristic information of the detection light source and performing heat dissipation parameter analysis on the characteristic information based on the temperature state identifier to obtain the target control parameters includes: Read the operating mode table and the driving baseline parameters associated with the operating mode table from the characteristic information; The temperature status identifier is matched with the working mode table to obtain candidate working modes; Based on the candidate operating mode, the corresponding driving reference parameters are read from the characteristic information, and the corresponding adjustment coefficient is found from the pre-stored correction coefficient table according to the temperature status identifier; The target control parameters are obtained by adjusting the driving reference parameters and the adjustment coefficients.

5. The heat dissipation control method for the detection light source according to claim 4, characterized in that, The step of looking up the corresponding adjustment coefficient from the pre-stored correction coefficient table based on the temperature status identifier includes: Obtain multiple coefficient entries from the pre-stored correction coefficient table, each coefficient entry being associated with a status identifier field and a correction coefficient; The temperature status identifier is matched one by one with the status identifier field of each coefficient entry; When there is a status identifier field that is exactly the same as the temperature status identifier, the correction coefficient corresponding to the status identifier field is set as the adjustment coefficient; When no status identifier field is exactly the same as the temperature status identifier, the default coefficient in the correction coefficient table is set as the adjustment coefficient.

6. The heat dissipation control method for the detection light source according to claim 4, characterized in that, The step of adjusting the driving reference parameters and the adjustment coefficient to obtain the target control parameters includes... Extract all driving sub-parameters from the driving reference parameters, and multiply the adjustment coefficient by each driving sub-parameter in sequence to obtain preliminary adjustment sub-parameters; Determine whether the preliminary adjustment sub-parameters exceed the preset safe operating range; If the initial adjustment sub-parameter is not exceeded, the target sub-parameter will be determined. If the value exceeds the limit, the safety boundary value of the driving sub-parameter is converted into the target sub-parameter. All the target sub-parameters are integrated according to a predetermined control parameter format to generate the target control parameters.

7. The heat dissipation control method for the detection light source according to claim 1, characterized in that, The step of converting the target control parameters according to a preset control command protocol to generate heat dissipation control commands includes: Read the instruction structure template in the preset control instruction protocol; The target control parameters are parsed based on the instruction structure template to identify the values ​​of the control parameters to be encoded. The control parameter values ​​to be encoded are sequentially filled into the instruction structure template to generate the initial control instruction; The initial control command is subjected to integrity verification according to the command verification rules in the preset control command protocol to obtain the heat dissipation control command.

8. A heat dissipation control system for detecting a light source, characterized in that, The heat dissipation control method for the detection light source according to any one of claims 1-7 includes: The acquisition module is used to collect the substrate temperature and operating parameters of the detection light source in real time, and calculate the junction temperature based on the substrate temperature and the operating parameters to obtain the junction temperature of the light source. The analysis module is used to perform interval matching between the junction temperature of the light source and a preset temperature range set to generate a temperature status identifier. The processing module is used to acquire the characteristic information of the detection light source and perform heat dissipation parameter analysis on the characteristic information based on the temperature status identifier to generate target control parameters; wherein, the characteristic information is a data set containing light source attribute information and control configuration information; The association module is used to convert the target control parameters into instructions according to a preset control instruction protocol in order to generate heat dissipation control instructions.

9. A heat dissipation control device for detecting a light source, characterized in that, include: Memory, used to store programs; A processor is configured to execute the program to implement the various steps of the heat dissipation control method for a detection light source as described in any one of claims 1-7.

10. A storage medium, characterized in that, The computer contains computer instructions for causing the computer to perform the method according to any one of claims 1 to 7.