Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a battery assembly according to an embodiment of the present invention, and as shown in fig. 1, the battery assembly includes:
a battery 1 and a power manager 2, the battery 1 including at least two unit cells 11, a row address decoder 12 and a column address decoder 13; the power manager 2 comprises a first electrode pin 21 and a second electrode pin 22; wherein, the at least two elementary cells 11 are arranged according to a matrix, the row address lines 14 of the elementary cells 11 in the same row are connected with each other, the row address lines of the elementary cells in the same row are connected with the row address decoder 12, the column address lines 15 of the elementary cells 11 in the same column are connected with each other, and the column address lines of the elementary cells in the same column are connected with the column address decoder 13; the first electrode wire 16 of each cell is connected with the first electrode pin 21, and the second electrode wire 17 of each cell is connected with the second electrode pin 22; the power manager 2 is configured to output a first control signal to the row address decoder 12 to control the first voltage output terminal of the cell to be connected to the first electrode line 16; the power manager 2 is further configured to output a second control signal to the column address decoder 13 to control the second voltage output terminal of the cell to be connected to the second electrode line 17.
In this embodiment, the battery assembly includes a power manager and a battery, the battery including a plurality of cells, the management of the battery being effected by control of the plurality of cells by the power manager. A plurality of cells in the battery may be arranged in a matrix, and each cell may uniquely correspond to a row address and a column address. Each elementary cell comprises a row address wire and a column address wire, the row address wire of the elementary cell is connected with a row address decoder, and the column address wire of the elementary cell is connected with a column address decoder. As shown in fig. 2, fig. 2 is a logical structure diagram of a battery cell, and the battery cell includes two parts, namely an energy storage battery and a switch circuit. A cell contains four outgoing terminals, a row address line 14, a column address line 15, a positive line 161 and a negative line 171, and a switching circuit may be used to control the disconnection or connection of the positive line of the cell from the positive pole of the cell and the disconnection or connection of the negative line of the cell from the negative pole of the cell.
The first electrode wire and the second electrode wire of the cell are respectively a positive electrode wire and a negative electrode wire of the cell, and if the first electrode wire is the positive electrode wire, the second electrode wire is the negative electrode wire; and if the first electrode wire is a negative electrode wire, the second electrode wire is a positive electrode wire. The positive wire of each cell is connected with the positive pin of the power manager, and the negative wire of each cell is connected with the negative pin of the power manager, so that the power manager can control the cells in the battery.
The power manager may be configured to output address information including a cell, so that the cell corresponding to the address information is in a selected state, and when the cell is selected through the row address line and the column address line, a positive line of the cell is connected to a positive electrode, and a negative line of the cell is connected to a negative electrode, so as to charge or discharge the cell. For example, the power manager outputs a control signal including row address information of the first row unit cell to the row address decoder, and the row address decoder outputs high level "1" to the first row unit cell (address lines of all unit cells are low level "0" in an initial state), and at this time, the first row unit cell is selected, and the positive electrode line or the negative electrode line of each unit cell in the first row unit cell are connected to the positive electrode or the negative electrode line.
In this way, the plurality of unit cells can be rapidly charged in a low voltage and large current state by being connected in parallel. When the damage of the individual unit battery occurs, the normal operation of the battery is not influenced.
Optionally, the row address decoder 12 is configured to control the row address line 14 of at least one row of the unit cells 11 to be at a high voltage level, so as to control the first voltage output terminal of the at least one row of unit cells to be connected to the first electrode;
the column address decoder 13 is configured to control a column address line 15 of at least one column of the cells 11 to be a high voltage level, so as to control a second voltage output terminal of the at least one column of the cells to be connected to the second electrode.
In this embodiment, the row address decoder may output a high level "1" to one or more rows of unit cells, controlling the positive electrode line of the unit cells to be connected to the positive electrode; the column address decoder may output a high level "1" to one or more columns of the unit cells, controlling the negative electrode line of the unit cells to be connected to the negative electrode.
Taking charging the battery as an example, the row address lines and the column address lines of all the elementary batteries in the battery can be set to be high level "1", charging voltage is added between the positive electrode and the negative electrode of the battery, after charging is completed, the row address lines and the column address lines of all the elementary batteries are all set to be low level "0", and charging of the battery is completed.
When there are many cells, one or more rows may be charged one by one, or one or more columns may be charged one by one.
For example, as shown in fig. 1, the cells are arranged in a matrix, and assuming that the cells are arranged in m rows and n columns in the cell, the number of the cells is m × n.
Setting the column address line of n columns of unit batteries in the battery as high level 1, controlling the negative electrode lines of all the unit batteries to be connected with the negative electrode, and then adding voltage to the positive electrode and the negative electrode of the battery. Control then takes place over the row address lines. The row address line of the first row of elementary cells is first set to high level "1" so that the positive electrode line of the first row of elementary cells is connected with the positive electrode, and the n elementary cells in the first row are charged, as shown in fig. 4. After the first row of elementary batteries are charged, setting the row address line of the first row of elementary batteries to be low level "0", and then setting the row address line of the ith row of elementary batteries to be high level "1", so that the positive electrode line of the ith row of elementary batteries is connected with the positive electrode, and n elementary batteries in the ith row are charged, wherein i is an integer greater than 1 and less than or equal to m. And setting the row address lines and the column address lines of all the elementary batteries to be low level 0' until the charging of the m-th row elementary batteries is finished, and finishing the charging of the batteries.
For controlling the discharge of the battery, at least one row or at least one column of the unit cells may be controlled to be discharged at the same time in the manner as described above.
If a row of unit cells is charged or discharged at a time, regardless of the time for switching when each row of unit cells is charged or discharged, if the time for charging or completely discharging a single unit cell is t, the charging or discharging time of the entire battery is m × t. If a row a of the unit cells are charged or discharged each time, where a is an integer greater than 1, the charging or discharging time of the entire battery is m × t/a, which can shorten the charging or discharging time.
In this embodiment, it is possible to simultaneously control the charging or discharging of at least one row or at least one column of unit cells according to actual conditions, so that the charging and discharging efficiency can be improved.
Optionally, as shown in fig. 2 and fig. 3, the first electrode line 16 is a positive electrode line 161, the second electrode line 17 is a negative electrode line 171, the battery 1 includes a positive electrode 18 and a negative electrode 19, the positive electrode line 161 of the battery cell is connected to the positive electrode 18, and the negative electrode line 171 of the battery cell is connected to the negative electrode 19.
In this embodiment, the positive electrode of the cell is connected to the positive electrode of the battery, and the negative electrode of the cell is connected to the negative electrode of the battery, so that the power manager can manage the plurality of cells of the battery, can save battery space, and can simultaneously control the charging or discharging of the plurality of cells, improving the charging or discharging efficiency.
Optionally, as shown in fig. 3, the battery 1 is provided with a temperature sensor, the power manager 2 is provided with a temperature pin 23, the temperature pin 23 is connected to the temperature sensor, and the temperature sensor is configured to output a control signal to the power manager 2 if the temperature of the battery 1 is higher than a preset temperature value, so that the power manager 2 controls the battery 1 to stop charging or discharging.
In this embodiment, a temperature sensor is provided in the battery, and when the temperature sensor detects that the temperature of the battery exceeds a preset temperature, a signal can be output to the power manager to enable the power manager to control the battery to stop charging or discharging, so that when the temperature of the battery is high, the battery can be protected from being damaged due to high temperature. If a single cell is damaged, the operation of other cells is not affected, and the cell can still work normally.
In this embodiment, a battery assembly includes a battery including at least two unit cells, a row address decoder, and a column address decoder, and a power manager; the at least two unit cells are arranged according to a matrix, row address lines of the unit cells in the same row are mutually connected and are connected with the row address decoder, and column address lines of the unit cells in the same column are mutually connected and are connected with the column address decoder; the power supply manager is connected with the battery and used for outputting signals to the battery to control charging and discharging of the unit battery. Because the battery comprises a plurality of unit batteries, the power supply manager can control each unit battery in the battery to work, thus, when part of unit batteries are damaged, other unit batteries can still work normally, and the normal work of the battery cannot be influenced.
The embodiment of the invention also provides a mobile terminal which comprises the battery assembly in any one of the above embodiments. Due to the fact that the battery assembly is contained in the mobile terminal, the mobile terminal can achieve the same beneficial effects as the battery assembly.
Referring to fig. 5, fig. 5 is a flowchart of a method for controlling charging and discharging of a battery according to an embodiment of the present invention, which mainly differs from the above embodiments in that a plurality of cells in the battery are controlled to be charged or discharged, and as shown in fig. 5, the method for controlling charging and discharging of a battery includes the following steps:
step 501, obtaining address information of a target cell in a battery, where the address information includes row address information and column address information, and the target cell is at least one of the batteries.
In this step, the cells may be distributed in a matrix, and each cell may uniquely correspond to one row address information and one column address information, i.e., information indicating the position of the cell in the corresponding row and column in the matrix. The target cell may be a cell to be charged and discharged, and the target cell may be one or more cells, may be adjacent or non-adjacent cells, may be one or more rows of cells, and may be one or more columns of cells.
Step 502, outputting a first control signal to the target cell according to the row address information to control a first voltage output end of the target cell to be connected with a first electrode line of the target cell.
In this step, the power manager may output a first control signal, which may include row address information of the target cell, to a row address decoder, and the row address decoder sets a row address line of the target cell to a high level "1", thereby controlling a positive line of the target cell to be connected to a positive electrode or a negative line to be connected to a negative electrode. The first voltage output end may be a positive electrode or a negative electrode, and the first electrode line may be an electrode line corresponding to the first voltage output end.
It should be noted that this step may be performed before step 503, after step 503, or simultaneously with step 503.
Optionally, if all the unit batteries of the target unit battery include a first target battery pack formed by dividing in rows, the first target battery pack includes at least one row of the unit batteries;
the outputting of the first control signal to the target cell according to the row address information includes:
and outputting a first control signal to the first target battery pack according to the row address information.
In this embodiment, if the target unit cells are distributed in at least two rows, the target unit cells may be grouped in units of rows, and one or more rows of unit cells may be grouped together while one or more rows of unit cells are charged or discharged. When the target unit cells are divided into a plurality of groups, the number of rows including the unit cells in each group may be different. For example, the target unit cells are divided into three groups, a first group including one row of unit cells, a second group including two rows of unit cells, and a third group including three rows of unit cells.
After grouping the target cells, the power manager may output a control signal including all the column address information of the target cells to the column address decoder according to the address information of the target cells, so as to control the second electrode lines of the target cells to be connected to the second voltage output terminal, where the second voltage output terminal may be a positive electrode or a negative electrode, and the second electrode lines may be electrode lines corresponding to the second voltage output terminal. The power manager then sequentially outputs control signals containing row address information of the target battery pack to a row address decoder, and the row address decoder sequentially sets row address lines of the target battery pack to high level "1" so that a positive line of the target elementary battery is connected with a positive electrode or a negative line of the target elementary battery is connected with a negative electrode. The first voltage output end may be a positive electrode or a negative electrode, and the first electrode line may be an electrode line corresponding to the first voltage output end. Thus, the target battery packs can be controlled to be sequentially charged or discharged.
For example, as shown in fig. 1, the cells are arranged in a matrix, and assuming that the cells are arranged in m rows and n columns in the cell, the number of the cells is m × n.
Setting the column address line of n columns of unit batteries in the battery as high level 1, controlling the negative electrode lines of all the unit batteries to be connected with the negative electrode, and then adding voltage to the positive electrode and the negative electrode of the battery. Control then takes place over the row address lines. The row address line of the first row of elementary cells is first set to high level "1" so that the positive electrode line of the first row of elementary cells is connected with the positive electrode, and the n elementary cells in the first row are charged, as shown in fig. 4. After the first row of elementary batteries are charged, setting the row address line of the first row of elementary batteries to be low level "0", and then setting the row address line of the ith row of elementary batteries to be high level "1", so that the positive electrode line of the ith row of elementary batteries is connected with the positive electrode, and n elementary batteries in the ith row are charged, wherein i is an integer greater than 1 and less than or equal to m. And setting the row address lines and the column address lines of all the elementary batteries to be low level 0' until the charging of the m-th row elementary batteries is finished, and finishing the charging of the batteries.
In specific implementation, a preset number of unit batteries can be divided into a group according to the distribution condition of the unit batteries so as to improve the charging or discharging speed, and meanwhile, the aging or damage of the unit batteries caused by overhigh temperature in the charging process can be avoided.
It should be noted that, when this step is performed after step 503, it is possible to sequentially charge or discharge a plurality of target battery packs, and it is possible to improve the charging or discharging speed, and at the same time, it is possible to protect the cells from aging or damage due to excessive temperature during the charging process.
Step 503, outputting a second control signal to the target cell according to the column address information, so as to control a second voltage output end of the target cell to be connected with a second electrode line of the target cell.
In this step, the power manager may output a second control signal, which may include column address information of the target cell, to the column address decoder, and the column address decoder sets the column address line of the target cell to a high level "1" to connect the positive line of the target cell to the positive electrode or the negative line to the negative electrode. The second voltage output end may be a positive electrode or a negative electrode, the second electrode line may also be a positive electrode line or a negative electrode line, and the second voltage output end corresponds to the second electrode line.
When the positive electrode line of the elementary cell is connected with the positive electrode and the negative electrode line is connected with the negative electrode, the elementary cell is charged or discharged, and when the charging or discharging is finished, the row address line and the column address line of the elementary cell are set to be low level 0, so that the charging or discharging of the cell is finished.
Optionally, if all the unit batteries of the target unit batteries include a second target battery pack formed by dividing rows, the second target battery pack includes at least one row of the unit batteries;
the step of outputting a second control signal to the target cell according to the column address information includes:
and outputting a second control signal to the second target battery pack according to the column address information.
In this embodiment, when the target unit cells are distributed in at least two rows, the target unit cells may be grouped in units of rows, and one or more rows of unit cells may be grouped into one group while one or more rows of unit cells are charged or discharged. When the target unit cells are divided into a plurality of groups, the number of rows including the unit cells in each group may be different. For example, the target unit cells are divided into three groups, a first group including one column of unit cells, a second group including two columns of unit cells, and a third group including three columns of unit cells.
After grouping the target cells, the power manager may output a control signal including row address information of all the target cells to the row address decoder according to address information of the target cells, so as to control a first electrode line of the target cells to be connected to a first voltage output terminal, where the first voltage output terminal may be a positive electrode or a negative electrode, and the first electrode line may be an electrode line corresponding to the first voltage output terminal. The power manager then sequentially outputs control signals containing row address information of the target battery pack to a row address decoder, and the row address decoder sequentially sets the row address lines of the target battery pack to high level "1" so that the positive electrode line of the target elementary battery is connected with the positive electrode or the negative electrode line of the target elementary battery is connected with the negative electrode. The second voltage output terminal may be a positive electrode or a negative electrode, and the second electrode line may be an electrode line corresponding to the second voltage output terminal. Thus, the target battery packs can be controlled to be sequentially charged or discharged.
In specific implementation, a preset number of unit batteries can be divided into a group according to the distribution condition of the unit batteries so as to improve the charging or discharging speed, and meanwhile, the aging or damage of the unit batteries caused by overhigh temperature in the charging process can be avoided.
It should be noted that, when this step is performed after step 502, sequential charging or discharging of a plurality of target battery packs can be achieved, the charging or discharging speed can be increased, and the cells can be protected from aging or damage due to excessive temperature during the charging process.
Optionally, before the step of obtaining address information of a target cell in a battery, the method further includes:
acquiring a battery state of the battery cell in a preset battery cell state table, wherein the battery state comprises a non-full state and a full state, the non-full state represents that the battery cell is in a state after discharging and before charging, and the full state represents that the battery cell is in a state after charging and before discharging;
if the unit cell is charged, setting the unit cell in the non-full cell state as the target unit cell;
setting the cell in the full charge state as the target cell if the cell is discharged;
after the step of outputting a second control signal to the target cell according to the column address information, the method further includes:
and updating the battery state of the target unit battery in the preset unit battery state table.
In this embodiment, a battery state table may be set and stored in advance, and the state table may include the states of the respective unit batteries. The non-full-charge state is a state in which the battery cell does not start to be charged after being discharged for a certain time, and can be represented by a low level "0", and the non-full-charge state can also include an initial state in which the battery cell is not charged for the first time; the fully charged state indicates a state in which the discharge has not started after a certain charge, and is indicated by a high level "1". If the battery needs to be charged, only the address information of the cell in the non-full-power state needs to be acquired, and the cell in the non-full-power state is controlled to be charged; if the battery is required to be discharged, only the address information of the full-charge state cell needs to be acquired, and the full-charge state cell is controlled to be discharged. After the battery charging or discharging is completed, the battery state of the target unit battery may be updated into the battery state table, so that the power manager acquires the target unit battery for charging or discharging according to the latest battery state.
Thus, the charging and discharging speed of the target unit cell can be increased, and when some unit cells are damaged, other unit cells are not influenced, so that the normal operation of the cell is not influenced.
Optionally, the battery state further includes a damaged state, and before the step of obtaining the battery state of the cell in the preset cell state table, the method further includes:
judging whether a damaged cell exists in the battery;
and if the damaged cell exists, identifying the damaged cell as a damaged state in the preset cell state table according to the address information of the damaged cell.
In this embodiment, the damaged cell may be a cell that is incapable of being charged or discharged, for example, a cell whose amount of electricity does not change during charging, and the damaged cell may be represented by a negative level "-1". If there is the elementary battery of damage, can add the sign with the elementary battery of damage in elementary battery state table to make power manager select the elementary battery of damage earlier before charging to the battery, like this, the elementary battery of damage does not participate in the work of charging or discharging, can not cause the influence to the work of other elementary batteries, can not influence the normal work of battery, and can improve and charge and discharge efficiency. The state table of the battery cells can contain the full-charge state, the non-full-charge state and the damage state of the battery cells, and the battery manager can calculate the actual capacity and the residual capacity of the battery cells by counting the number of the battery cells in each state, thereby being beneficial to battery management.
Optionally, after the step of identifying the damaged cell as the damaged state in the preset cell state table according to the address information of the damaged cell, the method further includes:
acquiring the number of the elementary batteries in the damaged state according to the preset elementary battery state table;
and calculating the battery capacity of the battery according to the number of the damaged cells and the capacity of the cells.
In this embodiment, the damaged cells may be screened out by presetting the cell states of the cells recorded in the cell state table, acquiring the number of cells that can normally operate, and calculating the total battery capacity of the battery according to the rated capacities of the cells. Therefore, the calculation mode is simple, battery management is facilitated, and energy is saved. The battery capacity is output through the display screen of the mobile terminal, so that a user can master the battery capacity, and whether the battery needs to be replaced or not is judged.
The charging and discharging method of the battery in the embodiment of the invention can be applied to the battery of a mobile terminal, the battery of an automobile and the like.
According to the charge and discharge control method of the battery, the address information of a target elementary battery in the battery is obtained, the address information comprises row address information and column address information, and the target elementary battery is at least one elementary battery in the battery; outputting a first control signal to the target elementary cell according to the row address information to control a first voltage output end of the target elementary cell to be connected with a first electrode wire of the target elementary cell; and outputting a second control signal to the target unit cell according to the column address information so as to control a second voltage output end of the target unit cell to be connected with a second electrode wire of the target unit cell. In this way, the address information of the target unit cell is obtained, and the charging and discharging of the target unit cell are controlled according to the address information, so that a plurality of target unit cells can be controlled to be charged or discharged at the same time, when part of the unit cells are damaged, the work of other unit cells is not influenced, and the cells can still work normally.
Referring to fig. 6, fig. 6 is a structural diagram of the mobile terminal provided in this embodiment, as shown in fig. 6, the mobile terminal 600 includes a battery 601, a first obtaining module 602, a first output module 603, and a second output module 604, where the battery 601 is connected to the first obtaining module 602, the first obtaining module 602 is connected to the first output module 603, and the first obtaining module 602 is connected to the second output module 604,
a battery 601, said battery 601 comprising at least two cells;
a first obtaining module 602, configured to obtain address information of a target cell in a battery 601, where the address information includes row address information and column address information, and the target cell is at least one of the batteries;
a first output module 603, configured to output a first control signal to the target cell according to the row address information acquired by the first acquisition module 602, so as to control a first voltage output end of the target cell to be connected to a first electrode line of the target cell;
a second output module 604, configured to output a second control signal to the target cell according to the column address information acquired by the first acquisition module 602, so as to control a second voltage output end of the target cell to be connected to a second electrode line of the target cell.
Optionally, if the target unit cells include a first target cell group formed by dividing rows, the first target cell group includes at least one row of the unit cells; the first output module 603 is configured to output a first control signal to the first target battery pack according to the row address information acquired by the first acquiring module 602.
Optionally, if all the unit batteries of the target unit batteries include a second target battery pack formed by dividing rows, the second target battery pack includes at least one row of the unit batteries; the second output module 604 is configured to output a second control signal to the second target battery pack according to the column address information acquired by the first acquiring module 602.
Optionally, as shown in fig. 7, the mobile terminal 600 further includes:
a second obtaining module 605, configured to obtain a battery state of the cell in a preset cell state table, where the battery state includes a non-full state and a full state, the non-full state represents that the cell is in a state after discharging and before charging, and the full state represents that the cell is in a state after charging and before discharging;
a first setting module 606, configured to set the cell in the non-full battery state as the target cell if the cell is charged;
a second setting module 607 for setting the cell in the full charge state as the target cell if the cell is discharged;
the mobile terminal 600 further includes:
an updating module 608, configured to update the battery state of the target cell acquired by the second acquiring module 605 in the preset cell state table.
Optionally, as shown in fig. 8, the battery status further includes a damaged status, and the mobile terminal 600 further includes:
a judging module 609, configured to judge whether there is a damaged cell in the battery 601;
an identification module 610, configured to identify, if the determination module 609 determines that a damaged cell exists, the damaged cell as a damaged state in the preset cell state table according to the address information of the damaged cell.
Optionally, as shown in fig. 9, the mobile terminal 600 further includes:
a third obtaining module 611, configured to obtain, according to the preset cell state table, the number of the cells in the damaged state;
a calculating module 612, configured to calculate a battery capacity of the battery according to the number of the damaged cells and the capacity of the cells acquired by the third acquiring module 611.
The mobile terminal 600 can implement the processes of the battery charging and discharging control method in the foregoing embodiments, and for avoiding repetition, the details are not described here.
The mobile terminal 600 according to the embodiment of the present invention obtains address information of a target cell in a battery, where the address information includes row address information and column address information, and the target cell is at least one cell in the battery; outputting a first control signal to the target elementary cell according to the row address information to control a first voltage output end of the target elementary cell to be connected with a first electrode wire of the target elementary cell; and outputting a second control signal to the target unit cell according to the column address information so as to control a second voltage output end of the target unit cell to be connected with a second electrode wire of the target unit cell. Like this, power manager can control a plurality of elementary batteries in the battery and carry out work, because each elementary battery can independent energy storage, and mutual noninterference at the during operation, like this, when some elementary batteries take place to damage, other elementary batteries still can normally work, can not influence the normal work of battery.
Referring to fig. 10, fig. 10 is a structural diagram of a mobile terminal according to an embodiment of the present invention, and the main difference between the embodiment and the embodiment of fig. 5 is that a battery charging and discharging method is applied to the mobile terminal. As shown in fig. 10, the mobile terminal 1000 includes a Radio Frequency (RF) circuit 1010, a memory 1020, an input unit 1030, a display unit 1040, a processor 1050, an audio circuit 1060, a communication module 1070, and a power supply 1080. The power source 1080 may be a battery including at least two cells, the processor 1050 may be a power manager, and the power manager may be included in the processor 1050 as a part of the processor 1050.
In addition, the power manager can be packaged in the power supply to control the operation of the battery, and the structure is easy to understand, so that the drawings are omitted.
The input unit 1030 may be used to receive numeric or character information input by a user and generate signal inputs related to user settings and function control of the mobile terminal 1000, among other things. Specifically, in the embodiment of the present invention, the input unit 1030 may include a touch panel 1031. The touch panel 1031, also referred to as a touch screen, may collect touch operations by a user (e.g., operations of the user on the touch panel 1031 by using any suitable object or accessory such as a finger or a stylus) thereon or nearby, and drive corresponding connection devices according to a preset program. Alternatively, the touch panel 1031 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts it to touch point coordinates, and sends the touch point coordinates to the processor 1050, and can receive and execute commands from the processor 1050. In addition, the touch panel 1031 may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1031, the input unit 1030 may also include other input devices 1032, and the other input devices 1032 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, a joystick, etc.
Among other things, the display unit 1040 may be used to display information input by a user or information provided to the user and various menu interfaces of the mobile terminal 1000. The display unit 1040 may include a display panel 1041, and optionally, the display panel 1141 may be configured in the form of an LCD or an Organic Light-Emitting Diode (OLED).
It should be noted that the touch panel 1031 may cover the display panel 1041 to form a touch display screen, and when the touch display screen detects a touch operation thereon or nearby, the touch display screen is transmitted to the processor 1050 to determine the type of the touch event, and then the processor 1050 provides a corresponding visual output on the touch display screen according to the type of the touch event.
The touch display screen comprises an application program interface display area and a common control display area. The arrangement modes of the application program interface display area and the common control display area are not limited, and can be an arrangement mode which can distinguish two display areas, such as vertical arrangement, left-right arrangement and the like. The application interface display area may be used to display an interface of an application. Each interface may contain at least one interface element such as an icon and/or widget desktop control for an application. The application interface display area may also be an empty interface that does not contain any content. The common control display area is used for displaying controls with high utilization rate, such as application icons like setting buttons, interface numbers, scroll bars, phone book icons and the like.
The processor 1050 is a control center of the mobile terminal 1000, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the mobile terminal 1000 and processes data by running or executing software programs and/or modules stored in the first memory 1021 and calling data stored in the second memory 1022, thereby performing overall monitoring of the mobile terminal 1000. Optionally, the processor 1050 may include one or more processing units.
In the embodiment of the present invention, the processor 1050 is configured to, by calling a software program and/or a module stored in the first memory 1021 and/or data stored in the second memory 1022: acquiring address information of a target elementary cell in a battery, wherein the address information comprises row address information and column address information, and the target elementary cell is at least one elementary cell in the battery;
outputting a first control signal to the target elementary cell according to the row address information so as to control a first voltage output end of the target elementary cell to be connected with a first electrode wire of the target elementary cell;
and outputting a second control signal to the target elementary cell according to the column address information so as to control a second voltage output end of the target elementary cell to be connected with a second electrode wire of the target elementary cell.
Optionally, if all the cells of the target cell include a first target cell group formed by dividing in rows, where the first target cell group includes at least one row of the cells, the processor 1050 is further configured to: and outputting a first control signal to the first target battery pack according to the row address information.
Optionally, if all the cells of the target cell include a second target cell group formed by dividing rows, where the second target cell group includes at least one row of the cells, the processor 1050 is further configured to: and outputting a second control signal to the second target battery pack according to the column address information.
Optionally, the processor 1050 is further configured to: acquiring a battery state of the battery cell in a preset battery cell state table, wherein the battery state comprises a non-full state and a full state, the non-full state represents that the battery cell is in a state after discharging and before charging, and the full state represents that the battery cell is in a state after charging and before discharging;
if the unit cell is charged, setting the unit cell in the non-full cell state as the target unit cell;
setting the cell in the full charge state as the target cell if the cell is discharged;
after the outputting of the second control signal to the target unit cell according to the column address information, the method further includes:
and updating the battery state of the target unit battery in the preset unit battery state table.
Optionally, the processor 1050 is further configured to: judging whether a damaged cell exists in the battery;
and if the damaged cell exists, identifying the damaged cell as a damaged state in the preset cell state table according to the address information of the damaged cell.
Optionally, the processor 1050 is further configured to: acquiring the number of the cells in the damaged state according to the preset cell state table;
and calculating the battery capacity of the battery according to the number of the damaged cells and the capacity of the cells.
The mobile terminal 1000 can implement the processes of the battery charging and discharging control method in the foregoing embodiments, and details are not repeated here to avoid repetition.
The mobile terminal 1000 according to the embodiment of the present invention obtains address information of a target cell in a battery, where the address information includes row address information and column address information, and the target cell is at least one cell in the battery; outputting a first control signal to the target elementary cell according to the row address information to control a first voltage output end of the target elementary cell to be connected with a first electrode wire of the target elementary cell; and outputting a second control signal to the target unit cell according to the column address information so as to control a second voltage output end of the target unit cell to be connected with a second electrode wire of the target unit cell. Like this, power manager can control a plurality of elementary batteries in the battery and carry out work, because each elementary battery can independent energy storage, and mutual noninterference at the during operation, like this, when some elementary batteries take place to damage, other elementary batteries still can normally work, can not influence the normal work of battery.
Embodiments of the present invention also provide a computer-readable storage medium having stored thereon a computer program (instructions), which when executed by a processor, implement the steps of:
acquiring address information of a target elementary cell in a battery, wherein the address information comprises row address information and column address information, and the target elementary cell is at least one elementary cell in the battery;
outputting a first control signal to the target elementary cell according to the row address information so as to control a first voltage output end of the target elementary cell to be connected with a first electrode wire of the target elementary cell;
and outputting a second control signal to the target elementary cell according to the column address information so as to control a second voltage output end of the target elementary cell to be connected with a second electrode wire of the target elementary cell.
Optionally, the program (instructions) when executed by the processor may further implement the steps of:
if all the unit batteries of the target unit batteries comprise a first target battery pack formed by dividing lines, the first target battery pack comprises at least one line of the unit batteries;
the step of outputting a first control signal to the target cell according to the row address information includes:
and outputting a first control signal to the first target battery pack according to the row address information.
Optionally, if all the unit batteries of the target unit batteries include a second target battery pack formed by dividing rows, the second target battery pack includes at least one row of the unit batteries;
the step of outputting a second control signal to the target cell according to the column address information includes:
and outputting a second control signal to the second target battery pack according to the column address information.
Optionally, before the step of obtaining address information of a target cell in a battery, the method further includes:
acquiring a battery state of the battery cell in a preset battery cell state table, wherein the battery state comprises a non-full state and a full state, the non-full state represents that the battery cell is in a state after discharging and before charging, and the full state represents that the battery cell is in a state after charging and before discharging;
if the unit cell is charged, setting the unit cell in the non-full cell state as the target unit cell;
setting the cell in the full charge state as the target cell if the cell is discharged;
after the step of outputting a second control signal to the target cell according to the column address information, the method further includes:
and updating the battery state of the target unit battery in the preset unit battery state table.
Optionally, the battery state further includes a damaged state, and before the step of obtaining the battery state of the cell in the preset cell state table, the method further includes:
judging whether a damaged cell exists in the battery;
and if the damaged cell exists, identifying the damaged cell as a damaged state in the preset cell state table according to the address information of the damaged cell.
Optionally, after the step of identifying the damaged cell as a damaged state in the preset cell state table according to the address information of the damaged cell, the method further includes:
acquiring the number of the elementary batteries in the damaged state according to the preset elementary battery state table;
and calculating the battery capacity of the battery according to the number of the damaged cells and the capacity of the cells.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.