Disclosure of Invention
In order to solve the defects in the prior art, the invention aims to provide an ammeter detection device and a configuration method thereof.
The invention adopts the following technical scheme:
an electricity meter detection device, comprising: the ammeter is placed on the transmission mechanism, sequentially passes through the first acquisition mechanism and the second acquisition mechanism and is used for acquiring an ammeter three-dimensional image; one end of the conveying mechanism is provided with a first acquisition mechanism for acquiring three surface stereo images of the electric meter; the other end of the conveying mechanism is provided with a second acquisition mechanism for acquiring three surface stereo images of the ammeter; the first collecting mechanism and the second collecting mechanism respectively comprise a box body arranged on the upper side part of the conveying mechanism; an ammeter inlet and an ammeter outlet are formed in the box body; the turnover mechanism is positioned between the first acquisition mechanism and the second acquisition mechanism, and when the ammeter acquires information through the first acquisition mechanism, the turnover mechanism turns the ammeter, so that the second acquisition mechanism can acquire the residual information conveniently; the ammeter detection mechanism also comprises a transmission terminal and a detection host; the first acquisition mechanism and the second acquisition mechanism are respectively connected with the transmission terminal; the transmission terminal is connected with the detection host, and the transmission terminal sends the ammeter stereo images collected by the first collection mechanism and the second collection mechanism to the detection host.
Preferably, the inside of box is provided with camera and the light filling lamp that is used for gathering ammeter stereogram.
Preferably, the transmission terminal includes a processor, a storage module, and a communication module.
Preferably, the input end of the processor is respectively connected with the camera and the light supplement lamp in the first acquisition mechanism and the second acquisition mechanism.
Preferably, the output end of the processor is respectively connected to the storage module and the communication module.
Preferably, the communication module is connected to a detection host.
Preferably, two detection sensors are further connected to the processor.
Preferably, the two detection sensors are respectively arranged at the electric meter inlets of the boxes of the first acquisition mechanism and the second acquisition mechanism.
Preferably, the processor comprises a single chip microcomputer.
Preferably, the communication module comprises an RS485 module and a network port module.
Preferably, the transmission terminal further includes a power supply module for supplying power to the transmission terminal.
Preferably, the camera comprises a CCD camera.
Preferably, the light filling lamp is annular, and the light filling lamp is arranged on an annular mounting plate.
Preferably, the annular mounting plate is fixed inside the box body.
Preferably, a wide-angle camera is further arranged above the table turning mechanism.
Preferably, the wide-angle camera is mounted on the conveying mechanism through a bracket.
A configuration method of an ammeter detection device is realized by the ammeter detection device.
Preferably, the method comprises the steps of:
step 1: starting the transmission mechanism, and awakening the first acquisition mechanism, the second acquisition mechanism, the table turning mechanism, the transmission terminal and the detection host machine to enter a working state;
step 2: detecting that the ammeter enters the first acquisition mechanism through a detection sensor on the first acquisition mechanism, and controlling a camera in the first acquisition mechanism to acquire three-dimensional images of three surfaces of the ammeter through a transmission terminal;
and step 3: detecting that an ammeter enters a meter turning area through a wide-angle camera, and transmitting a signal to a meter turning mechanism to enable the meter turning mechanism to execute meter turning operation;
and 4, step 4: detecting that the ammeter enters the second acquisition mechanism through a detection sensor on the second acquisition mechanism, and controlling a camera in the second acquisition mechanism to acquire three-dimensional images of the other three surfaces of the ammeter by the transmission terminal;
and 5: the transmission terminal sends the collected stereo images of the electric meters to the detection host computer in real time through the communication module, the detection host computer correlates and integrates the stereo images of the two electric meters for identification and detection according to the unique identifier, and outputs a detection result according to the unique identifier; when the communication module works abnormally, the collected signals are transmitted to the storage module to be stored.
Compared with the prior art, the invention has the beneficial effects that:
the ammeter detection device is simple in structure, accurate in detection and high in efficiency. Through setting up three faces that first image acquisition mechanism gathered the ammeter, overturn the back through tilting mechanism to the ammeter, adopt the other three faces that second image acquisition mechanism gathered the ammeter again to apparent collection can be accomplished through a transport mechanism, can be comprehensive detect the ammeter, reduce the complexity that detects the flow and improve detection efficiency.
Detailed Description
The present application is further described below with reference to the accompanying drawings. The following examples are only used to illustrate the technical solutions of the present invention more clearly, and the protection scope of the present application is not limited thereby.
Fig. 1 and 2 are a schematic structural diagram and a schematic block diagram of an electric meter detection device according to an embodiment of the present invention, and as shown in fig. 1 and 2, the electric meter detection device of the present invention mainly includes a transmission mechanism 1, a first collection mechanism 2, a second collection mechanism 3, and a turnover mechanism 4.
The ammeter 8 is placed on the conveying mechanism 1, sequentially passes through the first acquisition mechanism 2 and the second acquisition mechanism 3, and is used for acquiring a stereo image of the ammeter 8.
One end of the transmission mechanism 1 is provided with a first acquisition mechanism 2 for acquiring three surface stereo images of the electric meter 8; the other end of the transmission mechanism 1 is provided with a second acquisition mechanism 3 for acquiring three other surface stereo images of the ammeter 8.
First collection mechanism 2 and second collection mechanism 3 are provided with ammeter entry and ammeter export including setting up box 5 of lateral part on transport mechanism 1 respectively on box 5, ammeter 8 can be followed the ammeter entry and got into in box 5 under transport mechanism 1's effect, then come out from the ammeter export.
The ammeter 8 can be manually operated to be subjected to upper-table or lower-table operation, preferably, an upper-table module is arranged at the starting end of the conveying mechanism 1, a lower-table module is arranged at the tail end of the conveying mechanism 1, and the ammeter 8 can be automatically subjected to upper-table and lower-table operation through the upper-table module and the lower-table module.
The inside of box 5 is provided with camera 6 and light filling lamp 7 that are used for gathering 8 stereographic images of ammeter. The camera 6 is preferably a CCD camera, the light filling lamp 7 is preferably annular, the light filling lamp 7 is arranged on an annular mounting plate 12, the annular mounting plate 12 is fixed inside the box body 5, the camera 6 is arranged in the middle of the upper part of the annular mounting plate 12, and the camera 6 can collect images through a through hole in the middle of the annular mounting plate 12.
The camera 6 and the light filling lamp 7 of 2 in the first collection mechanism all incline to set up, so that camera 6 gathers the ammeter stereogram that has three wherein faces that is located in box 5, camera 6 and the light filling lamp 7 of the second collection mechanism 3 also incline to set up, so as to gather the ammeter stereogram that has three other faces that is located in the box of second collection mechanism after ammeter 8 overturns, it should be said that the incline direction of camera 6 and the light filling lamp 7 in the first collection mechanism 2 and camera 6 and the light filling lamp 7 in the second collection mechanism 3 are different, for example, can incline camera 6 and the light filling lamp 7 in the first collection mechanism 2 to the right place ahead, and camera 6 and the light filling lamp 7 in the second collection mechanism 3 incline to the right place behind. At least two opposite faces on the ammeter 8 are provided with labels with unique identifiers, so that the ammeter three-dimensional images collected twice can be guaranteed to contain the unique identifiers, and association is facilitated during later detection.
The turning-over mechanism 4 is located between the first collecting mechanism 2 and the second collecting mechanism 3, and after the electricity meter 8 collects information through the first collecting mechanism 2, the turning-over mechanism 4 turns over the electricity meter, so that the second collecting mechanism 3 can collect the rest information conveniently.
The electric meter detection mechanism further comprises a transmission terminal 9 and a detection host 10.
The first collecting mechanism 2 and the second collecting mechanism 3 are respectively connected with a transmission terminal 9.
The transmission terminal 9 is connected with the detection host 10, and the transmission terminal 9 sends the stereo image of the ammeter 8 acquired by the first acquisition mechanism 2 and the second acquisition mechanism 3 to the detection host 10.
The detection host 10 performs identification detection on the stereo image of the electricity meter based on the detection model, and outputs a detection result according to the unique identifier. It should be noted that the detection model is obtained through deep learning training, specifically, qualified and unqualified stereo images of the multiple electric meters are obtained first, unqualified positions on the unqualified stereo images are randomly arranged on different surfaces of each electric meter, then the qualified and unqualified stereo images of the multiple electric meters are labeled, and then the labeled images are used as a training image set to train the neural network model.
The transmission terminal 9 includes a processor 91, a storage module 92, and a communication module 94.
The input end of the processor 91 is connected with the camera 6 and the light supplement lamp 7 in the first acquisition mechanism 2 and the second acquisition mechanism 3 respectively.
The output of the processor 91 is connected to a memory module 92 and a communication module 94, respectively. The storage module 92 is configured to store the acquired stereoscopic image of the electric meter when the communication module 94 works abnormally.
The communication module 94 is connected to the inspection host 10.
The processor 91 is further connected with two detection sensors 11, and the two detection sensors 11 are respectively arranged at the electric meter inlets of the box 5 of the first collection mechanism 2 and the second collection mechanism 3. The detection sensor 11 can adopt an infrared correlation switch and the like, and when the electric meter 8 passes through an electric meter inlet, the detection sensor 11 can detect the infrared correlation switch and then trigger the control camera 6 and the light supplement lamp 7 to work.
The processor 91 is preferably a single-chip microcomputer.
The communication module 94 includes an RS485 module and a network port module.
The transmission terminal 9 further includes a power supply module 93 for supplying power to the transmission terminal 9.
A wide-angle camera 13 is also arranged above the turnover mechanism 4, and the wide-angle camera 13 is mounted on the conveying mechanism 1 through a bracket 14. The wide-angle camera 13 is used for acquiring the position information of the electric meter 8 in the middle of the conveying mechanism 1 and sending the position information to the table turning mechanism 4, so that the table turning mechanism 4 performs the table turning action according to the position information of the electric meter 8.
The configuration method of the ammeter detection device is realized by using the ammeter detection device;
the method comprises the following steps:
step 1: starting the transmission mechanism 1, and awakening the first acquisition mechanism 2, the second acquisition mechanism 3, the table turning mechanism 4, the transmission terminal 9 and the detection host 10 to enter a working state;
step 2: the detection sensor 11 on the first acquisition mechanism 2 detects that the ammeter 8 enters the first acquisition mechanism 2, and the transmission terminal 9 controls the camera 6 in the first acquisition mechanism 2 to acquire three-dimensional images of three surfaces of the ammeter 8;
and step 3: detecting that the ammeter 8 enters a meter turning area through the wide-angle camera 13, and transmitting a signal to the meter turning mechanism 4 to enable the meter turning mechanism 4 to execute meter turning operation;
and 4, step 4: detecting that the ammeter 8 enters the second acquisition mechanism 3 through a detection sensor 11 on the second acquisition mechanism 3, and controlling a camera 6 in the second acquisition mechanism 3 to acquire three-dimensional images of the other three surfaces of the ammeter 8 by a transmission terminal 9;
and 5: the transmission terminal 9 sends the acquired electric meter stereo images to the detection host 10 in real time through the communication module 94, the detection host 10 associates and integrates the two electric meter stereo images according to the unique identifier to perform identification detection, and outputs a detection result according to the unique identifier; when the communication module 94 works abnormally, the collected signals are transmitted to the storage module 92 for storage.
Compared with the prior art, the invention has the beneficial effects that:
the ammeter detection device is simple in structure, accurate in detection and high in efficiency. Through setting up three faces that first image acquisition mechanism gathered the ammeter, overturn the back through tilting mechanism to the ammeter, adopt the other three faces that second image acquisition mechanism gathered the ammeter again to apparent collection can be accomplished through a transport mechanism, can be comprehensive detect the ammeter, reduce the complexity that detects the flow and improve detection efficiency.
The present applicant has described and illustrated embodiments of the present invention in detail with reference to the accompanying drawings, but it should be understood by those skilled in the art that the above embodiments are only preferred embodiments of the present invention, and the detailed description is only for the purpose of helping the reader to better understand the spirit of the present invention, and not for the purpose of limiting the scope of the present invention, and on the contrary, any modifications or modifications based on the spirit of the present invention should fall within the scope of the present invention.