Interactive phase-fixed closing device and method
Through the interactive phase-locking closing device, the phase-locking closing algorithm and Parker transformation module are used to achieve high-precision phase adjustment, solving the problems of low phase adjustment accuracy, large volume and high price in the prior art, and providing a small and economical phase adjustment solution.
Patent Information
- Application Number
- CN202411008933.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-26
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2044-07-26
AI Technical Summary
The existing phase adjustment power supplies have defects in accuracy, volume and price, with low adjustment accuracy, large volume, large internal resistance and high price.
An interactive phase-fixed closing device is designed, including a rectifier module, ADC analog-to-digital conversion module, main control chip, interactive control module and solid-state relay module. Accurate phase adjustment is achieved through phase-locking closing algorithm and Parker conversion module, and solid-state The relay module performs DC-AC DC-controlled AC type closing operation.
High-precision phase adjustment is achieved, and the problems of low accuracy, large volume and high price in the prior art are overcome. The device is small in size and low in price, and is suitable for a variety of experimental environments.
Smart Images

Figure CN118538572B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of power supply phase regulation, and in particular to an interactive phase-fixed closing device. Background Art
[0002] In an AC circuit, the initial phase angle of the power signal has an important influence on the working state of the circuit. For example, a larger conduction angle will bring more high-order harmonics and electromagnetic interference. For some sensitive loads, such as motors or other inductive loads, different conduction angles will affect their starting characteristics and operating conditions. Different electrical equipment has different requirements for the initial phase angle of AC power, so it is necessary to equip a power supply with a phase adjustment function. Existing power supplies with phase adjustment function either use a closing system based on the meter reading method to modulate the initial phase angle of the power supply, but the accuracy of this adjustment method is very low; or use a phase-adjusting power supply based on an inverter, but this phase-adjusting power supply is usually large in size, has a large internal resistance, and is expensive. Summary of the invention
[0003] The object of the present invention is to provide an interactive phase-fixed closing device and method, which can set the initial phase of the input power supply, and realize the phase-fixed closing function by using highly integrated, small and low-cost devices with high adjustment accuracy, thus overcoming the defects of the existing phase-regulated power supply such as low adjustment accuracy, large size, large internal resistance and high price.
[0004] A technical solution adopted by the present invention is: an interactive phase-fixed closing device, including a rectifier module, an ADC analog-to-digital conversion module, a main control chip, an interactive control module and a solid-state relay module; the rectifier module is used to rectify the voltage signal input in the main circuit, including a power chip, a current source, a linear regulator, an isolated amplifier and an operational amplifier, the output end of the power chip is connected to the input end of the current source, the input end of the isolated amplifier is connected to the output end of the current source, and the output end is connected to the input end of the operational amplifier and the output end of the linear regulator; the input end of the ADC analog-to-digital conversion module is connected to the rectifier module, and the output end is connected to the main control chip, which is used to convert the voltage signal output by the rectifier module after rectification into a discrete digital signal and transmit it to the main control chip; the interactive control module is used to interact with the user, including a display screen, an encoder and a button, and the display screen, the encoder and the button are all connected to the main control chip; the DC port of the solid-state relay module is connected to the main control chip, and the AC port is connected to the main circuit, which is used to execute the control instructions of the main control chip.
[0005] Furthermore, the power chip isolates the voltage signal input in the main circuit, and outputs the isolated voltage signal to power the current source, linear regulator, isolated amplifier and operational amplifier; the current source forms two output terminals through an external voltage-regulating diode and a voltage-dividing resistor, which are denoted as port S1 and port S2, and generates a sine wave at port S1 and port S2; the input terminal of the isolated amplifier is connected to port S1 and port S2, and the output terminal of the isolated amplifier is denoted as port S3, which is connected to the input terminal of the operational amplifier and the output terminal of the linear regulator; the linear regulator filters the voltage signal input in the main circuit through an external capacitor and performs voltage conversion, and the output voltage is stabilized by an external circuit composed of capacitors, and then connected to port S3 to power the operational amplifier.
[0006] Furthermore, the main control chip operates the digital signal converted by the ADC analog-to-digital conversion module through a phase-locked closing algorithm. The specific process is: the digital signal obtains two voltage signals through the orthogonal signal generator OSG, one of which is a voltage signal. The waveform is in phase with the digital signal converted by the ADC analog-to-digital conversion module. The waveform lags behind the digital signal converted by the ADC analog-to-digital conversion module by 90°; the voltage signal and voltage signal Input Park Transform module to make the voltage signal and voltage signal The signal on the XY axis is converted into the signal on the DQ axis; the phase lock is completed through the feedback of the loop filter LPF and the voltage-controlled oscillator VCO, and the frequency and phase information of the main circuit voltage are obtained according to the change of the angle between the D axis and the original X axis. The correct closing angle is determined by the closing algorithm, and the control signal is output to the solid-state relay module to complete the closing.
[0007] Furthermore, it also includes a dual MOS driving module, which is a dual MOS tube electronic switch. The control end of the dual MOS tube electronic switch is connected to the output end of the main control chip, and the driving end is connected to the DC port of the solid-state relay module.
[0008] Another technical solution adopted by the present invention is a phase-fixed closing method, which uses the interactive phase-fixed closing device described in the above technical solution to perform a closing operation, comprising the following steps:
[0009] S1: Use the rectifier module to rectify the voltage signal input in the main circuit, use the ADC analog-to-digital conversion module to convert the voltage signal output after rectification by the rectifier module into a discrete digital signal, and transmit it to the main control chip;
[0010] S2: The main control chip operates the digital signal converted by the ADC analog-to-digital conversion module through a phase-locked closing algorithm. The phase-locked closing algorithm includes a phase-locked loop algorithm and a closing algorithm. The specific steps are as follows:
[0011] S201: Establish a digital phase-locked loop through a phase-locked algorithm to obtain the frequency and phase information of the main circuit voltage. The specific process is: the digital signal is used to obtain two voltage signals through an orthogonal signal generator OSG, one of which is a voltage signal The waveform is in phase with the digital signal converted by the ADC analog-to-digital conversion module. The waveform lags behind the digital signal converted by the ADC analog-to-digital conversion module by 90°; the voltage signal and voltage signal Input Park Transform module to make the voltage signal and voltage signal Convert the signal on the XY axis to the signal on the DQ axis; complete phase locking through the feedback of the loop filter LPF and the voltage-controlled oscillator VCO, and obtain the frequency and phase information of the main loop voltage according to the change of the angle between the D axis and the original X axis;
[0012] S202: The correct closing angle is determined by the closing algorithm, and a control signal is output to the solid-state relay module to complete the closing. The specific process is: the angle between the D axis and the X axis , the cumulative number of times and the delay time are preset; determine whether the button in the interactive control module is pressed, and when the button is pressed, the angle between the D axis and the X axis When the set value is reached, the count value in the closing algorithm is i After the set number of accumulations is completed, the delay is performed according to the set delay time. After the delay is completed, a closing command is sent to the solid-state relay module to complete the closing.
[0013] Furthermore, after the digital signal passes through the orthogonal signal generator OSG, two transfer functions can be obtained: , ,in, H v ( s ) indicates voltage signal The transfer function between the digital signal converted by the ADC analog-to-digital conversion module, V Represents the digital signal converted by the ADC analog-to-digital conversion module. K represents the gain of the system, represents the natural frequency, s represents the complex frequency, H qv ( s ) indicates the voltage signal The transfer function between the digital signal converted by the ADC analog-to-digital conversion module;
[0014] Use the discretization method to discretize, that is, , we can get:
[0015] ;
[0016] ;
[0017] in, z represents a complex variable, Represents the discretized transfer function H v ( s ), T s represents the sampling time, Represents the discretized transfer function H qv ( s );
[0018] The voltage signal and voltage signal Input the Park transform module, and according to the Park transform formula, we can get:
[0019] ;
[0020] ;
[0021] in, v v Indicates voltage signal The signal obtained after Park transformation is: v qv Indicates voltage signal The signal obtained after Park transformation is a voltage signal. As the X-axis of the stationary coordinate system, the voltage signal As the Y axis of the stationary coordinate system, represents the angle between signal 1 and the X-axis of the stationary coordinate system;
[0022] Ignoring the voltage amplitude of the digital signal converted by the ADC analog-to-digital conversion module, there is , ,Will , , Substitution v v and v qv The calculation formula is:
[0023] ;
[0024] ;
[0025] in, Indicates the calculated value of the angle between the D axis and the X axis. Indicates the angle between the D axis and the X axis. Available at a very young age , output the phase angle difference to the loop filter LPF;
[0026] The loop filter LPF and the voltage-controlled oscillator VCO together constitute a second-order control system. The phase angle information of the digital signal converted by the ADC analog-to-digital conversion module can be obtained through the loop filter LPF and the voltage-controlled oscillator VCO. Finally, the closing time when the system is most stable is determined by the closing algorithm. At the same time, the phase angle information of the digital signal converted by the ADC analog-to-digital conversion module will be fed back to the Park transformation module. The transfer function of the second-order control system is H ( s ) is expressed as:
[0027] ;
[0028] in, K p is the proportionality coefficient, K i is the integration coefficient.
[0029] The beneficial effects of the present invention are:
[0030] (1) The present invention can set the initial phase of the input power supply, effectively overcoming the defect of low initial phase angle accuracy of the power supply modulated by the closing system based on the meter reading method; through the built-in phase-locked closing algorithm of the main control chip, the output phase and frequency can track the input signal well, and the solid-state relay module can be controlled to perform corresponding actions through the output end of the main control chip at the set execution phase angle;
[0031] (2) The solid-state relay module used in the present invention is a DC-AC type, and the response time is 24us when the DC input voltage is 3.3V. For the 220V, 50Hz mains power in the main circuit, when the main control chip determines the phase angle at which the action is to be performed, it can cooperate with the built-in function in the main control chip to perform the operation at the same phase angle in the next power cycle, thereby reducing the impact of the device execution time on the system accuracy;
[0032] (3) The present invention can be centrally designed on a PCB board. The controller has a simple structure, is small in size and easy to install, and is suitable for a variety of experimental environments. The resistance value of the rectifier module can be replaced, allowing access to different main circuits to achieve experimental requirements of different rated voltages, effectively overcoming the defects of large size, large internal resistance and high price of the phase-regulated power supply based on the inverter. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0034] Figure 1 is a schematic diagram of the structure of a device according to an embodiment of the present invention;
[0035] Figure 2 is a circuit diagram of a rectifier module A in an embodiment of the present invention;
[0036] Figure 3 is a circuit diagram of the rectifier module B in an embodiment of the present invention;
[0037] Figure 4 is a circuit diagram of the rectifier module C part in an embodiment of the present invention;
[0038] Figure 5 is a circuit diagram of the rectifier module D part in an embodiment of the present invention;
[0039] Figure 6 is a circuit diagram of an interactive control module in an embodiment of the present invention;
[0040] Figure 7 A schematic diagram of the structure of a solid-state relay in an embodiment of the present invention;
[0041] Figure 8 This is a schematic diagram of the structure of the main control chip in an embodiment of the present invention;
[0042] Fig. 9 is a flow chart of a phase-locked loop algorithm in an embodiment of the present invention;
[0043] Fig.10 is a flow chart of a closing algorithm in an embodiment of the present invention;
[0044] Fig.11 A schematic diagram of the structure of a digital phase-locked loop in an embodiment of the present invention;
[0045] Fig.12 Schematic diagram of the structure of an orthogonal signal generator in an embodiment of the present invention;
[0046] Fig.13 This is a schematic diagram of the output waveform of the rectifier module in the embodiment of the present invention collected by an oscilloscope;
[0047] Fig.14 The figure is a phase comparison diagram of the output waveform of the rectifier module and the mains waveform in the embodiment of the present invention;
[0048] Fig.15 Schematic diagram of waveforms in a phase-locked state in an embodiment of the present invention;
[0049] Fig.16 The phase comparison diagram of the voltage waveform with an initial phase angle of 30° output in the embodiment of the present invention and the mains waveform;
[0050] Fig.17 The figure is a phase comparison diagram of a voltage waveform with an initial phase angle of 45° and a mains waveform output in an embodiment of the present invention;
[0051] Fig.18 The phase comparison diagram of the voltage waveform with an initial phase angle of 150° output in the embodiment of the present invention and the mains waveform;
[0052] Fig.19 It is a phase comparison diagram of the voltage waveform with an initial phase angle of 270° output in the embodiment of the present invention and the mains waveform. DETAILED DESCRIPTION
[0053] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention can also be implemented in other ways different from those described herein, and therefore, the present invention is not limited to the limitations of the specific embodiments disclosed below.
[0054] Unless otherwise defined, the technical or scientific terms used herein shall have the usual meanings understood by persons of ordinary skill in the field described in this application. The words "first", "second" and similar terms used in this patent application specification and claims do not indicate any order, quantity or importance, but are only used to distinguish different components. Similarly, words such as "one" or "an" do not indicate a quantity limitation, but indicate the existence of at least one. Words such as "connected" or "connected" are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the object being described changes, the relative positional relationship also changes accordingly.
[0055] like Figure 1As shown, an embodiment of the present invention provides an interactive phase-fixed closing device, including a rectifier module, an ADC analog-to-digital conversion module, a main control chip U6, an interactive control module and a solid-state relay module SSR. The rectifier module is used to rectify the voltage signal input in the main circuit. The rectifier module is divided into four parts, wherein part A includes a power chip U5, part B includes a current source U2, part C includes an isolation amplifier U3 and an operational amplifier U1, and part D includes a linear regulator U4; the output end of the power chip U5 is connected to the input end of the current source U2, the input end of the isolation amplifier U3 is connected to the output end of the current source U2, and the output end is connected to the input end of the operational amplifier U1 and the output end of the linear regulator U4. The input voltage of the rectifier module can be adjusted by Figure 3 The resistance values of the eighth resistor R8, the ninth resistor R9, the tenth resistor R10 and the eleventh resistor R11 in the circuit are changed. The input end of the ADC analog-to-digital conversion module is connected to the rectifier module, and the output end is connected to the main control chip U6, for converting the voltage signal output by the rectifier module after rectification into a discrete digital signal, and transmitting it to the main control chip U6. The interactive control module is used to interact with the user, including a display screen U7, an encoder U8 and a button SW, and the display screen U7, the encoder U8 and the button SW are all connected to the main control chip U6; the DC port of the solid-state relay module SSR is connected to the main control chip U6, and the AC port is connected to the main circuit, for executing the control instructions of the main control chip U6.
[0056] like Figure 2 As shown, part A of the rectifier module includes a power chip U5 and an epitaxial circuit composed of a capacitor and a voltage-stabilizing diode. The power chip U5 used in the embodiment of the present invention is an IB0505XT-W75R3 power chip. The VIN pin of the power chip U5 is connected to the external DC voltage VCC, and the external DC power supply VCC is a 5V DC power supply; the GND pin of the power chip U5 is grounded, and the 4.7uF eighteenth capacitor C18 and the nineteenth capacitor C19 are connected between the VIN pin and the GND pin of the power chip U5 for filtering; an isolated 5~6V DC voltage is generated between the +VO pin and the 0V pin of the power chip U5 to isolate the voltage signal input in the main circuit, and the isolated 5~6V DC voltage is used to power the subsequent current source U2 and the isolated amplifier U3, and the 4.7uF sixteenth capacitor C16 and the seventeenth capacitor C17 are also connected between the +VO pin and the 0V pin of the power chip U5 for filtering; the 0V pin of the power chip U5 serves as the isolation ground PGND, and a third voltage regulator diode D3 is also provided at the +VO pin, the NC pin of the power chip U5 is suspended, the anode of the third voltage regulator diode D3 is connected to the +VO pin, and the cathode serves as the output port of the rectifier module A part, that is, the isolated DC power supply PVCC.
[0057] like Figure 3 As shown, the B part of the rectifier module includes a current source U2 and an epitaxial circuit composed of a capacitor, a resistor and a voltage stabilizing diode. The current source U2 used in the embodiment of the present invention is a LT3092EST current source. The isolated DC power supply PVCC is connected to the IN pin of the current source U2 after being stabilized by the eleventh capacitor C11 of 0.1uF and the twelfth capacitor C12 of 1uF. The current source U2 generates a DC current of 10μA, and the eighth resistor R8 of 47kΩ and the tenth capacitor C10 of 0.1uF are connected in parallel to the SET pin of the current source U2. The eleventh resistor R11 of 470Ω, the tenth resistor R10 of 100Ω and the ninth resistor R9 of 100Ω are connected in parallel and connected to the two OUT pins of the current source U2. Under the joint action of the eighth resistor R8, the ninth resistor R9, the tenth resistor R10 and the eleventh resistor R11 and the tenth capacitor C10, the eleventh capacitor C11 and the twelfth capacitor C12, a current of 0.01A will flow through the second voltage zener diode D2, and the current will flow through the eighteenth resistor R18 of 100Ω to generate a DC voltage of 1V. The current input into the main circuit will flow through the thirteenth resistor R13 of 220kΩ, the fourteenth resistor R14, the fifteenth resistor R15, the sixteenth resistor R16 and the twelfth capacitor C17. A loop is formed among the resistor R16, the seventeenth resistor R17, the nineteenth resistor R19 and the 12th resistor R12 of 1.5kΩ, and an alternating current with an amplitude of 0.25V is formed on the twelfth resistor R12. After the superposition of the twelfth resistor R12 and the eighteenth resistor R18, a sine wave with an average value of 1V and a peak-to-peak value of 0.5V is generated at the S1 port and the S2 port. The fifteenth resistor R15 and the nineteenth resistor R19 are connected to the pin H7 and the pin H10 respectively.
[0058] like Figure 4As shown, the C part of the rectifier module includes an isolation amplifier U3, an operational amplifier U1, and an epitaxial circuit composed of a capacitor, a resistor, and a voltage-stabilizing diode. The isolation amplifier U3 used in the embodiment of the present invention is an ACPL-C870-000E isolation amplifier, and the operational amplifier U1 is an MCP6031T-E / OT operational amplifier. The SHDN pin of the isolation amplifier U3 is short-circuited with the GND1 pin and connected to the S2 port; the VIN pin of the isolation amplifier U3 is connected to the S1 port, and a 0.1uF third capacitor C3 and a voltage-stabilizing diode D1 are incorporated between the VIN pin and the SHDN pin of the isolation amplifier U3. The VDD1 pin of the isolated amplifier U3 is connected to the first 4.7kΩ resistor R1 and then to the isolated DC power supply PVCC. The first 0.1uF capacitor C1 and the second capacitor C2 are connected in parallel, and one end is connected to the VDD1 pin and the VIN pin of the isolated amplifier U3, and the other end is connected to the S2 port. A fourth capacitor C4 of 0.1uF and a fifth capacitor C5 of 0.01uF are connected in parallel between the VDD2 pin and the GND2 pin of the isolated amplifier U3. The GND2 pin of the isolated amplifier U3 is grounded. A second resistor R2 of 4.7kΩ is also connected to the VDD2 pin of the isolated amplifier U3. The other end of the second resistor R2 serves as the output port of the C part of the rectifier module, recorded as the S3 port.
[0059] The VOUT+ pin and VOUT- pin of the isolated amplifier U3 output waveforms identical to the sine waves at the S1 port and the S2 port. The VOUT+ pin of the isolated amplifier U3 is connected to the VIN+ pin of the operational amplifier U1 after being connected in series with the fourth resistor R4 of 10kΩ. The VOUT- pin of the isolated amplifier U3 is connected to the VIN- pin of the operational amplifier U1 after being connected in series with the third resistor R3 of 10K. The fifth resistor R5 of 10kΩ is connected in parallel with the sixth capacitor C6 of 0.1uF, and one end is connected to the fourth resistor R4, and the other end is grounded. The seventh capacitor C7 of 0.1uF and the eighth capacitor C8 of 0.01uF are connected in parallel, and one end is grounded, and the other end is connected to the sixth resistor R6 of 4.7kΩ and the VDD pin of the operational amplifier U1. The other end of the sixth resistor R6 is connected to the S3 port. The ninth capacitor C9 of 0.1uF and the seventh resistor R7 of 10kΩ are connected in parallel, and one end is connected to the VIN- pin of the operational amplifier U1, and the other end is connected to the VOUT pin of the operational amplifier U1. The VOUT pin of the operational amplifier U1 also serves as the S4 port of the rectifier module. The VSS pin of the operational amplifier U1 is shared with the GND, and the voltage with the same waveform as the VOUT+ pin and VOUT- pin of the isolated amplifier U3 is output at the VOUT pin of the operational amplifier U1.
[0060] like Figure 5As shown, the D part of the rectifier module includes a linear regulator U4 and an epitaxial circuit composed of a resistor, a capacitor and an indicator LED1. The linear regulator U4 used in the embodiment of the present invention is an AMS1117 linear regulator. The external DC voltage VCC is connected to the IN pin of the linear regulator U4 after filtering through the 20th capacitor C20 and the 21st capacitor C21 of 10uF, the 22nd capacitor C22 of 100nF and the 23rd capacitor C23 of 10nF in parallel. The other ends of the 20th capacitor C20, the 21st capacitor C21, the 22nd capacitor C22 and the 23rd capacitor C23 in parallel and the ADJ\GND pin of the linear regulator U4 are grounded. The two OUT pins of the linear regulator U4 are short-circuited, the 20th resistor R20 and the indicator LED1 are connected in series, and then connected in parallel with the 24th capacitor C24, the 25th capacitor C25 and the 26th capacitor C26 of 10uF and the 27th capacitor C27 and the 28th capacitor C28 of 100nF to form a filter circuit, the 20th resistor R20 of 470Ω and the indicator LED1 are connected in series and then connected in parallel to the filter circuit, the 20th resistor R20 is used for voltage division, the indicator LED1 is used to indicate the working state of the circuit, one end of the filter circuit is connected to the two short-circuited OUT pins of the linear regulator U4, and connected to the S3 port, and the other end is grounded. The OUT pin of the linear regulator U4 can provide a 3.3V DC voltage for the C part of the rectifier module.
[0061] The rectifier module is powered by part A, and the input voltage of the main circuit is input to part B to generate a sine wave with an average value of 1V and a peak-to-peak value of 0.5V. Part D provides a voltage of 3.3V for part C, and cooperates with part A to power part C. Finally, the voltage generated by part B is isolated by part C to obtain a voltage waveform identical to it, and output to the ADC analog-to-digital converter as a discrete digital signal transmitted to the main control chip U6. In the embodiment of the present invention, the ADC analog-to-digital conversion module is configured as follows: turn on the ADC clock; set the ADC clock to 6 divisions, 12MHz; set independent mode, software trigger, continuous disable, scan disable, and the number of channels to 1 in ADC initialization.
[0062] like Figure 6As shown, the display screen U7 used in the embodiment of the present invention is an OLED display screen, and the encoder U8 is an EC11 rotary encoder. The display screen U7 has four pins, wherein the VCC pin and the GND pin are respectively connected to the external DC voltage VCC and the ground, and the SCL pin and the SDA pin are connected to the main control chip U6. The encoder U8 has five pins, wherein the VCC pin and the GND pin are respectively connected to the external DC voltage VCC and the ground, the EC11_A pin and the EC11_B pin are connected to the main control chip U6, and the EC11_C pin is suspended. One end of the button SW is grounded, and the other end is connected to the main control chip U6. The display screen U7 establishes a connection with the main control chip U6 through IIC, and the main control chip U6 adopts an external interrupt mode to execute the input instruction of the encoder U8, and the button SW is used to control whether the main control chip U6 enters the closing state.
[0063] like Figure 7 As shown, the solid-state relay module SSR used in the embodiment of the present invention is a four-port solid-state relay module SSR, wherein IN is the input terminal, i.e., the DC terminal of the solid-state relay module SSR, and OUT is the output terminal, i.e., the AC terminal of the solid-state relay module SSR. Resistor R0 is a current-limiting resistor, the photocoupler electrically isolates the input circuit from the output circuit, and V1 is a bidirectionally conductive diode. The solid-state relay module SSR is a DC-AC direct-current controlled alternating-current solid-state relay module SSR, the input terminal voltage is a direct current voltage of 3~32V, and the output terminal voltage is an alternating current voltage of 24~480V.
[0064] like Figure 8 As shown, the main control chip U6 used in the embodiment of the present invention is an STCM32F103C8T6 integrated chip, wherein the 5V pin and the GND pin are connected to the external DC voltage VCC and the ground respectively, the PA0 pin is connected to the S4 port of the rectifier module, the PA1 pin is connected to the DC end of the solid-state relay module SSR, the PA2 pin is connected to the button end of the button SW, the PA6 pin is connected to the EC11_A pin of the encoder U8, the PA7 pin is connected to the EC11_B pin of the encoder U8, the PB9 pin is connected to the SDA pin of the display screen U7, and the PB8 is connected to the SCL pin of the display screen U7. The main control chip U6 operates the digital signal converted by the ADC analog-to-digital conversion module through the phase-locked closing algorithm. The specific process is: the digital signal obtains two voltage signals through the orthogonal signal generator OSG, and one of the voltage signals The waveform is in phase with the digital signal converted by the ADC analog-to-digital conversion module. The waveform lags behind the digital signal converted by the ADC analog-to-digital conversion module by 90°; the voltage signal and voltage signal Input Park Transform module to make the voltage signal and voltage signal The signal on the XY axis is converted into the signal on the DQ axis; the phase lock is completed through the feedback of the loop filter LPF and the voltage-controlled oscillator VCO, and the frequency and phase information of the main circuit voltage are obtained according to the change of the angle between the D axis and the original X axis. The correct closing angle is determined by the closing algorithm, and the control signal is output to the solid-state relay module SSR to complete the closing.
[0065] In order to avoid the output power of the main control chip U6 being too small to fully meet the requirements of the solid-state relay module SSR, a dual MOS drive module is also provided in the embodiment of the present invention, and the solid-state relay module SSR is driven by the dual MOS drive module. The dual MOS drive module is a dual MOS tube electronic switch, the control end of which is connected to the output end of the main control chip, and the drive end is connected to the DC port of the solid-state relay module SSR.
[0066] The embodiment of the present invention further provides a phase-fixed closing method, which uses the interactive phase-fixed closing device as described above to perform a closing operation, comprising the following steps:
[0067] S1: Use the rectifier module to rectify the voltage signal input in the main circuit, use the ADC analog-to-digital conversion module to convert the voltage signal output by the rectifier module after rectification into a discrete digital signal, and transmit it to the main control chip U6.
[0068] S2: The main control chip U6 operates the digital signal converted by the ADC analog-to-digital conversion module through a phase-locked closing algorithm. The phase-locked closing algorithm includes a phase-locked loop algorithm and a closing algorithm. The specific steps are as follows:
[0069] S201: Fig. 9 and Fig.11 As shown, a digital phase-locked loop is established through a phase-locked algorithm, and the digital phase-locked loop includes an orthogonal signal generator OSG, a Park transformation module, a loop filter LPF and a voltage-controlled oscillator VCO. The frequency and phase information of the main loop voltage are obtained through the phase-locked algorithm. The specific process is: the digital signal obtains two voltage signals through the orthogonal signal generator OSG, one of which is a voltage signal The waveform is in phase with the digital signal converted by the ADC analog-to-digital conversion module. The waveform lags behind the digital signal converted by the ADC analog-to-digital conversion module by 90°; the voltage signal and voltage signal Input Park Transform module to make the voltage signal and voltage signal The signal on the XY axis is converted into the signal on the DQ axis; the phase lock is completed through the feedback of the loop filter LPF and the voltage-controlled oscillator VCO, and the frequency and phase information of the main loop voltage are obtained according to the change of the angle between the D axis and the original X axis.
[0070] like Fig.12 As shown, after the digital signal passes through the orthogonal signal generator OSG, two transfer functions can be obtained. , ,in, H v ( s ) indicates voltage signal The transfer function between the digital signal converted by the ADC analog-to-digital conversion module, V Represents the digital signal converted by the ADC analog-to-digital conversion module. K represents the gain of the system, represents the natural frequency, s represents the complex frequency, H qv ( s ) indicates the voltage signal The transfer function between the digital signal converted by the ADC analog-to-digital conversion module.
[0071] Use the discretization method to discretize, that is, , we can get:
[0072] ;
[0073] ;
[0074] in, z represents a complex variable, Represents the discretized transfer function H v ( s ), T s represents the sampling time, Represents the discretized transfer function H qv ( s ). In the embodiment of the present invention K =1.414, = 314, T s =0.00002, the orthogonal signal generator OSG has a good filtering function and can still produce an ideal sine wave signal for the input of noisy AC power.
[0075] The voltage signal and voltage signal Input the Park transform module, and according to the Park transform formula, we can get:
[0076] ;
[0077] ;
[0078] in, v v Indicates voltage signal The signal obtained after Park transformation is: v qv Indicates voltage signal The signal obtained after Park transformation is a voltage signal. As the X-axis of the stationary coordinate system, the voltage signal As the Y axis of the stationary coordinate system, Represents the angle between signal 1 and the X-axis of the stationary coordinate system.
[0079] Ignoring the voltage amplitude of the digital signal converted by the ADC analog-to-digital conversion module, there is , ,Will , , Substitution v v and v qv The calculation formula is:
[0080] ;
[0081] ;
[0082] in, Indicates the calculated value of the angle between the D axis and the X axis. Indicates the angle between the D axis and the X axis. Available at a very young age , output the phase angle difference to the loop filter LPF.
[0083] The loop filter LPF and the voltage-controlled oscillator VCO together constitute a second-order control system. The phase angle information of the digital signal converted by the ADC analog-to-digital conversion module can be obtained through the loop filter LPF and the voltage-controlled oscillator VCO. Finally, the closing time when the system is most stable is determined by the closing algorithm. At the same time, the phase angle information of the digital signal converted by the ADC analog-to-digital conversion module will be fed back to the Park transformation module. The transfer function of the second-order control system is H ( s ) is expressed as:
[0084] .
[0085] According to the formula The transfer function of a second-order control system is H ( s ) is discretized, we have:
[0086] .
[0087] in, H ( z ) represents the discretized transfer function H ( s ), K p is the proportionality coefficient, K i In the embodiment of the present invention, the adjustment time is set to 30ms, the overshoot is 5%, and the damping ratio is 0.7, from which it can be obtained that = 166.66, = 0.7, K p = 233, K i = 27775, where represents the natural frequency, Represents the damping ratio.
[0088] Let the above transfer function H ( z ) , ,Will K p = 233, K i = 27775, T s = 0.00002s Substituting into the formula, we get B 0 = 223, B 1 = -221, where B 0 means the transfer function H ( z ) constant term at the numerator, B 1 indicates the transfer function H ( z )The coefficient of the first-order term in the numerator.
[0089] S202: Fig.12 As shown in the figure, the correct closing angle is determined by the closing algorithm, and a control signal is output to the solid-state relay module to complete the closing. The specific process is: the angle between the D axis and the X axis , the cumulative number of times and the delay time are preset; determine whether the button in the interactive control module is pressed, and when the button is pressed, the angle between the D axis and the X axis When the set value is reached, the count value in the closing algorithm is iAfter the set number of accumulations is completed, the delay is performed according to the set delay time. After the delay is completed, a closing instruction is sent to the solid-state relay module to complete the closing. In the embodiment of the present invention, the number of accumulations is set to 50 times, and the delay time is set to 1976us. Through the accumulation and delay operations, the unstable state when the system just starts to lock can be effectively avoided.
[0090] The effectiveness of the interactive phase-locking device and method described in the embodiment of the present invention is described below through experimental data:
[0091] (1) Output verification of rectifier module
[0092] Fig.13 The output waveform diagram of the rectifier module in the embodiment of the present invention collected by the oscilloscope is shown in FIG. Fig.13 It can be seen that after the input mains voltage is rectified by the rectifier module, the 220V AC power is converted into a sine wave with an amplitude of 0.25V, an average value of 1.25V, and a peak-to-peak value of 0.5V, which meets the acquisition requirements of the ADC analog-to-digital conversion module.
[0093] Fig.14 The phase comparison diagram of the output waveform of the rectifier module and the mains waveform in the embodiment of the present invention, wherein the light blue waveform is the output waveform of the rectifier module, the dark blue waveform is the mains voltage waveform after being reduced by 200 times, and the red waveform is the waveform calculated by the Math function of the oscilloscope. The calculation function f ( t ) is:
[0094] f ( t ) = V grid ( t ) - V rec ( t ) + 1.25;
[0095] in, V grid ( t ) is the mains voltage, V rec ( t ) is the output voltage of the rectifier module, from Fig.14 It can be seen that the zero point of the waveform after Math calculation coincides with the zero point of the AC power waveform, and there is no phase error in the rectification link.
[0096] (2) Phase-lock verification
[0097] Fig.15The waveform diagram of the phase-locked state in the embodiment of the present invention is shown in FIG. The dark blue sine wave is the rectified mains voltage, i.e., the voltage output by the rectifier module, and the light blue sawtooth wave is the voltage waveform output by the main control chip U6 to check whether the phase lock is successful. The waveform of each cycle shows 0~360°. Fig.15 It can be seen that the 0° of the sawtooth wave coincides with the 0° of the sine wave, indicating that the locked phase angle of the digital phase-locked loop is consistent with the phase angle of the mains voltage sine wave.
[0098] (3) Phase adjustment verification
[0099] Figure 16~Figure 19 The following are phase comparison diagrams of the load waveform and the mains waveform when the initial phase angle is 30°, 45°, 150° and 270° in the embodiment of the present invention. The dark blue waveform is the voltage across the load, and the red waveform is the mains voltage for comparison. Figure 16~Figure 19 It can be seen that the phase angle is locked when the phase angle information is 30°, 45°, 150° and 270° respectively. Before the phase is locked, the output voltage is 0. After the phase is locked, the load voltage and the input voltage are in phase, which meets the design requirements.
[0100] In summary, the embodiment of the present invention can synchronize the output signal frequency with the input signal frequency and automatically lock the changes, and can effectively adjust the starting phase angle of the voltage, with high accuracy and stability. The digital phase-locked loop can effectively remove the noise interference in the mains, and the phase-locked closing algorithm can be used to quickly adjust the voltage phase angle. As a phase-adjustable AC power supply device, the embodiment of the present invention samples the mains power, highly integrates each module, is inexpensive, and can achieve AC voltage output with any initial phase angle, overcoming the shortcomings of existing devices such as large size, large internal resistance, and high price.
[0101] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. An interactive phase-fixed closing device, characterized in that: It includes a rectifier module, an ADC analog-to-digital conversion module, a main control chip, an interactive control module and a solid-state relay module; the rectifier module is used to rectify the voltage signal input in the main loop, and includes a power chip, a current source, a linear regulator, an isolated amplifier and an operational amplifier. The output end of the power chip is connected to the input end of the current source, and the input end of the isolated amplifier is connected to the output end of the current source, which plays an electrical isolation role; the output end is connected to the input end of the operational amplifier and the output end of the linear regulator, and the signal is buffered and integrated to suppress noise; the input end of the ADC analog-to-digital conversion module is connected to the rectifier module, and the output end is connected to the main control chip, which is used to convert the voltage signal output by the rectifier module after rectification into a discrete digital signal, and transmit it to the main control chip; the interactive control module is used to interact with the user, and includes a display screen, an encoder and a button, and the display screen, the encoder and the button are all connected to the main control chip. The solid-state relay module is connected to the main control chip by a DC port, and the AC port is connected to the main circuit, so as to execute the control instructions of the main control chip and ensure the control accuracy; the power supply chip isolates the voltage signal input in the main circuit, and outputs the isolated voltage signal to power the current source, the linear voltage regulator, the isolated amplifier and the operational amplifier; the current source forms two output terminals through an external voltage-stabilizing diode and a voltage-dividing resistor, which are recorded as the S1 port and the S2 port, and generates a sine wave at the S1 port and the S2 port; the input terminal of the isolated amplifier is connected to the S1 port and the S2 port, and the output terminal of the isolated amplifier is recorded as the S3 port, which is connected to the input terminal of the operational amplifier and the output terminal of the linear voltage regulator; the linear voltage regulator filters the voltage signal input in the main circuit through an external capacitor and performs voltage conversion, and the output voltage is stabilized by an external circuit composed of capacitors, and then connected to the S3 port to power the operational amplifier.
2. An interactive phase-fixed closing device according to claim 1, characterized in that: The main control chip operates the digital signal converted by the ADC analog-to-digital conversion module through a phase-locked closing algorithm. The specific process is: the digital signal obtains two voltage signals through an orthogonal signal generator OSG, one of which is a voltage signal The waveform is in phase with the digital signal converted by the ADC analog-to-digital conversion module. The waveform lags behind the digital signal converted by the ADC analog-to-digital conversion module by 90°; the voltage signal and voltage signal Input Park Transform module to make the voltage signal and voltage signal The signal on the XY axis is converted into the signal on the DQ axis; the phase lock is completed through the feedback of the loop filter LPF and the voltage-controlled oscillator VCO, and the frequency and phase information of the main circuit voltage are obtained according to the change of the angle between the D axis and the original X axis. The correct closing angle is determined by the closing algorithm, and the control signal is output to the solid-state relay module to complete the closing.
3. An interactive phase-fixed closing device according to claim 2, characterized in that: It also includes a dual MOS driving module, which is a dual MOS tube electronic switch. The control end of the dual MOS tube electronic switch is connected to the output end of the main control chip, and the driving end is connected to the DC port of the solid-state relay module.
4. A phase-fixed closing method, using the interactive phase-fixed closing device according to any one of claims 1 to 3 to perform a closing operation, characterized in that: The steps include: S1: Use the rectifier module to rectify the voltage signal input in the main circuit, use the ADC analog-to-digital conversion module to convert the voltage signal output after rectification by the rectifier module into a discrete digital signal, and transmit it to the main control chip; S2: The main control chip operates the digital signal converted by the ADC analog-to-digital conversion module through a phase-locked closing algorithm. The phase-locked closing algorithm includes a phase-locked loop algorithm and a closing algorithm. The specific steps are as follows: S201: Establish a digital phase-locked loop through a phase-locked algorithm to obtain the frequency and phase information of the main circuit voltage. The specific process is: the digital signal is used to obtain two voltage signals through an orthogonal signal generator OSG, one of which is a voltage signal The waveform is in phase with the digital signal converted by the ADC analog-to-digital conversion module. The waveform lags behind the digital signal converted by the ADC analog-to-digital conversion module by 90°; the voltage signal and voltage signal Input Park Transform module to make the voltage signal and voltage signal Convert the signal on the XY axis to the signal on the DQ axis; complete phase locking through the feedback of the loop filter LPF and the voltage-controlled oscillator VCO, and obtain the frequency and phase information of the main loop voltage according to the change of the angle between the D axis and the original X axis; S202: The correct closing angle is determined by the closing algorithm, and a control signal is output to the solid-state relay module to complete the closing. The specific process is: the angle between the D axis and the X axis , the cumulative number of times and the delay time are preset; determine whether the button in the interactive control module is pressed, and when the button is pressed, the angle between the D axis and the X axis When the set value is reached, the count value in the closing algorithm is i After the set number of accumulations is completed, the delay is performed according to the set delay time. After the delay is completed, a closing command is sent to the solid-state relay module to complete the closing.
5. A phase-fixed closing method according to claim 4, characterized in that: After the digital signal passes through the orthogonal signal generator OSG, two transfer functions can be obtained: , ,in, H v ( s ) represents voltage signal The transfer function between the digital signal converted by the ADC analog-to-digital conversion module, V Represents the digital signal converted by the ADC analog-to-digital conversion module. K represents the gain of the system, represents the natural frequency, s represents the complex frequency, H qv ( s ) indicates the voltage signal The transfer function between the digital signal converted by the ADC analog-to-digital conversion module; Use the discretization method to discretize, that is, , we can get: ; ; in, represents a complex variable, Represents the discretized transfer function , represents the sampling time, Represents the discretized transfer function ; The voltage signal and voltage signal Input the Park transform module, and according to the Park transform formula, we can get: ; ; in, Indicates voltage signal The signal obtained after Park transformation is: Indicates voltage signal The signal obtained after Park transformation is a voltage signal. As the X-axis of the stationary coordinate system, the voltage signal As the Y axis of the stationary coordinate system, represents the angle between signal 1 and the X-axis of the stationary coordinate system; Ignoring the voltage amplitude of the digital signal converted by the ADC analog-to-digital conversion module, there is , ,Will , , Substitution and The calculation formula is: ; ; in, Indicates the calculated value of the angle between the D axis and the X axis. Indicates the angle between the D axis and the X axis. Available at a very young age , output the phase angle difference to the loop filter LPF; The loop filter LPF and the voltage-controlled oscillator VCO together constitute a second-order control system. The phase angle information of the digital signal converted by the ADC analog-to-digital conversion module can be obtained through the loop filter LPF and the voltage-controlled oscillator VCO. Finally, the closing time when the system is most stable is determined by the closing algorithm. At the same time, the phase angle information of the digital signal converted by the ADC analog-to-digital conversion module will be fed back to the Park transformation module. The transfer function of the second-order control system is H ( s ) is expressed as: ; in, K p is the proportionality coefficient, K i is the integration coefficient.
Citation Information
Cited By
Initial phase controllable power supply for impact closing experiment of transformer
CN224264843U
