CN114695982A - Method compatible with series connection of batteries with different numbers and lighting device - Google Patents
Method compatible with series connection of batteries with different numbers and lighting device Download PDFInfo
- Publication number
- CN114695982A CN114695982A CN202011613899.6A CN202011613899A CN114695982A CN 114695982 A CN114695982 A CN 114695982A CN 202011613899 A CN202011613899 A CN 202011613899A CN 114695982 A CN114695982 A CN 114695982A
- Authority
- CN
- China
- Prior art keywords
- battery
- current
- real
- voltage
- duty ratio
- 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
Images
Classifications
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01M—PROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
- H01M10/00—Secondary cells; Manufacture thereof
- H01M10/42—Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
- H01M10/4207—Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells for several batteries or cells simultaneously or sequentially
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01M—PROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
- H01M10/00—Secondary cells; Manufacture thereof
- H01M10/42—Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
- H01M10/48—Accumulators combined with arrangements for measuring, testing or indicating the condition of cells, e.g. the level or density of the electrolyte
- H01M10/482—Accumulators combined with arrangements for measuring, testing or indicating the condition of cells, e.g. the level or density of the electrolyte for several batteries or cells simultaneously or sequentially
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B45/00—Circuit arrangements for operating light-emitting diodes [LED]
- H05B45/30—Driver circuits
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B45/00—Circuit arrangements for operating light-emitting diodes [LED]
- H05B45/30—Driver circuits
- H05B45/32—Pulse-control circuits
- H05B45/325—Pulse-width modulation [PWM]
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B45/00—Circuit arrangements for operating light-emitting diodes [LED]
- H05B45/30—Driver circuits
- H05B45/345—Current stabilisation; Maintaining constant current
Landscapes
- Engineering & Computer Science (AREA)
- Manufacturing & Machinery (AREA)
- Chemical & Material Sciences (AREA)
- Chemical Kinetics & Catalysis (AREA)
- Electrochemistry (AREA)
- General Chemical & Material Sciences (AREA)
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
The invention provides a method and a lighting device compatible with series connection of batteries with different numbers, comprising the following steps: acquiring the voltage of a battery during starting; calculating the number of the currently connected battery nodes according to the acquired voltage; acquiring the real-time voltage of the battery; calculating the electric quantity of the battery according to the real-time voltage and the battery section number of the battery; and when the calculated electric quantity of the battery is 0, controlling the battery to stop supplying power. The method and the lighting device compatible with the series connection of the batteries with different numbers can prevent the over discharge of the battery with one or any number of series connections, can ensure that the LED works with constant current when the battery with one or any number of series connections supplies power, keeps the brightness unchanged, ensures that a consumer can select the battery with any number of series connections to supply power according to the self-cruising requirement, provides convenience for the consumer, and has strong practicability and social resource saving.
Description
Technical Field
The invention relates to the technical field of illumination, in particular to a method and an illumination device compatible with series connection of batteries with different numbers.
Background
Since overdischarge of the battery may cause damage to the active material of the battery electrode, and the battery cannot be used any more, the lighting device in the market generally has a battery protection mechanism to prevent the overdischarge of the battery, but the lighting device in the market, such as a flashlight, generally can only prevent the overdischarge of a fixed number of batteries, and therefore, only the fixed number of batteries can be used for supplying power. However, in different usage scenarios, the endurance demands of the consumers for the lighting devices may be different, and therefore, the consumers usually need to purchase a plurality of lighting devices with different battery numbers to adapt to the usage scenarios with different endurance demands, which brings inconvenience to the consumers and wastes social resources.
Disclosure of Invention
The invention mainly solves the technical problems that: the method and the lighting device are compatible with the serial connection of the batteries with different numbers, can prevent the over discharge of the batteries with one or any number in series connection, and enable consumers to select the batteries with any number for power supply according to the self-cruising requirement.
According to a first aspect, an embodiment provides a method for accommodating series connection of batteries with different numbers, including:
acquiring the voltage of a battery during starting;
calculating the number of the currently connected battery nodes according to the acquired voltage;
acquiring the real-time voltage of the battery;
calculating the electric quantity of the battery according to the real-time voltage and the battery section number of the battery;
and when the calculated electric quantity of the battery is 0, controlling the battery to stop supplying power.
In one possible implementation manner, the method for accommodating series connection of batteries with different numbers further includes: and controlling to display the calculated electric quantity of the battery.
In one possible implementation manner, the method for accommodating series connection of batteries with different numbers further includes:
calculating a preset duty ratio of the PWM signal according to the calculated battery section number;
controlling a PWM signal with the output duty ratio as the preset duty ratio to drive the LED;
acquiring real-time working current;
comparing the real-time working current with a preset working current to obtain a comparison result;
and adjusting the duty ratio of the current PWM signal according to the comparison result so as to enable the real-time working current to be equal to the preset working current.
In one possible implementation manner, the adjusting the duty ratio of the current PWM signal according to the comparison result so that the real-time operating current is equal to the preset operating current includes:
when the comparison result shows that the real-time working current is smaller than the preset working current, the duty ratio of the current PWM signal is adjusted in a stepping mode in the first direction, so that the real-time working current is equal to the preset working current;
and when the comparison result shows that the real-time working current is larger than the preset working current, the duty ratio of the current PWM signal is adjusted in a stepping mode towards the second direction, so that the real-time working current is equal to the preset working current.
In one possible implementation, the preset operating current is a maximum driving current of the LED.
According to a second aspect, an embodiment provides a lighting device compatible with series connection of batteries with different numbers, including:
an LED for emitting light;
the battery connection port is used for connecting one or more batteries connected in series;
the sampling module is connected with the battery connecting port and used for sampling the battery voltage and outputting the sampled voltage;
the control module is connected with the sampling module and used for acquiring sampling voltage during starting and calculating the number of the batteries connected in series at present according to the sampling voltage during starting; acquiring real-time sampling voltage, calculating the real-time voltage of the battery according to the real-time sampling voltage, and calculating the electric quantity of the battery according to the real-time voltage of the battery and the battery section number; and controlling the battery to stop supplying power when the calculated electric quantity of the battery is 0; and
and the driving module is used for providing current for the LED.
In one possible implementation manner, the lighting device compatible with series connection of batteries with different numbers further includes:
and the electric quantity indicating module is connected to the control module and used for displaying the electric quantity of the battery.
In one possible implementation manner, the control module is further configured to calculate a preset duty ratio of the PWM signal according to the calculated number of battery nodes, and output the PWM signal with the duty ratio of the preset duty ratio;
and the duty ratio of the current PWM signal is adjusted according to the comparison result, so that the driving module provides current for the LED according to the duty ratio of the PWM signal, and the real-time working current is equal to the preset working current.
In one possible implementation manner, the adjusting, by the control module, the duty ratio of the current PWM signal according to the comparison result includes:
when the comparison result shows that the real-time working current is smaller than the preset working current, the control module adjusts the duty ratio of the current PWM signal in a stepping mode to the first direction so that the real-time working current is equal to the preset working current;
and when the comparison result shows that the real-time working current is greater than the preset working current, the control module adjusts the duty ratio of the current PWM signal in a stepping mode towards the second direction so that the real-time working current is equal to the preset working current.
In one possible implementation, the preset operating current is a maximum driving current of the LED.
The embodiment of the invention has the following beneficial effects:
according to the method and the lighting device compatible with the series connection of the batteries with different numbers, the voltage of the battery during starting is firstly obtained, the number of the batteries which are connected in series at present is calculated according to the obtained voltage, and the real-time voltage of the battery is obtained; calculating the electric quantity of the battery according to the real-time voltage and the battery section number of the battery; and when the calculated electric quantity of the battery is 0, controlling the battery to stop supplying power. In addition, the duty ratio of the PWM signal is adjusted to enable the driving module to provide current for the LED according to the duty ratio of the PWM signal, so that the real-time working current is equal to a preset working current. Therefore, the invention can prevent the overdischarge of one or any number of batteries connected in series, and can make the LED operate at constant current when the one or any number of batteries connected in series supplies power, keep the brightness unchanged, make the consumer select any number of batteries to supply power according to the self-cruising requirement, provide convenience for the consumer, have strong practicability and save social resources.
Drawings
FIG. 1 is a prior art voltage-reducing driving circuit using NMOS transistors;
FIG. 2 is a prior art buck driver circuit using PMOS transistors;
FIG. 3 is a block diagram of a lighting device compatible with series connection of batteries with different numbers according to an embodiment of the present invention;
FIG. 4 is a cross-sectional view of a lighting device compatible with different numbers of batteries connected in series according to an embodiment of the present invention;
FIG. 5 is a block diagram of a lighting device compatible with different numbers of batteries connected in series according to an embodiment of the present invention;
fig. 6 is a block diagram of a lighting device compatible with series connection of batteries with different numbers according to an embodiment of the present invention;
FIG. 7 is a first diagram illustrating a method for accommodating series connection of batteries with different cell numbers according to an embodiment of the present invention;
FIG. 8 is a second schematic diagram of a method of accommodating series connection of batteries of different node numbers according to an embodiment of the present invention;
FIG. 9 is a third schematic diagram of a method of accommodating series connection of batteries of different cell numbers according to an embodiment of the present invention;
fig. 10 is a fourth schematic diagram of a method for accommodating series connection of batteries with different numbers according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the following detailed description and accompanying drawings. Wherein like elements in different embodiments are numbered with like associated elements. In the following description, numerous details are set forth in order to provide a better understanding of the present application. However, those skilled in the art will readily recognize that some of the features may be omitted or replaced with other elements, materials, methods in different instances. In some instances, certain operations related to the present application have not been shown or described in detail in order to avoid obscuring the core of the present application from excessive description, and it is not necessary for those skilled in the art to describe these operations in detail, so that they may be fully understood from the description in the specification and the general knowledge in the art.
Furthermore, the features, operations, or characteristics described in the specification may be combined in any suitable manner to form various embodiments. Also, the various steps or actions in the method descriptions may be transposed or transposed in order, as will be apparent to one of ordinary skill in the art. Thus, the various sequences in the specification and drawings are for the purpose of describing certain embodiments only and are not intended to imply a required sequence unless otherwise indicated where such sequence must be followed.
The numbering of the components as such, e.g., "first", "second", etc., is used herein only to distinguish the objects as described, and does not have any sequential or technical meaning. The term "coupled", as used herein, includes both direct and indirect coupling, unless otherwise indicated.
The driving circuit of the LED can be a voltage reduction type driving circuit using an NMOS tube or a voltage reduction type driving circuit using a PMOS tube. Referring to fig. 1, fig. 1 is a prior art buck driving circuit using an NMOS transistor, in which a change of a real-time operating current of an LED is proportional to a change of a duty ratio of a PWM signal, that is, the real-time operating current of the LED increases with the increase of the duty ratio of the PWM signal, and the real-time operating current of the LED decreases with the decrease of the duty ratio of the PWM signal. Referring to fig. 2, fig. 2 is a prior art buck driving circuit using a PMOS transistor, in which a change of a real-time operating current of an LED is inversely proportional to a change of a duty ratio of a PWM signal, that is, the real-time operating current of the LED decreases with an increase of the duty ratio of the PWM signal, and the real-time operating current of the LED increases with a decrease of the duty ratio of the PWM signal. The operating principles of both types of driving circuits are well known in the art and will not be described in detail herein.
In order to solve the problem that the existing lighting device cannot be compatible with batteries with different numbers of serial connections for over-discharge protection, the electric quantity of the batteries needs to be calculated, and when the electric quantity of the batteries is 0, the batteries are controlled to stop supplying power, so that the over-discharge of the batteries can be prevented. The voltage of the batteries connected in series with different numbers of nodes is different, and the calculation method of the electric quantity is also different, so the number of the currently connected batteries in series is calculated, and the electric quantity of the batteries is calculated according to the real-time voltage of the batteries and the number of the batteries.
The first embodiment is as follows:
referring to fig. 3, in an embodiment, the lighting device compatible with series connection of batteries with different numbers includes an LED101, a battery connection port 102, a sampling module 103, a control module 104, and a driving module 105, each of which is described in detail below.
The LED101 is connected to a driving module 105 for emitting light.
The battery connection port 102 includes a first terminal and a second terminal for connecting one or more batteries in series.
Referring to fig. 4, fig. 4 is a cross-sectional view of a lighting device compatible with different numbers of batteries connected in series, and the cross-sectional view is taken as an example to describe in detail how the battery connection port 102 is connected to one or more batteries connected in series for power supply.
It should be noted that the batteries mentioned in this embodiment all have a first pole and a second pole, and when the first pole of the battery is a positive pole, the second pole of the battery is a negative pole; conversely, when the first pole of the battery is negative, the second pole of the battery is positive.
As can be seen from fig. 4, the lighting device compatible with different numbers of batteries connected in series in some embodiments includes a light head 100, a battery compartment 200 and an extension assembly 300, each of which is described in detail below.
The lamp cap 100 has connection terminals and is provided with an LED101 and a driving circuit for driving the LED101, the driving circuit comprising a first terminal for receiving a battery supply and a second terminal.
Specifically, the driving circuit includes the battery connection port 102, the sampling module 103, the control module 104, and the driving module 105. The first terminal of the driving circuit is the first terminal of the battery connection port 102, and the second terminal of the driving circuit is the second terminal of the battery connection port 102.
The battery compartment 200 is used for accommodating one battery or a plurality of batteries connected in series. The battery compartment 200 has a connection end and a tail end, the connection end of the battery compartment 200 is detachably connected with the connection end of the lamp cap 100, when the battery compartment 200 is connected with the lamp cap 100, a first pole of a battery close to the connection end in the battery compartment 200 can be electrically connected with a first terminal of the battery connection port 102; the rear end of the battery compartment 200 is provided with an electrical connection terminal for contacting a second pole of a battery within the battery compartment 200 near the rear end to electrically connect the second pole of the battery with the second terminal of the battery connection port 102.
The extension assembly 300 is used to house a battery or batteries in series. One end of the extension assembly 300 is detachably connected to the connection end of the lamp cap 100, and the other end is detachably connected to the connection end of the battery chamber 200. When the extension module 300 is connected to the connection end of the base 100 and the connection end of the battery compartment 200, a first pole of the battery in the extension module 300 near the connection end of the base 100 can be electrically connected to the first terminal of the battery connection port 102, and a second pole of the battery in the extension module 300 near the connection end of the battery compartment 200 can be electrically connected to the first pole of the battery in the battery compartment 200 near the connection end.
In some embodiments, the extension assembly 300 includes at least one extension bin 301, each extension bin 301 being configured to hold a battery or batteries in series. The lengthening bins 301 each have a first connection end and a second connection end. The first connecting end of the lengthened cabin 301 can be detachably connected with the connecting end of the lamp cap 100, and the second connecting end of the lengthened cabin 301 can be detachably connected with the connecting end of the battery cabin 200. When the first connection end of the lengthened bin 301 is connected with the connection end of the lamp cap 100, the first pole of the battery close to the first connection end in the lengthened bin 301 can be electrically connected with the first terminal of the battery connection port 102; when the second connection end of the extension bin 301 is connected to the connection end of the battery bin 200, the second pole of the battery in the extension bin 301 close to the second connection end can be electrically connected to the first pole of the battery in the battery bin 200 close to the connection end.
When the extension assembly 300 comprises two or more extension bins 301, the first end of any one extension bin 301 and the second end of another extension bin 301 can be removably connected; when two elongated bins 301 are connected, the second pole of the cell in one elongated bin 301 near the second connection end can be electrically connected to the first pole of the cell in the other elongated bin 301 near the first connection end.
Therefore, when using the lighting device of the present embodiment that is compatible with different numbers of battery cells in series, the number of battery cells in series can be varied depending on whether the extension assembly 300 is used or not and the number of extension bins 301 in the extension assembly 300.
The above is a structure for explaining how to be compatible and can place variable number of batteries from the perspective of mechanical structure, and the following description continues on the lighting device compatible with different number of batteries connected in series.
The sampling module 103 is connected to the battery connection port 102, and is configured to sample a battery voltage and output the sampled voltage to the control module 104.
The control module 104 is configured to obtain the sampling voltage at the time of starting from the sampling module 103, and calculate the number of currently connected battery nodes according to the sampling voltage at the time of starting.
In some embodiments, the control module 104 may be an MCU micro-control unit such as a single chip microcomputer or an FPGA. After one or any number of batteries connected in series are connected to the battery connection port 102, the lighting device compatible with the batteries connected in series with different numbers is started, the control module 104 may first set a battery number judgment time period, in which the control module 104 shields responses and interactions of other functions except the battery number judgment, calculate the battery voltage at the time of starting through the sampling voltage output by the sampling module 103, and calculate the number of the batteries connected in series according to the battery voltage at the time of starting.
The method for calculating the number of battery segments will not be described in further detail by taking the example of using two segments of lithium battery with working voltage of 3-4.24V as power supply. Assuming that the voltage of the battery at the time of starting is calculated to be 7.2V according to the sampling voltage at the time of starting, and the working voltage range of the used lithium battery is 3-4.24V, the relation of the number of battery nodes at the time can be obtained to satisfy that the number of battery nodes is more than or equal to 7.2/4.24 and less than or equal to 7.2/3, so that the number of battery nodes can be judged to be 2.
The control module 104 is further configured to obtain a real-time sampled voltage, calculate a real-time voltage of the battery according to the real-time sampled voltage, then calculate an electric quantity of the battery according to the real-time voltage of the battery and the battery number,
the method for calculating the battery capacity will not be described in further detail by taking a lithium battery with an operating voltage of 3-4.24V as an example. Please refer to the following table, which is a table showing the percentage relationship between the voltage and the electric quantity of n sections of lithium batteries with the working voltage range of 3-4.24V.
Electric quantity | 0% | 5% | 10% | 15% | 20% | 25% | 30% | 35% | 40% | 45% |
Voltage of battery (V) | 3n | 3.518n | 3.541n | 3.579n | 3.622n | 3.643n | 3.656n | 3.671n | 3.688n | 3.708n |
Electric quantity | 50% | 55% | 60% | 65% | 70% | 75% | 80% | 85% | 90% | 95% |
Voltage of battery (V) | 3.735n | 3.77n | 3.807n | 3.85n | 3.899n | 3.952n | 4.006n | 4.064n | 4.126n | 4.192n |
|
100% | - | - | - | - | - | - | - | - | - |
Voltage of battery (V) | 4.201n | - | - | - | - | - | - | - | - | - |
When the real-time voltage of the battery is U0 and the number of battery sections is n, calculating the percentage relation between the voltage and the electric quantity of the lithium battery with the working voltage of 3-4.24V of n sections according to the number n of the battery sections, then determining the battery voltage coefficient range where the real-time voltage U0 of the battery is located, and calculating the electric quantity of the battery according to the determined battery voltage coefficient range; if a more accurate battery charge is required, it can be calculated by the following formula:
e ═ Es + (U0-Us)/((Ue-Us)/5); wherein E is the battery power, Es is the initial value of the battery power range, U0 is the real-time voltage of the battery, Us is the initial value of the battery voltage coefficient range, and Ue is the last value of the battery voltage coefficient range.
For example, assuming that the real-time voltage of the battery is 7.26V and the number of battery segments is 2, it can be seen from table 2 that 3.622 × 2V < 7.26V < 3.643 × 2V, the battery voltage coefficients range from 3.622 × 2V to 3.643 × 2V at this time, and the electric quantities corresponding to 3.622 × 2V and 3.643 × 2V are 20% and 25%, respectively, so that the battery electric quantity range at this time is 20% to 25%, and the specific battery electric quantity is 21.9% from E ═ 20+ (7.26-3.622)/((3.643 × 2-3.622 × 2)/5).
The control module 104 is further configured to control the battery to stop supplying power when the calculated power of the battery is 0. When the electric quantity of the battery is 0, the corresponding battery voltage is the cut-off voltage of the battery operation, and the battery is controlled to stop supplying power at the time, so that the overdischarge of the battery can be prevented.
In some embodiments, the control module 104 may be further configured to calculate a preset duty ratio of the PWM signal according to the calculated number of battery cells, and output the PWM signal with the preset duty ratio to the driving module 105. In some embodiments, the preset duty cycle may be a minimum duty cycle or a maximum duty cycle. It should be noted that, if the driving circuit is a buck driving circuit using an NMOS transistor, the preset duty ratio may be a minimum duty ratio; if the driving circuit is a buck driving circuit using a PMOS transistor, the preset duty ratio may be a maximum duty ratio.
In some embodiments, the calculation formula of the minimum duty cycle of the PWM signal may be as follows:
dmin ═ Uled/(U1 × n); where Dmin is the minimum duty cycle of the PWM signal, Uled is the maximum driving voltage of the LED101, U1 is the maximum working voltage of the battery, and n is the number of battery cells.
In some embodiments, the maximum duty cycle of the PWM signal may be calculated as follows:
dmax ═ Uled/(U2 × n); where Dmax is the maximum duty cycle of the PWM signal, Uled is the maximum driving voltage of the LED101, U2 is the minimum working voltage of the battery, and n is the number of battery segments.
In some embodiments, the control module 104 may be further configured to obtain a real-time operating current, compare the real-time operating current with a preset operating current to obtain a comparison result, and adjust a duty ratio of the current PWM signal according to the comparison result to enable the driving module 105 to provide a current to the LED according to the duty ratio of the PWM signal, so that the real-time operating current is equal to the preset operating current. In some embodiments, the preset operating current may be the maximum driving current of the LED 101.
In some embodiments, when the comparison result is that the real-time operating current is smaller than the preset operating current, the control module 104 may adjust the duty ratio of the current PWM signal in a step-wise manner toward the first direction, so that the real-time operating current is equal to the preset operating current. If the driving circuit is a step-down driving circuit using an NMOS transistor, the duty ratio of the current PWM signal is adjusted in a step-down manner to the first direction to increase the duty ratio of the current PWM signal in a step-down manner; and if the driving circuit is a voltage reduction type driving circuit using a PMOS (P-channel metal oxide semiconductor) tube, regulating the duty ratio of the current PWM signal to a first direction in a stepping mode to reduce the duty ratio of the current PWM signal in a stepping mode. When the comparison result indicates that the real-time operating current is greater than the preset operating current, the control module 104 may adjust the duty ratio of the current PWM signal in a step-wise manner in the second direction, so that the real-time operating current is equal to the preset operating current. If the driving circuit is a voltage reduction type driving circuit using an NMOS transistor, the duty ratio of the current PWM signal is adjusted in a step-by-step manner to the second direction to be a step-by-step reduction type duty ratio of the current PWM signal; and if the driving circuit is a voltage reduction type driving circuit using a PMOS tube, regulating the duty ratio of the current PWM signal to the second direction in a stepping mode to increase the duty ratio of the current PWM signal in the stepping mode.
In some embodiments, in order to ensure the safety of the LED101 and other circuit elements in the process of adjusting the duty ratio, if the driving circuit is a step-down driving circuit using an NMOS transistor, the control module 104 may increase the duty ratio of the current PWM signal in a step-by-step manner to the maximum duty ratio; if the driving circuit is a buck driving circuit using a PMOS transistor, the duty ratio of the current PWM signal can be reduced to the minimum duty ratio by the control module 104 in a step-by-step manner.
The driving module 105 is used for providing current to the LED to drive the LED to emit light.
Referring to fig. 5, in some embodiments, the lighting device compatible with different numbers of batteries connected in series may further include a power indication module 106 connected to the control module 104 for displaying the power of the batteries. In some embodiments, the power indication module 106 may display the power of the battery by using an LED lamp and an LCD screen.
Referring to fig. 6, in some embodiments, the lighting device compatible with different numbers of batteries connected in series may further include an external control input module 107 connected to the control module 104 for providing an external trigger signal. In some embodiments, the external control input module 107 may be a physical key, a touch key, or a hall magnetic induction key.
The overall working flow of the lighting device compatible with the series connection of the batteries with different numbers is explained below.
It can be seen that, in one example, when one or more batteries connected in series are connected to the battery connection port 102, the lighting device compatible with the batteries connected in series with different numbers is started, the control module 104 first sets a battery number judgment time during which the control module 104 shields responses and interactions of other functions except for the judgment of the battery number, calculates the battery voltage at the time of starting by the sampling voltage output by the sampling module 103, calculates the number of the batteries connected in series according to the battery voltage at the time of starting, and calculates the preset duty ratio of the PWM signal according to the number of the batteries; when the control module 104 receives an external trigger signal input by the external control input module 107, the control module 104 outputs a PWM signal with a preset duty ratio to the driving module 105, and the driving module 105 supplies current to the LED101 according to the duty ratio of the PWM signal; the control module 104 obtains the real-time working current of the LED101, compares the real-time working current with a preset working current to obtain a comparison result, and adjusts the duty ratio of the current PWM signal according to the comparison result so that the real-time working current is equal to the preset working current; the control module 104 also obtains the real-time voltage of the battery, calculates the electric quantity of the battery according to the real-time voltage of the battery and the battery section number, and displays the electric quantity of the battery through the electric quantity indicating module 106; when the calculated power of the battery is 0, the control module 104 controls the battery to stop supplying power. Therefore, when the lighting device compatible with the series connection of the batteries with different numbers is used, the batteries with one or any number of batteries in series connection are connected for power supply, so that the batteries can be prevented from being over-discharged, and the LEDs are finally operated at constant current to keep the brightness unchanged.
In addition, when the lighting device compatible with batteries with different numbers of batteries in series connection in the embodiment is used, the number of the batteries in series connection can be changed according to whether the lengthening assembly 300 is used or not and the number of the lengthening bins 301 in the lengthening assembly 300, so that a consumer can select the batteries with any number to supply power according to the self cruising demand, the lighting device with different numbers of batteries is not required to be purchased to adapt to the use scenes with different cruising demands, convenience is provided for the consumer, the practicability is high, and social resources are saved.
Example two:
referring to fig. 7, a method for accommodating series connection of batteries with different numbers in one embodiment includes the following steps:
step S010: the voltage of the battery at startup is acquired.
Step S020: and calculating the number of the currently connected battery sections according to the acquired voltage.
The method for calculating the number of battery segments will not be described in further detail by taking the example of using two segments of lithium battery with working voltage of 3-4.24V as power supply. Assuming that the obtained voltage of the battery during starting is 7.2V, and the working voltage range of the used lithium battery is 3-4.24V, the relation of the number of battery nodes at the moment can be obtained to satisfy that the number of battery nodes is more than or equal to 7.2/4.24 and less than or equal to 7.2/3, so that the number of battery nodes can be judged to be 2.
Step S030: and acquiring the real-time voltage of the battery.
Step S040: and calculating the electric quantity of the battery according to the real-time voltage and the battery section number of the battery.
The method for calculating the battery capacity will not be described in further detail by taking a lithium battery with an operating voltage of 3-4.24V as an example. Please refer to the following table, which is a table showing the percentage relationship between the voltage and the electric quantity of n sections of lithium batteries with the working voltage range of 3-4.24V.
Electric quantity | 0% | 5% | 10% | 15% | 20% | 25% | 30% | 35% | 40% | 45% |
Voltage of battery (V) | 3n | 3.518n | 3.541n | 3.579n | 3.622n | 3.643n | 3.656n | 3.671n | 3.688n | 3.708n |
Electric quantity | 50% | 55% | 60% | 65% | 70% | 75% | 80% | 85% | 90% | 95% |
Voltage of battery (V) | 3.735n | 3.77n | 3.807n | 3.85n | 3.899n | 3.952n | 4.006n | 4.064n | 4.126n | 4.192n |
|
100% | - | - | - | - | - | - | - | - | - |
Voltage of battery (V) | 4.201n | - | - | - | - | - | - | - | - | - |
When the real-time voltage of the battery is U0 and the number of battery sections is n, calculating the percentage relation between the voltage and the electric quantity of the lithium battery with the working voltage of 3-4.24V of n sections according to the number n of the battery sections, then determining the battery voltage coefficient range where the real-time voltage U0 of the battery is located, and calculating the electric quantity of the battery according to the determined battery voltage coefficient range; if a more accurate battery charge is required, it can be calculated by the following formula:
e ═ Es + (U0-Us)/((Ue-Us)/5); wherein E is the battery power, Es is the initial value of the battery power range, U0 is the real-time voltage of the battery, Us is the initial value of the battery voltage coefficient range, and Ue is the last value of the battery voltage coefficient range.
For example, assuming that the real-time voltage of the battery is 7.26V and the cell number is 2, it can be seen from table 2 that 3.622 × 2V < 7.26V < 3.643 × 2V, the battery voltage coefficients range from 3.622 × 2V to 3.643 × 2V, and the electric quantities corresponding to 3.622 × 2V and 3.643 × 2V are 20% and 25%, respectively, so the battery electric quantity range at this time is 20% to 25%, and the specific battery electric quantity can be 21.9% as determined by E ═ 20+ (7.26-3.622 × 2)/((3.643 × 2-3.622 × 2)/5).
Step S050: and when the calculated electric quantity of the battery is 0, controlling the battery to stop supplying power.
When the electric quantity of the battery is 0, the corresponding battery voltage is the cut-off voltage of the battery operation, and the battery is controlled to stop supplying power at the time, so that the overdischarge of the battery can be prevented.
Step S030 is not limited to being executed only between step S020 and step S040, and may be executed between step S010 and step S020, and the present invention is not particularly limited thereto.
Referring to fig. 8, the method for accommodating series connection of batteries with different numbers in one embodiment may further include the following steps:
step S060: and controlling to display the calculated electric quantity of the battery.
Referring to fig. 9, the method for accommodating series connection of batteries with different numbers in one embodiment may further include the following steps:
step S070: and calculating the preset duty ratio of the PWM signal according to the calculated battery section number.
In some embodiments, the preset duty cycle may be a minimum duty cycle or a maximum duty cycle. It should be noted that, if the driving circuit is a buck driving circuit using an NMOS transistor, the preset duty ratio may be a minimum duty ratio; if the driving circuit is a buck driving circuit using a PMOS transistor, the preset duty ratio may be a maximum duty ratio.
In some embodiments, the calculation formula of the minimum duty cycle of the PWM signal may be as follows:
dmin ═ Uled/(U1 × n); where Dmin is the minimum duty cycle of the PWM signal, Uled is the maximum driving voltage of the LED, U1 is the maximum working voltage of the battery, and n is the number of battery cells.
In some embodiments, the maximum duty cycle of the PWM signal may be calculated as follows:
dmax ═ Uled/(U2 × n); where Dmax is the maximum duty cycle of the PWM signal, Uled is the maximum driving voltage of the LED101, U2 is the minimum working voltage of the battery, and n is the number of battery segments.
Step S080: and controlling the PWM signal with the output duty ratio as the preset duty ratio to drive the LED.
Step S090: and acquiring real-time working current.
Step S100: and comparing the real-time working current with a preset working current to obtain a comparison result.
In some embodiments, the predetermined operating current may be a maximum LED driving current.
Step S110: and adjusting the duty ratio of the current PWM signal according to the comparison result so that the real-time working current is equal to the preset working current.
It can be seen that when one or any number of batteries connected in series supplies power, the LED can finally work at a constant current, and the brightness is kept unchanged.
Steps S070 to S110 are not limited to being executed only between step S020 and step S030, and may be executed between step S030 and step S040, between step S040 and step S060, or between step 060 and step S050, and the present invention is not particularly limited thereto.
In some embodiments, referring to fig. 10, the step S110 of adjusting the duty ratio of the current PWM signal according to the comparison result so that the real-time operating current is equal to the preset operating current may include the following steps:
step S111: judging whether the real-time working current is smaller than a preset working current, if so, turning to the step S112; otherwise, go to step S113.
Step S112: and regulating the duty ratio of the current PWM signal in a stepping mode towards the first direction so as to enable the real-time working current to be equal to the preset working current.
If the driving circuit is a step-down driving circuit using an NMOS transistor, the duty ratio of the current PWM signal is adjusted in a step-down manner to the first direction to increase the duty ratio of the current PWM signal in a step-down manner; and if the driving circuit is a voltage reduction type driving circuit using a PMOS (P-channel metal oxide semiconductor) tube, regulating the duty ratio of the current PWM signal to a first direction in a stepping mode to reduce the duty ratio of the current PWM signal in a stepping mode.
Step S113: and judging whether the real-time working current is larger than the preset working current or not, if so, turning to the step S114. Otherwise, go to step S115.
Step S114: and regulating the duty ratio of the current PWM signal in a stepping mode towards the second direction so that the real-time working current is equal to the preset working current.
If the driving circuit is a voltage reduction type driving circuit using an NMOS transistor, the duty ratio of the current PWM signal is adjusted in a step-by-step manner to the second direction to be a step-by-step reduction type duty ratio of the current PWM signal; and if the driving circuit is a voltage reduction type driving circuit using a PMOS tube, regulating the duty ratio of the current PWM signal to the second direction in a stepping mode to increase the duty ratio of the current PWM signal in the stepping mode.
Step S075: keeping the duty ratio of the current PWM signal unchanged so as to enable the LED to maintain constant current operation.
In some embodiments, in order to ensure the safety of the LED and other circuit elements in the process of adjusting the duty ratio, if the driving circuit is a step-down driving circuit using an NMOS transistor, the duty ratio of the current PWM signal may be increased to the maximum duty ratio in a step-by-step manner; if the driving circuit is a voltage reduction type driving circuit using a PMOS tube, the duty ratio of the current PWM signal can be reduced to the minimum duty ratio in a stepping mode.
The following describes the main workflow of the method for compatible series connection of batteries with different numbers.
It can be seen that, in some examples, when one or more batteries connected in series are powered, the voltage of the battery at the time of starting is firstly acquired, and the number of the currently connected batteries in series is calculated according to the acquired voltage; calculating a preset duty ratio of a PWM signal according to the calculated battery section number, controlling the PWM signal with the output duty ratio being the preset duty ratio to drive the LED, then obtaining a real-time working current, comparing the real-time working current with a preset working current to obtain a comparison result, and adjusting the duty ratio of the current PWM signal according to the comparison result so that the real-time working current is equal to the preset working current; acquiring the real-time voltage of the battery, and calculating the electric quantity of the battery according to the real-time voltage of the battery and the battery section number; and when the calculated electric quantity of the battery is 0, controlling the battery to stop supplying power. Therefore, when the method compatible with the series connection of the batteries with different numbers is used, one or any number of batteries connected in series is connected for power supply, so that the over-discharge of the batteries can be prevented, and the LED finally works at constant current and keeps the brightness unchanged, so that a consumer can select the batteries with any number for power supply according to the self cruising demand, and does not need to purchase a plurality of lighting devices with different numbers of batteries to adapt to different use scenes with different cruising demands, thereby providing convenience for the consumer, having strong practicability and saving social resources.
The present invention has been described in terms of specific examples, which are provided to aid understanding of the invention and are not intended to be limiting. For a person skilled in the art to which the invention pertains, several simple deductions, modifications or substitutions may be made according to the idea of the invention.
Claims (10)
1. A method for compatible series connection of batteries with different numbers is characterized by comprising the following steps:
acquiring the voltage of a battery during starting;
calculating the number of the currently connected battery nodes according to the acquired voltage;
acquiring the real-time voltage of the battery;
calculating the electric quantity of the battery according to the real-time voltage and the battery section number of the battery;
and when the calculated electric quantity of the battery is 0, controlling the battery to stop supplying power.
2. The method for accommodating series connection of batteries with different numbers of batteries according to claim 1, further comprising: and controlling to display the calculated electric quantity of the battery.
3. The method for accommodating series connection of batteries with different numbers of batteries according to claim 1, further comprising:
calculating a preset duty ratio of the PWM signal according to the calculated battery section number;
controlling a PWM signal with the output duty ratio as the preset duty ratio to drive the LED;
acquiring real-time working current;
comparing the real-time working current with a preset working current to obtain a comparison result;
and adjusting the duty ratio of the current PWM signal according to the comparison result so as to enable the real-time working current to be equal to the preset working current.
4. The method according to claim 3, wherein the adjusting the duty ratio of the current PWM signal according to the comparison result so that the real-time operating current is equal to the preset operating current comprises:
when the comparison result shows that the real-time working current is smaller than the preset working current, the duty ratio of the current PWM signal is adjusted in a stepping mode in the first direction, so that the real-time working current is equal to the preset working current;
and when the comparison result shows that the real-time working current is larger than the preset working current, the duty ratio of the current PWM signal is adjusted in a step-by-step mode in the second direction, so that the real-time working current is equal to the preset working current.
5. The method according to claim 3, wherein the predetermined operating current is a maximum LED driving current.
6. A lighting device compatible with series connection of batteries with different numbers, which is characterized by comprising:
an LED for emitting light;
the battery connection port is used for connecting one or more batteries connected in series;
the sampling module is connected with the battery connecting port and used for sampling the battery voltage and outputting the sampled voltage;
the control module is connected with the sampling module and used for acquiring sampling voltage during starting and calculating the number of the batteries connected in series at present according to the sampling voltage during starting; acquiring real-time sampling voltage, calculating the real-time voltage of the battery according to the real-time sampling voltage, and calculating the electric quantity of the battery according to the real-time voltage of the battery and the battery section number; and controlling the battery to stop supplying power when the calculated electric quantity of the battery is 0; and
and the driving module is used for providing current for the LED.
7. The lighting device of claim 6, further comprising:
and the electric quantity indicating module is connected to the control module and used for displaying the electric quantity of the battery.
8. The lighting device compatible with series connection of batteries with different numbers of battery sections as claimed in claim 6, wherein the control module is further configured to calculate a preset duty ratio of the PWM signal according to the calculated number of battery sections, and output the PWM signal with the duty ratio of the preset duty ratio;
and the duty ratio of the current PWM signal is adjusted according to the comparison result, so that the driving module provides current for the LED according to the duty ratio of the PWM signal, and the real-time working current is equal to the preset working current.
9. The lighting device of claim 8, wherein the control module adjusts the duty cycle of the current PWM signal according to the comparison result comprises:
when the comparison result shows that the real-time working current is smaller than the preset working current, the control module adjusts the duty ratio of the current PWM signal in a stepping mode to the first direction so that the real-time working current is equal to the preset working current;
and when the comparison result shows that the real-time working current is greater than the preset working current, the control module adjusts the duty ratio of the current PWM signal in a stepping mode towards the second direction so that the real-time working current is equal to the preset working current.
10. The lighting device of claim 8, wherein the predetermined operating current is a maximum LED driving current.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011613899.6A CN114695982A (en) | 2020-12-30 | 2020-12-30 | Method compatible with series connection of batteries with different numbers and lighting device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011613899.6A CN114695982A (en) | 2020-12-30 | 2020-12-30 | Method compatible with series connection of batteries with different numbers and lighting device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114695982A true CN114695982A (en) | 2022-07-01 |
Family
ID=82132029
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011613899.6A Pending CN114695982A (en) | 2020-12-30 | 2020-12-30 | Method compatible with series connection of batteries with different numbers and lighting device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114695982A (en) |
-
2020
- 2020-12-30 CN CN202011613899.6A patent/CN114695982A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101816110B (en) | Circuit arrangement with multiple batteries | |
CN109066940B (en) | Charging control method, circuit, charger and electric tool | |
US6873322B2 (en) | Adaptive LCD power supply circuit | |
US9502917B2 (en) | Charging method of electronic cigarettes and electronic cigarette box | |
US8362748B2 (en) | Voltage comparison circuit | |
US6806684B2 (en) | Battery pack | |
US8922156B2 (en) | Solar power-generating equipment | |
US8508142B2 (en) | Portable lighting device and method thereof | |
US20130169217A1 (en) | Rechargeable electric device | |
US20100194294A1 (en) | Driving circuit for light emitting element, and electronic device | |
US20080067953A1 (en) | Controlling power to light-emitting device | |
CN102573211B (en) | System, control circuit and method for supplying electric power to LED light source | |
US20140203736A1 (en) | Battery management system and battery pack having the same | |
EP1427084A2 (en) | Method and apparatus to charge a plurality of batteries | |
US20210376643A1 (en) | Adaptive Power Systems and Techniques | |
US8120263B2 (en) | Portable lighting device and method thereof | |
US7525282B2 (en) | Battery-operated equipment including a microcomputer | |
EP3229557B1 (en) | Emergency lighting | |
CN114695982A (en) | Method compatible with series connection of batteries with different numbers and lighting device | |
WO2005041382A1 (en) | Battery charge indicator | |
KR19990037303A (en) | Charge current adapter circuit or batteries for a cell | |
KR100788595B1 (en) | Portable auxiliary power supply | |
EP4012429A1 (en) | Method of estimating a state-of-charge of a battery pack | |
CN110071552B (en) | Battery charging management circuit | |
CN113162160A (en) | Control circuit, charging circuit and electronic equipment |
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 |