CN100443905C - Apparatus for generating signals against fraudulent using electricity - Google Patents

Apparatus for generating signals against fraudulent using electricity Download PDF

Info

Publication number
CN100443905C
CN100443905C CNB2006101680169A CN200610168016A CN100443905C CN 100443905 C CN100443905 C CN 100443905C CN B2006101680169 A CNB2006101680169 A CN B2006101680169A CN 200610168016 A CN200610168016 A CN 200610168016A CN 100443905 C CN100443905 C CN 100443905C
Authority
CN
China
Prior art keywords
energy
overflows
value
latch
judging unit
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.)
Expired - Fee Related
Application number
CNB2006101680169A
Other languages
Chinese (zh)
Other versions
CN1975443A (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.)
Vimicro Corp
Original Assignee
Vimicro Corp
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 Vimicro Corp filed Critical Vimicro Corp
Priority to CNB2006101680169A priority Critical patent/CN100443905C/en
Publication of CN1975443A publication Critical patent/CN1975443A/en
Application granted granted Critical
Publication of CN100443905C publication Critical patent/CN100443905C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Emergency Protection Circuit Devices (AREA)
  • Secondary Cells (AREA)

Abstract

The invention discloses an electric signal generating device to avoid stealing. The summator adds the input power and the energy value output from the energy barrel and transfers the result to the energy overflow identification cell which identifies the result and determines the energy and the power impulse output to the energy barrel; the power impulse is as the controlling signal of the second flip-latch; the energy barrel outputs the energy to the summator when the sampling time comes and the sign bit to the first flip-latch which outputs the sign bit to the second flip-latch when the time impulse comes; the second flip-latch outputs the sign bit as the electric signal to avoid stealing when the power impulse comes.

Description

