US11184962B2ActiveUtilityA1

Breathing light adjusting method, apparatus and electronic device

47
Assignee: SHENZHEN GOODIX TECH CO LTDPriority: Mar 7, 2018Filed: Jun 26, 2019Granted: Nov 23, 2021
Est. expiryMar 7, 2038(~11.7 yrs left)· nominal 20-yr term from priority
F21V 23/003F21Y 2115/10H05B 45/10H05B 45/325H05B 47/14
47
PatentIndex Score
0
Cited by
15
References
18
Claims

Abstract

The present disclosure provides a breathing light adjustment method, an apparatus and an electronic device, a relation curve representing relationship between a visual brightness and an electrical signal of a breathing light is determined; the visual brightness interval is equally divided according to a brightness level limit, and an electrical signal value corresponding to each brightness level after the equally dividing is determined; a ratio between the electrical signal value corresponding to each brightness level and a maximum electrical signal value is determined; and a magnitude of the electrical signal value inputted into the breathing light is adjusted according to the ratio between the electrical signal value corresponding to each brightness level and the maximum electrical signal value, so that the brightness of the breathing light presents an effect of linear gradual change which suits human vision.

Claims

exact text as granted — not AI-modified
What is claimed is: 
     
       1. A breathing light adjusting method, comprising:
 determining a relation curve representing relationship between visual brightness and an electrical signal of a breathing light; 
 equally dividing a visual brightness interval to obtain a plurality of brightness levels according to a brightness level limit, and determining an electrical signal value corresponding to each brightness level; 
 determining a ratio between the electrical signal value corresponding to each brightness level and a maximum electrical signal value; and 
 adjusting, according to the ratio between the electrical signal value corresponding to each brightness level and the maximum electrical signal value, a magnitude of an electrical signal value inputted into the breathing light; 
 wherein the method further comprises: 
 determining a first hold time of each brightness level according to a breathing cycle of the breathing light. 
 
     
     
       2. The method according to  claim 1 , wherein the determining a relation curve representing relationship between visual brightness and an electrical signal of a breathing light comprises:
 determining a relation curve representing relationship between actual amount of luminescence and the electrical signal of the breathing light; 
 determining a relation curve representing relationship between the visual brightness and the actual amount of luminescence of the breathing light; and 
 determining the relation curve representing relationship between the visual brightness and the electrical signal, according to the relation curve representing relationship between the actual amount of luminescence and the electrical signal of the breathing light and, the relation curve representing relationship between the visual brightness and the actual amount of luminescence of the breathing light. 
 
     
     
       3. The method according to  claim 1 , wherein the adjusting, according to the ratio between the electrical signal value corresponding to each brightness level and the maximum electrical signal value, a magnitude of an electrical signal value inputted into the breathing light comprises:
 generating a pulse width modulation (PWM) duty cycle control signal corresponding to each brightness level, according to the ratio between the electrical signal value corresponding to each brightness level, the maximum electrical signal value and a period of a PWM signal; and 
 inputting the PWM duty cycle control signal corresponding to each brightness level into the breathing light sequentially, such that the breathing light presents a sequential change in brightness according to the brightness level. 
 
     
     
       4. The method according to  claim 1 , wherein the determining a first hold time of each brightness level according to a breathing cycle of the breathing light comprises:
 equally dividing the breathing cycle of the breathing light according to the brightness level limit to obtain the first hold time of each brightness level. 
 
     
     
       5. The method according to  claim 1 , wherein:
 a change trend of the brightness level within each breathing cycle comprises: 
 sequentially changing from light to dark, or sequentially changing from dark to light; 
 a change trend of brightness between two adjacent breathing cycles comprises at least one of the following changes: 
 sequentially changing from dark to light, and then sequentially changing from light to dark; 
 sequentially changing from light to dark, and then sequentially changing from dark to light; 
 sequentially changing from light to dark, and then sequentially changing from light to dark; 
 sequentially changing from dark to light, and then sequentially changing from dark to light. 
 
     
     
       6. The method according to  claim 1 , wherein the method further comprises:
 determining, according to a second hold time, a time for maintaining a preset state between two adjacent breathing cycles; wherein the preset state is a state the breathing light is completely off, or a state the breathing light is maintained at any of the brightness level. 
 
     
     
       7. A breathing light adjusting apparatus, comprising:
 a storage module, configured to store ratio data, wherein the ratio data is ratio data between an electrical signal value corresponding to each brightness level and a maximum electrical signal value, wherein the electrical signal value corresponding to each brightness level is obtained by equally dividing a visual brightness interval to obtain a plurality of brightness levels according to a brightness level limit based on a relation curve representing relationship between visual brightness and an electric signal of a breathing light, and determining the electrical signal value corresponding to each brightness level; and 
 a digital controller, configured to read the ratio data from the storage module, and adjust, according to the ratio data between the electrical signal value corresponding to each brightness level and the maximum electrical signal value, a magnitude of the electrical signal value inputted into the breathing light; 
 wherein the configuration register further stores a breathing cycle of the breathing light, and the digital controller further comprises a brightness level controlling module; 
 wherein the brightness level controlling module is configured to read the breathing cycle from the configuration register and determine a hold time of each brightness level according to the breathing cycle of the breathing light. 
 
     
     
       8. The apparatus according to  claim 7 , wherein the relation curve representing relationship between the visual brightness and the electrical signal of the breathing light is determined by:
 determining a relation curve representing relationship between actual amount of luminescence and the electrical signal of the breathing light; 
 determining a relation curve representing relationship between visual brightness and the actual amount of luminescence of the breathing light; and 
 determining the relation curve representing relationship between the visual brightness and the electrical signal of the breathing light according to the relation curve representing relationship between the actual amount of luminescence and the electrical signal of the breathing light and the relation curve representing relationship between the visual brightness and the actual amount of luminescence of the breathing light. 
 
     
     
       9. The apparatus according to  claim 7 , further comprising: a configuration register; wherein the configuration register stores a period of a Pulse Width Modulation (PWM) signal; the storage module is a read only memory (ROM), and the ROM stores the ratio data between the electrical signal value corresponding to each brightness level and the maximum electrical signal value; the digital controller comprises: a duty cycle calculating module, configured to read the ratio data between the electrical signal value corresponding to each brightness level and the maximum electrical signal value from the ROM, read the period of the PWM signal from the configuration register, and generate a PWM duty cycle control signal corresponding to each brightness level according to the ratio data between the electrical signal value corresponding to each brightness level, the maximum electrical signal value and the period of the PWM signal;
 further comprising: a PWM generating module, configured to receive the PWM duty cycle control signal corresponding to each brightness level, and sequentially input the PWM duty cycle control signal corresponding to each brightness level into the breathing light, such that the breathing light presents a sequential change in brightness according to the brightness level. 
 
     
     
       10. The apparatus according to  claim 7 , wherein, the brightness level controlling module is configured to equally divide the breathing cycle of the breathing light according to the brightness level limit to obtain a first hold time of each brightness level. 
     
     
       11. The apparatus according to  claim 10 , further comprising: a first counter;
 wherein the first counter is configured to count a clock cycle of the breathing light adjusting apparatus to obtain a value of the number of the clock cycle, and the first counter is further configured to read the period of a PWM signal from the configuration register, compare the value of the number of the clock cycle with the period of the PWM signal, and clear the value of the number of the clock cycle at the end of each period of the PWM signal. 
 
     
     
       12. The apparatus according to  claim 11 , wherein, the PWM generating module is configured to receive the PWM duty cycle control signal corresponding to each brightness level, read the value of the number of the clock cycle counted by the first counter, compare the value of the number of the clock cycle with the PWM duty cycle control signal corresponding to each brightness level, determine whether each clock pulse signal in the PWM duty cycle control signal is set to 0 or 1, generate a clock pulse sequence of the PWM duty cycle control signal corresponding to each brightness level, and sequentially input the clock pulse sequence of the PWM duty cycle control signal corresponding to each brightness level into the breathing light, such that the breathing light presents a sequential change in brightness according to the brightness level. 
     
     
       13. The apparatus according to  claim 10 , further comprising: a second counter;
 wherein the second counter is configured to count a clock cycle of the breathing light adjusting apparatus to obtain a value of the number of the clock cycle, and the second counter is further configured to read the hold time of each brightness level from the brightness level controlling module, compare the value of the number of the clock cycle with the hold time of each brightness level, and clear the value of the number of the clock cycle at the end of the hold time of each brightness level. 
 
     
     
       14. The apparatus according to  claim 13 , wherein, the brightness level controlling module is further configured to progressively increase or decrease a current brightness level to an identifier corresponding to a next brightness level each time when the second counter clears the value of the number of the clock cycle, and send the identifier corresponding to the next brightness level to a ROM;
 the ROM is configured to update an addressing signal according to the identifier corresponding to the next brightness level, and read ratio data between an electrical signal value corresponding to the next brightness level indicated by the identifier and the maximum electrical signal value. 
 
     
     
       15. The apparatus according to  claim 14 , wherein, a PWM generating module is further configured to determine, according to a second hold time, a time for maintaining a preset state between two adjacent breathing cycles;
 wherein the preset state is a state the breathing light is completely off, or a state the breathing light is maintained at any of the brightness level. 
 
     
     
       16. The apparatus according to  claim 15 , wherein, the PWM generating module is configured to read the current brightness level of the brightness level controlling module, and initiate timing the second hold time when the current brightness level is a last brightness level of the breathing cycle. 
     
     
       17. The apparatus according to  claim 7 , wherein, the configuration register further stores a change trend of the brightness level within each breathing cycle, and the change trend of the brightness level within each breathing cycle comprises: sequentially changing from light to dark, or sequentially changing from dark to light;
 the configuration register further stores a change trend of brightness between two adjacent breathing cycles, and the brightness change trend between the two adjacent breathing cycles comprises at least one of the following changes: 
 sequentially changing from dark to light, and then sequentially changing from light to dark; 
 sequentially changing from light to dark, and then sequentially changing from dark to light; 
 sequentially changing from light to dark, and then sequentially changing from light to dark; 
 sequentially changing from dark to light and then sequentially changing from dark to light. 
 
     
     
       18. An electronic device, used for adjusting brightness of a breathing light, comprising:
 a processor; and 
 a non-transitory memory having processor-executable instructions stored thereon that, when executed on the processor, cause the electronic device to:
 determine a relation curve representing relationship between visual brightness and an electrical signal of a breathing light; 
 determine an electrical signal value corresponding to each brightness level of a plurality of brightness levels, wherein the plurality of brightness levels are obtained by equally dividing a visual brightness interval according to a brightness level limit; 
 determine a ratio between the electrical signal value corresponding to each brightness level and a maximum electrical signal value; and 
 adjust, according to the ratio between the electrical signal value corresponding to each brightness level and the maximum electrical signal value, a magnitude of the electrical signal value inputted into the breathing light; 
 determine a first hold time of each brightness level according to a breathing cycle of the breathing light.

Cited by (0)

No later patents cite this yet.

References (0)

No backward citations on record.