CN106455271B - The method, apparatus and system that a kind of pair of lamplight component is dimmed - Google Patents

The method, apparatus and system that a kind of pair of lamplight component is dimmed Download PDF

Info

Publication number
CN106455271B
CN106455271B CN201611047809.5A CN201611047809A CN106455271B CN 106455271 B CN106455271 B CN 106455271B CN 201611047809 A CN201611047809 A CN 201611047809A CN 106455271 B CN106455271 B CN 106455271B
Authority
CN
China
Prior art keywords
lamplight component
component
lamplight
light
signal
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.)
Active
Application number
CN201611047809.5A
Other languages
Chinese (zh)
Other versions
CN106455271A (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.)
Inspur Financial Information Technology Co Ltd
Original Assignee
Inspur Financial Information Technology 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 Inspur Financial Information Technology Co Ltd filed Critical Inspur Financial Information Technology Co Ltd
Priority to CN201611047809.5A priority Critical patent/CN106455271B/en
Publication of CN106455271A publication Critical patent/CN106455271A/en
Application granted granted Critical
Publication of CN106455271B publication Critical patent/CN106455271B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/105Controlling the light source in response to determined parameters

Landscapes

  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The present invention provides method, apparatus and system that a kind of pair of lamplight component is dimmed, this method comprises: determining the corresponding light modulation rule of each lamplight component for at least one lamplight component being arranged on self-aided terminal;Obtain the corresponding digital signal of the current light intensity of self-service terminal surrounding;It is performed both by for each lamplight component at least one lamplight component: according to digital signal light modulation rule corresponding with the lamplight component, the duty ratio of corresponding pwm signal is generated, and the pwm signal for carrying the duty ratio is exported into power supply circuit corresponding to the lamplight component.Power supply circuit can be powered based on pwm signal to corresponding lamplight component, so that the luminous intensity of the lamplight component is corresponding with corresponding duty ratio.Due to that can correspond to the luminous intensity of each lamplight component of adjustment based on current light intensity, therefore this programme can be improved the luminous utilization rate of each lamplight component.

Description

