[go: up one dir, main page]

CN1326404C - Automatic colour temp regulating method and device - Google Patents

Automatic colour temp regulating method and device Download PDF

Info

Publication number
CN1326404C
CN1326404C CNB2004100218864A CN200410021886A CN1326404C CN 1326404 C CN1326404 C CN 1326404C CN B2004100218864 A CNB2004100218864 A CN B2004100218864A CN 200410021886 A CN200410021886 A CN 200410021886A CN 1326404 C CN1326404 C CN 1326404C
Authority
CN
China
Prior art keywords
value
register
color temperature
gain
converter
Prior art date
Legal status (The legal status 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 status listed.)
Expired - Fee Related
Application number
CNB2004100218864A
Other languages
Chinese (zh)
Other versions
CN1561115A (en
Inventor
孙立新
蔡锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sichuan Changhong Electric Co Ltd
Original Assignee
Sichuan Changhong Electric Co Ltd
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 Sichuan Changhong Electric Co Ltd filed Critical Sichuan Changhong Electric Co Ltd
Priority to CNB2004100218864A priority Critical patent/CN1326404C/en
Publication of CN1561115A publication Critical patent/CN1561115A/en
Application granted granted Critical
Publication of CN1326404C publication Critical patent/CN1326404C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Liquid Crystal Display Device Control (AREA)

Abstract

自动色温调整方法及装置,涉及电子技术,特别涉及模拟视频信号的数字化处理技术。本发明根据A/D变换后的输出信号数值,反馈至A/D变换前的输入信号,调节其输入。本发明的有益效果是,实现了在液晶屏参数一致的前提下,使每一台液晶显示器得到相同的亮度——色温特性,在生产过程中不需要对A/D变换器的OFFSET和GAIN进行调试。本发明能显著提高显示画面质量、保证批量产品色温一致性的、同时提高生产效率。

The automatic color temperature adjustment method and device relate to electronic technology, in particular to digital processing technology of analog video signals. According to the value of the output signal after A/D conversion, the present invention feeds back to the input signal before A/D conversion to adjust its input. The beneficial effect of the present invention is that under the premise that the parameters of the liquid crystal screens are consistent, each liquid crystal display can obtain the same brightness-color temperature characteristics, and it is not necessary to perform OFFSET and GAIN of the A/D converter during the production process. debugging. The invention can remarkably improve the display picture quality, ensure the color temperature consistency of batch products, and improve production efficiency at the same time.

Description

自动色温调整方法及装置Automatic color temperature adjustment method and device

技术领域technical field

本发明涉及电子技术,特别涉及模拟视频信号的数字化处理技术。The invention relates to electronic technology, in particular to digital processing technology of analog video signal.

背景技术Background technique

显示器,特别是液晶显示器电路一般由CPU、A/D变换器和显示格式变换器组成。在CPU的控制和管理下,它首先将PC显示适配器输出的模拟R、G、B信号进行A/D变换,然后再进行数字平面显示格式变换处理后,将信号送到液晶屏幕上显示出来。A display, especially a liquid crystal display circuit is generally composed of a CPU, an A/D converter and a display format converter. Under the control and management of the CPU, it first converts the analog R, G, and B signals output by the PC display adapter to A/D, and then converts the digital plane display format, and then sends the signal to the LCD screen for display.

由于A/D变换器性能具有离散性,以及不同的PC显示适配器输出的模拟R、G、B信号幅度的不一致性,会导致更换不同的液晶显示器或PC信号源时,液晶显示器的亮度——色温特性发生变化,需要进行自动色温调整以保证显示效果。Due to the discreteness of the performance of the A/D converter and the inconsistency of the analog R, G, and B signal amplitudes output by different PC display adapters, when changing different LCD monitors or PC signal sources, the brightness of the LCD monitor—— If the color temperature characteristics change, automatic color temperature adjustment is required to ensure the display effect.

而一些液晶显示器芯片供应商,比如美国PIXELWORKS公司在其PW13X系列液晶显示器专用集成电路的相关规范和技术文件中,并没有关于自动色温调整功能的描述。However, some LCD chip suppliers, such as PIXELWORKS of the United States, do not describe the automatic color temperature adjustment function in the relevant specifications and technical documents of their PW13X series LCD ASICs.

实际测试的结果表明:The results of the actual test show that:

1、对同一显示信号,不同的PC显示适配器具有不一致的输出幅度;1. For the same display signal, different PC display adapters have inconsistent output amplitudes;

2、不同的A/D变换器可能具有不同的数字图像信号零点和满度。2. Different A/D converters may have different zero points and full scales of digital image signals.

因此,对不具有自动色温调整功能的液晶显示器而言,在配接不同的电脑主机(显示适配器)时:1)由于显示适配器输出的模拟信号幅度不一致,A/D变换器输出的数字图象信号也将随之变化,导致液晶显示器的亮度——色温特性发生变化;2)由于A/D变换器性能的离散性,在生产过程中需要对每一块A/D变换器的偏移(OFFSET)和增益(GAIN)进行调试。Therefore, for LCD monitors that do not have the function of automatic color temperature adjustment, when connecting with different computer hosts (display adapters): 1) Due to the inconsistent amplitude of the analog signal output by the display adapter, the digital image output by the A/D converter The signal will also change accordingly, resulting in a change in the brightness-color temperature characteristics of the liquid crystal display; 2) Due to the discreteness of the performance of the A/D converter, the offset (OFFSET) of each A/D converter is required in the production process ) and gain (GAIN) for debugging.

