Summary of the invention
In view of the deficiencies of the prior art, primary technical problem to be solved by this invention is to provide a kind of fixed based on RFID
The leakage cable appearance detecting method of position.
Another technical problem to be solved by this invention provides a kind of leakage cable appearance delection device based on RFID positioning.
For achieving the above object, the present invention uses following technical solutions:
According to a first aspect of the embodiments of the present invention, a kind of leakage cable appearance detecting method based on RFID positioning, packet are provided
Include following steps:
Interval setting RFID tag, RFID tag are associated with leakage cable position along leakage cable;
Detection vehicle drives through and carries out leakage cable Image Acquisition using vehicle-mounted line-scan digital camera along leakage cable, while scanning RFID
Label obtains location information;
According to the positional information calculation speed of acquisition, the scan line of the line-scan digital camera is adjusted in real time according to the speed
Frequently;
The related information of acquired image and corresponding leakage cable position is saved.
Wherein more preferably, when leaking setting RFID tag in interval along cable, include the following steps:
RFID tag minimum setting interval is calculated according to the time of max. speed and RFID reader reading RFID tags;
According to the requirement of image quality requirements and image location information, maximum setting interval is obtained;
RFID tag is set between minimum setting interval and maximum setting interval.
Wherein more preferably, the RFID tag is arranged in the tunnel wall along leakage cable, leakage cable fixture or leakage cable.
Wherein more preferably, the RFID tag is arranged on liftoff nearest leakage cable fixture.
Wherein more preferably, RFID tag is respectively set in tunnel portal and exit, when detecting the RFID tag,
In-vehicle camera acquisition image is closed in starting.
Wherein more preferably, the positional information calculation speed according to acquisition, adjusts linear array phase according to the speed in real time
The scanning line frequency of machine, includes the following steps:
According to the positional information calculation speed of at least two continuous RFID tags of acquisition;
Judge whether speed reaches the frequency modulation limit value of setting;If not reaching frequency modulation limit value, line-scan digital camera
Scanning line frequency is constant, is otherwise adjusted according to scanning line frequency of the speed to line-scan digital camera;
Wherein, adjustment uses following formula:
F=kv;
Wherein, f is the scanning line frequency of camera, and k is the quality coefficient of camera, and v is speed.
Wherein more preferably, the leakage cable appearance detecting method based on RFID positioning, further includes following steps:
Appearance detection processing is carried out to acquired image, obtains fault message;The fault message includes guilty culprit
Position or position section.
According to a second aspect of the embodiments of the present invention, a kind of leakage cable appearance delection device based on RFID positioning, packet are provided
Include RFID tag and acquisition module;
Wherein, the acquisition module includes control unit, RFID detection unit, camera unit and storage unit;
The RFID detection unit is used to be scanned recognition to the RFID tag being arranged along leakage cable, and scanning result is passed
To described control unit;
The camera unit includes an at least line-scan digital camera;
Described control unit receives RFID tag recognition as a result, arriving according to the corresponding location information of RFID tag and scanning
Speed is calculated in the time of RFID tag, and issues scanning line frequency adjustment instruction to the camera unit;
The camera unit adjusts the scanning line frequency of the line-scan digital camera according to scanning line frequency adjustment instruction;
Storage unit is used to store the related information of acquired image and corresponding leakage cable position.
Wherein more preferably, the leakage cable appearance delection device based on RFID positioning, further includes detection module;The inspection
It surveys module and detection processing is carried out to image to be checked, obtain the fault message of leakage cable appearance, the fault message includes guilty culprit
Position or position block information.
Leakage cable appearance detecting method provided by the present invention based on RFID positioning passes through the setting RFID mark along leakage cable
Label, on the one hand can be used for car-mounted device and provide high-precision location information in Image Acquisition, and event can be obtained in fault detection
Position where hindering, moreover it is possible to calculate speed in Image Acquisition, so as to adjust camera scanning line frequency, obtain the image of high quality;
On the other hand, which can help maintenance personnel to carry out live positioning using standby maintenance terminal, be accurately positioned and arrive failure
Position.
Specific embodiment
Detailed specific description is carried out to technology contents of the invention in the following with reference to the drawings and specific embodiments.
The present invention provides a kind of method and apparatus for carrying out appearance detection to leakage cable.Firstly, RFID is arranged along leakage cable
Label identifies RFID tag by vehicle-mounted RFID reader, obtains the position of acquisition image.About the picture quality of acquisition,
In addition to selecting suitable industrial line-scan digital camera, it is arranged outside necessary light filling source, there is provision of suitable scanning line frequency, in this way in vehicle
Scanning line frequency is improved when speed is high can just sweep to complete image, be not in stretcher strain, and when speed is low, scanning line frequency is low to be can avoid
There is compressive deformation in image.Since the speed of train in the process of moving is variation, scan line is adjusted according to speed variation
Frequency can get optimal picture quality.In order to obtain speed, positioning method above-mentioned can be used, after speed is calculated, adjust
The scanning line frequency of whole in-vehicle camera carries out appearance fault detection to image to be checked, and output is with abort situation or position section
Fault message completes appearance detection.
RFID is a kind of contactless automatic identification technology.Its data medium is RFID electronic label, letter in the present invention
Referred to as RFID tag or electronic tag;It reads or the equipment of write-in FRID label information is known as reader, to write-in in the present invention
Label information no requirement (NR) pertains only to information reading.
For ease of description, the section for laying subway leakage cable and railway tunnel leakage cable is referred to as along leakage cable below, it will
The vehicle for carrying leakage cable image collecting device is referred to as detection vehicle, and the detection vehicle in practical application can be dedicated detection vehicle,
It is also possible to run train.The appearance failure and security risk of leaking cable are referred to as appearance failure.
As shown in Figure 1, the leakage cable appearance detecting method provided by the present invention based on RFID positioning, includes the following steps:
Firstly, interval setting RFID tag, RFID tag are associated with leakage cable position along leakage cable;Detection vehicle drives through along leakage cable
Leakage cable Image Acquisition is carried out using vehicle-mounted line-scan digital camera, while scanning RFID tag and obtaining location information;Then, according to acquisition
Positional information calculation speed, adjust the scanning line frequency of line-scan digital camera in real time according to speed;Finally, by acquired image and right
The related information that cable position should be leaked is saved;In embodiment provided by the present invention, acquired image can also be carried out
Appearance detection processing obtains fault message, which has included the position or position section of guilty culprit.Below to this
Process carries out detailed specific description.
S1, interval setting RFID tag, RFID tag are associated with leakage cable position along leakage cable.
RFID tag is arranged along the communication leakage cable of long range in the present invention, which is to provide the ginseng of location information
Label is examined, on the one hand can be used for car-mounted device and the location information of image is provided in Image Acquisition, can be obtained in fault detection
The position of guilty culprit, moreover it is possible to calculate speed in Image Acquisition, so as to adjust camera scanning line frequency, obtain the figure of high quality
Picture;On the other hand, which can help maintenance personnel to carry out live positioning using standby maintenance terminal, be accurately positioned to event
Hinder position.
The spaced RFID tag along leakage cable, is ultra-high-frequency passive tag, be can be set on leakage cable, leakage cable card
In tunnel wall on tool, or along leakage cable.RFID tag is spaced apart in setting, such as: if RFID tag setting is being leaked
It on cable, is then distributed on different types of leakage cable, can also be arranged at intervals on same type of leakage cable.Setting exists
When on same type of leakage cable, RFID tag is arranged on a liftoff nearest leakage cable, can maintain easily personnel's use in this way
Positioning terminal scans RFID tag.
When leaking setting RFID tag along cable, practical is exactly that the leakage cable division of a long distance is multiple identifiable short
Apart from minizone.The upper limit of this identifiable minizone will consider that maintenance personnel positions convenient and detection vehicle positioning-speed-measuring standard
True property, the lower limit of minizone mainly consider the recognition rate of speed and label, to ensure that outgoing label can be accurately identified.
Interval setting RFID tag, specifically comprises the following steps: along leakage cable
S11, according between the time of max. speed and RFID reader reading RFID tags calculating RFID tag minimum setting
Every;
S12 obtains maximum setting according to the requirement of the clarity of acquisition image and the requirement of the location information of acquisition image
Interval;
RFID tag is arranged between minimum setting interval and maximum setting interval in S13.
In embodiment provided by the present invention, it is assumed that the RFID reader used distinguish the time of each label for
50ms, when speed is 160km/h (45m/s), label interval is arranged within this distance and is greater than 2.25 for train 45 meters of traveling per second
Rice.Under extreme case, when speed is 360km/h (100m/s), label interval should be greater than 5 meters.Therefore, RFID tag is set
It is all feasible for setting and being spaced in several meters to tens meters.Meet this requirement after, can using uniform intervals be arranged by the way of, such as
Every 5 meters of labels, or every 5 buckles, one label.Or (such as tunnel enters at the position of tunnel topography variation
Mouthful, outlet and corner) setting be spaced it is different from the interval of other positions.
RFID tag is associated with leakage cable position;When RFID tag is arranged, need to record each label and leakage cable position
Corresponding relationship, form a corresponding lists and facilitate positioning searching.This list may include following information: the identification of label
Number, the interval of relatively last label, at a distance from tunnel starting point, relative position, important level etc., specifically hereinafter carry out detailed
Thin description.
In embodiment provided by the present invention, it is respectively provided with RFID tag in tunnel portal and exit, works as acquisition module
When detecting the RFID tag, starting or closing in-vehicle camera acquire image.
S2, detection vehicle drive through and carry out leakage cable Image Acquisition using vehicle-mounted line-scan digital camera along leakage cable, scan simultaneously
RFID tag obtains location information.
Preceding to have addressed, in embodiment provided by the present invention, RFID tag is associated with leakage cable position;It is logical to detect vehicle traveling
It crosses along leakage cable when carrying out leakage cable Image Acquisition, location information can be obtained according to the RFID tag scanned.
S3 adjusts the scanning line frequency of line-scan digital camera according to speed, specifically according to the positional information calculation speed of acquisition in real time
Include the following steps:
S31, according to the positional information calculation speed of at least two continuous RFID tags of acquisition.
Location information is obtained according to the RFID tag scanned, according to the location information meter of at least former and later two RFID tags
Speed is calculated, wherein the method that the method for calculating speed is existing conventional calculating speed or prediction speed, herein not superfluous
It states.
S32, judges whether speed reaches the frequency modulation limit value of setting;If not reaching frequency modulation limit value, linear array phase
The scanning line frequency of machine is inconvenient, otherwise turns to step S33.Wherein, frequency modulation limit value is according to the characteristic of linear camera and to image
Quality requirement is configured.
S33 is adjusted according to scanning line frequency of the speed to line-scan digital camera.Wherein, adjustment uses following formula:
F=kv;
Wherein, f is the scanning line frequency of camera, and k is coefficient related with camera scanning precision, scanning accuracy and the phase of camera
The pixel number of machine is related with scanning wide cut, and v is speed.Such as speed is 45m/s, the scanning accuracy of camera is 1mm, k=103/
M, then scanning line frequency is 45kHz.For example, it is assumed that setting speed need to adjust camera line frequency when changing more than 2m/s, (i.e. frequency modulation is limited
Value is 2m/s), the speed in first label interval is 30m/s, the speed 30.6m/s in second label interval, third
Speed in a label interval is 31.2m/s, and the speed being calculated in current label interval is 31.8, according to this 4 labels
The speed at interval changes, and predicts that the speed in next label interval is 32.4m/s, exceeds frequency modulation limit value, it is therefore desirable to
Adjust line frequency.
S4 saves the related information of acquired image and corresponding leakage cable position.
In embodiment provided by the present invention, the related information of acquired image and corresponding leakage cable position is protected
Further include following steps after depositing:
S5 carries out appearance detection processing to acquired image, obtains fault message, which includes guilty culprit
Position or position section.
Carrying out Image Acquisition to leakage cable is to realize primary the solving the problems, such as of leakage cable appearance failure and security risk detection.Acquisition
Image do not require nothing more than that complete display quality is high, be also required to provide the location information of image.This is because in-vehicle camera is pacified
On the train run at high speed, if the sweep parameter setting of camera is improper, acquired image will appear stretching, compression etc.
Distortion, this will increase the complexity of image detection;On the other hand once detecting in even several kilometers long of several hundred rice of subway area
Between or railway tunnel in leakage cable there is security risk and failure, providing location information can help maintenance personal fast at the scene
Speed finds maintenance position and carries out upkeep operation.
Leakage cable appearance detecting method proposed by the present invention based on RFID positioning, is not influencing subway and railway transportation order
Under the premise of, detect vehicle run at high speed during collect precision high quality it is good and with leak cable location information leakage cable figure
Picture, then by flexible appearance detection technique, obtain appearance fault message.
In the following, being described in detail for acquiring railway tunnel leakage cable.In railway traffic, it includes public network that tunnel, which leaks cable,
It leaks cable and private network leaks cable, laying is located at various height, carries out suspension fixation using fixture, as shown in Figure 2.
In embodiment provided by the present invention, vehicle-mounted acquisition module is mounted on electricity business detection vehicle, patrols work with vehicle
Industry mode replaces artificial outdoor inspection.When detection vehicle is in the task of execution, completion Image Acquisition and fault detection be will not influence existing
Some transport orders.
Below to the invention mainly relates to RFID tag setting, RFID detection, line-scan digital camera acquisition leakage cable appearance images
Specific embodiment be illustrated.
It selects to need to comprehensively consider the factors such as speed, environment, cost, size, mounting means when RFID tag.The present embodiment
In limit in view of the environmental condition of railway tunnel, detection vehicle speed in 100km/h or so, use hyperfrequency (870~
970MHz), passive, passive, read-only RFID tag, with light-weight, small in size, at low cost, the service life is long, to environmental requirement
The feature that low, multi-tag identification distance and performance protrude, and the reading distance of its near field 3.5m also complies with application scenarios of the present invention
Requirement.
Stickup or encapsulation mode can be used in the mounting means of RFID tag, and label is arranged in along leakage cable
It leaks on cable, or for the fixture of fixed leakage cable.Such as the leakage cable of built-in RFID tag is just used when being laid with new leakage cable,
Or the fixture using built-in RFID tag;Or RFID tag is affixed directly on leakage cable or fixture.Certainly, if it is live
Conditions permit, it is also mountable in tunnel wall.No matter which kind of label fixed form, will ensure its securely and stablize.
The setting position of RFID tag can be selected as needed.Label can be positioned only to a wherein leakage cable
On, such as RFID tag is positioned only at private network and is leaked on cable, the benefit of this mode is can to leak cable to private network especially be guarded,
Once can't detect label, so that it may which preliminary judgement has hidden danger, can issue early warning in time;Also different groups be can be divided into, be arranged at intervals on
On difference leakage cable, as shown in figure 3, starting point in this way is: it is loosened when there is one to leak buckle of the cable in some position,
The leakage cable probability that deformation occurs at its front-rear position is bigger, thus the RFID tag at these positions goes out active or displacement
Probability it is also higher, this will cause successional influence to the location Calculation of vehicle module, and after the setting of class interval, can be
This influence is reduced to a certain extent.In embodiment provided by the present invention, it is contemplated that follow-up maintenance personnel are fixed with auxiliary
The maintenance terminal of position is scanned detection to RFID tag, for the antenna power of the RFID detection device of reduction portable maintenance terminal
Can be more advantageous on the public network leakage cable nearest apart from ground it is required that being arranged in RFID tag, as shown in Figure 4.
RFID tag is set along leakage cable, and practical is exactly that the leakage cable of a long distance is divided multiple identifiable short distances
From minizone.It is convenient and detection vehicle positioning-speed-measuring accurate that the upper limit of this identifiable minizone will consider that maintenance personnel positions
Property, the lower limit of minizone mainly considers the recognition rate of speed and label, to ensure that outgoing label can be accurately identified.It is arranged in this example
Between be divided into 5 meters.
When RFID tag is arranged, needs to record each RFID tag and leak the corresponding relationship of cable position, form one
Corresponding lists facilitate positioning searching.This list may include following information: between the identifier of label, relatively last label
Every, at a distance from tunnel starting point, relative position, important level etc..Such as an example of the following table 1, it is arranged one in tunnel entrance
A label, as starting point, the 2nd is divided into 5 meters between label and start-tag, is divided between the 3rd label and the 2nd label
10 meters, the interval of the 4th label and the 3rd label is also 10 meters.The identifier of RFID tag in practice may be with longer
Coding mode realize, only illustrate herein.
Tag identification number |
Label interval |
Distance |
Relative position |
Important level |
R001 |
0 |
0 |
Entrance |
It is important |
R002 |
5 |
5 |
Private network leaks cable |
Generally |
R003 |
10 |
15 |
Public network uplink |
Generally |
R004 |
10 |
25 |
Public network downlink |
Generally |
The mapping table of 1 RFID tag of table and leakage cable position
Important level is arranged to label, it can be to progress emphasis inspection at easy hair failure.I.e. RFID tag occurs according to failure
Set of frequency priority, setting amount RFID tag grade is high at the high position of fault occurrence frequency;Fault occurrence frequency is low
It is low that amount RFID tag grade is set at position.
In addition, can be arranged at the position of tunnel portal and outlet specific to detect train entrance and be driven out to tunnel
Label, when the label is arrived in vehicle-mounted RFID scanner scanning, it may be determined that the specific beginning and end in tunnel is opened convenient for camera
It is acquired with closing.
The data content of RFID tag, the smallest data content are 1bit, are only used to indicate " whether there is or not ", are mentioned in the present invention
In the embodiment of confession, 1bit content is difficult to ensure desired result, therefore the data content of label includes at least and represents tag identity
One identifier of information.When detecting, it is searched in the list recorded by the RFID identifier detected when RFID is arranged,
The location information of label just can be obtained, and then calculate speed.
It in order to calculate speed, at least needs to detect 2 labels, obtain the distance interval s of two labels and detects
The time interval t of the two labels, in embodiment provided by the present invention, can use v=s/t can calculate train at this
Average speed in two label intervals.Since two tag distances are smaller, it is believed that the train in next label interval
It is to be driven at a constant speed with the speed, or predict the speed in next label interval using more advanced algorithm.When speed changes
Camera scanning line frequency is adjusted when more than some limit value.The scanning line frequency f=kv, k of camera are systems related with camera scanning precision
Number.
It is as follows to a preferred embodiment of leakage cable appearance delection device according to embodiment of above:
By the setting of ultra-high-frequency passive RFID tag along leakage cable, tens meters are spaced, detection vehicle enters the detection of tunnel back
RFID tag side acquisition leakage cable image, while the scanning line frequency of vehicle-mounted line-scan digital camera is adjusted according to speed, the image of acquisition
With location information and deform few.Appearance detection is realized under vehicle, and after detecting appearance failure or security risk, failure is believed
Breath is issued on the intelligent terminal of maintenance personnel, and maintenance personnel completes maintenance and make using standby maintenance terminal positioning to fault point
Industry.In this way, the efficiency of leakage cable appearance detection and maintenance can be improved.
The present invention also provides a kind of leakage cable appearance delection devices based on RFID positioning.As shown in figure 5, the device includes
RFID tag and acquisition module.
Wherein, acquisition module is for being acquired and storing to the content and image of RFID tag.
Acquisition module includes control unit, RFID detection unit, camera unit and storage unit.RFID detection unit is used for
Recognition is scanned to the RFID tag being arranged in tunnel, scanning result is transmitted to control unit;Control unit receives RFID mark
Label recognition is as a result, be calculated speed according to the time of the corresponding location information of label and scanning to RFID tag, thus to phase
Machine unit issues scanning line frequency adjustment instruction;Camera unit includes an at least line-scan digital camera, and the scanning line frequency of camera is according to sweeping
It retouches line frequency adjustment instruction to be adjusted, storage unit is used to store the related information of acquired image and corresponding leakage cable position.
It should further include detection mould based on the leakage cable appearance delection device that RFID is positioned in embodiment provided by the present invention
Block, detection module are used to carry out detection processing to image to be checked, obtain the fault message of leakage cable appearance, the fault message includes
The position of guilty culprit or position block information.
It include 2 industrial line-scan digital cameras and necessary triggering dress with camera unit in embodiment provided by the present invention
It sets and is illustrated with for camera fixing device.According to vehicle speed range and detection accuracy requirement, selection is 2k camera.In order to right
Quasi- different leakage cables carry out Image Acquisition, and the position of camera needs to select suitable height and adjusts angle.Mould is acquired in this example
Block is mounted on electricity business detection vehicle, therefore camera can be fixedly mounted on vehicle exterior.Since public network leakage cable and private network leak cable
Difference in height has 2 meters, and the field range of camera is limited, therefore the camera for acquiring public network leakage cable is fixed on car body 2.1m eminence,
The camera of acquisition private network is fixed at car body 3.5m.In addition, portable unit can also be made into acquisition module, it is mounted in operation train
On, when detection, adjusts angle and is acquired by the leakage cable of vehicle window alignment outside window.
It is the location information with image using the present invention program acquired image, it is in this way first is that convenient in appearance event
It is compared when barrier detection with image when original installation, is easy the deformation of discovery leakage cable;Second is that when detecting leakage cable appearance event
When barrier or security risk, the fault message with abort situation is issued into maintenance personnel, Field Force can be facilitated to position.And position
Information is obtained by detecting RFID tag.There are two types of expression ways for the image with location information finally obtained, a kind of
Mode is to obtain position corresponding to each image, and another way is that image timing is corresponding with label, as shown in Figure 6.It is practical
From the point of view of, latter approach is more economical and practical, and the failure detected need to only navigate in some label interval section, can be convenient
Field maintenance person's positioning.
The control unit of acquisition module may be selected industrial personal computer, PC machine or be realized using FPGA.Storage unit can choose
Disk array, also may be selected embedded storage scheme, and FPGA realization can be used in Embedded storage.Control unit and storage are single
Whole acquisition modules in the mountable cabinet in compartment, can also be made into portable unit, by testing staff according to reality by member
Situation installation and use.
So that the efficiency of Image Acquisition is improved, RFID reader vehicle-mounted after train enters tunnel and camera start work
Make, be driven out to behind tunnel and stop working in time.In order to reach this purpose, needs to detect train and enter and be driven out to tunnel, especially
It is at the time of entering some tunnel.A kind of method is to judge that train will enter some tunnel by the location information of GPS first
Road, open RFID scanning, by scan in advance tunnel entrance setting RFID tag, determine enter tunnel it is specific when
It carves, to open camera acquisition.
The leakage cable appearance detecting method provided by the present invention based on RFID positioning and device are carried out above detailed
Explanation.For those of ordinary skill in the art, it is done under the premise of without departing substantially from true spirit any
Obvious change, the infringement for all weighing composition to the invention patent will undertake corresponding legal liabilities.