CN107832243A - OTG equipment current-limiting apparatus, method and electronic equipment - Google Patents
OTG equipment current-limiting apparatus, method and electronic equipment Download PDFInfo
- Publication number
- CN107832243A CN107832243A CN201711121556.6A CN201711121556A CN107832243A CN 107832243 A CN107832243 A CN 107832243A CN 201711121556 A CN201711121556 A CN 201711121556A CN 107832243 A CN107832243 A CN 107832243A
- Authority
- CN
- China
- Prior art keywords
- otg
- temperature
- current
- unit
- 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
- 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/382—Information transfer, e.g. on bus using universal interface adapter
- G06F13/385—Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
- G06F11/3027—Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a bus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3058—Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
-
- 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
Abstract
A kind of OTG equipment current-limiting apparatus, method and the electronic equipment provided in the embodiment of the present application, the device include:Temperature detecting unit, the temperature signal of the OTG circuits for obtaining driving OTG equipment;Comparing unit, for receiving the temperature signal, and when the temperature signal is not less than temperature rise threshold value, output control signal;Current limiting unit, for receiving the control signal, and according to the output current of control signal limitation OTG circuits.By using above-mentioned technical proposal, current limiting unit can be controlled according to temperature signal, so that current limiting unit is limited the output current of OTG circuits, further make the temperature of OTG circuits reduce, ensure the stabilization of power supply unit operation, avoid OTG circuits from being burned.
Description
Technical field
The invention relates to OTG equipment technical fields, more particularly to a kind of OTG equipment current-limiting apparatus, method and electricity
Sub- equipment.
Background technology
With the popularization of mobile terminal, data are not carried out directly by computer between each electronic equipment to realize
The purpose of exchange, a kind of OTG (on-the-go) agreement are applied and given birth to, and OTG is applied between a variety of equipment or mobile device
Connection, realize the data exchange between distinct device.For example, digital camera is directly connected on printer, pass through OTG skills
Art, the USB interface of two equipment rooms is connected, the photograph taken is printed immediately.
Two equipment can be connected by OTG data wire, the master slave relation regardless of two equipment, always be existed wherein
One equipment (being referred to as power supply unit), to drive OTG equipment, defines OTG connections for another equipment (being referred to as OTG equipment) power supply
Two ports of device are respectively main interface and from interface, and the USB interface of main interface and power supply unit connects, from interface and OTG
The USB interface connection of equipment.
Generally, there is inside power supply unit OTG circuits, OTG circuits include booster circuit, the OTG circuits it is defeated
Enter the power supply of end connection power supply unit, supply voltage is exported to OTG after the boosting processing of booster circuit by OTG attachment means
Equipment.In order to limit the supply current that power supply unit is the power supply of OTG equipment, current limiting unit is also included in OTG circuits, passes through inspection
The output voltage of power supply or booster circuit is surveyed to control the working condition of current limiting unit, reaches the supply current of limitation OTG equipment
Size, this current-limiting mode have significant limitation.
The content of the invention
The embodiment of the present application provides a kind of OTG equipment current-limiting apparatus, method and electronic equipment, can be optimized for OTG equipment
The current-limiting mode being powered.
In a first aspect, the embodiment of the present application provides a kind of OTG equipment current-limiting apparatus, including:
Temperature detecting unit, the temperature signal of the OTG circuits for obtaining driving OTG equipment;
Comparing unit, for receiving the temperature signal, and when the temperature signal is not less than temperature rise threshold value, output control
Signal processed;
Current limiting unit, for receiving the control signal, and according to the output electricity of control signal limitation OTG circuits
Stream.
Second aspect, the embodiment of the present application provide a kind of electronic equipment, including:Described OTG equipment current-limiting apparatus.
The third aspect, the embodiment of the present application provide a kind of OTG equipment current-limiting method, including:
Obtain the temperature signal of the OTG circuits of driving OTG equipment;
The temperature signal and temperature rise threshold value are compared, when the temperature signal is more than the temperature rise threshold value, passed through
Current limiting unit limits the output current of OTG circuits.
A kind of OTG equipment current limliting scheme provided in the embodiment of the present application, including:Temperature detecting unit, driven for obtaining
The temperature signal of the OTG circuits of dynamic OTG equipment;Comparing unit, for receiving the temperature signal, and in the temperature signal not
During less than temperature rise threshold value, output control signal;Current limiting unit, for receiving the control signal, and according to the control signal
Limit the output current of OTG circuits.By using above-mentioned technical proposal, current limiting unit can be controlled according to temperature signal, so that
Current limiting unit is limited the output current of OTG circuits, further makes the temperature of OTG circuits reduce, and ensures power supply unit fortune
Capable stabilization, OTG circuits are avoided to be burned.
Brief description of the drawings
Fig. 1 is a kind of structural representation for OTG equipment current-limiting apparatus that the embodiment of the present application provides;
Fig. 2 is the structural representation for another OTG equipment current-limiting apparatus that the embodiment of the present application provides;
Fig. 3 is the structural representation for another OTG equipment current-limiting apparatus that the embodiment of the present application provides;
Fig. 4 is the structural representation for another OTG equipment current-limiting apparatus that the embodiment of the present application provides;
Fig. 5 is a kind of schematic flow sheet for OTG equipment current-limiting method that the embodiment of the present application provides;
Fig. 6 is the schematic flow sheet for another OTG equipment current-limiting method that the embodiment of the present application provides;
Fig. 7 is the schematic flow sheet for another OTG equipment current-limiting method that the embodiment of the present application provides;
Fig. 8 is the schematic flow sheet for another OTG equipment current-limiting method that the embodiment of the present application provides.
Embodiment
The technical scheme of the application is further illustrated below in conjunction with the accompanying drawings and by embodiment.It is appreciated that
It is that specific embodiment described herein is used only for explaining the application, rather than the restriction to the application.Further need exist for illustrating
, for the ease of description, the part related to the application rather than entire infrastructure are illustrate only in accompanying drawing.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail
The processing described as flow chart or method.Although each step is described as the processing of order, many of which by flow chart
Step can be implemented concurrently, concomitantly or simultaneously.In addition, the order of each step can be rearranged.When its operation
The processing can be terminated during completion, it is also possible to the additional step being not included in accompanying drawing.The processing can be with
Corresponding to method, function, code, subroutine, subprogram etc..
Fig. 1 is a kind of structural representation for OTG equipment current-limiting apparatus that the embodiment of the present application provides, as shown in figure 1, the limit
Stream device 10 includes temperature detecting unit 11, comparing unit 12 and current limiting unit 13.Wherein:
Temperature detecting unit 11, the temperature signal of the OTG circuits 21 for obtaining driving OTG equipment 30.
Comparing unit 12, for receiving the temperature signal, and when the temperature signal is not less than temperature rise threshold value, output
Control signal.
Current limiting unit 13, for receiving the control signal, and according to the output of control signal limitation OTG circuits 20
Electric current.
Wherein, it is that OTG equipment is powered that power supply source, which passes sequentially through OTG circuits and current limiting unit, exemplarily, power supply source
Can be the out-put supply of power supply unit, power supply unit can be smart mobile phone, tablet personal computer and other there is operating system
Equipment.OTG equipment can be the electrical equipments such as external storage equipment, USB fans or USB electric lights.The out-put supply of power supply unit
Voltage boosting processing is carried out by OTG circuits after, output meets the input voltages of OTG equipment power reguirements.Exemplarily, supply
The voltage of the out-put supply of electric equipment is generally 3.3V, and the input voltage of the power demands of OTG equipment is 5V, passes through OTG circuits
After carrying out boosting processing, output voltage 3.3V is boosted into 5V, and is powered for OTG equipment.Alternatively, current-limiting apparatus can be with
It is integrated in inside power supply unit, OTG circuits are also integrated in inside power supply unit.
And as power supply unit is continuously the power supply of OTG equipment, work that OTG circuits are persistently boosted and occur what is generated heat
Problem, the performance of power supply unit may be influenceed, serious possibly even causes OTG circuits to burn out.Current limiting unit can be to OTG electricity
The output current on road is adjusted, and the output current by reducing OTG circuits can reduce the temperature of OTG circuits.
The temperature signal of OTG circuits is detected by temperature detecting unit, and current limiting unit is controlled according to temperature signal, so that
Current limiting unit is limited the output current of OTG circuits, further makes the temperature of OTG circuits reduce, and ensures power supply unit fortune
Capable stabilization, OTG circuits are avoided to be burned.
Alternatively, the temperature detecting unit is used to be installed in the OTG circuits near the inductance of booster circuit, is used for
Obtain the temperature signal of the inductance.
OTG circuits include the booster circuit with inductance component, and exemplarily, booster circuit can be boost circuits,
Boost circuits are a kind of switch DC booster circuits, and output voltage can be made to be higher than input voltage.Inductance component is used to hinder electricity
Rheology, lead to direct current resistance exchange.Boost process is the energy transfer process of an inductance, so in booster circuit continuous firing one
After the section time, inductance component can generate heat;, can be with by the way that temperature detecting unit is installed near the inductance of the booster circuit
Obtain the temperature signal of the inductance, and then control current limiting unit to carry out current limliting according to the temperature signal of inductance, so that inductance
Temperature reduce, avoid OTG circuits from being burned, and ensure power supply unit it is stable.Exemplarily, the temperature detection
Unit is mountable within the inductance 3mm of the booster circuit of the OTG circuits, so that temperature detecting unit can be examined effectively
Survey the temperature signal of inductance.It should be noted that temperature detecting unit and booster circuit apart from not limited to this, can basis
The size for the equipment that OTG circuits and current-limiting apparatus integrate is adjusted, it is only necessary to meet set temperature detecting unit and
The distance of inductance can make temperature detecting unit detect the surface temperature of inductance, and error is not over setting range.
Alternatively, current-limiting apparatus 10 also includes access detection unit, and the output end of the access detection unit is single compared with
Member is connected, for when detecting that OTG equipment is linked into the power supply unit for providing power supply, control comparing unit to receive the temperature
Signal.
Detected whether that OTG equipment connects with power supply unit by the access detection unit of setting so that in OTG equipment and
When power supply unit connects, temperature signal is obtained by comparing unit and is compared.Current limliting can be determined by accessing detection unit
Whether device, which needs to start, performs current limliting, avoids current-limiting apparatus from continuing invalid work, reduces device power consumption.
Alternatively, the temperature rise threshold value can be default fixed value;Can also be initial temperature and limiting temperature sum.
The structural representation for another OTG equipment current-limiting apparatus that Fig. 2 provides for the embodiment of the present application, the current-limiting apparatus 10
Including temperature detecting unit 11, comparing unit 12, current limiting unit 13 and access detection unit 14.There is provided in above-described embodiment
On the basis of technical scheme, as shown in Fig. 2 the current-limiting apparatus 10 is integrated in power supply unit 10, wherein:
Temperature detecting unit 11, the temperature signal of the OTG circuits 21 for obtaining driving OTG equipment 30.
Comparing unit 12, for receiving the temperature signal, and when the temperature signal is not less than temperature rise threshold value, output
Control signal.
Current limiting unit 13, for receiving the control signal, and according to the output of control signal limitation OTG circuits 20
Electric current.
The output end of access detection unit 14 is connected with comparing unit, for detecting that it is electric that OTG equipment is linked into offer
During the power supply unit in source, control comparing unit receives the temperature signal.
Embodiment may be referred to associated description above, will not be repeated here.
Wherein, the access detection unit 14 is specifically used for the level of detection USB_ID pins, when the USB_ID pins
For low level when, access detection unit 14 control comparing unit 12 receive the temperature signal, the USB_ID pins are described
ID pins in the USB interface 01 of power supply unit 10.
OTG equipment is connected by OTG attachment means 40 with power supply unit, and power supply unit is set by OTG attachment means and OTG
It is standby to be communicatively coupled, or be powered by OTG attachment means for OTG equipment.Exemplarily, the OTG attachment means
Can be OTG data wires.
The USB interface 01 of power supply unit and the main interface 02 of OTG attachment means connect;Exemplarily, the USB interface is
Mini-USB interfaces, mini-USB interfaces include five pins:Vbus pins, D- pins, D+ pins, ID pins and grounding pin
GND.The main interface 02 of OTG attachment means is interface corresponding with the mini-USB interfaces, and correspondingly, main interface 02 also includes
Five pins:Vbus pins, D- pins, D+ pins, ID pins and grounding pin GND.Power supply unit is OTG by Vbus pins
Equipment is powered, and D- pins and D+ pins are differential signal pin, and power supply unit and OTG equipment can be made to carry out OTG communications.
ID pins are used to identify different access end points, when OTG equipment connects with power supply unit, on USB-ID pins
For low level, so by detecting the level signal on USB-ID pins, it can detect whether OTG equipment builds with power supply unit
Vertical connection, it can further determine whether current-limiting apparatus needs to start and perform current limliting, avoid current-limiting apparatus from continuing invalid work,
Reduce device power consumption.
Alternatively, the power supply unit 10 includes PMU, and the comparing unit is used to be integrated in the power supply
In administrative unit, the ADC ports of the PMU are connected to the output end of temperature detecting unit, the power management list
The output end of member is connected to the Enable Pin of current limiting unit.
Wherein, ADC (Analog to Digital Converter) is analog-digital converter, the ADC of PMU
Port is connected with temperature detecting unit, and the temperature signal of the simulation received can be converted to the temperature signal of numeral, and then
Comparing unit can be made to be compared judgement to the temperature signal of numeral, improve the processing speed of comparing unit.
The structural representation for another OTG equipment current-limiting apparatus that Fig. 3 provides for the embodiment of the present application, the current-limiting apparatus 10
Including temperature detecting unit 11, comparing unit 12, current limiting unit 13 and access detection unit 14.There is provided in above-described embodiment
On the basis of technical scheme, as shown in figure 3, the current-limiting apparatus 10 is integrated in OTG attachment means 40, wherein:
Temperature detecting unit 11, the temperature signal of the OTG circuits 21 for obtaining driving OTG equipment 30.
Comparing unit 12, for receiving the temperature signal, and when the temperature signal is not less than temperature rise threshold value, output
Control signal.
Current limiting unit 13, for receiving the control signal, and according to the output of control signal limitation OTG circuits 20
Electric current.
The output end of access detection unit 14 is connected with comparing unit, for detecting that it is electric that OTG equipment is linked into offer
During the power supply unit in source, control comparing unit receives the temperature signal.
Embodiment may be referred to associated description above, will not be repeated here.
Wherein, the access detection unit 14 is specifically used for the level of detection OTG_ID pins, when the OTG_ID pins
For low level when, access detection unit control comparing unit 12 receive the temperature signal, the OTG_ID pins are OTG connections
ID pins in the main interface 02 of device 40.
OTG equipment is connected by OTG attachment means 40 with power supply unit, and power supply unit is set by OTG attachment means and OTG
It is standby to be communicatively coupled, or be powered by OTG attachment means for OTG equipment.
The USB interface 01 of power supply unit and the main interface 02 of OTG attachment means connect, and main interface 02 includes five pins:
Vbus pins, D- pins, D+ pins, ID pins and grounding pin GND.Power supply unit is powered by Vbus pins for OTG equipment,
D- pins and D+ pins are differential signal pin, and power supply unit and OTG equipment can be made to carry out OTG communications.
The ID pins of main interface are used to identify different access end points, when OTG equipment connects with power supply unit, USB-
It is low level on ID pins, so the level signal on the ID pins on the main interface 02 by detecting OTG attachment means, equally
It can detect whether OTG equipment is established with power supply unit to connect, further can determine whether current-limiting apparatus needs startup to hold
Row current limliting, avoid current-limiting apparatus from continuing invalid work, reduce device power consumption.
Alternatively, the output end of OTG attachment means connects with OTG equipment, exemplarily, can detect OTG attachment means
Output end ID pins,
The access detection unit 14 can be also used for detecting the level of the ID pins of the output end of OTG attachment means, when
When the ID pins of the output end are high level, access detection unit control comparing unit 12 receives the temperature signal.Pass through
The level on the ID pins of the output end of OTG attachment means is detected, can equally detect whether OTG equipment builds with power supply unit
Vertical connection, it can further determine whether current-limiting apparatus needs to start and perform current limliting, avoid current-limiting apparatus from continuing invalid work,
Reduce device power consumption.
Fig. 4 is the structural representation for another OTG equipment current-limiting apparatus that the embodiment of the present application provides, and the device includes temperature
Detection unit 11, comparing unit 12, current limiting unit 13, access detection unit 14 and controlling switch 15 are spent, wherein the temperature is examined
Survey between unit and comparing unit and connect controlling switch, the control terminal of the controlling switch is connected to access detection unit, described
Access detection unit is specifically used for turning on controlling switch when OTG equipment accesses.By accessing the control control of detection unit 14
The working condition of switch 15, realize that control comparing unit receives the temperature signal.Can further current-limiting apparatus be determined whether
Need to start and perform current limliting, avoid current-limiting apparatus from continuing invalid work, reduce device power consumption.
The embodiment of the present application additionally provides a kind of electronic equipment, including OTG equipment current limliting described in above-mentioned any embodiment fills
To put, the current-limiting apparatus 10 includes temperature detecting unit 11, comparing unit 12 and current limiting unit 13, wherein:
Temperature detecting unit 11, the temperature signal of the OTG circuits 21 for obtaining driving OTG equipment 30.
Comparing unit 12, for receiving the temperature signal, and when the temperature signal is not less than temperature rise threshold value, output
Control signal.
Current limiting unit 13, for receiving the control signal, and according to the output of control signal limitation OTG circuits 20
Electric current.
Embodiment may be referred to associated description above, will not be repeated here.Can root by the electronic equipment
Control current limiting unit to carry out current limliting according to the temperature signal of OTG equipment, so that the temperature of OTG circuits reduces, avoid OTG circuit quilts
Burn out, and ensure the stable of power supply unit.Electronic equipment described in the embodiment of the present application can be carried out for OTG equipment
The power supply unit of power supply, including mobile phone, Intelligent worn device, Intelligent bracelet, tablet personal computer or smart camera etc..The electronics is set
It is standby to can also be OTG attachment means, can be integrated with current-limiting apparatus on OTG data wires exemplarily.Power supply unit passes through
OTG attachment means and OTG equipment are attached, and are powered so that power supply unit is OTG equipment.
Fig. 5 is a kind of schematic flow sheet for OTG equipment current-limiting method that the embodiment of the present application provides, and this method can be by
OTG equipment current-limiting apparatus performs, and wherein the device can be realized by software and/or hardware, can be integrated in for giving OTG equipment
In the power supply unit being powered, it can also be integrated in the OTG attachment means for connecting OTG equipment and power supply unit.Such as
Shown in Fig. 5, this method includes:
S110, the temperature signal for obtaining the OTG circuits for driving OTG equipment.
S120, the temperature signal and temperature rise threshold value compared, when the temperature signal is more than the temperature rise threshold value,
The output current of OTG circuits is limited by current limiting unit.
Wherein, it is that OTG equipment is powered that power supply unit, which passes sequentially through OTG circuits and current limiting unit, power supply unit it is defeated
Go out after voltage carries out boosting processing by OTG circuits, output meets the input voltage of OTG equipment power reguirements.And with power supply
Equipment is continuously the power supply of OTG equipment, work that OTG circuits are persistently boosted and there is the problem of heating, power supply may be influenceed
The performance of equipment, serious possibly even causes OTG circuits to burn out.
The temperature signal of the OTG circuits of driving OTG equipment is obtained by the temperature detecting unit described in above-described embodiment, with
And by the comparing unit described in above-described embodiment by the temperature signal compared with temperature rise threshold value, and the temperature believe
When number being more than temperature rise threshold value, then limit by the current limiting unit described in above-described embodiment the output current of OTG circuits.Pass through reduction
The output current of OTG circuits can reduce the temperature of OTG circuits.The temperature rise threshold value can be default temperature value, may be used also
To be set for changing according to user, the embodiment of the present application is not limited thereto.
According to the temperature signal of OTG circuits current limiting unit can be controlled to carry out current limliting to OTG circuits, so that OTG circuits
Temperature reduce, avoid OTG circuits from being burned, and ensure power supply unit it is stable.
Alternatively, the temperature rise threshold value is default fixed value;Or the temperature rise threshold value is initial temperature and limits temperature
Spend sum.
Wherein, the initial temperature is the instantaneous temperature signal received when OTG equipment accesses, and the limiting temperature is
Fixed value;
Or
There are mapping relations in the limiting temperature, determine to limit according to the initial temperature and mapping relations with initial temperature
Temperature.
Wherein, the value of temperature rise threshold value is determined by initial temperature and limiting temperature, you can with according to actual application environment
Adjust temperature rise threshold value.Exemplarily, in the winter in northeast and the winter of Southern Coast, temperature difference is very big, if by temperature rise
Threshold value is set as a fixed value, it will causes error in judgement.So temperature rise threshold is determined by initial temperature and limiting temperature
The value of value, the comparison of comparing unit can be made more accurate, further can more rightly perform the control of current limliting.
Fig. 6 is the schematic flow sheet for another OTG equipment current-limiting method that the embodiment of the present application provides, in above-described embodiment
On the basis of the technical scheme provided, as shown in fig. 6, this method includes:
S100, detect whether that OTG equipment accesses, if OTG equipment accesses, then received the temperature signal.
Wherein, detected whether that OTG equipment accesses by the access detection unit described in above-described embodiment, that is, detected whether
There are OTG equipment and power supply unit to establish connection.The access detection unit can be integrated in inside power supply terminal, can also be integrated
Inside OTG attachment means, the OTG equipment is connected by OTG attachment means with power supply unit.
S110, the temperature signal for obtaining the OTG circuits for driving OTG equipment;
S120, the temperature signal and temperature rise threshold value compared, when the temperature signal is more than the temperature rise threshold value,
The output current of OTG circuits is limited by current limiting unit.
The embodiment of aforesaid operations may be referred to associated description above, will not be repeated here.
Current limliting is performed by having detected whether that the access of OTG equipment determines whether current-limiting apparatus needs to start, avoids current limliting from filling
Persistently invalid work is put, reduces device power consumption.
Alternatively, the temperature signal of the reception OTG circuits includes:Receive electricity in the booster circuit being located in OTG circuits
The temperature signal of sense.
Wherein, by obtaining the temperature signal of the inductance, and then current limiting unit is controlled according to the temperature signal of inductance
Current limliting is carried out, so that the temperature of inductance reduces, avoids OTG circuits from being burned, and ensures the stable of power supply unit.
Fig. 7 is the schematic flow sheet for another OTG equipment current-limiting method that the embodiment of the present application provides, in above-described embodiment
On the basis of the technical scheme provided, detect whether that OTG equipment accesses to described, if OTG equipment accesses, then received
The operation of the temperature signal is optimized, alternatively, as shown in fig. 7, this method includes:
S101a, detection provide the level of the USB_ID pins of the power supply unit of power supply, and the USB_ID pins set for power supply
ID pins in standby USB interface.
S102a, when the USB_ID pins are low level, then have OTG equipment access, receive the temperature signal.
Wherein, the level of the USB_ID pins of power supply unit is detected by the access detection unit described in above-described embodiment,
And when the level is low level, access detection unit controls the comparing unit described in above-described embodiment to receive above-mentioned implementation
The temperature signal that temperature detecting unit described in example is sent.
S110, the temperature signal for obtaining the OTG circuits for driving OTG equipment;
S120, the temperature signal and temperature rise threshold value compared, when the temperature signal is more than the temperature rise threshold value,
The output current of OTG circuits is limited by current limiting unit.
The embodiment of aforesaid operations may be referred to associated description above, will not be repeated here.
By detecting the level signal on USB-ID pins, it can detect whether OTG equipment is established with power supply unit and connect
Connect, can further determine whether current-limiting apparatus needs to start and perform current limliting, avoid current-limiting apparatus from continuing invalid work, reduce
Device power consumption.
Fig. 8 is the schematic flow sheet for another OTG equipment current-limiting method that the embodiment of the present application provides, in above-described embodiment
On the basis of the technical scheme provided, detect whether that OTG equipment accesses to described, if OTG equipment accesses, then received
The operation of the temperature signal is optimized, alternatively, as shown in figure 8, this method includes:
S101b, the level for detecting OTG_ID pins, the OTG_ID pins are the ID in the main interface of OTG attachment means
Pin;
S102b, when the OTG_ID pins are low level, then have OTG equipment access, receive the temperature signal.
Wherein, the ID detected by the access detection unit described in above-described embodiment in the main interface of OTG attachment means draws
The level of pin, and when the level is low level, access detection unit controls the comparing unit described in above-described embodiment to connect
Receive the temperature signal that the temperature detecting unit described in above-described embodiment is sent.
S110, the temperature signal for obtaining the OTG circuits for driving OTG equipment;
S120, the temperature signal and temperature rise threshold value compared, when the temperature signal is more than the temperature rise threshold value,
The output current of OTG circuits is limited by current limiting unit.
The embodiment of aforesaid operations may be referred to associated description above, will not be repeated here.
The level signal on the ID pins on main interface 02 by detecting OTG attachment means, can equally detect OTG
Whether equipment is established with power supply unit connects, and can further determine whether current-limiting apparatus needs to start and perform current limliting, avoid limiting
Flow device and continue invalid work, reduce device power consumption.
Pay attention to, above are only preferred embodiment and the institute's application technology principle of the application.It will be appreciated by those skilled in the art that
The application is not limited to specific embodiment described here, can carry out for a person skilled in the art various obvious changes,
The protection domain readjusted and substituted without departing from the application.Therefore, although being carried out by above example to the application
It is described in further detail, but the application is not limited only to above example, in the case where not departing from the application design, also
Other more equivalent embodiments can be included, and scope of the present application is determined by scope of the appended claims.
Claims (14)
- A kind of 1. OTG equipment current-limiting apparatus, it is characterised in that including:Temperature detecting unit, the temperature signal of the OTG circuits for obtaining driving OTG equipment;Comparing unit, for receiving the temperature signal, and when the temperature signal is not less than temperature rise threshold value, output control letter Number;Current limiting unit, for receiving the control signal, and according to the output current of control signal limitation OTG circuits.
- 2. OTG equipment current-limiting apparatus according to claim 1, it is characterised in that:The temperature detecting unit is used to be installed in the OTG circuits near the inductance of booster circuit, for obtaining the electricity The temperature signal of sense.
- 3. OTG equipment current-limiting apparatus according to claim 1, it is characterised in that also include:Detection unit is accessed, the output end of the access detection unit is connected with comparing unit, for detecting that OTG equipment connects When entering to the power supply unit for providing power supply, control comparing unit receives the temperature signal.
- 4. OTG equipment current-limiting apparatus according to claim 3, it is characterised in that the current-limiting apparatus is used to be integrated in institute State in power supply unit, the access detection unit is specifically used for the level of detection USB_ID pins, when the USB_ID pins are During low level, access detection unit control comparing unit receives the temperature signal, and the USB_ID pins set for the power supply ID pins in standby USB interface.
- 5. OTG equipment current-limiting apparatus according to claim 4, it is characterised in that the power supply unit includes power management Unit, the comparing unit are used to be integrated in the PMU, and the ADC ports of the PMU are connected to The output end of temperature detecting unit, the output end of the PMU are connected to the Enable Pin of current limiting unit.
- 6. OTG equipment current-limiting apparatus according to claim 3, it is characterised in that the current-limiting apparatus is used to be integrated in OTG In attachment means, the access detection unit is specifically used for the level of detection OTG_ID pins, when the OTG_ID pins are low During level, access detection unit control comparing unit receives the temperature signal;The OTG equipment is filled by the OTG connections Put and connected with the power supply unit, the OTG_ID pins are the ID pins in the main interface of OTG attachment means.
- 7. OTG equipment current-limiting apparatus according to claim 3, it is characterised in that the temperature detecting unit and relatively list Controlling switch is connected between member, the control terminal of the controlling switch is connected to access detection unit, the access detection unit tool Body is used to turn on controlling switch when OTG equipment accesses.
- 8. a kind of electronic equipment, it is characterised in that including the OTG equipment current-limiting apparatus as described in claim any one of 1-7.
- A kind of 9. OTG equipment current-limiting method, it is characterised in that including:Obtain the temperature signal of the OTG circuits of driving OTG equipment;The temperature signal and temperature rise threshold value are compared, when the temperature signal is more than the temperature rise threshold value, pass through current limliting Unit limits the output current of OTG circuits.
- 10. OTG equipment current-limiting method according to claim 9, it is characterised in that the OTG circuits in OTG equipment is received Before temperature signal, in addition to:Detect whether that OTG equipment accesses, if OTG equipment accesses, then received the temperature signal.
- 11. OTG equipment current-limiting method according to claim 10, it is characterised in that described to have detected whether that OTG equipment connects Enter, if OTG equipment accesses, then receiving the temperature signal includes:Detection provides the level of the USB_ID pins of the power supply unit of power supply, and the USB_ID pins connect for the USB of power supply unit ID pins in mouthful;When the USB_ID pins are low level, then there is the access of OTG equipment, receive the temperature signal.
- 12. OTG equipment current-limiting method according to claim 10, it is characterised in that described to have detected whether that OTG equipment connects Enter, if OTG equipment accesses, then receiving the temperature signal includes:Detect the level of OTG_ID pins;The OTG equipment is connected by the OTG attachment means with the power supply unit, institute State the ID pins in the main interface that OTG_ID pins are OTG attachment means;When the OTG_ID pins are low level, then there is the access of OTG equipment, receive the temperature signal.
- 13. OTG equipment current-limiting method according to claim 10, it is characterised in that the temperature letter of the reception OTG circuits Number include:Receive the temperature signal of inductance in the booster circuit being located in OTG circuits.
- 14. OTG equipment current-limiting method according to claim 10, it is characterised in that the temperature rise threshold value is default solid Definite value;OrThe temperature rise threshold value is initial temperature and limiting temperature sum;The initial temperature is the instantaneous temperature signal received when OTG equipment accesses;The limiting temperature is fixed value;OrThere are mapping relations in the limiting temperature, determine to limit temperature according to the initial temperature and mapping relations with initial temperature Degree.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711121556.6A CN107832243A (en) | 2017-11-14 | 2017-11-14 | OTG equipment current-limiting apparatus, method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711121556.6A CN107832243A (en) | 2017-11-14 | 2017-11-14 | OTG equipment current-limiting apparatus, method and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107832243A true CN107832243A (en) | 2018-03-23 |
Family
ID=61654325
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711121556.6A Pending CN107832243A (en) | 2017-11-14 | 2017-11-14 | OTG equipment current-limiting apparatus, method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107832243A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN204947689U (en) * | 2015-09-23 | 2016-01-06 | 深圳市鑫展鸿科技有限公司 | There is the portable power source of OTG function |
CN106655423A (en) * | 2016-12-08 | 2017-05-10 | 青岛海信移动通信技术股份有限公司 | Wireless charging method and device |
CN106786949A (en) * | 2017-01-03 | 2017-05-31 | 奇酷互联网络科技(深圳)有限公司 | Terminal device and its external charging method |
CN106802872A (en) * | 2016-12-16 | 2017-06-06 | 华勤通讯技术有限公司 | A kind of method and terminal that equipment room charging is carried out by USB interface |
CN107219407A (en) * | 2017-04-28 | 2017-09-29 | 华为技术有限公司 | A kind of inductance online test method and device |
-
2017
- 2017-11-14 CN CN201711121556.6A patent/CN107832243A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN204947689U (en) * | 2015-09-23 | 2016-01-06 | 深圳市鑫展鸿科技有限公司 | There is the portable power source of OTG function |
CN106655423A (en) * | 2016-12-08 | 2017-05-10 | 青岛海信移动通信技术股份有限公司 | Wireless charging method and device |
CN106802872A (en) * | 2016-12-16 | 2017-06-06 | 华勤通讯技术有限公司 | A kind of method and terminal that equipment room charging is carried out by USB interface |
CN106786949A (en) * | 2017-01-03 | 2017-05-31 | 奇酷互联网络科技(深圳)有限公司 | Terminal device and its external charging method |
CN107219407A (en) * | 2017-04-28 | 2017-09-29 | 华为技术有限公司 | A kind of inductance online test method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104007801B (en) | For providing the method and apparatus of power to electronic equipment | |
CN1295838C (en) | Method and apparatus for charging battery | |
CN102662898B (en) | Host-slave compatibility method, device and system for USB (universal serial bus) device | |
CN105518967B (en) | Apparatus and method for changing current limit | |
US20150143138A1 (en) | System for detecting universal serial bus (usb) device and method thereof | |
US20060284595A1 (en) | Charging mode control circuit and method | |
CN107465227B (en) | Electronic equipment and control method thereof | |
US10782938B2 (en) | Multiple interface led driver programmer | |
CN108228509B (en) | USB interface switching device and electronic equipment | |
CN102929821B (en) | Electronic equipment and electronic apparatus system | |
CN109542465B (en) | Data writing method, system, device, equipment and medium of integrated circuit chip | |
US8990461B2 (en) | On-The-Go (OTG) USB devices configuration method for identifying configuration of other connected devices by reacting to change in resistance value on a resistive line | |
CN107450705A (en) | Electronic device | |
CN208848137U (en) | Mainboard with charging function | |
CN107832243A (en) | OTG equipment current-limiting apparatus, method and electronic equipment | |
CN210573761U (en) | Interface conversion circuit and signal detection device | |
CN209388295U (en) | A kind of usb circuit and electronic equipment for realizing while charging and powering | |
CN103838343B (en) | Data interface, electronic device and method for expanding current output quantity of data interface | |
TWI587150B (en) | Electronic device with multiple interfaces | |
CN205942601U (en) | Electronic equipment interface communication reduces device of consumption | |
CN207718366U (en) | A kind of USB principals and subordinates and power switching system | |
CN216561767U (en) | USB OTG power supply switching system | |
KR20010079019A (en) | Power supplies using USB port | |
CN220711511U (en) | Control circuit of video processor and video processor | |
CN114372013B (en) | USB interface expansion circuit and terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180323 |