Bipolar narrow pulse triangular wave circuit

By designing a bipolar narrow pulse triangle wave circuit including MCU, charge and discharge circuit, comparison circuit, voltage division circuit and follow circuit, the problem of high cost of bipolar triangle wave generation circuit in the prior art is solved, and a narrow pulse triangle wave of 200ns level is realized, reducing costs and improving efficiency.

CN119696551APending Publication Date: 2025-03-25WUHAN CHANGJIN PHOTONICS TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411619335.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-13
Publication Date
2025-03-25

AI Technical Summary

Technical Problem

In the prior art, the bipolar triangular wave generation circuit has a high cost and it is difficult to realize narrow pulse triangular waves.

Method used

A bipolar narrow pulse triangular wave circuit is designed, including MCU, charge and discharge circuit, comparison circuit, voltage divider circuit and follow circuit. Through the combination of these circuits, the conversion of the PWM signal into a bipolar narrow pulse triangular wave is realized.

Benefits of technology

A narrow pulse triangular wave of 200ns level is realized, which reduces the cost of bipolar triangle wave generation circuit and improves the efficiency of the circuit through a combination of soft and hard.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119696551A_ABST
    Figure CN119696551A_ABST
Patent Text Reader

Abstract

The invention provides a bipolar narrow pulse triangular wave circuit, and belongs to the technical field of triangular wave circuits, the bipolar narrow pulse triangular wave circuit comprises an MCU, a charging and discharging circuit, a comparison circuit, a voltage division circuit and a follower circuit, the output end of the MCU is electrically connected with the input end of the charging and discharging circuit, and the MCU is used for obtaining PWM signal frequency pulse width setting information and then performing PWM signal-to-bipolar pulse triangular wave operation; the output end of the charging and discharging circuit is electrically connected with the input end of the comparison circuit and used for converting PWM signals into unipolar triangular waves, the input end of the comparison circuit is further electrically connected with the output end of the voltage division circuit and used for converting the unipolar triangular waves into bipolar triangular waves, and the output end of the comparison circuit is electrically connected with the output end of the follower circuit. The bipolar narrow pulse triangular wave generation circuit is mainly driven through the terminal and the MCU, and the cost of the bipolar narrow pulse triangular wave generation circuit is reduced in a soft and hard combination mode.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of triangle wave circuits, and in particular to a bipolar narrow pulse triangle wave circuit. Background Art

[0002] Currently, almost all triangle wave circuits on the market are implemented by dedicated timer chips or FPGA+high-speed DAC. The waveform generated by the timer chip is continuous and cannot achieve narrow pulses, while the cost of using FPGA+high-speed DAC is too high. Therefore, there is a technical problem of high cost of bipolar triangle wave generating circuits in the prior art. Summary of the invention

[0003] In view of this, it is necessary to provide a bipolar narrow pulse triangle wave circuit to solve the technical problem of high cost of the bipolar triangle wave generating circuit in the prior art.

[0004] In order to solve the above technical problems, the present invention provides a bipolar narrow pulse triangle wave circuit, comprising: MCU, charging and discharging circuit, comparison circuit, voltage divider circuit and follower circuit; The output end of the MCU is electrically connected to the input end of the charge and discharge circuit, and is used to obtain the PWM signal frequency and pulse width setting information and then perform a PWM signal conversion operation into a bipolar pulse triangle wave; The output end of the charge and discharge circuit is electrically connected to the input end of the comparison circuit, and is used to convert the PWM signal into a unipolar triangle wave; The input end of the comparison circuit is also electrically connected to the output end of the voltage divider circuit, and is used to convert the unipolar triangle wave into a bipolar triangle wave; The output end of the comparison circuit is electrically connected to the output end of the follower circuit.

[0005] In a possible implementation, the circuit further includes: An output module, wherein an input end of the output module is electrically connected to an output end of the follower circuit.

[0006] In a possible implementation, the charging and discharging circuit includes: A first resistor, a second resistor, a third resistor, a first capacitor and a first operational amplifier; The inverting input terminal of the first operational amplifier is electrically connected to the first resistor; The positive input terminal of the first operational amplifier is electrically connected to the second resistor; An output terminal of the first operational amplifier is electrically connected to the first capacitor; One end of the third resistor is electrically connected to the inverting input terminal of the first operational amplifier, and the other end of the third resistor is electrically connected to the forward input terminal of the first operational amplifier.

[0007] In a possible implementation, the comparison circuit includes: a fourth resistor, a fifth resistor, a sixth resistor, a seventh resistor and a second operational amplifier; The inverting input terminal of the second operational amplifier is electrically connected to the sixth resistor; A positive input terminal of the second operational amplifier is electrically connected to the fourth resistor and the fifth resistor; One end of the seventh resistor is electrically connected to the inverting input end of the second operational amplifier and the sixth resistor.

[0008] In a possible implementation, the voltage divider circuit includes: A reference voltage module, a first voltage dividing unit and a second voltage dividing unit; The output end of the reference voltage module is electrically connected to the input end of the first voltage dividing unit; The output end of the first voltage dividing unit is electrically connected to the input end of the second voltage dividing unit.

