Transmitter applied to USB-PD communication
By designing a transmitter circuit for USB-PD communication, including a first op amp circuit, a slew rate control circuit, a second op amp circuit and a port protection circuit, the problem of signal quality and voltage resistance requirements in the prior art when facing electromagnetic interference and short circuit faults is solved, and a wider applicability and stronger driving capability are achieved.
Patent Information
- Application Number
- CN202510174245.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-18
- Publication Date
- 2025-03-18
- Estimated Expiration
- 2045-02-18
AI Technical Summary
When existing USB-PD transmitter circuits face electromagnetic interference and short circuit failures, it is difficult to ensure the quality of communication signals and voltage withstand requirements, and it is difficult to adapt to different process deviations and cable loads.
A transmitter circuit including a first op amp circuit and a slew rate control circuit is designed for generating trapezoidal waves that meet the requirements of the USB-PD communication protocol and controlling the rising and falling edges to deal with process deviations by adjusting. At the same time, the second op amp circuit is introduced to adopt a CLASS AB op amp structure to enhance driving capabilities and meet different voltage withstand needs through port protection circuits.
It realizes the quality of communication signal and the meeting of voltage withstand requirements in the face of electromagnetic interference and short circuit faults, and is more applicable and can cope with different process deviations and cable loads.
Smart Images

