A kind of intelligent interactive pick-up unit that is used to detect electric energy meter
Technical field:
The present invention relates to pick-up unit, be specifically related to a kind of intelligent interactive pick-up unit that is used to detect electric energy meter.
Background technology:
In recent years, State Grid Corporation of China carried out the comprehensive unified building-up work of power consumer information acquisition system in 2008, had proposed unified standard, uniform bidding and the unified principle of building of construction system; A large amount of electric energy meters that use are all according to the unified design of up-to-date intelligent electric energy meter technical manual in system; And also carry out because of bid concentrated and become focal point it is pressed for time to these testings that meet the electric energy meters of new criteria; The detection of especially local expense control table relates to sub-projects up to a hundred; How guaranteeing that testing result accurately under the prerequisite, improves detection efficiency, becoming the puzzlement power industry and detect the difficult problem that department and instrument industry detect department.
Traditional detection device of electric energy meter employing serial or parallel dual mode realization host computer is communicated by letter with electric energy meter.The principle that serial detects is as shown in Figure 1; Host computer is according to test item transmitting order to lower levels one by one; The order that issues all is according to after accomplishing an epi-position, more next epi-position is carried out same operation, and all tables are carried out next bar after executing an order again; This communication mode is inefficiency in the batch detection ammeter, and when a certain ammeter fill order is failed, is prone to cause the interruption of whole detection work.Traditional parallel detection principle is as shown in Figure 2, and promptly host computer sends instructions down to a plurality of electric energy meters simultaneously, and every table is opened a thread; A plurality of threads carry out work simultaneously, and this mode obviously is better than serial mode on detection efficiency, but also have the problem of two aspects; The one, parallel mode need be opened a plurality of threads simultaneously at host computer; Each thread all can have corresponding state display frame, when a plurality of pictures show simultaneously, can cause the testing staff some table status to be judged the mixed meat and fish dishes that closes on the table picture with other; And then maloperation, cause erroneous judgement; The 2nd, the progress of a plurality of tables in testing process is different; State shows just different; After the testing staff need go to the monitor station meter hanging frame to observe the state of ammeter; Turn back to the host computer operator's console and operate, need come the detection of back operations will increase testing staff's workload, the detection of especially local expense control electric energy meter will relate to the artificial plug-in card work of multiple instrument card; The operator should operate upper computer software again to all epi-positions manual plug-in card one by one, and the work meeting that this machinery repeats is time-consuming, require great effort, take a lot of work.
Summary of the invention:
Deficiency to prior art the object of the present invention is to provide, and solution traditional detection unit efficiency is low, the method for problems such as testing process is opaque, the testing amount is heavy, testing result erroneous judgement.
A kind of intelligent interactive pick-up unit that is used to detect electric energy meter provided by the invention, by host computer and a plurality of epi-position parallel communications, its improvements are, install an intelligent interactive pick-up unit additional on each epi-position side when detecting electric energy meter;
Said pick-up unit comprises device panel and control circuit board; Said device panel comprises liquid crystal display and button, and said control circuit board comprises main control unit, communication unit, power supply unit, liquid crystal cells and push-button unit; After said main control unit receives the instruction of host computer through communication unit, corresponding data is write the said storage chip of said liquid crystal cells, and pass through said liquid crystal display demonstration; The ammeter testing staff reads the information on the said liquid crystal display; To the electric energy meter operation, observe the execution result of electric energy meter then, through said push-button unit input corresponding information; Said main control unit obtains the data of said push-button unit input; Be uploaded to host computer through communication unit, host computer is received the test item implementation status of judging ammeter after the data, and decision is to detect again or continues detection.
The pick-up unit of first preferred version provided by the invention, its improvements are that said main control unit comprises single-chip microcomputer and clock circuit; Said single-chip microcomputer is ATMEGA64L.
The pick-up unit of second preferred version provided by the invention, its improvements are that said communication unit comprises communication chip.
The pick-up unit of the 3rd preferred version provided by the invention, its improvements are that said power supply unit comprises power supply processing circuit.
The pick-up unit of the 4th preferred version provided by the invention, its improvements are that said liquid crystal cells comprises the liquid crystal display storage chip.
The pick-up unit of the 5th preferred version provided by the invention, its improvements are that said push-button unit comprises treatment circuit; Said treatment circuit connects said button;
Said button has 5, is defined as Yes, No, F1, F2 and F3 respectively; Yes representes that the ammeter execution is correct; No representes that the ammeter execution is incorrect; F1 is the User Defined pattern, and F2 representes other, and F3 representes retry.Wherein, the effect of treatment circuit is shake, prevents maloperation.
The pick-up unit of the 6th preferred version provided by the invention, its improvements be, said main control unit respectively with said communication unit, said push-button unit, said liquid crystal cells and said power supply unit through being electrically connected.
The pick-up unit of the 7th preferred version provided by the invention, its improvements are that said host computer is the computing machine that the electric energy meter trace routine is installed.
The pick-up unit of more preferably scheme provided by the invention, its improvements are that said communication chip is SN65LBC184.
The pick-up unit of another preferred version provided by the invention, its improvements are that said power supply processing circuit comprises level shifting circuit; Said level shifting circuit comprises diode, resistance and electric capacity; Parallelly connected with said electric capacity again after said resistance and the series connection of said diode.
With the prior art ratio, beneficial effect of the present invention is:
This device can reduce the testing staff and travel to and fro between the work between pick-up unit and the host computer operator's console, can be through the local realization of corresponding interactive device to the operation of every ammeter;
Can realize automatic detection, shorten detection time, improve detection efficiency;
Effectively avoid a plurality of ammeters to be simultaneously displayed on contingent maloperation on the host computer display, the accuracy that has improved testing result greatly.
Provide not meet the writing function that detects the ammeter displaying contents that requires, be convenient to the practice condition of testing staff's analysis and judgement ammeter and the storage that ammeter detects raw readings.
Description of drawings
Fig. 1 is the structural representation of device of the present invention.
Fig. 2 is serial testing process figure.
Fig. 3 is the parallel detection process flow diagram.
Fig. 4 presses programming key test pictures displayed map.
Fig. 5 ammeter is read table number the card procedure chart is set.
Fig. 6 table number is provided with the test result figure that card is provided with electric table number function.
Embodiment
Do further to specify below in conjunction with the accompanying drawing specific embodiments of the invention.
As shown in Figure 2; When the traditional detection device adopted the serial detection mode, host computer was according to test item transmitting order to lower levels one by one, and the order that issues all is according to after accomplishing an epi-position; Again next epi-position is carried out same operation, all tables are carried out next bar after executing an order again.
As shown in Figure 3, when the traditional detection device adopted the parallel detection mode, host computer sent instructions down to many electric energy meters simultaneously, and every table is opened a thread, and a plurality of threads carry out work, independent operating each other simultaneously.
As shown in Figure 1, realization of the present invention is on the basis of the host computer of pick-up unit and a plurality of epi-position parallel communicationss, detects the epi-position side at each and installs an intelligent interactive pick-up unit additional, and pick-up unit comprises device panel and control circuit board; The device panel comprises liquid crystal display and button, and control circuit board comprises main control unit, communication unit, power supply unit, liquid crystal cells and push-button unit; Main control unit is made up of 8 single-chip microcomputers (model is ATMEGA64L) and clock circuit; Main control unit links to each other with the host computer of pick-up unit through communication unit; The director data that reception is sent by host computer perhaps sends data to host computer, and main control unit and liquid crystal display, key-press input unit, communication unit are all through being electrically connected.Communication unit is made up of communication chip (model is SN65LBC184) and auxiliary circuit; Auxiliary circuit be add at the output terminal of signal of communication draw, the holding circuit of circuit components such as pull down resistor and unidirectional Transient Suppression Diode, this circuit can effectively prevent interference such as excessive voltage, anti-thunderbolt.Power supply unit receives from the input of the power supply outside the device; And be that each unit on the entire circuit plate provides power supply output through the treatment circuit of power supply unit, liquid crystal cells links to each other with liquid crystal display with main control unit respectively, according to the data presentation corresponding information of master control transmission on liquid crystal display; Push-button unit links to each other with button with main control unit respectively; The positional information of the key that is pressed is inputed to main control unit, have 5 buttons on the device panel, be defined as YES, NO, F1, F2, F3 respectively; Preceding two buttons are represented the correctness of ammeter execution result respectively, the implication that back three buttons are corresponding different according to the content of liquid crystal display.
When detecting a certain subfunction, main control unit is responsible for receiving the instruction of being sent by host computer as the control maincenter of device; Instruction is sent to liquid crystal cells, show through liquid crystal display, the ammeter testing staff observes the liquid crystal display content; Ammeter is operated, and the result who then ammeter is carried out imports through button, and main control unit receives key information; Be uploaded to host computer after the processing, accomplish a certain testing and successfully feed back testing result; When result who carry out to detect when ammeter and requirement do not meet; The liquid crystal of this device can go host computer to import the prompting of ammeter display message by display requirement; The testing staff observes this displaying contents, and the displaying contents of ammeter is then in this content of host computer input; Accomplish the writing task of ammeter testing result, whether qualified for testing staff's analysis and judgement testing result.
Wherein, Device execution electric energy meter programming key is pressed testing process and is: at first carry out self check after corresponding device powers on a certain epi-position; Wait for the host computer instruction then, after the electric energy meter programming key of main control unit reception host computer was pressed test instruction, main control unit sent data to liquid crystal cells; Liquid crystal display shows two row information such as Fig. 4, be respectively " please press ammeter programming key " then by YES key with " YES: button is successfully; NO: button failure ", the testing staff removes the programming key by corresponding epi-position after seeing the liquid crystal display content, the situation that the programming bond energy enough is pressed; the testing staff can press the YES button at the device panel, after the main control unit of device receives key information, transmits the information that the programming key successfully presses and gives host computer; this tests this epi-position ammeter and carries out correctly, and it is qualified to detect, otherwise, promptly the key of programming can not be pressed; the testing staff presses the NO button, and the ammeter execution is failed, and detects defective.
Wherein, Device is provided with the testing process that card is provided with the table number function and is carrying out local expense control electric energy meter table number: host computer transmission table number is provided with card and electric table number is set instructs to ammeter; Control the supporting parts of stage body simultaneously table number is provided with card insertion ammeter; The implementation status of this process can be presented on the liquid crystal panel of interactive device, like Fig. 5 synchronously.The testing staff observes the state variation of ammeter, and what show on the liquid crystal display is that the inquiry message of ammeter display result was like Fig. 6 after table number was provided with card insertion ammeter.If ammeter shows Card Reader success or ERR-10, press YES key, information uploading, this test passes does not show, selects the NO key, test failure, or select F3 key retry.After repeating this detection three times again; After ammeter does not still have clear and definite information; Upper transmission is instructed to device, requires information such as Fig. 7 of liquid crystal display " please operational computations machine input reason ", and the testing staff observes the information of going to host computer input " ammeter insert table number card is set reactionless " after this information; This information can be used as the reference data that the later stage benefit is surveyed this function; Behind the input information, host computer sends carries out next command to ammeter and device, and the liquid crystal display picture of device switches to next flow process.
Should be noted that at last: combine the foregoing description technical scheme of the present invention only to be described but not its restriction.Under the those of ordinary skill in field be to be understood that: those skilled in the art can specific embodiments of the invention make amendment or are equal to replacement, but these modifications or change are all among the claim protection domain that application is awaited the reply.