Interface connection circuit, connection method, chip and electronic equipment
By designing an interface connection circuit for the Type-C interface, the second connection module that switches to low current in low power consumption mode is solved, and the effect of reducing power consumption is achieved.
Patent Information
- Application Number
- CN202510008644.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-03
- Publication Date
- 2025-05-30
AI Technical Summary
When the electronic device is in a low-power mode, in order to promptly detect the access or unplugging of the external device of the Type-C interface, it is necessary to maintain a high working current for interface connection detection, which is not conducive to reducing power consumption.
An interface connection circuit is designed, including a first connection node, a first connection module and a second connection module. The first connection module is turned on in a non-low power mode, and the operating current is the first current; in a low power mode, the second connection module is turned on, and the operating current is the second current, and the second current is less than the first current.
By reducing the working current of the interface connection circuit in the low-power mode, the power consumption in the low-power mode is effectively reduced, which is conducive to improving the energy efficiency of electronic devices.
Smart Images

Figure CN120074497A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of integrated circuit technologies, and in particular, to an interface connection circuit, a connection method, a chip, and an electronic device. Background Art
[0002] Currently, many electronic devices are usually provided with at least one Type-C interface. When the electronic device is a DFP (Downstream Facing Port, a downstream port, i.e., a power supply device), an external device connected to the Type-C interface can be a UFP (Upstream Facing Port, an upstream port, i.e., a power receiving device), and the electronic device charges the external device connected to the Type-C interface. After being fully charged, it can enter a low-power mode. In related technologies, when the electronic device is in the low-power mode, in order to promptly detect the access or removal of an external device at the Type-C interface, it is necessary to maintain a relatively high working current for interface connection detection, which is not conducive to reducing power consumption. Summary of the Invention
[0003] In view of the above problems, embodiments of the present application provide an interface connection circuit, a connection method, a chip, and an electronic device to solve the above technical problem that is not conducive to reducing power consumption.
[0004] In a first aspect, an embodiment of the present application provides an interface connection circuit, including:
[0005] A first connection node configured to connect to at least one interface;
[0006] A first connection module including a first switch unit and a first power supply unit, where the first switch unit is configured to control the on / off between the first power supply unit and the first connection node; the first power supply unit is configured such that when a first electronic device is connected to the interface and the first connection module is turned on, the working current of the first connection module is a first current, and the voltage of the first connection node is a first voltage;
[0007] A second connection module including a second switch unit and a current generation unit, where the current generation unit includes a second power supply unit and a voltage division unit connected to the second power supply unit, and the second switch unit is configured to control the on / off between the current generation unit and the first connection node; the current generation unit is configured such that when a first electronic device is connected to the interface and the second connection module is turned on, the working current of the second connection module is a second current, and the voltage of the first connection node is the first voltage; the second current is less than the first current.
[0008] Second aspect, an embodiment of the present application provides an interface connection method, which is applied to the above interface connection circuit. The interface connection method includes:
[0009] Turn on the first switch unit and turn off the second switch unit in a non-low power consumption mode, so that the working current of the interface connection circuit is the first current;
[0010] Turn off the first switch unit and turn on the second switch unit in a low power consumption mode, so that the working current of the interface connection circuit is the second current.
[0011] Third aspect, an embodiment of the present application provides a chip, which includes the above interface connection circuit or is used to implement the above interface connection method.
[0012] Fourth aspect, an embodiment of the present application provides an electronic device, which includes the above chip.
[0013] The interface connection circuit, connection method, chip and electronic device provided by the embodiments of the present application include a first connection node for connecting at least one interface; a first connection module, including a first switch unit and a first power supply unit; a second connection module, including a second switch unit and a current generation unit; when the first electronic device is connected to the interface and the first connection module is turned on, the working current of the first connection module is the first current, and the voltage of the first connection node is the first voltage; when the first electronic device is connected to the interface and the second connection module is turned on, the working current of the second connection module is the second current, the voltage of the first connection node is the first voltage, and the second current is less than the first current; in the above manner, the first connection module is turned on in a non-low power consumption mode, and the interface connection circuit works at the first current; the second connection module is turned on in a low power consumption mode, and the interface connection circuit works at the second current, which can reduce the working current in the low power consumption mode and is beneficial to reducing the power consumption in the low power consumption mode.
[0014] These aspects or other aspects of the present application will be more clearly understood in the following description of the embodiments. Description of the Drawings
[0015] Figure 1 Shows a schematic structural diagram of an interface connection circuit provided by an embodiment of the present application.
[0016] Figure 2 Shows Figure 1 The connection schematic diagram of the said interface connection circuit and the first electronic device.
[0017] Figure 3 Shows a schematic structural diagram of an interface connection circuit provided by an embodiment of the present application.
[0018] Figure 4 Shows a schematic structural diagram of an interface connection circuit provided by an embodiment of the present application.
[0019] Figure 5 Shows a schematic structural diagram of an interface connection circuit provided by an embodiment of the present application.
[0020] Figure 6 Shows a schematic structural diagram of a processing module in an interface connection circuit provided by an embodiment of the present application.
[0021] Figure 7 Shows a schematic structural diagram of an interface connection circuit provided by an embodiment of the present application.
[0022] Figure 8 Shows a schematic flowchart of an interface connection method provided by an embodiment of the present application.
[0023] Figure 9 Shows a schematic structural diagram of an interface connection circuit provided by an embodiment of the present application.
[0024] Figure 10 Shows a schematic structural diagram of a chip provided by an embodiment of the present application.
[0025] Figure 11 Shows a schematic structural diagram of an electronic device provided by an embodiment of the present application. Detailed implementation manners
[0026] The following details the implementation manners of the present application. Examples of the implementation manners are shown in the accompanying drawings, where the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The implementation manners described below with reference to the accompanying drawings are exemplary only for explaining the present application and should not be construed as limiting the present application.
[0027] In order to enable those skilled in the art of the present technology to better understand the solutions of the present application, the following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative efforts fall within the scope of protection of the present application.
[0028] In the embodiments of the present application, it should be noted that in this document, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations.
[0029] Moreover, the term "comprising", "including" or any other variation thereof is intended to cover non-exclusive inclusion, such that a process, method, article or apparatus comprising a series of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article or apparatus. Without further limitation, an element qualified by the statement "comprising an..." does not exclude the presence of additional identical elements in the process, method, article or apparatus comprising said element.
[0030] In the description of the embodiments of the present application, words such as "example" or "for example" are used to give examples, explanations or descriptions. Any embodiment or design described as "for example" or "for instance" in the embodiments of the present application is not to be construed as more preferred or having more advantages than another embodiment or design. The use of words such as "example" or "for example" is intended to present relative concepts in a clear manner.
[0031] In addition, "a plurality of" in the embodiments of the present application means two or more. In view of this, "a plurality of" in the embodiments of the present application can also be understood as "at least two". "At least one" can be understood as one or more, for example, understood as one, two or more. For example, including at least one means including one, two or more, and there is no limitation on which ones are included. For example, including at least one of A, B, and C, then what can be included are A, B, C, A and B, A and C, B and C, or A, B, and C.
[0032] It should be noted that in the embodiments of the present application, "and / or" describes the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the character " / ", unless otherwise specified, generally represents an "or" relationship between the front and back associated objects.
[0033] It should be pointed out that "connection" in the embodiments of the present application can be understood as electrical connection. The connection of two electrical components can be a direct or indirect connection between the two electrical components. For example, when A is connected to B, it can be either a direct connection between A and B or an indirect connection between A and B through one or more other electrical components.
[0034] An embodiment of the present application provides an interface connection circuit 100, which is connected to an interface 200. The interface 200 is used to connect to a first electronic device 300. When the first electronic device 300 is connected to the interface 200, the interface connection circuit 100 of the embodiments of the present application is connected to the first electronic device 300.
[0035] Please refer to Figure 1 and Figure 2As shown in the figure, the interface connection circuit 100 of this embodiment includes a first connection node 100a, a first connection module 10, and a second connection module 20. Among them, the first connection node 100a is connected to the interface 200, the first connection module 10 and the second connection module 20 are respectively connected to the first connection node 100a, the first connection module 10 can operate in a non-low power consumption mode, and the second connection module 20 can operate in a low power consumption mode.
[0036] The first connection module 10 includes a first switch unit 11 and a first power supply unit 12. The first switch unit 11 is connected between the first power supply unit 12 and the first connection node 100a. The first switch unit 11 is used to control the on / off between the first power supply unit 12 and the first connection node 100a. The first power supply unit 12 is configured such that when the first electronic device 300 is connected to the interface 200 and the first connection module 10 is turned on, the operating current of the first connection module 10 is the first current, and the voltage of the first connection node 100a is the first voltage. That is, when the first switch unit 11 is turned on, the first power supply unit 12 and the first electronic device 300 are connected to form a first working unit, and this first working unit operates in a non-low power consumption mode, and the operating current in the non-low power consumption mode is the first current.
[0037] The second connection module 20 includes a second switch unit 21 and a current generation unit 20a. The current generation unit 20a includes a second power supply unit 22 and a voltage division unit 23 connected to the second power supply unit 22. The second switch unit 21 is connected between the current generation unit 20a and the first connection node 100a. The second switch unit 21 is used to control the on / off between the current generation unit 20a and the first connection node 100a. The current generation unit 20a is configured such that when the first electronic device 300 is connected to the interface 200 and the second connection module 20 is turned on, the operating current of the second connection module 20 is the second current, and the voltage of the first connection node 100a is the first voltage; the second current is less than the first current. That is, when the second switch unit 21 is turned on, the current generation unit 20a and the first electronic device 300 are connected to form a second working unit, and this second working unit operates in a low power consumption mode, and the operating current in the low power consumption mode is the second current.
[0038] In the first working unit formed by connecting the first power supply unit 12 and the first electronic device, and the second working unit formed by connecting the current generation unit 20a and the first electronic device 300, the voltage of the first connection node 100a is the first voltage. Therefore, when switching from the non-low power consumption mode to the low power consumption mode, and when switching from the low power consumption mode to the non-low power consumption mode, the voltage at the first electronic device end always remains unchanged. The switching between the non-low power consumption mode and the low power consumption mode will not change the pull-down voltage of the first electronic device and will not affect the interface connection detection process.
[0039] In this embodiment, the first connection module and the second connection module are provided simultaneously. The first connection module is turned on in the non-low power consumption mode, and the interface connection circuit operates at the first current; the second connection module is turned on in the low power consumption mode, and the interface connection circuit operates at the second current, which can reduce the operating current in the low power consumption mode and is beneficial to reducing the power consumption in the low power consumption mode.
[0040] As an embodiment, please refer to Figure 3 As shown, the first power supply unit 12 includes a first constant current source 121, and the first constant current source 121 outputs a first current; the second power supply unit 22 includes a second constant current source 221, and the second constant current source 221 outputs a second current. Exemplarily, the first electronic device 300 includes a pull-down resistor Rd. When the interface connection circuit 100 is connected to the first electronic device 300, one end of the pull-down resistor Rd is connected to the first connection node 100a and the other end is grounded.
[0041] The first switch unit 11 is turned on, and the first power supply unit 12 and the pull-down resistor R d are connected to form a first working unit, which operates at the first current I 1 , and the first voltage at the first connection node 100a is I 1 R d , and the power consumption of the first working unit is
[0042] The second switch unit 21 is turned on, and the second power supply unit 22, the voltage dividing unit 23 and the pull-down resistor R d are connected to form a second working unit, which operates at the second current I 2 . If the equivalent resistance of the voltage dividing unit 23 is R 0 , the first voltage at the first connection node 100a is I 2 R 0 , and the power consumption of the second working unit is Since I 2 <I 1 , I 1 R d =I 2 R 0 , if I 1 =KI 2 , K is greater than 1, then R 0 =KR d , the power consumption of the first working unit is The power consumption of the second working unit is Therefore, if K 2 >K + 1, the power consumption of the first working unit is greater than that of the second working unit. Therefore, according to K that satisfies K 2 >K + 1, set the output current of the first constant current source and the output current of the second constant current source, according to K that satisfies K2 The equivalent resistance of the voltage dividing unit set by K and the pull-down resistor greater than K + 1 can achieve reducing the circuit power consumption in the low power consumption mode.
[0043] In this embodiment, the first constant current source provides the first current, and the second constant current source provides the second current, which is beneficial to improving the stability of the working current.
[0044] As an embodiment, please refer to Figure 4 As shown, the first power supply unit 12 includes a first constant voltage source 122, and the first constant voltage source 122 outputs a first supply voltage V 1 ; the second power supply unit 22 includes a second constant voltage source 222, and the second constant voltage source 222 outputs a second supply voltage V 2 . Exemplarily, the first electronic device 300 includes a pull-down resistor Rd. When the interface connection circuit 100 is connected to the first electronic device 300, one end of the pull-down resistor Rd is connected to the first connection node 100a and the other end is grounded.
[0045] The first switch unit 11 is turned on, and the first power supply unit 12 and the pull-down resistor R d are connected to form a first working unit, which works under the first current I 1 , V 1 = I 1 R d , and the first voltage at the first connection node 100a is I 1 R d , and the power consumption of the first working unit is
[0046] The second switch unit 21 is turned on, and the second power supply unit 22, the voltage dividing unit 23 and the pull-down resistor R d are connected to form a second working unit, which works under the second current I 2 . If the equivalent resistance of the voltage dividing unit 23 is R 0 , V 2 = I 2 (R 0 + R d ), the first voltage at the first connection node 100a is I 2 R 0 , and the power consumption of the second working unit is
[0047] Since, I 1 R p = I 2 R 0 , if i 1 = KI 2 , K is greater than 1, then R 0 = KR p , The power consumption of the first working unit is The power consumption of the second working unit is Therefore, if K 2 > K + 1, the power consumption of the first working unit is greater than that of the second working unit. Therefore, according to K that satisfies 2 > K + 1, set the ratio between the output voltage of the second constant voltage source and the output voltage of the first constant voltage source According to K that satisfies 2 > K + 1 and the pull - down resistor, set the equivalent resistance of the voltage - dividing unit, and it is possible to reduce the circuit power consumption in the low - power mode.
[0048] In some embodiments, as shown in Figure 5 , the first power supply unit 12 further includes a pull - up resistor R connected to the first constant voltage source 122 p . When the first switch unit 11 is turned on, the first constant voltage source 122, the pull - up resistor R p and the pull - down resistor R d are connected to form the first working unit, which works under the first current I 1 . V 1 = I 1 (R p + R d ). The first voltage at the first connection node 100a is I 1 R p . The power consumption of the first working unit is
[0049] When the second switch unit 21 is turned on, the second power supply unit 22, the voltage - dividing unit 23 and the pull - down resistor R d are connected to form the second working unit, which works under the second current I 2 . If the equivalent resistance of the voltage - dividing unit 23 is R 0 , V 2 = I 2 (R 0 + R d ). The first voltage at the first connection node 100a is I 2 R 0 . The power consumption of the second working unit is
[0050] Since, I 1 R p = I 2 R 0 , if I 1 = KI 2 , and K is greater than 1, then R 0 = KR p . The power consumption of the first working unit is The power consumption of the second working unit is When K is greater than 1, the power consumption of the first working unit is greater than that of the second working unit. Therefore, according to K that satisfies K>1 and the pull-up resistor, the equivalent resistance of the voltage dividing unit is set. According to K that satisfies K>1, the first current and the second current are set. Then, according to the equivalent resistance of the voltage dividing unit, the pull-up resistor, and the pull-down resistor, the supply voltages of the first constant voltage source and the second constant voltage source are set, so that the circuit power consumption can be reduced in the low power consumption mode.
[0051] In some embodiments, please continue to refer to Figure 3 As shown, the voltage dividing unit 23 includes a first resistor R 1 and a second resistor R 2 , and a second connection node 100b is formed between the first resistor R 1 and the second resistor R 2 . The second connection node 100b is used to connect to the processing module 30.
[0052] The processing module 30 is further configured to output a wake-up request signal for indicating exiting the low power consumption mode according to the voltage signal of the second connection node 100b in the low power consumption mode.
[0053] Specifically, the processing module 30 is further configured to determine whether the connection state of the interface 200 has changed according to the voltage signal of the second connection node 100b in the low power consumption mode, and output a wake-up request signal for indicating exiting the low power consumption mode when the connection state of the interface 200 changes.
[0054] In the low power consumption mode, the first electronic device 300 is inserted into the interface 200, the second connection module 20 is connected to the first electronic device 300, the second switch unit 21 is turned on, and the second power supply unit 22, the first resistor R 1 , the second resistor R 2 and the pull-down resistor R d are connected to form a second working unit. The voltage signal of the second connection node 100b is the sum of the voltages on the second resistor R 2 and the pull-down resistor R d , that is, the voltage signal of the second connection node 100b is I 2 (R 2 +R d ).
[0055] In the low power consumption mode, when the first electronic device 300 is unplugged, the second connection module 20 is disconnected from the first electronic device 300. The voltages on the unit formed by the second power supply unit 22, the first resistor R 1 and the second resistor R 2 are all the power supply voltage (Voltage Drain Drain, VDD), and the voltage signal of the second connection node 100b is the power supply voltage VDD. Exemplarily, inFigure 3 As shown, the power supply terminal 22a of the second power supply unit 22 is used to connect to the power supply voltage VDD.
[0056] Therefore, in the low power consumption mode, if the voltage signal of the second connection node 100b changes from I 2 (R 2 +R d ) to VDD, it indicates that the first electronic device is unplugged and the connection state of the interface 200 changes, and the processing module 30 outputs a wake-up request signal.
[0057] In some embodiments, as shown in Figure 6 , the processing module 30 includes a comparison unit 31 and an interrupt unit 32. The comparison unit 31 includes a first input terminal 311, a second input terminal 312, and an output terminal 313. The first input terminal 311 is connected to the second connection node 100b. The first input terminal 311 is used to receive the voltage signal of the second connection node 100b. The second input terminal 312 is used to receive a reference voltage signal. The comparison unit 31 compares the voltage signal of the second connection node 100b with the reference voltage signal, obtains a voltage detection signal according to the comparison result of the voltage signal of the second connection node 100b and the reference voltage signal, and the output terminal 313 is used to output the voltage detection signal.
[0058] The reference voltage signal can be selected within a range greater than I 2 (R 2 +R d ) and less than VDD. The comparison unit 31 compares the voltage signal of the second connection node 100b with the reference voltage signal. If the voltage signal of the second connection node 100b is greater than the reference voltage signal, it outputs a first level signal as the voltage detection signal. The first level signal is used to characterize that the voltage signal of the second connection node 100b is VDD. At this time, the first electronic device 300 is unplugged from the interface 200. If the voltage signal of the second connection node 100b is less than the reference voltage signal, it outputs a second level signal as the voltage detection signal. The second level signal is used to characterize that the voltage signal of the second connection node 100b is I 2 (R 2 +R d ), and at this time the first electronic device 300 is inserted into the interface 200. One of the first level signal and the second level signal can be a high level signal and the other can be a low level signal.
[0059] The interrupt unit 32 is used to output a wake-up request signal for indicating exiting the low power consumption mode according to the voltage detection signal output by the comparison unit 31.
[0060] Specifically, the interruption unit 32 is configured to determine whether the connection state of the interface has changed according to the voltage detection signal output by the comparison unit 31, and output a wake-up request signal for indicating to exit the low-power mode when the connection state of the interface changes.
[0061] Specifically, if the current voltage detection signal is a first-level signal and the previous voltage detection signal is a second-level signal, the interruption unit 32 is configured to determine that the connection state has changed and output a wake-up request signal. If the current voltage detection signal is a second-level signal and the previous voltage detection signal is a second-level signal, the interruption unit 32 is configured to determine that the connection state has not changed. If the current voltage detection signal is a second-level signal and the previous voltage detection signal is a first-level signal, the interruption unit 32 is configured to determine that the connection state has changed and output a wake-up request signal. If the current voltage detection signal is a first-level signal and the previous voltage detection signal is a first-level signal, the interruption unit 32 is configured to determine that the connection state has not changed.
[0062] In some embodiments, the processing module 30 may be a general-purpose input / output module, and the general-purpose input / output module is configured to determine that the connection state of the interface has changed when the voltage signal of the second connection node flips in the low-power mode.
[0063] In the general-purpose input / output module, the voltage is a low-level signal within the range of 0 to I 2 (R 2 +R d ), and the voltage is a high-level signal above I 2 (R 2 +R d ). When the first electronic device 300 is unplugged from the interface 200, the voltage signal of the second connection node 100b changes from I 2 (R 2 +R d ) to VDD, flips from a low-level signal to a high-level signal. When the voltage signal of the second connection node flips, it is determined that the connection state of the interface has changed; when the first electronic device 300 is inserted into the interface 200, the voltage signal of the second connection node 100b changes from VDD to I 2 (R 2 +R d ), flips from a high-level signal to a low-level signal. When the voltage signal of the second connection node flips, it is determined that the connection state of the interface has changed.
[0064] In some embodiments, please refer to Figure 7As shown, the interface 200 includes a plurality of detection pins. The first connection node 100a, the first connection module 10, and the second connection module 20 form an interface connection structure 100c. Among them, the number of interface connection structures 100c is multiple, and the interface connection structures 100c are arranged in one-to-one correspondence with the detection pins. Figure 7 Shown with two detection pins, the interface 200 includes a first detection pin 201 and a second detection pin 202. In the first interface connection structure 100c, the first connection node 100a is connected to the first detection pin 201. In the second interface connection structure 100c, the first connection node 100a is connected to the second detection pin 202. When the first electronic device 300 is inserted into the interface 200, the pull-down resistor R d of the first electronic device 300 is connected to the first detection pin 201 or the second detection pin 202.
[0065] Exemplarily, the interface 200 can be a Type-C interface, and the first detection pin 201 and the second detection pin 202 can be a CC1 (Configuration Channel) pin and a CC2 pin respectively.
[0066] As an implementation manner, please refer to Figure 8 As shown, the interface connection circuit 100 further includes a main control module 40, and the main control module 40 is used to control the on-off states of the first switch unit 11 and the second switch unit 21 respectively.
[0067] In some implementation manners, the main control module 40 is used to turn on the first switch unit 11 and turn off the second switch unit 21 in a non-low power consumption mode, so that the working current of the interface connection circuit 100 is a first current; in the low power consumption mode, turn off the first switch unit 11 and turn on the second switch unit 21, so that the working current of the interface connection circuit 100 is a second current.
[0068] In this implementation manner, the switching between the first connection module 10 and the second connection module 20 is realized through the main control module 40. In the non-low power consumption mode, the first connection module 10 provides a pull-up current source for the first electronic device inserted into the interface 200 to realize interface connection detection; in the low power consumption mode, the second connection module 20 provides a pull-up current source for the first electronic device inserted into the interface 200 to realize interface connection detection.
[0069] In some embodiments, the main control module 40 can be a PD (Power Delivery) module. When in a non-low-power-consumption mode, the PD module outputs power to the first electronic device 300 through the interface 200 to charge the first electronic device 300. The PD module can switch from the non-low-power-consumption mode to the low-power-consumption mode when it detects that the low-power operation conditions are met. The low-power operation conditions can include, for example, the first electronic device reaching a charging saturation state. The PD module is also used to switch from the low-power-consumption mode to the non-low-power-consumption mode when it detects a change in the connection state of the interface 200 in the low-power-consumption mode. Exemplarily, the connection state of the interface 200 can include two cases: accessing the first electronic device and not accessing the first electronic device. When the first electronic device is inserted into or removed from the interface 200, the connection state of the interface 200 changes.
[0070] In some embodiments, the main control module 40 is connected to the output end of the processing module 30 and is used to receive the wake-up request signal sent by the processing module 30. The main control module 40 is also used to switch from the low-power-consumption mode to the non-low-power-consumption mode according to the wake-up request signal output by the processing module 30.
[0071] In some embodiments, the wake-up request signal can be an interrupt signal.
[0072] An embodiment of the present application provides an interface connection method, which is applied to the above-mentioned interface connection circuit 100. Please refer to Figure 9 As shown, the interface connection method includes the following steps S11 to S12:
[0073] Step S11: Turn on the first switch unit and turn off the second switch unit in the non-low-power-consumption mode so that the working current of the interface connection circuit is the first current;
[0074] Step S12: Turn off the first switch unit and turn on the second switch unit in the low-power-consumption mode so that the working current of the interface connection circuit is the second current.
[0075] In this embodiment, in the non-low-power-consumption mode, the first connection module is turned on, and the interface connection circuit operates at the first current; in the low-power-consumption mode, the second connection module is turned on, and the interface connection circuit operates at the second current, which can reduce the working current in the low-power-consumption mode and is beneficial to reducing the power consumption in the low-power-consumption mode.
[0076] As an implementation, the interface connection method includes the following steps:
[0077] Step S13: Output a wake-up request signal for indicating exiting the low-power-consumption mode according to the voltage signal of the second connection node in the low-power-consumption mode.
[0078] In step S13, in the low-power mode, determine whether the connection state of the interface changes according to the voltage signal of the second connection node, and when the connection state of the interface changes, output a wake-up request signal for indicating to exit the low-power mode.
[0079] In some embodiments, in step S13, in the low-power mode, when the voltage signal of the second connection node flips, it is determined that the connection state of the interface changes.
[0080] An embodiment of the present application provides a chip 400. Please refer to Figure 10 As shown, the chip 400 includes the above-mentioned interface connection circuit 100, or the chip 400 is used to implement the above-mentioned interface connection method. A chip (Integrated Circuit, IC) is also called a chip, and this chip can be but is not limited to being a SOC (System on Chip, chip-level system) chip, a SIP (system in package, system-level package) chip.
[0081] For the chip of this embodiment, the first connection module is turned on in the non-low-power mode, and the interface connection circuit operates at the first current; the second connection module is turned on in the low-power mode, and the interface connection circuit operates at the second current, which can reduce the operating current in the low-power mode and is beneficial to reducing the power consumption in the low-power mode.
[0082] As an implementation manner, the chip 400 can be a PD chip. Exemplarily, this PD chip can be a PD chip at the power supply end to manage the output of power; exemplarily, this PD chip can also be a PD chip at the receiving end, which is used to receive the transmitted power and perform charging management.
[0083] The embodiment of the present application also provides an electronic device 500. Please refer to Figure 11 As shown, the electronic device 500 includes the above-mentioned chip 400. The electronic device can be but is not limited to a weighing scale, a body fat scale, a nutrition scale, a pulse oximeter, a body composition analyzer, a display, a USB (Universal Serial Bus, universal serial bus) docking station, an automobile, a smart wearable device, a mobile terminal, a smart home device. The smart wearable device includes but is not limited to a smart watch, a smart bracelet, a cervical massager. The mobile terminal includes but is not limited to a smart phone, a laptop computer, a tablet computer, a POS (point of sales terminal, sales point terminal) machine. The smart home device includes but is not limited to a smart socket, a smart rice cooker, a smart sweeper, a smart light.
[0084] In the electronic device of this embodiment, the first connection module is turned on in the non-low-power mode, and the interface connection circuit operates at the first current; in the low-power mode, the second connection module is turned on, and the interface connection circuit operates at the second current, which can reduce the operating current in the low-power mode and is beneficial to reducing the power consumption in the low-power mode.
[0085] The electronic device can be a device that supports the USB Power Delivery (USB PD) protocol.
[0086] As an implementation manner, the electronic device 500 is a laptop computer.
[0087] As an implementation manner, the electronic device 500 is a power bank or a charging adapter.
[0088] The above are only the implementation manners of the present application. It should be noted here that for those of ordinary skill in the art, improvements can be made without departing from the creative concept of the present application, but these all fall within the protection scope of the present application.
Claims
1. An interface connection circuit, characterized in that: include: a first connection node, the first connection node being used to connect at least one interface; A first connection module, comprising a first switch unit and a first power supply unit, wherein the first switch unit is used to control the connection between the first power supply unit and the first connection node; The first power supply unit is configured such that: when the first electronic device is connected to the interface and the first connection module is turned on, the operating current of the first connection module is a first current and the voltage of the first connection node is a first voltage; The second connection module includes a second switch unit and a current generating unit, wherein the current generating unit includes a second power supply unit and a voltage dividing unit connected to the second power supply unit, and the second switch unit is used to control the on-off between the current generating unit and the first connection node; the current generating unit is configured as follows: when a first electronic device is connected to the interface and the second connection module is turned on, the operating current of the second connection module is a second current, and the voltage of the first connection node is the first voltage; the second current is less than the first current.
2. The interface connection circuit according to claim 1, characterized in that: The first power supply unit includes a first constant current source, which outputs the first current; the second power supply unit includes a second constant current source, which outputs the second current.
3. The interface connection circuit according to claim 1, characterized in that: The first power supply unit includes a first constant voltage source; the second power supply unit includes a second constant voltage source.
4. The interface connection circuit according to any one of claims 1 to 3, characterized in that: The interface connection circuit further includes a processing module; the voltage dividing unit includes a first resistor and a second resistor, a second connection node is formed between the first resistor and the second resistor, and the second connection node is used to connect the processing module; The processing module is used for outputting a wake-up request signal for indicating exiting the low power consumption mode according to the voltage signal of the second connection node in the low power consumption mode.
5. The interface connection circuit according to claim 4, characterized in that: The processing module includes a comparison unit and an interrupt unit, the comparison unit includes a first input terminal for receiving a voltage signal of the second connection node, a second input terminal for receiving a reference voltage signal, and an output terminal for outputting a voltage detection signal, and the interrupt unit is used to output a wake-up request signal for indicating exiting the low power consumption mode according to the voltage detection signal output by the comparison unit.
6. The interface connection circuit according to claim 4, characterized in that: The processing module is further configured to determine, in the low power consumption mode, that a connection state of the interface changes when a voltage signal of the second connection node flips.
7. The interface connection circuit according to claim 1, characterized in that: The interface includes multiple detection pins, and the first connection node, the first connection module and the second connection module are respectively provided with multiple ones, multiple first connection nodes are connected to multiple detection pins in a one-to-one correspondence, multiple first connection modules are provided to multiple first connection nodes in a one-to-one correspondence, and multiple second connection modules are provided to multiple first connection nodes in a one-to-one correspondence.
8. The interface connection circuit according to claim 4, characterized in that: The interface connection circuit further comprises a main control module, and the main control module is used to turn on the first switch unit and turn off the second switch unit in a non-low power consumption mode, so that the working current of the interface connection circuit is the first current; In the low power consumption mode, the first switch unit is turned off and the second switch unit is turned on, so that the operating current of the interface connection circuit is the second current.
9. The interface connection circuit according to claim 8, characterized in that: The main control module is further configured to switch from the low power consumption mode to the non-low power consumption mode according to the wake-up request signal output by the processing module.
10. An interface connection method, characterized in that: Applied to the interface connection circuit according to any one of claims 1 to 9, the interface connection method comprises: In a non-low power consumption mode, the first switch unit is turned on and the second switch unit is turned off, so that the operating current of the interface connection circuit is the first current; In the low power consumption mode, the first switch unit is turned off and the second switch unit is turned on, so that the operating current of the interface connection circuit is the second current.
11. The interface connection method according to claim 10, characterized in that: Also includes: In the low power consumption mode, it is determined whether the connection state of the interface changes according to the voltage signal of the second connection node, and when the connection state of the interface changes, a wake-up request signal for indicating exiting the low power consumption mode is output.
12. The interface connection method according to claim 11, characterized in that: The determining whether the connection state of the interface changes according to the voltage signal of the second connection node in the low power consumption mode includes: In the low power consumption mode, when the voltage signal of the second connection node is reversed, it is determined that the connection state of the interface is changed.
13. A chip, characterized in that: The invention comprises the interface connection circuit as claimed in any one of claims 1 to 9 or is used to implement the interface connection method as claimed in any one of claims 10 to 12.
14. An electronic device, characterized in that: Comprising the chip as claimed in claim 13.