Embodiment
For technological means, creation characteristic that the utility model is realized, reach purpose and effect is easy to understand, below in conjunction with concrete diagram, further set forth the utility model.
Embodiment 1
As shown in Figure 4, the utility model has adopted a plurality of electronic switch, an electric energy computation chip and a control CPU for realizing the multiloop electric energy metrical, the current signal of multichannel loading flows into electronic switch, electronic switch is under the control of CPU, control conducting in order, signal flows into electric energy chip, is calculated the electric parameter of each road load by electric energy chip, pass to CPU again, signal is handled by CPU.The utility model is compared 3 kinds of implementations in the background technology, has solved the shortcoming that cost is high and software development cycle is long; And guaranteed suitable measuring accuracy, and be particularly suitable for measuring accuracy less demandingly, the less demanding general distribution of real-time goes out line loop.Below in conjunction with accompanying drawing, elaborate the utility model.
As shown in Figure 6, a kind of low-voltage distribution field multiloop electric power meter, present embodiment is the three-phase multiple loop electric power meter, wherein be provided with 9 loop current input ends, therefore can monitor 9 electric currents in three-phase bus UA, UB, UC and 3 three-phase loops, this supervising device also is provided with standard RS485 interface, can adopt the MODBUS-RTU agreement, finishes the intelligent power distribution management of intelligence " remote measurement ", " remote signalling " in the distribution loop, " remote control " function and fault alarm output; Switching value input and switching value output interface are set, 9 circuit switching states are monitored.
Referring to Fig. 6, the loop current input end comprises current transformer, and the loop current of monitoring enters monitoring device by current transformer, sample resistance and RC filter network, and current transformer, two sample resistances and two filter capacitors are conventional connection.
In the present embodiment, as shown in Figure 7, high speed signal change-over switch IC3, IC4, IC5 adopt CD4502, and this electronic switch selects one for two four, i.e. input has 4 two-way signals, and (12,1 pin is the 1 tunnel input, 14,5 pin are the 2 tunnel input, 15,2 pin are the 3 tunnel input, and 11,4 pin are the 4 tunnel input), be output as 1 two-way (13,3 pin are output), it is controlled the conducting of its passage by microprocessor and closes (10,9 pin are control pin), and control timing sees Table as follows:
B | A |
CD4052B | |
0 0 1 1 |
0 1 0 1 |
0X,0Y 1X,1Y 2X,2Y 3X,3Y |
When two pin of A, B all were low level, the signal of 13,3 pin output was the signal of 12,1 pin input; When the A pin is a high level, when the B pin was low level, the signal of 13,3 pin output was the signal of 14,5 pin input; When the A pin is a low level, when the B pin was high level, the signal of 13,3 pin output was the signal of 15,2 pin input; When two pin of A, B all were high level, the signal of 13,3 pin output was the signal of 11,4 pin input.
Cooperate 9 electric currents in 3 loops, be provided with 3 high speed signal change-over switch IC3, IC4 and IC5,9 current input terminals link together with the input end of high speed signal change-over switch respectively.9 current input terminals (for sign is clear, 9 electric currents are divided into three groups of A, B, C, every group 3 tunnel) are respectively the A phase current IA of the 1st threephase load from top to bottom
1+, IA
1-Flow into Y0, the X0 pin of high speed signal change-over switch IC3 respectively, the B phase current IB of the 1st threephase load
1+, IB
1-Flow into Y0, the X0 pin of high speed signal change-over switch IC4 respectively, the C phase current IC of the 1st threephase load
1+, IC
1-Flow into Y0, the X0 pin of high speed signal change-over switch IC5 respectively; The A phase current IA of the 2nd threephase load
2+, IA
2-Flow into Y1, the X1 pin of high speed signal change-over switch IC3 respectively, the B phase current IB of the 2nd threephase load
2+, IB
2-Flow into Y1, the X1 pin of high speed signal change-over switch IC4 respectively, the C phase current IC of the 2nd threephase load
2+, IC
2-Flow into Y1, the X1 pin of high speed signal change-over switch IC5 respectively; The A phase current IA of the 3rd threephase load
3+, IA
3-Flow into Y2, the X2 pin of high speed signal change-over switch IC3 respectively, the 3rd threephase load B phase current IB
3+, IB
3-Flow into Y2, the X2 pin of high speed signal change-over switch IC4 respectively, the C phase current IC of the 3rd threephase load
3+, IC
3-Flow into Y2, the X2 pin of high speed signal change-over switch IC5 respectively.
High speed signal change-over switch IC3, IC4, IC5 switch control pin A links together and links to each other with the IO mouth PTC2 mouth of microcontroller IC6/MC9S08AW32, control pin B links together and links to each other with the IO mouth PTC4 mouth of microcontroller IC6/MC9S08AW32, the delivery outlet YOUT of high speed signal change-over switch IC3, XOUT respectively with the IAP of electric energy computation chip IC1/ADE7758, the IAN mouth connects, the delivery outlet YOUT of high speed signal change-over switch IC4, XOUT respectively with the IBP of electric energy computation chip IC1/ADE7758, the IBN mouth connects, the delivery outlet YOUT of high speed signal change-over switch IC5, XOUT respectively with the ICP of electric energy computation chip IC1/ADE7758, the ICN mouth connects.
Electric energy computation chip IC1/ADE7758 is a kind of pinpoint accuracy three phase electric energy measurement IC, integrated digital integration, reference data voltage source, temperature-sensing element (device) etc. have the measurement that can be used for active power, complex power, applied power, effective value and with the necessary signal processing circuit of digital form corrective system error (gain, phase place and imbalance etc.).This chip is applicable to measures active power, complex power, applied power in the various three-phase circuits (no matter three-wire system or four-wire system).Wherein current channel is imported by three pairs of differential voltages, is respectively IAP pin, IAN pin, IBP pin, IBN pin, ICP pin, ICN pin.Voltage channel has three tunnel single ended voltage input channels, is respectively VAP pin, VBP pin, VCP pin, VN pin.DOUT pin, SCLK pin, DIN pin, CS pin are SPI communication pin, are used for and the microprocessor communication data transmission.
Three-phase bus voltage U A, UB, UC enter VAP pin, VBP pin, VCP pin and the VN pin of electric energy computation chip IC1/ADE7758 respectively by voltage transformer (VT), sample resistance and the sampling of RC filtering circuit; The IQR pin of electric energy computation chip IC1/ADE7758, CS pin, DIN pin, SCK pin and DOUT pin are connected into PTE5/MISO pin, PTE6/MOSI pin and the PTE7/SPSCK pin that bus is connected microprocessor MC9S08AW32 and carry out data communication.
The PTC1/SDA pin of microprocessor IC6/MC9S08AW32 is connected Nonvolatile ferroelectric random access memory IC2/FM24C16A with the PTC0/SCL pin, carry out data storage.
Referring to Fig. 8, be example with that road of U2, input end is DI-1, promptly Wai Bu switching value signal is imported by DI-1.Switching signal when the outside is combined floodgate, then DI-1 is communicated with ground, current signal flows into optocoupler U2 behind current-limiting resistance R4 (R22 is a shunt resistance), this moment, A, the conducting of K pin of optocoupler inside were luminous, make C, the also conducting of E pin of optocoupler inside, making input DI1 is low level, and DI1 links to each other with the switch value input interface of microprocessor IC6/MC9S08AW32, and microprocessor IC6/MC98S08AW32 judges that by the low level that reads DI1 the input switch amount is a "on" position.
If working as outside switching signal is separating brake, then DI-1 is not communicated with ground, and optocoupler inside is not conducting also, and then DI1 is a high level, and single-chip microcomputer judges that by the high level that reads DI1 the input switch amount is a gate-dividing state.PTD0/AD8 pin on the microprocessor IC6/MC9S08AW32, PTD1/AD9 pin, PTD2/KBI5 pin, PTD3/KBI6 pin, PTD4/AD12 pin, PTD5/AD13 pin, PTD6/AD14 pin, PTD7/KBI7/AD15 pin, PTF0/TP12 pin, PTF1/TP13 pin, PTF2/TP14 pin, PTF3/TP15 pin, PTF4/TP20 pin, PTF5/TP21 pin, PTF6 pin, PTF7 pin, PTE3/TP11 pin, PTE2/TP10 pin are all switch value input interface.
The PTG4/KBI4 of microprocessor IC6/MC9S08AW32 is an off-limit alarm output interface able to programme, carries out switching value output; Its principle as shown in Figure 9.When the signal that detects outside certain setting surpasses allowed band, microprocessor IC6/MC9S08AW32 exports a high level signal, this high level signal is passed to triode Q1 through DO1, triode Q1 conducting this moment, relay U1 Inside coil has the electric current process, make the contact adhesive, by the signal of a warning of DO1+, DO1-output.When not transfiniting in the outside, DO1 output low level signal then, relay U1 disconnects, and does not have alerting signal output.
The PTE1/RXD1 of microprocessor IC6/MC9S08AW32 and PTE0/TXD1 pin are the RS485 communication interface, can externally carry out data communication.
Selection high speed signal change-over switch IC3 is switched in microprocessor IC6/MC9S08AW32 timesharing, the input signal of IC4 and IC5, make the current input terminal that is input to electric energy computation chip IC1/ADE7758 of the electric current timesharing switching of different circuit, the voltage of electric energy computation chip IC1/ADE7758 monitoring like this, electric current, power and electric energy are exactly corresponding bus lines voltage, the loop current that switch is selected, power and electric energy, the electric current that microprocessor IC6/MC9S08AW32 constantly switches different circuit just can realize monitoring many electrical parameters of all different circuits, and detailed process is as described below.
After system powered on, initialization electric energy computation chip IC1/ADE7758 was defined as the cycle metering with electric energy computation chip IC1/ADE7758, adopts interrupt mode.Variable loop=1 of program definition, 2,3 (what loop=1 then represented to measure is the 1 tunnel threephase load, and what loop=2 then represented to measure is the 2 tunnel threephase load, and what loop=3 then represented to measure is the 3 tunnel threephase load).Microprocessor IC6/MC9S08AW32 starts working, electronic switch is controlled, when external interrupt arrives, microprocessor IC6/MC9S08AW32 reads the electric current of last loop to electric energy computation chip IC1/ADE7758, voltage, power, energy value, and electronic switch switched to down paths.
Whole sampling process is seen Figure 10.In a complete sampling metering cycle T, be divided into 3 identical time period t 1, t2, t3, respectively corresponding loop1, loop2, loop3.In the time period of loop1, the A of microprocessor IC6/MC9S08AW32 control electronic switch conducting the 1 tunnel threephase load, B, C three-phase current I1, make electric energy computation chip IC1/ADE7758 carry out the measurement of electric parameter to the 1 tunnel threephase load, and the electric parameter that electric energy computation chip IC1/ADE7758 records passed to microprocessor IC6/MC98S08AW32, allow microprocessor IC6/MC98S08AW32 that the electric parameter of loop1 in the time period handled, in the time period of loop2, the A of microprocessor IC6/MC98S08AW32 control electronic switch conducting the 2 tunnel threephase load, B, C three-phase current I2, make electric energy computation chip IC1/ADE7758 carry out the measurement of electric parameter to the 2 tunnel threephase load, and the electric parameter that electric energy computation chip IC1/ADE7758 records passed to microprocessor IC6/MC9S08AW32, allow microprocessor IC6/MC9S08AW32 that the electric parameter of loop2 in the time period handled, in the time period of loop3, the A of microprocessor IC6/MC9S08AW32 control electronic switch conducting the 3 tunnel threephase load, B, C three-phase current I3, make electric energy computation chip IC1/ADE7758 carry out the measurement of electric parameter to the 3 tunnel threephase load, and the electric parameter that electric energy computation chip IC1/ADE7758 records passed to microprocessor IC6/MC9S08AW32, allow microprocessor IC6/MC9S08AW32 that the electric parameter of loop3 in the time period handled.Like this, in whole sampling period T, there is time of 1/3 that the threephase load of every road is measured respectively.In whole sampling period T, for the every road in 3 tunnel loads, the metering time of effectively sampling is T/3, is blank in the time period of all the other 2T/3, promptly current signal is not sampled as seen from Figure 10.So when the metering electric energy, in the whole period T, the electric energy in the T/3 time has just been measured on the every road of 3 tunnel loads, therefore to measure every road and load on the interior energy value of total period T, we adopt and T/3 to be measured the energy value that obtains in the time multiply by 3 times, i.e. the 1 tunnel threephase load T in the time total electric energy be ∑ P1 * t1 * 3, the 2 tunnel threephase loads T in the time total electric energy be ∑ P2 * t2 * 3, the 3 tunnel threephase load T in the time total electric energy be ∑ P3 * t3 * 3, t1=t2=t3.In each period T, the electric energy on every road is all according to upper type metering, and then the electric energy in each period T is added up, and then can obtain the long energy value of every road load.
Embodiment 2
Present embodiment is the single-phase multiple-loop electric power meter, wherein be provided with 9 loop current input ends, therefore can monitor busbar voltage UL and 9 loop currents, this supervising device also is provided with standard RS485 interface, can adopt the MODBUS-RTU agreement, finish the intelligent power distribution management of intelligence " remote measurement ", " remote signalling " in the distribution loop, " remote control " function and fault alarm output; Switching value input and switching value output interface are set, 9 circuit switching states are monitored.
Referring to Figure 12, the loop current input end comprises current transformer, and the loop current of monitoring enters monitoring device by current transformer, sample resistance and RC filter network, and current transformer, two sample resistances and two filter capacitors are conventional connection.
In the present embodiment, as shown in Figure 7, high speed signal change-over switch IC3 ', IC4 ', IC5 ' employing CD4502, its principle of work be identical described in the embodiment 1, be not repeated at this.
9 electric currents that cooperate single-phase loop are provided with 3 high speed signal change-over switch IC3 ', IC4 ' and IC5 ', and 9 current input terminals link together with the input end of high speed signal change-over switch respectively.(for sign is clear, 9 electric currents are divided into three groups of A, B, C to 9 current input terminals, every group 3 the tunnel, the A group is the 1st, 4,7 road single-phase loads, B group is the 2nd, 5,8 road single-phase loads, and the C group is the 3rd, 6,9 road single-phase loads), be respectively the electric current I A of the 1 road single-phase load from top to bottom
1+, IA
1-Flow into Y0, the X0 pin of high speed signal change-over switch IC3 ' respectively, the electric current I B of the 4 road single-phase load
1+, IB
1-Flow into Y0, the X0 pin of high speed signal change-over switch IC4 ' respectively, the electric current I C of the 7 road single-phase load
1+, IC
1-Flow into Y0, the X0 pin of high speed signal change-over switch IC5 ' respectively; The electric current I A of the 2 road single-phase load
2+, IA
2-Flow into Y1, the X1 pin of high speed signal change-over switch IC3 ' respectively, the electric current I B of the 5 road single-phase load
2+, IB
2-Flow into Y1, the X1 pin of high speed signal change-over switch IC4 ' respectively, the electric current I C of the 8 road single-phase load
2+, IC
2-Flow into Y1, the X1 pin of high speed signal change-over switch IC5 ' respectively; The electric current I A of the 3 road single-phase load
3+, IA
3-Flow into Y2, the X2 pin of high speed signal change-over switch IC3 ' respectively, the electric current I B of the 6 road single-phase load
3+, IB
3-Flow into Y2, the X2 pin of high speed signal change-over switch IC4 ' respectively, the electric current I C of the 9 road single-phase load
3+, IC
3-Flow into Y2, the X2 pin of high speed signal change-over switch IC5 ' respectively.
High speed signal change-over switch IC3 ', IC4 ', IC5 ' switch control pin A links together and links to each other with the IO mouth PTC2 mouth of microprocessor IC6 '/MC9S08AW32, control pin B links together and links to each other with the IO mouth PTC4 mouth of microprocessor IC6 '/MC9S08AW32, the delivery outlet YOUT of high speed signal change-over switch IC3 ', XOUT respectively with the IAP of electric energy computation chip IC1 '/ADE7758, the IAN mouth connects, the delivery outlet YOUT of high speed signal change-over switch IC4 ', XOUT respectively with the IBP of electric energy computation chip IC1 '/ADE7758, the IBN mouth connects, the delivery outlet YOUT of high speed signal change-over switch IC5 ', XOUT respectively with the ICP of electric energy computation chip IC1 '/ADE7758, the ICN mouth connects.For improving measuring accuracy, adopt the three-phase electric energy chip to measure the electric parameter of single-phase load in this example, in each sampling time section, can measure the electric parameter of three road single-phase loads simultaneously.
The principle of work of electric energy computation chip IC1 '/ADE7758 be identical described in the embodiment 1, also be not repeated at this.Single-phase busbar voltage UL, UN sample by voltage transformer (VT), sample resistance and RC filtering circuit and enter VAP pin, the VN pin of electric energy computation chip IC1 '/ADE7758, and VBP pin, VCP pin connect with the VAP pin; The IQR pin of electric energy computation chip IC1 '/ADE7758, CS pin, DIN pin, SCK pin and DOUT pin are connected into PTE5/MISO pin, PTE6/MOSI pin and the PTE7/SPSCK pin that bus is connected microprocessor IC6 '/MC9S08AW32 and carry out data communication.
The PTC1 ' of microprocessor IC6 '/MC9S08AW32/SDA pin is connected Nonvolatile ferroelectric random access memory IC2 '/FM24C16A with the PTC0/SCL pin, carry out data storage.
In the present embodiment, the input and output principle of switching value is not repeated at this with embodiment 1.
The PTC1/SDA pin of microprocessor IC6 '/MC9S08AW32 is connected Nonvolatile ferroelectric random access memory IC2 '/FM24C16A with the PTC0/SCL pin, carry out data storage.
During work, microprocessor IC6 '/MC9S08AW32 controls high speed signal change-over switch IC3 ' simultaneously, IC4 ', the input signal of IC5 ', make the electric current timesharing of different circuit switch the current channel that is input to electric energy computation chip IC1 '/ADE7758, the voltage of electric energy computation chip IC1 '/ADE7758 monitoring like this, electric current, power and electric energy are exactly corresponding bus lines voltage, the loop current that switch is selected, power and electric energy, the electric current that microprocessor IC6 '/MC9S08AW32 constantly switches different circuit just can realize monitoring many electrical parameters of all different circuits, and detailed process is as described below.
After system powered on, initialization electric energy computation chip IC1 '/ADE7758 was defined as the cycle metering with electric energy computation chip IC1 '/ADE7758, adopts interrupt mode.Variable loop=1 of program definition, 2,3 (what loop=1 represented to measure is the 1st, 2,3 road single-phase loads, and what loop=2 represented to measure is the 4th, 5,6 road single-phase loads, and what loop=3 represented to measure is the 7th, 8,9 road single-phase loads).Microprocessor IC6 '/MC9S08AW32 starts working, electronic switch is controlled, when external interrupt arrives, microprocessor IC6 '/MC9S08AW32 reads the electric current of last loop to electric energy computation chip IC1 '/ADE7758, voltage, power, energy value, and electronic switch switched to down paths.
Whole sampling process is seen Figure 13.In a complete sampling metering cycle T, be divided into 3 identical time period t 1, t2, t3, respectively corresponding loop1, loop2, loop3.In the time period of loop1, CPU control electronic switch conducting the 1st, 2, the electric current I 1 of 3 road single-phase loads, I2, I3, make electric energy computation chip IC1 '/ADE7758 to the 1st, 2,3 road single-phase loads carry out the measurement of electric parameter, and the electric parameter that electric energy computation chip IC1 '/ADE7758 records passed to microprocessor IC6 '/MC9S08AW32, allow microprocessor IC6 '/MC9S08AW32 that the electric parameter of loop1 in the time period handled, in the time period of loop2, microprocessor IC6 '/MC9S08AW32 control electronic switch conducting the 4th, 5, the electric current I 4 of 6 road single-phase loads, I5, I6, make electric energy computation chip IC1 '/ADE7758 to the 4th, 5,6 road single-phase loads carry out the measurement of electric parameter, and the electric parameter that electric energy computation chip IC1 '/ADE7758 records passed to microprocessor IC6 '/MC9S08AW32, allow microprocessor IC6 '/MC9S08AW32 that the electric parameter of loop2 in the time period handled, in the time period of loop3, microprocessor IC6 '/MC9S08AW32 control electronic switch conducting the 7th, 8,9 road single-phase load electric current I 7, I8, I9, make electric energy computation chip IC1 '/ADE7758 to the 7th, 8,9 road single-phase loads carry out the measurement of electric parameter, and the electric parameter that electric energy computation chip IC1 '/ADE7758 records passed to microprocessor IC6 '/MC9S08AW32, allow microprocessor IC6 '/MC9S08AW32 that the electric parameter of loop3 in the time period handled.Like this, in whole sampling period T, time of 1/3 is arranged respectively to every road load measure.In whole sampling period T, for the every road in 9 tunnel loads, the metering time of effectively sampling is T/3, is blank in the time period of all the other 2T/3, promptly current signal is not sampled as seen from Figure 13.So when the metering electric energy, in the whole period T, the electric energy in the T/3 time has just been measured on the every road of 9 tunnel loads, therefore to measure every road and load on the interior energy value of total period T, our employing is measured the energy value that obtains with T/3 and be multiply by 3 times in the time, promptly the 1 the tunnel load on that total electric energy is ∑ P1 * t1 * 3 in the T time, the 2 the tunnel loads on that total electric energy is ∑ P2 * t1 * 3 in the T time, the 3 the tunnel loads on that total electric energy is ∑ P3 * t1 * 3 in the T time, the 4 the tunnel loads on that total electric energy is ∑ P4 * t2 * 3 in the T time, the 5 the tunnel loads on that total electric energy is ∑ P5 * t2 * 3 in the T time, the 6 the tunnel loads on that total electric energy is ∑ P6 * t2 * 3 in the T time, 7 the tunnel load on that total electric energy is ∑ P7 * t3 * 3 in the T time, the 8 the tunnel to load in the T time total electric energy be that ∑ P8 * t3 * 3, the 9 tunnel load on that total electric energy is ∑ P9 * t3 * 3 in the T time.In each period T, the electric energy on every road is all according to upper type metering, and then the electric energy in each period T is added up, and then can obtain the long energy value of every road load.
More than show and described ultimate principle of the present utility model and principal character and advantage of the present utility model.The technician of the industry should understand; the utility model is not restricted to the described embodiments; that describes in the foregoing description and the instructions just illustrates principle of the present utility model; under the prerequisite that does not break away from the utility model spirit and scope; the utility model also has various changes and modifications, and these changes and improvements all fall in claimed the utility model scope.The claimed scope of the utility model is defined by appending claims and equivalent thereof.