CN106028502A - Luminance control system and method for flash lamp of electronic apparatus - Google Patents

Luminance control system and method for flash lamp of electronic apparatus Download PDF

Info

Publication number
CN106028502A
CN106028502A CN201610338197.9A CN201610338197A CN106028502A CN 106028502 A CN106028502 A CN 106028502A CN 201610338197 A CN201610338197 A CN 201610338197A CN 106028502 A CN106028502 A CN 106028502A
Authority
CN
China
Prior art keywords
brightness
volume key
flash lamp
electronic installation
control system
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.)
Pending
Application number
CN201610338197.9A
Other languages
Chinese (zh)
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.)
JRD Communication Technology Shanghai Ltd
Jiekai Communications Technology Shanghai Co Ltd
Original Assignee
JRD Communication Technology Shanghai 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 JRD Communication Technology Shanghai Ltd filed Critical JRD Communication Technology Shanghai Ltd
Priority to CN201610338197.9A priority Critical patent/CN106028502A/en
Publication of CN106028502A publication Critical patent/CN106028502A/en
Pending legal-status Critical Current

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
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/10Controlling the intensity of the light
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/40Details of LED load circuits
    • H05B45/44Details of LED load circuits with an active control inside an LED matrix

Landscapes

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

Abstract

The invention discloses a luminance control system and method for a flash lamp of an electronic apparatus. The luminance control system for the flash lamp of the electronic apparatus comprises a CPU, a luminance value storage, an LED diving chip, an LED unit and a volume key actuating detection unit, wherein multiple numerical values which represent different luminance values are stored in the luminance value storage; the volume key actuating detection unit is used for detecting a volume key actuating action from a user, and outputting the numerical values, which represent different luminance values and are stored in the luminance value storage, to the LED driving chip according to the volume key actuating action from the user; and the LED driving chip outputs PWM waves with the corresponding frequencies to the LED unit according to the numerical values so as to carry out corresponding luminance adjustment.

Description

