WO2020034148A1 - 一种供电方法及设备 - Google Patents

一种供电方法及设备 Download PDF

Info

Publication number
WO2020034148A1
WO2020034148A1 PCT/CN2018/100829 CN2018100829W WO2020034148A1 WO 2020034148 A1 WO2020034148 A1 WO 2020034148A1 CN 2018100829 W CN2018100829 W CN 2018100829W WO 2020034148 A1 WO2020034148 A1 WO 2020034148A1
Authority
WO
WIPO (PCT)
Prior art keywords
power supply
supply circuit
voltage value
external device
highest voltage
Prior art date
Application number
PCT/CN2018/100829
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 深圳市大疆创新科技有限公司
Priority to PCT/CN2018/100829 priority Critical patent/WO2020034148A1/zh
Priority to CN201880037070.0A priority patent/CN110770997A/zh
Publication of WO2020034148A1 publication Critical patent/WO2020034148A1/zh
Priority to US17/173,110 priority patent/US20210188451A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B64AIRCRAFT; AVIATION; COSMONAUTICS
    • B64DEQUIPMENT FOR FITTING IN OR TO AIRCRAFT; FLIGHT SUITS; PARACHUTES; ARRANGEMENT OR MOUNTING OF POWER PLANTS OR PROPULSION TRANSMISSIONS IN AIRCRAFT
    • B64D27/00Arrangement or mounting of power plants in aircraft; Aircraft characterised by the type or position of power plants
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0063Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with circuits adapted for supplying loads from the battery
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B64AIRCRAFT; AVIATION; COSMONAUTICS
    • B64CAEROPLANES; HELICOPTERS
    • B64C39/00Aircraft not otherwise provided for
    • B64C39/02Aircraft not otherwise provided for characterised by special use
    • B64C39/024Aircraft not otherwise provided for characterised by special use of the remote controlled vehicle type, i.e. RPV
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B64AIRCRAFT; AVIATION; COSMONAUTICS
    • B64UUNMANNED AERIAL VEHICLES [UAV]; EQUIPMENT THEREFOR
    • B64U50/00Propulsion; Power supply
    • B64U50/30Supply or distribution of electrical power
    • 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
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/00032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
    • H02J7/00034Charger exchanging data with an electronic device, i.e. telephone, whose internal battery is under charge
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B64AIRCRAFT; AVIATION; COSMONAUTICS
    • B64DEQUIPMENT FOR FITTING IN OR TO AIRCRAFT; FLIGHT SUITS; PARACHUTES; ARRANGEMENT OR MOUNTING OF POWER PLANTS OR PROPULSION TRANSMISSIONS IN AIRCRAFT
    • B64D2221/00Electric power distribution systems onboard aircraft
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0042Universal serial bus [USB]
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J2310/00The network for supplying or distributing electric power characterised by its spatial reach or by the load
    • H02J2310/40The network being an on-board power network, i.e. within a vehicle
    • H02J2310/44The network being an on-board power network, i.e. within a vehicle for aircrafts
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Definitions

  • the invention relates to the field of electronic technology, and in particular, to a power supply method and equipment.
  • USB Universal Serial Bus
  • USB connector based on the standard can be used as a communication device and a power supply device.
  • the USB connector can also be called a USB interface and is set in various devices.
  • the standard voltage it can provide is 5V
  • the maximum current capacity provided is only 2A, so the maximum power it can provide is only 10W.
  • the transmission power of the USB interface needs to be increased.
  • the method of increasing the transmission power is to use various USB fast charging protocols, but these protocols are implemented based on the physical layer and require special support from the underlying chip, which will bring complex power circuit design.
  • Embodiments of the present invention provide a power supply method and equipment, which can avoid using a complicated power circuit design in the prior art to provide different power supplies.
  • an embodiment of the present invention provides a power supply method applied to a host device, where the host device includes a power supply circuit, the power supply circuit includes a first power supply circuit and a second power supply circuit, and the method includes:
  • a power supply voltage value of the first power supply circuit is greater than a power supply voltage value of the second power supply circuit.
  • an embodiment of the present invention provides a power supply device.
  • the power supply device includes a power supply circuit.
  • the power supply circuit includes a first power supply circuit and a second power supply circuit.
  • the power supply device further includes a memory and a processor.
  • the memory is used to store program instructions
  • the processor executes program instructions stored in the memory.
  • the processor executes program instructions stored in the memory.
  • the processor executes program instructions stored in the memory.
  • the processor executes program instructions stored in the memory.
  • a power supply voltage value of the first power supply circuit is greater than a power supply voltage value of the second power supply circuit.
  • an embodiment of the present invention provides a drone, including:
  • a fuselage including a power supply circuit, the power supply circuit including a first power supply circuit and a second power supply circuit;
  • Power system installed on the fuselage to provide flight power
  • a processor configured to determine a highest voltage value that can be supported by the external device when the drone is used to connect to the external device through a connector;
  • a power supply voltage value of the first power supply circuit is greater than a power supply voltage value of the second power supply circuit.
  • an embodiment of the present invention provides a power supply system, and the system includes a host device and an external device;
  • the host device includes a power supply circuit, and the power supply circuit includes a first power supply circuit and a second power supply circuit;
  • the host device is configured to determine a highest voltage value that the external device can support when detecting that the host device is used to connect with an external device through a connector;
  • the host device is further configured to select the first power supply circuit or the second power supply circuit from the power supply circuits according to the highest voltage value for powering the external device;
  • the external device is used to start under the power supply of the host device and is in a working state
  • a power supply voltage value of the first power supply circuit is greater than a power supply voltage value of the second power supply circuit.
  • an embodiment of the present invention provides a computer-readable storage medium.
  • the computer-readable storage medium stores a computer program.
  • the power supply method according to the first aspect is implemented.
  • the embodiments of the present invention can obtain the highest voltage value that can be supported by an external device through a protocol, and output low-power or high-power electrical energy for the external device, thereby avoiding the use of complex power circuit designs in the prior art to provide different power supplies, and While using high-power power supply, the safety of power supply is guaranteed.
  • FIG. 1 is a schematic structural diagram of a host device according to an embodiment of the present invention.
  • FIG. 2 is a schematic structural diagram of another host device according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of a power supply system according to an embodiment of the present invention.
  • FIG. 4 is a schematic flowchart of a power supply method according to an embodiment of the present invention.
  • FIG. 5 is a schematic flowchart of another power supply method according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a power supply device according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of a drone provided by an embodiment of the present invention.
  • An embodiment of the present invention provides a power supply method, which can provide different power for external devices through a connector, and the power supply method described in the embodiment of the present invention is on a standard communication protocol sheet for establishing a connector, and belongs to the scope of the application layer.
  • Any connector processor can be implemented without introducing additional costs.
  • the current power supply methods need to output high-power electrical energy, which also needs special support from the underlying chip, such as designing complex power circuit designs.
  • the embodiments of the present invention can increase the power supply voltage by increasing the power supply voltage. And in order to ensure the security of power supply, the embodiment of the present invention can obtain the maximum power supply voltage that can be supported by an external device through a communication protocol.
  • the connector may be a device capable of performing a communication interface and a power supply interface between devices, such as a universal serial bus USB interface.
  • a universal serial bus USB interface When the USB interface is powered, a standard USB communication protocol may be used.
  • the USB interface is used as a connector, and the power supply method described in the embodiment of the present invention can theoretically provide a maximum power supply of 60 to 90W to an external device, which can be specifically determined according to the highest voltage and rated power that the external device can support. set.
  • the power supply method provided by the embodiment of the present invention may be applied to a host device, where the host device includes a power supply circuit, and the power supply circuit may include a first power supply circuit and a second power supply circuit, but is not limited to the two power supply circuits.
  • the power supply voltage value of the first power supply circuit is greater than the power supply voltage value of the second power supply circuit.
  • the first power supply circuit and the second power supply circuit can be connected to the same power supply, but different circuit designs are used to provide different power supply voltages.
  • FIG. 1 is a schematic structural diagram of a host device according to an embodiment of the present invention. As shown in FIG. 1, the host device 100 includes a processor 110, a connector 120, a first power supply circuit 130, and a second power supply.
  • the processor 110 establishes a data connection with the connector 120; the first power supply circuit 130 and the second power supply circuit 140 are connected with the connector 120 through the switching device 150
  • the processor 110 is connected to the switching device 150 and controls the switching device 150 to select the first power supply circuit 130 or the second power supply circuit 140 to supply power to the external device, that is, to control the switching device 150 to select the first power supply
  • the circuit 130 or the second power supply circuit 140 is connected to the connector 120.
  • FIG. 2 is a schematic structural diagram of another host device according to an embodiment of the present invention.
  • the switching device 150 includes a switching tube 151 and a unidirectional diode 152.
  • the switching tube 151 is connected to the first power supply circuit 130
  • the unidirectional diode 152 is connected to the second power supply circuit 140.
  • the highest voltage value is selected by controlling the switching device 150 to select the first power supply circuit 130 or the second power supply circuit 140 to power the external device.
  • controlling the light-emitting tube 151 is Path
  • the one-way diode 152 is disconnected, and the first power supply circuit 130 supplies power to the external device
  • the switching tube 151 when the highest voltage value belongs to a low voltage range, controlling the switching tube 151 to be disconnected, the one-way The diode 152 is a path, and the second power supply circuit 140 supplies power to the external device.
  • FIG. 3 is a schematic structural diagram of a power supply system according to an embodiment of the present invention.
  • the power supply system may include a host device 100 and an external device 200.
  • the structure of the host device is shown in Figure 1 or Figure 2 and will not be described in detail here.
  • the external device 200 includes a processor 210, a connector 220, and a power module 230.
  • the processor 210 establishes a data connection with the connector 220
  • the power module 230 is connected to the connector 220, and receives power provided by the host device 100 through the connector 120. power.
  • the host device 100 and the external device 200 may establish a communication connection through the connector 120 and the connector 220 to determine the highest voltage value that the external device 200 can support.
  • the host device establishes a communication connection with an external device through a handshake.
  • the host device can use the second power supply circuit to power the external device, and the power supply voltage of the second power supply circuit
  • the processor of the external device can be started, but components of the external device cannot be started to run, so that a communication connection can be established between the host device and the external device.
  • the host device may be an unmanned aerial vehicle (UAV), a flightable robot, or the like.
  • the external devices may be small parts of drones and flightable robots, such as searchlights, spare propellers, etc.
  • the host device may power these external devices through the power supply method described in the embodiment of the present invention, and determine that the external devices are capable of Provides the required power to these external devices at the highest supported voltage.
  • Embodiments of the present invention disclose a power supply method and device, which are used to supply power to external devices with various power requirements and can ensure the security of power supply. Details are respectively described below.
  • FIG. 4 is a schematic flowchart of a power supply method according to an embodiment of the present invention.
  • the power supply method described in this embodiment is applied to a host device, where the host device includes a power supply circuit, and the power supply circuit includes The first power supply circuit and the second power supply circuit include:
  • the host device determines a highest voltage value that the external device can support.
  • the host device determining the highest voltage value that the external device can support may include: when enumerating the external device is successful, the host device obtains device information of the external device; according to the The device information determines the highest voltage value that the external device can support.
  • the device information includes the manufacturer identification and product identification of the external device, and the host device obtains the highest voltage value that the external device can support according to the manufacturer identification and product identification.
  • the processor of the host device may store a correspondence table between device information and the highest voltage value that can be supported. The host device may query the correspondence table to determine the highest voltage value that the external device can support.
  • the host device may send the device information to other devices such as a server or a remote control device to query the highest voltage value that the external device can support.
  • the host device determining the highest voltage value that the external device can support includes: the host device sends a request message to the external device, where the request message is used to request the external device to be able to The highest supported voltage value; the host device receives a response message returned by the external device, and the response message carries the highest voltage value.
  • the host device when the host device and the external device are connected through a connector, the host device can use the second power supply circuit to power the external device, and the power supply voltage of the second power supply circuit can start the external device.
  • the power supply voltage of the second power supply circuit can be a standard voltage of the connector, and can at least start a processor of an external device, so that the host device can communicate with the external device.
  • the power supply voltage of the second power supply circuit it needs to be determined according to the rated voltage and / or the rated current of the external device.
  • the external device is a searchlight
  • the host device is a drone.
  • the searchlight is connected to the drone through a connector, because the searchlight requires high-power power to work, the drone uses the second power supply circuit as the searchlight.
  • the power supply voltage of the second power supply circuit is a standard voltage, the power supply security is ensured, and at the same time, the highest voltage value that the external device can support is known, so as to determine the power supply circuit for powering the external device.
  • the host device selects the first power supply circuit or the second power supply circuit from the power supply circuits according to the highest voltage value for powering the external device.
  • a power supply voltage value of the first power supply circuit is greater than a power supply voltage value of the second power supply circuit.
  • the host device selects the first power supply circuit or the second power supply circuit to power the external device from the power supply circuits according to the highest voltage value, and may include: When the highest voltage value belongs to the high voltage range, the host device switches to the first power supply circuit to supply power to the external device, and the high voltage zone is a range where the voltage value is greater than the standard power supply voltage value; when the highest voltage value belongs to the low voltage range During the interval, the host device continues to use the second power supply circuit to supply power to the external device, and the low voltage interval is an interval where the voltage value is less than or equal to the standard power supply voltage value.
  • the host device selects the first power supply circuit or the second power supply circuit to power the external device from the power supply circuits according to the highest voltage value, and may include: the host device According to the highest voltage value, a first power supply circuit or a second power supply circuit is selected to power the external device by controlling a switching device.
  • the switching device 150 includes a switching tube 151 and a unidirectional diode 152.
  • the switching tube 151 is connected to the first power supply circuit 130, and the unidirectional diode 152 is connected to the second power supply circuit 140.
  • the selecting a first power supply circuit or a second power supply circuit to supply power to the external device by controlling a switching device according to the highest voltage value includes: controlling the light-emitting tube as a path when the highest voltage value belongs to a high voltage range.
  • the unidirectional diode is an open circuit, and the first power supply circuit supplies power to the external device; when the highest voltage value belongs to a low voltage range, controlling the switch tube to be an open circuit, and the unidirectional diode is a path, Power is supplied to the external device by the second power supply circuit.
  • the high voltage section is a section where the voltage value is greater than the standard power supply voltage value
  • the low voltage section is a section where the voltage value is less than or equal to the standard power supply voltage value.
  • the standard voltage value of the USB interface is 5V
  • the standard supply voltage value of the host device is 5V
  • the supply voltage of the first power supply circuit is a voltage value less than or equal to 5V, preferably 5V, which can ensure that the processor of the external device is started.
  • the supply voltage of the second power supply circuit is a voltage value greater than 5V, such as 17V.
  • the power supply voltages of the first power supply circuit and the second power supply circuit may be multiple voltage values, and the power supply voltage of the first power supply circuit or the second power supply circuit may be further determined according to the highest voltage value and rated power that the external device can support. Supply voltage.
  • the embodiments of the present invention provide power for external devices with different power requirements according to the highest voltage value that external devices can support. While ensuring the power supply, it can ensure the security of power supply and prevent external devices that cannot support high power from being host devices. The high-power supply provided is damaged.
  • FIG. 5 is a schematic flowchart of another power supply method according to an embodiment of the present invention.
  • the power supply method shown in FIG. 5 is compared with the power supply method shown in FIG. 4. You can also include the following steps:
  • the host device generates prompt information, where the prompt information is used to prompt the host device that the external device is supplying power.
  • the prompt information is used to indicate that the host device is supplying power to the external device, and the provided power supply voltage can make the external device in a working state and meet the power requirements of various external devices.
  • the host device outputs the prompt information, or the host device sends the prompt information to a remote control device or a display device, and the remote control device or the display device outputs the prompt information.
  • the prompt information is used to control the power supply status indicator to be blinking.
  • the power supply method shown in FIG. 5 can enable the user to know the power supply status of the external device in time, and notify the user whether the host device matches the external device in time, such as whether the host device can provide the external device with sufficient power.
  • FIG. 6 is a schematic structural diagram of a power supply device according to an embodiment of the present invention.
  • the power supply device described in this embodiment may include a power supply circuit.
  • the power supply circuit includes a first power supply circuit and a second power supply circuit.
  • the power supply device includes:
  • a determining module 310 configured to determine the highest voltage value that the external device can support when detecting that the host device is used to connect with the external device through a connector;
  • a selection module 320 configured to select the first power supply circuit or the second power supply circuit from the power supply circuits according to the highest voltage value to supply power to the external device;
  • the power supply voltage value of the first power supply circuit is greater than the power supply voltage value of the second power supply circuit.
  • the selection module 320 is further configured to use the second power supply circuit to power the external device when it is detected that the connector is connected to the external device, and the power supply voltage of the second power supply circuit can be started.
  • a processor of the external device is further configured to use the second power supply circuit to power the external device when it is detected that the connector is connected to the external device, and the power supply voltage of the second power supply circuit can be started.
  • the selection module 320 selects the first power supply circuit or the second power supply circuit from the power supply circuits according to the highest voltage value for powering the external device, specifically : When the highest voltage value belongs to a high-voltage section, switch to the first power supply circuit to supply power to the external device, and the high-voltage section is a section where the voltage value is greater than a standard power supply voltage value; when the highest voltage value belongs to In the low-voltage section, the second power supply circuit is further used to supply power to the external device, and the low-voltage section is a section whose voltage value is less than or equal to the standard power supply voltage value.
  • the selection module 320 selects the first power supply circuit or the second power supply circuit from the power supply circuits according to the highest voltage value for powering the external device, specifically : Selecting a first power supply circuit or a second power supply circuit for powering the external device by controlling the switching device according to the highest voltage value.
  • the switching device includes a switching tube and a unidirectional diode, the switching tube is connected to the first power supply circuit, and the unidirectional diode is connected to the second power supply circuit.
  • the module 320 selects a first power supply circuit or a second power supply circuit for powering the external device by controlling a switching device according to the highest voltage value, and specifically: when the highest voltage value belongs to a high voltage range, controls the light on The one-way diode is a path, the one-way diode is an open circuit, and the first power supply circuit supplies power to the external device; when the highest voltage value belongs to a low voltage range, controlling the switch tube to be an open circuit, the one-way diode For the path, the second power supply circuit supplies power to the external device.
  • the determining module 310 determines the highest voltage value that the external device can support, specifically: when enumerating the external device is successful, obtaining device information of the external device; according to the The device information determines the highest voltage value that the external device can support.
  • the device information may include a manufacturer identification and a product identification of the external device.
  • the determining module 310 determines the highest voltage value that the external device can support, specifically, sending a request message to the external device, where the request message is used to request that the external device can support The highest voltage value; receiving a response message returned by the external device, the response message carrying the highest voltage value.
  • the power supply apparatus further includes a generating module 330 for generating prompt information, where the prompt information is used to prompt the host device to supply power to the external device.
  • the power supply device further includes an output module for outputting the prompt information.
  • the power supply device further includes a sending module, configured to send the prompt information to a remote control device or a display device, and the remote control device or the display device outputs the prompt information .
  • the prompt information is used to control the power supply status indicator to be blinking.
  • the connector is a universal serial bus USB interface.
  • the power supply device can supply power to external devices with different power requirements according to the highest voltage value that the external device can support. While ensuring the power supply, it can ensure the security of power supply and avoid external devices that cannot support high power Damaged by the high power supply provided by the host device.
  • FIG. 7 is a schematic structural diagram of a power supply device according to an embodiment of the present invention.
  • the power supply device is described by taking a drone as an example.
  • the drone includes a power supply circuit, and the power supply circuit includes a first power supply circuit and a second power supply circuit.
  • the drone may further include: at least one processor 301, such as a CPU; at least one memory 302, a power system 303, and a communication device 304, and the processor 301, the memory 302, the power system 303, and a communication device 304 is connected via a bus 305.
  • the power system 303 is used to provide power for the flight of the drone, and the communication device 304 is used to send and receive messages, such as sending prompt information.
  • the memory 302 is configured to store instructions, and the processor 301 calls a program code stored in the memory 302.
  • the processor 301 calls the program code stored in the memory 302 and performs the following operations:
  • a power supply voltage value of the first power supply circuit is greater than a power supply voltage value of the second power supply circuit.
  • the processor 301 calls the program code stored in the memory 302, and when it detects that the connector is connected to an external device, it may also perform the following operations:
  • the second power supply circuit is used to power the external device, and the power supply voltage of the second power supply circuit can start the processor of the external device.
  • the processor 301 calls the program code stored in the memory 302, and selects the first power supply circuit or the second power supply circuit from the power supply circuits according to the highest voltage value for the external
  • the equipment is powered by:
  • the highest voltage value belongs to a high-voltage section
  • switching to the first power supply circuit for supplying power to the external device and the high-voltage section is a section where the voltage value is greater than a standard power supply voltage value
  • the second power supply circuit is further used to supply power to the external device, and the low-voltage section is a section whose voltage value is less than or equal to the standard power supply voltage value.
  • the processor 301 calls the program code stored in the memory 302, and selects the first power supply circuit or the second power supply circuit from the power supply circuits according to the highest voltage value for the external
  • the equipment is powered by:
  • a first power supply circuit or a second power supply circuit is selected for powering the external device by controlling a switching device.
  • the switching device includes a switching tube and a unidirectional diode, the switching tube is connected to the first power supply circuit, the unidirectional diode is connected to the second power supply circuit, and processing
  • the processor 301 calls the program code stored in the memory 302, and selects the first power supply circuit or the second power supply circuit for powering the external device by controlling the switching device according to the highest voltage value, specifically:
  • the highest voltage value belongs to a high voltage range, controlling the light-emitting tube as a path, the unidirectional diode as an open circuit, and the first power supply circuit supplying power to the external device;
  • the switch tube When the highest voltage value belongs to a low voltage range, the switch tube is controlled to be open, the unidirectional diode is a path, and the second power supply circuit is used to supply power to the external device.
  • the processor 301 calls the program code stored in the memory 302 to determine the highest voltage value that the external device can support, which is specifically:
  • the device information may include a manufacturer identification and a product identification of the external device.
  • the processor 301 calls the program code stored in the memory 302 to determine the highest voltage value that the external device can support, which is specifically:
  • the processor 301 calls the program code stored in the memory 302, and may also perform the following operations:
  • the prompt information is used to prompt the host device to power the external device.
  • the processor 301 calls the program code stored in the memory 302, and may also perform the following operations:
  • the prompt information is sent to a remote control device or a display device, and the remote control device or the display device outputs the prompt information.
  • the prompt information is used to control a power supply status indicator to blink.
  • the connector is a universal serial bus USB interface.
  • the program may be stored in a computer-readable storage medium.
  • the storage medium may include: Flash disk, Read-Only Memory (ROM), Random Access Memory (RAM), magnetic disk or optical disk, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Power Engineering (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Power Sources (AREA)

Abstract

一种供电方法及设备,该供电方法应用于主机设备(100),该主机设备包括供电电路,供电电路包括第一供电电路(130)和第二供电电路(140),当检测到主机设备(100)用于通过连接器(110)与外部设备(200)相连接时,确定外部设备能够支持的最高电压值;根据最高电压值从供电电路中选择第一供电电路或者第二供电电路用于为外部设备供电;第一供电电路的供电电压值大于第二供电电路的供电电压值。可见,本方案能够对各种功率需求的外部设备供电,并能保证供电的安全性。以及一种无人机和一种计算机可读存储介质。

Description

一种供电方法及设备 技术领域
本发明涉及电子技术领域,尤其涉及一种供电方法及设备。
背景技术
目前,通用串行总线(Universal Serial Bus,USB)是一个外部总线标准,基于该标准的USB连接器可以作为通信设备和供电设备。该USB连接器也可以称USB接口,设置在各种设备中。当设备利用该USB接口进行供电时,其能够提供的标准电压为5V,提供的最大通流能力最大只有2A,故所能提供的最大功率只有10W。当外部设备通过USB接口连接该设备,且需要更大的功率时,就需要提高该USB接口的传输功率。
目前,提高传输功率的方法是采用各种USB快充协议,但是这些协议都是基于物理层实现的,需要底层芯片特别支持,故会带来复杂的电源电路设计。
发明内容
本发明实施例提供了一种供电方法及设备,可以避免现有技术中采用复杂的电源电路设计来提供不同的供电功率。
第一方面,本发明实施例提供了一种供电方法,应用于主机设备,所述主机设备包括供电电路,所述供电电路包括第一供电电路和第二供电电路,所述方法包括:
当检测到连接器与外部设备相连接时,确定所述外部设备能够支持的最高电压值;
根据所述最高电压值从所述供电电路中选择所述第一供电电路或者所述第二供电电路用于为所述外部设备供电;
所述第一供电电路的供电电压值大于所述第二供电电路的供电电压值。
第二方面,本发明实施例提供了一种供电设备,所述供电设备包括供电电路,所述供电电路包括第一供电电路和第二供电电路,所述供电设备还包括存储器和处理器;
所述存储器,用于存储程序指令;
所述处理器,执行所述存储器存储的程序指令,当程序指令被执行时,所述处理器用于执行如下步骤:
当检测到连接器与外部设备相连接时,确定所述外部设备能够支持的最高电压值;
根据所述最高电压值从所述供电电路中选择所述第一供电电路或者所述第二供电电路为所述外部设备供电;
所述第一供电电路的供电电压值大于所述第二供电电路的供电电压值。
第三方面,本发明实施例提供了一种无人机,包括:
机身,所述机身包括供电电路,所述供电电路包括第一供电电路和第二供电电路;
设置在机身上的动力系统,用于提供飞行动力;
处理器,用于在检测到所述无人机用于通过连接器与外部设备相连接时,确定所述外部设备能够支持的最高电压值;
根据所述最高电压值从所述供电电路中选择所述第一供电电路或者所述第二供电电路用于为所述外部设备供电;
所述第一供电电路的供电电压值大于所述第二供电电路的供电电压值。
第四方面,本发明实施例提供了一种供电系统,该系统包括主机设备和外部设备;
所述主机设备包括供电电路,所述供电电路包括第一供电电路和第二供电电路;
所述主机设备,用于在检测到所述主机设备用于通过连接器与外部设备相连接时,确定所述外部设备能够支持的最高电压值;
所述主机设备,还用于根据所述最高电压值从所述供电电路中选择所述第一供电电路或者所述第二供电电路用于为所述外部设备供电;
所述外部设备,用于在所述主机设备的供电下启动,并处于工作状态;
所述第一供电电路的供电电压值大于所述第二供电电路的供电电压值。
第五方面,本发明实施例提供了一种计算机可读存储介质,该计算机可读存储介质存储有计算机程序,该计算机程序被处理器执行时实现如上述第一方 面所述的供电方法。
本发明实施例能够通过协议获取外部设备所能支持的最高电压值,为外部设备输出小功率或大功率的电能,从而避免现有技术中采用复杂的电源电路设计来提供不同的供电功率,并在采用大功率供电的同时,保证了供电的安全性。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1是本发明实施例提供的一种主机设备的结构示意图;
图2是本发明实施例提供的另一种主机设备的结构示意图;
图3是本发明实施例提供的一种供电系统的结构示意图;
图4为本发明实施例提供的一种供电方法的流程示意图;
图5是本发明实施例提供的另一种供电方法的流程示意图;
图6为本发明实施例提供的一种供电装置的结构示意图;
图7是本发明实施例提供的一种无人机的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明实施例提供一种供电方法,可以通过连接器为外部设备提供不同的供电功率,而本发明实施例所述的供电方法是建立连接器的标准通信协议纸上的,属于应用层范围,任何连接器的处理器都可以实现,不会引入额外的成本。特别是,目前的供电方法所需输出大功率电能,还需要底层芯片特别支持,比如设计复杂的电源电路设计,而本发明实施例可以采用提升供电电压的方式来提升供电功率。并且为了保证供电的安全性,本发明实施例可以通过通信协议 的方式来获取外部设备所能够支持的最大供电电压。
本发明实施例中,连接器可以为能够进行设备间的通信接口和供电接口的设备,比如通用串行总线USB接口,该USB接口在供电时,可以采用标准的USB通信协议。采用USB接口作为连接器,采用本发明实施例所述的供电方法,理论上可以提供给外部设备最大的供电功率达60至90W,具体可依据该外部设备所能够支持的最高电压和额定功率而定。
本发明实施例所提供的供电方法,可以应用于主机设备中,该主机设备包括供电电路,该供电电路可以包括第一供电电路和第二供电电路,但不限于该两路供电电路。其中,第一供电电路的供电电压值大于所述第二供电电路的供电电压值。第一供电电路和第二供电电路可以连接同一供电电源,但采用不同电路设计来提供不同的供电电压。请参阅图1,图1是本发明实施例提供的一种主机设备的结构示意图,如图1所示,该主机设备100包括处理器110、连接器120、第一供电电路130、第二供电电路140和开关器件150,所述处理器110与所述连接器120建立数据连接;所述第一供电电路130和所述第二供电电路140通过所述开关器件150与所述连接器120连接;所述处理器110与所述开关器件150连接,控制所述开关器件150选择第一供电电路130或第二供电电路140为所述外部设备供电,即通过控制开关器件150,选择第一供电电路130或第二供电电路140与所述连接器120连接。
在一种示例中,如图2所示,图2是本发明实施例提供的另一种主机设备的结构示意图。图2中,开关器件150包括开关管151和单向二极管152,所述开关管151与所述第一供电电路130连接,所述单向二极管152与所述第二供电电路140连接,根据所述最高电压值,通过控制开关器件150选择第一供电电路130或第二供电电路140为所述外部设备供电,具体为:当所述最高电压值属于高压区间时,控制所述开光管151为通路,所述单向二极管152为断路,由所述第一供电电路130为所述外部设备供电;当所述最高电压值属于低压区间时,控制所述开关管151为断路,所述单向二极管152为通路,由所述第二供电电路140为所述外部设备供电。
请参阅图3,图3是本发明实施例提供的一种供电系统的结构示意图,如图3所示,该供电系统可以包括主机设备100和外部设备200。主机设备的结构示 意图如图1或图2所示,此处不再详述。外部设备200包括处理器210、连接器220以及电源模块230,其中,处理器210与连接器220建立数据连接,电源模块230与连接器220相连接,接受主机设备100通过连接器120提供的供电功率。
如图3所示,主机设备100与外部设备200可以通过连接器120、连接器220建立通信连接,以确定外部设备200能够支持的最高电压值。例如,主机设备与外部设备通过握手方式建立通信连接,其中,外部设备与主机设备连接时,主机设备可利用所述第二供电电路为所述外部设备供电,所述第二供电电路的供电电压能够启动所述外部设备的处理器,但不一定能够启动外部设备的元器件运行,这样可以保证主机设备与外部设备之间可以建立通信连接。
本发明实施例中,主机设备可以为无人机(Unmanned Aerial Vehicle,UAV)、可飞行机器人等。外部设备可以为无人机、可飞行机器人的小配件,例如,探照灯、备用螺旋桨等,主机设备可以通过本发明实施例所述的供电方法为这些外部设备供电,并通过通信连接确定外部设备能够支持的最高电压时,为这些外部设备提供所需的功率。
本发明实施例公开了一种供电方法及设备,用于对各种功率需求的外部设备供电,并能保证供电的安全性,以下分别进行详细说明。
请参阅图4,图4为本发明实施例提供的一种供电方法的流程示意图,本实施例中所描述的供电方法,应用于主机设备,所述主机设备包括供电电路,所述供电电路包括第一供电电路和第二供电电路,包括:
101、当检测到所述主机设备用于通过连接器与外部设备相连接时,主机设备确定所述外部设备能够支持的最高电压值。
在一种可选的实施方式中,主机设备确定所述外部设备能够支持的最高电压值可以包括:当枚举所述外部设备成功时,主机设备获取所述外部设备的设备信息;根据所述设备信息,确定所述外部设备能够支持的最高电压值。
举例来说,该设备信息包括外部设备的厂商标识和产品标识,主机设备根据该厂商标识和产品标识,获得该外部设备能够支持的最高电压值。例如,主机设备的处理器中可以存储设备信息与能够支持的最高电压值之间的对应关系表,主机设备可以通过查询该对应关系表,确定该外部设备能够支持的最高 电压值。再例如,主机设备可以将该设备信息发送给服务器或遥控设备等其他设备,来查询该外部设备能够支持的最高电压值。
在另一种可选的实施方式中,主机设备确定所述外部设备能够支持的最高电压值,包括:主机设备向所述外部设备发送请求消息,所述请求消息用于请求所述外部设备能够支持的最高电压值;主机设备接收所述外部设备返回的响应消息,所述响应消息中携带所述最高电压值。
本发明实施例中,主机设备与外部设备通过连接器连接时,主机设备就可以利用所述第二供电电路为所述外部设备供电,所述第二供电电路的供电电压能够启动所述外部设备的处理器。其中,第二供电电路的供电电压可以为该连接器的标准电压,能够至少启动外部设备的处理器,使得主机设备可以与外部设备进行通信连接。至于第二供电电路的供电电压是否能够启动外部设备的其他元器件运行或工作,则需要依据外部设备的额定电压和/或额定电流来确定。
例如,该外部设备为一探照灯,主机设备为无人机,则探照灯通过连接器与无人机连接时,由于探照灯需要大功率供电才能处于工作状态,故无人机利用第二供电电路为探照灯供电时,仅能启动探照灯的处理器,而探照灯的照明器件不能运行。这样,由于第二供电电路的供电电压为标准电压,从而保证了供电的安全性,同时又能够获知外部设备能够支持的最高电压值,以便于确定为外部设备供电的供电电路。
102、主机设备根据所述最高电压值从所述供电电路中选择所述第一供电电路或者所述第二供电电路用于为所述外部设备供电。
本发明实施例中,所述第一供电电路的供电电压值大于所述第二供电电路的供电电压值。
在一种可选的实施方式中,主机设备根据所述最高电压值从所述供电电路中选择所述第一供电电路或者所述第二供电电路为所述外部设备供电,可以包括:当所述最高电压值属于高压区间时,主机设备切换到所述第一供电电路为所述外部设备供电,所述高压区间为电压值均大于标准供电电压值的区间;当所述最高电压值属于低压区间时,主机设备继续利用所述第二供电电路为所述外部设备供电,所述低压区间为电压值小于或等于所述标准供电电压值的区间。
在一种可选的实施方式中,主机设备根据所述最高电压值从所述供电电路中选择所述第一供电电路或者所述第二供电电路为所述外部设备供电,可以包括:主机设备根据所述最高电压值,通过控制开关器件选择第一供电电路或第二供电电路为所述外部设备供电。
如图2所示,开关器件150包括开关管151和单向二极管152,所述开关管151与所述第一供电电路130连接,所述单向二极管152与所述第二供电电路140连接,所述根据所述最高电压值,通过控制开关器件选择第一供电电路或第二供电电路为所述外部设备供电,包括:当所述最高电压值属于高压区间时,控制所述开光管为通路,所述单向二极管为断路,由所述第一供电电路为所述外部设备供电;当所述最高电压值属于低压区间时,控制所述开关管为断路,所述单向二极管为通路,由所述第二供电电路为所述外部设备供电。
本发明实施例中,所述高压区间为电压值均大于标准供电电压值的区间,所述低压区间为电压值小于或等于所述标准供电电压值的区间。例如,USB接口的标准电压值为5V,则主机设备的标准供电电压值为5V,第一供电电路的供电电压为小于或等于5V的电压值,优选5V,这样可以保证启动外部设备的处理器;第二供电电路的供电电压为大于5V的电压值,比如17V。可选的,第一供电电路和第二供电电路的供电电压可以分别为多个电压值,具体可以根据外部设备能够支持的最高电压值和额定功率进一步确定第一供电电路或第二供电电路的供电电压。
可见,本发明实施例根据外部设备能够支持的最高电压值,为不同功率需求的外部设备供电,在保证供电功率的同时,能够保证供电的安全性,避免不能支持大功率的外部设备被主机设备提供的大功率供电损坏。
请参阅图5,图5是本发明实施例提供的另一种供电方法的流程示意图,其中,图5所示的供电方法与图4所示的供电方法相比,图5所示的供电方法还可以包括以下步骤:
103、主机设备生成提示信息,所述提示信息用于提示所述主机设备正在为所述外部设备供电。
其中,该提示信息用于提示主机设备正在为外部设备供电,而且所提供的 供电电压能够使得外部设备处于工作状态,满足各类外部设备的功率需求。
本发明实施例中,主机设备输出所述提示信息,或者,主机设备将所述提示信息发送给遥控设备或显示设备,由所述遥控设备或所述显示设备输出所述提示信息。
本发明实施例中,该提示信息用于控制供电状态指示灯处于闪亮状态。
可见,图5所示的供电方法,能够使得用户及时获知外部设备的供电情况,及时通知用户主机设备与外部设备是否匹配,如主机设备是否能够为外部设备提供满足功率的电能。
请参阅图6,图6为本发明实施例提供的一种供电装置的结构示意图。本实施例中所描述的供电装置,该供电装置可以包括供电电路,该供电电路包括第一供电电路和第二供电电路,该供电装置包括:
确定模块310,用于在检测到所述主机设备用于通过连接器与外部设备相连接时,确定所述外部设备能够支持的最高电压值;
选择模块320,用于根据所述最高电压值从所述供电电路中选择所述第一供电电路或者所述第二供电电路用于为所述外部设备供电;
其中,所述第一供电电路的供电电压值大于所述第二供电电路的供电电压值。
本发明实施例中,选择模块320,还用于在检测到连接器与外部设备相连接时,利用所述第二供电电路为所述外部设备供电,所述第二供电电路的供电电压能够启动所述外部设备的处理器。
在一种可选的实施方式中,选择模块320根据所述最高电压值从所述供电电路中选择所述第一供电电路或者所述第二供电电路用于为所述外部设备供电,具体为:当所述最高电压值属于高压区间时,切换到所述第一供电电路为所述外部设备供电,所述高压区间为电压值均大于标准供电电压值的区间;当所述最高电压值属于低压区间时,继续利用所述第二供电电路用于为所述外部设备供电,所述低压区间为电压值小于或等于所述标准供电电压值的区间。
在一种可选的实施方式中,选择模块320根据所述最高电压值从所述供电电路中选择所述第一供电电路或者所述第二供电电路用于为所述外部设备供 电,具体为:根据所述最高电压值,通过控制开关器件选择第一供电电路或第二供电电路用于为所述外部设备供电。
在一种可选的实施方式中,所述开关器件包括开关管和单向二极管,所述开关管与所述第一供电电路连接,所述单向二极管与所述第二供电电路连接,选择模块320根据所述最高电压值,通过控制开关器件选择第一供电电路或第二供电电路用于为所述外部设备供电,具体为:当所述最高电压值属于高压区间时,控制所述开光管为通路,所述单向二极管为断路,由所述第一供电电路为所述外部设备供电;当所述最高电压值属于低压区间时,控制所述开关管为断路,所述单向二极管为通路,由所述第二供电电路为所述外部设备供电。
在一种可选的实施方式中,确定模块310确定所述外部设备能够支持的最高电压值,具体为:当枚举所述外部设备成功时,获取所述外部设备的设备信息;根据所述设备信息,确定所述外部设备能够支持的最高电压值。
其中,所述设备信息可包括所述外部设备的厂商标识和产品标识。
在一种可选的实施方式中,确定模块310确定所述外部设备能够支持的最高电压值,具体为:向所述外部设备发送请求消息,所述请求消息用于请求所述外部设备能够支持的最高电压值;接收所述外部设备返回的响应消息,所述响应消息中携带所述最高电压值。
在一种可选的实施方式中,所述供电装置还包括生成模块330,用于生成提示信息,所述提示信息用于提示所述主机设备正在为所述外部设备供电。
在一种可选的实施方式中,所述供电装置还包括输出模块,用于输出所述提示信息。在另一种可选的实施方式中,所述供电装置还包括发送模块,用于将所述提示信息发送给遥控设备或显示设备,由所述遥控设备或所述显示设备输出所述提示信息。
本发明实施例中,提示信息用于控制供电状态指示灯处于闪亮状态。
本发明实施例中,所述连接器为通用串行总线USB接口。
本发明实施例中,供电装置可以根据外部设备能够支持的最高电压值,为不同功率需求的外部设备供电,在保证供电功率的同时,能够保证供电的安全性,避免不能支持大功率的外部设备被主机设备提供的大功率供电损坏。
请参阅图7,图7是本发明实施例提供的一种供电设备的结构示意图,该供电设备以无人机为例进行阐述。该无人机包括供电电路,所述供电电路包括第一供电电路和第二供电电路。如图7所示,该无人机还可以包括:至少一个处理器301,例如CPU;至少一个存储器302,动力系统303、通信装置304,上述处理器301、存储器302、动力系统303和通信装置304通过总线305连接。
其中,动力系统303,用于为无人机的飞行提供动力,通信装置304,用于收发消息,例如发送提示信息。
存储器302用于存储指令,处理器301调用存储器302中存储的程序代码。
具体的,处理器301调用存储器302中存储的程序代码,执行以下操作:
当检测到所述主机设备用于通过连接器与外部设备相连接时,确定所述外部设备能够支持的最高电压值;
根据所述最高电压值从所述供电电路中选择所述第一供电电路或者所述第二供电电路用于为所述外部设备供电;
所述第一供电电路的供电电压值大于所述第二供电电路的供电电压值。
本发明实施例中,处理器301调用存储器302中存储的程序代码,检测到连接器与外部设备相连接时,还可以执行以下操作::
利用所述第二供电电路为所述外部设备供电,所述第二供电电路的供电电压能够启动所述外部设备的处理器。
本发明实施例中,处理器301调用存储器302中存储的程序代码,根据所述最高电压值从所述供电电路中选择所述第一供电电路或者所述第二供电电路用于为所述外部设备供电,具体为:
当所述最高电压值属于高压区间时,切换到所述第一供电电路为所述外部设备供电,所述高压区间为电压值均大于标准供电电压值的区间;
当所述最高电压值属于低压区间时,继续利用所述第二供电电路为所述外部设备供电,所述低压区间为电压值小于或等于所述标准供电电压值的区间。
本发明实施例中,处理器301调用存储器302中存储的程序代码,根据所述最高电压值从所述供电电路中选择所述第一供电电路或者所述第二供电电路用于为所述外部设备供电,具体为:
根据所述最高电压值,通过控制开关器件选择第一供电电路或第二供电电 路用于为所述外部设备供电。
在一种可选的实施方式中,所述开关器件包括开关管和单向二极管,所述开关管与所述第一供电电路连接,所述单向二极管与所述第二供电电路连接,处理器301调用存储器302中存储的程序代码,根据所述最高电压值,通过控制开关器件选择第一供电电路或第二供电电路用于为所述外部设备供电,具体为:
当所述最高电压值属于高压区间时,控制所述开光管为通路,所述单向二极管为断路,由所述第一供电电路为所述外部设备供电;
当所述最高电压值属于低压区间时,控制所述开关管为断路,所述单向二极管为通路,由所述第二供电电路用于为所述外部设备供电。
在一种可选的实施方式中,处理器301调用存储器302中存储的程序代码,确定所述外部设备能够支持的最高电压值,具体为:
当枚举所述外部设备成功时,获取所述外部设备的设备信息;
根据所述设备信息,确定所述外部设备能够支持的最高电压值。
其中,所述设备信息可包括所述外部设备的厂商标识和产品标识。
在一种可选的实施方式中,处理器301调用存储器302中存储的程序代码,确定所述外部设备能够支持的最高电压值,具体为:
向所述外部设备发送请求消息,所述请求消息用于请求所述外部设备能够支持的最高电压值;
接收所述外部设备返回的响应消息,所述响应消息中携带所述最高电压值。
在一种可选的实施方式中,处理器301调用存储器302中存储的程序代码,还可以执行以下操作:
生成提示信息,所述提示信息用于提示所述主机设备正在为所述外部设备供电。
在一种可选的实施方式中,处理器301调用存储器302中存储的程序代码,还可以执行以下操作:
输出所述提示信息;
或者,将所述提示信息发送给遥控设备或显示设备,由所述遥控设备或所 述显示设备输出所述提示信息。
本发明实施例中,所述提示信息用于控制供电状态指示灯处于闪亮状态。
本发明实施例中,所述连接器为通用串行总线USB接口。
需要说明的是,对于前述的各个方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某一些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:闪存盘、只读存储器(Read-Only Memory,ROM)、随机存取器(Random Access Memory,RAM)、磁盘或光盘等。
以上所揭露的仅为本发明一种较佳实施例而已,当然不能以此来限定本发明之权利范围,本领域普通技术人员可以理解实现上述实施例的全部或部分流程,并依本发明权利要求所作的等同变化,仍属于发明所涵盖的范围。

Claims (37)

  1. 一种供电方法,其特征在于,应用于主机设备,所述主机设备包括供电电路,所述供电电路包括第一供电电路和第二供电电路,所述方法包括:
    当检测到所述主机设备用于通过连接器与外部设备相连接时,确定所述外部设备能够支持的最高电压值;
    根据所述最高电压值从所述供电电路中选择所述第一供电电路或者所述第二供电电路用于为所述外部设备供电;
    所述第一供电电路的供电电压值大于所述第二供电电路的供电电压值。
  2. 根据权利要求1所述的方法,其特征在于,当检测到连接器与外部设备相连接时,所述方法还包括:
    利用所述第二供电电路为所述外部设备供电,所述第二供电电路的供电电压能够启动所述外部设备的处理器。
  3. 根据权利要求1所述的方法,其特征在于,所述根据所述最高电压值从所述供电电路中选择所述第一供电电路或者所述第二供电电路用于为所述外部设备供电,包括:
    当所述最高电压值属于高压区间时,切换到所述第一供电电路为所述外部设备供电,所述高压区间为电压值均大于标准供电电压值的区间;
    当所述最高电压值属于低压区间时,继续利用所述第二供电电路为所述外部设备供电,所述低压区间为电压值小于或等于所述标准供电电压值的区间。
  4. 根据权利要求3所述的方法,其特征在于,所述根据所述最高电压值从所述供电电路中选择所述第一供电电路或者所述第二供电电路用于为所述外部设备供电,包括:
    根据所述最高电压值,通过控制开关器件选择第一供电电路或第二供电电路用于为所述外部设备供电。
  5. 根据权利要求4所述的方法,其特征在于,所述开关器件包括开关管和 单向二极管,所述开关管与所述第一供电电路连接,所述单向二极管与所述第二供电电路连接,所述根据所述最高电压值,通过控制开关器件选择第一供电电路或第二供电电路用于为所述外部设备供电,包括:
    当所述最高电压值属于高压区间时,控制所述开光管为通路,所述单向二极管为断路,由所述第一供电电路为所述外部设备供电;
    当所述最高电压值属于低压区间时,控制所述开关管为断路,所述单向二极管为通路,由所述第二供电电路用于为所述外部设备供电。
  6. 根据权利要求1至5任一项所述的方法,其特征在于,所述确定所述外部设备能够支持的最高电压值,包括:
    当枚举所述外部设备成功时,获取所述外部设备的设备信息;
    根据所述设备信息,确定所述外部设备能够支持的最高电压值。
  7. 根据权利要求6所述的方法,其特征在于,所述设备信息包括所述外部设备的厂商标识和产品标识。
  8. 根据权利要求1至5任一项所述的方法,其特征在于,所述确定所述外部设备能够支持的最高电压值,包括:
    向所述外部设备发送请求消息,所述请求消息用于请求所述外部设备能够支持的最高电压值;
    接收所述外部设备返回的响应消息,所述响应消息中携带所述最高电压值。
  9. 根据权利要求1至5任一项所述的方法,其特征在于,所述方法还包括:
    生成提示信息,所述提示信息用于提示所述主机设备正在为所述外部设备供电。
  10. 根据权利要求9所述的方法,其特征在于,所述方法还包括:
    输出所述提示信息;
    或者,将所述提示信息发送给遥控设备或显示设备,由所述遥控设备或所述显示设备输出所述提示信息。
  11. 根据权利要求10所述的方法,其特征在于,所述提示信息用于控制供电状态指示灯处于闪亮状态。
  12. 根据权利要求1至5任一项所述的方法,其特征在于,所述连接器为通用串行总线USB接口。
  13. 一种供电设备,其特征在于,应用于主机设备,所述主机设备包括供电电路,所述供电电路包括第一供电电路和第二供电电路,所述供电设备包括存储器和处理器,
    所述处理器,执行所述存储器存储的程序指令,当程序指令被执行时,所述处理器用于执行如下步骤:
    当检测到所述主机设备用于通过连接器与外部设备相连接时,确定所述外部设备能够支持的最高电压值;
    根据所述最高电压值从所述供电电路中选择所述第一供电电路或者所述第二供电电路用于为所述外部设备供电;
    所述第一供电电路的供电电压值大于所述第二供电电路的供电电压值。
  14. 根据权利要求13所述的供电设备,其特征在于,当检测到连接器与外部设备相连接时,所述处理器,还用于:
    利用所述第二供电电路为所述外部设备供电,所述第二供电电路的供电电压能够启动所述外部设备的处理器。
  15. 根据权利要求13所述的供电设备,其特征在于,所述处理器根据所述最高电压值从所述供电电路中选择所述第一供电电路或者所述第二供电电路用于为所述外部设备供电,具体为:
    当所述最高电压值属于高压区间时,切换到所述第一供电电路为所述外部 设备供电,所述高压区间为电压值均大于标准供电电压值的区间;
    当所述最高电压值属于低压区间时,继续利用所述第二供电电路为所述外部设备供电,所述低压区间为电压值小于或等于所述标准供电电压值的区间。
  16. 根据权利要求15所述的供电设备,其特征在于,所述处理器根据所述最高电压值从所述供电电路中选择所述第一供电电路或者所述第二供电电路用于为所述外部设备供电,具体为:
    根据所述最高电压值,通过控制开关器件选择第一供电电路或第二供电电路为所述外部设备供电。
  17. 根据权利要求16所述的供电设备,其特征在于,所述开关器件包括开关管和单向二极管,所述开关管与所述第一供电电路连接,所述单向二极管与所述第二供电电路连接,所述处理器根据所述最高电压值,通过控制开关器件选择第一供电电路或第二供电电路用于为所述外部设备供电,具体为:
    当所述最高电压值属于高压区间时,控制所述开光管为通路,所述单向二极管为断路,由所述第一供电电路为所述外部设备供电;
    当所述最高电压值属于低压区间时,控制所述开关管为断路,所述单向二极管为通路,由所述第二供电电路为所述外部设备供电。
  18. 根据权利要求13至17任一项所述的供电设备,其特征在于,所述处理器确定所述外部设备能够支持的最高电压值,具体为:
    当枚举所述外部设备成功时,获取所述外部设备的设备信息;
    根据所述设备信息,确定所述外部设备能够支持的最高电压值。
  19. 根据权利要求18所述的供电设备,其特征在于,所述设备信息包括所述外部设备的厂商标识和产品标识。
  20. 根据权利要求13至17任一项所述的供电设备,其特征在于,所述处理器确定所述外部设备能够支持的最高电压值,具体为:
    向所述外部设备发送请求消息,所述请求消息用于请求所述外部设备能够支持的最高电压值;
    接收所述外部设备返回的响应消息,所述响应消息中携带所述最高电压值。
  21. 根据权利要求13至17任一项所述的供电设备,其特征在于,所述处理器,还用于生成提示信息,所述提示信息用于提示所述主机设备正在为所述外部设备供电。
  22. 根据权利要求21所述的供电设备,其特征在于,所述处理器,还用于输出所述提示信息;
    或者,将所述提示信息发送给遥控设备或显示设备,由所述遥控设备或所述显示设备输出所述提示信息。
  23. 根据权利要求22所述的供电设备,其特征在于,所述提示信息用于控制供电状态指示灯处于闪亮状态。
  24. 根据权利要求13至17任一项所述的供电设备,其特征在于,所述连接器为通用串行总线USB接口。
  25. 一种无人机,其特征在于,包括:
    机身,所述机身包括供电电路,所述供电电路包括第一供电电路和第二供电电路;
    设置在机身上的动力系统,用于提供飞行动力;
    存储器和处理器,所述处理器用于执行所述存储器存储的程序指令,当程序指令被执行时,所述处理器用于执行以下步骤:
    当检测到所述主机设备用于通过连接器与外部设备相连接时,确定所述外部设备能够支持的最高电压值;
    根据所述最高电压值从所述供电电路中选择所述第一供电电路或者所述 第二供电电路用于为所述外部设备供电;
    所述第一供电电路的供电电压值大于所述第二供电电路的供电电压值。
  26. 根据权利要求25所述的无人机,其特征在于,当检测到连接器与外部设备相连接时,所述处理器,还用于:
    利用所述第二供电电路为所述外部设备供电,所述第二供电电路的供电电压能够启动所述外部设备的处理器。
  27. 根据权利要求25所述的无人机,其特征在于,所述处理器根据所述最高电压值从所述供电电路中选择所述第一供电电路或者所述第二供电电路用于为所述外部设备供电,具体为:
    当所述最高电压值属于高压区间时,切换到所述第一供电电路为所述外部设备供电,所述高压区间为电压值均大于标准供电电压值的区间;
    当所述最高电压值属于低压区间时,继续利用所述第二供电电路为所述外部设备供电,所述低压区间为电压值小于或等于所述标准供电电压值的区间。
  28. 根据权利要求27所述的无人机,其特征在于,所述处理器根据所述最高电压值从所述供电电路中选择所述第一供电电路或者所述第二供电电路用于为所述外部设备供电,具体为:
    根据所述最高电压值,通过控制开关器件选择第一供电电路或第二供电电路用于为所述外部设备供电。
  29. 根据权利要求28所述的无人机,其特征在于,所述开关器件包括开关管和单向二极管,所述开关管与所述第一供电电路连接,所述单向二极管与所述第二供电电路连接,所述处理器根据所述最高电压值,通过控制开关器件选择第一供电电路或第二供电电路用于为所述外部设备供电,具体为:
    当所述最高电压值属于高压区间时,控制所述开光管为通路,所述单向二极管为断路,由所述第一供电电路为所述外部设备供电;
    当所述最高电压值属于低压区间时,控制所述开关管为断路,所述单向二 极管为通路,由所述第二供电电路用于为所述外部设备供电。
  30. 根据权利要求25至29任一项所述的无人机,其特征在于,所述处理器确定所述外部设备能够支持的最高电压值,具体为:
    当枚举所述外部设备成功时,获取所述外部设备的设备信息;
    根据所述设备信息,确定所述外部设备能够支持的最高电压值。
  31. 根据权利要求30所述的无人机,其特征在于,所述设备信息包括所述外部设备的厂商标识和产品标识。
  32. 根据权利要求25至29任一项所述的无人机,其特征在于,所述处理器确定所述外部设备能够支持的最高电压值,具体为:
    向所述外部设备发送请求消息,所述请求消息用于请求所述外部设备能够支持的最高电压值;
    接收所述外部设备返回的响应消息,所述响应消息中携带所述最高电压值。
  33. 根据权利要求25至29任一项所述的无人机,其特征在于,所述方法还包括:
    生成提示信息,所述提示信息用于提示所述主机设备正在为所述外部设备供电。
  34. 根据权利要求33所述的无人机,其特征在于,所述处理器,还用于:
    输出所述提示信息;
    或者,将所述提示信息发送给遥控设备或显示设备,由所述遥控设备或所述显示设备输出所述提示信息。
  35. 根据权利要求34所述的无人机,其特征在于,所述提示信息用于控制供电状态指示灯处于闪亮状态。
  36. 根据权利要求25至29任一项所述的无人机,其特征在于,所述连接器为通用串行总线USB接口。
  37. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至12任一项所述的方法。
PCT/CN2018/100829 2018-08-16 2018-08-16 一种供电方法及设备 WO2020034148A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
PCT/CN2018/100829 WO2020034148A1 (zh) 2018-08-16 2018-08-16 一种供电方法及设备
CN201880037070.0A CN110770997A (zh) 2018-08-16 2018-08-16 一种供电方法及设备
US17/173,110 US20210188451A1 (en) 2018-08-16 2021-02-10 Method and apparatus for power supply

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/100829 WO2020034148A1 (zh) 2018-08-16 2018-08-16 一种供电方法及设备

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/173,110 Continuation US20210188451A1 (en) 2018-08-16 2021-02-10 Method and apparatus for power supply

Publications (1)

Publication Number Publication Date
WO2020034148A1 true WO2020034148A1 (zh) 2020-02-20

Family

ID=69328575

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/100829 WO2020034148A1 (zh) 2018-08-16 2018-08-16 一种供电方法及设备

Country Status (3)

Country Link
US (1) US20210188451A1 (zh)
CN (1) CN110770997A (zh)
WO (1) WO2020034148A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050269455A1 (en) * 2004-06-04 2005-12-08 The Boeing Company Illuminating system, device, and method for in-flight refueling
CN102999144A (zh) * 2012-12-14 2013-03-27 青岛歌尔声学科技有限公司 Usb供电电路及其装置和供电方法
CN107600439A (zh) * 2017-09-26 2018-01-19 上海重塑能源科技有限公司 一种长航时无人机动力电源装置及无人机
CN107690813A (zh) * 2017-04-07 2018-02-13 深圳市汇顶科技股份有限公司 耳机及耳机的供电电路

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102154779B1 (ko) * 2015-03-10 2020-09-10 삼성전자주식회사 무선 충전 방법 및 장치
CN105098900B (zh) * 2015-08-05 2018-05-29 青岛海信移动通信技术股份有限公司 移动终端、可直充电源适配器及充电方法
CN104993182B (zh) * 2015-08-05 2018-01-09 青岛海信移动通信技术股份有限公司 一种移动终端、可直充电源适配器及充电方法
CN107508331A (zh) * 2017-07-11 2017-12-22 道县龙威盛科技有限公司 充电单元及充电装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050269455A1 (en) * 2004-06-04 2005-12-08 The Boeing Company Illuminating system, device, and method for in-flight refueling
CN102999144A (zh) * 2012-12-14 2013-03-27 青岛歌尔声学科技有限公司 Usb供电电路及其装置和供电方法
CN107690813A (zh) * 2017-04-07 2018-02-13 深圳市汇顶科技股份有限公司 耳机及耳机的供电电路
CN107600439A (zh) * 2017-09-26 2018-01-19 上海重塑能源科技有限公司 一种长航时无人机动力电源装置及无人机

Also Published As

Publication number Publication date
CN110770997A (zh) 2020-02-07
US20210188451A1 (en) 2021-06-24

Similar Documents

Publication Publication Date Title
CN105379044B (zh) 菊花链式系统中的功率协商
US8086281B2 (en) Apparatuses and methods that facilitate the transfer of power and information among electrical devices
JP6320544B2 (ja) 電源アダプター、端末及び充電回路のインピーダンス異常の処理方法
US9690732B2 (en) Power-over-ethernet (POE)-enabled network device and USB device power negotiation using USB to POE protocol conversion
US9647475B2 (en) Charger, terminal, charging system, and charging control method
US10241551B2 (en) Control and synchronization mechanism for a complex distributed power management system
US10666049B2 (en) Power-over-ethernet power method and system
WO2017177541A1 (zh) 无人驾驶飞行器的接口系统和接口控制方法
CN111103827B (zh) 一种服务器工作模式切换装置
TWI609271B (zh) 具識別碼更新功能之供電系統
JP2016218972A (ja) Usbハブ装置
US20180321728A1 (en) Remote wake-up of mobile devices
JP2019083663A (ja) 受電装置、受電装置の制御方法、およびプログラム
US10405282B2 (en) Information processing apparatus and information processing method
US20180097315A1 (en) Power adapter, terminal device, charging system, and charging method
JP2013142908A (ja) 電子機器
WO2020034148A1 (zh) 一种供电方法及设备
CN111262339A (zh) 供电方法、供电设备及存储介质
US11393467B2 (en) Electronic device, control method, and storage medium
JP2008166249A (ja) 電気設備の制御装置およびその電源ソケット
WO2020107563A1 (zh) 负载控制电路及可移动平台
US20160299561A1 (en) Switching network interface controller add-in card configured to operate during sleep modes of a host computing device
US9213383B2 (en) Switching circuit module, computer system, and method for controlling computer system reset thereof
JP2010081763A (ja) 充電装置
CN107515746B (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: 18929976

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18929976

Country of ref document: EP

Kind code of ref document: A1