Charging method, charging head, portable device and computer readable storage medium

By detecting the compatible voltage of portable devices, the charging head automatically adjusts the charging voltage, solving the problem that different devices require different charging heads, thus simplifying the charging process and improving compatibility.

CN110247460BActive Publication Date: 2026-03-24SHENZHEN TRANSSION HLDG CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-07-16
Publication Date
2026-03-24

AI Technical Summary

Technical Problem

Due to the wide variety of portable electronic device manufacturers and manufacturing processes, different portable electronic devices require different charging heads, making the charging process cumbersome.

Method used

The charging head determines the compatible voltage of the portable device by detecting the voltage level of the positive data line terminal, and adjusts the charging voltage accordingly, simplifying the charging process and improving compatibility.

Benefits of technology

While simplifying the charging process, it improves the compatibility and charging efficiency of the charging head, and ensures the stability and safety of the input voltage of portable devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110247460B_ABST
    Figure CN110247460B_ABST
Patent Text Reader

Abstract

The application discloses a charging method, comprising: a charging head outputs a preset voltage; detecting the level value of a positive data line terminal of the charging head; determining the charging voltage according to the level value and outputting the charging voltage. The application also discloses a charging head, a portable device and a computer readable storage medium. The application determines the charging voltage according to the level value of the positive data line terminal of the charging head, which simplifies the charging steps.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of electronic appliances, and in particular to a charging method, a charging head, a portable device, and a computer readable storage medium. BACKGROUND

[0002] With the increasing popularity of portable electronic devices, portable electronic devices have become an essential part of people's lives, such as mobile phones and tablet computers.

[0003] Portable electronic devices generally use batteries as energy sources, so charging is an essential part of the use of portable electronic devices. However, due to the rich variety of manufacturers and production processes of portable electronic devices, the charging heads of portable electronic devices are also different, resulting in the need for different charging heads for different portable electronic devices, which has the disadvantage of a complicated charging process.

[0004] The above content is only used to assist in understanding the technical solutions of the present application and does not represent an acknowledgement of the above content as prior art. SUMMARY

[0005] The main purpose of the present application is to provide a charging method, a charging head, a portable device, and a computer readable storage medium, which aims to simplify the charging steps.

[0006] To achieve the above purpose, the present application provides a charging method, which comprises the following steps:

[0007] The charging head outputs a preset voltage;

[0008] Detecting the level value of the positive data line terminal of the charging head;

[0009] Determining the charging voltage according to the level value and outputting the charging voltage.

[0010] Optionally, the step of determining the charging voltage according to the level value and outputting the charging voltage comprises:

[0011] The charging head obtains an associated voltage of the level value, wherein the associated voltage is a compatible voltage of a portable device connected to the charging head;

[0012] Determining the charging voltage according to the compatible voltage and outputting the charging voltage.

[0013] Optionally, after the step of determining the charging voltage according to the level value and outputting the charging voltage, the method further comprises:

[0014] Receiving the input voltage fed back by the portable device;

[0015] determining a line loss voltage according to the input voltage and the compatible voltage;

[0016] adjusting the charging voltage according to the line loss voltage.

[0017] Optionally, the step of determining the charging voltage according to the compatible voltage and outputting the charging voltage comprises:

[0018] when the compatible voltage matches the preset voltage, outputting the preset voltage as the charging voltage;

[0019] when the compatible voltage does not match the preset voltage, outputting the compatible voltage as the charging voltage.

[0020] To achieve the above object, the charging method comprises the following steps:

[0021] detecting the type of the charging port when detecting voltage input of the USB port of the portable device;

[0022] outputting a detection level through the positive data line terminal of the portable device to enable the charging head to determine the charging voltage according to the detection level when detecting that the type of the charging port connected with the portable device is a preset type.

[0023] Optionally, the step of detecting the type of the charging port when detecting voltage input of the portable device comprises:

[0024] pulling up the voltage on the negative data line terminal of the portable device to a first preset voltage when detecting voltage input of the USB port of the portable device;

[0025] detecting the current voltage value on the positive data line terminal of the portable device and determining the type of the charging port according to the current voltage value.

