Application method, device and system of MCU (Microprogrammed Control Unit) on power generation mobile phone shell
By using the microcontroller MCU to manage the battery in the power generation mobile phone case, various charging methods such as light charging are realized, the management problem of insufficient battery life of the mobile phone case is solved, the battery life of the mobile phone is extended and the battery efficiency is maximized.
Patent Information
- Application Number
- CN202411617664.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-13
- Publication Date
- 2025-02-14
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the prior art, when the battery capacity of a mobile phone case is insufficient, how to manage the battery power in a low power state is an unsolved problem. At the same time, in order to ensure the stable operation of the smart chip, it is necessary to maximize the battery efficiency.
By using a microcontroller MCU in the power generator case, the battery management mode of the backup battery is controlled, and the light charging, Type C charging, wireless charging or battery discharge is realized to ensure that the power meets different operating needs.
It effectively extends the battery life of the mobile phone, ensures that the battery power in the power generator phone case meets the operating needs under different circumstances, and at the same time maximizes the battery efficiency and ensures the stable operation of the smart chip.
Smart Images

Figure CN119449947A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electronic technology, and in particular to an application method of an MCU on a power-generating mobile phone shell. Background Art
[0002] Considering that mobile phone users need to use their phones for a long time and anytime and anywhere, it has become a big challenge for the mobile phone power to meet the user's usage needs. Therefore, in line with the user's usage needs, technical engineers have developed a mobile phone case device that can store light energy and transmit power to the mobile phone.
[0003] Prior art Taking patent document CN 106790865 A as an example, in order to solve the problem that the existing solar mobile phone charging technology requires the mobile phone to be placed in a scene with strong light for charging, which limits the user's position and causes inconvenience to the customer, and the solar cell will transmit electrical energy to the mobile phone regardless of whether the mobile phone needs to be charged, a passive energy storage charging mobile phone case is proposed, which can increase the light energy conversion rate to charge the mobile phone under weak light; correspondingly, when the passive energy storage charging mobile phone case is used to charge the mobile phone, the passive energy storage charging mobile phone case includes a mobile phone case body, a photovoltaic panel, a rechargeable battery and a smart chip, the photovoltaic panel converts strong light into electrical energy, or is used to convert weak light or diffuse light into electrical energy, and the mobile phone charging method includes: connecting an external control terminal arranged on the mobile phone to the smart chip for communication, and issuing an instruction to the smart chip, the smart chip receives the instruction and controls the photovoltaic panel to charge the mobile phone body, or stores the converted electrical energy in the rechargeable battery, and the smart chip controls the rechargeable battery to charge the mobile phone.
[0004] However, this technical solution does not consider how to manage the battery power in a low-power state when the phone case is low on power. In addition, to ensure that the smart chip in the phone case can operate stably, it is necessary to maximize battery efficiency while ensuring functionality.
[0005] In order to ensure the management and corresponding control of battery charge and discharge on the mobile phone case, the use of a microcontroller MCU is a good choice, but in actual design, many issues need to be considered, such as how to maintain connection with LED lights, wireless charging, or continuous Bluetooth when the mobile phone case has limited power, especially when it needs to be powered for a long time. For example, for the microcontroller MCU in the mobile phone case, continuous high-load operation (such as wireless charging, data transmission, etc.) may cause the temperature to rise, which in turn affects the stability and service life of the microcontroller MCU. For example, the functions of the mobile phone case (such as power display, wireless charging, data monitoring, etc.) require the MCU to process data in real time. In order to save power, the MCU usually adopts a low-power mode, which reduces the processing speed and leads to insufficient real-time response capabilities.
[0006] In view of the above situation, the present invention proposes an application method, device and system of MCU in a power-generating mobile phone case to solve the problem of how to manage and control the power of the mobile phone case through the microcontroller MCU under different circumstances, which is a technical problem that needs to be solved urgently. Summary of the invention
[0007] The purpose of the present invention is to overcome the shortcomings of the prior art and provide an application method, device and system of MCU in a power-generating mobile phone case, which can control the battery management mode of the backup battery in the power-generating mobile phone case through the microcontroller MCU to ensure that the battery power in the power-generating mobile phone case meets different operating requirements.
[0008] The specific technical solutions are as follows: A method for applying an MCU to a power-generating mobile phone case, wherein the method is applied to the power-generating mobile phone case, and the power-generating mobile phone case is provided with a solar film, a microcontroller MCU, an MCU control switch and a backup battery; When the solar film is exposed to light, it starts to generate electricity by light, and stores the electricity in the backup battery in a trickle charging manner; the solar power generation is a process of converting light energy into electrical energy through light, and storing the electrical energy in the backup battery for charging; During the power storage process, the battery charge state of the backup battery in the aforementioned power-generating mobile phone case is determined by the aforementioned microcontroller MCU; at the same time, in combination with the charging method selected by the user, the peripheral state of the aforementioned power-generating mobile phone case is determined, so that the aforementioned microcontroller MCU controls the backup battery to perform light charging, Type C charging, wireless charging or battery discharge; wherein, the light charging refers to the process of automatically turning on the battery discharge mode of the backup battery to charge the mobile phone through the control of the microcontroller MCU when the power of the backup battery is higher than the preset power threshold and the solar film is in an effective charging state.
[0009] Furthermore, the solar film is a flexible perovskite power generation film, which can generate photovoltaic power under light; and the solar film can charge the backup battery at any time; The backup battery is a lithium-ion battery, which is used for photovoltaic power generation storage, Type C input energy storage and wireless charging reception energy storage, thereby providing backup power for the mobile phone; The MCU controls the switch to be able to be single-clicked, double-clicked or long-pressed; The power generating mobile phone case is also provided with a micro energy collection circuit, a Type C input interface, a wireless charging receiving circuit, a wireless charging transmitting circuit, a wireless charging transmitting end current detection circuit, a lithium ion battery charging circuit, a lithium ion battery discharging circuit and an indicator light.
[0010] Furthermore, when the output voltage of the solar film is above 0.5V and the power is above 15uW, the micro energy harvesting circuit enters / triggers an effective power generation state, at which time the micro energy harvesting circuit can store electric energy in a backup battery; at the same time, the effective power generation state is fed back to the aforementioned microcontroller MCU through the input pin of the MCU; The Type C input interface can draw 9V3A or 5V3A power from the Type C charger and power the wireless charging transmitter circuit in the Type C input mode; The wireless charging receiving circuit can obtain energy from the wireless charger and supply power to the wireless charging transmitting circuit in the wireless input mode; The wireless charging transmitting circuit can output electric energy to the mobile phone through wireless charging; The wireless charging transmitter current detection circuit is capable of detecting the input current of the wireless charging transmitter; The lithium-ion battery charging circuit can charge the backup battery; The lithium-ion battery discharge circuit can boost the lithium-ion battery voltage for output, and can supply power to the aforementioned wireless charging transmission circuit in the battery discharge mode; The indicator light includes a red-green dual-color LED and a blue LED; wherein the red-green dual-color LED is shared by the aforementioned micro energy harvesting circuit and the microcontroller MCU, and the red-green dual-color LED can flash in red when the aforementioned solar film is in an effective power generation state, or flash in red during the backup battery energy storage process; when the aforementioned backup battery is fully charged, the red-green dual-color LED turns green and is always on; the blue LED is used for status indication in battery discharge mode.
[0011] Furthermore, the light-sensitive charging can be turned off by long pressing the MCU control switch after a single light-sensitive charging activation; The Type C charging can charge the mobile phone battery and the backup battery on the power-generating mobile phone case at the same time when the Type C charger is connected; The wireless charging can charge the mobile phone when the wireless charger is connected, and use the remaining power supply capacity to charge the backup battery on the power generation mobile phone case; wherein, when the Type C and the wireless charger are connected at the same time, the Type C charging is effective, and the wireless charger is not used for power supply at this time; The battery discharge refers to turning on the battery discharge mode of the power generation mobile phone case when the MCU control switch is clicked once, and the mobile phone is charged in a wireless transmission manner.
[0012] Furthermore, when determining the peripheral status of the aforementioned power-generating mobile phone case, the corresponding battery management mode can be selected; wherein, the battery management mode includes Idle mode, Type C input mode, battery discharge mode, wireless input mode and Sleep mode.
[0013] Furthermore, when there is no event in the Idle mode, the system switches to a low-power Sleep mode. When the state of the aforementioned peripheral device changes, the first to fourth priority judgments are executed in sequence to determine whether the power generation mobile phone case enters the Type C input mode, the wireless input mode, the battery discharge mode turned on by clicking the MCU control switch, or the battery discharge mode turned on by seeing light; wherein, The first priority judgment, that is, when the Type C end is plugged into the data cable and effectively powered, switch to the Type C input mode, otherwise, perform the second priority judgment; The second priority judgment is to switch to the wireless input mode when the wireless charger is confirmed to be connected, otherwise, the third priority judgment is executed; The third priority judgment is that when there is a single-click event of the MCU control switch, the battery discharge mode is switched to the battery discharge mode turned on by single-clicking the MCU control switch; The fourth priority judgment is that when the battery power meets the threshold, there is effective light-induced power generation, and the light-induced charging function is turned on, it switches to the light-induced battery discharge mode.
[0014] Further, after switching to the corresponding Type C input mode, wireless input mode, battery discharge mode activated by single-clicking the MCU control switch, or battery discharge mode activated by exposure to light according to the aforementioned first priority judgment to the fourth priority judgment, when the first preset condition or the second preset condition is met, the battery management mode of the power-generating mobile phone case is reverted from the aforementioned Type C input mode, wireless input mode, battery discharge mode activated by single-clicking the MCU control switch, or battery discharge mode activated by exposure to light to the aforementioned Idle mode; wherein, The first preset condition is that the temperature of the power generating mobile phone case exceeds a preset temperature threshold range. The second preset condition is that after the Type C cable is unplugged and the wireless charger is removed, the lithium-ion battery discharge circuit stops working when the load is too low.
[0015] Further, in the Type C input mode, it specifically includes: When the temperature of the power generating mobile phone case does not exceed the temperature threshold range, the backup battery and the mobile phone are charged; If the temperature exceeds the above threshold range, it will return to Idle mode; Monitor whether the Type C data cable is unplugged, and return to Idle mode when it is unplugged; or, Detect the backup battery power. When it is not fully charged, the red and green dual-color LED will flash red, and the flashing frequency will be determined according to the battery power range. When it is fully charged, it will turn to solid green. In the battery discharge mode, specifically including: The aforementioned lithium-ion battery discharge circuit is turned on, at which time the backup battery is discharged to wirelessly charge the mobile phone; When it is detected that the lithium-ion battery discharge circuit is shutting down, the system returns to the idle mode. When there is a single-click or double-click MCU control switch event, the lithium-ion battery discharge circuit is turned off and the mode returns to Idle mode; or, When a Type C or wireless charger is connected, the lithium-ion battery discharge circuit is turned off and the mode returns to Idle mode. At the same time, the blue light flashes, and the flashing frequency is determined according to the battery power range. In the wireless input mode, it specifically includes: Monitor whether the wireless charger is removed and return to Idle mode if removed; Check the backup battery power. When it is not fully charged, the red and green LED flashes red, and the flashing frequency is determined according to the battery power range. When it is fully charged, it turns to green and lights up steadily; or, When Type C is connected, it returns to Idle mode; In the Sleep mode, the microcontroller MCU enters a low power consumption state; at this time, the microcontroller MCU will be awakened only when a specific interrupt source occurs; the specific interrupt source includes Type C access, wireless charger access and effective power generation of solar film.
[0016] Furthermore, when the aforementioned solar film is exposed to light, it also includes: When the power level of the backup battery exceeds a preset power threshold, light-sensitive charging is initiated, and the power of the backup battery is transferred to the mobile phone battery; When the power level of the aforementioned backup battery is lower than the preset power threshold, light charging is turned off; at this time, if you choose to recharge the backup battery in the form of light energy, light charging will not be turned on even if it exceeds the preset power threshold. It will not be turned on until the user performs a charging operation again through Type C or wireless charging, and then light charging can be turned on after exceeding the preset power threshold.
[0017] Furthermore, a watchdog timer is also provided on the power generating mobile phone case. In the case where the watchdog timer is not reset by software, the watchdog timer can reset the microcontroller MCU after exceeding a preset reset time.
[0018] A device for applying MCU to a power-generating mobile phone case, wherein the device is applied to a power-generating mobile phone case provided with a solar film, a microcontroller MCU, an MCU-controlled switch and a backup battery; the device comprises a power storage unit and a power transfer unit; wherein, The power storage unit is used to generate electricity when the solar film is exposed to light, and store the electricity in a backup battery in a trickle charging manner; The power transfer unit is used to determine the battery charge state of the backup battery in the aforementioned power-generating mobile phone case through the aforementioned microcontroller MCU during the power storage process; at the same time, combined with the charging method selected by the user, determine the peripheral state of the aforementioned power-generating mobile phone case, so that the aforementioned microcontroller MCU controls the backup battery to perform light charging, Type C charging, wireless charging or battery discharge.
[0019] Furthermore, the device is also provided with an input interface unit, and the input interface unit can obtain different voltages and currents from the charger through a protocol handshake with the charger.
[0020] An application system of MCU on a power-generating mobile phone case, the system comprises a mobile phone case and a mobile phone, the mobile phone case is a power-generating mobile phone case, wherein: The mobile phone case is configured to: start to generate electricity by light when the solar film is exposed to light, and store the electricity in a backup battery in a trickle charging manner; during the electricity storage process, determine the battery charge state of the backup battery in the power generation mobile phone case by the microcontroller MCU; at the same time, determine the peripheral state of the power generation mobile phone case in combination with the charging method selected by the user, so that the microcontroller MCU controls the backup battery to perform light charging, Type C charging, wireless charging or battery discharge; The mobile phone is equipped with a battery management system, and the mobile phone is configured to: when the backup battery in the aforementioned mobile phone case is charged by light, Type C charging, wireless charging or battery discharge, the battery management system cooperates to realize the coordinated operation of the mobile phone charging mode.
[0021] In summary, due to the adoption of the above technical solution, the beneficial effect of the present invention is: to solve the problem of long-term mobile life when the mobile phone has insufficient battery life, and how to effectively extend the battery life of the mobile phone by using a power-generating mobile phone case without changing the existing charging habits of the mobile phone users.
[0022] Furthermore, a microcontroller MCU is used in the power-generating mobile phone case, and the battery management mode of the backup battery in the power-generating mobile phone case is controlled by the microcontroller MCU to ensure that the battery power in the power-generating mobile phone case meets different operating requirements.
[0023] Furthermore, a flexible perovskite power generation film is set on the power generation mobile phone case as a solar film. When the solar film is exposed to light, it starts to generate electricity by light, and can store the electricity in the backup battery in a trickle manner. In this process, the preset power threshold of the backup battery, that is, 30% of the backup battery capacity, can be combined to achieve self-judgment of the microcontroller MCU, so that when the backup battery power is higher than 30% of the backup battery capacity, it can start light charging, and at the same time transfer the backup battery power to the mobile phone battery; when the backup battery power is lower than 30% of the backup battery capacity, the light charging and light charging effect are automatically turned off. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 A flow chart of a method provided by an embodiment of the present invention.
[0025] Figure 2 A structural diagram of a power-generating mobile phone case provided in an embodiment of the present invention.
[0026] Figure 3 A schematic diagram of a battery management mode for a power-generating mobile phone case provided in an embodiment of the present invention.
[0027] Description of reference numerals: Power generation mobile phone case 200, solar film 201, microcontroller MCU 202, MCU control switch 203, backup battery 204. DETAILED DESCRIPTION
[0028] The following is a further detailed description of an application method, device and system of an MCU on a power generation mobile phone case disclosed in the present invention in combination with the accompanying drawings and specific embodiments. It should be noted that the technical features or combinations of technical features described in the following embodiments should not be considered isolated, and they can be combined with each other to achieve better technical effects. In the drawings of the following embodiments, the same reference numerals appearing in each drawing represent the same features or components, which can be applied to different embodiments. Therefore, once an item is defined in one drawing, it does not need to be further discussed in subsequent drawings.
[0029] It should be noted that the structures, proportions, sizes, etc. illustrated in the drawings of this specification are only used to match the contents disclosed in the specification for people familiar with this technology to understand and read, and are not used to limit the limiting conditions for the implementation of the invention. Any modification of the structure, change of the proportion relationship or adjustment of the size should fall within the scope of the technical content disclosed by the invention without affecting the effects and purposes that can be achieved by the invention. The scope of the preferred embodiments of the present invention includes other implementations, in which the functions can be performed in a substantially simultaneous manner or in a reverse order according to the functions involved, which should be understood by those skilled in the art of the technical field to which the embodiments of the present invention belong.
[0030] Techniques, methods, and devices known to those of ordinary skill in the relevant art may not be discussed in detail, but where appropriate, the techniques, methods, and devices should be considered part of the authorization specification. In all examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not as limiting. Therefore, other examples of the exemplary embodiments may have different values. Example
[0031] See also Figure 1 As shown, this embodiment provides an application method of MCU on a power-generating mobile phone case, and the method is applied to a power-generating mobile phone case, and the power-generating mobile phone case is provided with a solar film, a microcontroller MCU, an MCU control switch and a backup battery.
[0032] S101, when the solar film is irradiated by light, it starts to generate electricity and stores the electricity in a backup battery in a trickle charging manner.
[0033] The solar power generation is a process of converting light energy into electrical energy through illumination, and storing the electrical energy in a backup battery for charging.
[0034] S102, during the power storage process, also includes: determining the battery charge state of the backup battery in the aforementioned power-generating mobile phone case through the aforementioned microcontroller MCU; at the same time, in combination with the charging method selected by the user, determining the peripheral state of the aforementioned power-generating mobile phone case, so that the aforementioned microcontroller MCU controls the backup battery to perform light charging, Type C charging, wireless charging or battery discharge.
[0035] In this embodiment, combined with Figure 2 As shown, the relevant structure of the power generation mobile phone case 200 is shown, wherein the solar film 201 is a flexible perovskite power generation film, which can generate photovoltaic power under light. In addition, the solar film can charge the backup battery at any time, especially can charge the backup battery at any time in the background, which is also the process of replenishing the backup battery.
[0036] As one of the preferred implementations of this embodiment, the power-generating mobile phone case is preferably equipped with a built-in flexible perovskite power-generating film. The flexible perovskite power-generating film serves as a solar film, and its display form on the power-generating mobile phone case is preferably a transparent full back panel covering to form a whole power-generating area, thereby maximizing the area of the solar film to increase power generation efficiency.
[0037] In addition, the display forms of the solar film on the power-generating mobile phone case also include being embedded in certain areas of the mobile phone case, such as the upper or middle part of the back of the power-generating mobile phone case, while the other parts remain the ordinary shell surface material; it can also be modularly installed on the back of the power-generating mobile phone case; it can also be embedded on the back of the power-generating mobile phone case through transparent materials (such as scratch-resistant transparent plastic) and integrated with the power-generating mobile phone case; it can also be integrated into the interior of the power-generating mobile phone case in a hidden manner, and the protective cover or transparent window is only opened to expose the solar film when charging is needed.
[0038] The microcontroller unit (MCU) is responsible for monitoring, controlling and managing various parameters of the battery. In this embodiment, the microcontroller MCU 202 is preferably a Microchip ATMega328PB (specifically configured as 32kB ROM, 1kB EEPROM, and 2kB SRAM).
[0039] The MCU controls the switch 203 to be able to be pressed single-click, double-click or long-pressed.
[0040] The backup battery 204 is a lithium-ion battery, which is used for photovoltaic power generation storage, Type C input energy storage and wireless charging reception energy storage, thereby providing a backup power supply for the mobile phone.
[0041] The power generating mobile phone case is also provided with a micro energy collection circuit, a Type C input interface, a wireless charging receiving circuit, a wireless charging transmitting circuit, a wireless charging transmitting end current detection circuit, a lithium ion battery charging circuit, a lithium ion battery discharging circuit and an indicator light.
[0042] When the solar film output voltage is above 0.5V and the power is above 15uW, the micro energy harvesting circuit enters / triggers an effective power generation state, at which time the micro energy harvesting circuit can store electrical energy in a backup battery; at the same time, the effective power generation state is fed back to the aforementioned microcontroller MCU through the MCU's input pin, and this event can wake up the microcontroller MCU as a specific interrupt source.
[0043] The Type C input interface can draw 9V3A or 5V3A power from the Type C charger and power the wireless charging transmitter circuit in Type C input mode.
[0044] The wireless charging receiving circuit is provided with a receiving end coil, and the wireless charging receiving circuit can obtain energy from the wireless charger and supply power to the wireless charging transmitting circuit in the wireless input mode.
[0045] The wireless charging transmitting circuit is provided with a transmitting end coil, and the wireless charging transmitting circuit can output electric energy to the mobile phone through wireless charging.
[0046] The wireless charging transmitting end current detection circuit can detect the wireless charging transmitting end input current.
[0047] The lithium-ion battery charging circuit can charge the backup battery.
[0048] The lithium-ion battery discharge circuit (for example, IP5306, for example, as an example and not a limitation) can boost the voltage of the lithium-ion battery and output it, and can supply power to the aforementioned wireless charging transmitting circuit in the battery discharge mode.
[0049] The indicator light includes a red-green dual-color LED and a blue LED; wherein the red-green dual-color LED is shared by the aforementioned micro-energy harvesting circuit and the microcontroller MCU, and the red-green dual-color LED can flash in red when the aforementioned solar film is in an effective power generation state (specifically, a narrow pulse every 5 seconds or so), or flash in red during the backup battery energy storage process (specific frequency is 1Hz, 2Hz or 0.5Hz, and the frequency is related to the remaining power of the backup battery); when the aforementioned backup battery is fully charged, the red-green dual-color LED turns green and is always on; the blue LED is used for status indication in battery discharge mode, and the specific frequency is 1Hz, 2Hz or 0.5Hz, and the frequency is related to the remaining power of the backup battery.
[0050] In this embodiment, the battery state of charge (SoC) of the backup battery refers to the ratio of the current power of the backup battery to its maximum capacity, preferably expressed as a percentage. The battery state of charge can directly reflect the remaining power of the backup battery and is used to manage and optimize the use of the battery.
[0051] As another preferred implementation of this embodiment, the microcontroller MCU can control the backup battery to perform light charging, Type C charging, wireless charging or battery discharge.
[0052] The light-seeing charging refers to the process of automatically starting the battery discharge mode of the backup battery to charge the mobile phone through the control of the microcontroller MCU when the power level of the backup battery is higher than a preset power threshold and the solar film is in an effective charging state.
[0053] The light-sensitive charging can be turned off by long pressing the MCU control switch after a single light-sensitive charging is activated, and the light-sensitive charging can also be turned on again by long pressing the MCU control switch in a battery management mode other than a battery discharge mode.
[0054] In this embodiment, the preset power threshold is 30% of the capacity of the backup battery. Assuming that the capacity of the backup battery is 3000 mAh, the preset power threshold is 900 mAh.
[0055] The Type C charging can charge the mobile phone battery and the backup battery on the power-generating mobile phone case at the same time when the Type C charger is connected.
[0056] The wireless charging can charge the mobile phone when the wireless charger is connected, and use the remaining power supply capacity to charge the backup battery on the power generation mobile phone case.
[0057] Among them, when Type C and wireless charger are connected at the same time, Type C charging is effective and the wireless charger is not used for power supply.
[0058] The battery discharge means that the battery discharge mode of the power generation mobile phone shell is turned on when the MCU control switch is clicked once, and the mobile phone is charged in a wireless transmission mode. Thereafter, the battery discharge mode is turned off when the MCU control switch is clicked once more.
[0059] In addition, in this embodiment, the power-generating mobile phone case can select the corresponding battery management mode to be executed through MCU control of the switch control and the microcontroller MCU's judgment of the peripheral status of the power-generating mobile phone case.
[0060] As for the peripheral device states mentioned in this embodiment, the peripheral device states include a standby state, a power generation state, a charging state, a charging state, and a protection state.
[0061] The standby state refers to the state that the mobile phone case enters when there is no charging demand or power generation activity, so as to save battery power to the greatest extent. In the standby state, the power generation and charging functions are turned off, and only the monitoring of the environment or the power of the mobile phone is maintained so that it can be quickly started when the demand is detected. In this embodiment, in the standby state, the corresponding battery management mode is preferably the idle mode.
[0062] The power generation state refers to when the power generation mobile phone case detects suitable power generation conditions (such as solar energy or motion energy), it enters the power generation state. In the power generation state, it can convert external light energy into electrical energy and store it in a backup battery, or directly charge the mobile phone, and continue to provide sufficient power for the power generation mobile phone case.
[0063] The charging state is that when the power of the mobile phone is detected to be below a certain threshold and needs to be charged, the power generation mobile phone case enters the battery discharge mode and transmits the stored power to the mobile phone. At this time, the power generation mobile phone case can control the charging rate to protect the health of the battery, and automatically exit the charging state by monitoring the power.
[0064] The waiting state is when the backup battery of the power generating mobile phone case is insufficient (for example, the current power of the backup battery is less than 30% of the backup battery capacity), the power generating mobile phone case enters the waiting state and stops light charging. In the waiting state, the power generating mobile phone case can preferably remind the user to charge it through an external power source (such as plugging in the mains) to ensure that the power generating mobile phone case itself has enough power to maintain the operation of other functions.
[0065] The protection state is that when an abnormal condition is detected (such as excessive temperature or unstable voltage), the power generation mobile phone case returns to Idle mode and suspends power generation and charging activities to avoid damaging the device or affecting user safety.
[0066] Combination Figure 3 As shown, the battery management modes include Idle mode, Type C input mode, battery discharge mode, wireless input mode and Sleep mode.
[0067] In this embodiment, the idle mode refers to the state that the power generation mobile phone case enters when there is no active task or demand; the idle mode enters the low-power sleep mode when there is no event. The idle mode is designed to maximize the battery life of the mobile phone case while maintaining the ability to respond quickly to external events (such as user input or charging requirements).
[0068] When the state of the aforementioned peripheral device changes, the first to fourth priority judgments are executed in sequence to determine whether the power generation mobile phone case enters the Type C input mode, the wireless input mode, the battery discharge mode turned on by clicking the MCU control switch, or the battery discharge mode turned on by exposure to light. Among them: The first priority judgment is that when the Type C end is inserted into the data cable and effectively powered, it switches to the Type C input mode, otherwise, the second priority judgment is performed.
[0069] The second priority judgment is to switch to the wireless input mode when it is confirmed that the wireless charger is connected, otherwise, the third priority judgment is performed.
[0070] The third priority judgment is that when there is an event of single-clicking the MCU control switch, the battery discharge mode is switched to be turned on by single-clicking the MCU control switch.
[0071] The fourth priority judgment is that when the battery power meets the threshold, there is effective light-induced power generation, and the light-induced charging function is in the on state, it switches to the light-induced battery discharge mode.
[0072] It is also worth mentioning that when the backup battery power is lower than a preset power threshold (for example, 30% of the backup battery capacity) and the solar film is generating electricity effectively, the solar energy storage mark is set.
[0073] When the power of the backup battery is higher than the preset power threshold (for example, 30% of the backup battery capacity), the solar film generates electricity effectively, and light charging is performed, the solar energy storage flag is not set. At this time, the light charging process flag is set, the light charging timer is set, and the light-activated battery discharge mode is entered.
[0074] Among them, the light-seeing charging timer is set to 15 seconds; if the light continues, the light-seeing charging timer is continuously reset to 15 seconds.
[0075] It is also worth mentioning that after switching to the corresponding Type C input mode, wireless input mode, battery discharge mode turned on by single-clicking the MCU control switch, or battery discharge mode turned on by exposure to light according to the aforementioned first-priority judgment to the fourth-priority judgment, when the first preset condition or the second preset condition is met, the battery management mode of the power-generating mobile phone case is reverted from the aforementioned Type C input mode, wireless input mode, battery discharge mode turned on by single-clicking the MCU control switch, or battery discharge mode turned on by exposure to light to the aforementioned Idle mode.
[0076] Among them, the first preset condition is that the temperature of the power-generating mobile phone case exceeds the preset temperature threshold range, and the second preset condition is that the Type C cable is unplugged, and after the wireless charger is removed, the lithium-ion battery discharge circuit stops working when the load is too low and other emergencies.
[0077] As one of the preferred implementations of this embodiment, in the Type C input mode, it specifically includes: When the temperature of the power generating mobile phone case does not exceed the temperature threshold range, the backup battery and the mobile phone are charged; when the temperature exceeds the aforementioned temperature threshold range, the idle mode is returned. In this embodiment, the temperature threshold range is preferably 0-60 degrees Celsius.
[0078] Monitor whether the Type C data cable is unplugged, and return to Idle mode if it is unplugged.
[0079] Alternatively, the backup battery power level is detected. When the backup battery is not fully charged, the red and green dual-color LED flashes red, and the flashing frequency is determined according to the battery power range. When the backup battery is fully charged, the LED turns solid green.
[0080] In the battery discharge mode, specifically including: The aforementioned lithium-ion battery discharge circuit is turned on, and at this time, the backup battery is discharged to wirelessly charge the mobile phone.
[0081] When it is detected that the lithium-ion battery discharge circuit has shut down its output, the system returns to the idle mode.
[0082] When there is a single or double-click event of the MCU controlled switch, the lithium-ion battery discharge circuit is turned off and the mode returns to Idle mode.
[0083] Alternatively, when a Type C or wireless charger is connected, the lithium-ion battery discharge circuit is turned off and the device returns to Idle mode. At the same time, the blue light flashes, and the flashing frequency is determined according to the battery power range.
[0084] In addition, it is worth mentioning that if the battery discharge mode is entered through light charging, the light charging timer will be reset to 15 seconds if there is continuous light. If the light charging timer reaches 15 seconds, the lithium-ion battery discharge circuit will be turned off and the system will return to Idle mode.
[0085] If the backup battery is discharged to less than 30% of the backup battery capacity, the lithium-ion battery discharge circuit is turned off and the system returns to Idle mode.
[0086] At this time, the flashing frequency of the blue light is determined according to the backup battery power. If the battery power is exhausted, the lithium-ion battery discharge circuit is turned off and the system returns to Idle mode.
[0087] It is worth emphasizing again here that in the light-on battery discharge mode, when the backup battery power is less than 30%, the battery discharge mode automatically stops. When the backup battery power is less than 30%, the solar film is effectively charged and the solar energy storage mark is set. At this time, even if the power is charged to more than 30% of the backup battery capacity, light charging will not be triggered unless the user uses Type C or wireless charging.
[0088] In the wireless input mode, if the temperature exceeds the preset threshold range (0-60 degrees Celsius), it will return to the Idle mode. At this time, it is a wireless receiving mode, which monitors the current of the wireless transmitter and decides whether to recharge the backup battery and the recharging current while starting the wireless charging for the mobile phone. Specifically, it includes: Detect whether the wireless charger is removed and return to Idle mode if removed.
[0089] Detect the backup battery power. When it is not fully charged, the red and green dual-color LED flashes red. The flashing frequency is determined according to the battery power range. When it is fully charged, it turns to solid green.
[0090] Or, return to Idle mode when Type C is connected.
[0091] In the Sleep mode, the microcontroller MCU enters a low power consumption state; at this time, the microcontroller MCU will be awakened only when a specific interrupt source occurs; the specific interrupt source includes Type C access, wireless charger access and effective power generation of solar film.
[0092] As another preferred implementation of this embodiment, in order to ensure the robustness of the power generation mobile phone case, the switching between the battery management modes must be switched through the Idle mode. For example, in the battery discharge mode, it is detected that the Type C charger is inserted. At this time, the battery discharge mode is first turned off, the Idle mode is entered, and then the Type C input mode is entered from the Idle mode.
[0093] When switching between modes, the corresponding hardware switches switch the related circuit units to avoid hardware conflicts and short circuits. In this embodiment, these hardware switches are composed of MOSFET (Metal-Oxide-Semiconductor Field-EffectTransistor, Metal Oxide Semiconductor Field Effect Transistor, referred to as MOSFET), and the on and off of the circuit are controlled by MOSFET. The on and off of MOSFET are controlled by the microcontroller MCU. Among them, the state of each voltage is obtained by the voltage detection MOSFET to generate a switch signal, or by measuring the ADC pin of the microcontroller MCU.
[0094] Preferably, when the aforementioned solar film is exposed to light, it also includes: When the power of the backup battery exceeds a preset power threshold (i.e., 30% of the capacity of the backup battery), light charging is started, and the power of the backup battery is transferred to the mobile phone battery.
[0095] When the power level of the aforementioned backup battery is lower than the preset power threshold (i.e. 30% of the backup battery capacity), light charging is turned off. At this time, if you choose to recharge the backup battery in the form of light energy, light charging will not be turned on even if the preset power threshold is exceeded. In order to facilitate the energy storage needs of outdoor applications, the light energy storage process can continue until the backup battery is fully charged. Only after the user performs the charging operation again through Type C or wireless charging, can light charging be turned on after exceeding the preset power threshold.
[0096] As another preferred implementation manner of this embodiment, the microcontroller MCU controls the solar film to stop generating electricity when the solar film stops receiving light irradiation for a preset irradiation stopping time.
[0097] As an example and not a limitation, when the solar film stops receiving light for 15 seconds, the MCU automatically stops the solar film from generating electricity by light, and automatically shuts down the light charging effect of the power-generating mobile phone case. As an example, when the solar film stops receiving light for 15 seconds, the MCU automatically stops the solar film from generating electricity by light. At this time, the light charging effect changes from the red and green dual-color LED flashing red light to stopping flashing.
[0098] When the microcontroller MCU detects that the Type C data cable is connected, it turns on the AC power charging to charge the backup battery; when it is not fully charged, the red and green dual-color LED flashes red, and changes to green when it is fully charged. Or, When the microcontroller MCU detects the current at the wireless transmitter, the wireless charging mode is turned on to charge the backup battery. The red and green dual-color LED flashes red when not fully charged, and changes to green when fully charged.
[0099] In the above description, within the scope of the target protection of the present disclosure, the components can be selectively and operatively combined in any number. In addition, terms such as "including", "comprising" and "having" should be interpreted as inclusive or open by default, rather than exclusive or closed, unless they are explicitly defined to the contrary. All technical, scientific or other terms have the meaning understood by those skilled in the art unless they are defined to the contrary. Common terms found in dictionaries should not be interpreted too idealistically or too impractically in the context of relevant technical documents, unless the present disclosure explicitly defines them as such.
[0100] Although the exemplary aspects of the present disclosure have been described for illustrative purposes, those skilled in the art should appreciate that the above description is only a description of the preferred embodiments of the present invention and is not intended to limit the scope of the present invention. The scope of the preferred embodiments of the present invention includes other implementations in which functions may not be performed in the order in which they appear or are discussed. Any changes or modifications made by those skilled in the art based on the above disclosure are within the scope of the claims.
Claims
1. A method for applying MCU to a power generation mobile phone case, characterized in that: The method is applied to a power-generating mobile phone case, which is provided with a solar film, a microcontroller MCU, an MCU-controlled switch and a backup battery; When the solar film is exposed to light, it starts to generate electricity by light, and stores the electricity in the backup battery in a trickle charging manner; the solar power generation is a process of converting light energy into electrical energy through light, and storing the electrical energy in the backup battery for charging; During the power storage process, the battery charge state of the backup battery in the aforementioned power-generating mobile phone case is determined by the aforementioned microcontroller MCU; at the same time, in combination with the charging method selected by the user, the peripheral state of the aforementioned power-generating mobile phone case is determined, so that the aforementioned microcontroller MCU controls the backup battery to perform light charging, Type C charging, wireless charging or battery discharge; wherein, the light charging refers to the process of automatically turning on the battery discharge mode of the backup battery to charge the mobile phone through the control of the microcontroller MCU when the power of the backup battery is higher than the preset power threshold and the solar film is in an effective charging state.
2. The method according to claim 1, characterized in that The solar film is a flexible perovskite power generation film, which can generate photovoltaic power under light; and the solar film can charge the backup battery at any time; The backup battery is a lithium-ion battery, which is used for photovoltaic power generation storage, Type C input energy storage and wireless charging reception energy storage, thereby providing backup power for the mobile phone; The MCU controls the switch to be able to be single-clicked, double-clicked or long-pressed; The power generating mobile phone case is also provided with a micro energy collection circuit, a Type C input interface, a wireless charging receiving circuit, a wireless charging transmitting circuit, a wireless charging transmitting end current detection circuit, a lithium ion battery charging circuit, a lithium ion battery discharging circuit and an indicator light.
3. The method according to claim 2, characterized in that When the solar film output voltage is above 0.5V and the power is above 15uW, the micro energy harvesting circuit enters / triggers an effective power generation state, at which time the micro energy harvesting circuit can store electric energy in a backup battery; at the same time, the effective power generation state is fed back to the aforementioned microcontroller MCU through the input pin of the MCU; The Type C input interface can draw 9V3A or 5V3A power from the Type C charger and power the wireless charging transmitter circuit in the Type C input mode; The wireless charging receiving circuit can obtain energy from the wireless charger and supply power to the wireless charging transmitting circuit in the wireless input mode; The wireless charging transmitting circuit can output electric energy to the mobile phone through wireless charging; The wireless charging transmitter current detection circuit is capable of detecting the input current of the wireless charging transmitter; The lithium-ion battery charging circuit can charge the backup battery; The lithium-ion battery discharge circuit can boost the lithium-ion battery voltage for output, and can supply power to the aforementioned wireless charging transmission circuit in the battery discharge mode; The indicator light includes a red-green dual-color LED and a blue LED; wherein the red-green dual-color LED is shared by the aforementioned micro energy harvesting circuit and the microcontroller MCU, and the red-green dual-color LED can flash in red when the aforementioned solar film is in an effective power generation state, or flash in red during the backup battery energy storage process; when the aforementioned backup battery is fully charged, the red-green dual-color LED turns green and is always on; the blue LED is used for status indication in battery discharge mode.
4. The method according to claim 1, characterized in that: The light-sensitive charging can be turned off by long pressing the MCU control switch after a single light-sensitive charging is activated; The Type C charging can charge the mobile phone battery and the backup battery on the power-generating mobile phone case at the same time when the Type C charger is connected; The wireless charging can charge the mobile phone when the wireless charger is connected, and use the remaining power supply capacity to charge the backup battery on the power generation mobile phone case; wherein, when the Type C and the wireless charger are connected at the same time, the Type C charging is effective, and the wireless charger is not used for power supply at this time; The battery discharge refers to turning on the battery discharge mode of the power generation mobile phone case when the MCU control switch is clicked once, and the mobile phone is charged in a wireless transmission manner.
5. The method according to claim 2, characterized in that: When determining the peripheral status of the aforementioned power-generating mobile phone case, the corresponding battery management mode can be selected; wherein, the battery management mode includes Idle mode, Type C input mode, battery discharge mode, wireless input mode and Sleep mode.
6. The method according to claim 5, characterized in that When there is no event in the Idle mode, the system switches to the low-power Sleep mode. When the state of the aforementioned peripheral device changes, the first to fourth priority judgments are executed in sequence to determine whether the power generation mobile phone case enters the Type C input mode, the wireless input mode, the battery discharge mode turned on by clicking the MCU control switch, or the battery discharge mode turned on by seeing light; wherein, The first priority judgment, that is, when the Type C end is plugged into the data cable and effectively powered, switch to the Type C input mode, otherwise, perform the second priority judgment; The second priority judgment is to switch to the wireless input mode when the wireless charger is confirmed to be connected, otherwise, the third priority judgment is executed; The third priority judgment is that when there is a single-click event of the MCU control switch, the battery discharge mode is switched to the battery discharge mode turned on by single-clicking the MCU control switch; The fourth priority judgment is that when the battery power meets the threshold, there is effective light-induced power generation, and the light-induced charging function is turned on, it switches to the light-induced battery discharge mode.
7. The method according to claim 6, characterized in that After switching to the corresponding Type C input mode, wireless input mode, battery discharge mode activated by single-clicking the MCU control switch, or battery discharge mode activated by exposure to light according to the aforementioned first priority judgment to the fourth priority judgment, when the first preset condition or the second preset condition is met, the battery management mode of the power generation mobile phone case is reverted from the aforementioned Type C input mode, wireless input mode, battery discharge mode activated by single-clicking the MCU control switch, or battery discharge mode activated by exposure to light to the aforementioned Idle mode; wherein, The first preset condition is that the temperature of the power generating mobile phone case exceeds a preset temperature threshold range. The second preset condition is that after the Type C cable is unplugged and the wireless charger is removed, the lithium-ion battery discharge circuit stops working when the load is too low.
8. The method according to claim 6, characterized in that In the Type C input mode, specifically including: When the temperature of the power generating mobile phone case does not exceed the temperature threshold range, the backup battery and the mobile phone are charged; If the temperature exceeds the above threshold range, it will return to Idle mode; Monitor whether the Type C data cable is unplugged, and return to Idle mode when it is unplugged; or, Detect the backup battery power. When it is not fully charged, the red and green dual-color LED will flash red, and the flashing frequency will be determined according to the battery power range. When it is fully charged, it will turn to solid green. In the battery discharge mode, specifically including: The aforementioned lithium-ion battery discharge circuit is turned on, at which time the backup battery is discharged to wirelessly charge the mobile phone; When it is detected that the lithium-ion battery discharge circuit is shutting down, the system returns to the idle mode. When there is a single-click or double-click MCU control switch event, the lithium-ion battery discharge circuit is turned off and the mode returns to Idle mode; or, When a Type C or wireless charger is connected, the lithium-ion battery discharge circuit is turned off and the mode returns to Idle mode. At the same time, the blue light flashes, and the flashing frequency is determined according to the battery power range. In the wireless input mode, it specifically includes: Monitor whether the wireless charger is removed and return to Idle mode if removed; Check the backup battery power. When it is not fully charged, the red and green LED flashes red, and the flashing frequency is determined according to the battery power range. When it is fully charged, it turns to green and lights up steadily; or, When Type C is connected, it returns to Idle mode; In the Sleep mode, the microcontroller MCU enters a low power consumption state; at this time, the microcontroller MCU will be awakened only when a specific interrupt source occurs; the specific interrupt source includes Type C access, wireless charger access and effective power generation of solar film.
9. The method according to claim 1, characterized in that: When the aforementioned solar film is exposed to light, it also includes: When the power level of the backup battery exceeds a preset power threshold, light-sensitive charging is initiated, and the power of the backup battery is transferred to the mobile phone battery; When the power level of the aforementioned backup battery is lower than the preset power threshold, light charging is turned off; at this time, if you choose to recharge the backup battery in the form of light energy, light charging will not be turned on even if it exceeds the preset power threshold. It will not be turned on until the user performs a charging operation again through Type C or wireless charging, and then light charging can be turned on after exceeding the preset power threshold.
10. The method according to claim 1, characterized in that The power generating mobile phone case is also provided with a watchdog timer. In the case where the watchdog timer is not reset by software, the watchdog timer can reset the microcontroller MCU after exceeding a preset reset time.
11. The device for applying the MCU to a power generation mobile phone case according to any one of the methods described in claims 1-10, characterized in that: The device is applied to a power generation mobile phone case provided with a solar film, a microcontroller MCU, an MCU-controlled switch and a backup battery; the device comprises a power storage unit and a power transfer unit; wherein, The power storage unit is used to generate electricity when the solar film is exposed to light, and store the electricity in a backup battery in a trickle charging manner; The power transfer unit is used to determine the battery charge state of the backup battery in the aforementioned power-generating mobile phone case through the aforementioned microcontroller MCU during the power storage process; at the same time, combined with the charging method selected by the user, determine the peripheral state of the aforementioned power-generating mobile phone case, so that the aforementioned microcontroller MCU controls the backup battery to perform light charging, Type C charging, wireless charging or battery discharge.
12. The device according to claim 11, characterized in that The device is also provided with an input interface unit, which can obtain different voltages and currents from the charger through a protocol handshake with the charger.
13. An application system of the MCU in a power generation mobile phone case according to any one of the methods described in claims 1-10, the system comprising a mobile phone case and a mobile phone, characterized in that: The mobile phone case is a power generation mobile phone case, wherein: The mobile phone case is configured to: start to generate electricity by light when the solar film is exposed to light, and store the electricity in a backup battery in a trickle charging manner; during the electricity storage process, determine the battery charge state of the backup battery in the power generation mobile phone case by the microcontroller MCU; at the same time, determine the peripheral state of the power generation mobile phone case in combination with the charging method selected by the user, so that the microcontroller MCU controls the backup battery to perform light charging, Type C charging, wireless charging or battery discharge; The mobile phone is equipped with a battery management system, and the mobile phone is configured to: when the backup battery in the aforementioned mobile phone case is charged by light, Type C charging, wireless charging or battery discharge, the battery management system cooperates to realize the coordinated operation of the mobile phone charging mode.
Citation Information
Patent Citations
Passive energy storage rechargeable mobile phone shell, mobile phone kit and mobile phone charging method
CN106790865A
Solar 4G environment-friendly mobile phone
CN102413211A
Method and apparatus for processing automobile multifunctional charger data by microprocessor
CN108092368A
Solar energy and thermoelectric generation smart mobile phone shell
CN204615887U
Solar wireless charging mobile phone shell
CN210381004U