A kind of apparatus for generating signals against fraudulent using electricity
Technical field
The present invention relates to a kind of anti-theft electricity technology, be specifically related to a kind of apparatus for generating signals against fraudulent using electricity of single-phase electric energy computation chip.
Background technology
As shown in Figure 1, the principle of electronic electric energy meter metering electric energy is: the electric energy computation chip in the electric energy meter utilizes the electric current of electrical network and voltage signal to calculate active power.When each sampling clock arrives, with the active power intake of the current sampling instant unit 101 that adds up, add up and overflow judgement by the active power of the 101 pairs of receptions in energy accumulation unit,, be stored in the energy accumulation unit 101 adding up and overflowing result after the judgement as energy value.The active power of the 101 pairs of receptions in energy accumulation unit adds up and the concrete grammar that overflows judgement is: with the active power that receives and the energy value addition of self storage, obtain an intermediate value, this intermediate value is overflowed judgement, obtain energy value, and store.
The absolute value of the intermediate value that calculates when energy accumulation unit 101 more than or equal to energy accumulation unit 101 overflow threshold value the time, intermediate value is overflowed, and exports an output pulses.If forward overflows, energy accumulation unit 101 deducts current intermediate value and overflows threshold value, stores as energy value; If negative sense overflows, energy accumulation unit 101 adds current intermediate value and overflows threshold value, stores as energy value.Electric energy meter is counted the output pulses of energy accumulation unit 101 outputs, and is converted into energy value, thereby has realized the metering of electric energy meter to electric energy.The output pulses of electric energy computation chip output is used to measure electric energy on the one hand, is used for calibration on the one hand, therefore is called calibration pulse CF.
The main stealing mode of single-phase electric energy meter is with the ammeter reversal connection, and user's ammeter when electricity consumption can fall to have good luck.Understand active power P from the computing formula of power 0For: P 0 = V × I 2 cos α . Wherein α is the phase differential between the electric current and voltage.Under the normal condition, cos α>0, active power is positive number; When electricity filching person with the ammeter reversal connection, changed the normal phase relation of electric energy meter electric current signal and voltage signal, make α greater than 90 degree, or less than-90 degree, so cos α<0, active power is negative.This moment, the electric energy meter reversing caused damage to supplier of electricity.
Because whether active power represents electric energy meter unusual for negative, therefore can adopt the signals against fraudulent using electricity of the sign of active power as electric energy meter, normal in order to judge electric energy meter.But, electronic electric energy meter adopts the output pulses of electric energy computation chip output to calculate electric energy, because output pulses itself does not have positive and negative branch, so also need signals against fraudulent using electricity that characterizes positive negative power of electric energy computation chip output, what cause output pulses output in order to judgement is forward active power or reverse active power.When the peripheral circuit of electric energy computation chip collects calibration pulse CF, gather signals against fraudulent using electricity simultaneously, just can learn the symbol of current calibration pulse CF representative power, can judge whether the generation of electricity filching behavior simultaneously.
Mainly contain two kinds of schemes that produce signals against fraudulent using electricity at present.
Scheme one:
Fig. 2 is a kind of generation signals against fraudulent using electricity of prior art principle schematic.This scheme adopts the sign bit of active power that electric energy computation chip calculates as signals against fraudulent using electricity.When meritorious power when negative, signals against fraudulent using electricity is for negative, representative has the generation of stealing situation.
The shortcoming that adopts this method to produce signals against fraudulent using electricity is: if a period of time internal power have just have negative, positive how negative lacking, 201 forwards overflow when the energy accumulation unit, the peripheral circuit of electric energy computation chip may just in time run into current power and be negative situation when gathering signals against fraudulent using electricity, the signals against fraudulent using electricity that causes electric energy computation chip to be given making mistake.Perhaps, in the load condition of severe, the burr of signalling channel may make the symbol generation transition of active power, so the output of the signals against fraudulent using electricity of this scheme is unstable.
Scheme two:
Fig. 3 is the another kind of signals against fraudulent using electricity principle schematic that produces of prior art.The sign bit of the energy value of this scheme employing energy accumulation unit 301 is as signals against fraudulent using electricity.This signals against fraudulent using electricity is the result that power adds up, the transition of active power symbol generally can not have influence on the sign bit of the energy value of energy accumulation unit 301, so the sign bit of energy value can be expressed the positive and negative of calibration pulse CF representative active power more accurately.But may make mistakes under special circumstances.For example, carve at a time, the intermediate value that energy accumulation unit 301 calculates just equals to overflow threshold value, and for negative sense overflows, thereby producing a CF pulse, signals against fraudulent using electricity should be negative simultaneously.But, since this intermediate value deduct overflow threshold value after, remainder just is zero.The sign bit of value of zero is 0, is just representing, and the peripheral circuit of electric energy chip collects the signals against fraudulent using electricity of a mistake simultaneously when collecting the CF pulse at this moment.
The scheme of as seen above two kinds of existing generation signals against fraudulent using electricity can not guarantee to export accurate and stable signals against fraudulent using electricity.
Summary of the invention
In view of this, fundamental purpose of the present invention is to provide a kind of apparatus for generating signals against fraudulent using electricity of electric energy computation chip, can produce correct, stable signals against fraudulent using electricity.
For achieving the above object, technical scheme of the present invention is achieved in that
The invention discloses a kind of apparatus for generating signals against fraudulent using electricity, this device comprises that totalizer, energy overflow judging unit, energy pail, first latch and second latch;
Described totalizer is used for the active power of input and the energy value addition of energy pail output are exported to energy with addition result and overflowed judging unit;
Described energy overflows judging unit, is used for the addition result that receives from described totalizer is overflowed judgement, and determines to the energy value of described energy pail output and the output pulses of output according to overflowing judged result; This output pulses is as the control signal of described second latch;
Described energy pail, what be used to be stored in sampling clock effectively overflows the energy value that judging unit receives from described energy when arriving; And this energy value exported to described totalizer, the sign bit of energy value is exported to described first latch;
Described first latch is used for effective when arriving in time clock, and the sign bit of the energy value of energy pail output is exported to second latch;
Described second latch is used for when described energy overflows the power impulse comes of judging unit output, and the sign bit of the described energy value of described first latch output is exported as signals against fraudulent using electricity.
Preferable, this device further comprises the 3rd latch, is used for when the arrival of effective edge of time clock, the output pulses that described energy is overflowed judging unit output is exported as the calibration pulse;
The output pulses that described energy overflows judging unit output is further used as the input signal of described the 3rd latch.
Wherein, described energy overflows the judging unit storage and overflows threshold value;
When the absolute value of the described addition result that receives less than described when overflowing threshold value, described energy overflows judging unit and does not overflow; Described addition result is exported to described energy pail as described energy value; Not output power pulse;
When the absolute value of the described addition result that receives more than or equal to described when overflowing threshold value, described energy overflows judging unit and overflows; According to overflowing direction and described addition result is determined described energy value, export to described energy pail; The output power pulse.
The described threshold value of overflowing is a positive number;
When described addition result more than or equal to described when overflowing threshold value, for forward overflows; Described energy overflows judging unit, and described addition result is deducted the described threshold value of overflowing, and exports to described energy pail as described energy value;
When described addition result smaller or equal to described when overflowing the negative of threshold value, for negative sense overflows; Described energy overflows judging unit, described addition result is added the above overflow threshold value, exports to described energy pail as described energy value.
Described energy overflows judging unit to be made up of a plurality of logic gates.
Described first latch is a d type flip flop, and described second latch is a d type flip flop, and the 3rd latch is a d type flip flop.
The width of described output pulses is the integral multiple of the width of described time clock.
Compared with prior art, apparatus for generating signals against fraudulent using electricity provided by the present invention, overflow the sign bit that judging unit overflows preceding energy pail stored energy value by the first latches energy, when energy overflows judging unit and overflows, the sign bit of the energy pail stored energy value before employing is overflowed guarantees the correctness of output signals against fraudulent using electricity as signals against fraudulent using electricity; Simultaneously, second latch with signals against fraudulent using electricity output, and remains unchanged before overflowing when energy overflows judging unit and overflows next time, guarantees the stability of output signals against fraudulent using electricity; In addition, the 3rd latch adopts clock signal control to upgrade, the clock period output of calibration pulse daley that produces when can control energy overflowing judging unit and overflowing, thereby when guaranteeing that further the electric energy computation chip peripheral circuit collects calibration pulse CF, the signals against fraudulent using electricity of Cai Jiing is to correct signals against fraudulent using electricity that should calibration pulse CF simultaneously.
Description of drawings
Fig. 1 is the principle schematic of electric energy computation chip metering electric energy.
Fig. 2 is that prior art produces the signals against fraudulent using electricity principle schematic for first kind.
Fig. 3 is that prior art produces the signals against fraudulent using electricity principle schematic for second kind.
Fig. 4 is the composition frame chart of apparatus for generating signals against fraudulent using electricity of the present invention.
Fig. 5 is the composition frame chart of apparatus for generating signals against fraudulent using electricity first embodiment of the present invention.
Fig. 6 is the working timing figure of apparatus for generating signals against fraudulent using electricity shown in Figure 5.
Fig. 7 is the composition frame chart of apparatus for generating signals against fraudulent using electricity second embodiment of the present invention.
Fig. 8 is the working timing figure of apparatus for generating signals against fraudulent using electricity shown in Figure 7.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, below in conjunction with embodiment and accompanying drawing, the present invention is described in more detail.
Main thought of the present invention is the sign bit of the energy pail stored energy value of first latches before overflowing, and when energy overflowed judging unit and overflows, the sign bit that adopts the energy pail stored energy value before overflowing was as signals against fraudulent using electricity; Simultaneously, second latch is when energy overflows judging unit and overflows, and with signals against fraudulent using electricity output, this signals against fraudulent using electricity remains unchanged before overflowing next time, thereby has realized exporting correct, stable signals against fraudulent using electricity.
Fig. 4 is the composition frame chart of apparatus for generating signals against fraudulent using electricity of the present invention.Referring to Fig. 4, this apparatus for generating signals against fraudulent using electricity comprises that totalizer 401, energy overflow judging unit 403, energy pail 402, latch 404 and latch 405.
Wherein, totalizer 401 is used for the active power that electric energy computation chip is calculated in sampling instant and the energy pail numerical value addition of energy pail 402, and addition result is exported to energy overflows judging unit 403.Sampling instant is sampling clock effectively along arriving constantly.Effectively along arriving, the expression apparatus for generating signals against fraudulent using electricity has received the active power data that needs are handled to sampling clock.
Energy overflows judging unit 403, be used for the addition result that receives from totalizer 401 is overflowed judgement, and definite according to overflowing judged result to the energy value of energy pail 402 outputs and the output pulses (CF_in) of output, this output pulses is calibration pulse CF.This calibration pulse is as the control signal of latch 405.
Energy pail 402 when being used to be stored in sampling clock effectively along arrival, overflows the energy value that judging unit 403 receives from energy, and as energy pail numerical value.Energy pail 402 is exported to totalizer 401 with energy pail numerical value, and the energy pail sign bit is exported to latch 404.This energy pail sign bit is the sign bit of this energy pail stored energy value, is signals against fraudulent using electricity.Energy pail 402 is actually a data storage unit, can adopt data register to realize.
Latch 404 is used for when the arrival of the effective edge of CLOCK clock the energy pail sign bit of energy pail output being exported to latch 405.The CLOCK clock is the system clock of electric energy computation chip.
Latch 405 is used for when energy overflows judging unit 403 output CF_in pulses, with the energy pail sign bit output of latch 404 outputs.The output of latch 405 is signals against fraudulent using electricity.
Wherein, latch 404 and latch 405 all can adopt d type flip flop to realize, also can adopt under control signal triggers, and realize other data latches of data latching.
Fig. 5 is the composition frame chart of apparatus for generating signals against fraudulent using electricity first embodiment of the present invention.Referring to Fig. 5, this apparatus for generating signals against fraudulent using electricity comprises that totalizer 501, energy overflow judging unit 503, energy pail 502, d type flip flop 504 and d type flip flop 505.
In the present embodiment, totalizer 501 is used for the active power that electric energy computation chip is calculated in sampling instant and the energy pail numerical value addition of energy pail 502, and addition result is exported to energy overflows judging unit 503.
Energy overflows judging unit 503, is used for the addition result that receives from totalizer 501 is overflowed judgement, and determines energy value to energy pail 502 outputs according to overflowing judged result, and whether export the CF_in pulse.The CF_in pulse of output is as calibration pulse CF output, and this CF_in pulse simultaneously is also as the control signal of d type flip flop 505.
Suppose that the addition result that receives from totalizer 501 is called intermediate value, this intermediate value overflowed judge and be meant whether the absolute value of judging this intermediate value reaches and overflow threshold value.This overflows threshold value and is arranged on energy and overflows in the judging unit 503, and is positive number.If the absolute value of intermediate value then is judged as and does not overflow less than overflowing threshold value, keep from the energy value of totalizer 501 intermediate value that receives conduct, and do not export the CF_in pulse to energy pail 502 outputs, the signal of CF_in keeps low level; If, then be judged as and overflow, determine energy value according to overflowing direction and intermediate value, and export a CF_in pulse to energy pail 502 outputs more than or equal to overflowing threshold value.
When energy overflows judging unit 503 and judges that intermediate values are overflowed, if intermediate value more than or equal to overflowing threshold value, then for forward overflows, energy overflowed judging unit 503 and current intermediate value is deducted overflowed threshold value this moment, as the energy value of exporting to energy pail 502; If intermediate value is smaller or equal to the negative that overflows threshold value, then for negative sense overflows, energy overflowed judging unit 503 and current intermediate value is added overflowed threshold value this moment, as the energy value to energy pail 502 outputs.
The judgement of overflowing that energy overflows the unit is not limited to said method, overflow as long as judge to have or not, and the energy value that calculates to energy pail 502 outputs gets final product.For example, can also be respectively overflow to overflow and be provided with respectively that forward overflows threshold value and negative sense overflows threshold value with negative sense at forward.It is positive number that forward overflows threshold value, and it is negative that negative sense overflows threshold value.Forward overflows threshold value and can equate with the absolute value that negative sense overflows threshold value.If intermediate value is overflowed threshold value and overflowed threshold value less than forward greater than negative sense, then do not overflow.When if intermediate value is overflowed threshold value more than or equal to forward, then overflow for forward; Energy overflowed judging unit 503 and current intermediate value is deducted forward overflowed threshold value this moment, as the energy value to energy pail 502 outputs.When intermediate value is overflowed threshold value smaller or equal to negative sense, then overflow for negative sense; Energy overflowed judging unit 503 and current intermediate value is deducted negative sense overflowed threshold value this moment, as the energy value to energy pail 502 outputs.
In addition, this energy overflows judging unit 503 and adopts combinational logic to realize that this unit is made up of a plurality of logic gates, and the input data are overflowed judgement, and deterministic process does not account for sequential.Guarantee when the arrival of the effective edge of sampling clock, can the intermediate value through overflowing judgement be input to energy pail 602, guarantee measuring tank numerical value and upgrade in time at synchronization.
Energy pail 502, be used for sampling clock effectively when arriving received energy overflow the energy value of judging unit 503 outputs, and as energy pail numerical value.Energy pail 502 is exported to totalizer 501 with energy pail numerical value, and the energy pail sign bit is exported to d type flip flop 504.
D type flip flop 504 is used for when the arrival of the effective edge of CLOCK clock the energy pail sign bit of energy pail 502 outputs being exported to d type flip flop 505.
D type flip flop 505 is used for when energy overflows judging unit 503 output CF_in pulses, with the energy pail sign bit output of d type flip flop 504 outputs.The output of d type flip flop 505 is signals against fraudulent using electricity.
Fig. 6 is an apparatus for generating signals against fraudulent using electricity working timing figure shown in Figure 5.Describe below in conjunction with the course of work of sequential chart the apparatus for generating signals against fraudulent using electricity of first embodiment of the invention.
Referring to Fig. 6, the CLOCK clock is the system clock of electric energy computation chip, is the highest signal of frequency, and the variation of every other signal is all alignd with the CLOCK rising edge clock.The rising edge of sampling clock arrives and represents that apparatus for generating signals against fraudulent using electricity has received the active power data that needs are handled, and the width of sampling clock is the complete cycle of CLOCK clock, and frequency is lower than the CLOCK clock.CF_in is calibration pulse CF, overflows judging unit 503 by energy and produces and output, just has CF_in and produce when sampling clock occurs, and frequency is lower than sampling clock; The width of sampling clock is complete cycles several, tens or more a plurality of CLOCK clocks, but will continue a complete cycle at least.The energy pail sign bit is produced by energy pail 502, changes with sampling clock; Low level is represented negative sign, and high level is represented positive sign.The rising edge of CLOCK clock is its effective edge, and the rising edge of sampling clock is its effective edge.
T1 is before the moment, and the energy pail sign bit is for negative; The output terminal of d type flip flop 504 has latched this energy pail symbol, for negative; D type flip flop 505 output terminals latch the signals against fraudulent using electricity of a calibration pulse CF, for just.
At t1 constantly, the energy pail symbol before the rising edge of the CLOCK clock control d type flip flop 504 output t1 is for negative.At t1 constantly, also arrive in effective edge of sampling clock, and totalizer 501 is exported to current input active power value and the addition of energy pail numerical value energy with addition result as intermediate value and overflowed judging unit 503.Energy overflows 503 pairs of these intermediate values of judging unit and overflows judgement.
If the absolute value that energy overflows the intermediate value that judging unit 503 receives when overflowing threshold value, does not then overflow, do not produce the CF_in pulse, i.e. calibration pulse CF.Signals against fraudulent using electricity is the symbol of a last calibration pulse CF.In the present embodiment, judged result be the absolute value of this intermediate value more than or equal to overflowing threshold value, then overflow.Overflow the moment that is the CF_in generation constantly, t1 and t3 are for overflowing constantly among Fig. 6.
As shown in Figure 6, t1 is the situation that negative sense overflows.Therefore, energy overflows judging unit 503 and the intermediate value that receives is added overflows threshold value, the energy value after obtaining overflowing.Energy value after supposing to overflow just is zero, and its symbol is being for just, so after energy overflows judging unit 503 this energy value is exported to energy pail 502, the energy pail sign bit by negative saltus step for just.
Owing to the generation of overflowing, energy overflows judging unit 503 also exports a CF_in pulse, as calibration pulse CF simultaneously.The rising edge control d type flip flop 505 of this CF_in pulse is exported signals against fraudulent using electricity immediately.This signals against fraudulent using electricity can't be because of the t1 variation of energy pail sign bit constantly, and the output positive sign, but t1 constantly d type flip flop 504 be latched in the negative sign of output terminal, the generation of expression t1 CF_in is constantly overflowed by negative sense and is caused.
When arrive in the effective edge of the next CLOCK clock in the t1 moment, i.e. in the t2 moment, d type flip flop 504 ability arrive its output terminal with the reacting condition of the energy pail sign bit in the t1 moment.Signals against fraudulent using electricity was exported and was finished this moment.The signals against fraudulent using electricity that overflows t1 output constantly is the energy pail sign bit before overflowing, and remains unchanged before overflowing next time.In a period of time, do not produce and overflow as long as energy overflows judging unit 503, no matter how the energy pail sign bit changes, and signals against fraudulent using electricity always remains unchanged, and represents the symbol of this output calibration pulse CF always.
Below just finished the output of a signals against fraudulent using electricity.The situation that t3 moment forward among Fig. 6 is overflowed describes below.
T3 constantly before, the energy pail sign bit is for just, the output terminal of d type flip flop 504 has latched positive sign, d type flip flop 505 output terminals latch the signals against fraudulent using electricity of a calibration pulse CF, for bearing.
At t3 constantly, the energy pail sign bits of the rising edge of CLOCK clock control d type flip flop 504 output t3 before constantly are for just.At t3 constantly, sampling clock effectively along arriving, export to current input active power value and the addition of energy pail numerical value energy with addition result as intermediate value and overflow judging unit 503 by totalizer 501.Energy overflows 503 pairs of these intermediate values of judging unit and overflows judgement.
Judged result is that forward overflows.Energy overflows judging unit 503 and the intermediate value that receives is deducted overflows threshold value, the energy value after obtaining overflowing.Because the value of energy pail is being for just before overflowing, so after the energy value of energy judging unit 503 after will overflowing exported to energy pail 502, the energy pail sign bit was constant.Owing to the generation of overflowing, energy overflows judging unit 503 also exports a CF_in pulse, as calibration pulse CF simultaneously.The rising edge control d type flip flop 505 of this CF_in pulse is exported signals against fraudulent using electricity immediately.This signals against fraudulent using electricity is the positive sign that t3 moment d type flip flop 504 is latched in its output terminal, and the generation of expression t3 CF_in is constantly overflowed by forward and caused.
When t4 arrived constantly, d type flip flop 504 just was latched into its output terminal with t3 moment energy pail sign bit.
As can be seen, signals against fraudulent using electricity is the symbol of energy pail before overflowing from the sequential chart of Fig. 6, and the direction of can correct expression overflowing has guaranteed the correctness of signals against fraudulent using electricity; Before next calibration pulse CF produced, signals against fraudulent using electricity remained unchanged, and has guaranteed the stability of signals against fraudulent using electricity.
Fig. 7 is the composition frame chart of apparatus for generating signals against fraudulent using electricity second embodiment of the present invention.Referring to Fig. 7, this apparatus for generating signals against fraudulent using electricity comprises that totalizer, 601 energy overflow judging unit 603, energy pail 602, d type flip flop 604, d type flip flop 605 and d type flip flop 606.
In the present embodiment, energy overflows 603 pairs of judging units and overflows judgement from the intermediate values that totalizer 601 receives, and determines energy value to energy pail 602 outputs according to overflowing judged result, and whether exports the CF_in pulse.When energy overflows absolute value that judging unit 603 judges intermediate value more than or equal to overflowing threshold value, then export a CF_in pulse.Be that with the difference of first embodiment as the CF_in pulse not output at once this moment of calibration pulse CF, but export to d type flip flop 606, the while is as the control signal of d type flip flop 605.
D type flip flop 606 is used under the control of CLOCK clock, and output is overflowed the CF_in pulse that judging unit 603 receives from energy, and this CF_in pulse this moment is exported as calibration pulse CF.
Fig. 8 is an apparatus for generating signals against fraudulent using electricity working timing figure shown in Figure 7.Describe below in conjunction with the course of work of apparatus for generating signals against fraudulent using electricity when negative sense overflows of sequential chart second embodiment of the invention.
T5 is before the moment, and before promptly overflowing, the energy pail sign bit is for negative, and expression is being carried out negative sense and added up.The value that d type flip flop 604 output terminals latch is an energy pail sign bit before overflowing, for negative.Because also do not have CF_in pulse output, the value that d type flip flop 606 output terminals latch is the value of CF_in before overflowing, is low level.What d type flip flop 605 output terminals latched is the signals against fraudulent using electricity of a last calibration pulse CF correspondence, for just.
At t5 constantly, the energy pail sign bit of the rising edge of CLOCK clock control d type flip flop before the 604 output t5 moment is for negative.The level of d type flip flop CF_in before the 606 output t5 moment is low level.At t5 constantly, sampling clock effectively along also arriving, export to current input active power value and the addition of energy pail numerical value energy with addition result as intermediate value and overflow judging unit 603 by totalizer 601.Energy overflows 603 pairs of these intermediate values of judging unit and overflows judgement.
In this example, suppose that judged result is that negative sense overflows.Energy overflows judging unit 603 and the intermediate value that receives is added overflows threshold value, and the energy value after obtaining overflowing just is zero, and its symbol is for just.Therefore after energy overflows judging unit 603 this energy value is exported to energy pail 602, the energy pail sign bit by negative saltus step for just.
Owing to the generation of overflowing, energy overflows judging unit 603 also exports a CF_in pulse simultaneously.The rising edge control d type flip flop 605 of this CF_in pulse is exported signals against fraudulent using electricity immediately.This signals against fraudulent using electricity is the negative sign that t5 moment d type flip flop 604 is latched in its output terminal, and remains unchanged before next CF_in pulse produces.
T5 constantly, the CF_in pulse that energy overflows judging unit 603 outputs or not as calibration pulse CF.But exported to d type flip flop 606.But the d type flip flop 606 of this moment has been exported the level of t5 CF_in before the moment, is low level.Therefore, d type flip flop 606 does not overflow energy the output terminal that CF_in pulse that judging unit 603 produces is reflected at d type flip flop 606 at once.
T6 arrives constantly, d type flip flop 604 just under the control of CLOCK rising edge clock, with the reacting condition of t5 energy pail sign bit constantly to its output terminal, promptly by negative saltus step for just.D type flip flop 606 also arrives its output terminal with the reacting condition of t5 CF_in constantly, promptly exports calibration pulse CF.Signals against fraudulent using electricity was exported and was finished this moment.
Below just finished the output of a signals against fraudulent using electricity.Owing to when energy overflows judging unit 603 generation overflow pulse CF_in, be not at once calibration pulse CF to be exported, but export to d type flip flop 606.Therefore this CF_in pulse delay one is clapped, and effectively just exports as calibration pulse CF along arriving to overflowing next CLOCK clock constantly.Make the signals against fraudulent using electricity of d type flip flop 605 outputs keep abreast with the calibration pulse CF of d type flip flop 606 outputs, when guaranteeing that peripheral circuit is gathered calibration pulse CF and signals against fraudulent using electricity simultaneously, the pairing signals against fraudulent using electricity of collection calibration pulse CF that can be correct, thus the correctness of signals against fraudulent using electricity further guaranteed.
The above as can be seen, apparatus for generating signals against fraudulent using electricity provided by the present invention can produce correctly stable signals against fraudulent using electricity, when guaranteeing the peripheral circuit collection calibration pulse CF of electric energy computation chip simultaneously, the pairing signals against fraudulent using electricity of collection calibration pulse CF that can be correct.
In sum, more than be preferred embodiment of the present invention only, be not to be used to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (7)

