CN106533398A - Trapezoidal wave generating circuit used for USB PD controller - Google Patents

Trapezoidal wave generating circuit used for USB PD controller Download PDF

Info

Publication number
CN106533398A
CN106533398A CN201610826419.1A CN201610826419A CN106533398A CN 106533398 A CN106533398 A CN 106533398A CN 201610826419 A CN201610826419 A CN 201610826419A CN 106533398 A CN106533398 A CN 106533398A
Authority
CN
China
Prior art keywords
circuit
usb
generation circuit
wave generation
square
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.)
Granted
Application number
CN201610826419.1A
Other languages
Chinese (zh)
Other versions
CN106533398B (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.)
Chipsea Technologies Shenzhen Co Ltd
Original Assignee
Chipsea Technologies 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 Chipsea Technologies Shenzhen Co Ltd filed Critical Chipsea Technologies Shenzhen Co Ltd
Priority to CN201610826419.1A priority Critical patent/CN106533398B/en
Publication of CN106533398A publication Critical patent/CN106533398A/en
Application granted granted Critical
Publication of CN106533398B publication Critical patent/CN106533398B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K4/00Generating pulses having essentially a finite slope or stepped portions
    • H03K4/02Generating pulses having essentially a finite slope or stepped portions having stepped portions, e.g. staircase waveform
    • H03K4/026Generating pulses having essentially a finite slope or stepped portions having stepped portions, e.g. staircase waveform using digital techniques

Landscapes

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

Abstract

The invention discloses a trapezoidal wave generating circuit used for a USB PD controller. The circuit comprises a square signal input, a first square wave generating circuit and a second square wave generating circuit which are connected in parallel, and switching circuits, wherein each of the first square wave generating circuit and the second square wave generating circuit is formed by a charging and discharging circuit and a current source circuit; the charging and discharging circuits and the current source circuits are connected to a power supply VDD in series at a ground terminal; the square signal input is respectively connected to two charging and discharging circuits; the switching circuits are connected behind the first square wave generating circuit and the second square wave generating circuit; and the two switching circuits are connected in parallel to output a trapezoidal wave signal VOUT together. The trapezoidal wave generating circuit realized by the invention can generate strong trapezoidal wave with more stable edge time and solves a problem of physical layer communication in a USB PD protocol and is particularly suitable for the USB PD controller.

Description

