Charging circuit control method, controller and charger

By intelligently judging the user's charging habits and automatically adjusting the working mode of the charging circuit, it solves the problem that existing chargers cannot charge reasonably, extends battery life and improves charging efficiency.

CN119275973APending Publication Date: 2025-01-07DONGGUAN AOHAI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411678562.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-22
Publication Date
2025-01-07

AI Technical Summary

Technical Problem

The existing chargers cannot intelligently identify usage scenarios, resulting in the inability to charge in a reasonable state of charging, affecting battery life.

Method used

By obtaining information about the charging circuit, we judge the user's charging habits, and control the charging circuit to enter the corresponding working mode according to the judgment results, such as slow charging or fast charging, to ensure that charging is carried out with reasonable power during the charging process.

Benefits of technology

It realizes automatic adjustment of the charging mode according to the user's charging habits, extending battery life, improving charging efficiency, and avoiding unnecessary fast charging damage to the battery.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119275973A_ABST
    Figure CN119275973A_ABST
Patent Text Reader

Abstract

The invention discloses a control method of a charging circuit, a controller and a charger. The control method of the charging circuit comprises the following steps: acquiring first charging information of the charging circuit; performing target charging habit judgment based on the first charging information to obtain a charging habit judgment result; if the charging habit judgment result is that the target charging habit exists, controlling the charging circuit to enter a first target working mode, and obtaining second charging information of the charging circuit; and if the second charging information satisfies a termination condition corresponding to the first target working mode, controlling the charging circuit to exit the first target working mode. According to the invention, the controller can judge whether the target charging habit exists or not by detecting the first charging information, and enables the charging circuit to work according to the first target working mode when the target charging habit exists, so that the charging circuit carries out charging at reasonable charging power in the charging process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of chargers, and in particular to a control method, a controller and a charger for a charging circuit. Background Art

[0002] In order to meet the needs of users, fast charging technology of chargers is becoming more and more mature, and high-power fast charging has become an indispensable function of chargers. The charging circuit in the charger can output a higher charging power when working in the fast charging state, so as to significantly improve the charging efficiency and charge the device to be charged with high power in a short time. However, this fast charging state will cause the battery of the device to be charged to heat up, cause battery aging, and affect the battery life. When the user has enough time to charge, such as charging during sleep time, the charging circuit is best to use a slow charging state to charge the device to be charged to increase the battery life. How to intelligently identify the usage scenario so that the charging circuit adopts a reasonable charging state for charging is a problem that needs to be solved in this field. Summary of the invention

[0003] The embodiments of the present invention provide a control method, a controller and a charger for a charging circuit, so as to solve the problem that the existing charger cannot intelligently identify the usage scenario and adopt a reasonable charging state for charging.

[0004] An embodiment of the present invention provides a control method for a charging circuit, including: Acquiring first charging information of a charging circuit; Performing target charging habit judgment based on the first charging information, and obtaining a charging habit judgment result; If the charging habit judgment result is that there is a target charging habit, controlling the charging circuit to enter a first target working mode and obtaining second charging information of the charging circuit; If the second charging information satisfies the termination condition corresponding to the first target operating mode, the charging circuit is controlled to exit the first target operating mode.

[0005] Preferably, the step of determining the target charging habit based on the first charging information and obtaining the charging habit determination result includes: Counting a first target ratio of the target charging times corresponding to the target charging process to the total charging times within a historical detection period, wherein the target charging process is a charging process in which the first charging information satisfies the target charging condition; If the first target ratio is greater than a first ratio threshold, determining that the charging habit determination result is that a target charging habit exists; If the first target ratio is not greater than a first ratio threshold, it is determined that the charging habit determination result is that there is no target charging habit.

[0006] Preferably, the target charging habit includes a sleep charging habit; the target charging process includes a sleep charging process; the target charging times include a sleep charging times; the first target working mode includes a slow charging working mode; the first charging information includes a maximum charging power of the charging circuit and a duration of a full-charge state; The target charging condition includes that the maximum charging power of the charging circuit is greater than a first preset power, and the duration of the full-charged state is greater than a first preset time threshold, or that the maximum charging power of the charging circuit is not greater than the first preset power, and the duration of the full-charged state is greater than a second preset time threshold.

