Charging device

By designing a charging device that includes a power conversion module, a charging management module, a power path management module, an automatic detection module, and a controller, the problem of compatibility between device power supply and battery power supply is solved, improving portability and reducing energy consumption.

CN115603405BActive Publication Date: 2026-07-17QINGDAO HISENSE ELECTRONICS EQUIP

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
QINGDAO HISENSE ELECTRONICS EQUIP
Filing Date
2022-09-08
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

Existing charging devices are difficult to integrate with both device power supply and battery power supply functions, resulting in poor portability and high energy consumption.

Method used

Design a charging device that includes a power conversion module, a charging management module, a power path management module, a power output interface, an automatic detection module, and a controller. The automatic detection module determines the type of device to be charged and adjusts the power path to meet the charging requirements, thereby achieving automatic switching between battery charging and device power supply.

Benefits of technology

It improves the portability of the charging device, eliminates the need for additional accessories, reduces energy consumption, is compatible with the charging needs of ordinary batteries and external devices, and is easy to promote.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115603405B_ABST
    Figure CN115603405B_ABST
Patent Text Reader

Abstract

The application discloses a charging device, which comprises a power conversion module, a charging management module, a power path management module, a power output interface, an automatic detection module and a controller. The power conversion module is connected with the charging management module or the power path management module directly. The power path management module is connected with the power output interface. After the power output interface is connected with a device to be charged, whether the automatic detection module detects a connection voltage is judged. When the connection voltage is detected, the power path management module is connected with the charging management module. When the connection voltage is not detected, the power path management module is connected with the power output module. Whether the device to be charged is an external device or a battery is judged according to whether the automatic detection module detects the connection voltage. The power path of the charging device is adjusted according to the type of the device to be charged, so that the charging task of the device to be charged is completed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of power supply technology, and in particular to a charging device. Background Technology

[0002] In related technologies, devices similar to portable gateways need to accommodate both adapter power and battery power to meet the requirements of ease of use. Currently, the common approaches are as follows:

[0003] The first type, referring to Figure 1 One approach integrates the battery charging management chip inside the device and uses an adapter for power, requiring the device to charge the battery. However, this solution has drawbacks: poor portability, as the battery must be connected to the device to charge, and a higher-power adapter is required.

[0004] The second method, refer to Figure 2 One approach is to integrate the charging management chip inside the battery. This allows a single adapter to power the device and charge the battery. However, this approach has the drawback that the battery used for charging needs to be custom-made and is incompatible with existing batteries.

[0005] The third option is to equip the battery with a dedicated charger and the device with a dedicated adapter. The disadvantage of this solution is that the device needs to be equipped with two accessories, which is inconvenient to use and costly.

[0006] Therefore, how to solve the problem of saving energy and improving the portability of the device while enabling the charging device to achieve both device power supply and battery power supply functions has become an urgent problem for those skilled in the art. Summary of the Invention

[0007] This application provides a charging device. When the power output interface of the charging device is connected to the device to be charged, the charging device can adjust its own power path according to the type of the connected device to be charged, so as to meet the charging needs of the corresponding device. No new accessories are needed, which improves the portability of the device. At the same time, no additional input voltage is required, which reduces energy consumption.

[0008] This application provides a charging device, including:

[0009] Power conversion module for connecting to an external power source;

[0010] The charging management module is connected to the power conversion module, and the charging management module can output the corresponding voltage according to the configuration.

[0011] The power path management module is electrically connected to the power output module and the charging management module, and is used to switch the power path of the charging device.

[0012] Power output interface, which is electrically connected to the power path management module;

[0013] An automatic detection module, which is connected to the power output interface, is used to detect the connection voltage of the power output interface;

[0014] The controller is configured to, after the power output interface is connected to the device to be charged, determine whether the automatic detection module has detected the connection voltage. When the connection voltage is detected, the controller controls the power path management module to connect to the charging management module. When the connection voltage is not detected, the controller controls the power path management module to connect to the power output module.

[0015] In some embodiments, the automatic detection module includes a first resistor and a second resistor. The first terminal of the first resistor is connected to the power output interface, and the second terminal of the first resistor is connected to the controller and the first terminal of the second resistor, respectively. The second terminal of the second resistor is grounded. When the power output interface is connected to the device to be charged, the controller determines whether the voltage at the first terminal of the second resistor is zero. If it is zero, the controller controls the power output interface to be directly connected to the power conversion module through the power path management module. If it is not zero, the controller controls the power output interface to be connected to the power conversion module through the power path management module and the charging management module.

[0016] In some embodiments, the power path management module includes four contacts, defined as a first contact, a second contact, a third contact, and a fourth contact, respectively. The first contact is connected to the power output interface, the second contact is a protection contact, the third contact is connected to the output terminal of the power output module, and the fourth contact is connected to the output terminal of the charging management module. After the device to be charged is connected, the controller selects the power path through the connection between the contacts.

[0017] In some embodiments, when a device to be charged is connected to the power output interface but the controller does not determine whether the connected device to be charged is an external device or a battery, the first contact and the second contact are connected.

[0018] In some embodiments, the controller is connected to the power conversion module through a first communication interface, the controller is connected to the power path management module through a second communication interface, and the controller is connected to the charging management module through a third communication interface.

[0019] In some embodiments, when the automatic detection module detects the connection voltage, the controller configures the parameters of the charging management module through the third communication interface, configures the output voltage of the power conversion module through the first communication interface, and controls the connection of the first and fourth contacts of the power path management module through the second communication interface. At this time, the charging device is a battery charger.

[0020] In some embodiments, when the automatic detection module does not detect the connection voltage, the output voltage of the power conversion module is configured through the first communication interface, and the connection of the first and second contacts of the power path management module is controlled through the second communication interface. At this time, the charging device is an adapter.

[0021] In some embodiments, a linear regulator is also included, which is disposed between the power conversion module and the controller, and is used to convert the output voltage of the power conversion module into the operating voltage of the controller.

[0022] In some embodiments, an external communication interface is also included, which is connected to an external terminal device. Users can modify the relevant configuration information of the battery and the output voltage of the power conversion module on the external terminal device and transmit the information to the controller through the external communication interface.

[0023] In some embodiments, when the charging parameters of the external device or battery being charged this time are different from those of the external device or battery being charged last time, the relevant configuration of the charging device is changed through the external communication interface before the device to be charged is connected to the power output interface.

[0024] In the above embodiments, a charging device includes a power conversion module, a charging management module, a power path management module, a power output interface, an automatic detection module, and a controller. After the device to be charged is connected to the power output interface, the automatic detection module determines whether it detects a connection voltage. If a connection voltage is detected, the power path management module is controlled to connect to the charging management module; if no connection voltage is detected, the power path management module is controlled to connect to the power output module. Based on whether the automatic detection module detects a connection voltage, it determines whether the device to be charged is an external device or a battery. Based on the determined type of the device to be charged, the power path of the charging device is adjusted by adjusting the power path management module to complete the charging task for the corresponding device. Attached Figure Description

[0025] Figure 1 The structural block diagram of a charging device in the related art is shown. Figure 1 ;

[0026] Figure 2 The structural block diagram of a charging device in the related art is shown. Figure 2 ;

[0027] Figure 3 A structural block diagram of a charging device according to some embodiments is shown;

[0028] Figure 4 A circuit diagram of an automatic detection module according to some embodiments is shown;

[0029] Figure 5A circuit diagram of yet another automatic detection module according to some embodiments is shown;

[0030] Figure 6 A structural block diagram of a power path management module according to some embodiments is shown;

[0031] Figure 7 A schematic diagram showing the connection between the controller and other components according to some embodiments is shown;

[0032] Figure 8 A flowchart of the charging device according to some embodiments is shown;

[0033] Figure 9 A structural block diagram of yet another charging device according to some embodiments is shown;

[0034] Figure 10 An overall structural block diagram of a charging device according to some embodiments is shown;

[0035] Figure 11 A general workflow diagram of a charging device according to some embodiments is shown;

[0036] In the above image:

[0037] Charging device 1; power conversion module 11; charging management module 12; power path management module 13;

[0038] Power output interface 14; Automatic detection module 15; Controller 16;

[0039] AC-DC conversion module 111; power input interface 20;

[0040] First resistor 151; second resistor 152; capacitor 153; first contact 131; second contact 132;

[0041] Third contact 133; Fourth contact 134;

[0042] First communication interface 171; Second communication interface 172; Third communication interface 173;

[0043] Linear regulator 18; LDO181; External communication interface 19. Detailed Implementation

[0044] To make the objectives and implementation methods of this application clearer, the exemplary implementation methods of this application will be clearly and completely described below with reference to the accompanying drawings of the exemplary embodiments of this application. Obviously, the exemplary embodiments described are only some embodiments of this application, and not all embodiments.

[0045] It should be noted that the brief descriptions of terms in this application are only for the convenience of understanding the embodiments described below, and are not intended to limit the embodiments of this application. Unless otherwise stated, these terms should be understood in their ordinary and common meaning.

[0046] The terms "first," "second," "third," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar or related objects or entities, and do not necessarily imply a specific order or sequence, unless otherwise specified. It should be understood that such terms are interchangeable where appropriate.

[0047] The terms “include” and “have”, and any variations thereof, are intended to cover but not exclusively include, for example, a product or device that includes a range of components is not necessarily limited to all of the components that are clearly listed, but may include other components that are not clearly listed or that are inherent to such product or device.

[0048] This application provides a charging device 1, referring to... Figure 3 The charging device 1 includes a power conversion module 11, a charging management module 12, a power path management module 13, a power output interface 1414, an automatic detection module 15, and a controller 16. The power conversion module 11 is used to connect to an external power source. The charging management module 12 is connected to the power conversion module 11 and can output a corresponding voltage according to the configuration. The power path management module 13 is electrically connected to the power output module and the charging management module 12 respectively and is used to switch the power path of the charging device 1. The power output interface 1414 is electrically connected to the power path management module 13. The automatic detection module 15 is connected to the power output interface 1414. The automatic detection module 15 is used to detect the connection voltage of the power output interface 1414. When charging is performed using the charging device 1, after the power output interface 1414 is connected to the device to be charged, it is determined whether the automatic detection module 15 has detected the connection voltage. When the connection voltage is detected, the power path management module 13 is activated to connect it to the charging management module 12. When the connection voltage is not detected, the power path management module 13 is controlled to connect it to the power output module.

[0049] With the above settings, the charging device 1 proposed in this application can be compatible with both power supply to external devices and battery charging functions, and can achieve automatic switching. It has a simple structure, improves the portability of the device, solves the problem that chargers and adapters cannot be unified in related technologies, and does not impose excessive requirements on the performance of the device 1 to be charged, meeting the charging needs of ordinary batteries and external devices, and is easy to promote.

[0050] In some embodiments, the device to be charged 1 may be a mobile terminal, tablet computer, computer, laptop computer, various types of batteries, etc.

[0051] In some embodiments, the controller 16 controls the operation of the charging device 1 and responds to user operations through various control programs stored in the memory. The controller 16 controls the overall operation of the charging device 1. For example, in response to received user commands regarding various parameters of the power supply device, the controller 16 controls the output voltage of the power conversion module 11, the output voltage of the charging management module 12, and the connection status of the power path management module 13.

[0052] In some embodiments of this application, the controller 16 includes at least one of a central processing unit (CPU), a random access memory (RAM), a read-only memory (ROM), a first to an nth interface for input / output, a communication bus, etc.

[0053] In some embodiments of this application, the power conversion module 11 is configured as an AC-DC conversion module 111. The AC-DC conversion module 111 is provided with a power input interface 20, which is connected to an external power source (e.g., 220V power supply). The AC-DC conversion module 111 is used to convert the connected 220V AC power into the required DC voltage. The output voltage of the AC-DC conversion module 111 can be controlled by the controller 16.

[0054] Of course, the power input interface 20 can also be directly connected to DC power, replacing the power conversion module 11 with a transformer. The transformer is connected to the voltage input interface, and the output voltage of the transformer can be controlled by the controller 16.

[0055] In some embodiments of this application, reference is made to Figure 4 The automatic detection module 15 includes a first resistor 151 and a second resistor 152. The first terminal of the first resistor 151 is connected to the power output interface 1414, and the second terminal of the first resistor 151 is connected to the controller 16 and the first terminal of the second resistor 152. The second terminal of the second resistor 152 is grounded. When the power output interface 1414 is connected to the device to be charged 1, the controller 16 determines whether the voltage at the first terminal of the second resistor 152 is zero. If it is zero, the controller controls the power output interface 1414 to be directly connected to the power conversion module 11 through the power path management module 13. If it is not zero, the controller controls the power output interface 1414 to be connected to the power conversion module 11 through the power path management module 13 and the charging management module 12.

[0056] In the above configuration, the reason for grounding the second terminal of the second resistor 152 is to keep the traces of the controller 16 pins as short as possible and away from interference sources, so as to improve the accuracy of voltage detection and prevent the automatic detection module 15 from misjudging when the battery voltage is too low, incorrectly identifying the battery as an external device, causing the power path management module 13 to have an incorrect state, and damaging the battery and charging device 1.

[0057] Specifically, the internal circuit of the automatic detection module 15 can be configured as a voltage detection circuit. The above is one implementation of the voltage detection circuit; the automatic detection module 15 can also be configured as a voltage detection circuit with other implementations. For example, the voltage detection circuit can also be configured as... Figure 5 As shown, a capacitor 153 is connected in parallel across the two ends of the second resistor 152. The function of the capacitor 153 is to filter and reduce the ripple voltage at the pin of the controller 16 so that when the device to be charged 1 is a battery, the battery voltage can be accurately detected. The controller 16 can charge according to the battery voltage to achieve fine management of the battery charging process.

[0058] In some embodiments of this application, the accuracy of the first resistor 151 and the second resistor 152 can be set to 1% or 0.1%. The purpose of doing so is twofold: first, to make a more accurate judgment on whether the device to be charged 1 is a battery or an external device, and to avoid misjudgment; second, to detect the voltage change of the battery during the charging process, so as to accurately control the change of battery power and prevent overcharging, thereby protecting the charging device 1 and the battery.

[0059] In some embodiments of this application, reference is made to Figure 6 The power path management module 13 includes four contacts, which are defined as first contact 131, second contact 132, third contact 133 and fourth contact 134 respectively. First contact 131 is connected to power output interface 1414, second contact 132 is a protection contact, third contact 133 is connected to the output terminal of power output module, and fourth contact 134 is connected to the output terminal of charging management module 12. After connecting the device to be charged 1, the controller 16 selects the power path through the connection between each contact.

[0060] The charging device 1 can be coordinated with various working states by adjusting the connection method between the contacts of the power path management module 13. Specifically, when the charging device 1 proposed in this application is not working, that is, when the device to be charged 1 is not connected or an external power source is connected, or when the adaptive detection unit of the charging device 1 does not detect whether the device to be charged 1 is an external device or a battery, the first contact 131 and the second contact 132 are connected, and the charging task cannot be completed at this time.

[0061] When the adaptive detection unit detects the voltage, the controller 16 determines that the device 1 to be charged is a battery. At this time, the charging device 1 needs to act as a battery charger. The charging voltage of the battery needs to be adjusted by the charging management module 12. The first contact 131 and the fourth contact 134 are connected.

[0062] When the adaptive detection unit does not detect voltage, the controller 16 determines that the device to be charged 1 is an external device. At this time, the charging device 1 needs to act as an adapter. The first contact 131 and the third contact 133 are connected. The power output port is directly connected to the output terminal of the power conversion module 11 through the internal contact of the power path management module 13. The output voltage of the power conversion module 11 is used to directly charge the external device.

[0063] In some embodiments of this application, when the device to be charged 1 is connected to the power output interface 1414 but the controller 16 has not determined whether the connected device to be charged 1 is an external device or a battery, the first contact 131 and the second contact 132 are connected. Specifically, at the moment the device to be charged 1 is connected, the controller 16 detects that an external device is connected to the power output interface 1414. At this time, regardless of the state of the power path management module 13, the power path management module 13 needs to be reset, that is, the first contact 131 and the second contact 132 of the power path management module 13 are connected, to prevent the charging mode corresponding to the initial connection state of the power path management module 13 from being inconsistent with the type of the connected device to be charged 1, thus preventing damage to the device.

[0064] In some embodiments of this application, reference is made to Figure 7 The controller 16 is connected to the power conversion module 11 via the first communication interface 171, to the power path management module 13 via the second communication interface 172, and to the charging management module 12 via the third communication interface 173. Specifically, the first communication interface 171, the second communication interface 172, and the third communication interface 173 can be configured as serial ports, USB interfaces, or wireless communication interfaces, as long as they enable command transmission between the controller 16 and the power conversion module 11, the power path management module 13, and the charging management module 12. This application does not limit the specific type of communication interface.

[0065] In some embodiments of this application, reference is made to Figure 8 When the automatic detection module 15 detects the connection voltage, the controller 16 configures the parameters of the charging management module 12 through the third communication interface 173, configures the output voltage of the power conversion module 11 through the first communication interface 171, and controls the connection of the first contact 131 and the fourth contact 134 of the power path management module 13 through the second communication interface 172. At this time, the charging device 1 is a battery charger.

[0066] In some embodiments of this application, reference is made to Figure 8 When the automatic detection module 15 does not detect the connection voltage, it configures the output voltage of the power conversion module 11 through the first communication interface 171 and controls the connection of the first contact 131 and the second contact 132 of the power path management module 13 through the second communication interface 172. At this time, the charging device 1 is an adapter.

[0067] It should be noted that if the external device or battery connected to the charging device 1 in this application is fixed or has the same parameters, and the power input voltage does not change and the performance of each component of the charging device 1 does not change, the controller 16 can switch its own mode simply by adjusting the connection method of the contacts without reconfiguring the parameters.

[0068] For a fixed device, the power supply voltage and battery parameters are fixed. This information can be written from the computer to the controller 16 inside the charging device 1 via the external communication interface 19 and stored. The AC-DC conversion module 111 itself outputs a fixed voltage by default, such as 5V.

[0069] In some embodiments of this application, reference is made to Figure 9 It also includes a linear regulator 18, which is disposed between the power conversion module 11 and the controller 16. The linear regulator 18 is used to convert the output voltage of the power conversion module 11 into the operating voltage of the controller 16. Specifically, the linear regulator 18 can be configured as an LDO181, i.e., a low dropout regulator, which is a low-dropout linear regulator 18. Compared with a conventional linear regulator 18, this reduces the limitations on the input and output voltages, allowing the charging device 1 of this application to be applicable to more devices to be charged and power supply types.

[0070] In some embodiments of this application, reference is made to Figure 9 It also includes an external communication interface 19, which connects to an external terminal device. Users can modify battery configuration information and the output voltage of the power conversion module 11 on the external terminal device and transmit these modifications to the controller 16 via the external communication interface 19. Specifically, the external communication interface 19 and the controller 16 can be connected via an I2C bus to operate the controller 16 and obtain various data or logs stored within the controller 16.

[0071] In some embodiments of this application, when the charging parameters of the external device or battery being charged this time are different from those of the external device or battery being charged last time, the relevant configuration of the charging device 1 is changed through the external communication interface 19 before connecting the device 1 to be charged to the power output interface 1414. The relevant configuration includes at least the output voltage of the AC-DC conversion module 111 and the output voltage of the charging management module 12.

[0072] Reference Figure 10 The input terminal of the AC-DC conversion module 111 is a power input interface 20, which can be directly connected to AC mains power. The AC-DC conversion module 111 includes a power output port and a data transmission port. The power output port is connected to the third contact 133 of the power path management module 13, the charging management module 12, and the LDO 181. The LDO 181 is connected to the controller 16 to provide the controller 16 with a suitable operating voltage. The data transmission port of the AC-DC conversion module 111 is connected to the controller 16 through a first communication interface 171. The controller 16 can configure the parameters of the AC-DC conversion module 111 through the first communication interface 171, such as the output voltage of the AC-DC conversion module 111. In addition, the controller 16 is also connected to the power path management module 13 through a second communication interface 172 and to the charging management module 12 through a third communication interface 173 for corresponding parameter configuration and status control.

[0073] Meanwhile, the charging management module 12 is connected to the fourth contact 134 of the power path management module 13, and the first contact 131 of the power path management module 13 is connected to the power output interface 1414. The power output interface 1414 is used to connect the device to be charged 1. The power output interface 1414 is connected to the automatic detection module 15, which feeds back the presence of voltage in the power output interface 1414 to the controller 16. The controller 16 then transmits a signal to the power path management module 13 to adjust the connection of each contact of the power path management module 13 to meet the charging needs of the device to be charged 1 currently connected to the power output interface 1414.

[0074] When the fourth contact 134 is connected to the first contact 131, the charging device 1 of this application is a battery charger. The charging management module 12 is directly connected to the battery after passing through the power path selection module to realize the charging of the battery. When the third contact 133 is connected to the first contact 131, the charging device 1 of this application is an adapter. The AC-DC conversion module 111 is directly connected to the external device after passing through the power path selection module to realize the charging of the external device.

[0075] The controller 16 is also connected to an external communication interface 19, which can be connected to terminal devices such as computers and mobile phones. Users can operate on the terminal devices to configure relevant battery information, the output voltage of the AC-DC conversion module 111, the output voltage of the charging management module 12, etc., so that the charging device 1 of this application can be adjusted according to the needs of different users and expand the user base.

[0076] In addition, considering that some external devices can discharge under certain settings, in order to prevent the automatic detection module 15 and controller 16 from failing to correctly determine the type of the device to be charged 1 when such external devices are connected to the power output interface 1414, the judgment conditions of the device to be charged 1 can be changed through the external communication interface 19 to adapt to the charging needs of the above-mentioned types of external devices.

[0077] Reference Figure 11 The implementation principle of the above-mentioned charging device 1 is as follows.

[0078] After the power input interface 20 is connected to an external power source, the AC-DC conversion module 111 first outputs the power according to its default settings. This output voltage is then converted by the LDO181 to power the MCU. At this time, the power path management module 13 is in its default position, that is, the first contact 131 and the second contact 132 are connected. At this time, neither the voltage output by the AC-DC conversion module 111 nor the voltage output by the charging module is applied to the power output interface 1414.

[0079] When a battery is connected to the power output interface 1414, the automatic detection module 15 detects voltage at the power output port. At this time, the MCU determines that a battery is connected to the power output interface 1414. Next, the MCU configures the parameters of the charging management module 12 through the third communication interface 173 and configures the output voltage of the AC-DC conversion module 111 (such as battery voltage, charging current, etc., which are stored in the MCU) through the first communication interface 171. At the same time, the MCU controls the power path module to connect the first contact 131 to the fourth contact 134 through the second communication interface 172. At this time, the power output interface 1414 is connected to the charging management chip, and the entire charging device 1 functions as a charger.

[0080] When the power output interface 1414 is connected to an external device, the automatic detection module 15 cannot detect voltage, and the MCU determines that the power output interface 1414 is connected to an external device. Next, the MCU configures the parameters of the charging management module 12 through the third communication interface 173, and configures the output voltage of the AC-DC conversion module 111 (such as battery voltage, charging current, etc., these parameters are already stored in the MCU) through the first communication interface 171; at the same time, the MCU controls the power path module to connect the first contact 131 and the third contact 133 through the second communication interface 172. At this time, the power output interface 1414 is connected to the AC-DC conversion module 111, and the entire HUB performs the function of an adapter.

[0081] This embodiment proposes a charging device 1, which includes a power conversion module 11, a charging management module 12, a power path management module 13, a power output interface 1414, an automatic detection module 15, and a controller 16. The power conversion module 11 is connected to the power path management module 13 either through the charging management module 12 or directly. The power path management module 13 is connected to the power output interface 1414. After the device to be charged 1 is connected to the power output interface 1414, it is determined whether the automatic detection module 15 detects a connection voltage. When a connection voltage is detected, the power path management module 13 is controlled to connect to the charging management module 12. When no connection voltage is detected, the power path management module 13 is controlled to connect to the power output module. Based on whether the automatic detection module 15 detects the connection voltage, it determines whether the device to be charged 1 is an external device or a battery. Based on the type of the device to be charged 1, the power path of the charging device 1 is adjusted by the power path management module 13 to complete the charging task of the corresponding device to be charged 1. This enables the charging device 1 to have both battery charger and adapter charging functions, and can achieve automatic switching, avoiding the energy consumption caused by the need for multiple accessories or increased power in related technologies.

[0082] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.

[0083] For ease of explanation, the above description has been provided in conjunction with specific embodiments. However, the above exemplary discussion is not intended to be exhaustive or to limit the embodiments to the specific forms disclosed above. Various modifications and variations can be obtained based on the above teachings. The selection and description of the above embodiments are for the purpose of better explaining the principles and practical applications, thereby enabling those skilled in the art to better utilize the described embodiments and various different variations of embodiments suitable for specific use considerations.

Claims

1. A charging device, characterized in that, include: Power conversion module for connecting to an external power source; A charging management module is connected to the power conversion module, and the charging management module can output a corresponding voltage according to the configuration; A power path management module is electrically connected to the power output module and the charging management module, respectively, and is used to switch the power path of the charging device. A power output interface, which is electrically connected to the power path management module; An automatic detection module, which is connected to the power output interface, is used to detect the connection voltage of the power output interface; The controller is configured such that, after the power output interface is connected to the device to be charged, it determines whether the automatic detection module detects a connection voltage. When a connection voltage is detected, it controls the power path management module to connect to the charging management module; when no connection voltage is detected, it controls the power path management module to connect to the power output module. The automatic detection module includes a first resistor and a second resistor. The first terminal of the first resistor is connected to the power output interface, the second terminal of the first resistor is connected to the controller and the first terminal of the second resistor, and the second terminal of the second resistor is grounded. When the power output interface is connected to the device to be charged, the controller determines whether the voltage at the first terminal of the second resistor is zero. If it is zero, the controller controls the power output interface to be directly connected to the power conversion module through the power path management module. If it is not zero, the controller controls the power output interface to be connected to the power conversion module through the power path management module and the charging management module.

2. The charging device according to claim 1, characterized in that, The power path management module includes four contacts, defined as the first contact, the second contact, the third contact, and the fourth contact. The first contact is connected to the power output interface, the second contact is a protection contact, the third contact is connected to the output terminal of the power output module, and the fourth contact is connected to the output terminal of the charging management module. After connecting the device to be charged, the controller selects the power path through the connection between the contacts.

3. The charging device according to claim 2, characterized in that, When a device to be charged is connected to the power output interface but the controller cannot determine whether the connected device to be charged is an external device or a battery, the first contact and the second contact are connected.

4. The charging device according to claim 2, characterized in that, The controller is connected to the power conversion module through a first communication interface, the controller is connected to the power path management module through a second communication interface, and the controller is connected to the charging management module through a third communication interface.

5. The charging device according to claim 4, characterized in that, When the automatic detection module detects the connection voltage, the controller configures the parameters of the charging management module through the third communication interface, configures the output voltage of the power conversion module through the first communication interface, and controls the connection of the first and fourth contacts of the power path management module through the second communication interface. At this time, the charging device is a battery charger.

6. The charging device according to claim 4, characterized in that, When the automatic detection module does not detect the connection voltage, it configures the output voltage of the power conversion module through the first communication interface and controls the connection of the first and second contacts of the power path management module through the second communication interface. At this time, the charging device is an adapter.

7. The charging device according to claim 1, characterized in that, It also includes a linear regulator, which is disposed between the power conversion module and the controller, and is used to convert the output voltage of the power conversion module into the operating voltage of the controller.

8. The charging device according to claim 1, characterized in that, It also includes an external communication interface, which connects to an external terminal device. Users can modify the relevant configuration information of the battery and the output voltage of the power conversion module on the external terminal device and transmit the information to the controller through the external communication interface.

9. The charging device according to claim 8, characterized in that, When the charging parameters of the external device or battery being charged this time are different from those of the external device or battery being charged last time, the relevant configuration of the charging device is changed through the external communication interface before the device to be charged is connected to the power output interface.