[0026] Optionally, the step of outputting a detection level through the positive data line when detecting that the type of the charging port is a preset type further comprises:

[0027] detecting the input voltage in real time and feeding back the input voltage to the charging head to enable the charging head to determine the line loss voltage value according to the input voltage.

[0028] To achieve the above object, the present application further provides a charging head, which comprises a memory, a processor and a charging control program stored in the memory and executable on the processor, and the charging control program realizes the steps of the above charging method when executed by the processor.

[0029] To achieve the above objectives, the present invention also provides a portable device, the portable device including a memory, a processor, and a charging control program stored in the memory and executable on the processor, wherein the charging control program, when executed by the processor, implements the steps of the above charging method.

[0030] To achieve the above objectives, the present invention also provides a computer-readable storage medium storing a charging control program, which, when executed by a processor, implements the steps of the above-described charging method.

[0031] The charging method, charging head, portable device, and computer-readable storage medium provided by this invention involve the charging head first outputting a preset voltage, then detecting the voltage level on the positive data line terminal, determining the charging voltage of the portable device based on the voltage level, and then outputting the charging voltage. Since the charging head can determine the charging voltage by detecting the voltage level on the positive data line terminal, the user does not need to determine whether the charging head is compatible with the portable device when charging it. This achieves the effect of simplifying the charging process while improving the compatibility of the charging head. Attached Figure Description

[0032] Figure 1 This is a schematic diagram of the hardware operating environment of the terminal involved in the embodiment of the present invention;

[0033] Figure 2 This is a schematic flowchart of an embodiment of the charging method of the present invention;

[0034] Figure 3 This is a flowchart illustrating another embodiment of the present invention;

[0035] Figure 4 This is a flowchart illustrating another embodiment of the charging method of the present invention.

[0036] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0037] It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

[0038] This invention provides a charging method in which the charging head determines the charging voltage by detecting the level value on the positive data line, thus solving the problem of cumbersome charging steps in existing charging processes.

[0039] like Figure 1 As shown, Figure 1 This is a schematic diagram of the hardware operating environment of the terminal involved in the embodiment of the present invention.

[0040] The terminal of the embodiment of the present application includes but is not limited to a charging head or a portable device.

[0041] As shown in Figure 1 , the terminal can include a processor 1001 such as a CPU, a user interface 1003, a memory 1004, and a communication bus 1002. The communication bus 1002 is used to realize the connection communication between the components. The user interface 1003 can include a display screen (Display), and the memory 1004 can optionally be a storage device independent of the aforementioned processor 1001.

[0042] Those skilled in the art can understand that Figure 1 the structure of the terminal shown in the above description does not constitute a limitation on the terminal, and can include more or fewer components than those shown, or combine certain components, or different component arrangements.

[0043] As shown in Figure 1 , the memory 1005 as a computer storage medium can include a user interface module and a charging control program.

[0044] In the terminal shown in Figure 1 , the processor 1001 can be used to call the charging control program stored in the memory 1005 and perform the following operations:

[0045] The charging head outputs a preset voltage;

[0046] Detect the level value of the positive data line terminal of the charging head;

[0047] Determine the charging voltage according to the level value and output the charging voltage.

[0048] Further, the processor 1001 can call the charging control program stored in the memory 1005 and further perform the following operations:

[0049] The charging head obtains an associated voltage of the level value, wherein the associated voltage is a compatible voltage of a portable device connected to the charging head;

[0050] Determine the charging voltage according to the compatible voltage and output the charging voltage.

[0051] Further, the processor 1001 can call the charging control program stored in the memory 1005 and further perform the following operations:

[0052] Receive the input voltage fed back by the portable device;

[0053] Determine the line loss voltage according to the input voltage and the compatible voltage;

[0054] Adjust the charging voltage according to the line loss voltage.

[0055] Further, the processor 1001 can invoke a charging control program stored in the memory 1005, and further perform the following operations:

[0056] output the preset voltage as the charging voltage when the compatible voltage matches the preset voltage;