[0007] Preferably, the obtaining of first charging information of a charging circuit includes: Acquire the output power of the charging circuit, and based on the output power, acquire the maximum charging power of the charging circuit; If the output power of the charging circuit is less than the second preset power, it is determined that the charging circuit is in a fully charged state, and a duration of the charging circuit being in the fully charged state is obtained.

[0008] Preferably, the second charging information includes a current change rate in a current sampling period; The termination condition corresponding to the first target operating mode includes: the current change rate is greater than a first preset change rate.

[0009] Preferably, the second charging information includes a charging mode instruction; The termination condition corresponding to the first target operating mode includes that the charging mode instruction is a first target operating mode termination instruction.

[0010] Preferably, after controlling the charging circuit to exit the first target working mode, the method for controlling the charging circuit further includes: The charging circuit is controlled to enter a second target operating mode.

[0011] An embodiment of the present invention further provides a controller, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the control method of the charging circuit as described in any one of the above when executing the computer program.

[0012] An embodiment of the present invention further provides a charger, comprising a charging circuit and the above-mentioned controller; One end of the charging circuit is used to connect to the mains power supply, and the other end is used to connect to the device to be charged; The controller is connected to the charging circuit and is used to obtain charging information and control the operation of the charging circuit according to the charging information.

[0013] Preferably, the charger further comprises a voice recognition module; The voice recognition module is connected to the controller and is used to send a charging mode instruction to the controller according to the received audio information.

[0014] The control method, controller, and charger of the charging circuit provided by the embodiment of the present invention can determine whether there is a target charging habit by detecting the first charging information, and when the target charging habit exists, the charging circuit operates according to the first target working mode. The controller can also detect the second charging information of the charging circuit in the first target working mode to determine whether the target charging habit is broken, and exit the first target working mode in time, so that the charging circuit is charged at a reasonable charging power during the charging process. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.

[0016] Figure 1 is a schematic diagram of a block diagram of a charger in one embodiment of the present invention; Figure 2 is a flow chart of a control method of a charging circuit in one embodiment of the present invention; Figure 3 is another flow chart of a method for controlling a charging circuit in one embodiment of the present invention; Figure 4 is another flow chart of a method for controlling a charging circuit in one embodiment of the present invention.

[0017] In the figure: 1. Charging circuit; 2. Controller; 3. AC power supply; 4. Device to be charged; 5. Voice recognition module. DETAILED DESCRIPTION

[0018] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0019] The control method of the charging circuit provided in the embodiment of the present invention can be applied as follows: Figure 1Specifically, the control method of the charging circuit is applied in a charger, which includes: Figure 1 The charging circuit 1 and the controller 2 shown are connected to the charging circuit 1 and are used to obtain charging information of the charging circuit 1 when it is working, and control the operation of the charging circuit 1 according to the charging information.

[0020] In one embodiment, if Figure 2 As shown, a control method for a charging circuit is provided, and the method is applied in Figure 1 The controller 2 in the example is used as an example to illustrate the process, which includes the following steps: S201: Acquire first charging information of a charging circuit; S202: determining a target charging habit based on the first charging information, and obtaining a charging habit determination result; S203: If the charging habit determination result is that the target charging habit exists, controlling the charging circuit to enter the first target working mode and obtaining second charging information of the charging circuit; S204: If the second charging information satisfies the termination condition corresponding to the first target operating mode, control the charging circuit to exit the first target operating mode.

[0021] The target charging habit refers to a charging pattern exhibited by the user during the N charging processes, including a sleeping charging habit or an office charging habit with a regular charging scenario.

