A charger adaptive control circuit and method

By designing an adaptive control circuit in the charger to adjust the charging voltage and current in real time, the problem of insufficient safety and service life of the existing charger is solved, and a more efficient and safe charging process is achieved.

CN118281997BActive Publication Date: 2024-09-13DONGGUAN AOYUAN ELECTRONIC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410684825.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-30
Publication Date
2024-09-13
Estimated Expiration
2044-05-30

AI Technical Summary

Technical Problem

Existing chargers lack intelligent control, resulting in insufficient charging safety and equipment service life, and cannot effectively adapt to user charging needs.

Method used

An adaptive control circuit for the charger is designed, including a processor, a voltage-stabilized output unit, a current management unit and a human-computer interaction unit. Through real-time detection and feedback, the charging voltage and current are adjusted, a personalized charging plan is formulated, and the usage is improved. experience and safety.

Benefits of technology

It improves the controllability and safety of the charging process, extends the service life of the device, and enhances the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118281997B
    Figure CN118281997B
Patent Text Reader

Abstract

The present invention provides an adaptive control circuit and method for a charger. First, it is determined whether there is first charging time information or first charging power information according to human-computer interaction input information. If so, the charging plan information is determined according to the first charging time information or the first charging power information and the charging information. If not, the charging plan information is determined according to the charging record information. Then, the second voltage information and the second current information are obtained according to the first power information and the charging plan information. Finally, the first voltage information is adjusted according to the second voltage information, and the first current information is adjusted according to the second current information. The present invention collects user charging settings and analyzes user charging habits to formulate a corresponding charging plan to enhance the user experience. The present invention also adjusts the charging voltage and current provided by the charger to the charging device through real-time detection and feedback control to improve the controllability and safety of the charging process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of charging, and more specifically, discloses an adaptive control circuit and method for a charger. Background Art

[0002] With the development of electronic technology, the number of portable electronic devices carried by people is gradually increasing, and the frequency of charger use is increasing. However, ordinary chargers only have simple charging functions and lack charging decision-making and safety protection, which have irreversible negative effects on the safety of chargers and the service life and safety of charging equipment. Therefore, it is urgent to design an intelligent charging control technology. Summary of the invention

[0003] In view of the above problems, the purpose of the present invention is to provide an adaptive control circuit and method for a charger. The present invention collects the user's charger settings and displays the charger working status to the user through a human-computer interaction unit; the present invention also collects the user's charging settings and analyzes the user's charging habits to formulate a corresponding charging plan to improve the user's experience. In addition, the present invention also adjusts the charging voltage and current provided by the charger to the charging device through real-time detection and feedback control, thereby improving the controllability and safety of the charging process.

[0004] In order to achieve the above object, the first aspect of the present invention provides an adaptive control circuit of a charger, wherein the adaptive control circuit of the charger:

[0005] Processor, voltage stabilization output unit, current management unit, human-computer interaction unit;

[0006] The processor is used to calculate and determine the output power information according to the human-computer interaction input information and the charging information of the charging device, so as to obtain the first voltage information and the first current information for controlling the charging output;

[0007] The voltage stabilization output unit receives the voltage level information sent from the processor to adjust the first voltage information;

[0008] The current management unit receives the current adjustment control amount sent by the processor to adjust the first current information;

[0009] The human-computer interaction unit is used to feed back human-computer interaction input information to the processor and display human-computer interaction output information sent by the processor.

[0010] In this solution, the voltage stabilizing output unit includes:

[0011] An adjustable voltage regulator chip (U2), a first feedback resistor (R21), a second feedback resistor (R22), a first power inductor (L21), and a first polarity capacitor (C21);

[0012] The power input pin (Vin) of the adjustable voltage stabilizing chip (U2) is connected to a charging power supply (VCC_IN); the power output pin (Vout) of the adjustable voltage stabilizing chip (U2) is simultaneously connected to the first end of the first feedback resistor (R21) and the first end of the first power inductor (L21); the second end of the first power inductor (L21) serves as the output end (VCC-1) of the voltage stabilizing output unit and is connected to the positive electrode of the first polarity capacitor (C21); the feedback pin (FB) of the adjustable voltage stabilizing chip (U2) is simultaneously connected to the second end of the first feedback resistor (R21) and the first end of the second feedback resistor (R22); the ground pin (GND) of the adjustable voltage stabilizing chip (U2), the second end of the second feedback resistor (R22) and the negative electrode of the first polarity capacitor (C21) are connected to the ground level; and the enable control pin (En) of the adjustable voltage stabilizing chip (U2) is connected to the control pin (MCU-CTRL) of the processor.

[0013] In this solution, the current management unit includes:

[0014] Adjustable constant current chip (U3), third feedback resistor (R31), second polarity capacitor (C31);

