CN104682394A - Electric-dazzling prevention device and method of bidirectional zero-clearance conversion current based on self-adaption - Google Patents

Electric-dazzling prevention device and method of bidirectional zero-clearance conversion current based on self-adaption Download PDF

Info

Publication number
CN104682394A
CN104682394A CN201510094958.6A CN201510094958A CN104682394A CN 104682394 A CN104682394 A CN 104682394A CN 201510094958 A CN201510094958 A CN 201510094958A CN 104682394 A CN104682394 A CN 104682394A
Authority
CN
China
Prior art keywords
current
circuit
voltage
clearance
zero
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510094958.6A
Other languages
Chinese (zh)
Other versions
CN104682394B (en
Inventor
杨东升
张化光
吴军锋
曾俊彦
何涛
张汉卿
洪欢
崔超奇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenyang Rui Jie Power Tech Corp Inc
Northeastern University China
Original Assignee
Shenyang Rui Jie Power Tech Corp Inc
Northeastern University China
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenyang Rui Jie Power Tech Corp Inc, Northeastern University China filed Critical Shenyang Rui Jie Power Tech Corp Inc
Priority to CN201510094958.6A priority Critical patent/CN104682394B/en
Publication of CN104682394A publication Critical patent/CN104682394A/en
Application granted granted Critical
Publication of CN104682394B publication Critical patent/CN104682394B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides an electric-dazzling prevention device and an electric-dazzling prevention method of bidirectional zero-clearance conversion current based on self-adaption. The electric-dazzling prevention device comprises a mains power voltage amplitude detection sampling circuit, a 220V power grid voltage current phase sampling circuit, a rectification module, a direct-current voltage reduction module circuit, a singlechip main control unit, a power supply module, a high-frequency transformer output circuit, a driving circuit, a bidirectional triode thyristor zero-clearance conversion current switching main circuit and a load voltage current detection circuit. According to the electric-dazzling prevention device, an alternative-current sampling technique is adopted to sample a power grid sinusoidal voltage amplitude value and a voltage current phase position, negative phase voltage is converted into positive phase voltage, and the amplitude value is correspondingly reduced to be a range that a singlechip main control unit can endure. Due to the adoption of the bidirectional triode thyristor zero-clearance conversion current structure based on self-adaption, the situation of current cutoff is well avoided in a smooth follow current mode, and the switching reliability is improved. As a bypass type structure is adopted to access a relay to the circuit, fault points are reduced, moreover, the service life of a triode thyristor is prolonged.

Description

A kind of Anti-electricity dazzling device based on the adaptive two-way zero-clearance change of current and method
Technical field
The invention belongs to electrical network rolling electric protection technical field, a kind of particularly Anti-electricity dazzling device based on the adaptive two-way zero-clearance change of current and method.
Background technology
Ensure that contactor is not threaded off, the electricity that prevents from shaking accounts for considerable status in whole factory runs, and good Anti-electricity dazzling device not only can proof load reliability of operation and stability, and can improve the economy of power system operation.
The raising of voltage shock avoiding technology should be set about from two aspects, and one is that rolling electricity judges, two is hardware circuits.The rolling electricity evaluation algorithm of current employing mostly is the algorithm based on SIN function model, if there is a small amount of distortion in tested waveform or skew all will cause measure error, Algorithm for Solving process is complicated simultaneously, need to expend the long period in control chip calculating process, the setting of threshold value does not have reliable theoretical foundation, large to the experience dependence degree of debugging person, may occur that same system is good in local service condition, more in other local misoperations.For hardware circuit, the Anti-electricity dazzling device mostly being relay construction popular on present market, but such Anti-electricity dazzling device there will be cutout situation in handoff procedure, causes contactor to be threaded off.
Summary of the invention
For the deficiency that prior art exists, the invention provides a kind of Anti-electricity dazzling device based on the adaptive two-way zero-clearance change of current and method.
Technical scheme of the present invention is:
Based on an Anti-electricity dazzling device for the adaptive two-way zero-clearance change of current, comprise line voltage amplitude detection sample circuit, 220V line voltage current phase sample circuit, rectification module, DC decompression modular circuit, single-chip microcomputer main control unit, power module, high frequency transformer output circuit, drive circuit, bidirectional triode thyristor zero-clearance change of current switching main circuit and load voltage current detection circuit;
Power module is used to as load provides galvanic stand-by power supply;
The input of line voltage amplitude detection sample circuit, the input of 220V line voltage current phase sample circuit, the input of rectification module is connected to 220V electrical network respectively, the output of line voltage amplitude detection sample circuit connects the A/D sample port of single-chip microcomputer main control unit, the output of 220V line voltage current phase sample circuit connects the voltage current phase sample port of single-chip microcomputer main control unit, one road output of rectification module connects the input of DC decompression modular circuit, the output of DC decompression modular circuit connects the chip power supply port of single-chip microcomputer main control unit, the input of drive circuit connects the enable signal output of single-chip microcomputer main control unit, another road output of rectification module connects the input of power module, the output of power module connects the input of high frequency transformer output circuit, the output of drive circuit, the output of high frequency transformer output circuit connects the input that the change of current of bidirectional triode thyristor zero-clearance switches main circuit, load connects the output that the change of current of bidirectional triode thyristor zero-clearance switches main circuit respectively, load voltage current detection circuit, 220V electrical network, load voltage current detection circuit also connects the sample port of single-chip microcomputer main control unit.
Described drive circuit comprises relay switching variable control signal driving isolation module, bidirectional triode thyristor control signal driving isolation module;
Relay switching variable control signal driving isolation module for realize relay switching variable control signal and single-chip microcomputer main control unit drive singal between electrical isolation, thus complete the driving change of current of bidirectional triode thyristor zero-clearance being switched to main circuit repeat circuit;
Bidirectional triode thyristor control signal driving isolation module switches ac thyristor thyristor in main circuit and direct current silicon controlled crystal brake pipe for driving the change of current of bidirectional triode thyristor zero-clearance.
It is the voltage of positive that described line voltage amplitude detection sample circuit is used for the 220V sinusoidal voltage of 220V electrical network to be converted to the perseverance that single-chip microcomputer main control unit can receive, and when making the phase place of 220V sinusoidal voltage be plus or minus, single-chip microcomputer main control unit all can real-time monitor 220V grid voltage change.
The current phase that the change of current of bidirectional triode thyristor zero-clearance switches main circuit is input in single-chip microcomputer main control unit with the form of low and high level by Hall current sensor by described 220V line voltage current phase sample circuit, and the phase place of 220V line voltage is input in single-chip microcomputer main control unit with the form of low and high level by 220V line voltage current phase sample circuit simultaneously.
It is that the direct voltage output of 5V is to power module that described rectification module is used for the line voltage of 220V to be made into magnitude of voltage.
Described high frequency transformer output circuit is used for exporting the DC power supply VDD of+12V and the DC power supply VEE of-12V.
Described load voltage current detection circuit is used for gathering the electric current and voltage value in load, thus the change of current of setting bidirectional triode thyristor zero-clearance switches the duration of main circuit switchback.
Described single-chip microcomputer main control unit is used for, according to the sampled signal monitoring 220V electrical network of line voltage amplitude detection sample circuit, whether electricity occurs to shake: when 220V electrical network occurs to shake electricity, now current phase is judged according to the signal that 220V line voltage current phase sample circuit transmits, and turn off ac thyristor thyristor in bidirectional triode thyristor zero-clearance change of current switching main circuit, open the direct current silicon controlled crystal brake pipe corresponding with current flow phase place; When 220V line voltage recovers normal, turn off the direct current silicon controlled crystal brake pipe in bidirectional triode thyristor zero-clearance change of current switching main circuit, open the ac thyristor thyristor corresponding with current flow phase place.
The described bidirectional triode thyristor zero-clearance change of current switches the switching that main circuit completes 220V electrical network and stand-by power supply: when single-chip microcomputer main control unit monitor 220V electrical network occur to shake electricity time, the change of current of bidirectional triode thyristor zero-clearance switches main circuit and complete electrical source exchange action fast under the instruction of single-chip microcomputer main control unit, switches to stand-by power supply for load and provides burning voltage; When 220V power system restoration normally works, the change of current of bidirectional triode thyristor zero-clearance switches main circuit and switches back 220V mains supply again, thus realizes taking over seamlessly between Alternating Current Power Supply and direct current supply, i.e. the zero-clearance change of current.
The control method of the described Anti-electricity dazzling device based on the adaptive two-way zero-clearance change of current, comprises the following steps:
Step 1: load voltage current detection circuit gathers the electric current and voltage value in load, and is input in single-chip microcomputer main control unit, thus the change of current of setting bidirectional triode thyristor zero-clearance switches the duration of main circuit switchback;
Step 2: it is the voltage of positive that the 220V sinusoidal voltage of 220V electrical network is converted to the perseverance that single-chip microcomputer main control unit can receive by line voltage amplitude detection sample circuit, exports single-chip microcomputer main control unit to;
The current phase that the change of current of bidirectional triode thyristor zero-clearance switches in main circuit is input in single-chip microcomputer main control unit with the form of low and high level by Hall current sensor by step 3:220V line voltage current phase sample circuit, and the phase place of 220V line voltage is input in single-chip microcomputer main control unit with the form of low and high level by 220V line voltage current phase sample circuit simultaneously;
Step 4: 220V line voltage is rectified into 5V direct voltage by rectification module, input power module, the pressure drop of 5V direct current becomes 3.3V to power to single-chip microcomputer main control unit by DC decompression module by rectification module simultaneously;
Step 5: power module converts 5V direct voltage to+12V direct voltage VDD and-12V direct voltage VEE by high frequency transformer output circuit and powers to drive circuit and bidirectional triode thyristor zero-clearance change of current switching main circuit;
Step 6: whether the sampled signal monitoring 220V electrical network according to line voltage amplitude detection sample circuit electricity occurs to shake: if the voltage of 220V electrical network is lower than 80% of normal voltage, then judges that electricity occurs to shake 220V electrical network, perform step 7; Otherwise, return step 1;
Step 7: the signal that single-chip microcomputer main control unit transmits according to 220V line voltage current phase sample circuit judges now voltage current phase, provide enable signal, turn off the change of current of bidirectional triode thyristor zero-clearance by drive circuit and switch ac thyristor thyristor in main circuit, open the direct current silicon controlled crystal brake pipe corresponding with current voltage current phase, switch to stand-by power supply, namely power module provides burning voltage for load, thus realize taking over seamlessly between Alternating Current Power Supply and direct current supply, i.e. the zero-clearance change of current;
Step 8: when 220V line voltage recovers normal; single-chip microcomputer main control unit turns off the direct current silicon controlled crystal brake pipe in bidirectional triode thyristor zero-clearance change of current switching main circuit by drive circuit; open the ac thyristor thyristor corresponding with current voltage current phase; the change of current of bidirectional triode thyristor zero-clearance switches main circuit and switches back 220V mains supply again; thus realize taking over seamlessly between direct current supply and Alternating Current Power Supply, realize shaking electric protection.
Beneficial effect:
(1) the present invention adopts AC Data, realize the sampling of electrical network sinusoidal voltage amplitude and the sampling to voltage current phase, be positive by negative voltage transitions simultaneously, amplitude be decreased to accordingly the scope that single-chip microcomputer main control unit can bear, in input single-chip microcomputer main control unit.
(2) wiring construction of scene 2 is entered in this device employing two, can not change control mode and the wiring of original circuit.
(3) employing PIC32MX230F064B high performance chips is as single-chip microcomputer main control unit, and dominant frequency reaches 40MHz, sampling time 250us, can occur detect in 5ms and make switching action at rolling electricity, ensure the promptness of rolling electric protection.
(4) adopt and to table look-up the rolling electro-detection method compared, compared to the judgement time of more than 100ms in the past, the present invention can make and shake electricity and judge within 5ms, and accurately and reliably, substantially increases the reaction speed of voltage shock avoiding protection.
(5) generation of the cutout situation that well avoided by the mode of level and smooth afterflow based on adaptive bidirectional triode thyristor zero-clearance change of current structure adopted, improves switching reliability.
(6) adopt bypass type structure by relay place in circuit, decrease fault point, extend silicon controlled useful life simultaneously, and do not affect the normal operation of load when plant failure.
Accompanying drawing explanation
Fig. 1 is the Anti-electricity dazzling device structured flowchart based on the adaptive two-way zero-clearance change of current of the specific embodiment of the invention;
Fig. 2 is the line voltage amplitude detection sample circuit of the specific embodiment of the invention and the circuit theory diagrams of 220V line voltage current phase sample circuit;
Fig. 3 is the single-chip microcomputer main control unit pinouts of the specific embodiment of the invention;
Fig. 4 is the driving circuit principle figure of the specific embodiment of the invention, and wherein, (a) is relay switching variable control signal driving isolation modular circuit schematic diagram; B () is bidirectional triode thyristor control signal driving isolation modular circuit schematic diagram;
Fig. 5 is that the bidirectional triode thyristor zero-clearance change of current of the specific embodiment of the invention switches main circuit schematic diagram;
Fig. 6 is that the driver module of the specific embodiment of the invention and the change of current of bidirectional triode thyristor zero-clearance switch main circuit catenation principle figure;
Fig. 7 is the control software design main flow design flow diagram of the specific embodiment of the invention;
Fig. 8 is the Anti-electricity dazzling device state-detection flow chart based on the adaptive two-way zero-clearance change of current of the specific embodiment of the invention;
Fig. 9 is that the control software design A/D interrupt service subroutine of the specific embodiment of the invention is to the sampling flow chart of voltage and current signal;
Figure 10 is the line voltage decision flow chart of the specific embodiment of the invention;
Figure 11 is electrical source exchange and the switchback subroutine flow chart of the load of the specific embodiment of the invention;
Figure 12 is the control method flow chart of the Anti-electricity dazzling device based on the adaptive two-way zero-clearance change of current of the specific embodiment of the invention.
Embodiment
Below in conjunction with accompanying drawing, the specific embodiment of the present invention is elaborated.
A kind of Anti-electricity dazzling device based on the adaptive two-way zero-clearance change of current, as shown in Figure 1, line voltage amplitude detection sample circuit, 220V line voltage current phase sample circuit, rectification module, DC decompression modular circuit, single-chip microcomputer main control unit, power module, high frequency transformer output circuit, drive circuit, bidirectional triode thyristor zero-clearance change of current switching main circuit and load voltage current detection circuit is comprised;
Power module is used to as load provides galvanic stand-by power supply; Single-chip microcomputer main control unit adopts single-chip microcomputer PIC32MX230F064B-I/SS.
The input of line voltage amplitude detection sample circuit, the input of 220V line voltage current phase sample circuit, the input of rectification module is connected to 220V electrical network respectively, the output of line voltage amplitude detection sample circuit connects the A/D sample port of single-chip microcomputer main control unit, the output of 220V line voltage current phase sample circuit connects the voltage current phase sample port of single-chip microcomputer main control unit and 13 pins of PIC32MX230F064B-I/SS chip, i.e. digital power interface VCC, one road output of rectification module connects the input of DC decompression modular circuit, the output of DC decompression modular circuit connects the chip power supply port of single-chip microcomputer main control unit, the input of drive circuit connects the enable signal output of single-chip microcomputer main control unit, another road output of rectification module connects the input of power module, the output of power module connects the input of high frequency transformer output circuit, the output of drive circuit, the output of high frequency transformer output circuit connects the input that the change of current of bidirectional triode thyristor zero-clearance switches main circuit, load connects the output that the change of current of bidirectional triode thyristor zero-clearance switches main circuit respectively, load voltage current detection circuit, 220V electrical network, load voltage current detection circuit also connects the sample port of single-chip microcomputer main control unit.
It is that the direct voltage output of 5V is to power module that rectification module is used for the line voltage of 220V to be made into magnitude of voltage.
The 3.3V voltage that DC decompression modular circuit can be born for the 5V direct voltage of rectification module output being down to single-chip microcomputer main control unit, for single-chip microcomputer main control unit is powered.
High frequency transformer output circuit is used for exporting the DC power supply VDD of+12V and the DC power supply VEE of-12V.
Load voltage current detection circuit is used for gathering the electric current and voltage value in load, thus the change of current of setting bidirectional triode thyristor zero-clearance switches the duration of main circuit switchback.
Drive circuit comprises relay switching variable control signal driving isolation module, bidirectional triode thyristor control signal driving isolation module;
Relay switching variable control signal driving isolation module for realize relay switching variable control signal and single-chip microcomputer main control unit drive singal between electrical isolation, thus complete the driving change of current of bidirectional triode thyristor zero-clearance being switched to main circuit repeat circuit;
Bidirectional triode thyristor control signal driving isolation module switches ac thyristor thyristor in main circuit and direct current silicon controlled crystal brake pipe for driving the change of current of bidirectional triode thyristor zero-clearance.
It is the voltage of positive that line voltage amplitude detection sample circuit is used for the 220V sinusoidal voltage of 220V electrical network to be converted to the perseverance that single-chip microcomputer main control unit can receive, and when making the phase place of 220V sinusoidal voltage be plus or minus, single-chip microcomputer main control unit all can real-time monitor 220V grid voltage change.
The current phase that the change of current of bidirectional triode thyristor zero-clearance switches main circuit is input in single-chip microcomputer main control unit with the form of low and high level by Hall current sensor by 220V line voltage current phase sample circuit, and the phase place of 220V line voltage is input in single-chip microcomputer main control unit with the form of low and high level by 220V line voltage current phase sample circuit simultaneously.
Single-chip microcomputer main control unit is used for, according to the sampled signal monitoring 220V electrical network of line voltage amplitude detection sample circuit, whether electricity occurs to shake: when 220V electrical network occurs to shake electricity, now current phase is judged according to the signal that 220V line voltage current phase sample circuit transmits, and turn off ac thyristor thyristor in bidirectional triode thyristor zero-clearance change of current switching main circuit, open the direct current silicon controlled crystal brake pipe corresponding with current flow phase place; When 220V line voltage recovers normal, turn off the direct current silicon controlled crystal brake pipe in bidirectional triode thyristor zero-clearance change of current switching main circuit, open the ac thyristor thyristor corresponding with current flow phase place.
The change of current of bidirectional triode thyristor zero-clearance switches main circuit and completes the switching of 220V electrical network and stand-by power supply: when single-chip microcomputer main control unit monitor 220V electrical network occur to shake electricity time, the change of current of bidirectional triode thyristor zero-clearance switches main circuit and complete electrical source exchange action fast under the instruction of single-chip microcomputer main control unit, switching to stand-by power supply for load provides burning voltage, thus realize taking over seamlessly between Alternating Current Power Supply and direct current supply, i.e. the zero-clearance change of current; When 220V power system restoration normally works, the change of current of bidirectional triode thyristor zero-clearance switches main circuit and switches back 220V mains supply again, realizes the switchback of direct current supply to Alternating Current Power Supply, reaches the object of rolling electric protection.
The circuit theory diagrams of line voltage amplitude detection sample circuit and 220V line voltage current phase sample circuit as shown in Figure 2.
The input of line voltage amplitude detection sample circuit 1 is connected with live wire LIVE, live wire LIVE connects one end of 200k Ω resistance R3, the other end of R3 connects one end of 200k Ω resistance R5, the other end of R5 connects one end of 200k Ω resistance R7, the other end of R7 connects one end of 10k Ω resistance R9, the other end of R9 is connected to 2 pins of the U2A passage in two channel operation amplifier TLE2022, and 2 pins are negative.The minus earth of 3.3V voltage stabilizing didoe DW2, the positive pole of DW2 connects the positive pole of 3.3V voltage stabilizing didoe DW1, the negative pole of DW1 is received between R7 and R9, and 3.3V voltage stabilizing didoe DW1, DW2 of two Opposite direction connections are used for burning single-chip microcomputer PIC32MX230F064B-I/SS when preventing voltage excessive.One end of 10k Ω resistance R2 is connected between R7 and R9, and the other end of R2 connects one end of 10k Ω resistance R1, and the other end of R1 is connected to 7 pins of the U2B passage in two channel operation amplifier TLE2022.6 pins of the U2B passage in operational amplifier TLE2022 are connected between R2 and R1, 6 pins are negative, one end of 10k Ω resistance R6 is connected to 6 pins, between the tie point of R2 and R1, one end of 10k Ω resistance R8 is connected between 6 pins and R6, the other end of R6, the positive pole of diode D2 and one end of 10k Ω resistance R4 is connected respectively again after the other end of R8 is connected, 1 pin of the U2A passage in the negative pole concatenation operation amplifier TLE2022 of diode D2, the negative pole of D2 connects the positive pole of diode D1 simultaneously, the negative pole of D1 is connected with the other end of R4 2 pins of the U2A passage be connected to again in operational amplifier TLE2022.The 3 pin ground connection of U2A, 4 pins meet-12V, i.e. VEE.8 pins meet+12V i.e. VDD, and 8 pins meet 0.1 μ F electric capacity C1 simultaneously and are connected to ground again.Electric capacity C1 is decoupling capacitor, strobes, the alternating current of filtering 50Hz.5 pin ground connection of the U2B passage in operational amplifier TLE2022,8 pins of U2B passage meet+12V, and namely 4 pins of VDD, U2B passage connect one end that-12V i.e. 4 pins of VEE, U2B passage meet 0.1 μ F decoupling capacitor C2 simultaneously, and the other end of C2 is connected to ground.Electric capacity C2 strobes equally.7 pins of U2B passage connect one end of 10k Ω resistance R10, and the other end of R10 is connected to 2 pins of single-chip microcomputer PIC32MX230F064B-I/SS, i.e. input end of analog signal ADC IN0.Resistance R10 plays metering function.ADC IN0 connects one end of 1nF decoupling capacitor C11 simultaneously, and the other end of C11 is connected to ground.Electric capacity C11 strobes, the high-frequency alternating current beyond filtering 50Hz.220V sinusoidal voltage being converted to by this line voltage amplitude detection sample circuit 1 perseverance that single-chip microcomputer main control unit can receive is the voltage of positive; namely no matter whether electric network voltage phase is just; all be converted into positive phase voltage; instead of the negative half-wave of line voltage is removed; when such generation is shaken electric; no matter whether electric network voltage phase is just, this device can detect, thus absolutely realizes shaking electric protection.Voltage magnitude is decreased to accordingly the scope that single-chip microcomputer main control unit can bear simultaneously, sends in single-chip microcomputer main control unit, for single-chip microcomputer main control unit Real-Time Monitoring grid voltage change.When single-chip microcomputer main control unit detects grid voltage sags, generation rolling electricity; can be real-time provide control signal; thus be switched to bidirectional triode thyristor zero-clearance change of current switching main circuit; change and powered by power module; prevent cutout; the generation of the situations such as contactor dropout, and then the object reaching rolling electric protection.
In 220V line voltage current phase sample circuit 2, employing model is the two passage comparators of LM393D, the Hall current sensor of U13 to be model be DL-CT03C1.0, the change of current of bidirectional triode thyristor zero-clearance is switched a wire of main circuit through Hall current sensor, at the resistance R33 of 1,2 two ends of a Hall current sensor 1k Ω in parallel.5 pins of the U3B passage of the CPhase2 termination comparator of Hall current sensor, 6 pins of the U3B passage of the CPhase1 termination comparator of Hall current sensor.4 pin ground connection of the U3B passage of comparator, 8 pins of U3B passage connect one end of 0.1 μ F electric capacity C9, and the other end of C9 is connected to ground, and electric capacity C9 strobes, the alternating current of filtering 50Hz.8 pins of U3B passage meet+12V simultaneously, i.e. VDD.5 pins of U3B passage and the indirect resistance of 8 pins are the resistance R50 of 10k Ω, and 5 pins of U3B passage and the indirect resistance on ground are the resistance R51 of 10k Ω.The tie point that 5 pins of U3B passage and Cphase2 hold between resistance R50 and R51, so 5 of U3B passage, 6 pin voltage are lifted 6V, so that comparator compares.7 pins of U3B passage connect 11 pins of single-chip microcomputer PIC32MX230F064B-I/SS, i.e. current phase input port CPhaseB (CPhsB), are connected to the direct voltage source VCC of 3.3V by the pull-up resistor R12 of 10k Ω simultaneously.8 pins of the U3A passage of comparator LM393D meet+12V, i.e. VDD; 4 pins of U3A passage and 3 pin ground connection, i.e. GND.1 pin of the U2A passage of two channel operation amplifier TLE2022 in line voltage amplitude detection sample circuit 1 is connected to 2 pins of comparator U3B passage by the resistance R48 of 84.5k Ω.The effect of resistance R48 is voltage input comparator by the current conversion of milliampere level.1 pin of U3A passage connects 12 pins of single-chip microcomputer PIC32MX230F064B-I/SS, i.e. voltage-phase input port VPhaseA (VPhsA), is connected to the direct voltage source VCC of 3.3V by the pull-up resistor R11 of 10k Ω simultaneously.The current phase that the change of current of bidirectional triode thyristor zero-clearance switches main circuit is input in single-chip microcomputer main control unit with the form of low and high level by Hall current sensor by 220V line voltage current phase sample circuit 2, and the phase place of 220V line voltage is input in single-chip microcomputer main control unit with the form of low and high level by 220V line voltage current phase sample circuit simultaneously.
As shown in Figure 3, PIC32MX230F064B-I/SS chip power supply comprises two parts to the single-chip microcomputer main control unit of present embodiment: digital power part and analog power part.The single-chip microcomputer main control unit of present embodiment employs 28 ports, wherein port one, 15,20,21,22,26 unsettled; Port 2 is input end of analog signal ADC IN0; Port 3 is power supply selector switch signal end PwrSwitch; Port 4 is controllable silicon Q3 control signal end CTRL G0; Port 5 is controllable silicon Q5 control signal end CTRL G1; Port 6 is controllable silicon Q6 control signal end CTRL G3; Port 7 is controllable silicon Q4 control signal end CTRL G2; Port 8 ground connection, i.e. GND; Port 9 and port one 0 are respectively external crystal-controlled oscillation OSC1, OSC2; Port one 1 is sample rate current phase inputs CPhsB, and port one 2 is sampled voltage phase place input VPhsA; Port one 3 is 3.3V digital power interface VCC; Port one 4 is for starting mains switch PwrHold; Port one 6 is that 5V input/output port IO holds; Port one 7 is held for 5V receives FPDP RX; Port one 8 is held for 5V sends FPDP TX; Port one 9 ground connection, i.e. GND; Port 23 is 3.3V digital power interface VCC; Port 24 is relay control signal end CTRL KR; Port 25 is charging circuit mode bit 5V BattStatus; Port 27 ground connection, i.e. GND; Port 28 is analog power interface AVCC.When 220V electrical network occurs to shake electricity, single-chip microcomputer main control unit judges the current phase of now circuit according to the signal that 220V line voltage current phase sample circuit inputs, and the corresponding ac thyristor thyristor turning off bidirectional triode thyristor zero-clearance change of current switching main circuit, open the direct current silicon controlled crystal brake pipe corresponding with current voltage current phase, the accurate switching of completing circuit, prevent from damaging Anti-electricity dazzling device because of misoperation, affect loaded work piece, cause economic loss.
The change of current of bidirectional triode thyristor zero-clearance switches the circuit theory of main circuit as shown in Figure 5.Relay model is KR_G5LB-1-25 (single-pole double throw normally-closed contact), silicon controlled crystal brake pipe model BT151S-600R type controllable silicon.4 pins of relay are started to exchange fire line LIVE, and 1 pin of relay connects the negative pole SCR K0 point of controllable silicon Q3, namely adopts bypass type structure by relay and at ac thyristor Q3 two ends.Live wire LIVE connects the positive pole of controllable silicon Q3 and the negative pole of controllable silicon Q5 simultaneously, and the positive pole of controllable silicon Q5 connects the negative pole SCR K0 point of controllable silicon Q3, i.e. controllable silicon Q3 and Q5 reverse parallel connection, 1,4 pin ac thyristor Q3, Q5 two ends in parallel of relay.One end of A.C. contactor is connected to SCR K0 point through Hall current sensor, and the other end is connected to ground, i.e. GND.It is that the electric capacity C41 of 0.1 μ F is connected to zero line NEUTRAL again that live wire LIVE connects capacitance, and zero line is connected to ground.The positive pole of direct current silicon controlled crystal brake pipe Q4 meets the DC power supply VDD of+12V, and the negative pole of direct current silicon controlled crystal brake pipe Q6 meets the DC power supply VEE of-12V.The negative pole of Q4 and the positive pole of Q6 are connected on node SCR K2, are connected on inductance L 3 one end, and the other end of inductance L 3 is connected to SCR K0 point, i.e. the negative pole of ac thyristor thyristor Q3.OUTPUT is A.C. contactor and load, the output that load connects 220V electrical network respectively, the change of current of bidirectional triode thyristor zero-clearance switches main circuit.
The change of current of bidirectional triode thyristor zero-clearance switches main circuit and has been responsible for 220V electrical network and stand-by power supply, i.e. the switching of power module.When 220V line voltage abnormal state (electricity occurs to shake) being detected, the change of current of bidirectional triode thyristor zero-clearance switches main circuit can complete switching action fast, for load provides burning voltage under the instruction of single-chip microcomputer main control unit.When 220V electrical network normally works, relay is in normally off, and controllable silicon has certain resistance, so during 220V electrical network normal power supply, electric current, by 4 pins of live wire through relay, flow to A.C. contactor by 1 pin of relay, i.e. load, ground is flow to, without silicon controlled crystal brake pipe again by A.C. contactor.When detecting that 220V electrical network shakes electric, single-chip microcomputer main control unit provides corresponding switching command signal according to voltage current phase, relay disconnects, the ac thyristor pipe that the change of current of bidirectional triode thyristor zero-clearance switches main circuit turns off, the direct current thyristor corresponding with current phase is open-minded, complete the switching of civil power and stand-by power supply, change and powered by DC power supply, avoid Voltage Drop on the impact of loaded work piece.When 220V line voltage recovers normal, the change of current of bidirectional triode thyristor zero-clearance switches main circuit and switches back 220V mains supply again, thus realizes taking over seamlessly between Alternating Current Power Supply and direct current supply, i.e. the generation of the situations such as the zero-clearance change of current, avoids dropout, cutout.
The driving circuit principle figure of present embodiment as shown in Figure 4.Drive circuit comprises relay switching variable control signal driving isolation module, bidirectional triode thyristor control signal driving isolation module.
Fig. 4 (a) is relay switching variable control signal driving isolation module, 3.3V direct voltage source VCC connects one end that resistance is the resistance R49 of 220 Ω, the other end of R49 connects 1 pin of optocoupler U15,24 pins of PIC32MX230F064B-I/SS chip are connected to again, i.e. relay control signal end CTRL KR by 3 pins of optocoupler U15.In order to the electrical isolation of the driving signal input and relay switching variable control signal drive circuit output that realize single-chip microcomputer main control unit completely, reach the object of driving, adopt model to be the nonlinear optical electric coupling of TLP181BL.4 pins of optocoupler U15 connect 2 pins of relay by diode D31, i.e. KR1 end, and KR1 end connects+12V DC source VDD; Meanwhile, 4 pins of optocoupler U15 directly connect 5 pins of relay, i.e. KR2 end.The base stage of connecting triode Q52 between KR2 and optocoupler U15, triode Q52 connects 6 pins of optocoupler U15, and the collector electrode of triode Q52 connects 4 pins of optocoupler U15, namely 5 pins of relay, the grounded emitter of triode Q52.KR1 end and the KR2 end of relay are connected in same coil in relay inside, and KR1 is connected on+12V direct voltage source VDD, then the voltage on KR2 is also+12V.KR1 and KR2 forms loop by diode D31.During 220V electrical network normal power supply, single-chip microcomputer main control unit is 1 to the signal of relay control signal end CTRL KR, i.e. 3.3V, then do not have voltage drop between VCC and CTRL KR, relay switching variable control signal driving isolation module does not drive, and relay is in closure state; When 220V electrical network occurs to shake electricity, single-chip microcomputer main control unit is to the signal vanishing of relay control signal end CTRL KR, now there is voltage drop between 3.3V direct voltage source VCC and relay control signal end, loop conducting, generation current between 1 pin of optocoupler TLP181BL and 3 pins, lumination of light emitting diode.Photosensitive semiconductor pipe receives light signal and produces photoelectric current, thus the base stage of triode Q52 flows through electric current, triode Q52 conducting.Now 5 pins of relay, namely KR2 end is connected to ground, and namely KR2 terminal voltage is zero.Produce voltage drop between relay KR 1 end and KR2 hold, relay disconnects, and 220V power network current changes and flow to load by bidirectional triode thyristor zero-clearance change of current main circuit; When mains supply recovers normal, single-chip microcomputer main control unit holds 1 signal to relay control signal end CTRL KR again, and relay closes again, and the change of current of bidirectional triode thyristor zero-clearance switches main circuit and normally works, by this circuit theory, thus reach the object driving relay.
Bidirectional triode thyristor control signal driving isolation modular circuit schematic diagram is as shown in Fig. 4 (b), be divided into these 4 optical coupling isolation circuits of U10, U11, U12, U14, be used for respectively driving the change of current of bidirectional triode thyristor zero-clearance to switch 4 silicon controlled crystal brake pipes of main circuit.The circuit structure of these 4 drive circuits is identical, drive principle is the same, wherein U10, U11 are used for driving the change of current of bidirectional triode thyristor zero-clearance to switch Q3, Q5 two ac thyristor thyristors in main circuit, and U12, U14 are used for driving the change of current of bidirectional triode thyristor zero-clearance to switch Q4, Q6 two direct current silicon controlled crystal brake pipes in main circuit.
In U10,3.3V direct voltage source VCC connects one end that resistance is the resistance R34 of 220 Ω, and resistance R34 plays the effect of current-limiting protection equally.The other end of R34 connects 1 pin of optocoupler U10, then is connected to 4 pins of PIC32MX230F064B-I/SS chip by 3 pins of optocoupler U10, i.e. the control signal end CTRL G0 of controllable silicon Q3.The SCR V0 that 4 pins of optocoupler U10 are connected to power module holds, and magnitude of voltage is about 5V.6 pins of optocoupler U10 are connected on 220 Ω resistance R35, and R35 connects 1k Ω resistance R36 and is connected to by R36 the SCR K0 point that the change of current of bidirectional triode thyristor zero-clearance switches main circuit again.The SCR G0 end that R35 directly switches with the change of current of bidirectional triode thyristor zero-clearance on the ac thyristor Q3 in main circuit is connected.The electric capacity C40 that capacitance is 1nF is connected between SCR G0 holds and SCR K0 holds.
In U11,3.3V direct voltage source VCC connects one end that resistance is the resistance R37 of 220 Ω, the other end of R37 connects 1 pin of optocoupler U11, then is connected to 5 pins of PIC32MX230F064B-I/SS chip by 3 pins of optocoupler U11, i.e. the control signal end CTRL G1 of controllable silicon Q5.The SCR V1 that 4 pins of optocoupler U11 are connected to power module holds, and magnitude of voltage is about 5V.6 pins of optocoupler U11 are connected on the resistance R38 of 220 Ω, and R38 connects 1k Ω resistance R39 and is connected to live wire LIVE by R39 again.The SCR G1 end that R38 directly switches with the change of current of bidirectional triode thyristor zero-clearance on the ac thyristor Q5 in main circuit is connected.The electric capacity C42 that capacitance is 1nF is connected between live wire and SCR G1 are held.
In U12,3.3V direct voltage source VCC connects the resistance R40 that resistance is 220 Ω.The other end of R40 connects 1 pin of optocoupler U12, then is connected to 7 pins of PIC32MX230F064B-I/SS chip by 3 pins of optocoupler, i.e. the control signal end CTRL G2 of direct current controllable silicon Q4.The SCR V2 that 4 pins of optocoupler U12 are connected to power module holds, and magnitude of voltage is about 5V.6 pins of optocoupler U12 are connected on the resistance R41 of 220 Ω, and R41 connects 1k Ω resistance R42 and is connected to by R42 the SCR K2 point that the change of current of bidirectional triode thyristor zero-clearance switches main circuit again.The SCR G2 end that R41 directly switches with the change of current of bidirectional triode thyristor zero-clearance on the ac thyristor Q4 in main circuit is connected.The electric capacity C43 that capacitance is 1nF is connected between SCR G2 holds and SCR K2 holds.
In U14,3.3V direct voltage source VCC connects the resistance R45 that resistance is 220 Ω.The other end of R45 connects 1 pin of optocoupler U14, then is connected to 6 pins of PIC32MX230F064B-I/SS chip by 3 pins of optocoupler U14, i.e. the control signal end CTRL G3 of controllable silicon Q6.The SCR V3 that 4 pins of optocoupler U14 are connected to power module holds, and magnitude of voltage is about 5V.6 pins of optocoupler U14 are connected on the resistance R46 of 220 Ω, and R46 connection resistance is that the resistance R47 of 1k Ω is connected to-12V direct voltage source VEE by R47 again.The SCR G3 end that R46 directly switches with the change of current of bidirectional triode thyristor zero-clearance on the direct current controllable silicon Q6 in main circuit is connected.Hold at SCR G3 and connect the electric capacity C46 that capacitance is 1nF between-12V direct voltage source VEE.
Bidirectional triode thyristor control signal driving isolation modular circuit U10 shown in relay switching variable control signal driving isolation modular circuit U15 and Fig. 4 (b) shown in Fig. 4 (a), U11, U12, U14 are connected to the relevant position in Fig. 5, as shown in Figure 6.VDD in U15, i.e. 2 pins of KR1 relay termination; The collector electrode of triode Q52, connects 5 pins of KR2 relay termination.One end SCR G0 point of the electric capacity C40 in U10 module is connected with the gate pole SCR G0 point of ac thyristor Q3, and the other end SCR K0 of C40 is connected with the negative pole SCR K0 of ac thyristor Q3.One end SCR G1 point of the electric capacity C42 in U11 module is connected with the gate pole SCR G1 point of ac thyristor Q5, and the other end LIVE of C42 is connected with the negative pole of ac thyristor Q5, is namely connected to live wire LIVE.One end SCR G2 point of the electric capacity C43 in U12 module is connected with the gate pole SCR G2 point of direct current controllable silicon Q4, and the other end SCR K2 of C43 is connected with the negative pole SCR K2 of direct current controllable silicon Q4.One end SCR G3 point of the electric capacity C46 in U14 module is connected with the gate pole SCR G3 point of direct current controllable silicon Q6, and the other end VEE of C46 is connected with the negative pole of direct current controllable silicon Q6, is namely connected to-12V DC power supply VEE.The change of current of bidirectional triode thyristor zero-clearance switches the switching that main circuit has been responsible for civil power and power module.When 220V line voltage abnormal state being detected, this commutation circuit can complete switching action fast under the instruction of single-chip microcomputer main control unit, for A.C. contactor provides burning voltage.
Realize based on adaptive bidirectional triode thyristor zero-clearance change of current software control system in present embodiment in single-chip microcomputer main control unit, its workflow adopts C language to write, and main task is that the sampling of 220V line voltage current signal and the computing of SCR control signal export.According to the requirement of device, control software design mainly comprises main program, A/D interrupt service subroutine and protection interruption subroutine.The main completion system initial configuration of main program; A/D interrupt service subroutine completes the sampling to voltage and current signal; External interrupt mainly completes the protection of main circuit.
As shown in Figure 7, overall workflow performs the design of control software design main flow according to the following steps:
Step one: device powers on, enters main program;
Step 2: singlechip control chip carries out initialization to A/D mouth, I/O mouth etc.;
Step 3: after initialization, device carries out own hardware detection;
Step 4: enter while endless loop after its own system is working properly, waits arrival to be interrupted;
Step 5: different down trigger enters corresponding interruption subroutine, i.e. Sampling interrupt and external interrupt.
After system initialization to device oneself state overhaul flow chart as shown in Figure 8, perform according to the following steps:
Step one: start;
Step 2: each module of enable singlechip control chip, sampled voltage signal, current signal;
Step 3: judge that whether Anti-electricity dazzling device is normal by the variable such as voltage, electric current collected;
Step 4: if Anti-electricity dazzling device exists abnormal, Anti-electricity dazzling device sends warning message, quits work immediately;
Step 5: when Anti-electricity dazzling device is working properly, sampling 220V line voltage, is stored in array ADBuf [n] by sampled value;
Step 6: catch 220V electrical network zero crossing by detecting electric current;
Step 7: array ADBuf [n] and 80% of 220V electrical network normal voltage array Refv [n] are compared; If ADBuf [n] is greater than 0.8Refv [n], then Anti-electricity dazzling device normally works, and system enters while endless loop, waits for that interrupt event occurs; Otherwise then show rolling electricity, system gives the alarm, and quits work, and gets back to step 3 simultaneously.
After device powers on, first control chip carries out initialization to A/D mouth, I/O mouth etc., and after initialization, device carries out own hardware detection, only has to enter while endless loop after its own system is working properly, etc. arrival to be interrupted, different down trigger enters corresponding interruption subroutine.By the application interrupted, save query time, improve operating efficiency.The main completion system initial configuration of main program, line voltage and device oneself state detect.After control chip completes the initialization of each variable and peripheral module, whether abnormal by gathering the variable judgment means such as internal operating voltages.If exist abnormal, device sends warning message, quits work immediately.When device is working properly, whether detection of grid voltage is abnormal.Because in the system works starting stage, not there is current switching function.If detect, electric network state is abnormal, and system gives the alarm, and quits work.After above situation is all got rid of, system enters while endless loop, waits for that interrupt event occurs.
The A/D interrupt service subroutine of this control software design to the sampling flow chart of voltage and current signal as shown in Figure 9, performs following steps:
Step one: start;
Step 2: A/D mode of operation is set;
Step 3: open A/D and interrupt;
Step 4: when interrupting arriving, start sampling;
Step 5: start A/D conversion after sampling;
Step 6: the data reading conversion;
Step 7: terminate.
220V line voltage decision flow chart as shown in Figure 10, performs according to the following steps:
Step one: start, System self-test is normal;
Step 2: record 220V mains frequency, calculates the sine table array Refv [80] of one-period totally 80 points;
Step 3: A/D sampling obtains 220V line voltage value, and is stored in array ADBuf [n];
Step 4: judge whether ADBuf [n] is less than 0.8Refv [n];
When step 5: ADBuf [n] is less than 0.8Refv [n], the electric number of times WrongTimes that shakes adds 1, n and adds 1; Otherwise then normal number of times GoodTimes adds 1, n and adds 1;
Step 6: judge whether normal number of times GoodTimes equals 200, the electric number of times WrongTimes and normal number of times GoodTimes that if so, then shakes all resets, and circuit does not switch, and performs step 7; If not whether the electric number of times WrongTimes that judges to shake is more than or equal to 20, and if so, bidirectional triode thyristor output switching, returns step 3, is less than 20, returns step 4 if shake electric number of times WrongTimes;
Step 7: judge whether n equals 80, if so, then n resets, and performs step 8; If n is less than 80, return step 4;
Step 8: at set intervals, recalculates 220V mains frequency, and according to the standard sine reference table Refv [n] that this frequency computation part makes new advances, returns step 3.
In line voltage condition adjudgement, calculated voltage peak or the effective value of current sinusoidal ripple by sampled data, if the peak value measured or effective value are beyond threshold range, judge that electric network state is abnormal, protective device switching action.This device adopts fast zoom table comparison method, and gather 80 points in a sine wave period, the sampling interval of often is 249us.But near waveform pass zero point, actual value is smaller, sampled value is easily by noise jamming, reliability is not high, therefore in order to improve the reliability of line voltage condition adjudgement, reject the sampled value near zero-crossing point ± 1.25ms in program, i.e. each 5 somes removing before and after zero crossing, gathers 60 points in scope in addition.System, after upper electro-detection is errorless, first utilizes capture-port to calculate the frequency values f of local power grid, then according to formula generate the sinusoidal array Refv [80] including 80 values.Adopt 60 comparison methods; namely sampling obtain ADBuf [5] in array, ADBuf [6] ..., ADBuf [34], ADBuf [35] compare with corresponding numerical value in sinusoidal array Refv [80]; if in the comparison; the comparative result more than more than 20 times or 20 times is had to be all ADBuf [n] < 0.8Refv [n]; then think line voltage unusual fluctuations, protective device switches.Also may there is change in the frequency due to system line voltage in running, when the sampled value after frequency change being compared with the sinusoidal array without frequency departure, there will be the situation that comparison point is not corresponding, and system can occur serious erroneous judgement to the state of line voltage.In order to anti-generation of planting here situation, the mains frequency value at set intervals by remeasuring formulates new sinusoidal array Refv [80].
The protection subprogram of control software design of the present invention; namely as shown in figure 11, when system starts, the market value magnitude of voltage first by collecting judges whether voltage falls for switching and switchback subroutine flow chart; if voltage falls, then Power switch is switched to power module and power.Now the sense of current of circuit is judged, if the sense of current is just, then close two ac thyristor pipes, open forward dc thyristor, otherwise, then close two ac thyristor pipes, open negative sense direct current thyristor.Judge that whether the stand-by period is more than 5s, if more than 5s, then judges grid cut-off, shutdown system simultaneously.If be no more than 5s, then enter switchback part, judge whether the sense of current is just.When the sense of current is timing, close two direct current thyristors, open forward ac thyristor pipe, otherwise, close two direct current thyristors, open negative sense ac thyristor pipe, and Power switch is switched to mains supply.
The protection subprogram of control software design performs according to the following steps:
Step one: start;
Whether step 2: judge whether voltage falls, namely there is to shake electricity, if so, then perform step 3, enter switching part, if not, then electrical network normal power supply;
Step 3: the Powerswitch pin of single-chip microcomputer main control unit is switched to direct current supply;
Step 4: judge whether the sense of current is just, if the sense of current is just, then performs step 5, otherwise, then perform step 6;
Step 5: close two ac thyristor pipes, open forward dc thyristor, enter step 7;
Step 6: close two ac thyristor pipes, open negative sense direct current thyristor, enter step 7;
Step 7: judge whether to have waited for 5 seconds, if so, then shutdown system, otherwise, then perform step 8;
Step 8: 220V line voltage recovers normal, judges whether the sense of current is just, if so, then performs step 9, otherwise, then perform step 10;
Step 9: close two direct current thyristors, open forward ac thyristor pipe, performs step 11;
Step 10: close two direct current thyristors, open negative sense ac thyristor pipe, performs step 11;
Step 11: Powerswitch switches to 220V mains supply.
Based on the control method of the Anti-electricity dazzling device of the adaptive two-way zero-clearance change of current, as shown in figure 12, comprise the following steps:
Step 1: load voltage current detection circuit gathers the electric current and voltage value in load, and is input in single-chip microcomputer main control unit, thus the change of current of setting bidirectional triode thyristor zero-clearance switches the duration of main circuit switchback;
Step 2: it is the voltage of positive that the 220V sinusoidal voltage of 220V electrical network is converted to the perseverance that single-chip microcomputer main control unit can receive by line voltage amplitude detection sample circuit, exports single-chip microcomputer main control unit to, and is stored in array ADBuff [n];
The current phase that the change of current of bidirectional triode thyristor zero-clearance switches in main circuit is input in single-chip microcomputer main control unit with the form of low and high level by Hall current sensor by step 3:220V line voltage current phase sample circuit, and the phase place of 220V line voltage is input in single-chip microcomputer main control unit with the form of low and high level by 220V line voltage current phase sample circuit simultaneously;
Step 4: 220V line voltage is rectified into 5V direct voltage by rectification module, input power module, the pressure drop of 5V direct current becomes 3.3V to single-chip microcomputer main control unit chip power supply by DC decompression module by rectification module simultaneously;
Step 5: power module converts 5V direct voltage to+12V direct voltage VDD and-12V direct voltage VEE by high frequency transformer output circuit and powers to drive circuit and bidirectional triode thyristor zero-clearance change of current switching main circuit;
Step 6: whether the sampled signal monitoring 220V electrical network according to line voltage amplitude detection sample circuit electricity occurs to shake: if the voltage of 220V electrical network is lower than 80% of normal voltage, then electricity occurs to shake 220V electrical network, performs step 7; Otherwise, return step 1;
According to the local 220V mains frequency measured in advance, calculate the sine table array Refv [80] of one-period totally 80 points, as normal voltage for comparing;
Step 7: the signal that single-chip microcomputer main control unit transmits according to 220V line voltage current phase sample circuit judges now voltage current phase, provide enable signal, turn off the change of current of bidirectional triode thyristor zero-clearance by drive circuit and switch ac thyristor thyristor in main circuit, open the direct current silicon controlled crystal brake pipe corresponding with current voltage current phase, switch to stand-by power supply, namely power module provides burning voltage for load, thus realize taking over seamlessly between Alternating Current Power Supply and direct current supply, i.e. the zero-clearance change of current;
Step 8: when 220V line voltage recovers normal; single-chip microcomputer main control unit turns off the direct current silicon controlled crystal brake pipe in bidirectional triode thyristor zero-clearance change of current switching main circuit by drive circuit; open the ac thyristor thyristor corresponding with current voltage current phase; the change of current of bidirectional triode thyristor zero-clearance switches main circuit and switches back 220V mains supply again; thus realize taking over seamlessly between direct current supply and Alternating Current Power Supply, realize shaking electric protection.

Claims (10)

1. the Anti-electricity dazzling device based on the adaptive two-way zero-clearance change of current, it is characterized in that, comprise line voltage amplitude detection sample circuit, 220V line voltage current phase sample circuit, rectification module, DC decompression modular circuit, single-chip microcomputer main control unit, power module, high frequency transformer output circuit, drive circuit, bidirectional triode thyristor zero-clearance change of current switching main circuit and load voltage current detection circuit;
Power module is used to as load provides galvanic stand-by power supply;
The input of line voltage amplitude detection sample circuit, the input of 220V line voltage current phase sample circuit, the input of rectification module is connected to 220V electrical network respectively, the output of line voltage amplitude detection sample circuit connects the A/D sample port of single-chip microcomputer main control unit, the output of 220V line voltage current phase sample circuit connects the voltage current phase sample port of single-chip microcomputer main control unit, one road output of rectification module connects the input of DC decompression modular circuit, the output of DC decompression modular circuit connects the chip power supply port of single-chip microcomputer main control unit, the input of drive circuit connects the enable signal output of single-chip microcomputer main control unit, another road output of rectification module connects the input of power module, the output of power module connects the input of high frequency transformer output circuit, the output of drive circuit, the output of high frequency transformer output circuit connects the input that the change of current of bidirectional triode thyristor zero-clearance switches main circuit, load connects the output that the change of current of bidirectional triode thyristor zero-clearance switches main circuit respectively, load voltage current detection circuit, 220V electrical network, load voltage current detection circuit also connects the sample port of single-chip microcomputer main control unit.
2. the Anti-electricity dazzling device based on the adaptive two-way zero-clearance change of current according to claim 1, is characterized in that, described drive circuit comprises relay switching variable control signal driving isolation module, bidirectional triode thyristor control signal driving isolation module;
Relay switching variable control signal driving isolation module for realize relay switching variable control signal and single-chip microcomputer main control unit drive singal between electrical isolation, thus complete the driving change of current of bidirectional triode thyristor zero-clearance being switched to main circuit repeat circuit;
Bidirectional triode thyristor control signal driving isolation module switches ac thyristor thyristor in main circuit and direct current silicon controlled crystal brake pipe for driving the change of current of bidirectional triode thyristor zero-clearance.
3. the Anti-electricity dazzling device based on the adaptive two-way zero-clearance change of current according to claim 1, it is characterized in that, it is the voltage of positive that described line voltage amplitude detection sample circuit is used for the 220V sinusoidal voltage of 220V electrical network to be converted to the perseverance that single-chip microcomputer main control unit can receive, and when making the phase place of 220V sinusoidal voltage be plus or minus, single-chip microcomputer main control unit all can real-time monitor 220V grid voltage change.
4. the Anti-electricity dazzling device based on the adaptive two-way zero-clearance change of current according to claim 1, it is characterized in that, the current phase that the change of current of bidirectional triode thyristor zero-clearance switches main circuit is input in single-chip microcomputer main control unit with the form of low and high level by Hall current sensor by described 220V line voltage current phase sample circuit, and the phase place of 220V line voltage is input in single-chip microcomputer main control unit with the form of low and high level by 220V line voltage current phase sample circuit simultaneously.
5. the Anti-electricity dazzling device based on the adaptive two-way zero-clearance change of current according to claim 1, is characterized in that, it is that the direct voltage output of 5V is to power module that described rectification module is used for the line voltage of 220V to be made into magnitude of voltage.
6. the Anti-electricity dazzling device based on the adaptive two-way zero-clearance change of current according to claim 1, is characterized in that, described high frequency transformer output circuit is used for exporting the DC power supply VDD of+12V and the DC power supply VEE of-12V.
7. the Anti-electricity dazzling device based on the adaptive two-way zero-clearance change of current according to claim 1, it is characterized in that, described load voltage current detection circuit is used for gathering the electric current and voltage value in load, thus the change of current of setting bidirectional triode thyristor zero-clearance switches the duration of main circuit switchback.
8. the Anti-electricity dazzling device based on the adaptive two-way zero-clearance change of current according to claim 1, it is characterized in that, described single-chip microcomputer main control unit is used for, according to the sampled signal monitoring 220V electrical network of line voltage amplitude detection sample circuit, whether electricity occurs to shake: when 220V electrical network occurs to shake electricity, now current phase is judged according to the signal that 220V line voltage current phase sample circuit transmits, and turn off ac thyristor thyristor in bidirectional triode thyristor zero-clearance change of current switching main circuit, open the direct current silicon controlled crystal brake pipe corresponding with current flow phase place; When 220V line voltage recovers normal, turn off the direct current silicon controlled crystal brake pipe in bidirectional triode thyristor zero-clearance change of current switching main circuit, open the ac thyristor thyristor corresponding with current flow phase place.
9. the Anti-electricity dazzling device based on the adaptive two-way zero-clearance change of current according to claim 1, it is characterized in that, the described bidirectional triode thyristor zero-clearance change of current switches the switching that main circuit completes 220V electrical network and stand-by power supply: when single-chip microcomputer main control unit monitor 220V electrical network occur to shake electricity time, the change of current of bidirectional triode thyristor zero-clearance switches main circuit and complete electrical source exchange action fast under the instruction of single-chip microcomputer main control unit, switches to stand-by power supply for load and provides stabilized power supply; When 220V power system restoration normally works, the change of current of bidirectional triode thyristor zero-clearance switches main circuit and switches back 220V mains supply again, thus realizes taking over seamlessly between Alternating Current Power Supply and direct current supply, i.e. the zero-clearance change of current.
10. the control method of the Anti-electricity dazzling device based on the adaptive two-way zero-clearance change of current according to claim 1, is characterized in that, comprise the following steps:
Step 1: load voltage current detection circuit gathers the electric current and voltage value in load, and is input in single-chip microcomputer main control unit, thus the change of current of setting bidirectional triode thyristor zero-clearance switches the duration of main circuit switchback;
Step 2: it is the voltage of positive that the 220V sinusoidal voltage of 220V electrical network is converted to the perseverance that single-chip microcomputer main control unit can receive by line voltage amplitude detection sample circuit, exports single-chip microcomputer main control unit to;
The current phase that the change of current of bidirectional triode thyristor zero-clearance switches in main circuit is input in single-chip microcomputer main control unit with the form of low and high level by Hall current sensor by step 3:220V line voltage current phase sample circuit, and the phase place of 220V line voltage is input in single-chip microcomputer main control unit with the form of low and high level by 220V line voltage current phase sample circuit simultaneously;
Step 4: 220V line voltage is rectified into 5V direct voltage by rectification module, input power module, the pressure drop of 5V direct current becomes 3.3V to power to single-chip microcomputer main control unit by DC decompression module by rectification module simultaneously;
Step 5: power module converts 5V direct voltage to+12V direct voltage VDD and-12V direct voltage VEE by high frequency transformer output circuit and powers to drive circuit and bidirectional triode thyristor zero-clearance change of current switching main circuit;
Step 6: whether the sampled signal monitoring 220V electrical network according to line voltage amplitude detection sample circuit electricity occurs to shake: if the voltage of 220V electrical network is lower than 80% of normal voltage, then electricity occurs to shake 220V electrical network, performs step 7; Otherwise, return step 1;
Step 7: the signal that single-chip microcomputer main control unit transmits according to 220V line voltage current phase sample circuit judges now voltage current phase, provide enable signal, turn off the change of current of bidirectional triode thyristor zero-clearance by drive circuit and switch ac thyristor thyristor in main circuit, open the direct current silicon controlled crystal brake pipe corresponding with current voltage current phase, switch to stand-by power supply, namely power module provides burning voltage for load, thus realize taking over seamlessly between Alternating Current Power Supply and direct current supply, i.e. the zero-clearance change of current;
Step 8: when 220V line voltage recovers normal; single-chip microcomputer main control unit turns off the direct current silicon controlled crystal brake pipe in bidirectional triode thyristor zero-clearance change of current switching main circuit by drive circuit; open the ac thyristor thyristor corresponding with current voltage current phase; the change of current of bidirectional triode thyristor zero-clearance switches main circuit and switches back 220V mains supply again; thus realize taking over seamlessly between direct current supply and Alternating Current Power Supply, realize shaking electric protection.
CN201510094958.6A 2015-03-03 2015-03-03 Electric-dazzling prevention device and method of bidirectional zero-clearance conversion current based on self-adaption Active CN104682394B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510094958.6A CN104682394B (en) 2015-03-03 2015-03-03 Electric-dazzling prevention device and method of bidirectional zero-clearance conversion current based on self-adaption

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510094958.6A CN104682394B (en) 2015-03-03 2015-03-03 Electric-dazzling prevention device and method of bidirectional zero-clearance conversion current based on self-adaption

Publications (2)

Publication Number Publication Date
CN104682394A true CN104682394A (en) 2015-06-03
CN104682394B CN104682394B (en) 2017-04-12

Family

ID=53317132

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510094958.6A Active CN104682394B (en) 2015-03-03 2015-03-03 Electric-dazzling prevention device and method of bidirectional zero-clearance conversion current based on self-adaption

Country Status (1)

Country Link
CN (1) CN104682394B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105591459A (en) * 2015-10-16 2016-05-18 国网江西省电力科学研究院 Voltage tracking retainer on the basis of single-phase inversion
CN106787842A (en) * 2016-12-30 2017-05-31 重庆瑜欣平瑞电子股份有限公司 Dual power supply voltage regulator control circuit
CN108152561A (en) * 2018-03-14 2018-06-12 广东海明晖电子科技有限公司 Igh-speed wire-rod production line circuit
WO2018113525A1 (en) * 2016-12-23 2018-06-28 Sengled Co., Ltd. Power supply circuit for supplying power to microcontroller unit
CN108548971A (en) * 2018-04-04 2018-09-18 成都信息工程大学 A kind of electrical appliance on-line monitoring equipment and system
CN109861381A (en) * 2019-03-29 2019-06-07 国网安徽省电力有限公司阜阳供电公司 A kind of bypass type supplies power with double circuit switching system
CN110850330A (en) * 2018-08-02 2020-02-28 半导体组件工业公司 Ground fault interrupter self-test circuit and related method
CN111900698A (en) * 2020-07-31 2020-11-06 中国南方电网有限责任公司超高压输电公司昆明局 Safety anti-misoperation circuit of converter transformer

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201294387Y (en) * 2008-11-28 2009-08-19 常州帕威尔测控技术有限公司 Energy-saving capacitance compensation switching controller
CN102122839A (en) * 2011-01-18 2011-07-13 西安润辉科技发展有限公司 Electric-dazzling prevention auxiliary power supply in low-voltage alternating current control loop and power supply method thereof
CN103633860A (en) * 2013-11-26 2014-03-12 江苏国网自控科技股份有限公司 Adaptive control system and control method of anti-interference electricity device
CN103730895A (en) * 2013-12-31 2014-04-16 东北大学 Bypass type 220V power grid electric dazzling prevention device and control method thereof
CN204179742U (en) * 2014-08-30 2015-02-25 沈亚斌 A kind of alternating current-direct current is without delay switching device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201294387Y (en) * 2008-11-28 2009-08-19 常州帕威尔测控技术有限公司 Energy-saving capacitance compensation switching controller
CN102122839A (en) * 2011-01-18 2011-07-13 西安润辉科技发展有限公司 Electric-dazzling prevention auxiliary power supply in low-voltage alternating current control loop and power supply method thereof
CN103633860A (en) * 2013-11-26 2014-03-12 江苏国网自控科技股份有限公司 Adaptive control system and control method of anti-interference electricity device
CN103730895A (en) * 2013-12-31 2014-04-16 东北大学 Bypass type 220V power grid electric dazzling prevention device and control method thereof
CN204179742U (en) * 2014-08-30 2015-02-25 沈亚斌 A kind of alternating current-direct current is without delay switching device

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105591459A (en) * 2015-10-16 2016-05-18 国网江西省电力科学研究院 Voltage tracking retainer on the basis of single-phase inversion
CN105591459B (en) * 2015-10-16 2019-02-26 国网江西省电力科学研究院 A kind of voltage-tracing retainer based on single-phase inversion
WO2018113525A1 (en) * 2016-12-23 2018-06-28 Sengled Co., Ltd. Power supply circuit for supplying power to microcontroller unit
CN106787842A (en) * 2016-12-30 2017-05-31 重庆瑜欣平瑞电子股份有限公司 Dual power supply voltage regulator control circuit
CN106787842B (en) * 2016-12-30 2023-06-09 重庆瑜欣平瑞电子股份有限公司 Dual-power voltage regulating control circuit
CN108152561A (en) * 2018-03-14 2018-06-12 广东海明晖电子科技有限公司 Igh-speed wire-rod production line circuit
CN108548971A (en) * 2018-04-04 2018-09-18 成都信息工程大学 A kind of electrical appliance on-line monitoring equipment and system
CN108548971B (en) * 2018-04-04 2023-12-01 成都信息工程大学 Online monitoring equipment and system for electrical appliances
CN110850330A (en) * 2018-08-02 2020-02-28 半导体组件工业公司 Ground fault interrupter self-test circuit and related method
CN109861381A (en) * 2019-03-29 2019-06-07 国网安徽省电力有限公司阜阳供电公司 A kind of bypass type supplies power with double circuit switching system
CN111900698A (en) * 2020-07-31 2020-11-06 中国南方电网有限责任公司超高压输电公司昆明局 Safety anti-misoperation circuit of converter transformer

Also Published As

Publication number Publication date
CN104682394B (en) 2017-04-12

Similar Documents

Publication Publication Date Title
CN104682394A (en) Electric-dazzling prevention device and method of bidirectional zero-clearance conversion current based on self-adaption
CN102662104B (en) Zero-crossing detection method and circuit
CN102901936B (en) Poweroff detection method of alternating current power supply and poweroff protection method of direct current inverter compressor
CN105591459B (en) A kind of voltage-tracing retainer based on single-phase inversion
CN205212446U (en) Single -phase photovoltaic grid -connected inverter controlling means
CN106300430B (en) A kind of miniature photovoltaic grid-connected inverter and its grid-connected control method
CN103066621A (en) Static switch and control method applied to connection of microgrid and public supply network
CN204065213U (en) Zero sequence current mutual inductor break detection circuit and residual current detection circuit
CN105245126A (en) Teaching inverter system module
CN103986347B (en) A kind of three-phase semi-controlled bridge type rectification triggering circuit with defencive function
CN103257272B (en) A kind of communication power supply power-fail detection circuit and detection method
CN202710702U (en) Medium-voltage distribution network fault monitoring device
CN102914725A (en) Medium-voltage power distribution network fault monitoring device
CN203084067U (en) AC abnormity fast detection circuit
CN103487707B (en) Vehicle-mounted three-phase alternating-current powered intelligent monitoring unit
CN104868585A (en) Silicon controlled rectifier switching circuit and power switching device based on silicon controlled rectifier switching circuit
CN107147137A (en) A kind of intelligent commutation control device and phase change control method
CN206832896U (en) A kind of three-phase power input phase-loss detection circuit
CN107462766B (en) New method for detecting mains voltage and mains frequency and detection circuit
CN201075665Y (en) Protection test control apparatus having functions of alternating-current/direct-current general use and checking the same term
CN204481570U (en) Circuit breaker intelligent controller
CN204166058U (en) A kind of city electro-mechanical wave quick detection circuit
CN104600682B (en) Active power filter current protection circuit and method
CN203377584U (en) Three-phase non-midline phase-lack, undervoltage and overvoltage protection circuit
CN104865428A (en) Automatic switching device of three-phase three-wire electric energy meter and three-phase four-wire electric energy meter

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant