The content of the invention
In order to solve the technical problem of prior art presence, processed under water based on multiple filter the invention provides a kind of
Robot, to transform the concrete structure of existing underwater robot so that it can recycle sonar and sonar as jig
Image processing equipment improves laser imaging effect, using including the sub- equipment of medium filtering, low pass filtered marble equipment and homomorphic filtering
The image-preprocessing device of sub- equipment realizes the removal to all kinds of interference under water, using the image recognition based on neural network recognization
Technology improves the accuracy of weld seam recognition, and finally transforming welding equipment can complete automatic welding under water.
According to an aspect of the present invention, there is provided it is a kind of based on multiple filter treatment underwater robot, under water from
Dynamic welding, the underwater robot includes underwater human agent, laser imaging apparatus and weld seam recognition equipment, the laser into
As equipment and the weld seam recognition equipment are all located on the underwater human agent, the laser imaging apparatus are used to shoot water
Lower laser image, the weld seam recognition equipment is connected with the laser imaging apparatus, for being carried from the underwater laser image
The lower characteristics of weld seam of water intaking simultaneously determines welding type.
More specifically, in the underwater robot based on multiple filter treatment, also including:Electrode holders, for fixing
Welding rod, the welding rod is wet method coated electrode, and material is mild steel;Safety switch, its cathode conductor is connected to the electrode holders;
Earth clip, is fixed on workpiece to be welded;Electric welding machine, negative pole is connected to the electrode holders, plus earth;Electrode holders drive and set
It is standby, with the electric welding clipper joint, the weld seam for going to workpiece to be welded according to the electrode holders drive signal driving electrode holders
Position;Electrode holders motor, is a direct current generator, and the driving for the electrode holders driving equipment to the electrode holders provides dynamic
Power;The underwater human agent includes support, left pressure gram transparent tube, right pressure gram transparent tube, connecting hoop, storage platform, machine
Tool arm, manipulator, water proof sealing drum, transverse propeller, vertical screw, longitudinal screw and three direct current generators, the branch
Frame is used to be fixed on the underwater human agent under water, and the connecting hoop is fixedly connected with the support, the storage platform
It is connected respectively with the connecting hoop with the mechanical arm, the manipulator is connected with the mechanical arm, the mechanical arm includes big
Arm and the forearm being connected with large arm, three direct current generators drive respectively the transverse propeller, the vertical screw and
The longitudinal screw, with by the rotating of propeller, for underwater human agent provides 6 thrust powers of the free degree;
Mobile hard disk, on the underwater human agent, for having prestored the luminance threshold upper limit and luminance threshold lower limit;Sound
Equipment is received, on the underwater human agent, for the submarine target execution sound in front of the underwater human agent
IMAQ is received, to obtain sonar image;Sonar image processing equipment, connects respectively with the sonar and the mobile hard disk
Connect, including the first sub- equipment of detection, the second sub- equipment of detection and the sub- equipment of object range detection, the sub- equipment of first detection with
The sonar and the mobile hard disk are connected respectively, for using the luminance threshold upper limit to travel through sonar image to be partitioned into core
Target centroid region;The sub- equipment of second detection is connected respectively with the described first sub- equipment of detection and the mobile hard disk, is used for
Using the marginal point in the core objective region as seed point, using luminance threshold lower limit to the pixel of core objective areas adjacent
Point carries out brightness judgement, to obtain and is partitioned into final goal region;The sub- equipment of object range detection and the described second inspection
The connection of sub- equipment is surveyed, the central point in final goal region is calculated and is detected the distance of origin and defeated as target range to sonar image
Go out;The laser imaging apparatus, including laser, detector and microcontroller, the laser is to the underwater robot master
Submarine target in front of body sends laser beam, when the laser beam reflexes to the detector by submarine target, to be easy to institute
The shooting of detector is stated, the microcontroller is distinguished with the sonar image processing equipment, the laser and the detector
Connection, based on target range and laser, spread speed determines the gating time of the detector shutter under water, and in gating
Between when reaching, gate the shutter of the detector, trigger the detector and submarine target shot, to obtain underwater laser
Image;The weld seam recognition equipment includes that the sub- equipment of pretreatment, the sub- equipment of feature extraction and welding type recognize sub- equipment;It is described
Sub- equipment is pre-processed to be connected with the laser imaging apparatus, including the filter of the sub- equipment of medium filtering, low pass filtered marble equipment and homomorphism
Marble equipment;The sub- equipment of medium filtering is connected with the detector, for performing intermediate value filter to the underwater laser image
Ripple, to filter the spot noise in the underwater laser image, obtains the first filtering image;The low pass filtered marble equipment with it is described
The sub- equipment connection of medium filtering, for removing the random noise in first filtering image, obtains the second filtering image;It is described
The sub- equipment of homomorphic filtering is connected with the low pass filtered marble equipment, for performing image enhaucament to second filtering image, with
Obtain enhancing underwater picture;The sub- equipment of feature extraction be connected with the pretreatment sub- equipment, including image segmentation unit with
Eigenvector recognition unit, described image cutting unit is based on weld image gray threshold scope by the enhancing underwater picture
Weld seam target identification out obtaining Underwater weld seam image;The eigenvector recognition unit connects with described image cutting unit
Connect, 8 geometric properties of underwater weld target are determined based on the Underwater weld seam image:It is Euler's hole count, circularity, angle point number, convex
Concavity, smoothness, draw ratio, tight ness rating and main shaft angle, and 8 geometric properties composition characteristics is vectorial;The weld seam
The sub- equipment of type identification is connected with the sub- equipment of the feature extraction, using single hidden layer BP neural network of the output of 8 input 2, with water
Used as input layer, output layer is underwater weld type, the underwater weld type to 8 geometric properties of lower weld seam target
Including general type and cannot welds types;Main control device, is arranged on the underwater human agent, with the welding type
Recognize the connection of sub- equipment, when receive the underwater weld type for cannot welds types when, alarm signal is sent, when receiving
When the underwater weld type is general type, according to Underwater weld seam image, the relative position of laser image determines to be welded under water
Pincers drive signal.
More specifically, in the underwater robot based on multiple filter treatment:Submerged cable, for by the master control
Equipment is connected with jig waterborne, and the alarm signal is sent into the jig waterborne.
More specifically, in the underwater robot based on multiple filter treatment:It is the sub- equipment of medium filtering, described
Low pass filtered marble equipment and the sub- equipment of the homomorphic filtering are respectively adopted different fpga chips to realize.
More specifically, in the underwater robot based on multiple filter treatment:It is the sub- equipment of medium filtering, described
Low pass filtered marble equipment and the sub- equipment of the homomorphic filtering are integrated on one piece of surface-mounted integrated circuit.
More specifically, in the underwater robot based on multiple filter treatment:The main control device is data signal
Processor, the dsp chip of model TI companies.
Specific embodiment
The embodiment to the underwater robot based on multiple filter treatment of the invention is carried out in detail below with reference to accompanying drawings
Describe in detail bright.
Underwater Welding first has to accurately identify position while welding, general in the prior art to be carried out using image recognition mode, so
And, the shutter control of current underwater laser images is difficult, causes underwater laser image effect not good, while lacking suitably under water
Location equipment and image filtering equipment so that the precision of Underwater Welding is not high.
In order to overcome above-mentioned deficiency, the present invention has built a kind of underwater robot based on multiple filter treatment, using many
Weight filtering mode is pre-processed to image, optimizes underwater laser images technology and underwater installation location technology, meanwhile, transform water
Lower robot and welding equipment so that automatic welding is possibly realized under water.
Fig. 1 is the structure square frame of the underwater robot based on multiple filter treatment according to embodiment of the present invention
Figure, the underwater robot includes underwater human agent, laser imaging apparatus and weld seam recognition equipment, and the laser imaging sets
The standby and weld seam recognition equipment is all located on the underwater human agent, and the laser imaging apparatus are used for shooting and swash under water
Light image, the weld seam recognition equipment is connected with the laser imaging apparatus, for extracting water from the underwater laser image
Lower characteristics of weld seam simultaneously determines welding type.
Then, continue to carry out further the concrete structure of the underwater robot based on multiple filter treatment of the invention
Explanation.
The underwater robot also includes:Electrode holders, for fixing welding rod, the welding rod is wet method coated electrode, material
It is mild steel;Safety switch, its cathode conductor is connected to the electrode holders;Earth clip, is fixed on workpiece to be welded;Electric welding
Machine, negative pole is connected to the electrode holders, plus earth;Electrode holders driving equipment, and the electric welding clipper joint, for according to electric welding
Pincers drive signal drives the electrode holders to go to the position while welding of workpiece to be welded;Electrode holders motor, is a direct current generator,
Driving for the electrode holders driving equipment to the electrode holders provides power.
The underwater human agent includes support, left pressure gram transparent tube, right pressure gram transparent tube, connecting hoop, storing
Platform, mechanical arm, manipulator, water proof sealing drum, transverse propeller, vertical screw, longitudinal screw and three direct current generators, institute
Support is stated for the underwater human agent to be fixed under water, the connecting hoop is fixedly connected with the support, the storage
Thing platform and the mechanical arm are connected respectively with the connecting hoop, and the manipulator is connected with the mechanical arm, the mechanical arm bag
Large arm and the forearm being connected with large arm are included, three direct current generators drive the transverse propeller, the vertical spiral respectively
Oar and the longitudinal screw, by the rotating of propeller, to be moved for underwater human agent provides 6 propulsions of the free degree
Power.
The underwater robot also includes:Mobile hard disk, on the underwater human agent, for prestoring
The luminance threshold upper limit and luminance threshold lower limit.
The underwater robot also includes:Sonar, on the underwater human agent, for it is described under water
Submarine target in front of robot body performs sonar image collection, to obtain sonar image.
The underwater robot also includes:Sonar image processing equipment, with the sonar and the mobile hard disk point
Do not connect, including the first sub- equipment of detection, the second sub- equipment of detection and the sub- equipment of object range detection, described first detects that son sets
It is standby to be connected respectively with the sonar and the mobile hard disk, for using the luminance threshold upper limit to travel through sonar image to split
Go out core objective region;The sub- equipment of second detection is connected respectively with the described first sub- equipment of detection and the mobile hard disk,
For using the marginal point in the core objective region as seed point, using luminance threshold lower limit to core objective areas adjacent
Pixel carries out brightness judgement, to obtain and is partitioned into final goal region;The sub- equipment of object range detection and described
Two detections sub- equipment connection, calculate the central point in final goal region to sonar image detect origin distance and as target away from
From output.
The laser imaging apparatus, including laser, detector and microcontroller, the laser is to the underwater
Submarine target in front of human agent sends laser beam, with when the laser beam reflexes to the detector by submarine target, just
In the shooting of the detector, the microcontroller and the sonar image processing equipment, the laser and the detector
Connect respectively, based on target range and laser, spread speed determines the gating time of the detector shutter under water, and is selecting
When the logical time reaches, the shutter of the detector is gated, trigger the detector and submarine target is shot, to obtain under water
Laser image.
The weld seam recognition equipment includes that the sub- equipment of pretreatment, the sub- equipment of feature extraction and welding type recognize sub- equipment;
The sub- equipment of the pretreatment be connected with the laser imaging apparatus, including the sub- equipment of medium filtering, low pass filtered marble equipment and together
State filters sub- equipment;The sub- equipment of medium filtering is connected with the detector, in being performed to the underwater laser image
Value filtering, to filter the spot noise in the underwater laser image, obtains the first filtering image;The low pass filtered marble equipment with
The sub- equipment connection of medium filtering, for removing the random noise in first filtering image, obtains the second filtering image;
The sub- equipment of homomorphic filtering is connected with the low pass filtered marble equipment, increases for performing image to second filtering image
By force, obtaining enhancing underwater picture;The sub- equipment of feature extraction is connected with the sub- equipment of pretreatment, including image segmentation list
Unit and eigenvector recognition unit, described image cutting unit is based on weld image gray threshold scope schemes the enhancing under water
Weld seam target identification as in is out obtaining Underwater weld seam image;The eigenvector recognition unit is split single with described image
Unit's connection, 8 geometric properties of underwater weld target are determined based on the Underwater weld seam image:Euler's hole count, circularity, angle point
Number, convex-concave degree, smoothness, draw ratio, tight ness rating and main shaft angle, and 8 geometric properties composition characteristics is vectorial;It is described
Welding type recognizes that sub- equipment is connected with the sub- equipment of the feature extraction, using single hidden layer BP neural network of the output of 8 input 2,
Using 8 geometric properties of underwater weld target as input layer, output layer is underwater weld type, the underwater weld
Type includes general type and cannot welds types.
The underwater robot also includes:Main control device, is arranged on the underwater human agent, with the weld seam class
Type recognizes the connection of sub- equipment, when receive the underwater weld type for cannot welds types when, send alarm signal, work as reception
To the underwater weld type be general type when, according to Underwater weld seam image under water laser image relative position determine electricity
Soldering turret drive signal.
Alternatively, in the underwater robot based on multiple filter treatment:Submerged cable, for the master control to be set
It is standby to be connected with jig waterborne, the alarm signal is sent to the jig waterborne;The sub- equipment of medium filtering,
The low pass filtered marble equipment and the sub- equipment of the homomorphic filtering are respectively adopted different fpga chips to realize;The intermediate value filter
Marble equipment, the low pass filtered marble equipment and the sub- equipment of the homomorphic filtering are integrated on one piece of surface-mounted integrated circuit;It is described
Main control device is digital signal processor, the dsp chip of model TI companies.
In addition, FPGA (Field-Programmable Gate Array), i.e. field programmable gate array, he be
The product further developed on the basis of the programming devices such as PAL, GAL, CPLD.He is led as application specific integrated circuit (ASIC)
A kind of semi-custom circuit in domain and occur, both solved the deficiency of custom circuit, original programming device door is overcome again
The limited shortcoming of circuit number.
With the circuit design that hardware description language (Verilog or VHDL) is completed, can be by simple synthesis and cloth
Office, is quickly burned onto on FPGA and is tested, and is the technology main flow of modern IC designs checking.These editable elements can be by
For realize some basic logic gates (such as AND, OR, XOR, NOT) or more more complicated combination function such as
Decoder or mathematical equation.Inside most FPGA, also for example touched comprising memory cell in these editable elements
Hair device (Flip-flop) or other more complete block of memory.System designer can be as desired by editable company
Connect the logical block inside FPGA to couple together, just look like that a breadboard has been placed in a chip.One dispatches from the factory
The logical block of finished product FPGA afterwards and connection can change according to designer, so FPGA can complete required logic work(
Energy.
Speed of the FPGA in general than ASIC (application specific integrated circuit) is slow, realizes same function than ASIC circuit face
Product is big.But they also have the advantages that it is many such as can quick finished product, the mistake that can be modified in correction program and
Less expensive cost.Manufacturer is likely to the FPGA of the still edit capability difference that can provide cheap.Because these chips have poor
Editable ability, so these design exploitations be on common FPGA complete, design is then transferred to a class
It is similar on the chip of ASIC.Another method is with CPLD (Complex Programmable Logic Device, complexity
PLD).The exploitation of FPGA is very different relative to the exploitation of traditional PC, main control device.FPGA transporting parallel
Based on calculation, realized with hardware description language;Compared to PC or main control device (either von Neumann structure or Harvard knot
Structure) order operation have very big difference.
Early in 1980 mid-nineties 90s, FPGA takes root in PLD equipment.CPLD and FPGA include some relatively large numbers
The Programmadle logic unit of amount.The density of CPLD gates is between thousands of to tens of thousands of logic units, and FPGA is typically
It is tens of thousands of to millions of.The main distinction of CPLD and FPGA is their system architecture.CPLD is a somewhat restricted structure.
This structure is by the logical groups row of one or more editable result sum and the register of the locking of some relatively small amounts
Composition.Such result is a lack of editing flexibility, but but have it is anticipated that time delay and logic unit it is single to connection
The advantage of first height ratio.And FPGA is that have many connection units, although so allowing him can more flexibly to edit,
Structure is complicated more.
Using the underwater robot based on multiple filter treatment of the invention, in the prior art because underwater environment is special
The technical problem for being difficult to automatic Underwater Welding for very causing, has transformed the concrete structure of underwater robot and welding equipment, draws
A series of targetedly electronic assistance aids of adaptation underwater environments are entered, auxiliary underwater robot is automatic using welding equipment
Complete Underwater Welding work.
Although it is understood that the present invention is disclosed as above with preferred embodiment, but above-described embodiment and being not used to
Limit the present invention.For any those of ordinary skill in the art, in the case where technical solution of the present invention ambit is not departed from,
Many possible variations and modification are all made to technical solution of the present invention using the technology contents of the disclosure above, or is revised as
With the Equivalent embodiments of change.Therefore, every content without departing from technical solution of the present invention, according to technical spirit pair of the invention
Any simple modification, equivalent variation and modification made for any of the above embodiments, still fall within the scope of technical solution of the present invention protection
It is interior.