Intelligent infrared light source driver and driving control method

By employing a microprocessor-based intelligent infrared light source driver, combined with constant current and constant voltage driving, the problem of low reliability in infrared light source driving is solved, achieving extended light source lifespan and stable radiation power, making it suitable for driving and controlling infrared light sources.

CN121152093BActive Publication Date: 2026-04-21SHENZHEN MEISI XIANRUI ELECTRONICS CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SHENZHEN MEISI XIANRUI ELECTRONICS CO LTD
Filing Date
2025-11-19
Publication Date
2026-04-21

AI Technical Summary

Technical Problem

Existing infrared light source driving control methods suffer from low driving reliability, especially the generation of inrush current during startup, which affects the lifespan of the light source and the stability of the radiated infrared spectral power.

Method used

A drive control method is adopted, in which the microprocessor in the intelligent infrared light source driver receives the start command, sets the initial start parameters and generates the voltage output signal, acquires the voltage sampling signal in real time, and judges whether the start time exceeds the threshold. If it does not exceed the threshold, the parameters are updated; if it exceeds the threshold, the stable working parameters are set. The constant current and constant voltage drive are combined to optimize the lifespan and radiation power of the light source.

Benefits of technology

By combining constant current drive and constant voltage drive, the lifespan of the infrared light source is significantly improved, while ensuring that the infrared spectral power quickly enters a steady-state working state, avoiding the inrush current during startup, extending the lifespan of the light source and maintaining the stability of the radiation power.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121152093B_ABST
    Figure CN121152093B_ABST
Patent Text Reader

Abstract

This invention discloses an intelligent infrared light source driver and driving control method. The method includes: upon receiving a start command, setting corresponding initial start parameters and generating a corresponding voltage output signal to output to a voltage signal input terminal; acquiring a voltage sampling signal collected in real time by a voltage sampling terminal; determining whether the interval between receiving the start command and the start command exceeds a preset start duration threshold; if the start duration threshold is not exceeded, updating the initial start parameters according to the voltage sampling signal and returning to the step of generating the voltage output signal; if the start duration threshold is exceeded, setting corresponding stable operating parameters according to a power setting strategy; and generating a corresponding voltage output signal based on the voltage sampling signal and the stable operating parameters and outputting it to the voltage signal input terminal. This method, by combining constant current driving and constant voltage driving, greatly improves the lifespan of the light source while ensuring that the radiated infrared spectral power quickly enters a steady-state operating state.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of circuit control technology, and in particular to an intelligent infrared light source driver and driving control method. Background Technology

[0002] Infrared light sources are one of the core components of gas measurement equipment based on the principle of infrared absorption. The main types of infrared light sources include MEMS, tungsten filament, and laser types. The lifespan of infrared light sources is typically 10,000 to 50,000 hours. In applications, reducing the driving power is often used to extend the lifespan of the light source. The first two types of light sources are characterized by low internal resistance when cold and high internal resistance when hot. Furthermore, as the operating time increases, the internal resistance of the light source gradually increases due to changes in the internal materials, which also affects the infrared spectral power emitted. Therefore, the design of the light source driver plays a crucial role in extending the lifespan and improving the stability of the light source.

[0003] There are three main driving methods for infrared light sources: constant voltage, constant power, and constant current. Among them, the constant voltage driving circuit and control method are the simplest. According to Ohm's law I=U / R, when the light source is turned on, due to the low internal resistance R in the cold state, the constant voltage driven light source will generate a large starting inrush current, which is much higher than the rated current of the light source. During the modulation process of long-term use of the light source, the lifespan of the light source will be greatly reduced. At the same time, during long-term operation, as the internal resistance of the light source increases, the emitted infrared spectral power will gradually decrease.

[0004] The constant power drive circuit is the most complex. CN202510895701.4 discloses a constant power drive method for a light source, a light source driver, and an air conditioning system. This method employs a constant power drive approach, adjusting the drive voltage in real time through dynamic hardware feedback of voltage and current to achieve constant power output. While this method ensures long-term stability of the radiated infrared spectral power, according to the power calculation formula P=I... 2 With constant power, the internal resistance R is small in the cold state, so the current I needs to maintain a high output; therefore, it is still impossible to avoid the inrush current generated when the light source is turned on, which leads to a decrease in the life of the light source.

[0005] The circuit complexity of constant current drive falls between that of constant voltage and constant power drives. When the light source is turned on, the current is unaffected by the cold-state resistance, preventing inrush current and significantly extending the light source's lifespan. However, during long-term operation, the infrared spectral power emitted gradually increases as the internal resistance of the light source rises. While constant current drive does not generate inrush current at the moment the light source is turned on, the instantaneous power at startup is also low, preventing the light source from quickly reaching a steady state. Therefore, this type of drive circuit is only suitable for applications requiring low modulation frequencies for infrared light sources. Consequently, existing methods for driving and controlling infrared light sources suffer from low drive reliability. Summary of the Invention

[0006] This invention provides a driving control method and device, which aims to solve the problem of low driving reliability in existing methods for driving and controlling infrared light sources.

