CN117748646A - Plug detection circuit, plug detection method and control chip of powered device - Google Patents

Plug detection circuit, plug detection method and control chip of powered device Download PDF

Info

Publication number
CN117748646A
CN117748646A CN202311672810.7A CN202311672810A CN117748646A CN 117748646 A CN117748646 A CN 117748646A CN 202311672810 A CN202311672810 A CN 202311672810A CN 117748646 A CN117748646 A CN 117748646A
Authority
CN
China
Prior art keywords
module
detection
port
turned
charging
Prior art date
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.)
Pending
Application number
CN202311672810.7A
Other languages
Chinese (zh)
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.)
Xiamen Yingmaikexin Integrated Technology Co ltd
Original Assignee
Xiamen Yingmaikexin Integrated 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.)
Filing date
Publication date
Application filed by Xiamen Yingmaikexin Integrated Technology Co ltd filed Critical Xiamen Yingmaikexin Integrated Technology Co ltd
Priority to CN202311672810.7A priority Critical patent/CN117748646A/en
Publication of CN117748646A publication Critical patent/CN117748646A/en
Pending legal-status Critical Current

Links

Abstract

The application provides a plug detection circuit, a plug detection method and a control chip of powered equipment, wherein the plug detection circuit comprises at least two charging ports, at least two switch modules, a first detection module and a control module; the switch module is connected with the input power supply and is correspondingly connected with the charging port; the first detection modules are connected in parallel to two sides of the first switch module; the control module controls the switch module to be turned off and the first detection module to be turned on, and the first detection module supplies power to a first charging port corresponding to the first switch module; the control module also detects the port voltage of the first charging port, compares the port voltage with a first reference voltage to generate a first detection signal, and when the port voltage is equal to the first reference voltage, the control module controls the first detection module to be turned on and the first switch module to be turned off, and the first detection module supplies power to the first charging port. The plug detection circuit can accurately detect the power receiving main body of the inserted power receiving equipment so as to ensure the charging speed.

Description