[0015] The current input pin (Vi+) of the adjustable constant current chip (U3) is connected to the output end (VCC-1) of the voltage stabilization output unit; the current output pin (Vi-) of the adjustable constant current chip (U3) serves as the output end (VCC-OUT) of the current management unit, connected to the first end of the third feedback resistor (R31) and the positive electrode of the second polarity capacitor (C31); the adjustment pin (ADJ) of the adjustable constant current chip (U3) is connected to the second end of the third feedback resistor (R31); the ground pin (GND) of the adjustable constant current chip (U3) and the negative electrode of the second polarity capacitor (C31) are connected to the ground level.

[0016] In this solution, the human-computer interaction unit includes:

[0017] User input module, including but not limited to touch buttons and voice recognition;

[0018] Display output module, including but not limited to display screen and indicator light;

[0019] The first serial communication bus is connected to the processor.

[0020] A second aspect of the present invention further provides an adaptive control method for a charger, which is applied to any of the above-mentioned adaptive control circuits for the charger, and specifically includes:

[0021] Obtain human-computer interaction input information and charging information of charging equipment;

[0022] Determining whether there is first charging time information or first charging power information according to the human-computer interaction input information;

[0023] If yes, determining charging plan information according to the first charging time information or the first charging power information and the charging information;

[0024] If not, acquiring charging record information according to the charging information, and determining the charging plan information according to the charging record information;

[0025] Acquire first power information, and obtain second voltage information and second current information according to the first power information and the charging plan information;

[0026] Acquire first voltage information, and determine whether the first voltage information is the same as the second voltage information;

[0027] If not, adjusting the first voltage information according to the second voltage information;

[0028] Acquire first current information, and determine whether the first current information is the same as the second current information;

[0029] If not, adjusting the first current information according to the second current information.

[0030] In this solution, adjusting the first voltage information according to the second voltage information is specifically:

[0031] According to the second voltage information, searching a preset output voltage classification table to obtain first voltage division ratio information;

[0032] The first voltage information is obtained by adjusting the first feedback resistor or the second feedback resistor of the voltage stabilization output unit according to the first voltage division ratio information.

[0033] In this solution, adjusting the first current information according to the second current information is specifically:

[0034] Obtaining first current difference information according to a difference between the first current information and the second current information;

[0035] Obtaining first control amount information, second control amount information and third control amount information according to the first current difference information and preset control amount weighting information;

[0036] Obtaining an output control amount according to the sum of the first control amount, the second control amount and the third control amount;

[0037] According to the output control amount, the resistance level of the third feedback resistor of the current management unit is adjusted to adjust the first current information.

[0038] This plan also includes:

[0039] Sending a first communication instruction message to determine whether there is a touch key event;

[0040] If yes, obtaining the first page information and the first coordinate information according to the first feedback instruction information;

[0041] Determine whether there is an event button at the location of the first coordinate information according to the first page information;

[0042] If yes, obtaining first key code information according to the event button;

[0043] The first display output information is obtained according to the first key code information, and the first display output information is sent to the human-computer interaction unit through the second communication instruction information.

[0044] In this solution, the charging plan information includes:

[0045] Table of power, charging voltage and charging current of charging equipment;

[0046] According to the first power information, the corresponding charging voltage and charging current, ie, the second voltage information and the second current information, can be obtained by looking up the table.

[0047] This plan also includes:

[0048] Obtaining the maximum allowed charging power and battery capacity information according to the charging information;

[0049] Acquire the first power information and the first charging time information, and obtain first charging power information according to the first power information, the first charging time information, and the battery capacity information;

[0050] determining whether the first charging power information exceeds the allowed maximum charging power;

[0051] If yes, setting the charging plan information according to the maximum allowed charging power;

[0052] If not, the charging plan information is set according to the first charging power information.

[0053] The present invention provides an adaptive control circuit and method for a charger. First, it is determined whether there is first charging time information or first charging power information according to human-computer interaction input information. If so, the charging plan information is determined according to the first charging time information or the first charging power information and the charging information. If not, the charging plan information is determined according to the charging record information. Then, the second voltage information and the second current information are obtained according to the first power information and the charging plan information. Finally, the first voltage information is adjusted according to the second voltage information, and the first current information is adjusted according to the second current information. The present invention collects user charging settings and analyzes user charging habits to formulate a corresponding charging plan to enhance the user experience. The present invention also adjusts the charging voltage and current provided by the charger to the charging device through real-time detection and feedback control to improve the controllability and safety of the charging process. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and should not be regarded as limiting the scope.

[0055] Figure 1 A structural block diagram of an adaptive control circuit of a charger of the present invention is shown;

[0056] Figure 2 A circuit connection structure diagram of the voltage stabilization output unit provided in an embodiment of the present invention is shown;

[0057] Figure 3 A circuit connection structure diagram of the current management unit provided in an embodiment of the present invention is shown;

[0058] Figure 4 A flow chart of the adaptive control method of the charger provided by an embodiment of the present invention is shown;

[0059] Figure 5 A flow chart for adjusting the first voltage information provided by an embodiment of the present invention is shown;

[0060] Figure 6 A flow chart of adjusting the first current information provided by an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0061] 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 only 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.

[0062] Unless otherwise defined, all terms (including technical and scientific terms) used in the embodiments of the present invention have the same meanings as commonly understood by those skilled in the art to which the present invention belongs. It should also be understood that terms such as those defined in common dictionaries should be interpreted as having meanings consistent with their meanings in the context of the relevant technology, and should not be interpreted in an idealized or extremely formal sense, unless the embodiments of the present invention are explicitly defined in this way.

[0063] The words "first", "second" and similar words used in the embodiments of the present invention do not indicate any order, quantity or importance, but are only used to distinguish different components. Words such as "one", "an" or "the" and similar words do not indicate a quantity limitation, but indicate the existence of at least one. Similarly, words such as "include" or "comprise" and similar words mean that the elements or objects appearing before the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. Words such as "connect" or "connected" and similar words are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The steps before or after the method of the embodiment of the present invention are not necessarily carried out in order. On the contrary, various steps can be processed in reverse order or simultaneously. At the same time, other operations can also be added to these processes, or a step or several steps can be removed from these processes.

[0064] Please refer to Figure 1 , Figure 1 A structural block diagram of an adaptive control circuit of a charger according to the present invention is shown.

[0065] like Figure 1 As shown, the first aspect of the present invention discloses that the adaptive control circuit of the charger includes:

[0066] Processor 102, voltage stabilization output unit 104, current management unit 106, human-computer interaction unit 108;

[0067] The processor 102 is used to calculate and determine the output power information according to the human-computer interaction input information and the charging information of the charging device, so as to obtain the first voltage information and the first current information for controlling the charging output;

[0068] The voltage stabilization output unit 104 receives the voltage level information sent from the processor to adjust the first voltage information;

[0069] The current management unit 106 receives the current adjustment control amount sent by the processor to adjust the first current information;

[0070] The human-computer interaction unit 108 is used to feed back human-computer interaction input information to the processor and display human-computer interaction output information sent by the processor.

[0071] It should be noted that the human-computer interaction input information is the user operation instruction that the human-computer interaction unit converts into feedback to the processor according to the user's input; the human-computer interaction input information is the display instruction sent by the processor received by the human-computer interaction unit, which is used to display the working status of the charger; the charging information is the charging status of the charging device, including but not limited to the current power information, the maximum allowed charging power, the maximum allowed charging voltage, the maximum allowed charging current, and the battery capacity information; the first voltage information is the charging voltage value provided by the voltage stabilization output unit for the charging device; the first current information is the charging current value provided by the current management unit for the charging device. The circuit of the present invention, first, includes a processor for collecting user settings and the charging status of the charging device, and formulating a charging plan and sending charging control instructions to the voltage stabilization output unit and the current management unit in real time. Second, it includes a voltage stabilization output unit, which adjusts the voltage adjustment module in the circuit according to the voltage level information sent by the processor, so as to output a stable voltage with a specified voltage value to charge the charging device. Third, it includes a current management unit, which adjusts the control amount according to the current sent by the processor, so as to output a constant current with a specified current value to charge the charging device. Fourth, it includes a human-computer interaction unit, which collects the user's operation requirements through touch buttons, voice recognition, etc. and converts them into human-computer interaction input information and transmits them to the processor; after receiving the output information from the processor, it converts it into display information and displays it to the user through display screens, indicator lights and other devices.

[0072] Please refer to Figure 2 , Figure 2 A circuit connection structure diagram of the voltage-stabilizing output unit provided in an embodiment of the present invention is shown.

[0073] According to an embodiment of the present invention, the voltage stabilization output unit includes:

[0074] An adjustable voltage regulator chip (U2), a first feedback resistor (R21), a second feedback resistor (R22), a first power inductor (L21), and a first polarity capacitor (C21);

[0075] The power input pin (Vin) of the adjustable voltage stabilizing chip (U2) is connected to a charging power supply (VCC_IN); the power output pin (Vout) of the adjustable voltage stabilizing chip (U2) is simultaneously connected to the first end of the first feedback resistor (R21) and the first end of the first power inductor (L21); the second end of the first power inductor (L21) serves as the output end (VCC-1) of the voltage stabilizing output unit and is connected to the positive electrode of the first polarity capacitor (C21); the feedback pin (FB) of the adjustable voltage stabilizing chip (U2) is simultaneously connected to the second end of the first feedback resistor (R21) and the first end of the second feedback resistor (R22); the ground pin (GND) of the adjustable voltage stabilizing chip (U2), the second end of the second feedback resistor (R22) and the negative electrode of the first polarity capacitor (C21) are connected to the ground level; and the enable control pin (En) of the adjustable voltage stabilizing chip (U2) is connected to the control pin (MCU-CTRL) of the processor.