[0022] Among them, the first target working mode is a pre-set working mode corresponding to the target charging habit. The working mode specifies the charging protocol, charging power and charging state adopted by the charger, and may include a fast charging working mode and a fast charging working mode. Specifically, the slow charging working mode may include that the controller controls the charging circuit 1 to communicate with the device to be charged according to the preset slow charging protocol (such as QC1.0) in accordance with the first preset working strategy, so that the charging circuit 1 works in a slow charging state or a trickle charging state or a full charging state according to the charging requirements; the fast charging working mode may include that the controller communicates with the device to be charged according to the preset fast charging protocol (such as PD2.0) in accordance with the second preset working strategy, so that the charging circuit 1 works in a fast charging state or a trickle charging state or a full charging state according to the charging requirements. When the charging circuit 1 is powered on for the first time, the controller 2 sets the charging circuit 1 to the fast charging working mode for charging by default.

[0023] As an example, in step S201, before the current charging process starts, the controller 2 obtains the first charging information of the charging circuit 1 in the historical N (N≥10) charging processes. The first charging information is used to determine whether the charging circuit 1 has a target charging habit in the historical N charging processes. For example, the first charging information can be the full charging time of each of the historical N charging processes. Among them, a charging process starts with the device to be charged 4 connecting to the charging circuit 1 for charging and ends with the device to be charged 4 disconnecting the charging circuit 1 to stop charging.

[0024] As an example, in step S202, before the current charging process starts, the controller 2 performs a target charging habit judgment on the charging circuit 1 based on the first charging information of the charging circuit 1 in the historical N charging processes, and obtains a charging habit judgment result. For example, if in the historical N charging processes, the full charging time of each time is greater than a preset time, such as 5 hours, then it is determined that the charging circuit 1 has a target charging habit in the historical N charging processes.

[0025] As an example, in step S203, if the charging habit judgment result is that there is a target charging habit, it means that the user is accustomed to using the charging circuit 1 to charge the charging device 4 in a certain scenario (such as a sleeping scenario / working scenario). At this time, the controller 2 controls the charging circuit 1 to work in the first target working mode at the beginning of this charging process, such as a slow charging working mode, and locks the maximum charging power to a smaller preset charging power for charging, so as to extend the charging time and reduce damage to the battery. At the same time, when the charging circuit 1 works in the first target working mode, the controller 2 also continuously obtains the second charging information of the charging circuit 1, and the second charging information is used to detect whether the charging circuit 1 meets the termination condition corresponding to the first target working mode. When the controller 2 detects that the charging circuit 1 meets the termination condition corresponding to the first target working mode according to the second charging information, it proves that the charging circuit 1 has broken the target charging habit and needs to exit the first target working mode.

[0026] As an example, in step S204, when the controller 2 detects that the charging circuit 1 meets the termination condition corresponding to the first target working mode according to the second charging information and needs to exit the first target working mode, the controller 2 controls the charging circuit 1 to exit the first target working mode, so that during the entire charging process, the charging circuit 1 operates in a reasonable working mode and can be charged with a reasonable charging power. Furthermore, after controlling the charging circuit 1 to exit the first target working mode, the controller 2 can continue to control the charging circuit 1 to enter the second target working mode. For example, when the first target working mode is the slow charging working mode, the controller 2 can continue to control the charging circuit 1 to enter the fast charging working mode when controlling the charging circuit 1 to exit the slow charging working mode, so that the charging circuit 1 charges the charging device according to the maximum allowed charging power to prevent affecting the charging efficiency.

[0027] In this example, the controller 2 can determine whether there is a target charging habit by detecting the first charging information, and when the target charging habit exists, the charging circuit 1 operates in the first target working mode. The controller 2 can also detect the second charging information of the charging circuit 1 in the first target working mode to determine whether the target charging habit is broken, and exit the first target working mode in time, so that it can charge at a reasonable charging power during the charging process.

[0028] In one embodiment, step S202, i.e., performing target charging habit determination based on the first charging information and obtaining a charging habit determination result, includes: S301: Counting a first target ratio of the target charging times corresponding to the target charging process to the total charging times within a historical detection period, wherein the target charging process is a charging process whose first charging information satisfies a target charging condition; S302: If the first target ratio is greater than the first ratio threshold, determining that the charging habit determination result is that the target charging habit exists; S303: If the first target ratio is not greater than the first ratio threshold, determining that the charging habit determination result is that the target charging habit does not exist.