[0057] output the compatible voltage as the charging voltage when the compatible voltage does not match the preset voltage.

[0058] Further, the processor 1001 can invoke a charging control program stored in the memory 1005, and further perform the following operations:

[0059] detect the type of the charging port when detecting voltage input of the USB port of the portable device;

[0060] output a detection level through the positive data line terminal of the portable device to enable the charging head to determine the charging voltage according to the detection level when detecting that the type of the charging port connected with the portable device is a preset type.

[0061] Further, the processor 1001 can invoke a charging control program stored in the memory 1005, and further perform the following operations:

[0062] pull up the voltage on the negative data line terminal of the portable device to a first preset voltage when detecting voltage input of the USB port of the portable device;

[0063] detect the current voltage value on the positive data line terminal of the portable device, and determine the type of the charging port according to the current voltage value.

[0064] Further, the processor 1001 can invoke a charging control program stored in the memory 1005, and further perform the following operations:

[0065] detect the input voltage in real time, and feed back the input voltage to the charging head to enable the charging head to determine the line loss voltage value according to the input voltage.

[0066] Referring to Figure 2 In an embodiment of the charging method, the charging method comprises:

[0067] S10, the charging head outputs a preset voltage;

[0068] In the embodiment, the execution subject can be a charging head, which is internally provided with a microprocessor for processing data and controlling other chips and / or circuits of the charging head to realize its own functions. When the charging head is connected with a power supply, the power supply power can be drawn. Then, the high-voltage alternating current of the power supply is converted into direct current of a preset voltage value through internal voltage / current processing devices (for example, transformers) and rectifiers and other components of the charging head.

[0069] Specifically, when the charging head is connected with the power supply, a preset voltage is outputted, wherein the preset voltage can be set by the manufacturer of the charging head. For example, the charging head commonly uses charging voltages of 5V, 9V or 12V, and the preset voltage can be set as 5V. When the charging head is connected with the power supply, the output voltage of the charging head is set as 5V.

[0070] It should be noted that the charging head is a power conversion device, which is provided with an input interface and an output interface. The output interface can be set as a USB interface, and the USB interface can be connected with a charging line provided with a USB connector. The input interface can be connected with a plug, and the plug can be connected with a commercial power supply. It can be understood that the input interface can also be connected with a vehicle power supply. In this embodiment, the type of the input power supply of the charging head is not limited. For example, the type of the input power supply of the charging head can be 220V commercial power, 330V commercial power, a vehicle power supply and / or other power supplies.

[0071] In step S20, the level value of the positive data line terminal of the charging head is detected.

[0072] In the embodiment, when the output interface of the charging head is set as a USB interface, the interface is provided with a power line terminal, a ground line terminal and a differential signal line terminal. The differential signal line terminal includes a positive data line (DP, Data Positive) terminal and a negative signal line (DM, Data Minus) terminal. Thus, the charging head can be connected with one end of a USB line through the terminals. The other end of the USB line is connected with a USB interface of a portable device.

[0073] Further, the charging head is further provided with a voltage detection component, through which the voltage signal on the positive data line terminal can be detected in real time. When the level value on the positive data line terminal is determined through the voltage detection component, the associated compatible voltage is queried according to the level value. Among them, the association information between the level signal and the compatible voltage can be pre-stored in the storage medium readable by the processor of the charging head. For example, when the level values are 1V, 2V and 3V respectively, the associated compatible voltages can be 5V, 9V and 12V respectively. Therefore, when the processor detects that the level value on the positive data line terminal is 1V through the voltage detection component, it can be determined that the compatible voltage of the portable device connected through the USB connecting line is 5V, when the level value on the positive data line terminal is 2V, the processor determines that the compatible voltage of the portable device is 9V, and when the level value is 3V, the compatible voltage is determined to be 12V.

[0074] It can be understood that the above-mentioned level value is not used to limit the association characteristics between the level value and the compatible voltage, but only to explain the charging method proposed by the application.

[0075] Step S30, determining the charging voltage according to the level value, and outputting the charging voltage.