[0009] In a possible implementation, the first voltage dividing unit includes: an eighth resistor and a third operational amplifier; The inverting input terminal of the third operational amplifier is electrically connected to the output terminal of the third operational amplifier; The eighth resistor is electrically connected to the output terminal of the third operational amplifier.

[0010] In a possible implementation, the second voltage dividing unit includes: a ninth resistor and a fourth operational amplifier; an inverting input terminal of the fourth operational amplifier, electrically connected to the output terminal of the fourth operational amplifier; The positive input terminal of the fourth operational amplifier is electrically connected to the ninth resistor.

[0011] In a possible implementation, the follower circuit includes: a tenth resistor, an eleventh resistor and a fifth operational amplifier; The positive input terminal of the fifth operational amplifier is electrically connected to the tenth resistor; an inverting input terminal of the fifth operational amplifier, electrically connected to the output terminal of the fifth operational amplifier; The eleventh resistor is electrically connected to the output terminal of the fifth operational amplifier.

[0012] In a possible implementation, the follower circuit further includes: a second capacitor and a third capacitor; The positive input terminal of the fifth operational amplifier is also electrically connected to the second capacitor and the third capacitor; The second capacitor and the third capacitor are connected in parallel.

[0013] In a possible implementation, the follower circuit further includes: a fourth capacitor and a fifth capacitor; The inverting input terminal of the fifth operational amplifier is also electrically connected to the fourth capacitor and the fifth capacitor; The fourth capacitor and the fifth capacitor are connected in parallel.

[0014] The beneficial effects of the present invention are as follows: the bipolar narrow pulse triangle wave circuit provided by the present invention includes: an MCU, a charge and discharge circuit, a comparison circuit, a voltage divider circuit and a follower circuit; the output end of the MCU is electrically connected to the input end of the charge and discharge circuit, and is used to obtain the PWM signal frequency and pulse width setting information and then perform a PWM signal to bipolar pulse triangle wave operation; the output end of the charge and discharge circuit is electrically connected to the input end of the comparison circuit, and is used to convert the PWM signal into a unipolar triangle wave; the input end of the comparison circuit is also electrically connected to the output end of the voltage divider circuit, and is used to convert the unipolar triangle wave into a bipolar triangle wave; the output end of the comparison circuit is electrically connected to the output end of the follower circuit. The present application proposes a bipolar narrow pulse triangle wave circuit, and the circuit includes: an MCU, which receives external input PWM signal frequency and pulse width setting information through a terminal, and an MCU, which is used to receive the PWM signal frequency and pulse width setting information and then perform a PWM signal to bipolar pulse triangle wave operation, so that the MCU drives the bipolar narrow pulse triangle wave generating circuit to achieve a 200ns level narrow pulse. The present application mainly drives a bipolar narrow pulse triangle wave generating circuit through a terminal and an MCU, and reduces the cost of the bipolar triangle wave generating circuit through a combination of soft and hard methods. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0016] Figure 1 A schematic diagram of the structure of an embodiment of a bipolar narrow pulse triangle wave circuit provided by the present invention; Figure 2 A circuit diagram of an embodiment of a bipolar narrow pulse triangle wave circuit provided by the present invention. DETAILED DESCRIPTION

[0017] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0018] In the description of the embodiments of the present application, unless otherwise specified, “plurality” means two or more than two.

[0019] The terms "including" and "having" and any variations thereof in the embodiments of the present invention are intended to cover non-exclusive inclusions. For example, a process, method, apparatus, product or equipment comprising a series of steps or modules is not necessarily limited to those steps or modules clearly listed, but may include other steps or modules not clearly listed or inherent to these processes, methods, products or equipment.

[0020] The naming or numbering of the steps in the embodiments of the present invention does not mean that the steps in the method flow must be executed in the time / logical sequence indicated by the naming or numbering. The execution order of the named or numbered process steps can be changed according to the technical purpose to be achieved, as long as the same or similar technical effects can be achieved.

[0021] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0022] The present invention provides a bipolar narrow pulse triangle wave circuit, which is described below.

[0023] Figure 1 A schematic diagram of an embodiment of a bipolar narrow pulse triangle wave circuit provided by the present invention and Figure 2 A circuit diagram of an embodiment of a bipolar narrow pulse triangular wave circuit provided by the present invention, the circuit includes terminals electrically connected to each other and a bipolar narrow pulse triangular wave generating circuit: MCU101, charging and discharging circuit 102, comparison circuit 103, voltage dividing circuit 104 and follower circuit 105; The output terminal of the MCU 101 is electrically connected to the input terminal of the charge and discharge circuit 102, and is used to obtain the PWM signal frequency and pulse width setting information and then perform a PWM signal conversion operation into a bipolar pulse triangle wave; The output terminal of the charge and discharge circuit 102 is electrically connected to the input terminal of the comparison circuit 103, and is used to convert the PWM signal into a unipolar triangle wave; The input end of the comparison circuit 103 is also electrically connected to the output end of the voltage divider circuit 104, and is used to convert the unipolar triangle wave into a bipolar triangle wave; The output terminal of the comparison circuit 103 is electrically connected to the output terminal of the follower circuit 105 .

[0024] It can be understood that the PWM1 signal is a low-frequency pulse TTL signal output by the microcontroller MCU101; A high-speed operational amplifier OPA830IDBVR is selected, and a common-phase amplifier circuit 101 composed of U1, R1, R2 and R3 is used to set the pulse PWM amplitude parameter output by the amplified single-chip microcomputer; the common-phase amplifier circuit and C1 form a charge-discharge circuit 102, which realizes the conversion Ut of PWM voltage to triangle wave; The reference power chip U22 provides a reference voltage Uref and R8, U3, R9, and U4 form a voltage divider circuit 104, which is provided to the comparison circuit 103 composed of U2. The output voltage of U4 is Uref*(R9 / R9+R8). The voltage can be set according to the resistance values ​​of R8 and R9. U2, R4, R5, R6 and R7 form a comparison circuit 103, and the output voltage of U2 is Ut-Uref*(R9 / R9+R8), thus realizing the conversion of unipolar triangle wave to bipolar triangle wave; U5, R10 and R11 form a follower circuit 105, which is used to improve the driving ability of U2. R10 has no practical significance for input current limiting. Since the output of U5 is low impedance, R11 is an output impedance matching circuit, which matches the input of the next stage by setting a resistance value; C1, C2, C3, C4 and C5 are the filter decoupling capacitors of the op amp, which are mainly used to filter out the ripple and high-frequency noise of the power supply to the op amp to ensure the working stability of the op amp; PWM1 is a 10k 200ns pulse signal set by the microcontroller.

[0025] In some embodiments of the present invention, the circuit further comprises: An output module, wherein an input terminal of the output module is electrically connected to an output terminal of the follower circuit 105 .

[0026] It can be understood that the bipolar narrow pulse triangle wave circuit includes: MCU101, charging and discharging circuit 102, comparison circuit 103, voltage dividing circuit 104 and follower circuit 105; The output terminal of the MCU 101 is electrically connected to the input terminal of the charge and discharge circuit 102, and is used to obtain the PWM signal frequency and pulse width setting information and then perform a PWM signal conversion operation into a bipolar pulse triangle wave; The output terminal of the charge and discharge circuit 102 is electrically connected to the input terminal of the comparison circuit 103, and is used to convert the PWM signal into a unipolar triangle wave; The input end of the comparison circuit 103 is also electrically connected to the output end of the voltage divider circuit 104, and is used to convert the unipolar triangle wave into a bipolar triangle wave; The output terminal of the comparison circuit 103 is electrically connected to the output terminal of the follower circuit 105 .

[0027] It can be further understood that the PWM1 signal is a low-frequency pulse TTL signal output by the microcontroller MCU101; A high-speed operational amplifier OPA830IDBVR is selected, and a common-phase amplifier circuit 101 composed of U1, R1, R2 and R3 is used to set the pulse PWM amplitude parameter output by the amplified single-chip microcomputer; the common-phase amplifier circuit and C1 form a charge-discharge circuit 102, which realizes the conversion Ut of PWM voltage to triangle wave; The reference power chip U22 provides a reference voltage Uref and R8, U3, R9, and U4 form a voltage divider circuit 104, which is provided to the comparison circuit 103 composed of U2. The output voltage of U4 is Uref*(R9 / R9+R8). The voltage can be set according to the resistance values ​​of R8 and R9. U2, R4, R5, R6 and R7 form a comparison circuit 103, and the output voltage of U2 is Ut-Uref*(R9 / R9+R8), thus realizing the conversion of unipolar triangle wave to bipolar triangle wave; U5, R10 and R11 form a follower circuit 105, which is used to improve the driving ability of U2. R10 has no practical significance for input current limiting. Since the output of U5 is low impedance, R11 is an output impedance matching circuit, which matches the input of the next stage by setting a resistance value; C1, C2, C3, C4 and C5 are the filter decoupling capacitors of the op amp, which are mainly used to filter out the ripple and high-frequency noise of the power supply to the op amp to ensure the working stability of the op amp; PWM1 is a 10k 200ns pulse signal set by the microcontroller.

[0028] In some embodiments of the present invention, the charge and discharge circuit 102 includes: A first resistor, a second resistor, a third resistor, a first capacitor and a first operational amplifier; The inverting input terminal of the first operational amplifier is electrically connected to the first resistor; The positive input terminal of the first operational amplifier is electrically connected to the second resistor; An output terminal of the first operational amplifier is electrically connected to the first capacitor; One end of the third resistor is electrically connected to the inverting input terminal of the first operational amplifier, and the other end of the third resistor is electrically connected to the forward input terminal of the first operational amplifier.

