Non-linear conversion system and method for voltage code value of temperature preserving lamp voltage regulating module
By establishing a voltage-power theoretical model and a temperature compensation model, and combining arcsine calibration and the CORDIC algorithm, the nonlinear conversion problem of voltage code value in the heat preservation lamp voltage regulation module was solved, achieving high-precision and low-cost voltage conversion that adapts to temperature changes and meets the requirements of precise adjustment across the entire range.
Patent Information
- Application Number
- CN202511163954.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-20
- Publication Date
- 2025-11-18
- Estimated Expiration
- 2045-08-20
AI Technical Summary
In the existing technology, the voltage code value conversion of the heat lamp voltage regulation module has problems such as nonlinear characteristic mismatch, significant temperature influence, insufficient range resolution and poor dynamic response. It cannot adapt to the linear characteristics and temperature changes of the heat lamp, resulting in large conversion error and low accuracy.
Employing a voltage acquisition module, a temperature sensing module, and a control module, nonlinear conversion is achieved by establishing a voltage-power theoretical model, a temperature compensation model, and arcsine calibration. Combined with the CORDIC algorithm for optimized calculation, high-precision AD code values are output.
It achieves high-precision nonlinear conversion, with conversion accuracy improved to within ±1.5%, dynamic response error controlled within ±2%, meets full-range precise adjustment, reduces hardware cost by 40%, and single conversion time ≤1ms.
Smart Images

