CN108305582A - A kind of device and method being used to indicate electric quantity of power supply - Google Patents
A kind of device and method being used to indicate electric quantity of power supply Download PDFInfo
- Publication number
- CN108305582A CN108305582A CN201710241383.5A CN201710241383A CN108305582A CN 108305582 A CN108305582 A CN 108305582A CN 201710241383 A CN201710241383 A CN 201710241383A CN 108305582 A CN108305582 A CN 108305582A
- Authority
- CN
- China
- Prior art keywords
- color
- power supply
- electric quantity
- rgb
- electricity
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 18
- 230000005611 electricity Effects 0.000 claims abstract description 56
- 230000015572 biosynthetic process Effects 0.000 claims abstract description 12
- 238000003786 synthesis reaction Methods 0.000 claims abstract description 12
- 239000003086 colorant Substances 0.000 claims abstract description 7
- 238000013500 data storage Methods 0.000 claims abstract description 7
- 238000001514 detection method Methods 0.000 claims abstract description 7
- 230000007704 transition Effects 0.000 claims abstract description 4
- 238000006243 chemical reaction Methods 0.000 claims description 10
- 230000002708 enhancing effect Effects 0.000 claims description 2
- 238000005265 energy consumption Methods 0.000 abstract description 5
- 238000010586 diagram Methods 0.000 description 3
- 210000000352 storage cell Anatomy 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 239000000835 fiber Substances 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 230000001737 promoting effect Effects 0.000 description 2
- 230000001681 protective effect Effects 0.000 description 2
- 238000007789 sealing Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000004568 cement Substances 0.000 description 1
- 238000000151 deposition Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 229920003023 plastic Polymers 0.000 description 1
- 230000006641 stabilisation Effects 0.000 description 1
- 238000011105 stabilization Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000003860 storage Methods 0.000 description 1
- 239000012780 transparent material Substances 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
- G09G3/22—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources
- G09G3/30—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels
- G09G3/32—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED]
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Control Of El Displays (AREA)
Abstract
The present invention proposes a kind of device being used to indicate electric quantity of power supply, including voltage detection unit, for the electricity of power supply to be transformed into digital signal;Data-storage unit contains the numerical value and rgb value corresponding to each color for the allocation list that saves colors in the color configuration table;MCU is used for the digital signal transition into electricity percentage, and according to the color configuration table, the rgb value of color corresponding to each numerical value in electricity percentage is obtained, as the duty ratio of PWM outputs, to control the luminous situation of LED display unit;LED display unit is one or more groups of RGB three-color LED lights;Color synthesis unit, for making the RGB three-color LED lights be combined into a kind of color, according to the color change of LED light after combination come the practical electricity of real-time display power supply.The present invention the device and method for being used to indicate electric quantity of power supply, it is at low cost, occupy pcb board it is small, low in energy consumption.
Description
Technical field
The present invention relates to field of power supplies, and in particular to a kind of device and method being used to indicate electric quantity of power supply.
Background technology
Have the product of power supply power supply currently on the market, to show power supply electricity how much, usually use numeral method, but
It is that the occupied volume of charactron is big, consuming electric power is high;Be not suitable for display and the low capacity of general microminiaturized product equipment electricity
The use of power-supply device.
Invention content
The purpose of the present invention is to solve in the prior art, power supply display device occupancy volume is greatly, consume energy height, is not suitable for
The problem of electricity display of general microminiaturized product equipment or power supply with small capacity equipment, propose a kind of dress being used to indicate electric quantity of power supply
It sets and method.
The device proposed by the present invention for being used to indicate electric quantity of power supply, including voltage detection unit are used for the electricity of power supply
It is transformed into digital signal;Data-storage unit, it is right containing each color in the color configuration table for the allocation list that saves colors
The numerical value and rgb value answered;MCU, for by the digital signal transition at electricity percentage, and according to the color configuration table,
The rgb value for obtaining color corresponding to each numerical value in electricity percentage, it is aobvious to control the LED as the duty ratio of PWM outputs
Show the luminous situation of unit;LED display unit is one or more groups of RGB three-color LED lights;Color synthesis unit, it is described for making
RGB three-color LED lights are combined into a kind of color, according to the color change of LED light after combination come the practical electricity of real-time display power supply.
Preferably, the numerical value in the color configuration table corresponding to each color is:Black=0;Brown=1;Red=2;
Orange=3;Yellow=4;Green=5;Blue=6;Purple=7;Grey=8;White=9.
Preferably, the device for being used to indicate electric quantity of power supply, further includes driving unit, is shown for enhancing the LED
The display brightness of unit.
Preferably, the LED display unit uses dynamic scanning displaying, scanning times per second to be more than 25 times.
Preferably, the color synthesis unit is collector lens, and the area of the collector lens can cover the RGB
Three-color LED light.
Preferably, the voltage detection unit, data storage cell and MCU become one machine, and the all-in-one machine is single
Piece machine.
Preferably, it is additionally provided with protective cover outside the LED display unit, for sealing waterproof.
Preferably, it is additionally provided with reflector below the RGB three-color LED lights, the brightness for promoting LED light.
The present invention also proposes a kind of method being used to indicate electric quantity of power supply, includes the following steps:
S1:The electricity of power supply is transformed into digital signal, and obtains electricity percentage according to the digital signal;
S2:Table is matched according to color, obtains the rgb value of color corresponding to each numerical value in the electricity percentage,
And the duty ratio for exporting rgb value as PWM;
S3:According to the duty ratio, the luminescent color of LED display unit is controlled;
S4:According to the luminescent color of the LED display unit, the practical electricity of power supply is obtained.
Preferably, the step S1 is further comprising the steps of:
S11:By voltage conversion unit, supply voltage is converted into numerical value A;
S12:Calculate charge value Y, Y=A-B, wherein B is the numerical value corresponding to power supply minimum voltage;
S13:Calculate electricity percentage, X=(Y/Z) * 100%;Wherein, X is electricity percentage;Z is power supply ceiling voltage
The difference of numerical value C and minimum voltage numerical value B, i.e. Z=C-B.
Preferably, in the step S13, X=(Y/Z) retains two effective digitals, i.e. X=(Y/Z) * 100%=
X1X0%, wherein X1For ten digit value, X0For units value, correspondingly, LED display unit contains two groups of RGB three-color LED lights.
Preferably, in the step S13, X=(Y/Z) retains an effective digital, i.e. X=(Y/Z) * 100%=
X1X0%, wherein X1For ten digit value, X0For units value, X0It is always zero, correspondingly, LED display unit contains one group of RGB tri-
Color LED light.
Preferably, in the step S13, X=(Y/Z) retains three effective digitals, i.e. X=(Y/Z) * 100%=
X2X1.X0%, wherein X2For ten digit value, X1For units value, X0For one decimal place number, correspondingly, LED display unit
Contain three groups of RGB three-color LED lights.
Compared with prior art, beneficial effects of the present invention have:
The device and method for being used to indicate electric quantity of power supply of the present invention, using one or more groups of RGB three-color LED lights, you can
The practical electricity for indicating power supply, indicates the device of electric quantity of power supply, due to a number using charactron compared with the prior art
A minimum of 7 LED light are managed, therefore, in the case where indicating that electric quantity of power supply accuracy is certain, the embodiment of the present invention is used to indicate
The device and method of electric quantity of power supply, it is at low cost, occupy pcb board it is small, low in energy consumption.Also, the RGB three-color LED lights of the present invention
It has been shown that, is that PWM is shown, i.e., within same range of scanned frequencies, the power consumption of each LED light is related with duty ratio, if duty
Than being 25, then power consumption only has 25/%, in this way, further reduced the power consumption of device.
Description of the drawings
Fig. 1 is the apparatus structure schematic diagram that electric quantity of power supply is used to indicate in the embodiment of the present invention 1.
Fig. 2 is the method flow diagram that electric quantity of power supply is used to indicate in the embodiment of the present invention 1.
Fig. 3 is the local circuit schematic diagram that MCU controls LED display unit in the embodiment of the present invention 1.
Fig. 4 is specific battery capacity indication implementation method flow chart in the embodiment of the present invention 1.
Specific implementation mode
With reference to specific embodiment and compares attached drawing the present invention is described in further details.Wherein identical attached drawing mark
Note indicates identical component, unless stated otherwise.It is emphasized that following the description is only exemplary, rather than
In order to limit the scope of the invention and its apply.
Embodiment 1
In the present embodiment, it is used to indicate the device of electric quantity of power supply, as shown in Figure 1, including voltage detection unit, MCU, number
According to depositing counting unit, LED display unit and color synthesis unit.Wherein, the voltage detection unit is used to turn the electricity of power supply
Become digital signal;The data storage cell is used for the allocation list that saves colors, and contains each color institute in the color configuration table
Corresponding numerical value and rgb value;MCU is central processing unit, is used for the digital signal transition into electricity percentage, and according to
The color configuration table obtains the rgb value of color corresponding to each numerical value in electricity percentage, as the duty ratio of PWM outputs, from
And control the luminous situation of the LED display unit;LED display unit is two groups of RGB three-color LED lights;The color synthesis is single
Member is for making two groups of RGB three-color LED lights be respectively combined into a kind of color, according to the color change of LED light after combination come real
When show the practical electricity of power supply.
In electronics industry, color is often used to represent number.Conventional color represents digital standard:Black=0;Palm fibre
Color=1;Red=2;Orange=3;Yellow=4;Green=5;Blue=6;Purple=7;Grey=8;White=9.The present invention
The standard of number is represented using above-mentioned conventional color, as shown in table 1, each color has corresponding rgb value.
1 color configuration table of table
The device for being used to indicate electric quantity of power supply of the embodiment of the present invention indicates the method flow of electricity, as shown in Fig. 2,
Include the following steps:S1:The electricity of power supply is transformed into digital signal, and obtains electricity percentage according to the digital signal;
S2:Match table according to color, obtain the rgb value of color corresponding to each numerical value in the electricity percentage, and using rgb value as
The duty ratio of PWM outputs;S3:According to the duty ratio, the luminescent color of LED display unit is controlled;S4:It is aobvious according to the LED
The luminescent color for showing unit obtains the practical electricity of power supply.
In wherein step S1, the electricity of power supply is transformed by digital signal by voltage detection unit, and according to the number
Word signal obtains electricity percentage, further comprising the steps of:S11:By voltage conversion device, supply voltage is converted into numerical value
A;S12:Calculate charge value Y, Y=A-B, wherein B is the numerical value corresponding to power supply minimum voltage;S13:Electricity percentage is calculated,
X=(Y/Z) * 100%;Wherein, X is electricity percentage;Z is the difference of power supply ceiling voltage numerical value C and minimum voltage numerical value B, i.e. Z
=C-B.
In the present embodiment, the voltage conversion device is AD conversion chip, and MCU is read power supply and do not had by A/D chip
It is numerical value B to have threshold voltage when electricity, and threshold voltage when power supply is full electric is numerical value C, and electric quantity of power supply instruction exactly shows C-B
Between value, indicated herein with Z, i.e. Z=C-B;By AD conversion, the supply voltage actually measured is converted into numerical value A,
Charge value Y is calculated, then Y=A-B, using the ratio of Y and Z as electricity percentage.
In the present embodiment, LED display unit is two groups of RGB three-color LED lights, as shown in figure 3, respectively RGB three-color LEDs
Lamp group 1 and RGB three-color LEDs lamp group 2, the RGB three-color LEDs lamp group are specially the LED light being made of red, green and blue,
Lamp group 1 includes red LED lamp D1, green LED lamp D2 and blue LED lamp D3, and lamp group 2 includes red LED lamp D4, green LED lamp
D5 and blue LED lamp D6, MCU control each color LED light by 6 PWM interfaces respectively.Pass through color synthesis unit, lamp
Group 1 and lamp group 2 can be combined into a kind of color, and two groups of LED show two kinds of identical or different colors, to indicate power supply electricity
The percentage of amount.
The color synthesis unit of the present embodiment, using collector lens, material is transparent plastic cement or other transparent materials
Material, is not limited thereto, still, the area of collector lens has to cover three LED light.
Specific battery capacity indication implementation method flow chart is as shown in Figure 4.First, by AD conversion, supply voltage is converted
At numerical value A;Then charge value Y, Y=A-B are calculated, wherein B is the numerical value corresponding to power supply minimum voltage;Then, electricity is calculated
Percentage X is:
X=(Y/Z) * 100%=X1X0%
Wherein, Z is the difference of power supply ceiling voltage numerical value C and minimum voltage numerical value B, i.e. Z=C-B.
Above-mentioned calculating, X=(Y/Z) retain two effective digitals, wherein X1For ten digit value, X0For units value.According to
Color configuration table in data storage cell, tables look-up to obtain X1And X0The RGB corresponding to color and each color representated by numerical value
The value of allocation table, as the duty ratio of PWM outputs, MCU controls the hair of two groups of RGB three-color LED lights according to the duty ratio
Light situation, then by color synthesis unit, to two kinds of identical or different colors of output, and then read the practical electricity of power supply
Amount.Such as:The color that two groups of LED light are shown is bluish grey, then electric quantity of power supply is expressed as 68%;If it is reddish blue, then electricity
It is 26%.The rest may be inferred.
The device for being used to indicate electric quantity of power supply of the embodiment of the present invention, using two groups of RGB three-color LED lights, i.e. 6 LED are
It can accurately indicate the practical electricity of power supply, indicate the device of electric quantity of power supply using two charactrons compared with the prior art,
Due to a minimum of 7 LED light of a charactron, the device for being used to indicate electric quantity of power supply of the embodiment of the present invention, cost
It is low, occupy pcb board it is small, low in energy consumption.Also, the LED light of the embodiment of the present invention being used to indicate in the device of electric quantity of power supply
It has been shown that, is that PWM is shown, i.e., within same range of scanned frequencies, the power consumption of each LED light is related with duty ratio, if duty
Than being 25, then power consumption only has 25/%=1/4, in this way, further reduced the power consumption of device.
Embodiment 2
In the present embodiment, it is used to indicate the device of electric quantity of power supply, difference lies in voltage conversion devices with embodiment 1
In, electricity percentage X is calculated as:
X=(Y/Z) * 100%=X1X0%
Above-mentioned calculating, X=(Y/Z) retain an effective digital, wherein X1For ten digit value, X0For units value, X0Begin
It is zero eventually, correspondingly, LED display unit only has one group of RGB three-color LED light, and a kind of color is combined by color synthesis unit,
Carry out the practical electricity of real-time display power supply.For example, the color that LED light is shown is palm fibre, indicate that electric quantity of power supply is 10%;LED light is aobvious
The color shown is green, indicates that electric quantity of power supply is 50%;The color that LED light is shown is purple, indicates that electricity is 70%.
The device for being used to indicate electric quantity of power supply of the embodiment of the present invention, using one group of RGB three-color LED light, i.e. 3 LED are
The practical electricity that may indicate that power supply, indicates the device of electric quantity of power supply using charactron compared with the prior art, due to a number
Code manages a minimum of 7 LED light, therefore, the device for being used to indicate electric quantity of power supply of the embodiment of the present invention, at low cost, occupancy pcb board
It is small, low in energy consumption.Also, the LED light of the embodiment of the present invention being used to indicate in the device of electric quantity of power supply is shown, is PWM aobvious
Show, i.e., within same range of scanned frequencies, the power consumption of each LED light is related with duty ratio, if duty ratio is 25, then work(
Consumption only has 25/%=1/4, in this way, further reduced the power consumption of device.
Embodiment 3
In the present embodiment, it is used to indicate the device of electric quantity of power supply, difference lies in voltage conversion devices with embodiment 1
In, electricity percentage X is calculated as:
X=(Y/Z) * 100%=X2X1.X0%
Above-mentioned calculating, X=(Y/Z) retain three effective digitals, wherein X2For ten digit value, X1For units value, X0For
One decimal place number, correspondingly, LED display unit has three groups of RGB three-color LED lights, and 3 are combined by color synthesis unit
Kind color, carrys out the practical electricity of real-time display power supply.For example, the color that LED light is shown is that brown green is purple, indicate that electric quantity of power supply is
15.7%.
The device for being used to indicate electric quantity of power supply of the embodiment of the present invention, using three groups of RGB three-color LED lights, i.e., 9 LED can
The practical electricity of accurate instruction power supply, indicates the device of electric quantity of power supply, due to one using charactron compared with the prior art
A minimum of 7 LED light of charactron, therefore, the device for being used to indicate electric quantity of power supply of the embodiment of the present invention, precision is high, it is at low cost,
It is small, low in energy consumption to occupy pcb board.Also, the LED light in the device of electric quantity of power supply that is used to indicate of the embodiment of the present invention is shown,
That PWM is shown, i.e., within same range of scanned frequencies, the power consumption of each LED light is related with duty ratio, if duty ratio is
25, then power consumption only has 25/%=1/4, in this way, further reduced the power consumption of device.
The device for being used to indicate electric quantity of power supply of the present invention, the group number that LED display unit contains RGB three-color LED lights do not have
Limitation, group number is more, indicates that the precision of electricity is higher.
Embodiment 4
In the present embodiment, it is used to indicate the device of electric quantity of power supply, difference lies in LED display unit is adopted with embodiment 1
With dynamic scanning displaying, mainly designed using the visual impression of human eye, in general if the frequency of display is excessively slow, there will be
Desultory display;If the frequency of display is accelerated, when scanning times per second are more than 25 times, then this will can not be identified in human eye
Kind vision is remaining, and the impression to people is exactly the display data of one group of stabilization, does not have flickering, the effect and static state of Dynamic Announce
Display is the same, can save a large amount of ports I/O, and power consumption is lower.
Embodiment 5
In the present embodiment, it is used to indicate the device of electric quantity of power supply, difference lies in further include that driving is single with embodiment 1
Member, preferably triode drive.Driving unit can enhance the display brightness of LED display unit.
Embodiment 6
In the present embodiment, it is used to indicate the device of electric quantity of power supply, difference lies in using enhanced list with embodiment 1
Piece machine, i.e., the microcontroller that integrated AD dresses change, FLASH storages, MCU functions are integrated, to replace voltage conversion device, data storage
Unit and MCU can so reduce the occupied space of electronic component.
Embodiment 7
In the present embodiment, it is used to indicate the device of electric quantity of power supply, difference lies in show in the LED with embodiment 1
It is additionally provided with protective cover outside unit, for sealing waterproof, LED light can also be protected not by damage.
Embodiment 8
In the present embodiment, it is used to indicate the device of electric quantity of power supply, difference lies in tri- colors of the RGB with embodiment 1
Reflector is additionally provided with below LED light, the brightness for promoting LED light ensures good display effect.
The above content is a further detailed description of the present invention in conjunction with specific preferred embodiments, and it cannot be said that
The specific implementation of the present invention is confined to these explanations.For those skilled in the art to which the present invention belongs, it is not taking off
Under the premise of from present inventive concept, several equivalent substitute or obvious modifications can also be made, and performance or use is identical, all answered
When being considered as belonging to protection scope of the present invention.
Claims (10)
1. a kind of device being used to indicate electric quantity of power supply, which is characterized in that including voltage detection unit, be used for the electricity of power supply
It is transformed into digital signal;Data-storage unit, it is right containing each color in the color configuration table for the allocation list that saves colors
The numerical value and rgb value answered;MCU, for by the digital signal transition at electricity percentage, and according to the color configuration table,
The rgb value for obtaining color corresponding to each numerical value in electricity percentage, it is single to control LED displays as the duty ratio of PWM outputs
The luminous situation of member;LED display unit is one or more groups of RGB three-color LED lights;Color synthesis unit, for making the RGB
Three-color LED light is combined into a kind of color, according to the color change of LED light after combination come the practical electricity of real-time display power supply.
2. the device according to claim 1 for being used to indicate electric quantity of power supply, which is characterized in that each in the color configuration table
Numerical value corresponding to color is:Black=0;Brown=1;Red=2;Orange=3;Yellow=4;Green=5;Blue=6;It is purple
Color=7;Grey=8;White=9.
3. the device according to claim 1 for being used to indicate electric quantity of power supply, which is characterized in that further include driving unit, use
In the display brightness for enhancing the LED display unit.
4. the device according to claim 1 for being used to indicate electric quantity of power supply, which is characterized in that the LED display unit is adopted
With dynamic scanning displaying, scanning times per second are more than 25 times.
5. according to any devices for being used to indicate electric quantity of power supply of claim 1-4, which is characterized in that the color synthesis
Unit is collector lens, and the area of the collector lens can cover the RGB three-color LED lights.
6. a kind of method being used to indicate electric quantity of power supply, which is characterized in that include the following steps:
S1:The electricity of power supply is transformed into digital signal, and obtains electricity percentage according to the digital signal;
S2:Table is matched according to color, obtains the rgb value of color corresponding to each numerical value in the electricity percentage, and rgb value is made
For the duty ratio of PWM outputs;
S3:According to the duty ratio, the luminescent color of LED display unit is controlled;
S4:According to the luminescent color of the LED display unit, the practical electricity of power supply is obtained.
7. the method according to claim 6 for being used to indicate electric quantity of power supply, which is characterized in that the step S1 further include with
Lower step:
S11:By voltage conversion unit, supply voltage is converted into numerical value A;
S12:Calculate charge value Y, Y=A-B, wherein B is the numerical value corresponding to power supply minimum voltage;
S13:Calculate electricity percentage, X=(Y/Z) * 100%;Wherein, X is electricity percentage;Z is power supply ceiling voltage numerical value C
And the difference of minimum voltage numerical value B, i.e. Z=C-B.
8. the method according to claim 7 for being used to indicate electric quantity of power supply, which is characterized in that in the step S13, X=
(Y/Z), retain two effective digitals, i.e. X=(Y/Z) * 100%=X1X0%, wherein X1For ten digit value, X0For units value,
Correspondingly, LED display unit contains two groups of RGB three-color LED lights.
9. the method according to claim 7 for being used to indicate electric quantity of power supply, which is characterized in that in the step S13, X=
(Y/Z), retain an effective digital, i.e. X=(Y/Z) * 100%=X1X0%, wherein X1For ten digit value, X0For units value,
X0It is always zero, correspondingly, LED display unit contains one group of RGB three-color LED light.
10. the method according to claim 7 for being used to indicate electric quantity of power supply, which is characterized in that in the step S13, X=
(Y/Z), retain three effective digitals, i.e. X=(Y/Z) * 100%=X2X1.X0%, wherein X2For ten digit value, X1For units
Value, X0For one decimal place number, correspondingly, LED display unit contains three groups of RGB three-color LED lights.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710241383.5A CN108305582A (en) | 2017-04-13 | 2017-04-13 | A kind of device and method being used to indicate electric quantity of power supply |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710241383.5A CN108305582A (en) | 2017-04-13 | 2017-04-13 | A kind of device and method being used to indicate electric quantity of power supply |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108305582A true CN108305582A (en) | 2018-07-20 |
Family
ID=62872204
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710241383.5A Pending CN108305582A (en) | 2017-04-13 | 2017-04-13 | A kind of device and method being used to indicate electric quantity of power supply |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108305582A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111366851A (en) * | 2020-04-17 | 2020-07-03 | 佛山职业技术学院 | High-precision battery electric quantity indication method, battery and storage medium |
CN113434199A (en) * | 2021-08-27 | 2021-09-24 | 南京沁恒微电子股份有限公司 | MCU capable of driving multiple groups of RGB lamps and driving method thereof |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3177234B1 (en) * | 1999-12-15 | 2001-06-18 | 株式会社山陽ハイテック | Lighting equipment |
US20050127876A1 (en) * | 2003-12-15 | 2005-06-16 | Chi-Chang Chuang | Method of measuring and display the actual quantity of electricity of rechargeable battery |
CN1752767A (en) * | 2004-09-22 | 2006-03-29 | 量质能科技股份有限公司 | Detection method of quantity of electricity of voltage reducing type chargeable cell |
CN1771530A (en) * | 2004-01-28 | 2006-05-10 | 松下电器产业株式会社 | Light emitting method, light emitting device, projection type display device |
CN202190438U (en) * | 2011-07-08 | 2012-04-11 | 湖南纽曼数码科技有限公司 | Vehicle apparatus enabling user to set color of front panel LED backlight lamp |
CN102918578A (en) * | 2010-05-28 | 2013-02-06 | Nec显示器解决方案株式会社 | Projection display device |
CN203387223U (en) * | 2013-07-17 | 2014-01-08 | 张东 | Electric quantity indicator for mobile power supply |
CN104849674A (en) * | 2015-06-10 | 2015-08-19 | 合肥联宝信息技术有限公司 | Device and method for displaying battery level |
CN104953650A (en) * | 2015-06-03 | 2015-09-30 | 广东欧珀移动通信有限公司 | Battery electric quantity display device |
CN105681678A (en) * | 2015-12-28 | 2016-06-15 | 上海美沃精密仪器有限公司 | Microscopic image imaging system and using method of microscopic image imaging system |
CN205378039U (en) * | 2016-02-26 | 2016-07-06 | 重庆市高级人民法院 | Camera device reaches display element to camera device's many status display of residual capacity |
-
2017
- 2017-04-13 CN CN201710241383.5A patent/CN108305582A/en active Pending
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3177234B1 (en) * | 1999-12-15 | 2001-06-18 | 株式会社山陽ハイテック | Lighting equipment |
US20050127876A1 (en) * | 2003-12-15 | 2005-06-16 | Chi-Chang Chuang | Method of measuring and display the actual quantity of electricity of rechargeable battery |
CN1771530A (en) * | 2004-01-28 | 2006-05-10 | 松下电器产业株式会社 | Light emitting method, light emitting device, projection type display device |
CN1752767A (en) * | 2004-09-22 | 2006-03-29 | 量质能科技股份有限公司 | Detection method of quantity of electricity of voltage reducing type chargeable cell |
CN102918578A (en) * | 2010-05-28 | 2013-02-06 | Nec显示器解决方案株式会社 | Projection display device |
CN202190438U (en) * | 2011-07-08 | 2012-04-11 | 湖南纽曼数码科技有限公司 | Vehicle apparatus enabling user to set color of front panel LED backlight lamp |
CN203387223U (en) * | 2013-07-17 | 2014-01-08 | 张东 | Electric quantity indicator for mobile power supply |
CN104953650A (en) * | 2015-06-03 | 2015-09-30 | 广东欧珀移动通信有限公司 | Battery electric quantity display device |
CN104849674A (en) * | 2015-06-10 | 2015-08-19 | 合肥联宝信息技术有限公司 | Device and method for displaying battery level |
CN105681678A (en) * | 2015-12-28 | 2016-06-15 | 上海美沃精密仪器有限公司 | Microscopic image imaging system and using method of microscopic image imaging system |
CN205378039U (en) * | 2016-02-26 | 2016-07-06 | 重庆市高级人民法院 | Camera device reaches display element to camera device's many status display of residual capacity |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111366851A (en) * | 2020-04-17 | 2020-07-03 | 佛山职业技术学院 | High-precision battery electric quantity indication method, battery and storage medium |
CN113434199A (en) * | 2021-08-27 | 2021-09-24 | 南京沁恒微电子股份有限公司 | MCU capable of driving multiple groups of RGB lamps and driving method thereof |
CN113434199B (en) * | 2021-08-27 | 2021-11-23 | 南京沁恒微电子股份有限公司 | MCU capable of driving multiple groups of RGB lamps and driving method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104751756B (en) | Conditioning optics, method and the display device of display panel | |
CN204834691U (en) | 5050 LED paster light sources of four -core based on two reflection of light cup | |
CN108305582A (en) | A kind of device and method being used to indicate electric quantity of power supply | |
US20210226271A1 (en) | Power device capable of displaying various statuses and displaying method | |
US20110163679A1 (en) | Ac light emitting diode device having integrated passive device | |
CN109195249A (en) | It is a kind of based on silicon-controlled toggle switch circuit | |
CN201087784Y (en) | Hybrid packaging type illuminating device | |
CN107195273A (en) | A kind of OLED display device and the method for improving display device display performance | |
CN207134123U (en) | A kind of device for being used to indicate electric quantity of power supply | |
CN201443698U (en) | LED light-emitting device with changeable color temperature | |
CN207181896U (en) | A kind of backlight source module and display device based on quantum film | |
CN108770123A (en) | A kind of control method of full-color LED lamp band | |
CN107491161A (en) | The power-economizing method and system of display | |
CN107046749A (en) | A kind of intelligent ceiling lamp based on bluetooth | |
CN207587305U (en) | A kind of low-voltage low cost large scale colored digital pipe | |
CN207884936U (en) | A kind of one-key switch shifting multi-mode formula LED light | |
CN102692548B (en) | Electroluminescent voltage transducer | |
CN206546694U (en) | A kind of display device | |
CN216252246U (en) | Charging state indicating circuit | |
CN104390162A (en) | High photosynthetic efficiency high-voltage alternating-current white light LED (light emitting diode) module and white light acquiring method | |
CN206946210U (en) | A kind of Digital clock | |
CN205485149U (en) | Display screen panel test machine | |
CN203801117U (en) | Backlight control circuit and keyboard | |
CN208353665U (en) | Illusion-colour lamp control circuit | |
CN210667635U (en) | EPD screen goods shelves label electronic display device of variable edge light |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |