patents.google.com

CN113162163A - Method, device and circuit for detecting power receiving equipment access power supply equipment - Google Patents

  • ️Fri Jul 23 2021
Method, device and circuit for detecting power receiving equipment access power supply equipment Download PDF

Info

Publication number
CN113162163A
CN113162163A CN202110373677.XA CN202110373677A CN113162163A CN 113162163 A CN113162163 A CN 113162163A CN 202110373677 A CN202110373677 A CN 202110373677A CN 113162163 A CN113162163 A CN 113162163A Authority
CN
China
Prior art keywords
charging
power supply
supply device
controller
charging interface
Prior art date
2021-04-07
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110373677.XA
Other languages
Chinese (zh)
Other versions
CN113162163B (en
Inventor
钟传富
李杰杰
李�昊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Wisepower Innovation Technology Co ltd
Original Assignee
Shenzhen Wisepower Innovation Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
2021-04-07
Filing date
2021-04-07
Publication date
2021-07-23
2021-04-07 Application filed by Shenzhen Wisepower Innovation Technology Co ltd filed Critical Shenzhen Wisepower Innovation Technology Co ltd
2021-04-07 Priority to CN202110373677.XA priority Critical patent/CN113162163B/en
2021-04-07 Priority claimed from CN202110373677.XA external-priority patent/CN113162163B/en
2021-07-23 Publication of CN113162163A publication Critical patent/CN113162163A/en
2025-03-28 Application granted granted Critical
2025-03-28 Publication of CN113162163B publication Critical patent/CN113162163B/en
Status Active legal-status Critical Current
2041-04-07 Anticipated expiration legal-status Critical

Links

  • 238000000034 method Methods 0.000 title claims abstract description 34
  • 238000004891 communication Methods 0.000 claims description 96
  • 238000001514 detection method Methods 0.000 claims description 80
  • 230000000737 periodic effect Effects 0.000 claims description 11
  • 230000006870 function Effects 0.000 description 18
  • 230000008859 change Effects 0.000 description 6
  • 230000008569 process Effects 0.000 description 6
  • 238000012358 sourcing Methods 0.000 description 6
  • 230000008878 coupling Effects 0.000 description 3
  • 238000010168 coupling process Methods 0.000 description 3
  • 238000005859 coupling reaction Methods 0.000 description 3
  • 230000000694 effects Effects 0.000 description 3
  • 238000010586 diagram Methods 0.000 description 2
  • 230000005540 biological transmission Effects 0.000 description 1
  • 239000003990 capacitor Substances 0.000 description 1
  • 230000003287 optical effect Effects 0.000 description 1
  • 238000004904 shortening Methods 0.000 description 1

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/00032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/00047Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with provisions for charging different types of batteries
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/0036Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits using connection detecting circuits
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

本申请实施例公开了一种检测受电设备接入供电设备的方法、装置及电路,用于降低供电设备对受电设备的接入检测的难度。本申请实施例方法包括:通过供电设备中的控制器输入输出口IO1和控制器输出口IO2获取供电设备的第一充电接口信息;根据第一充电接口信息判断是否存在目标受电设备从供电设备的充电接口接入;若是,则确定供电设备上正在进行充电的受电设备;确定正在进行充电的受电设备与目标受电设备的请求充电能力;根据正在进行充电的受电设备与目标受电设备的请求充电能力为供电设备调整输出电压,并开启目标受电设备接入供电设备的充电接口所对应的充电开关。

Figure 202110373677

The embodiments of the present application disclose a method, apparatus and circuit for detecting that a power receiving device is connected to a power supply device, which are used to reduce the difficulty of detecting the access of the power supply device to the power receiving device. The method of the embodiment of the present application includes: obtaining first charging interface information of the power supply device through the controller input and output port IO1 and the controller output port IO2 in the power supply device; determining whether there is a target power receiving device from the power supply device according to the first charging interface information If it is, determine the power receiving device that is being charged on the power supply device; determine the requested charging capability of the power receiving device being charged and the target power receiving device; The requested charging capability of the electrical device adjusts the output voltage for the power supply device, and turns on the charging switch corresponding to the charging interface of the target powered device connected to the power supply device.

Figure 202110373677

Description

Method, device and circuit for detecting power receiving equipment access power supply equipment

Technical Field

The embodiment of the application relates to the field of charging, in particular to a method, a device and a circuit for detecting that a powered device is connected to a power supply device.

Background

In recent years, with the gradual update of power receiving devices, the charging function of the power receiving device has been emphasized, especially the fast charging function and the multi-port charging function of the power receiving device. The fast charging mode is a charging mode capable of shortening the charging time of the power receiving equipment, and the multi-port charging function is a charging mode in which one charger can be connected with a plurality of cables to charge a plurality of power receiving equipment.

Currently, with the popularization of a Type-C interface, the situation that the Type-C, lightning and the Micro are connected in parallel occurs to a charging interface on the market, and a charging cable on the market derives from single input and single output to be single input and multiple output, namely, a multi-port charging function. When a plurality of powered devices are charged simultaneously, the power supply device with the multi-interface charging function can provide corresponding output voltage for each charging interface according to the charging request capacity of each powered device, so that the powered devices on the charging interfaces are charged.

The output voltage is provided according to the requested charging capability of the powered device only when the power supply device with the multi-port charging function detects the access of the powered device. However, since the power supply device with the multi-interface charging function generally needs to set a charging interface of a charging type, different charging interfaces detect different ways of accessing the powered device, which increases the difficulty of accessing and detecting the powered device by the power supply device.

Disclosure of Invention

A first aspect of the embodiments of the present application provides a method for detecting that a powered device is connected to a power supply device, including:

acquiring first charging interface information of power supply equipment through a controller input/output port IO1 and a controller output port IO2 in the power supply equipment, wherein the power supply equipment is single-input multi-output power supply equipment, the controller output port IO2 is in a continuous output high level state, and the controller input/output port IO1 is in a periodic alternating state of an output high level state and an input floating detection state;

judging whether a target powered device is accessed from a charging interface of the power supply device or not according to the first charging interface information;

if yes, determining a power receiving device which is being charged on the power supply device;

determining a requested charging capability of the charging powered device and the target powered device;

and adjusting output voltage for the power supply equipment according to the charging request capacity of the charging powered equipment and the target powered equipment, and starting a charging switch corresponding to a charging interface for accessing the target powered equipment to the power supply equipment.

Optionally, after determining whether the target powered device is accessed from the charging interface of the power supply device according to the first charging interface information, the method further includes:

if not, acquiring second charging interface information through a communication interface D + and a communication interface D-in the power supply equipment;

judging whether a target powered device is accessed from a charging interface of the power supply device or not according to the second charging interface information;

and if so, determining the power receiving equipment which is being charged on the power supply equipment.

Optionally, after determining whether the target powered device is accessed from the charging interface of the power supply device according to the second charging interface information, the method further includes:

if not, acquiring third charging interface information through a pin CC1 and a pin CC2 in the power supply equipment;

judging whether a target powered device is accessed from a charging interface of the power supply device or not according to the third charging interface information;

and if so, determining the power receiving equipment which is being charged on the power supply equipment.

Optionally, after the adjusting output voltages for the target powered device and the powered device being charged according to the charging capability requested, and turning on a charging switch corresponding to a charging interface of the power supply device to which the target powered device is connected, the method further includes:

judging whether the powered device finishes charging or not;

if so, closing a charging switch corresponding to the power supply equipment of the power receiving equipment which finishes charging;

determining a requested charging capability of a charging-in-progress powered device remaining on the power supply device;

and adjusting the output voltage according to the requested charging capability of the remaining power receiving equipment which is being charged.

Optionally, the determining whether there is a powered device to finish charging includes:

and judging whether the powered device finishes charging according to a controller charging current detection port IO3 in the power supply device.

A second aspect of the present application provides an apparatus for detecting that a powered device is connected to a power supply device, including:

the first obtaining unit is used for obtaining first charging interface information of power supply equipment through a controller input/output port IO1 and a controller output port IO2 in the power supply equipment, wherein the power supply equipment is single-input multi-output power supply equipment, the controller output port IO2 is in a continuous output high level state, and the controller input/output port IO1 is in a periodic alternating state of an output high level state and an input floating detection state;

a first determining unit, configured to determine whether a target powered device is accessed from a charging interface of the power supply device according to the first charging interface information;

a first determination unit configured to determine a power receiving apparatus that is being charged on the power supply apparatus when the first determination unit determines that there is an access of a target power receiving apparatus from a charging interface of the power supply apparatus;

a second determination unit configured to determine a requested charging capability of the charging-in-progress power receiving apparatus and the target power receiving apparatus;

the first adjusting unit is configured to adjust an output voltage for the power supply device according to the requested charging capabilities of the charging-in powered device and the target powered device, and turn on a charging switch corresponding to a charging interface through which the target powered device accesses the power supply device.

Optionally, the apparatus further comprises:

a second obtaining unit, configured to obtain second charging interface information through a communication interface D + and a communication interface D-in the power supply device when the first determining unit does not determine that the target powered device is accessed from the charging interface of the power supply device;

a second determining unit, configured to determine, according to the second charging interface information, whether a target powered device is accessed from a charging interface of the power supply device;

a first determination unit configured to determine a power receiving apparatus that is being charged on the power supply apparatus when the second determination unit determines that the presence target power receiving apparatus is accessed from the charging interface of the power supply apparatus.

Optionally, the apparatus further comprises:

a third obtaining unit, configured to obtain third charging interface information through a pin CC1 and a pin CC2 in the power supply apparatus when the second determining unit does not determine that the target powered apparatus is accessed from the charging interface of the power supply apparatus;

a third determining unit, configured to determine whether a target powered device is accessed from a charging interface of the power supply device according to the third charging interface information;

a first determination unit configured to determine a power receiving apparatus that is being charged on the power supply apparatus when the third determination unit determines that the presence target power receiving apparatus is accessed from the charging interface of the power supply apparatus.

Optionally, the apparatus further comprises:

a fourth determination unit configured to determine whether there is a powered device that ends charging;

a closing unit, configured to close a charging switch, corresponding to the power supply device, of the power receiving device that finishes charging when the fourth determining unit determines that the power receiving device finishes charging;

a third determination unit configured to determine a charging request capability of a power receiving apparatus remaining on the power supply apparatus and being charged;

a second adjustment unit configured to adjust an output voltage according to a requested charging capability of the remaining power receiving apparatus that is being charged.

Optionally, the fourth determining unit specifically includes:

and judging whether the powered device finishes charging according to a controller charging current detection port IO3 in the power supply device.

A third aspect of the present embodiment provides an apparatus for detecting that a powered device is connected to a power supply device, including:

the device comprises a processor, a memory, an input and output unit and a bus;

the processor is connected with the memory, the input and output unit and the bus;

the processor specifically performs the following operations:

acquiring first charging interface information of power supply equipment through a controller input/output port IO1 and a controller output port IO2 in the power supply equipment, wherein the power supply equipment is single-input multi-output power supply equipment, the controller output port IO2 is in a continuous output high level state, and the controller input/output port IO1 is in a periodic alternating state of an output high level state and an input floating detection state;

judging whether a target powered device is accessed from a charging interface of the power supply device or not according to the first charging interface information;

if yes, determining a power receiving device which is being charged on the power supply device;

determining a requested charging capability of the charging powered device and the target powered device;

and adjusting output voltage for the power supply equipment according to the charging request capacity of the charging powered equipment and the target powered equipment, and starting a charging switch corresponding to a charging interface for accessing the target powered equipment to the power supply equipment.

Optionally, the processor is further configured to perform the operations of any of the alternatives of the first aspect.

A fourth aspect of the present embodiment provides a circuit for detecting that a powered device is connected to a power supply device, including:

the charging device comprises a controller, a voltage input end, a first charging switch, a second charging switch, a first charging interface and a second charging interface;

the voltage input end is respectively coupled with the first charging switch, the second charging switch and the controller;

the first charging switch is respectively connected with the controller and the V2 voltage output end of the first charging interface, and the first charging switch is used for connecting the equipment to be detected and acquiring an electric signal sent by the equipment to be detected;

the second charging switch is respectively connected with the controller and a V3 voltage output end of the second charging interface;

the controller is provided with a controller input/output port IO1 and a controller output port IO2, the controller output port IO2 is sequentially connected with a resistor R2 and a diode D1 and then connected with a V2 voltage output end of the first charging interface, the controller input/output port IO1 is connected between the resistor R2 and the diode, the controller output port IO2 is in a state of continuously outputting high level, and the controller input/output port IO1 is in a state of periodically alternating between a high level output state and a floating detection input state;

the controller is provided with a communication interface D + and a communication interface D-, the communication interface D + is connected with the D + end of the first charging interface, and the communication interface D-is connected with the D-end of the first charging interface;

the controller is provided with a pin CC1 and a pin CC2, the pin CC1 is connected with the CC1 end of the first charging interface, and the pin CC2 is connected with the CC2 end of the first charging interface;

the controller is provided with controller charging current detection mouth IO3, controller charging current detection mouth IO3 with the charging current detection end of first interface that charges is connected.

According to the technical scheme, the embodiment of the application has the following advantages:

in this embodiment, first, the first charging interface information of the power supply device is acquired through the controller input/output port IO1 and the controller output port IO2 in the power supply device. Because the controller input/output port IO1 is in a state where the output high level and the input floating detection state are periodically alternated, the first charging interface information acquired in the input floating detection state may be used to determine whether a target powered device is accessed from the charging interface of the power supply device, and if a new target powered device is accessed, the powered device that is being charged on the power supply device is determined. And finally, adjusting the output voltage for the power supply equipment according to the charging request capabilities of the charging powered equipment and the target powered equipment, and starting a charging switch corresponding to a charging interface for the target powered equipment to be connected to the power supply equipment. Whether the interface that charges has the signal of telecommunication through controller input output port IO1 and controller output port IO2, the first interface information that charges that acquires under the floating detection state of input, whether can confirm that there is the powered device to insert, all have same detection effect to the interface that charges of difference, reduced the degree of difficulty that power supply unit detected the access of powered device.

Drawings

Fig. 1 is a schematic flowchart of an embodiment of a circuit for detecting that a powered device is connected to a power supply device according to an embodiment of the present disclosure;

fig. 2 is a schematic flowchart of another embodiment of a circuit for detecting that a powered device is connected to a power supply device according to an embodiment of the present disclosure;

fig. 3 is a flowchart illustrating an embodiment of a method for detecting that a powered device is connected to a power sourcing equipment according to an embodiment of the present application;

fig. 4 is a schematic diagram of a detection waveform of the controller input/output port IO1 according to the embodiment of the present application;

fig. 5-1 and fig. 5-2 are schematic flow charts illustrating another embodiment of a method for detecting that a powered device is connected to a power sourcing equipment in an embodiment of the present application;

fig. 6 is a flowchart illustrating an embodiment of an apparatus for detecting that a powered device is connected to a power supply device according to an embodiment of the present application;

fig. 7 is a schematic flowchart of another embodiment of an apparatus for detecting that a powered device is connected to a power supply device in an embodiment of the present application;

fig. 8 is a flowchart illustrating another embodiment of an apparatus for detecting that a powered device is connected to a power supply device in this embodiment.

Detailed Description

In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention, and it is obvious that the described embodiment is only a part of the embodiment of the present invention, and not all embodiments. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, shall fall within the scope of the present invention.

The embodiment of the application discloses a method and a device for detecting the access of a powered device to a power supply device, which are used for reducing the difficulty of the access detection of the power supply device to the powered device.

Referring to fig. 1 to fig. 2, an embodiment of the present application provides a circuit for detecting a powered device accessing a power supply device, including:

the charging system comprises a

controller

1, a

voltage input end

2, a

first charging switch

3, a second charging switch 4, a

first charging interface

5 and a second charging interface 6;

the

voltage input end

2 is coupled with the

first charging switch

3, the second charging switch 4 and the

controller

1 respectively;

the

first charging switch

2 is respectively connected with the

controller

1 and a voltage output end of V2 of the

first charging interface

5, and the

first charging switch

2 is used for connecting a device 7 to be detected and acquiring an electric signal sent by the device 7 to be detected;

the

second charging switch

3 is respectively connected with the

controller

1 and a V3 voltage output end of the second charging interface 6;

the

controller

1 is provided with a controller input/output port IO1 and a controller output port IO2, the controller output port IO2 is sequentially connected with a resistor R2 and a diode D1 and then connected with a V2 voltage output end of the first charging interface, the controller input/output port IO1 is connected between the resistor R2 and the diode, the controller output port IO2 is in a state of continuously outputting high level, and the controller input/output port IO1 is in a state of periodically alternating between a high level output state and a floating detection input state;

the

controller

1 is provided with a communication interface D + and a communication interface D-, the communication interface D + is connected with the D + end of the first charging interface, and the communication interface D-is connected with the D-end of the first charging interface;

the

controller

1 is provided with a pin CC1 and a pin CC2, the pin CC1 is connected with a CC1 end of the first charging interface, and the pin CC2 is connected with a CC2 end of the first charging interface;

the

controller

1 is provided with a controller charging current detection port IO3, the controller charging current detection port IO3 with the charging current detection end of the first charging interface is connected.

In fig. 2, only two outputs are provided for convenience of describing the functions thereof, and in theory, more than two outputs may exist. Moreover, for describing the access detection process, only the communication interface D + and the communication interface D-, the pin CC1 and the pin CC2, the controller input/output port IO1 and the controller output port IO2, and the controller charging current detection port IO3 are depicted for the

first charging interface

5.

The following describes a structure and functions of a circuit for detecting the power receiving device accessing the power supply device:

the

voltage input terminal

2 comprises a voltage input port V1 and a capacitor C1, and the

voltage input terminal

2 is mainly used for inputting a voltage according to the instruction of the

controller

1 so that the

controller

1 regulates the output voltage.

The charging

switch

3 and the charging switch 4 mainly comprise a resistor and a mos tube, are adjusted by the

controller

1, and are mainly used for performing on and off functions when the powered device is connected or disconnected.

The charging

interface

5 and the charging interface 6 are adapted to a charging interface of the powered device, information is acquired mainly through the charging interface of the powered device, and electric signals are transmitted to the

controller

1 through the controller input/output port IO1, the controller output port IO2, the communication interface D +, the communication interface D-, the pin CC1, the pin CC2 and other ports.

The controller input/output port IO1 and the controller output port IO2 are structures for detecting access of a device at a receiving point, wherein the controller output port IO2 is in a state of continuously outputting high level, and the controller input/output port IO1 is in a state of periodically alternating between an output high level and an input floating detection state. In the detection process, a resistor Rz exists, wherein Rz is the equivalent impedance of positive and negative leakage currents of the charging cable, the powered device or the charging cable plus the powered device. The Rz of the Lightning wire has a characteristic value, and a detection voltage range can be calculated by the Rz, and the detection voltage range can be described as VL1-lth and VL 1-hth. When the controller input/output port IO1 is in the input floating detection mode and the powered device is not connected, the range of the detected voltage falls between VL1-lth and VL1-hth, when the charging

interface

5 of the power supply device is connected to the charging cable and the powered device, the whole circuit structure is changed due to the connection of the powered device, and when the controller input/output port IO1 is in the input floating detection mode, the voltage measured through the voltage input/output port V2 is larger than VL1-hth or smaller than VL1-lth, and then the existence of the connection of the powered device can be determined. Wherein, it is determined whether the powered device and the charging

interface

5 are turned over or not, which is greater than VL1-hth or less than VL 1-lth.

The communication interface D + and the communication interface D-are used as interfaces for detecting whether the powered device conforms to the fast charging protocol, i.e., determining whether the accessed powered device can perform the fast charging function. When the communication interface D + and the communication interface D-receive the information of the charging

interface

5, the

controller

1 may determine that there is a powered device for fast charging, and directly determine that there is a powered device rather than only a charging cable in the currently accessed device. The charging cable does not have the capability of sending information of the charging

interface

5 to the communication interface D + and the communication interface D-, only the powered device transmits an electric signal to the communication interface D + and the communication interface D-through the charging cable, and the

controller

1 determines that the powered device capable of performing quick charging is accessed at present according to the electric signal obtained by the communication interface D + and the communication interface D-. Referring to fig. 1 to fig. 2, the following description illustrates an example of determining the power receiving device access through the communication interface D + and the communication interface D-:

when a user connects the charging cable and the powered device to the power supply device, the power supply device firstly defaults to short-circuit the communication interface D + and the communication interface D-, so that the powered device detects that the type of the power supply device is a special charging port mode, defaults to output 5V voltage at the moment, and the powered device is normally charged. If the powered device supports the fast charging protocol, the powered device starts to load 0.325V on the communication interface D + and maintains it for more than 1.25S. When the

controller

1 on the power supply equipment detects that the voltage on the communication interface D + is 0.325V and is maintained to exceed 1.25S, the power supply equipment disconnects the short circuit between the communication interface D + and the communication interface D-, and the voltage on the communication interface D-does not change along with the communication interface D +, and at the moment, the voltage begins to drop. When the powered device detects that the voltage on the communication interface D-starts to drop from 0.325V and is maintained for more than 1ms, the high-voltage charging port starts to read the voltage value of the quick charging function, if 9000mv, the powered device sets the voltage on the communication interface D + to be 3.3V, the voltage on the communication interface D-to be 0.6V, and if 5000mv, the powered device sets the voltage on the communication interface D + to be 0.6V and the voltage on the communication interface D-to be 0V. After the power supply device detects the voltages at the communication interface D + and the communication interface D-, the

controller

1 adjusts the output voltage of the power supply device.

Pin CC1 and pin CC2 are mainly used to detect whether the accessed device is turned over, and may also detect some types of charging cables, thereby detecting the device to be tested. The principle is as follows: at present, the interfaces of the power supply equipment are mostly Type-C, lightning and Micro, and the three interfaces are explained as the basis. The charging cable corresponding to the above interface can be divided into the following: the Type-C cable without the Emarker IC, the Type-C cable with the Emarker IC and the Type-C to Lightning cable are adopted. The pull-down resistors of the charging cable or the powered device CC are R3 and R4, and the fixed resistance is 5.1K Ω. The pin CC1 and the pin CC2 in the normal power supply apparatus can detect whether the power receiving apparatus or the charging cable is turned over or the power receiving apparatus is connected when the R3 or the R4 is connected. However, since R3 and R4 may be in the charging cable or the power receiving device, even if the power feeding device detects R3 or R4, the power feeding device can only confirm that the device is connected, and cannot determine whether the connected device is the power receiving device plus the charging cable or only the charging cable. Since it is not possible to determine whether the powered device is connected by only R3 and R4, a further determination needs to be made by another piece of information — the charging cable with an Emaker IC has a characteristic resistor R5 fixed to 1K Ω. When the pin CC1 and the pin CC2 in the power supply device detect the characteristic resistor R5, it may be determined that a charging cable exists in the currently accessed device, and the cable is a charging cable with an Emaker IC, and at this time, if the pin CC1 and the pin CC2 detect R3 and R4, it may be determined that R3 and R4 are from the powered device instead of the charging cable, and it may be determined that the device accessed to the charging

interface

5 of the power supply device exists in the powered device.

The controller charging current detection port IO3 is a current detection port on the power supply device, and is used for detecting a charging current of the powered device during charging. The working principle is as follows: when it is determined that a powered device is charged, in a preset time (for example, 5S), if the currents detected by the charging current detection port IO3 of the controller are all smaller than the minimum current threshold, it may be determined that there are two current situations, one is that charging of the powered device corresponding to the charging

port

5 is completed, and the powered device is in order to protect itself, so that the charging current is blocked by the powered device, and thus the charging current is reduced; secondly, the power receiving device is removed by external force, which causes the charging to stop, and further causes the charging current to decrease. Both of the above cases may be regarded as being determined as the powered device ending the charging.

In this embodiment, the method for detecting the access of the powered device to the power supply device may be implemented in a system, a server, or a terminal, and is not specifically limited. For convenience of description, the embodiments of the present application are described by way of example using a controller as an execution subject.

Referring to fig. 3, an embodiment of the present application provides a method for detecting that a powered device is connected to a power sourcing equipment, including:

301. acquiring first charging interface information of power supply equipment through a controller input/output port IO1 and a controller output port IO2 in the power supply equipment, wherein the power supply equipment is single-input multi-output power supply equipment, the controller output port IO2 is in a continuous output high level state, and the controller input/output port IO1 is in a periodic alternating state of an output high level state and an input floating detection state;

the controller is connected to the equipment through the first charging interface information acquired by the controller input/output port IO1 and the controller output port IO2 in the power supply equipment, and when the charging interface in the power supply equipment is connected to the equipment, the circuit structure in the power supply equipment can be changed, so that the electric signal in the circuit of the power supply equipment correspondingly changes. Because the electric signals received by the two interfaces of the controller input/output port IO1 and the controller output port IO2 are the first charging interface information, the controller can acquire the first charging interface information, and the controller can perform circuit control on the power supply device according to the change of the electric signals.

The device to which the power supply device is connected may be a charging cable (unpowered device), or may be the charging cable and the target powered device, and is not limited herein. It should be noted that, the controller can determine, through the charging interface information, whether the device to which the current power supply device is connected includes a target powered device, and then control whether the power supply device is turned on for the charging interface and perform power transmission.

In this embodiment, the power supply apparatus is a single-input multi-output power supply apparatus, that is, a power supply apparatus that can provide a charging service to a plurality of power receiving apparatuses.

302. Judging whether a target powered device is accessed from a charging interface of the power supply device or not according to the first charging interface information; if yes, go to step 303;

the controller judges whether the target powered device is accessed from the charging interface of the power supply device or not according to first charging interface information acquired by a controller input/output port IO1 and a controller output port IO2 in the power supply device.

Referring to fig. 1 and fig. 2, a controller input/output port IO1 and a controller output port IO2 are provided on the power supply device, wherein a resistor R2 is connected to the controller output port IO2, and is connected to a diode D1 in common with the controller input/output port IO1, and when the device is connected, the diode is connected to the device at a charging interface. The controller output port IO2 is in a state of continuously outputting voltage, that is, always keeping output high level, and the controller input output port IO1 is in a state of periodically alternating output high level and input floating detection state. During odd cycles, the controller IO1 outputs 1 (output voltage), and during even cycles, the controller IO1 is set to input float detection.

In the input floating detection mode, the controller input/output port IO1 may determine whether a powered device is connected by detecting the magnitude of an input electrical signal.

Referring to fig. 4, fig. 4 is a schematic diagram of a detection waveform of the controller input/output port IO1, and the detection principle is as follows: first, in the detection process, there exists a resistance Rz, which is the equivalent impedance of the positive and negative leakage currents of the charging cable, the powered device, or the charging cable and the powered device. The Rz of the Lightning wire has a characteristic value, and a detection voltage range can be calculated by the Rz, and the upper limit and the lower limit of the detection voltage range can be described as two values VL1-lth and VL 1-hth. When the controller input/output port IO1 is in the input floating detection mode and the power receiving device is not connected, the range of the detected voltage falls within the range of VL1-lth and VL1-hth, and when the charging interface of the power supply device is connected to the charging cable and the target power receiving device, due to the connection of the power receiving device, the measured voltage of the controller input/output port IO1 is greater than VL1-hth or less than VL1-lth in the input floating detection mode, and then the existence of the connection of the target power receiving device can be determined.

303. If it is determined that the target powered device is accessed from the charging interface of the power supply device according to the first charging interface information, determining the powered device which is charging on the power supply device;

when the controller determines that there is an access of the target powered device from the charging interface of the power supply device, it is necessary to determine the powered device that is being charged on the power supply device. When the target powered device is connected to the power supply device, a preset charging voltage needs to be output to each charging interface according to the current operating condition of the power supply device.

304. Determining a requested charging capability of the charging powered device and the target powered device;

the controller determines a requested charging capability of the charging powered device and a target powered device, where the requested charging capability is a charging voltage tolerance range of the powered device. The controller determines a power receiving apparatus currently being charged by the power supply apparatus and a target power receiving apparatus.

305. And adjusting output voltage for the power supply equipment according to the charging request capacity of the charging powered equipment and the target powered equipment, and starting a charging switch corresponding to a charging interface for accessing the target powered equipment to the power supply equipment.

The controller adjusts output voltage for the power supply equipment according to the charging request capacity of the charging powered equipment and the target powered equipment, and starts a charging switch corresponding to a charging interface of the target powered equipment connected to the power supply equipment.

The controller distributes the charging voltage for each powered device according to a preset rule according to the requested charging capability of each powered device to be charged, so that the charging efficiency is improved and the powered device is not damaged. After the power supply device adjusts the charging voltage of each charging interface, the charging switch corresponding to the charging interface of the target powered device connected to the power supply device can be turned on, and charging of the target powered device is turned on.

The preset rules for adjusting the voltage are various, and the preset rules may be that after the charging request capability of the powered device is determined, the current electric quantity of the powered device is adjusted so that the powered device with low electric quantity distributes higher charging voltage; after the requested charging capability of the powered device is determined, the powered device that is accessed first may be assigned a higher charging voltage according to the order of accessing the powered devices, which is not limited herein.

In this embodiment, first, the first charging interface information of the power supply device is acquired through the controller input/output port IO1 and the controller output port IO2 in the power supply device. Because the controller input/output port IO1 is in a state where the output high level and the input floating detection state are periodically alternated, the first charging interface information acquired in the input floating detection state may be used to determine whether a target powered device is accessed from the charging interface of the power supply device, and if a new target powered device is accessed, the powered device that is being charged on the power supply device is determined. And finally, adjusting the output voltage for the power supply equipment according to the charging request capabilities of the charging powered equipment and the target powered equipment, and starting a charging switch corresponding to a charging interface for the target powered equipment to be connected to the power supply equipment. Whether the interface that charges has the signal of telecommunication through controller input output port IO1 and controller output port IO2, the first interface information that charges that acquires under the floating detection state of input, whether can confirm that there is the powered device to insert, all have same detection effect to the interface that charges of difference, reduced the degree of difficulty that power supply unit detected the access of powered device.

In the above embodiments, regarding how to determine whether there is a target powered device accessed from the charging interface of the power supply device, there are other ways that may be determined, and the determination process is described in detail below.

Referring to fig. 5-1 and fig. 5-2, an embodiment of the present application provides a method for detecting that a powered device is connected to a power sourcing equipment, including:

501. acquiring first charging interface information of power supply equipment through a controller input/output port IO1 and a controller output port IO2 in the power supply equipment, wherein the power supply equipment is single-input multi-output power supply equipment, the controller output port IO2 is in a continuous output high level state, and the controller input/output port IO1 is in a periodic alternating state of an output high level state and an input floating detection state;

502. judging whether a target powered device is accessed from a charging interface of the power supply device or not according to the first charging interface information; if yes, go to step 507; if not, go to step 503;

steps

501 and 502 in this embodiment are similar to

steps

301 and 302 in the previous embodiment, and are not described again here.

503. If it is not determined that the target powered device is accessed from the charging interface of the power supply device according to the first charging interface information, acquiring second charging interface information through a communication interface D + and a communication interface D-in the power supply device;

the controller can change the circuit structure in the power supply equipment through the second charging interface information acquired by the communication interface D + and the communication interface D-in the power supply equipment when the charging interface in the power supply equipment is connected into the equipment, so that the electric signal in the circuit of the power supply equipment correspondingly changes. The electric signals received by the communication interface D + and the communication interface D-are second charging interface information, and the controller can acquire the second charging interface information. And the controller controls the circuit of the power supply equipment according to the change of the electric signal.

Because the controller input/output port IO1 and the controller output port IO2 in the power supply device are detected by input floating detection, and the controller input/output port IO1 is in a state of periodic alternation of an output high level and an input floating detection state, when the controller input/output port IO1 is in the state of output high level, the device access detection cannot be performed, and at this time, the powered device access detection needs to be performed by other methods. At this time, the access detection of the powered device can be performed through the second charging interface information acquired by the communication interface D + and the communication interface D-in the power supply device.

504. Judging whether a target powered device is accessed from a charging interface of the power supply device or not according to the second charging interface information; if yes, go to step 507; if not, go to step 505;

the controller judges whether the target powered device is accessed from the charging interface of the power supply device or not according to the second charging interface information, namely the controller judges whether the target powered device is accessed from the charging interface of the power supply device or not according to the charging interface information acquired by the communication interface D + and the communication interface D-in the power supply device.

The communication interface D + and the communication interface D-are used as interfaces for detecting whether the powered device conforms to the fast charging protocol, i.e., determining whether the accessed powered device can perform the fast charging function. When the communication interface D + and the communication interface D-receive the charging interface information, the controller can determine that the powered device can be charged quickly, and directly determine that the powered device is inevitably present in the currently accessed device instead of only the charging cable. The charging cable does not have the capability of sending charging interface information to the communication interface D + and the communication interface D-, only the powered device transmits an electric signal to the communication interface D + and the communication interface D-through the charging cable, and the controller determines that the powered device capable of performing quick charging is connected at present according to the electric signal obtained by the communication interface D + and the communication interface D-. Referring to fig. 2 to fig. 3, the following description illustrates an example of determining the power receiving device access through the communication interface D + and the communication interface D-:

when a user connects the charging cable and the powered device to the power supply device, the power supply device firstly defaults to short-circuit the communication interface D + and the communication interface D-, so that the powered device detects that the type of the power supply device is DCP (dedicated charging port mode), defaults to output 5V voltage at the moment, and the powered device is normally charged. If the powered device supports the fast charging protocol, the powered device starts to load 0.325V on the communication interface D + and maintains it for more than 1.25S. When the controller on the power supply equipment detects that the voltage on the communication interface D + is 0.325V and is maintained to exceed 1.25S, the power supply equipment disconnects the short circuit between the communication interface D + and the communication interface D-, and the voltage on the communication interface D-does not change along with the communication interface D +, and at the moment, the voltage begins to drop. When the powered device detects that the voltage on the communication interface D-starts to drop from 0.325V and is maintained for more than 1ms, the high-voltage charging port starts to read the voltage value of the quick charging function, if 9000mv, the powered device sets the voltage on the communication interface D + to be 3.3V, the voltage on the communication interface D-to be 0.6V, and if 5000mv, the powered device sets the voltage on the communication interface D + to be 0.6V and the voltage on the communication interface D-to be 0V. After the power supply device detects the voltages on the communication interface D + and the communication interface D-, the controller adjusts the output voltage of the power supply device.

505. If it is not determined that the target powered device is accessed from the charging interface of the power supply device according to the second charging interface information, acquiring third charging interface information through a pin CC1 and a pin CC2 in the power supply device;

the controller obtains third charging interface information through a pin CC1 and a pin CC2 in the power supply equipment, and when the charging interface in the power supply equipment is connected to the equipment, the circuit structure in the power supply equipment can be changed, so that an electric signal in a circuit of the power supply equipment correspondingly changes. The electric signals received by the two interfaces of the pin CC1 and the pin CC2 are the third charging interface information, and the controller acquires the third charging interface information. And the controller controls the circuit of the power supply equipment according to the change of the electric signal.

Because the controller input/output port IO1 and the controller output port IO2 in the power supply device are detected by input floating detection, and the controller input/output port IO1 is in a state of periodic alternation of an output high level and an input floating detection state, when the controller input/output port IO1 is in the state of output high level, the device access detection cannot be performed, and at this time, the powered device access detection needs to be performed by other methods.

And at this moment, the communication interface D + and the communication interface D-in the power supply equipment cannot perform access detection on the powered equipment because the powered equipment cannot be determined to accord with the quick charging function.

At this time, the access detection of the powered device can be performed through the third charging interface information acquired by the pin CC1 and the pin CC2 in the power supply device.

506. Judging whether a target powered device is accessed from a charging interface of the power supply device or not according to the third charging interface information; if yes, go to step 507;

the controller determines whether the target powered device is accessed from the charging interface of the power supply device according to the third charging interface information, that is, the controller determines whether the target powered device is accessed from the charging interface of the power supply device according to the charging interface information acquired by the pin CC1 and the pin CC2 in the power supply device.

At present, the interfaces of the power supply equipment are mostly Type-C, lightning and Micro, and the three interfaces are explained as the basis. The charging cable corresponding to the above interface can be divided into the following: the Type-C cable without the Emarker IC, the Type-C cable with the Emarker IC and the Type-C to Lightning cable are adopted.

The pull-down resistors of the charging cable or the powered device CC are R3 and R4, and the fixed resistance is 5.1K Ω. The pin CC1 and the pin CC2 in the normal power supply apparatus can detect whether the power receiving apparatus or the charging cable is turned over or the power receiving apparatus is connected when the R3 or the R4 is connected. However, since R3 and R4 may be in the charging cable or the power receiving device, even if the power feeding device detects R3 or R4, the power feeding device can only confirm that the device is connected, and cannot determine whether the connected device is the power receiving device plus the charging cable or only the charging cable.

Since it is not possible to determine whether the powered device is connected by only R3 and R4, a further determination needs to be made by another piece of information — the charging cable with an Emaker IC has a characteristic resistor R5 fixed to 1K Ω. When the pin CC1 and the pin CC2 in the power supply device detect the characteristic resistor R5, it may be determined that a charging cable exists in the currently accessed device, and the cable is a charging cable with an Emaker IC, and at this time, if the pin CC1 and the pin CC2 detect R3 and R4, it may be determined that R3 and R4 are from the powered device instead of the charging cable, and it may be determined that the device accessed to the charging interface of the power supply device exists in the powered device.

507. If it is determined that a target powered device is accessed from the charging interface of the power supply device according to the first charging interface information, the second charging interface information or the third charging interface information, determining a powered device which is being charged on the power supply device;

508. determining a requested charging capability of the charging powered device and the target powered device;

509. adjusting output voltage for the power supply equipment according to the charging request capacity of the charging powered equipment and the target powered equipment, and starting a charging switch corresponding to a charging interface for accessing the target powered equipment to the power supply equipment;

steps

507 and 509 in this embodiment are similar to

steps

303 and 305 in the previous embodiment, and are not described again here.

510. Judging whether a powered device finishes charging according to a controller charging current detection port IO3 in the power supply device;

the controller determines whether a powered device finishes charging, for determining whether a switching of the charging mode is required. The powered device finishes charging in two situations, namely, the powered device is fully charged, and the powered device connected with the power supply device is removed. In which the power receiving apparatus to which the power supply apparatus is connected is removed and there are two cases in which the power receiving apparatus is removed together with the charging cable and only the power receiving apparatus is removed. The controller needs to determine which situation is currently met based on the electrical signal changes in the power supply equipment.

The controller determines whether there is a powered device to end charging according to the controller charging current

detection port IO

3. The controller charging current detection port IO3 is a current detection port on the power supply device, and is used for detecting a charging current of the powered device during charging. The working principle is as follows: when it is determined that a powered device is charged, in a preset time (for example, 5S), if the currents detected by the charging current detection port IO3 of the controller are all smaller than the minimum current threshold, it may be determined that there are two current situations, where one is that charging of the powered device corresponding to the charging port is completed, and the powered device is in order to protect itself, so that the charging current is blocked by the powered device, and thus the charging current is reduced; secondly, the power receiving device is removed by external force, which causes the charging to stop, and further causes the charging current to decrease. Both of the above cases may be regarded as being determined as the powered device ending the charging.

511. If it is determined that the powered device finishes charging according to the controller charging current detection port IO3 in the power supply device, closing a charging switch corresponding to the powered device that finishes charging on the power supply device;

when the controller determines that the powered device finishes charging according to the controller charging current detection port IO3 in the power supply device, the controller closes a charging switch corresponding to the powered device that finishes charging on the power supply device, so that the charging interface stops being used.

512. Determining a requested charging capability of a charging-in-progress powered device remaining on the power supply device;

the controller re-determines the charging request capability of the remaining charging-enabled powered devices on the power supply device, in

step

512, similar to step 304, which is not described herein again.

513. And adjusting the output voltage according to the requested charging capability of the remaining power receiving equipment which is being charged.

The controller adjusts the output voltage according to the requested charging capability of the remaining powered devices being charged, and step 513 is similar to step 305 and will not be described herein.

In this embodiment, first, the first charging interface information of the power supply device is acquired through the controller input/output port IO1 and the controller output port IO2 in the power supply device. Because the controller input/output port IO1 is in a state where the output high level and the input floating detection state are periodically alternated, the first charging interface information acquired in the input floating detection state may be used to determine whether a target powered device is accessed from the charging interface of the power supply device, and if it is determined that a new target powered device is accessed, the powered device being charged on the power supply device is determined. If it is not determined that a new target powered device is accessed, it may be that the controller input/output port IO1 is in an output high level state, and it may be determined through the second charging interface information obtained by the communication interface D + and the communication interface D-, whether a target powered device is accessed from the charging interface of the power supply device, and if it is determined that a new target powered device is accessed, it is determined that a powered device being charged on the power supply device is accessed. If the new target powered device is not determined to be accessed, the current powered device may not conform to the quick charging function, whether the target powered device is accessed from the charging interface of the power supply device is judged through third charging interface information acquired by a pin CC1 and a pin CC2 in the power supply device, and if the new target powered device is determined to be accessed, the powered device which is being charged on the power supply device is determined. And finally, adjusting the output voltage for the power supply equipment according to the charging request capabilities of the charging powered equipment and the target powered equipment, and starting a charging switch corresponding to a charging interface for the target powered equipment to be connected to the power supply equipment. Whether the interface that charges has the signal of telecommunication through controller input output port IO1 and controller output port IO2, the first interface information that charges that acquires under the floating detection state of input, whether can confirm that there is the powered device to insert, all have same detection effect to the interface that charges of difference, reduced the degree of difficulty that power supply unit detected the access of powered device.

Secondly, whether the power supply equipment is connected with the powered equipment or not is detected through a plurality of interfaces and pins, and the detection accuracy is improved.

Referring to fig. 6, an apparatus for detecting a powered device accessing a power supply device according to an embodiment of the present application includes:

the first obtaining unit 601 is configured to obtain first charging interface information of a power supply device through a controller input/output port IO1 and a controller output port IO2 in the power supply device, where the power supply device is a single-input multi-output power supply device, the controller output port IO2 is in a continuous output high level state, and the controller input/output port IO1 is in a periodic alternating state of an output high level and an input floating detection state;

a first determining unit 602, configured to determine whether a target powered device is accessed from a charging interface of the power supply device according to the first charging interface information;

a first determination unit 603 configured to determine a powered device that is being charged on the power supply device when the first determination unit determines that there is an access of a target powered device from a charging interface of the power supply device;

a second determination unit 604 configured to determine a requested charging capability of the charging-in-progress powered device and the target powered device;

a first adjusting unit 605, configured to adjust an output voltage for the power supply device according to the requested charging capabilities of the charging-in-progress power receiving device and the target power receiving device, and turn on a charging switch corresponding to a charging interface of the power supply device to which the target power receiving device is connected.

Referring to fig. 7, an embodiment of the present application provides another apparatus for detecting that a powered device is connected to a power supply device, including:

the first obtaining unit 701 is configured to obtain first charging interface information of a power supply device through a controller input/output port IO1 and a controller output port IO2 in the power supply device, where the power supply device is a single-input multi-output power supply device, the controller output port IO2 is in a continuous output high level state, and the controller input/output port IO1 is in a periodic alternating state of an output high level and an input floating detection state;

a first determining unit 702, configured to determine whether a target powered device is accessed from a charging interface of the power supply device according to the first charging interface information;

a second obtaining unit 703, configured to obtain second charging interface information through a communication interface D + and a communication interface D-in the power supply apparatus when the first determining unit 702 does not determine that the target powered apparatus is accessed from the charging interface of the power supply apparatus;

a second determining unit 704, configured to determine whether a target powered device is accessed from a charging interface of the power supply device according to the second charging interface information;

a third obtaining unit 705, configured to obtain third charging interface information through pin CC1 and pin CC2 in the power supply apparatus when the second determining unit 704 determines that the target powered apparatus is not determined to be accessed from the charging interface of the power supply apparatus;

a third determining unit 706, configured to determine whether a target powered device is accessed from a charging interface of the power supply device according to the third charging interface information;

a first determination unit 707 configured to determine a power receiving apparatus that is being charged on the power supply apparatus when the first determination unit 702, the second determination unit 704, or the third determination unit 706 determines that a presence target power receiving apparatus is accessed from a charging interface of the power supply apparatus;

a second determination unit 708 configured to determine a requested charging capability of the charging-in-progress powered device and the target powered device;

a first adjusting unit 709, configured to adjust an output voltage for the power supply device according to the requested charging capabilities of the charging target device and the charging-underway powered device, and turn on a charging switch corresponding to a charging interface of the power supply device to which the charging target device is connected;

a fourth determination unit 710 configured to determine whether there is a powered device that ends charging;

optionally, the fourth determining unit 710 specifically includes:

and judging whether the powered device finishes charging according to a controller charging current detection port IO3 in the power supply device.

A closing unit 711, configured to close a charging switch corresponding to the power sourcing equipment of the power sourcing equipment, when the fourth determining unit 710 determines that there is a powered device to end charging;

a third determination unit 712 configured to determine a requested charging capability of the charging-in-progress powered apparatus remaining on the power supply apparatus;

a second adjusting unit 713, configured to adjust the output voltage according to the requested charging capability of the remaining power receiving device that is being charged.

Referring to fig. 8, an embodiment of the present application provides another apparatus for detecting that a powered device is connected to a power supply device, including:

a

processor

801, a

memory

802, an input/

output unit

803, a

bus

804;

the

processor

801 is connected to a

memory

802, an input/

output unit

803, and a

bus

804;

the

processor

801 specifically performs the following operations:

acquiring first charging interface information of power supply equipment through a controller input/output port IO1 and a controller output port IO2 in the power supply equipment, wherein the power supply equipment is single-input multi-output power supply equipment, the controller output port IO2 is in a continuous output high level state, and the controller input/output port IO1 is in a periodic alternating state of an output high level state and an input floating detection state;

judging whether a target powered device is accessed from a charging interface of the power supply device or not according to the first charging interface information;

if yes, determining a power receiving device which is being charged on the power supply device;

determining a requested charging capability of the charging powered device and the target powered device;

and adjusting output voltage for the power supply equipment according to the charging request capacity of the charging powered equipment and the target powered equipment, and starting a charging switch corresponding to a charging interface for accessing the target powered equipment to the power supply equipment.

In this embodiment, the functions of the

processor

801 correspond to the steps in the embodiments shown in fig. 3 and fig. 5, and are not described herein again.

It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.

In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.

The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.

In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.

The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and the like.

Claims (10)

1.一种检测受电设备接入供电设备的方法,其特征在于,包括:1. A method for detecting that a powered device is connected to a power supply device, comprising: 通过供电设备中的控制器输入输出口IO1和控制器输出口IO2获取供电设备的第一充电接口信息,所述供电设备为单输入多输出供电设备,所述控制器输出口IO2处于持续输出高电平状态,所述控制器输入输出口IO1处于输出高电平与输入浮空检测状态周期交替状态;Obtain the first charging interface information of the power supply device through the controller input and output port IO1 and the controller output port IO2 in the power supply device, where the power supply device is a single-input multiple-output power supply device, and the controller output port IO2 is in a continuous output high state Level state, the input and output port IO1 of the controller is in a state of periodic alternation between the output high level and the input floating detection state; 根据所述第一充电接口信息判断是否存在目标受电设备从所述供电设备的充电接口接入;Determine, according to the first charging interface information, whether there is a target powered device connected from the charging interface of the power supply device; 若是,则确定所述供电设备上正在进行充电的受电设备;If so, determine the powered device that is being charged on the power supply device; 确定所述正在进行充电的受电设备与所述目标受电设备的请求充电能力;determining the requested charging capabilities of the currently charging powered device and the target powered device; 根据所述正在进行充电的受电设备与所述目标受电设备的请求充电能力为所述供电设备调整输出电压,并开启所述目标受电设备接入所述供电设备的充电接口所对应的充电开关。Adjust the output voltage for the power supply device according to the requested charging capability of the power receiving device being charged and the target power receiving device, and enable the charging interface corresponding to the target power receiving device to access the power supply device. charging switch. 2.根据权利要求1所述的方法,其特征在于,在所述根据所述第一充电接口信息判断是否存在目标受电设备从所述供电设备的充电接口接入之后,所述方法还包括:2 . The method according to claim 1 , wherein after judging according to the first charging interface information whether there is a target power receiving device connected from the charging interface of the power supply device, the method further comprises: 2 . : 若否,通过所述供电设备中的通讯接口D+与通讯接口D-获取第二充电接口信息;If not, obtain the second charging interface information through the communication interface D+ and the communication interface D- in the power supply device; 根据所述第二充电接口信息判断是否存在目标受电设备从所述供电设备的充电接口接入;Judging, according to the second charging interface information, whether there is a target powered device connected from the charging interface of the power supply device; 若是,则确定所述供电设备上正在进行充电的受电设备。If so, determine the power receiving device that is being charged on the power supply device. 3.根据权利要求2所述的方法,其特征在于,在所述根据所述第二充电接口信息判断是否存在目标受电设备从所述供电设备的充电接口接入之后,所述方法还包括:3 . The method according to claim 2 , wherein after judging whether there is a target power receiving device connected from the charging interface of the power supply device according to the second charging interface information, the method further comprises: 3 . : 若否,通过所述供电设备中的管脚CC1和管脚CC2获取第三充电接口信息;If not, obtain the third charging interface information through the pin CC1 and the pin CC2 in the power supply device; 根据所述第三充电接口信息判断是否存在目标受电设备从所述供电设备的充电接口接入;Judging, according to the third charging interface information, whether there is a target power receiving device connected from the charging interface of the power supply device; 若是,则确定所述供电设备上正在进行充电的受电设备。If so, determine the power receiving device that is being charged on the power supply device. 4.根据权利要求1至3中任一项所述的方法,其特征在于,在所述根据所述请求充电能力为所述目标受电设备以及所述正在进行充电的受电设备调整输出电压,并开启所述目标受电设备接入所述供电设备的充电接口所对应的充电开关之后,所述方法还包括:4. The method according to any one of claims 1 to 3, wherein the output voltage is adjusted for the target powered device and the currently charging powered device according to the requested charging capability , and after the charging switch corresponding to the charging interface of the target powered device being connected to the power supply device is turned on, the method further includes: 判断是否存在受电设备结束充电;Determine whether there is a powered device to end charging; 若是,则关闭结束充电的受电设备在所述供电设备上对应的充电开关;If so, turn off the corresponding charging switch on the power supply device of the power receiving device that has finished charging; 确定所述供电设备上剩余的正在进行充电的受电设备的请求充电能力;determining the requested charging capabilities of the remaining power receiving devices that are being charged on the power supply device; 根据所述剩余的正在进行充电的受电设备的请求充电能力调整输出电压。The output voltage is adjusted according to the requested charging capability of the remaining charging powered devices. 5.根据权利要求4所述的方法,其特征在于,所述判断是否存在受电设备结束充电,包括:5. The method according to claim 4, wherein the judging whether there is a power receiving device to end charging comprises: 根据所述供电设备中的控制器充电电流检测口IO3判断是否存在受电设备结束充电。According to the charging current detection port IO3 of the controller in the power supply device, it is determined whether there is a power receiving device to end charging. 6.一种检测受电设备接入供电设备的装置,其特征在于,包括:6. A device for detecting that a powered device is connected to a power supply device, comprising: 第一获取单元,用于通过供电设备中的控制器输入输出口IO1和控制器输出口IO2获取供电设备的第一充电接口信息,所述供电设备为单输入多输出供电设备,所述控制器输出口IO2处于持续输出高电平状态,所述控制器输入输出口IO1处于输出高电平与输入浮空检测状态周期交替状态;a first obtaining unit, configured to obtain first charging interface information of the power supply device through the controller input and output port IO1 and the controller output port IO2 in the power supply device, where the power supply device is a single-input multiple-output power supply device, and the controller The output port IO2 is in a state of continuously outputting a high level, and the input and output port IO1 of the controller is in a state of periodically alternating between the output high level and the input floating detection state; 第一判断单元,用于根据所述第一充电接口信息判断是否存在目标受电设备从所述供电设备的充电接口接入;a first judging unit, configured to judge, according to the first charging interface information, whether a target power receiving device is connected from the charging interface of the power supply device; 第一确定单元,用于当所述第一判断单元确定存在目标受电设备从所述供电设备的充电接口接入时,确定所述供电设备上正在进行充电的受电设备;a first determining unit, configured to determine a power receiving device that is being charged on the power supply device when the first determining unit determines that there is a target power receiving device connected from a charging interface of the power supply device; 第二确定单元,用于确定所述正在进行充电的受电设备与所述目标受电设备的请求充电能力;a second determining unit, configured to determine the requested charging capabilities of the power receiving device being charged and the target power receiving device; 第一调整单元,用于根据所述正在进行充电的受电设备与所述目标受电设备的请求充电能力为所述供电设备调整输出电压,并开启所述目标受电设备接入所述供电设备的充电接口所对应的充电开关。a first adjustment unit, configured to adjust the output voltage for the power supply device according to the requested charging capability of the power receiving device being charged and the target power receiving device, and enable the target power receiving device to access the power supply The charging switch corresponding to the charging interface of the device. 7.根据权利要求6所述的装置,其特征在于,所述装置还包括:7. The apparatus of claim 6, wherein the apparatus further comprises: 第二获取单元,用于当所述第一判断单元不确定存在目标受电设备从所述供电设备的充电接口接入时,通过所述供电设备中的通讯接口D+与通讯接口D-获取第二充电接口信息;a second obtaining unit, configured to obtain the first judging unit through the communication interface D+ and the communication interface D- in the power supply device when the first judging unit determines that there is a target power receiving device connected from the charging interface of the power supply device Two charging interface information; 第二判断单元,用于根据所述第二充电接口信息判断是否存在目标受电设备从所述供电设备的充电接口接入;a second judging unit, configured to judge, according to the second charging interface information, whether there is a target power receiving device connected from the charging interface of the power supply device; 第一确定单元,还用于当所述第二判断单元确定存在目标受电设备从所述供电设备的充电接口接入时,确定所述供电设备上正在进行充电的受电设备。The first determining unit is further configured to determine, when the second determining unit determines that a target power receiving device is connected from a charging interface of the power supply device, to determine a power receiving device that is being charged on the power supply device. 8.根据权利要求7所述的装置,其特征在于,所述装置还包括:8. The apparatus according to claim 7, wherein the apparatus further comprises: 第三获取单元,用于当所述第二判断单元不确定存在目标受电设备从所述供电设备的充电接口接入时,通过所述供电设备中的管脚CC1和管脚CC2获取第三充电接口信息;a third obtaining unit, configured to obtain a third obtaining unit through pins CC1 and CC2 in the power supply device when the second judging unit determines that there is a target power receiving device connected from the charging interface of the power supply device charging interface information; 第三判断单元,用于根据所述第三充电接口信息判断是否存在目标受电设备从所述供电设备的充电接口接入;a third judging unit, configured to judge, according to the third charging interface information, whether there is a target power receiving device connected from the charging interface of the power supply device; 第一确定单元,还用于当所述第三判断单元确定存在目标受电设备从所述供电设备的充电接口接入时,确定所述供电设备上正在进行充电的受电设备。The first determining unit is further configured to determine a power receiving device that is being charged on the power supply device when the third determining unit determines that there is a target power receiving device connected from a charging interface of the power supply device. 9.根据权利要求6至8中任一项所述的装置,其特征在于,所述装置还包括:9. The device according to any one of claims 6 to 8, wherein the device further comprises: 第四判断单元,用于判断是否存在受电设备结束充电;a fourth judging unit, used for judging whether there is a power receiving device to finish charging; 关闭单元,用于当所述第四判断单元确定存在受电设备结束充电时,则关闭结束充电的受电设备在所述供电设备上对应的充电开关;a closing unit, configured to close a charging switch on the power supply device corresponding to the power receiving device that has finished charging when the fourth judging unit determines that there is a power receiving device that ends charging; 第三确定单元,用于确定所述供电设备上剩余的正在进行充电的受电设备的请求充电能力;a third determining unit, configured to determine the requested charging capability of the remaining power receiving devices that are being charged on the power supply device; 第二调整单元,用于根据所述剩余的正在进行充电的受电设备的请求充电能力调整输出电压。The second adjustment unit is configured to adjust the output voltage according to the requested charging capacity of the remaining power receiving devices that are being charged. 10.一种检测受电设备接入供电设备的电路,其特征在于,包括:10. A circuit for detecting that a powered device is connected to a power supply device, comprising: 控制器、电压输入端、第一充电开关、第二充电开关、第一充电接口和第二充电接口;a controller, a voltage input terminal, a first charging switch, a second charging switch, a first charging interface and a second charging interface; 所述电压输入端分别与所述第一充电开关、第二充电开关和所述控制器耦合;the voltage input terminals are respectively coupled to the first charging switch, the second charging switch and the controller; 所述第一充电开关分别与所述控制器以及所述第一充电接口的V2电压输出端连接,所述第一充电开关用于连接待检测设备,并获取所述连接待检测设备发送的电信号;The first charging switch is respectively connected with the controller and the V2 voltage output terminal of the first charging interface, the first charging switch is used to connect the device to be detected, and obtain the power sent by the device connected to the device to be detected. Signal; 所述第二充电开关分别与所述控制器以及所述第二充电接口的V3电压输出端连接;the second charging switch is respectively connected to the controller and the V3 voltage output terminal of the second charging interface; 所述控制器设置有控制器输入输出口IO1和控制器输出口IO2,所述控制器输出口IO2依次与电阻R2以及二极管D1连接后,再与所述第一充电接口的V2电压输出端连接,所述控制器输入输出口IO1连接于所述电阻R2和所述二极管之间,所述控制器输出口IO2处于持续输出高电平状态,所述控制器输入输出口IO1处于输出高电平与输入浮空检测状态周期交替状态;The controller is provided with a controller input and output port IO1 and a controller output port IO2. After the controller output port IO2 is connected to the resistor R2 and the diode D1 in turn, it is then connected to the V2 voltage output terminal of the first charging interface. , the controller input and output port IO1 is connected between the resistor R2 and the diode, the controller output port IO2 is in a continuous output high level state, and the controller input and output port IO1 is in an output high level state Alternate state with the input floating detection state cycle; 所述控制器设置有通讯接口D+和通讯接口D-,所述通讯接口D+与所述第一充电接口的D+端连接,所述通讯接口D-与所述第一充电接口的D-端连接;The controller is provided with a communication interface D+ and a communication interface D-, the communication interface D+ is connected to the D+ end of the first charging interface, and the communication interface D- is connected to the D- end of the first charging interface ; 所述控制器设置有管脚CC1和管脚CC2,所述管脚CC1与所述第一充电接口的CC1端连接,所述管脚CC2与所述第一充电接口的CC2端连接;The controller is provided with a pin CC1 and a pin CC2, the pin CC1 is connected to the CC1 end of the first charging interface, and the pin CC2 is connected to the CC2 end of the first charging interface; 所述控制器设置有控制器充电电流检测口IO3,所述控制器充电电流检测口IO3与所述第一充电接口的充电电流检测端连接。The controller is provided with a controller charging current detection port IO3, and the controller charging current detection port IO3 is connected to the charging current detection terminal of the first charging interface.

CN202110373677.XA 2021-04-07 A method, device and circuit for detecting that a powered device is connected to a power supply device Active CN113162163B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110373677.XA CN113162163B (en) 2021-04-07 A method, device and circuit for detecting that a powered device is connected to a power supply device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110373677.XA CN113162163B (en) 2021-04-07 A method, device and circuit for detecting that a powered device is connected to a power supply device

Publications (2)

Publication Number Publication Date
CN113162163A true CN113162163A (en) 2021-07-23
CN113162163B CN113162163B (en) 2025-03-28

Family

ID=

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114123401A (en) * 2021-11-22 2022-03-01 苏州臻迪智能科技有限公司 Charging device and mobile device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2238687A1 (en) * 1996-09-27 1998-04-02 Koichi Inoue Battery charger
JPH10225001A (en) * 1997-02-13 1998-08-21 Mitsubishi Electric Corp Charger and charging system
CN106233568A (en) * 2015-03-10 2016-12-14 华为技术有限公司 A kind of charger is from ring detection method and device
CN107005062A (en) * 2015-10-16 2017-08-01 广东欧珀移动通信有限公司 Charging method, mobile terminal and charging device
CN107658926A (en) * 2017-09-27 2018-02-02 深圳英集芯科技有限公司 A kind of multi output interface fast charge control method and device
CN111262314A (en) * 2020-03-31 2020-06-09 歌尔科技有限公司 Charger, charging control method and electronic product
CN215009656U (en) * 2021-04-07 2021-12-03 深圳维普创新科技有限公司 Circuit for detecting power receiving equipment connected to power supply equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2238687A1 (en) * 1996-09-27 1998-04-02 Koichi Inoue Battery charger
JPH10225001A (en) * 1997-02-13 1998-08-21 Mitsubishi Electric Corp Charger and charging system
CN106233568A (en) * 2015-03-10 2016-12-14 华为技术有限公司 A kind of charger is from ring detection method and device
CN107005062A (en) * 2015-10-16 2017-08-01 广东欧珀移动通信有限公司 Charging method, mobile terminal and charging device
CN107658926A (en) * 2017-09-27 2018-02-02 深圳英集芯科技有限公司 A kind of multi output interface fast charge control method and device
CN111262314A (en) * 2020-03-31 2020-06-09 歌尔科技有限公司 Charger, charging control method and electronic product
CN215009656U (en) * 2021-04-07 2021-12-03 深圳维普创新科技有限公司 Circuit for detecting power receiving equipment connected to power supply equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114123401A (en) * 2021-11-22 2022-03-01 苏州臻迪智能科技有限公司 Charging device and mobile device

Similar Documents

Publication Publication Date Title
US11646585B2 (en) 2023-05-09 Methods, electronic devices, and charger apparatus for quick USB charging
CN111201689B (en) 2021-09-14 Electronic equipment and charging control method
US9859740B2 (en) 2018-01-02 Adapter, portable electronic device and charge control method thereof
CN106291210B (en) 2020-05-05 USB interface detector, USB interface detection method, USB connector and electronic equipment
CN111917163B (en) 2021-01-05 Multi-port charging control circuit and method, charging chip and power supply equipment
JP5388484B2 (en) 2014-01-15 Apparatus and method for detecting power supply
US8970165B2 (en) 2015-03-03 Determination circuit
EP3086433A1 (en) 2016-10-26 Charging method, alternating current adaptor, charging management device and terminal
CN108347089B (en) 2021-07-20 Electric energy transmission controller, electric energy transmission system and electric energy transmission method
JP2015535384A (en) 2015-12-10 High voltage dedicated charging port
WO2015191287A1 (en) 2015-12-17 Systems and methods for cable resistance compensation
US9639132B2 (en) 2017-05-02 Systems and methods for automatic detection of a device
CN114039400B (en) 2022-06-07 Electronic equipment
JP2020008898A (en) 2020-01-16 Electronic equipment
CN215009656U (en) 2021-12-03 Circuit for detecting power receiving equipment connected to power supply equipment
CN109861038B (en) 2021-08-20 USB connection port capable of automatically switching connection mode and control method thereof
CN113162163A (en) 2021-07-23 Method, device and circuit for detecting power receiving equipment access power supply equipment
CN110212596B (en) 2024-11-29 Charging equipment and charging communication method
CN113162163B (en) 2025-03-28 A method, device and circuit for detecting that a powered device is connected to a power supply device
US11881736B2 (en) 2024-01-23 Power system
CN111316523A (en) 2020-06-19 Cable through-current capacity detection method and electronic equipment
CN112825401B (en) 2022-12-02 Charging line, charger, charging control method and charging device
JP2019109898A (en) 2019-07-04 Method, electronic device, and charger device for rapid USB charging
JP2018133976A (en) 2018-08-23 Electronic device and control method
CN114003531B (en) 2024-06-21 USB Type C interface circuit and terminal equipment

Legal Events

Date Code Title Description
2021-07-23 PB01 Publication
2021-07-23 PB01 Publication
2021-08-10 SE01 Entry into force of request for substantive examination
2021-08-10 SE01 Entry into force of request for substantive examination
2025-03-28 GR01 Patent grant