1, a kind of apparatus for generating signals against fraudulent using electricity is characterized in that, this device comprises that totalizer, energy overflow judging unit, energy pail, first latch and second latch;
Described totalizer is used for the active power of input and the energy value addition of energy pail output are exported to energy with addition result and overflowed judging unit;
Described energy overflows judging unit, is used for the addition result that receives from described totalizer is overflowed judgement, and determines to the energy value of described energy pail output and the output pulses of output according to overflowing judged result; This output pulses is as the control signal of described second latch;
Described energy pail, what be used to be stored in sampling clock effectively overflows the energy value that judging unit receives from described energy when arriving; And this energy value exported to described totalizer, the sign bit of energy value is exported to described first latch;
Described first latch is used for effective when arriving in time clock, and the sign bit of the energy value of energy pail output is exported to second latch;
Described second latch is used for when described energy overflows the power impulse comes of judging unit output, and the sign bit of the described energy value of described first latch output is exported as signals against fraudulent using electricity.
2, device according to claim 1 is characterized in that, this device further comprises the 3rd latch, is used for when the arrival of effective edge of time clock, and the output pulses that described energy is overflowed judging unit output is exported as the calibration pulse;
The output pulses that described energy overflows judging unit output is further used as the input signal of described the 3rd latch.
3, device according to claim 1 and 2 is characterized in that, described energy overflows the judging unit storage and overflows threshold value;
When the absolute value of the described addition result that receives less than described when overflowing threshold value, described energy overflows judging unit and does not overflow; Described addition result is exported to described energy pail as described energy value; Not output power pulse;
When the absolute value of the described addition result that receives more than or equal to described when overflowing threshold value, described energy overflows judging unit and overflows; According to overflowing direction and described addition result is determined described energy value, export to described energy pail; The output power pulse.
4, device according to claim 3 is characterized in that,
The described threshold value of overflowing is a positive number;
When described addition result more than or equal to described when overflowing threshold value, for forward overflows; Described energy overflows judging unit, and described addition result is deducted the described threshold value of overflowing, and exports to described energy pail as described energy value;
When described addition result smaller or equal to described when overflowing the negative of threshold value, for negative sense overflows; Described energy overflows judging unit, described addition result is added the above overflow threshold value, exports to described energy pail as described energy value.
5, device according to claim 4 is characterized in that, described energy overflows judging unit to be made up of a plurality of logic gates.
6, device according to claim 2 is characterized in that, described first latch is a d type flip flop, and described second latch is a d type flip flop, and the 3rd latch is a d type flip flop.
7, device according to claim 1 and 2 is characterized in that, the width of described output pulses is the integral multiple of the width of described time clock.
CNB2006101680169A 2006-12-15 2006-12-15 Apparatus for generating signals against fraudulent using electricity Expired - Fee Related CN100443905C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006101680169A CN100443905C (en) 2006-12-15 2006-12-15 Apparatus for generating signals against fraudulent using electricity

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006101680169A CN100443905C (en) 2006-12-15 2006-12-15 Apparatus for generating signals against fraudulent using electricity

