PWM (Pulse Width Modulation) signal generating circuit
By designing a PWM signal generation circuit including triangular wave and chopping processing, and using comparators U1A and U1B to generate PWM signals, the problems of multiple components and high costs caused by microprocessor dependence in the prior art are solved, and the circuit is simple and clean and cost reduction effects.
Patent Information
- Application Number
- CN202323551423.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-26
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2033-12-26
AI Technical Summary
Existing PWM signal generation circuits rely on microprocessors, resulting in many components, high costs, and lack of market competitiveness.
A PWM signal generation circuit including triangular wave generation branch, chopper signal generation branch and pull-up resistor branch was designed. The PWM signal was generated using comparators U1A and U1B, and the triangle wave and chopper were processed through the comparator and adjusted. PWM pulse width.
It has achieved the use of fewer components, simple circuits, reduced costs, and generated stable PWM signals. It is suitable for all kinds of electronic circuits, improving product competitiveness.
Smart Images

Figure CN221961810U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of electronic circuits, and more specifically to a PWM signal generating circuit with fewer components, lower cost, more concise and reliable circuit. Background Art
[0002] PWM signal is also called pulse width modulation (PWM) signal. As an effective analog control method that uses digital signals to control analog circuits, it is widely used in many application fields, such as motor control, light source control, switch control and various power control fields.
[0003] PWM can modulate the bias of the transistor base or MOS tube gate according to the change of the corresponding load to change the conduction time of the transistor or MOS tube, thereby changing the output of the switching regulated power supply or constant current source.
[0004] Usually, PWM signals are generated by microprocessors to control fan speed, switching frequency, power, etc. However, microprocessor speed regulation greatly increases product costs and loses market competitive advantages. Utility Model Content
[0005] The utility model aims to use fewer components to generate a stable and reliable PWM signal that can be widely used in various fields, and provides a PWM signal generating circuit.
[0006] The technical solution adopted by the utility model to achieve the above-mentioned purpose is:
[0007] A PWM signal generating circuit comprises a triangular wave generating branch, a chopping signal generating branch and a pull-up resistor branch which are connected in sequence, wherein the chopping signal generating branch comprises a comparator U1B, a resistor R6 and a resistor R7, a negative input end of the comparator U1B is used as an input end of the chopping signal generating branch and is connected to the triangular wave generating branch, a positive input end of the comparator U1B is connected to a reference voltage through the resistor R6, and the positive input end of the comparator U1B is also grounded through the resistor R7, and an output end of the comparator U1B is used as an output end of the chopping signal generating branch and is connected to the pull-up resistor branch.
[0008] The triangular wave generating branch includes a comparator U1A, resistors R1 to R5 and a capacitor C1, wherein:
[0009] The positive input terminal of the comparator U1A is connected to its output terminal through a resistor R3, and the positive input terminal of U1A is connected to its output terminal through resistors R1 and R4 in sequence. The node between resistors R1 and R4 is connected to a reference voltage, and the positive input terminal of U1A is also grounded through a resistor R2. The negative input terminal of U1A is connected to its output terminal through a resistor R5, and the negative input terminal of U1A is also grounded through an integrating capacitor C1. The negative input terminal of U1A is the output terminal of a triangular wave generating branch connected to a chopping signal generating branch.
[0010] The pull-up resistor branch includes a resistor R8, one end of which is connected to a reference voltage, and the other end of which is connected to an output end of a chopping signal generating branch and serves as an output end of the pull-up resistor branch.
[0011] The resistors R1 to R8 are any one of wire wound resistors, carbon composite resistors, carbon film resistors, metal film resistors, and metal oxide film resistors.
[0012] The capacitor C1 is any one of a tantalum capacitor, a ceramic capacitor, and a film capacitor.
[0013] The resistors R1-R4 and R6-R8 are all 10KΩ resistors.
[0014] The resistor R5 is a 20KΩ resistor.
[0015] The capacitor C1 is an integrating capacitor of 220 pF.
[0016] The utility model has the following beneficial effects and advantages:
[0017] 1. The PWM signal generating circuit of the utility model adopts a comparator to chop a triangle wave to generate a PWM signal, which has the same control function as the PWM signal generated by a microprocessor. By adjusting the chopping signal, the PWM pulse width can also be adjusted, and can be widely used in various electronic circuits.
[0018] 2. The utility model uses fewer components, has a simple circuit, reduces costs, and improves product competitiveness. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 The utility model is a block diagram of the triangle wave generation principle.
[0020] Figure 2 The utility model is a schematic diagram of a PWM signal generating circuit.
[0021] Figure 3 The utility model discloses a triangle wave type and a chopping wave signal waveform diagram in a PWM signal generating circuit.
[0022] Figure 4The utility model is a PWM signal waveform diagram outputted from a PWM signal generating circuit. DETAILED DESCRIPTION
[0023] In order to make the above-mentioned purposes, features and advantages of the utility model more obvious and easy to understand, the specific implementation method of the utility model is described in detail below in conjunction with the accompanying drawings. In the following description, many specific details are set forth to facilitate a full understanding of the utility model. However, the utility model can be implemented in many other ways different from those described herein, and those skilled in the art can make similar improvements without violating the connotation of the utility model. Therefore, the utility model is not limited by the specific implementation disclosed below.
[0024] The circuit principle and circuit connection relationship are explained below with reference to the accompanying drawings.
[0025] like Figure 1 and Figure 2 As shown, a PWM signal generating circuit includes a triangle wave generating branch, a chopping signal generating branch, a pull-up resistor branch, and a PWM signal output terminal PWM_OUT;
[0026] The triangular wave generating branch is connected to the negative input terminal of the comparator U1B in the chopping signal generating branch, the triangular wave generated in the triangular wave generating branch is input to the negative input terminal of the comparator U1B, the chopping signal is input to the positive input terminal of the comparator U1B, the chopping signal at the positive input terminal of the comparator U1B is continuously compared with the triangular wave at the negative input terminal, and a PWM signal is output. A pull-up resistor is connected to the output terminal of the comparator U1B to improve the stability of the PWM output signal, and the output terminal of the comparator U1B is connected to the output terminal PWM_OUT of the PWM signal.
[0027] The triangular wave generating branch includes: a comparator U1A and resistors R1, R2, R3, R4, R5 and an integrating capacitor C1; one end of the resistor R1 is connected to a reference voltage of 15V, and the other end is connected to resistors R2 and R3, and is also connected to the positive input end of the comparator U1A, the other end of the resistor R2 is connected to GND, the other end of the resistor R3 is connected to the output end of the comparator U1A, one end of the resistor R4 is connected to the reference voltage 15V, and the other end is connected to resistor R5, and is also connected to the output end of the comparator U1A, the other end of the resistor R5 is connected to the capacitor C1, and is also connected to the negative input end of the comparator U1A, and the other end of the capacitor C1 is connected to GND.
[0028] The chopping signal generating branch includes: a comparator U1B, a resistor R6, and a resistor R7; one end of the resistor R6 is connected to a reference voltage 15V, and the other end is connected to the resistor R7 and is also connected to the positive input end of the comparator U1B; the other end of the resistor R7 is connected to GND.
[0029] The pull-up resistor branch includes: a resistor R8; one end of the resistor R8 is connected to a reference voltage 15V, and the other end is connected to the output end of the comparator U1B.
[0030] The reference voltage to which the resistors R1 , R4 , R6 and R8 are connected is +15V.
[0031] The resistors R1, R2, R3, R4, R5, R6, R7, and R8 are any one of wirewound resistors, carbon composite resistors, carbon film resistors, metal film resistors, and metal oxide film resistors.
[0032] The capacitor C1 is any one of a tantalum capacitor, a ceramic capacitor, and a film capacitor.
[0033] The utility model provides a PWM signal generating circuit, which can stably output PWM waveform, including: a triangle wave generating branch, a chopping signal generating branch, a pull-up resistor branch, and a PWM signal output terminal PWM_OUT;
[0034] After the PWM signal generating circuit is powered, the positive input terminal of the comparator U1A is greater than the negative input terminal, and the comparator output terminal is high. At this time, the resistor R3 and the resistor R1 are connected in parallel, and the voltage at the positive input terminal of the comparator U1A is 2 / 3 of the power supply voltage. At this time, the integral capacitor C1 is charged through the resistor R4 and the resistor R5. As the voltage of the capacitor C1 rises and is greater than 2 / 3 of the power supply voltage, the positive input terminal of the comparator U1A is less than the negative input terminal, and the comparator output terminal changes from high to low. At this time, the resistor R3 and the resistor R2 are connected in parallel, and the voltage at the positive input terminal of the comparator U1A is 1 / 3 of the power supply voltage. At this time, the capacitor C1 is discharged through the resistor R5. As the voltage of the capacitor C1 drops and is less than 1 / 3 of the power supply voltage, the positive input terminal of the comparator U1A is greater than the negative input terminal again, the comparator output voltage changes from low to high, and the capacitor C1 changes from discharging to charging. In this way, the integral capacitor C1 is continuously charged and discharged, and a stable triangular wave waveform can be generated. The triangular waveform is transmitted to the negative input terminal of the comparator U1B, and at the same time, the chopping signal is transmitted to the positive input terminal of the comparator U1B. The triangular wave is continuously chopped in the comparator U1B to output the required PWM waveform.
[0035] A PWM signal generating circuit, the specific circuit connection relationship includes:
[0036] The triangle wave generating branch includes a comparator U1A and resistors R1, R2, R3, R4, R5 and an integrating capacitor C1; one end of the resistor R1 is connected to a reference voltage of 15V, and the other end is connected to resistors R2 and R3, and is also connected to the positive input of the comparator U1A, the other end of the resistor R2 is connected to GND, the other end of the resistor R3 is connected to the output of the comparator U1A, one end of the resistor R4 is connected to the reference voltage of 15V, and the other end is connected to resistor R5, and is also connected to the output of the comparator U1A, the other end of the resistor R5 is connected to the capacitor C1, and is also connected to the negative input of the comparator U1A, and the other end of the capacitor C1 is connected to GND.
[0037] The specifications of resistors R1, R2, R3 and R4 are all 10KΩ, the specification of resistor R5 is 20KΩ, and the specification of capacitor C1 is 220pF.
[0038] The chopping signal generating branch includes a comparator U1B, a resistor R6, and a resistor R7; one end of the resistor R6 is connected to a reference voltage 15V, and the other end is connected to the resistor R7 and the positive input end of the comparator U1B. The other end of the resistor R7 is connected to GND.
[0039] Among them, the specifications of resistors R6 and R7 are 10KΩ.
[0040] The pull-up resistor branch includes a resistor R8; one end of the resistor R8 is connected to a reference voltage 15V, and the other end is connected to the output end of the comparator U1B.
[0041] Among them, the specification of resistor R8 is 10KΩ.
[0042] The PWM signal generating circuit provided by the utility model works in the following manner:
[0043] like Figure 3 As shown, it is a waveform diagram of a triangle wave signal and a chopping wave signal in a PWM signal generating circuit of the utility model.
[0044] like Figure 4 The figure shows a waveform diagram of a PWM signal output after chopping in a PWM signal generating circuit of the utility model.
[0045] After the PWM signal generating circuit is powered, the positive input terminal of the comparator U1A is greater than the negative input terminal, and the comparator output terminal is high. At this time, the resistor R3 and the resistor R1 are connected in parallel, and the voltage at the positive input terminal of the comparator U1A is 2 / 3 of the power supply voltage. At this time, the integral capacitor C1 is charged through the resistor R4 and the resistor R5. As the voltage of the capacitor C1 rises and is greater than 2 / 3 of the power supply voltage, the positive input terminal of the comparator U1A is less than the negative input terminal, and the comparator output terminal changes from high to low. At this time, the resistor R3 and the resistor R2 are connected in parallel, and the voltage at the positive input terminal of the comparator U1A is 1 / 3 of the power supply voltage. At this time, the capacitor C1 is discharged through the resistor R5. As the voltage of the capacitor C1 drops and is less than 1 / 3 of the power supply voltage, the positive input terminal of the comparator U1A is greater than the negative input terminal again, the comparator output voltage changes from low to high, and the capacitor C1 changes from discharging to charging. In this way, the integral capacitor C1 is continuously charged and discharged, and a stable triangular wave waveform can be generated. The triangular waveform is transmitted to the negative input terminal of the comparator U1B, and at the same time, the chopping signal is transmitted to the positive input terminal of the comparator U1B. The triangular wave is continuously chopped in the comparator U1B to output the required PWM waveform.
[0046] The technical solution of the utility model is described exemplarily below in conjunction with the accompanying drawings. Obviously, the utility model is not limited to the above embodiments, and there may be many variations. As long as various non-substantial improvements are made using the method concept and technical solution of the utility model, or the concept and technical solution of the utility model are directly applied to other occasions without improvement, they are all within the protection scope of the utility model.
Claims
1. A PWM signal generating circuit, It is characterized in that The invention comprises a triangular wave generating branch (1), a chopping signal generating branch (2) and a pull-up resistor branch (3) which are connected in sequence, wherein the chopping signal generating branch (2) comprises a comparator U1B, a resistor R6 and a resistor R7, a negative input end of the comparator U1B is used as an input end of the chopping signal generating branch (2) and is connected to the triangular wave generating branch (1), a positive input end of the comparator U1B is connected to a reference voltage via the resistor R6, and a positive input end of the comparator U1B is also grounded via the resistor R7, and an output end of the comparator U1B is used as an output end of the chopping signal generating branch (2) and is connected to the pull-up resistor branch (3).
2. A PWM signal generating circuit according to claim 1, It is characterized in that The triangular wave generating branch (1) comprises a comparator U1A, resistors R1 to R5 and a capacitor C1, wherein: The positive input end of the comparator U1A is connected to its output end via a resistor R3, the positive input end of U1A is connected to its output end via resistors R1 and R4 in sequence, the node between the resistors R1 and R4 is connected to a reference voltage, the positive input end of U1A is also grounded via a resistor R2, the negative input end of U1A is connected to its output end via a resistor R5, the negative input end of U1A is also grounded via an integral capacitor C1, and the negative input end of U1A is the output end of a triangular wave generating branch (1) connected to a chopping signal generating branch (2).
3. A PWM signal generating circuit according to claim 1, It is characterized in that The pull-up resistor branch (3) comprises a resistor R8, one end of which is connected to a reference voltage, and the other end of which is connected to the output end of the chopping signal generating branch (2) and serves as the output end of the pull-up resistor branch (3).
4. A PWM signal generating circuit according to any one of claims 1 to 3, It is characterized in that The resistors R1 to R8 are any one of wire wound resistors, carbon composite resistors, carbon film resistors, metal film resistors, and metal oxide film resistors.
5. A PWM signal generating circuit according to claim 2, It is characterized in that The capacitor C1 is any one of a tantalum capacitor, a ceramic capacitor, and a film capacitor.
6. A PWM signal generating circuit according to any one of claims 1 to 3, It is characterized in that The resistors R1-R4 and R6-R8 are all 10KΩ resistors.
7. A PWM signal generating circuit according to claim 2, It is characterized in that The resistor R5 is a 20KΩ resistor.
8. A PWM signal generating circuit according to claim 2, It is characterized in that The capacitor C1 is an integrating capacitor of 220 pF.