发明内容Contents of the invention

本发明所要解决的技术问题是为无自动色温调整功能的显示器,特别是液晶显示器提供一种自动色温调整的通用实现方法。The technical problem to be solved by the present invention is to provide a general realization method of automatic color temperature adjustment for displays without automatic color temperature adjustment function, especially liquid crystal displays.

本发明解决所述技术问题所采用的技术方案是,提供一种自动色温调整方法,根据A/D变换后的输出信号数值,反馈至A/D变换前的输入信号,调节其输入。The technical solution adopted by the present invention to solve the technical problem is to provide an automatic color temperature adjustment method, which feeds back the input signal before A/D conversion according to the value of the output signal after A/D conversion, and adjusts its input.

所述信号包括R、G、B三个通道的信号。本发明根据A/D变换输出的R、G、B信号的最大值和最小值,调节输入信号的OFFSET和GAIN,使各路信号最大值为最大标准,最小值为最小标准。包括一下步骤:The signals include signals of R, G, and B channels. The present invention adjusts the OFFSET and GAIN of the input signal according to the maximum and minimum values of the R, G, and B signals output by A/D conversion, so that the maximum value of each signal is the maximum standard, and the minimum value is the minimum standard. Include the following steps:

1)将A/D变换器R、G、B通道的增益设置到固定值;1) The gain of the A/D converter R, G, and B channels is set to a fixed value;

2)调节R、G、B通道的偏移,直到R、G、B的一组寄存器的值都刚好等于其标准;2) Adjust the offset of the R, G, and B channels until the values of a group of registers of R, G, and B are just equal to their standards;

3)调节R、G、B通道的增益,直到R、G、B的另一组寄存器的值都刚好等于其标准;3) Adjust the gain of the R, G, and B channels until the values of another set of registers of R, G, and B are just equal to their standards;

4)将调节后的R、G、B通道的增益值、偏移值写入EEPROM。4) Write the adjusted gain and offset values of the R, G, and B channels into the EEPROM.

R、G、B寄存器分为两组,分别是R、G、B的3个最小值寄存器以及R、G、B的3个最大值寄存器;The R, G, and B registers are divided into two groups, which are the 3 minimum value registers of R, G, and B and the 3 maximum value registers of R, G, and B;

最小值寄存器的值的标准为,模拟R、G、B经A/D变换为数字R、G、B的黑电平值的最小标准;The standard of the value of the minimum value register is the minimum standard of the black level value of analog R, G, B transformed into digital R, G, B by A/D;

最大值寄存器的值的标准为,模拟R、G、B经A/D变换为数字R、G、B的白电平值的最大标准。The standard of the value of the maximum value register is the maximum standard of the white level value of analog R, G, B transformed into digital R, G, B by A/D.

所述数字R、G、B的最大标准为FFH,数字R、G、B的最小标准为00H。The maximum standard of the numbers R, G, B is FFH, and the minimum standard of the numbers R, G, B is 00H.

步骤2)的具体步骤为:The concrete steps of step 2) are:

a)将A/D变换器R、G、B通道的偏移设置到最小值;a) The offset of the A/D converter R, G, and B channels is set to a minimum value;