[0007] In a first aspect, embodiments of the present invention provide a drive control method, wherein the method is applied to a microprocessor of an intelligent infrared light source driver, the microprocessor being electrically connected to a voltage signal input terminal and a voltage sampling terminal configured in the intelligent infrared light source driver; the method includes:

[0008] Receive the start command and set the corresponding initial start parameters according to the preset power setting strategy;

[0009] Generate a corresponding voltage output signal based on the initial startup parameters and output it to the voltage signal input terminal;

[0010] Obtain the voltage sampling signal acquired in real time by the voltage sampling terminal;

[0011] Determine whether the interval between the time of receiving the start command and the time of receiving the start command exceeds a preset start duration threshold;

[0012] If the interval time does not exceed the startup duration threshold, the initial startup parameters are updated according to the voltage sampling signal, and the process returns to the step of generating the corresponding voltage output signal according to the initial startup parameters and outputting it to the voltage signal input terminal.

[0013] If the interval exceeds the startup duration threshold, the corresponding stable operating parameters are set according to the power setting strategy.

[0014] A corresponding voltage output signal is generated based on the voltage sampling signal and the stable operating parameters, and then output to the voltage signal input terminal.

[0015] Secondly, embodiments of the present invention also provide an intelligent infrared light source driver, wherein the intelligent infrared light source driver includes a microprocessor, a voltage input circuit, and a drive control circuit;

[0016] The microprocessor is a mixed-signal microprocessor that integrates a first digital-to-analog converter and a second digital-to-analog converter.

[0017] The output terminal of the voltage input circuit serves as the voltage sampling terminal; the positive input terminal of the drive control circuit serves as the voltage signal input terminal; the analog signal input terminal of the first digital-to-analog converter is electrically connected to the voltage sampling terminal; the analog signal output terminal of the second digital-to-analog converter is electrically connected to the voltage signal input terminal.

[0018] The two input terminals of the voltage input circuit are respectively connected to the two poles of the infrared light source, and the negative pole of the infrared light source is connected to the drive control terminal of the drive control circuit.

[0019] The microprocessor is used to execute the drive control method as described in the first aspect above.

[0020] Thirdly, embodiments of the present invention also provide an intelligent infrared light source driver, wherein the intelligent infrared light source driver includes a microprocessor, a first external digital-to-analog converter, a second external digital-to-analog converter, a voltage input circuit, and a drive control circuit;

[0021] The output terminal of the voltage input circuit serves as the voltage sampling terminal; the positive input terminal of the drive control circuit serves as the voltage signal input terminal; the analog signal input terminal of the first external digital-to-analog converter is electrically connected to the voltage sampling terminal, and the digital signal output terminal of the first external digital-to-analog converter is electrically connected to one pin of the microprocessor; the analog signal output terminal of the second external digital-to-analog converter is electrically connected to the voltage signal input terminal, and the digital signal input terminal of the second external digital-to-analog converter is electrically connected to another pin of the microprocessor;

[0022] The two input terminals of the voltage input circuit are respectively connected to the two poles of the infrared light source, and the negative pole of the infrared light source is connected to the drive control terminal of the drive control circuit.

[0023] The microprocessor is used to execute the drive control method as described in the first aspect above.

[0024] Fourthly, embodiments of the present invention also provide an intelligent infrared light source driver, wherein the intelligent infrared light source driver includes a microprocessor, an external digital-to-analog converter, a voltage input circuit, and a drive control circuit;

[0025] The microprocessor is a digital processor with an integrated digital-to-analog converter.

[0026] The output terminal of the voltage input circuit serves as the voltage sampling terminal; the positive input terminal of the drive control circuit serves as the voltage signal input terminal; the analog signal input terminal of the external digital-to-analog converter is electrically connected to the voltage sampling terminal; the analog signal output terminal of the external digital-to-analog converter is electrically connected to the voltage signal input terminal; and the digital signal input terminal of the external digital-to-analog converter is electrically connected to a pin of the microprocessor.

[0027] The two input terminals of the voltage input circuit are respectively connected to the two poles of the infrared light source, and the negative pole of the infrared light source is connected to the drive control terminal of the drive control circuit.

[0028] The microprocessor is used to execute the drive control method as described in the first aspect above.

[0029] This invention provides an intelligent infrared light source driver and driving control method. The method includes: receiving a start command, setting corresponding initial start parameters, and generating a corresponding voltage output signal to output to a voltage signal input terminal; acquiring a voltage sampling signal collected in real time by a voltage sampling terminal; determining whether the interval between receiving the start command and the start command exceeds a preset start duration threshold; if the start duration threshold is not exceeded, updating the initial start parameters according to the voltage sampling signal and returning to the step of generating the voltage output signal; if the start duration threshold is exceeded, setting corresponding stable operating parameters according to a power setting strategy; generating a corresponding voltage output signal according to the voltage sampling signal and the stable operating parameters and outputting it to the voltage signal input terminal. This method, by combining constant current driving and constant voltage driving, greatly improves the lifespan of the light source while ensuring that the radiated infrared spectral power quickly enters a steady-state operating state. Attached Figure Description

