Switching circuit, power receiving end device and mode switching method thereof
By configuring a switching circuit in the power receiving terminal device, we judge the power transmission mode support status of the power supply terminal device, and automatically switch to the non-power transmission mode when it is not supported, the charging and data transmission failure caused by the power supply terminal device not supporting the power transmission mode is solved, and normal subsequent operations are achieved.
Patent Information
- Application Number
- CN202311845202.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-29
- Publication Date
- 2025-07-01
AI Technical Summary
When the power supply terminal device does not support the power transmission mode, the power receiving terminal device cannot successfully complete the power protocol, resulting in the inability to charge and data transmission.
The switching circuit is configured in the power receiving terminal device, including a judgment module, a PD controller and a mode switching module. By judging the CC pin signal of the USB Type-C connector, it is determined whether the power supply terminal device supports the power transmission mode, and when it is not supported, it generates a switching signal to disconnect the PD controller and automatically switch to the non-power transmission mode.
It realizes automatic switching of the power receiving terminal device when the power supply terminal device does not support the power transmission mode, ensuring the normal progress of subsequent charging and data transmission.
Smart Images

Figure CN120234277A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a switching circuit, a power receiving device, and a mode switching method thereof. Background Art
[0002] USB-PD is a power delivery specification defined by the USB-IF Association. After communicating with the system through a Universal Serial Bus Type-C (hereinafter referred to as USB Type-C connector), charging can start. However, when the power supply device is connected to the power receiving device, if the power supply device does not support the Power Delivery (PD) mode, the power delivery mode protocol will not be performed. At this time, the power receiving device keeps waiting for the signal from the power supply device, resulting in the failure of the power receiving device and the power supply device to successfully complete the power protocol, and thus subsequent charging and data transmission cannot be performed. Summary of the Invention
[0003] Therefore, the present invention provides a switching circuit, a power receiving device applying the switching circuit, and a mode switching method thereof, which can improve the problems existing in the foregoing prior art.
[0004] An embodiment of the present invention provides a switching circuit. The switching circuit is configured in a power receiving device and electrically connected to a USB Type-C connector of the power receiving device. The switching circuit includes a judgment module, a PD controller, and a mode switching module. The judgment module is used to: judge whether a power supply device supports a Power Delivery (PD) mode according to a pin signal of a CC (Configuration Channel) pin of the USB Type-C connector; and generate a first switching signal based on the fact that the power supply device does not support the power delivery mode. The PD controller is electrically connected to the judgment module. The mode switching module is selectively electrically connected to the PD controller and is used to disconnect from the PD controller based on the first switching signal.
[0005] Another embodiment of the present invention provides a power receiving device. The power receiving device includes a USB Type-C connector and a switching circuit. The switching circuit is electrically connected to the USB Type-C connector. The switching circuit includes a judgment module, a PD controller, and a mode switching module. The judgment module is used to: judge whether a power supply device supports a power delivery mode according to a pin signal of a CC pin of the USB Type-C connector; and generate a first switching signal based on the fact that the power supply device does not support the power delivery mode. The PD controller is electrically connected to the judgment module. The mode switching module is selectively electrically connected to the PD controller and is used to disconnect from the PD controller based on the first switching signal.
[0006] Another embodiment of the present invention provides a mode switching method. The mode switching method includes the following steps: a determination module determines whether a power supply device supports a power transmission mode based on a pin signal of a CC pin of a USB Type-C connector of a power receiving device; the determination module generates a first switching signal based on the power supply device not supporting the power transmission mode; and a mode switching module disconnects from a PD controller of the power receiving device based on the first switching signal.
[0007] For a better understanding of the above and other aspects of the present invention, the following specific embodiments are given and described in detail in conjunction with the accompanying drawings. Description of the Drawings
[0008] Figure 1 A functional block diagram showing a power receiving device of an electronic system according to an embodiment of the present invention in a power transmission mode.
[0009] Figure 2 Showing Figure 1 a functional block diagram of the power receiving device in a non-power transmission mode.
[0010] Figure 3A A schematic diagram showing an electronic system according to a first embodiment of the present invention.
[0011] Figure 3B A schematic diagram showing an electronic system according to a second embodiment of the present invention.
[0012] Figure 3C A schematic diagram showing an electronic system according to a third embodiment of the present invention.
[0013] Figure 4A Showing the corresponding Figure 3A schematic diagram of the conversion signal obtained in the first embodiment.
[0014] Figure 4B Showing the corresponding Figure 3B schematic diagram of the conversion signal obtained in the second embodiment.
[0015] Figure 4C Showing the corresponding Figure 3C schematic diagram of the conversion signal obtained in the third embodiment.
[0016] Figure 5 Showing Figure 1 a circuit diagram of the detection unit.
[0017] Figure 6 Showing Figure 1 a functional block diagram of the signal generation unit.
[0018] Figure 7 ShowingFigure 1 Flowchart of the mode switching method for the power receiving end device.
[0019] Figure 8 Illustrate Figure 1 Flowchart of another mode switching method for the power receiving end device.
[0020] Wherein, reference numerals:
[0021] 10, 10A, 10B, 10C: Electronic system
[0022] 100: Power receiving end device
[0023] 110: USB Type-C connector
[0024] 111: CC pin
[0025] 112, 212: Power pins
[0026] 113, 213: Ground pins
[0027] 120: Switching circuit
[0028] 121: Judgment module
[0029] 121A: Detection unit
[0030] 121A1: Comparator
[0031] 121B: Signal generation unit
[0032] 121B1: Waveform detection unit
[0033] 121B2: Mode detector
[0034] 121B3: Timer
[0035] 122, 214: PD controller
[0036] 123: Mode switching module
[0037] 124: Power conversion module
[0038] 200, 200A, 200B, 200C: Power supply end device
[0039] 211: Pin
[0040] V CC : Reference voltage
[0041] R1, R2, R3, Rp, Rd: Resistor
[0042] S in : Pin signal
[0043] S in,1 : First area
[0044] S in,2 : Coding area
[0045] S in,3 : Second area
[0046] S O : Conversion signal
[0047] S O,1 : First conversion area
[0048] S O,2 : Waveform change area
[0049] S O,3 : Second conversion area
[0050] S NPD : First switching signal
[0051] S PD : Second switching signal
[0052] S110~S155, S210~S260: Steps
[0053] V1: First voltage
[0054] V2: Second voltage
[0055] V S : Input power supply
[0056] V O : Working power supply
[0057] V th1 : First conversion voltage
[0058] V th2 : Second conversion voltage. Detailed implementation manners
[0059] Please refer to Figures 1 to 2 , Figure 1 which shows the functional block diagram of the power receiving device 100 of the electronic system 10 according to an embodiment of the present invention in the Power Delivery (PD) mode, and Figure 2 shows Figure 1 the functional block diagram of the power receiving device 100 in the non-power delivery mode.
[0060] As Figure 1As shown, the electronic system 10 includes a power receiving device 100 and a power supply device 200. The power receiving device herein is, for example, a notebook computer, a smart phone, a tablet computer, an embedded network communication product, or other electronic devices that can receive power supply. The power receiving device can be applied to mobile personal devices or various personal or non-personal electronic products. The power supply device herein is, for example, a mobile power supply or a non-mobile power supply that converts alternating current to direct current, or other electronic devices that can provide power (voltage and / or current).
[0061] As Figure 1 and Figure 2 shown, the power receiving device 100 includes a Universal Serial Bus Type-C (USB Type-C) connector 110 and a switching circuit 120. The switching circuit 120 and the USB Type-C connector 110 can be configured, for example, on a circuit board (not shown) of the power receiving device 100. The USB Type-C connector 110 protrudes from the housing (not shown) of the power receiving device 100 to connect with the power supply device 200. The USB Type-C connector 110 includes at least CC (Configuration Channel) pins 111, power pins 112, and grounding pins 113. Among them, the power pins 112 can receive the input power V S from the power supply device 200, and the grounding pins 113 can be electrically connected to a grounding potential (not shown).
[0062] As Figure 1 and Figure 2 shown, the switching circuit 120 includes a judgment module 121, a PD controller 122, a mode switching module 123, and a power conversion module 124. The judgment module 121, the PD controller 122, the mode switching module 123, and / or the power conversion module 124 are, for example, physical circuits formed by at least a semiconductor process, such as semiconductor chips or semiconductor packages. In one embodiment, at least two of the judgment module 121, the mode switching module 123, the PD controller 122, and the power conversion module 124 can be integrated into a single module. In another embodiment, at least one of the judgment module 121, the PD controller 122, the mode switching module 123, and the power conversion module 124 can be integrated into a processor (not shown) or a controller (not shown).
[0063] As Figure 1 and Figure 2 shown, the judgment module 121 is used to: according to the pin signal S of the CC pin 111 of the USB Type-C connector 110 in, determine whether the power supply device 200 supports the Power Delivery (PD) mode; based on the fact that the power supply device 200 does not support the power transmission mode, generate a first switching signal S NPD (The first switching signal S NPD is shown in Figure 2 ). The PD controller 122 is electrically connected to the determination module 121. The mode switching module 123 is selectively electrically connected to the PD controller 122 and is used to disconnect from the PD controller 122 based on the first switching signal S NPD , as shown in Figure 2 . In this way, when the power supply device 200 does not support the power transmission mode, the power receiving device 100 automatically switches to the non-power transmission mode, enabling the power receiving device 100 and the power supply device 200 to perform subsequent charging and / or data transmission steps.
[0064] The aforementioned first switching signal S NPD is, for example, a non-power transmission mode switching signal, while the second switching signal S PD is, for example, a power transmission mode switching signal.
[0065] In an embodiment, the power receiving device 100 can be preset to the power transmission mode. In this way, when the power supply device 200 supports the power transmission mode, without the control signal of the determination module 121, the power receiving device 100 and the power supply device 200 can directly perform the PD protocol. Further, for example, as shown in Figure 1 , when the power supply device 200 is connected to the power receiving device 100, the mode switching module 123 can directly turn on the PD controller 122 without the control signal of the determination module 121. In this way, when the power supply device 200 supports the power transmission mode, the PD controller 122 of the power receiving device 100 can perform the PD protocol with the power supply device 200 according to the pin signal S in . After completing the PD protocol, the power receiving device 100 and the power supply device 200 can perform subsequent charging and / or data transmission.
[0066] The power conversion module 124 is electrically connected to the power supply pin 112 and the determination module 121. The power conversion module 124 can convert the input power V S provided by the power supply device 200 into an operating power V O . The operating power V O is different from the input power V S , for example, the operating power V O is less than the input power V S . The operating power V OIt can be used for the operation of internal electronic components (not shown) of the power receiving device 100, such as the detection unit 121A, the signal generation unit 121B, the PD controller 122, the mode switching module 123, and / or other components. In another embodiment, the power conversion module 124 can convert the input power V provided by the power supply device 200 S into multiple operating powers with different voltages and respectively supply them for the operation of different components (for example, the detection unit 121A, the signal generation unit 121B, the PD controller 122, the mode switching module 123, and / or other components).
[0067] In addition, as Figure 1 shown, in the power transmission mode, the input power V provided by the power supply device 200 S can be supplied for the operation of other internal components of the power receiving device 100 through the power pin 112, the mode switching module 123, and the PD controller 122. As Figure 2 shown, in the non-power transmission mode, the input power V provided by the power supply device 200 S can be supplied for the operation of other internal components of the power receiving device 100 through the power pin 112 and the mode switching module 123.
[0068] As Figure 1 shown, the judgment module 121 includes the detection unit 121A and the signal generation unit 121B. The detection unit 121A can convert the pin signal S in into the converted signal S O . The signal generation unit 121B is used to: judge whether the power supply device 200 supports the power transmission mode according to the converted signal S O ; generate the first switching signal S NPD (the first switching signal S NPD is shown in Figure 2 ) based on the fact that the power supply device 200 does not support the power transmission mode; and / or generate the second switching signal S PD (the second switching signal S PD is shown in Figure 1 ) based on the fact that the power supply device 200 supports the power transmission mode.
[0069] Please refer to Figures 3A to 4C , Figure 3A which shows a schematic diagram of the electronic system 10A according to the first embodiment of the present invention, Figure 3B which shows a schematic diagram of the electronic system 10B according to the second embodiment of the present invention, Figure 3C which shows a schematic diagram of the electronic system 10C according to the third embodiment of the present invention, Figure 4A which shows the converted signal S obtained corresponding to Figure 3A the first embodiment, OSchematic diagram of Figure 4B showing the corresponding Figure 3B conversion signal S obtained from the second embodiment of O Schematic diagram of Figure 4C showing the corresponding Figure 3C conversion signal S obtained from the third embodiment of O Schematic diagram.
[0070] In the first embodiment, as Figure 3A shown, the electronic system 10A includes a power supply terminal device 200A and a power receiving terminal device 100 connected to each other. The power supply terminal device 200A includes at least one connector, such as a USB-Type A, USB-Type C, or other type of connector. The connector includes pins 211, a power pin 212, and a ground pin 213. The pin 211 is electrically connected to a resistor R p . The CC pin 111 of the power receiving terminal device 100 is electrically connected to a resistor R d . The embodiments of the present invention do not limit the values of the resistor R p and the resistor R d . The power supply terminal device 200A does not support the power transmission mode, for example, and its pin 211 does not provide a connection function. That is, when the power supply terminal device 200A is connected to the power receiving terminal device 100, there is no electrical signal transmission between the pin 211 of the power supply terminal device 200A and the CC pin 111 of the power receiving terminal device 100. The input power supply V S can be provided to the power pin 112 of the power receiving terminal device 100 through the power pin 212 of the power supply terminal device 200A.
[0071] In the first embodiment, as Figure 3A shown, when the power supply terminal device 200A is connected to the power receiving terminal device 100, based on the circuit formed by the CC pin 111 and the resistor R d , the pin signal S in has a first voltage V1. The first voltage V1 is, for example, 1.1 volts (V), smaller, or larger. The pin signal S in is, for example, a node signal between the CC pin 111 and the resistor Rd.
[0072] In the first embodiment, as Figure 4A shown, when the power supply terminal device 200A is connected to the power receiving terminal device 100, based on the fact that the pin signal S in has a first voltage V1, the detection unit 121A of the power receiving terminal device 100 converts the pin signal S in into a corresponding conversion signal S O , where the conversion signal S O has, for example, a first conversion voltage V th1 . In this embodiment, the first conversion voltage Vth1 For example, it is a constant. In other words, the first conversion voltage V th1 is horizontal and its value does not change. The first conversion voltage V th1 is, for example, 0. The signal generation unit 121B outputs the first switching signal S th1 based on the first conversion voltage V NPD .
[0073] In the second embodiment, as Figure 3B shown, the electronic system 10B includes a power supply terminal device 200B and a power receiving terminal device 100 that are connected. The power supply terminal device 200B includes at least a pin 211, a power supply pin 212, and a ground pin 213. The power supply terminal device 200B does not support the power transmission mode, for example, and its pin 211 provides a connection function. That is, when the power supply terminal device 200B is connected to the power receiving terminal device 100, there is a signal transmission between the pin 211 of the power supply terminal device 200B and the CC pin 111 of the power receiving terminal device 100. The input power supply V S can be provided to the power supply pin 112 of the power receiving terminal device 100 through the power supply pin 212 of the power supply terminal device 200B.
[0074] In the second embodiment, as Figure 3B shown, when the power supply terminal device 200B is connected to the power receiving terminal device 100, based on the circuit formed by the CC pin 111, the pin 211, the resistor R p and the resistor R d , the pin signal S in has, for example, a second voltage V2. The second voltage V2 is, for example, 1.6V, smaller, or larger. The pin signal S in is, for example, a node signal between the CC pin 111 and the resistor Rd.
[0075] In the second embodiment, as Figure 4B shown, when the power supply terminal device 200A is connected to the power receiving terminal device 100, based on the fact that the pin signal S in has the second voltage V2, the detection unit 121A of the power receiving terminal device 100 converts the pin signal S in into a corresponding conversion signal S O , where the conversion signal S O has a second conversion voltage V th2 . The second conversion voltage V th2 is different from the first conversion voltage V th1 , and the second conversion voltage V th2 is, for example, 3.3V.
[0076] In the third embodiment, as Figure 3CAs shown, the electronic system 10C includes a connected power supply terminal device 200C and a power receiving terminal device 100. The power supply terminal device 200C includes at least a pin 211, a power pin 212, a ground pin 213, and a PD controller 214. The power supply terminal device 200C, for example, supports a power transmission mode and its pin 211 provides a connection function. That is, when the power supply terminal device 200B is connected to the power receiving terminal device 100, there is a signal transmission between the pin 211 of the power supply terminal device 200B and the CC pin 111 of the power receiving terminal device 100. The input power supply V S can be provided to the power pin 112 of the power receiving terminal device 100 through the power pin 212 of the power supply terminal device 200C.
[0077] In the third embodiment, as Figure 3C shown, when the power supply terminal device 200C is connected to the power receiving terminal device 100, the PD controller 214 can provide a pin signal S in to the pin 211. In other words, the pin signal S in in this embodiment is a signal generated by the PD controller 214. The pin signal S in is, for example, a BMC (Biphase Mark Coding) signal. The BMC signal has a first region S in,1 , a coding region S in,2 , and a second region S in,3 . The level of the coding region S in,2 is lower than that of the first region S in,1 and the second region S in,3 . In one embodiment, the levels of the first region S in,1 and the second region S in,3 are, for example, the second voltage V2 (e.g., 1.6V), and the level of the coding region S in,2 is not higher or lower than the first voltage V1 (e.g., 1.1V). The pin signal S in can be transmitted to the PD controller 122 and the switching circuit 120 (not shown in Figure 3C ) of the power receiving terminal device 100 through the pin 211 of the power supply terminal device 200C and the CC pin 111 of the power receiving terminal device 100. The PD controller 214 and the PD controller 122 can perform a power protocol through the BMC signal.
[0078] In the third embodiment, as Figure 4C shown, when the power supply terminal device 200C is connected to the power receiving terminal device 100, based on the fact that the pin signal S in is a BMC signal, the detection unit 121A of the power receiving terminal device 100 converts the pin signal S in into a corresponding conversion signal S O , where the conversion signal S OA signal having at least one waveform change region (e.g., a square wave). For example, Figure 4C The conversion signal S O includes a first conversion region S O,1 , a waveform change region S O,2 and a second conversion region S O,3 . The pin signal S in includes a first region S in,1 , a coding region S in,2 and a second region S in,3 . As shown in FIGS. 3C and 4C, the level of the first region S in,1 is the second voltage V2 (e.g., 1.6V), which is higher than the second threshold value (e.g., 1.55V). Therefore, the first conversion region S O,1 of the corresponding conversion signal S O,1 is the second conversion voltage V th2 (e.g., 3.3V). The level of the coding region S in,2 is not higher than the first voltage V1 (e.g., 1.1V), which is lower than the first threshold value (e.g., 1.25V). Therefore, the waveform change region S O,2 of the corresponding conversion signal S O,2 is the first conversion voltage V th1 (e.g., 0V). The level of the second region S in,3 is the second voltage V2 (e.g., 1.6V), which is higher than the second threshold value (e.g., 1.55V). Therefore, the second conversion region S O,3 of the corresponding conversion signal S O,3 is the second conversion voltage V th2 (e.g., 3.3V).
[0079] The detection unit 121A can use, for example, Schmitter Trigger technology to convert the pin signal S in into the conversion signal S O . The following further gives examples for illustration.
[0080] Please refer to Figure 5 , which shows Figure 1 the circuit diagram of the detection unit 121A. The detection unit 121A includes, for example, a detection circuit, which includes, for example, a comparator 121A1, a resistor R1, a resistor R2, and a resistor R3. The pin signal S in can be input to the input terminal of the comparator 121A1, and the reference voltage V CC can be input to the reference terminal of the comparator 121A1. The detection circuit composed of the comparator 121A1, the resistor R1, the resistor R2, and the resistor R3 can output the corresponding conversion signal S in according to the input pin signal S O . For example, when the input pin signal S inWhen it is lower than the first threshold value, the detection circuit can output a conversion signal S with a first conversion voltage V th1 ; when the input pin signal S O is higher than the second threshold value, the detection circuit can output a conversion signal S with a second conversion voltage V in . th2 ; O
[0081] Taking the example where the resistance R1 is 39.2 kΩ, the resistance R2 is 28 kΩ, the resistance R3 is 162 kΩ, and the reference voltage V CC is 3.3 V, the first threshold value is 1.25 V, and the second threshold value is 1.55 V. Thus, when the input pin signal S in is lower than 1.25 V (the first threshold value), the output conversion signal S O is 0 V (the first conversion voltage V th1 ); when the input pin signal S in is higher than 1.55 V (the second threshold value), the output conversion signal S O is 3.3 V (the second conversion voltage V th2 ).
[0082] Taking the first embodiment as an example, as Figure 3A shown, since the input pin signal S in has a first voltage V1, which is 1.1 V and lower than 1.25 V, the output conversion signal S O is 0 V ( Figure 4A the first conversion voltage V th1 ).
[0083] Taking the second embodiment as an example, as Figure 3B shown, since the input pin signal S in has a second voltage V2, which is 1.6 V and higher than 1.55 V, the output conversion signal S O is 3.3 V ( Figure 4B the second conversion voltage V th2 ).
[0084] Taking the third embodiment as an example, as Figure 3C shown, the input pin signal S in is a BMC signal, and the corresponding conversion signal S O has at least one waveform change region S O,2 , as Figure 4C shown. For example, the conversion signal S O includes a first conversion region S O,1 , a waveform change region S O,2 , and a second conversion region S O,3 . Since the first region S in,1The level is 1.6V, which is higher than 1.55V (the second threshold value), so the corresponding conversion signal S O,1 of the first conversion region S O,1 is 3.3V (the second conversion voltage V th2 ). The encoding region S in,2 has a level not higher than 1.1V, which is lower than 1.25V (the first threshold value), so the corresponding conversion signal S O,2 of the waveform change region S O,2 is 0V (the first conversion voltage V th1 ). The second region S in,3 has a level of 1.6V, which is higher than 1.55V (the second threshold value), so the corresponding conversion signal S O,3 of the second conversion region S O,3 is 3.3V (the second conversion voltage V th2 ).
[0085] Please refer to Figure 6 , which shows Figure 1 a functional block diagram of the signal generation unit 121B. The signal generation unit 121B includes a waveform detection unit 121B1, a mode detector 121B2, and a timer 121B3. The waveform detection unit 121B1 is used to detect whether the conversion signal So changes. The aforementioned "change" is, for example, "the conversion signal So has a waveform change region". The mode detector 121B2 is used to: generate a second switching signal S PD based on the conversion signal So changing; and generate a first switching signal S NPD based on the conversion signal So not changing. In an embodiment, the first switching signal S NPD is, for example, one of 0 and 1, and the second switching signal S PD is, for example, the other of 0 and 1.
[0086] As Figure 6 shown, in an embodiment, the waveform detection unit 121B1 detects whether the conversion signal So changes within a detection time interval (for example, several seconds). For example, the timer 121B3 can provide a timing to the waveform detection unit 121B1. The waveform detection unit 121B1 can detect whether the conversion signal So changes within the detection time interval according to the timing of the timer 121B3. Within the detection time interval, if it is detected that the conversion signal So does not change, the mode detector 121B2 generates a first switching signal S NPD ; if it is detected that the conversion signal So changes, the mode detector 121B2 generates a second switching signal S PD .
[0087] Please refer to Figure 7 , which shows Figure 1Flow chart of the mode switching method of the power receiving end device 100.
[0088] In step S110, based on the connection between the power supply end device 200 and the power receiving end device 100, the mode switching module 123 turns on the PD controller 122. In other words, when the power supply end device 200 is connected to the power receiving end device 100, the preset mode of the power receiving end device 100 is the power transmission mode.
[0089] In step S120, the detection unit 121A of the judgment module 121 converts the pin signal S in to the conversion signal S O . In the first embodiment, as Figure 3A shown, the pin signal S of the CC pin 111 of the power supply end device 200A in has a first voltage V1 (for example, 1.1V), and the corresponding conversion signal S O has a first conversion voltage V th1 (for example, 0V), as Figure 4A shown. In the second embodiment, as Figure 3B shown, the pin signal S of the CC pin 111 of the power supply end device 200B in has a second voltage V2 (for example, 1.6V), and the corresponding conversion signal S O has a second conversion voltage V th2 (for example, 3.3V), as Figure 4B shown. In the third embodiment, as Figure 3C shown, the pin signal S of the CC pin 111 of the power supply end device 200C in is a BMC signal, and the corresponding conversion signal S O has at least one waveform change region (for example, a square wave), as Figure 4C shown.
[0090] In step S130, the signal generation unit 121B of the judgment module 121 determines whether the power supply end device 200 supports the power transmission mode according to the conversion signal S O . If not, the process proceeds to step S140; if so, the process proceeds to step S150.
[0091] In step S140, based on the fact that the power supply end device 200 does not support the power transmission mode, the signal generation unit 121B generates a first switching signal S NPD . For example, the power supply end device 200A of the first embodiment (shown in Figure 3A ) and the power supply end device 200B of the second embodiment (shown in Figure 3B ) do not support the power transmission mode, and the conversion signal S O does not show a changing waveform, and the signal generation unit 121B generates a first switching signal S accordinglyNPD , where the first switching signal S NPD is, for example, one of 0 and 1.
[0092] In step S145, the mode switching module 123 disconnects from the PD controller 122 of the power receiving device 100 based on the first switching signal S NPD , as shown in Figure 2 . Or, based on the first switching signal S NPD , the mode switching module 123 switches from the connected state to being disconnected from the PD controller 122 of the power receiving device 100.
[0093] In step S150, based on the fact that the power supply device 200 supports the power transmission mode, the signal generation unit 121B generates a second switching signal S PD . For example, the power supply device 200C of the third embodiment supports the power transmission mode, and its conversion signal S O shows a changing waveform, and the signal generation unit 121B generates the second switching signal S based on this PD , where the second switching signal S PD is, for example, the other of 0 and 1.
[0094] In step S155, based on the second switching signal S PD , the mode switching module 123 maintains the connection with the PD controller 122 of the power receiving device 100, as shown in Figure 1 . Or, based on the second switching signal S PD , the mode switching module 123 switches from the disconnected state to being connected to the PD controller 122 of the power receiving device 100.
[0095] Please refer to Figure 8 , which shows Figure 1 a flowchart of another mode switching method for the power receiving device 100.
[0096] In step S210, the timer 121B3 starts timing.
[0097] In step S220, the waveform detection unit 121B1 determines whether the timing exceeds the detection time interval. If not, the process proceeds to step S230; if so, the process proceeds to step S250.
[0098] In step S230, the determination module 121 detects whether the conversion signal S O changes. If not, the process returns to step S220; if so, the process proceeds to step S240.
[0099] In step S240, within the detection time interval, the mode detector 121B2 generates a second switching signal S based on the fact that the conversion signal S O changes.PD 。
[0100] In step S245, based on the second switching signal S PD , the mode switching module 123 maintains the connection with the PD controller 122 of the power receiving device 100, as Figure 1 shown. Alternatively, based on the second switching signal S PD , the mode switching module 123 switches from the disconnected state to the connection with the PD controller 122 of the power receiving device 100.
[0101] In step S250, when the detection time interval is exceeded, if the conversion signal S O still does not change, the mode detector 121B2 generates the first switching signal S NPD .
[0102] In step S260, based on the first switching signal S NPD , the mode switching module 123 disconnects from the PD controller 122 of the power receiving device 100, as Figure 2 shown. Alternatively, based on the first switching signal S NPD , the mode switching module 123 switches from the connected state to the disconnection from the PD controller 122 of the power receiving device 100.
[0103] In summary, the embodiment of the present invention provides a switching circuit, a power receiving device applying the same, and a mode switching method thereof, which can determine whether the power supply device supports the power transmission mode. If the power supply device does not support the power transmission mode (the power supply device does not send out the BMC signal), the power receiving device can start or switch to a non-power transmission mode (so that the power receiving device will not keep waiting for the BMC signal of the power supply device), enabling the power supply device and the power receiving device to perform subsequent charging and / or data transmission. If the power supply device supports the power transmission mode, the power receiving device can start or switch to the power transmission mode, enabling the power supply device and the power receiving device to perform the PD protocol. After completing the PD protocol, the power supply device and the power receiving device can perform subsequent charging and / or data transmission.
[0104] In conclusion, although the present application has been disclosed above in embodiments, it is not intended to limit the present application. Those of ordinary skill in the technical field to which the present application belongs can make various changes and modifications without departing from the spirit and scope of the present application. Therefore, the protection scope of the present application is defined by the scope of the patent application.
Claims
1. A switching circuit, characterized in that, A USB Type-C connector disposed at a power receiving end device and electrically connected to the power receiving end device, and comprising: A judgment module for: Judging whether a power supply end device supports a power transmission mode according to a pin signal of a CC pin of the USB Type-C connector; and Generating a first switching signal based on the power supply end device not supporting the power transmission mode; A PD controller electrically connected to the judgment module; and A mode switching module selectively electrically connected to the PD controller and disconnecting from the PD controller according to the first switching signal.
2. The switching circuit according to claim 1, wherein The mode switching module is further configured to directly conduct with the PD controller based on the connection between the power supply end device and the power receiving end device.
3. The switching circuit according to claim 1, characterized in that The judgment module includes: A detection unit for converting the pin signal into a conversion signal; A signal generation unit for judging whether the power supply end device supports the power transmission mode according to the conversion signal; and / or Generating the first switching signal based on the power supply end device not supporting the power transmission mode, or generating a second switching signal based on the power supply end device supporting the power transmission mode.
4. The switching circuit according to claim 3, wherein The signal generation unit includes: A waveform detection unit for detecting whether a change occurs in the conversion signal; and A mode detector for generating the second switching signal based on the change occurring in the conversion signal; and generating the first switching signal based on the change not occurring in the conversion signal.
5. The switching circuit according to claim 4, wherein The waveform detection unit is further configured to detect whether the change occurs in the conversion signal within a detection time interval.
6. The switching circuit according to claim 3, wherein The power supply end device does not support the power transmission mode, and the power supply end device includes a CC pin; Wherein, when there is no electrical signal transmission between the CC pin of the power supply end device and the CC pin of the USB Type-C connector of the power receiving end device, the conversion signal has a first conversion voltage; and When there is electrical signal transmission between the CC pin of the power supply end device and the CC pin of the USB Type-C connector of the power receiving end device; the conversion signal has a second conversion voltage; Wherein, the first conversion voltage is different from the second conversion voltage.
7. A receiving end device, characterized in that, Comprising: A USB Type-C connector; And A switching circuit electrically connected to the USB Type-C connector and comprising: A judgment module for: Judging whether a power supply end device supports a power transmission mode according to a pin signal of a CC pin of the USB Type-C connector; and Generating a first switching signal based on the power supply end device not supporting the power transmission mode; A PD controller electrically connected to the judgment module; And A mode switching module selectively electrically connected to the PD controller and configured to disconnect from the PD controller based on the first switching signal.
8. The power receiving end device according to claim 7, wherein The mode switching module is further configured to: Directly conduct with the PD controller based on the connection between the power supply end device and the power receiving end device.
9. The power receiving end device according to claim 7, characterized in that, The judgment module includes: A detection unit, configured to: Convert the pin signal into a conversion signal; A signal generation unit, configured to: Judge whether the power supply device supports the power transmission mode according to the conversion signal; and / or Generate the first switching signal based on the power supply device not supporting the power transmission mode, or generate a second switching signal based on the power supply device supporting the power transmission mode.
10. The power receiving end device according to claim 9, wherein, The signal generation unit includes: A waveform detection unit, configured to: Detect whether a change occurs in the conversion signal; and A mode detector, configured to: Generate the second switching signal based on the change occurring in the conversion signal; and Generate the first switching signal based on the change not occurring in the conversion signal.
11. The power receiving end device according to claim 10, characterized in that, The waveform detection unit is further configured to: Detect whether the change occurs in the conversion signal within a detection time interval.
12. The power receiving end device according to claim 9, characterized in that, The power supply device does not support the power transmission mode; the power supply device includes a CC pin; Wherein, when there is no electrical signal transmission between the CC pin of the power supply device and the CC pin of the USB Type-C connector of the power receiving device, the conversion signal has a first conversion voltage; and Wherein, when there is electrical signal transmission between the CC pin of the power supply device and the CC pin of the USB Type-C connector of the power receiving device; the conversion signal has a second conversion voltage; Wherein, the first conversion voltage is different from the second conversion voltage.
13. A mode switching method, characterized in that, Including: A judgment module judges whether a power supply device supports a power transmission mode according to a pin signal of a CC pin of a USB Type-C connector of a power receiving device; The judgment module generates a first switching signal based on the power supply device not supporting the power transmission mode; and A mode switching module disconnects from a PD controller of the power receiving device based on the first switching signal.
14. The mode switching method according to claim 13, wherein Further including: The mode switching module is directly conducted with the PD controller based on the connection between the power supply device and the power receiving device.
15. The mode switching method according to claim 13, characterized in that, Further including: The judgment module converts the pin signal into a conversion signal; The judgment module judges whether the power supply device supports the power transmission mode according to the conversion signal; and / or The judgment module generates the first switching signal based on the power supply device not supporting the power transmission mode, or generates a second switching signal based on the power supply device supporting the power transmission mode.
16. The mode switching method according to claim 15, wherein Further including: The judgment module detects whether a change occurs in the conversion signal; A mode detector generates the second switching signal based on the change occurring in the conversion signal; And The mode detector generates the first switching signal based on the change not occurring in the conversion signal.
17. The mode switching method according to claim 16, wherein, Further including: A waveform detection unit detects whether the change occurs in the conversion signal within a detection time interval.
18. The mode switching method according to claim 15, characterized in that, When the power supply device does not support the power transmission mode, the power supply device includes a CC pin; the mode switching method further includes: When there is no electrical signal transmission between the CC pin of the power supply device and the CC pin of the USB Type-C connector of the power receiving device, the conversion signal has a first conversion voltage; and When there is electrical signal transmission between the CC pin of the power supply device and the CC pin of the USB Type-C connector of the power receiving device; the conversion signal has a second conversion voltage; Wherein, the first conversion voltage is different from the second conversion voltage.
Citation Information
Cited By
Power supply switching circuit of USB Type-C interface and method thereof
CN121743257A
Power supply switching circuit of USB type-c interface and method thereof
CN121743257B
