Search

CN-113300423-B - Connector and power supply control method applied to connector

CN113300423BCN 113300423 BCN113300423 BCN 113300423BCN-113300423-B

Abstract

Embodiments of the present specification provide a connector. The connector includes first to third interfaces, a switching circuit, a power supply device control circuit, and an interface control circuit. The first to third interfaces are used for connecting the master device, the slave device and the power supply device, respectively. The switch circuit is connected with the first interface, the second interface, the third interface and the interface control circuit. The power supply device control circuit is connected with the third interface and the interface control circuit. In response to detecting that the power supply device is plugged into the third interface, the power supply device control circuit detects a power supply output power of the power supply device and determines a power supply control command according to the power supply output power, a charging required power of the master device, and an operating power of the slave device. The interface control circuit performs switch control on the switch circuit according to the power supply control command to control the power supply of the power supply equipment to the master equipment and the slave equipment. By using the connector, the external power supply equipment can supply power to the master equipment and the slave equipment efficiently.

Inventors

  • MA YUE

Assignees

  • 闪耀现实(无锡)科技有限公司

Dates

Publication Date
20260505
Application Date
20210601

Claims (11)

  1. 1.A connector, comprising: The first interface is used for connecting with the main equipment; the second interface is used for connecting the slave terminal equipment, and the slave terminal equipment is powered by the master equipment or the power supply equipment when in operation; A signal transmission line connected between the first interface and the second interface, configured to perform data signal transmission and signaling signal transmission between the master device and the slave device, and the master device providing content output for the slave device through the signal transmission line when the master device and the slave device operate cooperatively; a third interface for connecting to a power supply device; The switching circuit is connected with the first interface, the second interface and the third interface and comprises a first switching circuit connected between a power supply port of the first interface and the third switching circuit, a second switching circuit connected between a power supply port of the second interface and an intermediate connection point of the first switching circuit and the third switching circuit, and a third switching circuit connected between the power supply ports of the first interface and the third interface; a power supply device control circuit connected to the third interface, configured to detect a power supply output power of the power supply device in response to detection of insertion of the power supply device into the third interface, and determine a power supply control command of the power supply device for the master device and the slave device based on the power supply output power, a charging required power of the master device, and an operating power of the slave device, and An interface control circuit connected to the switching circuit and the power supply device control circuit, configured to control power supply of the power supply device to the master device and the slave device by performing switching control on the switching circuit according to the power supply control command in response to receiving the power supply control command from the power supply device control circuit; The power supply device control circuit determines a power supply control command of the power supply device for the master device and the slave device according to the power supply output power, the power required by charging of the master device and the working power of the slave device, and is specifically configured to: Determining a power supply control command for indicating to supply power to the master device and the slave device simultaneously when the power supply output power of the power supply device is not lower than the sum of the power supply required by the charging of the master device and the operating power of the slave device or when the power supply output power of the power supply device is not lower than the sum of the power supply required by the charging of the master device and the operating power of the slave device and the master device has a power supply requirement; Determining a power supply control command for indicating to supply power to the slave end device and not to supply power to the master device when the power supply output power of the power supply device is lower than the sum of the power required for charging of the master device and the operating power of the slave end device and not lower than the operating power of the slave end device, or when the power supply output power of the power supply device is not lower than the sum of the power required for charging of the master device and the operating power of the slave end device and the master device has no power supply requirement; Determining a power supply control command for indicating to supply power to the master device and not to supply power to the slave device when the power supply output power of the power supply device is lower than the operating power of the slave device and not lower than the charging required power of the master device or when the power supply output power of the power supply device is lower than the operating power of the slave device and not lower than the charging required power of the master device and the master device has a power supply demand; Determining a power supply control command for indicating that the master device and the slave device are not supplied with power when the power supply output power of the power supply device is lower than the power required for charging of the master device or when the power supply output power of the power supply device is lower than the operating power of the slave device but not lower than the power required for charging of the master device and the master device has no power supply requirement; the interface control circuit performs switch control on the switch circuit according to the power supply control command, and is specifically configured to: The power supply control command is used for indicating to close the first switch circuit, the second switch circuit and the third switch circuit when the master device and the slave device are simultaneously powered; The power supply control command is used for indicating that the first switch circuit is opened and the second switch circuit and the third switch circuit are closed when the slave terminal device is powered and the master device is not powered; The power supply control command is used for indicating that the first switch circuit and the third switch circuit are closed and the second switch circuit is opened when the master device is powered and the slave device is not powered; the power supply control command is used for indicating that the third switching circuit is disconnected when the master device and the slave device are not powered.
  2. 2. The connector of claim 1, wherein the power device control circuit determines that the master device has a power demand by: Negotiating a determination with the master device based on a power difference of a power supply output power of the power supply device and an operating power of the slave device, Pre-consulting with the master device to define, or Is determined in response to receiving a power supply request of the master device.
  3. 3. The connector of claim 1, wherein a data transmission rate of the signal transmission line is not lower than 5Gbps, the connector further comprising: a first signal equalizing circuit, a first clock data recovering circuit, and a first signal transmitting circuit connected in sequence between the first interface and the second interface via the signal transmission line, and/or And a second signal equalizing circuit, a second clock data recovery circuit, and a second signal transmitting circuit connected in sequence between the second interface and the first interface via the signal transmission line.
  4. 4. The connector of claim 1, wherein the first interface and the second interface are Type C interfaces, the signal transmission line includes a first USB signal line, a second USB signal line, and a DP signal line, the first USB signal line and the second USB signal line being for enabling bidirectional communication between the master device and the slave device, the DP signal line being for enabling unidirectional communication from the master device to the slave device, a data transmission rate of the first USB signal line and the DP signal line being not lower than 5Gbps, a data transmission rate of the second USB signal line being lower than 5Gbps, and the second USB signal line being connected between the first interface and the second interface, The connector further includes: A first signal equalizing circuit, a first clock data recovering circuit, and a first signal transmitting circuit connected in sequence between the first interface and the second interface via the first USB signal line and the DP signal line, and/or And a second signal equalization circuit, a second clock data recovery circuit, and a second signal transmission circuit connected in sequence between the second interface and the first interface via the first USB signal line and the DP signal line.
  5. 5. The connector of claim 4, further comprising: And a channel switching circuit connected between the first clock data recovery circuit and the first signal transmission circuit and between the second clock data recovery circuit and the second signal transmission circuit via the first USB signal line and/or the DP signal line, and configured to perform channel switching processing on the first USB signal line and the DP signal line according to a forward/reverse plug state of the master device and the slave device.
  6. 6. The connector of claim 5, wherein the interface control circuit has two control ports supporting PD protocols, one control port being connected to the CC signal terminals of the first interface via one signal line and the other control port being connected to the two CC signal terminals of the second interface via two signal lines, The interface control circuit determines a forward and reverse plug state between the master device and the slave device according to CC signals received from CC signal terminals of the first interface and the second interface.
  7. 7. The connector of claim 1, wherein the first interface, the second interface, and/or the third interface is one of: Type A interface, type B interface, type C interface, micro USB interface, mini USB interface and Lighting interface.
  8. 8. A power supply control method applied to a connector including a first interface, a second interface, and a third interface for connecting a master device, a slave device, and a power supply device, respectively, a signal transmission line connected between the first interface and the second interface, a switching circuit connected to the first interface, the second interface, and the third interface, the switching circuit including a first switching circuit connected between a power supply port of the first interface and the third switching circuit, a second switching circuit connected between a power supply port of the second interface and an intermediate connection point of the first switching circuit and the third switching circuit, and a third switching circuit connected between the first interface and a power supply port of the third interface, a power supply device control circuit connected to the third interface, an interface control circuit connected to the switching circuit and the power supply device control circuit, the slave device being operated by the master device or the power supply device, the slave device being operated by the master device, and the slave device being provided with a signal through a cooperation when the master device and the second interface connected to the first interface are operated by the master device, the slave device including an output device, the method including: At the control circuit of the power supply device, Detecting a power supply output power of the power supply device in response to detecting that the power supply device is plugged into the third interface; Determining a power supply control command of the power supply device for the master device and the slave device according to the power supply output power, the power required for charging the master device and the working power of the slave device, and Transmitting the power supply control command to the interface control circuit; at the interface control circuitry of the present invention, In response to receiving the power supply control command, performing switch control on the switch circuit according to the power supply control command so as to control the power supply equipment to supply power to the master equipment and the slave equipment; wherein determining a power supply control command of the power supply device for the master device and the slave device according to the power supply output power, the power required for charging of the master device and the working power of the slave device, includes: determining a power supply control command for instructing to supply power to the master device and the slave device simultaneously when a power supply output power of the power supply device is not lower than a sum of a power required for charging of the master device and an operating power of the slave device, or when a power supply output power of the power supply device is not lower than a sum of a power required for charging of the master device and an operating power of the slave device and the master device has a power supply demand, Determining a power supply control command for indicating to supply power to the slave end device and not to supply power to the master device when the power supply output power of the power supply device is lower than the sum of the power required for charging of the master device and the operating power of the slave end device and not lower than the operating power of the slave end device, or when the power supply output power of the power supply device is not lower than the sum of the power required for charging of the master device and the operating power of the slave end device and the master device has no power supply requirement; Determining a power supply control command for indicating to supply power to the master device and not to supply power to the slave device when the power supply output power of the power supply device is lower than the operating power of the slave device and not lower than the charging required power of the master device or when the power supply output power of the power supply device is lower than the operating power of the slave device and not lower than the charging required power of the master device and the master device has a power supply demand; When the power supply output power of the power supply device is lower than the working power of the slave terminal device but not lower than the power required by charging of the master device and the master device has no power supply requirement, or when the power supply output power of the power supply device is lower than the power required by charging of the master device, determining a power supply control command for indicating not to supply power to the master device and the slave terminal device, wherein on the interface control circuit side, in response to receiving the power supply control command, performing switch control on the switch circuit according to the power supply control command to control the power supply of the power supply device to the master device and the slave terminal device, comprising: Closing the first, second and third switching circuits when the power supply control command is used for indicating that the master device and the slave device are simultaneously powered; Opening the first switching circuit and closing the second switching circuit and the third switching circuit when the power supply control command is used for indicating that the slave device is supplied with power and the master device is not supplied with power; closing the first and third switching circuits and opening the second switching circuit when the power supply control command is for instructing to supply power to the master device and not to supply power to the slave device; and when the power supply control command is used for indicating that the master device and the slave device are not powered, the third switching circuit is disconnected.
  9. 9. An electronic device, comprising: At least one processor; memory, and Computer program stored on the memory, the at least one processor executing the computer program to implement the power supply control method of claim 8.
  10. 10. A computer-readable storage medium storing a computer program which, when executed by a processor, implements the power supply control method according to claim 8.
  11. 11. A computer program product comprising a computer program which, when executed by a processor, implements the power supply control method of claim 8.