[0030] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the following description of the embodiments will be briefly introduced. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0031] Figure 1 A flowchart of the drive control method provided in an embodiment of the present invention;

[0032] Figure 2 This is a schematic diagram illustrating an application scenario of the drive control method provided in an embodiment of the present invention;

[0033] Figure 3 The circuit structure diagram of the intelligent infrared light source driver provided in the embodiment of the present invention;

[0034] Figure 4 Another circuit structure diagram of the intelligent infrared light source driver provided in an embodiment of the present invention;

[0035] Figure 5 Another circuit structure diagram of the intelligent infrared light source driver provided in the embodiment of the present invention;

[0036] Figure 6 A device structure diagram of a microprocessor provided in an embodiment of the present invention;

[0037] Figure 7 This is a schematic block diagram of a computer device provided in an embodiment of the present invention.

[0038] Figure labels: 202, Microprocessor; 301, Mixed-signal microprocessor; 304, First digital-to-analog converter; 305, Second digital-to-analog converter; 302, Voltage input circuit; 303, Drive control circuit; IR1, Infrared light source; R1, First resistor; R2, Second resistor; R3, Third resistor; R4, Fourth resistor; U1, First operational amplifier; R5, Fifth resistor; R6, Current sampling resistor; U2, Second operational amplifier; Q1, Field-effect transistor; 402, First external digital-to-analog converter; 403, Second external digital-to-analog converter; 502, Integrated digital-to-analog converter; 501, Digital processor; 503, External digital-to-analog converter. Detailed Implementation

[0039] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0040] It should be understood that, when used in this specification and the appended claims, the terms "comprising" and "including" indicate the presence of the described features, integrals, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or collections thereof.

[0041] It should also be understood that the terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the invention. As used in this specification and the appended claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms unless the context clearly indicates otherwise.

[0042] It should also be further understood that the term "and / or" as used in this specification and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.

[0043] Please see Figure 1 As shown in the figure, an embodiment of this invention provides a drive control method. This method is applied in a microprocessor and is executed by application software installed in the microprocessor, such as... Figure 2As shown, the microprocessor 202 is electrically connected to the voltage signal input terminal and voltage sampling terminal configured in the intelligent infrared light source driver; wherein, one end of the voltage input circuit 302 is connected to the infrared light source IR1, and the other end is used for voltage sampling, and one end of the drive control circuit 303 is connected to the infrared light source IR1, and the other end is used as the voltage signal input terminal. The microprocessor 202 can be a component with data processing and instruction transmission and reception functions, such as an MCU chip or an FPGA chip.

[0044] like Figure 1 As shown, the method includes steps S110 to S170.

[0045] S110: Receive the start command and set the corresponding initial start parameters according to the preset power setting strategy.

[0046] The microprocessor can receive start commands input by the user or from other components (such as buttons). After receiving a start command, it can set the initial start parameters according to the pre-configured power setting strategy. The initial start parameters are only applicable during the start-up phase of the infrared light source. Specifically, the power setting strategy includes start-up power, initial voltage, operating power, and power adjustment rules.

[0047] Since a voltage sampling signal cannot be acquired through the voltage sampling terminal before power-on, a fixed initial voltage needs to be preset in the power setting strategy. The starting power and initial voltage in the power setting strategy can then be directly obtained as the initial starting parameters. The power setting strategy can also include a power coefficient, which can be multiplied by the operating power to obtain the starting power. The corresponding initial starting parameters are then set based on the calculated starting power and the initial voltage in the power setting strategy.

[0048] For example, if the operating power is P0 and the power factor is 0.5, then the starting power P can be determined. q It is 0.5 × P0.

[0049] S120. Generate a corresponding voltage output signal according to the initial startup parameters and output it to the voltage signal input terminal.

[0050] A corresponding voltage output signal is generated based on the initial startup parameters, and this voltage output signal is output to the voltage signal input terminal. The voltage output signal can be an analog signal.

[0051] In a specific embodiment, step S120 includes the following sub-steps: obtaining the corresponding starting current value based on the starting power and initial voltage in the initial starting parameters; multiplying the sampling resistor value in the initial starting parameters by the starting current value to obtain the corresponding voltage value, which is then output as the corresponding voltage output signal to the voltage signal input terminal.

[0052] Specifically, the starting current value can be obtained from the starting power and initial voltage in the initial starting parameters, then the starting current value I... q =P q / V c Among them, V c This is the initial voltage.

[0053] Further, based on the sampling resistor value in the initial startup parameters, the sampling resistor value is multiplied by the startup current value to obtain a voltage value. Based on this voltage value, a corresponding voltage output signal can be generated and output. Specifically, V out =R6×I q R6 is the sampling resistor value.

[0054] S130. Obtain the voltage sampling signal collected in real time by the voltage sampling terminal.

[0055] When a voltage output signal is generated, the infrared light source is powered on. At this time, the real-time voltage sampling signal can be obtained through the voltage sampling terminal. The voltage sampling signal is the actual voltage signal of the light source measured. The voltage sampling signal is an analog signal, which can be converted into a digital signal for subsequent processing.

