WO2020056934A1 - Control circuit, temperature controller, device, and method and apparatus for adjusting display color - Google Patents

Control circuit, temperature controller, device, and method and apparatus for adjusting display color Download PDF

Info

Publication number
WO2020056934A1
WO2020056934A1 PCT/CN2018/120195 CN2018120195W WO2020056934A1 WO 2020056934 A1 WO2020056934 A1 WO 2020056934A1 CN 2018120195 W CN2018120195 W CN 2018120195W WO 2020056934 A1 WO2020056934 A1 WO 2020056934A1
Authority
WO
WIPO (PCT)
Prior art keywords
light source
pwm wave
output
control circuit
primary color
Prior art date
Application number
PCT/CN2018/120195
Other languages
French (fr)
Chinese (zh)
Inventor
李涛
钟金扬
玉俊威
Original Assignee
珠海格力电器股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 珠海格力电器股份有限公司 filed Critical 珠海格力电器股份有限公司
Publication of WO2020056934A1 publication Critical patent/WO2020056934A1/en

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/04Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of a single character by selection from a plurality of characters, or by composing the character by combination of individual elements, e.g. segments using a combination of such display devices for composing words, rows or the like, in a frame with fixed character positions
    • G09G3/16Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of a single character by selection from a plurality of characters, or by composing the character by combination of individual elements, e.g. segments using a combination of such display devices for composing words, rows or the like, in a frame with fixed character positions by control of light from an independent source
    • G09G3/18Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of a single character by selection from a plurality of characters, or by composing the character by combination of individual elements, e.g. segments using a combination of such display devices for composing words, rows or the like, in a frame with fixed character positions by control of light from an independent source using liquid crystals
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D23/00Control of temperature
    • G05D23/19Control of temperature characterised by the use of electric means
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/04Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of a single character by selection from a plurality of characters, or by composing the character by combination of individual elements, e.g. segments using a combination of such display devices for composing words, rows or the like, in a frame with fixed character positions
    • G09G3/06Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of a single character by selection from a plurality of characters, or by composing the character by combination of individual elements, e.g. segments using a combination of such display devices for composing words, rows or the like, in a frame with fixed character positions using controlled light sources
    • G09G3/12Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of a single character by selection from a plurality of characters, or by composing the character by combination of individual elements, e.g. segments using a combination of such display devices for composing words, rows or the like, in a frame with fixed character positions using controlled light sources using electroluminescent elements
    • G09G3/14Semiconductor devices, e.g. diodes