b)分别逐步增加R、G、B通道偏移值,同时监测3个最小值寄存器值,到某一个寄存器值刚好等于00H则不再增加对应的偏移;继续增加另外的偏移值,直到3个寄存器值都刚好等于00H。b) Increase the R, G, and B channel offset values gradually, and monitor the three minimum value register values at the same time. When a certain register value is just equal to 00H, the corresponding offset will not be increased; continue to increase other offset values until 3 register values are exactly equal to 00H.

步骤3)的具体步骤为:The concrete steps of step 3) are:

c)将A/D变换器R、G、B通道的增益设置到最大值FFH;c) setting the gain of the A/D converter R, G, and B channels to the maximum value FFH;

d)分别逐步减小R、G、B通道增益值,同时监测3个最大值寄存器值,到某一个寄存器值刚好等于FF则不再减小对应的增益;继续减小另外的增益值,直到3个寄存器值都刚好等于FFH。d) Gradually reduce the gain values of R, G, and B channels respectively, and monitor the 3 maximum register values at the same time. When a certain register value is just equal to FF, the corresponding gain will not be reduced; continue to reduce other gain values until The 3 register values are exactly equal to FFH.

本发明采用步进式或收敛式增加或减少偏移和增益。所述固定值为中间值。The present invention increases or decreases offset and gain stepwise or convergently. The fixed value is an intermediate value.

本发明采用步进式或收敛式增加或减少偏移和增益。The present invention increases or decreases offset and gain stepwise or convergently.

本发明还提供一种自动色温调整装置,包括一个CPU、放大器、A/D变换器以及6个寄存器,模拟信号经过放大器输入A/D变换器,A/D变换器的输出经CPU反馈至放大器;所述6个寄存器分别记录R、G、B通道的最大值和最小值,所述CPU根据所述6个寄存器内的数值,调节A/D输入信号的增益和偏移量,直至各通道信号最大值为最大标准,最小值为最小标准。所述最大标准为FFH,所述最小标准为00H。The present invention also provides an automatic color temperature adjustment device, including a CPU, amplifier, A/D converter and 6 registers, the analog signal is input to the A/D converter through the amplifier, and the output of the A/D converter is fed back to the amplifier through the CPU ; The 6 registers record the maximum and minimum values of R, G, and B channels respectively, and the CPU adjusts the gain and offset of the A/D input signal according to the values in the 6 registers until each channel The maximum value of the signal is the maximum standard, and the minimum value is the minimum standard. The maximum standard is FFH, and the minimum standard is 00H.

所述6个寄存器分别记录R、G、B通道的最大值寄存器和最小值寄存器;The 6 registers record the maximum value register and the minimum value register of R, G, and B channels respectively;

所述放大器用于调节R、G、B通道的偏移与增益;The amplifier is used to adjust the offset and gain of the R, G, and B channels;

所述CPU根据所述6个寄存器内的数值,调节放大器。The CPU adjusts the amplifier according to the values in the six registers.

所述放大器为可调增益放大器。The amplifier is an adjustable gain amplifier.

本发明的有益效果是,实现了在液晶屏参数一致的前提下,使每一台液晶显示器得到相同的亮度——色温特性,在生产过程中不需要对A/D变换器的OFFSET和GAIN进行调试。未采用本发明的液晶显示器,PC显示适配器输出信号幅度的不一致性以及A/D变换器性能的离散性,会一起反映在A/D变换器输出的图像信号数据上,并最终反映到前述技术方案所提及的6个寄存器中,而本发明则是根据6个寄存器的数据值进行自动调整的,因而这两个问题一并得到了解决。本发明能显著提高显示画面质量、保证批量产品色温一致性的、同时提高生产效率。The beneficial effect of the present invention is that under the premise that the parameters of the liquid crystal screens are consistent, each liquid crystal display can obtain the same brightness-color temperature characteristics, and it is not necessary to perform OFFSET and GAIN of the A/D converter during the production process. debugging. Not using the liquid crystal display of the present invention, the inconsistency of the output signal amplitude of the PC display adapter and the discreteness of the performance of the A/D converter will be reflected together on the image signal data output by the A/D converter, and finally reflected in the aforementioned technology Among the 6 registers mentioned in the scheme, the present invention automatically adjusts according to the data values of the 6 registers, so these two problems are solved together. The invention can remarkably improve the display picture quality, ensure the color temperature consistency of batch products, and improve production efficiency at the same time.

