Summary of the invention
Technical problem to be solved by this invention is for the existing problem that reaction is fast not, mobile phone there will be screen to dodge that optical sensor has been installed, and to provide a kind of LCD of mobile phone backlight brightness control method that is swift in response and does not there will be screen to dodge.
In order to solve the problems of the technologies described above, the invention provides a kind of LCD of mobile phone backlight brightness control method, convert input handset control system after voltage signal to by the optical sensor receiving light power signal installed on mobile phone and by light intensity signal; Set at least two voltage signal grades that represent brightness degree in cellphone control system, the corresponding one section continuous voltage data of each voltage signal grade, is characterized in that: between adjacent two voltage signal grades, have between a transition region; When the voltage signal of input handset control system is positioned at voltage signal grade district, directly according to the voltage signal grade at place, export corresponding brightness degree;
When the voltage signal of input handset control system is positioned between certain transition region, suppose and this transition region between adjacent two voltage signal grades be A and B, and A<B, if the voltage signal of input handset control system be positioned between this transition region last brightness degree higher than or equal brightness degree B, output brightness grade B, otherwise output brightness grade A.
Further, the control signal of the control system of described mobile phone output is the current signal varied in size, and the LCD of mobile phone brightness under the driving current signal of different sizes is different, and electric current is larger backlight brighter, otherwise darker.
Further, described optical sensor is to be arranged on mobile phone back, sidepiece, top or mobile phone screen sensitization sampling A/D chip on every side.
Good effect of the present invention is: control step simple, the LCD brightness degree switch speed of mobile phone is fast; There is not critical point in the switching of LCD of mobile phone brightness degree, thus the phenomenon that not there will be frequent screen to dodge; Brightness degree switches hommization more, has strengthened cellphone subscriber's experience sense; Do not add extra hardware, without fringe cost.
The accompanying drawing explanation
Fig. 1 is the residing voltage section of each brightness degree distribution schematic diagram;
The control system of Fig. 2 mobile phone of the present invention is controlled the flow chart of LCD backlight illumination grade.
Embodiment
Below in conjunction with the drawings and specific embodiments, the present invention is described in further detail.
As shown in Figure 1, the present invention, the optical sensor receiving light power signal of installing on mobile phone, optical sensor is the sensitization sampling A/D chip, it converts light intensity signal to the analog voltage signal that represents light intensity, and the control system of mobile phone receives and converts analog voltage signal to digital voltage signal; Control system is according to the digital voltage signal received, set N (N is greater than 1 integer) and control the continuous brightness degree that the LCD backlight illumination increases successively in the control system of mobile phone, the corresponding one section continuous voltage data of different brightness degrees have between a transition region between adjacent two voltage signal grades; When the voltage signal of input handset control system is positioned at voltage signal grade district, directly according to the voltage signal grade at place, export corresponding brightness degree.
As shown in Figure 2, cellphone control system is controlled the method for LCD backlight illumination, comprising:
For receiving the step of light signal of optical sensor; Optical sensor is arranged on the position that mobile phone is suitable, and it is good being convenient to direct, rapid sensitization.
For light signal is passed through to mould/number conversion, convert the step of voltage value X to;
For judging whether the numerical value of voltage value X falls into the step of the brightness degree of division, if X numerical value falls into the brightness degree of division, enter the step that falls into which brightness degree for judgement;
For controlling the step of the corresponding LCD of output bright grade backlight;
For returning to the described step for the light signal that receives optical sensor;
If X numerical value does not fall into brightness degree, enter for judging that X numerical value is positioned at the step between two adjacent brightness grades of A, B (A<B);
For judging that last brightness degree C is whether greater than or equal to the step of brightness degree B; If last brightness degree C higher than or equal brightness degree B, enter for controlling the step that LCD bright grade backlight is brightness degree B;
For returning to the described step for the light signal that receives optical sensor;
If last brightness degree C lower than or equal brightness degree A, enter for controlling the step that LCD bright grade backlight is brightness degree A;
For returning to the described step for the light signal that receives optical sensor.
This control flow step is simple, and data are processed rapidly, make LCD of mobile phone backlight illumination grade switch speed fast.Owing to just using the switching of software control brightness degree, therefore without increasing extra hardware, without fringe cost.
Embodiment:
According to Fig. 2, if only be provided with two backlight illumination grades in cellphone control system, it when light is darker, is brightness degree 1, the representative voltage scope is that 0.5V is to 1.78V, light is brightness degree 2 when bright, the representative voltage scope is that 1.82V is to 2.8V, steps flow chart according to method shown in Fig. 2, when the mobile phone in using moves to dark place from becoming clear, sensor senses light on mobile phone changes, the mobile phone screen backlight illumination becomes brightness degree 1 from brightness degree 2, but in mobile process, when the voltage range perceived in 1.78V when between 1.82V, (not comprising 1.78V and 1.82V two magnitudes of voltage), the mobile phone screen backlight illumination is still in brightness degree 2, until the voltage perceived is while being less than or equal to 1.78V, the mobile phone screen backlight illumination becomes brightness degree 1 from brightness degree 2.When the mobile phone in using moves to bright light environments from dark surrounds, sensor senses light on mobile phone changes, the mobile phone screen backlight illumination becomes brightness degree 2 from brightness degree 1, but in mobile process, when the voltage range perceived in 1.78V when between 1.82V, (not comprising 1.78V and 1.82V two magnitudes of voltage), the mobile phone screen backlight illumination is still in brightness degree 1, until the voltage perceived is while being more than or equal to 1.82V, the mobile phone screen backlight illumination becomes brightness degree 2 from brightness degree 1.
As seen from the above, due to the voltage section that has a continuous biswitch formula, while therefore using, do not have the critical point that causes screen to dodge under home, mobile phone not there will be stroboscopic phenomenon, designs hommization more, and user's experience sense is strong.
The above embodiment of the present invention is only to be explanation example of the present invention, and is not the restriction to embodiments of the present invention.For those of ordinary skill in the field, can also make on the basis of the above description other multi-form variation and changes.Here can't give all execution modes exhaustive.Every still row in protection scope of the present invention of apparent variation that technical scheme of the present invention amplifies out or change that belong to.