[0076] In the embodiment, when determining the compatible voltage of the currently connected portable device, the charging voltage of the charging head is determined according to the compatible voltage, that is, the output voltage value of the charging head when charging the portable device.

[0077] Specifically, when determining the compatible voltage of the currently connected portable device, the line determines whether the current output voltage of the charging head matches the compatible voltage. Among them, the current output voltage of the charging head is a preset voltage. For example, when the preset output voltage is 5V, and the compatible voltage of the obtained portable device is 5V, it is determined that the current output voltage matches the compatible voltage. When the compatible voltage matches the preset voltage, the output voltage of the charging head is not adjusted, that is, the preset voltage is used as the charging voltage of the charging head.

[0078] When the preset voltage and the compatible voltage do not match, the compatible voltage is used as the charging voltage of the charging head. That is, the output voltage of the charging head is adjusted to the compatible voltage. For example, the preset voltage is 5V, and the compatible voltage is 9V, so the output voltage of the charging head is adjusted from 5V to 9V.

[0079] In the technical solution disclosed in the embodiment, the preset voltage is output first, then the level value of the positive data line terminal is detected, the compatible voltage of the portable device is determined according to the level value, the charging voltage is determined according to the compatible voltage, and the charging voltage is output. Since the charging head can obtain the compatible voltage of the currently connected portable device by detecting the level value of the positive data line terminal, and determine the charging voltage according to the compatible voltage, when charging the portable device, the user does not need to determine whether the charging head is compatible with the portable device, so that the effect of simplifying the charging steps and improving the compatibility of the charging head is achieved.

[0080] In another embodiment, as shown in the above embodiment, after the step S30, the method further comprises: Figure 3

[0081] The step S40, receiving the input voltage fed back by the portable device;

[0082] The step S50, determining the line loss voltage according to the input voltage and the compatible voltage;

[0083] The step S60, adjusting the charging voltage according to the line loss voltage.

[0084] In the embodiment, when the charging head outputs the charging voltage, the input voltage fed back by the portable device can be accepted, that is, the input voltage of the charging port of the portable device during the charging process. Since the charging head and the portable device are connected through the USB connecting line, the output end of the charging head acts as a power supply during the charging process, and the portable device and the USB connecting line are equivalent to a load connected in series to the power supply. When the conductive performance of the USB connecting line is poor and / or the length is large, the resistance of the USB connecting line will also be relatively large. Thus, the input voltage of the portable device connected to the power supply through the USB connecting line is less than the power supply voltage (the output voltage of the charging head).

[0085] When the charging head receives the input voltage fed back by the portable device, the line loss voltage can be determined according to the input voltage and the compatible voltage. In the charging process, the charging voltage output by the charging head is equal to the compatible voltage, so the input voltage U s , the compatible voltage U j and the line loss voltage U x satisfy the following relationship:

[0086] U x = U j -U s

[0087] Since the input voltage U s , the compatible voltage U j and the line loss voltage U x ​The above relationship is satisfied, and the compatible voltage of the portable device is a known quantity. Therefore, when the charging head receives the input voltage fed back by the portable device, the line loss voltage can be determined according to the input voltage and the compatible voltage.

[0088] When the line loss voltage is determined, the charging voltage of the charging head can be adjusted according to the line loss voltage. That is, the output voltage of the charging head is increased by a preset amount, so that the input voltage of the portable device is equal to the compatible voltage. The preset amount can be equal to the line loss voltage, or the preset amount Y can be based on the line loss voltage U x , which is determined according to the following formula:

[0089] Y = aU x + θ

[0090] Wherein, a and θ are adjustment coefficient and redundancy coefficient respectively, which are fixed values.

[0091] It can be understood that when the portable device can feed back the input voltage in real time, the charging head can determine the real-time value of the preset amount according to the received real-time input voltage, so as to adjust the charging voltage in real time according to the real-time preset amount. In this way, the input voltage of the portable device can be kept within the permitted range.

[0092] In the technical solution disclosed in the embodiment, the input voltage fed back by the portable device is first received, and then the line loss voltage is determined according to the input voltage and the compatible voltage, and the charging voltage is adjusted according to the line loss voltage. Since the line loss voltage can be determined and the charging voltage can be adjusted according to the line loss voltage, the stability of the input of the portable device is ensured, so that the charging safety of the portable device is improved while the charging efficiency is improved.

[0093] Referring to Figure 4 In another embodiment of the charging method, the charging method comprises the following steps:

[0094] Step S1, when detecting that the USB port of the portable device has voltage input, performing charging port type detection;

[0095] Step S2, when detecting that the type of the charging port connected with the portable device is a preset type, outputting a detection level through the positive data line terminal of the portable device, so that the charging head determines the charging voltage according to the detection level.

[0096] In this embodiment, the execution subject is a portable device, such as a mobile phone, a tablet computer, etc.

[0097] The portable device is provided with a charging port, wherein the charging port can be a USB port. When a voltage input is detected at the USB port, the portable device can perform type detection of the charging port. Since the USB port can be set as different port types in different application scenarios, for example, can be set as a standard downstream port (SDP, Standard Downstream Port), a dedicated charging port (DCP, Dedicated Charging Port) or a charging downstream port (CDP, Charging Downstream Port).

[0098] Therefore, when a USB voltage input is detected, port type detection can be performed.

[0099] Specifically, it can be detected whether the access current corresponding to the current input voltage is a valid circuit, and it is determined whether the current input voltage is greater than the determination voltage value. The determination voltage value is a preset value, for example, can be set between 0.8V-4V.

[0100] When the access circuit is a valid circuit, data connection detection (Detect Vbus) can be performed, that is, it is determined whether DP or ID PIN (ID personal identification number) is connected within a predetermined time length. When data connection is detected, it is determined to be SDP. When the port is not SDP, the port CDP and DCP are distinguished.

[0101] Alternatively, Primary Detection can be performed first, wherein Primary Detection is used to confirm whether the charging port supports data protocol. When Primary Detection is performed, the DP is pulled high to a predetermined level value, for example, can be 0.6V, and then the level value on the DM is detected. If the level value on the DM is less than the specified reference voltage, the port is SDP, otherwise it is CDP or DCP. It can be understood that Primary Detection can be directly skipped and Secondary Detection can be directly performed.

[0102] Specifically, the Secondary Detection stage is used to distinguish CDP and DCP. When Secondary Detection is performed, the line pulls DM high to 0.6V, and then detects the voltage value of DP. If it is less than the specified reference voltage, the port is CDP, otherwise it is DCP.

[0103] When the port type is determined as the DCP, the portable device can output a detection level to the charging head through the positive data line.

[0104] Specifically, when the port is determined as the DCP, the portable device determines the specific value of the detection level according to the compatible voltage of the portable device. The compatible voltage and the specific value of the detection level are associated. For example, when the compatible voltage is 5V, the associated specific value of the detection level can be 1V. Therefore, the portable device can determine the specific value of the detection level according to the compatible voltage.

[0105] When the specific value of the detection level is determined, the portable device pulls up the level value on the DP to the specific value, so that when the charging head detects the level value of the DP, the compatible voltage of the portable device is determined according to the level value on the DP.

[0106] In the technical solution disclosed in the embodiment, when the USB input voltage is detected, the charging port type detection is performed, and then when the charging port type is detected as a preset type, the detection level is output through the positive data line, so that the charging head can obtain the compatible voltage of the portable device according to the detection level. Since the charging head can determine the compatible voltage of the portable device according to the level value on the positive data line, the charging head can determine the charging voltage according to the compatible voltage, so that the charging head can adapt to the portable device during the charging process, thereby achieving the effect of simplifying the charging steps.

[0107] In another embodiment, based on the above Figure 4 As shown in the embodiment, the charging method further includes:

[0108] The input voltage is detected in real time, and the input voltage is fed back to the charging head, so that the charging head can determine the line loss voltage value according to the input voltage.

[0109] In the technical solution disclosed in the embodiment, the portable device is provided with a voltage detection device, which can detect the input voltage of the current charging port, and then send the value of the input voltage detected in real time to the charging head through the differential signal line. Therefore, the charging head can determine the line loss voltage according to the input voltage. In this way, the effect of improving the charging efficiency while improving the charging safety is achieved.

[0110] The application also provides a charging head, which includes a memory, a processor, and a charging control program stored in the memory and executable on the processor. The charging control program is configured to implement the steps of the charging method with the charging head as the execution subject.

[0111] The application further provides a portable device, which comprises a memory, a processor, and a charging control program stored in the memory and executable on the processor, and the charging control program is configured to implement the steps of the charging method whose execution subject is the portable device.

[0112] The application further provides a computer readable storage medium, which stores a charging control program, and the charging control program is executed by a processor to implement the steps of the charging method in the above embodiments.

[0113] The above serial numbers of the embodiments of the application are only for description, and do not represent the advantages and disadvantages of the embodiments.

[0114] Through the above description of the embodiments, those skilled in the art can clearly understand that the above-mentioned embodiment method can be realized by means of software and the necessary general hardware platform, of course, it can also be realized by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the application can be embodied in the form of a software product, which is stored in a storage medium (such as a ROM / RAM, a magnetic disk, an optical disk) and includes a plurality of instructions for making a terminal device (which can be a mobile phone, a computer, a charging head, etc.) execute the method described in each embodiment of the application.

[0115] The above is only the preferred embodiment of the application, and does not limit the patent scope of the application, and any equivalent structure or equivalent flow transformation made by using the content of the specification and drawings, or directly or indirectly applied to other related technical fields, are also included in the patent protection scope of the application.

Claims

1. A charging method, characterized in that, The charging method includes the following steps: The charging head outputs a preset voltage; Detect the voltage level of the positive data line terminal of the charging head; Obtain the associated voltage of the level value, wherein the associated voltage is the compatible voltage of the portable device connected to the charging head; When the compatible voltage matches the preset voltage, the preset voltage is output as the charging voltage. When the compatible voltage does not match the preset voltage, the compatible voltage is output as the charging voltage. Following the step of outputting the charging voltage, the following is also included: Receive the input voltage fed back by the portable device; The line loss voltage is determined based on the input voltage and the compatible voltage. The charging voltage is adjusted according to the line loss voltage.

2. A charging method, characterized in that, The charging method includes the following steps: When a voltage input is detected at the USB port of a portable device, the charging port type is detected. When the type of the charging port connected to the portable device is detected to be a preset type, a detection level is output through the positive data line terminal of the portable device, so that the charging head can obtain the associated voltage of the detection level. The associated voltage is the compatible voltage of the portable device connected to the charging head. When the compatible voltage matches the preset voltage output by the charging head, the preset voltage is output as the charging voltage; when the compatible voltage does not match the preset voltage, the compatible voltage is output as the charging voltage. The step of outputting a detection level via a positive data line when the charging port type is detected to be a preset type further includes: The input voltage is detected in real time and fed back to the charging head so that the charging head can determine the line loss voltage value based on the input voltage and adjust the charging voltage according to the line loss voltage.

3. The charging method as described in claim 2, characterized in that, The step of detecting the charging port type when a voltage input is detected at the USB port of the portable device includes: When a voltage input is detected at the USB port of the portable device, the voltage on the negative data line terminal of the portable device is pulled up to a first preset voltage. The current voltage value on the positive data line terminal of the portable device is detected, and the type of the charging port is determined based on the current voltage value.

4. A charging head, characterized in that, The charging head includes a memory, a processor, and a charging control program stored in the memory and executable on the processor. When the charging control program is executed by the processor, it implements the steps of the charging method as described in claim 1.

5. A portable device, characterized in that, The portable device includes a memory, a processor, and a charging control program stored in the memory and executable on the processor, wherein the charging control program, when executed by the processor, implements the steps of the charging method as described in any one of claims 2 to 3.

6. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a charging control program, which, when executed by a processor, implements the steps of the charging method as described in any one of claims 1 to 3.

Citation Information

Patent Citations

  • Charging method and device

    CN106230070A

  • Charging method, charging system and electronic device

    CN107732999A

  • Special quick charge port adaptation chip of USB

    CN205540709U