Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The features of the terms first and second in the description and in the claims of the present application may explicitly or implicitly include one or more of such features. In the description of the present application, "a plurality" means two or more unless otherwise specified. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
In the description of the present application, it is to be understood that the terms "central," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," "clockwise," "counterclockwise," "axial," "radial," "circumferential," and the like are used in the orientations and positional relationships indicated in the drawings for convenience in describing the present application and to simplify the description, and are not intended to indicate or imply that the referenced devices or elements must have a particular orientation, be constructed and operated in a particular orientation, and are therefore not to be considered limiting of the present application.
In the description of the present application, it is to be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meaning of the above terms in the present application can be understood in a specific case by those of ordinary skill in the art.
The connection line, the charge control method, the charge control device, and the electronic apparatus according to the embodiments of the present application are described below with reference to fig. 1 to 9.
In some embodiments of the present application, a connection line is provided, and fig. 1 shows a circuit diagram of a connection line according to an embodiment of the present application, and as shown in fig. 1, the connection line includes:
a first connector 100 for connecting one of a power supply device and a terminal, the first connector 100 having a first Vbus contact 102 and a first SBU contact 104 disposed therein;
a second connector 200 for connecting the other of the power supply device and the terminal, a second Vbus contact 202 and a second SBU contact 204 being provided within the second connector 200;
a harness 300, a first end of the harness 300 being connected to the first connector 100, a second end of the harness 300 being connected to the second connector 200, the harness 300 comprising a first core 302, the first core 302 communicating the first Vbus contact 102 and the second Vbus contact 202 for transmitting electrical energy between the first Vbus contact 102 and the second Vbus contact 202;
a first resistive element 400, a first end of the first resistive element 400 is connected to the first SBU contact 104, and a second end of the first resistive element 400 is grounded;
and a second resistive element 500, a first terminal of the second resistive element 500 being connected to the second SBU contact 204, and a second terminal of the second resistive element 500 being connected to ground.
In this embodiment of the application, the first connector 100 and the second connector 200 may be configured as a Type-C connector, and the wiring harness 300 of the connection line includes a first core 302, where the first core 302 is specifically a Vbus core in the circuit shown in fig. 1, and is used for transmitting electric energy, i.e., a charging signal, between the charging device and a terminal, such as a mobile phone.
A first SBU contact 104 and a second SBU contact 204 are respectively disposed in the first connector 100 and the second connector 200, a first resistive element 400 is connected to the first SBU contact 104, and a second resistive element 500 is connected to the second SBU contact 204. As shown in fig. 1, the first SBU contact 104 and the second SBU contact 204 are SBU (SBU1, SBU2) contacts in the figure, and the first resistive element 400 and the second resistive element 500 are respectively used for indicating that the current connection line supports "high power" charging to the travel charging and the terminal.
Wherein, the first connector 100 and the second connector 200 can both be connected to the charging device and the terminal. It can be understood that when the first connector 100 is connected to the charging device, the second connector 200 should be connected to the terminal, thereby charging the terminal. When the first connector 100 is connected to a terminal, the second connector 200 can be connected to a charging device for charging, or can be connected to a terminal, such as a mobile phone, a charger, a human-computer interaction device, etc., so as to implement charging or transmit data commands. It should be noted that if the first connector 100 and the second connector 200 are connected to the charging device, the charging device and the connecting line will not work.
Specifically, a first end of the first resistive element 400 is connected to the first SBU contact 104, and a second end of the first resistive element 400 is grounded, so that when the first connector 100 is inserted into the interface, the interface can recognize that a pull-down resistor is connected to the first SBU contact 104 through the contact point contacting the first SBU contact 104, and thus, the current connection line is determined to be a connection line supporting high-power charging. Similarly, the second resistive element 500 disposed in the second connector 200 enables the terminal to recognize that the current connection line is a connection line supporting high power charging.
Further, the resistance values of the first resistive element 400 and the second resistive element 500 may be set according to the maximum charging power that can be supported by the connection line. For example, setting the resistance values of the first resistive element 400 and the second resistive element 500 to a Ω represents that the maximum charging power that can be carried by the connection line is bW, and setting the resistance values of the first resistive element 400 and the second resistive element 500 to c Ω represents that the maximum charging power that can be carried by the connection line is dW.
When the charging device detects that the connecting line is inserted, whether a resistive element is arranged on the first SBU contact or the second SBU contact is judged, if yes, the resistance value of the resistive element is further obtained, the maximum bearing power of the connecting line is determined according to the resistance value, and therefore the target charging power is set. Similarly, the terminal side sets the target power taking power according to the same logic, so as to establish charging connection with the charging device.
When the first connector is inserted into the first interface of the charging device, the charging device judges whether the current connecting line supports quick charging or not by detecting whether the first SBU contact has a pull-down resistor (namely, detecting whether the first resistive element exists). If the charging device detects that the pull-down resistor exists on the first SBU contact, the charging device confirms that the current connecting line can bear high-power charging current/voltage, and if the charging device does not detect that the pull-down resistor exists on the first SBU contact, the connecting line is confirmed to be a common connecting line, and at the moment, the charging power can be determined according to a PD protocol.
Similarly, when the second connector 200 is plugged into the second interface of the terminal, the terminal adjusts its maximum charging power by detecting whether there is a pull-down resistor on the second SBU contact 204 in the same manner.
This application embodiment is through in the joint of connecting wire, sets up extra contact and resistive element for charging device (like traveling charge) and terminal (like the cell-phone) can discern whether the connecting wire supports high-power charging, consequently can make and carry out quick charge through the power upper limit (like the 100W display that the PD agreement stipulates) that surpasss the agreement standard between charging device and the terminal equipment, thereby improved charging power and charge efficiency.
In some embodiments of the present application, as shown in fig. 1, a first CC contact 106 is further disposed in the first connector 100, a second CC contact 206 is further disposed in the second connector 200, and the wire harness 300 further includes a second wire core 304, the second wire core 304 communicating the first CC contact 106 and the second CC contact 206; the connecting wire still includes: the register chip 600 is used for storing wire information of the connecting wire, the register chip 600 includes a data pin 602, and the data pin 602 is connected to the second wire core 304.
In the embodiment of the present application, the connection line is provided with a register chip 600(E-mark), where the register chip 600 is used to store the wire information of the current connection line, including, for example, the maximum current and the maximum voltage that the connection line can carry, the wire resistance of the wire, the wire model, the manufacturer identification of the wire, and the like.
The second wire core 304 is a CC wire core shown in fig. 1, the CC wire core is an ac charging confirmation signal wire for enabling the charging device to detect whether a terminal is connected, the wire core is mainly used for transmitting data signals, and is respectively connected to the first CC contact 106 in the first connector 100 and the second CC contact 206 in the second connector 200, and meanwhile, the signal pin of the registration chip 600 is also connected to the second wire core 304, so as to send the wire information stored therein to the charging device or the terminal.
Specifically, after the connection line is connected to the charging device and the terminal, the charging device detects that the second core 304, that is, the CC core, has the pull-down resistor, and then it indicates that the terminal is connected, at this time, the second core 304 acquires the wire information of the connection line from the register chip 600, and after confirming the wire information, the wire information is sent to the terminal side through the second core 304.
At the same time, the charging device and the terminal detect whether there is a pull-down resistor on the first SBU contact 104 and the second SBU contact 204, respectively. If the pull-down resistor is detected, the charging device and the terminal send corresponding information through the second wire core 304, and the charging power and the power taking power are adjusted according to the resistance value of the pull-down resistor, so that high-power charging is realized. When the pull-down resistor on the first SBU contact 104 or the second SBU contact 204 is not detected, the charging device sends the PD communication protocol to the terminal through the second wire core 304, sets the charging power and the power-taking power according to the content of the PD communication protocol, and starts charging.
According to the embodiment of the application, the wire information is stored by the chip 600 through setting and registering, and the compatibility of the connecting wire can be further improved.
In some embodiments of the present application, as shown in fig. 1, the first connector 100 further has a first VCON contact 108 disposed therein, the second connector 200 further has a second VCON contact 208 disposed therein, the wiring harness 300 further includes a third wire core 306 and a fourth wire core 308;
the register chip 600 further includes a first power pin 604 and a second power pin 606, the first power pin 604 is connected to the third core 306, and the second power pin 606 is connected to the fourth core 308;
the connecting wire still includes:
a first decoupling capacitor 702, wherein a first end of the first decoupling capacitor 702 is connected to the third core 306, and a second end of the first decoupling capacitor 702 is grounded;
a second decoupling capacitor 704, a first terminal of the second decoupling capacitor 704 being connected to the fourth core 308, a second terminal of the second decoupling capacitor 704 being connected to ground.
In the embodiment of the present application, the connection line bundle 300 further includes a third line core 306 and a fourth line core 308, wherein the third line core 306 and the fourth line core 308 are VCONN lines for supplying power to the register chip 600 (E-mark). Specifically, the register chip 600 is provided with two power supply pins, which are respectively connected to the third core 306 and the fourth core 308, and the third core 306 and the fourth core 308 respectively communicate the power supply pins of the register chip 600 with the power supply contacts of the first connector 100/the second connector 200, that is, the first VCON contact 108 and the second VCON contact 208.
Therefore, no matter which of the first connector 100 and the second connector 200 is connected with the terminal or the charging device, the power can be supplied to the registering chip 600 through the corresponding wire core, so that the wire information stored in the registering chip 600 is acquired, and the use experience of the connecting wire is improved.
Further, the connection line further includes a first decoupling capacitor 702 and a second decoupling capacitor 704, wherein the third core 306 is grounded through the first decoupling capacitor 702, the fourth core 308 is grounded through the second decoupling capacitor 704, and the first decoupling capacitor 702 and the second decoupling capacitor 704 can ensure that the voltage and the current of the power supply signals on the third core 306 and the fourth core 308 are stable, so as to ensure the power supply stability of the register chip 600 and improve the reliability of the connection line.
In some embodiments of the present application, as shown in fig. 1, the number of the first SBU contacts 104 is two, and the two first SBU contacts 104 are disposed oppositely; the number of the second SBU contacts 204 is two, and the two second SBU contacts 204 are arranged oppositely;
the first resistive element 400 includes a first resistor 402 and a second resistor 404, the first resistor 402 and the second resistor 404 being connected to one SBU contact 104 of the two SBU contacts 104, respectively; the second resistive element 500 includes a third resistor 502 and a fourth resistor 504, and the third resistor 502 and the fourth resistor 504 are respectively connected to one SBU contact 204 of the two SBU contacts 204;
the first resistor 402, the second resistor 404, the third resistor 502 and the fourth resistor 504 have the same resistance.
In the embodiment of the present application, the number of the first SBU contact 104 and the number of the second SBU contact 204 are two, and the corresponding contacts are arranged oppositely. Specifically, the first connector 100 and the second connector 200 are Type-C Type connectors, which are characterized in that the insertion direction of the connectors when inserted into the interface is not differentiated. Therefore, the contacts and the corresponding pull-down resistors, namely the first resistor 402, the second resistor 404, the third resistor 502 and the fourth resistor 504, are arranged at the symmetrical positions on the two sides of the Typc C connector, so that when the connecting wire is inserted into the interface in any direction, the corresponding contacts and the corresponding pull-down resistors can be identified by the charging device and the terminal, and the use convenience of the wire is improved.
Meanwhile, the resistances of the first resistor 402, the second resistor 404, the third resistor 502 and the fourth resistor 504 are equal, so that the resistances of the pull-down resistors acquired by the charging device and the terminal are the same, that is, the heavy load power which can be borne by the identified wire is the same, and the charging reliability is ensured.
In some embodiments of the present application, there is provided a charging control method for controlling a charging device, the charging device including a first interface, fig. 2 shows one of flowcharts of the charging control method according to an embodiment of the present application, and as shown in fig. 2, the method includes:
step 802, detecting a resistive element of the connecting line under the condition that the first interface is identified to be connected with the connecting line;
in step 802, the connection lines are specifically the connection lines provided in any of the above embodiments.
Step 804, under the condition that the resistive element is detected, determining first power according to the resistance value of the resistive element;
step 806, outputting a power supply signal to the first core of the connection line according to the first power.
In the embodiment of the application, corresponding contacts and resistive elements are arranged in joints of the connecting wire, and when the resistive elements are detected, the current connecting wire is the connecting wire supporting high-power charging. Furthermore, the maximum bearing power of the charging wire is determined according to the resistance value of the resistive element, the first power when the terminal is charged is determined according to the maximum bearing power, and according to the first power, a power supply signal is output to the terminal through the first wire core in the wiring of the connecting wire, namely the Vbus wire core, so that the terminal can be charged and used for electricity.
Specifically, for example, if the resistances of the first resistive element and the second resistive element are set to a Ω, it represents that the maximum charging power that can be carried by the connection line is bW, and the resistances of the first resistive element and the second resistive element are c Ω, it represents that the maximum charging power that can be carried by the connection line is dW, and after the maximum charging power that can be carried by the connection line is determined, an appropriate charging power is selected to charge the terminal. The charging device (such as travel charging) and the terminal (such as a mobile phone) can identify whether the connecting line supports high-power charging, so that the charging device and the terminal equipment can be rapidly charged through the upper power limit (such as 100W display specified by PD protocol) exceeding the protocol specification, and the charging power and the charging efficiency are improved.
In some embodiments of the present application, in the event that the resistive element is not detected, acquiring an acknowledgement signal of a second wire core of the connection wire; under the condition that the confirmation signal is obtained, a protocol charging signal is sent to the terminal through the second wire core; determining second power according to the protocol charging signal, and outputting a power supply signal to a first core of the connecting line according to the second power; wherein the second power is lower than the first power.
In this embodiment of the application, if the charging device does not detect that the corresponding contact and the resistive element are arranged in the joint of the connecting line, that is, the pull-down resistor is not detected, the confirmation signal is further obtained through the second wire core connected first. Wherein, the second core is specifically the CC core, also exchanges the affirmation signal line that charges. If the confirmation signal exists on the second wire core, namely the pull-down resistor exists on the CC wire core is detected, the terminal equipment is inserted, at the moment, communication is sent to the terminal according to PD communication information, corresponding second power is determined according to the communication information, a PD protocol is used, a power supply signal is input to the first wire core of the connecting wire according to the second power, namely the power supply signal is output to the Vbus, and therefore the terminal obtains electric energy through the power supply signal on the Vbus.
Here, since the maximum charging power specified by the PD protocol is 100W, the charging power at this time is generally less than or equal to 100W, and is also less than the charging power during "high power" charging, that is, the first power.
Wherein, for the charging device, fig. 3 shows a flow chart of the operation of the charging device according to the embodiment of the present application, as shown in fig. 3, including:
step 902, detecting that a connecting wire is inserted;
step 904, judging whether a resistor exists on the SBU contact; if yes, go to step 908, otherwise go to step 906;
step 906, judging whether the resistance on the CC wire core is present; if yes, go to step 910, otherwise go to step 912;
step 908, determining the charging power according to the SBU resistance value;
step 910, PD communication is performed on CC;
step 912, Vbus does not output power;
in step 914, Vbus outputs the corresponding power.
In some embodiments of the present application, a charging control method is provided for a terminal, and fig. 4 shows a second flowchart of the charging control method according to the embodiment of the present application, and as shown in fig. 4, the method includes:
step 1002, detecting a power supply signal of a first wire core of a connecting wire under the condition that the second interface is identified to be connected with the connecting wire;
in step 1002, the connecting wires are the connecting wires provided in any of the above embodiments.
Step 1004, detecting a resistive element of the connecting line under the condition of detecting a power supply signal;
step 1006, determining a first power according to a resistance value of the resistive element when the second resistive element is detected;
and step 1008, charging at the first power through the power supply signal.
In the embodiment of the present application, it is first detected whether a charging signal is present on the first core, i.e., VBus, of the connection line. If yes, the other end of the connecting line is connected with a charging device, and at the moment, the power supply power is further determined.
Specifically, the corresponding contact and the resistive element are arranged in the joint of the connecting wire, and when the resistive element is detected, the current connecting wire is the connecting wire supporting high-power charging. Furthermore, the maximum bearing power of the charging wire is determined according to the resistance value of the resistive element, the terminal sets the power taking power of the terminal according to the maximum bearing power, and the power supply signal output by the charging device is obtained through the first wire core of the connecting wire, namely the Vbus wire core.
Specifically, for example, if the resistances of the first resistive element and the second resistive element are set to a Ω, it represents that the maximum charging power that can be carried by the connection line is bW, and if the resistances of the first resistive element and the second resistive element are c Ω, it represents that the maximum charging power that can be carried by the connection line is dW.
In the embodiment of the application, the charging device (such as a travel charger) and the terminal (such as a mobile phone) can identify whether the connecting line supports high-power charging through the pull-down resistor arranged on the SBU, so that the charging device and the terminal equipment can be rapidly charged through the upper power limit (such as 100W display specified by the PD protocol) exceeding the protocol specification, and the charging power and the charging efficiency are improved. Meanwhile, the charging power is determined by detecting the pull-down resistor, the PD communication process is skipped, the time for entering high-power quick charging can be shortened, and the charging efficiency is improved.
In some embodiments of the present application, in the event that the resistive element is not detected, acquiring a protocol charging signal through a second wire core of the connection wire; under the condition that the protocol charging signal is obtained, determining corresponding second power according to the protocol charging signal; charging at a second power by a power supply signal; charging with a third power through a power supply signal under the condition that the protocol charging signal is not acquired; wherein the second power is lower than the first power, and the third power is lower than the second power.
In this embodiment of the application, if the pull-down resistor is not detected on the SBU, it is also indicated that the current connection line does not support high-power charging, at this time, PD protocol communication is performed between the second core of the connection line, that is, the CC core, and the charging device, specifically, a protocol charging signal sent by the charging device is received, and the protocol charging signal is used to determine the maximum charging power when the terminal is charged and the power that the charging device can provide.
And under the condition of acquiring the protocol charging signal on the CC, determining corresponding second power according to the PD protocol, and charging through the second power.
If the protocol charging signal on the CC cannot be acquired, the fault of the CC wire core is judged to be possible, the charging safety is ensured at the moment, the terminal can be normally charged, and the terminal is charged with the third power at the moment. Here, since the maximum charging power specified by the PD protocol is 100W, the charging power at this time is generally less than or equal to 100W, and is also less than the charging power during "high power" charging, that is, the first power.
And when the charging power cannot be set through the PD protocol, the terminal charges with a safe power that can satisfy the terminal activity, that is, a third power.
This application embodiment sets up the terminal and charges according to safe third power when CC sinle silk is unusual, can make the terminal still can charge when the CC sinle silk of connecting wire is unusual, has improved the general nature of charging.
Fig. 5 shows a flowchart of the operation of the terminal according to the embodiment of the present application, and as shown in fig. 5, the flowchart includes:
step 1102, detecting that a connecting wire is inserted;
step 1104, determining whether there is a voltage on Vbus; if yes, go to step 1106, otherwise repeat step 1104;
step 1106, judging whether a resistor exists on the SBU; if yes, go to step 1110, otherwise go to step 1108;
step 1108, determine if there is a voltage on CC; if yes, go to step 1114, otherwise go to step 1116;
step 1110, determining charging power according to the resistance value of the SBU resistor;
step 1112, notifying the charger to adjust the power supply;
step 1114, notifying the hotel output power through PD communication;
step 1116, the travel charge output power is notified according to a preset mode.
In some embodiments of the present application, a charging control device is provided, where the charging control device is used for a charging device, the charging device includes a first interface, fig. 6 shows one of the structural block diagrams of the charging control device according to the embodiments of the present application, and as shown in fig. 6, the charging control device 1200 includes:
a first identification module 1202 for detecting a first resistive element of the connection line if it is identified that the first interface is connected to, for example, the connection line;
a first determining module 1204, configured to determine, in a case where the first resistive element is detected, a first power according to a resistance value of the first resistive element;
the output module 1206 is configured to output the first power to the first core of the connection line.
In the embodiment of the application, corresponding contacts and resistive elements are arranged in joints of the connecting wire, and when the resistive elements are detected, the current connecting wire is the connecting wire supporting high-power charging. Furthermore, the maximum bearing power of the charging wire is determined according to the resistance value of the resistive element, the first power when the terminal is charged is determined according to the maximum bearing power, and according to the first power, a power supply signal is output to the terminal through the first wire core in the wiring of the connecting wire, namely the Vbus wire core, so that the terminal can be charged and used for electricity.
Specifically, for example, if the resistances of the first resistive element and the second resistive element are set to a Ω, it represents that the maximum charging power that can be carried by the connection line is bW, and the resistances of the first resistive element and the second resistive element are c Ω, it represents that the maximum charging power that can be carried by the connection line is dW, and after the maximum charging power that can be carried by the connection line is determined, an appropriate charging power is selected to charge the terminal. The charging device (such as travel charging) and the terminal (such as a mobile phone) can identify whether the connecting line supports high-power charging, so that the charging device and the terminal equipment can be rapidly charged through the upper power limit (such as 100W display specified by PD protocol) exceeding the protocol specification, and the charging power and the charging efficiency are improved.
In some embodiments of the present application, the first identification module 1202 is further configured to obtain an acknowledgement signal of the second core of the connection line if the resistive element is not detected;
the output module 1206 is further configured to send a protocol charging signal to the terminal through the second wire core under the condition that the confirmation signal is obtained; determining second power according to the protocol charging signal, and outputting a power supply signal to a first core of the connecting line according to the second power;
wherein the second power is lower than the first power.
In this embodiment of the application, if the charging device does not detect that the corresponding contact and the resistive element are arranged in the joint of the connecting line, that is, the pull-down resistor is not detected, the confirmation signal is further obtained through the second wire core connected first. Wherein, the second core is specifically the CC core, also exchanges the affirmation signal line that charges. If the confirmation signal exists on the second wire core, namely the pull-down resistor exists on the CC wire core is detected, the terminal equipment is inserted, at the moment, communication is sent to the terminal according to PD communication information, corresponding second power is determined according to the communication information, a PD protocol is used, a power supply signal is input to the first wire core of the connecting wire according to the second power, namely the power supply signal is output to the Vbus, and therefore the terminal obtains electric energy through the power supply signal on the Vbus.
Here, since the maximum charging power specified by the PD protocol is 100W, the charging power at this time is generally less than or equal to 100W, and is also less than the charging power during "high power" charging, that is, the first power.
In some embodiments of the present application, a charging control apparatus is provided, which is used for a terminal, where the terminal includes a second interface, fig. 7 shows a second structural block diagram of the charging control apparatus according to the embodiment of the present application, and as shown in fig. 7, the charging control apparatus 1300 includes:
the second identifying module 1302 is configured to detect a power supply signal of the first core of the connection line when the second interface is identified to be connected to the connection line; detecting a second resistive element of the connecting line in case of detecting the supply signal;
a second determining module 1304, configured to determine, when the second resistive element is detected, the first power according to a resistance value of the second resistive element;
the charging module 1306 is configured to charge with the first power through the power supply signal.
In the embodiment of the present application, it is first detected whether a charging signal is present on the first core, i.e., VBus, of the connection line. If yes, the other end of the connecting line is connected with a charging device, and at the moment, the power supply power is further determined.
Specifically, the corresponding contact and the resistive element are arranged in the joint of the connecting wire, and when the resistive element is detected, the current connecting wire is the connecting wire supporting high-power charging. Furthermore, the maximum bearing power of the charging wire is determined according to the resistance value of the resistive element, the terminal sets the power taking power of the terminal according to the maximum bearing power, and the power supply signal output by the charging device is obtained through the first wire core of the connecting wire, namely the Vbus wire core.
Specifically, for example, if the resistances of the first resistive element and the second resistive element are set to a Ω, it represents that the maximum charging power that can be carried by the connection line is bW, and if the resistances of the first resistive element and the second resistive element are c Ω, it represents that the maximum charging power that can be carried by the connection line is dW.
In the embodiment of the application, the charging device (such as a travel charger) and the terminal (such as a mobile phone) can identify whether the connecting line supports high-power charging through the pull-down resistor arranged on the SBU, so that the charging device and the terminal equipment can be rapidly charged through the upper power limit (such as 100W display specified by the PD protocol) exceeding the protocol specification, and the charging power and the charging efficiency are improved. Meanwhile, the charging power is determined by detecting the pull-down resistor, the PD communication process is skipped, the time for entering high-power quick charging can be shortened, and the charging efficiency is improved.
In some embodiments of the present application, the second identification module 1302 is further configured to acquire a protocol charging signal through a second wire core of the connection wire if the resistive element is not detected;
the second determining module 1304 is further configured to determine a corresponding second power according to the protocol charging signal when the protocol charging signal is obtained;
the charging module 1306 is further configured to charge at a second power through the power supply signal; charging with a third power through a power supply signal under the condition that the protocol charging signal is not acquired;
wherein the second power is lower than the first power, and the third power is lower than the second power.
In this embodiment of the application, if the pull-down resistor is not detected on the SBU, it is also indicated that the current connection line does not support high-power charging, at this time, PD protocol communication is performed between the second core of the connection line, that is, the CC core, and the charging device, specifically, a protocol charging signal sent by the charging device is received, and the protocol charging signal is used to determine the maximum charging power when the terminal is charged and the power that the charging device can provide.
And under the condition of acquiring the protocol charging signal on the CC, determining corresponding second power according to the PD protocol, and charging through the second power.
If the protocol charging signal on the CC cannot be acquired, the fault of the CC wire core is judged to be possible, the charging safety is ensured at the moment, the terminal can be normally charged, and the terminal is charged with the third power at the moment. Here, since the maximum charging power specified by the PD protocol is 100W, the charging power at this time is generally less than or equal to 100W, and is also less than the charging power during "high power" charging, that is, the first power.
And when the charging power cannot be set through the PD protocol, the terminal is charged with a safe power that can satisfy the terminal activity, that is, a third power (generally 5W, 5V/1A).
This application embodiment sets up the terminal and charges according to safe third power when CC sinle silk is unusual, can make the terminal still can charge when the CC sinle silk of connecting wire is unusual, has improved the general nature of charging.
In some embodiments of the present application, a first electronic device is provided, and fig. 8 shows a block diagram of a first electronic device according to an embodiment of the present application, and as shown in fig. 8, the first electronic device 1400 includes a first processor 1402, a first memory 1404, and a program or instructions stored in the first memory 1404 and executable on the first processor 1402.
The above programs or instructions, when executed by the first processor 1402, implement the steps of the charging control method for a charging device in any of the above embodiments, so that the first electronic device simultaneously includes all the beneficial effects of the charging control method for a charging device in any of the above embodiments, and in order to avoid repetition, details are not repeated herein.
In some embodiments of the present application, a second electronic device is provided, and fig. 9 shows a block diagram of a second electronic device according to an embodiment of the present application, and as shown in fig. 9, the second electronic device 1500 includes a second processor 1502, a second memory 1504, and a program or instructions stored on the second memory 1504 and executable on the second processor 1502.
The above programs or instructions are executed by the second processor 1502 to implement the steps of the charging control method for a terminal in any of the above embodiments, so that the second electronic device simultaneously includes all the beneficial effects of the charging control method for a terminal in any of the above embodiments, and in order to avoid repetition, the description is omitted here.
In the description herein, reference to the description of the terms "one embodiment," "some embodiments," "an illustrative embodiment," "an example," "a specific example," or "some examples" or the like means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
While embodiments of the present application have been shown and described, it will be understood by those of ordinary skill in the art that: various changes, modifications, substitutions and alterations can be made to the embodiments without departing from the principles and spirit of the application, the scope of which is defined by the claims and their equivalents.