Plug detection circuit, plug detection method and control chip of powered device
Technical Field
The present application relates to the field of charging technologies, and more particularly, to a plug detection circuit, a plug detection method, and a control chip.
Background
Currently, multi-port fast charging devices (e.g., multi-port chargers, multi-port converters, sockets with multiple charging ports, etc.) are widely used in various fields because they can provide multiple charging ports for powered devices and perform fast charging.
However, the multiple charging ports of the multi-port fast charging device correspond to one power supply source, and output power needs to be distributed to the multiple charging ports. For example, for a dual port fast charge device, assuming that the first charge port is capable of supporting 65W (watts) of output power when operating alone, the output power of the first charge port is reduced when the second charge port detects that a powered device is plugged in.
In practical applications, some fast charging devices reduce the output power of a charging port into which a power receiving device is plugged only when a charging cable (e.g., a lighting wire) is plugged into a charging port. If only the charging cable is inserted into the charging port at this time, and the fast charging device detects that the power receiving device of the charging port is pulled out when the power receiving device is not actually connected to the charging port, so that the charging of the charging port is disconnected, and the cycle is repeated, thereby affecting the charging speed of the fast charging device and affecting the charging experience.
Disclosure of Invention
In order to solve the above problems, the present application provides a plug detection circuit, a plug detection method, and a control chip for a powered device, where the plug detection circuit can accurately detect a powered body of an inserted powered device, and control output power of a charging port corresponding to the plug detection circuit according to a detection result, so as to increase a charging speed of the plug detection circuit.
In a first aspect, the present application provides a plug detection circuit of a powered device, including at least two charging ports, at least two switch modules, a first detection module, and a control module; the at least two charging ports are used for externally connecting equipment; one end of each of the at least two switch modules is connected with an input power supply, and the other ends of the at least two switch modules are respectively connected with the at least two charging ports in a one-to-one correspondence manner; the first detection module is connected in parallel with two sides of the first switch module, the first switch module is any one of at least two switch modules, and the first detection module is used for supplying power to a first charging port corresponding to the first switch module after the first switch module is turned off; the first input end of the control module is connected with the other end of the first switch module, the first output end outputs a first control signal for controlling the on-off of at least two switch modules, and the second output end outputs a second control signal for controlling the switch of the first detection module; the control module is used for controlling the first switch module to be turned off and controlling the first detection module to be turned on, and the first detection module is used for supplying power to the first charging port corresponding to the first switch module; the control module is further used for detecting the port voltage of the first charging port, comparing the port voltage with a first reference voltage to generate a first detection signal, and when the first detection signal is characterized in that the port voltage is equal to the first reference voltage, the control module is used for controlling the first detection module to be started, controlling the first switch module to be turned off, and the first detection module continuously supplies power to the first charging port.
Based on the plug detection circuit of the powered device provided by the embodiment of the application, when the power receiving main body inserted into the first charging port is a charging cable, the control module can control the first detection module to supply power to the first detection module, so that the phenomenon that the output voltage and the output power of the second charging port inserted into the powered device are suddenly high and suddenly low under the influence of the first charging port is avoided, and the power receiving device becomes slow charging and cannot realize fast charging is avoided. So, this application can discern the condition that only fills electric cable and insert, by first detection module power supply, guarantees simultaneously that the second charges the port and continues to fill soon.
In one possible design, when the first detection signal is characterized in that the port voltage is smaller than the first reference voltage, the control module is configured to control the first detection module to be turned off, control the first switch module to be turned on, and the input power supply supplies power to the first charging port.
Based on the above-mentioned alternative, when the power receiving main body inserted by the first charging port is the device main body, the control module may control the input power source to supply power to the power receiving main body, so as to ensure the charging speed of the first charging port for charging the device main body.
In one possible design manner, the plug detection circuit of the powered device further includes a second detection module; the first end of the second detection module is connected with the first charging port, the second end of the second detection module is grounded, and the third end of the second detection module is connected with the second input end of the control module; the second detection module is used for detecting the port current of the first charging port, comparing the voltage corresponding to the port current with a second reference voltage to generate a second detection signal, and sending the second detection signal to the control module; the control module is further used for controlling the first detection module to be closed and controlling the first switch module to be turned on when the port voltage is smaller than the first reference voltage and the second detection signal is characterized in that the voltage is smaller than the second reference voltage, the control module is used for controlling the first detection module to be turned on and controlling the first switch module to be turned off, and the first detection module supplies power to the first charging port.
Based on the above-mentioned optional mode, whether can be to receiving the power supply body in the power equipment and be pulled out and carry out accurate detection through setting up the second detection module to avoid the equipment main part to be pulled out the back, input voltage always to first charging port carry out the power supply, thereby lead to other charging ports that have plugged into the power equipment (equipment main part) to receive the influence of first charging port, maintain slow charge state, the lower problem of charge rate. In this way, at this time, the output power of the charging ports of the other power receiving devices inserted becomes high, so that the other charging ports can realize high-power fast charging.
In one possible design manner, the control module is further configured to control the first detection module to be turned off and control the input power supply to supply power to the first charging port when the port voltage is less than the first reference voltage and the first detection module is controlled to be turned on, and when the second detection signal is characterized in that the voltage is greater than the second reference voltage, the control module is configured to control the first detection module to be turned off and control the first switching module to be turned on.
Based on the above-mentioned optional mode, so, whether set up the second detection module and can be to receiving the power supply body in the power equipment and be pulled out and carry out accurate detection to avoid the equipment main part to be pulled out the back, input voltage always to first charging port carry out the power supply, thereby lead to other charging ports that have plugged into the power equipment (equipment main part) to receive the influence of first charging port, maintain slow charge state, the lower problem of charge rate. Therefore, the charging speed of the plug detection circuit is further ensured.
In one possible design, the first detection circuit includes any one of a low dropout linear regulator and a buck converter.
In a second aspect, the present application provides a plug detection method, including a plug detection circuit of the powered device according to any one of the optional manners of the first aspect; the method comprises the following steps: the control module controls the first switch module to be turned off and controls the first detection module to be turned on, the first detection module supplies power to a first charging port corresponding to the first switch module, and the first switch module is any one of at least two switch modules; the control module detects the port voltage of the first charging port; the control module compares the port voltage with a first reference voltage to generate a first detection signal; when the first detection signal is characterized in that the port voltage is equal to the first reference voltage, the control module controls the first detection module to be started, controls the first switch module to be turned off, and the first detection module continues to supply power to the first charging port.
In one possible design, the method further includes: when the first detection signal is characterized in that the port voltage is smaller than the first reference voltage, the control module controls the first detection module to be closed, controls the first switch module to be conducted, and the input power supply supplies power to the first charging port.
In one possible design, the method further includes: the second detection module detects the port current of the first charging port, and compares the voltage corresponding to the port current with a second reference voltage to generate a second detection signal; the control module controls the first detection module to be turned on and controls the first switch module to be turned off when the port voltage is smaller than the first reference voltage and controls the first switch module to be turned on and controls the first detection module to be turned off when the second detection signal is characterized in that the voltage is smaller than the second reference voltage.
In one possible design, the method further includes: the control module controls the first detection module to be closed when the port voltage is smaller than the first reference voltage and controls the first switch module to be closed, and when the second detection signal is characterized in that the voltage is larger than the second reference voltage, the control module controls the first detection module to be closed and controls the first switch module to be closed, and the input power supply supplies power to the first charging port.
In a third aspect, the present application provides a control chip, including the plug detection method according to any one of the optional manners of the second aspect.
Drawings
FIG. 1 is a schematic diagram of a frame structure of a dual port fast charge circuit in the related art;
fig. 2 is a schematic diagram of a frame structure of a plug detection circuit according to an embodiment of the present disclosure;
fig. 3 is a schematic circuit diagram of a plug detection circuit according to an embodiment of the present disclosure;
fig. 4 is a schematic diagram of a frame structure of a plug detection circuit according to an embodiment of the present disclosure;
fig. 5 is a schematic diagram of a frame structure of a plug detection circuit according to an embodiment of the present disclosure;
fig. 6 is a schematic diagram of a circuit structure of a plug detection circuit according to an embodiment of the present disclosure;
fig. 7 is a flowchart of a plug detection method according to an embodiment of the present application;
fig. 8 is a second flow chart of the plug detection method provided in the embodiment of the present application;
fig. 9 is a flowchart of a plug detection method according to an embodiment of the present application;
fig. 10 is a flowchart of a plug detection method according to an embodiment of the present application.
Wherein, each reference sign in the figure:
1. a dual port fast charge circuit; 11. a charging port; 12. a switching unit; 13. a control unit; 2. a plug detection circuit; 21. a charging port; 22. a switch module; 23. a first detection module; 24. a control module; 25. a sampling module; 26. a second detection module;
VIN, input voltage; LSG, first control signal; EN, a second control signal; r1, resistance; OPA, amplifier; COMP, comparator.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system configurations, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, and circuits are omitted so as not to obscure the description of the present application with unnecessary detail.
Currently, multi-port fast charging devices (e.g., multi-port chargers, multi-port converters, sockets with multiple charging ports, etc.) are widely used in various fields because they can provide multiple charging ports and perform fast charging for powered devices.
As shown in fig. 1, taking the dual-port fast charging circuit 1 as an example, the dual-port fast charging circuit 1 in the related art generally includes two charging ports 11, two switch units 12 and a control unit 13, wherein first ends of the two switch units 12 are connected to an input voltage VIN, second ends of the two switch units 12 are respectively connected to corresponding charging ports 11, one end of the control unit 13 is connected to one end of one of the charging ports 11, the other end of the control unit 13 is respectively connected to a controlled end of the two switch units 12, the charging ports 11 are used for connecting a powered device, the control unit 13 is used for detecting a port voltage of the charging ports 11, and judging whether a powered device is inserted according to a detection result so as to correspondingly control on/off of the two switch units 12. For example, when the control unit 13 detects that a powered device is plugged in, the control unit 13 controls the corresponding switch unit 12 to be turned on, so that the input voltage VIN can provide power for the powered device, so as to realize a fast charging function.
However, in the multi-port fast charging device, the plurality of charging ports 11 corresponds to one power supply source, and output power needs to be allocated to the plurality of charging ports 11, that is, the output power of each charging port 11 may affect each other. For example, taking the dual-port fast charging circuit 1 in fig. 1 as an example, when only the first charging port 11 works alone (i.e. the powered device is connected), the switch unit 12 corresponding to the first charging port 11 is turned on, and the first charging port 11 may support the fast charging function. When the second charging port 11 is simultaneously connected to the powered device, the switch unit 12 corresponding to the other charging port 11 is turned on, and at this time, the input voltage VIN simultaneously provides power to the powered device corresponding to the other charging port 11, so that the output voltage of the other charging port 11 is reduced, which results in a reduction in the output power of the other charging port 11, and affects the charging speed of the powered device connected to the charging port 11.
Further, the control unit 12 in the related art is generally only capable of detecting whether or not a power receiving device is plugged in, and is not capable of detecting the main body of the power receiving device, that is, the control unit 12 reduces (for example, to 5V) the output voltage of the charging port 11 into which another power receiving device has been plugged, so that the output power of the other charging port 11 is reduced, as long as the control unit 12 detects that a charging cable (for example, a lighting wire or the like) is plugged in to a certain charging port 11. If only the charging cable is inserted into the charging port 11 at this time, when the power receiving device is not actually connected to the charging port 1, the control unit 12 detects that the power receiving device of the charging port 1 is pulled out, so that the charging of the charging port 1 is disconnected, the output power of the charging ports 11 of other power receiving devices inserted into the charging port is increased, and the cycle is repeated, so that the output voltage and the output power of the charging ports 11 of other power receiving devices inserted into the charging port affect the charging speed of the charging ports 11 of other power receiving devices inserted into the charging port, and further affect the charging speed of the dual-port fast charging circuit 1, resulting in slow charging speed of the dual-port fast charging circuit 1 and poor charging experience.
Therefore, the application provides a plug detection circuit, a plug detection method and a control chip of a powered device, wherein the plug detection circuit can accurately detect a powered main body of the plugged powered device and control output power of a charging port corresponding to the plug detection circuit according to a detection result so as to improve the charging speed of the plug detection circuit.
The following describes an exemplary insertion/extraction detection circuit, an insertion/extraction detection method, and a control chip of the powered device provided in the present application with reference to the accompanying drawings.
As shown in fig. 2, the plug detection circuit 2 of the powered device provided in the embodiment of the present application may include at least two charging ports 21, at least two switch modules 22, a first detection module 23, and a control module 24, and as shown in fig. 2, the present application only uses the plug detection circuit 2 provided with two charging ports 21 and two switch modules 22 as an example to develop an exemplary description of the plug detection circuit 2 provided in the present application, and the plug detection circuit 2 provided in the embodiment of the present application may also be provided with other numbers of charging ports 21 and switch modules 22, which is not limited in this application.
As shown in fig. 2, two charging ports 21 are used for an external device, one ends of two switch modules 22 are connected with an input power source, the input power source is used for providing an input voltage VIN, that is, one ends of two switch modules 22 are connected with the input voltage VIN, the other ends of two switch modules 22 are respectively connected with two charging ports 21 in a one-to-one correspondence manner, a first detection module 23 is connected in parallel with two sides of the first switch module 22, herein, it should be noted that the first switch module 22 refers to any one of the two switch modules 22, that is, the first detection module 23 may be connected in parallel with two sides of any one of the switch modules 22, fig. 2 illustrates that the first charging port 21 is correspondingly connected with the first switch module 22, the other switch module 22 which is not connected with the first detection module 23 is a second switch module 22, and the second charging port 21 is correspondingly connected with the second switch module 22. The first input end of the control module 24 is connected with the other end of the first switch module 22, the first output end of the control module 24 outputs a first control signal LSG1 for controlling the on-off of the first switch module 11, and the second output end of the control module 24 outputs a second control signal EN for controlling the on-off of the first detection module 23.
Here, it should be noted that the first control signal LSG output by the control module 24 is different for different switch modules 22. For example, taking the first switch module and the second switch module as an example, the first control signal LSG output by the control module 24 includes a first control signal LSG1 for controlling the on-off of the first switch module and a first control signal LSG2 for controlling the on-off of the second switch module, where the LSG1 and the LSG2 are different signals. For example, LSG1 is low, the first switch module is turned off, LSG2 is high, and the second switch module is turned on. There may be n LSGs for n switch modules, and in this regard, the present application is not particularly limited.
The first input end of the control module 24 is further connected to the first charging port 21 corresponding to the first switch module 22 to detect a port voltage of the first charging port 21, where it should be noted that, after the control module 24 detects the port voltage of the first charging port 21, the control module 24 compares the detected port voltage with the first reference voltage to generate a first detection signal, and the control module 24 may determine a power receiving main body of the power receiving device inserted into the first charging port 21 at this time according to the first detection signal, and output a corresponding first control signal LSG1 and a second control signal EN according to a detection result to control on/off of the first switch module 22 and on/off of the first detection module 23, thereby powering different power receiving main bodies.
Here, it should be noted that the power receiving body in the present application may refer to an apparatus body such as a mobile phone, a tablet, a computer, a home appliance, or a charging cable to which the apparatus body is not connected.
Illustratively, initially, the first control signal LSG1 output by the control module 24 is low and the second control signal EN is high, and the first switch module 22 is turned off, at which time power is supplied to the first charging port 21 by the first detection module 23. When the first detection signal generated by the control module 24 is characterized in that the port voltage of the first charging port 21 is equal to the first reference voltage, it means that the power receiving main body of the power receiving device inserted at this time is a charging cable, or no power receiving main body (i.e. neither the charging cable nor the device main body is inserted), and no power needs to be supplied by the input voltage VIN, so the control module 24 can control the first switch module 22 to be turned off, control the first detection module 23 to be turned on, and the first detection module 23 supplies power to the first charging port 21 corresponding to the first switch module 22, i.e. the first detection module 23 supplies power to the charging cable at this time. In this way, when the power receiving main body inserted into the first charging port 21 is a charging cable, the control module 24 can control the first detection module 23 to supply power to the power receiving main body, so as to avoid the problem that the output voltage and the output power of the second charging port 21 inserted into the power receiving device are suddenly high and suddenly low under the influence of the first charging port 21, become slow charging, and cannot realize fast charging. In this way, the first detection module 23 is controlled to supply power to the first port 21, so that only the condition that the charging cable is inserted can be identified, the first detection module supplies power, and meanwhile, the second charging port 21 is guaranteed to continue to charge rapidly.
For example, when the first detection signal generated by the control module 24 is characterized in that the port voltage of the first charging port 21 is smaller than the first reference voltage, it indicates that the power receiving main body of the power receiving device inserted at this time is a main body of a device such as a mobile phone, a tablet, a computer, a household appliance, etc., and needs to be powered by the input voltage VIN, so the control module 24 may control the first switch module 22 to be turned on, the first detection module 23 is turned off, and the input voltage VIN supplies power to the first charging port 21 corresponding to the first switch module 22, that is, the input voltage VIN supplies power to the main body of the device at this time. In this way, when the power receiving body into which the first charging port 21 is inserted is the device body, the control module 24 can control the input voltage VIN to supply power thereto.
In this way, the plug detection circuit 2 of the power receiving apparatus provided in this embodiment of the present application may accurately detect the power receiving main body of the inserted power receiving apparatus through the control module 24, and output the corresponding first control signal LSG1 and the second control signal EN according to the detection result, so as to correspondingly control the on-off of the first switch module 22 and the switch of the first detection module 23, so that the input voltage VIN or the first detection module 23 supplies power to the first charging port 21, thereby adapting to different power receiving main bodies. Meanwhile, the plug detection circuit 2 can accurately detect an inserted power receiving main body, so that the problem that the output power of the charging port 21 of other inserted power receiving equipment is influenced by the first charging port 21 to be suddenly high or low, and is changed into slow charging and quick charging cannot be realized is avoided, and therefore, the situation that only a charging cable is inserted can be identified, the first detection module 23 supplies power, and meanwhile, the second charging port 21 is guaranteed to continue quick charging.
Alternatively, the first detection module 23 may be any one of a Low Dropout regulator (LDO) and a buck converter, and may also be other devices or circuits, which are not limited in this application. For example, taking the first detection module 23 as an LDO as an example, the output voltage of the LDO may be set to 5V (volts), the current capability is 3mA (milliamp), and at this time, the first reference voltage preset in the control module 24 is set to 5V. Initially, the first control signal LSG1 output by the control module 24 is at a low level, the second control signal EN is at a high level, and the first switch module 22 is turned off, and at this time, the LDO supplies power to the first charging port 21. When the control module 24 detects that the port voltage of the first charging port 21 connected to the LDO is equal to 5V, it indicates that the power receiving main body inserted at this time is the charging cable or the power receiving main body is not inserted (i.e. neither the charging cable nor the device main body is inserted), the control module 24 controls the first switch module 22 to be turned off, and the LDO continues to supply power to the first charging port 21, i.e. the LDO supplies power to the charging cable at this time. When the control module 24 detects that the port voltage of the first charging port 21 connected to the LDO is less than 5V, it represents that the power receiving main body inserted at this time is the equipment main body, the control module 24 controls the LDO to be turned off, controls the first switch module 22 to be turned on, and supplies power to the first charging port 21 of the corresponding branch by the input voltage VIN, that is, supplies power to the equipment main body by the input voltage VIN at this time.
Here, it should be noted that, the first detection modules 23 may be connected in parallel to two sides of any one of the two switch modules 22, or two first detection modules 23 may be correspondingly provided, and may be respectively connected in parallel to two sides of the two switch modules 22, where the specific number of the first detection modules 23 may be set based on actual requirements, which is not specifically limited in this application.
Alternatively, the switch module 22 may be an N-type metal oxide semiconductor (N Metal Oxide Semiconductor, NMOS) field effect transistor, a P-type metal oxide semiconductor (P Metal Oxide Semiconductor, PMOS) field effect transistor, a triode, a relay, or the like, or may be other devices or circuits having a switching function, which is not particularly limited in this application. For example, as shown in fig. 3, taking the switch module 22 as an NMOS, the drains of the two NMOS are respectively connected to the input voltage VIN, the sources of the two NMOS are respectively connected to the corresponding charging ports 21, and the gates of the two NMOS are respectively connected to the first control signal LSG1 and the first control signal LSG2. When the power receiving main body detected by the control module 24 is a charging cable, the first control signal LSG1 is at a low level, the second control signal EN is at a high level, and the first detection module 23 charges the charging cable; when the power receiving body detected by the control module 24 is the device body, the first control signal LSG1 is at a high level, the second control signal EN is at a low level, and the charging body is charged by the input voltage VIN.
In order to ensure the detection accuracy of the control module 24 for detecting the port voltage of the charging port 21, in one example, as shown in fig. 4, the plug detection circuit 2 may further include a sampling module 25, an input end of the sampling module 25 is connected with the first charging port 21, an output end of the sampling module 25 is connected with the first input end of the control module 24, and the port voltage of the first charging port 21 may be accurately sampled by the sampling module 25, so as to ensure the detection accuracy of the control module 24 for the inserted power receiving body. Here, it should be noted that, the sampling module 25 may be connected to any one of the charging ports 21, or two sampling modules 25 may be correspondingly provided and connected to two of the charging ports 21 respectively, so as to accurately sample the port voltages of the respective charging ports 21, and the specific number of the sampling modules 25 may be set based on the actual requirements.
Alternatively, the sampling module 25 may be a device or a circuit with a sampling function, such as a sampling resistor, an amplifier, or the like, which is not particularly limited in this application.
In summary, the plug detection circuit 2 provided in the embodiments of the present application can accurately detect the power receiving body plugged into the charging port 21. In order to ensure that the plug detection circuit 2 can accurately detect the plug of the powered device, in an example, as shown in fig. 5, the plug detection circuit 2 provided in the embodiment of the present application may further include a second detection module 26, a first end of the second detection module 26 is connected to the first charging port 21, a second end of the second detection module 26 is grounded, and a third end of the second detection module 26 is connected to the second input end of the control module 24. The second detection module 26 may detect the port current of the first charging port, where it should be noted that the second detection module 26 may be pre-configured with a second reference voltage, after the second detection module 26 detects the port current of the first charging port 21, the second detection module 26 compares the voltage corresponding to the port current with the second reference voltage to generate a second detection signal, and sends the second detection signal to the control module 24, and the control module 24 may determine whether the powered main body of the powered device is pulled out at this time according to the second detection signal, and output a corresponding first control signal LSG1 and a second control signal EN according to the detection result, so as to control on/off of the first switch module 22 and on/off of the first detection module 23, thereby avoiding the problem that after the device main body is pulled out, other charging ports 21 inserted into the powered device (device main body) are affected by the first charging port 21, maintaining a slow charging state, and having a low charging speed.
For example, when the control module 24 detects that the port voltage of the charging port 21 is less than the first reference voltage, controls the first detection module 23 to be turned off, controls the first switch module 22 to be turned on, and when the second detection signal is characterized in that the voltage corresponding to the port current is less than the second reference voltage, the port current of the first charging port 21 is a small current, which indicates that the device body is pulled out at this time, the powered device connected to the first charging port 21 is a charging cable, or is a no powered device (i.e. the charging cable is pulled out), the control module 24 controls the first detection module 23 to be turned on, controls the first switch module 22 to be turned off, and supplies power to the first charging port 21 by the first detection module 23. At this time, the output voltage of the charging port 21 of the other inserted power receiving apparatus (apparatus body) becomes high, that is, the output power becomes high, so that the other charging port 11 can realize high-power quick charging.
When the control module 24 detects that the port voltage of the charging port 21 is smaller than the first reference voltage, controls the first detection module 23 to be turned off, and controls the first switch module 22 to be turned on, when the second detection signal is characterized in that the voltage corresponding to the port current is larger than the second reference voltage, the port current of the first charging port 21 is a large current at this time, which means that the device body is not pulled out at this time, and the powered device connected to the first charging port 21 is the device body, the control module 24 controls the first detection module 23 to be turned off, controls the first switch module 22 to be turned on, and supplies power to the first charging port 21 by the input voltage VIN.
In this way, by setting the second detection module 26, it is able to accurately detect whether the power receiving body in the power receiving device is pulled out, so as to avoid the problem that the input voltage VIN always supplies power to the first charging port 21 after the device body is pulled out, resulting in that the charging ports 21 of other inserted power receiving devices (device bodies) are affected by the first charging port 21, maintaining a slow charging state and having a low charging speed. And at this time, the output power of the charging ports 21 of the other plugged-in powered devices becomes high, so that the other charging ports 21 can realize high-power quick charging.
Here, it should be noted that, the second detection module 26 may be connected to any one of the charging ports 21, or two second detection modules 26 may be correspondingly provided and connected to two of the charging ports 21, and the specific number of the second detection modules 26 may be set based on actual requirements, which is not specifically limited in this application.
Alternatively, as shown in fig. 6, the second detection module 26 may include a resistor R1, an amplifier OPA and a comparator COMP, where one end of the resistor R1 is connected to the charging port 21, the other end of the resistor R1 is grounded, the amplifier OPA is connected in parallel to the resistor R1, the other end of the amplifier OPA is connected to the other end of the resistor R1, an inverting input end of the comparator COMP is connected to an output end of the amplifier OPA, an non-inverting input end of the comparator COMP is used for accessing the second reference voltage Vref, an output end of the comparator COMP is connected to a second input end of the control module 24, the resistor R1 may convert a port current of the charging port 21 into a voltage and output the voltage to the amplifier OPA, the amplifier OPA may amplify the voltage and output the voltage to an inverting input end of the comparator COMP, and the comparator COMP may generate the second detection information according to the amplified voltage and the second reference voltage and send the second detection information to the control module 24. In this way, the port current can be accurately sampled and converted into the voltage through the resistor R1 and the amplifier OAP, so as to ensure the detection accuracy of the second detection module 26 on the port current.
The embodiment of the present application further provides a plug detection method, which is applied to the plug detection circuit 2 described in any of the foregoing optional manners, as shown in fig. 7, where the plug detection circuit 2 may include:
s101, the control module 24 controls the first switch module 22 to be turned off and controls the first detection module 23 to be turned on, the first detection module 23 supplies power to the first charging port 21 corresponding to the first switch module 22, and the first switch module 22 is any one of the at least two switch modules 22.
S102, the control module 24 detects the port voltage of the first charging port 21.
S103, the control module 24 compares the port voltage with a first reference voltage to generate a first detection signal.
And S104, when the first detection signal is characterized in that the port voltage is equal to the first reference voltage, the control module controls the first detection module 23 to be turned on, controls the first switch module 22 to be turned off, and the first detection module 23 continues to supply power to the first charging port 21.
Initially, the first control signal LSG1 output by the control module 24 is at a low level, the second control signal EN is at a high level, the first switch module 22 is turned off, at this time, the first detection module 23 supplies power to the first charging port, when the first detection signal generated by the control module 24 is characterized in that the port voltage of the first charging port 21 is equal to the first reference voltage, it indicates that the power receiving main body of the power receiving device inserted at this time is a charging cable, or no power receiving main body (i.e. neither the charging cable nor the device main body is inserted), and no power needs to be supplied by the input voltage VIN, so the control module 24 can control the first switch module 22 to be turned off, the first detection module 23 is turned on, and the first detection module 23 supplies power to the first charging port 21 corresponding to the first switch module 22, i.e. at this time, the first detection module 23 supplies power to the charging cable. In this way, when the power receiving main body inserted into the first charging port 21 is a charging cable, the control module 24 can control the first detection module 23 to supply power to the power receiving main body, so as to avoid that the output voltage and the output power of the second charging port 21 inserted into the power receiving device are suddenly high and suddenly low under the influence of the first charging port 21, and become slow charging, and fast charging cannot be realized. In this way, the first detection module 23 is controlled to supply power to the first port 21, so that only the condition that the charging cable is inserted can be identified, the first detection module 23 supplies power, and meanwhile, the second charging port 21 is guaranteed to continue to charge rapidly.
In one example, as shown in fig. 8, the plug detection method may further include:
s105, when the first detection signal is characterized in that the port voltage is smaller than the first reference voltage, the control module 24 controls the first detection module 26 to be turned off, controls the first switch module 22 to be turned on, and the input power supplies power to the charging port 21.
When the first detection signal generated by the control module 24 is characterized in that the port voltage of the first charging port 21 is smaller than the first reference voltage, it indicates that the power receiving main body of the power receiving device inserted at this time is a main body of a device such as a mobile phone, a tablet, a computer, a household appliance, and the like, and power needs to be supplied by an input power source (i.e., an input voltage VIN), so the control module 24 can control the first switch module 22 to be turned on, the first detection module 23 is turned off, and the input voltage VIN supplies power to the first charging port 21 corresponding to the first switch module 22, i.e., the input voltage VIN supplies power to the main body of the device. In this way, when the power receiving body into which the first charging port 21 is inserted is the device body, the control module 24 can control the input voltage VIN to supply power thereto.
In this way, the plug detection method provided in the embodiment of the present application may accurately detect the power receiving main body of the inserted power receiving device through the control module 24, and output the corresponding first control signal LSG1 and the second control signal EN according to the detection result, so as to control the on-off of the first switch module 22 and the switch of the first detection module 23, so that the input voltage VIN or the first detection module 23 supplies power to the first charging port 21, thereby adapting to different power receiving main bodies. Meanwhile, the plug detection circuit 2 can accurately detect an inserted power receiving main body, so that the problem that the output power of the charging port 21 of other inserted power receiving equipment is influenced by the first charging port 21 to be suddenly high or low, and is changed into slow charging and quick charging cannot be realized is avoided, and therefore, the situation that only a charging cable is inserted can be identified, the first detection module 23 supplies power, and meanwhile, the second charging port 21 is guaranteed to continue quick charging.
In one example, as shown in fig. 9, the plug detection method may further include:
s106, the second detection module 26 detects the port current of the first charging port 21, and compares the voltage corresponding to the port current with a second reference voltage to generate a second detection signal.
And S107, when the port voltage is smaller than the first reference voltage, the control module 24 controls the first detection module 23 to be closed and controls the first switch module 22 to be turned on, and when the second detection signal is characterized in that the voltage is smaller than the second reference voltage, the control module 24 controls the first detection module 23 to be turned on, controls the first switch module 22 to be turned off, and the first detection module 23 supplies power to the charging port 21.
When the control module 24 detects that the port voltage of the charging port 21 is smaller than the first reference voltage, controls the first detection module 23 to be turned off, and controls the first switch module 22 to be turned on, the second detection module 26 detects the port current of the first charging port 21, when the second detection signal is characterized in that the voltage corresponding to the port current is smaller than the second reference voltage, the port current of the first charging port 21 is a small current at this time, which means that the device body is pulled out at this time, the powered device connected with the first charging port 21 is a charging cable, and the control module 24 controls the first detection module 23 to be turned on, controls the first switch module 22 to be turned off, and supplies power to the first charging port 21 by the first detection module 23. At this time, the output power of the charging port 21 of the other plugged-in powered device (device body) becomes high, so that the other charging port 11 can realize high-power quick charging.
In one example, as shown in fig. 10, the plug detection method may further include:
s108, when the port voltage is smaller than the first reference voltage, the control module 24 controls the first detection module 23 to be turned off, and controls the first switch module 22 to be turned on, and when the second detection signal is characterized in that the voltage is larger than the second reference voltage, the control module 24 controls the first detection module 23 to be turned off, controls the first switch module 22 to be turned on, and inputs a power supply to supply power to the charging port 21.
When the control module 24 detects that the port voltage of the charging port 21 is smaller than the first reference voltage, controls the first detection module 23 to be turned off, and controls the first switch module 22 to be turned on, when the second detection signal is characterized in that the voltage corresponding to the port current is larger than the second reference voltage, the port current of the first charging port 21 is a large current at this time, which means that the device body is not pulled out at this time, and the powered device connected to the first charging port 21 is the device body, the control module 24 controls the first detection module 23 to be turned off, controls the first switch module 22 to be turned on, and supplies power to the first charging port 21 by the input voltage VIN.
In this way, by setting the second detection module 26, it is able to accurately detect whether the power receiving body in the power receiving device is pulled out, so as to avoid the problem that the input voltage VIN always supplies power to the first charging port 21 after the device body is pulled out, resulting in that the charging ports 21 of other inserted power receiving devices (device bodies) are affected by the first charging port 21, maintaining a slow charging state and having a low charging speed. Thus, the plug detection method provided by the application ensures the charging speed of the plug detection circuit 2.
The embodiment of the present application further provides a control chip, which is characterized by including the plug detection circuit 2 of the powered device in any of the foregoing optional manners, and therefore, the description is not repeated.
It should be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
In addition, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used merely to distinguish between descriptions and are not to be construed as indicating or implying relative importance.
Reference in the specification to "one embodiment" or "some embodiments" or the like means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," and the like in the specification are not necessarily all referring to the same embodiment, but mean "one or more but not all embodiments" unless expressly specified otherwise. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless expressly specified otherwise.
The above embodiments are only for illustrating the technical solution of the present application, and are not limiting; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.

