Three-phase alternating-current voltage input and output signal real-time synchronous zero-crossing turnover circuit and system
By designing a real-time synchronous zero-crossing flipping circuit for the three-phase AC voltage input and output signals, and using a unique circuit structure to achieve synchronous processing of signals, the problem of asynchronous input and output signals in the existing technology is solved, and accurate frequency measurement and control.
Patent Information
- Application Number
- CN202410580592.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-11
- Publication Date
- 2024-10-01
AI Technical Summary
When existing distribution network automation control equipment processes AC voltage signals, there is a problem that the input and output signals are not synchronized, especially when harmonic interference is large, resulting in inaccurate frequency measurement and signal distortion.
A real-time synchronous zero-crossing flipping circuit for three-phase AC voltage input and output signals is designed, including a three-phase step-down circuit, a current-type voltage transformer isolation circuit, a front-end signal limiting protection circuit, an integral filter flipping circuit, and a two-pole filter phase shifter. Circuit and square wave hysteresis generating circuit, through these circuits, signal synchronization processing is realized to ensure that the input and output signals are synchronized on the waveform reversal.
It achieves effective selection of input signals, filters out clutter signals, ensures the synchronous zero-crossing flip of input sine waves and output square waves, achieves precise frequency measurement and control, and solves the problem of phase errors in signal processing.
Smart Images

