Power supply device and control method

By controlling communication to restrict external device requests during authentication, the power supply device accelerates the authentication process, ensuring efficient and timely completion.

JP7547156B2Active Publication Date: 2024-09-09CANON KK
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2020171963
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-10-12
Publication Date
2024-09-09
Estimated Expiration
2040-10-12

AI Technical Summary

Technical Problem

Existing power supply devices take longer than necessary to complete authentication communication with external devices due to the need to respond to requests during the process.

Method used

The power supply device controls communication to restrict requests from external devices until authentication with a connected cable is completed, using voltage level changes and response settings to prioritize authentication communication.

Benefits of technology

This approach allows for faster completion of authentication communication by ensuring the device focuses on authentication without interruptions, thereby shortening the overall time required.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007547156000007
    Figure 0007547156000007
  • Figure 0007547156000001
    Figure 0007547156000001
  • Figure 0007547156000002
    Figure 0007547156000002
Patent Text Reader

Abstract

To reduce the time required for an authentication communication.SOLUTION: A power supply apparatus includes: communication means; and control means for performing an authentication communication with a cable after the cable is connected to the power supply apparatus, and controlling the communication means so that no requests will be received from an external apparatus connected to the power supply apparatus via the cable until the authentication communication is finished.SELECTED DRAWING: Figure 6
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a power supply device. and Control Method By law Regarding. [Background technology]

[0002] Patent Document 1 describes a power supply device that limits the power supplied to an external device when authentication communication with a USB (Universal Serial Bus) cable having a cable authentication chip fails. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2018-97643 A Summary of the Invention [Problem to be solved by the invention]

[0004] However, when the power supply device described in Patent Document 1 receives a request from an external device during authentication communication with a cable, it stops the authentication communication and sends a response corresponding to the request, which increases the time required for authentication communication.

[0005] SUMMARY OF THE PRESENT EMBODIMENT An object of the present invention is to shorten the time required for authentication communication. [Means for solving the problem]

[0006] A power supply device according to the present invention includes a communication means, and a control means for performing authentication communication with the cable after the cable is connected to the power supply device, and controlling the communication means so as not to accept a request from an external device connected to the power supply device via the cable until the authentication communication is completed. an interface for the communication means to communicate with the external device; Have The control means controls the communication means to change a voltage level of the interface to a voltage level indicating that communication from the external device to the power supply device is restricted until the authentication communication is completed. do.

[0007] One of the power supply devices according to the present invention is and a control means for performing authentication communication with the cable after the cable is connected to the power supply device and controlling the communication means so as not to accept a request from an external device connected to the power supply device via the cable until the authentication communication is completed, the control means controlling the communication means so as to return a response indicating a denial of the request as a response to the request until the authentication communication is completed. Control .

[0008] The present invention Power Supply Equipment One of them is the power supply device includes a communication means, and a control means for performing authentication communication with the cable after the cable is connected to the power supply device, and controlling the communication means so as not to accept a request from an external device connected to the power supply device via the cable until the authentication communication is completed, the control means controls the communication means so as to return a response instructing standby as a response to the request until the authentication communication is completed. .

[0009] One of the control methods according to the present invention is a control method for a power supply device, a step of performing authentication communication with the cable after the cable is connected to the power supply device; a step of accepting a request from an external device connected to the power supply device via the cable, the request not being accepted until the authentication communication is completed; and a step of changing a voltage level of an interface for communicating with the external device to a voltage level indicating that communication from the external device to the power supply device is restricted until the authentication communication is completed. .

[0010] The present invention Control Method One of them is A method for controlling a power supply device, the method comprising: a step of performing authentication communication with a cable after the cable is connected to the power supply device; a step of accepting a request from an external device connected to the power supply device via the cable, the step of not accepting the request until the authentication communication is completed; and a step of returning a response indicating a denial of the request as a response to the request until the authentication communication is completed. .

[0011] The present invention Control Method One of them is A method for controlling a power supply device, comprising: a step of performing authentication communication with the cable after a cable is connected to the power supply device; a step of accepting a request from an external device connected to the power supply device via the cable, the request not being accepted until the authentication communication is completed; and returning a response instructing waiting as a response to the request. . Effect of the Invention

[0012] According to the present invention, the time required for authentication communication can be shortened. [Brief description of the drawings]

[0013] [Figure 1] FIG. 2 is a diagram for explaining components of a power supply system according to the first embodiment. [Diagram 2] 1 is a block diagram for explaining components of electronic device 100. FIG. [Diagram 3] FIG. 2 is a block diagram illustrating components of a cable 200. [Figure 4] 2 is a block diagram for explaining components of power supply equipment 300. FIG. [Diagram 5] 1A is a diagram for explaining the device connector 110 and the source connector 301, and FIG. 1B is a diagram for explaining the cable connectors 201 and 202. FIG. [Figure 6] 6 is a flowchart for explaining an example of a process 600 performed in the power supply equipment 300. [Figure 7](a) is a diagram for explaining an example of power that can be supplied from the power supply device 300 to the electronic device 100, (b) is a diagram for explaining an example of the characteristics of the cable 200, (c) is a diagram for explaining an example of a first power supply capacity, and (d) is a diagram for explaining an example of a second power supply capacity. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0014] Hereinafter, an embodiment of the present invention will be described with reference to the drawings, however, the present invention is not limited to the following embodiment.

[0015] [Embodiment 1] 1 is a diagram for explaining components of a power supply system in embodiment 1. The power supply system shown in FIG.

[0016] The electronic device 100 is an electronic device that can receive power from the power supply device 300, and is a digital camera in the example of Fig. 1. The electronic device 100 has a device connector 110 for connecting the electronic device 100 to the power supply device 300. The device connector 110 is, for example, a receptacle that complies with the Universal Serial Bus (USB) Type-C standard. Note that the electronic device 100 is not limited to a digital camera, and may be, for example, an information processing device such as a personal computer, a smartphone, or a tablet terminal.

[0017] Cable 200 is a cable capable of transmitting information, power, etc. Cable 200 has cable connector 201 at one end of cable 200, and cable connector 202 at the other end of cable 200. For example, cable 200 is a USB cable, and each of cable connector 201 and cable connector 202 is a plug that complies with the USB Type-C standard.

[0018] The power supply device 300 is a power supply device capable of supplying power to the electronic device 100, which is an external device, and is an AC adapter that uses an AC (Alternating Current) power source in the example of FIG. 1. The power supply device 300 has a source connector 301 for connecting the power supply device 300 to the electronic device 100. The source connector 301 is, for example, a receptacle that complies with the USB Type-C standard. Note that the power supply device 300 is not limited to an AC adapter, and may be, for example, an information processing device such as a personal computer, or a mobile phone. The battery may be a rechargeable battery or the like.

[0019] For example, the cable connector 201 is connected to the device connector 110, and the cable connector 202 is connected to the source connector 301. This allows the power supply device 300 to supply power from the source connector 301 to the electronic device 100 via the cable 200. Note that the cable connector 202 may be connected to the device connector 110, and the cable connector 201 may be connected to the source connector 301.

[0020] Fig. 2 is a block diagram for explaining components of the electronic device 100. Fig. 5(a) is a diagram for explaining the device connector 110.

[0021] 5(a), the device connector 110 has a plurality of terminals including a VBUS terminal, a CC1 terminal, a CC2 terminal, a GND terminal, etc. For example, in the device connector 110, the VBUS terminal is a terminal for receiving power, the CC1 terminal and the CC2 terminal are terminals for acquiring information of the power supply device 300, and the GND terminal is a terminal for determining a reference for a signal.

[0022] A pull-down resistor 101 (Rd) conforming to the USB Type-C standard is connected between the CC1 terminal of the device connector 110 and the GND terminal of the device connector 110. A pull-down resistor 106 (Rd) conforming to the USB Type-C standard is connected between the CC2 terminal of the device connector 110 and the GND terminal of the device connector 110. The pull-down resistors 101 (Rd) and 106 (Rd) are used, for example, to determine whether the power supply device 300 is connected to the electronic device 100 or not, and to determine the voltage supplied from the power supply device 300 to the electronic device 100.

[0023] The communication unit 102 is connected to the CC1 terminal and the CC2 terminal of the device connector 110, and communicates with the cable 200 or the power supply device 300 via the CC1 terminal and the CC2 terminal. For example, the communication unit 102 communicates with the power supply device 300 based on the USB PD (Power Delivery) standard and determines whether the power supply device 300 complies with the USB PD standard. If the power supply device 300 complies with the USB PD standard, the communication unit 102 performs negotiation communication with the power supply device 300 in accordance with the USB PD standard to request the power supply device 300 to supply the desired power. Furthermore, the communication unit 102 performs authentication communication with the cable 200 in accordance with the USB Type-C AUTH (Authentication) standard.

[0024] The cable authentication determination unit 103 determines, based on the result of the authentication communication by the communication unit 102, whether or not the cable 200 complies with the USB PD standard.

[0025] The power receiving unit 104 is connected to the VBUS terminal of the device connector 110, and supplies power supplied from the power supply device 300 via the cable 200 to the components of the electronic device 100. The power receiving unit 104 controls the power supplied from the power supply device 300 based on the result of communication by the communication unit 102.

[0026] The load unit 105 is composed of various modules that operate by consuming the power supplied from the power receiving unit 104. For example, if the electronic device 100 is a digital camera, the load unit 105 includes an imaging lens, an imaging element, a display unit, a user interface unit, and the like. The imaging lens changes the zoom magnification of the subject image, adjusts the focus of the subject image, and the like. The imaging element is an image sensor composed of, for example, a CCD (Charge Coupled Device) or a CMOS (Complementary Metal Oxide Semiconductor), and converts the subject image into electrical image information. The display unit For example, it is an LCD (Liquid Crystal Display) and displays acquired image information, etc. The user interface unit includes switches and the like and receives instructions from a user to the electronic device 100. The power consumed by the load unit 105 changes depending on the operating state of the electronic device 100.

[0027] Fig. 3 is a block diagram for explaining components of the cable 200. Fig. 5(b) is a diagram for explaining cable connectors 201 and 202.

[0028] 5(b), each of cable connector 201 and cable connector 202 has a plurality of terminals (pins) including a VBUS terminal, a CC terminal, a VCONN terminal, a GND terminal, etc. For example, in each of cable connector 201 and cable connector 202, the VBUS terminal is a terminal for transmitting power, and the CC terminal is a terminal for transmitting various information such as information on power supply device 300. The VCONN terminal is a terminal for supplying power to communication unit 203, and the GND terminal is a terminal for determining a signal reference.

[0029] The communication unit 203 is connected to the CC terminal of the cable connector 201, the VCONN terminal of the cable connector 201, the CC terminal of the cable connector 202, and the VCONN terminal of the cable connector 202. The communication unit 203 communicates with the electronic device 100 or the power supply device 300 using these terminals. For example, the communication unit 203 performs negotiation communication conforming to the USB PD standard with at least one of the electronic device 100 and the power supply device 300. Through this negotiation communication, the communication unit 203 transmits characteristic information indicating the characteristics of the cable 200 to at least one of the electronic device 100 and the power supply device 300. FIG. 7(b) is a diagram for explaining an example of the characteristics of the cable 200, and shows an upper limit of the voltage (e.g., 20V) that the cable 200 allows and an upper limit of the current (e.g., 3A) that the cable 200 allows. The above-mentioned characteristic information is, for example, information indicating the characteristics of FIG. 7(b). Each of the electronic device 100 and the power supply device 300 performs authentication communication with the communication unit 203 in compliance with the USB Type-C AUTH standard to determine whether the cable 200 complies with the USB PD standard.

[0030] A pull-down resistor 204 (Ra) conforming to the USB Type-C standard is connected between the VCONN terminal of the cable connector 202 and the GND terminal of the cable connector 202. A pull-down resistor 205 (Ra) conforming to the USB Type-C standard is connected between the VCONN terminal of the cable connector 201 and the GND terminal of the cable connector 201. The pull-down resistors 204 (Ra) and 205 (Ra) are used, for example, by the power supply device 300 to determine whether or not the cable 200 is connected to the power supply device 300.

[0031] The reverse current prevention diode 206 is a diode for preventing the power supplied from the VCONN terminal of the cable connector 201 from being supplied to the VCONN terminal of the cable connector 202. The reverse current prevention diode 207 is a diode for preventing the power supplied from the VCONN terminal of the cable connector 202 from being supplied to the VCONN terminal of the cable connector 201.

[0032] Fig. 4 is a block diagram for explaining components of the power supply equipment 300. Fig. 5(a) is a diagram for explaining the source connector 301.

[0033] 5A, the source connector 301 has a plurality of terminals (pins; interfaces) including a VBUS terminal, a CC1 terminal, a CC2 terminal, a GND terminal, etc. For example, in the source connector 301, the VBUS terminal is a terminal for supplying power, the CC1 terminal and the CC2 terminal are terminals for outputting information of the power supply device 300, and the GND terminal are terminals for determining the reference of a signal. When connected to the VCONN terminal of the cable 200, each of the CC1 terminal and the CC2 terminal can supply power to the VCONN terminal.

[0034] The connection unit 302 is connected to an external power source such as an AC power source or a battery, and obtains power from the external power source.

[0035] The power supply control unit 303 converts the power obtained from the connection unit 302 into power that can be supplied from the power supply device 300 to the electronic device 100. The power that can be supplied from the power supply device 300 to the electronic device 100 varies depending on the external power supply to which the connection unit 302 is connected. Here, consider a case where the connection unit 302 is connected to an AC power source such as a household outlet (for example, an AC power source of 100V and 50Hz), and the power supply device 300 supplies a current of 3A to the electronic device 100 at a DC (Direct Current) voltage of 9V. In such a case, the power supply control unit 303 performs AC / DC conversion of the power obtained from the connection unit 302 so that power of a DC voltage of 9V and a current of 3A can be supplied to the electronic device 100. The power supply control unit 303 also generates power to be supplied from the power supply device 300 to a VCONN terminal of the cable 200.

[0036] The system control unit 304 controls the components of the power supply device 300. For example, the system control unit 304 selects a first power supply capability or a second power supply capability based on a result of authentication communication by the communication unit 306 to notify the electronic device 100 of one or more powers that can be supplied from the power supply device 300 to the electronic device 100. Fig. 7(a) is a diagram for explaining an example of power that can be supplied from the power supply device 300 to the electronic device 100. The system control unit 304 controls the power supply control unit 303 based on a result of communication by the communication unit 306 to control the power supplied from the power supply device 300 to the electronic device 100.

[0037] The output control unit 305 is connected to the power supply control unit 303 and the VBUS terminal of the source connector 301. The output control unit 305 can supply the power supplied from the power supply control unit 303 to the electronic device 100 via the VBUS terminal of the source connector 301 and the cable 200. The output control unit 305 can also stop the power supply to the electronic device 100. For example, the system control unit 304 controls the timing of the power supply by the output control unit 305 by controlling the output control unit 305 via the communication unit 306. The system control unit 304 stops the power supply by the output control unit 305 by controlling the output control unit 305 in response to receiving a power supply stop command from the electronic device 100. The output control unit 305 is also connected to the switch 319 and the switch 320, and can supply the power to be supplied to the VCONN terminal of the cable 200 to at least one of the switch 319 and the switch 320. The output control unit 305 can also stop the power supply to the switch 319 and can also stop the power supply to the switch 320.

[0038] The communication unit 306 is connected to the CC1 terminal and the CC2 terminal of the source connector 301, and communicates with the cable 200 or the electronic device 100 via the CC1 terminal and the CC2 terminal. For example, the communication unit 306 communicates with the electronic device 100 in accordance with the USB PD standard, and determines whether or not the electronic device 100 complies with the USB PD standard. The communication unit 306 communicates with the cable 200 in accordance with the USB PD standard, and determines whether or not the cable 200 complies with the USB PD standard.

[0039] When the electronic device 100 complies with the USB PD standard, the communication unit 306 performs negotiation communication with the electronic device 100 in accordance with the USB PD standard. Through this negotiation communication, the communication unit 306 transmits power supply capability information indicating a first power supply capability or a second power supply capability to the electronic device 100 in order to notify the electronic device 100 of one or more powers that can be supplied from the power supply device 300 to the electronic device 100. Furthermore, the communication unit 306 transmits the power supply capability information indicating a first power supply capability or a second power supply capability to the electronic device 100. The power supply device 300 performs authentication communication conforming to the USB Type-C AUTH standard with the electronic device 100. Through this authentication communication, the communication unit 306 notifies the electronic device 100 that the power supply device 300 conforms to the USB PD standard.

[0040] When the cable 200 complies with the USB PD standard, the communication unit 306 acquires characteristic information of the cable 200 by performing negotiation communication with the communication unit 203 of the cable 200 in accordance with the USB PD standard. The system control unit 304 performs authentication communication conforming to the AUTH standard with the cable 200. Then, based on the result of the authentication communication with the cable 200, the system control unit 304 determines whether the cable 200 conforms to the USB PD standard.

[0041] A pull-up resistor 307 (Rpa) is connected between the output control unit 305 and the switch 308. The pull-up resistor 307 (Rpa) is a resistor that complies with the USB Type-C standard, and has a resistance value that indicates that a power supply of 3 A is possible, for example.

[0042] A switch 308 is connected between the pull-up resistor 307 (Rpa) and the CC2 terminal of the source connector 301. The system control unit 304 can switch the state of the switch 308 between a conductive state and a non-conductive state using a control signal EN_Rpa2. When the switch 308 is in a conductive state, the pull-up resistor 307 (Rpa) is enabled.

[0043] A pull-up resistor 309 (Rpb) is connected between the output control unit 305 and the switch 310. The pull-up resistor 309 (Rpb) is a resistor that complies with the USB Type-C standard, and has a resistance value that indicates that a power supply of 1.5 A is possible, for example.

[0044] A switch 310 is connected between the pull-up resistor 309 (Rpb) and the CC2 terminal of the source connector 301. The system control unit 304 can switch the state of the switch 310 between a conductive state and a non-conductive state using a control signal EN_Rpb2. When the switch 310 is in a conductive state, the pull-up resistor 309 (Rpb) is enabled.

[0045] A switch 311 is connected between the CC2 terminal of the source connector 301 and a pull-down resistor 312 (Rd). The system control unit 304 can switch the state of the switch 311 between a conductive state and a non-conductive state using a control signal EN_Rd2. When the switch 311 is in a conductive state, the pull-down resistor 312 (Rd) becomes active.

[0046] A pull-down resistor 312 (Rd) is connected between the switch 311 and the GND terminal of the source connector 301 .

[0047] A pull-up resistor 313 (Rpa) is connected between the output control unit 305 and the switch 314. The pull-up resistor 313 (Rpa) is a resistor that complies with the USB Type-C standard, and has a resistance value that indicates that a power supply of 3 A is possible, for example.

[0048] A switch 314 is connected between the pull-up resistor 313 (Rpa) and the CC1 terminal of the source connector 301. The system control unit 304 can switch the state of the switch 314 between a conductive state and a non-conductive state using a control signal EN_Rpa1. When the switch 314 is in a conductive state, the pull-up resistor 313 (Rpa) is enabled.

[0049] A pull-up resistor 315 (Rpb) is connected between the output control unit 305 and the switch 316. The pull-up resistor 315 (Rpb) is a resistor that complies with the USB Type-C standard and has a resistance value that indicates that a power supply of 1.5 A is possible, for example.

[0050] A switch 316 is connected between the pull-up resistor 315 (Rpb) and the CC1 terminal of the source connector 301. The system control unit 304 can switch the state of the switch 316 between a conductive state and a non-conductive state using a control signal EN_Rpb1. When the switch 316 is in a conductive state, the pull-up resistor 315 (Rpb) is enabled.

[0051] A switch 317 is connected between the CC1 terminal of the source connector 301 and a pull-down resistor 318 (Rd). The system control unit 304 can switch the state of the switch 317 between a conductive state and a non-conductive state using a control signal EN_Rd1. When the switch 317 is in a conductive state, the pull-down resistor 318 (Rd) is enabled.

[0052] A pull-down resistor 318 (Rd) is connected between the switch 317 and the GND terminal of the source connector 301 .

[0053] A switch 319 is connected between the output control unit 305 and the CC2 terminal of the source connector 301. The system control unit 304 can switch the state of the switch 319 between a conductive state and a non-conductive state using a control signal EN_VCONN2. When the VCONN terminal of the cable 200 is connected to the CC2 terminal of the source connector 301, the switch 319 is made conductive, and the power generated by the power supply control unit 303 is supplied to the VCONN terminal of the cable 200.

[0054] A switch 320 is connected between the output control unit 305 and the CC1 terminal of the source connector 301. The system control unit 304 can switch the state of the switch 320 between a conductive state and a non-conductive state using a control signal EN_VCONN1. When the VCONN terminal of the cable 200 is connected to the CC1 terminal of the source connector 301, the switch 320 is made conductive, and the power generated by the power supply control unit 303 is supplied to the VCONN terminal of the cable 200.

[0055] The system control unit 304 can control the switches 308, 310, 311, 314, 316, and 317 so that the power supply device 300 operates as a DRP (Dual Role Port) conforming to the USB PD standard. For example, the system control unit 304 controls the switches 308, 311, 314, and 317 so that any one of the pull-up resistor 307 (Rpa), the pull-down resistor 312 (Rd), the pull-up resistor 313 (Rpa), and the pull-down resistor 318 (Rd) is enabled in a predetermined cycle. When the power supply device 300 is connected to the electronic device 100 in a state where the pull-up resistor 307 (Rpa) or 313 (Rpa) is enabled, the power supply device 300 operates as a source conforming to the USB PD standard. When the power supply device 300 is connected to the electronic device 100 with the pull-down resistor 312 (Rd) or 318 (Rd) enabled, the power supply device 300 operates as a sink conforming to the USB PD standard. The system control unit 304 operates the power supply device 300 as a source or sink, so that the system control unit 304 can detect the connection between the electronic device 100 and the power supply device 300 even when the electronic device 100 operates as a source, sink, or DRP. Then, the system control unit 304 can control the communication unit 306 to communicate with the electronic device 100. The system control unit 304 can control the communication unit 306 to control the switches 308, 310, 311, 314, 316, 317, 319, and 320.

[0056] FIG. 6 is a flowchart for explaining an example of a process 600 performed by the power supply equipment 300. In the first embodiment, it is assumed that the power supply device 300 is connected to the electronic device 100 via the cable 200.

[0057] In step S601, the system control unit 304 determines whether the power supply device 300 is connected as a source by the operation of the DRP. For example, when the system control unit 304 detects the connection between the electronic device 100 and the power supply device 300 while the switch 308 or 314 is conductive, the system control unit 304 determines that the power supply device 300 is connected as a source. When the system control unit 304 detects the connection between the electronic device 100 and the power supply device 300 while the switch 311 or 317 is conductive, the system control unit 304 determines that the power supply device 300 is connected as a sink. The connection between the electronic device 100 and the power supply device 300 can be detected, for example, from the voltage level of the CC1 terminal of the source connector 301, the voltage level of the CC2 terminal of the source connector 301, etc. When the system control unit 304 determines that the power supply device 300 is connected as a source, the process proceeds to step S602, and when the system control unit 304 determines that the power supply device 300 is connected as a sink, the process proceeds to step S607.

[0058] In step S602, the system control unit 304 controls the communication unit 306 to start PD communication with the electronic device 100. The PD communication is communication conforming to the USB PD standard. In the first embodiment, a case will be described in which the electronic device 100 operates as a sink and the power supply device 300 operates as a source. Furthermore, in the first embodiment, a case will be described in which the CC terminal of the cable 200 is connected to the CC1 terminal of the source connector 301, and the VCONN terminal of the cable 200 is connected to the CC2 terminal of the source connector 301. After starting the PD communication, the system control unit 304 proceeds to step S603.

[0059] In step S603, the system control unit 304 controls the power control unit 303 and the output control unit 305 to start supplying power A to the electronic device 100. The power A is, for example, default USB power (5 V, 900 mA) conforming to the USB 3.1 standard, default USB power (5 V, 500 mA) conforming to the USB 2.0 standard, etc. After starting the supply of power A to the electronic device 100, the system control unit 304 proceeds to step S604.

[0060] In steps S604 and S605, the system control unit 304 controls the communication unit 306 so as not to accept a request (such as a request to start authentication communication) from the electronic device 100. Note that one of the processes in steps S604 and S605 may be omitted.

[0061] In step S604, the system control unit 304 controls the communication unit 306 to enable the rejection / standby response setting of the communication unit 306. The rejection / standby response setting is a setting for returning a response indicating a rejection of a request or a response instructing standby as a response to a request from the electronic device 100. For example, the rejection / standby response setting is a setting for returning a Reject message or a Wait message as a response to a VCONN_Swap message or a Try.SRC message conforming to the USB PD standard. The VCONN_Swap message and the Try.SRC message are messages for operating the power supply device 300 as a source or a sink. The Reject message is a message indicating a rejection, and the Wait message is a message instructing standby. After enabling the rejection / standby response setting of the communication unit 306, the system control unit 304 proceeds to step S605.

[0062] In step S605, the system control unit 304 controls the communication unit 306 to switch the switch 314 to a non-conductive state and to switch the switch 316 to a conductive state. This enables the pull-up resistor 315 (Rpb), so that the voltage level of the CC1 terminal of the source connector 301 becomes a voltage level corresponding to the power supply capability of 3 A. to a voltage level corresponding to a power supply capacity of 1.5A. Here, in the first embodiment, the voltage level of the CC1 terminal is used for controlling the communication between the power supply device 300 and the electronic device 100, and indicates whether the communication from the electronic device 100 to the power supply device 300 is restricted. If the voltage level of the CC1 terminal is a voltage level corresponding to a power supply capacity of 1.5A, the communication from the power supply device 300 to the electronic device 100 is possible, and the communication from the electronic device 100 to the power supply device 300 is restricted. If the voltage level of the CC1 terminal is a voltage level corresponding to a power supply capacity of 3A, the communication from the power supply device 300 to the electronic device 100 is restricted, and the communication from the electronic device 100 to the power supply device 300 is possible. In step S605, the voltage level of the CC1 terminal is changed to a voltage level indicating that the communication from the electronic device 100 to the power supply device 300 is restricted, and therefore the communication from the electronic device 100 to the power supply device 300 is restricted. After restricting the communication from the electronic device 100 to the power supply device 300, the system control unit 304 proceeds to step S606.

[0063] In step S606, the system control unit 304 controls the communication unit 306 to switch the state of the switch 319 to the conductive state. As a result, power is supplied from the CC2 terminal of the source connector 301 to the communication unit 203 of the cable 200 via the VCONN terminal of the cable 200, and the communication unit 203 becomes operable. After starting the power supply to the VCONN terminal of the cable 200, the system control unit 304 proceeds to step S613.

[0064] In step S607, the system control unit 304 controls the communication unit 306 to start PD communication with the electronic device 100. In the first embodiment, the electronic device 100 operates as a source, and the power supply device 300 operates as a sink. After starting the PD communication, the system control unit 304 proceeds to step S608.

[0065] In step S608, the system control unit 304 receives power A from the electronic device 100. After starting to receive power from the electronic device 100, the system control unit 304 proceeds to step S609.

[0066] In step S609, the system control unit 304 controls the communication unit 306 to transmit a function change request to the electronic device 100. The function change request is, for example, a VCONN_Swap message conforming to the USB PD standard or a Try.SRC message conforming to the USB PD standard. After transmitting the function change request to the electronic device 100, the system control unit 304 proceeds to step S610.

[0067] In step S610, the system control unit 304 determines whether the electronic device 100 has accepted the function change request transmitted in step S609. For example, when an Accept message conforming to the USB PD standard is received as a response to the function change request, the system control unit 304 determines that the electronic device 100 has accepted the function change request. When an Accept message is not received, the system control unit 304 determines that the electronic device 100 has not accepted the function change request. When it is determined that the electronic device 100 has accepted the function change request, the system control unit 304 can operate the power supply device 300 as a sink or a source by performing a predetermined process conforming to the USB PD standard. Thereafter, the system control unit 304 proceeds to step S604. When it is determined that the electronic device 100 has not accepted the function change request, the system control unit 304 proceeds to step S611.

[0068] In step S611, the system control unit 304 increments the value of the count n by 1. After incrementing the value of the count n by 1, the system control unit 304 proceeds to step S612.

[0069] In step S612, the system control unit 304 determines whether the value of the count n has reached a predetermined value. The predetermined value is, for example, 3. If it is determined that the value of the count n has reached the predetermined value, the system control unit 304 performs a timeout process. In the timeout process, the system control unit 304 switches the connection between the power supply device 300 and the electronic device 100 from a connection conforming to the USB PD standard to a connection conforming to the USB Type-C standard, and ends the process 600 of FIG. 6. If it is determined that the value of the count n has not reached the predetermined value, the system control unit 304 proceeds to step S609. Therefore, the system control unit 304 repeatedly transmits a function change request (step S609) at a frequency of a predetermined number of times (for example, three times) within a predetermined time, and if an Accept message is not received even after the predetermined time has elapsed, the system control unit 304 performs a timeout process. If an Accept message is received before the predetermined time has elapsed, the system control unit 304 proceeds to step S604. The predetermined time is a time conforming to the USB PD standard, and is, for example, 195 μsec. Note that, after the process of step S609, if a Reject message is received as a response to the function change request, the system control unit 304 may omit the processes of steps S611 and S612 and perform a timeout process.

[0070] In step S613, the system control unit 304 controls the communication unit 306 to perform authentication communication in compliance with the USB Type-C AUTH standard (USB Type-C Authentication standard) with the cable 200. After starting authentication communication with the cable 200, the system control unit 304 proceeds to step S614.

[0071] In step S614, the system control unit 304 determines whether the authentication communication in step S613 has been completed (successful). For example, if predetermined authentication information based on the communication protocol of the USB Type-C AUTH standard has been received, the system control unit 304 determines that the authentication communication has been completed (successful). If the predetermined authentication information has not been received, the system control unit 304 determines that the authentication communication has not been completed (successful). The predetermined authentication information is, for example, information unique to the device (such as XID). If the system control unit 304 determines that the authentication communication has been completed, the system control unit 304 proceeds to step S615, and if the system control unit 304 determines that the authentication communication has not been completed, the system control unit 304 proceeds to step S619.

[0072] In step S619, the system control unit 304 determines whether a predetermined time has elapsed since the start of the authentication communication in step S613. The predetermined time is a time conforming to the USB PD standard, for example, 4.5 seconds. If it is determined that the predetermined time has elapsed since the start of the authentication communication, the system control unit 304 determines that the authentication communication could not be completed (the authentication communication has failed), and performs a timeout process. For example, if there is a problem in the state of the connection between the power supply device 300 and the electronic device 100, the authentication communication fails. In the timeout process, the system control unit 304 switches the connection between the power supply device 300 and the electronic device 100 from a connection conforming to the USB PD standard to a connection conforming to the USB Type-C standard, and ends the process 600 in FIG. 6. If it is determined that the predetermined time has not elapsed since the start of the authentication communication, the system control unit 304 proceeds to step S614.

[0073] In step S615, the system control unit 304 controls the communication unit 306 to disable the refusal / standby response setting of the communication unit 306. After disabling the refusal / standby response setting of the communication unit 306, the system control unit 304 proceeds to step S616.

[0074] In step S616, the system control unit 304 controls the communication unit 306 to switch the switch 314 to a conductive state and switch 316 to a non-conductive state. This enables the pull-up resistor 313 (Rpa), and the voltage level of the CC1 terminal of the source connector 301 changes from a voltage level corresponding to a power supply capacity of 1.5 A to a voltage level corresponding to a power supply capacity of 3 A. Voltage level of the CC1 terminal is changed to a voltage level indicating that communication from the electronic device 100 to the power supply device 300 is possible, so that communication from the electronic device 100 to the power supply device 300 is possible. After lifting the restriction on communication from the electronic device 100 to the power supply device 300, the system control unit 304 proceeds to step S617.

[0075] In step S617, the system control unit 304 determines whether the cable 200 complies with the USB PD standard based on the result of the authentication communication in step S613. For example, the power supply device 300 has a storage unit in which a list including a plurality of XIDs corresponding to a plurality of cables is recorded in advance. Then, the system control unit 304 compares the XID acquired by the authentication communication in step S613 with the list. If the XID acquired by the authentication communication is indicated in the list, the system control unit 304 determines that the cable 200 complies with the USB PD standard. If the XID acquired by the authentication communication is not indicated in the list, the system control unit 304 determines that the cable 200 does not comply with the USB PD standard. If the system control unit 304 determines that the cable 200 complies with the USB PD standard, the process proceeds to step S618, and if the system control unit 304 determines that the cable 200 does not comply with the USB PD standard, the process proceeds to step S620. If it is determined that the cable 200 complies with the USB PD standard, the system control unit 304 controls the communication unit 306 to perform PD communication with the cable 200 and acquires characteristic information of the cable 200 from the cable 200.

[0076] In step S618, the system control unit 304 determines a first power supply capability to notify the electronic device 100 of one or more powers that can be supplied from the power supply device 300 to the electronic device 100. Then, the system control unit 304 controls the communication unit 306 to transmit power supply capability information indicating the first power supply capability to the electronic device 100. For example, the system control unit 304 stores the power supply capability information in a Source Capability Message and transmits it. FIG. 7(c) is a diagram for explaining an example of the first power supply capability. The first power supply capability is, for example, a first power supply capability determined based on characteristic information of the cable 200, and includes one or more powers allowed by the cable 200. In the example shown in FIG. 7(c), the maximum current (3A) included in the first power supply capability is the same as the upper limit (for example, 3A) of the current allowed by the cable 200. 7(c), the maximum voltage (20V) included in the first power supply capacity is the same as the upper limit of the voltage (e.g., 20V) allowed by the cable 200. The electronic device 100 selects power B from one or more powers included in the first power supply capacity, and requests the selected power B from the power supply device 300. Then, in response to the request from the electronic device 100, the power supply device 300 changes the power supplied to the electronic device 100 from power A to power B. For example, the system control unit 304 changes the power supplied to the electronic device 100 from power A to power B by controlling the power supply control unit 303 and the output control unit 305.

[0077] In step S620, the system control unit 304 determines a second power supply capability to notify the electronic device 100 of one or more powers that can be supplied from the power supply device 300 to the electronic device 100. Then, the system control unit 304 controls the communication unit 306 to transmit power supply capability information indicating the second power supply capability to the electronic device 100. For example, the system control unit 304 stores the power supply capability information in a Source Capability Message and transmits it. FIG. 7(d) is a diagram for explaining an example of the second power supply capability. In the example shown in FIG. 7(d), the maximum power (9.9 W) included in the second power supply capability is lower than the maximum power (60 W) included in the first power supply capability. In the example shown in FIG. 7(d), the maximum current (2 A) included in the second power supply capability is lower than the upper limit of the current (e.g., 3 A) allowed by the cable 200. Furthermore, in the example shown in FIG. 7(d), the maximum voltage (9V) included in the second power supply capacity is lower than the upper limit voltage (e.g., 20V) allowed by the cable 200. The system control unit 304 selects power B from one or more powers received, and requests the selected power B from the power supplying device 300. Then, in response to the request from the electronic device 100, the power supplying device 300 changes the power supplied to the electronic device 100 from power A to power B. For example, the system control unit 304 controls the power supply control unit 303 and the output control unit 305 to change the power supplied to the electronic device 100 from power A to power B.

[0078] As described above, according to the first embodiment, the power supply device 300 does not accept a request from the electronic device 100 until the authentication communication with the cable 200 is completed. This allows the power supply device 300 to prioritize the authentication communication over a response to a request from the electronic device 100, and can perform the authentication communication in a short time. As a result, the power supply device 300 can quickly start processing based on the result of the authentication communication, and can select the first power supply capacity or the second power supply capacity in a short time.

[0079] In the above example, the electronic device 100 is connected to the power supply device 300 via the cable 200, and the power supply device 300 does not accept a request from the electronic device 100 until the authentication communication with the cable 200 is completed, but other configurations are possible. For example, after the electronic device 100 is connected to the power supply device 300, the power supply device 300 may perform authentication communication with the electronic device 100 and may not accept a request from the electronic device 100 until the authentication communication with the electronic device 100 is completed. In such a case, the electronic device 100 may be connected to the power supply device 300 by wireless communication or the like without using the cable 200.

[0080] [Embodiment 2] The various functions, processes, or methods described in the first embodiment can also be realized by a personal computer, a microcomputer, a CPU (Central Processing Unit), or a microprocessor executing a program. Hereinafter, in the second embodiment, the personal computer, the microcomputer, the CPU, or the microprocessor is referred to as "computer X." In the second embodiment, a program for controlling computer X and for realizing the various functions, processes, or methods described in the first embodiment is referred to as "program Y."

[0081] Various functions, processes, or methods described in the first embodiment are realized by computer X executing program Y. In this case, program Y is supplied to computer X via a computer-readable storage medium. The computer-readable storage medium in the second embodiment includes at least one of a hard disk device, a magnetic storage device, an optical storage device, a magneto-optical storage device, a memory card, a volatile memory, a non-volatile memory, and the like. The computer-readable storage medium in the second embodiment is a non-transitory storage medium. [Explanation of symbols]

[0082] 300: Power supply device 304: System control unit 306: Communication unit

Claims

1. A power supply device, A means of communication; a control means for performing authentication communication with the cable after the cable is connected to the power supply device, and controlling the communication means so as not to accept a request from an external device connected to the power supply device via the cable until the authentication communication is completed; an interface for the communication means to communicate with the external device; having The control means controls the communication means to change a voltage level of the interface to a voltage level indicating that communication from the external device to the power supply device is restricted until the authentication communication is completed. A power supply device characterized by:

2. A power supply device, A means of communication; a control means for performing authentication communication with the cable after the cable is connected to the power supply device, and controlling the communication means so as not to accept a request from an external device connected to the power supply device via the cable until the authentication communication is completed; having The control means controls the communication means to return a response indicating a denial of the request as a response to the request until the authentication communication is completed. A power supply device characterized by:

3. A power supply device, A means of communication; a control means for performing authentication communication with the cable after the cable is connected to the power supply device, and controlling the communication means so as not to accept a request from an external device connected to the power supply device via the cable until the authentication communication is completed; having The control means waits in response to the request until the authentication communication is completed. and controlling said communication means to return a response instructing A power supply device characterized by:

4. The communication means further has an interface for communicating with the external device, The control means controls the communication means to change a voltage level of the interface to a voltage level indicating that communication from the external device to the power supply device is restricted until the authentication communication is completed. The power supply device according to claim 2 or 3.

5. The authentication communication is compliant with the USB Type-C Authentication standard. The power supply device according to any one of claims 1 to 4.

6. When the authentication communication cannot be completed, the control means switches the connection between the power supply device and the external device to a connection conforming to the USB Type-C standard. The power supply device according to any one of claims 1 to 5.

7. After the authentication communication is completed, the control means selects one of a plurality of power supply capacities including a first power supply capacity and a second power supply capacity lower than the first power supply capacity based on a result of the authentication communication, and controls the communication means to transmit information indicating the selected power supply capacity to the external device. The power supply device according to any one of claims 1 to 6.

8. The control means determining whether the cable complies with the USB PD standard based on a result of the authentication communication; selecting the first power supply capability when it is determined that the cable complies with the USB PD standard; When it is determined that the cable does not comply with the USB PD standard, the second power supply capability is selected. The power supply device according to claim 7 .

9. A method for controlling a power supply device, comprising: performing authentication communication with the cable after the cable is connected to the power supply device; receiving a request from an external device connected to the power supply device via the cable, the request not being received until the authentication communication is completed; changing a voltage level of an interface for communicating with the external device to a voltage level indicating that communication from the external device to the power supply device is restricted until the authentication communication is completed; A control method comprising the steps of:

10. A method for controlling a power supply device, comprising: performing authentication communication with the cable after the cable is connected to the power supply device; receiving a request from an external device connected to the power supply device via the cable, the request not being received until the authentication communication is completed; returning a response indicating a denial of the request as a response to the request until the authentication communication is completed; A control method comprising the steps of:

11. A method for controlling a power supply device, comprising: performing authentication communication with the cable after the cable is connected to the power supply device; receiving a request from an external device connected to the power supply device via the cable, the request not being received until the authentication communication is completed; returning a response to the request indicating waiting until the authentication communication is completed; A control method comprising the steps of:

Citation Information

Patent Citations

  • Information transmission and reception system and electronic equipment

    JP2001243707A

  • Power supply system and power supply control method

    JP2017038429A

  • Power supply device, power supply system, and control method for power supply device

    JP2018097643A

  • Power supply system and semiconductor device to be used therefor

    JP2019087089A