The method, apparatus and system that a kind of pair of lamplight component is dimmed
Technical field
The method, apparatus that is dimmed the present invention relates to field of computer technology, in particular to a kind of pair of lamplight component and System.
Background technique
It with the rapid development of electronic technology and the development of wisdom bank and popularizes, more and more self-aided terminals come into people The visual field.On the basis for reaching expected basic function, user experience, visual effect for providing self-aided terminal etc. are wanted Ask also increasingly harsher.For example, in one application, when user uses self-aided terminal transacting business, it is desirable that on self-aided terminal Each lamplight component being arranged, such as status indicator lamp, code keyboard lamp can shine to provide conveniently for user's transacting business.
At present, it may be predetermined that the suitable light emission luminance that each lamplight component should reach.User uses self-service end When holding transacting business, each lamplight component carries out shining for respective degrees.
But when self-aided terminal ambient light Strength Changes, the light emission luminance of each lamplight component still immobilizes, so that The luminous utilization rate of each lamplight component is lower.
Summary of the invention
The present invention provides method, apparatus and system that a kind of pair of lamplight component is dimmed, can be improved each light group The luminous utilization rate of part.
In order to achieve the above object, the present invention is achieved through the following technical solutions:
In a first aspect, the present invention provides the method that a kind of pair of lamplight component is dimmed, for being arranged on self-aided terminal At least one lamplight component, determine the corresponding light modulation rule of each described lamplight component, further includes:
Obtain the corresponding digital signal of light intensity current around the self-aided terminal;
For each lamplight component at least one lamplight component, be performed both by: according to the digital signal and The corresponding light modulation rule of the lamplight component generates corresponding PWM (Pulse Width Modulation, pulse width modulation) letter Number duty ratio;And the pwm signal for carrying the duty ratio is exported into power supply circuit corresponding to the lamplight component.
Further, at least one lamplight component includes: at least one of keyboard lighting, illuminating lamp for maintenance the One lamplight component;
The corresponding light modulation rule of each described lamplight component of the determination, comprising: determine each described first light The corresponding light modulation rule of component is all satisfied formula one, wherein
The formula one includes:
Wherein, YiFor the duty of the corresponding pwm signal of i-th kind of first lamplight component at least one lamplight component Than X is the digital signal, aiFor the corresponding optimal value of i-th kind of first lamplight component.
Further, at least one lamplight component include: status indicator lamp, tutorial light, in display screen extremely The second lamplight component of few one kind;
The corresponding light modulation rule of each described lamplight component of the determination, comprising: determine each described second light The corresponding light modulation rule of component is all satisfied formula two, wherein
The formula two includes:
Wherein, YiFor the duty of the corresponding pwm signal of i-th kind of second lamplight component at least one lamplight component Than X is the digital signal, biFor the corresponding optimal value of i-th kind of second lamplight component.
Second aspect, the present invention provides a kind of MCU (Micro Control Unit, micro-control units), comprising:
Determination unit, for determining each described light for at least one lamplight component being arranged on self-aided terminal The corresponding light modulation rule of component;
Acquiring unit, for obtaining the corresponding digital signal of light intensity current around the self-aided terminal;
Processing unit, for being performed both by: according to institute for each lamplight component at least one lamplight component Digital signal light modulation rule corresponding with the lamplight component is stated, the duty ratio of corresponding pwm signal is generated;And it will carry The pwm signal for stating duty ratio exports power supply circuit corresponding to the lamplight component.
Further, at least one lamplight component includes: at least one of keyboard lighting, illuminating lamp for maintenance the One lamplight component;
The determination unit, specifically for determining that the corresponding light modulation rule of each described first lamplight component is all satisfied public affairs Formula one, wherein
The formula one includes:
Wherein, YiFor the duty of the corresponding pwm signal of i-th kind of first lamplight component at least one lamplight component Than X is the digital signal, aiFor the corresponding optimal value of i-th kind of first lamplight component.
Further, at least one lamplight component include: status indicator lamp, tutorial light, in display screen extremely The second lamplight component of few one kind;
The determination unit, specifically for determining that the corresponding light modulation rule of each described second lamplight component is all satisfied public affairs Formula two, wherein
The formula two includes:
Wherein, YiFor the duty of the corresponding pwm signal of i-th kind of second lamplight component at least one lamplight component Than X is the digital signal, biFor the corresponding optimal value of i-th kind of second lamplight component.
Further, the MCU is built in the self-aided terminal.
The third aspect, the present invention provides the systems that a kind of pair of lamplight component is dimmed, comprising:
Any of the above-described MCU, light luminance sensor, A/D (Analog/Digital, analog/digital) convert core Piece, at least one lamplight component and the corresponding power supply circuit of each described lamplight component;
The light luminance sensor, for acquiring light intensity current around self-aided terminal, by the light intensity Analog voltage signal is converted to, and the analog voltage signal is exported to the A/D conversion chip;
The A/D conversion chip, for pair according to pre-set different analog voltage signals and different digital signal Transformational relation is answered, the analog voltage of output is converted into corresponding digital signal;
Each described power supply circuit is used to the pwm signal for carrying duty ratio exported according to the MCU, to right The lamplight component answered is powered, so that the electric current by the lamplight component is corresponding with the duty ratio.
Further, the light intensity and the analog voltage signal are in inverse ratio;
The corresponding conversion relationship of the difference analog voltage signal and different digital signal meets formula three, wherein
The formula three includes:
Wherein, X is the digital signal, VmaxFor the corresponding maximum voltage value of the analog voltage signal, VminIt is described The corresponding minimum amount of voltage that of analog voltage signal, V are the analog voltage signal.
Further, the system that lamplight component is dimmed further include: host computer, it is each for inputting user The corresponding light modulation rule of the kind lamplight component is sent to the MCU;
The MCU, specifically for receiving and storing the corresponding light modulation rule of each described lamplight component.
The present invention provides method, apparatus and system that a kind of pair of lamplight component is dimmed, for being set on self-aided terminal At least one lamplight component set determines the corresponding light modulation rule of each lamplight component;Obtain the current light of self-service terminal surrounding The corresponding digital signal of intensity;It is performed both by for each lamplight component at least one lamplight component: according to digital signal Light modulation rule corresponding with the lamplight component, generates the duty ratio of corresponding pwm signal, and will carry the duty ratio Pwm signal exports power supply circuit corresponding to the lamplight component.Power supply circuit can be based on pwm signal to corresponding lamplight component It is powered, so that the luminous intensity of the lamplight component is corresponding with corresponding duty ratio.Due to can be strong based on current light Degree is with the corresponding luminous intensity for adjusting each lamplight component, therefore the present invention can be improved the luminous utilization rate of each lamplight component.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is the present invention Some embodiments for those of ordinary skill in the art without creative efforts, can also basis These attached drawings obtain other attached drawings.
Fig. 1 is the flow chart for the method that a kind of pair of lamplight component that one embodiment of the invention provides is dimmed;
Fig. 2 is the flow chart for the method that the another kind that one embodiment of the invention provides dims lamplight component;
Fig. 3 is a kind of schematic diagram for MCU that one embodiment of the invention provides;
Fig. 4 is the schematic diagram for the system that a kind of pair of lamplight component that one embodiment of the invention provides is dimmed;
Fig. 5 is the schematic diagram for the system that the another kind that one embodiment of the invention provides dims lamplight component.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments, based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
As shown in Figure 1, may include following the embodiment of the invention provides the method that a kind of pair of lamplight component is dimmed Step:
Step 101: for at least one lamplight component being arranged on self-aided terminal, determining each described lamplight component pair The light modulation rule answered.
Step 102: obtaining the corresponding digital signal of light intensity current around the self-aided terminal.
Step 103: for each lamplight component at least one lamplight component, being performed both by: according to the number Word signal light modulation rule corresponding with the lamplight component, generates the duty ratio of corresponding pwm signal;And described account for will be carried The pwm signal of empty ratio exports power supply circuit corresponding to the lamplight component.
The embodiment of the invention provides the method that a kind of pair of lamplight component is dimmed, for be arranged on self-aided terminal to A kind of few lamplight component determines the corresponding light modulation rule of each lamplight component;Obtain the current light intensity pair of self-service terminal surrounding The digital signal answered;It is performed both by for each lamplight component at least one lamplight component: according to digital signal and the lamp The corresponding light modulation rule of optical assembly, generates the duty ratio of corresponding pwm signal, and the pwm signal that will carry the duty ratio It exports to the corresponding power supply circuit of the lamplight component.Power supply circuit can be supplied based on pwm signal to corresponding lamplight component Electricity, so that the luminous intensity of the lamplight component is corresponding with corresponding duty ratio.Due to can be based on current light intensity with right The luminous intensity of each lamplight component should be adjusted, therefore the embodiment of the present invention can be improved the luminous utilization rate of each lamplight component.
In detail, after self-aided terminal starting, the corresponding digital signal of available current light intensity, and it is directed to the number Signal determines the corresponding duty ratio of each lamplight component, to optimize the luminous intensity of each lamplight component, to adapt to current light Intensity.
In addition, equally can periodically be obtained in self-aided terminal normal course of operation based on same realization principle The corresponding digital signal of current light intensity, to optimize the luminous intensity of each lamplight component.For example, this periodical operation Time interval can be set according to actual needs, such as can be 10min, 30min etc..
In detail, the lamplight component being arranged on self-aided terminal can have keyboard lighting, illuminating lamp for maintenance, state instruction Lamp, tutorial light, display screen etc..Wherein, keyboard lighting, illuminating lamp for maintenance can be a kind of lamplight component, such as present invention It may be collectively referred to as the first lamplight component in embodiment, status indicator lamp, tutorial light, display screen can be a kind of light group Part, as may be collectively referred to as the second lamplight component in the embodiment of the present invention.
When user is using self-aided terminal transacting business, each lamplight component carries out shining for corresponding setting degree, for use Family guides instruction, operation instruction, operation illumination, display illumination etc..If the luminous intensity of each lamplight component immobilizes, when Light intensity variation around self-aided terminal, when increasing such as light intensity, the indicative function of above-mentioned each second lamplight component will subtract It is weak, reduce, it may not be possible to provide more apparent indicating effect for user, therefore greatly reduce user experience and self-aided terminal Device intelligence degree.Accordingly, since the external environment of high light intensity can play a degree of illuminating effect, therefore on The illuminating effect for stating each first lamplight component shows slightly waste or extra.
On the other hand, when the light intensity around self-aided terminal reduces, the illuminating effect of above-mentioned each first lamplight component It will weaken, reduce, it may not be possible to provide more apparent illuminating effect for user, therefore equally greatly reduce user experience and oneself Help the device intelligence degree of terminal.Accordingly, since the light intensity of external environment is lower, so that above-mentioned each second light group The indicative function of part is excessively obvious, so that indicative function shows slightly waste.
To solve the above problems, to make full use of the illumination effect of each lamplight component, while improving user experience and self-service The device intelligence degree of terminal can make the luminous intensity of each lamplight component and the light intensity phase around self-aided terminal Match, i.e., luminous intensity changes with the variation of light intensity.It is common, the luminous intensity of each lamplight component with self-aided terminal around Light intensity and the implementation that changes, at least may include following two kinds:
Mode 1: reversed light modulation, i.e. ambient intensity is stronger, and the luminous intensity of lamplight component is weaker, otherwise stronger, fits For above-mentioned first lamplight component;
Mode 2: forward direction light modulation, i.e. ambient intensity is stronger, and the luminous intensity of lamplight component is stronger, otherwise weaker, fits For above-mentioned second lamplight component.
In detail, for aforesaid way 1:
In an embodiment of the invention, in order to illustrate a kind of possibility implementation reversely dimmed and respective application field Scape, so, at least one lamplight component includes: the first light group of at least one of keyboard lighting, illuminating lamp for maintenance Part;
The corresponding light modulation rule of each described lamplight component of the determination, comprising: determine each described first light The corresponding light modulation rule of component is all satisfied following formula (1),
Wherein, YiFor the duty of the corresponding pwm signal of i-th kind of first lamplight component at least one lamplight component Than X is the digital signal, aiFor the corresponding optimal value of i-th kind of first lamplight component.
In detail, based on different practical application requests, the corresponding optimal value of the first lamplight component of difference can be identical, also It can be different.
In detail, duty ratio is bigger, and high level time ratio shared within a cycle of pulse signal is bigger.It is logical The pwm signal for executing high duty ratio is crossed to power for lamplight component, it is by the current value of lamplight component bigger, therefore lamplight component Luminous intensity or light emission luminance are higher.
For the first lamplight component, the corresponding maximum duty cycle of the maximum brightness of the offer according to needed for lamplight component can be with Its corresponding optimal value is set.For example, corresponding optimal value can be 30 when the maximum duty cycle of keyboard lighting is 30%, When the maximum duty cycle of illuminating lamp for maintenance is 60%, corresponding optimal value can be 60.As can be seen that the first lamplight component is corresponding Optimal value generally between in 0~100 range.
It, should when the light intensity of external environment is higher, and digital signal is caused to be not less than the optimal value of the first lamplight component The corresponding duty ratio of first lamplight component can be 0, i.e. first lamplight component does not shine under current light intensity.
For example, when the optimal value of keyboard lighting is 30, the optimal value of illuminating lamp for maintenance is 60, current light intensity When corresponding digital signal is 50, the corresponding duty ratio of keyboard lighting is 0, and the corresponding duty ratio of illuminating lamp for maintenance is 10%. Therefore when using keyboard lighting, keyboard lighting can not work, and when using illuminating lamp for maintenance, illuminating lamp for maintenance work, And its light emission luminance is corresponding with 10% duty ratio.
As it can be seen that this implementation can make full use of the light intensity of external environment, to avoid or reduce the first lamp The actually required luminous intensity of optical assembly, therefore can be saved as far as possible while guaranteeing user's normal use self-aided terminal The energy.
In detail, for aforesaid way 2:
In an embodiment of the invention, the possibility implementation in order to illustrate a kind of positive light modulation and respective application field Scape, so, at least one lamplight component includes: at least one of status indicator lamp, tutorial light, display screen second Lamplight component;
The corresponding light modulation rule of each described lamplight component of the determination, comprising: determine each described second light The corresponding light modulation rule of component is all satisfied following formula (2),
Wherein, YiFor the duty of the corresponding pwm signal of i-th kind of second lamplight component at least one lamplight component Than X is the digital signal, biFor the corresponding optimal value of i-th kind of second lamplight component.
In detail, based on different practical application requests, the corresponding optimal value of the second lamplight component of difference can be identical, also It can be different.
For the second lamplight component, according to the specific indicative function of lamplight component, its corresponding optimal value can be set.Example Such as, status indicator lamp, tutorial light, display screen are both needed to more slightly higher than the light intensity of external environment, to reach corresponding instruction When effect, corresponding optimal value is nonnegative number.Certainly, based on different practical application requests, which can equally be set It is set to negative.
For example, when the optimal value of status indicator lamp is 5, the optimal value of tutorial light is 10, the optimization of display screen Value is 5, and when the corresponding digital signal of current light intensity is 50, the corresponding duty ratio of status indicator lamp is 55%, operation instruction The corresponding duty ratio of lamp is 60%, the corresponding duty ratio of display screen is 55%.Therefore, when using status indicator lamp, state refers to Show that lamp works, and its light emission luminance is corresponding with 55% duty ratio.And so on, light emission luminance when tutorial light works Corresponding with 60% duty ratio, light emission luminance when display screen works is corresponding with 55% duty ratio.
As it can be seen that this implementation can based on the light intensity of external environment, when user uses self-aided terminal, for Family provides the indicating effect of suitable brightness, and energy utilization rate is high, and can be improved user experience, to enhance setting for self-aided terminal Standby intelligence degree.
As shown in Fig. 2, one embodiment of the invention provides another method dimmed to lamplight component, it is specific to wrap Include following steps:
Step 201: the corresponding light modulation rule of each lamplight component that user inputs is sent to self-aided terminal by host computer.
In detail, keyboard lighting, illuminating lamp for maintenance, status indicator lamp, operation instruction can be set on self-aided terminal The lamplight components such as lamp, display screen.
In detail, for keyboard lighting, this kind of lamplight component of illuminating lamp for maintenance, corresponding light modulation rule can expire Sufficient above-mentioned formula (1);For status indicator lamp, tutorial light, this kind of lamplight component of display screen, corresponding light modulation rule can To be all satisfied above-mentioned formula (2).
Step 202: self-aided terminal receives and stores the corresponding light modulation rule of each lamplight component that host computer is sent.
Step 203: light luminance sensor acquires light intensity current around self-aided terminal in real time, and light intensity is turned It is changed to analog voltage signal, and analog voltage signal is exported to A/D conversion chip.
It in detail, may include having photo resistance in light luminance sensor, wherein the resistance value of photo resistance is strong with light The variation of degree and change, therefore can be according to the voltage value at photo resistance both ends to reflect light intensity indirectly.
Under normal conditions, light intensity and analog voltage signal are in inverse ratio.
Step 204:A/D conversion chip is corresponding with different digital signal according to pre-set different analog voltage signals The analog voltage of output is converted to corresponding digital signal by transformational relation.
In detail, when light intensity and analog voltage signal are in inverse ratio, different analog voltage signals and different digital signal Corresponding conversion relationship meet following formula (3),
Wherein, X is digital signal, VmaxFor the corresponding maximum voltage value of analog voltage signal, VminFor analog voltage signal Corresponding minimum amount of voltage that, V are analog voltage signal.
Step 205: self-aided terminal receives the digital signal that A/D conversion chip is sent.
Step 206: self-aided terminal is using pre-set time interval as the period, periodically for each lamplight component It is performed both by: according to current digital signal light modulation rule corresponding with the lamplight component, generating the duty of corresponding pwm signal Than;And the pwm signal for carrying duty ratio is exported into power supply circuit corresponding to the lamplight component.
In detail, self-aided terminal can obtain the digital signal of A/D conversion chip generation in real time, and periodically set reaching When fixing time, using the digital signal currently obtained, to calculate the duty ratio of the corresponding pwm signal of each lamplight component.
Step 207: the pwm signal for carrying duty ratio that power supply circuit is exported according to self-aided terminal, to corresponding light Component is powered, so that the electric current by the lamplight component is corresponding with the duty ratio.
In detail, based on calculated duty ratio to be powered to lamplight component, the electricity by lamplight component can be made Stream is corresponding with the duty ratio, even if light intensity current around the light emission luminance and self-aided terminal of lamplight component matches, To be provided conveniently for user using self-aided terminal transacting business.
As shown in figure 3, one embodiment of the invention provides a kind of MCU, comprising:
Determination unit 301, for determining each described lamp for at least one lamplight component being arranged on self-aided terminal The corresponding light modulation rule of optical assembly;
Acquiring unit 302, for obtaining the corresponding digital signal of light intensity current around the self-aided terminal;
Processing unit 303, for being performed both by: root for each lamplight component at least one lamplight component According to digital signal light modulation rule corresponding with the lamplight component, the duty ratio of corresponding pwm signal is generated;And it will carry There is the pwm signal of the duty ratio to export power supply circuit corresponding to the lamplight component.
In an embodiment of the invention, at least one lamplight component includes: keyboard lighting, in illuminating lamp for maintenance The first lamplight component of at least one;
The determination unit, specifically for determining that the corresponding light modulation rule of each described first lamplight component is all satisfied State formula (1).
In an embodiment of the invention, at least one lamplight component include: status indicator lamp, tutorial light, The second lamplight component of at least one of display screen;
The determination unit, specifically for determining that the corresponding light modulation rule of each described second lamplight component is all satisfied State formula (2).
In an embodiment of the invention, the MCU is built in the self-aided terminal.
It in detail, may include having MCU, the corresponding power supply circuit of each lamplight component in self-aided terminal, on self-aided terminal Each suitable location can be respectively arranged with the lamplight component of corresponding function.
In conclusion self-aided terminal can be corresponding to adjust each light being arranged thereon based on the light intensity of external environment The luminous intensity of component, so that the luminous intensity of each lamplight component and the light intensity of external environment match.This realization side Formula makes self-aided terminal more intelligent, humanized, substantially increases user experience and device intelligence degree, improves self-service The competitiveness of product.
As shown in figure 4, the embodiment of the invention provides the systems that a kind of pair of lamplight component is dimmed, comprising:
Any of the above-described MCU401, light luminance sensor 402, A/D conversion chip 403, at least one light group Part 404 and each corresponding power supply circuit 405 of the lamplight component 404;
The light luminance sensor 402 is strong by the light for acquiring light intensity current around self-aided terminal Degree is converted to analog voltage signal, and the analog voltage signal is exported to the A/D conversion chip 403;
The A/D conversion chip 403, for according to pre-set different analog voltage signals and different digital signal The analog voltage of output is converted to corresponding digital signal by corresponding conversion relationship;
Each described power supply circuit 405, the PWM letter for carrying duty ratio for being used to be exported according to the MCU401 Number, it is powered to corresponding lamplight component, so that the electric current by the lamplight component is corresponding with the duty ratio.
In detail, light luminance sensor can be set on self-aided terminal, or setting and the outside of self-aided terminal and with Self-aided terminal is connected.Light luminance sensor is connected with A/D conversion chip, and A/D conversion chip is connected with MCU simultaneously.
In detail, the wavelength of light acquisition range of light luminance sensor can be 370nm~670nm.
It in an embodiment of the invention, may include having photo resistance in light luminance sensor.Under normal conditions, light The resistance value and light intensity of quick resistance are in inverse ratio, i.e. light intensity is bigger, and the resistance value of photo resistance is smaller, otherwise bigger.When logical Cross photo resistance electric current it is constant when, light luminance sensor can by determine photo resistance both ends voltage, thus indirectly Reflect light intensity.
Based on above content, in an embodiment of the invention, the light intensity and the analog voltage signal are in anti- Than;
The corresponding conversion relationship of the difference analog voltage signal and different digital signal meets above-mentioned formula (3).
In detail, the inverse ratio corresponding relationship based on light intensity and analog voltage signal can determine that light luminance senses The maximum voltage value and minimum amount of voltage that for the analog voltage signal that device is determined.For example, the light intensity of external environment is most weak When, the analog voltage signal that light luminance sensor is determined can be above-mentioned maximum voltage value, conversely, the light of external environment When intensity is most strong, the analog voltage signal that light luminance sensor is determined can be above-mentioned minimum amount of voltage that.
As an example it is assumed that maximum voltage value is 3V, minimum amount of voltage that 1V is divided into 2V between the two.If external environment is worked as Preceding light intensity is very strong, and the analog voltage signal that light luminance sensor is determined can be 1.02V, therefore according to above-mentioned formula (3) calculated digital signal is 99.
In an embodiment of the invention, referring to FIG. 5, the system dimmed to lamplight component can also include: Host computer 501, the corresponding light modulation rule of each described lamplight component for inputting user are sent to the MCU401;
The MCU401, specifically for receiving and storing the corresponding light modulation rule of each described lamplight component.
In detail, this host computer can be intelligent computer, the smart phone being connected with self-aided terminal, and can be for certainly Help the intelligent set module etc. being arranged in terminal.
In an embodiment of the invention, after self-aided terminal is installed, staff can according to user experience and It is preferred that empirical value, is arranged the corresponding light modulation rule of each lamplight component, and the Flash of MCU is written.
The contents such as the information exchange between each unit, implementation procedure in above-mentioned apparatus, due to implementing with the method for the present invention Example is based on same design, and for details, please refer to the description in the embodiment of the method for the present invention, and details are not described herein again.
In conclusion each embodiment of the invention at least has the following beneficial effects:
1, in the embodiment of the present invention, for at least one lamplight component being arranged on self-aided terminal, each lamplight component is determined Corresponding light modulation rule;Obtain the corresponding digital signal of the current light intensity of self-service terminal surrounding;For at least one light Each lamplight component in component is performed both by: according to digital signal light modulation rule corresponding with the lamplight component, being generated corresponding Pwm signal duty ratio, and the pwm signal for carrying the duty ratio is exported to the lamplight component corresponding power supply electricity Road.Power supply circuit can be powered to corresponding lamplight component based on pwm signal so that the luminous intensity of the lamplight component with Corresponding duty ratio is corresponding.Since the luminous intensity for adjusting each lamplight component can be corresponded to based on current light intensity, therefore The embodiment of the present invention can be improved the luminous utilization rate of each lamplight component.
2, in the embodiment of the present invention, the light intensity of external environment can be made full use of, to avoid or reduce the first lamp The actually required luminous intensity of optical assembly, therefore can be saved as far as possible while guaranteeing user's normal use self-aided terminal The energy.
3, in the embodiment of the present invention, can based on the light intensity of external environment, when user uses self-aided terminal, for Family provides the indicating effect of suitable brightness, and energy utilization rate is high, and can be improved user experience, to enhance setting for self-aided terminal Standby intelligence degree.
4, in the embodiment of the present invention, self-aided terminal can be based on the light intensity of external environment, and corresponding adjustment is arranged thereon Each lamplight component luminous intensity so that the luminous intensity of each lamplight component and the light intensity of external environment match.This One implementation makes self-aided terminal more intelligent, humanized, substantially increases user experience and device intelligence degree, mentions The high competitiveness of self-service product.
It should be noted that, in this document, such as first and second etc relational terms are used merely to an entity Or operation is distinguished with another entity or operation, is existed without necessarily requiring or implying between these entities or operation Any actual relationship or order.Moreover, the terms "include", "comprise" or its any other variant be intended to it is non- It is exclusive to include, so that the process, method, article or equipment for including a series of elements not only includes those elements, It but also including other elements that are not explicitly listed, or further include solid by this process, method, article or equipment Some elements.In the absence of more restrictions, the element limited by sentence " including a 〃 ", is not arranged Except there is also other identical factors in the process, method, article or apparatus that includes the element.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through The relevant hardware of program instruction is completed, and program above-mentioned can store in computer-readable storage medium, the program When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes: ROM, RAM, magnetic disk or light In the various media that can store program code such as disk.
Finally, it should be noted that the foregoing is merely presently preferred embodiments of the present invention, it is merely to illustrate skill of the invention Art scheme, is not intended to limit the scope of the present invention.Any modification for being made all within the spirits and principles of the present invention, Equivalent replacement, improvement etc., are included within the scope of protection of the present invention.

