Fast charging system, fast charger, electronic device and fast charging method
By configuring the voltage value through the main control chip of the electronic device and using it in conjunction with the fast charger, it solves the problem in the existing technology that the fast charging protocol requires additional chips, and realizes fast charging management that reduces cost and complexity.
Patent Information
- Application Number
- CN202110276258.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-03-15
- Publication Date
- 2025-01-24
- Estimated Expiration
- 2041-03-15
AI Technical Summary
The prior art requires additional fast charging protocol chips when implementing fast charging protocols, which increases the complexity of smart terminal design and product cost.
The main control chip of the electronic equipment is based on the preset charging voltage value of the voltage value of the voltage pins, and detects these voltage values through the fast charger to output fast charging voltage to achieve fast charging management and control.
The complexity and product cost of smart terminal design are reduced, and fast charge management and control can be completed through the existing main control chip.
Smart Images

Figure CN112952952B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of chargers, and in particular to a fast charging system, a fast charger, an electronic device and a fast charging method. Background Art
[0002] With the development of science and the progress of society, mobile portable smart terminals are becoming more and more popular. Their portable and fast operation experience makes users more and more bound to them, and users are becoming more and more inseparable from smart terminals. At the same time, the increase in user usage time has also led to the rapid development of large batteries and fast charging protocols such as QC to meet the user's usage time.
[0003] In the prior art, the implementation of fast charging protocols such as QC requires the addition of fast charging protocol chips to complete the handshake and processing of fast charging. This increases the complexity of smart terminal design and the cost of products. How to reduce production costs while achieving fast charging has become a difficult problem that needs to be solved urgently by those skilled in the art. Summary of the invention
[0004] The purpose of the present application is to provide a fast charging system, a fast charger, an electronic device and a fast charging method to at least partially improve the above-mentioned problems.
[0005] In order to achieve the above purpose, the technical solution adopted in the embodiment of the present application is as follows:
[0006] In a first aspect, an embodiment of the present application provides a fast charging system, the fast charging system comprising: an electronic device and a fast charger, the electronic device comprising a main control chip and a battery, the main control chip comprising a first signal pin and a second signal pin, the fast charger comprising a first detection pin, a second detection pin and an output pin;
[0007] The first detection pin is connected to the first signal pin, the second detection pin is connected to the second signal pin, and the output pin is connected to the battery;
[0008] The main control chip is used to configure the current voltage value of the first signal pin as a first preset voltage value and the current voltage value of the second signal pin as a second preset voltage value according to a preset charging voltage value;
[0009] When the fast charger obtains a current voltage value of the first signal pin through the first detection pin as a first preset voltage value and obtains a current voltage value of the second signal pin through the second detection pin as a second preset voltage value, the fast charger is used to output a fast charging voltage through the output pin, wherein the voltage value of the fast charging voltage is equal to the preset charging voltage value.
[0010] In a second aspect, an embodiment of the present application provides a fast charging method, the method is applied to an electronic device, the electronic device is electrically connected to a fast charger, the electronic device includes a main control chip and a battery, the main control chip includes a first signal pin and a second signal pin, and the fast charger includes a first detection pin, a second detection pin and an output pin;
[0011] The first detection pin is connected to the first signal pin, the second detection pin is connected to the second signal pin, and the output pin is connected to the battery;
[0012] The method comprises:
[0013] The main control chip configures the current voltage value of the first signal pin as a first preset voltage value and the current voltage value of the second signal pin as a second preset voltage value according to a preset charging voltage value;
[0014] So that the fast charger outputs a fast charging voltage through the output pin when the current voltage value of the first signal pin obtained through the first detection pin is a first preset voltage value and the current voltage value of the second signal pin obtained through the second detection pin is a second preset voltage value, wherein the voltage value of the fast charging voltage is equal to the preset charging voltage value.
[0015] In a third aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which implements the above-mentioned method when executed by a processor.
[0016] In a fourth aspect, an embodiment of the present application provides an electronic device, wherein the electronic device is charged by a fast charger, the electronic device comprises a main control chip and a battery, the main control chip comprises a first signal pin and a second signal pin, and the fast charger comprises a first detection pin, a second detection pin, and an output pin;
[0017] When the fast charger is connected to the electronic device, the first detection pin is connected to the first signal pin, the second detection pin is connected to the second signal pin, and the output pin is connected to the battery;
[0018] The main control chip is used to configure the current voltage value of the first signal pin as a first preset voltage value and the current voltage value of the second signal pin as a second preset voltage value according to a preset charging voltage value, wherein the first preset voltage value and the second preset voltage value are used to drive the fast charger to output a fast charging voltage through the output pin, and the voltage value of the fast charging voltage is equal to the preset charging voltage value.
[0019] Compared with the prior art, the embodiments of the present application provide a fast charging system, a fast charger, an electronic device and a fast charging method, wherein the fast charging system includes: an electronic device and a fast charger. The main control chip is used to configure the current voltage value of the first signal pin as a first preset voltage value and the current voltage value of the second signal pin as a second preset voltage value according to a preset charging voltage value. When the fast charger obtains the current voltage value of the first signal pin as the first preset voltage value through the first detection pin and obtains the current voltage value of the second signal pin as the second preset voltage value through the second detection pin, the fast charger is used to output the fast charging voltage through the output pin, wherein the voltage value of the fast charging voltage is equal to the preset charging voltage value. Compared with the implementation of QC and other fast charging protocols, which requires the addition of an additional fast charging protocol chip to complete the handshake and processing of fast charging, the fast charging management and control can be completed only through the existing main control chip of the electronic device, which reduces the complexity of the smart terminal design and the cost of the product.
[0020] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions of the embodiments of the present application, 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 application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0022] Figure 1 A schematic diagram of the structure of a fast charging system provided in an embodiment of the present application;
[0023] Figure 2 An equivalent circuit diagram provided for an embodiment of the present application;
[0024] Figure 3 Another equivalent circuit schematic diagram provided for an embodiment of the present application;
[0025] Figure 4 Another equivalent circuit schematic diagram provided for an embodiment of the present application;
[0026] Figure 5 Another structural schematic diagram of a fast charging system provided in an embodiment of the present application;
[0027] Figure 6 A schematic diagram of a process flow of a fast charging method provided in an embodiment of the present application.
[0028] In the figure: 10-electronic device; 20-fast charger; 101-main control chip; 102-battery; 103-charging interface; DETAILED DESCRIPTION
[0029] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations.
[0030] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0031] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0032] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0033] In the description of the present application, it should be noted that the terms "upper", "lower", "inside", "outside", etc. indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, or are the orientations or positional relationships in which the product of the application is usually placed when in use. They are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present application.
[0034] In the description of this application, it is also necessary to explain that, unless otherwise clearly specified and limited, the terms "disposed" and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or it can be the internal communication of two elements. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0035] In conjunction with the accompanying drawings, some embodiments of the present application are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.
[0036] In order to overcome the above problems, the present application embodiment provides a fast charging system. Figure 1 , the fast charging system includes: an electronic device 10 and a fast charger 20. The electronic device 10 includes a main control chip 101 and a battery 102. The main control chip 101 includes a first signal pin DP and a second signal pin DM. The fast charger 20 includes a first detection pin BP, a second detection pin BM and an output pin VB.
[0037] The first detection pin BP is connected to the first signal pin DP, the second detection pin BM is connected to the second signal pin DM, and the output pin VB is connected to the battery 102 .
[0038] Specifically, when the fast charger 20 is connected to the electronic device 10, the first detection pin BP is connected to the first signal pin DP, the second detection pin BM is connected to the second signal pin DM, and the output pin VB is connected to the battery 102; if the interface of the fast charger 20 is not inserted into the electronic device 10, the above connection relationship is disconnected.
[0039] The electronic device 10 further includes a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4 and a fifth resistor R5, and the main control chip 101 further includes a first configuration pin DP_CTRL1, a second configuration pin DP_CTRL2, a third configuration pin DP_CTRL3, a fourth configuration pin DM_CTRL1 and a fifth configuration pin DM_CTRL2.
[0040] The two ends of the first resistor R1 are connected to the first configuration pin DP_CTRL1 and the first signal pin DP respectively, the two ends of the second resistor R2 are connected to the second configuration pin DP_CTRL2 and the first signal pin DP respectively, the two ends of the third resistor R3 are connected to the third configuration pin DP_CTRL3 and the first signal pin DP respectively, the two ends of the fourth resistor R4 are connected to the fourth configuration pin DM_CTRL1 and the second signal pin DM respectively, and the two ends of the fifth resistor R5 are connected to the fifth configuration pin DM_CTRL2 and the second signal pin DM respectively.
[0041] The fast charger 20 is used to switch the first detection pin BP and the second detection pin BM to a conducting state at the initial moment when the fast charger 20 is connected to the electronic device 10 .
[0042] Because the first detecting pin BP is connected to the first signal pin DP, and the second detecting pin BM is connected to the second signal pin DM, the first signal pin DP is conductively connected to the second signal pin DM.
[0043] When the fast charge protocol is started, the main control chip 101 is used to set the voltage value of the second configuration pin DP_CTRL2 to the first configuration state, the voltage value of the third configuration pin DP_CTRL3 to the second configuration state, and the first configuration pin DP_CTRL1, the fourth configuration pin DM_CTRL1 and the fifth configuration pin DM_CTRL2 are suspended, so that the current voltage value of the first signal pin DP and the second signal pin DM is the third preset voltage. Among them, the first configuration state can be 3.3V, and the second configuration state can be 0. The corresponding equivalent circuit diagram is Figure 2 .
[0044] When the current voltage value of the first signal pin DP obtained through the first detection pin BP is a third preset voltage value and lasts longer than a first preset time, the fast charger 20 is further configured to switch the first detection pin BP and the second detection pin BM to a disconnected state.
[0045] Optionally, the first preset time is 1.25 seconds, and the third preset voltage value is 0.325V.
[0046] When it is detected that the current voltage value of the second signal pin DM drops from the third preset voltage value and the duration exceeds the second preset time, the main control chip 101 is further used to read the configuration file to obtain the preset charging voltage value.
[0047] When the first detection pin BP is disconnected from the second detection pin BM, the current voltage value of the second signal pin DM continues to decrease from the third preset voltage value, and the main control chip 101 can detect the current voltage value of the second signal pin DM. The second preset time can be 1ms, and the configuration file can be a related protocol.
[0048] Optionally, regarding when not to start fast charging, the embodiment of the present application also provides a possible implementation method, please refer to the following.
[0049] The main control chip 101 is also used to determine whether to start fast charging. If so, the fast charging protocol is started.
[0050] If not, the main control chip 101 is further configured to configure the first configuration pin DP_CTRL1, the second configuration pin DP_CTRL2, the third configuration pin DP_CTRL4, the fourth configuration pin DM_CTRL1 and the fifth configuration pin DM_CTRL2 to be suspended. The fast charger 20 is configured to output a default voltage through an output pin.
[0051] Optionally, the first configuration pin DP_CTRL1, the second configuration pin DP_CTRL2, the third configuration pin DP_CTRL4, the fourth configuration pin DM_CTRL1 and the fifth configuration pin DM_CTRL2 are configured to be suspended, so the current voltage value of the first signal pin DP is 0V. The fast charger 20 obtains the current voltage value of the first signal pin DP as 0V through the first detection pin BP, and outputs the default voltage through the output pin. The voltage value of the default voltage is 5V.
[0052] The main control chip 101 is also used to configure the current voltage value of the first signal pin DP as a first preset voltage value and the current voltage value of the second signal pin DM as a second preset voltage value according to the preset charging voltage value of the battery 102, wherein different preset charging voltage values correspond to different first preset voltage values.
[0053] When the fast charger 20 obtains the current voltage value of the first signal pin DP as a first preset voltage value through the first detection pin BP and obtains the current voltage value of the second signal pin DM as a second preset voltage value through the second detection pin BM, the fast charger 20 is used to output a fast charging voltage through the output pin VB, wherein the voltage value of the fast charging voltage is equal to the preset charging voltage value.
[0054] Optionally, because the first detection pin BP is connected to the first signal pin DP, and the second detection pin BM is connected to the second signal pin DM, the fast charger 20 can obtain the current voltage value of the first signal pin DP through the first detection pin BP, and obtain the current voltage value of the second signal pin DM through the second detection pin BM.
[0055] The combination of the current voltage value of the first signal pin DP and the current voltage value of the second signal pin DM represents the corresponding preset charging voltage value.
[0056] The fast charger 20 is used to output a fast charging voltage having a voltage value equal to a preset charging voltage value through the output pin VB, thereby completing the fast charging of the battery 102 .
[0057] Compared with the prior art, the implementation of fast charging protocols such as QC requires the addition of an additional fast charging protocol chip to complete the handshake and processing of fast charging. In the embodiment of the present application, fast charging management and control can be completed only through the existing main control chip 101 of the electronic device 10, reducing the complexity of the smart terminal design and the cost of the product.
[0058] In summary, an embodiment of the present application provides a fast charging system, and the fast charging system includes: an electronic device and a fast charger. The main control chip is used to configure the current voltage value of the first signal pin as the first preset voltage value and the current voltage value of the second signal pin as the second preset voltage value according to the preset charging voltage value. When the fast charger obtains the current voltage value of the first signal pin as the first preset voltage value through the first detection pin and obtains the current voltage value of the second signal pin as the second preset voltage value through the second detection pin, the fast charger is used to output the fast charging voltage through the output pin, wherein the voltage value of the fast charging voltage is equal to the preset charging voltage value. Compared with the implementation of fast charging protocols such as QC, which requires the addition of an additional fast charging protocol chip to complete the handshake and processing of fast charging, fast charging management and control can be completed only through the existing main control chip of the electronic device, reducing the complexity of smart terminal design and the cost of the product.
[0059] Regarding how to configure the current voltage value of the first signal pin DP and the current voltage value of the second signal pin DM, the present application embodiment also provides a possible implementation method, please continue to refer to Figure 1 .
[0060] The main control chip 101 is used to set the states of the first configuration pin DP_CTRL1, the second configuration pin DP_CTRL2, the third configuration pin DP_CTRL3, the fourth configuration pin DM_CTRL1 and the fifth configuration pin DM_CTRL2 according to the preset charging voltage value of the battery 102, so as to configure the current voltage value of the first signal pin DP to the first preset voltage value and the current voltage value of the second signal pin DM to the second preset voltage value.
[0061] Optionally, for how to set the states of the first configuration pin DP_CTRL1, the second configuration pin DP_CTRL2, the third configuration pin DP_CTRL3, the fourth configuration pin DM_CTRL1 and the fifth configuration pin DM_CTRL2, the embodiment of the present application also provides a possible implementation method, please refer to the following.
[0062] When the preset charging voltage value is 12V, the voltage value of the first configuration pin DP_CTRL1 is set to 0, the voltage value of the second configuration pin DP_CTRL2 is set to 3.3V, the third configuration pin DP_CTRL3 is configured to be suspended, the voltage value of the fourth configuration pin DM_CTRL1 is set to 0, and the voltage value of the fifth configuration pin DM_CTRL2 is set to 3.3V, so that the first preset voltage value is 0.6V and the second preset voltage value is 0.6V.
[0063] Please refer to Figure 3 3 is a schematic diagram of an equivalent circuit in the electronic device 10 when the preset charging voltage value is 12V.
[0064] When the preset charging voltage value is 9V, the first configuration pin DP_CTRL1 is configured to be suspended, the voltage value of the second configuration pin DP_CTRL2 is set to 3.3V, the third configuration pin DP_CTRL3 is configured to be suspended, the voltage value of the fourth configuration pin DM_CTRL1 is set to 0, and the voltage value of the fifth configuration pin DM_CTRL2 is set to 3.3V, so that the first preset voltage value is 3.3V and the second preset voltage value is 0.6V.
[0065] Please refer to Figure 4 4 is a schematic diagram of an equivalent circuit in the electronic device 10 when the preset charging voltage value is 9V.
[0066] Optionally, when the preset charging voltage values are different, the configuration states of the same configuration pin may be the same or different.
[0067] Optionally, regarding how to achieve the connection between the fast charger 20 and the electronic device 10, the present application embodiment also provides a possible implementation method, please refer to Figure 5 The electronic device 10 also includes a charging interface 103, and the charging interface 103 includes a first transition pin D+, a second transition pin D-, and a third transition pin VBUS.
[0068] Optionally, the charging interface 103 is a USB interface.
[0069] The first detection pin BP is connected to the first signal pin DP through the first transition pin D+, the second detection pin BM is connected to the second signal pin DM through the second transition pin D−, and the output pin VB is connected to the battery 102 through the third transition pin VBUS.
[0070] Optionally, in the embodiment of the present application, the resistance of the first resistor R1 is 2.2k; the resistance of the second resistor R2 is 10k; the resistance of the third resistor R3 is 101k; the resistance of the fourth resistor R4 is 2.2k; and the resistance of the fifth resistor R5 is 10k.
[0071] The present application also provides a fast charging method for Figure 1 The electronic device 10 shown is electrically connected to the fast charger 20. The electronic device 10 includes a main control chip 101 and a battery 102. The main control chip 101 includes a first signal pin DP and a second signal pin DM. The fast charger 20 includes a first detection pin BP, a second detection pin BM and an output pin VB.
[0072] The first detection pin BP is connected to the first signal pin DP, the second detection pin BM is connected to the second signal pin DM, and the output pin VB is connected to the battery 102 .
[0073] The process of fast charging method is as follows Figure 6 Please refer to Figure 6 , fast charging methods include:
[0074] S101, the main control chip configures the current voltage value of the first signal pin as the first preset voltage value and the current voltage value of the second signal pin as the second preset voltage value according to the preset charging voltage value, so that the fast charger obtains the current voltage value of the first signal pin through the first detection pin as the first preset voltage value, and obtains the current voltage value of the second signal pin through the second detection pin as the second preset voltage value, and the fast charger outputs the fast charging voltage through the output pin.
[0075] Among them, different preset charging voltage values correspond to different first preset voltage values, and the voltage value of the fast charging voltage is equal to the preset charging voltage value.
[0076] Optionally, the electronic device 10 further includes a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, and a fifth resistor R5, and the main control chip 101 further includes a first configuration pin DP_CTRL1, a second configuration pin DP_CTRL2, a third configuration pin DP_CTRL3, a fourth configuration pin DM_CTRL1, and a fifth configuration pin DM_CTRL2. The two ends of the first resistor R1 are respectively connected to the first configuration pin DP_CTRL1 and the first signal pin DP, the two ends of the second resistor R2 are respectively connected to the second configuration pin DP_CTRL2 and the first signal pin DP, the two ends of the third resistor R3 are respectively connected to the third configuration pin DP_CTRL3 and the first signal pin DP, the two ends of the fourth resistor R4 are respectively connected to the fourth configuration pin DM_CTRL1 and the second signal pin DM, and the two ends of the fifth resistor R5 are respectively connected to the fifth configuration pin DM_CTRL2 and the second signal pin DM.
[0077] Before S101, a fast charging method provided in an embodiment of the present application further includes:
[0078] When the fast charge protocol is started, the main control chip sets the voltage value of the second configuration pin to the first configuration state (3.3V), sets the voltage value of the third configuration pin to the second configuration state (0V), and leaves the first configuration pin, the fourth configuration pin, and the fifth configuration pin unconnected, so that the current voltage value of the first signal pin and the second signal pin is the third preset voltage; wherein, at the initial moment when the fast charger is connected to the electronic device, the first detection pin and the second detection pin are switched to the on state. When the fast charger obtains the current voltage value of the first signal pin through the first detection pin as the third preset voltage value, and the duration exceeds the first preset time, the first detection pin and the second detection pin are switched to the off state.
[0079] When it is detected that the current voltage value of the second signal pin drops from the third preset voltage value and the duration exceeds the second preset time, the main control chip reads the configuration file to obtain the preset charging voltage value.
[0080] Optionally, for S101, the embodiment of the present application also provides a possible implementation method, please refer to the following.
[0081] The main control chip sets the states of the first configuration pin, the second configuration pin, the third configuration pin, the fourth configuration pin and the fifth configuration pin according to the preset charging voltage value, thereby configuring the current voltage value of the first signal pin to the first preset voltage value and configuring the current voltage value of the second signal pin to the second preset voltage value.
[0082] Optionally, regarding when not to start fast charging, the embodiment of the present application also provides a possible implementation method, please refer to the following.
[0083] The main control chip determines whether to start fast charging. If so, when the fast charging protocol is started;
[0084] If not, the main control chip configures the first configuration pin, the second configuration pin, the third configuration pin, the fourth configuration pin and the fifth configuration pin to be suspended, so that the fast charger outputs a default voltage through the output pin.
[0085] It should be noted that the fast charging method provided in this embodiment can perform the functions and uses shown in the above fast charging system embodiment to achieve the corresponding technical effects. For the sake of brief description, for parts not mentioned in this embodiment, please refer to the corresponding contents in the above embodiments.
[0086] The present application also provides a computer-readable storage medium, which stores computer instructions and programs, and when the computer instructions and programs are read and run, the fast charging method of the above embodiment is executed. The storage medium may include memory, flash memory, registers, or a combination thereof.
[0087] Please continue to refer to Figure 1 The embodiment of the present application further provides a fast charger 20. The fast charger 20 is used to charge the electronic device 10. The electronic device 10 includes a main control chip 101 and a battery 102. The main control chip 101 includes a first signal pin DP and a second signal pin DM. The fast charger 20 includes a first detection pin BP, a second detection pin BM and an output pin VB.
[0088] When the fast charger 20 is connected to the electronic device 10 , the first detection pin BP is connected to the first signal pin DP, the second detection pin BM is connected to the second signal pin DM, and the output pin VB is connected to the battery 102 .
[0089] When the fast charger 20 obtains the current voltage value of the first signal pin DP as a first preset voltage value through the first detection pin BP and obtains the current voltage value of the second signal pin DM as a second preset voltage value through the second detection pin BM, the fast charger 20 is used to output a fast charging voltage through the output pin VB, wherein the voltage value of the fast charging voltage is equal to the preset charging voltage value.
[0090] It should be noted that the fast charger 20 can perform the functions and uses of the fast charger 20 in the fast charging system shown in the above embodiment to achieve the corresponding technical effects. For the sake of brief description, for parts not mentioned in this embodiment, please refer to the corresponding contents in the above embodiment.
[0091] Please continue to refer to Figure 1The embodiment of the present application also provides an electronic device 10. The electronic device 10 is charged by a fast charger 20. The electronic device 10 includes a main control chip 101 and a battery 20. The main control chip 101 includes a first signal pin DP and a second signal pin DM. The fast charger 20 includes a first detection pin BP, a second detection pin BM and an output pin VB.
[0092] When the fast charger 20 is connected to the electronic device 10 , the first detection pin BP is connected to the first signal pin DP, the second detection pin BM is connected to the second signal pin DM, and the output pin VB is connected to the battery 102 .
[0093] The main control chip 101 is used to configure the current voltage value of the first signal pin DP as a first preset voltage value and the current voltage value of the second signal pin DM as a second preset voltage value according to the preset charging voltage value of the battery 20, wherein the first preset voltage value and the second preset voltage value are used to drive the fast charger 20 to output a fast charging voltage through the output pin VB, and the voltage value of the fast charging voltage is equal to the preset charging voltage value.
[0094] It should be noted that the electronic device 10 can perform the functions and uses of the electronic device 10 in the fast charging system shown in the above embodiment to achieve the corresponding technical effects. For the sake of brief description, for parts not mentioned in this embodiment, reference can be made to the corresponding contents in the above embodiment.
[0095] In the embodiment of the present application, the main control chip 101 can be an integrated circuit chip with signal processing capability. The above-mentioned main control chip 101 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
[0096] The electronic device 10 in the embodiment of the present application may be a mobile phone or other smart terminals.
[0097] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
[0098] It will be apparent to those skilled in the art that the present application is not limited to the details of the exemplary embodiments described above, and that the present application can be implemented in other specific forms without departing from the spirit or essential features of the present application. Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of the present application is defined by the appended claims rather than the above description, and it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims be included in the present application. Any reference numeral in a claim should not be considered as limiting the claim to which it relates.
Claims
1. A fast charging system, characterized in that: The fast charging system comprises: an electronic device and a fast charger, the electronic device comprises a main control chip and a battery, the main control chip comprises a first signal pin and a second signal pin, and the fast charger comprises a first detection pin, a second detection pin and an output pin; The first detection pin is connected to the first signal pin, the second detection pin is connected to the second signal pin, and the output pin is connected to the battery; The main control chip is used to configure the current voltage value of the first signal pin as a first preset voltage value and the current voltage value of the second signal pin as a second preset voltage value according to a preset charging voltage value; In the case where the current voltage value of the first signal pin obtained by the fast charger through the first detection pin is a first preset voltage value, and the current voltage value of the second signal pin obtained through the second detection pin is a second preset voltage value, the fast charger is used to output a fast charging voltage through the output pin, wherein the voltage value of the fast charging voltage is equal to the preset charging voltage value; The electronic device further includes a first resistor, a second resistor, a third resistor, a fourth resistor and a fifth resistor, and the main control chip further includes a first configuration pin, a second configuration pin, a third configuration pin, a fourth configuration pin and a fifth configuration pin; Two ends of the first resistor are connected to the first configuration pin and the first signal pin respectively, two ends of the second resistor are connected to the second configuration pin and the first signal pin respectively, two ends of the third resistor are connected to the third configuration pin and the first signal pin respectively, two ends of the fourth resistor are connected to the fourth configuration pin and the second signal pin respectively, and two ends of the fifth resistor are connected to the fifth configuration pin and the second signal pin respectively; The fast charger is further used to switch the first detection pin and the second detection pin to a conducting state at an initial moment when the fast charger is connected to the electronic device; When the fast charge protocol is started, the main control chip is also used to set the voltage value of the second configuration pin to the first configuration state, set the voltage value of the third configuration pin to the second configuration state, and leave the first configuration pin, the fourth configuration pin, and the fifth configuration pin suspended, so that the current voltage values of the first signal pin and the second signal pin are the third preset voltage; When the current voltage value of the first signal pin obtained through the first detection pin is a third preset voltage value and the duration exceeds a first preset time, the fast charger is further used to switch the first detection pin and the second detection pin to a disconnected state; When it is detected that the current voltage value of the second signal pin drops from the third preset voltage value and the duration exceeds a second preset time, the main control chip is further used to read the configuration file to obtain the preset charging voltage value.
2. The fast charging system according to claim 1, characterized in that: The main control chip is used to set the states of the first configuration pin, the second configuration pin, the third configuration pin, the fourth configuration pin and the fifth configuration pin according to a preset charging voltage value, so as to configure the current voltage value of the first signal pin to the first preset voltage value and the current voltage value of the second signal pin to the second preset voltage value.
3. The fast charging system according to claim 1, characterized in that: The main control chip is also used to determine whether to start fast charging, and if so, start the fast charging protocol; If not, the main control chip is used to configure the first configuration pin, the second configuration pin, the third configuration pin, the fourth configuration pin and the fifth configuration pin to be suspended, so that the fast charger outputs a default voltage through the output pin.
4. A fast charging method, characterized in that: The method is applied to an electronic device, the electronic device is electrically connected to a fast charger, the electronic device comprises a main control chip and a battery, the main control chip comprises a first signal pin and a second signal pin, and the fast charger comprises a first detection pin, a second detection pin and an output pin; The first detection pin is connected to the first signal pin, the second detection pin is connected to the second signal pin, and the output pin is connected to the battery; The method comprises: The main control chip configures the current voltage value of the first signal pin as a first preset voltage value and the current voltage value of the second signal pin as a second preset voltage value according to a preset charging voltage value; so that the fast charger outputs a fast charging voltage through the output pin when the current voltage value of the first signal pin obtained through the first detection pin is a first preset voltage value and the current voltage value of the second signal pin obtained through the second detection pin is a second preset voltage value, wherein the voltage value of the fast charging voltage is equal to the preset charging voltage value; The main control chip also includes a first configuration pin, a second configuration pin, a third configuration pin, a fourth configuration pin and a fifth configuration pin; Before the main control chip configures the current voltage value of the first signal pin as the first preset voltage value and the current voltage value of the second signal pin as the second preset voltage value according to the preset charging voltage value, the method further includes: When the fast charging protocol is started, the main control chip sets the voltage value of the second configuration pin to the first configuration state, sets the voltage value of the third configuration pin to the second configuration state, and leaves the first configuration pin, the fourth configuration pin, and the fifth configuration pin suspended, so that the current voltage values of the first signal pin and the second signal pin are the third preset voltage; wherein, at the initial moment when the fast charger is connected to the electronic device, the first detection pin and the second detection pin are switched to the on state; When the current voltage value of the first signal pin obtained by the fast charger through the first detection pin is a third preset voltage value and the duration exceeds a first preset time, the first detection pin and the second detection pin are switched to a disconnected state; When it is detected that the current voltage value of the second signal pin drops from the third preset voltage value and the duration exceeds a second preset time, the main control chip reads the configuration file to obtain the preset charging voltage value.
5. The fast charging method according to claim 4, characterized in that: The method further comprises: The main control chip sets the states of the first configuration pin, the second configuration pin, the third configuration pin, the fourth configuration pin and the fifth configuration pin according to a preset charging voltage value, thereby configuring the current voltage value of the first signal pin to be the first preset voltage value, and configuring the current voltage value of the second signal pin to be the second preset voltage value.
6. The fast charging method according to claim 4, characterized in that: After the fast charger is initially connected to the electronic device, the method further includes: The main control chip determines whether to start fast charging, and if so, starts the fast charging protocol; If not, the main control chip configures the first configuration pin, the second configuration pin, the third configuration pin, the fourth configuration pin and the fifth configuration pin to be suspended, so that the fast charger outputs a default voltage through the output pin.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 4 to 6 is implemented.
8. An electronic device, characterized in that: The electronic device is charged by a fast charger, the electronic device comprises a main control chip and a battery, the main control chip comprises a first signal pin and a second signal pin, and the fast charger comprises a first detection pin, a second detection pin and an output pin; When the fast charger is connected to the electronic device, the first detection pin is connected to the first signal pin, the second detection pin is connected to the second signal pin, and the output pin is connected to the battery; The main control chip is used to configure the current voltage value of the first signal pin as a first preset voltage value and the current voltage value of the second signal pin as a second preset voltage value according to a preset charging voltage value, wherein the first preset voltage value and the second preset voltage value are used to drive the fast charger to output a fast charging voltage through the output pin, and the voltage value of the fast charging voltage is equal to the preset charging voltage value; The main control chip also includes a first configuration pin, a second configuration pin, a third configuration pin, a fourth configuration pin and a fifth configuration pin; When the fast charging protocol is started, the main control chip is used to set the voltage value of the second configuration pin to the first configuration state, set the voltage value of the third configuration pin to the second configuration state, and leave the first configuration pin, the fourth configuration pin, and the fifth configuration pin suspended, so that the current voltage values of the first signal pin and the second signal pin are the third preset voltage; wherein, at the initial moment when the fast charger is connected to the electronic device, the first detection pin and the second detection pin are switched to the on state; When the current voltage value of the first signal pin obtained by the fast charger through the first detection pin is a third preset voltage value and the duration exceeds a first preset time, the first detection pin and the second detection pin are switched to a disconnected state; When it is detected that the current voltage value of the second signal pin drops from the third preset voltage value and the duration exceeds a second preset time, the main control chip is further used to read the configuration file to obtain the preset charging voltage value.
Citation Information
Patent Citations
Charging method, mobile terminal and charging equipment
CN108347069A
Electronic device and charging control method
CN111201689A