[0029] It can be understood that the bipolar narrow pulse triangle wave circuit includes: MCU101, charging and discharging circuit 102, comparison circuit 103, voltage dividing circuit 104 and follower circuit 105; The output terminal of the MCU 101 is electrically connected to the input terminal of the charge and discharge circuit 102, and is used to obtain the PWM signal frequency and pulse width setting information and then perform a PWM signal conversion operation into a bipolar pulse triangle wave; The output terminal of the charge and discharge circuit 102 is electrically connected to the input terminal of the comparison circuit 103, and is used to convert the PWM signal into a unipolar triangle wave; The input end of the comparison circuit 103 is also electrically connected to the output end of the voltage divider circuit 104, and is used to convert the unipolar triangle wave into a bipolar triangle wave; The output terminal of the comparison circuit 103 is electrically connected to the output terminal of the follower circuit 105 .

[0030] It can be further understood that the PWM1 signal is a low-frequency pulse TTL signal output by the microcontroller MCU101; A high-speed operational amplifier OPA830IDBVR is selected, and a common-phase amplifier circuit 101 composed of U1, R1, R2 and R3 is used to set the pulse PWM amplitude parameter output by the amplified single-chip microcomputer; the common-phase amplifier circuit and C1 form a charge-discharge circuit 102, which realizes the conversion Ut of PWM voltage to triangle wave; The reference power chip U22 provides a reference voltage Uref and R8, U3, R9, and U4 form a voltage divider circuit 104, which is provided to the comparison circuit 103 composed of U2. The output voltage of U4 is Uref*(R9 / R9+R8). The voltage can be set according to the resistance values ​​of R8 and R9. U2, R4, R5, R6 and R7 form a comparison circuit 103, and the output voltage of U2 is Ut-Uref*(R9 / R9+R8), thus realizing the conversion of unipolar triangle wave to bipolar triangle wave; U5, R10 and R11 form a follower circuit 105, which is used to improve the driving ability of U2. R10 has no practical significance for input current limiting. Since the output of U5 is low impedance, R11 is an output impedance matching circuit, which matches the input of the next stage by setting a resistance value; C1, C2, C3, C4 and C5 are the filter decoupling capacitors of the op amp, which are mainly used to filter out the ripple and high-frequency noise of the power supply to the op amp to ensure the working stability of the op amp; PWM1 is a 10k 200ns pulse signal set by the microcontroller.

[0031] In some embodiments of the present invention, the comparison circuit 103 includes: a fourth resistor, a fifth resistor, a sixth resistor, a seventh resistor and a second operational amplifier; The inverting input terminal of the second operational amplifier is electrically connected to the sixth resistor; A positive input terminal of the second operational amplifier is electrically connected to the fourth resistor and the fifth resistor; One end of the seventh resistor is electrically connected to the inverting input end of the second operational amplifier and the sixth resistor.

[0032] It can be understood that the bipolar narrow pulse triangle wave circuit includes: MCU101, charging and discharging circuit 102, comparison circuit 103, voltage dividing circuit 104 and follower circuit 105; The output terminal of the MCU 101 is electrically connected to the input terminal of the charge and discharge circuit 102, and is used to obtain the PWM signal frequency and pulse width setting information and then perform a PWM signal conversion operation into a bipolar pulse triangle wave; The output terminal of the charge and discharge circuit 102 is electrically connected to the input terminal of the comparison circuit 103, and is used to convert the PWM signal into a unipolar triangle wave; The input end of the comparison circuit 103 is also electrically connected to the output end of the voltage divider circuit 104, and is used to convert the unipolar triangle wave into a bipolar triangle wave; The output terminal of the comparison circuit 103 is electrically connected to the output terminal of the follower circuit 105 .

[0033] It can be further understood that the PWM1 signal is a low-frequency pulse TTL signal output by the microcontroller MCU101; A high-speed operational amplifier OPA830IDBVR is selected, and a common-phase amplifier circuit 101 composed of U1, R1, R2 and R3 is used to set the pulse PWM amplitude parameter output by the amplified single-chip microcomputer; the common-phase amplifier circuit and C1 form a charge-discharge circuit 102, which realizes the conversion Ut of PWM voltage to triangle wave; The reference power chip U22 provides a reference voltage Uref and R8, U3, R9, and U4 form a voltage divider circuit 104, which is provided to the comparison circuit 103 composed of U2. The output voltage of U4 is Uref*(R9 / R9+R8). The voltage can be set according to the resistance values ​​of R8 and R9. U2, R4, R5, R6 and R7 form a comparison circuit 103, and the output voltage of U2 is Ut-Uref*(R9 / R9+R8), thus realizing the conversion of unipolar triangle wave to bipolar triangle wave; U5, R10 and R11 form a follower circuit 105, which is used to improve the driving ability of U2. R10 has no practical significance for input current limiting. Since the output of U5 is low impedance, R11 is an output impedance matching circuit, which matches the input of the next stage by setting a resistance value; C1, C2, C3, C4 and C5 are the filter decoupling capacitors of the op amp, which are mainly used to filter out the ripple and high-frequency noise of the power supply to the op amp to ensure the working stability of the op amp; PWM1 is a 10k 200ns pulse signal set by the microcontroller.

[0034] In some embodiments of the present invention, the voltage divider circuit 104 includes: A reference voltage module, a first voltage dividing unit and a second voltage dividing unit; The output end of the reference voltage module is electrically connected to the input end of the first voltage dividing unit; The output end of the first voltage dividing unit is electrically connected to the input end of the second voltage dividing unit.

