CN209658964U - A kind of QC protocol circuit - Google Patents

A kind of QC protocol circuit Download PDF

Info

Publication number
CN209658964U
CN209658964U CN201920660371.0U CN201920660371U CN209658964U CN 209658964 U CN209658964 U CN 209658964U CN 201920660371 U CN201920660371 U CN 201920660371U CN 209658964 U CN209658964 U CN 209658964U
Authority
CN
China
Prior art keywords
circuit
pin
resistance
adapter
voltage
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
CN201920660371.0U
Other languages
Chinese (zh)
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.)
Ruimo Intelligent Technology (Shenzhen) Co., Ltd
Original Assignee
Dongguan Songshan Lake Robot Research Institute International Co Ltd
Rui Magic Intelligent Technology (shenzhen) 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 Dongguan Songshan Lake Robot Research Institute International Co Ltd, Rui Magic Intelligent Technology (shenzhen) Co Ltd filed Critical Dongguan Songshan Lake Robot Research Institute International Co Ltd
Priority to CN201920660371.0U priority Critical patent/CN209658964U/en
Application granted granted Critical
Publication of CN209658964U publication Critical patent/CN209658964U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Semiconductor Integrated Circuits (AREA)

Abstract

The utility model discloses a kind of QC protocol circuits, applied to electronic equipment, it is connect with an adapter, to pass through the MCU of the DC-DC module electron equipment in electronic equipment power supply, it and include a QC analog circuit, the QC analog circuit includes the first voltage dividing resistance circuit, second voltage dividing resistance circuit and pull-down circuit, the pull-down circuit is controlled by MCU, and its output end connects adapter D- pin, to drag down the voltage of D- pin under the control of MCU, one output end of the DC-DC module connects adapter D+ pin by the first voltage dividing resistance circuit, to provide the first detection voltage for D+ pin, and the output end also passes through the second voltage dividing resistance circuit connection adapter D- pin, to provide the second detection voltage for D- pin, so that adapter is according to the first detection Voltage and the second detection voltage are powered to MCU.It is found that the utility model is not required to specific protocol chip, circuit structure is simple, and cost is relatively low.

Description

