Single-phase input voltage sampling frequency detection circuit
By designing a single-phase input voltage sampling frequency detection circuit in a single-phase power supply, using a differential amplification and comparison unit to convert negative AC power into positive power and outputting a rectangular wave signal, the problem of frequency identification in a single-phase power supply is solved and the power supply system is improved. response speed and stability.
Patent Information
- Application Number
- CN202323467343.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-19
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2033-12-19
AI Technical Summary
In a single-phase power supply, the load characteristics result in low power factor, which affects the efficiency and stability of the power system, and it is difficult for existing circuits to quickly and accurately identify the input voltage frequency to cope with grid frequency changes.
Design a single-phase input voltage sampling frequency detection circuit, including a differential amplification unit and a comparison unit. It converts AC negative electricity into positive electricity through differential amplification, and uses the preset DC bias to raise the voltage for comparison, and outputs a rectangular wave with the same frequency. signal to facilitate the DSP digital chip to identify frequency changes.
It achieves fast and accurate identification of single-phase input voltage frequency, improves the response speed and stability of the power system, and enhances the power grid load management capability.
Smart Images

Figure CN221826969U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to a frequency sampling circuit, in particular to a single-phase input voltage sampling frequency detection circuit. Background Art
[0002] In traditional single-phase power supplies, due to the characteristics of the load, the power factor of the power supply is low, resulting in waste of grid load and low efficiency of the power supply system. Nowadays, the circuit design used to improve the power factor of the power supply circuit adopts the PFC circuit, which controls the phase relationship between the input current and voltage to make the power factor close to 1, thereby improving the efficiency and stability of the power supply system. In order to avoid changes in the frequency of the power grid, which affects the controller's inability to accurately make the phase relationship between voltage and current in real time, it is necessary to detect the frequency of the input voltage so that it can respond quickly. Utility Model Content
[0003] The technical problem to be solved by the utility model is to provide a single-phase input voltage sampling frequency detection circuit, which can quickly and accurately identify the frequency of the single-phase input voltage.
[0004] The utility model solves the above technical problems with the following technical solutions: A single-phase input voltage sampling frequency detection circuit, comprising:
[0005] A differential amplification unit is connected to the single-phase alternating current and the preset DC bias lift voltage, and is used to convert the negative electricity of the single-phase alternating current into positive electricity under the action of the preset DC bias lift voltage and perform differential amplification to obtain an alternating positive voltage based on the preset DC bias lift voltage;
[0006] The comparison unit is connected to the reference voltage and electrically connected to the differential amplifier unit, and is used to compare the AC positive voltage with the reference voltage and output a rectangular wave signal with a frequency consistent with the frequency of the single-phase AC power. Based on the above technical solution, the utility model can also be improved as follows.
[0007] Furthermore, the differential amplification unit comprises:
[0008] A resistor R1 and a resistor R2, wherein one end of the resistor R1 is electrically connected to the live wire of the single-phase alternating current, and the other end of the resistor R2 is electrically connected to the neutral wire ground of the single-phase alternating current;
[0009] An operational amplifier U1, wherein the negative input terminal is electrically connected to the other end of the resistor R1, and the positive input terminal is electrically connected to the other end of the resistor R2;
[0010] The resistor R3 is electrically connected between the negative input terminal and the output terminal of the operational amplifier U1;
[0011] The resistor R4 has one end connected to the preset DC bias pull-up voltage, and the other end electrically connected to the positive input terminal of the operational amplifier U1.
[0012] Furthermore, the differential amplification unit further includes:
[0013] A capacitor C1 is connected in parallel with the resistor R3;
[0014] The capacitor C2 is connected in parallel with the resistor R4.
[0015] Further, the comparison unit comprises:
[0016] A resistor R5, one end of which is connected to the reference voltage;
[0017] The comparator U2 has a negative input terminal electrically connected to the output terminal of the operational amplifier U1 , a positive input terminal electrically connected to the other end of the resistor R5 , and an output terminal for outputting the rectangular wave signal.
[0018] Furthermore, the comparison unit further includes:
[0019] A capacitor C3 is connected in parallel with the resistor R5;
[0020] A resistor R6, one end of which is connected to a 3.3V voltage, and the other end of which is electrically connected to the output end of the comparator U2;
[0021] a resistor R7, one end of which is electrically connected to the output end of the comparator U2, and the other end of which is electrically connected to the positive input end of the comparator U2;
[0022] Capacitor C4 has one end connected to a 3.3V voltage and the other end connected to the neutral ground.
[0023] Furthermore, the comparison unit further includes:
[0024] A resistor R8, one end of which is electrically connected to the output end of the comparator U2;
[0025] A capacitor C5, one end of which is electrically connected to the other end of the resistor R8, and the other end of which is connected to the neutral line ground;
[0026] The voltage stabilizing diode D has a positive electrode electrically connected to the other end of the resistor R8 and a negative electrode connected to the neutral line ground.
[0027] Furthermore, a filter unit is electrically connected between the output terminal of the operational amplifier U1 and the negative input terminal of the comparator U2, and the filter unit includes:
[0028] A resistor R9, one end of which is connected to the output end of the operational amplifier U1, and the other end of which is electrically connected to the negative input end of the comparator U2;
[0029] The capacitor C6 has one end electrically connected to the other end of the resistor R9 and the other end connected to the neutral line ground.
[0030] Furthermore, the positive power supply terminals of the operational amplifier U1 and the comparator U2 are both connected to a 5V voltage, and the negative power supply terminals of the operational amplifier U1 and the comparator U2 are both connected to the neutral ground.
[0031] Furthermore, the DC bias boost voltage is equal to the reference voltage, and both are 1.65V.
[0032] The beneficial effect of the utility model is as follows: in a single-phase input voltage sampling frequency detection circuit of the utility model, the single-phase alternating current passes through a differential amplifier unit, and a DC bias lift voltage is used to convert the alternating negative electricity into positive electricity and amplify it, thereby outputting an alternating positive electricity above 0V based on the DC bias lift voltage. The reference voltage proportionally reduced after the output of the differential amplifier unit is compared at the positive end of the comparator U2. If it is greater than the reference voltage, a low level is output, and if it is less than the reference voltage, a high level is output, thereby outputting a rectangular wave with a frequency consistent with the frequency of the single-phase alternating current, which is input into a DSP digital chip, so that the frequency change can be easily and quickly identified. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 This is a structural schematic diagram of a single-phase input voltage sampling frequency detection circuit of the utility model;
[0034] Figure 2 This is the waveform diagram of the operational amplifier output;
[0035] Figure 3 This is the waveform diagram of the comparator output. DETAILED DESCRIPTION
[0036] The principles and features of the present invention are described below in conjunction with the accompanying drawings. The examples given are only used to explain the present invention and are not used to limit the scope of the present invention.
[0037] like Figure 1 As shown, a single-phase input voltage sampling frequency detection circuit comprises:
[0038] A differential amplifier unit 1 is connected to a single-phase alternating current and a preset DC bias lift voltage, and is used to convert the negative electricity of the single-phase alternating current into positive electricity under the action of the preset DC bias lift voltage and perform differential amplification to obtain an alternating positive voltage based on the preset DC bias lift voltage;
[0039] The comparison unit 2 is connected to the reference voltage and electrically connected to the differential amplifier unit, and is used to compare the AC positive voltage with the reference voltage and output a rectangular wave signal having a frequency consistent with the frequency of the single-phase AC power.
[0040] In a single-phase input voltage sampling frequency detection circuit of the utility model, the single-phase alternating current passes through a differential amplifier unit, and a DC bias lift voltage is used to convert the negative alternating current into positive electricity and amplify it, thereby outputting an alternating positive current of more than 0V based on the DC bias lift voltage. The reference voltage proportionally reduced after the output of the differential amplifier unit is compared at the positive end of the comparator U2. If it is greater than the reference voltage, a low level is output, and if it is less than the reference voltage, a high level is output, thereby outputting a rectangular wave with a frequency consistent with that of the single-phase alternating current, which is input into a DSP digital chip, so that the frequency change can be easily and quickly identified.
[0041] In some embodiments, the differential amplification unit includes:
[0042] A resistor R1 and a resistor R2, wherein one end of the resistor R1 is electrically connected to the live wire of the single-phase alternating current, and the other end of the resistor R2 is electrically connected to the neutral wire ground of the single-phase alternating current;
[0043] An operational amplifier U1, wherein the negative input terminal is electrically connected to the other end of the resistor R1, and the positive input terminal is electrically connected to the other end of the resistor R2;
[0044] The resistor R3 is electrically connected between the negative input terminal and the output terminal of the operational amplifier U1;
[0045] The resistor R4 has one end connected to the preset DC bias pull-up voltage, and the other end electrically connected to the positive input terminal of the operational amplifier U1.
[0046] Among them, resistors R1, R2, R3, R4 and operational amplifier U1 form a differential amplifier structure. The preset DC bias lift voltage connected by resistor R4 can convert the negative electricity in the single-phase AC into positive electricity. The output waveform of operational amplifier U1 is as follows: Figure 2 shown.
[0047] In some embodiments, the differential amplification unit further includes:
[0048] A capacitor C1 is connected in parallel with the resistor R3;
[0049] The capacitor C2 is connected in parallel with the resistor R4.
[0050] The capacitors C1 and C2 connected in parallel with the resistors R3 and R4 respectively play the role of filtering and isolation, which can ensure that the output of the operational amplifier U1 is cleaner, more stable and more accurate.
[0051] In some embodiments, the comparison unit comprises:
[0052] A resistor R5, one end of which is connected to the reference voltage;
[0053] The comparator U2 has a negative input terminal electrically connected to the output terminal of the operational amplifier U1 , a positive input terminal electrically connected to the other end of the resistor R5 , and an output terminal for outputting the rectangular wave signal.
[0054] Comparator U2 compares the two signals at the positive and negative input terminals. If the signal is greater than the reference voltage, it outputs a low level, and if it is less than the reference voltage, it outputs a high level, thereby outputting a rectangular wave. The output waveform of comparator U2 is as follows: Figure 3 shown.
[0055] In some embodiments, the comparison unit further comprises:
[0056] A capacitor C3 is connected in parallel with the resistor R5;
[0057] A resistor R6, one end of which is connected to a 3.3V voltage, and the other end of which is electrically connected to the output end of the comparator U2;
[0058] a resistor R7, one end of which is electrically connected to the output end of the comparator U2, and the other end of which is electrically connected to the positive input end of the comparator U2;
[0059] Capacitor C4 has one end connected to a 3.3V voltage and the other end connected to the neutral ground.
[0060] Capacitor C3 is used to filter the reference voltage to ensure the stability of the reference voltage input into the comparator.
[0061] Capacitor C4 is used to filter the 3.3V voltage to ensure the stability of the 3.3V voltage.
[0062] The resistor R6 and the resistor R7 form a hysteresis circuit, which can suppress the frequent jumps and oscillations of the output of the comparator U2 and ensure the stability of the output of the comparator U2.
[0063] In some embodiments, the comparison unit further comprises:
[0064] A resistor R8, one end of which is electrically connected to the output end of the comparator U2;
[0065] A capacitor C5, one end of which is electrically connected to the other end of the resistor R8, and the other end of which is connected to the neutral line ground;
[0066] The voltage stabilizing diode D has a positive electrode electrically connected to the other end of the resistor R8 and a negative electrode connected to the neutral line ground.
[0067] The voltage stabilizing diode D and capacitor C5 can achieve a good voltage stabilizing effect. The low-pass filtering characteristics of capacitor C5 can help filter out most of the high-frequency noise and voltage fluctuations, making the output voltage more stable. In addition, capacitor C5 can also store and release charges, which is equivalent to providing a charge reserve for the circuit. When the circuit generates transient current, capacitor C5 can follow the circuit changes and provide part of the electrical energy for the circuit. In this way, the voltage stabilizing diode D can reduce the transient voltage changes in the circuit, thereby protecting the voltage stabilizing diode D from the influence of high-frequency noise and circuit sensitivity. In summary, the voltage stabilizing diode D in parallel with capacitor C5 can play a role in filtering and noise reduction, while protecting the voltage stabilizing diode D from interference from high-frequency noise.
[0068] In some embodiments, a filter unit 3 is electrically connected between the output terminal of the operational amplifier U1 and the negative input terminal of the comparator U2, and the filter unit 3 includes:
[0069] A resistor R9, one end of which is connected to the output end of the operational amplifier U1, and the other end of which is electrically connected to the negative input end of the comparator U2;
[0070] The capacitor C6 has one end electrically connected to the other end of the resistor R9 and the other end connected to the neutral line ground.
[0071] Resistor R9 and capacitor C6 form an RC Li-Ningbo circuit that can filter the output of the operational amplifier.
[0072] In some embodiments, the positive power supply terminals of the operational amplifier U1 and the comparator U2 are both connected to a 5V voltage, and the negative power supply terminals of the operational amplifier U1 and the comparator U2 are both connected to the neutral ground.
[0073] The operating voltage of the operational amplifier U1 and the comparator U2 is 5V.
[0074] In some embodiments, the DC bias boost voltage is equal to the reference voltage, and both are 1.65V.
[0075] Since the waveform output by the operational amplifier is an AC positive current of 0V or above based on the DC bias lift voltage, a rectangular wave can be obtained by selecting the reference voltage to be equal to the DC bias lift voltage, and the frequency of the rectangular wave is consistent with the frequency of the single-phase AC power, which is convenient for the rapid identification of the DSP. The above is only a preferred embodiment of the utility model and is not intended to limit the utility model. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the utility model should be included in the protection scope of the utility model.
Claims
1. A single-phase input voltage sampling frequency detection circuit, characterized in that: include: A differential amplification unit is connected to the single-phase alternating current and the preset DC bias lift voltage, and is used to convert the negative electricity of the single-phase alternating current into positive electricity under the action of the preset DC bias lift voltage and perform differential amplification to obtain an alternating positive voltage based on the preset DC bias lift voltage; The comparison unit is connected to the reference voltage and electrically connected to the differential amplifier unit, and is used to compare the AC positive voltage with the reference voltage and output a rectangular wave signal with a frequency consistent with the frequency of the single-phase AC power.
2. The single-phase input voltage sampling frequency detection circuit according to claim 1, characterized in that: The differential amplification unit comprises: A resistor R1 and a resistor R2, wherein one end of the resistor R1 is electrically connected to the live wire of the single-phase alternating current, and the other end of the resistor R2 is electrically connected to the neutral wire ground of the single-phase alternating current; An operational amplifier U1, wherein the negative input terminal is electrically connected to the other end of the resistor R1, and the positive input terminal is electrically connected to the other end of the resistor R2; The resistor R3 is electrically connected between the negative input terminal and the output terminal of the operational amplifier U1; The resistor R4 has one end connected to the preset DC bias pull-up voltage, and the other end electrically connected to the positive input terminal of the operational amplifier U1.
3. The single-phase input voltage sampling frequency detection circuit according to claim 2, characterized in that: The differential amplification unit further includes: A capacitor C1 is connected in parallel with the resistor R3; The capacitor C2 is connected in parallel with the resistor R4.
4. The single-phase input voltage sampling frequency detection circuit according to claim 2, characterized in that: The comparison unit comprises: A resistor R5, one end of which is connected to the reference voltage; The comparator U2 has a negative input terminal electrically connected to the output terminal of the operational amplifier U1 , a positive input terminal electrically connected to the other end of the resistor R5 , and an output terminal for outputting the rectangular wave signal.
5. The single-phase input voltage sampling frequency detection circuit according to claim 4, characterized in that: The comparison unit also includes: A capacitor C3 is connected in parallel with the resistor R5; A resistor R6, one end of which is connected to a 3.3V voltage, and the other end of which is electrically connected to the output end of the comparator U2; a resistor R7, one end of which is electrically connected to the output end of the comparator U2, and the other end of which is electrically connected to the positive input end of the comparator U2; Capacitor C4 has one end connected to a 3.3V voltage and the other end connected to the neutral ground.
6. The single-phase input voltage sampling frequency detection circuit according to claim 4, characterized in that: The comparison unit also includes: A resistor R8, one end of which is electrically connected to the output end of the comparator U2; A capacitor C5, one end of which is electrically connected to the other end of the resistor R8, and the other end of which is connected to the neutral line ground; The voltage stabilizing diode D has a positive electrode electrically connected to the other end of the resistor R8 and a negative electrode connected to the neutral line ground.
7. The single-phase input voltage sampling frequency detection circuit according to claim 4, characterized in that: A filter unit is electrically connected between the output end of the operational amplifier U1 and the negative input end of the comparator U2, and the filter unit includes: A resistor R9, one end of which is connected to the output end of the operational amplifier U1, and the other end of which is electrically connected to the negative input end of the comparator U2; The capacitor C6 has one end electrically connected to the other end of the resistor R9 and the other end connected to the neutral line ground.
8. The single-phase input voltage sampling frequency detection circuit according to claim 4, characterized in that: The positive power supply terminals of the operational amplifier U1 and the comparator U2 are both connected to a 5V voltage, and the negative power supply terminals of the operational amplifier U1 and the comparator U2 are both connected to the neutral line ground.
9. The single-phase input voltage sampling frequency detection circuit according to claim 1, characterized in that: The DC bias lift voltage is equal to the reference voltage, and both are 1.65V.
Citation Information
Cited By
Noise-reduction frequency-doubling sampling circuit and sampling method for phase discrimination type sensor
CN121984510A
Frequency sampling circuit, and apparatus, converter, system, method, medium and program
WO2026103344A1