[0035] It can be understood that the bipolar narrow pulse triangle wave circuit includes: MCU101, charging and discharging circuit 102, comparison circuit 103, voltage dividing circuit 104 and follower circuit 105; The output terminal of the MCU 101 is electrically connected to the input terminal of the charge and discharge circuit 102, and is used to obtain the PWM signal frequency and pulse width setting information and then perform a PWM signal conversion operation into a bipolar pulse triangle wave; The output terminal of the charge and discharge circuit 102 is electrically connected to the input terminal of the comparison circuit 103, and is used to convert the PWM signal into a unipolar triangle wave; The input end of the comparison circuit 103 is also electrically connected to the output end of the voltage divider circuit 104, and is used to convert the unipolar triangle wave into a bipolar triangle wave; The output terminal of the comparison circuit 103 is electrically connected to the output terminal of the follower circuit 105 .

[0036] It can be further understood that the PWM1 signal is a low-frequency pulse TTL signal output by the microcontroller MCU101; A high-speed operational amplifier OPA830IDBVR is selected, and a common-phase amplifier circuit 101 composed of U1, R1, R2 and R3 is used to set the pulse PWM amplitude parameter output by the amplified single-chip microcomputer; the common-phase amplifier circuit and C1 form a charge-discharge circuit 102, which realizes the conversion Ut of PWM voltage to triangle wave; The reference power chip U22 provides a reference voltage Uref and R8, U3, R9, and U4 form a voltage divider circuit 104, which is provided to the comparison circuit 103 composed of U2. The output voltage of U4 is Uref*(R9 / R9+R8). The voltage can be set according to the resistance values ​​of R8 and R9. U2, R4, R5, R6 and R7 form a comparison circuit 103, and the output voltage of U2 is Ut-Uref*(R9 / R9+R8), thus realizing the conversion of unipolar triangle wave to bipolar triangle wave; U5, R10 and R11 form a follower circuit 105, which is used to improve the driving ability of U2. R10 has no practical significance for input current limiting. Since the output of U5 is low impedance, R11 is an output impedance matching circuit, which matches the input of the next stage by setting a resistance value; C1, C2, C3, C4 and C5 are the filter decoupling capacitors of the op amp, which are mainly used to filter out the ripple and high-frequency noise of the power supply to the op amp to ensure the working stability of the op amp; PWM1 is a 10k 200ns pulse signal set by the microcontroller.

[0037] In some embodiments of the present invention, the first voltage dividing unit includes: an eighth resistor and a third operational amplifier; The inverting input terminal of the third operational amplifier is electrically connected to the output terminal of the third operational amplifier; The eighth resistor is electrically connected to the output terminal of the third operational amplifier.

[0038] It can be understood that the bipolar narrow pulse triangle wave circuit includes: MCU101, charging and discharging circuit 102, comparison circuit 103, voltage dividing circuit 104 and follower circuit 105; The output terminal of the MCU 101 is electrically connected to the input terminal of the charge and discharge circuit 102, and is used to obtain the PWM signal frequency and pulse width setting information and then perform a PWM signal conversion operation into a bipolar pulse triangle wave; The output terminal of the charge and discharge circuit 102 is electrically connected to the input terminal of the comparison circuit 103, and is used to convert the PWM signal into a unipolar triangle wave; The input end of the comparison circuit 103 is also electrically connected to the output end of the voltage divider circuit 104, and is used to convert the unipolar triangle wave into a bipolar triangle wave; The output terminal of the comparison circuit 103 is electrically connected to the output terminal of the follower circuit 105 .

[0039] It can be further understood that the PWM1 signal is a low-frequency pulse TTL signal output by the microcontroller MCU101; A high-speed operational amplifier OPA830IDBVR is selected, and a common-phase amplifier circuit 101 composed of U1, R1, R2 and R3 is used to set the pulse PWM amplitude parameter output by the amplified single-chip microcomputer; the common-phase amplifier circuit and C1 form a charge-discharge circuit 102, which realizes the conversion Ut of PWM voltage to triangle wave; The reference power chip U22 provides a reference voltage Uref and R8, U3, R9, and U4 form a voltage divider circuit 104, which is provided to the comparison circuit 103 composed of U2. The output voltage of U4 is Uref*(R9 / R9+R8). The voltage can be set according to the resistance values ​​of R8 and R9. U2, R4, R5, R6 and R7 form a comparison circuit 103, and the output voltage of U2 is Ut-Uref*(R9 / R9+R8), thus realizing the conversion of unipolar triangle wave to bipolar triangle wave; U5, R10 and R11 form a follower circuit 105, which is used to improve the driving ability of U2. R10 has no practical significance for input current limiting. Since the output of U5 is low impedance, R11 is an output impedance matching circuit, which matches the input of the next stage by setting a resistance value; C1, C2, C3, C4 and C5 are the filter decoupling capacitors of the op amp, which are mainly used to filter out the ripple and high-frequency noise of the power supply to the op amp to ensure the working stability of the op amp; PWM1 is a 10k 200ns pulse signal set by the microcontroller.