[0029] Among them, the historical detection cycle is a pre-set detection cycle for determining whether there is a target charging habit in the historical charging process. The historical detection cycle may include a preset time period, such as the past 240 hours, at which time the total number of charging times is the sum of the number of charging times in the past 24 hours. The historical detection cycle may also include N consecutive charging processes in history (N≥10), at which time the total number of charging times is N. The target charging process is the charging process in which the first charging information meets the target charging condition. The first ratio threshold is a threshold used to determine whether there are more target charging processes within the historical detection cycle.

[0030] As an example, in step S301, the controller 2 records the charging process in which the first charging information meets the target charging condition within the historical detection cycle as the target charging process. After a historical detection cycle ends and before the current charging process starts, the controller 2 counts the target charging times corresponding to the target charging process within the entire historical detection cycle, and then calculates the first target ratio of the target charging times to the total charging times, and compares the first target ratio with the first ratio threshold to determine whether there are more target charging processes within the historical detection cycle, so as to determine whether there is a target charging habit.

[0031] As an example, in step S302 , when the first target ratio is greater than the first ratio threshold, the controller 2 determines that there are more target charging processes in the historical detection period, and further determines that the charging circuit 1 has a target charging habit.

[0032] As an example, in step S303, when the first target ratio is not greater than the first ratio threshold, the controller 2 determines that the target charging process is small in the historical detection period and there is no target charging habit.

[0033] In one embodiment, the target charging habit includes a sleep charging habit; the target charging process includes a sleep charging process; the target charging times includes a sleep charging times; and the first target working mode includes a slow charging working mode.

[0034] As an example, when the target charging habit is a sleep charging habit, the controller 2 records the charging process in which the first charging information meets the target charging condition within the historical detection cycle as a sleep charging process. After a historical detection cycle ends and before the current charging process begins, the controller 2 counts the number of sleep charging times corresponding to the sleep charging process within the entire historical detection cycle, and then calculates the first target ratio of the number of sleep charging times to the total number of charging times, and compares the first target ratio with the first ratio threshold. When the first target ratio is greater than the first ratio threshold, it is determined that there are more sleep charging processes within the historical detection cycle, and then it is determined that the charging circuit 1 has a sleep charging habit, otherwise, it does not exist. When the charging circuit 1 has a sleep charging habit, the controller 2 controls the charging circuit 1 to operate in a slow charging mode, so that the charging power of the charging circuit 1 adapts to the user's charging habits, and charges at a reasonable charging power to prevent fast charging when unnecessary, which affects the battery life.

[0035] In this embodiment, the first charging information includes the maximum charging power of the charging circuit 1 and the duration of the full-charged state; the target charging condition includes that the maximum charging power of the charging circuit 1 is greater than the first preset power, and the duration of the full-charged state is greater than the first preset time threshold, or the maximum charging power of the charging circuit 1 is not greater than the first preset power, and the duration of the full-charged state is greater than the second preset time threshold.

[0036] The maximum charging power of the charging circuit 1 is the peak charging power of the charging circuit 1 in a charging process. The duration of the fully charged state is the total duration of the state in which the battery of the device to be charged 4 is fully charged but the charging connection is not disconnected in a charging process of the charging circuit 1.