[0076] It should be noted that the adjustable voltage regulator chip is an integrated circuit chip that can output a stable power supply voltage within a preset range, wherein the adjustable voltage regulator chip adjusts the output voltage value according to the voltage value of the feedback pin. The voltage of the feedback pin is obtained by dividing the voltage in series by the first feedback resistor (R21) and the second feedback resistor (R22), that is, by adjusting the resistance value of the first feedback resistor (R21) or the second feedback resistor (R22), the voltage value of the feedback pin is adjusted, thereby achieving the purpose of adjusting the output voltage of the voltage stabilization output unit. As an embodiment, at least one of the first feedback resistor (R21) and the second feedback resistor (R22) is a digitally adjustable variable resistor, and the processor reads and adjusts the resistance value of the digitally adjustable variable resistor through a preset communication instruction. That is, the processor calculates the voltage of the feedback pin of the adjustable voltage regulator chip (U2) according to the required output voltage value; then obtains the resistance value of the first feedback resistor (R21) and the second feedback resistor (R22) according to the voltage division theorem; finally, the resistance value of the first feedback resistor (R21) or the second feedback resistor (R22) is adjusted through a preset communication instruction to achieve the purpose of adjusting the output voltage of the voltage regulator output unit.

[0077] Please refer to Figure 3 , Figure 3 A circuit connection structure diagram of the current management unit provided in an embodiment of the present invention is shown.

[0078] According to an embodiment of the present invention, the current management unit includes:

[0079] Adjustable constant current chip (U3), third feedback resistor (R31), second polarity capacitor (C31);

[0080] The current input pin (Vi+) of the adjustable constant current chip (U3) is connected to the output end (VCC-1) of the voltage stabilization output unit; the current output pin (Vi-) of the adjustable constant current chip (U3) serves as the output end (VCC-OUT) of the current management unit, connected to the first end of the third feedback resistor (R31) and the positive electrode of the second polarity capacitor (C31); the adjustment pin (ADJ) of the adjustable constant current chip (U3) is connected to the second end of the third feedback resistor (R31); the ground pin (GND) of the adjustable constant current chip (U3) and the negative electrode of the second polarity capacitor (C31) are connected to the ground level.

[0081] It should be noted that the constant current source chip is an integrated circuit for controlling current output. Its working principle is based on the principle of negative feedback. By introducing an adjustable resistor in the feedback loop, the output current is kept in a constant ratio with the input current. By adjusting the resistance value of the adjustable resistor in the feedback loop, the effect of adjusting the current output is achieved. As an implementation method, the third feedback resistor (R31) is a digital adjustable resistor, and the processor reads and adjusts the resistance value of the digital adjustable resistor through a preset communication instruction. The processor adjusts the resistance value of the third feedback resistor (R31) according to the current adjustment control amount, thereby achieving the purpose of adjusting the output current of the current management unit.

[0082] According to an embodiment of the present invention, the human-computer interaction unit includes:

[0083] User input module, including but not limited to touch buttons and voice recognition;

[0084] Display output module, including but not limited to display screen and indicator light;

[0085] The first serial communication bus is connected to the processor.

[0086] It should be noted that the human-computer interaction unit is used to connect with the user to use information, including collecting the settings input by the user and converting them into human-computer interaction input information to feed back to the processor, and converting the human-computer interaction output information sent by the processor into display information and then displaying it to the user. Among them, the user input module includes but is not limited to touch buttons, voice recognition and other modules that can collect user usage needs; the display output module includes but is not limited to display screens, indicator lights and other modules that can give users intuitive display changes. In actual applications, a touch display screen is used as the human-computer interaction unit, and the touch display screen is connected to the processor through a set of preset serial communication buses to communicate data.

[0087] It is worth mentioning that it also includes:

[0088] A temperature detection unit, used to collect charger temperature information and feed it back to the processor;

[0089] The temperature detection unit is a temperature sensor or a temperature detection circuit;

[0090] When it is the temperature sensor, it is connected to the processor via a second serial communication bus;

[0091] When it is the temperature detection circuit, a voltage divider circuit is formed by connecting a thermistor and a voltage divider resistor in series.

[0092] It should be noted that the temperature detection unit is used to collect the temperature value of the charger circuit, and the processor adjusts the charging output according to the real-time temperature value of the charger circuit, so as to avoid the reduction of service life or even burning of the charger circuit due to excessive temperature. As an implementation method, the temperature detection unit can be implemented by a separate temperature sensor, such as DS18B20, and the temperature information measured by the sensor itself is transmitted to the processor through a preset communication instruction. As another implementation method, the temperature detection unit can be implemented by a temperature detection circuit with a thermistor as the core; the thermistor is connected in series with a voltage divider resistor, and the voltage value of the thermistor or the voltage divider resistor is measured by the analog-to-digital converter of the processor, and then the resistance value of the thermistor is calculated by the voltage divider theorem and Ohm's theorem; the temperature value of the location of the thermistor can be obtained according to the resistance-temperature correspondence table of the thermistor.