Description

Connector and power supply control method applied to connector Technical Field Embodiments of the present disclosure relate to the field of connectors, and in particular, to a connector and a power supply control method applied to the connector. Background In some application scenarios, a master device is required to work in concert with one or more slave devices to accomplish a desired task. In this application scenario, the master device acts as a source (Downstream Facing Port, DFP) device and the slave device acts as a slave (Upstream Facing Port, UFP) device. The DFP device has data processing capabilities and can provide content output, e.g. data processing results, content to be presented, etc., for the UFP device. The DFP device also has power supplying capabilities to power other devices, such as UFP devices. Furthermore, the master device may also act as a UFP device, powered or charged by other power supply devices. Examples of host devices may include cell phones, computers, smart terminal devices, and the like. UFP devices do not have power supply capability themselves and need to be powered on after power is obtained from e.g. a DFP device or other power supply device. Examples of UFP devices may include virtual reality devices, augmented reality devices, etc., such as AR glasses, etc. When the master device and the plurality of slave devices work cooperatively, the master device needs to maintain the operation of the master device by utilizing the power supply capability of the master device to provide content output for the slave devices, and meanwhile, the slave device is powered to maintain the operation of the slave devices, so that the master device has larger power consumption, and the cruising capability of the master device is greatly limited. Disclosure of Invention In view of the above, embodiments of the present specification provide a connector and a power supply control method applied to the connector. By using the connector, the external power supply equipment can supply power to the master equipment and the slave equipment efficiently. According to an aspect of the embodiments of the present specification, there is provided a connector including a first interface for connecting a master device, a second interface for connecting a slave device, a third interface for connecting a power supply device, a switching circuit connected to the first interface, the second interface, and the third interface, a power supply device control circuit connected to the third interface, configured to detect a power supply output power of the power supply device in response to detecting insertion of the power supply device into the third interface, and determine a power supply control command of the power supply device for the master device and the slave device according to the power supply output power, a charging required power of the master device, and an operating power of the slave device, and an interface control circuit connected to the switching circuit and the power supply device control circuit, configured to switch-control the switching circuit according to the power supply control command to control power supply of the power supply device to the master device and the slave device in response to reception of the power supply control command from the power supply device control circuit. According to another aspect of embodiments of the present specification, there is provided a power supply control method applied to a connector including first, second and third interfaces for connecting a master device, a slave device and a power supply device, respectively, a switching circuit connected to the first, second and third interfaces, a power supply device control circuit connected to the third interface, an interface control circuit connected to the switching circuit and the power supply device control circuit, the method including detecting, at the power supply device control circuit, a power supply output power of the power supply device in response to detection of insertion of the power supply device into the third interface, determining a power supply control command of the power supply device for the master device and the slave device in accordance with the power supply output power, a charging required power of the master device and an operating power of the slave device, and transmitting the power supply control command to the interface control circuit, at which the power supply device control circuit is controlled to the power supply device according to the control command in response to reception of the control command, the power supply device control switch is performed to control the power supply device to the master device and the slave device. According to another aspect of embodiments of the present specification, there is provided an electronic device comprising at least one processor, a memory, and a computer program stored on the memory, the at least one processor executing