Electronic installation brightness of flash lamp control system and method
[technical field]
The invention belongs to electronic technology field, the brightness of flash lamp particularly relating to a kind of electronic installation controls system System and method.
[background technology]
Existing intelligent electronic device, such as smart mobile phone, is equipped with photographic head, and supporting be provided with corresponding LED flash in case when taking pictures use.And some smart mobile phones using LED flash as torch Cylinder uses, and should be used for opening, closing, adjust the brightness of this LED by an APP.
But, owing to the use frequency of this APP is not the highest, user typically will not place it head Page uses, but when to be surely ready using, the most cumbersome, need to enter APP menu, find this APP, then opens it, carrys out manipulator's torch by this APP afterwards, and this kind of mode operates more complicated, It is unfavorable for improving Consumer's Experience.
[summary of the invention]
It is an object of the invention to provide a kind of electronic installation brightness of flash lamp control system and method, in order to Solve the flash lamp problem that process is complicated when operation of existing electronic installation.
For achieving the above object, the electronic installation brightness of flash lamp control system of the present invention is implemented in electricity On sub-device, this electronic installation includes upper and lower volume key, and wherein this electronic installation brightness of flash lamp controls System includes that CPU, brightness value memory, LED drive chip, LED unit and volume key activate and detects Surveying unit, be wherein provided with multiple numerical value representing different brightness in brightness value memory, volume key activates Detecting unit activates the action of volume key in order to detect user, and activates volume key according to user The numerical value representing different brightness in brightness value memory is exported to LED drive chip by action, and LED drives Dynamic chip exports the PWM ripple of corresponding frequencies to LED unit to carry out brightness regulation according to this numerical value.
According to above-mentioned principal character, this CPU sends instruction by serial communication to LED drive chip Change corresponding brightness value.
According to above-mentioned principal character, this brightness number is provided with 4, and respectively 255,170,85,0, Represent the brightest, two grades of brightness, three grades of brightness, closedowns respectively.
According to above-mentioned principal character, aforementioned four brightness number leaves in an array, and electronics Device brightness of flash lamp control system is additionally provided with a variable, be used for recording be sent to last time LED drive core The Data Position of the brightness value of sheet, then subtracts one to Data Position as user activates upper volume key, if Being to activate lower volume key then Data Position to add one, a point expression is raised brightness and reduces brightness.
For achieving the above object, the present invention provides a kind of and utilizes above-mentioned electronic installation brightness of flash lamp to control The method that electronic installation brightness of flash lamp is controlled by system, the method comprises the steps:
Volume key activates detecting unit and persistently detects whether volume key activated;
If any, then judge whether electronic installation processes breath screen state, as otherwise performed volume add-minus function;
In this way, it is judged that whether flash lamp is in opening;As otherwise performed other functions preset;
In this way, then CPU selects corresponding brightness number and exports to LED drive chip, and LED drives Dynamic chip exports the PWM ripple of corresponding frequencies to LED unit according to this brightness number.
According to above-mentioned principal character, this brightness number is provided with 4, and respectively 255,170,85,0, Represent the brightest, two grades of brightness, three grades of brightness, closedowns respectively.
According to above-mentioned principal character, aforementioned four brightness number leaves in an array, and the party Method is additionally provided with a variable, for recording the data bit of the brightness value being sent to LED drive chip last time Put, then Data Position being subtracted one as user activates upper volume key, then counting if activating lower volume key Adding one according to position, a point expression is raised brightness and reduces brightness.
Compared with prior art, the present invention by arranging different brightness number in brightness value memory, Activate up or down volume key according to user afterwards and different brightness number is exported LED and drives Chip, thus LED drive chip exports the PWM ripple of corresponding frequencies to LED according to this brightness number Unit is to change the brightness of LED unit, and such user just can adjust this by activating volume key The brightness of LED unit, thus simplify the operation of user.
[accompanying drawing explanation]
Fig. 1 is the composition block schematic illustration of the electronic installation brightness of flash lamp control system implementing the present invention.
Fig. 2 is the schematic flow sheet of the electronic installation brightness of flash lamp control method implementing the present invention.
[detailed description of the invention]
Refer to shown in Fig. 1, for implementing the group of the electronic installation brightness of flash lamp control system of the present invention Become block schematic illustration.The electronic installation brightness of flash lamp control system implementing the present invention fills in electronics Putting, this electronic installation includes upper and lower volume key, wherein this electronic installation brightness of flash lamp control system Detecting is activated single including CPU, brightness value memory, LED drive chip, LED unit and volume key Unit, is wherein provided with multiple numerical value representing different brightness in brightness value memory, volume key activates detecting Unit activates the action of volume key in order to detect user, and activates the action of volume key according to user Exporting the numerical value representing different brightness in brightness value memory to LED drive chip, LED drives core Sheet exports the PWM ripple of corresponding frequencies to LED unit to carry out brightness regulation according to this numerical value.
In the specific implementation, CPU sends instruction change accordingly by serial communication to LED drive chip Brightness value, thus export the PWM ripple of different frequency to carry out brightness regulation, for brilliance control Data be usually 4 to 8, the PWM ripple of corresponding different frequency, and corresponding 16-256 bright Degree grade.In the present invention, LED unit is provided with 4 brightness number, respectively with 255, 170,85,0 the brightest, two grades of brightness, three grades of brightness, closedowns are represented.
In the specific implementation, the present invention is used for recording and was sent to LED by increasing variable last time and drives The Data Position of the brightness value of dynamic chip (will 255,170,85,0 to leave a size in be 4 Array in, such as LIGHT [4]=255,170,85,0}), and when volume key activate detecting unit Detect when user activates upper volume key and then Data Position is subtracted one, if activating lower volume key then Data Position adds one, and a point expression is raised brightness and reduces brightness.As activated upper sound for the first time when user During amount key, now Data Position points to 255, i.e. opens flash lamp with high-high brightness.When user causes During dynamic lower volume key, then Data Position points to 170, and CPU will send 170 to LED drive chip, By that analogy, thus make user can by activate upper and lower volume key and adjust the brightness of flash lamp.
Refer to shown in Fig. 2, for utilizing the electronic installation brightness of flash lamp control system pair described in Fig. 1 The schematic flow sheet of the method that electronic installation brightness of flash lamp is controlled.The method comprises the steps:
Volume key activates detecting unit and persistently detects whether volume key activated;
If any, then judge whether electronic installation processes breath screen state, as otherwise performed volume add-minus function;
In this way, it is judged that whether flash lamp is in opening;As otherwise perform to preset other functions (as Breath screen state under and flash lamp do not open, then definition activate volume key for perform camera function);
In this way, then CPU selects corresponding brightness number and exports to LED drive chip, and LED drives Dynamic chip exports the PWM ripple of corresponding frequencies to LED unit according to this brightness number.
Compared with prior art, the present invention by arranging different brightness number in brightness value memory, Activate up or down volume key according to user afterwards and different brightness number is exported LED and drives Chip, thus LED drive chip exports the PWM ripple of corresponding frequencies to LED according to this brightness number Unit is to change the brightness of LED unit, and such user just can adjust this by activating volume key The brightness of LED unit, thus simplify the operation of user.
Those of ordinary skill in the art is it is to be appreciated that combine described by the embodiments described herein Method step, it is possible to electronic hardware, computer software or the two be implemented in combination in, in order to clearly Chu's ground explanation hardware and the interchangeability of software, the most retouch in general manner according to function Composition and the step of each example are stated.These functions perform with hardware or software mode actually, depend on Application-specific and design constraint in technical scheme.Professional and technical personnel can specifically should to each With using different methods for realizing described function, but this realization is it is not considered that exceed the present invention Scope.
The method step described in conjunction with the embodiments described herein can use hardware, processor to perform Software module, or the two be implemented in combination in.Software module can be placed in random access memory (RAM), Internal memory, read only memory (ROM), electrically programmable ROM, electrically erasable ROM, deposit Device, hard disk, CD-ROM or well known in the art other forms any storage medium in.
It is understood that for those of ordinary skills, can be according to the technical side of the present invention Case and inventive concept thereof in addition equivalent or change, and all these change or replace and all should belong to this Bright appended scope of the claims.

