Electric energy meter checking device
Technical field
The utility model relates to a kind of device for measurement of electrical energy of Power Quality Monitor Device, is a kind of calibration equipment of electric energy meter specifically.
Background technology
The square-wave signal of the synthetic certain frequency of a lot of peripheral logical circuits such as the gate circuit that the waveform synthesis unit of present electric energy meter checking device adopts, counter, frequency divider, a lot of resolution elements cause the wiring complexity, cost is high, power consumption is big owing to use, and cause a lot of inconvenience for production, installation, maintenance etc.; Because waveform leaves in the outside wave memorizer, data read is wayward, can't realize controlling fast and effectively in the waveform building-up process.In the phase place handoff procedure,, cause when serious and report to the police even damage hardware because uncontrollable switching time is exported violent shake when causing phase place to switch.
In addition, the Error processing unit of present electric energy meter checking device is mainly finished tested Watch Error and is handled and simply control, can't achieve effective control for complex apparatus such as existing negative control terminals, if increase extra processing module, just cause the increase of distribution and cost.Error calculation unit is gathered and is uploaded to host computer by the RS485 bus after the tested Watch Error data and handle, and the total line use ratio of RS485 is low, and communication efficiency reduces, and system reliability is poor.And owing to utilize the clock check instrument to gather other data of tested table, the many more cablings of epi-position are many more, and distance is far away more, cause wiring complicated like this, and reliability reduces, and the above calibration equipment of 48 epi-positions just can't be realized.
In addition, host computer and data processing unit carry out exchanges data by RS232, divide the control unit to communicate by 485 buses and each, and traffic rate is low, the bit error rate is high, poor reliability.
The utility model content
The purpose of this utility model provides a kind of electric energy meter checking device, realizes the quick verification of multi-epitope, makes system have good stability, communication speed height, accurate advantage.
For achieving the above object, the utility model adopts following technical scheme: a kind of electric energy meter checking device, comprise the waveform synthesis unit, error calculation unit, host computer, data processing unit, data processing unit respectively with the waveform synthesis unit, error calculation unit is connected with host computer, it is characterized in that: described waveform synthesis unit is the waveform synthesis unit of central processing unit control, the counter port of central processing unit is connected with the square wave combiner circuit, central processing unit also connects code translator by address bus, the input end that connects the D/A change-over circuit afterwards, the output terminal of D/A change-over circuit connects discharge circuit, the output of discharge circuit connects power amplifier, power amplifier is used for the output voltage current signal, the port of central processing unit also is connected with the amplitude reference circuit, the output terminal of amplitude reference circuit is connected with the input end of D/A change-over circuit, data processing unit is by CAN bus and waveform synthesis unit, error calculation unit connects, and data processing unit is connected by Ethernet with host computer.
The central processing unit of described waveform synthesis unit also connects the relay control box by 485 buses.
Described error calculation unit is the error calculation unit of central processing unit control, the central processing unit of error calculation unit has the counter port that connects tested table and standard scale, the central processing unit of error calculation unit also is provided with 485 interfaces that are connected with tested table, and the central processing unit of error calculation unit also is provided with the CAN interface that is connected with data processing unit.
What described data processing unit adopted is central processing unit, the central processing unit of data processing unit is provided with 232 interfaces that are connected with standard scale, the central processing unit of data processing unit is connected with the GPS module by 232 buses, and the I/O port of the central processing unit of data processing unit also is connected with display screen.
The waveform synthesis unit of the utility model electric energy meter checking device adopts central processing unit, simplify peripheral circuit greatly, Wave data leaves the internal SRAM district of central processing unit in, and the time of data access shortens, the waveform fast and flexible is realized, and cost and power consumption reduction.Adopt the point of crossing phase shift technology to realize phase shift, reduce the waveform shake in the phase shift process greatly, realize the phase place smooth transition.Error calculation unit adopts central processing unit, realizes exchanges data by CAN bus and data processing unit, do not need usefulness clock tester just can verification multi-epitope more, speed is fast, the degree of accuracy height.Error calculation unit and waveform synthesis unit and data processing unit are realized exchanges data by the CAN bus, can telecommunication, and the bit error rate is low, reliability height, total line use ratio height.Host computer communicates by Fast Ethernet and data processing unit, can carry out long haul communication, the reliability height, and communication speed improves greatly.
Description of drawings
Fig. 1 is the utility model catenation principle block diagram;
Fig. 2 is a waveform synthesis unit theory diagram;
Fig. 3 is the error calculation unit theory diagram;
Embodiment
As shown in Figure 1, data processing unit adopts ARM7 core processor LPC2300, and processor LPC2300 connects standard scale by 232 buses, and the pulse of standard scale is input to the counter of processor LPC2300, processor LPC2300 connects host computer by ethernet mac, i.e. computing machine; Processor LPC2300 is connected with waveform synthesis unit, each error calculation unit by the CAN bus, and the output of waveform synthesis unit is used for tested table and standard scale provides electric current and voltage; Processor LPC2300 is connected with keyboard, liquid crystal display, power consumption module, humiture module and other 485 bus unit by 485 buses, processor LPC2300 also is connected with the GPS module by 232 buses, also is connected to display screen on the I/O port of processor LPC2300.The whole system operation process is as described below: data processing unit processor LPC2300 is by Fast Ethernet and compunication, receive the set information of user, processor LPC2300 and waveform synthesis unit are realized data communication by high-speed CAN bus, the waveform synthesis unit is given standard scale and tested table with the voltage and current of output, the pulse of standard scale and the pulse of tested table flow to corresponding error calculation unit, each error calculation unit is carried out exchanges data by CAN bus and processor LPC2300, and the various data preparation packings back that processor LPC2300 will receive is transmitted back to computing machine by Ethernet.The GPS module acceptance criteria time, be used for to the multifunctional meter time service, standard scale is communicated by letter with processor LPC2300 by 232 buses, and the counter of the pulse input processor LPC2300 of standard scale shows the data such as voltage, electric current, power of current output by display screen.Power consumption module is used for measuring the power consumption of tested table, the humiture module is measured the temperature and humidity of the current environment of tested table, to processor LPC2300, processor LPC2300 communicates by Ethernet and computing machine the data that these modules are measured by 485 data delivery.As user during, can import each by keyboard parameter is set without computing machine.
As shown in Figure 2, in the waveform synthesis unit, the control core adopts the processor STR710FZ2 of ARM7TDMI, the timer port of processor STR710FZ2 connects the square wave combiner circuit, the square wave combiner circuit is that crystal oscillator connects frequency divider, connect phaselocked loop again, timer 1 port of phaselocked loop connection processing device STR710FZ2, phaselocked loop also is connected with the timer 2 port.Processor STR710FZ2 is connected with the relay control box by 485 buses, processor STR710FZ2 is connected the input end of 6 16 D/A with code translator by address bus, the SPI port of processor STR710FZ2 connects the accurate LTC2600 of 8 roadbeds, the output terminal of the accurate LTC2600 of 8 roadbeds connects the input end of discharge circuit, the output terminal of discharge circuit connects the input end of 6 16 D/A change-over circuits, the output terminal of 16 D/A change-over circuits is connected with the discharge circuit input end, the output terminal of discharge circuit is connected with the input end of power amplifier, and the output of power amplifier is used for providing voltage and current signal to standard scale and calibrated meter.Processor STR710FZ2 also is connected with data processing unit by CAN bus, 232 buses.The port of processor STR710FZ2 also is connected with other peripheral circuit.
The principle of work of waveform synthesis unit is as shown in Figure 2: after processor STR710FZ2 receives the information of data processing unit by the CAN bus interface, obtain suitable voltage, the gear of electric current through internal calculation, make the relay control box be set to suitable gear by 485 buses; The output signal of crystal oscillator is passed through phaselocked loop (74HC4046) again and is realized frequency multiplication through the frequency divider frequency division, and the frequency signal after the frequency multiplication flows to phaselocked loop again, and phaselocked loop flows to timer 2 with this frequency signal again, handles back output through timer 2 and gets a signal frequency.Processor STR710FZ2 is by the divider ratio of program setting timer 1 and timer 2, calculating promptly gets and gets a signal frequency through program, processor STR710 FZ2 internal SRAM district sets up 6 waveform tables, the corresponding three-phase voltage U A of difference, UB, UC and three-phase current IA, IB, IC, STR710FZ2 takes out a Wave data respectively after sampling and getting the dot frequency signal from these six waveform tables, finish appointment by address bus and code translator to six D/A change-over circuits, deliver to 16 corresponding D/A change-over circuits then, the port of processor STR710FZ2 is connected with the accurate LTC2600 of 8 roadbeds, by the amplitude of the accurate LTC2600 control output voltage of 8 roadbeds electric current, the output of the accurate LTC2600 of 8 roadbeds provides a benchmark for 16 D/A conversion circuit through discharge circuit, discharge circuit is passed through in the output of 16 D/A change-over circuits again, and waveform signal is amplified to needed amplitude, imports power amplifier afterwards, waveform signal is brought up to certain carrying load ability, output need voltage and current signal.Processor STR710FZ2 also is provided with 232 interfaces and 485 interfaces in addition with standby.
As shown in Figure 3, the error calculation unit core adopts the ARM up-to-date Cortex-M3 core processor LM3S2139 of company, processor LM3S2139 is connected with data processing unit by the CAN bus, processor LM3S2139 is connected with tested table by 485 buses, the pulse output end of standard scale is connected with the counter 1 of processor LM3S2139, the counter 2 of the pulse output end of tested table and processor LM3S2139,4,5 connect, the IO mouth of processor LM3S2139 connects current-limiting resistance, connect driving circuit again, connect charactron afterwards, the IO mouth of processor LM3S2139 also is connected with the epi-position short-circuited conducting sleeve, and the PLL mouth connects standby crystal oscillator.The port of processor LM3S2139 also is connected with other control circuit.The principle of work of error calculation unit: the high-frequency impulse enter counter 1 of standard scale, tested table electronic impulse enter counter 2, counter 3 is reserved the input of one road high-frequency impulse, tested table time clock enter counter 4, tested table requirement recurrent pulse enter counter 5; High stability crystal oscillator pulse (1MHz) is used for timing day timing error by driving gate enter counter 6.Error calculation unit is after the pulse that receives tested table and standard scale, the pulse of the pulse of the tested table that will measure and standard scale contrast within a certain period of time, calculate error, and on charactron, show error information, clock frequency, day timing error etc. of tested table, simultaneously other communication data of the tested table that will receive by 485 bus interface of processor LM3S2139 sends to tested table by 485 buses, finish the part verification of tested table, processor LM3S2139 is transmitted back to data processing unit with the data of tested table loopback by the CAN bus then.Another road 485 interfaces of processor LM3S2139 are as the standby negative control terminal device in the future of developing, and the epi-position short-circuited conducting sleeve that the IO mouth is connect makes each error unit corresponding with the survey epi-position.