附图说明Description of drawings

图1是本发明方法流程图。Fig. 1 is a flow chart of the method of the present invention.

图2是本发明装置示意图。Fig. 2 is a schematic diagram of the device of the present invention.

具体实施方式Detailed ways

液晶显示器在正常接收和处理来自PC的模拟信号时,A/D变换器实时输出3×8位(R、G、B)数字图像信号。在格式变换集成电路内部G PORT有3个8位最大值寄存器和3个8位最小值寄存器,分别记录前一帧图像中R、G、B数据的最大值和最小值,即图象中的白色电平值和黑色电平值。理想状态下,这两个值应该正好是FFH和00H,在实际应用根据实际测试结果表明,这两个值是偏离FFH和00H的,而系统也并不掌握来自PC显示适配器的模拟R、G、B的不一致程度以及A/D变换器的离散程度,所以采用其他的外部补偿方法缺乏依据、难于实施。由于黑色信号可以通过行逆程获得,因此当我们确知一帧图象中有白色信号时,系统只要将这两个偏离的值调回理想值,自然就实现了对整个信号输入、输出特性的校准。具体的说,系统控制软件依据这6个寄存器的数据,对A/D变换器前端的OFFSET和GAIN进行调整和设定,以改变A/D变换器前端信号OFFSET和GAIN,使得加到A/D变换器入口的信号起点和幅度发生变化,这样A/D变换器的输出也发生变化,寄存器的数据随之发生变化;然后再根据这些寄存器数据的变化,继续调整A/D变换器前端的OFFSET和GAIN,直到最小值寄存器刚好为00H或一个接近为00H的值;最大值寄存器刚好为16进制数FFH或接近FFH,从而实现自动色温调整的目的。调整的方法可采用步进式(步长固定)或收敛式(步长由大到小)两种方式。When the liquid crystal display normally receives and processes analog signals from the PC, the A/D converter outputs 3×8-bit (R, G, B) digital image signals in real time. In the format conversion integrated circuit, G PORT has three 8-bit maximum value registers and three 8-bit minimum value registers, which respectively record the maximum and minimum values of R, G, and B data in the previous frame image, that is, the White level value and black level value. Ideally, these two values should be exactly FFH and 00H. According to actual test results in actual applications, these two values deviate from FFH and 00H, and the system does not grasp the analog R, G from the PC display adapter. , the degree of inconsistency of B and the degree of discreteness of the A/D converter, so the use of other external compensation methods lacks basis and is difficult to implement. Since the black signal can be obtained through the reverse process, when we are sure that there is a white signal in a frame image, the system only needs to adjust the two deviated values back to the ideal value, and naturally realize the input and output characteristics of the entire signal. calibration. Specifically, the system control software adjusts and sets the OFFSET and GAIN of the front-end of the A/D converter according to the data of these 6 registers, so as to change the front-end signal OFFSET and GAIN of the A/D converter, so that the signal added to the A/D The starting point and amplitude of the signal at the entrance of the D converter change, so that the output of the A/D converter also changes, and the data of the register changes accordingly; and then continue to adjust the front end of the A/D converter according to the changes in the register data OFFSET and GAIN until the minimum value register is just 00H or a value close to 00H; the maximum value register is just the hexadecimal number FFH or close to FFH, so as to achieve the purpose of automatic color temperature adjustment. The method of adjustment can be step-by-step (fixed step size) or convergent (step size from large to small).

作为本发明具体实施方式,以美国PIXELWORKS的PW13X系列液晶显示器电路平台为例,具体描述本发明的实施,参见图1和图2。As a specific embodiment of the present invention, the PW13X series liquid crystal display circuit platform of American PIXELWORKS is taken as an example to describe the implementation of the present invention in detail, see FIG. 1 and FIG. 2 .

在PW13X系列集成电路平台构成的液晶显示器正常工作时,其内置的A/D变换器首先将来自PC的模拟信号R、G、B变换成3×8位实时数字信号,在完成一帧图像数据的A/D变换后,将R、G、B的最大值和最小值写入如下6个G PORT寄存器中:When the liquid crystal display composed of the PW13X series integrated circuit platform is working normally, its built-in A/D converter first converts the analog signal R, G, B from the PC into a 3×8-bit real-time digital signal, and completes a frame of image data After the A/D conversion, write the maximum and minimum values of R, G, and B into the following 6 G PORT registers:

G PORT  寄存器基地址Base Address=Byte 40hG PORT register base address Base Address=Byte 40h

红色最小值寄存器偏移地址REDMIN(7:0)Byte offset 0ERed minimum value register offset address REDMIN(7:0) Byte offset 0E

红色最大值寄存器偏移地址REDMAX(7:0)Byte offset 0FRed maximum value register offset address REDMAX(7:0) Byte offset 0F

绿色最小值寄存器偏移地址GRNMIN(7:0)Byte offset 10Green minimum value register offset address GRNMIN(7:0) Byte offset 10

绿色最大值寄存器偏移地址GRNMAX(7:0)Byte offset 11Green maximum value register offset address GRNMAX(7:0) Byte offset 11

蓝色最小值寄存器偏移地址BLUMIN(7:0)Byte offset 12Blue minimum value register offset address BLUMIN(7:0) Byte offset 12

蓝色最大值寄存器偏移地址BLUMAX(7:0)Byte offset 13Blue maximum register offset address BLUMAX(7:0) Byte offset 13

其中3个最小值寄存器的值对应图像中的黑色或逆程部分,3个最大值寄存器对应图象中的白色即亮度最高的部分,由于不同的PC显示适配器具有不一致的输出幅度、不同的PW13X系列集成电路的A/D变换器具有不同的数字图像信号零点和满度这两个原因,导致最小值寄存器不一定刚好为00H、最大值寄存器不一定刚好为FFH,此时按本发明方法进行调整,这些调整均通过系统控制软件来实现:Among them, the values of the 3 minimum value registers correspond to the black or inverse part of the image, and the 3 maximum value registers correspond to the white part of the image, which is the part with the highest brightness. Because different PC display adapters have inconsistent output amplitudes and different PW13X The A/D converter of series integrated circuit has these two reasons of different digital image signal zero point and full scale, cause minimum value register not necessarily just to be 00H, maximum value register not necessarily just to be FFH, now carry out by the method of the present invention Adjustment, these adjustments are realized through the system control software:

1)将A/D变换器R、G、B通道的GAIN设置到中间值80H;1) Set the GAIN of the R, G, and B channels of the A/D converter to an intermediate value of 80H;

2)将A/D变换器R、G、B通道的OFFSET设置到最小值00H;2) Set the OFFSET of the R, G, and B channels of the A/D converter to the minimum value 00H;

3)分别逐步增加R、G、B通道OFFSET值,同时监测3个最小值寄存器,到某一个寄存器值刚好等于0则不再增加对应的OFFSET;继续增加另外的OFFSET值,直到3个寄存器值都刚好等于00H;3) Gradually increase the OFFSET values of R, G, and B channels respectively, and monitor the three minimum value registers at the same time. When a certain register value is just equal to 0, the corresponding OFFSET will not be increased; continue to increase other OFFSET values until the three register values Both are exactly equal to 00H;

4)A/D变换器R、G、B通道的GAIN设置到最大值FFH;4) The GAIN of the R, G, and B channels of the A/D converter is set to the maximum value FFH;

5)分别逐步减小R、G、B通道GAIN值,同时监测3个最大值寄存器,到某一个寄存器值刚好等于FFH则不再减小对应的GAIN;继续减小另外的GAIN值,直到3个寄存器值都刚好等于FFH;5) Decrease the GAIN values of R, G, and B channels gradually, and monitor the 3 maximum registers at the same time. When a certain register value is just equal to FFH, the corresponding GAIN will not be reduced; continue to reduce the other GAIN values until 3 All register values are exactly equal to FFH;

6)自动色温调整完成,将6个调整数据值写入EEPROM供下次开机时使用。6) After the automatic color temperature adjustment is completed, the 6 adjusted data values are written into the EEPROM for use when the device is turned on next time.

上述步骤5)中,如果A/D变换器的输出超过最高值,则限幅到FFH,此时最大值寄存器的值也是FFH,所以具体在调整GAIN时,先是减小GAIN使得最大值寄存器的值从FFH开始变化(减小),然后微调GAIN使得A/D输出正好为FFH时止。In the above-mentioned step 5), if the output of the A/D converter exceeds the maximum value, then limit to FFH, and the value of the maximum value register is also FFH at this time, so specifically when adjusting GAIN, first reduce GAIN so that the value of the maximum value register The value starts to change (decrease) from FFH, and then fine-tunes GAIN so that the A/D output is exactly FFH.