[0037] As an example, the first charging information includes the maximum charging power of the charging circuit 1 and the duration of the full-charge state in each charging process within the historical detection cycle. When the target charging habit is the sleep charging habit, the target charging condition for determining whether a charging process is a sleep charging process specifically includes that in a charging process, the maximum charging power of the charging circuit 1 is greater than the first preset power, and the duration of the full-charge state is greater than the first preset time threshold, that is, in a certain charging process, if the charging power peak value of the charging circuit 1 in the entire charging process is greater than the first preset power, and the duration of the full-charge state is greater than the first preset time threshold, it indicates that the charging process is a sleep charging process, otherwise it is not a sleep charging process. Alternatively, in a charging process, the maximum charging power of the charging circuit 1 is not greater than the first preset power, and the duration of the full-charge state is greater than the second preset time threshold, that is, in a certain charging process, if the charging power peak value of the charging circuit 1 in the entire charging process is not greater than the first preset power, and the duration of the full-charge state is greater than the second preset time threshold, it indicates that the charging process is also a sleep charging process, otherwise it is not a sleep charging process. Among them, the first preset power is a power threshold used to determine whether the charging circuit 1 is currently in a slow charging working mode or a fast charging working mode during the charging process. For example, the first preset power can be 20W. When the maximum charging power is greater than 20W, the charging circuit 1 works in the fast charging working mode during the charging process. When the maximum charging power is not greater than 20W, the charging circuit 1 works in the slow charging working mode during the charging process. Since the time required to fully charge the battery is different under the same battery remaining power state when the same device to be charged is charged in the slow charging working mode and the fast charging working mode, it is necessary to set the first preset time threshold and the second preset time threshold to distinguish and judge the fast charging working mode and the first target working mode. The first preset time threshold is the time threshold corresponding to the fast charging working mode for determining whether the charging process is a sleep charging process, and the second preset time threshold is the time threshold corresponding to the slow charging working mode for determining whether the charging process is a sleep charging process. For example, if the charging power peak value of the charging circuit 1 in the entire charging process is greater than the first preset power (20W), and the duration of the full-charged state is greater than the first preset time threshold (5 hours), it indicates that the charging process is a sleep charging process, or, if the charging power peak value of the charging circuit 1 in the entire charging process is not greater than the first preset power (20W), and the duration of the full-charged state is greater than the second preset time threshold (3 hours), it indicates that the charging process is also a sleep charging process.

[0038] In one embodiment, step S301, i.e., when the charging circuit 1 is in the fast charging working mode, obtaining first charging information of the charging circuit 1, includes: S401: Obtain output power of a charging circuit, and based on the output power, obtain a maximum charging power of the charging circuit; S402: If the output power of the charging circuit is less than the second preset power, determine that the charging circuit is in a fully charged state, and obtain a duration of the charging circuit being in the fully charged state.

[0039] As an example, in step S401, in each charging process within the historical detection cycle, the controller obtains the output power of the charging circuit 1, and uses the peak value of the output power of the charging circuit 1 in a charging process as the maximum charging power of the charging process.

[0040] The second preset power is a power threshold for judging whether the battery of the device to be charged 4 is fully charged during the charging process, for example, 0.3 W. When the battery of the device to be charged 4 is fully charged, the charging circuit 1 still needs to continue to provide a small current to maintain the power supply state of the device to be charged 4 to ensure that the battery power of the device to be charged 4 will not decrease due to self-discharge. Therefore, by judging whether the output power is less than the second power threshold, it can be judged whether the charging circuit 1 is in a fully charged state.

[0041] As an example, in step S402, in each charging process within the historical detection cycle, the controller obtains the output power of the charging circuit 1. If in a certain charging process, the controller 2 detects that the output power of the charging circuit 1 is less than the second preset power, it can be determined that in this charging process, the battery of the charged device 4 has been fully charged, but the charging connection with the charging circuit 1 has not been disconnected, that is, the charging circuit 1 has entered the full charging state in this charging process. At this time, the controller 2 starts to calculate the duration of the full charging state until the entire charging process is completed, so as to measure the duration of the charging circuit 1 in the full charging state in this charging process.

[0042] In one embodiment, the second charging information includes a current change rate in a current sampling period; and the termination condition corresponding to the first target operating mode includes that the current change rate is greater than a first preset change rate.