A kind of QC protocol circuit
Technical field
The utility model relates to protocol circuits, relate more specifically to a kind of QC protocol circuit.
Background technique
As the power demand of electronic equipment is increasing, and the interfaces such as USB/TYPE-C are widely available, more and more Electronic equipment starts using fast charge scheme, and each major company is proposed the QC (Quick of itself also for fast charge scheme respectively Charge, quick charge) agreement, wherein the QC serial protocols with high pass are the most commonly used.
QC agreement is to be shaken hands by the voltage change on signal pins D+ and D- with adapter completion, and it is different to reach output Voltage (5V, 9V, 12V, 20V) purpose.And it need to be real by specific protocol chip currently based on the fast charge scheme of QC agreement Existing fast charge protocol identification, as shown in Figure 1, i.e. it is the IC for supporting the integrated IC 204 and adapter 201 of QC agreement by equipment end Realize that handshake procedure, adapter 201 are logical further according to the voltage of D+, D- signal pins detected by the interaction of D+, D- signal pins 203 power supply to the device of voltage boosting/lowering circuit (such as can power to MCU 202 in equipment) is crossed, however IC is at high cost, and its circuit It is relative complex, biggish PCB arrangement space is needed, it is not applicable for the electronic equipment of miniaturization.
In consideration of it, it is necessary to provide a kind of simple and lower-cost QC protocol circuits to solve drawbacks described above.
Utility model content
The technical problem to be solved by the utility model is to provide a kind of simple and lower-cost QC protocol circuits.
In order to solve the above technical problems, the utility model provides a kind of QC protocol circuit, it is applied to electronic equipment, it is suitable with one Orchestration connection to be powered by the MCU of the DC-DC module electron equipment in electronic equipment, and further includes having QC simulation electricity Road, the QC analog circuit include the first voltage dividing resistance circuit, the second voltage dividing resistance circuit and pull-down circuit, the drop-down electricity Road is controlled by MCU, and its output end connects adapter D- pin, described to drag down the voltage of D- pin under the control of MCU One output end of DC-DC module connects adapter D+ pin by the first voltage dividing resistance circuit, to provide the first inspection for D+ pin Voltage is surveyed, and the output end also passes through the second voltage dividing resistance circuit connection adapter D- pin, to provide the second inspection for D- pin Voltage is surveyed, so that adapter is powered according to the first detection voltage and the second detection voltage to MCU.
Its further technical solution are as follows: the pull-down circuit includes a metal-oxide-semiconductor, and the drain electrode of the metal-oxide-semiconductor connects adapter D- pin, the grid of the metal-oxide-semiconductor is connected to MCU, and its source electrode is grounded.
Its further technical solution are as follows: the pull-down circuit further includes one the 5th resistance, the 5th resistance one end connection The grid of metal-oxide-semiconductor, other end ground connection.
Its further technical solution are as follows: the pull-down circuit includes a NPN triode, the collector of the NPN triode Adapter D- pin is connected, the base stage of the NPN triode is connected to MCU, and its emitter is grounded.
Its further technical solution are as follows: the pull-down circuit further includes one the 6th resistance, the 6th resistance one end connection The base stage of NPN triode, other end ground connection.
Its further technical solution are as follows: first voltage dividing resistance circuit includes first resistor and second resistance, and described One end of one end connection second resistance of one resistance and adapter D+ pin, the other end of the first resistor connect DC-DC mould One output end of block, the other end ground connection of the second resistance.
Its further technical solution are as follows: first resistor is 40.2K Ω in first voltage dividing resistance circuit, second resistance is 24KΩ。
Its further technical solution are as follows: second voltage dividing resistance circuit includes 3rd resistor and the 4th resistance, and described One end of three resistance connects one end and the adapter D- pin of the 4th resistance, and the other end of the 3rd resistor connects DC-DC mould One output end of block, the other end ground connection of the 4th resistance.
Its further technical solution are as follows: 3rd resistor is 40.2K Ω in second voltage dividing resistance circuit, the 4th resistance is 24KΩ。
Compared with prior art, when adapter disconnects its D+ pin and D- pin in the utility model QC protocol circuit When, the MCU control pull-down circuit work in electronic equipment, by the voltage pull-down of adapter D- pin, to inform adapter electricity Sub- equipment supports QC agreement, and when subsequent pull-down circuit does not work, the voltage of adapter D- pin can be drawn high again, adapter root Voltage and the second detection voltage power supply to the device are detected according to the first of the D+ pin and D- pin detected, i.e., adapter is according to association The different voltages value of view regulation input, powers after the conversion of electronic equipment internal DC-DC module to MCU, it is known that, this is practical new Type is not required to specific protocol chip, simulates QC fast charge agreement using hardware circuit, realizes shaking hands for electronic equipment and adapter, Achieve the purpose that fast charge, circuit structure is simple, and cost is relatively low.
Detailed description of the invention
Fig. 1 is the circuit block diagram schematic diagram of QC protocol circuit in the prior art.
Fig. 2 is the circuit block diagram schematic diagram of the utility model QC protocol circuit.
Fig. 3 is the electrical block diagram of the utility model QC protocol circuit first embodiment.
Fig. 4 is the electrical block diagram of the utility model QC protocol circuit second embodiment.
Specific embodiment
To make those skilled in the art that the purpose of this utility model, technical solution and excellent be more clearly understood Point is further elaborated the utility model below in conjunction with drawings and examples.
It is the circuit block diagram schematic diagram of 10 1 specific embodiment of the utility model QC protocol circuit referring to Fig. 2, Fig. 2.Attached In embodiment shown in figure, the QC protocol circuit 10 is applied to electronic equipment, connect with an adapter 101, to pass through electronics The MCU 102 of 103 electron equipment of DC-DC module in equipment powers, and it further includes having a QC analog circuit 104, described QC analog circuit 104 includes the first voltage dividing resistance circuit 1041, the second voltage dividing resistance circuit 1042 and pull-down circuit 1043, institute It states pull-down circuit 1043 and is controlled by MCU 102, and its output end connects adapter 101D- pin, under the control of MCU 102 The voltage of D- pin is dragged down, an output end of the DC-DC module 103 connects adapter by the first voltage dividing resistance circuit 1041 101D+ pin, to provide the first detection voltage for D+ pin, and the output end also passes through the connection of the second voltage dividing resistance circuit 1042 Adapter 101D- pin, to provide the second detection voltage for D- pin so that adapter 101 according to first detection voltage and Second detection voltage is powered to MCU 102, i.e., the system voltage after DC-DC module 103 is converted passes through the first voltage dividing resistance circuit 1041 and second voltage dividing resistance circuit 1042 to adapter 101D+ pin and D- pin provide voltage, adapter 101 is according to agreement The different voltages value for providing input is powered after the conversion of electronic equipment internal DC-DC module 103 to MCU.Preferably, this reality It applies in example, the output pin VBUS of the adapter 101 is connect with DC-DC module 103, it is known that, which is electricity Sub- equipment provides stable DC source.Based on the design, when adapter 101 disconnects its D+ pin and D- pin, electronics MCU 102 in equipment controls pull-down circuit 1043 and works, by the voltage pull-down of adapter 101D- pin, to inform adaptation 101 electronic equipment of device supports QC agreement, and when subsequent pull-down circuit 1043 does not work, the voltage of adapter 101D- pin can be weighed It newly draws high, adapter 101 is according to the first of the D+ pin and D- pin detected the detection voltage and the second detection voltage to equipment Power supply, it is known that, the utility model is not required to specific protocol chip, simulates QC fast charge agreement using hardware circuit, realizes electronics Equipment is shaken hands with adapter 101, achievees the purpose that fast charge, and circuit structure is simple, and cost is relatively low, and it is empty to can be applied to PCB layout Between it is limited or have in the electronic equipment strictly limited to cost control;Even and if the standard upgrade of QC agreement, and can fit , improve the cost performance of electronic equipment.
It is the electrical block diagram of 10 first embodiment of the utility model QC protocol circuit referring to Fig. 3, Fig. 3.In this reality It applies in example, the 101 output pin VBUS of adapter is powered by DC-DC module 103 to MCU 102, the QC protocol circuit QC analog circuit 104 in 10 includes the first voltage dividing resistance circuit 1041, the second voltage dividing resistance circuit 1042 and pull-down circuit 1043, wherein the pull-down circuit 1043 includes that the drain electrode of metal-oxide-semiconductor a Q1, the metal-oxide-semiconductor Q1 connects adapter 101D- pin, The grid of metal-oxide-semiconductor Q1 be connected to MCU 102 a certain GPIO (General-purpose input/output, universal input/ Output) mouth, and its source electrode is grounded;First voltage dividing resistance circuit 1041 includes first resistor R1 and second resistance R2, described Second voltage dividing resistance circuit 1042 includes 3rd resistor R3 and the 4th resistance R4, the second electricity of one end connection of the first resistor R1 One end and the adapter 101D+ pin of R2 are hindered, one end of the 3rd resistor R3 connects one end and the adapter of the 4th resistance R4 101D- pin, 3rd resistor R3 and the other end of first resistor R1 connect an output end of DC-DC module 103, and the described 4th The other end of resistance R4 and second resistance R2 ground connection.Understandably, the system voltage after the DC-DC module 103 is converted has more Road output, to guarantee the normal work of electronic equipment, in the present embodiment, is to power for the modules in electronic equipment MCU 102 and QC analog circuit 104 provide the voltage of 3.3V.
Because the input voltage of electronic equipment in the present embodiment is rated for 12V, then in the present embodiment, the first resistor R1 is 40.2K Ω, second resistance R2 are 24K Ω, 3rd resistor R3 is 40.2K Ω, the 4th resistance R4 is 24K Ω, it will be appreciated that ground, at certain In a little other embodiments, the first resistor R1, second resistance R2,3rd resistor R3 and the 4th resistance R4 can be according to electronic equipments Nominal input voltage select the resistance of corresponding resistance value, such as when the nominal input voltage of electronic equipment is 9V, the first electricity Resistance R1 resistance value can be 2K Ω, second resistance R2 be 100K Ω, 3rd resistor R3 is 40.2K Ω, the 4th resistance R4 is 24K Ω.
In certain embodiments, the QC protocol circuit 10 further includes the 5th resistance R5, one end of the 5th resistance R5 The grid of metal-oxide-semiconductor Q1 is connected, the other end is grounded, and in the present embodiment, and the 5th resistance is 10K Ω.Based on the design, the 5th Resistance R5 can static electricity discharge, protect metal-oxide-semiconductor Q1.
Understandably, in the present embodiment, when adapter 101 accesses electronic equipment, actively D+ pin and D- pin are shorted, It is at this time 1.23V with the voltage value of D+ pin, D- pin junction in electronic equipment, output pin VBUS default output 5V is protected After holding 1.25S, 101 active of adapter disconnects D+ pin, D- pin, and the MCU 102 of electronic equipment controls metal-oxide-semiconductor Q1 and beats at this time It opens, so that the voltage of D- pin is pulled down to 0V by metal-oxide-semiconductor Q1, and maintains 1ms or more, so that adapter 101 reads this voltage;With MCU 102 controls metal-oxide-semiconductor Q1 shutdown afterwards, and the voltage at D- pin is drawn high by 3rd resistor R3 again, and D+ pin and D- draw at this time Foot is discrete, and voltage value is all 1.23V;Adapter 101 reads the voltage of D+ pin and D- pin at this time, according to the detected The different voltages that one detection voltage and the second detection voltage electron equipment power supply, i.e. adapter 101 provide input according to agreement Value is powered after the conversion of electronic equipment internal DC-DC module 103 to MCU 102, and in the present embodiment, adapter 101 is according to inspection 12V voltage is converted to the system electricity of 3.3V by the voltage output 12V voltage of the D+ pin and D- pin that measure, DC-DC module 103 Pressure.Understandably, electronic equipment MCU 102 has been only involved in once in entire handshake procedure in the present embodiment, i.e., only control D- draws Foot controls the voltage at D- pin by controlling the turn-on and turn-off of metal-oxide-semiconductor Q1.
It is the electrical block diagram of 10 second embodiment of the utility model QC protocol circuit referring to Fig. 4, Fig. 4.This implementation Example from first embodiment the difference is that the specific structure of pull-down circuit 1043 of the present embodiment is different, remaining structure and function It can be identical with the first embodiment.As shown in figure 4, the pull-down circuit 1043 includes including a NPN triode in the present embodiment The collector of Q2 and the 6th resistance R6, the NPN triode Q2 connect adapter 101D- pin, the base stage of NPN triode Q2 A certain GPIO mouthfuls of MCU 102 are connected to, and its emitter is grounded, the 6th one end resistance R6 connection NPN triode Q2's Base stage, other end ground connection.It is found that when MCU 102 controls NPN triode Q2 conducting, the voltage of D- pin can quilt in the present embodiment The emitter of NPN triode Q2 is pulled down to 0V, and when NPN triode Q2 shutdown, the voltage at D- pin can be again by third Resistance R3 is drawn high, then it is identical as metal-oxide-semiconductor Q1 role in first embodiment in 104 role of QC analog circuit, Understandably, the course of work and circuit signal of the present embodiment QC protocol circuit 10 and first embodiment QC protocol circuit 10 flow to Similar, details are not described herein.
In conclusion in the utility model QC protocol circuit when adapter disconnects its D+ pin and D- pin, electronics MCU control pull-down circuit work in equipment, by the voltage pull-down of adapter D- pin, to inform adapter electronics branch QC agreement is held, when subsequent pull-down circuit does not work, the voltage of adapter D- pin can be drawn high again, and adapter is according to detecting D+ pin and D- pin first detection voltage and second detection voltage power supply to the device, i.e., adapter according to agreement provide it is defeated The different voltages value entered is powered after the conversion of electronic equipment internal DC-DC module to MCU, it is known that, the utility model is not required to spy Fixed protocol chip simulates QC fast charge agreement using hardware circuit, realizes shaking hands for electronic equipment and adapter, reach fast charge Purpose, circuit structure is simple, and cost is relatively low.
The above is only the preferred embodiment of the present invention, rather than does limit in any form to the utility model System.Those skilled in the art can impose various equivalent changes and improvement on the basis of the above embodiments, all to want in right The equivalent variations or modification done in range are sought, should fall within the protection scope of this utility model.

