CN105910539B - Cable cover(ing) tensile elongation measuring device and method based on machine vision - Google Patents
Cable cover(ing) tensile elongation measuring device and method based on machine vision Download PDFInfo
- Publication number
- CN105910539B CN105910539B CN201610374243.0A CN201610374243A CN105910539B CN 105910539 B CN105910539 B CN 105910539B CN 201610374243 A CN201610374243 A CN 201610374243A CN 105910539 B CN105910539 B CN 105910539B
- Authority
- CN
- China
- Prior art keywords
- pulling force
- data
- ing
- cable cover
- tensile elongation
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 23
- 238000012545 processing Methods 0.000 claims abstract description 75
- 230000005540 biological transmission Effects 0.000 claims abstract description 38
- 238000004891 communication Methods 0.000 claims abstract description 24
- 230000007246 mechanism Effects 0.000 claims abstract description 24
- 238000002474 experimental method Methods 0.000 claims description 15
- 238000012360 testing method Methods 0.000 claims description 14
- 238000007639 printing Methods 0.000 claims description 13
- 230000008569 process Effects 0.000 claims description 10
- 230000003139 buffering effect Effects 0.000 claims description 8
- 230000005611 electricity Effects 0.000 claims description 7
- 238000012546 transfer Methods 0.000 claims description 7
- 238000006243 chemical reaction Methods 0.000 claims description 4
- 230000005055 memory storage Effects 0.000 claims description 4
- 230000009471 action Effects 0.000 claims description 3
- 238000004040 coloring Methods 0.000 claims description 3
- 238000001514 detection method Methods 0.000 claims description 3
- 238000003032 molecular docking Methods 0.000 claims description 3
- 230000002708 enhancing effect Effects 0.000 claims description 2
- 238000005259 measurement Methods 0.000 description 14
- 239000000463 material Substances 0.000 description 8
- 230000006870 function Effects 0.000 description 6
- 238000013461 design Methods 0.000 description 5
- 238000009864 tensile test Methods 0.000 description 5
- 206010010356 Congenital anomaly Diseases 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 229920001971 elastomer Polymers 0.000 description 2
- 230000002452 interceptive effect Effects 0.000 description 2
- 238000004064 recycling Methods 0.000 description 2
- 230000000630 rising effect Effects 0.000 description 2
- 239000005060 rubber Substances 0.000 description 2
- 241001640034 Heteropterys Species 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000006835 compression Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 239000004020 conductor Substances 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 239000003550 marker Substances 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000000877 morphologic effect Effects 0.000 description 1
- 238000012856 packing Methods 0.000 description 1
- 239000002994 raw material Substances 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 238000005728 strengthening Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G01B11/00—Measuring arrangements characterised by the use of optical techniques
- G01B11/02—Measuring arrangements characterised by the use of optical techniques for measuring length, width or thickness
- G01B11/022—Measuring arrangements characterised by the use of optical techniques for measuring length, width or thickness by means of tv-camera scanning
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N3/00—Investigating strength properties of solid materials by application of mechanical stress
- G01N3/02—Details
- G01N3/06—Special adaptations of indicating or recording means
- G01N3/068—Special adaptations of indicating or recording means with optical indicating or recording means
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N3/00—Investigating strength properties of solid materials by application of mechanical stress
- G01N3/08—Investigating strength properties of solid materials by application of mechanical stress by applying steady tensile or compressive forces
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N2203/00—Investigating strength properties of solid materials by application of mechanical stress
- G01N2203/0014—Type of force applied
- G01N2203/0016—Tensile or compressive
- G01N2203/0017—Tensile
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N2203/00—Investigating strength properties of solid materials by application of mechanical stress
- G01N2203/02—Details not specific for a particular testing method
- G01N2203/06—Indicating or recording means; Sensing means
- G01N2203/0641—Indicating or recording means; Sensing means using optical, X-ray, ultraviolet, infrared or similar detectors
- G01N2203/0647—Image analysis
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Chemical & Material Sciences (AREA)
- Analytical Chemistry (AREA)
- Biochemistry (AREA)
- General Health & Medical Sciences (AREA)
- Immunology (AREA)
- Pathology (AREA)
- Investigating Strength Of Materials By Application Of Mechanical Stress (AREA)
Abstract
The present invention relates to cable cover(ing) tensile elongation measuring device and method based on machine vision, including pulling force sensor, pulling force transmission mechanism and servomotor, it is characterized in that the measuring device further includes host computer, embedded controller and industrial camera, embedded controller, industrial camera, pulling force sensor, pulling force transmission mechanism and servomotor form slave computer;The embedded controller includes touch-screen display module, pulling force sensor processing module, camera image processing block, data processing module and host computer communication module, the input terminal of the input terminal of touch-screen display module, the output terminal of camera image processing block and host computer communication module is connected with data processing module, the data processing module is connected by pulling force sensor processing module with pulling force sensor at the same time, and the input terminal of camera image processing block is connected by USB line with industrial camera;Host computer communication module is connected by cable with host computer.
Description
Technical field
The present invention relates to for mechanical parameters measuring device technical field, more particularly to it is a kind of based on machine vision
Cable cover(ing) tensile elongation measuring device and method.
Background technology
One of the main energy sources of electricity as today's society, have penetrated into the various aspects that we produce and live, and use
The problem of electricity is safe is also following.The first line of defence of the cable cover(ing) as people's Electrical Safety, plays vital
Effect.Cable cover(ing) is just wrapped around the insulating rubber jacket outside plain conductor.If the quality of cable cover(ing) is unqualified,
Service life is interior or the damaged deformation of the defined interior generation of maximum external force causes to leak electricity, and then causes personnel's electric shock or fire, can be right
The security of the lives and property of broad masses of the people brings huge loss.Therefore the performance guarantee of cable cover(ing) is most important.To electricity
The detection of cable sheath performance mainly carries out in cable cover(ing) tensile elongation measuring device, reflection wire cable insulating layer material
Two indexs of tensile strength and elongation at break.Examination criteria requires the experimental result of 5 samples, takes median and number in standard
Value carries out contrast judgement, so as to provide examining report.
Traditional tensile testing machine is when measuring cable cover(ing) tensile elongation, it is necessary to which cable cover(ing) is stretched one using puller system
Fixed distance, then pulling force and the tensile elongation with vernier caliper measurement cable cover(ing) suffered by pulling force measures cable cover(ing), so
After continue to stretch, repeat above operation, untill cable cover(ing) is pulled off.Congenital pressure so can be caused to being detected material
Trace, causes detected materials most in experimentation to be broken at impression, is unsatisfactory for country to cable cover(ing) pulling experiment
, it is necessary to which the experimental data that repeatedly can be just satisfied with relatively, conventional efficient is poor, experimental data is not accurate enough for the requirement of detection
Really.Tensile elongation during material fracture is detected using vernier caliper manual measurement, it is artificial to judge that cable cover(ing) fracture opportunity is stranded
Difficult and inaccurate, measurement result varies with each individual, and human error is big, and single single can only handle a sample, working strength
Larger, inefficiency, records test data, original data record time length, is calculated using artificial calculator using ways of writing
Tensile strength and elongation at break, efficiency are low.If directly discarded traditional tensile testing machine develops new tensile testing machine,
Development cost is big, and construction cycle length, the transmission gear for electric motor utilization rate of traditional tensile testing machine is poor, causes the waste of raw material,
The principle for economizing on resources and fully recycling is not met.
Such as solving Su turn et al., (solution Su turns, Li Jie, the big of the Wang Xin a kind of design and realization of novel electron puller system system
[J] Shanxi Electric Powers, 2015 (5):25-27.) electronic tension tester of design can only measure the pulling force of detected material not
The tensile elongation for being detected material can be measured.Bian Ji (practical micro-control formula electronic tensile machine [J] the Chinese rubbers of Bian Ji, 2003
(9):26-27.) the practical micro-control formula electronic tensile machine of design is detected the tensile elongation of material using encoder measurement, needs
Installation tracking to be pressed from both sides on material is detected, the measurement of pulling force can be influenced.
The content of the invention
In view of the deficiencies of the prior art, the technical problem that intends to solve of the present invention is:A kind of electricity based on machine vision is provided
Cable sheath tensile elongation measuring device and method.The device is improved on the basis of traditional tensile testing machine, is introduced embedded
Controller and industrial camera, it is cost-effective by the way of modularized design, significantly improve traditional puller system conventional efficient and
Measurement accuracy.
The present invention solves the technical solution that the technical problem uses:A kind of cable cover(ing) based on machine vision is provided
Tensile elongation measuring device, including pulling force sensor, pulling force transmission mechanism and servomotor, it is characterised in that the measuring device is also
Including host computer, embedded controller and industrial camera, embedded controller, industrial camera, pulling force sensor, pulling force driver
Structure and servomotor form slave computer;
The embedded controller includes touch-screen display module, pulling force sensor processing module, camera image processing mould
Block, data processing module and host computer communication module, the output of the input terminal, camera image processing block of touch-screen display module
The input terminal of end and host computer communication module is connected with data processing module, and the data processing module is passed by pulling force at the same time
Sensor processing module is connected with pulling force sensor, and the input terminal of camera image processing block passes through USB line and industrial camera phase
Connection;Host computer communication module is connected by cable with host computer, and the pulling force sensor is installed on pulling force transmission mechanism,
Pulling force transmission mechanism is connected with servomotor;Pulling force transmission mechanism has machine to regard by Serve Motor Control, the host computer memory
Feel software.
A kind of cable cover(ing) tensile elongation measuring method based on machine vision, using above-mentioned measuring device, step is:
Pulling force transmission mechanism is first connected with pulling force sensor, is then connected again with fixture, and fixture is used for fixing cable cover(ing);Pulling force is driven
Mechanism completes cable cover(ing) progress pulling action by being moved up and down to fixture;Before the test, in detected cable cover(ing)
On be marked with marking pen, by the use of the distance between mark point as the tensile elongation of cable cover(ing), gathered by industrial camera
The image information of cable cover(ing), calculates the distance between mark point, so as to obtain the tensile elongation of cable cover(ing);By embedded
Controller is handled the data of collection, and the data for calculating gained are included to the touch display screen in embedded controller
On, host computer is transferred data to by cable;Host computer carries out processing by docking received data and draws out cable cover(ing)
Suffered pulling force and the corresponding two-dimensional curve of tensile elongation, fill in report.
Compared with prior art, beneficial effects of the present invention are:
Traditional puller system uses vernier caliper manual measurement cable cover(ing) tensile elongation, and error is big, and by manually calculating
Result of the test, efficiency is low, and the application measuring device is transferred to slave computer by USB line, is counted using industrial camera collection image
Tensile elongation is calculated, the degree of automation is high, and slave computer is connected by the application measuring device by cable with host computer, carries out data
Transmission, can calculate automatically, efficient.
Measuring device of the present invention is obtained image by industrial camera and the method acquisition of image procossing is carried out using computer
The tensile elongation of sample, first, being reequiped to traditional puller system, realizes traditional puller system servomotor and pulling force transmission mechanism
Deng the recycling of expensive parts, cost is reduced;Second, machine can both be met as master controller using embedded controller
The requirement of the device vision algorithm speed of service, but it is lower than the cost of all-purpose computer, and stability is high, and software privacy is strong;Third, adopt
With the method for machine vision, i.e. the measurement of tensile elongation is shot the image of drawing process by industrial camera, passes through USB data line
Embedded controller is transferred to, cable cover(ing) mark point position is locked by camera image process part, so that drawing be calculated
Elongation, and do not have to traditional kind of calliper, realizes the noncontacting measurement of sample tensile elongation, will not cause damage to sample or
Deformation, will not influence the measurement of pulling force suffered by sample.Fourth, impression will not be produced to being detected sample using pulling force sensor,
It ensure that the reliability of experimental data, and experimental data can be transferred to by embedded Control by the serial ports of pulling force sensor
Device, realizes the automatic collection of pulling force suffered by sample;Fifth, the homologous thread of sample tensile elongation and suffered pulling force can be drawn
Figure, there is provided data are more intuitively analyzed;Sixth, pulling force and tensile elongation when can record each sample fracture, automatic to calculate
Draw experimental result, improve test efficiency.
Pulling force sensor is directly connected by traditional puller system with cable cover(ing), and congenital impression can be caused to cable cover(ing),
Artificial reading, efficiency are low.Pulling force sensor is first connected by measuring method of the present invention with fixture, is then connected again with cable cover(ing),
Fixture is cased with protecting to cable protection, will not produce congenital impression, and value of thrust is transferred to by pulling force sensor in real time by serial ports
The next machine controller, it is convenient and efficient without manual operation.
Brief description of the drawings
Fig. 1 is cable cover(ing) tensile elongation measuring device a kind of hardware device of embodiment of the invention based on machine vision
Structure diagram;
Fig. 2 is a kind of embedded control of cable cover(ing) tensile elongation measuring device embodiment of the invention based on machine vision
The structure diagram of device 1 processed;
Fig. 3 is cable cover(ing) tensile elongation measuring device a kind of pull sensing of embodiment of the invention based on machine vision
The software flow pattern of device module 12;
Fig. 4 is cable cover(ing) tensile elongation measuring device a kind of camera processing of embodiment of the invention based on machine vision
The software flow pattern of module 13.
Fig. 5 is cable cover(ing) tensile elongation measuring device a kind of data processing of embodiment of the invention based on machine vision
The software flow pattern of module 14.
Fig. 6 is a kind of embodiment host computer communication of cable cover(ing) tensile elongation measuring device of the present invention based on machine vision
The software flow pattern of module 15.
Fig. 7 is in cable cover(ing) tensile elongation measuring device a kind of host computer of embodiment of the invention based on machine vision
Machine vision software software flow pattern.
In figure, 6 host computers, 1 embedded controller, 2 industrial cameras, 3 pulling force sensors, 4 pulling force transmission mechanisms, 5 servos
Motor, 11 touch-screen display modules, 12 pulling force sensor processing modules, 13 camera image processing blocks, 14 data processing modules,
15 host computer communication modules.
Embodiment
The present invention is further discussed below with reference to embodiment and attached drawing, instantiation is only used for the narration present invention in detail, no
Form the limitation to the application claims.
Cable cover(ing) tensile elongation measuring device (abbreviation measuring device, referring to Fig. 1-7) of the invention based on machine vision
It is embedded including pulling force sensor 3, pulling force transmission mechanism 4, servomotor 5, host computer 6, embedded controller 1 and industrial camera 2
Formula controller 1, industrial camera 2, pulling force sensor 3, pulling force transmission mechanism 4 and servomotor 5 form slave computer;
The embedded controller 1 includes touch-screen display module 11, pulling force sensor processing module 12, at camera image
Module 13, data processing module 14 and host computer communication module 15 are managed, at the input terminal of touch-screen display module 11, camera image
Manage the output terminal of module 13 and the input terminal of host computer communication module 15 is connected with data processing module 14, the data processing
Module 14 is connected by pulling force sensor processing module 12 with pulling force sensor 3 at the same time, pulling force sensor processing module 12 from
The value of thrust that pulling force sensor 3 obtains is sent to data processing module 14 and is handled, while data processing module is passed to pulling force
Sensor processing module sends the system message whether being broken;The input terminal of camera image processing block 13 passes through USB line and industry
Camera 2 is connected, and obtains image information, sends data processing module 14 to, so as to carry out data processing, calculate cable cover(ing)
Tensile elongation;Host computer communication module 15 is connected by cable with host computer 6, by experimental data be transferred to host computer do into
The processing of one step;The pulling force sensor 3 is installed on pulling force transmission mechanism 4, and pulling force transmission mechanism 4 is connected with servomotor 5;Draw
Force transmission mechanism 4 has independent control button by the electric 5 machines control of servo;6 memory of host computer has machine vision software.
The touch-screen display module 11 mainly completes the design and display of software interface, there is provided intuitively mode of operation and
Data exchange, the system operatio interface of touch-screen display module 11 are shown including control button region, data display window and image
Show window.Control button region can control the process entirely tested, including start Image Acquisition, stop Image Acquisition, exit
Program, the selection of mark point color;Data display window mainly shows cable cover(ing) tensile elongation and suffered pulling force;Image is shown
Show that window mainly completes the display of image, area-of-interest, mark point position gathered during experiment.
The pulling force sensor processing module 12 is mainly realized and 3 relevant all functions of pulling force sensor, including:Pulling force
Sensor data acquisition, value of thrust data processing and judge whether cable cover(ing) is broken according to value of thrust.Pulling force sensor data
The function that gathering to realize has initialization serial ports, setting drainage pattern, setting gathered data scope, setting frequency acquisition.Pulling force
Value Data processing includes each channel data separation, data filtering processing, data conversion, data storage and data interaction.This module
Another critical function realized is to judge whether cable cover(ing) has been broken in real time according to pulling force Value Data.Judging to be broken
After can be automatically stopped data acquisition.
The software program flow of pulling force sensor processing module 12 is (referring to Fig. 3) in measuring device of the present invention:It is right first
The serial ports of the pulling force sensor processing module 12 of embedded controller is initialized, i.e. baud rate, check bit, data byte length
The initialization of degree and stop position, then sends request pulling force sensor transmission data, gathers the number of one group of pulling force sensor transmission
According to, data are converted, the value of thrust that will calculate gained is stored into data processing module 14 as pulling force data buffering area, it
Whether data processing module sends the system message whether being broken to pulling force sensor processing module afterwards, judge cable cover(ing)
Fracture, if be pulled off, then stop collection value of thrust and send the system message for stopping acquisition operations, system stops;If
It is not pulled off, then needs to judge whether to need to stop manually, if necessary to stop testing manually, stops collection value of thrust and send to stop
The only system message of acquisition operations, system stops, if need not stop testing manually, returns to one group of pulling force of collection and passes
The data of sensor transmission.
The camera image processing block 13 mainly completes three functions:Gather camera image, delimit interesting image area
Domain and processing view data are to find the mark point on cable cover(ing).After the parameter of setting industrial camera, industrial camera is read
The piece image that transmission comes simultaneously carries out image procossing.User is waited to draw on the image first in camera image processing block 13
Determine area-of-interest, interesting image regions are carried out strengthening mark point colouring information and binary conversion treatment afterwards, find mark
After point, mark point is further processed, to exclude the noise spot detected.
The software program flow of camera image processing block 13 is (referring to Fig. 4) in measuring device of the present invention:Pass through industry
Camera 2 gathers piece image, reads view data from USB interface automatically, is slided by staff's finger in touch display screen
Start to refer to, the area-of-interest of image procossing is set, that is, delimit area-of-interest, the content of the area-of-interest of image is carried out
Mark point colouring information strengthens, and obtains mark point color enhancing image, finds mark dot profile, calculate pixel between mark point away from
From so that the actual range between obtaining mark point, being used as the tensile elongation of cable cover(ing);Host computer 6 is monitored pulling force and is passed
Whether sensor stops the system message of experiment, if stopping experiment, stops collection image information, if not stopping testing,
Continue to gather piece image information.
The data processing module 14 mainly completes the storage and calculating of the related data arrived involved in experiment.Testing
In, host computer machine vision software program is to gather respectively to tensile elongation data in the pulling force Value Data and image in experiment
's.According to requirement of the experiment to data, it is necessary to which two data of synchronization are mapped, that is, obtain a certain moment cable protection
Set is stretched length and cable cover(ing) is born at this time value of thrust.Data processing module completes this function first.Afterwards, according to
Data are obtained, convert data to QString types and char types, are respectively used to the display of text box and the transmission of network interface.
The software program flow of data processing module 14 is (referring to Fig. 5) in measuring device of the present invention:Institute will be calculated first
The pulling force and tensile elongation obtained is mapped in real time, then stores the pulling force corresponded to and tensile elongation to specific structure
In, by structure storage into corresponding buffering area, pulling force and tensile elongation are converted into QString types, for touching
The display of display screen, transfers data to text box and shows;Then it is char types by pulling force and tensile elongation numerical value conversion, will
Data are transferred to character string and are used for network transmission, transfer data to host computer 6;Upper computer software monitors host computer communication module
Whether stop stimulus, if stopping experiment, stop processing data, otherwise, continue with next group of data, that is, returning will
The pulling force and tensile elongation for calculating gained correspond in real time.
The host computer communication module 15 mainly will measure obtained cable cover(ing) using udp protocol by network interface and draw
Elongation and suffered pulling force carry out packing and are transferred to host computer 6, for the further data processing of host computer.
The software flow of host computer communication module 15 is (referring to Fig. 6) in measuring device of the present invention:Host computer is carried out first
The network interface initialization of communication module, sets the IP address and network port number of target host computer (PC machine), creates socket networks
Socket, it is udp protocol to determine network type;Then the IP address and network port number of embedded controller, Jiang Yaofa are set
The data transfer sent gives network character array, is then sent out the cable cover(ing) value of thrust measured and tensile elongation data by network interface
Give host computer (PC machine);Host computer monitors whether host computer communication module stops stimulus, if stopping experiment, stops
Data are transmitted, otherwise, continue to transmit next group of data, by network interface by the cable cover(ing) value of thrust measured and tensile elongation data
It is sent to host computer (PC machine).
The host computer 6 uses all-purpose computer as hardware platform, carries 7 operating systems of Windows, uses MFC user
Graphical interfaces frame writes software interactive interface, is communicated using udp protocol with embedded controller.
The software flow of the host computer machine vision software is (referring to Fig. 7):Interface is initialized first, opens up picture line
Journey and network interface receiving thread, there are main thread, three threads of picture thread and network interface receiving thread at this time;In network interface receiving thread
It is first determined whether connection embedded controller, if be not connected to, continues to monitor this signal;If connection, is connected by network
Connect slave computer;Then data are received by network interface, and is saved in data buffer zone;Refresh and show tensile elongation and pulling force;Judge
Network disconnects whether mark is 1, if 1, then disconnects network connection at once;Otherwise, judge whether cable cover(ing) is broken;If
Cable cover(ing) is not broken, and is iterated through network interface and is received data, and is saved in data buffer zone;If cable cover(ing) is broken,
The signs of failure are arranged to 1, are then turned off network;
In picture thread, reference axis is drawn first, then judges whether to connect embedded controller, if connection is embedded
Controller, cable cover(ing) tensile elongation is drawn according to the data (data received from embedded controller) of buffering area memory storage
With the two-dimensional curve of pulling force, judge that network disconnects whether mark is 1, if 1, directly stop drawing curve;If not being 1,
Then judge whether the signs of failure are 1, if the signs of failure are 1, stop drawing curve;If the signs of failure are not 1, continue
Curve is drawn, that is, returns to the two-dimensional curve that cable cover(ing) tensile elongation and pulling force are drawn according to the data of buffering area memory storage;Such as
Fruit is not connected to slave computer, then enters and judge that network disconnects whether mark is 1, repeats the above process;
In main thread, it is first determined whether the connection with embedded controller is disconnected, if off connection, then by network
It is 1 to disconnect traffic sign placement, if being not turned off the connection with embedded controller, is not provided with, and directly judges whether printing report
Table;After network disconnection traffic sign placement is 1, judge whether the signs of failure are 1, if being not 1, judge whether printing reports,
If the disconnected signs of failure are 1, report is generated;Judge whether printing reports again;If printing reports, generate printing reports,
And print, otherwise return and judge whether to disconnect the connection with embedded controller;After printing reports, judge whether to exit the program,
If it is, exiting the program, otherwise, continue to repeat the incipient operation of main thread.
Measuring device of the present invention is further characterized by the embedded controller 1 and uses using I.MX6Q chips as micro- place
The embedded platform of device is managed, transplants linux system, image processing algorithm is write using OpenCV machine vision function libraries of increasing income,
Friendly graphical user interactive interface is write using QT graphical user frames.
Cable cover(ing) tensile elongation measuring method of the invention based on machine vision, uses above-mentioned measuring device, step
It is:Pulling force transmission mechanism 4 is first connected with pulling force sensor 3, is then connected again with fixture, and fixture is used for fixing cable cover(ing);Draw
Force transmission mechanism 4 completes cable cover(ing) progress pulling action by being moved up and down to fixture;Before the test, in detected electricity
It is marked on cable sheath with marking pen, by the use of the distance between mark point as the tensile elongation of cable cover(ing), passes through industrial phase
Machine gathers the image information of cable cover(ing), the distance between mark point is calculated, so as to obtain the tensile elongation of cable cover(ing);Pass through
Embedded controller 1 is handled the data of collection, and the data for calculating gained are included to the touch in embedded controller 1
On display screen, host computer 6 is transferred data to by cable;Host computer 6 carries out processing by docking received data and draws out
Pulling force suffered by cable cover(ing) and the corresponding two-dimensional curve of tensile elongation, fill in report.
Measuring device of the present invention can realize the measurement to cable cover(ing) tensile elongation and pulling force, so as to draw sample
Mechanics parameter.The measurement of pulling force is mainly measured by pulling force sensor 3, then by RS232 transmission lines by the data of measurement
Pulling force sensor processing module 12 is transferred to, value of thrust is finally obtained by data processing module 14.The measurement of tensile elongation is then
The image of drawing process is shot by industrial camera 2, embedded controller 1 is transferred to by USB data line, passes through camera image
Processing module 13 locks cable cover(ing) mark point position, so that tensile elongation be calculated.Whole process is shown by touch-screen
Module 11 provides the user interface of close friend, is controlled by the touch display screen of embedded controller 1, and show what is calculated
The numerical value of pulling force and tensile elongation.The image of industrial camera collection also passes through compression and is shown in touch display screen, and can be with
Area-of-interest is chosen by finger.Measured data can be transferred to host computer 6 by host computer communication module 15, be used for
Draw the pulling force of the cable cover(ing) and the two-dimensional curve of tensile elongation.
Implementing step is:The image of cable cover(ing) drawing process is gathered by USB industry camera, is transferred in real time
Embedded controller.Embedded controller is by image display in touch display screen.User can be chosen by touch display screen
Area-of-interest, embedded controller are then marked the image in area-of-interest by machine vision algorithm a color and increase
By force, image single channel intensity level extracts, and is converted into single channel image, image binaryzation, Morphological scale-space, finds mark dot profile
Deng operation, so that the pixel distance between obtaining mark point, so as to further obtain the actual range between mark point.Make at the same time
Pulling force is measured with digital tensiometer, the data measured are transferred to by embedded controller by serial ports in real time.It is embedded
Formula controller calculates cable cover(ing) pulling force suffered in drawing process and tensile elongation by data processing, and will calculate
The result is shown in the correspondence position of touch display screen.Embedded controller is also by network interface, using connectionless UDP procotols
The data measured are opened into host computer machine vision software on computers by certain format transmission to computer, it is possible to
The homologous thread of pulling force and tensile elongation is drawn out in real time, and numerical value is included in corresponding text box.Can be certainly
It is dynamic to save data in the form of report, and can be printed experimental data by printer.Embedded Control
Device and by the monitoring to pulling force, when pulling force reduces 50% suddenly, then judges that cable cover(ing) is broken, then records stretching at this time
Length and pulling force, and stop the progress of experiment.
The application method of cable cover(ing) tensile elongation measuring device of the invention based on machine vision is as follows:
1) pulling force sensor is connected with embedded controller with serial ports, with USB line by industrial camera and embedded control
Device processed is connected, and host computer is connected with embedded controller with cable, cable cover(ing) is fixed, embedding by power button, connection
Enter the power cord of formula controller;
2) host computer runs software is opened, click starts to gather button, the image display window of touch-screen display module 11
The picture that industrial camera photographs just occurs;
3) touch display screen that press...withes one's finger image display window drags, and cable cover(ing) mark can be included just by drawing one
A corresponding red rectangle frame just occurs in the rectangular area of the small area of point, image display window, this rectangle frame is exactly
Corresponding area-of-interest;
4) one in three selected marker point color buttons and then according to mark point color is clicked on, selects corresponding mark
Point color, the mark point color of acquiescence is red;
5) the downward stretching button of servomotor is clicked on, governing speed button is rotated, adjusts draw speed, and show in data
Show and corresponding tensile elongation and pulling force numerical value are shown in window;
6) host computer receives the tensile elongation and pulling force numerical value of slave computer, and draws out pulling force in coordinate system and grown with stretching
Spend two-dimensional curve;
7) after cable cover(ing) is pulled off, cable cover(ing) stretched portion stop button is pressed, cable cover(ing) stops stretching, embedding
Enter in the touch-screen display module of formula controller " tensile elongation " and " pulling force " and the machine of host computer in data display window
" the current pulling force " and " current elongation value " at vision software interface can show the numerical value of fracture moment, can calculate fracture automatically and stretch
Long rate and tensile strength, automatically can also be saved data in the form of report, and be able to will be tested by printer
Data-printing comes out.
8) press servomotor and be pulled up button, cable cover(ing) fixture can rise, and be pressed when rising to proper height
Stop button, fixture stops rising, to test use next time.
By above procedure, a complete cable cover(ing) pull test process is completed.
The present invention does not address part and is suitable for the prior art.
Claims (7)
1. a kind of cable cover(ing) tensile elongation measuring device based on machine vision, including pulling force sensor, pulling force transmission mechanism
And servomotor, it is characterised in that the measuring device further includes host computer, embedded controller and industrial camera, embedded Control
Device, industrial camera, pulling force sensor, pulling force transmission mechanism and servomotor form slave computer;
The embedded controller includes touch-screen display module, pulling force sensor processing module, camera image processing block, number
According to processing module and host computer communication module, the input terminal of touch-screen display module, the output terminal of camera image processing block and
The input terminal of host computer communication module is connected with data processing module, and the data processing module passes through pulling force sensor at the same time
Processing module is connected with pulling force sensor, and the input terminal of camera image processing block is connected by USB line with industrial camera;
Host computer communication module is connected by cable with host computer, and the pulling force sensor is installed on pulling force transmission mechanism, pulling force
Transmission mechanism is connected with servomotor;For pulling force transmission mechanism by Serve Motor Control, the host computer memory has the machine vision soft
Part;
The software flow of the host computer machine vision software is:Interface is initialized first, opens up picture thread and network interface receives
Thread, there are main thread, three threads of picture thread and network interface receiving thread at this time;In network interface receiving thread it is first determined whether
Embedded controller is connected, if be not connected to, continues to monitor this signal;If connection, passes through network connection slave computer;Then
Data are received by network interface, and are saved in data buffer zone;Refresh and show tensile elongation and pulling force;Judge that network disconnects mark and is
No is 1, if 1, then disconnects network connection at once;Otherwise, judge whether cable cover(ing) is broken;If cable cover(ing) is not disconnected
Split, iterate through network interface and receive data, and be saved in data buffer zone;If cable cover(ing) is broken, the signs of failure are set
For 1, network is then turned off;
In picture thread, reference axis is drawn first, then judges whether to connect embedded controller, if connection embedded Control
Device, the two-dimensional curve of cable cover(ing) tensile elongation and pulling force is drawn according to the data of buffering area memory storage, judges that network disconnects mark
Whether will is 1, if 1, directly stops drawing curve;If being not 1, judge whether the signs of failure are 1, if fracture mark
Will is 1, then stops drawing curve;If the signs of failure are not 1, continue to draw curve, that is, return according to buffering area memory storage
Data draw the two-dimensional curve of cable cover(ing) tensile elongation and pulling force;If being not connected to embedded controller, enter and judge
Network disconnects whether mark is 1, repeats the above process;
In main thread, it is first determined whether disconnecting the connection with embedded controller, if off connection, then network is disconnected
Traffic sign placement is 1, if being not turned off the connection with embedded controller, is not provided with, directly judges whether printing reports;Net
After network disconnection traffic sign placement is 1, judge whether the signs of failure are 1, if being not 1, judge whether printing reports, it is such as resolute
The signs of failure are 1, then generate report;Judge whether printing reports again;If printing reports, printing reports are generated, and are printed,
Otherwise return and judge whether to disconnect the connection with embedded controller;After printing reports, judge whether to exit the program, if so,
Then exit the program, otherwise, continue to repeat the incipient operation of main thread.
2. the cable cover(ing) tensile elongation measuring device according to claim 1 based on machine vision, it is characterised in that institute
Stating the software program flow of pulling force sensor processing module is:First to the pulling force sensor processing module of embedded controller
Serial ports is initialized, i.e. the initialization of baud rate, check bit, data byte length and stop position, then sends request pulling force
Sensor transmissions data, gather the data of one group of pulling force sensor transmission, data are converted, and will calculate the value of thrust of gained
Store into data processing module as pulling force data buffering area, data processing module is sent to pulling force sensor processing module afterwards
The system message whether being broken, judges whether cable cover(ing) has been broken, if be pulled off, then it is concurrent to stop collection value of thrust
The system message for stopping acquisition operations being sent, system stops;If be not pulled off, need to judge whether to need to stop manually, if
Need to stop experiment manually, stop collection value of thrust and send the system message for stopping acquisition operations, system stops, if be not required to
To stop testing manually, then return to the data of one group of pulling force sensor transmission of collection.
3. the cable cover(ing) tensile elongation measuring device according to claim 1 based on machine vision, it is characterised in that institute
Stating the software program flow of camera image processing block is:Piece image is gathered by industrial camera, is read automatically from USB interface
View data, slides finger by staff's finger in touch display screen, sets the area-of-interest of image procossing, that is, draw
Determine area-of-interest, a colouring information enhancing is marked to the content of the area-of-interest of image, obtains the increasing of mark point color
Strong image, finds mark dot profile, calculates the pixel distance between mark point, so that the actual range between obtaining mark point, is used
It is used as the tensile elongation of cable cover(ing);Host computer monitors the system message whether pulling force sensor stops experiment, if stopped
Experiment, then stop collection image information, if not stopping testing, continues to gather piece image information.
4. the cable cover(ing) tensile elongation measuring device according to claim 1 based on machine vision, it is characterised in that institute
Stating the software program flow of data processing module is:The pulling force for calculating gained and tensile elongation are mapped in real time first, so
Afterwards by the pulling force corresponded to and tensile elongation storage into specific structure, by structure storage to corresponding buffering area
In, pulling force and tensile elongation are converted into QString types, for the display of touch display screen, transfer data to text box
Display;Then it is char types by pulling force and tensile elongation numerical value conversion, transfers data to character string and be used for network transmission, will
Data transfer is to host computer;Upper computer software monitors whether host computer communication module stops stimulus, if stopping experiment,
Stop processing data, otherwise, continue with next group of data, that is, it is right in real time to return to the pulling force and tensile elongation that will calculate gained
Should.
5. the cable cover(ing) tensile elongation measuring device according to claim 1 based on machine vision, it is characterised in that institute
Stating the software flow of host computer communication module is:The network interface initialization of host computer communication module is carried out first, sets target upper
The IP address and network port number of machine, create socket web sockets, it is udp protocol to determine network type;Then set embedding
Enter the IP address and network port number of formula controller, the data transfer that will be sent gives network character array, then passes through network interface
By the cable cover(ing) value of thrust measured and tensile elongation data sending to host computer;Whether host computer monitors host computer communication module
Stop stimulus, if stopping experiment, stop transmission data, otherwise, continue to transmit next group of data, will be surveyed by network interface
The cable cover(ing) value of thrust and tensile elongation data sending obtained is to host computer.
6. the cable cover(ing) tensile elongation measuring device according to claim 1 based on machine vision, it is characterised in that institute
State embedded controller and use embedded platform using I.MX6Q chips as microprocessor.
7. a kind of cable cover(ing) tensile elongation measuring method based on machine vision, usage right requires any surveys of 1-6
Device is measured, step is:Pulling force transmission mechanism is first connected with pulling force sensor, is then connected again with fixture, and fixture is used for fixed electricity
Cable sheath;Pulling force transmission mechanism completes cable cover(ing) progress pulling action by being moved up and down to fixture;Before the test, in quilt
It is marked with marking pen on the cable cover(ing) of detection, by the use of the distance between mark point as the tensile elongation of cable cover(ing), is led to
The image information of industrial camera collection cable cover(ing) is crossed, the distance between mark point is calculated, so as to obtain the stretching of cable cover(ing)
Length;The data of collection are handled by embedded controller, and the data for calculating gained are included in embedded Control
In the touch display screen of device, host computer is transferred data to by cable;Host computer is handled by docking received data
Pulling force suffered by cable cover(ing) and the corresponding two-dimensional curve of tensile elongation are drawn out, fills in report.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610374243.0A CN105910539B (en) | 2016-05-30 | 2016-05-30 | Cable cover(ing) tensile elongation measuring device and method based on machine vision |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610374243.0A CN105910539B (en) | 2016-05-30 | 2016-05-30 | Cable cover(ing) tensile elongation measuring device and method based on machine vision |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105910539A CN105910539A (en) | 2016-08-31 |
CN105910539B true CN105910539B (en) | 2018-05-04 |
Family
ID=56741993
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610374243.0A Expired - Fee Related CN105910539B (en) | 2016-05-30 | 2016-05-30 | Cable cover(ing) tensile elongation measuring device and method based on machine vision |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105910539B (en) |
Families Citing this family (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107228799A (en) * | 2017-07-14 | 2017-10-03 | 天津工业大学 | A kind of steel cable core conveying belt joint tensile test device |
CN108168437B (en) * | 2017-12-27 | 2019-12-06 | 南方电网科学研究院有限责任公司 | Bus stretching amount detection method in high-voltage distribution system |
CN108846397B (en) * | 2018-05-31 | 2021-01-15 | 浙江科技学院 | Automatic detection method for cable semi-conducting layer based on image processing |
CN109187221A (en) * | 2018-09-30 | 2019-01-11 | 华南理工大学 | The test device and method of a kind of pair of high molecular material shape memory effect quantitative measurment |
CN109379518A (en) * | 2018-11-26 | 2019-02-22 | 苏州富莱智能科技有限公司 | Embedded intelligence image measurement camera system and detection method |
CN110220461A (en) * | 2019-06-27 | 2019-09-10 | 东南大学 | Embedded real-time detection method and device for identification point displacement measurement |
CN111121584A (en) * | 2020-01-02 | 2020-05-08 | 中国水产科学研究院渔业机械仪器研究所 | Surveying and mapping device and surveying and mapping method for early-stage design of automatic kelp seedling clamping equipment |
CN112697588A (en) * | 2020-12-15 | 2021-04-23 | 沈阳工业大学 | Cable protective sleeve elongation measuring device based on vision and using method |
CN112903449A (en) * | 2021-01-22 | 2021-06-04 | 福建省南平南线电力电缆有限公司 | Intelligent detection device for performance of cable sheath material and online test method thereof |
CN113569679B (en) * | 2021-07-19 | 2024-03-15 | 成都产品质量检验研究院有限责任公司 | Method, device and system for measuring elongation at break |
CN113776924B (en) * | 2021-09-10 | 2022-06-21 | 深圳市勤诚鑫科技有限公司 | Wire performance quality detection system and detection method |
CN114417903A (en) * | 2022-01-11 | 2022-04-29 | 江苏新安电器股份有限公司 | Production line PCBA material number rapid identification system |
CN115931572B (en) * | 2023-03-02 | 2023-05-30 | 阳谷领航电缆有限公司 | Special cable performance on-line installation detection method |
CN116067780B (en) * | 2023-03-03 | 2023-09-08 | 广西壮族自治区农业科学院 | Dwarf banana fruit finger dynamometer |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201133809Y (en) * | 2007-10-29 | 2008-10-15 | 麻伟明 | Automobile contour dimension dynamic automatic measuring equipment |
CN201417242Y (en) * | 2009-06-29 | 2010-03-03 | 河北太行计量检测有限公司 | Static calibration system for material tensile testing machine |
CN102494618A (en) * | 2011-12-15 | 2012-06-13 | 河北工业大学 | Cable sheath tensile length detection apparatus |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2921349B2 (en) * | 1993-08-06 | 1999-07-19 | 日産自動車株式会社 | Panel measurement device |
-
2016
- 2016-05-30 CN CN201610374243.0A patent/CN105910539B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201133809Y (en) * | 2007-10-29 | 2008-10-15 | 麻伟明 | Automobile contour dimension dynamic automatic measuring equipment |
CN201417242Y (en) * | 2009-06-29 | 2010-03-03 | 河北太行计量检测有限公司 | Static calibration system for material tensile testing machine |
CN102494618A (en) * | 2011-12-15 | 2012-06-13 | 河北工业大学 | Cable sheath tensile length detection apparatus |
Non-Patent Citations (2)
Title |
---|
基于嵌入式与OpenCV的电缆护套拉伸长度测量;高振斌等;《电视技术》;20160227;第40卷(第2期);正文第1-4节及图1-7 * |
基于机器视觉的电缆护套拉伸长度测量;高振斌等;《自动化测试技术》;20131231;第21卷(第5期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN105910539A (en) | 2016-08-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105910539B (en) | Cable cover(ing) tensile elongation measuring device and method based on machine vision | |
CN207529219U (en) | A kind of camera emulation test system | |
CN102509485B (en) | Method for building virtual experiment information representation model | |
CN101482518A (en) | On-line quality detection system for movable band-shaped material | |
CN205642294U (en) | Cable sheathing stretched length measuring device based on machine vision | |
CN105807601A (en) | Method and system for testing virtual reality equipment delay | |
CN111090603B (en) | LVDS-to-USB 3.0 adapter | |
CN106652858B (en) | Automatic detection system and method for compatibility abnormity of display | |
CN102866000A (en) | Laser detection system | |
CN206894813U (en) | A kind of camera testing system | |
CN104978917A (en) | DP video signal automatic test method and device thereof | |
CN203590370U (en) | General video signal performance parameter automatic testing device | |
CN112181549B (en) | System and method for recognizing dynamic perception of power icon of transformer substation monitoring interface | |
CN201707032U (en) | On-line detecting device for operating characteristic of circuit breaker based on photographic digitization | |
CN106713908B (en) | Device and control method for the test of multichannel CCD camera | |
US20130086999A1 (en) | Apparatus and method for testing usability | |
CN105049786B (en) | Thermal infrared imager tests auxiliary system and method | |
CN1821715A (en) | Novel hair online measuring integrated device | |
CN110633766A (en) | Two-dimensional code generation device for reporting result of environment monitoring instrument | |
CN109817129A (en) | A kind of liquid crystal module detection system and method realized based on Mipi CPHY interface | |
CN104096686A (en) | Product packing box surface printing quality automatic detection device | |
CN105975299A (en) | Channel switching apparatus, programmed data detection method and system as well as data programming method and system | |
CN106785700B (en) | The collector of included built-in sensors | |
CN201788156U (en) | Machine vision automatic detection control system for detonating tubes in civil explosion industry | |
CN208705355U (en) | A kind of Intelligent insulation operating stick |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180504 |