Voltage sampling circuit
By designing a voltage sampling circuit including rectifier, absorption, voltage division and filtering circuits, the complexity and loss problems of digital integrated machines when displaying the output voltage of the switching power supply are solved, real-time accurate display of voltage and low loss are achieved.
Patent Information
- Application Number
- CN202420097885.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-15
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2034-01-15
AI Technical Summary
In the prior art, when displaying the output voltage of the switching power supply, digital integrated machines usually need to input AC voltage division, resulting in uncommon troubles of power supply and increased system complexity and loss.
A voltage sampling circuit is designed, including a rectifier circuit, an absorption circuit, a voltage divider circuit, a follower circuit and a filter circuit. By collecting voltage from the secondary coil of the switching power supply, first-stage voltage divider, voltage comparison, follower and second-stage segmentation are performed. After voltage, it is output to the processor to achieve accurate sampling and display of voltage.
This voltage sampling circuit solves the complexity and loss problems of the digital integrated machine when displaying the output voltage of the switching power supply, and realizes real-time accurate display of the voltage, with the error no more than ±1V, reducing the system's electrical energy harmonic loss.
Smart Images

Figure CN222070712U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of power electronics, in particular to a voltage sampling circuit. Background Art
[0002] Nowadays, switching power supplies are widely used to power electronic devices. Generally, a switching power supply obtains an AC voltage from the power grid, converts the AC voltage into an uncontrolled DC voltage through a rectifier bridge, and then converts the uncontrolled DC voltage into the required signal to drive the load through a switching circuit. However, with the widespread application of switching power supplies, more and more harmonic currents are injected into the power grid. The generation of high-order harmonics increases the harmonic loss of electric energy, reduces the power factor of the system, and causes great harm to the power grid. It not only affects the quality of the power grid, but also has a great impact on the reliability of the power grid. In severe cases, it will cause relay protection to malfunction, burn protection circuit boards, digital meters and other devices. Therefore, it is necessary to monitor the output voltage of the switching power supply in real time. Usually, machines that display voltage in real time display it through a voltmeter after inputting an AC voltage divider, which adds the trouble of power supply and non-common grounding to digital integrated machines. Utility Model Content
[0003] In view of this, the utility model provides a voltage sampling circuit to solve the problem of power supply and non-common ground of digital integrated machines.
[0004] The utility model provides a voltage sampling circuit, comprising: a rectifier circuit, an absorption circuit, a first voltage divider circuit, a first follower circuit, a filter circuit, a support circuit, a second voltage divider circuit and a second follower circuit, wherein the rectifier circuit has a first end connected to the secondary coil of a switching power supply, and a second end connected to the first end of the absorption circuit; the absorption circuit has a second end connected to ground; the first voltage divider circuit has a first end connected to the first end of the rectifier circuit, a second end connected to the first end of the first follower circuit, and a third end connected to ground; the first follower circuit has a second end connected to the first end of the filter circuit; the filter circuit has a second end connected to the first end of the support circuit, and a third end connected to ground; the support circuit has a second end connected to the first end of the second voltage divider circuit, and a third end connected to ground; the second voltage divider circuit has a second end connected to the first end of the second follower circuit, and a third end connected to ground; the second follower circuit outputs a sampling voltage at its second end.
[0005] The voltage sampling circuit of the utility model does not directly collect the switching power supply voltage and divide it, but draws power from the secondary coil of the switching power supply, divides the voltage in one stage, and then compares and follows the voltage through the first follower circuit, and then divides the voltage in two stages, filters it, and then transmits the voltage to the processor. The processor is not limited to the single-chip microcomputer, thereby solving the problem that the machines for real-time voltage display in the prior art all display it through a voltmeter after inputting an alternating current voltage divider, which adds the problems of power supply and non-common ground to the digital integrated machines.
[0006] In an optional implementation, the rectifier circuit includes: a first diode, an anode of which is connected to the secondary coil of the switching power supply, and a cathode of which is connected to the first end of the absorption circuit.
[0007] In an optional embodiment, the absorption circuit includes: a first resistor and a first capacitor, wherein the first resistor has a first end connected to the first end of the first capacitor, and its first end is also connected to the second end of the rectifier circuit, and its second end is connected to the second end of the first capacitor, and its second end is grounded.
[0008] In an optional embodiment, the first voltage divider circuit includes: a second resistor, a third resistor and a second capacitor, wherein the second resistor has a first end connected to the first end of the rectifier circuit, and a second end connected to the first end of the second resistor, the first end of the second capacitor, and the first end of the first follower circuit; the third resistor has a second end connected to the second end of the second capacitor, and a second end connected to ground.
[0009] In an optional embodiment, the first follower circuit includes: a fourth resistor and a first comparator, wherein the first comparator has its in-phase input terminal connected to the second end of the first voltage divider circuit through the fourth resistor, its inverting input terminal connected to its output terminal, and its output terminal connected to the first end of the filter circuit.
[0010] In an optional embodiment, the filtering circuit includes: a fifth resistor and a third capacitor, wherein the first end of the fifth resistor is connected to the second end of the first follower circuit, and the second end of the fifth resistor is connected to the first end of the third capacitor and the first end of the supporting circuit; the second end of the third capacitor is grounded.
[0011] In an optional embodiment, the supporting circuit includes: a second diode and a fourth capacitor, wherein the second diode has an anode connected to the second end of the filter circuit, and a cathode connected to the first end of the fourth capacitor and the first end of the second voltage divider circuit; the fourth capacitor has a second end connected to ground.
[0012] In an optional embodiment, the second voltage divider circuit includes: a sixth resistor and a potentiometer, wherein the potentiometer has a first end connected to the second end of the support circuit through the sixth resistor, a second end grounded, and a third end connected to the first end of the second follower circuit.
[0013] In an optional embodiment, the second follower circuit includes: a seventh resistor and a second comparator, wherein the second comparator has its non-inverting input terminal connected to the second end of the second voltage divider circuit through the seventh resistor, its inverting input terminal connected to its output terminal, and its output terminal outputs a sampling voltage.
[0014] In an optional embodiment, the voltage sampling circuit also includes: a voltage stabilizing circuit, the voltage stabilizing circuit includes: a voltage stabilizing diode and a fifth capacitor, wherein the voltage stabilizing diode has a cathode connected to the second end of the second follower circuit and an anode connected to the ground; and the fifth capacitor is connected in parallel with the voltage stabilizing diode. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the specific implementation methods of the utility model or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the utility model. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0016] Figure 1 is a composition diagram of a voltage sampling circuit according to an embodiment of the utility model;
[0017] Figure 2 It is a specific circuit structure diagram of a voltage sampling circuit according to an embodiment of the utility model. DETAILED DESCRIPTION
[0018] In order to make the purpose, technical solution and advantages of the embodiment of the utility model clearer, the technical solution in the embodiment of the utility model will be clearly and completely described below in conjunction with the drawings in the embodiment of the utility model. Obviously, the described embodiment is a part of the embodiment of the utility model, not all the embodiments. Based on the embodiment of the utility model, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the utility model.
[0019] According to an embodiment of the utility model, a voltage sampling circuit is provided, such as Figure 1 As shown, it includes: a rectifier circuit 1, an absorption circuit 2, a first voltage divider circuit 3, a first follower circuit 4, a filter circuit 5, a support circuit 6, a second voltage divider circuit 7 and a second follower circuit 8.
[0020] like Figure 1As shown, a rectifier circuit 1, a first end of which is connected to the secondary coil of the switching power supply, and a second end of which is connected to the first end of the absorption circuit 2; the absorption circuit 2, a second end of which is grounded; a first voltage divider circuit 3, a first end of which is connected to the first end of the rectifier circuit 1, a second end of which is connected to the first end of the first follower circuit 4, and a third end of which is grounded; the first follower circuit 4, a second end of which is connected to the first end of the filter circuit 5; the filter circuit 5, a second end of which is connected to the first end of the support circuit 6, and a third end of which is grounded; the support circuit 6, a second end of which is connected to the first end of the second voltage divider circuit 7, and a third end of which is grounded; the second voltage divider circuit 7, a second end of which is connected to the first end of the second follower circuit 8, and a third end of which is grounded; the second follower circuit 8, a second end of which outputs a sampling voltage.
[0021] Specifically, the voltage sampling circuit of this embodiment does not directly collect the switching power supply voltage and divide it, but draws power from the secondary coil of the switching power supply, and performs a first-level voltage division and then compares and follows the voltage through the first follower circuit 4, and then performs a second-level voltage division and filtering before transmitting the voltage to the processor. The processor is not limited to a single-chip microcomputer, thereby solving the problem that the machines for real-time voltage display in the prior art all use an input AC voltage division and then display it through a voltmeter, which adds the problems of power supply and non-common grounding to digital integrated machines.
[0022] In some optional embodiments, such as Figure 2 As shown, the rectifier circuit 1 includes: a first diode D61, whose anode is connected to the secondary coil of the switching power supply, and whose cathode is connected to the first end of the absorption circuit 2.
[0023] Specifically, the anode of the first diode D61 is connected to the secondary coil of the switching power supply. The switching power supply is not limited to a power supply based on a flyback circuit. The switching power supply steps down the input grid voltage and transmits it to the first diode D61. The first diode D61 performs forward rectification to obtain a positive voltage signal.
[0024] Optionally, the rectifier circuit 1 is not limited to Figure 2 The circuit shown only includes a diode, and other circuits that rectify AC power into DC power may also be used, which will not be described in detail here.
[0025] In some optional embodiments, such as Figure 2 As shown, the absorption circuit 2 includes: a first resistor C61 and a first capacitor R60, wherein the first resistor C61 has a first end connected to the first end of the first capacitor R60, and its first end is also connected to the second end of the rectifier circuit 1, and its second end is connected to the second end of the first capacitor R60, and its second end is grounded.
[0026] Specifically, the first resistor C61 and the first capacitor R60 form an RC absorption circuit to absorb the excess electrical energy in the loop, but the absorption circuit 2 only Figure 2 The structures shown are examples but are not intended to be limiting.
[0027] In some optional embodiments, such as Figure 2 As shown, the first voltage divider circuit 3 includes: a second resistor R61, a third resistor R62 and a second capacitor C62, wherein the second resistor R61, a first end thereof is connected to the first end of the rectifier circuit 1, and a second end thereof is connected to the first end of the second resistor R61, the first end of the second capacitor C62, and the first end of the first follower circuit 4; the third resistor R62, a second end thereof is connected to the second end of the second capacitor C62, and a second end thereof is grounded.
[0028] Specifically, the second resistor R61, the third resistor R62 and the second capacitor C62 form a 1 / 6 voltage division signal to divide the forward voltage.
[0029] In some optional embodiments, such as Figure 2 As shown, the first follower circuit 4 includes: a fourth resistor R63 and a first comparator U14B, wherein the first comparator U14B has its in-phase input terminal connected to the second end of the first voltage divider circuit 3 through the fourth resistor R63, its inverting input terminal connected to its output terminal, and its output terminal connected to the first end of the filter circuit 5.
[0030] In some optional embodiments, such as Figure 2 As shown, the filter circuit 5 includes: a fifth resistor R64 and a third capacitor C23, wherein the first end of the fifth resistor R64 is connected to the second end of the first follower circuit 4, and the second end of the fifth resistor R64 is connected to the first end of the third capacitor C23 and the first end of the support circuit 6; the second end of the third capacitor C23 is grounded.
[0031] In some optional embodiments, such as Figure 2 As shown, the support circuit 6 includes: a second diode D7 and a fourth capacitor E9, wherein the second diode D7 has an anode connected to the second end of the filter circuit 5, and a cathode connected to the first end of the fourth capacitor E9 and the first end of the second voltage divider circuit 7; the fourth capacitor E9 has a second end connected to ground.
[0032] In some optional embodiments, such as Figure 2 As shown, the second voltage divider circuit 7 includes: a sixth resistor R71 and a potentiometer W2, wherein the potentiometer W2 has a first end connected to the second end of the support circuit 6 through the sixth resistor R71, a second end grounded, and a third end connected to the first end of the second follower circuit 8.
[0033] In some optional embodiments, such as Figure 2As shown, the second follower circuit 8 includes: a seventh resistor R72 and a second comparator U7B, wherein the second comparator U7B has its non-inverting input terminal connected to the second end of the second voltage divider circuit 7 through the seventh resistor R72, its inverting input terminal connected to its output terminal, and its output terminal outputs a sampling voltage.
[0034] In some optional implementations, the voltage sampling circuit further includes: a voltage stabilizing circuit, such as Figure 2 As shown, the voltage stabilizing circuit includes: a voltage stabilizing diode Z2 and a fifth capacitor C31, wherein the cathode of the voltage stabilizing diode Z2 is connected to the second end of the second follower circuit 8, and the anode of the voltage stabilizing diode Z2 is grounded; the fifth capacitor C31 is connected in parallel with the voltage stabilizing diode Z2.
[0035] For example, Figure 2 In the circuit, according to the input grid voltage synchronous step-down AC signal, a positive voltage signal is obtained through D61 forward rectification, and after R60 and C61 form RC absorption, R61, R62, and C62 form a 1 / 6 voltage division signal. R63 and LM358 form a follower circuit, and the 7th foot of LM358 obtains a positive comparison voltage. R64 and C23 form a first-order filter circuit, and D7 and E9 form a support circuit 6 to prevent voltage jump. R71 and W2 form a voltage division circuit. W2 is used to adjust the sampling voltage value so that the displayed voltage value is consistent with the input voltage. Finally, through R72, LM358 voltage follower, and R80 finally inputs the ADC port of the microcontroller for sampling and processing. In order to make the sampling more accurate, the 160V-460V software implements 10 segmented sampling to maintain consistent linearity, so that the input voltage is more accurately displayed in real time, and the error value does not exceed ±1V.
[0036] Although the embodiments of the present invention are described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A voltage sampling circuit, characterized in that: include: A rectifier circuit, an absorption circuit, a first voltage divider circuit, a first follower circuit, a filter circuit, a support circuit, a second voltage divider circuit and a second follower circuit, wherein: A rectifier circuit, a first end of which is connected to the secondary coil of the switching power supply, and a second end of which is connected to the first end of the absorption circuit; an absorption circuit, a second end of which is grounded; A first voltage divider circuit, a first end of which is connected to the first end of the rectifier circuit, a second end of which is connected to the first end of the first follower circuit, and a third end of which is grounded; A first follower circuit, a second end of which is connected to the first end of the filter circuit; a filter circuit, a second end of which is connected to the first end of the support circuit, and a third end of which is grounded; a supporting circuit, a second end of which is connected to the first end of the second voltage divider circuit, and a third end of which is grounded; A second voltage divider circuit, a second end of which is connected to the first end of the second follower circuit, and a third end of which is grounded; The second follower circuit has a second terminal that outputs a sampling voltage.
2. The voltage sampling circuit according to claim 1, characterized in that: The rectifier circuit comprises: The first diode has an anode connected to the secondary coil of the switching power supply and a cathode connected to the first end of the absorption circuit.
3. The voltage sampling circuit according to claim 1, characterized in that: The absorption circuit includes: a first resistor and a first capacitor, wherein: A first resistor has a first end connected to the first end of the first capacitor, a first end connected to the second end of the rectifier circuit, a second end connected to the second end of the first capacitor, and a second end grounded.
4. The voltage sampling circuit according to claim 1, characterized in that: The first voltage divider circuit includes: a second resistor, a third resistor and a second capacitor, wherein: A second resistor, a first end of which is connected to the first end of the rectifier circuit, and a second end of which is connected to the first end of the second resistor, the first end of the second capacitor, and the first end of the first follower circuit; A third resistor has a second end connected to the second end of the second capacitor and a second end grounded.
5. The voltage sampling circuit according to claim 1, characterized in that: The first follower circuit includes: a fourth resistor and a first comparator, wherein: The first comparator has a non-inverting input terminal connected to the second terminal of the first voltage divider circuit through the fourth resistor, a reverse input terminal connected to the output terminal, and an output terminal connected to the first terminal of the filter circuit.
6. The voltage sampling circuit according to claim 1, characterized in that: The filter circuit includes: a fifth resistor and a third capacitor, wherein: a fifth resistor, a first end of which is connected to the second end of the first follower circuit, and a second end of which is connected to the first end of the third capacitor and the first end of the support circuit; The third capacitor has a second terminal connected to the ground.
7. The voltage sampling circuit according to claim 1, characterized in that: The support circuit includes: a second diode and a fourth capacitor, wherein: a second diode, an anode of which is connected to the second end of the filter circuit, and a cathode of which is connected to the first end of the fourth capacitor and the first end of the second voltage divider circuit; The fourth capacitor has a second terminal connected to the ground.
8. The voltage sampling circuit according to claim 1, characterized in that: The second voltage divider circuit includes: a sixth resistor and a potentiometer, wherein: A potentiometer, a first end of which is connected to the second end of the support circuit through the sixth resistor, a second end of which is grounded, and a third end of which is connected to the first end of the second follower circuit.
9. The voltage sampling circuit according to claim 1, characterized in that: The second follower circuit includes: a seventh resistor and a second comparator, wherein: The second comparator has a non-inverting input terminal connected to the second end of the second voltage divider circuit through the seventh resistor, an inverting input terminal connected to its output terminal, and an output terminal outputting a sampling voltage.
10. The voltage sampling circuit according to claim 1, characterized in that: Also includes:A voltage stabilizing circuit, the voltage stabilizing circuit comprising: a voltage stabilizing diode and a fifth capacitor, wherein: a voltage stabilizing diode, a cathode of which is connected to the second end of the second follower circuit, and an anode of which is grounded; and a fifth capacitor, which is connected in parallel with the voltage stabilizing diode.