[0043] As an example, when there is a sleep charging habit, the controller 2 controls the charging circuit 1 to work in the slow charging mode at the beginning of this charging process. During the charging process, the controller 2 continues to obtain the current output current of the charging circuit 1 according to the preset sampling frequency, and calculates the current change rate of the current output current within a sampling cycle based on the preset sampling cycle. Since the charging current output by the charging circuit 1 to the device to be charged 4 will change when the device to be charged 4 is used, the controller 2 can indirectly determine whether the device to be charged 4 is used by calculating the current change rate of the current output current within a sampling cycle, and judging whether the current change rate is greater than the first preset change rate, and then judge whether the sleep charging habit is broken. Therefore, when the current change rate is greater than the first preset change rate, it proves that the device to be charged 4 is in use, and it is necessary to exit the slow charging mode in time to prevent affecting the charging efficiency of the charging circuit 1.

[0044] In another embodiment, the second charging information includes a charging mode instruction; the charging information of the target charging circuit 1 in the slow charging mode satisfies the termination condition, including that the charging mode instruction is a slow charging termination instruction.

[0045] The charging mode instruction is an instruction acquired by the controller 2 and is used to set the charging mode of the charging circuit 1 to another working mode, or is an instruction to make the charging circuit 1 exit the first target working mode.

[0046] As another example, the controller 2 can also obtain a charging mode instruction. When the current charging mode of the charging circuit 1 is the first target operating mode, and the obtained charging mode instruction is an instruction for causing the charging circuit 1 to exit the first target operating mode, the controller 2 controls the charging circuit 1 to exit the first target operating mode. Alternatively, when the current charging mode of the charging circuit 1 is the first target operating mode, and the obtained charging mode instruction is a fast charging operating instruction, the controller 2 controls the charging circuit 1 to exit the first target operating mode. For example, when the current charging mode of the charging circuit 1 is a slow charging operating mode, and the obtained charging mode instruction is a slow charging operating mode exit instruction, or a fast charging operating mode instruction, the controller 2 controls the charging circuit 1 to exit the slow charging operating mode.

[0047] In one embodiment, after step S204 , ie, controlling the charging circuit 1 to exit the first target working mode, the method for controlling the charging circuit further includes: controlling the charging circuit 1 to enter the second target working mode.

[0048] As an example, the second target operating mode can be a default preferred operating mode that the controller 2 controls the charging circuit 1 to enter after detecting that the target charging habit is broken, such as a fast charging operating mode. For example, when the sleep charging habit is broken, the controller 2 controls the charging circuit 1 to enter the fast charging operating mode to avoid the situation where the device to be charged 4 charges too slowly and cannot meet the user's charging needs when being used.

[0049] The embodiment of the present invention further provides a controller 2, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the following is achieved: Figure 2-Figure 4 A control method for a charging circuit in a device.

[0050] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.

[0051] An embodiment of the present invention also provides a charger, including a charging circuit 1 and the controller 2 in the above embodiment; one end of the charging circuit 1 is used to connect to a mains power supply 3, and the other end is used to connect to a device to be charged 4; the controller 2 is connected to the charging circuit 1, and is used to obtain charging information and control the operation of the charging circuit 1 according to the charging information.

[0052] As an example, the charger includes a charging circuit 1 and a controller 2 in any of the above examples. One end of the charging circuit 1 is used to connect to a mains power supply 3, and the other end is used to connect to a device to be charged 4. The controller 2 is connected to the charging circuit 1 and is used to obtain first charging information of the charging circuit 1 to make a target charging habit judgment based on the first charging information. If the charging habit judgment result is that the target charging habit exists, the controller 2 controls the charging circuit 1 to enter the first target working mode. After the charging circuit 1 works in the first target working mode, the controller 2 obtains second charging information of the charging circuit 1, judges whether the target charging habit is broken, and exits the first target working mode in time.

[0053] In this example, the controller 2 can determine whether there is a target charging habit, such as a sleep charging habit, by detecting the first charging information, and when the target charging habit exists, the charging circuit 1 operates in the first target working mode. The controller 2 can also detect the second charging information of the charging circuit 1 in the first target working mode to determine whether the target charging habit is broken, and exit the first target working mode in time, so that it can charge at a reasonable charging power during the charging process.