[0093] Please refer to Figure 4 , Figure 4 A flow chart of the adaptive control method of the charger provided by an embodiment of the present invention is shown.

[0094] The first aspect of the present invention discloses an adaptive control method of the charger, the method comprising:

[0095] S402, obtaining human-computer interaction input information and charging information of the charging device;

[0096] S404, determining whether there is first charging time information or first charging power information according to the human-computer interaction input information;

[0097] S406: If yes, determine charging plan information according to the first charging time information or the first charging power information and the charging information;

[0098] S408, if not, acquiring charging record information according to the charging information, and determining the charging plan information according to the charging record information;

[0099] S410, acquiring first power information, and obtaining second voltage information and second current information according to the first power information and the charging plan information;

[0100] S412, obtaining first voltage information, and determining whether the first voltage information is the same as the second voltage information;

[0101] S414, if not, adjusting the first voltage information according to the second voltage information;

[0102] S416, obtaining first current information, and determining whether the first current information is the same as the second current information;

[0103] S418: If not, adjust the first current information according to the second current information.

[0104] It should be noted that the first charging time information is the charging time of the charging device set by the user through the human-computer interaction unit; the first charging power information is the charging power value of the charging device set by the user through the human-computer interaction unit; the charging record information is the record of the charger charging the charging device, including but not limited to the starting power, the ending power, and the charging time; the first power information is the real-time power value of the charging device; the second voltage information is the voltage target value of the output voltage; the second current information is the current target value of the output voltage. First, when the user uses the charger to charge the charging device, if the charging related information, such as the first charging time information or the first charging power information, is input through the human-computer interaction unit, it means that the user has limited the current charging operation, and the processor then formulates the corresponding charging plan according to the user's limitation; if the user does not input the charging related information, the charging record of the current charging device is searched after the charging device is identified, and the charging habit of the user for the current charging device, such as the charging time, the ending charging power, etc., is obtained by analyzing the charging record, and this is used as the basis for obtaining the charging plan. Then, according to a preset time period, such as 100 milliseconds, 1 second, 3 seconds, etc., the first power information of the charging device is collected; according to the first power information, the required charging output corresponding to the current power condition in the charging plan is searched, including the second voltage information and the second current information, to adjust the charging output of the charger. When the first voltage information is different from the second voltage information, it means that the output voltage of the voltage stabilizing output unit needs to be adjusted, that is, the first voltage information needs to be adjusted with the second voltage information as the output target. When the first current information is different from the second current information, it means that the output current of the current management unit needs to be adjusted, that is, the first current information needs to be adjusted with the second current information as the output target.

[0105] Please refer to Figure 5 , Figure 5 A flow chart of adjusting the first voltage information provided by an embodiment of the present invention is shown.

[0106] In the embodiment of the present invention, adjusting the first voltage information according to the second voltage information is specifically:

[0107] S502, searching a preset output voltage classification table according to the second voltage information to obtain first voltage division ratio information;

[0108] S504, adjusting the first feedback resistor or the second feedback resistor of the voltage stabilization output unit according to the first voltage division ratio information to obtain the first voltage information.

[0109] It should be noted that the first voltage division ratio information is the ratio of the resistance values ​​of the first feedback resistor and the second feedback resistor of the voltage stabilizing output unit. An output voltage classification table is preset in the processor to indicate the resistance ratio of the first feedback resistor to the second feedback resistor at different levels; for example, levels 1, 2, 3, 4, and 5 correspond to (1:0.2), (1:0.5), (1:1), (1:1.5), and (1:2.0), respectively. Then, the target resistance value that needs to be set for the first feedback resistor or the second feedback resistor can be calculated based on the first voltage division ratio information. Finally, the processor adjusts the first voltage information based on the communication instruction of the preset digital adjustable resistor to adjust the resistance value of the first feedback resistor or the second feedback resistor according to the target resistance value.

[0110] Please refer to Figure 6 , Figure 6 A flow chart of adjusting the first current information provided by an embodiment of the present invention is shown.

[0111] In the embodiment of the present invention, adjusting the first current information according to the second current information is specifically:

[0112] S602, obtaining first current difference information according to a difference between the first current information and the second current information;

[0113] S604, obtaining first control amount information, second control amount information and third control amount information according to the first current difference information and preset control amount weighting information;

[0114] S606, obtaining an output control variable according to the sum of the first control variable, the second control variable and the third control variable;

[0115] S608, adjusting the resistance level of the third feedback resistor of the current management unit according to the output control amount to adjust the first current information.