上述增加或者减少的算法可以采用步进式,即步长为1的递增或递减;也可以采取收敛式,即步长由大到小。The above-mentioned increasing or decreasing algorithm can adopt a stepwise method, that is, increase or decrease with a step size of 1; or a convergent method, that is, the step size changes from large to small.

采取收敛式调整的实施例如下:(以美国PIXELWORKS的PW13X为例)The implementation of convergent adjustment is as follows: (Take PW13X of PIXELWORKS in the United States as an example)

1.将A/D变换器R、G、B通道的GAIN设置到中间值80H;1. Set the GAIN of the R, G, and B channels of the A/D converter to an intermediate value of 80H;

2.将A/D变换器R、G、B通道的OFFSET设置到最小值00H;2. Set the OFFSET of the R, G, and B channels of the A/D converter to the minimum value of 00H;

3.分别将R、G、B通道OFFSET值设为40H,同时监测3个最小值寄存器,如果寄存器值大于00H,再将R、G、B通道OFFSET值增加前述设定值增量绝对值的一半即设为60H;如果寄存器值等于00H,则再将R、G、B通道OFFSET值减小前述设定值增量绝对值的一半即20H,同时监测3个最小值寄存器,重复以上步骤(设定值增减的步长依次为20H、10H、8H、4H、2H、1H),直到寄存器值刚好等于00H;3. Set the R, G, and B channel OFFSET values to 40H, and monitor the three minimum value registers at the same time. If the register value is greater than 00H, then increase the R, G, and B channel OFFSET values by the absolute value of the aforementioned set value increment Half of it is set to 60H; if the register value is equal to 00H, then reduce the OFFSET value of the R, G, and B channels by half of the absolute value of the aforementioned set value increment, which is 20H, and monitor the three minimum value registers at the same time, repeat the above steps ( The step size of the increase or decrease of the set value is 20H, 10H, 8H, 4H, 2H, 1H) until the register value is just equal to 00H;

4.A/D变换器R、G、B通道的GAIN设置到最大值FFH;4. The GAIN of the R, G, and B channels of the A/D converter is set to the maximum value of FFH;

5.分别将R、G、B通道GAIN值设为80H,同时监测3个最大值寄存器,如果寄存器值小于FFH,再将R、G、B通道GAIN值增加前述设定值增量绝对值的一半即设为60H;如果寄存器值等于FFH,则再将R、G、B通道GAIN值减小前述设定值增量绝对值的一半即40H,同时监测3个最大值寄存器,重复以上步骤(设定值增减的步长依次为40H、20H、10H、8H、4H、2H、1H),直到寄存器值刚好等于FFH;自动色温调整完成;5. Set the GAIN value of the R, G, and B channels to 80H respectively, and monitor the three maximum value registers at the same time. If the register value is less than FFH, then increase the GAIN value of the R, G, and B channels by the absolute value of the aforementioned setting value increment Half of it is set to 60H; if the register value is equal to FFH, then reduce the GAIN value of the R, G, and B channels by half of the absolute value of the aforementioned set value increment, which is 40H, and monitor the three maximum value registers at the same time, repeat the above steps ( The increment and decrement steps of the set value are 40H, 20H, 10H, 8H, 4H, 2H, 1H) until the register value is just equal to FFH; the automatic color temperature adjustment is completed;

6)将6个调整数据值写入EEPROM供下次开机时使用。6) Write 6 adjustment data values into EEPROM for the next boot.