Claims (7)

1. an electronic installation brightness of flash lamp control system, it is applied on electronic installation, this electronic installation includes upper and lower volume key, it is characterized in that this electronic installation brightness of flash lamp control system includes CPU, brightness value memory, LED drive chip, LED unit and volume key activate detecting unit, wherein it is provided with multiple numerical value representing different brightness in brightness value memory, volume key activates detecting unit and activates the action of volume key in order to detect user, and brightness value memory will represent the numerical value output of different brightness to LED drive chip according to the action of user actuating volume key, LED drive chip exports the PWM ripple of corresponding frequencies to LED unit to carry out brightness regulation according to this numerical value.
2. electronic installation brightness of flash lamp control system as claimed in claim 1, it is characterised in that: this CPU sends instruction by serial communication to LED drive chip and changes corresponding brightness value.
3. electronic installation brightness of flash lamp control system as claimed in claim 1, it is characterised in that: this brightness number is provided with 4, and respectively 255,170,85,0, represent the brightest, two grades of brightness, three grades of brightness, closedowns respectively.
4. electronic installation brightness of flash lamp control system as claimed in claim 3, it is characterized in that: aforementioned four brightness number leaves in an array, and electronic installation brightness of flash lamp control system is additionally provided with a variable, for recording the Data Position of the brightness value being sent to LED drive chip last time, then Data Position is subtracted one as user activates upper volume key, if activating lower volume key then Data Position to add one, a point expression is raised brightness and reduces brightness.
5. the method that electronic installation brightness of flash lamp is controlled by the electronic installation brightness of flash lamp control system that a kind utilizes described in claim 1, it is characterised in that the method comprises the steps:
Volume key activates detecting unit and persistently detects whether volume key activated;
If any, then judge whether electronic installation processes breath screen state, as otherwise performed volume add-minus function;
In this way, it is judged that whether flash lamp is in opening;As otherwise performed other functions preset;
In this way, then CPU selects corresponding brightness number and exports to LED drive chip, and LED drive chip exports the PWM ripple of corresponding frequencies to LED unit according to this brightness number.
6. method as claimed in claim 5, it is characterised in that: this brightness number is provided with 4, and respectively 255,170,85,0, represent the brightest, two grades of brightness, three grades of brightness, closedowns respectively.
7. method as claimed in claim 6, it is characterized in that: aforementioned four brightness number leaves in an array, and the method is additionally provided with a variable, for recording the Data Position of the brightness value being sent to LED drive chip last time, then Data Position is subtracted one as user activates upper volume key, if activating lower volume key then Data Position to add one, a point expression is raised brightness and reduces brightness.
CN201610338197.9A 2016-05-19 2016-05-19 Luminance control system and method for flash lamp of electronic apparatus Pending CN106028502A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610338197.9A CN106028502A (en) 2016-05-19 2016-05-19 Luminance control system and method for flash lamp of electronic apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610338197.9A CN106028502A (en) 2016-05-19 2016-05-19 Luminance control system and method for flash lamp of electronic apparatus