Claims (7)

1. the method that a kind of pair of lamplight component is dimmed, which is characterized in that for at least one lamp being arranged on self-aided terminal Optical assembly determines the corresponding light modulation rule of each described lamplight component, further includes:
Obtain the corresponding digital signal of light intensity current around the self-aided terminal;
For each lamplight component at least one lamplight component, be performed both by: according to the digital signal with the lamp The corresponding light modulation rule of optical assembly, generates the duty ratio of corresponding pulse width modulation (PWM) signal;And described account for will be carried The pwm signal of empty ratio exports power supply circuit corresponding to the lamplight component;
At least one lamplight component includes: the first lamplight component of at least one of keyboard lighting, illuminating lamp for maintenance;
The corresponding light modulation rule of each described lamplight component of the determination, comprising: determine each described first lamplight component Corresponding light modulation rule is all satisfied formula one, wherein
The formula one includes:
Wherein, YiFor the duty ratio of the corresponding pwm signal of i-th kind of first lamplight component at least one lamplight component, X For the digital signal, aiFor the corresponding optimal value of i-th kind of first lamplight component.
2. the method according to claim 1, wherein
At least one lamplight component includes: the second light of at least one of status indicator lamp, tutorial light, display screen Component;
The corresponding light modulation rule of each described lamplight component of the determination, comprising: determine each described second lamplight component Corresponding light modulation rule is all satisfied formula two, wherein
The formula two includes:
Wherein, YiFor the duty ratio of the corresponding pwm signal of i-th kind of second lamplight component at least one lamplight component, X For the digital signal, biFor the corresponding optimal value of i-th kind of second lamplight component.
3. a kind of micro-control unit MCU characterized by comprising
Determination unit, for determining each described lamplight component for at least one lamplight component being arranged on self-aided terminal Corresponding light modulation rule;
Acquiring unit, for obtaining the corresponding digital signal of light intensity current around the self-aided terminal;
Processing unit, for being performed both by: according to the number for each lamplight component at least one lamplight component Word signal light modulation rule corresponding with the lamplight component, generates the duty ratio of corresponding pulse width modulation (PWM) signal;And it will The pwm signal for carrying the duty ratio exports power supply circuit corresponding to the lamplight component;
At least one lamplight component includes: the first lamplight component of at least one of keyboard lighting, illuminating lamp for maintenance;
The determination unit, specifically for determining that the corresponding light modulation rule of each described first lamplight component is all satisfied formula One, wherein
The formula one includes:
Wherein, YiFor the duty ratio of the corresponding pwm signal of i-th kind of first lamplight component at least one lamplight component, X For the digital signal, aiFor the corresponding optimal value of i-th kind of first lamplight component.
4. MCU according to claim 3, which is characterized in that
At least one lamplight component includes: the second light of at least one of status indicator lamp, tutorial light, display screen Component;
The determination unit, specifically for determining that the corresponding light modulation rule of each described second lamplight component is all satisfied formula Two, wherein
The formula two includes:
Wherein, YiFor the duty ratio of the corresponding pwm signal of i-th kind of second lamplight component at least one lamplight component, X For the digital signal, biFor the corresponding optimal value of i-th kind of second lamplight component.
5. MCU according to claim 3, which is characterized in that
The MCU is built in the self-aided terminal.
6. the system that a kind of pair of lamplight component is dimmed characterized by comprising
Micro-control unit MCU, light luminance sensor, analog/digital A/D as described in any in claim 3 to 5 convert core Piece, at least one lamplight component and the corresponding power supply circuit of each described lamplight component;
The light luminance sensor converts the light intensity for acquiring light intensity current around self-aided terminal For analog voltage signal, and the analog voltage signal is exported to the A/D conversion chip;
The A/D conversion chip, for turning according to pre-set different analog voltage signals are corresponding with different digital signal Relationship is changed, the analog voltage of output is converted into corresponding digital signal;
Each described power supply circuit is used to the pwm signal for carrying duty ratio exported according to the MCU, to corresponding Lamplight component is powered, so that the electric current by the lamplight component is corresponding with the duty ratio;
The light intensity and the analog voltage signal are in inverse ratio;
The corresponding conversion relationship of the difference analog voltage signal and different digital signal meets formula three, wherein
The formula three includes:
Wherein, X is the digital signal, VmaxFor the corresponding maximum voltage value of the analog voltage signal, VminFor the simulation The corresponding minimum amount of voltage that of voltage signal, V are the analog voltage signal.
7. the system according to claim 6 dimmed to lamplight component, which is characterized in that
Further include: host computer, the corresponding light modulation rule of each described lamplight component for inputting user are sent to described MCU;
The MCU, specifically for receiving and storing the corresponding light modulation rule of each described lamplight component.
CN201611047809.5A 2016-11-22 2016-11-22 The method, apparatus and system that a kind of pair of lamplight component is dimmed Active CN106455271B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611047809.5A CN106455271B (en) 2016-11-22 2016-11-22 The method, apparatus and system that a kind of pair of lamplight component is dimmed

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611047809.5A CN106455271B (en) 2016-11-22 2016-11-22 The method, apparatus and system that a kind of pair of lamplight component is dimmed