Figure CN119652331A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of serial communication, and in particular to a transmitter applied to USB-PD communication. Background Art
[0002] In recent years, as human society has gradually entered the era of intelligence, the popularity of smart devices has increased, and people have put forward higher requirements for the portability and low power consumption of electronic devices, and the demand for high-performance chips has also increased. However, the more powerful the chip, the higher the power consumption, which poses a more stringent challenge to the battery and its control technology. Common improvement measures include increasing the battery capacity to improve the endurance, or increasing the charging speed of the device to shorten the charging time. However, as of now, lithium battery technology has encountered a bottleneck in research and development. Simply increasing the battery volume to increase the capacity will make the device more cumbersome, which is contrary to the pursuit of portability. Therefore, in the context of no breakthrough in battery storage technology, improving the charging speed of smart devices has become a more effective solution. Fast charging technology came into being and developed rapidly. The main principle of fast charging technology is to increase the charging power by increasing the charging current and voltage.
[0003] PD fast charging technology uses high voltage and high current fast charging, with various charging gears and strong interface adaptability. This technology not only supports chargers to charge devices, but also allows devices to charge each other. Nowadays, PD fast charging has been widely used. At the same time, the agreement stipulates the unified use of USB Type-C interface, which is small and convenient, supports forward and reverse insertion, and supports high transmission rate and high charging power. It has been widely popularized in consumer electronics and other fields.
[0004] According to the USB-PD protocol, there are clear requirements for the quality of the transmitted signal: the output high-level voltage range must be between (1.04~1.2)V, the output low-level voltage range must be between (0~0.075)V, the rising and falling edge times must be at least 300ns, and the maximum time of the rising and falling edges must not violate the eye diagram rules. While the USB-PD transmitter circuit sends communication signals that meet the requirements of the communication protocol, it must also consider the situation in which the communication signal does not meet the protocol requirements due to electromagnetic interference that may exist in the actual USB PD communication process, as well as the withstand voltage requirements of the CC port (Configuration Channel port) due to short-circuit faults. Therefore, strict requirements are placed on the USB-PD transmitter circuit. Summary of the invention
[0005] In view of the problems existing in the prior art, the present invention provides a transmitter applied to USB-PD communication, comprising: a first operational amplifier circuit, a non-phase input terminal of the first operational amplifier circuit receives a reference voltage, an output terminal of the first operational amplifier circuit is connected to a first terminal of a slew rate control circuit, an inverting input terminal of the first operational amplifier circuit is connected to a second terminal of the slew rate control circuit, and the first operational amplifier circuit and the slew rate control circuit are used to generate a trapezoidal wave that meets the requirements of the USB-PD communication protocol; a second operational amplifier circuit, a non-phase input terminal of the second operational amplifier circuit is connected to a third terminal of the slew rate control circuit, an inverting input terminal and an output terminal of the second operational amplifier circuit are connected to an input terminal of a port protection circuit, an output terminal of the port protection circuit is connected to a configuration channel port, the second operational amplifier circuit is used to output a communication signal, and the port protection circuit is used to shield the high voltage on the configuration channel port.
[0006] Preferably, the first operational amplifier circuit includes a first-stage common-source amplifier and a second-stage common-source amplifier; the first-stage common-source amplifier includes: a first P-type MOS device, the source of the first P-type MOS device is connected to the source of the second P-type MOS device, the source of the first P-type MOS device is also connected to the negative electrode of the second current source, the gate of the first P-type MOS device receives the reference voltage, and the gate of the second P-type MOS device is connected to the second end of the slew rate control circuit; a third N-type MOS device, the drain of the third N-type MOS device is connected to the drain of the first P-type MOS device and its own gate, the source of the third N-type MOS device is connected to the source of the fourth N-type MOS device and grounded, and the drain of the fourth N-type MOS device is connected to the drain of the second P-type MOS device and its own gate; the second-stage common-source amplifier includes: a second N-type MOS device, the gate of the second N-type MOS device is connected to the gate of the third N-type MOS device, the drain of the second N-type MOS device is connected to the drain of the third P-type MOS device, the gate of the third P-type MOS device and the gate of the fourth P-type MOS device, the source of the third P-type MOS device and the source of the fourth P-type MOS device are connected to the positive electrode of the second current source; the gate of the fifth N-type MOS device is connected to the gate of the fourth N-type MOS device, the source of the fifth N-type MOS device is connected to the source of the second N-type MOS device and is grounded, and the drain of the fifth N-type MOS device is connected to the drain of the fourth P-type MOS device and to the first end of the slew rate control circuit.
[0007] Preferably, the slew rate control circuit includes: a first switch, one end of the first switch is connected to one end of the second switch and the output end of the first operational amplifier circuit, the other end of the first switch is respectively connected to the inverting input end of the first operational amplifier circuit, one end of the first resistor and one end of the third switch, and the other end of the second switch is grounded; a first current source, the positive electrode of the first current source is connected to the other end of the third switch, and the negative electrode of the first current source is grounded; a first capacitor, one end of the first capacitor is connected to the other end of the first resistor, one end of the fourth switch, one end of the fifth switch and the non-inverting input end of the second operational amplifier circuit, the other end of the fourth switch is connected to one end of the second capacitor, the other end of the fifth switch is connected to one end of the third capacitor, and the other end of the first capacitor, the other end of the second capacitor and the other end of the third capacitor are grounded.
[0008] Preferably, the second operational amplifier circuit includes a common-source common-gate amplifier and a push-pull amplifier; the first input end of the common-source common-gate amplifier is connected to the third end of the slew rate control circuit, and the second input end of the common-source common-gate amplifier is connected to the input end of the port protection circuit; the first input end of the push-pull amplifier is connected to the first output end of the common-source common-gate amplifier, the second input end of the push-pull amplifier is connected to the second output end of the common-source common-gate amplifier, and the output end of the push-pull amplifier is connected to the input end of the port protection circuit.
[0009] Preferably, the common-source and common-gate amplifier includes: a third current source, the negative electrode of the third current source is connected to the source of the fifth P-type MOS device and the source of the sixth P-type MOS device, the gate of the fifth P-type MOS device is connected to the third end of the slew rate control circuit, and the gate of the sixth P-type MOS device is connected to the input end of the port protection circuit; a seventh P-type MOS device, the source of the seventh P-type MOS device is connected to the positive electrode of the third current source and the source of the eighth P-type MOS device, the drain of the seventh P-type MOS device is connected to the source of the ninth P-type MOS device, and the gate of the seventh P-type MOS device is connected to the gate of the eighth P-type MOS device and the drain of the ninth P-type MOS device; a tenth P-type MOS device, the source of the tenth P-type MOS device is connected to the drain of the eighth P-type MOS device, and the gate of the tenth P-type MOS device is connected to the gate of the ninth P-type MOS device; an eleventh P-type MOS device, the source of the eleventh P-type MOS device is connected to the drain of the tenth P-type MOS device and the drain of the tenth N-type MOS device, and the drain of the eleventh P-type MOS device is connected to the source of the tenth N-type MOS device and the drain of the ninth N-type MOS device; a sixth N-type MOS device, the drain of the sixth N-type MOS device is connected to the drain of the fifth P-type MOS device and the source of the eighth N-type MOS device, the drain of the eighth N-type MOS device is connected to the drain of the ninth P-type MOS device, and the gate of the eighth N-type MOS device is connected to the gate of the ninth N-type MOS device; a seventh N-type MOS device, the gate of the seventh N-type MOS device is connected to the gate of the sixth N-type MOS device, the source of the seventh N-type MOS device is connected to the source of the sixth N-type MOS device and grounded, and the drain of the seventh N-type MOS device is connected to the source of the ninth N-type MOS device.
[0010] Preferably, the push-pull amplifier includes: a twelfth P-type MOS device, a gate of the twelfth P-type MOS device is connected to the first output terminal of the common-source and common-gate amplifier, a drain of the twelfth P-type MOS device is connected to one end of a fifth resistor, the other end of the fifth resistor is connected to the drain of an eleventh N-type MOS device, and a gate of the eleventh N-type MOS device is connected to the second output terminal of the common-source and common-gate amplifier.
[0011] Preferably, the second operational amplifier circuit also includes a first Miller compensation circuit between the common-source common-gate amplifier and the push-pull amplifier, and the first Miller compensation circuit includes: a third resistor, one end of the third resistor is connected to the first input terminal of the push-pull amplifier, the other end of the third resistor is connected to one end of a fourth capacitor, the other end of the fourth capacitor is connected to one end of a fifth capacitor and the output terminal of the push-pull amplifier, the other end of the fifth capacitor is connected to one end of the fourth resistor, and the other end of the fourth resistor is connected to the second input terminal of the push-pull amplifier.
[0012] Preferably, the second operational amplifier circuit also includes a negative feedback loop, which includes: a fourth current source, the positive electrode of the fourth current source is connected to the source of the fourteenth P-type MOS device, and the gate of the fourteenth P-type MOS device is connected to the negative electrode of the fourth current source; a thirteenth P-type MOS device, the gate of the thirteenth P-type MOS device is connected to the drain of the fourteenth P-type MOS device and the first input terminal of the push-pull amplifier, the drain of the thirteenth P-type MOS device is connected to the drain and gate of the twelfth N-type MOS device and the gate of the thirteenth N-type MOS device, the source of the thirteenth N-type MOS device and the source of the twelfth N-type MOS device are grounded, and the drain of the thirteenth N-type MOS device is connected to the negative electrode of the fourth current source.
[0013] Preferably, the negative feedback loop also includes a second Miller compensation circuit, which includes: a sixth capacitor, one end of which is connected to the drain of the fourteenth P-type MOS device, the other end of which is connected to one end of a sixth resistor, and the other end of which is connected to the negative electrode of the fourth current source.
[0014] Preferably, the port protection circuit includes: a first N-type MOS device, the source of the first N-type MOS device is connected to the inverting input and output of the second operational amplifier circuit, the drain of the first N-type MOS device is connected to one end of the second resistor, and the other end of the second resistor is connected to the configuration channel port.
[0015] The above technical solution has the following advantages or beneficial effects: a transmitter circuit for USB-PD communication is provided. A trapezoidal wave that meets the requirements of the USB-PD communication protocol is generated by using a first operational amplifier circuit and a slew rate control circuit, and the rising edge and falling edge of the trapezoidal wave can be adjusted to cope with deviations caused by different processes, and the applicability is wider. In addition, the second operational amplifier circuit, as the output stage, adopts a CLASS AB operational amplifier structure with stronger driving capability, which can cope with different cable loads. Finally, the port protection circuit is introduced to meet the different voltage resistance requirements of the configuration channel. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 A schematic diagram of the structure of a transmitter applied to USB-PD communication in a preferred embodiment of the present invention; Figure 2 Schematic diagram of the structure of a first operational amplifier circuit in a preferred embodiment of the present invention; Figure 3 It is a structural schematic diagram of a second operational amplifier circuit in a preferred embodiment of the present invention. DETAILED DESCRIPTION
[0017] The present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments. The present invention is not limited to this embodiment, and other embodiments may also fall within the scope of the present invention as long as they conform to the gist of the present invention.
[0018] In a preferred embodiment of the present invention, based on the above problems existing in the prior art, a transmitter applied to USB-PD communication is provided. Figure 1 As shown, it includes: a first operational amplifier circuit 001, the non-phase input terminal of the first operational amplifier circuit 001 receives a reference voltage VREF, the output terminal of the first operational amplifier circuit 001 is connected to the first terminal of the slew rate control circuit 002, the inverting input terminal of the first operational amplifier circuit 001 is connected to the second terminal of the slew rate control circuit 002, the first operational amplifier circuit and the slew rate control circuit 002 are used to generate a trapezoidal wave that meets the requirements of the USB-PD communication protocol, wherein the slew rate control circuit 002 is used to adjust the upper and lower edges of the trapezoidal wave; a second operational amplifier circuit 003, the non-phase input terminal of the second operational amplifier circuit 003 is connected to the third terminal of the slew rate control circuit 002, the inverting input terminal and the output terminal of the second operational amplifier circuit 003 are connected to the source terminal of the port protection circuit 004, the output terminal of the port protection circuit 004 is connected to the configuration channel port CC, the second operational amplifier circuit 003 is used to output a communication signal with good stability, strong driving capability and strong anti-interference capability, and the port protection circuit 004 is used to shield the high voltage on the configuration channel port.
[0019] Specifically, in this embodiment, Figure 1 The figure shows a transmitter circuit for USB-PD communication. The first op amp circuit and the slew rate control circuit are used to generate a trapezoidal wave that meets the requirements of the USB-PD communication protocol, and the rising and falling edges of the trapezoidal wave can be adjusted to cope with the deviations caused by different processes, and the applicability is wider. In addition, the second op amp circuit is used as the output stage, and the CLASS AB op amp structure has a stronger driving capability and can cope with different cable loads. Finally, the port protection circuit is introduced to meet the different voltage resistance requirements of the CC port.
[0020] In a preferred embodiment of the present invention, the first operational amplifier circuit 001 includes a first-stage common-source amplifier 011 and a second-stage common-source amplifier 012; the first-stage common-source amplifier 011 includes: a first P-type MOS device, the source of the first P-type MOS device is connected to the source of the second P-type MOS device, the source of the first P-type MOS device is also connected to the negative electrode of the second current source, the gate of the first P-type MOS device receives a reference voltage, and the gate of the second P-type MOS device is connected to the second end of the slew rate control circuit; a third N-type MOS device, the drain of the third N-type MOS device is connected to the drain of the first P-type MOS device and its own gate, the source of the third N-type MOS device is connected to the source of the fourth N-type MOS device and grounded, and the drain of the fourth N-type MOS device is connected to the second The drain of the P-type MOS device and its own gate; the second-stage common-source amplifier includes: a second N-type MOS device, the gate of the second N-type MOS device is connected to the gate of the third N-type MOS device, the drain of the second N-type MOS device is connected to the drain of the third P-type MOS device, the gate of the third P-type MOS device and the gate of the fourth P-type MOS device, the source of the third P-type MOS device and the source of the fourth P-type MOS device are connected to the positive electrode of the second current source; the gate of the fifth N-type MOS device is connected to the gate of the fourth N-type MOS device, the source of the fifth N-type MOS device is connected to the source of the second N-type MOS device and is grounded, and the drain of the fifth N-type MOS device is connected to the drain of the fourth P-type MOS device and the first end of the slew rate control circuit.
[0021] Specifically, Figure 2 As shown, the first operational amplifier circuit 001 in this embodiment adopts a two-stage common-source amplifier, and the first-stage common-source amplifier 011 includes a first P-type MOS device MP1, a second P-type MOS device MP2, a third N-type MOS device MN3, a fourth N-type MOS device MN4 and a second current source I2; the gate VNN of the first P-type MOS device MP1 serves as the non-inverting input terminal of the first operational amplifier circuit 001 to receive the reference voltage VREF, and the gate of the second P-type MOS device MP2 serves as the inverting input terminal of the first operational amplifier circuit 001 to connect the gate of the second P-type MOS device to the second end of the slew rate control circuit 002; the second-stage common-source amplifier 012 includes a second N-type MOS device MN2, a fifth N-type MOS device MN5, a third P-type MOS device MP3, and a fourth P-type MOS device MP4.
[0022] In a preferred embodiment of the present invention, the slew rate control circuit 002 includes: a first switch, one end of the first switch is connected to one end of the second switch and the output end of the first operational amplifier circuit, the other end of the first switch is respectively connected to the inverting input end of the first operational amplifier circuit, one end of the first resistor and one end of the third switch, and the other end of the second switch is grounded; a first current source, the positive electrode of the first current source is connected to the other end of the third switch, and the negative electrode of the first current source is grounded; a first capacitor, one end of the first capacitor is connected to the other end of the first resistor, one end of the fourth switch, one end of the fifth switch and the non-inverting input end of the second operational amplifier circuit, the other end of the fourth switch is connected to one end of the second capacitor, the other end of the fifth switch is connected to one end of the third capacitor, and the other end of the first capacitor, the other end of the second capacitor and the other end of the third capacitor are grounded.
[0023] Specifically, in this embodiment, Figure 1 As shown, the slew rate control circuit 002 includes a first switch S1, a second switch S2, a third switch S3, a first current source I1, a first resistor R1, a first capacitor C1, a fourth switch S4, a fifth switch S5, a second capacitor C2 and a third capacitor C3. Through logic control, the switches S1, S2 and S3 in the slew rate control circuit 002 are controlled to be opened and closed, so that the positive input terminal of the second operational amplifier circuit 003 inputs a trapezoidal wave signal that meets the high level and low level, and the rising edge and falling edge time requirements of the USB-PD communication protocol.
[0024] When the switch S1 is closed, the first operational amplifier circuit 001 forms a unit gain operational amplifier, and the first switch S1, the second switch S2 and the third switch S3 are controlled by the BMC signal (Biphase Mark Code). When the BMC signal is at a high level, the first switch S1 is closed, the second switch S2 and the third switch S3 are opened, and the first operational amplifier circuit 001 is a unit gain operational amplifier, clamping the non-inverting input terminal and the inverting input terminal of the first operational amplifier circuit 001.
[0025] The current of the fourth P-type MOS device MP4 in the first operational amplifier circuit 001 charges the first capacitor C1 through the first resistor R1, and the inverting input terminal of the first operational amplifier circuit 001 slowly rises to the VREF voltage. When the BMC signal is at a low level, the first switch S1 is disconnected, the second switch S2 and the third switch S3 are closed, and at this time, the output terminal of the first operational amplifier circuit 001 is directly shorted to GND grounding to prevent affecting the rising edge and falling edge of the BMC code of the next bit, and the first current source I1 discharges the first capacitor C1 through the first resistor R1, and the inverting input terminal of the first operational amplifier circuit 001 is slowly reduced to 0V. A trapezoidal wave that meets the requirements of the USB-PD communication protocol is generated. In addition, the fourth switch S4 and the fifth switch S5 are controlled by the adjustment signal, and the load capacitance of the output terminal of the first operational amplifier circuit 001 is changed by opening and closing the fourth switch S4 and the fifth switch S5, thereby accurately adjusting the rising edge and falling edge of the trapezoidal wave.
[0026] In a preferred embodiment of the present invention, the second operational amplifier circuit 003 includes a common-source common-gate amplifier 031 and a push-pull amplifier 032; the first input terminal of the common-source common-gate amplifier 031 is connected to the third terminal of the slew rate control circuit 002, and the second input terminal of the common-source common-gate amplifier 031 is connected to the input terminal of the port protection circuit 004; the first input terminal of the push-pull amplifier 032 is connected to the first output terminal of the common-source common-gate amplifier 031, the second input terminal of the push-pull amplifier 032 is connected to the second output terminal of the common-source common-gate amplifier 031, and the output terminal of the push-pull amplifier 032 is connected to the input terminal of the port protection circuit 004.
[0027] Specifically, in this embodiment, Figure 3 As shown, a CLASS AB op amp structure is used to enhance the circuit's driving capability to cope with different cable loads. The first stage uses a folded common-source common-gate amplifier, and the second stage uses a push-pull amplifier.
[0028] In a preferred embodiment of the present invention, the common-source common-gate amplifier 031 includes: a third current source, the negative electrode of the third current source is connected to the source of the fifth P-type MOS device and the source of the sixth P-type MOS device, the gate of the fifth P-type MOS device is connected to the third end of the slew rate control circuit, and the gate of the sixth P-type MOS device is connected to the input end of the port protection circuit 004; a seventh P-type MOS device, the source of the seventh P-type MOS device is connected to the positive electrode of the third current source and the source of the eighth P-type MOS device, the drain of the seventh P-type MOS device is connected to the source of the ninth P-type MOS device, and the gate of the seventh P-type MOS device is connected to the gate of the eighth P-type MOS device and the drain of the ninth P-type MOS device; a tenth P-type MOS device, the source of the tenth P-type MOS device is connected to the drain of the eighth P-type MOS device, and the gate of the tenth P-type MOS device is connected to the gate of the ninth P-type MOS device. a gate; an eleventh P-type MOS device, the source of the eleventh P-type MOS device is connected to the drain of the tenth P-type MOS device and the drain of the tenth N-type MOS device, and the drain of the eleventh P-type MOS device is connected to the source of the tenth N-type MOS device and the drain of the ninth N-type MOS device; a sixth N-type MOS device, the drain of the sixth N-type MOS device is connected to the drain of the fifth P-type MOS device and the source of the eighth N-type MOS device, the drain of the eighth N-type MOS device is connected to the drain of the ninth P-type MOS device, and the gate of the eighth N-type MOS device is connected to the gate of the ninth N-type MOS device; a seventh N-type MOS device, the gate of the seventh N-type MOS device is connected to the gate of the sixth N-type MOS device, the source of the seventh N-type MOS device is connected to the source of the sixth N-type MOS device and is grounded, and the drain of the seventh N-type MOS device is connected to the source of the ninth N-type MOS device.
[0029] In a preferred embodiment of the present invention, the push-pull amplifier includes: a twelfth P-type MOS device, the gate of the twelfth P-type MOS device is connected to the first output terminal of the common-source and common-gate amplifier, the drain of the twelfth P-type MOS device is connected to one end of the fifth resistor, the other end of the fifth resistor is connected to the drain of the eleventh N-type MOS device, and the gate of the eleventh N-type MOS device is connected to the second output terminal of the common-source and common-gate amplifier.
[0030] Specifically, the specific circuit structures of the common-source common-gate amplifier 031 and the push-pull amplifier 032 are as follows: Figure 3 shown.
[0031] The folded common-source common-gate amplifier 031 includes a third current source I3, a fifth P-type MOS device MP5, a sixth P-type MOS device MP6, a seventh P-type MOS device MP7, an eighth P-type MOS device MP8, a ninth P-type MOS device MP9, a tenth P-type MOS device MP10, an eleventh P-type MOS device MP11, a sixth N-type MOS device MN6, a seventh N-type MOS device MN7, an eighth N-type MOS device MN8, a ninth N-type MOS device MN9 and a tenth N-type MOS device MN10.
[0032] The push-pull amplifier 032 includes a twelfth P-type MOS device MP112 , an eleventh N-type MOS device MN11 and a fifth resistor R5 .
[0033] The output end of the second operational amplifier circuit 003 is connected to one end of the fifth resistor R5, one end of the fourth capacitor C4, one end of the fifth capacitor C5, and the drain end of the eleventh N-type MOS device MN11. When the CC port output waveform is affected by electromagnetic interference, the output waveform of the second operational amplifier circuit 003 will also be affected, and at the same time, the current of the twelfth P-type MOS device MP112 in the second operational amplifier circuit 003 will fluctuate, the thirteenth P-type MOS device MP13 samples the current of the twelfth P-type MOS device MP112, the twelfth N-type MOS device MN12 and the thirteenth N-type MOS device MN13 form a current mirror, so the current fluctuation of the twelfth P-type MOS device MP12 will be copied to the current fluctuation of the thirteenth N-type MOS device MN13, and by comparing with the fourth current source I4, the gate voltage of the fourteenth P-type MOS device MP14 is changed, thereby changing the gate voltage of the twelfth P-type MOS device MP12, suppressing the current fluctuation of the twelfth P-type MOS device MP12, and reducing the influence of electromagnetic interference on the output waveform.
[0034] In a preferred embodiment of the present invention, the second operational amplifier circuit further includes a first Miller compensation circuit 033 between the common-source common-gate amplifier and the push-pull amplifier, and the first Miller compensation circuit 033 includes: a third resistor, one end of the third resistor is connected to the first input terminal of the push-pull amplifier, the other end of the third resistor is connected to one end of a fourth capacitor, the other end of the fourth capacitor is connected to one end of a fifth capacitor and the output terminal of the push-pull amplifier, the other end of the fifth capacitor is connected to one end of the fourth resistor, and the other end of the fourth resistor is connected to the second input terminal of the push-pull amplifier.
[0035] Specifically, Figure 3 As shown, Miller compensation with zeroing resistor is used between the common source and common gate amplifier and the push-pull amplifier to ensure stable operation of the circuit, which includes a third resistor R3, a fourth resistor R4, a fourth capacitor C4 and a fifth capacitor C5.
[0036] In a preferred embodiment of the present invention, the second operational amplifier circuit 003 also includes a negative feedback loop 034, which includes: a fourth current source, the positive electrode of the fourth current source is connected to the source of the fourteenth P-type MOS device, and the gate of the fourteenth P-type MOS device is connected to the negative electrode of the fourth current source; a thirteenth P-type MOS device, the gate of the thirteenth P-type MOS device is connected to the drain of the fourteenth P-type MOS device and the first input terminal of the push-pull amplifier, the drain of the thirteenth P-type MOS device is connected to the drain and gate of the twelfth N-type MOS device and the gate of the thirteenth N-type MOS device, the source of the thirteenth N-type MOS device and the source of the twelfth N-type MOS device are grounded, and the drain of the thirteenth N-type MOS device is connected to the negative electrode of the fourth current source.
[0037] Specifically, in this embodiment, Figure 3 As shown, a negative feedback loop 034 is introduced to effectively reduce the influence of electromagnetic interference on the communication signal during the USB PD communication process. The negative feedback loop includes a thirteenth P-type MOS device MP13, a fourteenth P-type MOS device MP14, a twelfth N-type MOS device MN12, a thirteenth N-type MOS device MN13, a sixth capacitor C6, a sixth resistor R6 and a fourth current source I4.
[0038] In a preferred embodiment of the present invention, the negative feedback loop 034 also includes a second Miller compensation circuit 035, and the second Miller compensation circuit 035 includes: a sixth capacitor, one end of the sixth capacitor is connected to the drain of the fourteenth P-type MOS device, the other end of the sixth capacitor is connected to one end of the sixth resistor, and the other end of the sixth resistor is connected to the negative electrode of the fourth current source.
[0039] Specifically, in this embodiment, Figure 3 As shown, the sixth capacitor C6 and the sixth resistor R6 form a Miller compensation with a zeroing resistor in a negative feedback loop to stabilize the negative feedback loop.
[0040] In a preferred embodiment of the present invention, the port protection circuit 004 includes: a first N-type MOS device, the source of the first N-type MOS device is connected to the inverting input and output of the second operational amplifier circuit, the drain of the first N-type MOS device is connected to one end of the second resistor, and the other end of the second resistor is connected to the configuration channel port.
[0041] Specifically, in this embodiment, Figure 1 As shown, the port protection circuit 004 includes a first N-type MOS device MN1 and a second resistor R2.
[0042] Among them, the first N-type MOS device MN1 is a high-voltage device, and its source is connected to the output terminal and the inverting input terminal of the second operational amplifier circuit 003. The second resistor R2 is a small resistor, which does not affect the output waveform, but can limit the ESD current of the CC port to protect the internal circuit. The first N-type MOS device MN1 can select different withstand voltage devices according to different withstand voltage requirements and be applied to different usage scenarios.
[0043] The above are only preferred embodiments of the present invention, and are not intended to limit the implementation methods and protection scope of the present invention. Those skilled in the art should be aware that all solutions obtained by equivalent substitutions and obvious changes made using the contents of this specification and illustrations should be included in the protection scope of the present invention.
Claims
1. A transmitter for USB-PD communication, characterized in that: include: A first operational amplifier circuit, wherein a non-phase input terminal of the first operational amplifier circuit receives a reference voltage, an output terminal of the first operational amplifier circuit is connected to a first terminal of a slew rate control circuit, an inverting input terminal of the first operational amplifier circuit is connected to a second terminal of the slew rate control circuit, and the first operational amplifier circuit and the slew rate control circuit are used to generate a trapezoidal wave that meets the requirements of the USB-PD communication protocol; a second operational amplifier circuit, wherein a non-phase input terminal of the second operational amplifier circuit is connected to a third terminal of the slew rate control circuit, an inverting input terminal and an output terminal of the second operational amplifier circuit are connected to an input terminal of a port protection circuit, an output terminal of the port protection circuit is connected to a configuration channel port, the second operational amplifier circuit is used to output a communication signal, and the port protection circuit is used to shield the high voltage on the configuration channel port.
2. The transmitter according to claim 1, characterized in that The first operational amplifier circuit includes a first-stage common-source amplifier and a second-stage common-source amplifier; The first-stage common-source amplifier comprises: a first P-type MOS device, a source of the first P-type MOS device is connected to a source of a second P-type MOS device, the source of the first P-type MOS device is also connected to a negative electrode of a second current source, a gate of the first P-type MOS device receives the reference voltage, and a gate of the second P-type MOS device is connected to a second end of the slew rate control circuit; a third N-type MOS device, a drain of the third N-type MOS device is connected to a drain of the first P-type MOS device and its own gate, a source of the third N-type MOS device is connected to a source of a fourth N-type MOS device and is grounded, and a drain of the fourth N-type MOS device is connected to a drain of the second P-type MOS device and its own gate; the second-stage common-source amplifier The amplifier comprises: a second N-type MOS device, a gate of the second N-type MOS device is connected to the gate of the third N-type MOS device, a drain of the second N-type MOS device is connected to the drain of the third P-type MOS device, the gate of the third P-type MOS device and the gate of the fourth P-type MOS device, a source of the third P-type MOS device and the source of the fourth P-type MOS device are connected to the positive electrode of the second current source; a gate of a fifth N-type MOS device is connected to the gate of the fourth N-type MOS device, a source of the fifth N-type MOS device is connected to the source of the second N-type MOS device and is grounded, and a drain of the fifth N-type MOS device is connected to the drain of the fourth P-type MOS device and to the first end of the slew rate control circuit.
3. The transmitter according to claim 1, characterized in that The slew rate control circuit includes: a first switch, one end of the first switch is connected to one end of the second switch and the output end of the first operational amplifier circuit, the other end of the first switch is respectively connected to the inverting input end of the first operational amplifier circuit, one end of the first resistor and one end of the third switch, and the other end of the second switch is grounded; a first current source, the positive electrode of the first current source is connected to the other end of the third switch, and the negative electrode of the first current source is grounded; a first capacitor, one end of the first capacitor is connected to the other end of the first resistor, one end of the fourth switch, one end of the fifth switch and the non-inverting input end of the second operational amplifier circuit, the other end of the fourth switch is connected to one end of the second capacitor, the other end of the fifth switch is connected to one end of the third capacitor, and the other ends of the first capacitor, the second capacitor and the third capacitor are grounded.
4. The transmitter according to claim 1, characterized in that The second operational amplifier circuit includes a common-source common-gate amplifier and a push-pull amplifier; the first input end of the common-source common-gate amplifier is connected to the third end of the slew rate control circuit, and the second input end of the common-source common-gate amplifier is connected to the input end of the port protection circuit; the first input end of the push-pull amplifier is connected to the first output end of the common-source common-gate amplifier, the second input end of the push-pull amplifier is connected to the second output end of the common-source common-gate amplifier, and the output end of the push-pull amplifier is connected to the input end of the port protection circuit.
5. The transmitter according to claim 4, characterized in that The common-source common-gate amplifier includes: a third current source, a negative electrode of the third current source is connected to a source of a fifth P-type MOS device and a source of a sixth P-type MOS device, a gate of the fifth P-type MOS device is connected to a third terminal of the slew rate control circuit, and a gate of the sixth P-type MOS device is connected to an input terminal of the port protection circuit; a seventh P-type MOS device, a source of the seventh P-type MOS device is connected to a positive electrode of the third current source and a source of an eighth P-type MOS device, a drain of the seventh P-type MOS device is connected to a source of a ninth P-type MOS device, and a gate of the seventh P-type MOS device is connected to a gate of the eighth P-type MOS device and a drain of the ninth P-type MOS device; a tenth P-type MOS device, a source of the tenth P-type MOS device is connected to a drain of the eighth P-type MOS device, and a gate of the tenth P-type MOS device is connected to a gate of the ninth P-type MOS device; an eleventh P-type MOS device S device, the source of the eleventh P-type MOS device is connected to the drain of the tenth P-type MOS device and the drain of the tenth N-type MOS device, and the drain of the eleventh P-type MOS device is connected to the source of the tenth N-type MOS device and the drain of the ninth N-type MOS device; a sixth N-type MOS device, the drain of the sixth N-type MOS device is connected to the drain of the fifth P-type MOS device and the source of the eighth N-type MOS device, the drain of the eighth N-type MOS device is connected to the drain of the ninth P-type MOS device, and the gate of the eighth N-type MOS device is connected to the gate of the ninth N-type MOS device; a seventh N-type MOS device, the gate of the seventh N-type MOS device is connected to the gate of the sixth N-type MOS device, the source of the seventh N-type MOS device is connected to the source of the sixth N-type MOS device and grounded, and the drain of the seventh N-type MOS device is connected to the source of the ninth N-type MOS device.
6. The transmitter according to claim 4, characterized in that The push-pull amplifier includes: a twelfth P-type MOS device, a gate of the twelfth P-type MOS device is connected to the first output end of the common-source common-gate amplifier, a drain of the twelfth P-type MOS device is connected to one end of a fifth resistor, the other end of the fifth resistor is connected to the drain of an eleventh N-type MOS device, and a gate of the eleventh N-type MOS device is connected to the second output end of the common-source common-gate amplifier.
7. The transmitter according to claim 4, characterized in that The second operational amplifier circuit also includes a first Miller compensation circuit between the common-source common-gate amplifier and the push-pull amplifier, and the first Miller compensation circuit includes: a third resistor, one end of the third resistor is connected to the first input end of the push-pull amplifier, the other end of the third resistor is connected to one end of a fourth capacitor, the other end of the fourth capacitor is connected to one end of a fifth capacitor and the output end of the push-pull amplifier, the other end of the fifth capacitor is connected to one end of the fourth resistor, and the other end of the fourth resistor is connected to the second input end of the push-pull amplifier.
8. The transmitter according to claim 4, characterized in that The second operational amplifier circuit also includes a negative feedback loop, which includes: a fourth current source, the positive electrode of the fourth current source is connected to the source of the fourteenth P-type MOS device, and the gate of the fourteenth P-type MOS device is connected to the negative electrode of the fourth current source; a thirteenth P-type MOS device, the gate of the thirteenth P-type MOS device is connected to the drain of the fourteenth P-type MOS device and the first input terminal of the push-pull amplifier, the drain of the thirteenth P-type MOS device is connected to the drain and gate of the twelfth N-type MOS device and the gate of the thirteenth N-type MOS device, the source of the thirteenth N-type MOS device and the source of the twelfth N-type MOS device are grounded, and the drain of the thirteenth N-type MOS device is connected to the negative electrode of the fourth current source.
9. The transmitter according to claim 8, characterized in that The negative feedback loop also includes a second Miller compensation circuit, which includes: a sixth capacitor, one end of which is connected to the drain of the fourteenth P-type MOS device, the other end of which is connected to one end of a sixth resistor, and the other end of which is connected to the negative electrode of the fourth current source.
10. The transmitter according to claim 1, characterized in that The port protection circuit includes: a first N-type MOS device, a source of the first N-type MOS device is connected to the inverting input terminal and the output terminal of the second operational amplifier circuit, a drain of the first N-type MOS device is connected to one end of a second resistor, and the other end of the second resistor is connected to the configuration channel port.
Citation Information
Patent Citations
A high-gain two-stage operational transconductance amplifier with a cross structure
CN109728786A
Clock signal duty ratio trimming circuit
CN114337607A
Slew rate enhancement circuit and method and operational amplifier
CN115425931A
Operational amplifier circuit with high slew rate
CN209930213U
Differential amplifier circuit and serial transmission circuit
US20200091882A1