[0116] It should be noted that the control quantity weighted information is a calculation parameter of the control quantity, including a weighted value of the output current proportional control quantity, a weighted value of the output current integral control quantity, and a weighted value of the output current differential control quantity; the first control quantity is the output current proportional control quantity, which is used to adjust the resistance level of the third feedback resistor; the second control quantity is the output current integral control quantity, which is used to adjust the resistance level of the third feedback resistor; the third control quantity is the output current differential control quantity, which is used to adjust the resistance level of the third feedback resistor. Based on the fact that the output current of the charger directly affects the charging condition of the charging device, the present invention adjusts the first current information by means of feedback control. First, the difference between the first current information and the second current information is calculated to represent the gap between the current output current and the target output current; then, the output current proportional control amount, the output current integral control amount, and the output current differential control amount are obtained respectively through the preset control amount weighted value; finally, the sum of the output current proportional control amount, the output current integral control amount, and the output current differential control amount is calculated to obtain the output control amount, which is used to adjust the resistance value of the third feedback resistor of the current management unit; wherein, the processor adjusts the resistance value of the third feedback resistor with the communication instruction of the preset digital adjustable resistor to adjust the resistance value; in addition, the output current proportional control amount can control the oscillation amplitude of the current change, and the output current integral control amount and the output current differential control amount can control the oscillation frequency of the current change, and by adjusting the weighted value of the corresponding control amount, the current change can be made to reach the target value quickly and stably. The present invention adopts the method of real-time detection and feedback control, and simultaneously regulates the three control amounts to achieve the purpose of stably and quickly regulating the first current information.

[0117] In an embodiment of the present invention, it also includes:

[0118] Sending a first communication instruction message to determine whether there is a touch key event;

[0119] If yes, obtaining the first page information and the first coordinate information according to the first feedback instruction information;

[0120] Determine whether there is an event button at the location of the first coordinate information according to the first page information;

[0121] If yes, obtaining first key code information according to the event button;

[0122] The first display output information is obtained according to the first key code information, and the first display output information is sent to the human-computer interaction unit through the second communication instruction information.

[0123] It should be noted that the first communication instruction information is a touch key reading instruction sent by the processor to the human-computer interaction unit; the first feedback instruction information is an instruction of the touch key event situation fed back by the human-computer interaction unit to the processor; the first page information is the page code of the page displayed by the human-computer interaction unit; the first coordinate information is the coordinate point of the touch position when the touch event occurs; the first key code information is the code information of the key, which is used to record and distinguish the function of the key; the first display output information is the page content that the human-computer interaction unit needs to display; the second communication instruction information is a communication instruction for packaging the first display output information and sending it to the human-computer interaction unit. When it is detected that the user triggers the touch key, the first coordinate information of the touch position is obtained, the processor first reads the current page code, and then queries whether there is a key at the first coordinate information according to the page code; if it exists, it means that the user presses the touch key; if it does not exist, it means that there is a possibility of mis-touch or mis-detection. When it is determined that the user presses the touch key, the processor performs corresponding calculation and processing operations according to the key code, and finally outputs the calculation and processing results through the human-computer interaction unit, such as page jump, value increase or decrease, etc.

[0124] In an embodiment of the present invention, the charging plan information includes:

[0125] Table of power, charging voltage and charging current of charging equipment;

[0126] According to the first power information, the corresponding charging voltage and charging current, ie, the second voltage information and the second current information, can be obtained by looking up the table.

[0127] It should be noted that the charging schedule is a charging output situation formulated for the charging device and charging settings. According to the current power value of the charging device, the corresponding charging target voltage and target current are set. For example, when the power of the charging device is 30%, the second voltage information is 9V and the second current information is 2A; when the power of the charging device is 85%, the second voltage information is 5V and the second current information is 1A.

[0128] In an embodiment of the present invention, it also includes:

[0129] Obtaining the maximum allowed charging power and battery capacity information according to the charging information;

[0130] Acquire the first power information and the first charging time information, and obtain first charging power information according to the first power information, the first charging time information, and the battery capacity information;

[0131] determining whether the first charging power information exceeds the allowed maximum charging power;

[0132] If yes, setting the charging plan information according to the maximum allowed charging power;

[0133] If not, the charging plan information is set according to the first charging power information.

[0134] It should be noted that when the user sets the first charging time information, the processor will formulate a charging plan based on the charging power tolerance of the charging device. The power value required for the current charging device to be fully charged can be obtained based on the battery capacity and the current power, and then the minimum charging power required for full charging within the first charging time information set by the user can be obtained based on the charging time, which is the first charging power information. Determine whether the first charging power information exceeds the maximum allowable charging power of the charging device; if so, since the charging device cannot withstand the charging power of the first charging power information, in order to ensure the safety of charging, the charging plan information is set according to the maximum allowable charging power; if not, the charging plan information can be set according to the first charging power information, which can meet the user's charging time requirements and avoid the charging device from being kept in a full-load charging state for a long time.

[0135] It is worth mentioning that it also includes:

