" coupling " mentioned in specification of the invention can refer to directly connection or the connection by indirect object, such as by leading
The connection of body, the conductor have resistance value, can also there is parasitic parameter, such as have inductance value and capacitance, and such as pass through semiconductor
The connection etc. of device such as diode.
Fig. 1 gives power grid detection according to an embodiment of the invention and protection circuit 100.Power grid detection and protection circuit
100 can be divided into front end portion A and rear end part B according to the different location for being coupled to AC power supplies.Wherein front end portion A is coupled to AC
At the bus of registering one's residence of power supply, rear end part B can be coupled to any position of AC power supplies.Front end portion A includes electric quantity detecting circuit
11, front controller circuit 12 protects circuit 13 and the first electrical power carrier circuit 14.Electric quantity detecting circuit 11 is coupled to AC power supplies
First end and second end to detect the voltage and current of AC power supplies to obtain instantaneous voltage Vt, transient current It, voltage has
Valid value Ve, current effective value Ie and electrical power W etc. characterize the data of load condition, and export these data in output end.Before
Side controller circuit 12 is coupled to electric quantity detecting circuit 11 to receive instantaneous voltage Vt, transient current It, voltage effective value Ve, electricity
Flow the data such as virtual value Ie and electrical power W.Front controller circuit 12 have threshold signal Vth, 12, front controller circuit
The data value of the characterization load condition received according to threshold signal Vth and front controller circuit 12 generates protection signal to protection
Circuit 13.The threshold signal Vth can be what user was actively arranged, be also possible to the fixation of front controller circuit 12 itself
Value.In one embodiment, threshold signal Vth is voltage value, the wink of the AC power supplies received at this time when front controller circuit 12
When voltage Vt be greater than threshold signal Vth, protection signal control protection electric circuit 13 enter power-off protection state.In one embodiment,
Threshold signal Vth is current value, and the transient current It of the AC power supplies received at this time when front controller circuit 12 is greater than threshold value
Signal Vth, protection signal control protection electric circuit 13 enter power-off protection state.In another embodiment, threshold signal Vth is electricity
The electrical power W of magnitude, the AC power supplies received at this time when front controller circuit 12 is greater than threshold signal Vth, protects signal control
System protection circuit 13 enters power-off protection state.Front controller circuit 12 and the first electrical power carrier circuit 14 all have serial i/
O mouthfuls and carried out data transmission by serial i/O mouthfuls.First electrical power carrier circuit 14 and AC power supplies pass through power carrier communication mode
Carry out data transmission.
It continues to refer to figure 1 and power grid is detected and the rear end part B of circuit 100 is protected to be illustrated, rear end part B includes the
Two electrical power carrier circuits 15, back-end controller circuit 16 and terminal display circuit 17.Wherein the second electrical power carrier circuit 15 and AC
Power supply is carried out data transmission by power carrier communication mode.Second electrical power carrier circuit 15 and back-end controller circuit 16 pass through
Serial i/O mouthfuls carries out data transmission.If terminal display circuit 17 is display screen, the output display data of back-end controller circuit 16 are arrived
Display screen, if terminal display circuit 17 is cell phone application (applet) or computer application program, back-end controller circuit 16
Can be by wireless telecommunications, such as the mode of bluetooth etc. and terminal display circuit 17 carry out data transmission.
Fig. 2 gives power grid detection according to an embodiment of the invention and protection circuit 100 works in setting threshold signal
Flow chart when Vth mode.When terminal display circuit 17 is cell phone application (applet) or computer application program, eventually
Hold display circuit 17 that " setting Vth " order is passed through wireless telecommunications, such as the mode of bluetooth etc. is transferred to back-end controller electricity
" setting Vth " order is passed through serial i/O port transmission to the second electrical power carrier circuit 15 by road 16, back-end controller circuit 16.The
" setting Vth " is ordered and is transferred to AC power supplies by power carrier communication mode by two electrical power carrier circuits 15, and AC power supplies is equally logical
It crosses power carrier communication mode and " setting Vth " order is transferred to the first electrical power carrier circuit 14, the first electrical power carrier circuit 14
" setting Vth " order is transferred to front controller circuit 12 by serial 1/0 mouthful, to realize user setting threshold signal
This function of Vth.
Fig. 3 give power grid detection circuit 100 according to an embodiment of the invention after threshold signal Vth is set up or
Threshold signal Vth works in the flow chart when detection pattern when being preset parameter.Electric quantity detecting circuit 11 is coupled to AC power supplies
At subscriber bus and detect the voltage and current of AC power supplies to obtain instantaneous voltage Vt, transient current It, voltage effective value Ve,
Current effective value Ie and electrical power W etc. characterize the data of load condition, and export in output end.Front controller circuit 12 couples
The instantaneous voltage Vt, transient current It, voltage effective value Ve, current effective value Ie of AC power supplies are received in electric quantity detecting circuit 11
With the data such as electrical power W.Front controller circuit 12 has comparator, the number for the characterization load condition that comparator relatively receives
Protection signal is generated to protection circuit 13 with the working condition of control protection electric circuit 13 according to threshold signal Vth, while front end is controlled
The data of received characterization load condition are passed through serial i/O port transmission to the first electrical power carrier circuit by device circuit 12 processed
14, the data for characterizing load condition are transferred on AC power supplies by the first electrical power carrier circuit 14 by power carrier communication mode.
Be coupled to the second electrical power carrier circuit 15 of any position of AC power supplies by power carrier communication mode receive AC power supplies this
The data of a little characterization load conditions, and rear end control is transferred to by the serial i/O mouthfuls of data by the characterization load condition received
Device circuit 16 processed, and finally it is transferred to terminal display circuit 17.
Fig. 4 gives the circuit block diagram of electric quantity detecting circuit 11 according to an embodiment of the invention.Electric quantity detecting circuit 11
Including AC-DC conversion circuit, voltage-stabilized power supply circuit, voltage collection circuit, current collection circuit and electric power detection unit.Wherein
AC-DC conversion circuit is coupled to AC power supplies and AC power supplies is converted into DC power supply.In one embodiment, AC-DC conversion electricity
AC power supplies is converted into positive direct-current power supply VCC+ and negative DC power supply VCC- by road.Voltage-stabilized power supply circuit is coupled to AC-
DC conversion circuit is used to receive positive direct-current power supply VCC+ and negative DC power supply VCC-, and according to positive direct-current power supply
VCC+ and negative DC power supply VCC- generates multiple accessory power supplys.Voltage collection circuit has first input end and the second input
End, wherein first input end is coupled to the first end of AC power supplies, and the second input terminal is coupled to the second end of AC power supplies, voltage acquisition
The voltage of circuit detection AC power supplies simultaneously generates positive detectable voltage signals VIN+ and negative detectable voltage signals VIN-.Current collection circuit
To detect the electric current of AC power supplies and generate positive sensed current signal IIN+ and negative sensed current signal IIN-.Electric power detection unit connects
Receive positive detectable voltage signals VIN+, negative detectable voltage signals VIN-, positive sensed current signal IIN+ and negative sensed current signal
Thus IIN- simultaneously obtains instantaneous voltage Vt, transient current It, and the characterizations such as voltage effective value Ve and current effective value Ie load shape
The data of state.
Fig. 5 gives the physical circuit figure of AC-DC conversion circuit according to an embodiment of the invention.AC-DC conversion circuit
Including transformer T1, there is first input end, the second input terminal, the rectifier bridge BRIDGE of the first output end and second output terminal,
Positive output capacitor COUT+ and negative output capacitor COUT-.Wherein the primary side of transformer T1 is coupled to AC power supplies, and the of transformer T1
One it is secondary while and second it is secondary while be respectively coupled to the first input end of rectifier bridge BRIDGE and with reference between ground GND and rectifier bridge
Between the second input terminal and reference ground GND of BRIDGE, positive output capacitor COUT+ is coupled to the first output of rectifier bridge BRIDGE
End with reference to ground GND between, negative output capacitor COUT- be coupled to rectifier bridge BRIDGE second output terminal and with reference to ground GND it
Between.
Fig. 6 gives the physical circuit figure of voltage-stabilized power supply circuit according to an embodiment of the invention.It is detected in a power grid
In protection circuit, it is often necessary to power supply of the different accessory power supply of multiple voltage values as other modular circuits, therefore
Voltage-stabilized power supply circuit generally includes multiple voltage stabilizing chips to generate multiple accessory power supplys.Fig. 6 gives including four voltage stabilizing chips
The voltage-stabilized power supply circuit of U1-U4, four voltage stabilizing chips provide the first output voltage OUT1, the second output voltage OUT2, the respectively
Three output voltage OUT3 and the 4th output voltage OUT4.The circuit connecting mode of voltage stabilizing chip is the common sense of this field, herein
No longer describe one by one.
Fig. 7 gives voltage collection circuit according to an embodiment of the invention, current collection circuit and protection circuit 13
Physical circuit figure.Voltage collection circuit includes voltage transformer, and first voltage acquires resistance RV1, and second voltage acquires resistance
RV2, tertiary voltage acquire resistance RV3, the 4th voltage acquisition resistance RV4, the 5th voltage acquisition resistance RV5 and voltage acquisition electricity
Hold CV.Wherein voltage transformer has first end, second end, third end and the 4th end, and wherein first end is adopted by first voltage
Collection resistance RV1 is coupled to the first end of AC power supplies, and the second end of voltage transformer is coupled to the second end of AC power supplies.Second voltage
Resistance RV2 and tertiary voltage acquisition resistance RV3 coupled in series are acquired between the third end and the 4th end of voltage transformer, wherein
It is adjustable resistance that second voltage, which acquires resistance RV2,.Voltage transformer utilizes alternating voltage mutual inductance characteristic, in concatenated second voltage
The both ends for acquiring resistance RV2 and tertiary voltage acquisition resistance RV3 generate the first mutual voltage VS1.4th voltage acquisition resistance RV4
It has a first end and a second end, wherein first end is coupled to the third end of voltage transformer, and second end is coupled to reference to ground GND.
5th voltage acquisition resistance RV5 has a first end and a second end, and wherein first end is coupled to the 4th end of voltage transformer, and second
End is coupled to reference to ground GND.Voltage acquisition capacitor CV has a first end and a second end, and wherein first end is coupled to voltage transformer
Third end, the second end of voltage acquisition capacitor CV is coupled to the 4th end of voltage transformer.First mutual voltage VS1 is the 4th
Partial pressure on voltage acquisition resistance RV4 forms positive detectable voltage signals VIN+, and the first mutual voltage VS1 is in the 5th voltage acquisition electricity
Partial pressure on resistance RV5 forms negative detectable voltage signals VIN-.First mutual voltage VS1 is AC signal, voltage acquisition capacitor CV
Positive detectable voltage signals VIN+ and negative detectable voltage signals VIN- are filtered.
Current collection circuit includes current transformer, the first current acquisition resistance RI1, the second current acquisition resistance RI2, the
Three current acquisition resistance RI3, the 4th current acquisition resistance RI4 and current acquisition capacitor CI.AC power supplies passes through current transformer, the
One current acquisition resistance RI1 and the second current acquisition resistance RI2 coupled in series in current transformer the first output end OUTA and
Between second output terminal OUTB.Current transformer utilizes alternating current mutual inductance characteristic, in concatenated first current acquisition resistance RI1
The second mutual voltage VS2 is generated with the both ends of the second current acquisition resistance RI2.Third current acquisition resistance RI3 has first end
And second end, wherein first end is coupled to the first output end OUTA of current transformer, and second end is coupled to reference to ground GND.The
Four current acquisition resistance RI4 have a first end and a second end, and wherein first end is coupled to the second output terminal of current transformer
OUTB, second end are coupled to reference to ground GND.Current acquisition capacitor CI has a first end and a second end, and wherein first end is coupled to
The first end of third current acquisition resistance RI3 and the first output end OUTA of current transformer, the second of current acquisition capacitor CI
End is coupled to the first end of the 4th current acquisition resistance RI4 and the second output terminal of current transformer.Second mutual voltage VS2 exists
Partial pressure on third current acquisition resistance RI3 forms positive sensed current signal IIN+, and the second mutual voltage VS2 is adopted in the 4th electric current
Partial pressure on collection resistance RI4 forms negative sensed current signal IIN-.Second mutual voltage VS2 is AC signal, current acquisition electricity
Hold CI to be filtered positive sensed current signal IIN+ and negative sensed current signal IIN-.
Protecting circuit 13 includes relay K1, diode DP, thyristor, the first protective resistance RP1, triode QP and second
Protective resistance RP2.Diode DP and Thyristors in series are coupled to power supply VCC and with reference between ground GND.Thyristor has sun
Pole A, cathode K and control electrode G, wherein the anode A of thyristor is coupled to the anode of diode DP, and the cathode K of thyristor is coupled to
With reference to ground GND, the cathode of diode DP is coupled to power supply VCC.First protective resistance RP1, the second protective resistance RP2 and three
Pole pipe QP coupled in series is between power supply VCC and the control electrode G of thyristor, wherein the first protective resistance RP1 has first
End and second end, triode QP have collector, emitter and base stage, and the second protective resistance RP2 has a first end and a second end.
The first end of first protective resistance RP1 is coupled to power supply VCC, and second end is coupled to the collector of triode QP.Second protects
The first end of shield resistance RP2 is coupled to the emitter of triode QP, and the second end of the second protective resistance RP is coupled to thyristor
Control electrode G.The base stage of triode QP receives protection signal UP/DOWM.Relay K1 has anode, control electrode, first switch S1
With second switch S2, Anodic is coupled to power supply VCC, and control electrode is coupled to the anode A of thyristor, first switch S1 and
Second switch S2 all has normally open end, normal-closed end and common end.When protecting signal UP/DOWM to be in high potential, triode QP
Conducting, so that turn on thyristors, the common end of the first switch S1 and second switch S2 of relay K1 are right with it at this time
The normally open end connection answered, the load of AC power supplies and AC power supplies disconnect, and protection circuit 13 enters power-off protection state.When protection signal
When UP/DOWM is in low potential, triode QP shutdown, thyristor shutdown, the first switch S1 and second switch S2 of relay K1
The corresponding normal-closed end connection in common end, the load of AC power supplies and AC power supplies be directly connected to, and protection circuit 13 enters just
Normal power supply state.
Fig. 8 gives the physical circuit figure of electric power detection unit according to an embodiment of the invention.Electric power detection unit connects
Receive positive detectable voltage signals VIN+, negative detectable voltage signals VIN-, positive sensed current signal IIN+ and negative sensed current signal
IIN- simultaneously obtains instantaneous voltage Vt accordingly, transient current It, voltage effective value Ve, and current effective value Ie etc. characterizes load condition
Data, and these data are transferred to front controller circuit 12 by communication port.Electric power detection unit includes detection chip, the
One detection resistance RT1, the second detection resistance RT2, third detection resistance RT3, the 4th detection resistance RT4, the 5th detection resistance
RT5, the 6th detection resistance RT6, the first detection capacitor CT1, the second detection capacitor CT2, third detection capacitor CT3, the 4th detection
Capacitor CT4, the 5th detection capacitor CT5, the 6th detection capacitor CT6, the 7th detection capacitor CT7, the 8th detection capacitor CT8, the 9th
Detect capacitor CT9 and crystal oscillator Y1.In the present embodiment, the model CS5460A of detection chip, chip CS5460A have 24
A PIN foot, wherein crystal oscillator Y1 is coupled between the first PIN foot and the 24th PIN foot.First detection capacitor CT1 is coupled to the
Between one PIN foot and reference ground GND, the second detection capacitor CT2 is coupled between the first PIN foot and third PIN foot, the first detection
One end of resistance RT1 receives positive detectable voltage signals VIN+, and the other end of the first detection resistance RT1 is coupled to the 9th PIN foot.The
One end of two detection resistance RT2 receives negative detectable voltage signals VIN-, and the other end of the second detection resistance RT2 is coupled to the tenth
PIN foot, third detection resistance RT3 are coupled to one end of the second detection resistance RT2 and with reference between ground GND, and third detects capacitor
CT3 be coupled to the tenth PIN foot and with reference to ground GND between, the 4th detection capacitor CT4 be coupled to the 9th PIN foot and with reference to ground GND it
Between.5th detection capacitor CT5 is coupled to the 11st PIN foot, between the 12nd PIN foot and reference ground GND.6th detection capacitor
CT6 is coupled to the 14th PIN foot and with reference between ground GND, and the 7th detection capacitor CT7 is coupled to the 16th PIN foot and with reference to ground
Between GND, the 8th detection capacitor CT8 is coupled to the 15th PIN foot and with reference between ground GND, and the 4th detection resistance RT4 mono- is terminated
Positive sensed current signal IIN+ is received, the other end is coupled to the 16th PIN foot, and the 5th one end detection resistance RT5 receives negative detection electricity
Signal IIN- is flowed, the other end is coupled to the 15th PIN foot.6th one end detection resistance RT6 receives negative sensed current signal IIN-,
The other end is coupled to reference to ground GND.9th detection capacitor CT9 is coupled to the 24th PIN foot and with reference between ground GND.
The third PIN foot and the 14th PIN foot of CS5460A chip are coupled to reference power source, the 4th PIN foot and the coupling of the 13rd PIN foot
In reference GND.The 5th of CS5460A chip, the 6th, the 7th, the 19th, 20,21,22,23 PIN foot
It is communication port.In another embodiment, detection chip can use other model electric power detection chips.
Fig. 9 gives the physical circuit figure of front controller circuit 12 according to an embodiment of the invention.In the present embodiment
Middle front controller circuit 12 has the communication port that can carry out data transmission with electric quantity detecting circuit 11.Front controller circuit
12 also have comparator, the data that the comparator compares threshold signal Vth and receives, and output protection signal UP/DOWM.
Front controller circuit 12 also has serial i/O mouthfuls, this serial i/O mouthfuls serial i/O for being coupled to the first electrical power carrier circuit 14
Mouth is for data transmission between the two.
Figure 10 gives the physical circuit figure of the first electrical power carrier circuit 14 according to an embodiment of the invention.In this implementation
In example, the first electrical power carrier circuit 14 uses LM1893 chip, and the LM1893 chip has 18 PIN foot, wherein the first electricity
Power capacitor CM1 is coupled between the first PIN foot and the second PIN foot, the second electric capacitor CM2 and the first electric power resistance RM1 series connection
It being coupled between third PIN foot and the 4th PIN foot, third electric capacitor CM3 is coupled between the 6th PIN foot and reference ground GND,
In the 7th PIN foot and with reference between ground GND, third electric power is electric for second electric power resistance RM2 and the 4th electric capacitor CM4 coupled in series
RM3 and the 4th electric power resistance RM4 coupled in series are hindered between the 18th PIN foot and reference ground GND, the 5th electric capacitor CM5 coupling
It is connected to the 16th PIN foot and with reference between ground GND.6th electric capacitor CM6 be coupled to the 13rd PIN foot and with reference to ground GND it
Between, the 5th electric power resistance RM5 is coupled between the 12nd PIN foot and the 11st PIN foot, and the 6th electric power resistance RM6 is coupled to
Between 11 PIN foot and reference power source, Zener diode Z1 is coupled to the tenth PIN foot and with reference between ground GND.LM1893 chip
The 5th PIN foot receive/send TX/RX signal, the 12nd PIN foot receives/sends OUT_RX signal, the 17th PIN foot receives/
Send IN_TX signal.8th PIN foot of LM1893 chip and the 9th PIN foot are coupled to together, and the 15th PIN foot is coupled to ginseng
Examine power supply.First electrical power carrier circuit 14 further includes the 7th electric capacitor CM7, the 8th electric capacitor CM8, the 9th electric capacitor
CM9, the 7th electric power resistance RM7 and the second transformer T2, wherein the 9th electric capacitor CM9 coupled in series is in the second transformer T2's
Primary side, the 8th electric capacitor CM8 are parallel to the secondary side of the second transformer T2, and the 7th electric capacitor CM7 is coupled to the second transformer
Between T2 pair side one end and reference ground GND, the 7th electric power resistance RM7 is coupled to the second transformer T2 pair side other end and the tenth
Between PIN foot.In another embodiment, the first electrical power carrier circuit 14 uses other power carrier chips.
If the second electrical power carrier circuit 15 uses and the identical power carrier chip of the first circuit carrier circuit 14, second
The physical circuit connection type of electrical power carrier circuit 15 is identical with the specific connection type of the first electrical power carrier circuit 14.It is real one
It applies in example, the second power carrier chip and the first power carrier chip are different.
Figure 11 gives the circuit of back-end controller circuit 16 and terminal display circuit 17 according to an embodiment of the invention
Schematic diagram.Back-end controller circuit 16 has serial i/O mouthfuls and output end, and described serial i/O mouthfuls is used for and the second power carrier
Circuit 15 carries out data transmission, and the output end of back-end controller circuit 16 is coupled to terminal display circuit 17.In one embodiment,
Back-end controller circuit 16 is a single-chip microcontroller.In another embodiment, back-end controller circuit 16 uses the monolithic of STM32 model
Machine.
In conclusion power grid detection circuit of the invention protects signal UP/ when the load of AC power supplies works normally
DOWN is in low potential, and protection circuit 13 is in normal power supply state, is directly connected between AC power supplies and the load of AC power supplies, together
When back-end controller circuit 16 can read the data of characterization load condition, and shown in terminal display circuit 17.
When the load of AC power supplies, which is broken down, to be detected, signal UP/DOWN is protected to jump to high potential from low potential
Enter power-off protection state with trigger protection circuit 13, so that the load of AC power supplies and AC power supplies separated, back-end controller
Circuit 16 can read the data value of characterization load condition, and show and alarm in terminal display circuit 17.When malfunction elimination is complete
At after determining safety or after load normal work, terminal display circuit 17 need rear end controller circuitry 16 to send one
Instruction of restarting restarts network system, and power grid detection and protection circuit can be again introduced into detection pattern, detect the load of AC power supplies
State.
Note that the function of being marked in frame can also be shown in figure according to being different from above-described flow chart
Sequence occurs.For example, two boxes succeedingly indicated can actually be basically executed in parallel, they sometimes can also be by phase
Anti- sequence executes, this depends on related concrete function.
Only the present invention will be described in an exemplary fashion for above-mentioned some specific embodiments, these embodiments are not
Completely in detail, it is not intended to limit the scope of the present invention.It is possible for disclosed embodiment being changed and is modified all,
Other feasible selective embodiments and can be by the ordinary skill people of the art to the equivalent variations of element in embodiment
Member is understood.Other change and modification of disclosed embodiment of this invention are limited without departing from spirit and claims of the present invention
Fixed protection scope.