Claims (10)

1. A plug detection circuit of a power receiving apparatus, characterized in that the plug detection circuit of the power receiving apparatus includes:
at least two charging ports for external devices;
the system comprises at least two switch modules, at least two charging ports and a control unit, wherein one ends of the at least two switch modules are connected with an input power supply, and the other ends of the at least two switch modules are respectively connected with the at least two charging ports in a one-to-one correspondence manner;
the first detection module is connected in parallel to two sides of the first switch module, the first switch module is any one of at least two switch modules, and the first detection module is used for supplying power to a first charging port corresponding to the first switch module after the first switch module is turned off; the method comprises the steps of,
The first input end of the control module is connected with the other end of the first switch module, the first output end of the control module outputs a first control signal for controlling the on-off of at least two switch modules, and the second output end of the control module outputs a second control signal for controlling the switch of the first detection module;
the control module is used for controlling the first switch module to be turned off and controlling the first detection module to be turned on, and the first detection module is used for supplying power to the first charging port corresponding to the first switch module;
the control module is further configured to detect a port voltage of the first charging port, compare the port voltage with a first reference voltage to generate a first detection signal, and when the first detection signal is characterized in that the port voltage is equal to the first reference voltage, control the first detection module to be turned on and control the first switch module to be turned off, and the first detection module continuously supplies power to the first charging port.
2. The plug detection circuit of a power receiving apparatus according to claim 1, wherein,
when the first detection signal is characterized in that the port voltage is smaller than the first reference voltage, the control module is used for controlling the first detection module to be closed and controlling the first switch module to be turned on, and the input power supply supplies power to the first charging port.
3. The plug detection circuit of the power receiving apparatus according to claim 2, characterized in that the plug detection circuit of the power receiving apparatus further comprises:
the first end of the second detection module is connected with the first charging port, the second end of the second detection module is grounded, and the third end of the second detection module is connected with the second input end of the control module;
the second detection module is used for detecting the port current of the first charging port, comparing the voltage corresponding to the port current with a second reference voltage to generate a second detection signal, and sending the second detection signal to the control module;
the control module is further configured to control the first detection module to be turned off and control the first switch module to be turned on when the port voltage is smaller than the first reference voltage, and when the second detection signal is characterized in that the voltage is smaller than the second reference voltage, the control module is configured to control the first detection module to be turned on and control the first switch module to be turned off, and the first detection module supplies power to the first charging port.
4. The plug detection circuit of claim 3, wherein,
the control module is further configured to control the first detection module to be turned off and the input power supply to supply power to the first charging port when the port voltage is smaller than the first reference voltage and the first switch module to be turned on and the second detection signal is characterized in that the voltage is larger than the second reference voltage.
5. The plug detection circuit according to any one of claims 1 to 4, wherein the first detection circuit includes any one of a low dropout linear regulator and a buck converter.
6. A plug detection method, wherein the plug detection circuit according to any one of claims 1 to 5 is applied, the method comprising:
the control module controls the first switch module to be turned off and controls the first detection module to be turned on, the first detection module supplies power to a first charging port corresponding to the first switch module, and the first switch module is any one of at least two switch modules;
the control module detects the port voltage of the first charging port;
the control module compares the port voltage with a first reference voltage to generate a first detection signal;
when the first detection signal is characterized in that the port voltage is equal to a first reference voltage, the control module controls the first detection module to be started and controls the first switch module to be turned off, and the first detection module continues to supply power to the first charging port.
7. The plug detection method of claim 6, further comprising:
When the first detection signal is characterized in that the port voltage is smaller than the first reference voltage, the control module controls the first detection module to be closed, controls the first switch module to be turned on, and the input power supply supplies power to the first charging port.
8. The plug detection method of claim 7, further comprising:
the second detection module detects the port current of the first charging port, and compares the voltage corresponding to the port current with a second reference voltage to generate a second detection signal;
the control module controls the first detection module to be turned on and controls the first switch module to be turned off when the port voltage is smaller than the first reference voltage and controls the first switch module to be turned on, and when the second detection signal is characterized in that the voltage is smaller than the second reference voltage, the control module controls the first detection module to be turned on and controls the first switch module to be turned off and the first detection module supplies power to the first charging port.
9. The plug detection method of claim 8, wherein the method further comprises:
the control module controls the first detection module to be closed and controls the first switch module to be turned on when the port voltage is smaller than the first reference voltage and controls the first switch module to be turned on, and when the second detection signal is characterized in that the voltage is larger than the second reference voltage, the control module controls the first detection module to be turned off and controls the first switch module to be turned on, and the input power supply supplies power to the first charging port.
10. A control chip comprising the plug detection circuit of the power receiving apparatus according to any one of claims 1 to 5.
CN202311672810.7A 2023-12-06 2023-12-06 Plug detection circuit, plug detection method and control chip of powered device Pending CN117748646A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311672810.7A CN117748646A (en) 2023-12-06 2023-12-06 Plug detection circuit, plug detection method and control chip of powered device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311672810.7A CN117748646A (en) 2023-12-06 2023-12-06 Plug detection circuit, plug detection method and control chip of powered device