本发明装置的实施方式参见图2。本实施例包括一个CPU、放大器、A/D变换器以及6个寄存器,模拟信号经过放大器输入A/D变换器,A/D变换器的输出反馈至放大器;所述6个寄存器分别记录R、G、B通道的最大值和最小值,所述CPU根据所述6个寄存器内的数值,调节A/D转换器输入信号的增益和/或偏移量,直至各通道信号最大值为最大标准,最小值为最小标准。本实施例所述最大标准为FFH,即亮度最高的白色,表示所述最小标准为00H,即亮度最低的黑色。所述放大器为可调增益放大器。The embodiment of the device of the present invention is shown in FIG. 2 . The present embodiment comprises a CPU, amplifier, A/D converter and 6 registers, the analog signal is input into the A/D converter through the amplifier, and the output of the A/D converter is fed back to the amplifier; the 6 registers respectively record R, The maximum and minimum values of G and B channels, the CPU adjusts the gain and/or offset of the A/D converter input signal according to the values in the 6 registers until the maximum value of each channel signal is the maximum standard , the minimum value is the minimum standard. The maximum standard in this embodiment is FFH, that is, white with the highest brightness, which means that the minimum standard is 00H, that is, black with the lowest brightness. The amplifier is an adjustable gain amplifier.

本发明所述的“最大标准”与“最小标准”乃是针对最终显示效果而言,对于8位存储器,理想的最大标准是FF,最小标准是00。对于趋近于FFH或者00H的数值,虽然其数值并非00H与FFH,但其依然基于本发明思路,显示效果与本发明相同,亦属于本发明范围。同理,对于基于本发明思路但采用其他位数的存储器,例如,16位存储器,最大标准为FFFFH,最小标准为0000H,亦处于本发明权利范围。The "maximum standard" and "minimum standard" mentioned in the present invention are for the final display effect. For an 8-bit memory, the ideal maximum standard is FF, and the minimum standard is 00. As for the value close to FFH or 00H, although its value is not 00H and FFH, it is still based on the idea of the present invention, and the display effect is the same as that of the present invention, and also belongs to the scope of the present invention. Similarly, for a memory based on the idea of the present invention but using other bit numbers, for example, a 16-bit memory, the maximum standard is FFFFH, and the minimum standard is 0000H, which is also within the scope of the present invention.

Claims (9)

1, automatic color temperature adjusting method is characterized in that, may further comprise the steps:
1) gain with A/D converter R, G, B passage is set to fixed value;
2) regulate the skew of R, G, B passage, all just equal its standard up to the value of one group of register of R, G, B;
3) regulate the gain of R, G, B passage, all just equal its standard up to value of another group register of R, G, B;
4) R, G, the yield value of B passage, the deviant after will regulating writes EEPROM.
R, G, B-register are divided into two groups, are respectively 3 maximum value register of 3 minimum value register of R, G, B and R, G, B;
The standard of the value of minimum value register is that simulation R, G, B are transformed to the minimum sandards of the black level value of digital R, G, B through A/D;
The standard of the value of maximum value register is that simulation R, G, B are transformed to the maximum standard of the white level value of digital R, G, B through A/D.
2, automatic color temperature adjusting method as claimed in claim 1 is characterized in that, the maximum standard of described digital R, G, B is FFH, and the minimum sandards of digital R, G, B is 00H.
3, automatic color temperature adjusting method as claimed in claim 2 is characterized in that step
2) concrete steps are:
A) skew with A/D converter R, G, B passage is set to minimum value;
B) progressively increase R, G, B channel offset value respectively, monitor 3 minimum value register values simultaneously, just equaling 00H to some register values then no longer increases corresponding skew; Continuing increases other deviant, all just equals 00H up to 3 register values.
4, automatic color temperature adjusting method as claimed in claim 3 is characterized in that, adopts stepping or reducing-pitch thread to increase skew.
5, automatic color temperature adjusting method as claimed in claim 2 is characterized in that step
3) concrete steps are:
C) gain with A/D converter R, G, B passage is set to maximum FFH;
D) progressively reduce R, G, B channel gain value respectively, monitor 3 maximum value register values simultaneously, just equal FF to some register values and then no longer reduce corresponding gain; Continue to reduce other yield value, all just equal FFH up to 3 register values.
6, automatic color temperature adjusting method as claimed in claim 5, tool are characterised in that, adopt stepping or reducing-pitch thread to reduce gain.
7, as any described automatic color temperature adjusting method of claim 1 to 6, it is characterized in that described fixed value is a median.
8, automatic color temperature regulator is characterized in that, comprises a CPU, amplifier, A/D converter and 6 registers, and analog signal is through amplifier input A/D converter, and the output of A/D converter feeds back to amplifier through CPU;
Described 6 registers write down the maximum value register and the minimum value register of R, G, B passage respectively;
Described amplifier is used to regulate the skew and the gain of R, G, B passage;
Described CPU is according to the numerical value in described 6 registers, resonance-amplifier.
9, automatic color temperature regulator as claimed in claim 8 is characterized in that, described amplifier is a variable gain amplifier.
CNB2004100218864A 2004-02-23 2004-02-23 Automatic colour temp regulating method and device Expired - Fee Related CN1326404C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100218864A CN1326404C (en) 2004-02-23 2004-02-23 Automatic colour temp regulating method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100218864A CN1326404C (en) 2004-02-23 2004-02-23 Automatic colour temp regulating method and device