Figure CN118731469A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of AC voltage zero-crossing detection, and in particular to a three-phase AC voltage input and output signal real-time synchronous zero-crossing flip circuit and system. Background Art
[0002] The frequency detection in the existing distribution network automation control equipment is divided into software frequency measurement and hardware frequency measurement. In the hardware frequency measurement, the waveform will be adjusted to a square wave for detection. In the actual waveform processing, there is a situation where the waveform and the square wave are not synchronized. The existing distribution network automation control equipment changes the phase of the waveform while filtering, causing the signal to advance or lag in time, resulting in that when processing the square wave signal, the AC signal at the moment is not processed. In the case of large harmonic interference, the square wave is inaccurate, and the useful signal is distorted, resulting in inaccurate frequency measurement. That is, the input voltage signal and the output square wave cannot be guaranteed to be synchronously flipped in real time. The phase of the input signal is changed during the signal processing. At the same time, the flip level of the voltage zero crossing point has deviations, low accuracy, and too large an angle during flipping. It is not flipped in real time at the zero crossing point, and the input and output signals are not synchronized in waveform flipping.
[0003] The existing AC voltage zero-crossing detection technology causes the phase of the original waveform to change due to filtering when there is a lot of harmonic interference, and the input signal and the output waveform cannot be synchronously flipped through the zero point, resulting in inaccurate frequency measurement and control. This is because most of the frequency acquisition in the power industry currently does not handle harmonics well enough, and the circuits are relatively simple, with some using optocouplers, some using a single square wave generation, and some using a single filtering method to process waveforms; while filtering, the phase change of the waveform is not taken into account, and the harmonics of the waveform are not handled well. In the case of large harmonic interference, useful waveforms cannot be effectively processed, resulting in waveform outputs of different frequencies, inaccurate zero-crossing flips at the back end, and the final output waveform cannot be synchronously flipped with the input waveform.
[0004] In view of this, this application is filed. Summary of the invention
[0005] The present invention provides a three-phase AC voltage input and output signal real-time synchronous zero-crossing flip circuit and system, which can at least partially improve the above-mentioned problem.
[0006] To achieve the above object, the present invention adopts the following technical solutions: A three-phase AC voltage input and output signal real-time synchronous zero-crossing flip circuit, comprising: a three-phase step-down circuit, a current-type voltage transformer isolation circuit, a front-end signal limit protection circuit, an integral filter flip circuit, a two-pole filter phase shift circuit, and a square wave hysteresis generation circuit; Wherein, the input end of the three-phase step-down circuit is electrically connected to the signal source, the output end of the three-phase step-down circuit is electrically connected to the input end of the current-type voltage transformer isolation circuit, the output end of the current-type voltage transformer isolation circuit is electrically connected to the input end of the front-end signal amplitude limiting protection circuit, the output end of the front-end signal amplitude limiting protection circuit is electrically connected to the input end of the integral filter flip circuit, the output end of the integral filter flip circuit is electrically connected to the input end of the two-pole filter phase shift circuit, the output end of the two-pole filter phase shift circuit is electrically connected to the input end of the square wave hysteresis generating circuit, and the output end of the square wave hysteresis generating circuit is used to connect to the interrupt pin of an external computer CPU; The three-phase step-down circuit is configured to divide the strong sinusoidal voltage signal input by the signal source through a resistor to adjust and obtain a weak voltage signal; The current-type voltage transformer isolation circuit is configured to isolate the current signal after the voltage is stepped down by the three-phase step-down circuit; The front-end signal limiting protection circuit is configured to protect the circuit to prevent a large voltage from damaging the back-end circuit; The integral filter flipping circuit is configured to flip the positive and negative half-waves of the AC waveform of the current signal; The two-pole filtering phase shift circuit is configured to perform two 90-degree phase shifts on the flipped waveform signal; The square wave hysteresis generating circuit is configured to output a square wave signal corresponding to a waveform signal that is twice 90 degrees phase shifted.
[0007] The present invention also provides a three-phase AC voltage input and output signal real-time synchronous zero-crossing flip system, which includes a signal source, a computer CPU and the three-phase AC voltage input and output signal real-time synchronous zero-crossing flip circuit as described above, the input end of the three-phase step-down circuit is electrically connected to the signal source, and the output end of the square wave hysteresis generating circuit is connected to the interrupt pin of the computer CPU.
[0008] In summary, the three-phase AC voltage input and output signal real-time synchronous zero-crossing flip circuit is designed with a unique three-phase step-down circuit, a current-type voltage transformer isolation circuit, a front-end signal limiting protection circuit, an integral filter flip circuit, a two-pole filter phase shift circuit, and a square wave hysteresis generation circuit. The square wave signal is pulled up for processing, so that the input signal is effectively selected, the useful signal is perfectly retained, and the clutter signal is filtered out. The input sine wave and the output square wave are synchronously flipped through zero points. The frequency can be accurately calculated by monitoring the square wave signal to achieve precise control. Through actual testing, the synchronous monitoring of the input voltage signal and the output square wave is realized. After filtering and flipping, and two filtering phase shifts, the input signal and the output square wave are synchronized in real time in signal processing. There is no phase error. The front-end input and the back-end output are synchronously flipped, which truly realizes that the corresponding AC voltage signal at the moment is processed when the square wave is processed, which is of great significance in the field of AC power control. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] Figure 1 A zero-crossing square wave generating circuit provided by an embodiment of the present invention; Figure 2 It is a schematic diagram of simulation waveform input and output provided by an embodiment of the present invention; Figure 3 is an input and output synchronization waveform diagram provided by an embodiment of the present invention; Figure 4 is a schematic diagram of a three-phase step-down circuit provided by an embodiment of the present invention; Figure 5 It is a schematic diagram of the OP4177 precision operational amplifier provided by an embodiment of the present invention; Figure 6 Schematic diagram of the LM339 differential comparator provided by an embodiment of the present invention; Figure 7 It is a performance diagram of superimposing different harmonics provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0010] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0011] refer to Figure 1 , Figure 4 As shown, the first embodiment of the present invention discloses a three-phase AC voltage input and output signal real-time synchronous zero-crossing flip circuit, which includes: a three-phase step-down circuit, a current-type voltage transformer isolation circuit, a front-end signal limiting protection circuit, an integral filter flip circuit, a two-pole filter phase shift circuit, and a square wave hysteresis generation circuit; Wherein, the input end of the three-phase step-down circuit is electrically connected to the signal source, the output end of the three-phase step-down circuit is electrically connected to the input end of the current-type voltage transformer isolation circuit, the output end of the current-type voltage transformer isolation circuit is electrically connected to the input end of the front-end signal amplitude limiting protection circuit, the output end of the front-end signal amplitude limiting protection circuit is electrically connected to the input end of the integral filter flip circuit, the output end of the integral filter flip circuit is electrically connected to the input end of the two-pole filter phase shift circuit, the output end of the two-pole filter phase shift circuit is electrically connected to the input end of the square wave hysteresis generating circuit, and the output end of the square wave hysteresis generating circuit is used to connect to the interrupt pin of an external computer CPU; The three-phase step-down circuit is configured to divide the strong sinusoidal voltage signal input by the signal source through a resistor to adjust and obtain a weak voltage signal; The current-type voltage transformer isolation circuit is configured to isolate the current signal after the voltage is stepped down by the three-phase step-down circuit; The front-end signal limiting protection circuit is configured to protect the circuit to prevent a large voltage from damaging the back-end circuit; The integral filter flipping circuit is configured to flip the positive and negative half-waves of the AC waveform of the current signal; The two-pole filtering phase shift circuit is configured to perform two 90-degree phase shifts on the flipped waveform signal; The square wave hysteresis generating circuit is configured to output a square wave signal corresponding to a waveform signal that is twice 90 degrees phase shifted.
[0012] Preferably, the three-phase step-down circuit includes a twelfth resistor, a thirteenth resistor, a fourteenth resistor, a fifteenth resistor, a sixteenth resistor, a seventeenth resistor, an eighteenth resistor, a nineteenth resistor, and a twentieth resistor, wherein the twelfth resistor, the thirteenth resistor, and the fourteenth resistor are connected in series with the first end of the signal source and the first end of the current-type voltage transformer isolation circuit, the fifteenth resistor, the sixteenth resistor, and the seventeenth resistor are connected in series with the second end of the signal source and the second end of the current-type voltage transformer isolation circuit, the eighteenth resistor, the nineteenth resistor, and the twentieth resistor are connected in series with the third end of the signal source and the third end of the current-type voltage transformer isolation circuit, the first end of the signal source is connected to the fourth end of the current-type voltage transformer isolation circuit, the second end of the signal source is connected to the fifth end of the current-type voltage transformer isolation circuit, and the third end of the signal source is connected to the sixth end of the current-type voltage transformer isolation circuit.
[0013] In this embodiment, the strong sinusoidal voltage signal input by the signal source is processed by the weak signal of the three-phase buck circuit, and the filtering phase shifting circuit and square wave generating circuit at the back end are exactly the same as those processed by the three-phase buck circuit.
[0014] Preferably, the current-type voltage transformer isolation circuit includes a first transformer, a second transformer, and a third transformer, the first end of the first transformer is connected to the twelfth resistor, the second end of the first transformer is connected to the third end of the signal source, the first end of the second transformer is connected to the fifteenth resistor, the second end of the second transformer is connected to the first end of the signal source, the first end of the third transformer is connected to the eighteenth resistor, the second end of the third transformer is connected to the second end of the signal source, the first transformer, the second transformer, and the third transformer are connected to the front-end signal limiting protection circuit, wherein the model of the first transformer, the second transformer, and the third transformer is TR3121CH current-type voltage transformer.
[0015] Preferably, the front-end signal limiting protection circuit includes a first switch tube and a second switch tube, the cathode of the first switch tube and the anode of the second switch tube are connected to the seventh end of the current-type voltage transformer isolation circuit, the anode of the first switch tube and the cathode of the second switch tube are connected to the eighth end of the current-type voltage transformer isolation circuit and the integral filter flipping circuit, and the models of the first switch tube and the second switch tube are 1N60 switching diodes.
[0016] Preferably, the integral filter flipping circuit includes a first operational amplifier, a first resistor, and a first capacitor, wherein the positive input terminal of the first operational amplifier is grounded, the negative input terminal of the first operational amplifier is connected to the front-end signal limiting protection circuit, the first resistor is connected in parallel with the first capacitor, the first parallel terminal is connected to the negative input terminal of the first operational amplifier, the output terminal of the first operational amplifier is connected to the second parallel terminal and the two-pole filter phase shift circuit, and the model of the first operational amplifier is OP4177AR operational amplifier.
[0017] See also Figure 5 In this embodiment, the front end uses a resistor divider to convert the strong signal into a weak current signal, and performs TR3121CH voltage transformer isolation. The voltage divider resistor uses a 100K / 2W resistor. The calculation is as follows: According to the formula I=U / R Ohm's law, the signal strength is calculated, I=100 / 300000=0.333333mA; the voltage signal strength is obtained through the integral filter circuit: U=0.333333mA*2.49K=0.83V. Subsequently, the strong voltage signal is converted into a weak voltage signal, and the positive and negative half-waves of the AC waveform are flipped through the OP4177AR operational amplifier and the integral amplifier circuit to find the zero-crossing point where the voltage flips from the positive half-wave to 0. The original analog waveform after the voltage transformer is Figure 2 As shown in 3.
[0018] Among them, two 1N60 switching diodes are used after the mutual inductor. The role of the switching diode is to protect the circuit and limit the large voltage from damaging the back-end circuit. The parameters of 1N60 are described in Table 1: Table 1 1N60 switching diode parameters
[0019] Table 2 OP4177 precision op amp characteristics
[0020] Preferably, the two-pole filtering phase shift circuit comprises a first-stage filtering phase shift circuit of 90 degrees and a second-stage filtering phase shift circuit of 90 degrees, the input end of the first-stage filtering phase shift circuit of 90 degrees is connected to the output end of the integral filtering flip circuit, the output end of the first-stage filtering phase shift circuit of 90 degrees is connected to the input end of the second-stage filtering phase shift circuit of 90 degrees, and the output end of the second-stage filtering phase shift circuit of 90 degrees is connected to the input end of the square wave hysteresis generating circuit; The second operational amplifier of the first-stage filtering 90-degree phase shift circuit is configured to perform a first 90-degree phase shift on the flipped waveform signal, wherein the model of the second operational amplifier is an OP4177AR operational amplifier; The third operational amplifier of the second-stage filtering 90-degree phase shift circuit is configured to perform a second 90-degree phase shift on the flipped waveform signal, wherein the model of the third operational amplifier is an OP4177AR operational amplifier.
[0021] In this embodiment, after integration and amplification, it enters the first-stage filtering phase shift circuit to produce a 90-degree phase shift. Figure 2 2 in 3 is the waveform after the original waveform is phase shifted by 90 degrees. The first stage filter phase shift circuit uses OP4177AR high-precision operational amplifier. This operational amplifier has low offset voltage (maximum 60uv), low input bias current 2nA (maximum), low noise and other characteristics, which can play a good role in filtering and accurate phase shifting. Further enter the second stage filter phase shift circuit for secondary phase shift of 90 degrees, Figure 2 The waveform 1 in the figure is filtered and phase shifted twice. Figure 2 The original waveform 3 in the image is overlapped, thereby achieving the restoration of the waveform after amplification, filtering and phase shifting.
[0022] Preferably, the square wave hysteresis generating circuit includes a third diode and a comparator, wherein the cathode of the third diode is connected to the two-pole filtering phase shift circuit and the negative input terminal of the comparator, the anode of the third diode and the positive input terminal of the comparator are grounded, the output terminal of the comparator is connected to the interrupt pin of the external computer CPU, the model of the third diode is a 1N60 switching diode, and the model of the comparator is an LM339 comparator.
[0023] Preferably, the square wave hysteresis generating circuit further includes a 3.3V pull-up circuit, and the output end of the comparator is connected to the 3.3V pull-up circuit, wherein the 3.3V pull-up circuit is configured to ensure the stability of the output signal.
[0024] See also Figure 6 In this embodiment, the processed waveform passes through the third diode, and only the waveform of the second half cycle passes, and the waveform of the first half cycle is cut off; its reverse recovery speed is 1ns, which can quickly select the waveform, achieve perfect retention of the voltage zero point, and retain the waveform intact. Further, the square wave generator constructed by the LM339 comparator needs to be pulled up with a 3.3V voltage at the back end of the square wave generator to achieve the output of the square wave signal. The 3.3V pull-up at the back end of the square wave generator produces a lower hysteresis voltage (16.5mv) according to the circuit design. Calculate the hysteresis voltage: 3.3 / 620=0.5%; 3.3*0.5%=16.5mv.
[0025] In this embodiment, the back-end square wave output and the front-end signal input are as follows Figure 3 The square wave and sine wave in Figure 3 The 1 in is the sine wave and input signal, Figure 3 2 in the figure is the generated square wave. It can be seen from the figure that the square wave is generated just near the voltage zero crossing, and it flips to generate a high level just at the zero crossing point. It can be seen from the input and output waveforms that the flipping of the waveform has achieved synchronization. After filtering and amplification circuits, this circuit not only handles the noise interference, but also retains the useful waveform. Finally, after the 3.3V pull-up, the square wave enters the interrupt pin of the CPU for other related calculations.
[0026] The three-phase AC voltage input and output signals are synchronized with the zero-crossing flip circuit in real time, so that the waveform can be synchronously flipped. By monitoring the changes in high and low levels, relevant control can be accurately performed according to the changes in voltage. Figure 4 The processing of weak signals in the three-phase voltage loop, the filtering phase shifting circuit and the square wave generating circuit at the back end and Figure 1 The circuit in the three-phase circuit is exactly the same. Further superposition of 3rd, 5th, 7th, and 9th harmonics of different frequencies, after filtering and phase shifting, retains the useful waveform of low frequency and removes interference. Figure 7 The 1 in is the waveform after superposition. Figure 7 2 in the figure is the waveform after filtering and phase shifting, which retains the useful 50HZ waveform and completes the flip near the zero point through the square wave circuit. Figure 7 The 3 in the figure is a square wave. The above circuit can accurately generate square waves in a relatively large harmonic environment to measure frequency and perform related control. Similarly, if the useful waveforms are changed to 40HZ, 60HZ, 70HZ, and 90HZ, the useful waveforms can also be accurately separated. Due to the bandpass characteristics of the filter phase shift circuit in this circuit, waveforms above 100HZ cannot pass. Figure 1 The frequency characteristic of the filter phase shift circuit is calculated as follows: fc = 1 / (2π√(R10R11C6C7))=1 / (2π√(442*220*4.7*22*0.0000000000001))=50.1932HZ. The center frequency band of this circuit is about 50HZ. Frequencies above the second harmonic will be attenuated and filtered out, retaining useful frequencies.
[0027] Table 3 LM339 differential comparator characteristic parameters
[0028] In summary, the three-phase AC voltage input and output signal real-time synchronous zero-crossing flip circuit reduces the voltage of the strong sinusoidal voltage signal, performs integral filtering, two-order filtering phase shifting, square wave generation, and back-end pull-up to enter the CPU interrupt operation, thereby perfectly realizing the synchronous flipping of the useful sinusoidal wave to form a square wave. By monitoring the square wave, the frequency measurement and related control operations can be accurately performed according to the voltage changes.
[0029] In this embodiment, in order to further explain the function of the three-phase AC voltage input and output signal real-time synchronous zero-crossing flip circuit, the signal processing of a loop is taken as an example for description.
[0030] The 100V voltage is divided by resistors and adjusted to a small signal current. After isolation by the current-type voltage transformer, it becomes a small signal and enters the back-end processing circuit. The small signal is amplified, filtered, and flipped through the integration circuit to form a processed weak voltage signal. The weak voltage signal passes through the first-stage filtering phase-shifting circuit, and the processed waveform produces a 90-degree phase shift; the voltage signal passes through the second-stage filtering phase-shifting circuit, and the processed waveform produces another 90-degree phase shift; At this point, the signal has been flipped at one level and shifted twice, achieving signal processing, the signal has been purified, and the original useful signal has been restored without distortion.
[0031] The restored signal is gated by the 1N60 switching diode to achieve the gate of the upper and lower half waves; the signal passes through the square wave generator, and is pulled up at the rear end outlet, and through the low hysteresis circuit design, it is converted from a sine wave to a square wave output; through the input and output signals, the waveform is formed into a square wave at the zero crossing point in the circuit. Similarly, the methods of the other two circuits are the same as the above examples. Since the input and output waveforms are synchronized, the three-phase voltage signal will not be changed, and accurate analysis and control can be achieved based on signal monitoring.
[0032] In summary, the three-phase AC voltage input and output signal real-time synchronous zero-crossing flip circuit has a good auxiliary effect on industrial power signal acquisition, frequency measurement, and electronic switch switching. By designing the voltage reduction, limit protection, filtering, phase shifting, square wave generation and other circuits of the hardware circuit, the original useful signal is restored after perfect filtering in the complex environment of different harmonics, and accurate synchronous control is achieved by analyzing the square wave signal. In short, the three-phase AC voltage input and output signal real-time synchronous zero-crossing flip circuit performs relevant processing on the input waveform by designing a unique circuit, retains the useful signal, and the final output waveform and input waveform achieve real-time synchronous flipping through signal monitoring, and finally realizes accurate measurement of the signal; that is, through this circuit, a large signal can be converted into a small signal, and through filtering and phase shifting, it can achieve accurate flipping when the voltage drops from positive to zero, and achieve synchronous flipping of the input AC waveform and the output square wave. This circuit is to highlight the input and output synchronization of the signal and solve the phase error existing in practice.
[0033] The second embodiment of the present invention discloses a three-phase AC voltage input and output signal real-time synchronous zero-crossing flip system, which includes a signal source, a computer CPU and a three-phase AC voltage input and output signal real-time synchronous zero-crossing flip circuit as described in any one of the above items, the input end of the three-phase step-down circuit is electrically connected to the signal source, and the output end of the square wave hysteresis generating circuit is connected to the interrupt pin of the computer CPU.
[0034] Exemplarily, the above-mentioned devices and process steps can be implemented by a computer program. The computer program can be divided into one or more units. The one or more units are stored in the memory and executed by the processor to complete the present invention.
[0035] The processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0036] The memory can be used to store the computer program and / or module, and the processor realizes various functions of the present invention by running or executing the computer program and / or module stored in the memory, and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (FlashCard), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0037] Wherein, if the electronic device or printer integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Wherein, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0038] It should be noted that the device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the accompanying drawings of the device embodiments provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines. A person of ordinary skill in the art may understand and implement it without paying any creative effort.
[0039] The above is a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.
Claims
1. A three-phase AC voltage input and output signal real-time synchronous zero-crossing flip circuit, characterized in that: include: Three-phase step-down circuit, current-type voltage transformer isolation circuit, front-end signal limiting protection circuit, integral filter flip circuit, two-pole filter phase shift circuit, and square wave hysteresis generation circuit; Wherein, the input end of the three-phase step-down circuit is electrically connected to the signal source, the output end of the three-phase step-down circuit is electrically connected to the input end of the current-type voltage transformer isolation circuit, the output end of the current-type voltage transformer isolation circuit is electrically connected to the input end of the front-end signal amplitude limiting protection circuit, the output end of the front-end signal amplitude limiting protection circuit is electrically connected to the input end of the integral filter flip circuit, the output end of the integral filter flip circuit is electrically connected to the input end of the two-pole filter phase shift circuit, the output end of the two-pole filter phase shift circuit is electrically connected to the input end of the square wave hysteresis generating circuit, and the output end of the square wave hysteresis generating circuit is used to connect to the interrupt pin of an external computer CPU; The three-phase step-down circuit is configured to divide the strong sinusoidal voltage signal input by the signal source through a resistor to adjust and obtain a weak voltage signal; The current-type voltage transformer isolation circuit is configured to isolate the current signal after the voltage is stepped down by the three-phase step-down circuit; The front-end signal limiting protection circuit is configured to protect the circuit to prevent a large voltage from damaging the back-end circuit; The integral filter flipping circuit is configured to flip the positive and negative half-waves of the AC waveform of the current signal; The two-pole filtering phase shift circuit is configured to perform two 90-degree phase shifts on the flipped waveform signal; The square wave hysteresis generating circuit is configured to output a square wave signal corresponding to a waveform signal that is twice 90 degrees phase shifted.
2. The three-phase AC voltage input and output signal real-time synchronous zero-crossing flip circuit according to claim 1, characterized in that: The three-phase step-down circuit includes a twelfth resistor, a thirteenth resistor, a fourteenth resistor, a fifteenth resistor, a sixteenth resistor, a seventeenth resistor, an eighteenth resistor, a nineteenth resistor, and a twentieth resistor, wherein the twelfth resistor, the thirteenth resistor, and the fourteenth resistor are connected in series with the first end of the signal source and the first end of the current-type voltage transformer isolation circuit, the fifteenth resistor, the sixteenth resistor, and the seventeenth resistor are connected in series with the second end of the signal source and the second end of the current-type voltage transformer isolation circuit, the eighteenth resistor, the nineteenth resistor, and the twentieth resistor are connected in series with the third end of the signal source and the third end of the current-type voltage transformer isolation circuit, the first end of the signal source is connected to the fourth end of the current-type voltage transformer isolation circuit, the second end of the signal source is connected to the fifth end of the current-type voltage transformer isolation circuit, and the third end of the signal source is connected to the sixth end of the current-type voltage transformer isolation circuit.
3. The three-phase AC voltage input and output signal real-time synchronous zero-crossing flip circuit according to claim 2, characterized in that: The current-type voltage transformer isolation circuit includes a first transformer, a second transformer, and a third transformer. The first end of the first transformer is connected to the twelfth resistor, the second end of the first transformer is connected to the third end of the signal source, the first end of the second transformer is connected to the fifteenth resistor, the second end of the second transformer is connected to the first end of the signal source, the first end of the third transformer is connected to the eighteenth resistor, the second end of the third transformer is connected to the second end of the signal source, the first transformer, the second transformer, and the third transformer are connected to the front-end signal limiting protection circuit, wherein the model of the first transformer, the second transformer, and the third transformer is TR3121CH current-type voltage transformer.
4. The three-phase AC voltage input and output signal real-time synchronous zero-crossing flip circuit according to claim 1, characterized in that: The front-end signal limiting protection circuit includes a first switch tube and a second switch tube. The negative electrode of the first switch tube and the positive electrode of the second switch tube are connected to the seventh end of the current-type voltage transformer isolation circuit. The positive electrode of the first switch tube and the negative electrode of the second switch tube are connected to the eighth end of the current-type voltage transformer isolation circuit and the integral filter flipping circuit. The models of the first switch tube and the second switch tube are 1N60 switching diodes.
5. The three-phase AC voltage input and output signal real-time synchronous zero-crossing flip circuit according to claim 1, characterized in that: The integral filter flipping circuit includes a first operational amplifier, a first resistor, and a first capacitor, wherein the positive input terminal of the first operational amplifier is grounded, the negative input terminal of the first operational amplifier is connected to the front-end signal limiting protection circuit, the first resistor is connected in parallel with the first capacitor, the first parallel terminal is connected to the negative input terminal of the first operational amplifier, the output terminal of the first operational amplifier is connected to the second parallel terminal and the two-pole filter phase shift circuit, and the model of the first operational amplifier is OP4177AR operational amplifier.
6. The three-phase AC voltage input and output signal real-time synchronous zero-crossing flip circuit according to claim 1, characterized in that: The two-pole filtering phase shift circuit comprises a first-stage filtering phase shift circuit of 90 degrees and a second-stage filtering phase shift circuit of 90 degrees, the input end of the first-stage filtering phase shift circuit of 90 degrees is connected to the output end of the integral filtering flip circuit, the output end of the first-stage filtering phase shift circuit of 90 degrees is connected to the input end of the second-stage filtering phase shift circuit of 90 degrees, and the output end of the second-stage filtering phase shift circuit of 90 degrees is connected to the input end of the square wave hysteresis generating circuit; The second operational amplifier of the first-stage filtering 90-degree phase shift circuit is configured to perform a first 90-degree phase shift on the flipped waveform signal, wherein the model of the second operational amplifier is an OP4177AR operational amplifier; The third operational amplifier of the second-stage filtering 90-degree phase shift circuit is configured to perform a second 90-degree phase shift on the flipped waveform signal, wherein the model of the third operational amplifier is an OP4177AR operational amplifier.
7. The three-phase AC voltage input and output signal real-time synchronous zero-crossing flip circuit according to claim 1, characterized in that: The square wave hysteresis generating circuit includes a third diode and a comparator, wherein the cathode of the third diode is connected to the two-pole filtering phase shifting circuit and the negative input terminal of the comparator, the anode of the third diode and the positive input terminal of the comparator are grounded, the output terminal of the comparator is connected to the interrupt pin of the external computer CPU, the model of the third diode is a 1N60 switching diode, and the model of the comparator is an LM339 comparator.
8. The three-phase AC voltage input and output signal real-time synchronous zero-crossing flip circuit according to claim 7, characterized in that: The square wave hysteresis generating circuit further includes a 3.3V pull-up circuit, and the output end of the comparator is connected to the 3.3V pull-up circuit, wherein the 3.3V pull-up circuit is configured to ensure the stability of the output signal.
9. A three-phase AC voltage input and output signal real-time synchronous zero-crossing flip system, characterized in that: It comprises a signal source, a computer CPU and a three-phase AC voltage input and output signal real-time synchronous zero-crossing flip circuit as claimed in any one of claims 1 to 8, wherein the input end of the three-phase step-down circuit is electrically connected to the signal source, and the output end of the square wave hysteresis generating circuit is connected to the interrupt pin of the computer CPU.
