CN112671073B - Power adaptation circuit, controller, electrical device, power adaptation method and device - Google Patents

Power adaptation circuit, controller, electrical device, power adaptation method and device Download PDF

Info

Publication number
CN112671073B
CN112671073B CN202110024818.7A CN202110024818A CN112671073B CN 112671073 B CN112671073 B CN 112671073B CN 202110024818 A CN202110024818 A CN 202110024818A CN 112671073 B CN112671073 B CN 112671073B
Authority
CN
China
Prior art keywords
adapter
output power
adapting
gear
output
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.)
Active
Application number
CN202110024818.7A
Other languages
Chinese (zh)
Other versions
CN112671073A (en
Inventor
董林华
范永胜
李茂霖
覃健峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Topband Co Ltd
Original Assignee
Shenzhen Topband Co Ltd
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 Shenzhen Topband Co Ltd filed Critical Shenzhen Topband Co Ltd
Priority to CN202110024818.7A priority Critical patent/CN112671073B/en
Publication of CN112671073A publication Critical patent/CN112671073A/en
Application granted granted Critical
Publication of CN112671073B publication Critical patent/CN112671073B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The invention is suitable for the technical field of power adapters, and particularly provides a power adapting circuit, a controller, an electrical device, a power adapting method and a power adapting device. The control unit sequentially transmits the output power gear to the communication unit, the communication unit sequentially transmits the output power gear to the adapter, the control unit records the output power gear which can be adapted by the adapter according to the adaptation signal after receiving at least one adaptation signal fed back by the adapter, the control unit selects the adaptation output power gear according to the charging requirement of the load end and transmits the adaptation output power gear to the adapter, and the control unit is conducted so that the adapter outputs output power corresponding to the adaptation output power gear to the load end. The invention realizes the mutual adaptation of the adapter and the load end, and improves the charging efficiency of the load end.

Description

Power adaptation circuit, controller, electrical device, power adaptation method and device
Technical Field
The invention belongs to the technical field of power adapters, and particularly relates to a power adapter circuit, a controller, an electrical device, a power adapter method and a power adapter device.
Background
The Power adapter (Power adapter) is a Power supply conversion device of a small portable electronic device and an electronic appliance, and in order to realize quick charge and flash charge and improve transmission speed, various types of Type-C interfaces are generally configured, and the Type-C interface connection device can output 5V/9V/12V/15V/20V and other voltages, and output current varies from a few tenths of a ampere to 3 amperes. However, the existing specific load end (for example, intelligent curtain) does not use the specific Type-C adapter when leaving the factory, the end user only uses the specific Type-C adapter, and generally, the Type-C power adapter can output voltages with multiple power levels, but cannot output all the power level voltages, and the specific load end cannot identify the power parameters of the randomly allocated Type-C adapter, so that appropriate power cannot be provided, and the charging efficiency of the specific load end is low.
In summary, how to implement the adaptation between the Type-C interface and the specific load end, so as to provide appropriate power for the specific load end through the Type-C interface of the power adapter, and improve the charging efficiency of the specific load end, which is a technical problem to be solved by those skilled in the art.
Disclosure of Invention
The invention provides a power adapting circuit, a controller, an electrical device, a power adapting method and a device, which realize the adaptation of an interface and a specific load end so as to provide proper power for the specific load end through the interface of a power adapter and improve the charging efficiency of the specific load end.
The invention is realized in such a way that the power adapting circuit comprises a communication unit, an output unit and a control unit, wherein the control unit stores messages comprising a plurality of output power gears;
the control unit sequentially sends the output power gears to the communication unit, the communication unit sequentially sends the output power gears to the adapter, and after receiving at least one adapting signal fed back by the adapter, the control unit sends the adapting signal to the control unit, records the output power gears which can be adapted by the adapter according to the adapting signal, then selects the adapting output power gears in the output power gears which can be adapted by the adapter according to the charging requirement of the load end, sends the adapting output power gears to the adapter through the communication unit, and controls the output unit to be conducted so that the adapter outputs output power corresponding to the adapting output power gears to the load end.
Still further, the output unit includes a first output module and a second output module,
the first output module is respectively connected with the communication unit and the adapter, and is used for receiving output power output by the adapter and corresponding to the adaptive output power gear and transmitting the output power to the load end;
the second output module is respectively connected with the control unit and the adapter, and is used for receiving the default output power output by the adapter when the charging signal is received, transmitting the default output power to the load end, and stopping transmitting the default output power to the load end when the charging prohibiting signal is received.
Still further, the first output module includes first field effect tube, second field effect tube, first resistance and second resistance, the drain electrode of first field effect tube is connected respectively the input of adapter and first resistance one end, the source electrode of first field effect tube is connected the source electrode of second field effect tube, the grid of first field effect tube is connected respectively the first resistance other end, the grid of second field effect tube and second resistance one end, the drain electrode of second field effect tube is connected the output of adapter, the second resistance other end is connected communication unit.
Further, the second output module includes a third field effect tube, a fourth field effect tube, a fifth field effect tube, a third resistor, a fourth resistor, a fifth resistor and a sixth resistor, wherein the drain electrode of the third field effect tube is respectively connected with the input end of the adapter and one end of the third resistor, the source electrode of the third field effect tube is connected with the source electrode of the fourth field effect tube, the grid electrode of the third field effect tube is respectively connected with the other end of the third resistor, the grid electrode of the fourth field effect tube and one end of the fourth resistor, the drain electrode of the fourth field effect tube is connected with the output end of the adapter, the other end of the fourth resistor is connected with the drain electrode of the fifth field effect tube, the source electrode of the fifth field effect tube is respectively connected with one end of the sixth resistor and the other end of the sixth resistor, the grid electrode of the fifth field effect tube is respectively connected with one end of the fifth resistor and the other end of the sixth resistor, and the other end of the fifth resistor is connected with the control unit.
Still further, the power adaptation circuit further comprises an interface unit and an insertion detection unit;
the interface unit is connected with the adapter and is used for docking the adapter;
The insertion detection unit is respectively connected with the control unit and the adapter and is used for sending the insertion signal to the control unit when receiving the insertion signal sent by the adapter.
Still further, the insertion detection unit includes a sixth field effect transistor, a seventh resistor, an eighth resistor and a ninth resistor, a drain electrode of the sixth field effect transistor is connected with one end of the seventh resistor and the control unit respectively, a source electrode of the sixth field effect transistor is connected with one end of the ninth resistor and a ground terminal respectively, a grid electrode of the sixth field effect transistor is connected with the other end of the ninth resistor and one end of the eighth resistor respectively, the other end of the seventh resistor is connected with a power end, and the other end of the eighth resistor is connected with the adapter.
The invention also provides a controller comprising the power adapting circuit.
The invention also provides an electrical device comprising the power adapting circuit.
The invention also provides a power adapting method, which comprises the following steps:
sequentially transmitting output power gears in a pre-stored message to an adapter;
after receiving at least one adapting signal fed back by the adapter, recording an output power gear which can be adapted by the adapter according to the adapting signal, selecting an adapting output power gear from the output power gears which can be adapted by the adapter according to the charging requirement of a load end, and sending the adapting output power gear to the adapter for adapting;
And after the adaptation is completed, an output unit is opened to transmit the output power of the adapter to the load end.
Further, after receiving at least one adapting signal fed back by the adapter, recording an output power gear that can be adapted by the adapter according to the adapting signal, selecting an adapting output power gear from the output power gears that can be adapted by the adapter according to a charging requirement of a load end, and transmitting the adapting output power gear to the adapter, where the method specifically includes:
after the output power gears are all sent to the adapter, at least one adapting signal fed back by the adapter is received, the output power gears which can be adapted by the adapter are recorded according to the adapting signal, then the adapting output power gears are selected from the output power gears which can be adapted by the adapter according to the charging requirement of the load end, and the adapting output power gears are sent to the adapter.
Further, the step of sequentially sending the output power gear in the pre-stored message to the adapter specifically includes:
sequentially transmitting output power gears in a pre-stored message from high to low to an adapter;
After receiving at least one adapting signal fed back by the adapter, recording an output power gear which can be adapted by the adapter according to the adapting signal, selecting an adapting output power gear from the output power gears which can be adapted by the adapter according to the charging requirement of a load end, and sending the adapting output power gear to the adapter, wherein the method specifically comprises the following steps:
after receiving an adapting signal fed back by the adapter, determining an output power gear matched with the adapting signal as an adapting output power gear capable of meeting the charging requirement of a load end after receiving the adapting signal fed back by the adapter, and sending the adapting output power gear to the adapter.
Further, the step of sequentially sending the output power gear in the pre-stored message to the adapter specifically includes:
detecting whether an adapter is inserted;
if yes, sequentially sending the output power gear in the pre-stored message to the adapter, and if not, not sending the output power gear to the adapter.
The invention also provides a power adapting device, comprising:
The gear transmitting unit is used for sequentially transmitting output power gears in the pre-stored messages to the adapter;
the gear selection unit is used for recording the output power gear which can be adapted by the adapter according to the adaptation signal after receiving at least one adaptation signal fed back by the adapter, selecting the adaptation output power gear from the output power gears which can be adapted by the adapter according to the charging requirement of a load end, and sending the adaptation output power gear to the adapter for adaptation;
and the adaptation transmission unit is used for opening the output unit after the adaptation is completed to transmit the output power of the adapter to the load end.
Still further, the gear selection unit includes:
the first gear selection module is used for receiving at least one adapting signal fed back by the adapter after the output power gears are all sent to the adapter, recording the output power gears which can be adapted by the adapter according to the adapting signal, selecting the adapting output power gears among the output power gears which can be adapted by the adapter according to the charging requirement of the load end, and sending the adapting output power gears to the adapter.
Still further, the gear transmission unit includes:
the gear transmitting module is used for sequentially transmitting output power gears in the pre-stored messages from high to low to the adapter;
the gear selection unit includes:
and the second gear selection module is used for determining the output power gear matched with the adaptive signal as the adaptive output power gear capable of meeting the charging requirement of the load end after receiving the adaptive signal fed back by the adapter, and transmitting the adaptive output power gear to the adapter.
Still further, the gear transmission unit includes:
the detection module is used for detecting whether the adapter is inserted or not;
and the gear transmitting module is used for sequentially transmitting the output power gear in the pre-stored message to the adapter if the adapter is detected to be inserted, and not transmitting the output power gear to the adapter if the adapter is detected to be not inserted.
The invention has the beneficial effects that messages with different output power gears are sequentially transmitted to the adapter, the output power gears which can be adapted by the adapter are recorded according to the response information of the adapter, and then the adapted output power gears which are mutually adapted with the adapter are determined according to the charging requirement of the load end, so that the adapter outputs the output power which can be output by the adapter and is mutually adapted with the load end to the load end, the mutual adaptation of the adapter and the load end is realized, and the charging efficiency of the load end is improved.
Drawings
FIG. 1 is a block diagram of a power adaptation circuit provided in accordance with a first embodiment of the present invention;
FIG. 2 is a block diagram of another power adaptation circuit provided by an embodiment of the present invention;
fig. 3 is a circuit diagram of a communication unit according to a first embodiment of the present invention;
fig. 4 is a circuit diagram of an output unit according to a third embodiment of the present invention;
FIG. 5 is a circuit diagram of an interface unit according to a fifth embodiment of the present invention;
fig. 6 is a circuit diagram of an insertion detection unit and a control unit according to a sixth embodiment of the present invention;
fig. 7 is a flowchart of a power adaptation method provided in a ninth embodiment of the present invention;
fig. 8 is a block diagram of a power adapting device according to an eleventh embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The embodiment of the invention provides a power adapting circuit, a control unit 300 sequentially sends output power gears to a communication unit 100, the communication unit 100 sequentially sends the output power gears to an adapter 400, and after receiving at least one adapting signal fed back by the adapter 400, sends the adapting signal to the control unit 300, the control unit 300 records the output power gears which can be adapted by the adapter 400 according to the adapting signal, then selects the adapting output power gears among the output power gears which can be adapted by the adapter 400 according to the charging requirement of a load end 500, sends the adapting output power gears to the adapter 400 through the communication unit, and controls the output unit 200 to be conducted so that the adapter 400 outputs output power corresponding to the adapting output power gears to the load end 500. By sequentially transmitting the messages of different output power gears to the adapter 400, the output power gears which can be adapted by the adapter 400 are recorded according to the response information of the adapter 400, and then the adapted output power gears which are mutually adapted with the adapter 400 are determined according to the charging requirement of the load end 500, so that the adapter 400 outputs the output power which can be output by the adapter 400 and is mutually adapted with the load end 500 to the load end 500, the mutual adaptation of the adapter 400 and the load end 500 is realized, and the charging efficiency of the load end 500 is improved.
Example 1
The present embodiment provides a power adapting circuit, as shown in fig. 1, including a communication unit 100, an output unit 200, and a control unit 300, where the control unit 300 stores a message including a plurality of output power gears;
the control unit 300 sequentially sends the output power gear to the communication unit 100, the communication unit 100 sequentially sends the output power gear to the adapter 400, after receiving at least one adapting signal fed back by the adapter 400, the adapting signals are respectively sent to the control unit 300, the control unit 300 records the output power gear which can be adapted by the adapter 400 according to the adapting signals, then selects the adapting output power gear from the output power gears which can be adapted by the adapter 400 according to the charging requirement of the load end 500, sends the adapting output power gear to the adapter 400 through the communication unit 100, and controls the output unit 200 to be conducted so that the adapter 400 outputs output power corresponding to the adapting output power gear to the load end 500;
if the communication unit 100 has sent all the output power gears to the adapter 400 and has not received the adapting signal fed back by the adapter 400, the control unit 300 sends a charging signal or a charging prohibition signal to the output unit 200 according to the charging requirement of the load end 500, and the output unit 200 is turned on or off according to the charging signal or the charging prohibition signal, so that the default output power output by the adapter 400 is transmitted or not transmitted to the load end 500.
For the above-mentioned messages, the data blocks to be transmitted by the control unit 300 and the communication unit 100 may be generated by a USB PD PDO Tools tool, as shown below, generating a 5V/0.9 message, i.e. 0201905A, and generating a 12V/1.75A message, i.e. 003C0AF.
For the adaptation signal described above, the control unit 300 sends the message to the communication unit 100 via a specific protocol (e.g., I2C protocol), and the communication unit 100 sends the message to the adapter 400. If the adapter 400 can meet the output power level in the message, an adaptation signal is responded to the communication unit 100, and the communication unit 100 sends a series of signals conforming to the specific protocol to the control unit 300 as the adaptation signal.
The working principle of the power adapting circuit is as follows:
after the adapter 400 is inserted, the control unit 300 sequentially transmits the messages of different output power levels to the adapter 400 through the communication unit 100, if the communication unit 100 does not receive an adaptation signal in the transmission process, the adapter 400 cannot output power corresponding to the output power level, if the communication unit 100 receives the adaptation signal, the adapter 400 can output power corresponding to the output power level, the communication unit 100 sends the adaptation signal to the control unit, the control unit 300 records at least one output power level which can be adapted by the adapter 400, and selects an adaptation output power level from the at least one output power level which can be adapted by the adapter according to the charging requirement of the load end 500, and sends the adaptation output power level to the adapter 400 through the communication unit 100, and controls the output unit 200 to be conducted, so that the adapter 400 outputs output power corresponding to the adaptation output power level to the load end 500, and the adaptation of the adapter 400 and the load end 500 is realized.
There are two cases:
in the first case, after the adapter 400 is inserted, the control unit 300 sequentially transmits the messages of different output power levels to the adapter 400 through the communication unit 100, if the communication unit 100 does not receive the adapting signal in the transmission process, the adapter 400 cannot output the output power corresponding to the output power level, if the communication unit 100 receives the adapting signal, the adapter 400 can output the output power corresponding to the output power level, the control unit 300 sends the next message containing the output power level to the adapter 400 through the communication unit 100, the communication unit 100 sends the adapting signal to the control unit, the control unit 300 records the output power level that the adapter 400 can adapt, after the communication unit 100 has sent all the output power levels, the adapter output power level is selected from the output power levels that the adapter can adapt according to the charging requirement of the load terminal 500, the adapter 400 is sent to the adapter 400 through the communication unit 100, and the control unit 200 is conducted, so that the adapter 400 outputs the output power corresponding to the output power level of the adapter 400 to the load terminal 500.
In the second case, after the adapter 400 is inserted, the control unit 300 sequentially transmits the messages of different output power levels to the adapter 400 from high to low through the communication unit 100, if the communication unit 100 does not receive the adapting signal in the transmission process, the adapter 400 cannot output the output power corresponding to the output power level, if the adapting signal is received, the adapter 400 can output the output power corresponding to the output power level, the communication unit 100 sends the adapting signal to the control unit, at this time, the communication unit 100 stops sending the remaining output power levels, the control unit 300 determines that the output power level matched with the adapting signal is the adapting output power level capable of meeting the charging requirement of the load terminal 500, and sends the adapting output power level to the adapter 400, and the control output unit 200 is turned on, so that the adapter 400 outputs the output power corresponding to the adapting output power level to the load terminal 500, and the adapter 400 and the load terminal 500 can quickly adapt to the maximum charging power, and the charging efficiency of the device can be greatly improved.
If the communication unit 100 has sent all the output power gears and has not received the adapting signal fed back by the adapter 400, at this time, the control unit 300 knows that the adapter 400 cannot adapt to all the output power gears, and the control unit 300 sends a charging signal to the output unit 200 according to the charging requirement of the load end 500, so that the output unit 200 is turned on, the adapter 400 outputs the default output power to the load end 500, and charges the load end 500 with the default output power. However, it is also possible that the default output power does not meet the charging requirement of the load terminal 500, and the control unit 300 sends a charging prohibition signal to the output unit 200, and the output unit 200 turns off according to the charging prohibition signal, so that the adapter 400 does not transmit the default output power to the load terminal 500.
Preferably, the control unit 300 adopts a singlechip with the model number of R5F 1026. As shown in fig. 3, the communication unit 100 may be, but is not limited to, a PD communication chip CYPD3177 (U1 in fig. 3). In the packet including the plurality of output power gears stored in the control unit 300, the plurality of output power gears may include: when the singlechip detects that the adapter 400 is inserted, the singlechip sequentially reads the PDO messages from the FLASH and sends the PDO messages to the adapter 400 according to the sequence of the sequence, if the adapter 400 can meet the output power level contained in the current PDO message, the singlechip receives successfully configured adapting signals fed back by the adapter 400, if the singlechip does not receive the adapting information, the communication unit 100 can send all the output power levels to the charging power level, and then the communication unit can send the power level to at least one of the power levels to the charging power level, and the load of the adapter 400 can be recorded by at least one of the power levels 500 according to the requirements of the load of the adapter 400, if the communication unit 100 has sent all the output power levels to the charging power level, the communication unit can send the power level to the charging power level, the load of the adapter 400 is selected, and the load of the adapter 400 can be recorded by at least one of the load 500, and the load of the adapter 400 can be recorded by at least one of the load of the power levels 500. For example, if the output power range that the adapter 400 recorded by the singlechip can adapt includes three output power ranges, namely, 20V, 15V, and 12V, and the power consumption requirement of the load end 500 is 9V (about two batteries), the optimal 12V may be selected from 20V, 15V, and 12V as the adapted output power range, and the adapted output power range is sent to the adapter 400 through the communication unit 100, and the output unit 200 is controlled to be turned on, so that the adapter 400 outputs 12V to the load end 500, where the power consumption requirement of the load end 500 may be pre-stored in the control unit 300, or may be obtained after the communication unit 100 sends all the output power ranges, which is not limited herein. If the communication unit 100 has already sent all output power gears to the adapter 400 and has not received the adapting signal fed back by the adapter 400, the singlechip outputs the default output power gear (for example, 5V/0.9A) as the output power of the adapter 400 to the load end 500.
In this embodiment, by sequentially transmitting the messages of different output power gears to the adapter 400, acquiring the adapting signal fed back by the adapter 400, recording at least one output power gear that the adapter 400 can adapt, and selecting the adapting output power gear from the recorded output power gears that the adapter 400 can adapt according to the charging requirement of the load end 500, so that the adapter 400 and the load end 500 can adapt, and the charging efficiency of the load end 500 is improved.
Example two
The present embodiment provides a power adapting circuit, and based on the first embodiment, as shown in fig. 1, an output unit 200 includes a first output module 201 and a second output module 202.
The first output module 201 is respectively connected to the communication unit 100 and the adapter 400, and is configured to receive output power output by the adapter 400 and corresponding to the adapted output power gear, and transmit the output power to the load end 500;
the second output module 202 is respectively connected to the control unit 300 and the adapter 400, and is configured to, when receiving the charging signal, receive the default output power output by the adapter 400, and transmit the default output power to the load terminal 500, and when receiving the charging prohibition signal, stop transmitting the default output power to the load terminal 500.
In this embodiment, if the adapter 400 can adapt the output power gear, an adapting signal is sent to the communication unit 100, the communication unit 100 sends the adapting signal to the control unit 300, the control unit 300 records that the adapter 400 can adapt the output power gear, and selects an adapting output power gear from the output power gears that can be adapted by the adapter according to the charging requirement of the load end 500, and sends the adapting signal to the adapter 400 through the communication unit 100, and controls the first output module 201 to be turned on, so that the adapter 400 outputs output power corresponding to the adapting output power gear to the load end 500; if the control unit 300 sequentially sends the output power gear to the adapter 400 through the communication unit 100, the communication unit 100 does not receive the adapting signal, and at this time, the control unit 300 sends the charging signal to the second output module 202 to make it conductive, so that the adapter 400 outputs the default output power to the load end 500. However, it is also possible that the default output power does not meet the charging requirement of the load terminal 500, and the control unit 300 sends a charging prohibition signal to the output unit 200, and the output unit 200 turns off according to the charging prohibition signal, so that the adapter 400 does not transmit the default output power to the load terminal 500. By setting the multiple output lines, output power transmission under different conditions is realized, so that quick matching of the adapter 400 and the load terminal 500 is realized, and charging efficiency is improved.
In other embodiments, referring to fig. 2, the output unit 200 may also be provided with only one output module 203, which is directly controlled by the control unit 300. Under the control of the control unit 300, the output module 203 may receive the output power output by the adapter 400 and corresponding to the adaptive output power gear, and transmit the output power to the load terminal 500, or may receive the default output power output by the adapter 400 when receiving the charging signal, and transmit the default output power to the load terminal 500, and cut off when receiving the charging prohibition signal, and not transmit the default output power to the load terminal 500.
Example III
The present embodiment provides a power adapting circuit, based on the second embodiment, as shown IN fig. 4, the first output module 201 includes a first field effect transistor Q1, a second field effect transistor Q2, a first resistor R8 and a second resistor R9, where a drain electrode of the first field effect transistor Q1 is connected to an input end vbus_in of the adapter 400 and one end of the first resistor R8, a source electrode of the first field effect transistor Q1 is connected to a source electrode of the second field effect transistor Q2, a gate electrode of the first field effect transistor Q1 is connected to another end of the first resistor R8, a gate electrode of the second field effect transistor Q2 and one end of the second resistor R9, a drain electrode of the second field effect transistor Q2 is connected to an output end vbus_out of the adapter 400, and another end of the second resistor R9 is connected to the communication unit 100.
Specifically, the first field effect transistor Q1 and the second field effect transistor Q2 may be junction field effect transistors (junction FET-JFET) or metal-oxide semiconductor field effect transistors (MOS-FET for short), which are not limited herein.
In this embodiment, two field effect transistors (Q1, Q2) are connected in reverse series to prevent the power supplies on the left and right sides from flowing backward, so that when the first output module 201 is turned on, the adapter 400 can output the output power corresponding to the selected adaptive power gear through the first output module 201 to stably supply power to the load terminal 500.
Example IV
The present embodiment provides a power adapting circuit, based on the second embodiment, the second output module 202 includes a third fet Q5, a fourth fet Q4, a fifth fet Q6, a third resistor R14, a fourth resistor R16, a fifth resistor R17, and a sixth resistor R18, where a drain of the third fet Q5 is connected to the input vbus_in of the adapter 400 and one end of the third resistor R14, a source of the third fet Q5 is connected to a source of the fourth fet Q4, a gate of the third fet Q5 is connected to the other end of the third resistor R14, a gate of the fourth fet Q4, and one end of the fourth resistor R16, a drain of the fourth fet Q4 is connected to the output vbus_out of the adapter 400, the other end of the fourth resistor R16 is connected to a drain of the fifth fet Q6, a source of the fifth fet Q6 is connected to one end of the sixth resistor R18 and one end of the ground, and a gate of the fifth fet Q6 is connected to the other end of the fifth resistor R17 and the other end of the fifth resistor R18, respectively, and the other end of the fifth resistor R300 is connected to the other end of the fifth resistor R17.
In this embodiment, two field effect transistors (Q4, Q5) are connected in reverse series to prevent the power supply on the left and right sides from flowing backward, so that when the second output module 202 is turned on, the adapter 400 outputs the default output power to the load terminal 500 through the second output module 202 to stably supply power to the load terminal 500.
Example five
The present embodiment provides a power adapting circuit, which further includes, on the basis of the first embodiment, an interface unit 700 and an insertion detecting unit 600;
the interface unit 700 is connected to the adapter 400 for interfacing the adapter 400;
the insertion detection unit 600 is connected to the control unit 300 and the adapter 400, respectively, and is configured to transmit an insertion signal to the control unit 300 when receiving the insertion signal transmitted from the adapter 400.
Specifically, as shown in fig. 5, the interface unit 700 is a TYPE-C socket interface J1, the adapter 400 is connected to a data line, a TYPE-C plug of the data line is connected to a TYPE-C socket interface, the TYPE-C socket interfaces are respectively connected to the communication unit 100 and the adapter 400 is inserted into the detection unit 600, and the communication unit 100 sends a message to the adapter 400 through the TYPE-C socket interface.
In this embodiment, the interface unit 700 is used to implement the docking of the adapter 400, the insertion detection unit 600 is used to detect the insertion signal of the adapter 400, and the insertion signal of the adapter 400 is timely sent to the control unit 300, so that after determining that the adapter 400 is inserted, the control unit 300 sequentially transmits the messages with different output power gears to the adapter 400 through the communication unit 100.
Example six
The connection between the insertion detection unit 600 and the control unit 300 is shown in fig. 6, the insertion detection unit 600 includes a sixth fet Q3, a seventh resistor R10, an eighth resistor R11, and a ninth resistor R15, the drain of the sixth fet Q3 is connected to one end of the seventh resistor R10 and the control unit 300 (U2 in fig. 5), the source of the sixth fet Q3 is connected to one end of the ninth resistor R15 and the ground terminal, the gate of the sixth fet Q3 is connected to the other end of the ninth resistor R15 and one end of the eighth resistor R11, the other end of the seventh resistor R10 is connected to the power source terminal, and the other end of the eighth resistor R11 is connected to the adapter 400.
Specifically, when the adaptor 400 is plugged into the TYPE-C socket interface, 5V is output at the vbus_in port to turn on the sixth fet Q3, so that the Plug signal pd_plug is at a low level, and the single-chip microcomputer U2 detects that the adaptor 400 is plugged, and then the single-chip microcomputer U2 starts to communicate with the PD chip.
The control unit 300 communicates with the PD communication chip, and can calculate the power gear of the adapter 400 according to the adapter signal fed back by the adapter 400 during the communication process and determine the type of the adapter 400 (mainly distinguish between the PD adapter 400 and the non-PD adapter 400):
If the inserted adapter 400 is the PD adapter 400, the vbus_fet_en pin of the PD communication chip outputs a low level, so that the first field effect transistor Q1 and the second field effect transistor Q2 are turned on, and the power supply voltage VBUS of the adapter 400 is transmitted to the subsequent power utilization unit through the first field effect transistor Q1 and the second field effect transistor Q2.
If the inserted adapter 400 is a non-PD adapter 400, the singlechip U2 cannot detect a response signal of the adapter 400, and at this time, the en_out5v pin of the singlechip U2 outputs a high level, so that the fifth field effect transistor Q6 is turned on, and thus the third field effect transistor Q5 and the fourth field effect transistor Q4 are turned on, and the power supply voltage VBUS of the adapter 400 is transmitted to a subsequent power utilization unit through the third field effect transistor Q5 and the fourth field effect transistor Q4.
Taking the load end 500 as an intelligent curtain as an example, the subsequent power utilization unit is a charging control circuit for charging the battery cell, and the adapter 400 outputs output power corresponding to the output power gear to the charging control unit 300 so as to provide a proper charging current for the battery cell.
Since the PD controller is in communication with the adaptor 400, only when the PD adaptor 400 is inserted will the drive signal be output to turn on the first fet Q1 and the second fet Q2 to power the load terminal 500. The single-chip microcomputer U2 does not know the power gear output by the adapter 400 in advance, only the single-chip microcomputer U2 sends the adapter 400 one by one from the prepared message (for example, may send from the highest voltage/high current), the adapter 400 can respond to a certain message, which indicates that the adapter 400 can adapt to the output power gear corresponding to the message, and the control unit 300 records that the adapter 400 can adapt to the output power gear corresponding to the message, so that the adapter 400 can select an adapting output power gear from the output power gears capable of being adapted by the adapter 400 according to the charging requirement of the load end 500, and sends the selected adapting output power gear to the adapter 400 through the communication unit 100, and controls the first output module 201 to be turned on, so that the adapter 400 outputs the output power corresponding to the adapting output power gear to the load end 500 to supply power to the load end 500.
However, if the single-chip microcomputer U2 has sent all the messages, the communication unit 100 still does not receive the adapting signal, so that the single-chip microcomputer U2 cannot receive the adapting signal, and the single-chip microcomputer U2 knows that the adapter 400 cannot adapt to all the output power gears, at this time, the second output module 202 is turned on, the third fet Q5 and the fourth fet Q4 are turned on, and the adapter 400 outputs a default output power (generally 5V/0.9A) through the second output module 202, and supplies power to the load terminal 500 with the default output power. However, it is also possible that the default output power does not meet the charging requirement of the load terminal 500, and the control unit 300 sends a charging prohibition signal to the output unit 200, and the output unit 200 turns off according to the charging prohibition signal, so that the adapter 400 does not transmit the default output power to the load terminal 500.
In this embodiment, the sixth fet Q3 is controlled to be turned on by a signal generated when the adapter 400 is plugged into the TYPE-C socket interface, so that the control unit 300 can detect the plugging signal of the adapter 400, and the control unit 300 can communicate with the adapter 400 through the communication unit 100 after the adapter 400 is plugged.
Example seven
The present embodiment provides a controller including the power adapting circuit in the foregoing embodiment.
In this embodiment, the power adapting circuit in the foregoing embodiment is applied to a controller (such as a charging controller) of an electrical apparatus, and an output power gear that the adapter 400 can adapt can be determined according to an adapting signal of the adapter 400, so that the adapter 400 is adapted to a charging requirement of the electrical apparatus, and charging efficiency is improved.
Example eight
The embodiment provides an electrical device, which includes the power adapting circuit in the above embodiment.
In particular, the electrical device may be a smart curtain.
When the power adapting circuit is applied to the smart curtain, the load terminal 500 is a charging control circuit for charging the battery cell. The PD communication chip installed on the curtain sends a power shift to the adapter 400 through the TYPE-C socket interface, if the adapter 400 is the PD adapter 400, the adapter 400 also has a PD communication chip, and the sent power shift is consistent with the adapting power of the adapter 400, and the PD communication chip of the adapter 400 feeds back an adapting signal to the PD communication chip on the intelligent curtain. When the adapter 400 is not the PD adapter 400, the adapter 400 cannot match the output power gear transmitted by the communication unit 100, and the adapter 400 outputs a default output power to the charge control circuit.
In this embodiment, by sequentially transmitting the messages of different output power gears to the adapter 400, the power gear that the adapter 400 can adapt is determined according to the adapting signal of the adapter 400, so that the adapter 400 and the charging requirement of the intelligent curtain are adapted, and the charging efficiency of the intelligent curtain is improved.
Example nine
As shown in fig. 7, the present embodiment provides a power adapting method, which can be applied to the power adapting circuits described in the first to sixth embodiments, and the power adapting method includes the following steps:
step S100, sequentially transmitting output power gears in a pre-stored message to an adapter;
step S200, after receiving at least one adapting signal fed back by the adapter, recording an output power gear which can be adapted by the adapter according to the adapting signal, selecting an adapting output power gear from the output power gears which can be adapted by the adapter according to the charging requirement of a load end, and sending the adapting output power gear to the adapter for adapting;
step S300, after the adaptation is completed, an output unit is opened to transmit the output power of the adapter to the load end;
step S400, if all the output power gears are sent to the adapter, the adapter signal fed back by the adapter is not received, the default output power output by the adapter is received, and the default output power is transmitted to the load end according to the charging requirement of the load end, or the default output power is not transmitted to the load end according to the charging requirement of the load end.
For the above-mentioned messages, the data blocks to be transmitted by the control unit 300 and the communication unit 100 may be generated by a USB PD PDO Tools tool, as shown below, generating a 5V/0.9 message, i.e. 0201905A, and generating a 12V/1.75A message, i.e. 003C0AF.
/>
For the adaptation signal described above, the control unit 300 sends the message to the communication unit 100 via a specific protocol (e.g., I2C protocol), and the communication unit 100 sends the message to the adapter 400. If the adapter 400 can meet the output power level in the message, an adaptation signal is responded to the communication unit 100, and the communication unit 100 sends a series of signals conforming to the specific protocol to the control unit 300 as the adaptation signal.
Specifically, when power adaptation is performed, sequentially transmitting output power gears in a pre-stored message to the adapter 400; if an adapter signal fed back by the adapter 400 is received, it indicates that the currently transmitted output power gear is matched with the adapter 400, the control unit records the output power gear that the adapter 400 corresponding to the adapter signal can adapt, after selecting the adapting output power gear from the output power gears that can adapt according to the charging requirement of the load end 500, the adapting output power gear is sent to the adapter 400, and then the output power corresponding to the adapting output power gear is transmitted to the load end 500, otherwise, it indicates that the prestored message does not have the output power gear matched with the adapter 400, at this time, the control unit 300 transmits the default output power to the load end 500. However, it is also possible that the default output power does not meet the charging requirement of the load terminal 500, and the control unit 300 sends a charging prohibition signal to the output unit 200, and the output unit 200 turns off according to the charging prohibition signal, so that the adapter 400 does not transmit the default output power to the load terminal 500.
In this embodiment, the messages of different output power gears are sequentially transmitted to the adapter 400, the output power gear that the adapter 400 can adapt is determined according to the adapting signal received by the communication unit 100 and fed back by the adapter 400, and the adapting output power is selected from the output powers that the adapter 400 can adapt according to the charging requirement of the load end 500, so that the adapter 400 and the load end 500 are adapted, and the charging efficiency of the load end 500 is improved.
In one of these cases, after receiving at least one adapting signal fed back by the adapter, recording, according to the adapting signal, an output power gear that can be adapted by the adapter, and then selecting, according to a charging requirement of a load end, an adapting output power gear from output power gears that can be adapted by the adapter, and sending the adapting output power gear to the adapter, where the method specifically includes:
after the output power gears are all sent to the adapter, at least one adapting signal fed back by the adapter is received, the output power gears which can be adapted by the adapter are recorded according to the adapting signal, then the adapting output power gears are selected from the output power gears which can be adapted by the adapter according to the charging requirement of the load end, and the adapting output power gears are sent to the adapter.
Specifically, the control unit 300 stores messages of a plurality of output power levels in advance, after the adapter 400 is inserted, the control unit 300 sequentially transmits the messages of different output power levels to the adapter 400 through the communication unit 100, if the communication unit 100 does not receive an adaptation signal in the transmission process, the adapter 400 cannot output power corresponding to the output power level, if the communication unit 100 receives the adaptation signal, the adapter 400 can output power corresponding to the output power level, the control unit 300 transmits a next message containing the output power level to the adapter 400 through the communication unit 100, the communication unit 100 transmits the adaptation signal to the control unit, the control unit 300 records the output power level which can be adapted by the adapter 400, after the communication unit 100 has transmitted all the output power levels, the communication unit 100 selects the adaptation output power level from the output power levels which can be adapted by the adapter according to the charging requirement of the load terminal 500, and transmits the adaptation power to the adapter 400 through the communication unit 100, and controls the output unit 200 so that the adapter 400 outputs the message containing the output power level corresponding to the adaptation power level to the adapter 400, and the load terminal 500 is conducted to realize the adaptation to the load terminal 500.
In another case, the step of sequentially sending the output power gear in the pre-stored message to the adapter specifically includes:
sequentially transmitting output power gears in a pre-stored message from high to low to an adapter;
after receiving at least one adapting signal fed back by the adapter, recording an output power gear which can be adapted by the adapter according to the adapting signal, selecting an adapting output power gear from the output power gears which can be adapted by the adapter according to the charging requirement of a load end, and sending the adapting output power gear to the adapter, wherein the method specifically comprises the following steps:
after receiving an adapting signal fed back by the adapter, determining an output power gear matched with the adapting signal as an adapting output power gear capable of meeting the charging requirement of a load end after receiving the adapting signal fed back by the adapter, and sending the adapting output power gear to the adapter.
Specifically, after the adapter 400 is inserted, the control unit 300 sequentially transmits the messages of different output power levels to the adapter 400 from high to low through the communication unit 100, if the communication unit 100 fails to receive the adapting signal in the transmission process, the adapter 400 cannot output the output power corresponding to the output power level, if the adapting signal is received, the adapter 400 can output the output power corresponding to the output power level, the communication unit 100 sends the adapting signal to the control unit, at this time, the communication unit 100 stops sending the remaining output power levels, the control unit 300 determines that the output power level matched with the adapting signal is the adapting output power level capable of meeting the charging requirement of the load end 500, and sends the adapting output power level to the adapter 400, and controls the output unit 200 to be turned on, so that the adapter 400 outputs the output power corresponding to the adapting output power level to the load end 500, and the adapter 400 can quickly adapt to the maximum power charging of the load end 500, and the charging efficiency of the device can be greatly improved.
Examples ten
The present embodiment provides a power adapting method, based on the ninth embodiment, step S100 specifically includes the following sub-steps:
step S101, detecting whether an adapter is inserted;
step S102, if yes, sequentially transmitting output power gears in a pre-stored message to an adapter, and if not, executing step S103;
step S103, the output power gear is not transmitted to the adapter.
Specifically, before sequentially sending the output power gear in the pre-stored packet to the adapter 400, it is necessary to detect whether the adapter 400 is inserted, so as to ensure that in the state where the adapter 400 is inserted, the output power gear in the pre-stored packet is sequentially sent to the adapter 400, otherwise, the output power gear is not sent to the adapter 400.
In this embodiment, by detecting whether the adapter 400 is inserted, when the adapter 400 is inserted, the output power gear in the pre-stored packet is sequentially sent to the adapter 400, so as to perform the adapter 400 and the load end 500.
Example eleven
As shown in fig. 8, the present embodiment provides a power adapting device, which is applicable to the power adapting circuits described in the first to sixth embodiments, and the power adapting device includes:
A gear transmitting unit, configured to sequentially transmit output power gears in a pre-stored packet to the adapter 400;
the gear selection unit is used for recording the output power gear which can be adapted by the adapter according to the adaptation signal after receiving at least one adaptation signal fed back by the adapter, selecting the adaptation output power gear from the output power gears which can be adapted by the adapter according to the charging requirement of the load end, and sending the adaptation output power gear to the adapter for adaptation;
the adapter transmission unit is used for opening the output unit after the adapter is completed to transmit the output power of the adapter to the load end;
and the default transmission unit is used for receiving the default output power output by the adapter if all the output power gears are transmitted to the adapter and the adapter feedback adapting signal is not received, and transmitting the default output power to the load end according to the charging requirement of the load end or not transmitting the default output power to the load end according to the charging requirement of the load end.
For the above-mentioned messages, the data blocks to be transmitted by the control unit 300 and the communication unit 100 may be generated by a USB PD PDO Tools tool, as shown below, generating a 5V/0.9 message, i.e. 0201905A, and generating a 12V/1.75A message, i.e. 003C0AF.
For the adaptation signal described above, the control unit 300 sends the message to the communication unit 100 via a specific protocol (e.g., I2C protocol), and the communication unit 100 sends the message to the adapter 400. If the adapter 400 can meet the output power level in the message, an adaptation signal is responded to the communication unit 100, and the communication unit 100 sends a series of signals conforming to the specific protocol to the control unit 300 as the adaptation signal.
Specifically, when power adaptation is performed, the gear transmission unit sequentially transmits the output power gear in the pre-stored message to the adapter 400; the judging unit judges whether an adaptation signal fed back by the adapter 400 is received; if the control unit 300 determines that the adapting signal fed back by the adapter 400 is received, the control unit 300 records the output power gear that can be adapted by the adapter corresponding to the adapting signal, selects an adapting output power gear from the output power gears that can be adapted by the adapter 400 according to the charging requirement of the load end 500, and sends the adapting output power gear to the adapter 400 so as to transmit the output power corresponding to the adapting output power gear to the load end 500, otherwise, transmits the default output power to the load end 500. However, it is also possible that the default output power does not meet the charging requirement of the load terminal 500, and the control unit 300 sends a charging prohibition signal to the output unit 200, and the output unit 200 turns off according to the charging prohibition signal, so that the adapter 400 does not transmit the default output power to the load terminal 500.
In this embodiment, by sequentially transmitting the messages of different output power gears to the adapter 400, the output power gears that the adapter 400 can adapt are determined according to the received adapting signal fed back by the adapter 400, so that the adapter 400 and the load terminal 500 can adapt, and the charging efficiency of the load terminal 500 is improved.
In one of these cases, the gear selection unit includes:
the first gear selection module is used for receiving at least one adapting signal fed back by the adapter after the output power gears are all sent to the adapter, recording the output power gears which can be adapted by the adapter according to the adapting signal, selecting the adapting output power gears among the output power gears which can be adapted by the adapter according to the charging requirement of the load end, and sending the adapting output power gears to the adapter.
Specifically, the control unit 300 stores messages of a plurality of output power levels in advance, after the adapter 400 is inserted, the control unit 300 sequentially transmits the messages of different output power levels to the adapter 400 through the communication unit 100, if the communication unit 100 does not receive an adaptation signal in the transmission process, the adapter 400 cannot output power corresponding to the output power level, if the communication unit 100 receives the adaptation signal, the adapter 400 can output power corresponding to the output power level, the control unit 300 transmits a next message containing the output power level to the adapter 400 through the communication unit 100, the communication unit 100 transmits the adaptation signal to the control unit, the control unit 300 records the output power level which can be adapted by the adapter 400, after the communication unit 100 has transmitted all the output power levels, the communication unit 100 selects the adaptation output power level from the output power levels which can be adapted by the adapter according to the charging requirement of the load terminal 500, and transmits the adaptation power to the adapter 400 through the communication unit 100, and controls the output unit 200 so that the adapter 400 outputs the message containing the output power level corresponding to the adaptation power level to the adapter 400, and the load terminal 500 is conducted to realize the adaptation to the load terminal 500.
In another case, the gear transmission unit includes:
the gear transmitting module is used for sequentially transmitting output power gears in the pre-stored messages from high to low to the adapter;
the gear selection unit includes:
and the second gear selection module is used for determining the output power gear matched with the adaptive signal as the adaptive output power gear capable of meeting the charging requirement of the load end after receiving the adaptive signal fed back by the adapter, and transmitting the adaptive output power gear to the adapter.
Specifically, after the adapter 400 is inserted, the control unit 300 sequentially transmits the messages of different output power levels to the adapter 400 from high to low through the communication unit 100, if the communication unit 100 fails to receive the adapting signal in the transmission process, the adapter 400 cannot output the output power corresponding to the output power level, if the adapting signal is received, the adapter 400 can output the output power corresponding to the output power level, the communication unit 100 sends the adapting signal to the control unit, at this time, the communication unit 100 stops sending the remaining output power levels, the control unit 300 determines that the output power level matched with the adapting signal is the adapting output power level capable of meeting the charging requirement of the load end 500, and sends the adapting output power level to the adapter 400, and controls the output unit 200 to be turned on, so that the adapter 400 outputs the output power corresponding to the adapting output power level to the load end 500, and the adapter 400 can quickly adapt to the maximum power charging of the load end 500, and the charging efficiency of the device can be greatly improved.
Example twelve
The present embodiment provides a power adapting device, and on the basis of the eleventh embodiment, a gear transmission unit includes:
the detection module is used for detecting whether the adapter is inserted or not;
and the gear transmitting module is used for sequentially transmitting the output power gears in the pre-stored messages to the adapter if the adapter is detected to be inserted, and not transmitting the output power gears to the adapter if the adapter is detected to be not inserted.
Specifically, the detection module detects whether the adapter 400 is inserted; if the insertion of the adapter 400 is detected, the gear transmission module sequentially transmits the output power gear in the pre-stored message to the adapter 400, otherwise, the output power gear is not transmitted to the adapter 400.
In this embodiment, by detecting whether the adapter 400 is inserted, when the adapter 400 is inserted, the output power gear in the pre-stored packet is sequentially sent to the adapter 400, so as to perform the adapter 400 and the load end 500.
In summary, in the present invention, messages of different output power ranges are sequentially transmitted to the adapter 400, so as to obtain an adaptation signal fed back by the adapter, record the output power range that the adapter can adapt, and select the adaptation output power range from the recorded output power ranges that the adapter can adapt according to the charging requirement of the load end 500, so that the adapter 400 and the load end 500 are adapted, and the charging efficiency of the load end 500 is improved. In the output unit 200, the first output module 201 is configured to receive the output power output by the adapter 400 and corresponding to the adapted output power gear, and transmit the output power to the load end 500; the second output module 202 is configured to, when receiving the charging signal, receive the default output power output by the adapter 400, and transmit the default output power to the load terminal 500. However, it is also possible that the default output power does not meet the charging requirement of the load terminal 500, and the control unit 300 sends a charging prohibition signal to the output unit 200, and the output unit 200 turns off according to the charging prohibition signal, so that the adapter 400 does not transmit the default output power to the load terminal 500. Output power transmission under different conditions is realized by arranging multiple output lines, so that quick matching of the adapter 400 and the load end 500 is realized, and charging efficiency is improved. Specifically, by reversely connecting the two field effect transistors in series, the power supplies on the left and right sides are prevented from flowing backward, so that the load terminal 500 can be stably supplied with power when the first output module 201 or the second output module 202 is turned on. Further, the interface unit 700 is used to realize the docking of the adapter 400, the insertion detection unit 600 is used to detect the insertion signal of the adapter 400, and the insertion signal of the adapter 400 is timely sent to the control unit 300, so that after the control unit 300 determines that the adapter 400 is inserted, the messages with different output power gears are sequentially transmitted to the adapter 400 through the communication unit 100. The sixth fet Q3 is controlled to be turned on by a signal generated when the adapter 400 is inserted into the TYPE-C receptacle interface, so that the control unit 300 can detect an insertion signal of the adapter 400, and it is realized that the control unit 300 communicates with the adapter 400 through the communication unit 100 after the adapter 400 is inserted.
The foregoing description of the preferred embodiments of the invention is not intended to be limiting, but rather is intended to cover all modifications, equivalents, and alternatives falling within the spirit and principles of the invention.

Claims (16)

1. The power adapting circuit is characterized by comprising a communication unit, an output unit and a control unit, wherein the control unit stores messages comprising a plurality of output power gears;
the control unit sequentially sends the output power gear to the communication unit, the communication unit sequentially sends the output power gear to the adapter, when the adapter can meet the output power gear, an adaptation signal is responded to the communication unit, the communication unit sends the adaptation signal to the control unit after receiving at least one adaptation signal fed back by the adapter, the control unit records the output power gear which can be adapted by the adapter according to the adaptation signal, then selects the adaptation output power gear in the output power gear which can be adapted by the adapter according to the charging requirement of the load end, sends the adaptation output power gear to the adapter through the communication unit, and controls the output unit to be conducted so that the adapter outputs output power corresponding to the adaptation output power gear to the load end.
2. The power adaptation circuit according to claim 1, wherein the output unit comprises a first output module and a second output module,
the first output module is respectively connected with the communication unit and the adapter, and is used for receiving output power output by the adapter and corresponding to the adaptive output power gear and transmitting the output power to the load end;
the second output module is respectively connected with the control unit and the adapter, and is used for receiving the default output power output by the adapter when receiving a charging signal, transmitting the default output power to the load end, and stopping transmitting the default output power to the load end when receiving a charging prohibition signal.
3. The power adapting circuit according to claim 2, wherein the first output module comprises a first field effect transistor, a second field effect transistor, a first resistor and a second resistor, wherein a drain electrode of the first field effect transistor is connected with an input end of the adapter and one end of the first resistor respectively, a source electrode of the first field effect transistor is connected with a source electrode of the second field effect transistor, a gate electrode of the first field effect transistor is connected with the other end of the first resistor, a gate electrode of the second field effect transistor and one end of the second resistor respectively, a drain electrode of the second field effect transistor is connected with an output end of the adapter, and the other end of the second resistor is connected with the communication unit.
4. The power adapting circuit according to claim 2, wherein the second output module includes a third field effect transistor, a fourth field effect transistor, a fifth field effect transistor, a third resistor, a fourth resistor, a fifth resistor and a sixth resistor, a drain electrode of the third field effect transistor is connected to an input end of the adapter and one end of the third resistor, a source electrode of the third field effect transistor is connected to a source electrode of the fourth field effect transistor, a gate electrode of the third field effect transistor is connected to the other end of the third resistor, a gate electrode of the fourth field effect transistor and one end of the fourth resistor, a drain electrode of the fourth field effect transistor is connected to an output end of the adapter, the other end of the fourth resistor is connected to a drain electrode of the fifth field effect transistor, a source electrode of the fifth field effect transistor is connected to one end of the sixth resistor and the other end of the ground, a gate electrode of the fifth field effect transistor is connected to one end of the fifth resistor and the other end of the sixth resistor, and the fifth resistor is connected to the control unit.
5. The power adaptation circuit according to claim 1, further comprising an interface unit and an insertion detection unit;
The interface unit is connected with the adapter and is used for docking the adapter;
the insertion detection unit is respectively connected with the control unit and the adapter and is used for sending the insertion signal to the control unit when receiving the insertion signal sent by the adapter.
6. The power adapting circuit according to claim 5, wherein the insertion detecting unit includes a sixth field effect transistor, a seventh resistor, an eighth resistor and a ninth resistor, a drain electrode of the sixth field effect transistor is connected to one end of the seventh resistor and the control unit, a source electrode of the sixth field effect transistor is connected to one end of the ninth resistor and a ground terminal, a gate electrode of the sixth field effect transistor is connected to the other end of the ninth resistor and one end of the eighth resistor, the other end of the seventh resistor is connected to a power source terminal, and the other end of the eighth resistor is connected to the adapter.
7. A controller comprising a power adaptation circuit as claimed in any one of claims 1 to 6.
8. An electrical device comprising a power adaptation circuit as claimed in any one of claims 1 to 6.
9. A method of power adaptation comprising the steps of:
sequentially sending output power gears in a pre-stored message to an adapter, and responding to an adaptation signal when the adapter can meet the output power gears;
after receiving at least one adapting signal fed back by the adapter, recording an output power gear which can be adapted by the adapter according to the adapting signal, selecting an adapting output power gear from the output power gears which can be adapted by the adapter according to the charging requirement of a load end, and sending the adapting output power gear to the adapter for adapting;
and after the adaptation is completed, an output unit is opened to transmit the output power of the adapter to the load end.
10. The power adapting method according to claim 9, wherein after receiving at least one adapting signal fed back by the adapter, the step of recording, according to the adapting signal, an output power gear that the adapter can adapt, and selecting, according to a charging requirement of a load end, an adapting output power gear from output power gears that the adapter can adapt, and sending the adapting output power gear to the adapter specifically includes:
After the output power gears are all sent to the adapter, at least one adapting signal fed back by the adapter is received, the output power gears which can be adapted by the adapter are recorded according to the adapting signal, then the adapting output power gears are selected from the output power gears which can be adapted by the adapter according to the charging requirement of the load end, and the adapting output power gears are sent to the adapter.
11. The power adaptation method according to claim 9, wherein the step of sequentially transmitting the output power level in the pre-stored message to the adapter comprises:
sequentially transmitting output power gears in a pre-stored message from high to low to an adapter;
after receiving at least one adapting signal fed back by the adapter, recording an output power gear which can be adapted by the adapter according to the adapting signal, selecting an adapting output power gear from the output power gears which can be adapted by the adapter according to the charging requirement of a load end, and sending the adapting output power gear to the adapter, wherein the method specifically comprises the following steps:
after receiving an adaptation signal fed back by the adapter, determining an output power gear matched with the adaptation signal as an adaptation output power gear capable of meeting the charging requirement of a load end, and sending the adaptation output power gear to the adapter.
12. The power adaptation method according to claim 9, wherein the step of sequentially transmitting the output power level in the pre-stored message to the adapter comprises:
detecting whether an adapter is inserted;
if yes, sequentially sending the output power gear in the pre-stored message to the adapter, and if not, not sending the output power gear to the adapter.
13. A power adaptation device, comprising:
the gear transmitting unit is used for sequentially transmitting output power gears in the pre-stored messages to the adapter, and when the adapter can meet the output power gears, an adaptation signal is responded;
the gear selection unit is used for recording the output power gear which can be adapted by the adapter according to the adaptation signal after receiving at least one adaptation signal fed back by the adapter, selecting the adaptation output power gear from the output power gears which can be adapted by the adapter according to the charging requirement of a load end, and sending the adaptation output power gear to the adapter for adaptation;
and the adaptation transmission unit is used for opening the output unit after the adaptation is completed to transmit the output power of the adapter to the load end.
14. The power adapting device according to claim 13, wherein the gear selection unit comprises:
the first gear selection module is used for receiving at least one adapting signal fed back by the adapter after the output power gears are all sent to the adapter, recording the output power gears which can be adapted by the adapter according to the adapting signal, selecting the adapting output power gears among the output power gears which can be adapted by the adapter according to the charging requirement of the load end, and sending the adapting output power gears to the adapter.
15. The power adapting device according to claim 13, wherein the gear transmission unit includes:
the gear transmitting module is used for sequentially transmitting output power gears in the pre-stored messages from high to low to the adapter;
the gear selection unit includes:
and the second gear selection module is used for determining the output power gear matched with the adaptive signal as the adaptive output power gear capable of meeting the charging requirement of the load end after receiving the adaptive signal fed back by the adapter, and transmitting the adaptive output power gear to the adapter.
16. The power adapting device according to claim 13, wherein the gear transmission unit comprises:
the detection module is used for detecting whether the adapter is inserted or not;
and the gear transmitting module is used for sequentially transmitting the output power gear in the pre-stored message to the adapter if the adapter is detected to be inserted, and not transmitting the output power gear to the adapter if the adapter is detected to be not inserted.
CN202110024818.7A 2021-01-08 2021-01-08 Power adaptation circuit, controller, electrical device, power adaptation method and device Active CN112671073B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110024818.7A CN112671073B (en) 2021-01-08 2021-01-08 Power adaptation circuit, controller, electrical device, power adaptation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110024818.7A CN112671073B (en) 2021-01-08 2021-01-08 Power adaptation circuit, controller, electrical device, power adaptation method and device

Publications (2)

Publication Number Publication Date
CN112671073A CN112671073A (en) 2021-04-16
CN112671073B true CN112671073B (en) 2024-03-29

Family

ID=75413810

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110024818.7A Active CN112671073B (en) 2021-01-08 2021-01-08 Power adaptation circuit, controller, electrical device, power adaptation method and device

Country Status (1)

Country Link
CN (1) CN112671073B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113596970B (en) * 2021-08-05 2023-11-21 上海商米科技集团股份有限公司 Talkback terminal power control method and system, talkback terminal and storage medium
CN117220376B (en) * 2023-09-15 2024-06-04 小米汽车科技有限公司 Charging method, device, adapter and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000039907A1 (en) * 1998-12-31 2000-07-06 Potega Patrick H Systems for configuring and delivering power
KR20050121544A (en) * 2004-06-22 2005-12-27 삼성전자주식회사 Electronic equipment system and control method thereof
CN106571667A (en) * 2016-10-27 2017-04-19 芯海科技(深圳)股份有限公司 Adapter based on USB-PD and quick charging method
CN107239106A (en) * 2017-05-31 2017-10-10 珠海市魅族科技有限公司 A kind of recognition methods of power supply adaptor and device
CN108879856A (en) * 2018-07-16 2018-11-23 维沃移动通信有限公司 A kind of charging method and terminal
CN109004708A (en) * 2018-07-27 2018-12-14 维沃移动通信有限公司 A kind of charging equipment and mobile terminal
CN110829528A (en) * 2019-11-13 2020-02-21 Oppo广东移动通信有限公司 Charging method, charging device and readable storage medium
CN111201690A (en) * 2017-12-11 2020-05-26 深圳市柔宇科技有限公司 Charging control method, electronic device, power adapter and charging control system
CN111404356A (en) * 2020-03-23 2020-07-10 科华恒盛股份有限公司 Power supply equipment power grade correction method and corresponding correction device
CN111478411A (en) * 2020-06-01 2020-07-31 上海闻泰电子科技有限公司 Charging voltage prompting method and electronic equipment

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000039907A1 (en) * 1998-12-31 2000-07-06 Potega Patrick H Systems for configuring and delivering power
KR20050121544A (en) * 2004-06-22 2005-12-27 삼성전자주식회사 Electronic equipment system and control method thereof
CN106571667A (en) * 2016-10-27 2017-04-19 芯海科技(深圳)股份有限公司 Adapter based on USB-PD and quick charging method
CN107239106A (en) * 2017-05-31 2017-10-10 珠海市魅族科技有限公司 A kind of recognition methods of power supply adaptor and device
CN111201690A (en) * 2017-12-11 2020-05-26 深圳市柔宇科技有限公司 Charging control method, electronic device, power adapter and charging control system
CN108879856A (en) * 2018-07-16 2018-11-23 维沃移动通信有限公司 A kind of charging method and terminal
CN109004708A (en) * 2018-07-27 2018-12-14 维沃移动通信有限公司 A kind of charging equipment and mobile terminal
CN110829528A (en) * 2019-11-13 2020-02-21 Oppo广东移动通信有限公司 Charging method, charging device and readable storage medium
CN111404356A (en) * 2020-03-23 2020-07-10 科华恒盛股份有限公司 Power supply equipment power grade correction method and corresponding correction device
CN111478411A (en) * 2020-06-01 2020-07-31 上海闻泰电子科技有限公司 Charging voltage prompting method and electronic equipment

Also Published As

Publication number Publication date
CN112671073A (en) 2021-04-16

Similar Documents

Publication Publication Date Title
CN105453372B (en) The method and apparatus of fast battery charging is carried out using general high power input source
CN112671073B (en) Power adaptation circuit, controller, electrical device, power adaptation method and device
US6211644B1 (en) Method and apparatus for identifying a battery
CN102640076B (en) Power converter with reduced power consumption when toggling between sleep and normal modes during device charging
TW200908509A (en) Power source detection system, charger can provide power source detection and the detection method thereof
US20050099156A1 (en) Battery determination system for battery-powered devices
CN210379328U (en) Battery charging system
CA2634656A1 (en) Charging status indicator control system and method
CN109130898B (en) Control method, device and equipment of integrated vehicle-mounted charger and automobile
CN1367564A (en) Charging circuit for charging mobile terminal by using USB interface
CN111313515A (en) Multi-output-port fast charging switching circuit and method
CN111756086B (en) Power bridging device and bridging method using mobile robot battery
CN105098890A (en) Charging data line and charger
CN211405512U (en) Adapter
CN105404450A (en) Information processing method and electronic equipment
CN216720327U (en) Adapter and charging system with Lightning female seat
CN111509816B (en) Charger, data line and charging equipment
CN108683236A (en) A kind of mobile terminal OTG charging methods and device
CN101102049A (en) Power supplier for charging power storage device based on capacity of power storage device
CN109245239B (en) Intelligent charging system and method
CN112217262B (en) Multi-port quick charging circuit based on single battery, control method and device and charging equipment
GB2386005A (en) Battery charging for portable devices with USB links
CN113745873A (en) Adapter and charging system with Lightning female seat
CN218958588U (en) Electric tool
CN215987297U (en) USB insertion detection circuit

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
GR01 Patent grant
GR01 Patent grant