A kind of Intelligent interactive type detection device for detecting electric energy meter
Technical field:
The present invention relates to pick-up unit, being specifically related to a kind of Intelligent interactive type detection device for detecting 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, proposed the unified standard of construction system, uniform bidding and unified principle of building; A large amount of electric energy meter used is all according to up-to-date intelligent electric energy meter technical manual Uniting in systems in which, and for these testings meeting the electric energy meter of new criteria also because the concentrated of bid is carried out and become focal point it is pressed for time, especially the detection of local charge control table relates to sub-project up to a hundred, how under guarantee testing result accurately prerequisite, improve detection efficiency, become the difficult problem that puzzlement power industry detects department and instrument industry detection department.
Traditional detection device of electric energy meter adopts serial or parallel two kinds of modes to realize the communication of host computer and electric energy meter.The principle that serial detects as shown in Figure 1, host computer is according to test item transmitting order to lower levels one by one, the order issued is all according to after completing an epi-position, again same operation is performed to next epi-position, all tables perform next after executing an order again, this communication mode is inefficiency in batch detection ammeter, and easily causes the interruption of whole detection work when a certain ammeter fill order failure.Traditional parallel detection principle as shown in Figure 2, namely host computer sends instructions down to multiple electric energy meter simultaneously, a thread opened by every only table, multiple thread carries out work simultaneously, this mode on detection efficiency significantly better than serial mode, but the problem of also depositing both ways, one is that parallel mode needs to open multiple thread at host computer simultaneously, each thread can have corresponding state display frame, when multiple picture shows simultaneously, testing staff can be caused to close on the mixed meat and fish dishes of table picture to some table status judgements and other, and then maloperation, cause erroneous judgement; Two is that the progress of multiple table in testing process is different, state display is just different, after testing staff needs to go to monitor station meter hanging frame to observe the state of ammeter, turn back to host computer operator's console to operate, need the detection of passes will increase the workload of testing staff, especially the detection of local charge control electric energy meter will relate to the artificial plug-in card work of multiple types of tools card, operator should operate upper computer software again to all epi-positions manual plug-in card one by one, the work that this machinery repeats can time-consuming, require great effort, take a lot of work.
Summary of the invention:
For the deficiencies in the prior art, the object of the present invention is to provide, solve the method for the problem such as conventional detection devices inefficiency, testing process is opaque, testing amount is heavy, testing result erroneous judgement.
A kind of Intelligent interactive type detection device for detecting electric energy meter provided by the invention, by host computer and multiple epi-position parallel communications during detection electric energy meter, its improvements are, install an Intelligent interactive type detection device additional on each epi-position side;
Described pick-up unit comprises device panel and control circuit board; Described device panel comprises liquid crystal display and button, and described control circuit board comprises main control unit, communication unit, power supply unit, liquid crystal cells and push-button unit; Corresponding data is write the described storage chip of described liquid crystal cells, and shows through described liquid crystal display after receiving the instruction of host computer by communication unit by described main control unit; Ammeter testing staff reads the information on described liquid crystal display, electric energy meter is operated, then the execution result of electric energy meter is observed, by described push-button unit input corresponding information, described main control unit obtains the data of described push-button unit input, be uploaded to host computer by communication unit, host computer judges the test item implementation status of ammeter after receiving data, and decision again detects or continue to detect.
The pick-up unit of the first preferred version provided by the invention, its improvements are, described main control unit comprises single-chip microcomputer and clock circuit; Described single-chip microcomputer is ATMEGA64L.
The pick-up unit of the second preferred version provided by the invention, its improvements are, described communication unit comprises communication chip.
The pick-up unit of the 3rd preferred version provided by the invention, its improvements are, described power supply unit comprises power supply processing circuit.
The pick-up unit of the 4th preferred version provided by the invention, its improvements are, described liquid crystal cells comprises liquid crystal display storage chip.
The pick-up unit of the 5th preferred version provided by the invention, its improvements are, described push-button unit comprises treatment circuit; Described treatment circuit connects described button;
Described button has 5, is defined as Yes, No, F1, F2 and F3 respectively; It is correct that Yes represents that ammeter performs; It is incorrect that No represents that ammeter performs; F1 is User Defined pattern, and F2 represents other, and F3 represents retry.Wherein, the effect for the treatment of circuit is Key dithering, prevents maloperation.
The pick-up unit of the 6th preferred version provided by the invention, its improvements are, described main control unit passes through to be electrically connected with described communication unit, described push-button unit, described liquid crystal cells and described power supply unit respectively.
The pick-up unit of the 7th preferred version provided by the invention, its improvements are, described host computer is the computing machine being provided with electric energy meter trace routine.
The pick-up unit of more preferably scheme provided by the invention, its improvements are, described communication chip is SN65LBC184.
The pick-up unit of another preferred version provided by the invention, its improvements are, described power supply processing circuit comprises level shifting circuit; Described level shifting circuit comprises diode, resistance and electric capacity; After described resistance and described Diode series again with described Capacitance parallel connection.
Compared with the prior art, beneficial effect of the present invention is:
This device can reduce testing staff and travel to and fro between work between pick-up unit and host computer operator's console, can be realized the operation of every block ammeter by corresponding interactive device this locality;
Automatic detection can be realized, shorten detection time, improve detection efficiency;
Effectively avoid multiple ammeter to be simultaneously displayed on contingent maloperation on host computer display, substantially increase the accuracy of testing result.
The writing function of the ammeter displaying contents not meeting testing requirement is provided, is convenient to the storage that testing staff analyzes practice condition and the ammeter detection raw readings judging ammeter.
Accompanying drawing explanation
Fig. 1 is the structural representation of device of the present invention.
Fig. 2 is serial overhaul flow chart.
Fig. 3 is parallel detection process flow diagram.
Fig. 4 presses programming key test pictures display figure.
The meter reading number of Fig. 5 ammeter arranges card procedure chart.
Fig. 6 table number arranges the test result figure that card arranges ammeter function.
Embodiment
Below in conjunction with accompanying drawing, the specific embodiment of the present invention is described in further detail.
As shown in Figure 2, when conventional detection devices adopts serial detection mode, host computer is according to test item transmitting order to lower levels one by one, and the order issued is all according to after completing an epi-position, perform same operation to next epi-position again, all tables perform next after executing an order again.
As shown in Figure 3, during conventional detection devices employing parallel detection mode, host computer sends instructions down to many electric energy meters simultaneously, and a thread opened by every only table, and multiple thread carries out work simultaneously, each other independent operating.
As shown in Figure 1, realization of the present invention is on the host computer of pick-up unit and the basis of multiple epi-position parallel communications, and install an Intelligent interactive type detection device additional on each detection epi-position side, pick-up unit comprises device panel and control circuit board; 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 is connected with the host computer of pick-up unit by communication unit, receive the director data sent by host computer or send data to host computer, main control unit and liquid crystal display, key-press input unit, communication unit are all by being electrically connected.Communication unit is made up of communication chip (model is SN65LBC184) and auxiliary circuit; auxiliary circuit is the protection circuit adding the circuit components such as pull-up, pull down resistor and unidirectional Transient Suppression Diode at the output terminal of signal of communication, and this circuit effectively can prevent excessive voltage, the interference such as anti-lightning strike.Power supply unit receives from the power supply input outside device, and provide power supply to export through the treatment circuit of power supply unit for each unit on whole circuit board, liquid crystal cells is connected with liquid crystal display with main control unit respectively, corresponding information is shown on liquid crystal display according to the data that master control sends, push-button unit is connected with button with main control unit respectively, the positional information of the key that is pressed is inputed to main control unit, device panel has 5 buttons, be defined as YES respectively, NO, F1, F2, F3, the first two button represents the correctness of ammeter execution result respectively, the implication that rear three buttons are corresponding different according to the content of liquid crystal display.
When detecting a certain subfunction, main control unit is as the control axis of device, be responsible for receiving the instruction of being sent by host computer, instruction sent to liquid crystal cells, is shown by liquid crystal display, ammeter testing staff observes liquid crystal display content, operate ammeter, the result then performed by ammeter is by key-press input, and main control unit receives key information, be uploaded to host computer after process, complete a certain testing and successfully feed back testing result; When ammeter performs the result of detection and requirement does not meet, the liquid crystal of this device can show requirement and go host computer to input the prompting of ammeter display information, testing staff observes this displaying contents, the displaying contents of ammeter, then this content is inputted at host computer, complete the writing task of ammeter testing result, analyze for testing staff and judge that whether testing result is qualified.
Wherein, device execution electric energy meter programming key is pressed testing process and is: first carry out self-inspection after device corresponding in a certain epi-position powers on, then host computer instruction is waited for, after the electric energy meter programming key of main control unit reception host computer presses test instruction, main control unit sends data to liquid crystal cells, liquid crystal display shows two row information as Fig. 4, be respectively " please press ammeter programming key then press YES key " and " YES: button is successfully; NO: button failure "; testing staff removes the programming key pressing corresponding epi-position after seeing liquid crystal display content, programming bond energy situation about being enough pressed, and testing staff can press YES button at device panel; after the main control unit of device receives key information; transmit information that programming key successfully presses to host computer, this tests this epi-position ammeter and performs correctly, and it is qualified to detect; otherwise, namely programming key can not be pressed; testing staff presses NO button, and ammeter performs failure, detects defective.
Wherein, device arranges the testing process that card arranges table number function and is performing local charge control electric energy meter table number: host computer transmission table number arranges card and arranges ammeter instruction to ammeter, control the supporting parts of stage body simultaneously and table number is arranged card insertion ammeter, the implementation status of this process can synchronously be presented on the liquid crystal panel of interactive device, as Fig. 5.Testing staff observes the state of ammeter change, liquid crystal screen display be that table number arranges card and inserts after ammeter, the inquiry message of ammeter display result, as Fig. 6.If ammeter display Card Reader success or ERR-10, by YES key, information is uploaded, this test passes, not display, selects NO key, test failure, or selects F3 key retry.Repeat this again to detect after three times, after ammeter does not still have clear and definite information, upper transmission instruction is to device, require the information that liquid crystal display " please operate computer input reason ", testing staff goes to the information of host computer input " it is reactionless that ammeter insertion table number arranges card " after observing this information, this information can mend as the later stage reference data surveying this function, after input information, host computer sends and performs next command to ammeter and device, and the liquid crystal display picture of device is switched to next flow process.
Finally should be noted that: only illustrate that technical scheme of the present invention is not intended to limit in conjunction with above-described embodiment.Those of ordinary skill in the field are to be understood that: those skilled in the art can modify to the specific embodiment of the present invention or equivalent replacement, but these amendments or change are all being applied among the claims awaited the reply.