CN105975039A - Method and device for controlling power supply of Type-C interface, and electronic equipment - Google Patents
Method and device for controlling power supply of Type-C interface, and electronic equipment Download PDFInfo
- Publication number
- CN105975039A CN105975039A CN201610282741.2A CN201610282741A CN105975039A CN 105975039 A CN105975039 A CN 105975039A CN 201610282741 A CN201610282741 A CN 201610282741A CN 105975039 A CN105975039 A CN 105975039A
- Authority
- CN
- China
- Prior art keywords
- stitch
- interface
- type
- vbus
- electronic equipment
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/266—Arrangements to supply power to external peripherals either directly from the computer or under computer control, e.g. supply of power through the communication port, computer controlled power-strips
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/40—Bus structure
- G06F13/4063—Device-to-bus coupling
- G06F13/4068—Electrical coupling
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Power Sources (AREA)
Abstract
The invention discloses a method and device for controlling power supply of a Type-C interface, and electronic equipment. The method comprises the following steps of: judging whether the electronic equipment is connected with a peripheral through the Type-C interface or not, and if so, detecting the current voltage value of a CC pin of the Type-C interface; and setting the output voltage of a VBUS pin of the Type-C interface according to the current voltage value of the CC pin. According to the method, the device and the electronic equipment disclosed by the invention, the output voltage of the VBUS pin is set by detection of a level value of the CC pin of the Type-C interface of the electronic equipment; therefore, multiple VBUS output voltages can be provided according to peripherals of different functions; and thus, power is supplied to corresponding peripherals.
Description
Technical field
The present invention relates to USB and supply electrical domain, more particularly it relates to an control Type-C
Method, device and the electronic equipment that interface is powered.
Background technology
Type-C port has two kinds of Role Models, respectively DFP and UFP, when Type-C port is
During DFP role, VBUS stitch is powered;When Type-C port is UFP role, VBUS stitch is not powered.
Existing scheme is controlled by USB controller the role transforming of Type-C port, controls
Whether VBUS provides voltage, it is impossible to is arranged as required to VBUS stitch and exports suitable voltage.
The basic structure of Type-C interface will be first explained below.
The maximum feature of Type-C interface is to support from tow sides the most insertable " positive anti-plug " merit
Can, its A face and B face respectively have 12 stitch, and the layout of each stitch is as shown in table 1:
Table 1:
Wherein, TX1+, TX1-, RX1+, RX1-, TX2+, TX2-, RX2+, RX2-are four to difference
Sub-signal stitch, GND is ground pin, and D+, D-are the USB differential signal for compatible USB2.0
Stitch, VBUS is power supply stitch, and CC1, CC2 are for being used for detecting positive anti-plug, distinguishing principal and subordinate, configuration
The stitch of voltage of VBUS etc., SBU1, SBU2 are bus stitch.
Summary of the invention
It is an object of the present invention to provide one and VBUS stitch output voltage is set for different peripheral
New solution.
According to the first aspect of the invention, it is provided that a kind of method that the Type-C of control interface is powered,
Including:
Judge whether electronic equipment is connected, in this way, then with peripheral hardware foundation by Type-C interface:
Detect the current voltage value of the CC stitch of described Type-C interface;
According to the current voltage value of described CC stitch, the VBUS stitch of described Type-C interface is set
Output voltage.
Optionally, described judge that whether electronic equipment is connected tool by Type-C interface with peripheral hardware foundation
Body is:
Gather the voltage at the pull down resistor two ends being connected with described CC stitch, as described CC stitch
Current voltage value.
Optionally, the CC stitch of described detection described Type-C interface current voltage value particularly as follows:
Detection is connected to the pull down resistor two between the ground wire of described CC stitch and described Type-C interface
The voltage of end, as the current voltage value of described CC stitch.
Optionally, the described level value according to described CC stitch, the VBUS of described Type-C interface is set
The level of stitch particularly as follows:
Between magnitude of voltage and the reference voltage of VBUS stitch of lookup reflection CC stitch, corresponding relation is right
According to table, determine the reference voltage of the VBUS stitch of the current voltage value of corresponding described CC stitch;
The output voltage of VBUS stitch of described Type-C interface is set equal to the described VBUS determined
The reference voltage of stitch.
According to the second aspect of the invention, it is provided that the device that a kind of Type-C of control interface is powered,
Including:
Judge module, is used for judging whether electronic equipment is connected with peripheral hardware foundation by Type-C interface;
Detection module, sets up, with peripheral hardware, the feelings being connected by Type-C interface for described electronic equipment
Under condition, detect the current voltage value of the CC stitch of described Type-C interface;
Voltage arranges module, for the current voltage value according to described CC stitch, arranges described Type-C
The output voltage of the VBUS stitch of interface.
Optionally, described judge module specifically for:
The voltage drop low amplitude of the CC stitch of detection Type-C interface, if described reduction amplitude exceedes
Set point, then judge that electronic equipment is connected with peripheral hardware foundation by Type-C interface.
Optionally, described detection module specifically for:
Gather the voltage at the pull down resistor two ends being connected with described CC stitch, as described CC stitch
Current voltage value.
Optionally, described voltage arranges module and includes:
Search unit, for search magnitude of voltage and the VBUS stitch of reflection CC stitch reference voltage it
Between the synopsis of corresponding relation, determine the VBUS stitch of the current voltage value of corresponding described CC stitch
Reference voltage;
Unit is set, for arranging the output voltage of the VBUS stitch of described Type-C interface equal to really
The reference voltage of fixed described VBUS stitch.
According to the third aspect of the invention we, it is provided that a kind of electronic equipment, including above-mentioned control Type-C
The device that interface is powered.
According to the fourth aspect of the invention, it is provided that a kind of electronic equipment, including Type-C interface,
Memorizer and processor, wherein, described Type-C interface is connected for setting up with peripheral hardware;Described storage
Device is used for storing instruction, and described instruction is used for controlling described processor and carries out operating to perform above-mentioned control
The method that Type-C interface is powered.
It was found by the inventors of the present invention that in the prior art, exist and can not be arranged as required to VBUS
The problem of stitch output voltage.Embodiments of the invention are by detection electronic equipment Type-C interface CC
The current voltage value of stitch, arranges the output voltage of VBUS stitch, in this manner it is possible to according to difference
The peripheral hardware of function, it is provided that multiple VBUS output voltage, to power to corresponding peripheral hardware.Therefore, the present invention
Technical assignment to be realized or the those skilled in the art of technical problem is that to be solved never expect
Or it is not expected that, therefore the present invention is a kind of new technical scheme.
By detailed description to the exemplary embodiment of the present invention referring to the drawings, its of the present invention
Its feature and advantage thereof will be made apparent from.
Accompanying drawing explanation
Combined in the description and the accompanying drawing of the part that constitutes description shows the reality of the present invention
Execute example, and together with its explanation for explaining the principle of the present invention.
Fig. 1 is the stream of a kind of embodiment controlling the method that Type-C interface is powered according to the present invention
Cheng Tu;
Fig. 2 is a kind of side implementing structure controlling the device that Type-C interface is powered according to the present invention
Frame schematic diagram;
Fig. 3 is a kind of frame principle figure implementing structure according to electronic equipment of the present invention.
Detailed description of the invention
The various exemplary embodiments of the present invention are described in detail now with reference to accompanying drawing.It should also be noted that
Unless specifically stated otherwise, the parts that illustrate the most in these embodiments and step positioned opposite,
Numerical expression and numerical value do not limit the scope of the invention.
Description only actually at least one exemplary embodiment is illustrative below, never makees
For to the present invention and application thereof or any restriction of use.
May not beg in detail for technology, method and apparatus known to person of ordinary skill in the relevant
Opinion, but in the appropriate case, described technology, method and apparatus should be considered a part for description.
Shown here with in all examples discussed, any occurrence should be construed as merely example
Property rather than as limit.Therefore, other example of exemplary embodiment can have different
Value.
It should also be noted that similar label and letter represent similar terms, therefore, one in following accompanying drawing
A certain Xiang Yi the accompanying drawing of denier is defined, then need not it is carried out further in accompanying drawing subsequently
Discuss.
The present invention is to solve that can not be arranged as required to VBUS stitch present in prior art provides
The problem of suitable level value, it is provided that the new technical scheme that a kind of Type-C of control interface is powered.
Fig. 1 is the stream of a kind of embodiment controlling the method that Type-C interface is powered according to the present invention
Cheng Tu.
According to Fig. 1, comprise the steps:
Step S101, it is judged that whether electronic equipment is connected with peripheral hardware foundation by Type-C interface, as
It is then to perform step S102;As no, then perform step S101, proceed to judge.
Type-C port is divided into downlink port (DFP), uplink port (UFP) and double role's port (DRP).
DFP provides VBUS, it is also possible to providing data, typical DFP equipment is power supply adaptor, because it
Forever the most only it is to provide power supply;UFP is power taking from VBUS, and can provide data, and exemplary apparatus is U
Dish, portable hard drive, because they are the most all to be read data and from VBUS power taking;DRP both can do
DFP, it is also possible to be UFP, it is also possible to switching at runtime between DFP and UFP, typical DRP identify
It is computer, there is the mobile phone of OTG function, portable power source.
CC stitch at DFP has pull-up resistor, and the CC stitch at UFP has pull down resistor, is not connected with
Time, CC stitch magnitude of voltage is equal to the magnitude of voltage of Type-C interface power line;After connection, DFP and UFP
CC stitch be connected, the CC stitch of DFP will detect the pull down resistor of UFP, causes CC stitch
Magnitude of voltage declines.Wherein, above-mentioned pull-up resistor and pull down resistor can be a resistance, it is also possible to be
The series connection of multiple resistance and/or parallel connection.
Owing to if electronic equipment is connected with peripheral hardware foundation by Type-C interface, then electronic equipment does
DFP, peripheral hardware is UFP, therefore, it is judged that whether electronic equipment is set up with peripheral hardware by Type-C interface
The method connected can be but be not limited to detect the voltage drop low amplitude of Type-C interface CC stitch,
If this reduction amplitude exceedes set point, then judge that electronic equipment is built with peripheral hardware by Type-C interface
Vertical connection.
Wherein, set point is the normal domain of walker of Type-C interface power line voltage, such as,
The normal voltage of Type-C interface power line is 5V, and this voltage may float between 4.8V-5V,
Now the normal domain of walker of this voltage is 0V-0.2V.
Step S102, the current voltage value of detection Type-C interface CC stitch.
In the case of electronic equipment is connected with peripheral hardware foundation, the CC stitch of electronic equipment and peripheral hardware
CC stitch is connected, and electronic equipment is DFP, and peripheral hardware is UFP, and the CC stitch of peripheral hardware connects drop-down electricity
Resistance, the voltage at these pull down resistor two ends is i.e. equal to the current voltage of CC stitch.Therefore, detection Type-C
The concrete grammar of the current voltage value of interface CC stitch, can be but be not limited to gather and CC stitch
The voltage at the pull down resistor two ends connected, as the current voltage value of described CC stitch.
Step S103, according to the magnitude of voltage of CC stitch, arranges the output voltage of VBUS stitch.
When electronic equipment is DFP, and peripheral hardware is UFP, electronic equipment is supplied to peripheral hardware by VBUS stitch
Electricity, for the peripheral hardware of difference in functionality, the CC pin that the resistance of CC stitch pull down resistor is different, then corresponding
The magnitude of voltage of foot is different, and the peripheral hardware of corresponding identical function, and the resistance of CC stitch pull down resistor is fixing
Value, the magnitude of voltage of corresponding CC stitch is also fixed value, i.e. presets pull down resistor according to peripheral functionality
Resistance.Such as, the power line of electronic equipment provides 5V voltage, the CC of simulation earphone Type-C interface
If the resistance of the pull down resistor that stitch connects is 5k Ω, when the pull-up resistor resistance that electronic equipment connects
When value is for 15k Ω, the voltage of CC stitch is 1.25V;The CC stitch of digital earphone Type-C interface
If the resistance of the pull down resistor connected is 1.5k Ω, when the pull-up resistor resistance that electronic equipment connects
During for 15k Ω, the voltage of CC stitch is 0.5V.
It is possible to the resistance of the pull down resistor connected for difference in functionality peripheral hardware CC stitch, determine
The magnitude of voltage of corresponding CC stitch, by the magnitude of voltage of difference in functionality peripheral hardware CC stitch and corresponding
The reference voltage of VBUS stitch is reflected in synopsis, such as, if the magnitude of voltage of CC stitch is 1.25V,
The reference voltage of corresponding VBUS stitch is 3.3V, then the two magnitude of voltage is stored in comparison
The relevant position of table so that the VBUS stitch of correspondence according to the magnitude of voltage of CC stitch, can be found
Reference voltage.
Therefore, according to the magnitude of voltage of CC stitch, the method for the output voltage arranging VBUS stitch is permissible
For but be not limited to search reflection CC stitch magnitude of voltage and the reference voltage of VBUS stitch between corresponding
The synopsis of relation, determines the reference voltage of the VBUS stitch of the current voltage value of corresponding CC stitch;
The output voltage of the VBUS stitch arranging Type-C interface is equal to the reference voltage of the VBUS stitch determined.
So, by detecting the current voltage value of electronic equipment Type-C interface CC stitch, arrange
The output voltage of VBUS stitch, it is possible to according to the peripheral hardware of difference in functionality, it is provided that multiple VBUS exports
Voltage, to power to corresponding peripheral hardware.
Present invention also offers the device that a kind of Type-C of control interface is powered, Fig. 2 is this device
A kind of frame principle figure implementing structure.
According to Fig. 2, control the device 200 powered of Type-C interface include judge module 201,
Detection module 202 and voltage arrange module 203.
Above-mentioned judge module 201 is used for judging whether electronic equipment is built with peripheral hardware by Type-C interface
Vertical connection.
Above-mentioned detection module 202 is connected with peripheral hardware foundation by Type-C interface for electronic equipment
In the case of, the current voltage value of the CC stitch of detection Type-C interface.
Above-mentioned voltage arranges module 203 for the current voltage value according to CC stitch, arranges Type-C
The output voltage of the VBUS stitch of interface.
Wherein, it is judged that module 201 reduces specifically for the voltage of the CC stitch of detection Type-C interface
Amplitude, if described reduction amplitude exceedes set point, then judges that electronic equipment is by Type-C interface
Set up with peripheral hardware and be connected.
Detection module 202 is connected to described CC stitch and described Type-C interface specifically for detection
The voltage at the pull down resistor two ends between ground wire, as the current voltage value of described CC stitch.
Voltage arranges module 203 and includes searching unit and arranging unit, and this lookup unit is used for searching instead
Reflect the synopsis of corresponding relation between the magnitude of voltage of CC stitch and the reference voltage of VBUS stitch, determine
The reference voltage of the VBUS stitch of the current voltage value of corresponding CC stitch;Unit is set, is used for arranging
The output voltage of the VBUS stitch of Type-C interface is equal to the reference voltage of the VBUS stitch determined.
Present invention also offers a kind of electronic equipment, on the one hand, this electronic equipment includes aforesaid control
The device 200 that Type-C interface processed is powered.This electronic equipment e.g. mobile phone, panel computer, notes
This computer etc..
Fig. 3 is the frame principle figure of the enforcement structure of this electronic equipment according to another aspect of the present invention.
According to Fig. 3, this electronic equipment 300 includes Type-C interface, memorizer 301 and place
Reason device 302, this Type-C interface is connected for setting up with peripheral hardware;This memorizer 301 refers to for storage
Order, this instruction is used for controlling processor 302 and carries out operating to perform above-mentioned control Type-C interface and power
Method.
This processor can be such as central processor CPU, Micro-processor MCV etc..This memorizer example
As include ROM (read only memory), RAM (random access memory), such as hard disk non-volatile
Property memorizer etc..
In addition, according to Fig. 3, this electronic equipment 300 also includes interface arrangement 303, defeated
Enter device 304, display device 305, communicator 306, speaker 307, mike 308 etc..
Although figure 3 illustrates multiple device, but, electronic equipment of the present invention can only relate to therein
Partial devices, such as, processor 301, memorizer 302, interface arrangement 303 etc..
Above-mentioned communicator 306 such as can carry out there is wired or wireless communication.
Above-mentioned interface arrangement 303 such as includes earphone jack, Type-C interface etc., so that interface arrangement
The Type-C interface of 303 is connected with peripheral hardware foundation by Type-C data wire.
Above-mentioned input equipment 304 such as can include touch screen, button etc..
Above-mentioned display device 305 e.g. LCDs, touch display screen etc..
Electronic equipment of the present invention e.g. mobile phone, panel computer etc..
The various embodiments described above primary focus describes and the difference of other embodiments, but art technology
Personnel are it should be understood that, the various embodiments described above can be used alone as required or be combined with each other makes
With.
Each embodiment in this specification all uses the mode gone forward one by one to describe, phase between each embodiment
Part cross-reference as homophase, each embodiment stress with other embodiments
Difference, but it will be clear for those skilled in the art that the various embodiments described above can be as required
It is used alone or is combined with each other.It addition, for device embodiment, owing to it is and side
Method embodiment is corresponding, so describing fairly simple, relevant part sees the correspondence of embodiment of the method
The explanation of part.System embodiment described above is only schematically, wherein as dividing
Module from part description can be or may not be physically separate.
The present invention can be device, method and/or computer program.Computer program can
To include computer-readable recording medium, containing for making processor realize each side of the present invention
The computer-readable program instructions in face.
Computer-readable recording medium can keep and store by instruction execution equipment use
The tangible device of instruction.Computer-readable recording medium such as may be-but not limited to-electricity and deposits
Storage equipment, magnetic storage apparatus, light storage device, electromagnetism storage device, semiconductor memory apparatus or
The combination of above-mentioned any appropriate.The more specifically example of computer-readable recording medium is (non exhaustive
List) including: portable computer diskette, hard disk, random access memory (RAM), read-only storage
Device (ROM), erasable type programmable read only memory (EPROM or flash memory), static random-access are deposited
Reservoir (SRAM), Portable compressed dish read only memory (CD-ROM), digital versatile disc (DVD),
Memory stick, floppy disk, mechanical coding equipment, such as storage has punch card or the groove convex of instruction on it
Play structure and the combination of above-mentioned any appropriate.Computer-readable recording medium used herein above
It is not construed as instantaneous signal itself, the electromagnetic wave of such as radio wave or other Free propagations, logical
Cross electromagnetic wave (such as, by the light pulse of fiber optic cables) that waveguide or other transmission mediums propagate,
Or by the signal of telecommunication of wire transfer.
Computer-readable program instructions as described herein can be downloaded from computer-readable recording medium
To each calculating/processing equipment, or by network, such as the Internet, LAN, wide area network and/
Or wireless network downloads to outer computer or External memory equipment.Network can include copper transmission cable,
Fiber-optic transfer, be wirelessly transferred, router, fire wall, switch, gateway computer and/or edge clothes
Business device.Adapter or network interface in each calculating/processing equipment receive computer from network
Readable program instructions, and forward this computer-readable program instructions, calculate for being stored in each/process
In computer-readable recording medium in equipment.
Can be assembly instruction, instruction set architecture for performing the computer program instructions of present invention operation
(ISA) instruction, machine instruction, machine-dependent instructions, microcode, firmware instructions, state arrange number
According to or the source code write with the combination in any of one or more programming languages or object code, institute
State programming language and include OO programming language such as Smal ltalk, C++ etc., and conventional
Procedural programming languages such as " C " language or similar programming language.Computer-readable program refers to
Order can perform the most on the user computer, perform the most on the user computer, as one
Individual independent software kit performs, part part the most on the user computer performs the most on the remote computer or
Person performs completely on remote computer or server.In the situation relating to remote computer, remotely
By the network of any kind, computer can include that LAN (LAN) or wide area network (WAN) connect
To subscriber computer, or, it may be connected to outer computer (such as utilizes Internet service to provide
Business passes through Internet connection).In certain embodiments, by utilizing computer-readable program instructions
Status information come personalized customization electronic circuit, such as Programmable Logic Device, field programmable gate
Array (FPGA) or programmable logic array (PLA), this electronic circuit can perform computer-readable
Programmed instruction, thus realize various aspects of the invention.
Referring herein to method according to embodiments of the present invention, device (system) and computer program
Flow chart and/or block diagram describe various aspects of the invention.Should be appreciated that flow chart and/or frame
The combination of each square frame in each square frame of figure and flow chart and/or block diagram, can be by computer-readable
Programmed instruction realizes.
These computer-readable program instructions can be supplied to general purpose computer, special-purpose computer or other
The processor of programmable data processing means, thus produce a kind of machine so that these instructions are logical
When crossing the processor execution of computer or other programmable data processing means, create flowchart
And/or the device of the function/action of regulation in the one or more square frames in block diagram.Can also be these
Computer-readable program instructions store in a computer-readable storage medium, these instruction make computer,
Programmable data processing means and/or other equipment work in a specific way, thus, storage has instruction
Computer-readable medium then includes a manufacture, and it includes one in flowchart and/or block diagram
Or the instruction of the various aspects of the function/action of regulation in multiple square frame.
Computer-readable program instructions can also be loaded into computer, other programmable data processes dress
Put or on miscellaneous equipment so that at computer, other programmable data processing means or miscellaneous equipment
Upper execution sequence of operations step, to produce computer implemented process so that computer,
The instruction flowchart performed in other programmable data processing means or miscellaneous equipment and/or block diagram
In one or more square frames in regulation function/action.
Flow chart and block diagram in accompanying drawing show the system of multiple embodiments according to the present invention, method
Architectural framework in the cards, function and operation with computer program.In this, flow process
Each square frame in figure or block diagram can represent a module, program segment or a part for instruction, described
A part for module, program segment or instruction comprises one or more logic function for realizing regulation
Executable instruction.At some as in the realization replaced, the function marked in square frame can also be with not
The order being same as being marked in accompanying drawing occurs.Such as, two continuous print square frames can essentially the most also
Performing, they can also perform sometimes in the opposite order capablely, and this is depending on involved function.
It is also noted that in each square frame in block diagram and/or flow chart and block diagram and/or flow chart
The combination of square frame, can come by the special hardware based system of the function or action that perform regulation
Realize, or can realize with the combination of specialized hardware with computer instruction.For art technology
It is well known that for personnel, realize by hardware mode, realized by software mode and pass through software
Realize being all of equal value with the mode of combination of hardware.
Being described above various embodiments of the present invention, described above is exemplary, and exhaustive
Property, and it is also not necessarily limited to disclosed each embodiment.At the model without departing from illustrated each embodiment
Enclose with spirit in the case of, many modifications and changes for those skilled in the art
Will be apparent from.The selection of term used herein, it is intended to explain the former of each embodiment best
Reason, actual application or the technological improvement to the technology in market, or make other of the art general
Logical technical staff is understood that each embodiment disclosed herein.The scope of the present invention is come by claims
Limit.
Claims (10)
1. one kind controls the method that Type-C interface is powered, it is characterised in that including:
Judge whether electronic equipment is connected, in this way, then with peripheral hardware foundation by Type-C interface:
Detect the current voltage value of the CC stitch of described Type-C interface;
According to the current voltage value of described CC stitch, the VBUS stitch of described Type-C interface is set
Output voltage.
Method the most according to claim 1, it is characterised in that described judgement electronic equipment is
No set up by Type-C interface and peripheral hardware be connected particularly as follows:
Detect the voltage drop low amplitude of the CC stitch of described Type-C interface, if described reduction amplitude
Exceed set point, then judge that electronic equipment is connected with peripheral hardware foundation by Type-C interface.
Method the most according to claim 1, it is characterised in that the described Type-C of described detection
The current voltage value of the CC stitch of interface particularly as follows:
Gather the voltage at the pull down resistor two ends being connected with described CC stitch, as described CC stitch
Current voltage value.
Method the most according to claim 1, it is characterised in that described according to described CC pin
The level value of foot, the level of the VBUS stitch of described Type-C interface is set particularly as follows:
Between magnitude of voltage and the reference voltage of VBUS stitch of lookup reflection CC stitch, corresponding relation is right
According to table, determine the reference voltage of the VBUS stitch of the current voltage value of corresponding described CC stitch;
The output voltage of VBUS stitch of described Type-C interface is set equal to the described VBUS determined
The reference voltage of stitch.
5. one kind controls the device that Type-C interface is powered, it is characterised in that including:
Judge module, is used for judging whether electronic equipment is connected with peripheral hardware foundation by Type-C interface;
Detection module, sets up, with peripheral hardware, the feelings being connected by Type-C interface for described electronic equipment
Under condition, detect the current voltage value of the CC stitch of described Type-C interface;
Voltage arranges module, for the current voltage value according to described CC stitch, arranges described Type-C
The output voltage of the VBUS stitch of interface.
Device the most according to claim 5, it is characterised in that described judge module is specifically used
In:
The voltage drop low amplitude of the CC stitch of detection Type-C interface, if described reduction amplitude exceedes
Set point, then judge that electronic equipment is connected with peripheral hardware foundation by Type-C interface.
Device the most according to claim 5, it is characterised in that described detection module is specifically used
In:
Gather the voltage at the pull down resistor two ends being connected with described CC stitch, as described CC stitch
Current voltage value.
Device the most according to claim 5, it is characterised in that described voltage arranges module bag
Include:
Search unit, for search magnitude of voltage and the VBUS stitch of reflection CC stitch reference voltage it
Between the synopsis of corresponding relation, determine the VBUS stitch of the current voltage value of corresponding described CC stitch
Reference voltage;
Unit is set, for arranging the output voltage of the VBUS stitch of described Type-C interface equal to really
The reference voltage of fixed described VBUS stitch.
9. an electronic equipment, it is characterised in that include the dress described in any one of claim 5-8
Put.
10. an electronic equipment, it is characterised in that include Type-C interface, memorizer and place
Reason device, wherein, described Type-C interface is connected for setting up with peripheral hardware;Described memorizer is used for storing
Instruction, described instruction is used for controlling described processor and carries out operating to perform to appoint according to claim 1-4
One described method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610282741.2A CN105975039A (en) | 2016-04-29 | 2016-04-29 | Method and device for controlling power supply of Type-C interface, and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610282741.2A CN105975039A (en) | 2016-04-29 | 2016-04-29 | Method and device for controlling power supply of Type-C interface, and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105975039A true CN105975039A (en) | 2016-09-28 |
Family
ID=56993622
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610282741.2A Pending CN105975039A (en) | 2016-04-29 | 2016-04-29 | Method and device for controlling power supply of Type-C interface, and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105975039A (en) |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106549459A (en) * | 2016-12-29 | 2017-03-29 | 硅谷数模半导体(北京)有限公司 | The determination method of charging voltage and mobile terminal |
CN106776400A (en) * | 2016-12-14 | 2017-05-31 | 上海艺时网络科技有限公司 | Electronic equipment and its circuit, interconnecting device and its circuit and whistle control system |
CN106855848A (en) * | 2017-03-13 | 2017-06-16 | 山东和远智能科技股份有限公司 | The electric power supply control system and method for OTG |
CN107480086A (en) * | 2017-08-04 | 2017-12-15 | 青岛海信移动通信技术股份有限公司 | Support circuit, terminal and its control method of OTG functions |
CN108270254A (en) * | 2016-12-30 | 2018-07-10 | 维沃移动通信有限公司 | The method of supplying power to and mobile terminal of a kind of terminal device |
CN108268403A (en) * | 2016-12-30 | 2018-07-10 | 维沃移动通信有限公司 | A kind of Type-C interface protective circuits and method, mobile terminal |
CN108271092A (en) * | 2016-12-30 | 2018-07-10 | 维沃移动通信有限公司 | The processing method and mobile terminal of a kind of access device |
CN108268393A (en) * | 2016-12-30 | 2018-07-10 | 维沃移动通信有限公司 | The processing method and mobile terminal of a kind of access device |
CN108595352A (en) * | 2018-05-14 | 2018-09-28 | 维沃移动通信有限公司 | A kind of guard method of mobile terminal and device |
CN108628713A (en) * | 2018-05-17 | 2018-10-09 | Oppo广东移动通信有限公司 | Equipment detection method, device, storage medium and electronic equipment |
CN108664430A (en) * | 2018-05-21 | 2018-10-16 | Oppo广东移动通信有限公司 | Recognition methods, device, storage medium and the electronic equipment of equipment |
CN109344108A (en) * | 2018-09-10 | 2019-02-15 | 普联技术有限公司 | A kind of Type-C interface equipment, communication means and communication system |
CN111064243A (en) * | 2019-12-12 | 2020-04-24 | 优奈柯恩(北京)科技有限公司 | Mobile power supply and method for supplying power to peripheral equipment |
WO2022150945A1 (en) * | 2021-01-12 | 2022-07-21 | Microsoft Technology Licensing, Llc | Pin-short damage protection |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101221546A (en) * | 2007-01-12 | 2008-07-16 | 奇岩电子股份有限公司 | Device for automatically detecting universal serial bus main unit or peripherals |
CN102880238A (en) * | 2012-08-30 | 2013-01-16 | 中兴通讯股份有限公司 | Interface expanding method and device for tablet personal computer |
CN103389951A (en) * | 2012-05-09 | 2013-11-13 | 鸿富锦精密工业(深圳)有限公司 | USB (Universal Serial Bus) identification circuit |
CN104978002A (en) * | 2014-04-08 | 2015-10-14 | 鸿富锦精密工业(武汉)有限公司 | Power supply control system and method |
CN105207284A (en) * | 2015-08-25 | 2015-12-30 | 青岛海信移动通信技术股份有限公司 | Power supply method of master equipment to slave equipment and master equipment |
-
2016
- 2016-04-29 CN CN201610282741.2A patent/CN105975039A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101221546A (en) * | 2007-01-12 | 2008-07-16 | 奇岩电子股份有限公司 | Device for automatically detecting universal serial bus main unit or peripherals |
CN103389951A (en) * | 2012-05-09 | 2013-11-13 | 鸿富锦精密工业(深圳)有限公司 | USB (Universal Serial Bus) identification circuit |
CN102880238A (en) * | 2012-08-30 | 2013-01-16 | 中兴通讯股份有限公司 | Interface expanding method and device for tablet personal computer |
CN104978002A (en) * | 2014-04-08 | 2015-10-14 | 鸿富锦精密工业(武汉)有限公司 | Power supply control system and method |
CN105207284A (en) * | 2015-08-25 | 2015-12-30 | 青岛海信移动通信技术股份有限公司 | Power supply method of master equipment to slave equipment and master equipment |
Cited By (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106776400A (en) * | 2016-12-14 | 2017-05-31 | 上海艺时网络科技有限公司 | Electronic equipment and its circuit, interconnecting device and its circuit and whistle control system |
CN106776400B (en) * | 2016-12-14 | 2023-11-07 | 南昌黑鲨科技有限公司 | Electronic equipment and circuit thereof, switching equipment and circuit thereof and signal control system |
CN106549459A (en) * | 2016-12-29 | 2017-03-29 | 硅谷数模半导体(北京)有限公司 | The determination method of charging voltage and mobile terminal |
CN108271092B (en) * | 2016-12-30 | 2019-12-31 | 维沃移动通信有限公司 | Processing method of access equipment and mobile terminal |
CN108270254A (en) * | 2016-12-30 | 2018-07-10 | 维沃移动通信有限公司 | The method of supplying power to and mobile terminal of a kind of terminal device |
CN108268403A (en) * | 2016-12-30 | 2018-07-10 | 维沃移动通信有限公司 | A kind of Type-C interface protective circuits and method, mobile terminal |
CN108271092A (en) * | 2016-12-30 | 2018-07-10 | 维沃移动通信有限公司 | The processing method and mobile terminal of a kind of access device |
CN108268393A (en) * | 2016-12-30 | 2018-07-10 | 维沃移动通信有限公司 | The processing method and mobile terminal of a kind of access device |
CN106855848A (en) * | 2017-03-13 | 2017-06-16 | 山东和远智能科技股份有限公司 | The electric power supply control system and method for OTG |
CN106855848B (en) * | 2017-03-13 | 2023-05-09 | 和远智能科技股份有限公司 | OTG power supply control system and method |
CN107480086B (en) * | 2017-08-04 | 2020-11-03 | 青岛海信移动通信技术股份有限公司 | Terminal and control method thereof |
CN107480086A (en) * | 2017-08-04 | 2017-12-15 | 青岛海信移动通信技术股份有限公司 | Support circuit, terminal and its control method of OTG functions |
CN108595352A (en) * | 2018-05-14 | 2018-09-28 | 维沃移动通信有限公司 | A kind of guard method of mobile terminal and device |
CN108628713A (en) * | 2018-05-17 | 2018-10-09 | Oppo广东移动通信有限公司 | Equipment detection method, device, storage medium and electronic equipment |
CN108628713B (en) * | 2018-05-17 | 2021-06-01 | Oppo广东移动通信有限公司 | Device detection method and device, storage medium and electronic device |
CN108664430A (en) * | 2018-05-21 | 2018-10-16 | Oppo广东移动通信有限公司 | Recognition methods, device, storage medium and the electronic equipment of equipment |
CN108664430B (en) * | 2018-05-21 | 2020-09-08 | Oppo广东移动通信有限公司 | Equipment identification method and device, storage medium and electronic equipment |
CN109344108A (en) * | 2018-09-10 | 2019-02-15 | 普联技术有限公司 | A kind of Type-C interface equipment, communication means and communication system |
CN111064243A (en) * | 2019-12-12 | 2020-04-24 | 优奈柯恩(北京)科技有限公司 | Mobile power supply and method for supplying power to peripheral equipment |
WO2021114875A1 (en) * | 2019-12-12 | 2021-06-17 | 闪耀现实(无锡)科技有限公司 | Mobile power supply and method of supplying power to peripheral device |
WO2022150945A1 (en) * | 2021-01-12 | 2022-07-21 | Microsoft Technology Licensing, Llc | Pin-short damage protection |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105975039A (en) | Method and device for controlling power supply of Type-C interface, and electronic equipment | |
CN104679232B (en) | Notice is redirected to wearable computing devices | |
CN105874682A (en) | Charging method and charging apparatus for electronic device | |
CN103596634A (en) | Power supply method and device | |
CN104054064B (en) | Flexible port configuration based on interface coupling | |
CN107608747A (en) | The construction method of form system, device, electronic equipment, storage medium | |
CN107368272A (en) | A kind of double screen is different to touch different aobvious method, apparatus and computer-readable recording medium | |
CN107193269A (en) | Program development servicing unit and program development householder method | |
CN104836877B (en) | A kind of method for debugging detection mobile phone | |
CN106786960A (en) | Charge control method, device and terminal | |
CN107885683A (en) | A kind of current test method of terminal and terminal | |
CN108268389A (en) | The insertion detection method and mobile terminal of a kind of equipment | |
CN109032062A (en) | A kind of PCIE switching chip | |
CN107203425A (en) | Switching method, equipment and the electronic equipment gently applied | |
CN107783769A (en) | A kind of method, apparatus and electronic equipment by USB upgrading electronic equipment | |
US8818783B2 (en) | Representing state transitions | |
KR20160086836A (en) | Information processing apparatus, information processing method, and information processing system | |
CN106297614A (en) | A kind of method of testing of LCD product | |
CN109710200A (en) | Display device, recording medium and control method | |
CN107885630A (en) | A kind of programmable virtual keyboard detecting device and method | |
CN104571314A (en) | Method for judging installation direction of electronic device and electronic system | |
CN104683431B (en) | Intelligent network list object method for building up and information processing unit | |
CN105744607A (en) | Intelligent WIFI scanning control method of mobile terminal and mobile terminal | |
CN107506015A (en) | The method and apparatus powered to processor | |
CN105975414A (en) | Method and device for controlling mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160928 |
|
WD01 | Invention patent application deemed withdrawn after publication |