[0056] In a specific embodiment, after step S130, the method further includes the following steps: parsing the voltage sampling signal and the voltage output signal according to a preset resistance value parsing strategy to obtain the current light source resistance value; determining whether the current light source resistance value is within a preset normal state range; if the current light source resistance value is within the normal state range, performing the step of determining whether the interval between the time of receiving the start command and the time of receiving the start command exceeds a preset start duration threshold.

[0057] The voltage sampling signal and voltage output signal are analyzed according to a pre-set resistance value analysis strategy to obtain the current light source resistance value. The resistance value analysis strategy includes an analytical expression, which can be represented as:

[0058] (1);

[0059] Among them, R c V represents the current resistance of the light source. in V represents the input voltage value corresponding to the voltage sampling signal. out R1 represents the voltage value corresponding to the voltage output signal, and R6 represents the sampling resistor value.

[0060] Further determine whether the current light source resistance is within a preset normal state range, which is based on the typical steady-state resistance value R. sThe corresponding configuration is made. For example, if the interval coefficient value corresponding to the normal state interval is [0.9, 1.1), then based on this interval coefficient value, the normal state interval can be determined to be [0.9R]. s , 1.1R s ) .

[0061] If the current light source resistance is within the normal range, then proceed with the next step, namely step S140.

[0062] In a specific embodiment, after determining whether the current light source resistance value is within a preset normal state range, the method further includes: if the current light source resistance value is not within the normal state range, determining whether the current light source resistance value is within a preset fault state range; if the current light source resistance value is within the fault state range, generating an alarm message indicating a light source fault; if the current light source resistance value is not within the fault state range, generating a warning message indicating that the light source lifespan is nearing its end.

[0063] If the current light source resistance is not within the normal operating range, then it is further determined whether the current light source resistance is within the pre-set fault operating range. The fault operating range can also be based on the typical steady-state resistance value R. s Configure accordingly; for example, if the interval coefficient values ​​of the fault state interval are [0, 0.9) and (1.2, +∞), then the fault state interval can be determined as [0, 0.9R] based on these interval coefficient values. s ) and (1.2R s , +∞).

[0064] If the current light source resistance is within the fault state range, it can be determined that the infrared light source is faulty, and an alarm message indicating the light source fault will be generated. If the current light source resistance is not within the fault state range, it can be determined that the current light source resistance is nearing the end of its lifespan, and an early warning message indicating that the light source lifespan is nearing the end of its lifespan will be generated.

[0065] S140. Determine whether the interval between the time of receiving the start command and the time of receiving the start command exceeds a preset start duration threshold.

[0066] After acquiring the voltage sampling signal, the interval between the received time of the start command and the current time is further obtained, and it is determined whether this interval exceeds the preset start duration threshold. The start duration threshold corresponds to the duration of the infrared light source start-up phase. For example, the start duration threshold can be set to 200ms (milliseconds).

[0067] S150. If the interval time does not exceed the startup duration threshold, update the initial startup parameters according to the voltage sampling signal, and return to the step of generating the corresponding voltage output signal according to the initial startup parameters and outputting it to the voltage signal input terminal.

[0068] If the interval does not exceed the startup duration threshold, it indicates that the infrared light source is still in the startup phase. The initial startup parameters are updated based on the acquired voltage sampling signal, and step S120 is executed again based on the updated initial startup parameters.

[0069] In a specific embodiment, step S150 includes the following sub-steps: acquiring the input voltage value corresponding to the voltage sampling signal; and updating the initial voltage set in the initial startup parameters according to the input voltage value.

[0070] Specifically, the acquired voltage sampling signal can be analyzed to obtain the voltage value corresponding to the voltage sampling signal as the input voltage value. Based on this input voltage value, the initial voltage set in the initial startup parameters can be updated. That is, the initial voltage in the initial startup parameters can be updated to this input voltage value, thereby obtaining a new set of initial startup parameters.

[0071] S160. If the interval time exceeds the startup duration threshold, set the corresponding stable operating parameters according to the power setting strategy.

[0072] If the interval exceeds the startup duration threshold, it indicates that the infrared light source has passed the startup phase and is about to enter the stable operation phase. The corresponding stable operation parameters can be set according to the power setting strategy.

[0073] In a specific embodiment, the operating power in the power setting strategy can be obtained, and the startup power in the initial startup parameters can be replaced with the operating power based on the operating power to generate stable operating parameters. The infrared light source can be driven and controlled during the stable operating phase based on the stable operating parameters.

[0074] In a specific embodiment, step S160 includes the sub-step: adjusting the startup power in the current initial startup parameters according to the power adjustment rules in the power setting strategy to obtain the corresponding stable operating parameters.

[0075] Furthermore, the starting power in the current initial starting parameters can be adjusted based on the power adjustment rules to obtain stable operating parameters. To avoid voltage jumps and current surges caused by directly replacing the operating power with the starting power, the starting power can be slowly adjusted according to the power adjustment rules to eventually reach the operating power; thus, slowly adjusting based on the starting power can further extend the service life of the infrared light source.

[0076] In a specific embodiment, adjusting the startup power in the current initial startup parameters according to the power adjustment rules in the power setting strategy to obtain the corresponding stable operating parameters includes: determining whether the interval time exceeds the adjustment time threshold set in the power adjustment rules; if the interval time does not exceed the adjustment time threshold, calculating a power adjustment value based on the interval time and the adjustment rate in the power adjustment rules; adjusting the startup power in the current initial startup parameters according to the power adjustment value to obtain the corresponding stable operating parameters; if the interval time exceeds the adjustment time threshold, resetting the stable operating parameters according to the operating power in the power adjustment rules to obtain a new stable operating power.

[0077] Determine whether the detection time exceeds the adjustment time threshold set in the power adjustment rules, such as 100ms or 300ms. If it exceeds the adjustment time threshold, it indicates that the infrared light source has passed the power adjustment period. The stable operating parameters are then reset directly according to the operating power in the power adjustment rules (stable operating parameters can be obtained once the power adjustment period begins, so after the power adjustment period, the adjustment must be made to the subsequently obtained stable operating parameters, not the initial startup parameters). That is, the power value in the current stable operating parameters is adjusted to the operating power to obtain a new stable operating power.

[0078] If the adjustment time threshold is not exceeded, it indicates that the infrared light source is still in the power adjustment period. At this time, the power adjustment value can be calculated according to the time interval and the adjustment rate in the power adjustment rules. For example, the power adjustment value can be obtained based on the following formula:

[0079] (2);

[0080] Among them, P t Here, k is the power adjustment value, k is the adjustment rate (e.g., k=0.5); t1 is the interval time, t0 is the start-up duration threshold, and t... r To adjust the time threshold, P0 is the operating power.

[0081] The starting power in the initial starting parameters is adjusted based on the obtained power adjustment value. That is, the starting power is added to the power adjustment value to obtain the corresponding adjusted power, and the stable operating parameters are configured based on the adjusted power.

[0082] S170. Generate a corresponding voltage output signal based on the voltage sampling signal and the stable operating parameters, and output it to the voltage signal input terminal.

[0083] Furthermore, based on the currently acquired voltage sampling signal and stable operating parameters, a corresponding voltage output signal is generated and output to the voltage signal input terminal. Then, the current value I is determined by the current value corresponding to the voltage sampling signal and the power value (adjustment power or operating power) in the stable operating parameters. d =P d / V in ;P d To stabilize the power value in the operating parameters, V in The voltage is the current value corresponding to the currently acquired voltage sampling signal; based on this current value and the sampling resistor value in the stable operating parameters, a voltage value V is determined. out =R6×I d Based on this voltage value, a corresponding voltage output signal can be generated and output.

[0084] The drive control method disclosed in the above embodiments includes: upon receiving a start command, setting corresponding initial start parameters and generating a corresponding voltage output signal to output to a voltage signal input terminal; acquiring a voltage sampling signal collected in real time by a voltage sampling terminal; determining whether the interval between receiving the start command and the actual start command exceeds a preset start duration threshold; if the start duration threshold is not exceeded, updating the initial start parameters according to the voltage sampling signal and returning to the step of generating the voltage output signal; if the start duration threshold is exceeded, setting corresponding stable operating parameters according to a power setting strategy; generating a corresponding voltage output signal based on the voltage sampling signal and the stable operating parameters and outputting it to the voltage signal input terminal. This method, by combining constant current drive and constant voltage drive, greatly improves the lifespan of the light source while ensuring that the radiated infrared spectral power quickly enters a steady-state operating state.

[0085] This invention also provides an intelligent infrared light source driver, such as... Figure 3 As shown, the intelligent infrared light source driver includes a microprocessor 202, a voltage input circuit 302, and a drive control circuit 303. The microprocessor 202 is a mixed-signal microprocessor 301 that integrates a first digital-to-analog converter 304 and a second digital-to-analog converter 305. The output terminal of the voltage input circuit 302 serves as the voltage sampling terminal. The positive input terminal of the drive control circuit 303 serves as the voltage signal input terminal. The analog signal input terminal of the first digital-to-analog converter 304 is electrically connected to the voltage sampling terminal. The analog signal output terminal of the second digital-to-analog converter 305 is electrically connected to the voltage signal input terminal. The two input terminals of the voltage input circuit 302 are respectively connected to the two poles of the infrared light source IR1, and the negative pole of the infrared light source IR1 is connected to the drive control terminal of the drive control circuit 303. The microprocessor 202 is used to execute the drive control method as described in the above embodiment.

[0086] like Figure 3 As shown, the drive control circuit 303 converts the voltage signal into a constant current signal to drive the light source, and controls the infrared light source IR1 by turning the current source on and off. The drive control circuit 303 includes a voltage-to-current conversion circuit composed of a second operational amplifier, a field-effect transistor Q1, and a current sampling resistor R6. According to the virtual short principle of operational amplifiers, the input voltage at the + terminal of the second operational amplifier U2 should be equal to the input voltage at the - terminal at this time. The voltage at the + terminal of the second operational amplifier U2 is V. out (Output by the second digital-to-analog converter 305), its terminal voltage is equal to the product of the driving current I of the infrared light source IR1 and the resistance value of the current sampling resistor R6. The drive control circuit 303 also includes a fifth resistor R5.

