PWM (Pulse Width Modulation) duty ratio signal detection and conversion circuit
By adopting the isolation circuit and voltage stabilizing circuit structure in the PWM duty cycle signal detection and conversion circuit, the problem of cost, accuracy and safety in the existing technology is solved, high-precision linear conversion and signal isolation are achieved, and the efficiency of customer applications is improved. Security.
Patent Information
- Application Number
- CN202323302710.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-05
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2033-12-05
AI Technical Summary
The existing PWM duty cycle signal detection and conversion circuit cannot fully take into account the cost, detection accuracy and customer application safety factor, and there are advantages and disadvantages of different solutions.
It adopts a circuit structure including a PWM duty cycle signal input circuit, an isolation circuit, a voltage stabilizing circuit and a second-order filter circuit. After isolation transmission, the PWM signal is stabilized and an analog level output signal is generated to ensure high-precision linear conversion. And achieve signal isolation to improve safety factor.
It achieves high-precision linear conversion of PWM signals to analog levels, reduces costs, reduces the number of components, and enhances the security of customer applications through signal isolation.
Smart Images

Figure CN221686591U
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of power supply circuits, in particular to a PWM duty cycle signal detection conversion circuit. Background Art
[0002] Currently, when power supply products on the market are used in customer systems, they often need to communicate and collaborate with customer systems, especially in the field of charging power supplies and LED control. Customers often hope to control and adjust the internal current and voltage of the power supply through the system output PWM duty cycle signal. This usually requires the power supply to first detect the PWM duty cycle signal output by the system and convert it into an analog level signal that is easier to control the internal functions of the power supply. There is a certain linear correspondence between the PWM duty cycle signal before the conversion and the output analog level signal after the conversion.
[0003] There are three common PWM duty cycle detection conversion circuit solutions available, such as Figure 1 As shown in the figure, the first solution is to realize the conversion from duty cycle to analog level through a step-down conversion circuit. Although this solution has high conversion accuracy, it requires power devices such as transistors and inductors, which are expensive, and there is no isolation between input and output, so the safety factor of customer application is not high. Figure 2 As shown in the figure, the second solution is to realize the duty cycle to analog level conversion through a second-order filtering circuit. Although this solution has high detection accuracy, few components and low cost, there is no isolation between input and output, and the safety factor of customer application is not high; Figure 3 As shown, Solution 3 realizes the duty cycle to analog level conversion through isolation circuit + second-order filtering circuit. The input and output of this solution are isolated, the customer application safety factor is high, and there are fewer components and low cost. However, due to the existence of the saturation conduction voltage drop of the optocoupler, the detection accuracy is not high.
[0004] Through the above comparison, we can find that each existing solution has different advantages and disadvantages. While achieving the functions, there are certain shortcomings and it is impossible to fully take into account the cost, detection accuracy and customer application safety factor. Utility Model Content
[0005] In view of this, the utility model proposes a PWM duty cycle signal detection conversion circuit, which realizes the effect of detecting and converting the PWM signal V1 into an analog level output signal Vo, with high conversion accuracy and greater safety.
[0006] In order to achieve the above purpose, the technical solution adopted by the utility model is:
[0007] In a first aspect, a PWM duty cycle signal detection and conversion circuit is provided, comprising a PWM duty cycle signal input circuit, an isolation circuit, a voltage stabilization circuit and a second-order filtering circuit connected in sequence, wherein the input end of the PWM duty cycle signal input circuit is used to access a PWM signal V1; the isolation circuit is used to isolate and transmit the PWM signal V1 to the voltage stabilization circuit; the voltage stabilization circuit is used to perform voltage stabilization processing on the PWM signal V1 after the isolated transmission; the second-order filtering circuit is used to filter the PWM signal V1 after the voltage stabilization processing and generate an analog level output signal Vo, and the analog output level output signal Vo is in a linear relationship with the PWM signal V1.
[0008] Preferably, the PWM duty cycle signal input circuit includes a resistor R1 and a resistor R2; one end of the resistor R1 serves as an input end of the PWM duty cycle input circuit, and the other end of the resistor R1 is connected to one end of the resistor R2 and then serves as an output end of the PWM duty cycle input circuit and is connected to the input end of the isolation circuit, and the other end of the resistor R2 is grounded.
[0009] Preferably, the isolation circuit includes a second input signal V2 and an isolation optocoupler OC1, the first end of the isolation optocoupler OC1 is connected to the output end of the PWM duty cycle signal input circuit, the second end of the isolation optocoupler OC1 is grounded, the third end of the isolation optocoupler OC1 serves as the output end of the isolation circuit and is connected to the input end of the voltage stabilizing circuit, the fourth end of the isolation optocoupler OC1 is connected to the second input signal V2, and the second input signal V2 is an analog level input signal.
[0010] Preferably, the voltage stabilizing circuit includes a resistor R3, a resistor R4, a resistor R5, a three-terminal voltage regulator U1, and a regulated output signal V3; one end of the resistor R3 serves as the input end of the voltage stabilizing circuit and is connected to the output end of the isolation circuit; the other end of the resistor R3 is connected to one end of the resistor R4 and the second end of the three-terminal voltage regulator U1, and then serves as the output end of the voltage stabilizing circuit and is connected to the input end of the second-order filter circuit; the other end of the resistor R4 is connected to one end of the resistor R5 and the first end of the three-terminal voltage regulator U1; the other end of the resistor R5 and the third end of the three-terminal voltage regulator U1 are grounded; the first end of the three-terminal voltage regulator is connected to the resistor R5, the second end is connected to the power ground, and the third end is connected to the resistor R4.
[0011] Preferably, the second-order filtering circuit includes a resistor R6, a resistor R7, a capacitor C1, and a capacitor C2. One end of the resistor R6 is connected to the output end of the voltage stabilizing circuit as the input end of the second-order filtering circuit. The other end of the resistor R6 is connected to one end of the resistor R7 and one end of the capacitor C1. After the other end of the resistor R7 is connected to one end of the capacitor C2, it serves as the output end of the second-order filtering circuit to output an analog level output signal Vo. The other end of the capacitor C1 and the other end of the capacitor C2 are grounded.
[0012] Preferably, the three-terminal regulator U1 is TL-431.
[0013] In a second aspect, a PWM duty cycle signal detection conversion circuit is provided, comprising a PWM duty cycle input circuit, an isolation circuit, a voltage stabilization circuit, and a second-order filtering circuit;
[0014] The PWM duty cycle detection circuit includes a resistor R1 and a resistor R2;
[0015] The isolation circuit includes a second input signal V2 and an isolation optical coupler OC1;
[0016] The voltage stabilizing circuit includes a resistor R3, a resistor R4, a resistor R5, and a three-terminal voltage stabilizer U1;
[0017] The second-order filter circuit includes a resistor R6, a resistor R7, a capacitor C1, and a capacitor C2;
[0018] One end of the resistor R1 is used to access the PWM signal V1, the other end of the resistor R1 is connected to one end of the resistor R2 and the first end of the isolation optocoupler OC1, the third end of the isolation optocoupler OC1 is connected to one end of the resistor R3, the fourth end of the isolation optocoupler OC1 is connected to the second input signal V2, the other end of the resistor R3 is connected to one end of the resistor R4, the second end of the three-terminal regulator U1, and one end of the resistor R6, the other end of the resistor R4 is connected to the resistor R5, the first end of the three-terminal regulator U1, and the resistor R5, the other end of the resistor R6 is connected to one end of the resistor R7 and one end of the capacitor C1, the other end of the resistor R7 is connected to one end of the capacitor C2, and then serves as the output end of the PWM duty cycle signal detection conversion circuit, the other end of the resistor R2, the second end of the isolation optocoupler OC1, the other end of the resistor R5, the third end of the three-terminal regulator U1, the other end of the capacitor C1, and the other end of the capacitor C2 are grounded.
[0019] Compared with the prior art, the beneficial effects of the utility model are as follows: the utility model realizes high-precision linear conversion of the input PWM signal duty cycle to the analog level output signal by performing voltage stabilization processing on the PWM signal after isolated transmission, which makes it more convenient for the customer system to communicate and control the power supply through the external PWM signal; fewer components and low cost; the conversion accuracy of the linear relationship between the input duty cycle and the output signal is improved; at the same time, the input signal and the output signal are isolated, which enhances the safety factor of the customer's application. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 The present invention is a circuit diagram for realizing duty cycle to analog level conversion through a step-down conversion circuit in the prior art.
[0021] Figure 2 The present invention is a circuit diagram for realizing duty cycle to analog level conversion through a second-order filtering circuit in the prior art.
[0022] Figure 3 The present invention is a circuit diagram for realizing duty cycle to analog level conversion through isolation circuit + second-order filtering circuit in the prior art.
[0023] Figure 4 This is a schematic diagram of the PWM duty cycle signal detection conversion circuit of the utility model. DETAILED DESCRIPTION
[0024] In order to make the purpose, technical solution and advantages of the utility model more clear, the utility model is further described in detail below in conjunction with the embodiments and drawings. It should be understood that the specific embodiments described here are only used to explain the utility model and are not used to limit the utility model.
[0025] like Figure 4 As shown, it is a schematic diagram of the PWM duty cycle signal detection conversion circuit described in this embodiment. In this embodiment, a PWM duty cycle signal detection conversion circuit is provided, including a PWM duty cycle signal input circuit, an isolation circuit, a voltage stabilization circuit and a second-order filtering circuit connected in sequence. The input end of the PWM duty cycle signal input circuit is used to access the PWM signal V1; the isolation circuit is used to isolate and transmit the PWM signal V1 to the voltage stabilization circuit; the voltage stabilization circuit is used to perform voltage stabilization processing on the PWM signal V1 after the isolated transmission; the second-order filtering circuit is used to filter the PWM signal V1 after the voltage stabilization processing and generate an analog level output signal Vo, and the analog output level output signal Vo is in a linear relationship with the PWM signal V1.
[0026] Specifically, the output signal V3 of the voltage stabilizing circuit is a PWM signal, and its duty cycle is the same as that of the PWM signal V1, both of which are D. When the PWM signal V1 is at a high level, the isolation optocoupler OC1 is turned on, the three-terminal voltage regulator U1 works, and V3 is at a high level; when the PWM signal V1 is at a low level, the isolation optocoupler OC1 is not turned on, the three-terminal voltage regulator U1 does not work, and V3 is at a low level. The PWM signal V1 is transmitted to the post-stage second-order filter circuit after passing through the isolation circuit and the voltage stabilizing circuit, and then becomes an analog level output signal Vo after being filtered by the second-order filter circuit; the analog level output signal Vo is a DC signal, and its linear relationship with the output signal V3 of the voltage stabilizing circuit and the input PWM duty cycle D is Vo=D*V3.
[0027] In a specific embodiment, the PWM duty cycle signal input circuit includes a resistor R1 and a resistor R2; the isolation circuit includes a second input signal V2 and an isolation optocoupler OC1; the voltage stabilization circuit includes a resistor R3, a resistor R4, a resistor R5, and a three-terminal voltage regulator U1; the second-order filter circuit includes a resistor R6, a resistor R7, a capacitor C1, and a capacitor C2; one end of the resistor R1 is used to access the PWM signal V1, the other end of the resistor R1 is connected to one end of the resistor R2 and the first end of the isolation optocoupler OC1, the third end of the isolation optocoupler OC1 is connected to one end of the resistor R3, and the fourth end of the isolation optocoupler OC1 is connected to the The second input signal V2, the other end of the resistor R3 is connected to one end of the resistor R4, the second end of the three-terminal regulator U1, and one end of the resistor R6, the other end of the resistor R4 is connected to the resistor R5, the first end of the three-terminal regulator U1, and the resistor R5, the other end of the resistor R6 is connected to one end of the resistor R7 and one end of the capacitor C1, and the other end of the resistor R7 is connected to one end of the capacitor C2, as the output end of the PWM duty cycle signal detection conversion circuit, the other end of the resistor R2, the second end of the isolation optocoupler OC1, the other end of the resistor R5, the third end of the three-terminal regulator U1, the other end of the capacitor C1, and the other end of the capacitor C2 are grounded.
[0028] Specifically, the amplitude of the output signal V3 of the voltage stabilizing circuit is determined by the three-terminal voltage stabilizer U1, the resistor R4, and the resistor R5, and is adjustable. In the specific implementation process, the three-terminal voltage stabilizer U1 is TL-431.
[0029] Through the implementation of the above embodiment, the effect of detecting and converting the PWM duty cycle signal V1 input by the customer system into the analog level input signal Vo inside the power supply is achieved, which makes it more convenient for the customer system to communicate and control the power supply through the external PWM signal, with fewer components and lower cost, and improves the conversion accuracy of the linear relationship between the input duty cycle and the output signal; at the same time, the input signal and the output signal are isolated, thereby enhancing the safety factor of the customer application.
[0030] The above implementation cases are only preferred implementations of the utility model. It should be noted that the above preferred implementations should not be regarded as limitations of the utility model. Without departing from the spirit and scope of the utility model, several improvements and modifications can be made, which are obviously obtained through existing known technologies. These improvements and modifications should also be regarded as the protection scope of the utility model, and will not be repeated here with examples.
Claims
1. A PWM duty cycle signal detection conversion circuit, characterized in that: It comprises a PWM duty cycle signal input circuit, an isolation circuit, a voltage stabilization circuit and a second-order filtering circuit which are connected in sequence, wherein the input end of the PWM duty cycle signal input circuit is used to access the PWM signal V1; the isolation circuit is used to isolate the PWM signal V1 and transmit it to the voltage stabilization circuit; the voltage stabilization circuit is used to perform voltage stabilization processing on the PWM signal V1 after the isolated transmission; the second-order filtering circuit is used to filter the PWM signal V1 after the voltage stabilization processing and generate an analog level output signal Vo, and the analog output level output signal Vo is in a linear relationship with the PWM signal V1.
2. The PWM duty cycle signal detection conversion circuit according to claim 1, characterized in that: The PWM duty cycle signal input circuit includes a resistor R1 and a resistor R2; one end of the resistor R1 serves as an input end of the PWM duty cycle input circuit, and the other end of the resistor R1 is connected to one end of the resistor R2 and then serves as an output end of the PWM duty cycle input circuit and is connected to the input end of the isolation circuit, and the other end of the resistor R2 is grounded.
3. The PWM duty cycle signal detection conversion circuit according to claim 1, characterized in that: The isolation circuit includes a second input signal V2 and an isolation optocoupler OC1, the first end of the isolation optocoupler OC1 is connected to the output end of the PWM duty cycle signal input circuit, the second end of the isolation optocoupler OC1 is grounded, the third end of the isolation optocoupler OC1 serves as the output end of the isolation circuit and is connected to the input end of the voltage stabilizing circuit, the fourth end of the isolation optocoupler OC1 is connected to the second input signal V2, and the second input signal V2 is an analog level input signal.
4. The PWM duty cycle signal detection conversion circuit according to claim 1, characterized in that: The voltage stabilizing circuit includes resistors R3, R4, R5, and a three-terminal voltage regulator U1, and a regulated output signal V3; one end of the resistor R3 serves as the input end of the voltage stabilizing circuit and is connected to the output end of the isolation circuit; the other end of the resistor R3 is connected to one end of the resistor R4 and the second end of the three-terminal voltage regulator U1, and then serves as the output end of the voltage stabilizing circuit and is connected to the input end of the second-order filter circuit; the other end of the resistor R4 is connected to one end of the resistor R5 and the first end of the three-terminal voltage regulator U1; the other end of the resistor R5 and the third end of the three-terminal voltage regulator U1 are grounded; the first end of the three-terminal voltage regulator is connected to the resistor R5, the second end is connected to the power ground, and the third end is connected to the resistor R4.
5. The PWM duty cycle signal detection conversion circuit according to claim 1, characterized in that: The second-order filtering circuit includes a resistor R6, a resistor R7, a capacitor C1, and a capacitor C2. One end of the resistor R6 is connected to the output end of the voltage stabilizing circuit as the input end of the second-order filtering circuit, the other end of the resistor R6 is connected to one end of the resistor R7 and one end of the capacitor C1, and the other end of the resistor R7 is connected to one end of the capacitor C2, and then serves as the output end of the second-order filtering circuit to output an analog level output signal Vo. The other ends of the capacitor C1 and the other ends of the capacitor C2 are grounded.
6. The PWM duty cycle signal detection conversion circuit according to claim 4, characterized in that: The three-terminal voltage regulator U1 is TL-431.
7. A PWM duty cycle signal detection conversion circuit, characterized in that: Including PWM duty cycle input circuit, isolation circuit, voltage stabilization circuit, and second-order filter circuit; The PWM duty cycle detection circuit includes a resistor R1 and a resistor R2; The isolation circuit includes a second input signal V2 and an isolation optical coupler OC1; The voltage stabilizing circuit includes a resistor R3, a resistor R4, a resistor R5, and a three-terminal voltage stabilizer U1; The second-order filter circuit includes a resistor R6, a resistor R7, a capacitor C1, and a capacitor C2; One end of the resistor R1 is used to access the PWM signal V1, the other end of the resistor R1 is connected to one end of the resistor R2 and the first end of the isolation optocoupler OC1, the third end of the isolation optocoupler OC1 is connected to one end of the resistor R3, the fourth end of the isolation optocoupler OC1 is connected to the second input signal V2, the other end of the resistor R3 is connected to one end of the resistor R4, the second end of the three-terminal regulator U1, and one end of the resistor R6, the other end of the resistor R4 is connected to the resistor R5, the first end of the three-terminal regulator U1, and the resistor R5, the other end of the resistor R6 is connected to one end of the resistor R7 and one end of the capacitor C1, the other end of the resistor R7 is connected to one end of the capacitor C2, and then serves as the output end of the PWM duty cycle signal detection conversion circuit, the other end of the resistor R2, the second end of the isolation optocoupler OC1, the other end of the resistor R5, the third end of the three-terminal regulator U1, the other end of the capacitor C1, and the other end of the capacitor C2 are grounded.