[0040] In some embodiments of the present invention, the second voltage dividing unit includes: a ninth resistor and a fourth operational amplifier; an inverting input terminal of the fourth operational amplifier, electrically connected to the output terminal of the fourth operational amplifier; The positive input terminal of the fourth operational amplifier is electrically connected to the ninth resistor.

[0041] It can be understood that the bipolar narrow pulse triangle wave circuit includes: MCU101, charging and discharging circuit 102, comparison circuit 103, voltage dividing circuit 104 and follower circuit 105; The output terminal of the MCU 101 is electrically connected to the input terminal of the charge and discharge circuit 102, and is used to obtain the PWM signal frequency and pulse width setting information and then perform a PWM signal conversion operation into a bipolar pulse triangle wave; The output terminal of the charge and discharge circuit 102 is electrically connected to the input terminal of the comparison circuit 103, and is used to convert the PWM signal into a unipolar triangle wave; The input end of the comparison circuit 103 is also electrically connected to the output end of the voltage divider circuit 104, and is used to convert the unipolar triangle wave into a bipolar triangle wave; The output terminal of the comparison circuit 103 is electrically connected to the output terminal of the follower circuit 105 .

[0042] It can be further understood that the PWM1 signal is a low-frequency pulse TTL signal output by the microcontroller MCU101; A high-speed operational amplifier OPA830IDBVR is selected, and a common-phase amplifier circuit 101 composed of U1, R1, R2 and R3 is used to set the pulse PWM amplitude parameter output by the amplified single-chip microcomputer; the common-phase amplifier circuit and C1 form a charge-discharge circuit 102, which realizes the conversion Ut of PWM voltage to triangle wave; The reference power chip U22 provides a reference voltage Uref and R8, U3, R9, and U4 form a voltage divider circuit 104, which is provided to the comparison circuit 103 composed of U2. The output voltage of U4 is Uref*(R9 / R9+R8). The voltage can be set according to the resistance values ​​of R8 and R9. U2, R4, R5, R6 and R7 form a comparison circuit 103, and the output voltage of U2 is Ut-Uref*(R9 / R9+R8), thus realizing the conversion of unipolar triangle wave to bipolar triangle wave; U5, R10 and R11 form a follower circuit 105, which is used to improve the driving ability of U2. R10 has no practical significance for input current limiting. Since the output of U5 is low impedance, R11 is an output impedance matching circuit, which matches the input of the next stage by setting a resistance value; C1, C2, C3, C4 and C5 are the filter decoupling capacitors of the op amp, which are mainly used to filter out the ripple and high-frequency noise of the power supply to the op amp to ensure the working stability of the op amp; PWM1 is a 10k 200ns pulse signal set by the microcontroller. In some embodiments of the present invention, The follower circuit 105 comprises: a tenth resistor, an eleventh resistor and a fifth operational amplifier; The positive input terminal of the fifth operational amplifier is electrically connected to the tenth resistor; an inverting input terminal of the fifth operational amplifier, electrically connected to the output terminal of the fifth operational amplifier; The eleventh resistor is electrically connected to the output terminal of the fifth operational amplifier.

[0043] It can be understood that the bipolar narrow pulse triangle wave circuit includes: MCU101, charging and discharging circuit 102, comparison circuit 103, voltage dividing circuit 104 and follower circuit 105; The output terminal of the MCU 101 is electrically connected to the input terminal of the charge and discharge circuit 102, and is used to obtain the PWM signal frequency and pulse width setting information and then perform a PWM signal conversion operation into a bipolar pulse triangle wave; The output terminal of the charge and discharge circuit 102 is electrically connected to the input terminal of the comparison circuit 103, and is used to convert the PWM signal into a unipolar triangle wave; The input end of the comparison circuit 103 is also electrically connected to the output end of the voltage divider circuit 104, and is used to convert the unipolar triangle wave into a bipolar triangle wave; The output terminal of the comparison circuit 103 is electrically connected to the output terminal of the follower circuit 105 .

[0044] It can be further understood that the PWM1 signal is a low-frequency pulse TTL signal output by the microcontroller MCU101; A high-speed operational amplifier OPA830IDBVR is selected, and a common-phase amplifier circuit 101 composed of U1, R1, R2 and R3 is used to set the pulse PWM amplitude parameter output by the amplified single-chip microcomputer; the common-phase amplifier circuit and C1 form a charge-discharge circuit 102, which realizes the conversion Ut of PWM voltage to triangle wave; The reference power chip U22 provides a reference voltage Uref and R8, U3, R9, and U4 form a voltage divider circuit 104, which is provided to the comparison circuit 103 composed of U2. The output voltage of U4 is Uref*(R9 / R9+R8). The voltage can be set according to the resistance values ​​of R8 and R9. U2, R4, R5, R6 and R7 form a comparison circuit 103, and the output voltage of U2 is Ut-Uref*(R9 / R9+R8), thus realizing the conversion of unipolar triangle wave to bipolar triangle wave; U5, R10 and R11 form a follower circuit 105, which is used to improve the driving ability of U2. R10 has no practical significance for input current limiting. Since the output of U5 is low impedance, R11 is an output impedance matching circuit, which matches the input of the next stage by setting a resistance value; C1, C2, C3, C4 and C5 are the filter decoupling capacitors of the op amp, which are mainly used to filter out the ripple and high-frequency noise of the power supply to the op amp to ensure the working stability of the op amp; PWM1 is a 10k 200ns pulse signal set by the microcontroller.