[0087] The voltage input circuit 302 is a differential amplifier circuit composed of the first operational amplifier U1. The voltage input circuit 302 also includes a first resistor R1, a second resistor R2, a third resistor R3, and a fourth resistor R4. This circuit converts the voltage V from the infrared light source IR1... IR1 Remove common-mode voltage and V IR1 The voltage is stepped down to obtain the voltage sampling signal V. in The voltage sampling signal V in The output is sent to the first digital-to-analog converter 304 and digitally sampled.

[0088] Microprocessor 202 can employ, for example Figure 3 The circuit structure shown is implemented using a mixed-signal microprocessor 301 that integrates a first digital-to-analog converter 304 and a second digital-to-analog converter 305. This solution has a simple circuit and high integration.

[0089] This invention also provides an intelligent infrared light source driver, such as... Figure 4As shown, the intelligent infrared light source driver includes a microprocessor 202, a first external digital-to-analog converter 402, a second external digital-to-analog converter 403, a voltage input circuit 302, and a drive control circuit 303. The output terminal of the voltage input circuit 302 serves as the voltage sampling terminal; the positive input terminal of the drive control circuit 303 serves as the voltage signal input terminal; the analog signal input terminal of the first external digital-to-analog converter 402 is electrically connected to the voltage sampling terminal, and the digital signal output terminal of the first external digital-to-analog converter 402 is electrically connected to one pin of the microprocessor 202; the analog signal output terminal of the second external digital-to-analog converter 403 is electrically connected to the voltage signal input terminal, and the digital signal input terminal of the second external digital-to-analog converter 403 is electrically connected to another pin of the microprocessor 202; the two input terminals of the voltage input circuit 302 are respectively connected to the two poles of the infrared light source IR1, and the negative pole of the infrared light source IR1 is connected to the drive control terminal of the drive control circuit 303; the microprocessor 202 is used to execute the drive control method as described in the above embodiment.

[0090] The specific structures of the voltage input circuit 302 and the drive control circuit 303 are the same as those in the above embodiment; while the microprocessor 202 can adopt, for example... Figure 4 The circuit structure shown consists of discrete components: a microprocessor 202 (pure digital microprocessor 202), a first external digital-to-analog converter 402, and a second external digital-to-analog converter 403. This circuit is relatively complex, but it offers high flexibility.

[0091] This invention also provides an intelligent infrared light source driver, such as... Figure 5 As shown, the intelligent infrared light source driver includes a microprocessor 202, an external digital-to-analog converter 503, a voltage input circuit 302, and a drive control circuit 303. The microprocessor 202 is a digital processor 501 with an integrated digital-to-analog converter 502. The output terminal of the voltage input circuit 302 serves as the voltage sampling terminal. The positive input terminal of the drive control circuit 303 serves as the voltage signal input terminal. The analog signal input terminal of the external digital-to-analog converter 503 is electrically connected to the voltage sampling terminal. The analog signal output terminal of the external digital-to-analog converter 503 is electrically connected to the voltage signal input terminal, and the digital signal input terminal of the external digital-to-analog converter 503 is electrically connected to a pin of the microprocessor 202. The two input terminals of the voltage input circuit 302 are respectively connected to the two poles of the infrared light source IR1, and the negative pole of the infrared light source IR1 is connected to the drive control terminal of the drive control circuit 303. The microprocessor 202 is used to execute the drive control method described in the above embodiment.

[0092] The specific structures of the voltage input circuit 302 and the drive control circuit 303 are the same as those in the above embodiment; however, the microprocessor 202 may also employ, for example... Figure 5 The circuit structure shown adopts a semi-integrated solution consisting of a digital processor 501 that integrates an integrated digital-to-analog converter 502 and an external digital-to-analog converter 503. This solution has the characteristics of high integration and flexibility.

[0093] In a more specific embodiment, such as Figure 6 As shown, the microprocessor is configured with the following units: an initial startup parameter setting unit 110, used to receive a startup command and set corresponding initial startup parameters according to a preset power setting strategy; a first signal output unit 120, used to generate a corresponding voltage output signal according to the initial startup parameters and output it to the voltage signal input terminal; a voltage sampling signal acquisition unit 130, used to acquire the voltage sampling signal collected in real time by the voltage sampling terminal; an interval time judgment unit 140, used to determine whether the interval time between receiving the startup command and the initial startup command exceeds a preset startup duration threshold; an initial startup parameter update unit 150, used to update the initial startup parameters according to the voltage sampling signal if the interval time does not exceed the startup duration threshold, and return to execute the step of generating a corresponding voltage output signal according to the initial startup parameters and outputting it to the voltage signal input terminal; a stable operating parameter setting unit 160, used to set corresponding stable operating parameters according to the power setting strategy if the interval time exceeds the startup duration threshold; and a second signal output unit 170, used to generate a corresponding voltage output signal according to the voltage sampling signal and the stable operating parameters and output it to the voltage signal input terminal.