Publications (2)

Publication Number Publication Date
CN106455271A CN106455271A (en) 2017-02-22
CN106455271B true CN106455271B (en) 2019-02-15

Family

ID=58218230

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611047809.5A Active CN106455271B (en) 2016-11-22 2016-11-22 The method, apparatus and system that a kind of pair of lamplight component is dimmed

Country Status (1)

Country Link
CN (1) CN106455271B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107120567A (en) * 2017-05-17 2017-09-01 深圳怡化电脑股份有限公司 Plate illumination system and financial self-service equipment before one kind
CN107477537A (en) * 2017-08-31 2017-12-15 太仓市普利照明电器有限公司 A kind of distance perspective with sterilizing function answers mirror front lamp

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101459722A (en) * 2007-12-14 2009-06-17 希姆通信息技术(上海)有限公司 Photo-sensor application method and system in mobile phone
CN101778504A (en) * 2009-01-09 2010-07-14 浪潮乐金数字移动通信有限公司 System and method for automatically regulating brightness of backlight of screen and key

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1946097A (en) * 2006-10-16 2007-04-11 华为技术有限公司 Method and device for regulating back light brightness and movable terminal
KR101172827B1 (en) * 2008-12-31 2012-08-10 고재만 Tablet and Maximum stream flow Provision equipment using Mass Store-tank of Chemical solution or Liquid gas
CN205263954U (en) * 2015-11-23 2016-05-25 恒银金融科技股份有限公司 Light control system at self -service terminal of finance

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101459722A (en) * 2007-12-14 2009-06-17 希姆通信息技术(上海)有限公司 Photo-sensor application method and system in mobile phone
CN101778504A (en) * 2009-01-09 2010-07-14 浪潮乐金数字移动通信有限公司 System and method for automatically regulating brightness of backlight of screen and key