A kind of trapezoidal wave generation circuit for USB PD control devices
Technical field
The invention belongs to electronic technology field, more particularly to a kind of USB interface control based on Power Delivery agreements Device processed.
Background technology
The consumption electronic products such as mobile phone, panel computer occupy more and more important position in daily life Put, usage frequency and duration are all dramatically increased, and power consumption also day by day increases.And it is limited to slow of material and electrochemical industry Exhibition, the lifting improvement speed of battery are slower, and battery capacity can not increasingly meet consumer demand, cause charge frequency more next It is higher.Battery capacity is discontented with for mitigating consumer, the method for shortening battery charge time is constantly studied by Ge great electronics firms.
At present, more ripe rapid nitriding include QC (Quick Charge) standards that Qualcomm proposes and Max Charge standards that TI companies propose etc..But, these standards only belong to individual businesses, it is difficult to become industry unification mark It is accurate.USB-IF (USB Implementers Forum, USB application persons forum) announces USB Power for the first time in July, 2012 1.0 protocol specifications of Delivery (PD), set 5 kinds of power settings ranks (Profile 1~5), reach as high as 100 watts of electricity Power transmission quantity, and, feeder ear (Source) and power connection end (Sink) have can mutually to the power supply of reversible supply characteristic, Such that it is able to allow various power devices can meet power demands by a USB cable, the shortening device charging interval simultaneously optimizes The convenience of mobile applications.USB PD protocol specifications can also be with existing USB 3.0/2.0, BC1.2/1.1/1.0 charging specifications It is compatible.This agreement obtains the support of the major companies such as Intel, Hewlett-Packard, ST microelectronics, auspicious Sa electronics, Microsoft, is expected to become capable The unified standard of industry, and 3.0 versions have been issued in 2016.
Charging handshake procedure based on USB PD agreements is as follows:USB of the adapter with electrical equipment by TYPE-C standards Cable sets up the connection of CC interfaces, and adapter acquiescence exports 5V to electrical equipment, carries out small current and charge at a slow speed.Adapter and electricity consumption Equipment carries out physical layer communication by CC interfaces, and electrical equipment informs the charging voltage required for adapter and electric current, if suitable Orchestration has this power supply capacity, then adjust charging voltage and electric current.It can be seen that, physical layer communication is that UDB PD agreements can be normally carried out Basis.
As patent application 200920029063.4 discloses a kind of staircase generator of integrating circuit control, can including one Programmed logic control circuit (PLD), an integrating circuit, two comparison circuits, five analog switches, the product that this utility model is provided The staircase generator of parallel circuit control, using pure hardware controls, reaches good slope waveform, logic control using integrating circuit The good flex point switching of circuit realiration processed, is not take up software resource, and has reached the theoretical smooth output for 0 of slope resolving power imitating Really, several key factors:Height, rise and fall rate, cycle can be independently arranged, and application is more flexible.Although this application In propose rising edge trapezoidal wave and trailing edge trapezoidal wave.Then, only rising edge slowly climb or only trailing edge it is slow under The waveform of drop can not calculate " trapezoidal " ripple, and the trapezoidal wave is easily affected by interface parasitic capacitance, causes edge time to change It is larger, so as to not be suitable for USB PD control devices.
It is a kind of important to need solution badly that trapezoidal wave based on BMC (Biphase Mark Coding) physical layer produces problem Problem certainly.BMC communicating requirements send and receive the trapezoidal wave that representative value is 1.1V on CC interfaces, and require the side of trapezoidal wave Along the time in 300nS or so.Generally, the edge time of signal is easily affected by CC interface parasitic capacitances, parasitic capacitance compared with Edge time when big is longer, and edge time when parasitic capacitance is less is shorter.If design is improper, the edge of trapezoidal wave can be by Change in different electrical equipments, so as to cause communication failure because agreement is unsatisfactory for.
The content of the invention
Based on this, the primary purpose of the present invention is to provide a kind of trapezoidal wave generation circuit for USB PD control devices, with Solve the problems, such as that the physical layer communication in USB PD agreements, the i.e. trapezoidal wave based on BMC physical layers produce problem.
Another mesh ground of the present invention is to provide a kind of trapezoidal wave generation circuit for USB PD control devices, the circuit A relatively stable trapezoidal wave of stalwartness, edge time can be exported, is particularly suitable for USB PD control devices.
For achieving the above object, the technical scheme is that:
A kind of trapezoidal wave generation circuit for USB PD control devices, which includes the input of square-wave signal all the way, in parallel First square wave generation circuit and the second square wave generation circuit, on-off circuit;Wherein, first square wave generation circuit and second party Wave generation circuit is constituted by charge-discharge circuit and current source circuit, and the charge-discharge circuit is series at power supply with current source circuit VDD is in earth terminal;The square-wave signal input connects two charge-discharge circuits respectively, and the two-way current source circuit is parallel to power supply On VDD, and the first square wave generation circuit and the second square wave generation circuit have been followed by on-off circuit, and two on-off circuits are connected in parallel on one Play common output trapezoidal wave signal VOUT.
The current source circuit is made up of PMOS or NMOS tube, the sources connected in parallel of PMOS or NMOS tube in together, Input is terminated at power supply, and outfan is then connected to charge-discharge circuit.
The charge-discharge circuit is that electric capacity and metal-oxide-semiconductor are constituted, and wherein, the source electrode of metal-oxide-semiconductor is connected to square-wave signal input, electricity Appearance is connected to the input of metal-oxide-semiconductor.
Further, the electric capacity is connected between the input of metal-oxide-semiconductor and earth terminal.
Further, the electric capacity is connected between the input of metal-oxide-semiconductor and power vd D.
Further, the metal-oxide-semiconductor of the charge-discharge circuit of first square wave generation circuit is connected to square-wave signal input, the The charge-discharge circuit of two square wave generation circuits is then connected to the input of square-wave signal by phase inverter.
The on-off circuit, is realized by NMOS tube.
Further, one of NMOS tube of the on-off circuit is connected to electric capacity.
The trapezoidal wave generation circuit realized by the present invention, can be using the rising produced the characteristics of rectangular wave needed for trapezoidal wave Along, trailing edge, and the trapezoidal wave for producing is healthy and strong, edge time is relatively stable, and the physical layer communication solved in USB PD agreements is asked Topic, is particularly suitable for USB PD control devices.
And the present invention realizes that circuit is simple, it is easy to accomplish.
Description of the drawings
Fig. 1 is the circuit diagram of institute's embodiment of the present invention.
Fig. 2 is the oscillogram of institute's embodiment of the present invention.
Fig. 3 is the circuit diagram of institute's embodiment of the present invention two.
Specific embodiment
In order that the objects, technical solutions and advantages of the present invention become more apparent, it is below in conjunction with drawings and Examples, right The present invention is further elaborated.It should be appreciated that specific embodiment described herein is only to explain the present invention, and It is not used in the restriction present invention.
Shown in Fig. 1, the first realization for the trapezoidal wave generation circuit for USB PD control devices implemented by the present invention Scheme (abbreviation scheme one), which includes square-wave signal VCK inputs, the first square wave generation circuit in parallel and the second square wave all the way Produce circuit, on-off circuit.
First square wave generation circuit and the second square wave generation circuit are constituted by charge-discharge circuit and current source circuit, charge and discharge Circuit is series at power vd D in earth terminal with current source circuit;Square-wave signal input connects two charge-discharge circuits respectively, described Two-way current source circuit is parallel on power vd D, and the first square wave generation circuit and the second square wave generation circuit have been followed by switch Circuit, two on-off circuits are connected in parallel common output trapezoidal wave signal VOUT.
Specifically, the charge-discharge circuit of the first square wave generation circuit is that electric capacity C1 and NMOS tube MN1 are constituted, current source electricity Road is made up of PMOS MP1, and MP1 is connected between the input of MN1 and power vd D;The discharge and recharge of the second square wave generation circuit Circuit is that electric capacity C2 and NMOS tube MN2 are constituted, and current source circuit is made up of PMOS MP2, MP2 be connected to the input of MN2 and Between power vd D;And between MN2 and VCK, it is provided with phase inverter INV1.Electric capacity C1 and C2 are connected to the input of MN1 and MN2 respectively And earth terminal between.
Together with, input is terminated at power supply to the sources connected in parallel of MP1 and MP2, and outfan is then connected to MN1, MN2 respectively.
On-off circuit, then realized by NMOS tube MN3 and MN4.Wherein, MN3 is connected to the outfan of MP2, and MN4 is then connected to MP1 Outfan.MN4 is further connected with electric capacity.
Generally, in 1.1V or so, edge time requires left in 300nS the amplitude of the trapezoidal wave used in USB PD communications It is right.Therefore, for the special applications of USB PD communications, trapezoidal wave circuit arrangement one proposed by the invention is as shown in figure 1, node Waveform is as shown in Fig. 2 principle is as follows:
Trapezoidal wave amplitude in due to PD agreements only has 1.1V, and the drain voltage VPW of MN3 is set to 1.1V, power supply electricity Pressure VDD is then required more than 3V.
Square-wave input signal VCK provides the square-wave signal of certain frequency, and bias voltage VBP exports PMOS MP1/MP2 Fixed current I1 and I2.
When square wave VCK is high level, the conducting of NMOS tube MN1., in strobe, node VN1 is drop-down for the electric charge of electric capacity C1 To ground, while also MN4 is turned off.Signal VCKNs of the VCK after phase inverter INV1 be low level, MN2 shut-off.Electric capacity C2 quilts MP2 charges, and node VN2 uniformly rises to form an oblique wave, until supply voltage VDD.When VN2 is more than the threshold value of NMOS tube MN3 After voltage Vthn, MN3 is opened.MN3 can cause VOUT to follow the rising ramp of VN2 uniformly to rise as source follower, until VOUT is equal to and is maintained at VPW.So, the rising ramp of VOUT is just defined in the presence of VN2, the time of this oblique wave Tn2 is determined that by NMOS tube threshold value vthn, electric current I2, electric capacity C2 the value for adjusting electric current I2 and electric capacity C2 can adjust tn2.
When square wave VCK is low level, VCKN is high level, and in strobe, node VN2 is pulled down to the electric charge of electric capacity C2 Ground, while also turn off MN3.Electric capacity C1 is charged by MP1, and node VN1 uniformly rises to form an oblique wave, until supply voltage VDD.After threshold voltage vt hns of the VN1 more than NMOS tube MN4, MN4 is opened and pull-down current, and VOUT then declines therewith, so as to Decline oblique wave of the formation time for tn1.Tn1 can be adjusted by the value for adjusting electric current I1 and electric capacity C1.
Scheme two is as shown in Figure 3.Essentially consist in one difference of scheme shown in Fig. 1:In scheme two, phase inverter is connected to Between two current source circuit PMOSs in parallel, electric capacity has been changed to connect power supply by connection over the ground.
In other implementations, current source circuit can be changed to NMOS tube by PMOS.Equally, charge-discharge circuit NMOS tube can also be changed to PMOS.
Thus, the trapezoidal wave generation circuit realized, can be using the rising produced the characteristics of rectangular wave needed for trapezoidal wave Along, trailing edge, and the trapezoidal wave for producing is healthy and strong, edge time is relatively stable, and the physical layer communication solved in USB PD agreements is asked Topic, is particularly suitable for USB PD control devices.
Presently preferred embodiments of the present invention is the foregoing is only, not to limit the present invention, all essences in the present invention Any modification, equivalent and improvement made within god and principle etc., should be included within the scope of the present invention.