[0094] In the microprocessor application of the above-described drive control method provided in this embodiment of the invention, upon receiving a start command, corresponding initial start parameters are set, and a corresponding voltage output signal is generated and output to the voltage signal input terminal; the voltage sampling signal collected in real time by the voltage sampling terminal is acquired; it is determined whether the interval between the time of receiving the start command and the time of receiving the start command exceeds a preset start duration threshold; if the start duration threshold is not exceeded, the initial start parameters are updated according to the voltage sampling signal, and the step of generating the voltage output signal is returned; if the start duration threshold is exceeded, the corresponding stable operating parameters are set according to the power setting strategy; the corresponding voltage output signal is generated according to the voltage sampling signal and the stable operating parameters and output to the voltage signal input terminal. The above method, by combining constant current drive and constant voltage drive, greatly improves the lifespan of the light source while ensuring that the radiated infrared spectral power quickly enters a steady-state operating state.

[0095] The units configured within the aforementioned microprocessor can be implemented as computer programs, which can be used in, for example... Figure 7It runs on the computer device shown.

[0096] Please see Figure 7 , Figure 7 This is a schematic block diagram of a computer device provided in an embodiment of the present invention. The computer device may be a microprocessor used to execute a drive control method to drive and control an infrared light source.

[0097] See Figure 7 The computer device 500 includes a processor 502, a memory, and a communication interface 505 connected via a communication bus 501. The memory may include a storage medium 503 and internal memory 504.

[0098] The storage medium 503 may store an operating system 5031 and a computer program 5032. When the computer program 5032 is executed, it causes the processor 502 to execute a drive control method. The storage medium 503 may be a volatile storage medium or a non-volatile storage medium.

[0099] The processor 502 provides computing and control capabilities to support the operation of the entire computer device 500.

[0100] The internal memory 504 provides an environment for the operation of the computer program 5032 in the storage medium 503. When the computer program 5032 is executed by the processor 502, the processor 502 can execute the drive control method.

[0101] This communication interface 505 is used for network communication, such as providing data transmission. Those skilled in the art will understand that... Figure 7 The structure shown is merely a block diagram of a portion of the structure related to the present invention and does not constitute a limitation on the computer device 500 to which the present invention is applied. The specific computer device 500 may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0102] The processor 502 is used to run the computer program 5032 stored in the memory to implement the corresponding functions in the above-described drive control method.

[0103] Those skilled in the art will understand that Figure 7 The embodiments of the computer device shown do not constitute a limitation on the specific configuration of the computer device. In other embodiments, the computer device may include more or fewer components than illustrated, or combine certain components, or have different component arrangements. For example, in some embodiments, the computer device may include only memory and a processor. In such embodiments, the structure and function of the memory and processor are different from those shown. Figure 7 The embodiments shown are consistent and will not be described again here.

[0104] It should be understood that, in this embodiment of the invention, the processor 502 may be a Central Processing Unit (CPU), or it may be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor.

[0105] In another embodiment of the invention, a computer-readable storage medium is provided. This computer-readable storage medium may be volatile or non-volatile. The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps included in the drive control method described above.

[0106] Those skilled in the art will readily understand that, for the sake of convenience and brevity, the specific working processes of the devices, apparatuses, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this invention.

[0107] In the embodiments provided by this invention, it should be understood that the disclosed devices, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. Units with the same function may be grouped into one unit. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. In addition, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interfaces, devices, or units, or it may be an electrical, mechanical, or other form of connection.

[0108] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of the embodiments of the present invention, depending on actual needs.

[0109] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0110] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a computer-readable storage medium and includes several instructions to cause a computer device to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned computer-readable storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), magnetic disks, or optical disks.

[0111] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present invention, and these modifications or substitutions should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

1. A drive control method, characterized in that, The method is applied to a microprocessor in an intelligent infrared light source driver, wherein the microprocessor is electrically connected to a voltage signal input terminal and a voltage sampling terminal configured in the intelligent infrared light source driver, respectively; the method includes: Receive the start command and set the corresponding initial start parameters according to the preset power setting strategy; Generate a corresponding voltage output signal based on the initial startup parameters and output it to the voltage signal input terminal; Obtain the voltage sampling signal acquired in real time by the voltage sampling terminal; The voltage sampling signal and the voltage output signal are analyzed according to a preset resistance value analysis strategy to obtain the current light source resistance value; Determine whether the current light source resistance value is within a preset normal state range; If the current light source resistance is within the normal state range, determine whether the interval between the time of receiving the start command and the current time exceeds the preset start time threshold. If the interval time does not exceed the startup duration threshold, the initial startup parameters are updated according to the voltage sampling signal, and the process returns to the step of generating the corresponding voltage output signal according to the initial startup parameters and outputting it to the voltage signal input terminal. If the interval exceeds the startup duration threshold, the corresponding stable operating parameters are set according to the power setting strategy. A corresponding voltage output signal is generated based on the voltage sampling signal and the stable operating parameters, and then output to the voltage signal input terminal.