[0136] Acquire first power information;

[0137] Determining whether the first power information exceeds a preset power threshold;

[0138] If so, the trickle output mode is entered, the first voltage information is set to a preset trickle voltage threshold and the first current information is set to a preset trickle current threshold.

[0139] It should be noted that the trickle output mode is a low current output mode, which reduces the charging power by reducing the current to avoid the problem of shortening the service life of the charging device due to overcharging or long-term full-load charging. When the power value of the charging device exceeds the preset power threshold, it enters the trickle output mode; in actual application, when the power of the charging device exceeds 93%, it enters the trickle output mode.

[0140] It is worth mentioning that it also includes:

[0141] Acquire first temperature information, and determine whether the first temperature information exceeds a preset first temperature threshold;

[0142] If yes, first power information is calculated according to the first voltage information and the first current information;

[0143] Determining second power information according to the first temperature information and the first power information;

[0144] According to the second power information and the preset cooling current, searching the preset output voltage classification table to obtain the second voltage information, so as to adjust the first voltage information;

[0145] Calculating second current information according to the second power information and the second voltage information to adjust the first current information;

[0146] Determining whether the first temperature information exceeds a preset second temperature threshold;

[0147] If so, the first voltage information is set to zero voltage and the first current information is set to zero current.

[0148] It should be noted that the present invention also adjusts the output power according to the temperature value of the charger circuit. When the temperature value of the charger circuit exceeds the first temperature threshold, it indicates that the circuit temperature is high and there is a risk of affecting the stability of the circuit. Then, the output power is reduced to reduce the trend of temperature rise. First, the first power information is obtained according to the current first voltage information and the first current information of the circuit, indicating the current output power. Secondly, according to the first temperature information and the first power information, the preset temperature control table is searched to obtain the second power information; wherein, the temperature control table is the power drop range corresponding to the temperature value, for example, when the temperature value is 42°C, the power needs to drop by 10%; when the temperature value is 45°C, the power needs to drop by 20%. Then, according to the second power information, the output voltage classification table is searched to obtain the selectable second voltage information, and then the second current information is calculated according to the second power information and the second voltage information. Finally, the first voltage information is adjusted with the second voltage information, and the second current information is adjusted with the second current information. In addition, when the temperature value of the charger circuit exceeds the second temperature threshold, it indicates that the circuit is at risk of burning. At this time, the outputs of the voltage stabilization output unit and the current management unit are adjusted to zero to achieve the purpose of cooling and protecting the circuit.

[0149] It is worth mentioning that it also includes:

[0150] Acquire charging device ID information according to the charging information;

[0151] Searching for the charging record information according to the ID information;

[0152] According to the end power and charging duration in the charging record information, first charging time information is obtained through a preset prediction rule;

[0153] Charging plan information is determined according to the first time information and the charging information.

[0154] It should be noted that after the processor reads the ID information of the charging device, it queries the charging record corresponding to the ID information. Then, according to the final power of the charging device, charging time, etc., the user's charging habits for the current charging device are analyzed; for example, when the device is charged for nearly 30 minutes each time, the charging plan is determined based on a charging time of 30 minutes; when the final power of the device exceeds 93% and the charging time is greater than 1 hour, the charging plan is determined based on a charging time of 1 hour. By analyzing the user's charging habits, while ensuring that the user's charging needs are met, the charging device also works under safer charging parameters, extending the service life of the charging device, thereby improving the user's experience.

[0155] In summary, the present invention provides an adaptive control circuit and method for a charger. First, it is determined whether there is first charging time information or first charging power information according to human-computer interaction input information. If so, the charging plan information is determined according to the first charging time information or the first charging power information and the charging information. If not, the charging plan information is determined according to the charging record information; then, the second voltage information and the second current information are obtained according to the first power information and the charging plan information; finally, the first voltage information is adjusted according to the second voltage information, and the first current information is adjusted according to the second current information; the present invention collects user charging settings and analyzes user charging habits to formulate corresponding charging plans to enhance user experience; the present invention also adjusts the charging voltage and current provided by the charger to the charging device through real-time detection and feedback control to improve the controllability and safety of the charging process.

[0156] In addition, the functional modules in the various embodiments of the present invention may be integrated together to form an independent part, or each module may exist independently, or two or more modules may be integrated to form an independent part.

[0157] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, and other media that can store program codes.