[0054] In one embodiment, the charger further includes a voice recognition module 5 ; the voice recognition module 5 is connected to the controller 2 , and is used to send a charging mode instruction to the controller 2 according to the received audio information.

[0055] As an example, the charger also includes a voice recognition module 5, which is connected to the controller 2 and is used to recognize the received audio information to send a charging mode instruction to the controller 2, so that the controller 2 controls the charging circuit 1 to work in the second target working mode, or exit the first target working mode. By setting the voice recognition module 5, the voice instruction issued by the user for adjusting the working mode of the charging circuit 1 can be recognized, and the working mode of the charging circuit 1 can be voice-controlled, so that the charging circuit 1 switches the working mode according to the user's needs, further adapting to the user's needs.

[0056] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0057] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.

[0058] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.

Claims

1. A method for controlling a charging circuit, characterized in that: include: Acquiring first charging information of a charging circuit; Judging the target charging habit based on the first charging information, and obtaining a charging habit judgment result; If the charging habit judgment result is that there is a target charging habit, controlling the charging circuit to enter a first target working mode and obtaining second charging information of the charging circuit; If the second charging information satisfies the termination condition corresponding to the first target operating mode, the charging circuit is controlled to exit the first target operating mode.

2. The control method of the charging circuit according to claim 1, characterized in that: The determining a target charging habit based on the first charging information and obtaining a charging habit determination result includes: Counting a first target ratio of the target charging times corresponding to the target charging process to the total charging times within a historical detection period, wherein the target charging process is a charging process in which the first charging information satisfies the target charging condition; If the first target ratio is greater than a first ratio threshold, determining that the charging habit determination result is that a target charging habit exists; If the first target ratio is not greater than a first ratio threshold, it is determined that the charging habit determination result is that there is no target charging habit.

3. The control method of the charging circuit according to claim 2, characterized in that: The target charging habit includes a sleep charging habit; the target charging process includes a sleep charging process; the target charging times include a sleep charging times; the first target working mode includes a slow charging working mode; the first charging information includes a maximum charging power of the charging circuit and a duration of a full-charge state; The target charging condition includes that the maximum charging power of the charging circuit is greater than a first preset power, and the duration of the full-charged state is greater than a first preset time threshold; or, the maximum charging power of the charging circuit is not greater than the first preset power, and the duration of the full-charged state is greater than a second preset time threshold.

4. The control method of the charging circuit according to claim 3, characterized in that: The obtaining first charging information of the charging circuit includes: Acquire the output power of the charging circuit, and based on the output power, acquire the maximum charging power of the charging circuit; If the output power of the charging circuit is less than the second preset power, it is determined that the charging circuit is in a fully charged state, and the duration of the charging circuit being in the fully charged state is obtained.

5. The control method of the charging circuit according to claim 3, characterized in that: The second charging information includes a current change rate in a current sampling period; The termination condition corresponding to the first target operating mode includes that the current change rate is greater than a first preset change rate.

6. The control method of the charging circuit according to claim 1, characterized in that: The second charging information includes a charging mode instruction; The termination condition corresponding to the first target operating mode includes that the charging mode instruction is a first target operating mode termination instruction.

7. The control method of the charging circuit according to claim 1, characterized in that: After controlling the charging circuit to exit the first target working mode, the method for controlling the charging circuit further includes: The charging circuit is controlled to enter a second target operating mode.

8. A controller comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the control method of the charging circuit according to any one of claims 1 to 7 is implemented.

9. A charger, characterized in that: comprising a charging circuit and the controller according to claim 8; One end of the charging circuit is used to connect to the mains power supply, and the other end is used to connect to the device to be charged; The controller is connected to the charging circuit and is used to obtain charging information and control the operation of the charging circuit according to the charging information.

10. The charger according to claim 9, characterized in that: The charger also includes a voice recognition module; The voice recognition module is connected to the controller and is used to send a charging mode instruction to the controller according to the received audio information.