Summary of the invention
The object of the present invention is to provide a kind of electric energy computation chip, be intended to solve the electric energy meter that the wiring error of electric energy meter causes in the prior art and do not work, measure wrong problem.
The present invention is achieved in that electric energy computation chip, and said electric energy computation chip comprises: false wiring detection module, misphase correction module, power measurement module, electric energy metrical module;
Wherein, The input end of said false wiring detection module and said misphase correction module is connected with A phase current
B phase current
C phase current
A phase voltage
B phase voltage
C phase voltage
respectively, and the output terminal of said false wiring detection module is connected with said misphase correction module; The output terminal of said misphase correction module is connected with said power measurement module; Said false wiring detection module is used to detect three-phase current and whether three-phase voltage wiring error takes place, and this wiring error result is sent to said misphase correction module carries out correction process;
The output terminal of said power measurement module is connected with the input end of electric energy metrical module
The present invention also provides a kind of three-phase and four-line electric energy meter, comprises microprocessor MCU, display module, communication module, memory module and real-time clock RTC, and said electric energy meter comprises above-mentioned electric energy computation chip;
Wherein, said electric energy computation chip, said display module, said communication module, said memory module and said real-time clock RTC all are connected with said MCU.
The present invention compared with prior art; Beneficial effect is: because technical scheme of the present invention is when artificial Miswire; Detect the mistake of line by the false wiring detection module, the misphase testing result is sent to the misphase correction module, the misphase correction module is carried out the misphase error correction according to this testing result; Make electric energy computation chip to improve the accuracy of electric energy meter functional reliability and electric quantity metering with correct wiring work.
Embodiment
In order to make the object of the invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with accompanying drawing and embodiment.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
Can't work or the wrong problem of electric energy meter metering in order to solve the electric energy meter that three-phase and four-line electric energy meter wiring error causes; The present invention increases false wiring detection module and misphase correction module in existing three-phase and four-line electric energy meter; Wherein wrong link detection module detects the connection error of three-phase current, voltage terminal; The misphase correction module is according to the testing result adjustment three-phase current of wrong link detection module, the annexation of voltage; Correct Miswire, make that electric energy meter can operate as normal, accurate measurement.For example, during like B phase and the exchange of C phase voltage terminal wrong, mistake link detection module detects the B phase and C phase voltage terminal wrong exchanges, and this testing result is sent to correction module, and correction module is with B phase and the exchange of C phase voltage.
Through accompanying drawing concrete structure of the present invention is described below, shown in this electric energy computation chip such as Fig. 2 (wherein, dotted line is represented optional module), is comprised:
False wiring detection module 21, misphase correction module 22, power measurement module 23, electric energy metrical module 24;
Wherein, The input end of false
wiring detection module 21 and
misphase correction module 22 is connected with A phase current
B phase current
C phase current
A phase voltage
B phase voltage
C phase voltage
respectively; The output terminal of false
wiring detection module 21 is connected with
misphase correction module 22; The output terminal of
misphase correction module 22 is connected with
power measurement module 23; False
wiring detection module 21 is used to detect three-phase current and whether three-phase voltage wiring error takes place, and this wiring error result is sent to
misphase correction module 22 carries out correction process;
The output terminal of power measurement module 23 is connected with the input end of electric energy metrical module 24.
Need to prove that above-mentioned wiring error comprises: misphase and/or current reversal.
Optional, above-mentioned electric energy computation chip can also comprise: anti-phase correction module 25; The input end of anti-phase correction module 25 is connected with the output terminal of false wiring detection module 21; The input end of anti-phase correction module 25 also is connected with the reactive power output terminal with the active power output terminal of power measurement module, and the output terminal of anti-phase correction module 25 is connected with the input end of electric energy metrical module 24; This anti-phase correction module 25 is the anti-phase correction module 25 that can correct current reversal according to the testing result of false wiring detection module 21 in addition;
Anti-phase correction module 25 is used for when three-phase current generation current reversal, corrects negative-phase sequence curent.Concrete operation can for: when false wiring detection module 21 detects three-phase current generation current reversal (for example B on the contrary to), then the B phase current is corrected (promptly oppositely) by reverse correction module 25.
Optional, the concrete structure of false wiring detection module 21 is as shown in Figure 3, comprising: measurement of angle submodule 211, amplitude measurement submodule 212 and error connection line are judged submodule 213;
Which
angle measurement sub-module 211 and
amplitude measurement sub-module 212, respectively, the input of the A-phase current
B-phase current
C-phase current
A phase voltage
B-phase voltage
C-phase voltage
Connection;
angular measurement sub-module 211 and amplitude
measurement output sub-module 212 ends with an error connect
sub-module 213 determines the input connection
error connection sub-module 213 determines the phase
error correction module 22 and
module 25 is connected to the inverting error correction.
Wherein: amplitude measurement submodule 212 is used to detect the amplitude of three-phase current and voltage;
Measurement of angle submodule 211 is used to measure the angle of three-phase current and voltage;
Error connection line judges that submodule 213 is used for forming polar plot according to the amplitude and the angle of three-phase current and voltage; Judge whether to take place wiring error according to this polar plot, and this wiring error result is sent to misphase correction module 22 and/or reverse correction module 25 is carried out correction process.
Optional, the concrete structure of misphase correction module 22 is as shown in Figure 4, comprising: A voltage MUX 221, B voltage MUX 222, C voltage MUX 223 and U channel selecting module 224;
Wherein, The input end of A voltage MUX 221, B voltage MUX 222 and C voltage MUX 223 links to each other with A phase voltage
B phase voltage
C phase voltage
respectively; The selecting side of A voltage MUX 221, B voltage MUX 222 and C voltage MUX 223 is connected with U channel selecting module 224; U channel selecting module 224; Be used to receive the wiring error result of false
wiring detection module 21; And produce the selection signal, and should select signal to send to A voltage MUX 221, B voltage MUX 222 and C voltage MUX 223 according to this wiring error result; A voltage MUX 221, B voltage MUX 222 and C voltage MUX 223 are exported A phase voltage, B phase voltage and the C phase voltage after the error correction respectively;
This misphase correction module 22 can also comprise:: A current multi-way selector switch 225, B current multi-way selector switch 226, C current multi-way selector switch 227 and I channel selecting module 228;
Wherein, The input end of A current multi-way selector switch 225, B current multi-way selector switch 225 and C current multi-way selector switch 227 links to each other with A phase current
B phase current
C phase current
respectively; The selecting side of A current multi-way selector switch 225, B current multi-way selector switch 226 and C current multi-way selector switch 227 is connected with I channel selecting module 228; I channel selecting module 228; Be used to receive the wiring error result of false
wiring detection module 21; And produce the selection signal, and should select signal to send to said A current multi-way selector switch 225, B current multi-way selector switch 226 and said C current multi-way selector switch 227 according to this wiring error result; A current multi-way selector switch 225, B current multi-way selector switch 226 and C current multi-way selector switch 227 are selected A phase current, B phase current and C phase current after signal is exported error correction according to this;
Wherein, U channel selecting module 224 and I channel selecting module 228 all with false wiring detection module 21 in error connection line judge that submodule 213 is connected.
Optional, the concrete structure of above-mentioned anti-phase correction module 25 is as shown in Figure 5, comprising: the first reverse submodule 251, the first chooser module 252 and active power symbol are selected module 253;
Wherein the input end of the first chooser module 252 is connected with the output terminal that the function power take-off and the first reverse submodule 251 are arranged of power measurement module 23 respectively, and first reverse submodule 251 input ends are connected with the function power take-off that has of power measurement module 23;
The active power symbol selects module 253 to be connected with the selecting side of the first chooser module 252, and the output terminal of the first chooser module 252 is connected with electric energy metrical module 24; The active power symbol selects module 253 to be connected with false wiring detection module 21, and produces symbol selection signal according to the wiring error result of this false wiring detection module 21, and selects signal to send to the selecting side of the first chooser module 252 this symbol;
Anti-phase correction module 25 also comprises: the second reverse submodule 254, the second chooser module 255 and reactive power symbol are selected module 256;
Wherein the input end of the second chooser module 255 is connected with the no function power take-off of power measurement module 23 and the output terminal of the second reverse submodule 254 respectively, and second reverse submodule 254 input ends are connected with the no function power take-off of power measurement module 23;
The reactive power symbol selects module 256 to be connected with the selecting side of the second chooser module 255, and the output terminal of the second chooser module 255 is connected with electric energy metrical module 24; The reactive power symbol selects module 256 to be connected with false wiring detection module 21, and produces symbol selection signal according to the wiring error result of this false wiring detection module 21, and selects signal to send to the selecting side of the second chooser module 255 this symbol.
Through principle of work of the present invention technique effect of the present invention is described below, when artificial Miswire, electric energy computation chip of the present invention is detected the mistake of line by the false wiring detection module; For example; Testing result is misphase Miswire (for example A receives the B phase mutually, and B receives C mutually and equates), then the misphase testing result is sent to the misphase correction module; The misphase correction module sends to power computation module after carrying out the misphase error correction according to this testing result; Like testing result is anti-phase connection error (for example the A phase current is reverse, the B phase current is reverse etc.); Then the inverse detection result is sent to after the anti-phase correction module carries out error correction; Send to the electric energy metrical module and carry out electric energy calculating; No matter connect or reverse line all can carry out correction process, so no matter how wiring of this electric energy computation chip user all can be carried out work by correct line because electric energy computation chip provided by the invention is a misphase; So this electric energy computation chip has the electric energy meter of making reliably working, electric quantity metering is advantage accurately.
The present invention also provides a kind of three-phase and four-line electric energy meter, and the structure of this electric energy meter is as shown in Figure 6, and this electric energy meter comprises: above-mentioned electric energy computation chip; The concrete structure of this electric energy computation chip can not given unnecessary details referring to above-mentioned explanation here, and this electric energy meter also comprises: microprocessor MCU, display module, communication module, memory module and real-time clock RTC;
Wherein, electric energy computation chip, display module, communication module, memory module and RTC all are connected with MCU.
Three-phase and four-line electric energy meter provided by the invention is when artificial Miswire; Electric energy computation chip in the electric energy meter of the present invention detects the mistake of line by the false wiring detection module, and for example, testing result is that (for example A receives the B phase to the misphase Miswire mutually; B receives C mutually and equates); Then the misphase testing result is sent to the misphase correction module, the misphase correction module sends to power computation module after carrying out the misphase error correction according to this testing result; Like testing result is anti-phase connection error (for example the A phase current is reverse, the B phase current is reverse etc.); Then the inverse detection result is sent to after the anti-phase correction module carries out error correction; Send to the electric energy metrical module and carry out electric energy calculating; No matter connect or reverse line all can carry out correction process, so no matter how wiring of this electric energy computation chip user all can be carried out work by correct line because electric energy computation chip provided by the invention is a misphase; So this electric energy computation chip has the electric energy meter of making reliably working, electric quantity metering is advantage accurately.
It is high that technical scheme provided by the invention has the electric energy meter functional reliability, and electric quantity metering is advantage accurately.
The above is merely preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of within spirit of the present invention and principle, being done, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.