Charging circuit
By designing a charging circuit that includes a protocol chip, a delay chip, and a current limiting module, the problem of the impact of terminal power supply on the operation of load equipment was solved, and the stable operation of load equipment and the endurance of the terminal were improved.
Patent Information
- Application Number
- CN202010334673.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-04-24
- Publication Date
- 2026-02-10
- Estimated Expiration
- 2040-04-24
AI Technical Summary
The power supply performance of the terminal affects the operation of the load equipment, leading to instability in the operation of the load equipment.
Design a charging circuit including a protocol chip, a delay chip, a power supply module, and a switch. By controlling the power supply status of the terminal and the charger, ensure that the protocol chip does not lose power during the power supply delay period, and ensure circuit stability through diodes and a current limiting module.
This avoids the cascading effects of terminal power supply delay on load devices, ensures the stable operation of load devices, and improves the terminal's battery life and circuit stability.
Smart Images

Figure CN113555916B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of electronic devices, and in particular to a charging circuit. Background Technology
[0002] With the increasing popularity and diversification of payload devices such as AR, people are beginning to use these devices as accessories for everyday terminals in industrial and gaming fields. This allows for a combination of the performance of AR payload devices and everyday terminals, resulting in a better user experience.
[0003] In real-world applications, terminals typically need to communicate and interact with load devices such as AR devices, and also provide power to these load devices. This means that the terminal's power supply performance can affect the operation of the load devices. Summary of the Invention
[0004] This invention provides a charging circuit that helps to solve the problem that the actual operation of load devices is affected by the performance of the terminal power supply.
[0005] To address the aforementioned problems, this invention provides a charging circuit, comprising: a first port for connecting a terminal, a second port for connecting a charger, and a third port for connecting a load device, wherein the terminal and the charger supply power to the load device; a protocol chip, wherein the protocol chip is configured to determine whether the second port is connected to the charger, and to control the terminal to stop supplying power and control the charger to start supplying power when the second port is connected to the charger; the terminal and the charger are also configured to supply power to the protocol chip; further comprising: a power supply module and a delay chip, wherein the protocol chip is also configured to control the terminal to start supplying power when the charger stops supplying power, the terminal having a power supply delay time, the power supply delay time including the longest time interval required from stopping power supply to starting power supply, and the delay chip being configured to control the power supply module to supply power to the protocol chip during the power supply delay time.
[0006] In addition, the delay chip is connected in series between the output of the power supply module and the protocol chip. The delay chip is turned on or off in response to a trigger signal. During the period when the delay chip is turned on, the power supply module supplies power to the protocol chip. During the period when the delay chip is turned off, the power supply module stops supplying power to the protocol chip.
[0007] In addition, the delay chip further includes: a trigger terminal for receiving the trigger signal, the trigger terminal being connected to the first port and the second port; when the potential of the first port and the second port is low, the delay chip is turned on and begins a countdown for a preset time; when the potential of the first port and / or the second port is high or the countdown reaches zero, the delay chip is turned off; wherein, the preset time is greater than or equal to the power supply delay time.
[0008] Additionally, it includes a diode connected in series between the delay chip and the protocol chip, with the positive terminal of the diode connected to the output terminal of the delay chip and the negative terminal of the diode connected to the protocol chip.
[0009] Additionally, it includes: a switch connected in series between the first port and the third port, wherein the terminal supplies power to the load device during the period when the switch is on; the switch is connected to the protocol chip, which is used to obtain whether the third port is connected to the load device, and is also used to control the switch to be on during the period when the load device is connected to the third port.
[0010] In addition, the switch includes a PMOS transistor, the gate of which is connected to the protocol chip.
[0011] In addition, the protocol chip is used to transmit the first port and the third port transparently, and the terminal is used to identify whether the third port is connected to the load device and transmit the identification result to the protocol chip.
[0012] In addition, the charging circuit also includes a first load switch, which is connected in series between the second port and the third port. The protocol chip is also used to control the first load switch to be turned on when the charger is connected to the second port, and to control the first load switch to be turned off when the charger stops supplying power.
[0013] In addition, the first load switch has a first current threshold. After the charger is connected to the second port, the first load switch is used to disconnect when the input current is greater than the first current threshold and to turn on when the input current is less than or equal to the first current threshold.
[0014] In addition, the charging circuit also includes a step-down module, which is connected in series between the second port and the first load switch.
[0015] In addition, the charging circuit also includes a second load switch, which is connected between the first port and the third port, and between the second port and the third port. The protocol chip is also used to control the second load switch to be turned on when the load device is connected to the third port, and to control the second load switch to be turned off when the load device is disconnected from the third port.
[0016] In addition, the power supply module is connected to the third port, and the protocol chip is also used to control the power supply module to supply power to the load device when the power consumption of the load device is greater than the power supply power of the terminal or the power supply power of the charger.
[0017] In addition, the power supply module includes a power converter and a battery. The power converter is connected in series between the first port and the battery, and also connected in series between the second port and the battery. The terminal and the charger are also used to supply power to the battery.
[0018] In addition, the power converter is connected in series between the first port and the third port, and also in series between the second port and the third port; the power converter also has a step-down function, and the charging circuit further includes a boost circuit, which is connected in series between the power converter and the third port.
[0019] In addition, the charger is also used to supply power to the terminal, and the protocol chip is also used to control the charger to supply power to both the load device and the terminal simultaneously.
[0020] Compared with the prior art, the technical solution provided by the embodiments of the present invention has the following advantages:
[0021] The above technical solution provides a charging circuit that can connect both a charger and a terminal simultaneously. After the charger is connected to the charging circuit, it can control the terminal to stop supplying power and control the charger to start supplying power. In this way, the terminal does not need to supply power to external devices while it is operating, thus avoiding the performance degradation of the terminal due to power supply tasks and the chain reaction that may affect the operation of the load device. In addition, the protocol chip will not lose power during the power supply delay of the terminal, which helps to prevent the operation of the load device from being interrupted due to the power supply delay of the terminal.
[0022] In addition, by connecting the trigger terminal of the delay chip to the first port and the second port, the delay chip can be automatically turned on when the first port and the second port switch to a low level, without the need for other control signals, which helps to simplify the circuit structure.
[0023] In addition, by setting up a diode, the current at the output of the delay chip can be prevented from affecting the turn-off or turn-on of the delay chip, thereby ensuring the stable operation of the charging circuit. Attached Figure Description
[0024] One or more embodiments are illustrated by way of example with reference numerals in the accompanying drawings. These illustrations do not constitute a limitation on the embodiments. Elements with the same reference numerals in the drawings are denoted as similar elements. Unless otherwise stated, the figures in the drawings are not to be limited by scale.
[0025] Figure 1 A circuit diagram of a charging circuit provided in an embodiment of the present invention;
[0026] Figure 2 A circuit diagram of a charging circuit provided in another embodiment of the present invention;
[0027] Figure 3 and Figure 4 This is a circuit diagram of a charging circuit provided in another embodiment of the present invention. Detailed Implementation
[0028] As can be seen from the background technology, in the prior art, when the load device communicates and interacts with the terminal, the operation of the load device is affected by the power supply performance of the terminal.
[0029] To address the above issues, this invention provides a charging circuit capable of simultaneously connecting a charger and a terminal. After the charger is connected, the circuit can control the terminal to stop supplying power and control the charger to start supplying power. Thus, the terminal can operate independently without supplying external power, avoiding a cascading effect on the operation of the load device caused by the terminal's performance degradation due to power supply tasks. Furthermore, the protocol chip will not lose power during the terminal's power supply delay, which helps prevent the operation of the load device from being interrupted due to the terminal's power supply delay.
[0030] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the various embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, those skilled in the art will understand that many technical details have been presented in the various embodiments of the present invention to enable the reader to better understand this application. However, the technical solutions claimed in this application can be implemented even without these technical details and various changes and modifications based on the following embodiments.
[0031] Figure 1 This is a circuit diagram of a charging circuit provided in an embodiment of the present invention.
[0032] refer to Figure 1The charging circuit includes: a first port 111 for connecting to a terminal 110, a second port 121 for connecting to a charger 120, and a third port 131 for connecting to a load device 130, wherein the terminal 110 and the charger 120 are used to supply power to the load device 130; a protocol chip 14, which is used to determine whether the second port 121 is connected to the charger 120, and to control the terminal 110 to stop supplying power and control the charger 120 to start supplying power when the charger 120 is connected to the second port 121; the terminal 110 and the charger 120 are also used to supply power to the protocol chip 14; and further includes: a power supply module 15 and a delay chip 16, wherein the protocol chip 14 is also used to control the terminal 110 to start supplying power when the charger 120 stops supplying power, the terminal 110 has a power supply delay time, the power supply delay time including the longest time interval required from stopping power supply to starting power supply, and the delay chip 16 is used to control the power supply module 15 to supply power to the protocol chip 14 during the power supply delay time.
[0033] In this embodiment, the output terminal of the first port 111 is connected to the input terminal of the third port 131, and the terminal 110 supplies power to the load device 130 through the first port 111 and the third port 131; the output terminal of the second port 121 is connected to the input terminal of the third port 131, and the charger 120 supplies power to the load device 130 through the second port 121 and the third port 131.
[0034] In this embodiment, the output terminals of the first port 111 and the second port 121 are connected to the protocol chip 14. In addition, the protocol chip 14 is also used to transmit the first port 111 and the third port 131 so that the terminal 110 can receive the data packet containing device information sent by the load device 130. The terminal 110 verifies whether the accessed device is a compatible load device 130 through the data packet.
[0035] Thus, the qualification of the connected load device 130 is determined by the terminal 110. The terminal 110 can identify different types of load devices according to their type and settings, thereby achieving effective correspondence between the terminal 110 and the load device 130. In addition, the terminal 110 can usually update data through the network, thereby quickly identifying the target load device 130, which helps to improve the connection efficiency between the terminal 110 and the load device 130. Furthermore, the information processing capability of the terminal 110 is usually higher than that of the protocol chip 14, which helps to improve the connection efficiency between the load device 130 and the terminal 110.
[0036] In this embodiment, the delay chip 16 is connected in series between the output terminal of the power supply module 15 and the protocol chip 14. The delay chip 16 is turned on or off in response to the trigger signal. During the period when the delay chip 16 is turned on, the power supply module 15 supplies power to the protocol chip 14. During the period when the delay chip 16 is turned off, the power supply module 15 supplies power to the protocol chip 14.
[0037] Specifically, the delay chip 16 includes a trigger terminal 161 for receiving a trigger signal. The trigger terminal 161 is connected to a first port 111 and a second port 121. When the potentials of the first port 111 and the second port 121 are low, the delay chip 16 is turned on and begins a countdown for a preset time. When the potentials of the first port 111 and / or the second port 121 are high, or when the countdown reaches zero, the delay chip 16 is turned off. The preset time is greater than or equal to the power supply delay time. In this way, it can be ensured that the power supply module 15 supplies power to the protocol chip 14 within the power supply delay time, ensuring the normal operation of the protocol chip 14.
[0038] In this embodiment, the delay chip 16 has an excitation module. The delay chip 16 being turned on specifically means that the excitation module controls the power supply module 15 to supply power to the protocol chip 14; the delay chip 16 being turned off specifically means that the excitation module controls the power supply module 15 to stop supplying power to the protocol chip 14.
[0039] It should be noted that, since the first port 111 and the second port 121 in this embodiment have a common connection point 123b, the current needs to pass through the common connection point 123b when the terminal 110 and the charger 120 supply power to the load device 130. Therefore, the connection of the trigger terminal 161 to the common connection point 123b is equivalent to the connection to the first port 111 and the second port 121.
[0040] In this embodiment, the charging circuit also includes a diode 17, which is connected in series between the delay chip 16 and the protocol chip 14. The anode of the diode 17 is connected to the output terminal of the delay chip 16, and the cathode of the diode 17 is connected to the protocol chip 14. This helps to prevent the electrical signal in the protocol chip 14 from accidentally triggering the delay chip 16 to turn on or off, thereby ensuring the normal operation of the delay chip 16.
[0041] Terminal 110 includes electronic devices that can be charged and used directly and electronic devices with energy storage function. When terminal 110 is an electronic device that can be charged and used directly, the terminal 110 may experience a decrease in processing efficiency because the program or function of supplying power to the load device 130 is always running. At the same time, the terminal 110 may experience performance problems such as overheating when running multiple program tasks at the same time.
[0042] The direct-charging terminal 110 includes speakers, televisions, and desktop computers, etc.; the terminal 110 with energy storage function includes mobile phones, tablets, and laptops, etc. In addition, the charger 120 can be a charging head or a terminal device with power supply function; the load device 130 can be a direct-charging electronic device or an electronic device with energy storage function.
[0043] The following explanation will supplement the description of its working principle by describing one connection sequence of the charging circuit.
[0044] 1. Terminal 110 is connected to the first port 111.
[0045] After the terminal 110 is connected to the first port 111, it supplies power to the protocol chip 14 through the first port 111, enabling the protocol chip 14 to enter the working state. After entering the working state, the protocol chip 14 will transmit between the first port 111 and the third port 131, so that the terminal 110 can receive data packets containing device information sent by the load device 130; in addition, the protocol chip 14 is also used to determine whether the charger 120 is connected to the second port 121.
[0046] 2. Load device 130 is connected to the third port 131.
[0047] After the load device 130 is connected to the third port 131, the terminal 110 sends identity query information to the load device 130, and the load device 130 sends a data packet containing device information to the terminal 110. After verifying the data packet, the terminal 110 sends the verification result to the protocol chip 14. When the verification result is "passed", the protocol chip 14 controls the terminal 110 to simultaneously supply power to both the protocol chip 14 and the load device 130. At the same time, the terminal 110 and the load device 130 establish a communication connection for communication interaction.
[0048] 3. Charger 120 is connected to the second port 121.
[0049] After the protocol chip 14 obtains that the charger 120 is connected to the second port 121, it sends a power switching command to the terminal 110 so that the terminal 110 stops supplying power and the charger 120 starts supplying power.
[0050] In this embodiment, the first port 111 is also connected to the second port 121, and the terminal 110 is an electronic device capable of storing electricity. After the terminal 110 stops supplying power, the protocol chip 14 is also used to control the charger 120 to supply power to both the terminal 110 and the load device 130 simultaneously, so as to improve the battery life of the terminal 110.
[0051] 4. The charger stops supplying power at 120V.
[0052] When the charger 120 is disconnected from the second port 121 or the charger 120 fails to supply power, the protocol chip 14 controls the terminal 110 to start supplying power. Since the terminal 110 has a power supply delay time, the common connection point 123b is at a low level at this time. The low level signal triggers the delay chip 16 to turn on, so that the power supply module 15 supplies power to the protocol chip 14. After the power supply delay, the terminal 110 starts to output power. At this time, the common connection point 123b switches to a high level. The high level signal triggers the delay chip 16 to turn off, and the power supply module 15 stops supplying power to the protocol chip 14. At this time, the protocol chip 14 is powered by the terminal 110.
[0053] It should be noted that in this embodiment, the time point at which the delay chip 16 turns off again after being triggered by a low level can be either when triggered by a high level or after a preset time following the turn-on. This preset time is only related to the internal structure and materials of the delay chip 16. The delay chip 16 automatically turns off after the preset time in the absence of a high-level trigger. This prevents the protocol chip 14 from consuming excessive power from the power supply module 15 when the low-level trigger signal is caused by an open circuit or other reasons.
[0054] In this embodiment, the first port 111, the second port 121, and the third port 131 are all TYPE-C interfaces and comply with the power switching protocol; in other embodiments, the first port, the second port, and the third port can also be interfaces of the type USB, etc.
[0055] In this embodiment, the charging circuit can connect the charger 120 and the terminal 110 simultaneously. After the charging circuit is connected to the charger 120, it can control the terminal 110 to stop supplying power and control the charger 120 to start supplying power. In this way, the load device 130 does not need to rely on the power supply of the terminal 110, which helps to avoid the terminal 110 from experiencing a decrease in processing speed, overheating, and low battery life due to supplying power to the outside, thereby ensuring the stable operation of the load device 130. In addition, the power supply module 15 provides power during the power supply delay time, which helps to avoid the load device 130 and the terminal 110 from losing power and / or communication due to the protocol chip 14 losing power.
[0056] Another embodiment of the present invention also provides a charging circuit. Unlike the previous embodiment, in this embodiment, the power supply module includes a power converter and a battery. The following will be combined with... Figure 2 Provide a detailed explanation. Figure 2 This is a circuit diagram of a charging circuit provided in another embodiment of the present invention. For parts that are the same as or corresponding to those in the previous embodiment, please refer to the corresponding description in the previous embodiment; they will not be repeated hereafter.
[0057] In this embodiment, the power supply module includes a power converter 251 and a battery 252. The power converter 251 is connected in series between the first port 211 and the battery 252, and is also connected in series between the second port 221 and the battery 252. The terminal 210 and the charger 220 are also used to supply power to the battery 252.
[0058] In this embodiment, the power converter 251 has a current limiting function. The power converter 251 is connected in series between the first port 211 and the third port 231, and also in series between the second port 221 and the third port 231. This helps to avoid overcurrent at the input terminal of the third port 231, thereby ensuring the safety of the load device 230.
[0059] In this embodiment, the charging circuit further includes a boost module 28, which is connected in series between the power converter 251 and the third port 231. Since the existing power converter 251 often has a step-down effect, meaning the output voltage is lower than the input voltage, the boost module 28 is added to limit the current at the input of the third port 231 while ensuring that the voltage at the input of the third port 231 meets the power supply voltage requirements of the load device 230.
[0060] In this embodiment, the output terminal of the delay chip 26 is connected to the boost module 28, and the battery 252 supplies power to the protocol chip 24 through the delay chip 26 and the boost module 28. This helps to increase the output voltage of the battery 252, thereby ensuring that the voltage at the input terminal of the protocol chip 24 meets the power supply requirements of the protocol chip 24.
[0061] The boost module 28 can be enabled via terminal 210, charger 220 and battery 252.
[0062] In this embodiment, the power converter 251 can not only supply power to the battery 252, but also act as a current limiting unit to prevent overcurrent at the input of the load device 230, which is beneficial to ensuring the stable operation of the load device 230.
[0063] Another embodiment of the present invention provides a charging circuit, which, unlike the previous embodiment, further includes a switch, a first load switch, and a second load switch. The following will be combined with... Figure 3 and Figure 4 Provide a detailed explanation. Figure 3 and Figure 4 This is a circuit diagram of a charging circuit provided in another embodiment of the present invention. For parts that are the same as or corresponding to those in the previous embodiment, please refer to the corresponding description in the previous embodiment; they will not be repeated hereafter.
[0064] In this embodiment, the charging circuit includes: a switch 312, which is connected in series between the first port 311 and the third port 331. During the period when the switch 312 is turned on, the terminal 310 supplies power to the load device 330. The switch 312 is connected to a protocol chip 34, which is used to obtain whether the third port 331 is connected to the load device 330, and also to control the switch 312 to turn on during the period when the third port 331 is connected to the load device 330.
[0065] In this embodiment, switch 312 is a PMOS transistor, and the gate of the PMOS transistor is connected to the protocol chip 34. The PMOS transistor has an on state and an off state, and the PMOS transistor is in the off state by default. When the third port 331 is unavailable, the PMOS transistor is in the off state. At this time, the current output by the terminal 310 through the PMOS transistor is small and is only used to power the protocol chip 34. When the third port 331 is connected to the load device 330, the protocol chip 34 sends a first instruction S1 to the PMOS transistor to turn it on. At this time, the current output by the terminal 310 through the PMOS transistor is large, and it powers both the protocol chip 34 and the load device 330. In this way, by controlling the on or off state of switch 312, the power of the terminal 310 can be saved.
[0066] In this embodiment, the charging circuit includes a first load switch 323, which is connected in series between the second port 321 and the third port 331. The protocol chip 34 controls the first load switch 323 to be turned on when the charger 320 is connected to the second port 321, and controls the first load switch 323 to be turned off when the charger 320 is disconnected from the second port 321.
[0067] When charger 320 is connected to the second port 321, it means that charger 320 is in a power output state and the voltage at the input terminal of the second port 321 is high. When the second port 321 is disconnected from charger 320, it means that charger 320 is no longer supplying power, that is, the voltage at the input terminal of the second port 321 is low. It should be noted that when charger 320 itself malfunctions or a short circuit occurs between charger 320 and the second port 321, it may cause charger 320 to stop supplying power.
[0068] Specifically, the protocol chip 34 includes a detection module 341a, which is connected to the input terminal 323a of the first load switch and is used to detect the voltage of the input terminal 323a of the first load switch; it also includes a control module 341b, which is connected to the detection module 341a and is used to acquire the voltage of the input terminal 323a of the first load switch and control the first load switch 323 to be turned on or off based on the voltage of the input terminal 323a of the first load switch.
[0069] Specifically, when the voltage potential of the first load switch input terminal 323a is low, it can be considered that the charger 320 stops supplying power. At this time, the protocol chip 34 sends a second instruction S2 to control the first load switch 323 to turn off, thereby preventing the power of the terminal 310 from flowing to the second port 321, which helps to save the power of the terminal 310. Correspondingly, when the voltage potential of the first load switch input terminal 323a is high, it can be considered that the charger 320 is connected to the second port 321. At this time, the protocol chip 34 sends a second instruction S2 to control the first load switch 323 to turn on, so that the charger 320 can supply power to the load device 330 and the terminal 310.
[0070] In addition, the first load switch 323 has a first current threshold. When the second port 321 is connected to the charger 320, if the current at the input terminal of the first load switch 323 is greater than the first current threshold, the first load switch 323 is turned off; if the current at the input terminal of the first load switch 323 is less than or equal to the first current threshold, the first load switch 323 is turned on.
[0071] The first current threshold can be determined by the load device 330. That is, the first current threshold may be different for different load devices 330. The first current threshold can be adjusted manually or automatically according to the type of load device 330.
[0072] In other embodiments, the first load switch further has a first voltage threshold, wherein the first load switch is turned off when the voltage at the input terminal of the first load switch is greater than the first voltage threshold, and the first load switch is turned on when the voltage at the input terminal of the first load switch is less than or equal to the first voltage threshold.
[0073] In this embodiment, the charging circuit further includes a step-down module 322, which is connected in series between the second port 321 and the first load switch 323. The step-down module 322 is used to reduce the output voltage of the charger 320 to a preset voltage. The preset voltage can be a fixed value or a variable value adjusted according to the parameters of the load device 330.
[0074] For example, in one case, the preset voltage is a fixed value of 7.5V, and when the output voltage of the charger 320 is 10V or 20V, the output voltage of the step-down module 322 is always 7.5V; in another case, the preset voltage is equal to the rated voltage of the load device 330. When the rated voltage of the load device 330 is 5V, and the output voltage of the charger 320 is 10V or 20V, the output voltage of the step-down module 322 is 5V.
[0075] In this way, the output voltage of the charger 320 can be reduced, avoiding the charging circuit from being affected by overvoltage; at the same time, it allows chargers 320 with different output voltages to be connected to the charging circuit and provide power.
[0076] The step-down module 322 has an enable terminal 322a, which is connected to the output terminal of the second port 321. The charger 320 supplies power to the step-down module 322 through the enable terminal 322a to enable the step-down module 322 to enter the working state. In addition, a resistor is connected in series between the enable terminal 322a and the second port 321 to limit current and divide voltage, so as to avoid overcurrent or overvoltage at the enable terminal 322a and thus ensure the safety of the step-down module 322.
[0077] In this embodiment, the charging circuit includes: a second load switch 332, which is connected between the first port 311 and the third port 331, and between the second port 321 and the third port 331. The protocol chip 34 sends a third instruction S3 to control the second load switch 332 to turn on when the third port 331 is connected to the load device 330, and sends a third instruction S3 to control the third port 331 to turn off when the third port 331 is disconnected from the load device 330.
[0078] The disconnection of the load device 330 includes methods such as hardware disconnection and power-off, meaning that the load device 330 no longer relies on the charging circuit provided in this embodiment to work. In addition, since the terminal 310 communicates and interacts with the load device 330, after the load device 330 is disconnected from the third port 331, the terminal 310 can no longer receive messages sent by the load device 330, and the terminal device 310 will not receive a response when sending identity query information to the disconnected load device 330. After the terminal 310 can no longer identify the load device 330, it sends the identification result to the protocol chip 34, and the protocol chip 34 controls the second load switch 332 to disconnect according to the identification result.
[0079] Furthermore, the second load switch 332 has a second voltage threshold. When the third port 331 is connected to the load device 330, if the voltage exceeds the second voltage threshold, the second load switch 332 is turned off; if the voltage is less than or equal to the second voltage threshold, the second load switch 332 is turned on. In other embodiments, the second load switch also has a second current threshold.
[0080] In this embodiment, the setting of switch 312 is conducive to saving the power of terminal 310; the setting of first load switch 323 and second load switch 332 is conducive to ensuring the safety of charging circuit.
[0081] Those skilled in the art will understand that the above embodiments are specific examples of implementing the present invention, and in practical applications, various changes in form and detail can be made without departing from the spirit and scope of the present invention. Any person skilled in the art can make their own modifications and alterations without departing from the spirit and scope of the present invention; therefore, the scope of protection of the present invention should be determined by the scope defined in the claims.
Claims
1. A charging circuit, characterized in that, include: A first port for connecting a terminal, a second port for connecting a charger, and a third port for connecting a load device; the terminal and the charger are used to supply power to the load device. The protocol chip is used to determine whether the second port is connected to the charger, and to control the terminal to stop powering on and control the charger to start powering on when the second port is connected to the charger. The terminal and the charger are also used to supply power to the protocol chip; It also includes: a power supply module and a delay chip. The protocol chip is also used to control the terminal to start power supply when the charger stops supplying power. The terminal has a power supply delay time, which includes the longest time interval required from the stop of power supply to the start of power supply. The delay chip is used to control the power supply module to supply power to the protocol chip during the power supply delay time. The delay chip is connected in series between the output of the power supply module and the protocol chip. The delay chip is turned on or off in response to a trigger signal. During the period when the delay chip is turned on, the power supply module supplies power to the protocol chip. During the period when the delay chip is turned off, the power supply module stops supplying power to the protocol chip. The delay chip further includes a trigger terminal for receiving the trigger signal, the trigger terminal being connected to the first port and the second port. When the potential of the first port and the second port is low, the delay chip is turned on and begins a countdown for a preset time. When the potential of the first port and / or the second port is high or the countdown reaches zero, the delay chip is turned off. The preset time is greater than or equal to the power supply delay time.
2. The charging circuit according to claim 1, characterized in that, Also includes: A diode is connected in series between the delay chip and the protocol chip. The positive terminal of the diode is connected to the output terminal of the delay chip, and the negative terminal of the diode is connected to the protocol chip.
3. The charging circuit according to claim 1, characterized in that, Also includes: A switch is connected in series between the first port and the third port, and the terminal supplies power to the load device when the switch is on; the switch is connected to the protocol chip, which is used to obtain whether the third port is connected to the load device, and also to control the switch to be on when the load device is connected to the third port.
4. The charging circuit according to claim 3, characterized in that, The switch includes a PMOS transistor, the gate of which is connected to the protocol chip.
5. The charging circuit according to claim 3, characterized in that, The protocol chip is used to transmit the first port and the third port transparently, and the terminal is used to identify whether the third port is connected to the load device and transmit the identification result to the protocol chip.
6. The charging circuit according to claim 1, characterized in that, Also includes: A first load switch is connected in series between the second port and the third port. The protocol chip is also used to control the first load switch to be turned on when the charger is connected to the second port, and to control the first load switch to be turned off when the second port is disconnected from the charger.
7. The charging circuit according to claim 6, characterized in that, The first load switch has a first current threshold. After the charger is connected to the second port, the first load switch is used to disconnect when the input current is greater than the first current threshold and to turn on when the input current is less than or equal to the first current threshold.
8. The charging circuit according to claim 6, characterized in that, Also includes: A step-down module is connected in series between the first port and the first load switch.
9. The charging circuit according to claim 1, characterized in that, Also includes: The second load switch is connected between the first port and the third port, and also between the second port and the third port. The protocol chip is further configured to control the second load switch to be turned on when the load device is connected to the third port, and to control the second load switch to be turned off when the load device is disconnected from the third port.
10. The charging circuit according to claim 1, characterized in that, The power supply module is connected to the third port, and the protocol chip is also used to control the power supply module to supply power to the load device when the power consumption of the load device is greater than the power supply power of the terminal or the power supply power of the charger.
11. The charging circuit according to claim 10, characterized in that, The power supply module includes a power converter and a battery. The power converter is connected in series between the first port and the battery, and also connected in series between the second port and the battery. The terminal and the charger are also used to supply power to the battery.
12. The charging circuit according to claim 11, characterized in that, The power converter is connected in series between the first port and the third port, and also in series between the second port and the third port; the power converter also has a step-down function, and the charging circuit further includes a boost circuit, which is connected in series between the power converter and the third port.
13. The charging circuit according to claim 1, characterized in that, The charger is also used to supply power to the terminal, and the protocol chip is also used to control the charger to supply power to both the load device and the terminal simultaneously.
Citation Information
Patent Citations
Chip starting circuit
CN102969782A
Uninterruptible power supply-based electronic access control system
CN110071574A
Charging circuit , head mounted device and system
CN208445315U