Claims (8)

1. a kind of trapezoidal wave generation circuit for USB PD control devices, it is characterised in that the circuit includes square wave letter all the way Number input, the first in parallel square wave generation circuit and the second square wave generation circuit, on-off circuit;Wherein, first square wave is produced Raw circuit and the second square wave generation circuit are by charge-discharge circuit and current source circuit composition, the charge-discharge circuit and current source Circuit connected in series is in power vd D in earth terminal;The square-wave signal input connects two charge-discharge circuits, the two-way current source respectively Circuit in parallel is on power vd D, and the first square wave generation circuit and the second square wave generation circuit have been followed by on-off circuit, and two are opened Powered-down road is connected in parallel common output trapezoidal wave signal VOUT.
2. the trapezoidal wave generation circuit of USB PD control devices is used for as claimed in claim 1, it is characterised in that the current source Circuit is made up of PMOS or NMOS tube, and in together, input is terminated at power supply to the sources connected in parallel of PMOS or NMOS tube, exports End is then connected to charge-discharge circuit.
3. the trapezoidal wave generation circuit of USB PD control devices is used for as claimed in claim 1, it is characterised in that the discharge and recharge Circuit is that electric capacity and metal-oxide-semiconductor are constituted, and wherein, the source electrode of metal-oxide-semiconductor is connected to square-wave signal input, and electric capacity is connected to the input of metal-oxide-semiconductor End.
4. the trapezoidal wave generation circuit of USB PD control devices is used for as claimed in claim 3, it is characterised in that the electric capacity connects Between the input and earth terminal of metal-oxide-semiconductor.
5. the trapezoidal wave generation circuit of USB PD control devices is used for as claimed in claim 3, it is characterised in that the electric capacity connects Between the input and power vd D of metal-oxide-semiconductor.
6. the trapezoidal wave generation circuit of USB PD control devices is used for as claimed in claim 4, it is characterised in that the first party The metal-oxide-semiconductor of the charge-discharge circuit of wave generation circuit is connected to square-wave signal input, the charge-discharge circuit of the second square wave generation circuit The input of square-wave signal is connected to by phase inverter then.
7. the trapezoidal wave generation circuit of USB PD control devices is used for as claimed in claim 1, it is characterised in that the switch electricity Road, is realized by NMOS tube.
8. the trapezoidal wave generation circuit of USB PD control devices is used for as claimed in claim 7, it is characterised in that the switch electricity One of NMOS tube on road is connected to electric capacity.
CN201610826419.1A 2016-09-14 2016-09-14 A kind of trapezoidal wave generation circuit for USB PD control device Active CN106533398B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610826419.1A CN106533398B (en) 2016-09-14 2016-09-14 A kind of trapezoidal wave generation circuit for USB PD control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610826419.1A CN106533398B (en) 2016-09-14 2016-09-14 A kind of trapezoidal wave generation circuit for USB PD control device