Publications (2)

Publication Number Publication Date
CN1975443A CN1975443A (en) 2007-06-06
CN100443905C true CN100443905C (en) 2008-12-17

Family

ID=38125654

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006101680169A Expired - Fee Related CN100443905C (en) 2006-12-15 2006-12-15 Apparatus for generating signals against fraudulent using electricity

Country Status (1)

Country Link
CN (1) CN100443905C (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111505561A (en) * 2020-04-29 2020-08-07 内蒙古电力(集团)有限责任公司 Metering simulation circuit and IR46 electric energy meter working condition simulation device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2321009Y (en) * 1997-09-02 1999-05-26 揭阳市恒星工业有限公司 Electronic single-phase electric energy meter
CN1415075A (en) * 2000-10-06 2003-04-30 三菱电机株式会社 Electronic watt-hour meter
CN1605875A (en) * 2003-10-06 2005-04-13 珠海炬力集成电路设计有限公司 Multifunctional single-phase digital watthour meter
CN1804640A (en) * 2006-01-24 2006-07-19 北京万工科技有限公司 Electric energy metrical pulse generation method for ammeter

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2321009Y (en) * 1997-09-02 1999-05-26 揭阳市恒星工业有限公司 Electronic single-phase electric energy meter
CN1415075A (en) * 2000-10-06 2003-04-30 三菱电机株式会社 Electronic watt-hour meter
CN1605875A (en) * 2003-10-06 2005-04-13 珠海炬力集成电路设计有限公司 Multifunctional single-phase digital watthour meter
CN1804640A (en) * 2006-01-24 2006-07-19 北京万工科技有限公司 Electric energy metrical pulse generation method for ammeter

Also Published As

Publication number Publication date
CN1975443A (en) 2007-06-06

Similar Documents

Publication Publication Date Title
CN101685135B (en) Test device and test method for testing circuit board
CN102346236B (en) Time parameter measurement system
CN103516367B (en) A kind of time-to-digit converter
CN201751855U (en) Testing device and testing control device of transmission chip
CN102353891B (en) Digital integrated circuit fundamental tester
CN205080373U (en) Accurate time interval measuring circuit based on delay line interpolation method
CN102109572A (en) Method for testing and method for testing and controlling transmission chip
CN106092156B (en) AC servo serial communication encoder position feedback pulse frequency dividing output system and method
CN101599628A (en) Solid-state power controller inverse time over-current protection device based on FPGA
CN101556325B (en) Method for quickly verifying electric energy error
CN202794346U (en) Pulse width detection circuit
CN100425994C (en) Circuit and method for preventing shunt running in electric energy measurement
CN100443905C (en) Apparatus for generating signals against fraudulent using electricity
CN103023467A (en) Register resetting method and device based on scanning mode
CN105866530A (en) Method for metering electric quantity based on electric energy metering chip
EP2499741B1 (en) Time-to-digital converter with successive measurements
CN110160594A (en) A kind of NB-IoT mould group with intellectual water meter dedicated pin
CN105388780B (en) A kind of IRIG-B000 code simulator
CN106405477A (en) Evaluation method and device for metering performance under dynamic load
CN201382973Y (en) Energy consumption monitoring system based on wireless sensor network
CN202494722U (en) Remote cost control three-phase intelligent electric energy meter
CN202421328U (en) Self-testing electronic electricity meter
CN102998651B (en) Error calibration device and system and error transfer system and method of full digital electric energy meter
CN205015669U (en) Delay line circuit
CN108075697A (en) A kind of switched reluctance machines phase current iterative learning control method of position signal frequency multiplication

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20081217

Termination date: 20111215