Definitions

  • the present disclosure relates to the field of control, and in particular, to a control circuit, a temperature controller, a device, and a method and device for adjusting display colors.
  • thermostats There are many types of thermostats on the market. Most of them simply collect the temperature and display the temperature value directly on the LCD. The user needs to walk near the thermostat to know the current temperature.
  • a control circuit including: a temperature obtaining unit configured to obtain a current ambient temperature value; a three primary color value determining unit configured to determine a first primary color value of a display panel according to the current ambient temperature value, A second primary color value and a third primary color value; and a voltage control unit configured to control the voltage of the first light source of the display panel according to the mapping relationship between the first primary color value and the first light source voltage, and according to the second primary color value and the second light source voltage The mapping relationship of the voltage of the second light source of the display panel is controlled, and the voltage of the third light source of the display panel is controlled according to the mapping relationship between the third primary color value and the third light source voltage.
  • the voltage control unit includes: a pulse width modulation PWM wave determination circuit configured to determine a first PWM wave duty cycle according to a first primary color value, and output a first PWM having a first PWM wave duty cycle A second PWM wave duty cycle is determined according to the second primary color value, and a second PWM wave having a second PWM wave duty ratio is output, a third PWM wave duty ratio is determined according to the third primary color value, and A third PWM wave with a three PWM wave duty cycle; a first light source control circuit configured to receive the first PWM wave and output a first light source voltage corresponding to the first PWM wave duty cycle, wherein the first light source voltage is A first light source applied to the display panel; a second light source control circuit configured to receive a second PWM wave and output a second light source voltage corresponding to the second PWM wave duty cycle, wherein the second light source voltage is applied to the display panel A second light source; and a third light source control circuit configured to receive a third PWM wave and output a third
  • the PWM wave determination circuit is further configured to determine a first PWM wave output frequency according to a first primary color value, and output a first PWM wave having a first PWM wave output frequency, and determine a second A PWM wave output frequency and a second PWM wave having a second PWM wave output frequency, determining a third PWM wave output frequency according to a third primary color value, and outputting a third PWM wave having a third PWM wave output frequency;
  • the light source control circuit is further configured to output a first light source voltage corresponding to the first PWM wave output frequency; the second light source control circuit is also configured to output a second light source voltage corresponding to the second PWM wave output frequency; a third light source control The circuit is also configured to output a third light source voltage corresponding to a third PWM wave output frequency.
  • each of the first light source control circuit, the second light source control circuit, and the third light source control circuit includes: a PWM wave receiving end; a first output end; a second output end; a switching device, The control terminal of the switching device is connected to the PWM wave receiving terminal, the first terminal of the switching device is connected to the first output terminal; and the capacitor, the first terminal of the capacitor is connected to the first terminal of the switching device, and the second terminal of the capacitor is connected to the second The output terminal is connected, and the second terminal of the capacitor is connected to the power supply voltage terminal.
  • each of the first light source control circuit, the second light source control circuit, and the third light source control circuit further includes: a first resistor disposed at a control end of the switching device and a PWM wave receiving end Between; and a second resistor disposed between the second output terminal and the power supply voltage terminal.
  • the PWM wave receiving end of the first light source control circuit is connected to a terminal that outputs the first PWM wave in the PWM wave determination circuit, and the first output end of the first light source control circuit is connected to the first of the first light source of the display panel.
  • the second output end of the first light source control circuit is connected to the second pin of the first light source of the display panel; the PWM wave receiving end of the second light source control circuit and the terminal that outputs the second PWM wave in the PWM wave determination circuit Connected, the first output end of the second light source control circuit is connected to the first pin of the second light source of the display panel; the second output end of the second light source control circuit is connected to the second pin of the second light source of the display panel; third The PWM wave receiving end of the light source control circuit is connected to the terminal that outputs the third PWM wave in the PWM wave determination circuit.
  • the first output end of the third light source control circuit is connected to the first pin of the third light source of the display panel.
  • the third light source control The second output end of the circuit is connected to the second pin of the third light source of the display panel.
  • the switching device is a transistor; the control terminal of the transistor is a base and is connected to the PWM wave receiving terminal; the first terminal of the transistor is connected to the first output terminal; and the second terminal of the transistor is grounded.
  • a temperature controller including a temperature sensor, a display panel, and the above-mentioned control circuit; wherein the temperature sensor is configured to detect a current ambient temperature value; and the display panel is configured to output according to the control circuit The light source voltage is displayed in different colors.
  • an electric device including the above-mentioned control circuit or temperature controller.
  • a method for adjusting display color with temperature conversion includes: obtaining a current ambient temperature value; and determining a first primary color value, a second primary color value, and a third primary color value of the display panel according to the current environmental temperature value.
  • Primary color value controlling the voltage of the first light source of the display panel according to the mapping relationship between the first primary color value and the voltage of the first light source; controlling the voltage of the second light source of the display panel according to the mapping relationship between the second primary color value and the second light source voltage;
  • the mapping relationship between the primary color value and the voltage of the third light source controls the voltage of the third light source of the display panel.
  • the method further includes: determining a first PWM wave duty cycle according to the first primary color value, and outputting a first PWM wave having the first PWM wave duty cycle; The first light source voltage corresponding to the duty cycle of the PWM wave, wherein the first light source voltage is applied to the first light source of the display panel; the second duty cycle of the PWM wave is determined according to the second primary color value, and the second PWM wave duty is output.
  • the second PWM wave is output according to the second PWM wave, and the second light source voltage corresponding to the duty ratio of the second PWM wave is output, wherein the second light source voltage is applied to the second light source of the display panel;
  • a third light source is applied to the display panel.
  • the method further includes: determining a first PWM output frequency according to the first primary color value, and outputting a first PWM wave having the first PWM output frequency; and outputting the first PWM wave according to the first PWM wave and the first PWM wave output frequency A corresponding first light source voltage; determining a second PWM output frequency according to a second primary color value, and outputting a second PWM wave having a second PWM output frequency; and outputting a second PWM wave corresponding to the second PWM wave output frequency according to the second PWM wave Light source voltage; determining a third PWM output frequency according to a third primary color value, and outputting a third PWM wave having a third PWM output frequency; and outputting a third light source voltage corresponding to the third PWM wave output frequency according to the third PWM wave.
  • a device for adjusting display color as a function of temperature including: a memory; and a processor coupled to the memory, the processor being configured to execute the following random access based on instructions stored in the memory.
  • a method of adjusting the display color with temperature change including: a memory; and a processor coupled to the memory, the processor being configured to execute the following random access based on instructions stored in the memory.
  • a computer-readable storage medium having stored thereon computer program instructions that, when executed by a processor, implement the steps of the method for adjusting display color as a function of temperature.
  • FIG. 1 is a schematic structural diagram of some embodiments of a control circuit of the present disclosure.
  • FIG. 2 is a schematic structural diagram of another embodiment of a control circuit of the present disclosure.
  • FIG. 3 is a schematic structural diagram of some embodiments of a light source control circuit in a control circuit of the present disclosure.
  • FIG. 4 is a schematic structural diagram of some embodiments of a temperature controller of the present disclosure.
  • FIG. 5 is a schematic flowchart of some embodiments of a method for adjusting display color according to a temperature change of the present disclosure.
  • FIG. 6 is a schematic structural diagram of some embodiments of a device for adjusting display color according to a temperature change of the present disclosure.
  • FIG. 7 is a schematic structural diagram of another embodiment of a device for adjusting display color according to temperature change of the present disclosure.
  • any specific value should be construed as exemplary only and not as a limitation. Therefore, other examples of the exemplary embodiments may have different values.
  • the temperature controller in the related technology has a relatively simple interaction mode, which cannot bring a convenient and fast interactive experience to the user. Users often look at the current temperature only when they feel too cold or overheated. This wastes energy and is not good for the user's health.
  • FIG. 1 is a schematic structural diagram of some embodiments of a control circuit of the present disclosure.
  • the control circuit includes a temperature acquisition unit 110, a three primary color value determination unit 120, and a voltage control unit 130.
  • the temperature acquisition unit 110 is configured to acquire a current ambient temperature value.
  • the temperature acquiring unit 110 may acquire a current ambient temperature value through a temperature sensor.
  • the three primary color value determination unit 120 is configured to determine a first primary color value, a second primary color value, and a third primary color value of the display panel according to a current ambient temperature value.
  • the display panel may be a liquid crystal display panel, specifically a segmented liquid crystal display panel, and the display panel may also be a light emitting diode display panel.
  • the first primary color is, for example, an R (red) primary color
  • the second primary color is, for example, a G (green) primary color
  • the third primary color is, for example, a B (blue) primary color.
  • Different values can be formed by controlling the values of the three primary colors.
  • the voltage control unit 130 is configured to control the voltage of the first light source of the display panel according to the mapping relationship between the first primary color value and the first light source voltage, and control the voltage of the second light source of the display panel according to the mapping relationship between the second primary color value and the second light source voltage. , Controlling the voltage of the third light source of the display panel according to the mapping relationship between the third primary color value and the third light source voltage.
  • the display panel can be provided with three kinds of light sources.
  • the first light source is, for example, a red color wick
  • the second light source is, for example, a green color wick
  • the third light source is, for example, a blue color wick.
  • the voltage control unit 130 may perform the voltage of the three light sources. Control, according to the principle of three primary colors, so that the display panel displays a variety of colors.
  • the three primary color values are determined according to the current ambient temperature value, and then the light source voltage of the display panel is controlled according to the voltage relationship between the three primary color values and each light source, so that the display panel displays different colors according to different ambient temperatures. Improved user experience.
  • FIG. 2 is a schematic structural diagram of another embodiment of a control circuit of the present disclosure.
  • the voltage control unit 130 includes a PWM (Pulse Width Modulation) wave determination circuit 210, a first light source control circuit 220, a second light source control circuit 230, and a third light source control circuit 240.
  • PWM Pulse Width Modulation
  • the temperature acquisition unit 110 is configured to acquire a current ambient temperature value.
  • the three primary color value determination unit 120 is configured to determine a first primary color value, a second primary color value, and a third primary color value of the display panel according to a current ambient temperature value.
  • one temperature value may correspond to one three primary color value
  • one temperature interval may correspond to one three primary color value.
  • the PWM wave determination circuit 210 is configured to determine a first PWM wave duty cycle according to a first primary color value, and output a first PWM wave having a first PWM wave duty ratio, and determine a second PWM wave duty cycle according to a second primary color value. And output a second PWM wave having a second PWM wave duty cycle, determine a third PWM wave duty cycle according to a third primary color value, and output a third PWM wave having a third PWM wave duty cycle.
  • the PWM wave determination circuit 210 can determine the correspondence between the temperature, the three primary colors, and the duty cycle of the PWM wave by looking up a table.
  • the duty cycle of the first PWM wave is 0%
  • the duty cycle of the second PWM wave is 0%
  • the duty cycle of the third PWM wave is 100%.
  • the first light source control circuit 220 is configured to receive a first PWM wave and output a first light source voltage corresponding to a first PWM wave duty cycle.
  • the first light source voltage is applied to the first light source of the display panel, and the first light source is, for example, a red-colored wick.
  • the second light source control circuit 230 is configured to receive a second PWM wave and output a second light source voltage corresponding to a second PWM wave duty cycle.
  • the second light source voltage is applied to the second light source of the display panel, and the second light source is, for example, a green-colored wick.
  • the third light source control circuit 240 is configured to receive a third PWM wave and output a third light source voltage corresponding to the third PWM wave duty cycle.
  • a third light source voltage is applied to the third light source of the display panel, and the third light source is, for example, a blue-colored wick.
  • the three primary color values are determined according to the current ambient temperature value, and then the three PWM wave duty cycles are determined according to the three primary color values, so as to output three light source voltages, which are respectively applied to the corresponding display panel light sources. It can make the display panel display color, and the user can judge the current ambient temperature according to the display panel color, which improves the user experience.
  • FIG. 3 is a schematic structural diagram of some embodiments of a light source control circuit in a control circuit of the present disclosure.
  • the light source control circuit includes a PWM wave receiving terminal 310, a first output terminal 320, a second output terminal 330, a switching device 340, and a capacitor 350.
  • the control terminal of the switching device 340 is connected to the PWM wave receiving terminal 310.
  • the first terminal is connected to the first output terminal 320.
  • the switching device 340 is a transistor, wherein the control terminal of the transistor is a base and connected to the PWM wave receiving terminal 310; the first terminal of the transistor is connected to the first output terminal 320; and the second terminal of the transistor is grounded.
  • a first terminal of the capacitor 350 is connected to a first terminal of the switching device 340, a second terminal of the capacitor 350 is connected to a second output terminal 330, and a second terminal of the capacitor 350 is connected to a power supply voltage terminal.
  • the light source control circuit further includes a first resistor 360 and a second resistor 370, wherein the first resistor 360 is disposed between the control terminal of the switching device 340 and the PWM wave receiving terminal 310; the second The resistor 370 is disposed between the second output terminal 330 and a power voltage terminal.
  • the PWM wave receiving end 310 is connected to the terminal that outputs the first PWM wave in the PWM wave determination circuit 210, and the first output end 320 is connected to the first pin of the first light source of the display panel
  • the second output terminal 330 is connected to the second pin of the first light source of the display panel.
  • the PWM wave receiving end 310 is connected to the second PWM wave output terminal in the PWM wave determination circuit 210, and the first output end 320 is connected to the first pin of the second light source of the display panel.
  • the second output terminal 330 is connected to the second pin of the second light source of the display panel.
  • the PWM wave receiving end 310 is connected to the terminal that outputs the third PWM wave in the PWM wave determination circuit 210, and the first output end 320 is connected to the first pin of the third light source of the display panel.
  • the second output terminal 330 is connected to the second pin of the third light source of the display panel.
  • the PWM wave receiving end 310 After receiving the third PWM wave, the PWM wave receiving end 310 outputs a third light source voltage corresponding to the duty ratio of the third PWM wave through the output end of the third light source control circuit.
  • the third light source voltage is applied to the third light source of the display panel. .
  • the intensity of light emitted by the three light sources is controlled by the PWM pulse signal, so that the display panel displays the corresponding color, and the user can determine the current ambient temperature according to the color of the display panel.
  • the PWM wave determination circuit 210 is further configured to determine a first PWM wave output frequency according to a first primary color value, and output a first PWM wave having a first PWM wave output frequency.
  • the primary color value determines a second PWM wave output frequency, and outputs a second PWM wave having a second PWM wave output frequency, determines a third PWM wave output frequency based on the third primary color value, and outputs a third PWM wave output frequency having a third PWM wave output frequency.
  • PWM wave The first light source control circuit 220 outputs a first light source voltage corresponding to a first PWM wave output frequency.
  • the second light source control circuit 230 outputs a second light source voltage corresponding to a second PWM wave output frequency.
  • the third light source control circuit 240 outputs a third light source voltage corresponding to a third PWM wave output frequency.
  • a first light source voltage is applied to the first light source of the display panel, a second light source voltage is applied to the second light source of the display panel, and a third light source voltage is applied to the third light source of the display panel.
  • the output frequency of each PWM wave is calculated, thereby reducing the fluctuation of the light source voltage, and thereby avoiding flicker when the display panel displays colors.
  • FIG. 4 is a schematic structural diagram of some embodiments of a temperature controller of the present disclosure.
  • the temperature controller includes a temperature sensor 410, a control circuit 420, and a display panel 430.
  • the control circuit 420 has been described in detail in the above embodiments, and will not be further explained here.
  • the temperature sensor 410 is, for example, an environmental temperature sensing package, and is configured to collect a current ambient temperature value and transmit the current ambient temperature value to the control circuit 420.
  • the control circuit 420 outputs three light source voltages to the display panel 430, and the display panel 430 displays different colors according to the light source voltage output by the control circuit 420.
  • the display panel is, for example, a liquid crystal display panel, and may specifically be a Duan liquid crystal display panel.
  • the voltages of the three light sources are respectively applied to the three light sources of the display panel, and the three light sources emit light of different intensities. Based on the principle of the ratio of the three primary colors, the display panel displays the corresponding colors. The user can determine the current ambient temperature based on the color of the display panel.
  • the temperature value may also be displayed directly on the display panel.
  • the display panel of the temperature controller uses a liquid crystal display panel
  • the liquid crystal display panel uses RGB three-color backlight wicks, and leads to three backlight control pins, for example, A1 ⁇ K1, A1 ⁇ K2, A3 ⁇ K3.
  • the temperature sensor monitors the current ambient temperature in real time, and the control circuit obtains the current accurate ambient temperature value through AD sampling.
  • the control circuit can charge and discharge the capacitor of the light source control circuit by adjusting the duty cycle of the output PWM waveform, so that the voltage supplied to the pins of the LCD backlight is maintained between 0V-5V.
  • the duty is 0%
  • the output is 0V
  • the duty 100%
  • the output is 5V.
  • Different ambient temperatures correspond to different three primary colors, and the three primary colors correspond to three PWM waves.
  • the duty cycle of the PWM waves is different, and the output voltage is different.
  • the LCD panel displays different backlights. For example, when the duty cycle of the PWM wave of A1 ⁇ K1 is 100%, and the duty cycle of the PWM wave of A2 ⁇ K2 and A3 ⁇ K3 is 0%, the backlight is pure red. If both A1 ⁇ K1 and A2 ⁇ K2 are 100%, when A3 ⁇ K3 is 0%, it will be yellow. Similarly, pure green and pure blue can be displayed. Further, according to the principle of three primary colors, various colors can be displayed, and the effect of stepless adjustment can be achieved.
  • a new upgrade is made on the existing liquid crystal technology.
  • the backlight controller, circuit and specific control strategy are used to realize the thermostat display color.
  • the hue is changed with the change of the ambient temperature. This intuitive feeling. For example, when the ambient temperature is low, the thermostat will display a cold hue, such as blue; when the temperature is more comfortable, the thermostat will display a healthy and energy-saving hue, such as green; when the ambient temperature is high, the temperature The controller will display a warm tone, such as orange yellow.
  • the display interface of the display board is clear and beautiful, and a variety of colors can be freely displayed, which improves the interactive experience.
  • the cost of this solution is the same as the existing segment LCD.
  • the present disclosure protects a power-consuming device including the control circuit or a thermostat described above.
  • FIG. 5 is a schematic flowchart of some embodiments of a method for adjusting display color according to a temperature change of the present disclosure.
  • step 510 a current ambient temperature value is obtained.
  • a first primary color value, a second primary color value, and a third primary color value of the display panel are determined according to the current ambient temperature value.
  • step 530 the voltage of the first light source of the display panel is controlled according to the mapping relationship between the first primary color value and the first light source voltage, and the voltage of the second light source of the display panel is controlled according to the mapping relationship between the second primary color value and the second light source voltage.
  • the mapping relationship between the three primary color values and the voltage of the third light source controls the voltage of the third light source of the display panel.
  • the first PWM wave duty cycle may be determined according to the first primary color value, and a first PWM wave having the first PWM wave duty cycle may be output. According to the first PWM wave output and the first PWM wave, the duty cycle may be occupied.
  • the first light source voltage is applied to the first light source of the display panel; a second PWM wave duty cycle is determined according to the second primary color value, and a second PWM wave having a second PWM wave duty cycle is output ,
  • the second light source voltage is applied to the second light source of the display panel;
  • the third PWM wave duty cycle is determined according to the third primary color value, and A third PWM wave having a third PWM wave duty is output, and a third light source voltage corresponding to the third PWM wave duty is output according to the third PWM wave.
  • the third light source voltage is applied to the third light source of the display panel.
  • the three primary color values are determined according to the current ambient temperature value, and then the light source voltage of the display panel is controlled according to the voltage relationship between the three primary color values and each light source, so that the display panel displays different colors according to different ambient temperatures. Improved user experience.
  • the first PWM output frequency may also be determined according to the first primary color value, and a first PWM wave having the first PWM output frequency may be output.
  • a first light source voltage corresponding to the frequency determining a second PWM output frequency according to the second primary color value, and outputting a second PWM wave having a second PWM output frequency; and outputting a first PWM wave corresponding to the second PWM wave output frequency according to the second PWM wave
  • Two light source voltages determining a third PWM output frequency according to a third primary color value, and outputting a third PWM wave having a third PWM output frequency; and outputting a third light source voltage corresponding to the third PWM wave output frequency according to the third PWM wave.
  • a first light source voltage is applied to the first light source of the display panel
  • a second light source voltage is applied to the second light source of the display panel
  • a third light source voltage is applied to the third light source of the display panel
  • the output frequency of each PWM wave is calculated, thereby reducing the fluctuation of the light source voltage, and thereby avoiding flicker when the display panel displays colors.
  • FIG. 6 is a schematic structural diagram of some embodiments of a device for adjusting display color according to a temperature change of the present disclosure.
  • the device includes a memory 610 and a processor 620.
  • the memory 610 may be a magnetic disk, a flash memory, or any other non-volatile storage medium.
  • the memory 610 is configured to store instructions in the embodiment corresponding to FIG. 5.
  • the processor 620 is coupled to the memory 610 and may be implemented as one or more integrated circuits, such as a microprocessor or a microcontroller.
  • the processor 620 is configured to execute instructions stored in a memory.
  • the apparatus 700 includes a memory 710 and a processor 720.
  • the processor 720 is coupled to the memory 710 through a BUS bus 730.
  • the device 700 can also be connected to the external storage device 750 through the storage interface 740 to call external data, and can also be connected to the network or another computer system (not shown) through the network interface 760, which will not be described in detail here.
  • a data instruction is stored in a memory and the processor processes the instruction, so that the display panel can display different colors according to different ambient temperatures.
  • a computer-readable storage medium stores computer program instructions thereon, which when executed by a processor implement the steps of the method in the embodiment corresponding to FIG. 5.
  • the embodiments of the present disclosure may be provided as a method, an apparatus, or a computer program product. Therefore, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects.
  • the present disclosure may take the form of a computer program product implemented on one or more computer-usable non-transitory storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code therein. .
  • These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to work in a particular manner such that the instructions stored in the computer-readable memory produce a manufactured article including an instruction device, the instructions
  • the device implements the functions specified in one or more flowcharts and / or one or more blocks of the block diagram.
  • These computer program instructions can also be loaded on a computer or other programmable data processing device, so that a series of steps can be performed on the computer or other programmable device to produce a computer-implemented process, which can be executed on the computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more flowcharts and / or one or more blocks of the block diagrams.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Crystallography & Structural Chemistry (AREA)
  • Automation & Control Theory (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

A control circuit, a temperature controller, a device, and a method and apparatus for adjusting display color relate to the field of control. The control circuit comprises: a temperature obtaining unit (110) configured to obtain a current ambient temperature value (510); a three-primary-color value determining unit (120) configured to determine a first primary color value, a second primary color value, and a third primary color value of a display panel according to the current ambient temperature value (520); and a voltage control unit (130) configured to control the voltage of a first light source of the display panel according to a mapping relationship between the first primary color value and the first light source voltage, the voltage of a second light source of the display panel according to a mapping relationship between the second primary color value and the second light source voltage, and the voltage of a third light source of the display panel according to a mapping relationship between the third primary color value and the third light source voltage (530). The three-primary-color value is determined according to the current ambient temperature value, and the light source voltage of the display panel is controlled according to the voltage relation between the three primary color value and each light source, so that the display panel displays different colors according to different ambient temperature, thereby improving the user experience.

Description

控制电路、温控器、设备和调节显示颜色的方法和装置Control circuit, temperature controller, equipment and method and device for adjusting display color
本申请是以CN申请号为201811099372.9,申请日为2018年9月20的申请为基础,并主张其优先权,该CN申请的公开内容在此作为整体引入本申请中。This application is based on an application with a CN application number of 201811099372.9 and an application date of September 20, 2018, and claims its priority. The disclosure of the CN application is incorporated herein as a whole.
技术领域Technical field
本公开涉及控制领域,尤其涉及一种控制电路、温控器、设备和调节显示颜色的方法和装置。The present disclosure relates to the field of control, and in particular, to a control circuit, a temperature controller, a device, and a method and device for adjusting display colors.
背景技术Background technique
市场上现有温控器种类繁多,大多只是简单的对温度进行采集,并将温度值直接显示在液晶上,用户需要走到温控器附近才能了解当前温度。There are many types of thermostats on the market. Most of them simply collect the temperature and display the temperature value directly on the LCD. The user needs to walk near the thermostat to know the current temperature.
发明内容Summary of the Invention
根据本公开一方面,提出一种控制电路,包括:温度获取单元,被配置为获取当前环境温度值;三基色值确定单元,被配置为根据当前环境温度值确定显示板的第一基色值、第二基色值和第三基色值;以及电压控制单元,被配置为根据第一基色值与第一光源电压的映射关系控制显示板第一光源的电压,根据第二基色值与第二光源电压的映射关系控制显示板第二光源的电压,根据第三基色值与第三光源电压的映射关系控制显示板第三光源的电压。According to an aspect of the present disclosure, a control circuit is provided, including: a temperature obtaining unit configured to obtain a current ambient temperature value; a three primary color value determining unit configured to determine a first primary color value of a display panel according to the current ambient temperature value, A second primary color value and a third primary color value; and a voltage control unit configured to control the voltage of the first light source of the display panel according to the mapping relationship between the first primary color value and the first light source voltage, and according to the second primary color value and the second light source voltage The mapping relationship of the voltage of the second light source of the display panel is controlled, and the voltage of the third light source of the display panel is controlled according to the mapping relationship between the third primary color value and the third light source voltage.
在一些实施例中,电压控制单元包括:脉冲宽度调制PWM波确定电路,被配置为根据第一基色值确定第一PWM波占空比,并输出具有第一PWM波占空比的第一PWM波,根据第二基色值确定第二PWM波占空比,并输出具有第二PWM波占空比的第二PWM波,根据第三基色值确定第三PWM波占空比,并输出具有第三PWM波占空比的第三PWM波;第一光源控制电路,被配置为接收第一PWM波,输出与第一PWM波占空比对应的第一光源电压,其中,第一光源电压被施加到显示板第一光源;第二光源控制电路,被配置为接收第二PWM波,输出与第二PWM波占空比对应的第二光源电压,其中,第二光源电压被施加到显示板第二光源;以及第三光源控制电路,被配置为接收第三PWM波,输出与第三PWM波占空比对应的第三光源电压,其中,第三光源电压被施加到显示板第三光源。In some embodiments, the voltage control unit includes: a pulse width modulation PWM wave determination circuit configured to determine a first PWM wave duty cycle according to a first primary color value, and output a first PWM having a first PWM wave duty cycle A second PWM wave duty cycle is determined according to the second primary color value, and a second PWM wave having a second PWM wave duty ratio is output, a third PWM wave duty ratio is determined according to the third primary color value, and A third PWM wave with a three PWM wave duty cycle; a first light source control circuit configured to receive the first PWM wave and output a first light source voltage corresponding to the first PWM wave duty cycle, wherein the first light source voltage is A first light source applied to the display panel; a second light source control circuit configured to receive a second PWM wave and output a second light source voltage corresponding to the second PWM wave duty cycle, wherein the second light source voltage is applied to the display panel A second light source; and a third light source control circuit configured to receive a third PWM wave and output a third light source voltage corresponding to the duty ratio of the third PWM wave, wherein the third light source voltage is applied to the third light source of the display panel .
在一些实施例中,PWM波确定电路还被配置为根据第一基色值确定第一PWM 波输出频率,并输出具有第一PWM波输出频率的第一PWM波,根据第二基色值确定第二PWM波输出频率,并输出具有第二PWM波输出频率的第二PWM波,根据第三基色值确定第三PWM波输出频率,并输出具有第三PWM波输出频率的第三PWM波;第一光源控制电路还被配置为输出与第一PWM波输出频率对应的第一光源电压;第二光源控制电路还被配置为输出与第二PWM波输出频率对应的第二光源电压;第三光源控制电路还被配置为输出与第三PWM波输出频率对应的第三光源电压。In some embodiments, the PWM wave determination circuit is further configured to determine a first PWM wave output frequency according to a first primary color value, and output a first PWM wave having a first PWM wave output frequency, and determine a second A PWM wave output frequency and a second PWM wave having a second PWM wave output frequency, determining a third PWM wave output frequency according to a third primary color value, and outputting a third PWM wave having a third PWM wave output frequency; The light source control circuit is further configured to output a first light source voltage corresponding to the first PWM wave output frequency; the second light source control circuit is also configured to output a second light source voltage corresponding to the second PWM wave output frequency; a third light source control The circuit is also configured to output a third light source voltage corresponding to a third PWM wave output frequency.
在一些实施例中,第一光源控制电路、第二光源控制电路和第三光源控制电路中的每一个光源控制电路包括:PWM波接收端;第一输出端;第二输出端;开关器件,开关器件的控制端与PWM波接收端连接,开关器件的第一端与第一输出端连接;以及电容器,电容器的第一端与开关器件的第一端连接,电容器的第二端与第二输出端连接,并且电容器的第二端与电源电压端连接。In some embodiments, each of the first light source control circuit, the second light source control circuit, and the third light source control circuit includes: a PWM wave receiving end; a first output end; a second output end; a switching device, The control terminal of the switching device is connected to the PWM wave receiving terminal, the first terminal of the switching device is connected to the first output terminal; and the capacitor, the first terminal of the capacitor is connected to the first terminal of the switching device, and the second terminal of the capacitor is connected to the second The output terminal is connected, and the second terminal of the capacitor is connected to the power supply voltage terminal.
在一些实施例中,第一光源控制电路、第二光源控制电路和第三光源控制电路中的每一个光源控制电路还包括:第一电阻器,设置在开关器件的控制端与PWM波接收端之间;以及第二电阻器,设置在第二输出端与电源电压端之间。In some embodiments, each of the first light source control circuit, the second light source control circuit, and the third light source control circuit further includes: a first resistor disposed at a control end of the switching device and a PWM wave receiving end Between; and a second resistor disposed between the second output terminal and the power supply voltage terminal.
在一些实施例中,第一光源控制电路的PWM波接收端与PWM波确定电路中输出第一PWM波的端子连接,第一光源控制电路的第一输出端与显示板第一光源的第一引脚连接;第一光源控制电路的第二输出端与显示板第一光源的第二引脚连接;第二光源控制电路的PWM波接收端与PWM波确定电路中输出第二PWM波的端子连接,第二光源控制电路的第一输出端与显示板第二光源的第一引脚连接;第二光源控制电路的第二输出端与显示板第二光源的第二引脚连接;第三光源控制电路的PWM波接收端与PWM波确定电路中输出第三PWM波的端子连接,第三光源控制电路的第一输出端与显示板第三光源的第一引脚连接;第三光源控制电路的第二输出端与显示板第三光源的第二引脚连接。In some embodiments, the PWM wave receiving end of the first light source control circuit is connected to a terminal that outputs the first PWM wave in the PWM wave determination circuit, and the first output end of the first light source control circuit is connected to the first of the first light source of the display panel. Pin connection; the second output end of the first light source control circuit is connected to the second pin of the first light source of the display panel; the PWM wave receiving end of the second light source control circuit and the terminal that outputs the second PWM wave in the PWM wave determination circuit Connected, the first output end of the second light source control circuit is connected to the first pin of the second light source of the display panel; the second output end of the second light source control circuit is connected to the second pin of the second light source of the display panel; third The PWM wave receiving end of the light source control circuit is connected to the terminal that outputs the third PWM wave in the PWM wave determination circuit. The first output end of the third light source control circuit is connected to the first pin of the third light source of the display panel. The third light source control The second output end of the circuit is connected to the second pin of the third light source of the display panel.
在一些实施例中,开关器件为三极管;三极管的控制端为基极,与PWM波接收端连接;三极管的第一端与第一输出端连接;三极管的第二端接地。In some embodiments, the switching device is a transistor; the control terminal of the transistor is a base and is connected to the PWM wave receiving terminal; the first terminal of the transistor is connected to the first output terminal; and the second terminal of the transistor is grounded.
根据本公开的另一方面,还提出一种温控器,包括温度传感器、显示板和上述的控制电路;其中,温度传感器被配置为检测当前环境温度值;显示板被配置为根据控制电路输出的光源电压显示不同的颜色。According to another aspect of the present disclosure, a temperature controller is further provided, including a temperature sensor, a display panel, and the above-mentioned control circuit; wherein the temperature sensor is configured to detect a current ambient temperature value; and the display panel is configured to output according to the control circuit The light source voltage is displayed in different colors.
根据本公开的另一方面,还提出一种用电设备,包括上述的控制电路或温控器。According to another aspect of the present disclosure, an electric device is also provided, including the above-mentioned control circuit or temperature controller.
根据本公开的另一方面,还提出一种随温度变换调节显示颜色的方法,包括:获 取当前环境温度值;根据当前环境温度值确定显示板的第一基色值、第二基色值和第三基色值;根据第一基色值与第一光源电压的映射关系控制显示板第一光源的电压,根据第二基色值与第二光源电压的映射关系控制显示板第二光源的电压,根据第三基色值与第三光源电压的映射关系控制显示板第三光源的电压。According to another aspect of the present disclosure, a method for adjusting display color with temperature conversion is also provided, which includes: obtaining a current ambient temperature value; and determining a first primary color value, a second primary color value, and a third primary color value of the display panel according to the current environmental temperature value. Primary color value; controlling the voltage of the first light source of the display panel according to the mapping relationship between the first primary color value and the voltage of the first light source; controlling the voltage of the second light source of the display panel according to the mapping relationship between the second primary color value and the second light source voltage; The mapping relationship between the primary color value and the voltage of the third light source controls the voltage of the third light source of the display panel.
在一些实施例中,该方法还包括:根据第一基色值确定第一PWM波占空比,并输出具有第一PWM波占空比的第一PWM波,根据第一PWM波输出与第一PWM波占空比对应的第一光源电压,其中,第一光源电压被施加到显示板第一光源;根据第二基色值确定第二PWM波占空比,并输出具有第二PWM波占空比的第二PWM波,根据第二PWM波输出与第二PWM波占空比对应的第二光源电压,其中,第二光源电压被施加到显示板第二光源;根据第三基色值确定第三PWM波占空比,并输出具有第三PWM波占空比的第三PWM波,根据第三PWM波输出与第三PWM波占空比对应的第三光源电压,其中,第三光源电压被施加到显示板第三光源。In some embodiments, the method further includes: determining a first PWM wave duty cycle according to the first primary color value, and outputting a first PWM wave having the first PWM wave duty cycle; The first light source voltage corresponding to the duty cycle of the PWM wave, wherein the first light source voltage is applied to the first light source of the display panel; the second duty cycle of the PWM wave is determined according to the second primary color value, and the second PWM wave duty is output. The second PWM wave is output according to the second PWM wave, and the second light source voltage corresponding to the duty ratio of the second PWM wave is output, wherein the second light source voltage is applied to the second light source of the display panel; Three PWM wave duty cycles and outputting a third PWM wave having a third PWM wave duty cycle, and outputting a third light source voltage corresponding to the third PWM wave duty cycle according to the third PWM wave, wherein the third light source voltage A third light source is applied to the display panel.
在一些实施例中,该方法还包括:根据第一基色值确定第一PWM输出频率,并输出具有第一PWM输出频率的第一PWM波,根据第一PWM波输出与第一PWM波输出频率对应的第一光源电压;根据第二基色值确定第二PWM输出频率,并输出具有第二PWM输出频率的第二PWM波,根据第二PWM波输出与第二PWM波输出频率对应的第二光源电压;根据第三基色值确定第三PWM输出频率,并输出具有第三PWM输出频率的第三PWM波,根据第三PWM波输出与第三PWM波输出频率对应的第三光源电压。In some embodiments, the method further includes: determining a first PWM output frequency according to the first primary color value, and outputting a first PWM wave having the first PWM output frequency; and outputting the first PWM wave according to the first PWM wave and the first PWM wave output frequency A corresponding first light source voltage; determining a second PWM output frequency according to a second primary color value, and outputting a second PWM wave having a second PWM output frequency; and outputting a second PWM wave corresponding to the second PWM wave output frequency according to the second PWM wave Light source voltage; determining a third PWM output frequency according to a third primary color value, and outputting a third PWM wave having a third PWM output frequency; and outputting a third light source voltage corresponding to the third PWM wave output frequency according to the third PWM wave.
根据本公开的另一方面,还提出一种随温度变换调节显示颜色的装置,包括:存储器;以及耦接至存储器的处理器,处理器被配置为基于存储在存储器的指令执行如上述的随温度变换调节显示颜色的方法。According to another aspect of the present disclosure, there is also provided a device for adjusting display color as a function of temperature, including: a memory; and a processor coupled to the memory, the processor being configured to execute the following random access based on instructions stored in the memory. A method of adjusting the display color with temperature change.
根据本公开的另一方面,还提出一种计算机可读存储介质,其上存储有计算机程序指令,该指令被处理器执行时实现上述的随温度变换调节显示颜色的方法的步骤。According to another aspect of the present disclosure, there is also provided a computer-readable storage medium having stored thereon computer program instructions that, when executed by a processor, implement the steps of the method for adjusting display color as a function of temperature.
通过以下参照附图对本公开的示例性实施例的详细描述,本公开的其它特征及其优点将会变得清楚。Other features and advantages of the present disclosure will become apparent from the following detailed description of exemplary embodiments of the present disclosure with reference to the accompanying drawings.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
构成说明书的一部分的附图描述了本公开的实施例,并且连同说明书一起用于解释本公开的原理。The accompanying drawings, which form a part of the specification, describe embodiments of the present disclosure and, together with the description, serve to explain principles of the present disclosure.
参照附图,根据下面的详细描述,可以更加清楚地理解本公开,其中:The disclosure can be understood more clearly with reference to the accompanying drawings, based on the following detailed description, in which:
图1为本公开控制电路的一些实施例的结构示意图。FIG. 1 is a schematic structural diagram of some embodiments of a control circuit of the present disclosure.
图2为本公开控制电路的另一些实施例的结构示意图。FIG. 2 is a schematic structural diagram of another embodiment of a control circuit of the present disclosure.
图3为本公开控制电路中光源控制电路的一些实施例的结构示意图。FIG. 3 is a schematic structural diagram of some embodiments of a light source control circuit in a control circuit of the present disclosure.
图4为本公开温控器的一些实施例的结构示意图。FIG. 4 is a schematic structural diagram of some embodiments of a temperature controller of the present disclosure.
图5为本公开随温度变换调节显示颜色的方法的一些实施例的流程示意图。FIG. 5 is a schematic flowchart of some embodiments of a method for adjusting display color according to a temperature change of the present disclosure.
图6为本公开随温度变换调节显示颜色的装置的一些实施例的结构示意图。FIG. 6 is a schematic structural diagram of some embodiments of a device for adjusting display color according to a temperature change of the present disclosure.
图7为本公开随温度变换调节显示颜色的装置的另一些实施例的结构示意图。FIG. 7 is a schematic structural diagram of another embodiment of a device for adjusting display color according to temperature change of the present disclosure.
具体实施方式detailed description
现在将参照附图来详细描述本公开的各种示例性实施例。应注意到:除非另外具体说明,否则在这些实施例中阐述的部件和步骤的相对布置、数字表达式和数值不限制本公开的范围。Various exemplary embodiments of the present disclosure will now be described in detail with reference to the drawings. It should be noted that, unless specifically stated otherwise, the relative arrangement of components and steps, numerical expressions, and numerical values set forth in these embodiments do not limit the scope of the present disclosure.
同时,应当明白,为了便于描述,附图中所示出的各个部分的尺寸并不是按照实际的比例关系绘制的。At the same time, it should be understood that, for the convenience of description, the dimensions of the various parts shown in the drawings are not drawn according to the actual proportional relationship.
以下对至少一个示例性实施例的描述实际上仅仅是说明性的,决不作为对本公开及其应用或使用的任何限制。The following description of at least one exemplary embodiment is actually merely illustrative and in no way serves as any limitation on the present disclosure and its application or use.
对于相关领域普通技术人员已知的技术、方法和设备可能不作详细讨论,但在适当情况下,所述技术、方法和设备应当被视为授权说明书的一部分。Techniques, methods, and equipment known to those of ordinary skill in the relevant field may not be discussed in detail, but where appropriate, the techniques, methods, and equipment should be considered as part of the authorization specification.
在这里示出和讨论的所有示例中,任何具体值应被解释为仅仅是示例性的,而不是作为限制。因此,示例性实施例的其它示例可以具有不同的值。In all examples shown and discussed herein, any specific value should be construed as exemplary only and not as a limitation. Therefore, other examples of the exemplary embodiments may have different values.
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步讨论。It should be noted that similar reference numerals and letters indicate similar items in the following drawings, so once an item is defined in one drawing, it need not be discussed further in subsequent drawings.
为使本公开的目的、技术方案和优点更加清楚明白,以下结合具体实施例,并参照附图,对本公开进一步详细说明。In order to make the objectives, technical solutions, and advantages of the present disclosure more clear, the present disclosure is further described in detail below with reference to specific embodiments and with reference to the accompanying drawings.
相关技术中的温控器交互方式比较单一,无法给用户带来方便快捷的交互体验。用户往往只有感觉到过冷或过热才会去查看当前温度,浪费能源的同时也不利于用户身体健康。The temperature controller in the related technology has a relatively simple interaction mode, which cannot bring a convenient and fast interactive experience to the user. Users often look at the current temperature only when they feel too cold or overheated. This wastes energy and is not good for the user's health.
图1为本公开控制电路的一些实施例的结构示意图。该控制电路包括温度获取单元110、三基色值确定单元120和电压控制单元130。FIG. 1 is a schematic structural diagram of some embodiments of a control circuit of the present disclosure. The control circuit includes a temperature acquisition unit 110, a three primary color value determination unit 120, and a voltage control unit 130.
温度获取单元110被配置为获取当前环境温度值。温度获取单元110可以通过温 度传感器获取当前环境温度值。The temperature acquisition unit 110 is configured to acquire a current ambient temperature value. The temperature acquiring unit 110 may acquire a current ambient temperature value through a temperature sensor.
三基色值确定单元120被配置为根据当前环境温度值确定显示板的第一基色值、第二基色值和第三基色值。显示板可以为液晶显示板,具体可以为段式液晶显示板,显示板还可以为发光二极管显示板等。第一基色例如为R(红)基色、第二基色例如为G(绿)基色、第三基色例如为B(蓝)基色,其中,通过控制三基色的值,可以构成不同的颜色。The three primary color value determination unit 120 is configured to determine a first primary color value, a second primary color value, and a third primary color value of the display panel according to a current ambient temperature value. The display panel may be a liquid crystal display panel, specifically a segmented liquid crystal display panel, and the display panel may also be a light emitting diode display panel. The first primary color is, for example, an R (red) primary color, the second primary color is, for example, a G (green) primary color, and the third primary color is, for example, a B (blue) primary color. Different values can be formed by controlling the values of the three primary colors.
电压控制单元130被配置为根据第一基色值与第一光源电压的映射关系控制显示板第一光源的电压,根据第二基色值与第二光源电压的映射关系控制显示板第二光源的电压,根据第三基色值与第三光源电压的映射关系控制显示板第三光源的电压。显示板可以设置三种光源,第一光源例如为红颜色的灯芯,第二光源例如为绿颜色的灯芯,第三光源例如为蓝颜色的灯芯,电压控制单元130可以对三路光源的电压进行控制,按照三基色配比原理,使得显示板显示出各种各样的颜色。The voltage control unit 130 is configured to control the voltage of the first light source of the display panel according to the mapping relationship between the first primary color value and the first light source voltage, and control the voltage of the second light source of the display panel according to the mapping relationship between the second primary color value and the second light source voltage. , Controlling the voltage of the third light source of the display panel according to the mapping relationship between the third primary color value and the third light source voltage. The display panel can be provided with three kinds of light sources. The first light source is, for example, a red color wick, the second light source is, for example, a green color wick, and the third light source is, for example, a blue color wick. The voltage control unit 130 may perform the voltage of the three light sources. Control, according to the principle of three primary colors, so that the display panel displays a variety of colors.
在该实施例中,根据当前环境温度值确定三基色值,再根据三基色值与各路光源的电压关系,控制显示板的光源电压,从而使得显示板根据不同的环境温度显示不同的颜色,提升了用户体验。In this embodiment, the three primary color values are determined according to the current ambient temperature value, and then the light source voltage of the display panel is controlled according to the voltage relationship between the three primary color values and each light source, so that the display panel displays different colors according to different ambient temperatures. Improved user experience.
图2为本公开控制电路的另一些实施例的结构示意图。其中,电压控制单元130包括:PWM(Pulse Width Modulation,脉冲宽度调制)波确定电路210、第一光源控制电路220、第二光源控制电路230和第三光源控制电路240。FIG. 2 is a schematic structural diagram of another embodiment of a control circuit of the present disclosure. The voltage control unit 130 includes a PWM (Pulse Width Modulation) wave determination circuit 210, a first light source control circuit 220, a second light source control circuit 230, and a third light source control circuit 240.
温度获取单元110被配置为获取当前环境温度值。The temperature acquisition unit 110 is configured to acquire a current ambient temperature value.
三基色值确定单元120被配置为根据当前环境温度值确定显示板的第一基色值、第二基色值和第三基色值。在一些实施例中,可以为一个温度值对应一个三基色值,也可以为一个温度区间对应一个三基色值。The three primary color value determination unit 120 is configured to determine a first primary color value, a second primary color value, and a third primary color value of the display panel according to a current ambient temperature value. In some embodiments, one temperature value may correspond to one three primary color value, and one temperature interval may correspond to one three primary color value.
PWM波确定电路210被配置为根据第一基色值确定第一PWM波占空比,并输出具有第一PWM波占空比的第一PWM波,根据第二基色值确定第二PWM波占空比,并输出具有第二PWM波占空比的第二PWM波,根据第三基色值确定第三PWM波占空比,并输出具有第三PWM波占空比的第三PWM波。PWM波确定电路210可以通过查表的方式确定温度、三基色和PWM波占空比的对应关系。如表1所示,例如,当前温度为2°,则通过查表可知,第一PWM波占空比为0%,第二PWM波占空比为0%,第三PWM波占空比为100%。The PWM wave determination circuit 210 is configured to determine a first PWM wave duty cycle according to a first primary color value, and output a first PWM wave having a first PWM wave duty ratio, and determine a second PWM wave duty cycle according to a second primary color value. And output a second PWM wave having a second PWM wave duty cycle, determine a third PWM wave duty cycle according to a third primary color value, and output a third PWM wave having a third PWM wave duty cycle. The PWM wave determination circuit 210 can determine the correspondence between the temperature, the three primary colors, and the duty cycle of the PWM wave by looking up a table. As shown in Table 1, for example, if the current temperature is 2 °, it can be seen from the table that the duty cycle of the first PWM wave is 0%, the duty cycle of the second PWM wave is 0%, and the duty cycle of the third PWM wave is 100%.
温度区间Temperature range PWM1(R)PWM1 (R) PWM2(G)PWM2 (G) PWM3(B)PWM3 (B)
……... 0%0% 0%0% 100%100%
(0,5](0,5) 0%0% 0%0% 100%100%
(5,10](5,10) 0%0% 20%20% 80%80%
(10,20](10,20) 0%0% 60%60% 40%40%
(20,25](20,25) 0%0% 100%100% 0%0%
(25,30](25,30) 20%20% 80%80% 0%0%
(30,35](30,35) 60%60% 40%40% 0%0%
(35,40](35,40) 100%100% 0%0% 0%0%
……... 100%100% 0%0% 0%0%
表1Table 1
第一光源控制电路220被配置为接收第一PWM波,输出与第一PWM波占空比对应的第一光源电压。第一光源电压被施加到显示板第一光源,第一光源例如为红颜色的灯芯。The first light source control circuit 220 is configured to receive a first PWM wave and output a first light source voltage corresponding to a first PWM wave duty cycle. The first light source voltage is applied to the first light source of the display panel, and the first light source is, for example, a red-colored wick.
第二光源控制电路230被配置为接收第二PWM波,输出与第二PWM波占空比对应的第二光源电压。第二光源电压被施加到显示板第二光源,第二光源例如为绿颜色的灯芯。The second light source control circuit 230 is configured to receive a second PWM wave and output a second light source voltage corresponding to a second PWM wave duty cycle. The second light source voltage is applied to the second light source of the display panel, and the second light source is, for example, a green-colored wick.
第三光源控制电路240被配置为接收第三PWM波,输出与第三PWM波占空比对应的第三光源电压。第三光源电压被施加到显示板第三光源,第三光源例如为蓝颜色的灯芯。The third light source control circuit 240 is configured to receive a third PWM wave and output a third light source voltage corresponding to the third PWM wave duty cycle. A third light source voltage is applied to the third light source of the display panel, and the third light source is, for example, a blue-colored wick.
在该实施例中,根据当前环境温度值确定三基色值,再根据三基色值确定三路PWM波占空比,从而输出三路光源电压,将该光源电压分别施加到对应的显示板光源上,能够使得显示板显示颜色,用户根据显示板颜色就可以判断出当前环境温度的高低,提升了用户体验。In this embodiment, the three primary color values are determined according to the current ambient temperature value, and then the three PWM wave duty cycles are determined according to the three primary color values, so as to output three light source voltages, which are respectively applied to the corresponding display panel light sources. It can make the display panel display color, and the user can judge the current ambient temperature according to the display panel color, which improves the user experience.
图3为本公开控制电路中光源控制电路的一些实施例的结构示意图。该光源控制电路包括PWM波接收端310、第一输出端320、第二输出端330、开关器件340和电容器350,其中,开关器件340的控制端与PWM波接收端310连接,开关器件340的第一端与第一输出端320连接。在一些实施例中,开关器件340为三极管,其中,三极管的控制端为基极,与PWM波接收端310连接;三极管的第一端与第一输出端320连接;三极管的第二端接地。电容器350的第一端与开关器件340的第一端连接,电容器350的第二端与第二输出端330连接,并且电容器350的第二端与电源电压端 连接。通过开关器件340的开断,能够控制电容器350的充放电,进而使得电容器350两端的电压保持在某一特定的电压值上。FIG. 3 is a schematic structural diagram of some embodiments of a light source control circuit in a control circuit of the present disclosure. The light source control circuit includes a PWM wave receiving terminal 310, a first output terminal 320, a second output terminal 330, a switching device 340, and a capacitor 350. The control terminal of the switching device 340 is connected to the PWM wave receiving terminal 310. The first terminal is connected to the first output terminal 320. In some embodiments, the switching device 340 is a transistor, wherein the control terminal of the transistor is a base and connected to the PWM wave receiving terminal 310; the first terminal of the transistor is connected to the first output terminal 320; and the second terminal of the transistor is grounded. A first terminal of the capacitor 350 is connected to a first terminal of the switching device 340, a second terminal of the capacitor 350 is connected to a second output terminal 330, and a second terminal of the capacitor 350 is connected to a power supply voltage terminal. By turning on and off the switching device 340, the charging and discharging of the capacitor 350 can be controlled, so that the voltage across the capacitor 350 can be maintained at a specific voltage value.
在一些实施例中,该光源控制电路还包括第一电阻器360和第二电阻器370,其中,第一电阻器360设置在开关器件340的控制端与PWM波接收端310之间;第二电阻器370设置在第二输出端330与电源电压端之间。通过设置电阻器能够防止电流过大时烧毁光源控制电路。In some embodiments, the light source control circuit further includes a first resistor 360 and a second resistor 370, wherein the first resistor 360 is disposed between the control terminal of the switching device 340 and the PWM wave receiving terminal 310; the second The resistor 370 is disposed between the second output terminal 330 and a power voltage terminal. By setting a resistor, the light source control circuit can be prevented from being burned when the current is too large.
若光源控制电路为第一光源控制电路220,则PWM波接收端310与PWM波确定电路210中输出第一PWM波的端子连接,第一输出端320与显示板第一光源的第一引脚连接,第二输出端330与显示板第一光源的第二引脚连接。PWM波接收端310接收到第一PWM波后,通过第一光源控制电路输出端输出与第一PWM波占空比对应的第一光源电压,第一光源电压被施加到显示板的第一光源。If the light source control circuit is the first light source control circuit 220, the PWM wave receiving end 310 is connected to the terminal that outputs the first PWM wave in the PWM wave determination circuit 210, and the first output end 320 is connected to the first pin of the first light source of the display panel The second output terminal 330 is connected to the second pin of the first light source of the display panel. After receiving the first PWM wave, the PWM wave receiving end 310 outputs a first light source voltage corresponding to the duty ratio of the first PWM wave through the output end of the first light source control circuit. The first light source voltage is applied to the first light source of the display panel. .
若光源控制电路为第二光源控制电路230,则PWM波接收端310与PWM波确定电路210中输出第二PWM波的端子连接,第一输出端320与显示板第二光源的第一引脚连接,第二输出端330与显示板第二光源的第二引脚连接。PWM波接收端310接收到第二PWM波后,通过第二光源控制电路输出端输出与第二PWM波占空比对应的第二光源电压,第二光源电压被施加到显示板的第二光源。If the light source control circuit is the second light source control circuit 230, the PWM wave receiving end 310 is connected to the second PWM wave output terminal in the PWM wave determination circuit 210, and the first output end 320 is connected to the first pin of the second light source of the display panel. The second output terminal 330 is connected to the second pin of the second light source of the display panel. After receiving the second PWM wave, the PWM wave receiving end 310 outputs a second light source voltage corresponding to the duty ratio of the second PWM wave through the output end of the second light source control circuit, and the second light source voltage is applied to the second light source of the display panel. .
若光源控制电路为第三光源控制电路240,则PWM波接收端310与PWM波确定电路210中输出第三PWM波的端子连接,第一输出端320与显示板第三光源的第一引脚连接,第二输出端330与显示板第三光源的第二引脚连接。PWM波接收端310接收到第三PWM波后,通过第三光源控制电路输出端输出与第三PWM波占空比对应的第三光源电压,第三光源电压被施加到显示板的第三光源。If the light source control circuit is the third light source control circuit 240, the PWM wave receiving end 310 is connected to the terminal that outputs the third PWM wave in the PWM wave determination circuit 210, and the first output end 320 is connected to the first pin of the third light source of the display panel. The second output terminal 330 is connected to the second pin of the third light source of the display panel. After receiving the third PWM wave, the PWM wave receiving end 310 outputs a third light source voltage corresponding to the duty ratio of the third PWM wave through the output end of the third light source control circuit. The third light source voltage is applied to the third light source of the display panel. .
在上述实施例中,通过PWM脉冲信号分别对三路光源所发光的强弱进行控制,从而使得显示板显示对应的颜色,进而用户根据显示板颜色就可以判断出当前环境温度的高低。In the above embodiment, the intensity of light emitted by the three light sources is controlled by the PWM pulse signal, so that the display panel displays the corresponding color, and the user can determine the current ambient temperature according to the color of the display panel.
在本公开的另一些实施例中,PWM波确定电路210还被配置为根据第一基色值确定第一PWM波输出频率,并输出具有第一PWM波输出频率的第一PWM波,根据第二基色值确定第二PWM波输出频率,并输出具有第二PWM波输出频率的第二PWM波,根据第三基色值确定第三PWM波输出频率,并输出具有第三PWM波输出频率的第三PWM波。第一光源控制电路220输出与第一PWM波输出频率对应的第一光源电压。第二光源控制电路230输出与第二PWM波输出频率对应的第二光源 电压。第三光源控制电路240输出与第三PWM波输出频率对应的第三光源电压。第一光源电压被施加到显示板第一光源,第二光源电压被施加到显示板第二光源,第三光源电压被施加到显示板第三光源。In some other embodiments of the present disclosure, the PWM wave determination circuit 210 is further configured to determine a first PWM wave output frequency according to a first primary color value, and output a first PWM wave having a first PWM wave output frequency. The primary color value determines a second PWM wave output frequency, and outputs a second PWM wave having a second PWM wave output frequency, determines a third PWM wave output frequency based on the third primary color value, and outputs a third PWM wave output frequency having a third PWM wave output frequency. PWM wave. The first light source control circuit 220 outputs a first light source voltage corresponding to a first PWM wave output frequency. The second light source control circuit 230 outputs a second light source voltage corresponding to a second PWM wave output frequency. The third light source control circuit 240 outputs a third light source voltage corresponding to a third PWM wave output frequency. A first light source voltage is applied to the first light source of the display panel, a second light source voltage is applied to the second light source of the display panel, and a third light source voltage is applied to the third light source of the display panel.
在该实施例中,推算出每一路PWM波的输出频率,从而减少光源电压的波动,进而避免显示板显示颜色时出现闪烁。In this embodiment, the output frequency of each PWM wave is calculated, thereby reducing the fluctuation of the light source voltage, and thereby avoiding flicker when the display panel displays colors.
图4为本公开温控器的一些实施例的结构示意图。该温控器包括温度传感器410、控制电路420和显示板430。控制电路420已在上述实施例中进行了详细介绍,此处不再进一步阐述。FIG. 4 is a schematic structural diagram of some embodiments of a temperature controller of the present disclosure. The temperature controller includes a temperature sensor 410, a control circuit 420, and a display panel 430. The control circuit 420 has been described in detail in the above embodiments, and will not be further explained here.
温度传感器410例如为环境感温包,被配置为采集当前环境温度值,并将当前环境温度值传输至控制电路420。The temperature sensor 410 is, for example, an environmental temperature sensing package, and is configured to collect a current ambient temperature value and transmit the current ambient temperature value to the control circuit 420.
控制电路420输出三路光源电压到显示板430,显示板430根据控制电路420输出的光源电压显示不同的颜色。其中,显示板例如为液晶显示板,具体可以为段氏液晶显示板。The control circuit 420 outputs three light source voltages to the display panel 430, and the display panel 430 displays different colors according to the light source voltage output by the control circuit 420. The display panel is, for example, a liquid crystal display panel, and may specifically be a Duan liquid crystal display panel.
在该实施例中,三路光源电压分别被施加到显示板的三路光源上,三路光源发出不同强弱的光,基于三基色的配比的原理,使得显示板显示对应的颜色,从而用户根据显示板颜色就可以判断出当前环境温度的高低。In this embodiment, the voltages of the three light sources are respectively applied to the three light sources of the display panel, and the three light sources emit light of different intensities. Based on the principle of the ratio of the three primary colors, the display panel displays the corresponding colors. The user can determine the current ambient temperature based on the color of the display panel.
在一些实施例中,温度值还可以直接显示在显示板上。In some embodiments, the temperature value may also be displayed directly on the display panel.
下面将以一个具体实施例对温控器进行介绍,其中,该温控器的显示板采用液晶显示板,液晶显示板采用RGB三种颜色的背光灯芯,引出三路背光控制引脚,例如,A1\K1,A1\K2,A3\K3。The following will introduce the temperature controller with a specific embodiment, in which the display panel of the temperature controller uses a liquid crystal display panel, the liquid crystal display panel uses RGB three-color backlight wicks, and leads to three backlight control pins, for example, A1 \ K1, A1 \ K2, A3 \ K3.
温度传感器实时监测当前环境温度,控制电路通过AD采样获取当前准确的环境温度值。其中,若液晶背光额定电压为5V,控制电路可通过调整输出PWM波形的占空比对光源控制电路的电容进行充放电控制,使其供给液晶背光引脚的电压保持在0V-5V之间。占空比为0%时,输出为0V,占空比为100%时,输出为5V。The temperature sensor monitors the current ambient temperature in real time, and the control circuit obtains the current accurate ambient temperature value through AD sampling. Among them, if the rated voltage of the LCD backlight is 5V, the control circuit can charge and discharge the capacitor of the light source control circuit by adjusting the duty cycle of the output PWM waveform, so that the voltage supplied to the pins of the LCD backlight is maintained between 0V-5V. When the duty is 0%, the output is 0V, and when the duty is 100%, the output is 5V.
不同的环境温度对应不同的三基色,三基色对应三路PWM波,PWM波的占空比不同,输出的电压也就不同,液晶显示板显示不同的背光。例如,控制A1\K1的PWM波占空比为100%,A2\K2及A3\K3的PWM波占空比为0%时,背光为纯红色。如果A1\K1及A2\K2两路都为100%时,A3\K3为0%时,显示出黄色。同理可显示出纯绿色及纯蓝色。进一步,按照三基色配比的原理,可显示出各种各样的颜色,达到无极调节的效果。Different ambient temperatures correspond to different three primary colors, and the three primary colors correspond to three PWM waves. The duty cycle of the PWM waves is different, and the output voltage is different. The LCD panel displays different backlights. For example, when the duty cycle of the PWM wave of A1 \ K1 is 100%, and the duty cycle of the PWM wave of A2 \ K2 and A3 \ K3 is 0%, the backlight is pure red. If both A1 \ K1 and A2 \ K2 are 100%, when A3 \ K3 is 0%, it will be yellow. Similarly, pure green and pure blue can be displayed. Further, according to the principle of three primary colors, various colors can be displayed, and the effect of stepless adjustment can be achieved.
在该实施例中,在现有液晶的技术上进行全新升级,通过背光灯芯、电路及特定的控制策略实现温控器显示颜色随着环境温度的改变进行色调的变换,时刻都能给用户一种直观的感受。例如,当环境温度较低时,温控器会显示冷色调,例如蓝色;当温度较为舒适时,温控器会显示一种健康节能的色调,例如绿色;当环境温度较高时,温控器会显示一种暖色调,例如橙黄色等。该显示板的显示界面清晰、美观,多种颜色自由切换显示,提升了交互体验;另外,该方案的成本与现有段式液晶持平。In this embodiment, a new upgrade is made on the existing liquid crystal technology. The backlight controller, circuit and specific control strategy are used to realize the thermostat display color. The hue is changed with the change of the ambient temperature. This intuitive feeling. For example, when the ambient temperature is low, the thermostat will display a cold hue, such as blue; when the temperature is more comfortable, the thermostat will display a healthy and energy-saving hue, such as green; when the ambient temperature is high, the temperature The controller will display a warm tone, such as orange yellow. The display interface of the display board is clear and beautiful, and a variety of colors can be freely displayed, which improves the interactive experience. In addition, the cost of this solution is the same as the existing segment LCD.
在一些实施例中,本公开保护一种用电设备,该用电设备包括上述的控制电路或温控器。In some embodiments, the present disclosure protects a power-consuming device including the control circuit or a thermostat described above.
图5为本公开随温度变换调节显示颜色的方法的一些实施例的流程示意图。FIG. 5 is a schematic flowchart of some embodiments of a method for adjusting display color according to a temperature change of the present disclosure.
在步骤510,获取当前环境温度值。In step 510, a current ambient temperature value is obtained.
在步骤520,根据当前环境温度值确定显示板的第一基色值、第二基色值和第三基色值。In step 520, a first primary color value, a second primary color value, and a third primary color value of the display panel are determined according to the current ambient temperature value.
在步骤530,根据第一基色值与第一光源电压的映射关系控制显示板第一光源的电压,根据第二基色值与第二光源电压的映射关系控制显示板第二光源的电压,根据第三基色值与第三光源电压的映射关系控制显示板第三光源的电压。In step 530, the voltage of the first light source of the display panel is controlled according to the mapping relationship between the first primary color value and the first light source voltage, and the voltage of the second light source of the display panel is controlled according to the mapping relationship between the second primary color value and the second light source voltage. The mapping relationship between the three primary color values and the voltage of the third light source controls the voltage of the third light source of the display panel.
在一些实施例中,可以根据第一基色值确定第一PWM波占空比,并输出具有第一PWM波占空比的第一PWM波,根据第一PWM波输出与第一PWM波占空比对应的第一光源电压,第一光源电压被施加到显示板第一光源;根据第二基色值确定第二PWM波占空比,并输出具有第二PWM波占空比的第二PWM波,根据第二PWM波输出与第二PWM波占空比对应的第二光源电压,第二光源电压被施加到显示板第二光源;根据第三基色值确定第三PWM波占空比,并输出具有第三PWM波占空比的第三PWM波,根据第三PWM波输出与第三PWM波占空比对应的第三光源电压,第三光源电压被施加到显示板第三光源。In some embodiments, the first PWM wave duty cycle may be determined according to the first primary color value, and a first PWM wave having the first PWM wave duty cycle may be output. According to the first PWM wave output and the first PWM wave, the duty cycle may be occupied. Compared with the corresponding first light source voltage, the first light source voltage is applied to the first light source of the display panel; a second PWM wave duty cycle is determined according to the second primary color value, and a second PWM wave having a second PWM wave duty cycle is output , According to the second PWM wave outputting a second light source voltage corresponding to the second PWM wave duty cycle, the second light source voltage is applied to the second light source of the display panel; the third PWM wave duty cycle is determined according to the third primary color value, and A third PWM wave having a third PWM wave duty is output, and a third light source voltage corresponding to the third PWM wave duty is output according to the third PWM wave. The third light source voltage is applied to the third light source of the display panel.
在该实施例中,根据当前环境温度值确定三基色值,再根据三基色值与各路光源的电压关系,控制显示板的光源电压,从而使得显示板根据不同的环境温度显示不同的颜色,提升了用户体验。In this embodiment, the three primary color values are determined according to the current ambient temperature value, and then the light source voltage of the display panel is controlled according to the voltage relationship between the three primary color values and each light source, so that the display panel displays different colors according to different ambient temperatures. Improved user experience.
在本公开的另一些实施例中,还可以根据第一基色值确定第一PWM输出频率,并输出具有第一PWM输出频率的第一PWM波,根据第一PWM波输出与第一PWM波输出频率对应的第一光源电压;根据第二基色值确定第二PWM输出频率,并输出具有第二PWM输出频率的第二PWM波,根据第二PWM波输出与第二PWM波输 出频率对应的第二光源电压;根据第三基色值确定第三PWM输出频率,并输出具有第三PWM输出频率的第三PWM波,根据第三PWM波输出与第三PWM波输出频率对应的第三光源电压。第一光源电压被施加到显示板第一光源,第二光源电压被施加到显示板第二光源,第三光源电压被施加到显示板第三光源。In other embodiments of the present disclosure, the first PWM output frequency may also be determined according to the first primary color value, and a first PWM wave having the first PWM output frequency may be output. According to the first PWM wave output and the first PWM wave output, A first light source voltage corresponding to the frequency; determining a second PWM output frequency according to the second primary color value, and outputting a second PWM wave having a second PWM output frequency; and outputting a first PWM wave corresponding to the second PWM wave output frequency according to the second PWM wave Two light source voltages; determining a third PWM output frequency according to a third primary color value, and outputting a third PWM wave having a third PWM output frequency; and outputting a third light source voltage corresponding to the third PWM wave output frequency according to the third PWM wave. A first light source voltage is applied to the first light source of the display panel, a second light source voltage is applied to the second light source of the display panel, and a third light source voltage is applied to the third light source of the display panel.
在该实施例中,推算出每一路PWM波的输出频率,从而减少光源电压的波动,进而避免显示板显示颜色时出现闪烁。In this embodiment, the output frequency of each PWM wave is calculated, thereby reducing the fluctuation of the light source voltage, and thereby avoiding flicker when the display panel displays colors.
图6为本公开随温度变换调节显示颜色的装置的一些实施例的结构示意图。该装置包括存储器610和处理器620。其中:存储器610可以是磁盘、闪存或其它任何非易失性存储介质。存储器610被配置为存储图5所对应实施例中的指令。处理器620耦接至存储器610,可以作为一个或多个集成电路来实施,例如微处理器或微控制器。该处理器620被配置为执行存储器中存储的指令。FIG. 6 is a schematic structural diagram of some embodiments of a device for adjusting display color according to a temperature change of the present disclosure. The device includes a memory 610 and a processor 620. Wherein: the memory 610 may be a magnetic disk, a flash memory, or any other non-volatile storage medium. The memory 610 is configured to store instructions in the embodiment corresponding to FIG. 5. The processor 620 is coupled to the memory 610 and may be implemented as one or more integrated circuits, such as a microprocessor or a microcontroller. The processor 620 is configured to execute instructions stored in a memory.
在一些实施例中,还可以如图7所示,该装置700包括存储器710和处理器720。处理器720通过BUS总线730耦合至存储器710。该装置700还可以通过存储接口740连接至外部存储装置750以便调用外部数据,还可以通过网络接口760连接至网络或者另外一台计算机系统(未标出),此处不再进行详细介绍。In some embodiments, as shown in FIG. 7, the apparatus 700 includes a memory 710 and a processor 720. The processor 720 is coupled to the memory 710 through a BUS bus 730. The device 700 can also be connected to the external storage device 750 through the storage interface 740 to call external data, and can also be connected to the network or another computer system (not shown) through the network interface 760, which will not be described in detail here.
在该实施例中,通过存储器存储数据指令,再通过处理器处理上述指令,能够使得显示板根据不同的环境温度显示不同的颜色。In this embodiment, a data instruction is stored in a memory and the processor processes the instruction, so that the display panel can display different colors according to different ambient temperatures.
在另一些实施例中,一种计算机可读存储介质,其上存储有计算机程序指令,该指令被处理器执行时实现图5所对应实施例中的方法的步骤。本领域内的技术人员应明白,本公开的实施例可提供为方法、装置、或计算机程序产品。因此,本公开可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本公开可采用在一个或多个其中包含有计算机可用程序代码的计算机可用非瞬时性存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。In other embodiments, a computer-readable storage medium stores computer program instructions thereon, which when executed by a processor implement the steps of the method in the embodiment corresponding to FIG. 5. Those skilled in the art should understand that the embodiments of the present disclosure may be provided as a method, an apparatus, or a computer program product. Therefore, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present disclosure may take the form of a computer program product implemented on one or more computer-usable non-transitory storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code therein. .
本公开是参照根据本公开实施例的方法、设备(系统)和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多 个方框中指定的功能的装置。The present disclosure is described with reference to flowcharts and / or block diagrams of methods, devices (systems) and computer program products according to embodiments of the present disclosure. It should be understood that each process and / or block in the flowcharts and / or block diagrams and combinations of processes and / or blocks in the flowcharts and / or block diagrams can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing device to produce a machine, so that the instructions generated by the processor of the computer or other programmable data processing device are used to generate instructions Means for implementing the functions specified in one or more flowcharts and / or one or more blocks of the block diagrams.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to work in a particular manner such that the instructions stored in the computer-readable memory produce a manufactured article including an instruction device, the instructions The device implements the functions specified in one or more flowcharts and / or one or more blocks of the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device, so that a series of steps can be performed on the computer or other programmable device to produce a computer-implemented process, which can be executed on the computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more flowcharts and / or one or more blocks of the block diagrams.
至此,已经详细描述了本公开。为了避免遮蔽本公开的构思,没有描述本领域所公知的一些细节。本领域技术人员根据上面的描述,完全可以明白如何实施这里公开的技术方案。So far, the present disclosure has been described in detail. To avoid obscuring the concept of the present disclosure, some details known in the art are not described. Those skilled in the art can fully understand how to implement the technical solutions disclosed herein based on the above description.
虽然已经通过示例对本公开的一些特定实施例进行了详细说明,但是本领域的技术人员应该理解,以上示例仅是为了进行说明,而不是为了限制本公开的范围。本领域的技术人员应该理解,可在不脱离本公开的范围和精神的情况下,对以上实施例进行修改。本公开的范围由所附权利要求来限定。Although some specific embodiments of the present disclosure have been described in detail through examples, those skilled in the art should understand that the above examples are only for the purpose of illustration and are not intended to limit the scope of the present disclosure. Those skilled in the art should understand that the above embodiments can be modified without departing from the scope and spirit of the present disclosure. The scope of the present disclosure is defined by the appended claims.

Claims (14)

  1. 一种控制电路,包括:A control circuit includes:
    温度获取单元,被配置为获取当前环境温度值;A temperature obtaining unit configured to obtain a current ambient temperature value;
    三基色值确定单元,被配置为根据所述当前环境温度值确定显示板的第一基色值、第二基色值和第三基色值;以及A three primary color value determining unit configured to determine a first primary color value, a second primary color value, and a third primary color value of the display panel according to the current ambient temperature value; and
    电压控制单元,被配置为根据所述第一基色值与第一光源电压的映射关系控制显示板第一光源的电压,根据所述第二基色值与第二光源电压的映射关系控制显示板第二光源的电压,根据所述第三基色值与第三光源电压的映射关系控制显示板第三光源的电压。The voltage control unit is configured to control the voltage of the first light source of the display panel according to the mapping relationship between the first primary color value and the voltage of the first light source, and control the first The voltage of the two light sources is controlled according to the mapping relationship between the third primary color value and the voltage of the third light source.
  2. 根据权利要求1所述的控制电路,其中,所述电压控制单元包括:The control circuit according to claim 1, wherein the voltage control unit comprises:
    脉冲宽度调制PWM波确定电路,被配置为根据所述第一基色值确定第一PWM波占空比,并输出具有所述第一PWM波占空比的第一PWM波,根据所述第二基色值确定第二PWM波占空比,并输出具有所述第二PWM波占空比的第二PWM波,根据所述第三基色值确定第三PWM波占空比,并输出具有所述第三PWM波占空比的第三PWM波;The pulse width modulation PWM wave determination circuit is configured to determine a first PWM wave duty cycle according to the first primary color value, and output a first PWM wave having the first PWM wave duty cycle, according to the second The primary color value determines a second PWM wave duty cycle, and outputs a second PWM wave having the second PWM wave duty cycle, determines a third PWM wave duty cycle according to the third primary color value, and outputs the third PWM wave duty cycle. A third PWM wave with a third PWM wave duty cycle;
    第一光源控制电路,被配置为接收所述第一PWM波,输出与所述第一PWM波占空比对应的第一光源电压,其中,所述第一光源电压被施加到所述显示板第一光源;A first light source control circuit is configured to receive the first PWM wave and output a first light source voltage corresponding to the first PWM wave duty cycle, wherein the first light source voltage is applied to the display panel. First light source
    第二光源控制电路,被配置为接收所述第二PWM波,输出与所述第二PWM波占空比对应的第二光源电压,其中,所述第二光源电压被施加到所述显示板第二光源;以及A second light source control circuit configured to receive the second PWM wave and output a second light source voltage corresponding to the second PWM wave duty cycle, wherein the second light source voltage is applied to the display panel Second light source; and
    第三光源控制电路,被配置为接收所述第三PWM波,输出与所述第三PWM波占空比对应的第三光源电压,其中,所述第三光源电压被施加到所述显示板第三光源。A third light source control circuit is configured to receive the third PWM wave and output a third light source voltage corresponding to the duty ratio of the third PWM wave, wherein the third light source voltage is applied to the display panel Third light source.
  3. 根据权利要求2所述的控制电路,其中,The control circuit according to claim 2, wherein:
    所述PWM波确定电路还被配置为根据所述第一基色值确定第一PWM波输出频率,并输出具有所述第一PWM波输出频率的第一PWM波,根据所述第二基色值确定第二PWM波输出频率,并输出具有所述第二PWM波输出频率的第二PWM波,根据所述第三基色值确定第三PWM波输出频率,并输出具有所述第三PWM波输出 频率的第三PWM波;The PWM wave determination circuit is further configured to determine a first PWM wave output frequency according to the first primary color value, and output a first PWM wave having the first PWM wave output frequency, and determine according to the second primary color value. A second PWM wave output frequency and output a second PWM wave having the second PWM wave output frequency, determining a third PWM wave output frequency according to the third primary color value, and outputting the third PWM wave output frequency Third PWM wave;
    所述第一光源控制电路还被配置为输出与所述第一PWM波输出频率对应的第一光源电压;The first light source control circuit is further configured to output a first light source voltage corresponding to the first PWM wave output frequency;
    所述第二光源控制电路还被配置为输出与所述第二PWM波输出频率对应的第二光源电压;The second light source control circuit is further configured to output a second light source voltage corresponding to the second PWM wave output frequency;
    所述第三光源控制电路还被配置为输出与所述第三PWM波输出频率对应的第三光源电压。The third light source control circuit is further configured to output a third light source voltage corresponding to the third PWM wave output frequency.
  4. 根据权利要求2所述的控制电路,其中,所述第一光源控制电路、所述第二光源控制电路和所述第三光源控制电路中的每一个光源控制电路包括:The control circuit according to claim 2, wherein each of the first light source control circuit, the second light source control circuit, and the third light source control circuit includes:
    PWM波接收端;PWM wave receiving end;
    第一输出端;First output
    第二输出端;Second output
    开关器件,所述开关器件的控制端与所述PWM波接收端连接,所述开关器件的第一端与所述第一输出端连接;以及A switching device, a control terminal of the switching device is connected to the PWM wave receiving terminal, and a first terminal of the switching device is connected to the first output terminal; and
    电容器,所述电容器的第一端与所述开关器件的第一端连接,所述电容器的第二端与所述第二输出端连接,并且所述电容器的第二端与电源电压端连接。A capacitor, a first terminal of the capacitor is connected to a first terminal of the switching device, a second terminal of the capacitor is connected to the second output terminal, and a second terminal of the capacitor is connected to a power supply voltage terminal.
  5. 根据权利要求4所述的控制电路,其中,所述第一光源控制电路、所述第二光源控制电路和所述第三光源控制电路中的每一个光源控制电路还包括:The control circuit according to claim 4, wherein each of the first light source control circuit, the second light source control circuit, and the third light source control circuit further comprises:
    第一电阻器,设置在所述开关器件的控制端与所述PWM波接收端之间;以及A first resistor provided between a control terminal of the switching device and the PWM wave receiving terminal; and
    第二电阻器,设置在所述第二输出端与所述电源电压端之间。A second resistor is disposed between the second output terminal and the power voltage terminal.
  6. 根据权利要求4所述的控制电路,其中,The control circuit according to claim 4, wherein:
    所述第一光源控制电路的PWM波接收端与所述PWM波确定电路中输出所述第一PWM波的端子连接,所述第一光源控制电路的第一输出端与所述显示板第一光源的第一引脚连接;所述第一光源控制电路的第二输出端与所述显示板第一光源的第二引脚连接;The PWM wave receiving end of the first light source control circuit is connected to a terminal that outputs the first PWM wave in the PWM wave determination circuit, and the first output end of the first light source control circuit is first connected to the display panel. A first pin of the light source is connected; a second output terminal of the first light source control circuit is connected to a second pin of the first light source of the display panel;
    所述第二光源控制电路的PWM波接收端与所述PWM波确定电路中输出所述第二PWM波的端子连接,所述第二光源控制电路的第一输出端与所述显示板第二光源 的第一引脚连接;所述第二光源控制电路的第二输出端与所述显示板第二光源的第二引脚连接;The PWM wave receiving end of the second light source control circuit is connected to a terminal that outputs the second PWM wave in the PWM wave determination circuit, and the first output end of the second light source control circuit is connected to the second display panel. A first pin of the light source is connected; a second output terminal of the second light source control circuit is connected to a second pin of the second light source of the display panel;
    所述第三光源控制电路的PWM波接收端与所述PWM波确定电路中输出所述第三PWM波的端子连接,所述第三光源控制电路的第一输出端与所述显示板第三光源的第一引脚连接;所述第三光源控制电路的第二输出端与所述显示板第三光源的第二引脚连接。A PWM wave receiving end of the third light source control circuit is connected to a terminal that outputs the third PWM wave in the PWM wave determination circuit, and a first output end of the third light source control circuit is connected to a third of the display panel. The first pin of the light source is connected; the second output terminal of the third light source control circuit is connected to the second pin of the third light source of the display panel.
  7. 根据权利要求4-6任一所述的控制电路,其中,所述开关器件为三极管;The control circuit according to any one of claims 4 to 6, wherein the switching device is a triode;
    所述三极管的控制端为基极,与所述PWM波接收端连接;A control terminal of the triode is a base, and is connected to the PWM wave receiving end;
    所述三极管的第一端与所述第一输出端连接;A first end of the triode is connected to the first output end;
    所述三极管的第二端接地。The second end of the triode is grounded.
  8. 一种温控器,包括温度传感器、显示板和权利要求1-7任一所述的控制电路;A temperature controller comprising a temperature sensor, a display board and the control circuit according to any one of claims 1-7;
    其中,所述温度传感器被配置为检测当前环境温度值;Wherein, the temperature sensor is configured to detect a current ambient temperature value;
    所述显示板被配置为根据所述控制电路输出的光源电压显示不同的颜色。The display panel is configured to display different colors according to a light source voltage output by the control circuit.
  9. 一种用电设备,包括权利要求1-7任一所述的控制电路或权利要求8所述的温控器。An electric equipment includes a control circuit according to any one of claims 1 to 7 or a temperature controller according to claim 8.
  10. 一种随温度变换调节显示颜色的方法,包括:A method for adjusting display color with temperature change includes:
    获取当前环境温度值;Get the current ambient temperature value;
    根据所述当前环境温度值确定显示板的第一基色值、第二基色值和第三基色值;Determining a first primary color value, a second primary color value, and a third primary color value of the display panel according to the current ambient temperature value;
    根据所述第一基色值与第一光源电压的映射关系控制显示板第一光源的电压,根据所述第二基色值与第二光源电压的映射关系控制显示板第二光源的电压,根据所述第三基色值与第三光源电压的映射关系控制显示板第三光源的电压。The voltage of the first light source of the display panel is controlled according to the mapping relationship between the first primary color value and the voltage of the first light source, and the voltage of the second light source of the display panel is controlled according to the mapping relationship between the second primary color value and the second light source voltage. The mapping relationship between the third primary color value and the third light source voltage controls the voltage of the third light source of the display panel.
  11. 根据权利要求10所述的方法,还包括:The method of claim 10, further comprising:
    根据所述第一基色值确定第一PWM波占空比,并输出具有所述第一PWM波占空比的第一PWM波,根据所述第一PWM波输出与所述第一PWM波占空比对应的第一光源电压,其中,所述第一光源电压被施加到所述显示板第一光源;Determining a first PWM wave duty cycle according to the first primary color value, and outputting a first PWM wave having the first PWM wave duty cycle, according to the first PWM wave output and the first PWM wave A first light source voltage corresponding to a space ratio, wherein the first light source voltage is applied to the first light source of the display panel;
    根据所述第二基色值确定第二PWM波占空比,并输出具有所述第二PWM波占空比的第二PWM波,根据所述第二PWM波输出与所述第二PWM波占空比对应的第二光源电压,其中,所述第二光源电压被施加到所述显示板第二光源;Determining a second PWM wave duty cycle according to the second primary color value, and outputting a second PWM wave having the second PWM wave duty cycle, according to the second PWM wave output and the second PWM wave A second light source voltage corresponding to the air ratio, wherein the second light source voltage is applied to the display panel second light source;
    根据所述第三基色值确定第三PWM波占空比,并输出具有所述第三PWM波占空比的第三PWM波,根据所述第三PWM波输出与所述第三PWM波占空比对应的第三光源电压,其中,所述第三光源电压被施加到所述显示板第三光源。Determine a third PWM wave duty cycle according to the third primary color value, and output a third PWM wave having the third PWM wave duty cycle, and output according to the third PWM wave and the third PWM wave The third light source voltage corresponding to the air ratio, wherein the third light source voltage is applied to the third light source of the display panel.
  12. 根据权利要求11所述的方法,还包括:The method according to claim 11, further comprising:
    根据所述第一基色值确定第一PWM输出频率,并输出具有所述第一PWM输出频率的第一PWM波,根据所述第一PWM波输出与所述第一PWM波输出频率对应的第一光源电压;Determine a first PWM output frequency according to the first primary color value, and output a first PWM wave having the first PWM output frequency; and output a first PWM wave corresponding to the first PWM wave output frequency according to the first PWM wave A light source voltage;
    根据所述第二基色值确定第二PWM输出频率,并输出具有所述第二PWM输出频率的第二PWM波,根据所述第二PWM波输出与所述第二PWM波输出频率对应的第二光源电压;Determine a second PWM output frequency according to the second primary color value, and output a second PWM wave having the second PWM output frequency; and output a first PWM wave corresponding to the second PWM wave output frequency according to the second PWM wave Two light source voltages;
    根据所述第三基色值确定第三PWM输出频率,并输出具有所述第三PWM输出频率的第三PWM波,根据所述第三PWM波输出与所述第三PWM波输出频率对应的第三光源电压。Determine a third PWM output frequency according to the third primary color value, and output a third PWM wave having the third PWM output frequency; and output a third PWM wave corresponding to the third PWM wave output frequency according to the third PWM wave Three light source voltages.
  13. 一种随温度变换调节显示颜色的装置,包括:A device for adjusting display color with temperature change includes:
    存储器;以及Memory; and
    耦接至所述存储器的处理器,所述处理器被配置为基于存储在所述存储器的指令执行如权利要求10至12任一项所述的随温度变换调节显示颜色的方法。A processor coupled to the memory, the processor configured to execute a method of adjusting a display color as a function of a temperature change according to any one of claims 10 to 12 based on instructions stored in the memory.
  14. 一种计算机可读存储介质,其上存储有计算机程序指令,该指令被处理器执行时实现权利要求10至12任一项所述的随温度变换调节显示颜色的方法的步骤。A computer-readable storage medium having computer program instructions stored thereon, the instructions, when executed by a processor, implement the steps of the method of adjusting display color as a function of temperature according to any one of claims 10 to 12.
PCT/CN2018/120195 2018-09-20 2018-12-11 Control circuit, temperature controller, device, and method and apparatus for adjusting display color WO2020056934A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811099372.9 2018-09-20
CN201811099372.9A CN109166509A (en) 2018-09-20 2018-09-20 Control circuit, temperature controller, equipment and the method and apparatus for adjusting display color

Publications (1)

Publication Number Publication Date
WO2020056934A1 true WO2020056934A1 (en) 2020-03-26

Family

ID=64879824

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/120195 WO2020056934A1 (en) 2018-09-20 2018-12-11 Control circuit, temperature controller, device, and method and apparatus for adjusting display color

Country Status (2)

Country Link
CN (1) CN109166509A (en)
WO (1) WO2020056934A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006183882A (en) * 2004-12-24 2006-07-13 Ricoh Co Ltd Peltier element driving device and image forming device
CN202721868U (en) * 2012-07-23 2013-02-06 宁波凯耀电器制造有限公司 LED lamp brightness and color temperature control system
CN205001928U (en) * 2015-10-09 2016-01-27 浙江大学台州研究院 Seven color lamps of control by temperature change
CN106886235A (en) * 2017-04-14 2017-06-23 深圳市瑞荣创电子科技有限公司 The intelligence control system and control method of SCM Based plant incubator
CN207543349U (en) * 2017-11-30 2018-06-26 共青城市超能电子科技有限公司 Bluetooth temperature control device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202435690U (en) * 2012-02-16 2012-09-12 西南科技大学 Flicker-prevention LED (light-emitting diode) pulse width modulation control circuit
CN205018337U (en) * 2015-10-12 2016-02-10 常州大为机电科技有限公司 Wearable device of low -voltage direct current heat
CN107018596A (en) * 2017-04-14 2017-08-04 广东美的厨房电器制造有限公司 The control method and control device of microwave oven lamp, micro-wave oven
CN207623902U (en) * 2017-09-01 2018-07-17 广州紫麦科技有限公司 A kind of intelligence air draught radiator
CN107809831A (en) * 2017-10-30 2018-03-16 惠州市德赛西威汽车电子股份有限公司 One kind automatically controls atmosphere circuit for lamp according to vehicle interior temperature

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006183882A (en) * 2004-12-24 2006-07-13 Ricoh Co Ltd Peltier element driving device and image forming device
CN202721868U (en) * 2012-07-23 2013-02-06 宁波凯耀电器制造有限公司 LED lamp brightness and color temperature control system
CN205001928U (en) * 2015-10-09 2016-01-27 浙江大学台州研究院 Seven color lamps of control by temperature change
CN106886235A (en) * 2017-04-14 2017-06-23 深圳市瑞荣创电子科技有限公司 The intelligence control system and control method of SCM Based plant incubator
CN207543349U (en) * 2017-11-30 2018-06-26 共青城市超能电子科技有限公司 Bluetooth temperature control device

Also Published As

Publication number Publication date
CN109166509A (en) 2019-01-08

Similar Documents

Publication Publication Date Title
AU772099B2 (en) Light control type LED lighting equipment
CN107342058B (en) Method, test board, system and equipment for adjusting brightness of liquid crystal display module
CN100492109C (en) Methods and apparatus for setting the color point of an LED light source
US8278831B2 (en) LED driver circuit and method, and system and method for estimating the junction temperature of a light emitting diode
CN101256308A (en) Backlight unit, liquid crystal display device having the same and control method thereof
US10553151B2 (en) Current control method and apparatus thereof
WO2011123800A2 (en) Led controller with compensation for die-to-die variation and temperature drift
US20200077484A1 (en) LED Dimming Method, Regulatable LED Driver, Electronic Apparatus and Readable Storage Medium
JP2011523188A (en) User interface device for controlling consumer load and light system using such user interface device
CN103458591A (en) Color-temperature adjustable LED lamp
CN103906325B (en) Illumination control method and system
JP2020532147A (en) Touch board and its manufacturing method, touch device
WO2019080305A1 (en) Display system and current driving method thereof
CN203787062U (en) Light adjusting display device used for washing machine
WO2020056934A1 (en) Control circuit, temperature controller, device, and method and apparatus for adjusting display color
CN202190438U (en) Vehicle apparatus enabling user to set color of front panel LED backlight lamp
TWI749567B (en) Wireless color tuning for constant-current driver
CN115175401A (en) RGB LED adjusting method and related assembly
JP3569457B2 (en) Liquid crystal display
US9204515B2 (en) Light source module, light source module driving circuit and driving method
TW202102057A (en) User control modality for led color tuning
CN220512371U (en) Standby cooling system of hair curler
CN103270811B (en) For drive circuit for lamp can be adaptive drive circuit
CN111447713A (en) Illumination color temperature control system, method and device and storage medium
WO2019080307A1 (en) Display system and current driving method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18934258

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18934258

Country of ref document: EP

Kind code of ref document: A1