Publications (2)

Publication Number Publication Date
CN106533398A true CN106533398A (en) 2017-03-22
CN106533398B CN106533398B (en) 2019-11-08

Family

ID=58343745

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610826419.1A Active CN106533398B (en) 2016-09-14 2016-09-14 A kind of trapezoidal wave generation circuit for USB PD control device

Country Status (1)

Country Link
CN (1) CN106533398B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201533292U (en) * 2009-07-09 2010-07-21 山东艾诺仪器有限公司 Trapezoidal wave generator controlled by integrating circuit
CN101789737A (en) * 2010-02-03 2010-07-28 薛晓明 Brshless DC motor inhibiting electromagnetic torque pulsation method and device
CN103595312A (en) * 2013-10-30 2014-02-19 江苏科技大学 Brushless direct current motor control device and method based on current source inverter

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201533292U (en) * 2009-07-09 2010-07-21 山东艾诺仪器有限公司 Trapezoidal wave generator controlled by integrating circuit
CN101789737A (en) * 2010-02-03 2010-07-28 薛晓明 Brshless DC motor inhibiting electromagnetic torque pulsation method and device
CN103595312A (en) * 2013-10-30 2014-02-19 江苏科技大学 Brushless direct current motor control device and method based on current source inverter

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李子昀: "基于电流型逆变***的直流电机转矩脉动抑制", 《工业控制计算机》 *