[0158] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A charger adaptive control method, applied to a charger adaptive control circuit, the charger adaptive control circuit comprising: Processor, voltage stabilization output unit, current management unit and human-computer interaction unit; The processor is used to calculate and determine the output power information according to the human-computer interaction input information and the charging information of the charging device, so as to obtain the first voltage information and the first current information for controlling the charging output; The voltage stabilization output unit receives the voltage level information sent from the processor to adjust the first voltage information; The current management unit receives the current adjustment control amount sent by the processor to adjust the first current information; The human-computer interaction unit is used to feed back human-computer interaction input information to the processor and display human-computer interaction output information sent by the processor; Characterized in that the method specifically comprises: Obtain human-computer interaction input information and charging information of charging equipment; Determining whether there is first charging time information or first charging power information according to the human-computer interaction input information; If yes, determining charging plan information according to the first charging time information or the first charging power information and the charging information; If not, acquiring charging record information according to the charging information, and determining the charging plan information according to the charging record information; Acquire first power information, and obtain second voltage information and second current information according to the first power information and the charging plan information; Acquire first voltage information, and determine whether the first voltage information is the same as the second voltage information; If not, adjusting the first voltage information according to the second voltage information; Acquire first current information, and determine whether the first current information is the same as the second current information; If not, adjusting the first current information according to the second current information; The human-computer interaction input information is the user operation instruction converted by the human-computer interaction unit according to the user's input and fed back to the processor; The human-computer interaction output information is a display instruction sent by a processor and received by the human-computer interaction unit, and is used to display the working status of the charger; The charging information is the charging status of the charging device, including current power information, maximum allowed charging power, maximum allowed charging voltage, maximum allowed charging current or battery capacity information; The first voltage information is a charging voltage value provided by the voltage stabilization output unit to the charging device; The first current information is a charging current value provided by the current management unit to the charging device; The first charging time information is the charging time of the charging device set by the user through the human-computer interaction unit; The first charging power information is the charging power value of the charging device set by the user through the human-computer interaction unit; The charging record information is a record of the charger charging the charging device, including the starting power, the ending power or the charging time; The first power information is the real-time power value of the charging device; The second voltage information is a voltage target value of the output voltage; The second current information is a current target value of the output voltage.

2. The adaptive control method of a charger according to claim 1, characterized in that: The adjusting the first voltage information according to the second voltage information is specifically: According to the second voltage information, searching a preset output voltage classification table to obtain first voltage division ratio information; According to the first voltage division ratio information, a first feedback resistor or a second feedback resistor of a voltage stabilization output unit is adjusted to obtain the first voltage information; The first voltage division ratio information is a ratio of the resistance values ​​of the first feedback resistor and the second feedback resistor of the voltage stabilization output unit.

3. The adaptive control method of a charger according to claim 1, characterized in that: The adjusting the first current information according to the second current information is specifically: Obtaining first current difference information according to a difference between the first current information and the second current information; Obtaining first control amount information, second control amount information and third control amount information according to the first current difference information and preset control amount weighting information; Obtaining an output control amount according to the sum of the first control amount, the second control amount and the third control amount; According to the output control amount, adjusting the resistance level of the third feedback resistor of the current management unit to adjust the first current information; The control amount weighted information is a calculation parameter of the control amount, including a weighted value of an output current proportional control amount, a weighted value of an output current integral control amount, and a weighted value of an output current differential control amount; The first control amount is an output current proportional control amount, which is used to adjust the resistance level of the third feedback resistor; The second control amount is an output current integral control amount, which is used to adjust the resistance level of the third feedback resistor; The third control variable is an output current differential control variable, which is used to adjust the resistance level of the third feedback resistor.

4. The adaptive control method of a charger according to claim 1, characterized in that: Also includes: Sending a first communication instruction message to determine whether there is a touch key event; If yes, obtaining the first page information and the first coordinate information according to the first feedback instruction information; Determine whether there is an event button at the location of the first coordinate information according to the first page information; If yes, obtaining first key code information according to the event button; Obtaining first display output information according to the first key code information, and sending the first display output information to the human-computer interaction unit through the second communication command information; The first communication instruction information is a touch key reading instruction sent by the processor to the human-computer interaction unit; The first feedback instruction information is an instruction of the touch key event situation fed back by the human-computer interaction unit to the processor; The first page information is a page code of a page displayed by the human-computer interaction unit; The first coordinate information is the coordinate point of the touch position when the touch event occurs; The first key coding information is the coding information of the key, which is used to record and distinguish the function of the key; The first display output information is the page content that the human-computer interaction unit needs to display; The second communication instruction information is a communication instruction for packaging the first display output information and sending it to the human-computer interaction unit.

5. The adaptive control method of a charger according to claim 1, characterized in that: The charging plan information includes: Table of corresponding power, charging voltage and charging current of charging equipment; According to the first power information, the corresponding charging voltage and charging current, ie, the second voltage information and the second current information, can be obtained by looking up the table.

6. The adaptive control method of a charger according to claim 1, characterized in that: Also includes: Obtaining the maximum allowed charging power and battery capacity information according to the charging information; Acquire the first power information and the first charging time information, and obtain first charging power information according to the first power information, the first charging time information and the battery capacity information; Determining whether the first charging power information exceeds the allowed maximum charging power; If yes, setting the charging plan information according to the maximum allowed charging power; If not, the charging plan information is set according to the first charging power information.