Publications (1)

Publication Number Publication Date
CN106028502A true CN106028502A (en) 2016-10-12

Family

ID=57096219

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610338197.9A Pending CN106028502A (en) 2016-05-19 2016-05-19 Luminance control system and method for flash lamp of electronic apparatus

Country Status (1)

Country Link
CN (1) CN106028502A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108075836A (en) * 2017-12-25 2018-05-25 深圳豪客互联网有限公司 A kind of flashlight control method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102256130A (en) * 2011-07-27 2011-11-23 武汉大学 Method for marking video frame image sequence number based on inserted macro block brightness particular values
CN103019567A (en) * 2012-12-17 2013-04-03 北京百度网讯科技有限公司 Touch screen mobile terminal and quick illumination-starting method and quick illumination-starting system thereof
CN103067604A (en) * 2013-01-17 2013-04-24 广东欧珀移动通信有限公司 Method for enabling cell phone to be in flashlight mode
CN103595842A (en) * 2013-11-13 2014-02-19 广东欧珀移动通信有限公司 Method for adjusting illuminating brightness of flashlight serving as electric torch and mobile terminal
CN104315355A (en) * 2014-10-31 2015-01-28 上海斐讯数据通信技术有限公司 Electric torch and method for automatically adjusting illumination according to environmental colors and brightness

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102256130A (en) * 2011-07-27 2011-11-23 武汉大学 Method for marking video frame image sequence number based on inserted macro block brightness particular values
CN103019567A (en) * 2012-12-17 2013-04-03 北京百度网讯科技有限公司 Touch screen mobile terminal and quick illumination-starting method and quick illumination-starting system thereof
CN103067604A (en) * 2013-01-17 2013-04-24 广东欧珀移动通信有限公司 Method for enabling cell phone to be in flashlight mode
CN103595842A (en) * 2013-11-13 2014-02-19 广东欧珀移动通信有限公司 Method for adjusting illuminating brightness of flashlight serving as electric torch and mobile terminal
CN104315355A (en) * 2014-10-31 2015-01-28 上海斐讯数据通信技术有限公司 Electric torch and method for automatically adjusting illumination according to environmental colors and brightness

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108075836A (en) * 2017-12-25 2018-05-25 深圳豪客互联网有限公司 A kind of flashlight control method and device

Similar Documents

Publication Publication Date Title
JP2022511691A (en) Optional terminal charging method, graphical user interface, and electronic device
WO2019089120A1 (en) Digital image auto exposure adjustment
US20190108794A1 (en) Backlight compensation for a computing device with two or more display devices
CN107610695A (en) Driver's voice wakes up the dynamic adjusting method of instruction word weight
CN102984352B (en) Method and device of adjusting of screen luminance of terminal and terminal
WO2020173391A1 (en) Song recording method, sound correction method and electronic device
CN104412319B (en) Brightness control method and equipment
CN103595842B (en) A kind of flash lamp is as brightness of illumination control method during pocket lamp and mobile terminal
CN104902088A (en) Method and device for adjusting screen brightness of mobile terminal
CN105262900A (en) Screen brightness adjusting method and screen brightness adjusting device
CN104883509B (en) A kind of method and terminal using taking photos by using flashlights
CN108900770A (en) Method and device for controlling rotation of camera, smart watch and mobile terminal
WO2021115419A1 (en) Image processing method, terminal, and storage medium
CN106293060A (en) The control method of display screen and device
CN108228544A (en) E-book reading parameter regulation means, electronic equipment and computer storage media
CN109272917A (en) Screen luminance adjustment method, device, storage medium and electronic equipment
CN108898082A (en) Image processing method, picture processing unit and terminal device
CN104582165A (en) Method for adjusting breathing light, and mobile terminal
CN104376834B (en) A kind of luminance regulating method and electronic equipment
CN106028502A (en) Luminance control system and method for flash lamp of electronic apparatus
CN114463191B (en) Image processing method and electronic equipment
CN107239250A (en) Screen display adjusting method and device and mobile terminal thereof
CN113224804A (en) Charging control method and electronic equipment
CN107145221A (en) A kind of information processing method and electronic equipment
CN205581783U (en) Portable electronic device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20161012