CN105910539A - Cable sheath tensile length measuring device and cable sheath tensile length measuring method based on machine vision - Google Patents
Cable sheath tensile length measuring device and cable sheath tensile length measuring method based on machine vision Download PDFInfo
- Publication number
- CN105910539A CN105910539A CN201610374243.0A CN201610374243A CN105910539A CN 105910539 A CN105910539 A CN 105910539A CN 201610374243 A CN201610374243 A CN 201610374243A CN 105910539 A CN105910539 A CN 105910539A
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 39
- 238000012545 processing Methods 0.000 claims abstract description 68
- 230000007246 mechanism Effects 0.000 claims abstract description 25
- 238000004891 communication Methods 0.000 claims abstract description 24
- 230000005540 biological transmission Effects 0.000 claims abstract description 18
- 238000005259 measurement Methods 0.000 claims description 50
- 238000002372 labelling Methods 0.000 claims description 29
- 238000012360 testing method Methods 0.000 claims description 29
- 230000008569 process Effects 0.000 claims description 26
- 238000007639 printing Methods 0.000 claims description 12
- 238000012546 transfer Methods 0.000 claims description 9
- 238000003860 storage Methods 0.000 claims description 5
- 230000009471 action Effects 0.000 claims description 3
- 238000004040 coloring Methods 0.000 claims description 3
- 230000002708 enhancing effect Effects 0.000 claims description 2
- 239000000463 material Substances 0.000 description 8
- 230000006870 function Effects 0.000 description 6
- 238000009864 tensile test Methods 0.000 description 5
- 238000013461 design Methods 0.000 description 4
- 206010010356 Congenital anomaly Diseases 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 238000002474 experimental method Methods 0.000 description 2
- 230000002452 interceptive effect Effects 0.000 description 2
- 230000000630 rising effect Effects 0.000 description 2
- 241001640034 Heteropterys Species 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000004364 calculation method Methods 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
- 230000000694 effects Effects 0.000 description 1
- 230000005611 electricity 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
- 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
- 238000003825 pressing Methods 0.000 description 1
- 239000002994 raw material Substances 0.000 description 1
- 238000004064 recycling Methods 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
Abstract
The invention relates to a cable sheath tensile length measuring device and a cable sheath tensile length measuring method based on machine vision. The measuring device comprises a tension sensor, a tension transmission mechanism, and a servo motor, and is characterized by further comprising an upper computer, an embedded controller, and an industrial camera, wherein the embedded controller, the industrial camera, the tension sensor, the tension transmission mechanism and the servo motor constitute a lower computer. The embedded controller comprises a touch screen display module, a tension sensor processing module, a camera image processing module, a data processing module, and an upper computer communication module, wherein the input end of the touch screen display module, the output end of the camera image processing module and the input end of the upper computer communication module are connected with the data processing module, the data processing module is connected with the tension sensor through the tension sensor processing module, the input end of the camera image processing module is connected with the industrial camera through a USB cable, and the upper computer communication module is connected with the upper computer through a network cable.
Description
Technical field
The present invention relates to for mechanical parameters measurement apparatus technical field, particularly relate to a kind of cable cover(ing) tensile elongation measurement apparatus based on machine vision and method.
Background technology
One of electric main energy sources as society, has penetrated into our and has produced and the various aspects of life, and the problem of Electrical Safety is the most following.Cable cover(ing), as the first line of defence of 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) does not passes a test, occur breakage deformation to cause electric leakage in service life or in the maximum external force of regulation, and then cause personnel to get an electric shock or fire, the security of the lives and property of broad masses of the people can be brought huge loss.Therefore the performance guarantee of cable cover(ing) is most important.Detection to cable cover(ing) performance is mainly carried out in cable cover(ing) tensile elongation measurement apparatus, the tensile strength of reflection wire cable insulating layer material and two indexs of elongation at break.Examination criteria requires the experimental result of 5 samples, takes intermediate value and carries out contrast judgement with numerical value in standard, thus provides examining report.
Tradition tensile testing machine is when measuring cable cover(ing) tensile elongation, need to use puller system that cable cover(ing) is stretched a certain distance, pulling force suffered by cable cover(ing) and the tensile elongation with vernier caliper measurement cable cover(ing) is measured again with strain gauge, then proceed to stretching, repeat above operation, until cable cover(ing) is pulled off.So detected material can be caused congenital impression, cause detected materials most in experimentation that fracture occurs at impression, it is unsatisfactory for country's requirement to the detection of cable cover(ing) pulling experiment, need the experimental data the most just can being relatively satisfied with, conventional efficient is poor, and experimental data is not accurate enough.Employing slide gauge manual measurement is detected tensile elongation during Materials Fracture, artificially judge cable cover(ing) fracture difficulty on opportunity and inaccurate, measurement result varies with each individual, and personal error is big, and single single can only process a sample, working strength is bigger, inefficiency, uses ways of writing record test data, and the original data record time is long, using artificial computer to calculate tensile strength and elongation at break, efficiency is low.If the tensile testing machine that directly discarded traditional tensile testing machine exploitation is novel, development cost is big, and the construction cycle is long, and the transmission gear for electric motor of tradition tensile testing machine utilizes rate variance, causes raw-material waste, does not meets the principle fully recycled that economizes on resources.
(solve Su to turn as solved Su and turning et al., Li Jie, Wang Xinwei. the design of a kind of novel electron puller system system with realize [J]. Shanxi Electric Power, 2015 (5): 25-27.) electronic tension tester that designs can only measure the pulling force of detected material and can not measure the tensile elongation of detected material.Bian Ji (Bian Ji. practical micro-control formula electronic tensile machine [J]. Chinese rubber, 2003 (9): 26-27.) the practical micro-control formula electronic tensile machine designed uses encoder to measure the tensile elongation of detected material, need to install on detected material to follow the tracks of folder, the measurement of pulling force can be affected.
Summary of the invention
For the deficiencies in the prior art, what the present invention intended to solve technical problem is that: provide a kind of cable cover(ing) tensile elongation measurement apparatus based on machine vision and method.This device improves on the basis of tradition tensile testing machine, introduces embedded controller and industrial camera, and the mode using modularized design is cost-effective, significantly improves conventional efficient and the certainty of measurement of tradition puller system.
The present invention solves described technical problem and the technical scheme is that a kind of cable cover(ing) tensile elongation measurement apparatus based on machine vision of offer, including pulling force sensor, pulling force drive mechanism and servomotor, it is characterized in that this measurement apparatus also includes that host computer, embedded controller and industrial camera, embedded controller, industrial camera, pulling force sensor, pulling force drive mechanism and servomotor constitute slave computer;
Described 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 of the input of touch-screen display module, the outfan of camera image processing block and host computer communication module is all connected with data processing module, described data processing module is connected with pulling force sensor by pulling force sensor processing module simultaneously, and the input of camera image processing block is connected with industrial camera by USB line;Host computer communication module is connected with host computer by netting twine, and described pulling force sensor is arranged on pulling force drive mechanism, and pulling force drive mechanism is connected with servomotor;Pulling force drive mechanism is by Serve Motor Control, and described host computer internal memory has machine vision software.
A kind of cable cover(ing) tensile elongation measuring method based on machine vision, uses above-mentioned measurement apparatus, and step is: pulling force drive mechanism is first connected with pulling force sensor, is connected with fixture the most again, and fixture is used for fixing cable cover(ing);Pulling force drive mechanism carries out pulling action by fixture has moved up and down cable cover(ing);Before the test, detected cable cover(ing) is marked with marking pen, by the distance between labelling point as the tensile elongation of cable cover(ing), is gathered the image information of cable cover(ing) by industrial camera, calculate the distance between labelling point, thus obtain the tensile elongation of cable cover(ing);By embedded controller, the data of collection are processed, and the data calculating gained are shown on the touch display screen of embedded controller, transfer data to host computer by netting twine;Host computer draws out, by processing the data received, the two-dimensional curve that pulling force suffered by cable cover(ing) is corresponding with tensile elongation, fills in form.
Compared with prior art, the invention have the benefit that
Tradition puller system uses slide gauge manual measurement cable cover(ing) tensile elongation, error is big, and by manually calculating result of the test, efficiency is low, and the application measurement apparatus uses industrial camera to gather image, being transferred to slave computer by USB line, calculate tensile elongation, automaticity is high, and slave computer is connected with host computer by the application measurement apparatus by netting twine, carrying out data transmission, it is possible to automatically calculate, efficiency is high.
Measurement apparatus of the present invention by industrial camera obtain image and use computer carry out image procossing method obtain sample tensile elongation, one is to reequip tradition puller system, realize the recycling of expensive parts such as tradition puller system servomotor and pulling force drive mechanism etc., reduce cost;Two is to use embedded controller as master controller, both can meet the requirement of the machine vision algorithm speed of service, again the ratio low cost of general purpose computer, and stability is high, and software privacy is strong;Three is the method using machine vision, i.e. the measurement of tensile elongation is by the image of industrial camera shooting drawing process, it is transferred to embedded controller by USB data line, part locking cable cover(ing) labelling point position is processed by camera image, thus it is calculated tensile elongation, and kind of calliper that need not be traditional, it is achieved the noncontacting measurement of sample tensile elongation, sample will not be caused damage or deformation, also not interfere with the measurement of pulling force suffered by sample.Four is to use pulling force sensor detected sample will not be produced impression, it is ensured that the reliability of experimental data, and by the serial ports of pulling force sensor, experimental data can be transferred to embedded controller, it is achieved that the automatic collection of pulling force suffered by sample;Five is the homologous thread figure that can draw sample tensile elongation and suffered pulling force, it is provided that analysis more intuitive to data;Six is to record pulling force when each sample ruptures and tensile elongation, automatically calculates experimental result, improves test efficiency.
Pulling force sensor is directly connected by tradition puller system with cable cover(ing), and cable cover(ing) can cause congenital impression, artificial reading, and efficiency is low.Pulling force sensor is first connected by measuring method of the present invention with fixture, is connected with cable cover(ing) the most again, and fixture is protected to cable cover(ing); congenital impression will not be produced; value of thrust is transferred to slave computer controller in real time by pulling force sensor by serial ports, without manual operation, convenient and swift.
Accompanying drawing explanation
Fig. 1 is the hardware device structural representation of present invention cable cover(ing) based on machine vision tensile elongation a kind of embodiment of measurement apparatus;
Fig. 2 is the structured flowchart of the embedded controller 1 of present invention cable cover(ing) based on machine vision tensile elongation a kind of embodiment of measurement apparatus;
Fig. 3 is the software flow pattern of the pulling force sensor module 12 of present invention cable cover(ing) based on machine vision tensile elongation a kind of embodiment of measurement apparatus;
Fig. 4 is the software flow pattern of the camera processing module 13 of present invention cable cover(ing) based on machine vision tensile elongation a kind of embodiment of measurement apparatus.
Fig. 5 is the software flow pattern of the data processing module 14 of present invention cable cover(ing) based on machine vision tensile elongation a kind of embodiment of measurement apparatus.
Fig. 6 is the software flow pattern of present invention cable cover(ing) based on machine vision tensile elongation measurement apparatus a kind of embodiment host computer communication module 15.
Fig. 7 is the software flow pattern of the machine vision software in the host computer of present invention cable cover(ing) based on machine vision tensile elongation a kind of embodiment of measurement apparatus.
In figure, 6 host computers, 1 embedded controller, 2 industrial cameras, 3 pulling force sensors, 4 pulling force drive mechanisms, 5 servomotors, 11 touch-screen display module, 12 pulling force sensor processing modules, 13 camera image processing block, 14 data processing modules, 15 host computer communication modules.
Detailed description of the invention
Being further discussed below the present invention below in conjunction with embodiment and accompanying drawing, instantiation is only used for describing in detail the present invention, does not constitute the restriction to the application claims.
Present invention cable cover(ing) based on machine vision tensile elongation measurement apparatus (is called for short measurement apparatus, see Fig. 1-7) include that pulling force sensor 3, pulling force drive mechanism 4, servomotor 5, host computer 6, embedded controller 1 and industrial camera 2, embedded controller 1, industrial camera 2, pulling force sensor 3, pulling force drive mechanism 4 and servomotor 5 constitute slave computer;
Described embedded controller 1 includes touch-screen display module 11, pulling force sensor processing module 12, camera image processing block 13, data processing module 14 and host computer communication module 15, the input of touch-screen display module 11, the outfan of camera image processing block 13 and the input of host computer communication module 15 are all connected with data processing module 14, described data processing module 14 is connected with pulling force sensor 3 by pulling force sensor processing module 12 simultaneously, pulling force sensor processing module 12 is sent to data processing module 14 from the value of thrust that pulling force sensor 3 obtains and processes, data processing module sends the system message whether ruptured to pulling force sensor processing module simultaneously;The input of camera image processing block 13 is connected with industrial camera 2 by USB line, it is thus achieved that image information, sends data processing module 14 to, thus carries out data process, calculates the tensile elongation of cable cover(ing);Host computer communication module 15 is connected with host computer 6 by netting twine, experimental data is transferred to host computer and is further processed;Described pulling force sensor 3 is arranged on pulling force drive mechanism 4, and pulling force drive mechanism 4 is connected with servomotor 5;Pulling force drive mechanism 4 is controlled by servo electricity 5 machine, has independent control knob;Described host computer 6 internal memory has machine vision software.
Described touch-screen display module 11 mainly completes design and the display of software interface, it is provided that mode of operation and data exchange intuitively, and the system operation interface of touch-screen display module 11 includes control knob region, data display window and image display window.Control knob region can control the process of whole test, including start image acquisition, stop image acquisition, quit a program, labelling point color selecting;Data display window mainly shows cable cover(ing) tensile elongation and suffered pulling force;Image display window mainly completes the image of collection, area-of-interest, the display of labelling point position in process of the test.
Described pulling force sensor processing module 12 mainly realizes all functions relevant to pulling force sensor 3, including: pulling force sensor data acquisition, value of thrust data process and judge whether cable cover(ing) ruptures according to value of thrust.The function that pulling force sensor data acquisition can realize has initialization serial ports, sets drainage pattern, setting collection scope of data, setting frequency acquisition.Value of thrust data process and include the separation of each channel data, data filtering process, data conversion, data storage and data interaction.Another critical function that this module realizes is based on value of thrust data and judges that cable cover(ing) has ruptured in real time.Data acquisition can be automatically stopped after judging fracture.
In measurement apparatus of the present invention, the software program flow process (seeing Fig. 3) of pulling force sensor processing module 12 is: first initialize the serial ports of the pulling force sensor processing module 12 of embedded controller, i.e. baud rate, check bit, data byte length and the initialization of stopping position, then request pulling force sensor transmission data are sent, gather the data of one group of pulling force sensor transmission, data are converted, the value of thrust calculating gained is deposited into data processing module 14 as pulling force data relief area, data processing module sends the system message whether ruptured to pulling force sensor processing module afterwards, judge that cable cover(ing) has ruptured, if be pulled off, so stop gathering value of thrust and sending the system message stopping acquisition operations, system stops;If be not pulled off, then need to judge whether to need manually to stop, if needing manually to stop test, stop gathering value of thrust and sending the system message stopping acquisition operations, system stops, if need not manually stop test, then returns to gather the data of one group of pulling force sensor transmission.
Described camera image processing block 13 mainly completes three functions: gathers camera image, delimit interesting image regions and process view data to find the labelling point on cable cover(ing).After the parameter setting industrial camera, read the next piece image of industrial camera transmission and and carry out image procossing.In camera image processing block 13, first wait for user on image, delimit area-of-interest, carry out interesting image regions afterwards strengthening labelling point colouring information and binary conversion treatment, after finding labelling point, labelling point is further processed, the noise spot detected with eliminating.
In measurement apparatus of the present invention, the software program flow process (seeing Fig. 4) of camera image processing block 13 is: gather piece image by industrial camera 2, automatically view data is read from USB interface, referred to by staff's finger slip hands on touch display screen, the area-of-interest of image procossing is set, i.e. delimit area-of-interest, the content of the area-of-interest of image is marked a colouring information enhancing, obtain labelling point color and strengthen image, find labelling dot profile, calculate the pixel distance between labelling point, thus obtain the actual range between labelling point, it is used as the tensile elongation of cable cover(ing);Host computer 6 monitors whether pulling force sensor stops the system message of test, if stopping test, then stopping gathering image information, if not stopping test, then continuing to gather piece image information.
The storage of the related data that described data processing module 14 relates in mainly completing to test and calculating.In test, tensile elongation data in the value of thrust data in test and image are gathered by host computer machine vision software program respectively.According to the test requirement to data, need to be mapped the two of synchronization data, i.e. obtain a certain moment cable cover(ing) and be stretched length and value of thrust that now cable cover(ing) bears.First data processing module completes this function.Afterwards, according to obtaining data, convert data to QString type and char type, be respectively used to the display of text box and the transmission of network interface.
In measurement apparatus of the present invention, the software program flow process (seeing Fig. 5) of data processing module 14 is: first the pulling force and tensile elongation that calculate gained are mapped in real time, then corresponding good pulling force and tensile elongation are stored in specific structure, this structure is stored in the relief area of correspondence, pulling force and tensile elongation are converted to QString type, for touching the display of display screen, transfer data to text box and show;Then pulling force and tensile elongation numerical value are converted to char type, transfer data to character string and transmit for network, transfer data to host computer 6;Upper computer software monitors whether host computer communication module stops stimulus, if stopping test, then stopping processes data, otherwise, continues with next group data, i.e. returns the pulling force and tensile elongation by calculating gained the most corresponding.
Described host computer communication module 15 is mainly the cable cover(ing) tensile elongation obtained by using udp protocol to measure by network interface and suffered pulling force carries out packing and is transferred to host computer 6, processes for the further data of host computer.
In measurement apparatus of the present invention, the software flow (seeing Fig. 6) of host computer communication module 15 is: the network interface first carrying out host computer communication module initializes, IP address and the network port number of target host computer (PC) are set, create socket web socket, determine that network type is udp protocol;Then arranging IP address and the network port number of embedded controller, the data that will send pass to network character array, then by network interface, the cable cover(ing) value of thrust recorded and tensile elongation data are sent to host computer (PC);Host computer monitors whether host computer communication module stops stimulus, if stopping test, then stop transmission data, otherwise, continue next group data of transmission, by network interface, the cable cover(ing) value of thrust recorded and tensile elongation data are sent to host computer (PC).
Described host computer 6 uses general purpose computer to be hardware platform, carries Windows 7 operating system, uses MFC graphical interface of user framework to write software interactive interface, uses udp protocol to communicate with embedded controller.
The software flow of described host computer machine vision software is (seeing Fig. 7): first initialize interface, opens up picture thread and network interface receiving thread, now there are main thread, picture thread and three threads of network interface receiving thread;It is first determined whether connect embedded controller in network interface receiving thread, if be not connected to, continue to monitor this signal;If connected, then connect slave computer by network;Then receive data by network interface, and be saved in data buffer zone;Refresh display tensile elongation and pulling force;Judge that network disconnects whether mark is 1, if 1, then disconnect network at once and connect;Otherwise, it is judged that whether cable cover(ing) ruptures;If cable cover(ing) does not rupture, iterate through network interface and receive data, and be saved in data buffer zone;If cable cover(ing) ruptures, then the signs of failure are set to 1, are then turned off network;
In picture thread, first coordinate axes is drawn, then judge whether to connect embedded controller, if connection embedded controller, data (data i.e. received from embedded controller) according to storage in relief area draw cable cover(ing) tensile elongation and 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 judging whether the signs of failure are 1, if the signs of failure are 1, then stopping drawing curve;If the signs of failure are not 1, then continue to draw curve, i.e. return and draw cable cover(ing) tensile elongation and the two-dimensional curve of pulling force according to the data of storage in relief area;If being not connected to slave computer, then enter and judge that network disconnects whether mark is 1, repeat said process;
In main thread, it is first determined whether disconnect the connection with embedded controller, if off connection, then it is 1 that network disconnects traffic sign placement, without the connection disconnected with embedded controller, is then not provided with, directly judges whether printing reports;After network disconnection traffic sign placement is 1, it is judged that whether the signs of failure are 1, if not being 1, then judging whether printing reports, being masked as 1 if absolutely split, then generate form;Judge whether printing reports again;If printing reports, then generate printing reports, and print, otherwise return and judge whether to disconnect the connection with embedded controller;After printing reports, it may be judged whether quit a program, if it is, quit a program, otherwise, continue to repeat the incipient operation of main thread.
Measurement apparatus of the present invention is further characterized by described embedded controller 1 and uses the embedded platform with I.MX6Q chip as microprocessor, transplant linux system, use OpenCV machine vision function library of increasing income to write image processing algorithm, use QT graphical user framework to write friendly graphical user interactive interface.
Present invention cable cover(ing) based on machine vision tensile elongation measuring method, uses above-mentioned measurement apparatus, and step is: pulling force drive mechanism 4 is first connected with pulling force sensor 3, is connected with fixture the most again, and fixture is used for fixing cable cover(ing);Pulling force drive mechanism 4 carries out pulling action by fixture has moved up and down cable cover(ing);Before the test, detected cable cover(ing) is marked with marking pen, by the distance between labelling point as the tensile elongation of cable cover(ing), is gathered the image information of cable cover(ing) by industrial camera, calculate the distance between labelling point, thus obtain the tensile elongation of cable cover(ing);By embedded controller 1, the data of collection are processed, and the data calculating gained are shown on the touch display screen of embedded controller 1, transfer data to host computer 6 by netting twine;Host computer 6 draws out, by processing the data received, the two-dimensional curve that pulling force suffered by cable cover(ing) is corresponding with tensile elongation, fills in form.
Measurement apparatus of the present invention is capable of the measurement to cable cover(ing) tensile elongation and pulling force, thus draws the mechanics parameter of sample.The measurement of pulling force is mainly measured by pulling force sensor 3, then by RS232 transmission line, the data of measurement is transferred to pulling force sensor processing module 12, finally gives value of thrust by data processing module 14.The measurement of tensile elongation then shoots the image of drawing process by industrial camera 2, is transferred to embedded controller 1 by USB data line, locks cable cover(ing) labelling point position by camera image processing block 13, thus be calculated tensile elongation.Whole process provides the User Interface of close friend by touch-screen display module 11, is controlled by the touch display screen of embedded controller 1, and shows the pulling force and the numerical value of tensile elongation calculated.The image of industrial camera collection also passes through compression display and is touching on display screen, and can choose area-of-interest by finger.Measured data can be transferred to host computer 6 by host computer communication module 15, for drawing the pulling force of this cable cover(ing) and the two-dimensional curve of tensile elongation.
Implementing step is: by the image of USB industry collected by camera cable cover(ing) drawing process, be transferred to embedded controller in real time.Image is shown on touch display screen by embedded controller.User can choose area-of-interest by touching display screen, embedded controller is then marked a color by machine vision algorithm to the image in area-of-interest to be strengthened, image single channel intensity level extracts, it is converted into single channel image, image binaryzation, Morphological scale-space, find the operations such as labelling dot profile, thus obtain the pixel distance between labelling point, thus obtain the actual range between labelling point further.Use numeral strain gauge that pulling force is measured simultaneously, by serial ports, the data recorded are transferred to embedded controller in real time.Embedded controller is processed by data and calculates cable cover(ing) pulling force suffered in drawing process and tensile elongation, and result of calculation is shown at the correspondence position touching display screen.Embedded controller is also by network interface, use connectionless UDP procotol by the data that record by certain format transmission to computer, open host computer machine vision software on computers, just in real time the homologous thread of pulling force and tensile elongation can be drawn out, and numerical value be shown in corresponding text box.Can be automatically data be saved with the form of form, and by printer, experimental data can be printed.Embedded controller by the monitoring to pulling force, when pulling force reduces 50% suddenly, then judges that cable cover(ing) ruptures, then record tensile elongation now and pulling force, and stop the carrying out of experiment.
The using method of present invention cable cover(ing) based on machine vision tensile elongation measurement apparatus is as follows:
1) with serial ports, pulling force sensor is connected with embedded controller, with USB line, industrial camera is connected with embedded controller, with netting twine, host computer is connected with embedded controller, cable cover(ing) is fixed, by key, connect the power line of embedded controller;
2) opening host computer and run software, click on and start to gather button, the image display window of touch-screen display module 11 arises that the picture that industrial camera photographs;
3) the touch display image display window that press...withes one's finger drags, draw the rectangular area of a lucky little area that can comprise cable cover(ing) labelling point, image display window arises that a corresponding red rectangle frame, and this rectangle frame is exactly corresponding area-of-interest;
4) then clicking in three selected marker point color button according to labelling point color, select corresponding labelling point color, the labelling point color of acquiescence is red;
5) that clicks on servomotor stretches downwards button, rotates governing speed button, regulates draw speed, and shows tensile elongation and the pulling force numerical value of correspondence in data display window;
6) host computer receives tensile elongation and the pulling force numerical value of slave computer, and draws out pulling force and tensile elongation two-dimensional curve in coordinate system;
7) after cable cover(ing) is pulled off, press cable cover(ing) stretched portion stop button, cable cover(ing) stops stretching, embedded controller touch-screen display module in data display window " the current pulling force " and " current elongation value " at " tensile elongation " and " pulling force " and the machine vision software interface of host computer can show the numerical value of moment of rupturing, can automatically calculate elongation at break and tensile strength, automatically data can also be saved with the form of form, and by printer, experimental data can be printed.
8) pressing servomotor and be pulled up button, cable cover(ing) fixture can rise, and presses stop button when rising to proper height, and fixture stops rising, in order to test use next time.
By above procedure, complete a complete cable cover(ing) pull test process.
The present invention does not addresses part and is applicable to prior art.
Claims (8)
1. a cable cover(ing) tensile elongation measurement apparatus based on machine vision, including pulling force sensor, pulling force drive mechanism and servomotor, it is characterized in that this measurement apparatus also includes that host computer, embedded controller and industrial camera, embedded controller, industrial camera, pulling force sensor, pulling force drive mechanism and servomotor constitute slave computer;
Described 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 of the input of touch-screen display module, the outfan of camera image processing block and host computer communication module is all connected with data processing module, described data processing module is connected with pulling force sensor by pulling force sensor processing module simultaneously, and the input of camera image processing block is connected with industrial camera by USB line;Host computer communication module is connected with host computer by netting twine, and described pulling force sensor is arranged on pulling force drive mechanism, and pulling force drive mechanism is connected with servomotor;Pulling force drive mechanism is by Serve Motor Control, and described host computer internal memory has machine vision software.
Cable cover(ing) tensile elongation measurement apparatus based on machine vision the most according to claim 1, the software flow that it is characterized in that described host computer machine vision software is: first initialize interface, open up picture thread and network interface receiving thread, now there are main thread, picture thread and three threads of network interface receiving thread;It is first determined whether connect embedded controller in network interface receiving thread, if be not connected to, continue to monitor this signal;If connected, then connect slave computer by network;Then receive data by network interface, and be saved in data buffer zone;Refresh display tensile elongation and pulling force;Judge that network disconnects whether mark is 1, if 1, then disconnect network at once and connect;Otherwise, it is judged that whether cable cover(ing) ruptures;If cable cover(ing) does not rupture, iterate through network interface and receive data, and be saved in data buffer zone;If cable cover(ing) ruptures, then the signs of failure are set to 1, are then turned off network;
In picture thread, first coordinate axes is drawn, then judge whether to connect embedded controller, if connection embedded controller, cable cover(ing) tensile elongation and the two-dimensional curve of pulling force is drawn according to the data of storage in relief area, judge that network disconnects whether mark is 1, if 1, directly stop drawing curve;If not being 1, then judging whether the signs of failure are 1, if the signs of failure are 1, then stopping drawing curve;If the signs of failure are not 1, then continue to draw curve, i.e. return and draw cable cover(ing) tensile elongation and the two-dimensional curve of pulling force according to the data of storage in relief area;If being not connected to embedded controller, then enter and judge that network disconnects whether mark is 1, repeat said process;
In main thread, it is first determined whether disconnect the connection with embedded controller, if off connection, then it is 1 that network disconnects traffic sign placement, without the connection disconnected with embedded controller, is then not provided with, directly judges whether printing reports;After network disconnection traffic sign placement is 1, it is judged that whether the signs of failure are 1, if not being 1, then judging whether printing reports, being masked as 1 if absolutely split, then generate form;Judge whether printing reports again;If printing reports, then generate printing reports, and print, otherwise return and judge whether to disconnect the connection with embedded controller;After printing reports, it may be judged whether quit a program, if it is, quit a program, otherwise, continue to repeat the incipient operation of main thread.
Cable cover(ing) tensile elongation measurement apparatus based on machine vision the most according to claim 1, the software program flow process that it is characterized in that described pulling force sensor processing module is: first initialize the serial ports of the pulling force sensor processing module of embedded controller, i.e. baud rate, check bit, data byte length and the initialization of stopping position, then request pulling force sensor transmission data are sent, gather the data of one group of pulling force sensor transmission, data are converted, the value of thrust calculating gained is deposited into data processing module as pulling force data relief area, data processing module sends the system message whether ruptured to pulling force sensor processing module afterwards, judge that cable cover(ing) has ruptured, if be pulled off, so stop gathering value of thrust and sending the system message stopping acquisition operations, system stops;If be not pulled off, then need to judge whether to need manually to stop, if needing manually to stop test, stop gathering value of thrust and sending the system message stopping acquisition operations, system stops, if need not manually stop test, then returns to gather the data of one group of pulling force sensor transmission.
Cable cover(ing) tensile elongation measurement apparatus based on machine vision the most according to claim 1, the software program flow process that it is characterized in that described camera image processing block is: gather piece image by industrial camera, automatically view data is read from USB interface, referred to by staff's finger slip hands on touch display screen, the area-of-interest of image procossing is set, i.e. delimit area-of-interest, the content of the area-of-interest of image is marked a colouring information enhancing, obtain labelling point color and strengthen image, find labelling dot profile, calculate the pixel distance between labelling point, thus obtain the actual range between labelling point, it is used as the tensile elongation of cable cover(ing);Host computer monitors whether pulling force sensor stops the system message of test, if stopping test, then stopping gathering image information, if not stopping test, then continuing to gather piece image information.
Cable cover(ing) tensile elongation measurement apparatus based on machine vision the most according to claim 1, the software program flow process that it is characterized in that described data processing module is: first the pulling force and tensile elongation that calculate gained are mapped in real time, then corresponding good pulling force and tensile elongation are stored in specific structure, this structure is stored in the relief area of correspondence, pulling force and tensile elongation are converted to QString type, for touching the display of display screen, transfer data to text box and show;Then pulling force and tensile elongation numerical value are converted to char type, transfer data to character string and transmit for network, transfer data to host computer;Upper computer software monitors whether host computer communication module stops stimulus, if stopping test, then stopping processes data, otherwise, continues with next group data, i.e. returns the pulling force and tensile elongation by calculating gained the most corresponding.
Cable cover(ing) tensile elongation measurement apparatus based on machine vision the most according to claim 1, the software flow that it is characterized in that described host computer communication module is: the network interface first carrying out host computer communication module initializes, IP address and the network port number of target host computer are set, create socket web socket, determine that network type is udp protocol;Then arranging IP address and the network port number of embedded controller, the data that will send pass to network character array, then by network interface, the cable cover(ing) value of thrust recorded and tensile elongation data are sent to host computer;Host computer monitors whether host computer communication module stops stimulus, if stopping test, then stops transmission data, otherwise, continues next group data of transmission, by network interface, the cable cover(ing) value of thrust recorded and tensile elongation data are sent to host computer.
Cable cover(ing) tensile elongation measurement apparatus based on machine vision the most according to claim 1, it is characterised in that described embedded controller uses the embedded platform with I.MX6Q chip as microprocessor.
8. a cable cover(ing) tensile elongation measuring method based on machine vision, uses the arbitrary described measurement apparatus of claim 1-7, and step is: pulling force drive mechanism is first connected with pulling force sensor, is connected with fixture the most again, and fixture is used for fixing cable cover(ing);Pulling force drive mechanism carries out pulling action by fixture has moved up and down cable cover(ing);Before the test, detected cable cover(ing) is marked with marking pen, by the distance between labelling point as the tensile elongation of cable cover(ing), is gathered the image information of cable cover(ing) by industrial camera, calculate the distance between labelling point, thus obtain the tensile elongation of cable cover(ing);By embedded controller, the data of collection are processed, and the data calculating gained are shown on the touch display screen of embedded controller, transfer data to host computer by netting twine;Host computer draws out, by processing the data received, the two-dimensional curve that pulling force suffered by cable cover(ing) is corresponding with tensile elongation, fills in form.
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 true CN105910539A (en) | 2016-08-31 |
CN105910539B 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) |
Cited By (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 |
CN108168437A (en) * | 2017-12-27 | 2018-06-15 | 海宁文硕科技咨询有限公司 | A kind of busbar in high tension distribution system stretches quantity measuring method |
CN108846397A (en) * | 2018-05-31 | 2018-11-20 | 浙江科技学院 | A kind of cable semi-conductive layer automatic testing method based on image procossing |
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 |
CN113569679A (en) * | 2021-07-19 | 2021-10-29 | 成都产品质量检验研究院有限责任公司 | Method, device and system for measuring elongation at break |
CN113776924A (en) * | 2021-09-10 | 2021-12-10 | 深圳市勤诚鑫科技有限公司 | Wire performance quality detection system and detection method |
CN114417903A (en) * | 2022-01-11 | 2022-04-29 | 江苏新安电器股份有限公司 | Production line PCBA material number rapid identification system |
CN115931572A (en) * | 2023-03-02 | 2023-04-07 | 阳谷领航电缆有限公司 | Special cable performance online installation detection method |
CN116067780A (en) * | 2023-03-03 | 2023-05-05 | 广西壮族自治区农业科学院 | Dwarf banana fruit finger dynamometer |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0755425A (en) * | 1993-08-06 | 1995-03-03 | Nissan Motor Co Ltd | Panel measuring equipment |
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 |
-
2016
- 2016-05-30 CN CN201610374243.0A patent/CN105910539B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0755425A (en) * | 1993-08-06 | 1995-03-03 | Nissan Motor Co Ltd | Panel measuring equipment |
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的电缆护套拉伸长度测量", 《电视技术》 * |
高振斌等: "基于机器视觉的电缆护套拉伸长度测量", 《自动化测试技术》 * |
Cited By (16)
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 |
CN108168437A (en) * | 2017-12-27 | 2018-06-15 | 海宁文硕科技咨询有限公司 | A kind of busbar in high tension distribution system stretches quantity measuring method |
CN108846397A (en) * | 2018-05-31 | 2018-11-20 | 浙江科技学院 | A kind of cable semi-conductive layer automatic testing method based on image procossing |
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 |
CN113569679A (en) * | 2021-07-19 | 2021-10-29 | 成都产品质量检验研究院有限责任公司 | Method, device and system for measuring elongation at break |
CN113569679B (en) * | 2021-07-19 | 2024-03-15 | 成都产品质量检验研究院有限责任公司 | Method, device and system for measuring elongation at break |
CN113776924A (en) * | 2021-09-10 | 2021-12-10 | 深圳市勤诚鑫科技有限公司 | Wire performance quality detection system and detection method |
CN114417903A (en) * | 2022-01-11 | 2022-04-29 | 江苏新安电器股份有限公司 | Production line PCBA material number rapid identification system |
CN115931572A (en) * | 2023-03-02 | 2023-04-07 | 阳谷领航电缆有限公司 | Special cable performance online installation detection method |
CN116067780A (en) * | 2023-03-03 | 2023-05-05 | 广西壮族自治区农业科学院 | Dwarf banana fruit finger dynamometer |
CN116067780B (en) * | 2023-03-03 | 2023-09-08 | 广西壮族自治区农业科学院 | Dwarf banana fruit finger dynamometer |
Also Published As
Publication number | Publication date |
---|---|
CN105910539B (en) | 2018-05-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105910539A (en) | Cable sheath tensile length measuring device and cable sheath tensile length measuring method based on machine vision | |
CN205642294U (en) | Cable sheathing stretched length measuring device based on machine vision | |
CN103986869A (en) | Image collecting and displaying device of high-speed TDICCD remote sensing camera | |
CN101033944A (en) | Measurement instrument and method suitable for remotely monitoring crack width of concrete | |
CN111090603B (en) | LVDS-to-USB 3.0 adapter | |
CN100562134C (en) | A kind of test macro of digital display device and method of testing thereof | |
CN102494618A (en) | Cable sheath tensile length detection apparatus | |
CN204944460U (en) | A kind of accurate detection screws the device of state | |
CN112181549A (en) | System and method for recognizing dynamic perception of power icon of transformer substation monitoring interface | |
CN107493377A (en) | A kind of thermal parameter harvester and method based on mobile terminal application | |
CN107367652A (en) | Obtain test device, test system and the method for testing of keyboard action | |
CN201936373U (en) | Hawk-eye bill identifier | |
CN107562590A (en) | Safe display unit Response Time Test System and method | |
CN201788156U (en) | Machine vision automatic detection control system for detonating tubes in civil explosion industry | |
CN208705355U (en) | A kind of Intelligent insulation operating stick | |
CN206741506U (en) | A kind of novel finger print collection, collection device | |
CN101794174A (en) | Device, image user equipment and method using light source for inputting | |
CN111272257A (en) | Transformer oil level monitoring system based on machine vision | |
CN211826231U (en) | Intelligent detection equipment | |
CN218150894U (en) | Four visual logging instruments of camera in pit | |
CN214409906U (en) | AR glasses are patrolled and examined to building intelligence based on raspberry group | |
CN203673469U (en) | Heating cable temperature and indoor temperature dual display device | |
CN102706454A (en) | USBTMC (Universal Serial Bus Traffic Message Channel) protocol specification based detection equipment of LED color and brightness | |
CN206177610U (en) | Be used for petroleum and petrochemical product information sampling recognition device | |
CN215682519U (en) | Online early warning device of electric power optic fibre port |
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 |
Granted publication date: 20180504 |
|
CF01 | Termination of patent right due to non-payment of annual fee |