[0045] In some embodiments of the present invention, the follower circuit 105 further includes: a second capacitor and a third capacitor; The positive input terminal of the fifth operational amplifier is also electrically connected to the second capacitor and the third capacitor; The second capacitor and the third capacitor are connected in parallel.

[0046] It can be understood that the bipolar narrow pulse triangle wave circuit includes: MCU101, charging and discharging circuit 102, comparison circuit 103, voltage dividing circuit 104 and follower circuit 105; The output terminal of the MCU 101 is electrically connected to the input terminal of the charge and discharge circuit 102, and is used to obtain the PWM signal frequency and pulse width setting information and then perform a PWM signal conversion operation into a bipolar pulse triangle wave; The output terminal of the charge and discharge circuit 102 is electrically connected to the input terminal of the comparison circuit 103, and is used to convert the PWM signal into a unipolar triangle wave; The input end of the comparison circuit 103 is also electrically connected to the output end of the voltage divider circuit 104, and is used to convert the unipolar triangle wave into a bipolar triangle wave; The output terminal of the comparison circuit 103 is electrically connected to the output terminal of the follower circuit 105 .

[0047] It can be further understood that the PWM1 signal is a low-frequency pulse TTL signal output by the microcontroller MCU101; A high-speed operational amplifier OPA830IDBVR is selected, and a common-phase amplifier circuit 101 composed of U1, R1, R2 and R3 is used to set the pulse PWM amplitude parameter output by the amplified single-chip microcomputer; the common-phase amplifier circuit and C1 form a charge-discharge circuit 102, which realizes the conversion Ut of PWM voltage to triangle wave; The reference power chip U22 provides a reference voltage Uref and R8, U3, R9, and U4 form a voltage divider circuit 104, which is provided to the comparison circuit 103 composed of U2. The output voltage of U4 is Uref*(R9 / R9+R8). The voltage can be set according to the resistance values ​​of R8 and R9. U2, R4, R5, R6 and R7 form a comparison circuit 103, and the output voltage of U2 is Ut-Uref*(R9 / R9+R8), thus realizing the conversion of unipolar triangle wave to bipolar triangle wave; U5, R10 and R11 form a follower circuit 105, which is used to improve the driving ability of U2. R10 has no practical significance for input current limiting. Since the output of U5 is low impedance, R11 is an output impedance matching circuit, which matches the input of the next stage by setting a resistance value; C1, C2, C3, C4 and C5 are the filter decoupling capacitors of the op amp, which are mainly used to filter out the ripple and high-frequency noise of the power supply to the op amp to ensure the working stability of the op amp; PWM1 is a 10k 200ns pulse signal set by the microcontroller.

[0048] In some embodiments of the present invention, the follower circuit 105 further includes: a fourth capacitor and a fifth capacitor; The inverting input terminal of the fifth operational amplifier is also electrically connected to the fourth capacitor and the fifth capacitor; The fourth capacitor and the fifth capacitor are connected in parallel.

[0049] It can be understood that the bipolar narrow pulse triangle wave circuit includes: MCU101, charging and discharging circuit 102, comparison circuit 103, voltage dividing circuit 104 and follower circuit 105; The output terminal of the MCU 101 is electrically connected to the input terminal of the charge and discharge circuit 102, and is used to obtain the PWM signal frequency and pulse width setting information and then perform a PWM signal conversion operation into a bipolar pulse triangle wave; The output terminal of the charge and discharge circuit 102 is electrically connected to the input terminal of the comparison circuit 103, and is used to convert the PWM signal into a unipolar triangle wave; The input end of the comparison circuit 103 is also electrically connected to the output end of the voltage divider circuit 104, and is used to convert the unipolar triangle wave into a bipolar triangle wave; The output terminal of the comparison circuit 103 is electrically connected to the output terminal of the follower circuit 105 .

[0050] It can be further understood that the PWM1 signal is a low-frequency pulse TTL signal output by the microcontroller MCU101; A high-speed operational amplifier OPA830IDBVR is selected, and a common-phase amplifier circuit 101 composed of U1, R1, R2 and R3 is used to set the pulse PWM amplitude parameter output by the amplified single-chip microcomputer; the common-phase amplifier circuit and C1 form a charge-discharge circuit 102, which realizes the conversion Ut of PWM voltage to triangle wave; The reference power chip U22 provides a reference voltage Uref and R8, U3, R9, and U4 form a voltage divider circuit 104, which is provided to the comparison circuit 103 composed of U2. The output voltage of U4 is Uref*(R9 / R9+R8). The voltage can be set according to the resistance values ​​of R8 and R9. U2, R4, R5, R6 and R7 form a comparison circuit 103, and the output voltage of U2 is Ut-Uref*(R9 / R9+R8), thus realizing the conversion of unipolar triangle wave to bipolar triangle wave; U5, R10 and R11 form a follower circuit 105, which is used to improve the driving ability of U2. R10 has no practical significance for input current limiting. Since the output of U5 is low impedance, R11 is an output impedance matching circuit, which matches the input of the next stage by setting a resistance value; C1, C2, C3, C4 and C5 are the filter decoupling capacitors of the op amp, which are mainly used to filter out the ripple and high-frequency noise of the power supply to the op amp to ensure the working stability of the op amp; PWM1 is a 10k 200ns pulse signal set by the microcontroller.

