Summary of the invention
The object of the present invention is to provide a kind of electric energy computation chip, be intended to solve that the electric energy meter that in prior art, the wiring error of electric energy meter causes is not worked, the problem of measuring error.
The present invention is achieved in that electric energy computation chip, and described electric energy computation chip comprises: false wiring detection module, misphase correction module, power measurement module, electric energy metering module;
Wherein, the input end of described false wiring detection module and described misphase correction module respectively with A phase current
b phase current
c phase current
a phase voltage
b phase voltage
c phase voltage
connect, the output terminal of described false wiring detection module is connected with described misphase correction module; The output terminal of described misphase correction module is connected with described power measurement module; Whether described false wiring detection module there is wiring error for detection of three-phase current and three-phase voltage, and sends to described misphase correction module to carry out correction process this wiring error result;
The output terminal of described power measurement module is connected with the input end of electric energy metering module
The present invention also provides a kind of three-phase and four-line electric energy meter, comprises Micro-processor MCV, display module, communication module, memory module and real-time clock RTC, and described electric energy meter comprises above-mentioned electric energy computation chip;
Wherein, described electric energy computation chip, described display module, described communication module, described memory module and described real-time clock RTC are all connected with described MCU.
The present invention compared with prior art, beneficial effect is: because technical scheme of the present invention is when the artificial Miswire, detected the mistake of line by false wiring detection module, misphase testing result is sent to misphase correction module, misphase correction module is carried out misphase error correction according to this testing result, make electric energy computation chip with correct wiring work, to improve the accuracy of electric energy meter functional reliability and electric quantity metering.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
In order to solve, electric energy meter that three-phase and four-line electric energy meter wiring error causes cannot be worked or the problem of electric energy meter measuring error, 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, misphase correction module is adjusted the annexation of three-phase current, voltage according to the testing result of wrong link detection module, correct Miswire, electric energy meter can normally be worked, accurate measurement.For example, during as B phase and the exchange of C phase voltage terminal wrong, mistake link detection module detects B phase and C phase voltage terminal wrong exchanges, and this testing result is sent to correction module, and correction module is exchanged B phase and C phase voltage.
Below by accompanying drawing, concrete structure of the present invention is described, this electric energy computation chip, shown in Fig. 2 (wherein, dotted line represents optional module), comprising:
False wiring detection module 21, misphase correction module 22, power measurement module 23, electric energy metering module 24;
Wherein, the input end of false wiring detection module 21 and misphase correction module 22 respectively with A phase current
b phase current
c phase current
a phase voltage
b phase voltage
c phase voltage
connect, 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, whether false wiring detection module 21 there is wiring error for detection of three-phase current and three-phase voltage, and sends to misphase correction module 22 to carry out correction process this wiring error result;
The output terminal of power measurement module 23 is connected with the input end of electric energy metering module 24.
It should be noted that, above-mentioned wiring error comprises: misphase and/or electric current are reverse.
Optionally, 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 is also connected with active power output terminal and the reactive 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 metering module 24; This anti-phase correction module 25 is to correct the reverse anti-phase correction module 25 of electric current according to the testing result of false wiring detection module 21 in addition;
Anti-phase correction module 25, in the time that three-phase current generation electric current is reverse, is corrected negative-phase sequence curent.Concrete operation can be: for example, when false wiring detection module 21 detects three-phase current generation electric current when reverse (B on the contrary to), B phase current is corrected to (oppositely) by reverse correction module 25.
Optionally, the concrete structure of false wiring detection module 21 as shown in Figure 3, comprising: measurement of angle submodule 211, amplitude measurement submodule 212 and error connection line judge submodule 213;
Wherein the input end of measurement of angle submodule 211 and amplitude measurement submodule 212 respectively with A phase current
b phase current
c phase current
a phase voltage
b phase voltage
c phase voltage
connect; The output terminal of measurement of angle submodule 211 and amplitude measurement submodule 212 judges that with error connection line the input end of submodule 213 is connected, and error connection line judges that submodule 213 is connected with misphase correction module 22 and anti-phase correction module 25.
Wherein: amplitude measurement submodule 212 is for detection of the amplitude of three-phase current and voltage;
Measurement of angle submodule 211 is for measuring the angle of three-phase current and voltage;
Error connection line judges that submodule 213 is for forming polar plot according to the amplitude of three-phase current and voltage and angle, judge whether to occur wiring error according to this polar plot, and send to misphase correction module 22 and/or reverse correction module 25 to carry out correction process this wiring error result.
Optionally, the concrete structure of misphase correction module 22 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 respectively with A phase voltage
b phase voltage
c phase voltage
be connected, 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, for receiving the wiring error result of false wiring detection module 21, and produce and select signal according to this wiring error result, and this selection signal is sent to A voltage MUX 221, B voltage MUX 222 and C voltage MUX 223; A voltage MUX 221, B voltage MUX 222 and C voltage MUX 223 are exported respectively A phase voltage, B phase voltage and the C phase voltage after error correction;
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 respectively with A phase current
b phase current
c phase current
be connected, 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, for receiving the wiring error result of false wiring detection module 21, and produce and select signal according to this wiring error result, and this selection signal is sent to described A current multi-way selector switch 225, B current multi-way selector switch 226 and described C current multi-way selector switch 227; A current multi-way selector switch 225, B current multi-way selector switch 226 and C current multi-way selector switch 227 are according to A phase current, B phase current and C phase current after this selection signal output error correction;
Wherein, U channel selecting module 224 and I channel selecting module 228 all judge that with the error connection line in false wiring detection module 21 submodule 213 is connected.
Optionally, the concrete structure of above-mentioned anti-phase correction module 25 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 has function power take-off and the first reverse submodule 251 of power measurement module 23 respectively, and the first reverse submodule 251 input ends are connected with the function power take-off that has of power measurement module 23;
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 metering module 24; 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 nonfunctional power take-off of power measurement module 23 and the output terminal of the second reverse submodule 254 respectively, and the second reverse submodule 254 input ends are connected with the nonfunctional power take-off of power measurement module 23;
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 metering module 24; 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.
Below by principle of work of the present invention, technique effect of the present invention is described, in the time of artificial Miswire, electric energy computation chip of the present invention is detected the mistake of line by false wiring detection module, for example, testing result is misphase Miswire (for example A receives B phase mutually, and B receives mutually C and equates), misphase testing result is sent to misphase correction module, misphase correction module carries out, after misphase error correction, sending to power computation module according to this testing result; Such as, if testing result is anti-phase connection error (A phase current oppositely, B phase current is reverse etc.), inverse detection result is sent to anti-phase correction module to carry out after error correction, send to electric energy metering module to carry out energy calculate, no matter because electric energy computation chip provided by the invention is that misphase connects or oppositely line all can carry out correction process, no matter so how wiring of this electric energy computation chip user, all can carry out work by correct line, 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 as shown in Figure 6, this electric energy meter comprises the structure of this electric energy meter: above-mentioned electric energy computation chip; The concrete structure of this electric energy computation chip can, referring to above-mentioned explanation, not repeat here, and this electric energy meter also comprises: Micro-processor MCV, display module, communication module, memory module and real-time clock RTC;
Wherein, electric energy computation chip, display module, communication module, memory module and RTC are all connected with MCU.
Three-phase and four-line electric energy meter provided by the invention is in the time of artificial Miswire, electric energy computation chip in electric energy meter of the present invention is detected the mistake of line by false wiring detection module, for example, testing result is that (for example A receives B phase to misphase Miswire mutually, B receives mutually C and equates), misphase testing result is sent to misphase correction module, misphase correction module carries out, after misphase error correction, sending to power computation module according to this testing result; Such as, if testing result is anti-phase connection error (A phase current oppositely, B phase current is reverse etc.), inverse detection result is sent to anti-phase correction module to carry out after error correction, send to electric energy metering module to carry out energy calculate, no matter because electric energy computation chip provided by the invention is that misphase connects or oppositely line all can carry out correction process, no matter so how wiring of this electric energy computation chip user, all can carry out work by correct line, 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 electric energy meter functional reliability, and electric quantity metering is advantage accurately.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in protection scope of the present invention.