Claims (9)

1. a kind of QC protocol circuit is applied to electronic equipment, connect with an adapter, to pass through the DC-DC mould in electronic equipment The MCU of block electron equipment powers, it is characterised in that: includes a QC analog circuit, the QC analog circuit includes first point Piezoelectricity resistance circuit, the second voltage dividing resistance circuit and pull-down circuit, the pull-down circuit is controlled by MCU, and its output end connects Adapter D- pin, to drag down the voltage of D- pin under the control of MCU, an output end of the DC-DC module passes through first Voltage dividing resistance circuit connects adapter D+ pin, and to provide the first detection voltage for D+ pin, and the output end also passes through second Voltage dividing resistance circuit connects adapter D- pin, to provide the second detection voltage for D- pin, so that adapter is according to first It detects voltage and the second detection voltage is powered to MCU.
2. QC protocol circuit as described in claim 1, it is characterised in that: the pull-down circuit includes a metal-oxide-semiconductor, the MOS The drain electrode of pipe connects adapter D- pin, and the grid of the metal-oxide-semiconductor is connected to MCU, and its source electrode is grounded.
3. QC protocol circuit as claimed in claim 2, it is characterised in that: the pull-down circuit further includes one the 5th resistance, institute State the grid of the 5th resistance one end connection metal-oxide-semiconductor, other end ground connection.
4. QC protocol circuit as described in claim 1, it is characterised in that: the pull-down circuit includes a NPN triode, described The collector of NPN triode connects adapter D- pin, and the base stage of the NPN triode is connected to MCU, and its emitter is grounded.
5. QC protocol circuit as claimed in claim 4, it is characterised in that: the pull-down circuit further includes one the 6th resistance, institute State the base stage of the 6th resistance one end connection NPN triode, other end ground connection.
6. QC protocol circuit as described in claim 1, it is characterised in that: first voltage dividing resistance circuit includes first resistor And second resistance, one end of one end connection second resistance of the first resistor and adapter D+ pin, the first resistor The other end connects an output end of DC-DC module, the other end ground connection of the second resistance.
7. QC protocol circuit as claimed in claim 6, it is characterised in that: first resistor is in first voltage dividing resistance circuit 40.2K Ω, second resistance are 24K Ω.
8. QC protocol circuit as described in claim 1, it is characterised in that: second voltage dividing resistance circuit includes 3rd resistor One end and the adapter D- pin of the 4th resistance are connected with one end of the 4th resistance, the 3rd resistor, the 3rd resistor The other end connects an output end of DC-DC module, the other end ground connection of the 4th resistance.
9. QC protocol circuit as claimed in claim 8, it is characterised in that: 3rd resistor is in second voltage dividing resistance circuit 40.2K Ω, the 4th resistance are 24K Ω.
CN201920660371.0U 2019-05-09 2019-05-09 A kind of QC protocol circuit Active CN209658964U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201920660371.0U CN209658964U (en) 2019-05-09 2019-05-09 A kind of QC protocol circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201920660371.0U CN209658964U (en) 2019-05-09 2019-05-09 A kind of QC protocol circuit