[0051] The bipolar narrow pulse triangle wave circuit provided by the present invention is introduced in detail above. Specific examples are used in this article to illustrate the principle and implementation mode of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation mode and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A bipolar narrow pulse triangle wave circuit, characterized in that: include: MCU, charging and discharging circuit, comparison circuit, voltage divider circuit and follower circuit; The output end of the MCU is electrically connected to the input end of the charge and discharge circuit, and is used to obtain the PWM signal frequency and pulse width setting information and then perform a PWM signal conversion operation into a bipolar pulse triangle wave; The output end of the charge and discharge circuit is electrically connected to the input end of the comparison circuit, and is used to convert the PWM signal into a unipolar triangle wave; The input end of the comparison circuit is also electrically connected to the output end of the voltage divider circuit, and is used to convert the unipolar triangle wave into a bipolar triangle wave; The output end of the comparison circuit is electrically connected to the output end of the follower circuit.

2. The bipolar narrow pulse triangle wave circuit according to claim 1, characterized in that: The circuit further comprises: An output module, wherein an input end of the output module is electrically connected to an output end of the follower circuit.

3. The bipolar narrow pulse triangle wave circuit according to claim 1, characterized in that: The charging and discharging circuit comprises: A first resistor, a second resistor, a third resistor, a first capacitor and a first operational amplifier; The inverting input terminal of the first operational amplifier is electrically connected to the first resistor; The positive input terminal of the first operational amplifier is electrically connected to the second resistor; An output terminal of the first operational amplifier is electrically connected to the first capacitor; One end of the third resistor is electrically connected to the inverting input terminal of the first operational amplifier, and the other end of the third resistor is electrically connected to the forward input terminal of the first operational amplifier.

4. The bipolar narrow pulse triangle wave circuit according to claim 1, characterized in that: The comparison circuit comprises: a fourth resistor, a fifth resistor, a sixth resistor, a seventh resistor and a second operational amplifier; The inverting input terminal of the second operational amplifier is electrically connected to the sixth resistor; A positive input terminal of the second operational amplifier is electrically connected to the fourth resistor and the fifth resistor; One end of the seventh resistor is electrically connected to the inverting input end of the second operational amplifier and the sixth resistor.

5. The bipolar narrow pulse triangle wave circuit according to claim 1, characterized in that: The voltage divider circuit comprises: A reference voltage module, a first voltage dividing unit and a second voltage dividing unit; The output end of the reference voltage module is electrically connected to the input end of the first voltage dividing unit; The output end of the first voltage dividing unit is electrically connected to the input end of the second voltage dividing unit.

6. The bipolar narrow pulse triangle wave circuit according to claim 5, characterized in that: The first voltage dividing unit comprises: an eighth resistor and a third operational amplifier; The inverting input terminal of the third operational amplifier is electrically connected to the output terminal of the third operational amplifier; The eighth resistor is electrically connected to the output terminal of the third operational amplifier.

7. The bipolar narrow pulse triangle wave circuit according to claim 5, characterized in that: The second voltage dividing unit comprises: a ninth resistor and a fourth operational amplifier; an inverting input terminal of the fourth operational amplifier, electrically connected to the output terminal of the fourth operational amplifier; The positive input terminal of the fourth operational amplifier is electrically connected to the ninth resistor.

8. The bipolar narrow pulse triangle wave circuit according to claim 1, characterized in that: The follower circuit comprises: a tenth resistor, an eleventh resistor and a fifth operational amplifier; The positive input terminal of the fifth operational amplifier is electrically connected to the tenth resistor; an inverting input terminal of the fifth operational amplifier, electrically connected to the output terminal of the fifth operational amplifier; The eleventh resistor is electrically connected to the output terminal of the fifth operational amplifier.

9. The bipolar narrow pulse triangle wave circuit according to claim 8, characterized in that: The follower circuit further includes: a second capacitor and a third capacitor; The positive input terminal of the fifth operational amplifier is also electrically connected to the second capacitor and the third capacitor; The second capacitor and the third capacitor are connected in parallel.

10. The bipolar narrow pulse triangle wave circuit according to claim 9, characterized in that: The follower circuit further includes: a fourth capacitor and a fifth capacitor; The inverting input terminal of the fifth operational amplifier is also electrically connected to the fourth capacitor and the fifth capacitor; The fourth capacitor and the fifth capacitor are connected in parallel.