Publications (2)

Publication Number Publication Date
CN1561115A CN1561115A (en) 2005-01-05
CN1326404C true CN1326404C (en) 2007-07-11

Family

ID=34440894

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100218864A Expired - Fee Related CN1326404C (en) 2004-02-23 2004-02-23 Automatic colour temp regulating method and device

Country Status (1)

Country Link
CN (1) CN1326404C (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101887673B (en) * 2010-07-21 2011-11-30 福建捷联电子有限公司 Method for dynamically predicting color temperatures of liquid crystal display television
CN104185003B (en) * 2014-08-21 2017-03-29 深圳市奥拓电子股份有限公司 A kind of color temperature adjusting method and device of video image
US9913327B2 (en) * 2015-07-01 2018-03-06 Cree, Inc. Control circuit for modulating an analog dimming command signal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6034629A (en) * 1996-09-16 2000-03-07 Samsung Electronics Co., Ltd. Analog-to-digital conversion apparatus
EP1289315A2 (en) * 2001-07-27 2003-03-05 Hitachi, Ltd. Video display device and color temperature correction method for the same
EP1381221A2 (en) * 2002-07-04 2004-01-14 Canon Kabushiki Kaisha Image sensing apparatus and method, program, and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6034629A (en) * 1996-09-16 2000-03-07 Samsung Electronics Co., Ltd. Analog-to-digital conversion apparatus
EP1289315A2 (en) * 2001-07-27 2003-03-05 Hitachi, Ltd. Video display device and color temperature correction method for the same
EP1381221A2 (en) * 2002-07-04 2004-01-14 Canon Kabushiki Kaisha Image sensing apparatus and method, program, and storage medium

Also Published As

Publication number Publication date
CN1561115A (en) 2005-01-05

Similar Documents

Publication Publication Date Title
CN111402825B (en) Screen correction method, device and system and logic board
CN103067743B (en) Quick adjustment system and method for liquid crystal display television
CN106210921B (en) Method and device for improving image effect
CN215220228U (en) Display device and common voltage compensation circuit
CN101667416A (en) Method for adjusting and analyzing color temperature and GAMMA of display
CN1845232A (en) Liquid crystal display GAMMA curve and color temperature automatic measurement and correction method and system
CN104050922B (en) The method of rapid build OLED display Gamma correction look-up table
WO2020093495A1 (en) Method and device for adjusting gamma value of display panel
CN101840689A (en) Method and device for correcting gamma value of LCD screen
CN109036333B (en) Display parameter correction method, device, terminal device and storage medium of display
CN111627403B (en) Automatic phase linearity correction system of LCoS spatial light modulator
WO2015100769A1 (en) White balance adjustment method and system, and liquid crystal display manufacturing method
CN201364723Y (en) Gamma caching circuit adapting to various LCDs and television adopting same
CN102903345A (en) Method and device for adjusting brightness of liquid crystal splicing system
CN112071266A (en) Calibration method and system for OLED cathode voltage, display module, and brightness adjustment method
CN104360511A (en) MIPI module test method and test system realizing two modes
CN207264759U (en) It can receive the display that computer corrects colour temperature and GAMMA curves automatically by DDC agreements
KR101332514B1 (en) Gamma Setting Method for Display Device
WO2016197408A1 (en) Display device capable of performing black frame insertion
CN1326404C (en) Automatic colour temp regulating method and device
CN101193318B (en) Automatic adjusting system and its method for LCD TV white balance
CN106297711B (en) Display module driving circuit, driving method and display module
CN114974071A (en) Automatic gamma detection and correction system and method
CN101345033A (en) Optical data processing method and system and liquid crystal display device
CN204256325U (en) Realize the MIPI module group test system of two kinds of patterns

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20070711

Termination date: 20180223

CF01 Termination of patent right due to non-payment of annual fee