Publications (1)

Publication Number Publication Date
CN209658964U true CN209658964U (en) 2019-11-19

Family

ID=68530056

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201920660371.0U Active CN209658964U (en) 2019-05-09 2019-05-09 A kind of QC protocol circuit

Country Status (1)

Country Link
CN (1) CN209658964U (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111211603A (en) * 2020-03-06 2020-05-29 深圳市同为数码科技股份有限公司 QC2.0 protocol circuit applied to terminal equipment
CN113900871A (en) * 2021-10-08 2022-01-07 重庆电哥科技(集团)有限公司 Circuit and method for detecting insertion of USB (universal serial bus) equipment
CN114003531A (en) * 2020-07-28 2022-02-01 苏州能讯高能半导体有限公司 USB Type C interface circuit and terminal equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111211603A (en) * 2020-03-06 2020-05-29 深圳市同为数码科技股份有限公司 QC2.0 protocol circuit applied to terminal equipment
CN114003531A (en) * 2020-07-28 2022-02-01 苏州能讯高能半导体有限公司 USB Type C interface circuit and terminal equipment
CN114003531B (en) * 2020-07-28 2024-06-21 苏州能讯高能半导体有限公司 USB Type C interface circuit and terminal equipment
CN113900871A (en) * 2021-10-08 2022-01-07 重庆电哥科技(集团)有限公司 Circuit and method for detecting insertion of USB (universal serial bus) equipment

Similar Documents

Publication Publication Date Title
CN209658964U (en) A kind of QC protocol circuit
CN104331141B (en) Overcurrent protection circuit and server thereof
US20140292257A1 (en) Electronic device and charging circuit thereof
CN106680577A (en) Single phase voltage synchronization signal detection system and method
CN101179199A (en) Terminal and charging method thereof
CN105745807B (en) A kind of DC-DC power source control circuit and electronic equipment
CN107171555A (en) A kind of mu balanced circuit applied to high tension voltage IC interior
US8476960B1 (en) Identifying circuit
CN207516929U (en) Switching on and shutting down control circuit and mobile terminal
CN102375129A (en) Power supply testing circuit
TW201116838A (en) A system and adapter utilizing a power supply and a display device to test circuits of different types of main boards
CN106569572B (en) Mainboard and computerized control system with the mainboard
CN207490890U (en) A kind of reset circuit
CN203535416U (en) A digital signal processing chip power supply circuit
CN206148924U (en) Fall circuit
CN108808788A (en) A kind of the B ultrasound monolithic processor control device and its system of miniaturization
CN104578033B (en) A kind of over-pressure safety device and a kind of USB interface
CN105676948A (en) Power conditioning circuit and all-in-one machine provided with power conditioning circuit
CN104111851B (en) Embedded system switches starter
CN104124735B (en) Charging voltage stabilizing circuit
CN108631377A (en) Electrifying control circuit and apply its portable power source device
CN201118442Y (en) A low-voltage power circuit
CN106445050A (en) Computer 12V intelligent voltage-stabilized source
CN108572936B (en) USB interface control circuit
CN110048391A (en) A kind of overvoltage crowbar

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20211111

Address after: 518000 220, building 6, Qianhai Shenzhen Hong Kong youth dream workshop, Qianhai Shenzhen Hong Kong cooperation zone, Shenzhen, Guangdong

Patentee after: Ruimo Intelligent Technology (Shenzhen) Co., Ltd

Address before: 518000 220, building 6, Qianhai Shenzhen Hong Kong youth dream workshop, Qianhai Shenzhen Hong Kong cooperation zone, Shenzhen, Guangdong

Patentee before: Ruimo Intelligent Technology (Shenzhen) Co., Ltd

Patentee before: Dongguan Songshanhu International Robot Research Institute Co., Ltd

TR01 Transfer of patent right