2. The drive control method according to claim 1, characterized in that, The step of generating a corresponding voltage output signal based on the initial startup parameters and outputting it to the voltage signal input terminal includes: The corresponding starting current value is obtained based on the starting power and initial voltage in the initial starting parameters; The voltage value is obtained by multiplying the sampling resistor value in the initial startup parameters by the startup current value, and then outputting the corresponding voltage output signal to the voltage signal input terminal.

3. The drive control method according to claim 2, characterized in that, After determining whether the current light source resistance value is within a preset normal range, the method further includes: If the current light source resistance value is not within the normal state range, determine whether the current light source resistance value is within the preset fault state range; If the current light source resistance value is within the fault state range, an alarm message indicating a light source fault is generated. If the current light source resistance value is not within the fault state range, a warning message indicating that the light source lifespan is nearing its end is generated.

4. The drive control method according to claim 1 or 2, characterized in that, The step of updating the initial startup parameters based on the voltage sampling signal includes: Obtain the input voltage value corresponding to the voltage sampling signal; The initial voltage set in the initial startup parameters is updated based on the input voltage value.

5. The drive control method according to claim 1 or 2, characterized in that, The step of setting the corresponding stable operating parameters according to the power setting strategy includes: The startup power in the current initial startup parameters is adjusted according to the power adjustment rules in the power setting strategy to obtain the corresponding stable operating parameters.

6. The drive control method according to claim 5, characterized in that, The step of adjusting the startup power in the current initial startup parameters according to the power adjustment rules in the power setting strategy to obtain the corresponding stable operating parameters includes: Determine whether the interval time exceeds the adjustment time threshold set in the power adjustment rule; If the interval time does not exceed the adjustment time threshold, the power adjustment value is calculated according to the interval time and the adjustment rate in the power adjustment rule. The starting power in the current initial starting parameters is adjusted according to the power adjustment value to obtain the corresponding stable operating parameters; If the interval exceeds the adjustment time threshold, the stable operating parameters are reset according to the operating power in the power adjustment rules to obtain a new stable operating power.

7. An intelligent infrared light source driver, characterized in that, The intelligent infrared light source driver includes a microprocessor, a voltage input circuit, and a drive control circuit. The microprocessor is a mixed-signal microprocessor that integrates a first digital-to-analog converter and a second digital-to-analog converter. The output terminal of the voltage input circuit serves as the voltage sampling terminal; the positive input terminal of the drive control circuit serves as the voltage signal input terminal; the analog signal input terminal of the first digital-to-analog converter is electrically connected to the voltage sampling terminal; the analog signal output terminal of the second digital-to-analog converter is electrically connected to the voltage signal input terminal. The two input terminals of the voltage input circuit are respectively connected to the two poles of the infrared light source, and the negative pole of the infrared light source is connected to the drive control terminal of the drive control circuit. The microprocessor is used to execute the drive control method as described in any one of claims 1-6.

8. A smart infrared light source driver, characterized in that, The intelligent infrared light source driver includes a microprocessor, a first external digital-to-analog converter, a second external digital-to-analog converter, a voltage input circuit, and a drive control circuit. The output terminal of the voltage input circuit serves as the voltage sampling terminal; the positive input terminal of the drive control circuit serves as the voltage signal input terminal; the analog signal input terminal of the first external digital-to-analog converter is electrically connected to the voltage sampling terminal, and the digital signal output terminal of the first external digital-to-analog converter is electrically connected to one pin of the microprocessor; the analog signal output terminal of the second external digital-to-analog converter is electrically connected to the voltage signal input terminal, and the digital signal input terminal of the second external digital-to-analog converter is electrically connected to another pin of the microprocessor; The two input terminals of the voltage input circuit are respectively connected to the two poles of the infrared light source, and the negative pole of the infrared light source is connected to the drive control terminal of the drive control circuit. The microprocessor is used to execute the drive control method as described in any one of claims 1-6.

9. A smart infrared light source driver, characterized in that, The intelligent infrared light source driver includes a microprocessor, an external digital-to-analog converter, a voltage input circuit, and a drive control circuit. The microprocessor is a digital processor with an integrated digital-to-analog converter. The output terminal of the voltage input circuit serves as the voltage sampling terminal; the positive input terminal of the drive control circuit serves as the voltage signal input terminal; the analog signal input terminal of the external digital-to-analog converter is electrically connected to the voltage sampling terminal; the analog signal output terminal of the external digital-to-analog converter is electrically connected to the voltage signal input terminal; and the digital signal input terminal of the external digital-to-analog converter is electrically connected to a pin of the microprocessor. The two input terminals of the voltage input circuit are respectively connected to the two poles of the infrared light source, and the negative pole of the infrared light source is connected to the drive control terminal of the drive control circuit. The microprocessor is used to execute the drive control method as described in any one of claims 1-6.

Citation Information

Patent Citations

  • Constant-power driving method of light source, light source driver and air conditioning system

    CN120568539A

  • LED start control circuit

    CN105307316A

  • Method and circuit for controlling power of infrared light source to be constant

    CN115866854A