Figure CN120676481B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of power electronic control, and specifically to a nonlinear conversion system and method for voltage code values of a heat preservation lamp voltage regulation module. Background Technology
[0002] In the voltage regulation control system of heat preservation lamps, 0-10V voltage signals are often used to control the output power of the heat preservation lamps. The system needs to convert this voltage signal into an AD code value in the range of 860-4096 to drive the actuator. Traditional linear conversion methods have the following problems:
[0003] 1. Nonlinear characteristic mismatch: The power of the heat lamp is related to the square of the voltage (i.e., P=V²), while linear conversion (such as AD=860+(4096-860)*V / 10) will cause the actual power to deviate from the control signal by ±8%-12%;
[0004] 2. Temperature has a significant impact: The resistance of the tungsten filament in the heat lamp changes with temperature, with a temperature coefficient of approximately 0.0045 / ℃. The resistance difference between the cold state (25℃) and the hot state (100℃) can reach more than 30%, further aggravating the conversion error.
[0005] 3. Insufficient range resolution: The linear conversion exhibits slow AD code value changes in the low voltage region (0-3V), with 323.6 codes per volt. In the high voltage region (7-10V), the adjustment sensitivity is excessive, which cannot meet the requirements for precise temperature control.
[0006] 4. Poor dynamic response: Traditional lookup table method requires a large amount of pre-stored calibration data, cannot adapt to changes in load characteristics in real time, and occupies a large amount of storage space.
[0007] Therefore, there is a need for a high-precision, low-cost, nonlinear conversion system and method for voltage code values of heat lamp voltage regulation modules that can adapt to the nonlinear characteristics and temperature changes of heat lamps. Summary of the Invention
[0008] The main objective of this invention is to provide a nonlinear conversion system and method for voltage code values of heat lamp voltage regulator modules, in order to solve the problem that the voltage code values of heat lamp voltage regulator modules in the prior art cannot adapt to the linear characteristics of heat lamps and temperature changes.
[0009] To achieve the above objectives, the present invention provides a nonlinear conversion system for voltage code values of a heat preservation lamp voltage regulation module, comprising: a voltage acquisition module, a temperature sensing module, a control module, and an output module. The voltage acquisition module and the temperature sensing module send the acquired information to the control module, the control module executes nonlinear conversion logic, and then the output module outputs the code value.
[0010] This invention also provides a nonlinear conversion method for voltage code values of a heat preservation lamp voltage regulation module, specifically including the following steps:
[0011] S1 acquires voltage signals and ambient temperature, filters and isolates the voltage signals, and converts them into digital quantities via an ADC.
[0012] S2. Establish a voltage-power theoretical model that conforms to the resistive load characteristics of the heat preservation lamp.
[0013] S3, correct the effect of resistance change on power, and establish a temperature compensation model.
[0014] S4, based on the square root relationship between power and voltage, will compensate for the power... Mapped to the AD code value range of 860-4096.
[0015] S5 performs arcsine calibration and outputs the AD code value.
[0016] Further, step S2 establishes a voltage-power theoretical model that conforms to the resistive load characteristics of the heat preservation lamp, specifically as follows:
[0017] ;
[0018] in, The rated power of the heat lamp, To control the voltage signal, This is the maximum control voltage.
[0019] Furthermore, step S3 corrects the effect of resistance change on power and establishes a temperature compensation model as follows:
[0020] ;
[0021] ;
[0022] in, This represents the resistance value after a temperature change. For reference temperature, It is a cold resistance. The temperature coefficient of resistance. This refers to the real-time temperature value of the heat source near the resistor of the heat lamp. To calculate the theoretical power value.
[0023] Furthermore, step S4, based on the square root relationship between power and voltage, calculates the compensated power... The AD code value range mapped to 860-4096 is as follows:
[0024] ;
[0025] in, These are the initial mapping values.
[0026] Furthermore, step S5 specifically includes the following steps:
[0027] S5.1, for the initial mapping value Normalization is performed:
[0028] ;
[0029] ;
[0030] in, This is the normalized mapping value.
[0031] S5.2, Calculate the arcsine value to compensate for the inherent nonlinear deviation of the system. :
[0032] .
[0033] S5.3, Map the angle value to the final AD code value. :
[0034] .
[0035] The present invention has the following beneficial effects:
[0036] 1. Targeted nonlinear compensation: This invention integrates the voltage-power square relationship with arcsine calibration to solve the inherent nonlinear characteristics of heat preservation lamps, improving the conversion accuracy from ±8%-12% of the traditional method to within ±1.5%;
[0037] 2. Real-time temperature adaptation: This invention introduces a temperature compensation model to dynamically correct power deviations caused by temperature changes, and controls the cold-to-hot transition error within ±2%.
[0038] 3. High resolution across the entire range: This invention improves the resolution of AD code values by 3 times (540 codes per volt) in the low voltage region (0-3V) and optimizes the sensitivity by 2 times in the high voltage region (7-10V) through square root mapping and arcsine calibration, thus meeting the requirements for precise adjustment across the entire range;
[0039] 4. Low cost and high efficiency: This invention uses the CORDIC algorithm to replace floating-point operations and is implemented on an 8-bit MCU, reducing hardware costs by 40% and the time for a single conversion is ≤1ms, meeting the requirements of real-time control.
[0040] 5. High versatility: The system provided by this invention supports heat lamps of different power (500W-2000W) and types (halogen lamps, ceramic lamps), and adapts to load characteristics through parameter self-learning, without the need to redesign the hardware. Attached Figure Description
[0041] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. 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. In the drawings:
[0042] Figure 1 A diagram of a nonlinear conversion system for voltage code values of a heat preservation lamp voltage regulating module is shown.
[0043] Figure 2 A flowchart of a nonlinear conversion method for voltage code values applicable to a voltage regulating module for heat preservation lamps is shown. Detailed Implementation
[0044] The technical solution of the present invention will now be clearly and completely described 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.
[0045] like Figure 1 The system described is a nonlinear conversion system for voltage code values in a heat lamp voltage regulator module. It includes a voltage acquisition module, a temperature sensing module, a control module, and an output module. The voltage acquisition module and temperature sensing module send the acquired information to the control module. The control module executes the nonlinear conversion logic, and the output module then outputs the code value. The voltage acquisition module includes an RC low-pass filter (cutoff frequency 1kHz) and a 12-bit ADC, converting 0-10V voltage into a digital quantity. The temperature sensing module is a digital sensor that communicates with the control module via a single bus, acquiring ambient temperature signals. The control module uses an STM32F103 microcontroller (72MHz) to store the conversion algorithm and parameters, and executes the nonlinear conversion logic. The output module is a 16-bit DAC that outputs the calculated AD code value (860-4096) to the three-phase voltage regulator module.
[0046] like Figure 2 As shown, a nonlinear conversion method for voltage code values of a heat preservation lamp voltage regulation module is provided, which specifically includes the following steps:
[0047] S1, Signal Acquisition: Acquires voltage signals and ambient temperature; filters and isolates the voltage signals; converts them into digital signals via an ADC; acquires 0-10V control voltage signals. After filtering and isolation, the signal is converted into a digital value by a 12-bit ADC; an ambient temperature T is collected using a digital temperature sensor with a resolution of ±0.5℃.
[0048] S2. Establish a voltage-power theoretical model that conforms to the resistive load characteristics of the heat preservation lamp.
[0049] S3, correct the effect of resistance change on power, and establish a temperature compensation model.
[0050] S4, based on the square root relationship between power and voltage, will compensate for the power... Mapped to the AD code value range of 860-4096.
[0051] S5 performs arcsine calibration and outputs the AD code value.
[0052] Specifically, step S2 establishes a voltage-power theoretical model that conforms to the resistive load characteristics of the heat preservation lamp, as follows:
[0053] ;
[0054] in, The rated power of the heat lamp (e.g., 1000W). To control the voltage signal, =10V is the maximum control voltage.
[0055] Specifically, step S3 corrects the effect of resistance change on power and establishes a temperature compensation model as follows:
[0056] ;
[0057] ;
[0058] in, This represents the resistance value after a temperature change. For reference temperature, It is a cold resistance. The temperature coefficient of resistance. This refers to the real-time temperature value of the heat source near the resistor of the heat lamp. To calculate the theoretical power value. , It supports online self-learning and dynamically updates parameters by collecting actual power and AD code values at different temperatures using the least squares method.
[0059] Specifically, step S4, based on the square root relationship between power and voltage, adjusts the compensated power... The AD code value range mapped to 860-4096 is as follows:
[0060] ;
[0061] in, This is the initial mapping value. 4096-860=3236 is the AD code value span.
[0062] Specifically, step S5 includes the following steps:
[0063] S5.1, for the initial mapping value Normalization is performed:
[0064] ;
[0065] ;
[0066] in, This is the normalized mapping value.
[0067] S5.2, Calculate the arcsine value to compensate for the inherent nonlinear deviation of the system. :
[0068] ;
[0069] Arcsine function Implemented using the CORDIC algorithm, it eliminates the need for a floating-point arithmetic unit, and the single calculation time on an 8-bit MCU is ≤500μs.
[0070] S5.3, Map the angle value to the final AD code value. :
[0071] .
[0072] To verify the method provided by this invention, a 1000W heat lamp was used. , , , Taking the conversion process with input V_in=5V and ambient temperature T=50℃ as an example, the specific steps for nonlinear conversion are as follows:
[0073] 1. Temperature compensation calculation and power compensation calculation:
[0074] ;
[0075] .
[0076] 2. Initial mapping of AD code values:
[0077] .
[0078] 3. Calculate the arcsine calibration and output the AD code value:
[0079] ;
[0080] ;
[0081] .
[0082] 4. Accuracy verification: The actual measured AD code value is 2535, with an error of ±0.08%, which is far better than the ±8.3% error of traditional linear conversion.
[0083] This invention can be applied to agricultural piglet insulation systems to control the temperature of piglet pens within ±0.5℃; it can also be applied to industrial constant temperature drying equipment, such as electronic component drying ovens; and it can also be applied to smart home constant temperature systems, such as controlling the heat lamps in bathrooms and bedrooms.
[0084] Of course, the above description is not intended to limit the present invention, and the present invention is not limited to the examples given above. Any changes, modifications, additions or substitutions made by those skilled in the art within the scope of the present invention should also fall within the protection scope of the present invention.
Claims
1. A nonlinear conversion method for voltage code values of a heat lamp voltage regulator module, used in a nonlinear conversion system for voltage code values of a heat lamp voltage regulator module, comprising: The system comprises a voltage acquisition module, a temperature sensing module, a control module, and an output module. The voltage acquisition module and the temperature sensing module send the acquired information to the control module. The control module executes nonlinear conversion logic, and the output module then outputs the code value. The system is characterized by a nonlinear conversion method for voltage code values of a heat-insulating lamp voltage regulating module, specifically including the following steps: S1 acquires voltage signals and ambient temperature, filters and isolates the voltage signals, and converts them into digital quantities via an ADC; S2, Establish a voltage-power theoretical model that conforms to the resistive load characteristics of the heat preservation lamp; S3, Correct the effect of resistance change on power and establish a temperature compensation model; S4, based on the square root relationship between power and voltage, will compensate for the power... Mapped to the AD code value range of 860-4096; S5 performs arcsine calibration and outputs the AD code value.
2. The nonlinear conversion method for voltage code values of a heat preservation lamp voltage regulation module according to claim 1, characterized in that, Step S2 establishes a voltage-power theoretical model that conforms to the resistive load characteristics of the heat preservation lamp, specifically as follows: ; in, The rated power of the heat lamp, To control the voltage signal, This is the maximum control voltage.
3. The nonlinear conversion method for voltage code values of a heat preservation lamp voltage regulation module according to claim 1, characterized in that, Step S3 corrects the effect of resistance change on power and establishes a temperature compensation model as follows: ; ; in, This represents the resistance value after a temperature change. For reference temperature, It is a cold resistance. The temperature coefficient of resistance. This refers to the real-time temperature value of the heat source near the resistor of the heat lamp. To calculate the theoretical power value.
4. The nonlinear conversion method for voltage code values of a heat preservation lamp voltage regulation module according to claim 1, characterized in that, Step S4, based on the square root relationship between power and voltage, calculates the compensated power... The AD code value range mapped to 860-4096 is as follows: ; in, These are the initial mapping values.
5. The nonlinear conversion method for voltage code values of a heat preservation lamp voltage regulation module according to claim 1, characterized in that, Step S5 specifically includes the following steps: S5.1, for the initial mapping value Normalization is performed: ; ; in, These are the normalized mapping values; S5.2, Calculate the arcsine value to compensate for the inherent nonlinear deviation of the system. : ; S5.3, Map the angle value to the final AD code value. : 。
Citation Information
Patent Citations
Sectional knob adjustment light control module
CN113133162A
Dedicated heat preservation device control system raiss livestock or poultry
CN208421589U