Also Published As

Publication number Publication date
CN106455271A (en) 2017-02-22

Similar Documents

Publication Publication Date Title
CN102695319B (en) LED stepless light regulating circuit
CN102869146A (en) Self-selection holding current circuit
CN106297731A (en) Strengthen the method and device of picture contrast, display screen and intelligent terminal
CN106455271B (en) The method, apparatus and system that a kind of pair of lamplight component is dimmed
AU2010224360B2 (en) Power supply and method for electric lighting device
CN105590590A (en) Backlight brightness automatic adjusting system suitable for different liquid crystal panels and liquid crystal display with backlight brightness automatic adjusting system
CN103929854A (en) LED drive device and LED dimming controller thereof
CN109285511A (en) LCD panel control method and device, storage medium, washing machine and electric appliance
CN103745693B (en) A kind of LED backlight drive circuit and driving method thereof
Danyali et al. Developing an Integrated Soft-Switching Bidirectional DC/DC Converter for Solar-Powered LED Street Lighting
CN106804081A (en) Light adjusting circuit and dimming controlling method
CN202855274U (en) Time-sequence control circuit, backlight scanning driving system and backlight source
CN102958240B (en) Light source device and dimming control circuit thereof
CN101950541A (en) Backlight module and liquid crystal display
CN105913809B (en) A kind of device and method of adjustment liquid crystal module group backlight brightness
CN103906314B (en) LED drive circuit and method based on voltage memory with segmentation current limliting
CN103177697A (en) Backlight driving circuit, backlight driving method and liquid crystal display
CN207367576U (en) A kind of PWM light adjusting circuits, backlight module, liquid crystal display die set and terminal
US20140333227A1 (en) Light Source Module, Light Source Module Driving Circuit and Driving Method
CN207038137U (en) A kind of light adjusting circuit, backlight module and liquid crystal display
CN102510617B (en) Circuit for adjusting brightness of light emitting diode (LED)
Spode et al. Reducing low-frequency ripple using alternative output capacitor connection on integrated converters for led drivers
CN101751862A (en) Device for controlling luminance of backlight source and control method thereof
CN101188099A (en) LCD display impulse width modulation and light adjusting mode
CN204994018U (en) Intelligent transportation lighting device of self -adaptation light intensity

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Wusong Industrial Park, Wuzhong Development District of Suzhou City, Jiangsu province 215100 Wusong Road No. 818

Applicant after: Tide Financial Information Technology Co Ltd

Address before: Wuzhong Economic Development Zone in Suzhou City, Jiangsu Province, the River Street 215104 tower rhyme Road No. 178 Building 2 layer 1

Applicant before: Tide (Suzhou) Financial Technology Service Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant