Nonlinear conversion system and method suitable for voltage code value of voltage regulating module of heat preservation lamp
Through the combination of voltage acquisition module, temperature sensor module and control module, combined with voltage-power square relationship and inverse sine calibration, the nonlinear characteristics of the voltage code value and temperature change problems of the heat lamp voltage regulator module are solved, and efficient and rapid patent application for agricultural piglets is achieved. The innovation points adopted by the technical means described in the patent application required are: using voltage acquisition module, temperature sensor module and control module, combined with voltage-power square relationship and inverse sine calibration, the nonlinear characteristics of the voltage code value and temperature change problems of the heat lamp voltage regulator module are solved, and high-precision and low-cost conversion effects are achieved.
Patent Information
- Application Number
- CN202511163954.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-20
- Publication Date
- 2025-09-19
- Estimated Expiration
- 2045-08-20
AI Technical Summary
In the existing technology, the conversion method of the voltage code value of the heat preservation lamp voltage regulating module has problems such as nonlinear characteristic mismatch, significant temperature influence, insufficient range resolution and poor dynamic response, and cannot achieve high-precision and low-cost adaptive control.
A temperature compensation model is established by using a voltage acquisition module, a temperature sensing module and a control module, combined with the voltage-power square relationship and arcsine calibration. Nonlinear conversion is achieved through the CORDIC algorithm to output AD code values.
High-precision nonlinear conversion is achieved, with conversion accuracy improved to within ±1.5% and dynamic response error controlled within ±2%, meeting full-scale high-resolution adjustment requirements. Hardware costs are reduced by 40%, and a single conversion time of ≤1ms.
Smart Images

Figure CN120676481A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of power electronic control, and in particular to a nonlinear conversion system and method suitable for voltage code values of a heat preservation lamp voltage regulating module. Background Art
[0002] In a heat lamp voltage regulation control system, a 0-10V voltage signal is often used to control the output power of the heat lamp. 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: 1. Nonlinear characteristics mismatch: The power and voltage of a heat lamp are in a square relationship (i.e., P=V²), while linear conversion (e.g., AD=860+(4096-860)*V / 10) can cause a deviation of ±8%-12% between the actual power and the control signal. 2. Temperature influence is significant: The resistance of the tungsten filament of a heat lamp changes with temperature, with a temperature coefficient of approximately 0.0045 / °C. The resistance difference between a cold state of 25°C and a hot state of 100°C can reach over 30%, further exacerbating the conversion error. 3. Insufficient range resolution: In the low-voltage range (0-3V), the AD code value of the linear conversion changes slowly, with 323.6 codes per volt. In the high-voltage range (7-10V), the adjustment sensitivity is excessive, which cannot meet the requirements of precise temperature control. 4. Poor dynamic response: The traditional table lookup method requires pre-storage of a large amount of calibration data, cannot adapt to changes in load characteristics in real time, and occupies a large amount of storage space.
[0003] Therefore, there is a need for a high-precision, low-cost, nonlinear conversion system and method suitable for the voltage code value of the heating lamp voltage regulation module that can adapt to the nonlinear characteristics and temperature changes of the heating lamp. Summary of the Invention
[0004] The main purpose of the present invention is to provide a nonlinear conversion system and method suitable for the voltage code value of the heating lamp voltage regulating module, so as to solve the problem in the prior art that the voltage code value of the heating lamp voltage regulating module cannot adapt to the linear characteristics and temperature changes of the heating lamp.
[0005] To achieve the above-mentioned purpose, the present invention provides a nonlinear conversion system for the voltage code value of a heat preservation lamp voltage regulating 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 collected information to the control module, and the control module executes the nonlinear conversion logic and then outputs the code value through the output module.
[0006] The present invention also provides a nonlinear conversion method for the voltage code value of a heat preservation lamp voltage regulating module, which specifically includes the following steps: S1 collects voltage signals and ambient temperature, filters and isolates the voltage signals, and converts them into digital quantities through ADC.
[0007] S2, establish a voltage-power theoretical model that conforms to the resistive load characteristics of the heating lamp.
[0008] S3, correct the effect of resistance change on power and establish a temperature compensation model.
[0009] S4, based on the square root relationship between power and voltage, the compensated power Mapped to the AD code value range of 860-4096.
[0010] S5, perform arcsine calibration and output AD code value.
[0011] Furthermore, step S2 establishes a voltage-power theoretical model that conforms to the resistive load characteristics of the heat preservation lamp, specifically: ; in, is the rated power of the heat lamp, is the control voltage signal, is the maximum control voltage.
[0012] Furthermore, step S3 corrects the effect of resistance change on power and establishes a temperature compensation model specifically as follows: ; ; in, is the resistance value corresponding to the temperature change, is the reference temperature, is the cold resistance, is the temperature coefficient of resistance, It is the real-time temperature value of the heating lamp resistor. The theoretically calculated power value.
[0013] Furthermore, step S4 converts the compensated power into Mapped to the AD code value range of 860-4096, specifically: ; in, is the initial mapping value.
[0014] Furthermore, step S5 specifically includes the following steps: S5.1, for preliminary mapping values Perform normalization: ; ; in, is the normalized mapping value.
[0015] S5.2, calculate the arc sine value to compensate for the inherent nonlinear deviation of the system : .
[0016] S5.3, mapping the angle value to the final AD code value : .
[0017] The present invention has the following beneficial effects: 1. Targeted nonlinear compensation: This invention combines the voltage-power square relationship with arcsine calibration to address the inherent nonlinear characteristics of heat lamps, improving conversion accuracy from the traditional method's ±8%-12% to within ±1.5%; 2. Real-time temperature adaptation: This invention introduces a temperature compensation model to dynamically correct power deviations caused by temperature changes, and the error in cold-to-hot state conversion is controlled within ±2%; 3. High resolution across the entire range: This device utilizes square root mapping and arcsine calibration to triple the AD code resolution in the low-voltage range (0-3V) (540 codes per volt) and double the sensitivity in the high-voltage range (7-10V), ensuring precise regulation across the entire range. 4. Low-cost and efficient implementation: This invention uses the CORDIC algorithm to replace floating-point operations and is implemented on an 8-bit MCU, reducing hardware costs by 40%. A single conversion takes ≤1ms, meeting real-time control requirements. 5. Strong versatility: The system provided by this invention supports heat preservation lamps of different powers (500W-2000W) and types (halogen lamps, ceramic lamps), and adapts to load characteristics through parameter self-learning, without the need for hardware redesign. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for the specific embodiments or the description of the prior art. 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 work. In the drawings: Figure 1 A nonlinear conversion system diagram of the voltage code value of a heat preservation lamp voltage regulating module according to the present invention is shown.
[0019] Figure 2A flow chart of a nonlinear conversion method of a voltage code value of a heat preservation lamp voltage regulating module according to the present invention is shown. DETAILED DESCRIPTION
[0020] The technical solution of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the embodiments described are only some embodiments of the present invention, not all embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.
[0021] like Figure 1 The illustrated system, suitable for converting voltage code values in a heat lamp voltage regulator module, includes a voltage acquisition module, a temperature sensor module, a control module, and an output module. The voltage acquisition and temperature sensor modules transmit the collected information to the control module, which then executes the nonlinear conversion logic and outputs the code value through the output module. The voltage acquisition module includes an RC low-pass filter (cutoff frequency 1kHz) and a 12-bit ADC to convert 0-10V voltages into digital quantities. The voltage acquisition module collects 0-10V voltages. The temperature sensor module is a digital sensor that communicates with the control module via a single bus and collects ambient temperature signals. The control module uses an STM32F103 microcontroller (72MHz main frequency) to store the conversion algorithm and parameters and execute 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.
[0022] like Figure 2 As shown, a nonlinear conversion method for the voltage code value of the heat preservation lamp voltage regulating module includes the following steps: S1, signal acquisition: collect voltage signals and ambient temperature, filter and isolate the voltage signals, and convert them into digital quantities through ADC; collect 0-10V control voltage signals After filtering and isolation, it is converted into digital quantity through 12-bit ADC; the ambient temperature T is collected by a digital temperature sensor with a resolution of ±0.5℃.
[0023] S2, establish a voltage-power theoretical model that conforms to the resistive load characteristics of the heating lamp.
[0024] S3, correct the effect of resistance change on power and establish a temperature compensation model.
[0025] S4, based on the square root relationship between power and voltage, the compensated power Mapped to the AD code value range of 860-4096.
[0026] S5, perform arcsine calibration and output AD code value.
[0027] Specifically, step S2 establishes a voltage-power theoretical model that conforms to the resistive load characteristics of the heat preservation lamp, specifically: ; in, The rated power of the heat lamp (such as 1000W), is the control voltage signal, =10V is the maximum control voltage.
[0028] Specifically, step S3 corrects the effect of resistance change on power and establishes a temperature compensation model as follows: ; ; in, is the resistance value corresponding to the temperature change, is the reference temperature, is the cold resistance, is the temperature coefficient of resistance, It is the real-time temperature value of the heating lamp resistor. The theoretically calculated power value. 、 Supports online self-learning, and dynamically updates parameters using the least squares method by collecting actual power and AD code values at different temperatures.
[0029] Specifically, step S4 converts the compensated power into Mapped to the AD code value range of 860-4096, specifically: ; in, is the initial mapping value. 4096-860=3236 is the AD code value span.
[0030] Specifically, step S5 includes the following steps: S5.1, for preliminary mapping values Perform normalization: ; ; in, is the normalized mapping value.
[0031] S5.2, calculate the arc sine value to compensate for the inherent nonlinear deviation of the system : ; Inverse sine function It is implemented through the CORDIC algorithm, does not require a floating-point unit, and a single calculation takes ≤500μs on an 8-bit MCU.
[0032] S5.3, mapping the angle value to the final AD code value : .
[0033] To verify the method provided by the present invention, a 1000W heat lamp was used to 、 、 、 For example, the conversion process when input V_in = 5V and ambient temperature T = 50℃ is used as an example. The nonlinear conversion specifically includes the following steps: 1. Temperature compensation calculation and power compensation calculation: ; .
[0034] 2. Preliminary mapping of AD code values: .
[0035] 3. Arc sine calibration calculation, output AD code value: ; ; .
[0036] 4. Accuracy verification: The actual measured AD code value is 2535, with an error of ±0.08%, which is much better than the ±8.3% error of traditional linear conversion.
[0037] The invention can be applied to agricultural piglet insulation systems to control the temperature of piglet houses within ±0.5°C; it can also be applied to industrial constant temperature drying equipment, such as electronic component drying boxes; it can also be applied to smart home constant temperature systems, for example: controlling insulation lamps in bathrooms and bedrooms.
[0038] Of course, the above description is not a limitation of the present invention, and the present invention is not limited to the above examples. Changes, modifications, additions or substitutions made by technicians in this technical field within the essential scope of the present invention should also fall within the scope of protection of the present invention.
Claims
1. A nonlinear conversion system for the voltage code value of a heat preservation lamp voltage regulating module, characterized in that: include: Voltage acquisition module, temperature sensing module, control module and output module. The voltage acquisition module and temperature sensing module send the collected information to the control module. The control module executes nonlinear conversion logic and then outputs the code value through the output module.
2. A nonlinear conversion method for the voltage code value of a heat preservation lamp voltage regulating module, using the system of claim 1, characterized in that: The specific steps include: S1 collects voltage signals and ambient temperature, filters and isolates the voltage signals, and converts them into digital quantities through 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, the compensated power Mapped to the AD code value range of 860-4096; S5, perform arcsine calibration and output AD code value.
3. The nonlinear conversion method for the voltage code value of the heat preservation lamp voltage regulating module according to claim 2, characterized in that: Step S2 establishes a voltage-power theoretical model that conforms to the resistive load characteristics of the heat preservation lamp, specifically: ; in, is the rated power of the heat lamp, is the control voltage signal, is the maximum control voltage.
4. The nonlinear conversion method for the voltage code value of the heat preservation lamp voltage regulating module according to claim 2, characterized in that: Step S3 corrects the effect of resistance change on power and establishes a temperature compensation model as follows: ; ; in, is the resistance value corresponding to the temperature change, is the reference temperature, is the cold resistance, is the temperature coefficient of resistance, It is the real-time temperature value of the heating lamp resistor. The theoretically calculated power value.
5. The nonlinear conversion method for the voltage code value of the heat preservation lamp voltage regulating module according to claim 2, characterized in that: Step S4 is based on the square root relationship between power and voltage, and the compensated power Mapped to the AD code value range of 860-4096, specifically: ; in, is the initial mapping value.
6. The nonlinear conversion method for the voltage code value of the heat preservation lamp voltage regulating module according to claim 2, characterized in that: Step S5 specifically includes the following steps: S5.1, for preliminary mapping values Perform normalization: ; ; in, is the normalized mapping value; S5.2, calculate the arc sine value to compensate for the inherent nonlinear deviation of the system : ; S5.3, mapping the angle value to the final AD code value : 。
Citation Information
Patent Citations
Power system voltage and frequency regulation controller
CN105515007A
Induction lamp parameter configuration device and a parameter configuration method
CN109257850A
Intrinsically linear, digital power amplifier employing nonlinearly-sized RF-DAC, multiphase driver, and overdrive voltage control
CN110679081A
Sectional knob adjustment light control module
CN113133162A
System and method for calibrating control system operating electric heater
CN113966644A