Also Published As

Publication number Publication date
CN106533398B (en) 2019-11-08

Similar Documents

Publication Publication Date Title
JP6669931B2 (en) Fast charging method and system, terminal and charger
CN102130666B (en) Duty ratio regulation circuit and method
CN203261303U (en) Apparatus for voltage selection for MOSFET switch device
CN103460578A (en) Charge pump circuit
KR101991366B1 (en) Electric power management apparatus and multi-source energy harvesting system using the same
CN108539832A (en) Wireless charging receiving terminal equipment, wireless charging method, system and terminal device
CN203632633U (en) Control circuit and electronic system
CN104113211A (en) Low-power-dissipation hysteresis voltage detection circuit applied to energy acquisition system
CN108494252A (en) A kind of Internet of Things NB-IoT super low-power consumption timed power switch circuits and its detection method
CN110518896A (en) It is a kind of that the clock generating circuit and chip of optional frequency and duty ratio are provided
CN103812445A (en) Oscillator
CN101102080B (en) Startup circuit of voltage elevation regulator and its startup method
CN102097927A (en) Starting circuit of switch power supply chip and starting method of starting circuit
CN103368500A (en) Oscillator circuit used for generating clock signal
CN106533398A (en) Trapezoidal wave generating circuit used for USB PD controller
CN109394169B (en) Medical Devices with hysteresis module
CN105610220A (en) Charge and discharge circuit for mobile terminal and mobile terminal
CN201266913Y (en) Triangular-wave generator
CN204595843U (en) Single line powered data transfer circuit
CN204168135U (en) A kind of zero passage detection module
CN111465911B (en) Low inrush current circuit for power-up and deep power-down exit
CN102801311B (en) Power path management circuit and method
CN102571046B (en) Pulse-width modulation circuit, device including pulse-width modulation circuit and pulse-width modulation method
CN112018839A (en) Load detection circuit
CN102035508B (en) A kind of clock generation circuit

Legal Events

Date Code Title Description
C06 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