Publications (1)

Publication Number Publication Date
CN117748646A true CN117748646A (en) 2024-03-22

Family

ID=90280536

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311672810.7A Pending CN117748646A (en) 2023-12-06 2023-12-06 Plug detection circuit, plug detection method and control chip of powered device

Country Status (1)

Country Link
CN (1) CN117748646A (en)

Similar Documents

Publication Publication Date Title
CN107422776B (en) Low difference voltage regulator
US10073509B2 (en) Electronic device for combining multiple power signals
US9048676B2 (en) Charging circuit and charging method
EP2082244B1 (en) Current limit detector
US20150280486A1 (en) Switching mode charger for charging system
CN111864847B (en) Multi-port battery charging-discharging system
US20130270907A1 (en) Charging and power supplying circuit, method and application device
KR101599203B1 (en) Earphone and method for realizing automatic recognition switching control of earphone
CN113708606B (en) PMOS access switch control circuit
KR20140126491A (en) power supply circuit and method for controlling thereof
CN115756080A (en) Reference voltage generation circuit, control method, chip and electronic equipment
CN111897387A (en) Linear low-dropout voltage conversion circuit and working method thereof, power supply device and working method thereof
CN117748646A (en) Plug detection circuit, plug detection method and control chip of powered device
CN100355180C (en) Method and device for reducing electric source power of terminal apparatus
WO2017199772A1 (en) Slew rate control apparatus
CN102035250B (en) Semiconductor device, voltage comparison circuit, power management circuit and electronic instrument
CN115395762A (en) Single-inductor voltage transformation multi-voltage independent output circuit and related product
CN113726153B (en) Intelligent voltage regulating method for voltage stabilizing module
CN216672600U (en) Voltage source parallel current-sharing control circuit
CN113346716B (en) Multi-power-supply-input intelligent voltage stabilizing module capable of adjusting voltage
CN113629828A (en) PD charging circuit and charging method capable of automatically compensating line loss
CN111478409A (en) USB output circuit and device for controlling multi-port USB output through single resistor
CN108702012B (en) Apparatus, control method, medium, and system including dynamic power control circuit
CN110739916A (en) Power supply circuit and terminal equipment
CN117270449B (en) Control circuit of current source and current source thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination