WO2023234288A1 - Usbインタフェース回路、電子機器 - Google Patents

Usbインタフェース回路、電子機器 Download PDF

Info

Publication number
WO2023234288A1
WO2023234288A1 PCT/JP2023/020068 JP2023020068W WO2023234288A1 WO 2023234288 A1 WO2023234288 A1 WO 2023234288A1 JP 2023020068 W JP2023020068 W JP 2023020068W WO 2023234288 A1 WO2023234288 A1 WO 2023234288A1
Authority
WO
WIPO (PCT)
Prior art keywords
state
pin
pull
circuit
usb interface
Prior art date
Application number
PCT/JP2023/020068
Other languages
English (en)
French (fr)
Inventor
暢孝 板倉
Original Assignee
ローム株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ローム株式会社 filed Critical ローム株式会社
Publication of WO2023234288A1 publication Critical patent/WO2023234288A1/ja

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J1/00Circuit arrangements for dc mains or dc distribution networks

Definitions

  • the present disclosure relates to a USB interface circuit.
  • Battery-powered devices such as smart phones, tablet computers, notebook computers, portable audio players, and digital cameras incorporate rechargeable secondary batteries and charging circuits to charge them.
  • Some charging circuits charge a secondary battery based on a DC voltage (bus voltage V BUS ) supplied from the outside via a USB cable.
  • FIG. 1 is a block diagram of a USB Type C system.
  • a USB Type C connector has two CC (Configuration Channel) pins (CC1, CC2) in addition to a VBUS pin and a GND pin.
  • the USB standard defines a source 10 that can supply power to the outside and a sink 20 that receives power from the outside. In the source 10, the CC1 and CC2 pins are pulled up by a resistor Rp, and in the sink 20, the CC1 and CC2 pins are pulled down by a resistor Rd.
  • a receptacle (connector) 12 of the source 10 and a receptacle 22 of the sink 20 are connected via a cable 30.
  • the source 10 monitors the states of the CC1 and CC2 pins and detects the connection of the sink 20. Specifically, when the sink 20 is not connected, a pull-up voltage (5V) is generated at the CC1 and CC2 pins.
  • the plugs 32 and 34 of the cable 30 each have a single CC pin, and the CC pins are connected to each other within the cable 30.
  • the plugs 32, 34 can be inserted into the receptacles 12, 22 in either direction.
  • the CC pin of the plug 32 is connected to the CC2 pin of the receptacle 12, and the VCONN pin of the plug 32 is connected to the CC1 pin of the receptacle 12, as shown by the broken line.
  • the plug 34 is turned over, the CC pin of the plug 34 is connected to the CC2 pin of the receptacle 22, and the VCONN pin of the plug 342 is connected to the CC1 pin of the receptacle 22.
  • a voltage obtained by dividing the voltage 5V by Rp and Rd is generated at the CC1 pin of the source 10.
  • the port controller 14 of the source 10 can detect the connection of the sink 20 and the front and back sides of the cable 30 based on the voltage of the CC1 pin.
  • a voltage obtained by dividing the voltage 5V by Rp and Rd is generated at the CC2 pin of the source 10.
  • the port controller 14 can detect the connection of the sink 20 and the front and back sides of the cable 30 based on the voltage of the CC2 pin.
  • the CC1 pin and the CC2 pin may be short-circuited with other pins. If the bus voltage V BUS is supplied from the source 10 to the sink 20 in this state, the current will flow in an unintended current path, which is not preferable. Furthermore, if a current flows through a wet electrode, it may cause corrosion of the electrode.
  • the present disclosure has been made in view of such problems, and one exemplary purpose of a certain aspect thereof is to provide a USB interface circuit for a sink that can detect moisture adhesion to the electrodes of the CC1 pin and the CC2 pin. It is in.
  • An aspect of the present disclosure relates to a USB interface circuit installed in a device that serves as a USB (Universal Serial Bus) Type-C sink.
  • the USB interface circuit includes a pull-down circuit that is connected between the CC pin of the connector and ground, and can be switched between a normal pull-down state and a high-impedance pull-down state, and a pull-down circuit that controls the state of the pull-down circuit.
  • a determination unit that determines the presence or absence of moisture adhering to the pin.
  • the electronic device includes a connector having a VBUS pin and a CC pin, a pull-down circuit connected between the CC pin and ground and capable of switching between a normal pull-down state and a high-impedance pull-down state, and a pull-down circuit that controls the state of the pull-down circuit. and a determination unit that determines the presence or absence of moisture adhering to the CC pin based on the voltage of the CC pin.
  • FIG. 1 is a block diagram of a USB Type C system.
  • FIG. 2 is a block diagram of an electronic device including a USB interface circuit according to the first embodiment.
  • FIG. 3 is a circuit diagram of a pull-down circuit according to one embodiment.
  • FIG. 4 is a circuit diagram showing a configuration example of a pull-down circuit according to one embodiment.
  • FIG. 5 is a circuit diagram showing a configuration example of a pull-down circuit according to an embodiment.
  • FIG. 6 is a state transition diagram of the determination unit.
  • FIG. 7 is a block diagram of a determination unit according to an embodiment.
  • FIG. 8 is a block diagram of a determination unit according to one embodiment.
  • FIG. 9 is an operational waveform diagram of the electronic device in a situation where no water droplets are attached.
  • FIG. 9 is an operational waveform diagram of the electronic device in a situation where no water droplets are attached.
  • FIG. 10 is an operational waveform diagram of the electronic device in a situation where water droplets are attached between the CC pin and the power supply line.
  • FIG. 11 is an operation waveform diagram of the electronic device in a situation where water droplets are attached between the CC pin and the GND pin.
  • FIG. 12 is a block diagram of an electronic device including a USB interface circuit according to the second embodiment.
  • FIG. 13 is a circuit diagram of a pull-up circuit according to another configuration example.
  • FIG. 14 is a block diagram of an electronic device including a USB interface circuit according to the third embodiment.
  • a USB interface circuit is installed in a device that serves as a USB (Universal Serial Bus) Type-C sink.
  • the USB interface circuit includes a pull-down circuit that is connected between the CC pin of the connector and ground, and can be switched between a normal pull-down state and a high-impedance pull-down state, and a pull-down circuit that controls the state of the pull-down circuit.
  • a determination unit that determines the presence or absence of moisture adhering to the pin.
  • the normal pull-down state corresponds to the pull-down resistance Rd (5.1 k ⁇ ) defined in the Type-C standard.
  • the high impedance pull-down state is a state in which the resistor is pulled down with a resistance value greater than the pull-down resistor Rd.
  • the presence or absence of moisture can be determined based on the impedance state of the pull-down circuit and the voltage of the CC pin.
  • this USB interface circuit enters a high impedance pull-down state while waiting for connection to the source.
  • the pull-down circuit is high impedance, so even if the source and sink are connected, the voltage at the CC pin on the source side is not pulled down and maintains a high voltage. Therefore, since the sink detection condition is not satisfied on the source side, the source cannot detect the sink and does not output the bus voltage. This can prevent the bus voltage from being supplied in a state where moisture may be present.
  • the determination unit sets the pull-down circuit to a high-impedance pull-down state in the first state, and when the voltage of the CC pin exceeds a detection threshold, transitions to the second state and pulls down the pull-down circuit in the second state.
  • the circuit may be set to a normal pull-down state.
  • the determining unit may determine that there is moisture, and may transition to the third state. If moisture is present between the CC pin and the VBUS pin, the voltage at the CC pin will not drop in the second state. Therefore, moisture between the CC pin and the VBUS pin can be detected on the condition that the voltage exceeds a predetermined voltage range.
  • the determination unit may set the pulldown circuit to a high impedance pulldown state in the third state. This prevents current from flowing through the electrodes in a state where moisture is attached, thereby preventing corrosion.
  • the determining unit determines that there is no moisture when the voltage of the CC pin is within a predetermined voltage range in the second state, transitions to the fourth state, and activates the pull-down circuit in the fourth state. It may be set to normal pull-down state. This allows the source to detect the connection of the sink.
  • the determination unit determines that moisture is present when, in the first state, the voltage of the CC pin is lower than the detection threshold and higher than a minimum threshold set lower than the detection threshold. It is also possible to make a determination and transition to the third state. In a state where moisture is attached between the CC pin and the GND pin, the voltage of the CC pin does not rise and does not exceed the detection threshold in the first state. Therefore, moisture between the CC pin and the GND pin can be detected on condition that the voltage of the CC pin is lower than the detection threshold.
  • the determination unit transitions to the fifth state when a predetermined time elapses in the third state, and transitions to the second state when the voltage of the CC pin exceeds a fourth threshold in the fifth state. You may. Thereby, it can be determined whether or not the adhesion of water has been resolved.
  • the determination unit may transition to the sixth state when the voltage of the CC pin becomes lower than a predetermined threshold in the fifth state.
  • the pulldown circuit may include a pulldown resistor connected between the CC pin and ground in a normal pulldown state, and a high impedance resistor connected between the CC pin and ground in a high impedance pulldown state. good.
  • the pulldown circuit may include a pulldown resistor connected between the CC pin and ground in a normal pulldown state, and a current source connected between the CC pin and ground in a high impedance pulldown state.
  • the pulldown circuit may include a variable resistor connected between the CC pin and ground.
  • the variable resistor has a first resistance value in a normal pulldown state and a second resistance value greater than the first resistance value in a high impedance pulldown state.
  • the USB interface circuit can be switched between an enabled state and a disabled state, and may further include a pull-up circuit that can source current to the CC pin in the enabled state.
  • the determination unit may disable the pull-down circuit, enable the pull-up circuit, and determine whether there is moisture adhering between the CC pin and the ground based on the voltage of the CC pin. .
  • the pull-up circuit may include a current source that sources current to the CC pin in an enabled state.
  • the pull-up circuit may include a pull-up resistor connectable between the CC pin and the power supply line in an enabled state.
  • the USB interface circuit can be switched between an enabled state and a disabled state, and may further include a discharge circuit that establishes continuity between the VBUS pin of the connector and ground in the enabled state.
  • the determination unit enables the pull-up circuit, disables the pull-down circuit, and enables the discharge circuit, and determines whether moisture adheres between the CC pin and the VBUS pin based on the voltage of the CC pin. It is also possible to determine the presence or absence of. By adding a pull-up circuit and a discharge circuit to the sink-side interface circuit, moisture adhering between the CC pin and the VBUS pin can be detected on a standalone basis even when the source is not connected.
  • the determination unit may include an A/D converter that converts the voltage of the CC pin into a digital value.
  • the determination unit may include a comparator that compares the voltage of the CC pin with a threshold.
  • the USB interface circuit may be monolithically integrated on one semiconductor substrate.
  • “Integration” includes cases where all of the circuit components are formed on a semiconductor substrate, cases where the main components of the circuit are integrated, and some of the components are integrated to adjust the circuit constants.
  • a resistor, a capacitor, etc. may be provided outside the semiconductor substrate.
  • the electronic device serves as a USB (Universal Serial Bus) Type-C sink.
  • the electronic device includes a connector having a VBUS pin and a CC pin, a pull-down circuit connected between the CC pin and ground and capable of switching between a normal pull-down state and a high-impedance pull-down state, and a pull-down circuit that controls the state of the pull-down circuit. and a determination unit that determines the presence or absence of moisture adhering to the CC pin based on the voltage of the CC pin.
  • the electronic device may notify the user of the electronic device.
  • a state in which member A is connected to member B refers to not only a case where member A and member B are physically directly connected, but also a state in which member A and member B are electrically connected. This also includes cases in which they are indirectly connected via other members that do not substantially affect the connection state or impair the functions and effects achieved by their combination.
  • a state in which member C is connected (provided) between member A and member B refers to a state in which member A and member C or member B and member C are directly connected. In addition, it also includes cases where they are indirectly connected via other members that do not substantially affect their electrical connection state or impair the functions and effects achieved by their combination.
  • FIG. 2 is a block diagram of an electronic device 300 including a USB interface circuit 400 according to the first embodiment.
  • the electronic device 300 can operate as a USB Type-C sink.
  • the electronic device 300 may be a computer, a tablet terminal, a smart phone, or the like.
  • the electronic device 300 includes a connector 302, a USB interface circuit 400, and a load circuit 310.
  • the connector 302 has a VBUS pin, a CC1 pin, a CC2 pin, and a GND pin.
  • Connector 302 may be a receptacle into which a USB cable plug is inserted.
  • the electronic device 300 is a device such as a USB memory
  • the connector 302 may be a plug.
  • a capacitor C2 is connected to the VBUS pin. Further, the load circuit 310 is connected to the VBUS pin of the connector 302 and operates using the bus voltage VBUS as a power source.
  • the function and configuration of load circuit 310 are not particularly limited.
  • the USB interface circuit 400 is connected to the CC1 pin and CC2 pin of the connector 302.
  • the CC1 pin and the CC2 pin are collectively referred to as the CC pin.
  • the USB interface circuit 400 includes a pull-down circuit 410 and a determination section 420.
  • the USB interface circuit 400 may be a functional IC (Integrated Circuit) integrated on one semiconductor substrate. Such an IC is called a port controller.
  • the pull-down circuit 410 is connected between the CC pins (CC1 pin, CC2 pin) of the connector 302 and ground, and pulls down the CC1 pin and CC2 pin.
  • the impedance of pulldown circuit 410 is variable.
  • the determination unit 420 controls the impedance of the pull-down circuit 410, and determines whether moisture adheres to the CC1 pin or the CC2 pin based on the voltage of the CC pin, specifically, the voltage V1 of the CC1 pin and the voltage V2 of the CC2 pin. Determine the presence or absence of.
  • the impedance of the pull-down circuit 410 can be switched between a normal pull-down state where the impedance is equal to the pull-down resistor Rd (for example, 5.1 k ⁇ ) specified in the USB Type-C standard, and a high-impedance pull-down state HiZ where the impedance is larger than the pull-down resistor Rd. It has become.
  • the impedance state HiZ of the pull-down circuit 410 in the high-impedance pull-down state may be about 10 times Rd or higher. For example, HiZ may be 50 k ⁇ .
  • the high impedance pulldown state of the pulldown circuit 410 may be substantially open (impedance is infinite).
  • FIG. 3 is a circuit diagram of a pull-down circuit 410A according to one embodiment.
  • the pull-down circuit 410A includes a first pull-down circuit 412_1 corresponding to the CC1 pin and a second pull-down circuit 412_2 corresponding to the CC2 pin.
  • the first pull-down circuit 412_1 and the second pull-down circuit 412_2 corresponding to the CC2 pin are configured similarly, and each includes switches SW11 and SW12, a pull-down resistor Rd, and a high-impedance resistor Rmoist.
  • the high-impedance resistor Rmoist has a resistance value corresponding to the high-impedance state HiZ, and is sufficiently higher than the pull-down resistor Rd, and can be approximately 50 k ⁇ or more.
  • switch SW11 In the normal pull-down state, switch SW11 is on, SW12 is off, and a pull-down resistor Rd is connected between the CC pin and ground.
  • the switch SW11 In the high-impedance pull-down state, the switch SW11 is turned off, the switch SW12 is turned on, and a high-impedance resistor Rmoist is connected between the CC pin and the ground. Note that the switch SW11 may be omitted, and the pull-down resistor Rd may be always connected between the CC pin and the ground.
  • FIG. 4 is a circuit diagram showing a configuration example of a pull-down circuit 410B according to an embodiment.
  • the first pull-down circuit 412_1 and the second pull-down circuit 412_2 each include a current source CS1 that can be turned on (enabled) or off (disabled) in place of the switch SW12 and the high impedance resistor Rmoist in FIG. 3.
  • the switch SW11 In the normal pull-down state, the switch SW11 is on, the current source CS1 is off, and a pull-down resistor Rd is connected between the CC pin and the ground. In the high impedance pull-down state, the switch SW11 is turned off and the current source CS1 is turned on, and the current source CS1 is connected between the CC pin and the ground.
  • FIG. 5 is a circuit diagram showing a configuration example of a pull-down circuit 410C according to an embodiment.
  • the first pull-down circuit 412_1 and the second pull-down circuit 412_2 each include a variable resistor Rv.
  • the resistance value of the variable resistor Rv can be switched between two values: a resistance value in a normal pull-down state (for example, 5.1 k ⁇ ) and a resistance value in a high-impedance pull-down state (for example, 500 k ⁇ ).
  • the determination unit 420 includes a state machine 428 that transits through a plurality of states ⁇ 1 to ⁇ 6.
  • ⁇ 5 SNK Moisture Release State where judgment is made after moisture is detected ⁇ 6 Error Recovery State Status specified by USB TypeC standard
  • FIG. 6 is a state transition diagram of the determination unit 420.
  • V# represents either the voltage V1 of the CC1 pin or the voltage V2 of the CC2 pin.
  • the determination unit 420 sets the pull-down circuit 410 to high impedance HiZ in the first state ⁇ 1.
  • the determination unit 420 transitions to the second state ⁇ 2 (S100).
  • the determination unit 420 switches the pull-down circuit 410 to the normal pull-down state PullDn.
  • the determining unit 420 determines that there is moisture, and transitions to the third state ⁇ 3 (S102).
  • the upper limit Vrd of the predetermined voltage range vRd-Connect is set higher than the detection threshold Vsnkdet.
  • the lower limit Vra of the predetermined voltage range vRd-Connect is set higher than the lowest threshold Vmin.
  • the minimum threshold Vmin is set lower than the detection threshold Vsnkdet, and can be set to, for example, 200 mV.
  • the third state ⁇ 3 is a state in which moisture is detected.
  • the determination unit 420 asserts the moisture detection signal MOIST_DET in the third state ⁇ 3.
  • the determination unit 420 sets the pull-down circuit 410 to high impedance HiZ. As a result, the source cannot detect the sink, and as a result, the source does not output the bus voltage V BUS .
  • the determination unit 420 determines that there is no moisture, and transitions to the fourth state ⁇ 4 (S106).
  • the fourth state ⁇ 4 is a state in which it is determined that no moisture is attached, and the AttachWait. This corresponds to the SNK state, and the pull-down circuit 410 is in a normal pull-down state PullDn.
  • the pull-down circuit 410 is in the normal pull-down state PullDn (Rd), so a voltage divided by the source-side pull-up resistor Rp and the sink-side pull-down resistor Rd is applied to the source CC pin. occurs. Therefore, in the fourth state ⁇ 4, the source can detect the electronic device 300 that is the sink.
  • the fifth state ⁇ 5 is a state in which it is checked whether the attached water has disappeared. Also in the fifth state ⁇ 5, the pulldown circuit 410 is set to the high impedance pulldown state HiZ.
  • the fifth state ⁇ 5 when the voltage V# of the CC pin exceeds the release threshold Vsnkrel, a transition is made to the second state ⁇ 2 (S110).
  • the fifth state ⁇ 5 when the voltage V# of the CC pin is lower than the release threshold value Vsnkrel and Vmin ⁇ V# ⁇ Vsnkrel, it is determined that water remains, and the state returns to the third state ⁇ 3. Return (S112).
  • the fifth state ⁇ 5 if the voltage V# of the CC pin is lower than the lowest threshold Vmin, a transition is made to the sixth state ⁇ 6 (S114).
  • the sixth state ⁇ 6 is an ErrorRecoveryState in the USB Type-C standard.
  • FIG. 7 is a block diagram of a determination unit 420A according to an embodiment.
  • the determination unit 420A includes a multiplexer 422, an A/D converter 424, a voltage comparison unit 426, and a state machine 428.
  • Multiplexer 422 receives voltages V1 and V2 and selects one of them.
  • A/D converter 424 converts voltage V# selected by multiplexer 422 into a digital signal Dv.
  • the voltage comparison unit 426 compares the digital signal Dv with threshold values Vsnkdet, Vsnkrel, Vmin, Vra, and Vrd.
  • the state machine 428 changes states according to the comparison result by the voltage comparator 426.
  • FIG. 8 is a block diagram of the determination unit 420B according to one embodiment.
  • This determination section 420B includes a voltage comparator 427 instead of the A/D converter 424 and voltage comparison section 426 in FIG.
  • Voltage comparator 427 compares the output voltage V# of multiplexer 422 with a threshold VTH .
  • State machine 428 changes state according to the output of voltage comparator 427.
  • the state machine 428 also switches the threshold voltage V TH of the voltage comparator 427 in each state.
  • the voltage comparator 427 may be provided for each threshold value Vsnkdet, Vsnkrel, Vmin, Vra, and Vrd.
  • the multiplexer 422 may be omitted and two systems may be provided, one for monitoring the voltage V1 of the CC1 pin and the other for monitoring the voltage V2 of the CC2 pin.
  • the above is the configuration of the electronic device 300 and the USB interface circuit 400. Next, its operation will be explained.
  • FIG. 9 is an operational waveform diagram of the electronic device 300 in a situation where no water droplets are attached.
  • the USB interface circuit 400 Before time t0 , the USB interface circuit 400 is in the first state ⁇ 1. The source is connected at time t0 . Then, the voltage V# of the CC pin rises and exceeds the detection threshold Vsnkdet. When it is determined that V#>Vsnkdet at time t1 , a transition is made to the second state ⁇ 2.
  • the CC pin When transitioning to the second state ⁇ 2, the CC pin enters the normal pull-down state. As a result, a voltage obtained by dividing the source-side power supply voltage by the resistors Rp and Rd is generated at the CC pin, and is included in the voltage range vRd-Connect.
  • a transition is made to the fourth state ⁇ 4.
  • the source is removed from the sink at time t3 , the voltage on the CC pin drops to 0V.
  • V# ⁇ Vra at time t4 the state returns to the first state ⁇ 1.
  • FIG. 10 is an operational waveform diagram of the electronic device 300 in a situation where water droplets are attached between the CC pin and the power line.
  • the USB interface circuit 400 Before time t0 , the USB interface circuit 400 is in the first state ⁇ 1. The source is connected at time t0 . Then, the voltage V# of the CC pin rises and exceeds the detection threshold Vsnkdet. When it is determined that V#>Vsnkdet at time t1 , a transition is made to the second state ⁇ 2.
  • the CC pin When transitioning to the second state ⁇ 2, the CC pin enters the normal pull-down state. If the CC pin is short-circuited to the power supply line, the voltage of the CC pin becomes higher than the upper limit Vrd of the predetermined voltage range vRd-Connect.
  • the bus voltage VBUS is supplied to the VBUS pin, so water droplets may form between the CC pin and the VBUS pin. The same behavior occurs even if it is attached.
  • Vrd ⁇ V# it is determined that water droplets are attached, and the state shifts to the third state ⁇ 3.
  • FIG. 11 is an operational waveform diagram of the electronic device 300 in a situation where water droplets are attached between the CC pin and the GND pin.
  • the USB interface circuit 400 Before time t0 , the USB interface circuit 400 is in the first state ⁇ 1. The source is connected at time t0 . If the CC pin is shorted to the GND pin by a water drop, the voltage V# of the CC pin will not exceed the detection threshold Vsnkdet. When it is determined that V# ⁇ Vsnkdet at time t1 , it is determined that a water droplet exists, and the state transits to the third state ⁇ 3.
  • the voltage on the CC pin drops to 0V.
  • a transition is made to the fifth state ⁇ 5 at time t3 .
  • the fifth state ⁇ 5 if it is determined that V# ⁇ Vra, the state transitions to the sixth state ⁇ 6 at time t4 .
  • the pull-down circuit 410 transitions to the normal pull-down state only after it is determined that no water droplets are attached, and the USB interface circuit 400 becomes detectable by the source. Therefore, in a situation where there is a possibility that water droplets may be attached, power supply does not start, so corrosion can be prevented and wasteful power consumption can be suppressed.
  • the electronic device 300 may notify the user of the electronic device 300. For example, electronic device 300 can prompt its user to disconnect the cable and stop charging.
  • FIG. 12 is a block diagram of an electronic device 300D including a USB interface circuit 400D according to the second embodiment.
  • the USB interface circuit 400D according to the second embodiment detects the presence or absence of water droplets using the sink, that is, the electronic device 300D alone, in a state where the source is not connected.
  • the USB interface circuit 400D further includes a pull-up circuit 430D.
  • the pull-up circuit 430D can be switched between an enabled state and a disabled state, and is configured to be able to source current to the CC pin in the enabled state.
  • the pull-up circuit 430D includes a first pull-up circuit 432_1 and a second pull-up circuit 432_2.
  • the first pull-up circuit 432_1 and the second pull-up circuit 432_2 each include a current source CS2.
  • current source CS2 can supply current Ip to the corresponding CC pin.
  • the state machine 428D of the determination unit 420D can take a seventh state ⁇ 7 in addition to the first state ⁇ 1 to the sixth state ⁇ 6 described above.
  • the determination unit 420D enables the pull-up circuit 430D in the seventh state ⁇ 7.
  • the pull-down circuit 410 is in a disabled state.
  • switches SW11 and SW12 may both be off in the disabled state.
  • the disabled state of the pull-down circuit 410 may be a high-impedance pull-down state in which the switch SW11 is off and the switch SW12 is on.
  • the above is the configuration of the electronic device 300D. Next, its operation will be explained.
  • the voltage V# of the CC# pin takes a voltage level near the power supply voltage in the seventh state ⁇ 7.
  • the determination unit 420D determines that no water droplets are attached when V# is higher than a predetermined threshold voltage.
  • the voltage V# of the CC# pin becomes lower than the voltage near the power supply voltage.
  • the determination unit 420D can determine that water droplets are attached when V# is lower than a predetermined threshold voltage.
  • the current source CS2 may be a variable current source.
  • the determination unit 420D may change the current Ip generated by the current source CS2 and determine whether water droplets are attached based on the relationship between the amount of current and the voltage V# of the CC pin.
  • FIG. 13 is a circuit diagram of a pull-up circuit 430E according to another configuration example.
  • the first pull-up circuit 432_1 and the second pull-up circuit 432_2 each include a pull-up resistor Rpu and a switch SW2 connected in series.
  • the switch SW2 is turned on.
  • the CC pin is pulled up to the power supply line VDD via the pull-up resistor Rpu, and a current Ip can be sourced to the CC pin.
  • adhesion of water droplets can be detected on a standalone basis.
  • the pull-up resistor Rpu may be a variable resistor.
  • the determination unit 420D may change the resistance value of the pull-up resistor Rpu and determine whether water droplets are attached based on the relationship between the resistance value and the voltage V# of the CC pin.
  • FIG. 14 is a block diagram of an electronic device 300E including a USB interface circuit 400E according to the third embodiment.
  • a stand-alone USB interface circuit 400D that can detect water droplets adhering between the CC pin and the ground has been described.
  • the USB interface circuit 400E according to the third embodiment can stand alone and detect water droplets adhering between the CC pin and the VBUS pin.
  • the USB interface circuit 400E further includes a discharge pin DIS and a discharge circuit 440E.
  • the discharge pin DIS is connected to the VBUS pin.
  • the discharge pin DIS is connected to the VBUS pin via a discharge resistor Rdis.
  • the discharge circuit 440E is connected to the VBUS pin via a discharge pin DIS and a discharge resistor Rdis. Discharge circuit 440E can be switched between an enabled state and a disabled state, and in the enabled state, conducts between the VBUS pin and ground. Discharge circuit 440E includes a switch SW3. The discharge resistor Rdis may be integrated into the USB interface circuit 400E.
  • the state machine 428E of the determination unit 420E can take the first state ⁇ 1 to the eighth state ⁇ 8.
  • the determination unit 420E enables the pull-up circuit 430D and the discharge circuit 440E and disables the pull-down circuit 410 in the eighth state ⁇ 8.
  • the determination unit 420E determines the presence or absence of moisture adhering between the CC# pin and the VBUS pin based on the voltage V# of the CC pin CC#.
  • the above is the configuration of the electronic device 300E. Next, its operation will be explained.
  • the voltage V# of the CC# pin takes a voltage level near the power supply voltage in the eighth state ⁇ 8.
  • the determination unit 420E determines that no water droplets are attached when the voltage V# is higher than a predetermined threshold voltage.
  • the CC# pin When a water droplet is attached between the CC pin and the VBUS pin, the CC# pin is connected to ground via the water droplet, the VBUS pin, the discharge resistor Rdis, and the switch SW3, so the voltage of the CC# pin V# takes a voltage level near the ground voltage.
  • the determination unit 420E determines that water droplets are attached when the voltage V# is higher than a predetermined threshold voltage.
  • water droplets adhering between the CC pin and the VBUS pin can be detected on a standalone basis.
  • the determination unit 420 (420A to 420E) is integrated into the same IC (port controller) as the pull-down circuit 410, but this is not the case.
  • the determination unit 420 may be implemented in a microcontroller separate from the port controller.
  • the determination unit 420 (420A to 420E) can transition between a plurality of states ⁇ 1 to ⁇ 6 ( ⁇ 1 to ⁇ 8), but the states that the determination unit 420 can take and the order of state transitions are different from those in the embodiment. Not limited to what has been described.
  • the scope of the present disclosure encompasses various configurations in which the impedance of the pull-down circuit 410 is switchable between at least two states, and the presence of liquid is detected based on the voltage developed at the CC pin in each state.
  • a USB interface circuit installed in a USB (Universal Serial Bus) Type-C sink device a pull-down circuit connected between the CC pin of the connector and ground and capable of switching between a normal pull-down state and a high-impedance pull-down state; a determination unit that controls the state of the pull-down circuit and determines the presence or absence of moisture adhering to the CC pin based on the voltage of the CC pin; A USB interface circuit.
  • a USB Universal Serial Bus
  • the determination unit sets the pulldown circuit to the high impedance pulldown state in a first state, transitions to a second state when the voltage of the CC pin exceeds a detection threshold, and sets the pulldown circuit to the high impedance pulldown state in the second state.
  • the USB interface circuit according to item 1, which sets the circuit to the normal pull-down state.
  • the determination unit includes: The USB interface circuit according to item 2, wherein in the second state, when the voltage of the CC pin exceeds a predetermined voltage range, it is determined that the moisture is present, and the USB interface circuit transitions to the third state.
  • the determination unit determines that there is no moisture when the voltage of the CC pin is within the predetermined voltage range in the second state, and transitions to a fourth state;
  • the USB interface circuit In the first state, when the voltage of the CC pin is higher than a minimum threshold value determined to be lower than the detection threshold value and lower than the detection threshold value, the determination unit determines whether the moisture is present. 6.
  • the USB interface circuit according to any one of items 2 to 5, which determines that the USB interface circuit is in the third state and transits to the third state.
  • the determination unit transitions to a fifth state when a predetermined time elapses in the third state, and transitions to the second state when the voltage of the CC pin exceeds a release threshold in the fifth state.
  • the USB interface circuit according to any one of items 3 to 5.
  • the pull-down circuit is a pull-down resistor connected between the CC pin and the ground in the normal pull-down state; a high impedance resistor connected between the CC pin and the ground in the high impedance pull-down state;
  • the USB interface circuit according to any one of items 1 to 8, comprising:
  • the pull-down circuit is a pull-down resistor connected between the CC pin and the ground in the normal pull-down state; a current source connected between the CC pin and the ground in the high impedance pull-down state;
  • the USB interface circuit according to any one of items 1 to 8, comprising:
  • the pull-down circuit is a variable resistor connected between the CC pin and the ground, having a first resistance value in the normal pull-down state, and having a second resistance value greater than the first resistance value in the high-impedance pull-down state;
  • the USB interface circuit according to any one of items 2 to 8.
  • (Item 12) further comprising a pull-up circuit capable of switching between an enabled state and a disabled state, and capable of sourcing current to the CC pin in the enabled state;
  • the determination unit disables the pull-down circuit, enables the pull-up circuit, and determines whether there is moisture attached to the CC pin based on the voltage of the CC pin.
  • the USB interface circuit according to any one of items 1 to 11.
  • the determination unit enables the pull-up circuit, disables the pull-down circuit, and enables the discharge circuit, and determines whether the CC pin and the VBUS are connected based on the voltage of the CC pin.
  • the USB interface circuit according to item 12, which determines the presence or absence of moisture adhering between the pins.
  • An electronic device that serves as a USB (Universal Serial Bus) Type-C sink, A connector with a VBUS pin and a CC pin, a pull-down circuit connected between the CC pin and ground and capable of switching between a normal pull-down state and a high-impedance pull-down state; a determination unit that controls the state of the pull-down circuit and determines the presence or absence of moisture adhering to the CC pin based on the voltage of the CC pin; Electronic equipment.
  • USB Universal Serial Bus
  • the determination unit sets the pull-down circuit to the high-impedance pull-down state in a first state, and when the voltage of the CC pin exceeds a detection threshold, switches the pull-down circuit to a low-impedance state and enters the second state.
  • the present disclosure relates to a USB interface circuit.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Power Engineering (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Power Sources (AREA)

Abstract

USBインタフェース回路400は、USB(Universal Serial Bus)Type-Cのシンクとなる機器に搭載される。プルダウン回路410は、コネクタ302のCCピンと接地の間に接続され、ノーマルプルダウン状態とハイインピーダンスプルダウン状態が切り換え可能である。判定部420は、プルダウン回路410の状態を制御するとともに、CCピンの電圧にもとづいて、CCピンに付着する水分の有無を判定する。

Description

USBインタフェース回路、電子機器
 本開示は、USBインタフェース回路に関する。
 スマートホン、タブレット端末、ノート型コンピュータ、ポータブルオーディオプレイヤ、デジタルカメラをはじめとする電池駆動デバイスは、再充電可能な二次電池とともに、それを充電するための充電回路を内蔵する。充電回路には、外部からUSBケーブルを介して供給されたDC電圧(バス電圧VBUS)にもとづいて二次電池を充電するものが存在する。
 USBコネクタの形状およびUSBの規格として、USB TypeCが普及している。図1は、USB TypeCのシステムのブロック図である。USB TypeCのコネクタは、VBUSピン、GNDピンに加えて、2個のCC(Configuration Channel)ピン(CC1,CC2)を有する。USB規格では、外部に電力供給可能なソース10と、外部からの給電を受けるシンク20が規定されている。ソース10において、CC1,CC2ピンは抵抗Rpによってプルアップされており、シンク20において、CC1,CC2ピンは抵抗Rdによってプルダウンされている。
 ソース10のレセプタクル(コネクタ)12と、シンク20のレセプタクル22は、ケーブル30を介して接続されている。ソース10は、CC1,CC2ピンの状態を監視し、シンク20の接続を検出する。具体的には、シンク20が接続されない状態では、CC1,CC2ピンには、プルアップ先の電圧(5V)が発生する。
 ケーブル30のプラグ32,34はそれぞれ単一のCCピンを有しており、ケーブル30内で、CCピン同士が接続されている。プラグ32,34は表裏どちらの向きでも、レセプタクル12,22に挿入可能である。プラグ32の表裏をひっくり返すと、破線で示すように、プラグ32のCCピンは、レセプタクル12のCC2ピンと接続され、プラグ32のVCONNピンは、レセプタクル12のCC1ピンと接続される。同様に、プラグ34の表裏をひっくり返すと、プラグ34のCCピンは、レセプタクル22のCC2ピンと接続され、プラグ342のVCONNピンは、レセプタクル22のCC1ピンと接続される。
 図1の状態で、ソース10とシンク20が接続されると、ソース10のCC1ピンには、電圧5Vを、RpとRdで分圧した電圧が発生する。ソース10のポートコントローラ14は、CC1ピンの電圧にもとづいて、シンク20が接続されたこと、およびケーブル30の表裏を検出できる。プラグ32の表裏が反転した場合、ソース10のCC2ピンに、電圧5Vを、RpとRdで分圧した電圧が発生する。ポートコントローラ14は、CC2ピンの電圧にもとづいて、シンク20が接続されたこと、およびケーブル30の表裏を検出できる。
特許6838879号公報
 シンク20のレセプタクルに水分が付着すると、CC1ピンやCC2ピンが、他のピンとショートする可能性がある。この状態でソース10からシンク20にバス電圧VBUSが供給されると、意図せぬ電流経路に電流が流れるため好ましくない。また、濡れている電極に電流が流れると、電極の腐食の原因となる。
 本開示はかかる課題に鑑みてなされたものであり、そのある態様の例示的な目的のひとつは、CC1ピンやCC2ピンの電極への水分の付着を検出可能なシンク用のUSBインタフェース回路の提供にある。
 本開示のある態様は、USB(Universal Serial Bus)Type-Cのシンクとなる機器に搭載されるUSBインタフェース回路に関する。USBインタフェース回路は、コネクタのCCピンと接地の間に接続され、ノーマルプルダウン状態とハイインピーダンスプルダウン状態が切り換え可能なプルダウン回路と、プルダウン回路の状態を制御するとともに、CCピンの電圧にもとづいて、CCピンに付着する水分の有無を判定する判定部と、を備える。
 本開示の別の態様は、USB(Universal Serial Bus)Type-Cのシンクとなる電子機器に関する。電子機器は、VBUSピン、CCピンを有するコネクタと、CCピンと接地の間に接続され、ノーマルプルダウン状態とハイインピーダンスプルダウン状態が切り換え可能なプルダウン回路と、プルダウン回路の状態を制御するとともに、CCピンの電圧にもとづいて、CCピンに付着する水分の有無を判定する判定部と、を備える。
 本開示のある態様によれば、CCピンに付着する水分の有無を判定できる。
図1は、USB TypeCのシステムのブロック図である。 図2は、実施形態1に係るUSBインタフェース回路を備える電子機器のブロック図である。 図3は、一実施例に係るプルダウン回路の回路図である。 図4は、一実施例に係るプルダウン回路の構成例を示す回路図である。 図5は、一実施例に係るプルダウン回路の構成例を示す回路図である。 図6は、判定部の状態遷移図である。 図7は、一実施例に係る判定部のブロック図である。 図8は、一実施例に係る判定部のブロック図である。 図9は、水滴が付着していない状況における電子機器の動作波形図である。 図10は、CCピンと電源ラインの間に水滴が付着している状況における電子機器の動作波形図である。 図11は、CCピンとGNDピンの間に水滴が付着している状況における電子機器の動作波形図である。 図12は、実施形態2に係るUSBインタフェース回路を備える電子機器のブロック図である。 図13は、別の構成例に係るプルアップ回路の回路図である。 図14は、実施形態3に係るUSBインタフェース回路を備える電子機器のブロック図である。
(実施形態の概要)
 本開示のいくつかの例示的な実施形態の概要を説明する。この概要は、後述する詳細な説明の前置きとして、実施形態の基本的な理解を目的として、1つまたは複数の実施形態のいくつかの概念を簡略化して説明するものであり、発明もしくは開示の広さを限定するものではない。この概要は、考えられるすべての実施形態の包括的な概要ではなく、すべての実施形態の重要な要素を特定することも、一部またはすべての態様の範囲を線引きすることも意図していない。便宜上、「一実施形態」は、本明細書に開示するひとつの実施形態(実施例や変形例)または複数の実施形態(実施例や変形例)を指すものとして用いる場合がある。
 一実施形態に係るUSBインタフェース回路は、USB(Universal Serial Bus)Type-Cのシンクとなる機器に搭載される。USBインタフェース回路は、コネクタのCCピンと接地の間に接続され、ノーマルプルダウン状態とハイインピーダンスプルダウン状態が切り換え可能なプルダウン回路と、プルダウン回路の状態を制御するとともに、CCピンの電圧にもとづいて、CCピンに付着する水分の有無を判定する判定部と、を備える。
 ノーマルプルダウン状態は、Type-C規格において規定されるプルダウン抵抗Rd(5.1kΩ)に対応する。ハイインピーダンスプルダウン状態は、プルダウン抵抗Rdよりも大きな抵抗値でプルダウンされた状態である。
 このUSBインタフェース回路によれば、プルダウン回路のインピーダンスの状態と、CCピンの電圧にもとづいて、水分の有無を判定することができる。
 さらにこのUSBインタフェース回路は、ソースとの接続を待機中にハイインピーダンスプルダウン状態となる。待機状態では、プルダウン回路はハイインピーダンスであるため、ソースとシンクが接続されても、ソース側のCCピンの電圧は、プルダウンされずに高電圧を維持する。そのため、ソース側において、シンクの検出条件が満たされないため、ソースはシンクを検出できず、バス電圧を出力しない。これにより、水分が存在する可能性がある状態において、バス電圧の供給が開始するのを防止できる。
 一実施形態において、判定部は、第1状態において、プルダウン回路をハイインピーダンスプルダウン状態に設定し、CCピンの電圧が検出しきい値を越えると、第2状態に遷移し、第2状態においてプルダウン回路をノーマルプルダウン状態に設定してもよい。CCピンの電圧を検出しきい値と比較することで、ソースが接続されたことを検出でき、水分検出のために次の第2状態に遷移することができる。
 一実施形態において、判定部は、第2状態において、CCピンの電圧が、所定電圧範囲を越えると、水分があるものと判定し、第3状態に遷移してもよい。CCピンとVBUSピンの間に水分が付着している状態では、第2状態において、CCピンの電圧が低下しない。したがって、所定電圧範囲を超えていることを条件として、CCピンとVBUSピンの間の水分を検出できる。
 一実施形態において、判定部は、第3状態において、プルダウン回路をハイインピーダンスプルダウン状態に設定してもよい。これにより、水分が付着した状態で、電極に電流が流れるのを防止でき、腐食を防止できる。
 一実施形態において、判定部は、第2状態において、CCピンの電圧が、所定電圧範囲に含まれるとき、水分がないものと判定し、第4状態に遷移し、第4状態においてプルダウン回路をノーマルプルダウン状態に設定してもよい。これにより、ソースにおいて、シンクの接続を検出できるようになる。
 一実施形態において、判定部は、第1状態において、CCピンの電圧が、検出しきい値より低く、検出しきい値より低く定められた最低しきい値より高いときに、水分があるものと判定し、第3状態に遷移してもよい。CCピンとGNDピンの間に水分が付着している状態では、第1状態において、CCピンの電圧が上昇せず、検出しきい値を超えない。そこでCCピンの電圧が検出しきい値より低いことを条件として、CCピンとGNDピンの間の水分を検出できる。
 一実施形態において、判定部は、第3状態において所定時間が経過すると、第5状態に遷移し、第5状態において、CCピンの電圧が第4しきい値を超えると、第2状態に遷移してもよい。これにより、水の付着が解消したか否かを判定できる。
 一実施形態において、判定部は、第5状態において、CCピンの電圧が所定のしきい値より低くなると、第6状態に遷移してもよい。
 一実施形態において、プルダウン回路は、ノーマルプルダウン状態において、CCピンと接地の間に接続されるプルダウン抵抗と、ハイインピーダンスプルダウン状態において、CCピンと接地の間に接続されるハイインピーダンス抵抗と、を含んでもよい。
 一実施形態において、プルダウン回路は、ノーマルプルダウン状態において、CCピンと接地の間に接続されるプルダウン抵抗と、ハイインピーダンスプルダウン状態において、CCピンと接地の間に接続される電流源と、を含んでもよい。
 一実施形態において、プルダウン回路は、CCピンと接地の間に接続された可変抵抗を含んでもよい。可変抵抗は、ノーマルプルダウン状態において第1抵抗値を有し、ハイインピーダンスプルダウン状態において第1抵抗値より大きい第2抵抗値を有する。
 一実施形態において、USBインタフェース回路は、イネーブル状態とディセーブル状態が切り替え可能であり、イネーブル状態において、CCピンに電流をソース可能なプルアップ回路をさらに備えてもよい。第7状態において、判定部は、プルダウン回路をディセーブル状態とし、プルアップ回路をイネーブル状態とし、CCピンの電圧にもとづいて、CCピンと接地の間に付着する水分の有無を判定してもよい。シンク側のインタフェース回路に、プルアップ回路を追加することにより、ソースが接続されない状態においても、スタンドアローンで、VBUSピンと接地の間に付着する水分の有無を判定できる。
 一実施形態において、プルアップ回路は、イネーブル状態においてCCピンに電流をソースする電流源を含んでもよい。
 一実施形態において、プルアップ回路は、イネーブル状態においてCCピンと電源ラインの間に接続可能なプルアップ抵抗を含んでもよい。
 一実施形態において、USBインタフェース回路は、イネーブル状態とディセーブル状態が切りかえ可能であり、イネーブル状態においてコネクタのVBUSピンと接地の間を導通させる放電回路をさらに備えてもよい。判定部は、第8状態において、プルアップ回路をイネーブル状態とし、プルダウン回路をディセーブル状態とし、放電回路をイネーブル状態とし、CCピンの電圧にもとづいて、CCピンとVBUSピンの間に付着する水分の有無を判定してもよい。シンク側のインタフェース回路に、プルアップ回路および放電回路を追加することにより、ソースが接続されない状態においても、スタンドアローンで、CCピンとVBUSピンの間に付着する水分を検出できる。
 一実施形態において、判定部は、CCピンの電圧をデジタル値に変換するA/Dコンバータを含んでもよい。
 一実施形態において、判定部は、CCピンの電圧をしきい値と比較するコンパレータを含んでもよい。
 一実施形態において、USBインタフェース回路は、ひとつの半導体基板に一体集積化されてもよい。「一体集積化」とは、回路の構成要素のすべてが半導体基板上に形成される場合や、回路の主要構成要素が一体集積化される場合が含まれ、回路定数の調節用に一部の抵抗やキャパシタなどが半導体基板の外部に設けられていてもよい。回路を1つのチップ上に集積化することにより、回路面積を削減することができるとともに、回路素子の特性を均一に保つことができる。
 一実施形態に係る電子機器は、USB(Universal Serial Bus)Type-Cのシンクとなる。電子機器は、VBUSピン、CCピンを有するコネクタと、CCピンと接地の間に接続され、ノーマルプルダウン状態とハイインピーダンスプルダウン状態が切り換え可能なプルダウン回路と、プルダウン回路の状態を制御するとともに、CCピンの電圧にもとづいて、CCピンに付着する水分の有無を判定する判定部と、を備える。
 一実施形態において、判定部が水分があると判定すると、電子機器は、当該電子機器のユーザに通知してもよい。
(実施形態)
 以下、好適な実施形態について、図面を参照しながら説明する。各図面に示される同一または同等の構成要素、部材、処理には、同一の符号を付するものとし、適宜重複した説明は省略する。また、実施の形態は、開示および発明を限定するものではなく例示であって、実施の形態に記述されるすべての特徴やその組み合わせは、必ずしも開示および発明の本質的なものであるとは限らない。
 本明細書において、「部材Aが、部材Bと接続された状態」とは、部材Aと部材Bが物理的に直接的に接続される場合のほか、部材Aと部材Bが、それらの電気的な接続状態に実質的な影響を及ぼさない、もしくはそれらの結合により奏される機能や効果を損なわせない、その他の部材を介して間接的に接続される場合も含む。
 同様に、「部材Cが、部材Aと部材Bの間に接続された(設けられた)状態」とは、部材Aと部材C、もしくは部材Bと部材Cが直接的に接続される場合のほか、それらの電気的な接続状態に実質的な影響を及ぼさない、もしくはそれらの結合により奏される機能や効果を損なわせない、その他の部材を介して間接的に接続される場合も含む。
(実施形態1)
 図2は、実施形態1に係るUSBインタフェース回路400を備える電子機器300のブロック図である。電子機器300は、USB Type-Cのシンクとして動作可能である。電子機器300はコンピュータやタブレット端末、スマートホンなどであってもよい。
 電子機器300は、コネクタ302、USBインタフェース回路400、負荷回路310を備える。
 コネクタ302は、VBUSピン、CC1ピン、CC2ピン、GNDピンを有する。コネクタ302は、USBケーブルのプラグが挿入されるレセプタクルであってもよい。あるいは電子機器300が、USBメモリのようなデバイスの場合、コネクタ302は、プラグであってもよい。
 VBUSピンには、キャパシタC2が接続される。また負荷回路310は、コネクタ302のVBUSピンと接続され、バス電圧VBUSを電源として動作する。負荷回路310の機能や構成は特に限定されない。
 USBインタフェース回路400は、コネクタ302のCC1ピンおよびCC2ピンと接続される。CC1ピンおよびCC2ピンをCCピンと総称する。USBインタフェース回路400は、プルダウン回路410、判定部420を備える。USBインタフェース回路400は、ひとつの半導体基板に集積化された機能IC(Integrated Circuit)であってもよい。このようなICは、ポートコントローラと称される。
 プルダウン回路410は、コネクタ302のCCピン(CC1ピン、CC2ピン)と接地の間に接続され、CC1ピンおよびCC2ピンをプルダウンする。プルダウン回路410のインピーダンスは可変である。
 判定部420は、プルダウン回路410のインピーダンスを制御するとともに、CCピンの電圧、具体的には、CC1ピンの電圧V1と、CC2ピンの電圧V2にもとづいて、CC1ピン、CC2ピンに付着する水分の有無を判定する。
 プルダウン回路410のインピーダンスが、USB Type-C規格で規定されるプルダウン抵抗Rd(たとえば5.1kΩ)と等しいノーマルプルダウン状態と、プルダウン抵抗Rdよりも大きなインピーダンスであるハイインピーダンスプルダウン状態HiZが切り換え可能となっている。ハイインピーダンスプルダウン状態におけるプルダウン回路410のインピーダンス状態HiZは、Rdの10倍程度、またはそれより高くてもよい。たとえばHiZは、50kΩであってもよい。プルダウン回路410のハイインピーダンスプルダウン状態は、実質的にオープン(インピーダンスが無限大)であってもよい。
 図3は、一実施例に係るプルダウン回路410Aの回路図である。プルダウン回路410Aは、CC1ピンに対応する第1プルダウン回路412_1およびCC2ピンに対応する第2プルダウン回路412_2を含む。第1プルダウン回路412_1およびCC2ピンに対応する第2プルダウン回路412_2は同様に構成され、それぞれ、スイッチSW11,SW12、プルダウン抵抗Rd、ハイインピーダンス抵抗Rmoistを含む。ハイインピーダンス抵抗Rmoistは、ハイインピーダンス状態HiZに対応する抵抗値を有しており、プルダウン抵抗Rdよりも十分に高く、50kΩ程度、またはそれ以上とすることができる。
 ノーマルプルダウン状態では、スイッチSW11がオン、SW12がオフとなり、CCピンと接地の間には、プルダウン抵抗Rdが接続される。ハイインピーダンスプルダウン状態では、スイッチSW11がオフ、SW12がオンとなり、CCピンと接地の間には、ハイインピーダンス抵抗Rmoistが接続される。なお、スイッチSW11が省略されてもよく、プルダウン抵抗Rdは、常時、CCピンと接地の間に接続されていてもよい。
 図4は、一実施例に係るプルダウン回路410Bの構成例を示す回路図である。第1プルダウン回路412_1,第2プルダウン回路412_2はそれぞれ、図3のスイッチSW12およびハイインピーダンス抵抗Rmoistに代えて、オン(イネーブル)、オフ(ディセーブル)が切り替え可能な電流源CS1を含む。
 ノーマルプルダウン状態では、スイッチSW11がオン、電流源CS1がオフとなり、CCピンと接地の間には、プルダウン抵抗Rdが接続される。ハイインピーダンスプルダウン状態では、スイッチSW11がオフ、電流源CS1がオンとなり、CCピンと接地の間には、電流源CS1が接続される。
 図5は、一実施例に係るプルダウン回路410Cの構成例を示す回路図である。第1プルダウン回路412_1,第2プルダウン回路412_2はそれぞれ、可変抵抗Rvを含む。可変抵抗Rvの抵抗値は、ノーマルプルダウン状態における抵抗値(たとえば5.1kΩ)と、ハイインピーダンスプルダウン状態における抵抗値(たとえば500kΩ)の二値で切替可能である。
 図2に戻る。判定部420は、複数の状態φ1~φ6で遷移するステートマシン428を含む。
 ・φ1: SNK Moisture Detect
 水分を検出するための状態
 ・φ2: SNK Moisture Judge
 水分の有無を判定する状態
 ・φ3: SNK Moisture Detected
 水分が付着していると判定された状態
 ・φ4: AttachWait.SNK
 USB TypeC規格で規定される状態
 ・φ5: SNK Moisture Release
 水分が検出された後の判定を行う状態
 ・φ6 Error Recovery State
 USB TypeC規格で規定される状態
 図6は、判定部420の状態遷移図である。V#は、CC1ピンの電圧V1またはCC2ピンの電圧V2のいずれか一方を表す。
 判定部420は、第1状態φ1において、プルダウン回路410をハイインピーダンスHiZに設定する。判定部420は、CCピンの電圧V#が検出しきい値Vsnkdetを越えると、第2状態φ2に遷移する(S100)。
 第2状態φ2において、判定部420は、プルダウン回路410をノーマルプルダウン状態PullDnに切り換える。第2状態φ2において、判定部420は、CCピンの電圧V#が、所定電圧範囲vRd-Connectを超えると、水分があるものと判定し、第3状態φ3に遷移する(S102)。所定電圧範囲vRd-Connectの上限Vrdは、検出しきい値Vsnkdetより高く定められる。所定電圧範囲vRd-Connectの下限Vraは、最低しきい値Vminより高く定められる。
 第1状態φ1において、CCピンの電圧V#が、最低しきい値Vminより高く、検出しきい値Vsnkdetより低い場合には、水分があるものと判定し、第3状態φ3に遷移する(S104)。最低しきい値Vminは、検出しきい値Vsnkdetより低く定められており、たとえば200mVとすることができる。
 第3状態φ3は、水分が検出された状態である。判定部420は、第3状態φ3において、水分検出信号MOIST_DETをアサートする。判定部420は、第3状態φ3において、プルダウン回路410をハイインピーダンスHiZに設定する。これにより、ソースは、シンクを検出できなくなり、結果として、ソースからはバス電圧VBUSは出力されない。
 判定部420は、第2状態φ2において、CCピンの電圧V#が、所定電圧範囲vRd-Connectに含まれるとき、水分がないものと判定し、第4状態φ4に遷移する(S106)。第4状態φ4は、水分が付着していないことが確定した状態であり、USB Type-C規格におけるAttachWait.SNKステートに対応しており、プルダウン回路410は、ノーマルプルダウン状態PullDnである。
 第4状態φ4では、プルダウン回路410はノーマルプルダウン状態PullDn(Rd)となっているため、ソースのCCピンには、ソース側のプルアップ抵抗Rpとシンク側のプルダウン抵抗Rdで分圧された電圧が発生する。したがって第4状態φ4において、ソースは、シンクである電子機器300を検出することができる。
 第4状態φ4において、CCピンの電圧V#が、所定電圧範囲vRd-Connectより低くなると(V#<Vra)、第1状態φ1に戻る(S116)。
 第3状態φ3において、所定時間が経過すると、第5状態φ5に遷移する(S108)。第5状態φ5は、付着した水が消失したかどうかを確認するステートである。第5状態φ5でも、プルダウン回路410はハイインピーダンスプルダウン状態HiZに設定される。
 第5状態φ5において、CCピンの電圧V#が、解除しきい値Vsnkrelを超えると、第2状態φ2に遷移する(S110)。第5状態φ5において、CCピンの電圧V#が、解除しきい値Vsnkrelより低い場合において、Vmin<V#<Vsnkrelであるとき、水が残留しているものと判定され、第3状態φ3に戻る(S112)。第5状態φ5において、CCピンの電圧V#が最低しきい値Vminより低い場合、第6状態φ6に遷移する(S114)。第6状態φ6は、USB Type-C規格におけるErrorRecoveryStateである。
 図7は、一実施例に係る判定部420Aのブロック図である。判定部420Aは、マルチプレクサ422と、A/Dコンバータ424、電圧比較部426、ステートマシン428を含む。マルチプレクサ422は、マルチプレクサ422は、電圧V1、V2を受け、一方を選択する。A/Dコンバータ424は、マルチプレクサ422が選択した電圧V#をデジタル信号Dvに変換する。
 電圧比較部426は、デジタル信号Dvを、しきい値Vsnkdet,Vsnkrel,Vmin,Vra,Vrdと比較する。ステートマシン428は、電圧比較部426による比較結果に応じて、状態遷移する。
 図8は、一実施例に係る判定部420Bのブロック図である。この判定部420Bは、図7のA/Dコンバータ424および電圧比較部426に代えて、電圧コンパレータ427を含む。電圧コンパレータ427は、マルチプレクサ422の出力電圧V#をしきい値VTHと比較する。ステートマシン428は、電圧コンパレータ427の出力に応じて状態遷移する。またステートマシン428は、各状態において、電圧コンパレータ427のしきい値電圧VTHを切り換える。電圧コンパレータ427は、しきい値Vsnkdet,Vsnkrel,Vmin,Vra,Vrdごとに設けてもよい。
 図7や図8において、マルチプレクサ422を省略して、CC1ピンの電圧V1を監視する回路と、CC2ピンの電圧V2を監視する回路と、2系統設けてもよい。
 以上が電子機器300およびUSBインタフェース回路400の構成である。続いてその動作を説明する。
 図9は、水滴が付着していない状況における電子機器300の動作波形図である。時刻tより前において、USBインタフェース回路400は、第1状態φ1である。時刻tにソースが接続される。そうすると、CCピンの電圧V#が上昇し、検出しきい値Vsnkdetを超える。時刻tにV#>Vsnkdetと判定されると、第2状態φ2に遷移する。
 第2状態φ2に移行すると、CCピンがノーマルプルダウン状態となる。これにより、CCピンには、ソース側の電源電圧を抵抗Rp,Rdによって分圧した電圧が発生し、電圧範囲vRd-Connectに含まれる。時刻tに、Vra<V#<Vrdと判定されると、第4状態φ4に遷移する。時刻tにソースがシンクから取り外されると、CCピンの電圧が0Vまで低下する。時刻tにV#<Vraと判定されると、第1状態φ1に戻る。
 図10は、CCピンと電源ラインの間に水滴が付着している状況における電子機器300の動作波形図である。
 時刻tより前において、USBインタフェース回路400は、第1状態φ1である。時刻tにソースが接続される。そうすると、CCピンの電圧V#が上昇し、検出しきい値Vsnkdetを超える。時刻tにV#>Vsnkdetと判定されると、第2状態φ2に遷移する。
 第2状態φ2に移行すると、CCピンがノーマルプルダウン状態となる。CCピンが電源ラインとショートしていると、CCピンの電圧は、所定電圧範囲vRd-Connectの上限Vrdより高くなる。あるいは、TypeA-TypeC変換ケーブルを介して、TypeAの機器が、電子機器300に接続されている状況では、VBUSピンにはバス電圧VBUSが供給されているため、CCピンとVBUSピンの間に水滴が付着している状況でも同じ動作となる。時刻tに、Vrd<V#と判定されると、水滴が付着していると判定され、第3状態φ3に遷移する。
 時刻tにソースがシンクから取り外されると、CCピンの電圧が0Vまで低下する。所定時間経過したことをトリガとして、時刻tに第5状態φ5に遷移する。第5状態φ5において、V#<Vraと判定されると、時刻tに第6状態φ6に遷移する。
 図11は、CCピンとGNDピンの間に水滴が付着している状況における電子機器300の動作波形図である。
 時刻tより前において、USBインタフェース回路400は、第1状態φ1である。時刻tにソースが接続される。CCピンが水滴によってGNDピンとショートしていると、CCピンの電圧V#は、検出しきい値Vsnkdetを超えない。時刻tにV#<Vsnkdetと判定されると、水滴が存在するものと判定され、第3状態φ3に遷移する。
 時刻tにソースがシンクから取り外されると、CCピンの電圧が0Vまで低下する。所定時間経過したことをトリガとして、時刻tに第5状態φ5に遷移する。第5状態φ5において、V#<Vraと判定されると、時刻tに第6状態φ6に遷移する。
 以上がUSBインタフェース回路400の動作である。このUSBインタフェース回路400によれば、水滴が付着していないと判定された後に、はじめてプルダウン回路410がノーマルプルダウン状態に遷移し、USBインタフェース回路400がソースによって検出可能となる。したがって、水滴が付着している可能性がある状況では、給電が開始しないため、腐食を防止でき、また無駄な電力消費を抑制できる。
 電子機器300は、判定部420によって水分が検出されると、電子機器300のユーザに通知してもよい。たとえば電子機器300は、そのユーザに、ケーブルを取り外して充電を中止することを促すことができる。
(実施形態2)
 図12は、実施形態2に係るUSBインタフェース回路400Dを備える電子機器300Dのブロック図である。実施形態1で説明したUSBインタフェース回路(図2の400)では、ソースが接続された状態においてのみ、水滴の付着を検出することができた。これに対して実施形態2に係るUSBインタフェース回路400Dは、ソースが接続されない状態において、シンクすなわち電子機器300D単独で、水滴の有無を検出する。
 USBインタフェース回路400Dは、プルアップ回路430Dをさらに備える。プルアップ回路430Dは、イネーブル状態、ディセーブル状態が切り替え可能であり、イネーブル状態においてCCピンに電流をソース可能に構成される。
 プルアップ回路430Dは、第1プルアップ回路432_1、第2プルアップ回路432_2を含む。第1プルアップ回路432_1、第2プルアップ回路432_2はそれぞれ、電流源CS2を含む。イネーブル状態において、電流源CS2は、対応するCCピンに電流Ipを供給可能である。
 USBインタフェース回路400Dにおいて、判定部420Dのステートマシン428Dは、上述の第1状態φ1~第6状態φ6に加えて、第7状態φ7をとることができる。判定部420Dは、第7状態φ7においてプルアップ回路430Dをイネーブルとする。
 第7状態φ7において、プルダウン回路410はディセーブル状態となる。たとえば、図3のプルダウン回路410の場合、ディセーブル状態において、スイッチSW11,SW12は両方オフであってもよい。あるいは、プルダウン回路410のディセーブル状態は、スイッチSW11がオフ、スイッチSW12がオンであるハイインピーダンスプルダウン状態であってもよい。
 以上が電子機器300Dの構成である。続いてその動作を説明する。CCピンに水滴が付着していない状態では、第7状態φ7において、CC#ピンの電圧V#は、電源電圧付近の電圧レベルをとる。判定部420Dは、V#が所定のしきい値電圧より高いとき、水滴が付着していないものと判定する。
 CCピンと接地の間に水滴が付着している状態では、第7状態φ7において、CC#ピンの電圧V#は、電源電圧付近の電圧より低くなる。判定部420Dは、V#が所定のしきい値電圧より低いとき、水滴が付着しているものと判定できる。
 このように、実施形態2に係るUSBインタフェース回路400Dによれば、ソースが接続されていない状態においても、スタンドアローンで、水滴の付着を検出できる。
 電流源CS2は、可変電流源であってもよい。この場合、判定部420Dは、電流源CS2が生成する電流Ipを変化させ、電流量とCCピンの電圧V#の関係にもとづいて、水滴の付着を判定してもよい。
 図13は、別の構成例に係るプルアップ回路430Eの回路図である。第1プルアップ回路432_1、第2プルアップ回路432_2はそれぞれ、直列に接続されたプルアップ抵抗RpuおよびスイッチSW2を含む。
 第7状態φ7では、スイッチSW2がオンとなる。これにより、CCピンがプルアップ抵抗Rpuを介して電源ラインVDDにプルアップされ、CCピンに電流Ipをソース可能な状態となる。この構成例によっても、スタンドアローンで水滴の付着を検出できる。
 プルアップ抵抗Rpuは、可変抵抗であってもよい。この場合、判定部420Dは、プルアップ抵抗Rpuの抵抗値を変化させ、抵抗値とCCピンの電圧V#の関係にもとづいて、水滴の付着を判定してもよい。
(実施形態3)
 図14は、実施形態3に係るUSBインタフェース回路400Eを備える電子機器300Eのブロック図である。実施形態2では、スタンドアローンで、CCピンと接地の間に付着する水滴を検出可能なUSBインタフェース回路400Dについて説明した。これに対して、実施形態3に係るUSBインタフェース回路400Eは、スタンドアローンで、CCピンとVBUSピンの間に付着する水滴を検出可能である。
 USBインタフェース回路400Eは、放電ピンDISおよび放電回路440Eをさらに備える。放電ピンDISは、VBUSピンと接続される。この実施形態では、放電ピンDISは、放電抵抗Rdisを介してVBUSピンと接続されている。
 放電回路440Eは、放電ピンDISおよび放電抵抗Rdisを介して、VBUSピンと接続される。放電回路440Eは、イネーブル状態とディセーブル状態が切り替え可能であり、イネーブル状態において、VBUSピンと接地の間を導通させる。放電回路440Eは、スイッチSW3を含む。放電抵抗Rdisは、USBインタフェース回路400Eに集積化してもよい。
 判定部420Eのステートマシン428Eは、第1状態φ1~第8状態φ8をとることができる。判定部420Eは、第8状態φ8においてプルアップ回路430Dおよび放電回路440Eをイネーブル、プルダウン回路410をディセーブルとする。
 判定部420Eは、第8状態φ8において、CCピンCC#の電圧V#にもとづいて、CC#ピンとVBUSピンの間に付着する水分の有無を判定する。
 以上が電子機器300Eの構成である。続いてその動作を説明する。CCピンに水滴が付着していない状態では、第8状態φ8において、CC#ピンの電圧V#は、電源電圧付近の電圧レベルをとる。判定部420Eは、電圧V#が所定のしきい値電圧より高いとき、水滴が付着していないものと判定する。
 CCピンとVBUSピンの間に水滴が付着している状態では、CC#ピンは、水滴、VBUSピン、放電抵抗Rdis、スイッチSW3を介して、接地と接続されるため、CC#ピンの電圧V#は、接地電圧付近の電圧レベルをとる。判定部420Eは、電圧V#が所定のしきい値電圧より高いとき、水滴が付着しているものと判定する。
 実施形態3によれば、スタンドアローンで、CCピンとVBUSピンの間に付着する水滴を検出できる。
(変形例)
 上述した実施形態は例示であり、それらの各構成要素や各処理プロセスの組み合わせにいろいろな変形例が可能なことが当業者に理解される。以下、こうした変形例について説明する。
(変形例1)
 実施形態では、判定部420(420A~420E)が、プルダウン回路410と同じIC(ポートコントローラ)に集積化されたがその限りでない。たとえば判定部420は、ポートコントローラとは別のマイクロコントローラに実装してもよい。
(変形例2)
 実施形態では、判定部420(420A~420E)が、複数の状態φ1~φ6(φ1~φ8)を遷移可能としたが、判定部420が取り得る状態や、状態遷移の順序は、実施形態で説明したものに限定されない。本開示の範囲は、プルダウン回路410のインピーダンスが少なくとも2状態で切替可能であり、各状態においてCCピンに生ずる電圧にもとづいて、液体の付着を検出する様々な構成を包含する。
 実施形態は例示であり、それらの各構成要素や各処理プロセスの組み合わせにさまざまな変形例が存在すること、またそうした変形例も本開示または本発明の範囲に含まれることは当業者に理解されるところである。
(付記)
 本開示には、以下の技術が開示される。
(項目1)
 USB(Universal Serial Bus)Type-Cのシンクとなる機器に搭載されるUSBインタフェース回路であって、
 コネクタのCCピンと接地の間に接続され、ノーマルプルダウン状態とハイインピーダンスプルダウン状態が切り換え可能なプルダウン回路と、
 前記プルダウン回路の状態を制御するとともに、前記CCピンの電圧にもとづいて、前記CCピンに付着する水分の有無を判定する判定部と、
 を備える、USBインタフェース回路。
(項目2)
 前記判定部は、第1状態において、前記プルダウン回路を前記ハイインピーダンスプルダウン状態に設定し、前記CCピンの電圧が検出しきい値を越えると第2状態に遷移し、前記第2状態において前記プルダウン回路を前記ノーマルプルダウン状態に設定する、項目1に記載のUSBインタフェース回路。
(項目3)
 前記判定部は、
 前記第2状態において、前記CCピンの電圧が、所定電圧範囲を越えると、前記水分があるものと判定し、第3状態に遷移する、項目2に記載のUSBインタフェース回路。
(項目4)
 前記判定部は、前記第3状態において、前記プルダウン回路を前記ハイインピーダンスプルダウン状態に設定する、項目3に記載のUSBインタフェース回路。
(項目5)
 前記判定部は、前記第2状態において、前記CCピンの電圧が、前記所定電圧範囲に含まれるとき、前記水分がないものと判定し、第4状態に遷移し、前記第4状態において、前記プルダウン回路を前記ノーマルプルダウン状態に設定する、項目3または4に記載のUSBインタフェース回路。
(項目6)
 前記判定部は、前記第1状態において、前記CCピンの電圧が、前記検出しきい値より低く定められた最低しきい値より高く、前記検出しきい値より低いときに、前記水分があるものと判定し、第3状態に遷移する、項目2から5のいずれかに記載のUSBインタフェース回路。
(項目7)
 前記判定部は、前記第3状態において所定時間が経過すると、第5状態に遷移し、前記第5状態において、前記CCピンの電圧が解除しきい値を超えると、前記第2状態に遷移する、項目3から5のいずれかに記載のUSBインタフェース回路。
(項目8)
 前記判定部は、前記第5状態において、前記CCピンの電圧が最低しきい値より低いとき、第6状態に遷移し、前記CCピンの電圧が前記最低しきい値より高いとき、前記第3状態に遷移する、項目7に記載のUSBインタフェース回路。
(項目9)
 前記プルダウン回路は、
 前記ノーマルプルダウン状態において、前記CCピンと前記接地の間に接続されるプルダウン抵抗と、
 前記ハイインピーダンスプルダウン状態において、前記CCピンと前記接地の間に接続されるハイインピーダンス抵抗と、
 を含む、項目1から8のいずれかに記載のUSBインタフェース回路。
(項目10)
 前記プルダウン回路は、
 前記ノーマルプルダウン状態において、前記CCピンと前記接地の間に接続されるプルダウン抵抗と、
 前記ハイインピーダンスプルダウン状態において、前記CCピンと前記接地の間に接続される電流源と、
 を含む、項目1から8のいずれかに記載のUSBインタフェース回路。
(項目11)
 前記プルダウン回路は、
 前記CCピンと前記接地の間に接続されており、前記ノーマルプルダウン状態において第1抵抗値を有し、前記ハイインピーダンスプルダウン状態において前記第1抵抗値より大きい第2抵抗値を有する可変抵抗を含む、項目2から8のいずれかに記載のUSBインタフェース回路。
(項目12)
 イネーブル状態とディセーブル状態が切り替え可能であり、イネーブル状態において、前記CCピンに電流をソース可能なプルアップ回路をさらに備え、
 第7状態において、前記判定部は、前記プルダウン回路をディセーブル状態とし、前記プルアップ回路をイネーブル状態とし、前記CCピンの電圧にもとづいて、前記CCピンに付着する水分の有無を判定する、項目1から11のいずれかに記載のUSBインタフェース回路。
(項目13)
 前記プルアップ回路は、前記イネーブル状態において、前記CCピンに電流をソースする電流源を含む、項目12に記載のUSBインタフェース回路。
(項目14)
 前記プルアップ回路は、前記イネーブル状態において、前記CCピンと電源ラインの間に接続可能なプルアップ抵抗を含む、項目12に記載のUSBインタフェース回路。
(項目15)
 イネーブル状態とディセーブル状態が切りかえ可能であり、前記イネーブル状態において前記コネクタのVBUSピンと接地の間を導通させる放電回路をさらに備え、
 前記判定部は、第8状態において、前記プルアップ回路をイネーブル状態とし、前記プルダウン回路をディセーブル状態とし、前記放電回路をイネーブル状態とし、前記CCピンの電圧にもとづいて、前記CCピンと前記VBUSピンの間に付着する水分の有無を判定する、項目12に記載のUSBインタフェース回路。
(項目16)
 前記判定部は、前記CCピンの電圧をデジタル値に変換するA/Dコンバータを含む、項目1から14のいずれかに記載のUSBインタフェース回路。
(項目17)
 前記判定部は、前記CCピンの電圧をしきい値と比較するコンパレータを含む、項目1から14のいずれかに記載のUSBインタフェース回路。
(項目18)
 ひとつの半導体基板に一体集積化される、項目1から16のいずれかに記載のUSBインタフェース回路。
(項目19)
 USB(Universal Serial Bus)Type-Cのシンクとなる電子機器であって、
 VBUSピン、CCピンを有するコネクタと、
 前記CCピンと接地の間に接続され、ノーマルプルダウン状態とハイインピーダンスプルダウン状態が切り換え可能なプルダウン回路と、
 前記プルダウン回路の状態を制御するとともに、前記CCピンの電圧にもとづいて、前記CCピンに付着する水分の有無を判定する判定部と、
 を備える、電子機器。
(項目20)
 前記判定部は、第1状態において、前記プルダウン回路を前記ハイインピーダンスプルダウン状態に設定し、前記CCピンの電圧が検出しきい値を越えると、前記プルダウン回路を低インピーダンスに切り換えて第2状態に遷移する、項目19に記載の電子機器。
(項目21)
 前記判定部が、前記水分があると判定すると、前記電子機器のユーザに通知する、項目19または20に記載の電子機器。
 本開示は、USBインタフェース回路に関する。
 300 電子機器
 302 コネクタ
 310 負荷回路
 400 USBインタフェース回路
 410 プルダウン回路
 412_1 第1プルダウン回路
 412_2 第2プルダウン回路
 SW11,SW12 スイッチ
 Rd プルダウン抵抗
 Rmoist ハイインピーダンス抵抗
 CS1 電流源
 Rv 可変抵抗
 420 判定部
 422 マルチプレクサ
 424 A/Dコンバータ
 426 電圧比較部
 427 電圧コンパレータ
 428 ステートマシン
 430 プルアップ回路
 432_1 第1プルアップ回路
 432_2 第2プルアップ回路
 CS2 電流源
 SW2 スイッチ
 Rpu プルアップ抵抗
 440 放電回路
 SW3 スイッチ
 Rdis 放電抵抗

Claims (21)

  1.  USB(Universal Serial Bus)Type-Cのシンクとなる機器に搭載されるUSBインタフェース回路であって、
     コネクタのCCピンと接地の間に接続され、ノーマルプルダウン状態とハイインピーダンスプルダウン状態が切り換え可能なプルダウン回路と、
     前記プルダウン回路の状態を制御するとともに、前記CCピンの電圧にもとづいて、前記CCピンに付着する水分の有無を判定する判定部と、
     を備える、USBインタフェース回路。
  2.  前記判定部は、第1状態において、前記プルダウン回路を前記ハイインピーダンスプルダウン状態に設定し、前記CCピンの電圧が検出しきい値を越えると第2状態に遷移し、前記第2状態において前記プルダウン回路を前記ノーマルプルダウン状態に設定する、請求項1に記載のUSBインタフェース回路。
  3.  前記判定部は、
     前記第2状態において、前記CCピンの電圧が、所定電圧範囲を越えると、前記水分があるものと判定し、第3状態に遷移する、請求項2に記載のUSBインタフェース回路。
  4.  前記判定部は、前記第3状態において、前記プルダウン回路を前記ハイインピーダンスプルダウン状態に設定する、請求項3に記載のUSBインタフェース回路。
  5.  前記判定部は、前記第2状態において、前記CCピンの電圧が、前記所定電圧範囲に含まれるとき、前記水分がないものと判定し、第4状態に遷移し、前記第4状態において、前記プルダウン回路を前記ノーマルプルダウン状態に設定する、請求項3または4に記載のUSBインタフェース回路。
  6.  前記判定部は、前記第1状態において、前記CCピンの電圧が、前記検出しきい値より低く定められた最低しきい値より高く、前記検出しきい値より低いときに、前記水分があるものと判定し、第3状態に遷移する、請求項2から4のいずれかに記載のUSBインタフェース回路。
  7.  前記判定部は、前記第3状態において所定時間が経過すると、第5状態に遷移し、前記第5状態において、前記CCピンの電圧が解除しきい値を超えると、前記第2状態に遷移する、請求項3または4に記載のUSBインタフェース回路。
  8.  前記判定部は、前記第5状態において、前記CCピンの電圧が最低しきい値より低いとき、第6状態に遷移し、前記CCピンの電圧が前記最低しきい値より高いとき、前記第3状態に遷移する、請求項7に記載のUSBインタフェース回路。
  9.  前記プルダウン回路は、
     前記ノーマルプルダウン状態において、前記CCピンと前記接地の間に接続されるプルダウン抵抗と、
     前記ハイインピーダンスプルダウン状態において、前記CCピンと前記接地の間に接続されるハイインピーダンス抵抗と、
     を含む、請求項1から4のいずれかに記載のUSBインタフェース回路。
  10.  前記プルダウン回路は、
     前記ノーマルプルダウン状態において、前記CCピンと前記接地の間に接続されるプルダウン抵抗と、
     前記ハイインピーダンスプルダウン状態において、前記CCピンと前記接地の間に接続される電流源と、
     を含む、請求項1から4のいずれかに記載のUSBインタフェース回路。
  11.  前記プルダウン回路は、
     前記CCピンと前記接地の間に接続されており、前記ノーマルプルダウン状態において第1抵抗値を有し、前記ハイインピーダンスプルダウン状態において前記第1抵抗値より大きい第2抵抗値を有する可変抵抗を含む、請求項2から4のいずれかに記載のUSBインタフェース回路。
  12.  イネーブル状態とディセーブル状態が切り替え可能であり、イネーブル状態において、前記CCピンに電流をソース可能なプルアップ回路をさらに備え、
     第7状態において、前記判定部は、前記プルダウン回路をディセーブル状態とし、前記プルアップ回路をイネーブル状態とし、前記CCピンの電圧にもとづいて、前記CCピンと接地の間に付着する水分の有無を判定する、請求項1から4のいずれかに記載のUSBインタフェース回路。
  13.  前記プルアップ回路は、前記イネーブル状態において、前記CCピンに電流をソースする電流源を含む、請求項12に記載のUSBインタフェース回路。
  14.  前記プルアップ回路は、前記イネーブル状態において、前記CCピンと電源ラインの間に接続可能なプルアップ抵抗を含む、請求項12に記載のUSBインタフェース回路。
  15.  イネーブル状態とディセーブル状態が切りかえ可能であり、前記イネーブル状態において前記コネクタのVBUSピンと接地の間を導通させる放電回路をさらに備え、
     前記判定部は、第8状態において、前記プルアップ回路をイネーブル状態とし、前記プルダウン回路をディセーブル状態とし、前記放電回路をイネーブル状態とし、前記CCピンの電圧にもとづいて、前記CCピンと前記VBUSピンの間に付着する水分の有無を判定する、請求項12に記載のUSBインタフェース回路。
  16.  前記判定部は、前記CCピンの電圧をデジタル値に変換するA/Dコンバータを含む、請求項1から4のいずれかに記載のUSBインタフェース回路。
  17.  前記判定部は、前記CCピンの電圧をしきい値と比較するコンパレータを含む、請求項1から4のいずれかに記載のUSBインタフェース回路。
  18.  ひとつの半導体基板に一体集積化される、請求項1から4のいずれかに記載のUSBインタフェース回路。
  19.  USB(Universal Serial Bus)Type-Cのシンクとなる電子機器であって、
     VBUSピン、CCピンを有するコネクタと、
     前記CCピンと接地の間に接続され、ノーマルプルダウン状態とハイインピーダンスプルダウン状態が切り換え可能なプルダウン回路と、
     前記プルダウン回路の状態を制御するとともに、前記CCピンの電圧にもとづいて、前記CCピンに付着する水分の有無を判定する判定部と、
     を備える、電子機器。
  20.  前記判定部は、第1状態において、前記プルダウン回路を前記ハイインピーダンスプルダウン状態に設定し、前記CCピンの電圧が検出しきい値を越えると、前記プルダウン回路を低インピーダンスに切り換えて第2状態に遷移する、請求項19に記載の電子機器。
  21.  前記判定部が、前記水分があると判定すると、前記電子機器のユーザに通知する、請求項19または20に記載の電子機器。
PCT/JP2023/020068 2022-06-03 2023-05-30 Usbインタフェース回路、電子機器 WO2023234288A1 (ja)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2022-090749 2022-06-03
JP2022090749 2022-06-03

Publications (1)

Publication Number Publication Date
WO2023234288A1 true WO2023234288A1 (ja) 2023-12-07

Family

ID=89024802

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2023/020068 WO2023234288A1 (ja) 2022-06-03 2023-05-30 Usbインタフェース回路、電子機器

Country Status (1)

Country Link
WO (1) WO2023234288A1 (ja)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016139295A (ja) * 2015-01-28 2016-08-04 京セラ株式会社 電子機器、電源アダプタ、および充電システム
JP2016218972A (ja) * 2015-05-26 2016-12-22 株式会社バッファロー Usbハブ装置
JP2018011442A (ja) * 2016-07-13 2018-01-18 ローム株式会社 受電装置およびその制御回路、電子機器、給電システムの動作方法
JP2020004265A (ja) * 2018-06-29 2020-01-09 キヤノン株式会社 電子機器及び電子機器の制御方法及び撮像装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016139295A (ja) * 2015-01-28 2016-08-04 京セラ株式会社 電子機器、電源アダプタ、および充電システム
JP2016218972A (ja) * 2015-05-26 2016-12-22 株式会社バッファロー Usbハブ装置
JP2018011442A (ja) * 2016-07-13 2018-01-18 ローム株式会社 受電装置およびその制御回路、電子機器、給電システムの動作方法
JP2020004265A (ja) * 2018-06-29 2020-01-09 キヤノン株式会社 電子機器及び電子機器の制御方法及び撮像装置

Similar Documents

Publication Publication Date Title
JP6838879B2 (ja) 受電装置およびその制御回路、電子機器、給電システムの動作方法
US11095119B2 (en) Corrosion mitigation for an external connector of an electronic device
TWI618356B (zh) 上電控制電路及應用其之行動電源裝置
US20210273462A1 (en) Open cell detection method and open cell recovery detection method in a battery management system
US8527782B2 (en) Power hub
US9092207B2 (en) Circuit for supplementing electrical current to a peripheral device
JP6641388B2 (ja) Usbコントローラesd保護装置及び方法
US8725910B1 (en) Cable connection detection for electronic devices
JPH0870538A (ja) 電子機器用電源装置及びその制御方法
TW200941201A (en) Delay circuit with reset feature
WO2005083865A1 (en) Battery connection detection circuit
TWI626661B (zh) 資料儲存裝置以及其備用電力來源的儲電能力監控方法
EP3683688B1 (en) Corrosion protection circuit for serial bus connector
JP2011097772A (ja) バッテリ状態監視回路及びバッテリ装置
US9236752B2 (en) Method and system for voltage collapse protection
JP2017033461A (ja) リバーシブルケーブルの検出回路、検出方法およびそれを用いたホスト・デバイスのデュアルロールデバイス
EP2365602A2 (en) Battery pack charger
JP6553346B2 (ja) 過電流検出回路およびそれを利用したusb給電装置、電子機器、過電流検出方法
WO2023234288A1 (ja) Usbインタフェース回路、電子機器
US11569655B2 (en) Power delivery system and related method of detecting overcurrent and failure
WO2020196173A1 (ja) 半導体集積回路
WO2023151376A1 (zh) 电火花消除电路、电源适配器及电子设备
CN108631377B (zh) 上电控制电路及应用其的移动电源装置
WO2023234268A1 (ja) Usbインタフェース回路、電子機器
CN108400781B (zh) 功率开关装置及其操作方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23816045

Country of ref document: EP

Kind code of ref document: A1