CN115962839A - Spatial linear vibration measurement method based on machine vision - Google Patents
Spatial linear vibration measurement method based on machine vision Download PDFInfo
- Publication number
- CN115962839A CN115962839A CN202211237065.9A CN202211237065A CN115962839A CN 115962839 A CN115962839 A CN 115962839A CN 202211237065 A CN202211237065 A CN 202211237065A CN 115962839 A CN115962839 A CN 115962839A
- Authority
- CN
- China
- Prior art keywords
- laser
- linear vibration
- generating device
- vibration generating
- camera
- 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.)
- Pending
Links
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02T—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
- Y02T90/00—Enabling technologies or technologies with a potential or indirect contribution to GHG emissions mitigation
Abstract
The invention discloses a space linear vibration measuring method based on machine vision, which comprises the following steps of fixing a laser capable of generating two mutually perpendicular laser beams at the central position of a platform of a space linear vibration generating device, and ensuring that two laser beams generated by the laser form two circular light spots on a laser receiving panel in front of the vibration generating device; calibrating a camera by using a machine vision method, quickly positioning the areas where the two light spots are located aiming at the image characteristics on the laser receiving panel, and separating effective light spot information points and background noise information points in the light spot areas by using a reliable threshold segmentation algorithm; the light spot center position is obtained by fitting and resolving the light spot information points of each frame of image, so that the space linear vibration information generated by the space linear vibration generating device is obtained. According to the method, the measurement of the space linear vibration information can be completed only by matching one camera with one laser and one laser receiving panel, and the method has the advantages of high efficiency, simplicity and convenience and the like.
Description
Technical Field
The invention belongs to the field of vibration testing, and particularly relates to a space linear vibration measuring method based on machine vision.
Background
Vibration is a common phenomenon in the nature, and the vibration conditions of facilities and equipment need to be monitored in important fields such as buildings, aerospace and the like, so that the damage condition of the equipment structure caused by vibration fatigue is prevented. The spatial vibration condition can be expressed in a spatial coordinate system as linear vibration in three mutually perpendicular directions, the traditional vibration monitoring method usually utilizes a triaxial vibration sensor to carry out spatial vibration monitoring, however, due to the aging of internal sensitive elements of the sensor, the sensor needs to be periodically calibrated to ensure the validity of a measuring result, but the periodic calibration work of the sensor after the arrangement is difficult to carry out, so that the accuracy of the sensor in long-term work cannot be ensured; spatial vibrations can also be measured using optical devices such as laser vibrometers, but laser devices have high environmental requirements, can only be measured in laboratories, and are costly.
Disclosure of Invention
Aiming at the defects of inaccurate measurement, fixed monitoring position and the like of the traditional vibration monitoring method, the invention provides a simple, convenient, flexible and low-cost spatial vibration measuring method based on machine vision, which can greatly reduce the arrangement quantity of sensors for traditional vibration monitoring and measure spatial vibration information at any position, and specifically comprises the following steps:
firstly, fixing a laser at the central position of a platform of a spatial linear vibration generating device, and ensuring that two beams of mutually vertical lasers generated by the laser form two circular light spots on a laser receiving panel in front of the vibration generating device; calibrating a camera by using a machine vision method to obtain an H matrix of the plane conversion relation between the camera and the laser receiving panel,
wherein the parameter h 11 ,h 12 ,h 13 ,h 21 ,h 22 ,h 23 ,h 31 ,h 32 ,h 33 Common watchThe internal reference and the external reference of the camera are achieved.
Sequence image F of j frame laser motion collected by camera j (x, y), performing convolution operation on each frame of image and the mean value filtering convolution kernel g (x, y) to obtain processed j frames of light spot moving images M j (x,y),
At M j Searching the maximum gray level of each frame of image in (x, y), rapidly positioning the region where the light spot of each frame is located, determining the region of interest R of each frame of image, and performing light spot sub-region R on the region of interest R by using the optimal threshold k obtained by the maximum inter-class variance 1 And a background subregion R 2 And (4) dividing.
Wherein p is 1 M is the probability that the gray scale of a certain pixel in the R region is less than the gray scale threshold k G Is the mean value of the grays of the R region, m is the mean value of the grays with the gray level k,
wherein, mu i The probability of the gray level of the pixel point being i is shown.
For light spot R 1 Set of pixel gray levels in region { R 1 (x, y) } obtaining the center of the light spot by Gaussian fitting,
wherein A is the gray peak value of the light spot, and the fitted central coordinate of the light spot is (x) center ,y center ),Is x-axis standard deviation,. Sup.>Is the standard deviation of the y-axis.
For each frame image M j (x j ,y j ) R of (A) to (B) 1 Two spot centers (x) of the laser are obtained by the formula (5) in the region jL1, y jL1 )、(x jL2, y jL2 ) The spatial vibration information (d) of the j-th frame of the vibration generating device is calculated by the following formula xj ,d yj ,d zj )。
And theta is an included angle between the AB axis of the laser and the XY axis of the platform coordinate system of the spatial linear vibration generating device. Position information (d) of the linear spatial vibration generated by the linear spatial vibration generating device is obtained xj ,d yj ,d zj ) Then, to (d) xj ,d yj ,d zj ) The velocity (v) of the linear vibration in space can be obtained by performing first and second differentiation xj ,v yj ,v zj ) And acceleration (a) xj ,a yj ,a zj ) And (4) information.
The space linear vibration measuring method based on the machine vision has the following advantages that:
(1) The method can accurately measure the space vibration information of the space linear vibration generating device through one camera.
(2) The method is portable and efficient, can quickly replace the measuring position and the measuring object, and measures the spatial linear vibration generated at any position.
(3) The cost of the measuring equipment used in the method is greatly reduced compared with the cost of the traditional measuring method.
Drawings
FIG. 1 is a schematic diagram of an apparatus according to an embodiment of the present invention.
FIG. 2 is a flow chart of the method of the present invention.
Detailed Description
Aiming at the defects of inaccurate measurement, fixed monitoring position and the like of the traditional vibration monitoring method, the invention provides a portable and efficient space vibration measuring method based on machine vision, which realizes accurate measurement of space vibration information at any position and specifically comprises the following steps: the invention is described in detail below with reference to the drawings and specific examples.
The device mainly includes: the device comprises a space linear vibration generating device (1), a laser (2), a laser receiving panel (3), a laser spot (4), a camera (5) and a data processing and displaying unit (6).
The space linear vibration generating device (1) generates space linear motion according to given parameters; the laser (2) is arranged in the direction of the space linear vibration generating device (1) opposite to the laser receiving panel (3), the laser receiving panel (3) receives two laser spots (4), and the space linear vibration generating device (1), the laser (2) and the two laser spots (4) have the same motion characteristic; the camera (5) is erected behind the laser receiving panel (3) and is used for acquiring motion information of the two laser spots (4); the data processing and displaying unit (6) is used for resolving the data collected by the camera (5) and outputting and storing the measuring result.
Fig. 2 is a flow chart of the invented machine vision-based spatial linear vibration measurement method. The measuring method mainly comprises the following steps:
s1, fixing a laser at the central position of a platform of a spatial linear vibration generating device, and ensuring that two mutually vertical laser beams emitted by the laser fixed on the platform form two circular light spots on a laser receiving panel in front of the vibration generating device;
s2, fixing a camera behind the laser receiving panel, determining the conversion relation between the laser receiving panel and a camera pixel coordinate system by utilizing camera calibration, and acquiring motion sequence images of two light spots by the camera;
s3, carrying out mean filtering on the image, searching the position of the maximum gray value of the image, rapidly positioning the area where the light spot is located, determining the region of interest of the image, and separating effective light spot information points and background noise information points in the light spot area through a threshold segmentation algorithm;
s4, carrying out Gaussian fitting on two effective information points of the light spots in each frame of image to obtain change information of the center position of the light spots, and resolving to obtain vibration information of the space linear vibration generating device;
the embodiment device uses a camera (OS 10-4K) with 900 ten thousand pixels and a frame rate of 1000fps to acquire the motion information of two light spots on a laser receiving panel, and the vibration displacement information of the spatial linear vibration generating device is obtained by resolving images acquired by the camera through a data processing and display unit;
in order to verify the measuring precision of the space linear vibration based on the machine vision, the method is compared with vibration measuring information of a laser interferometry in a range of 0.1-1.25 Hz, wherein the table 1 is the vibration displacement information of an X axis of a space linear vibration generating device measured by a specific implementation example of the method and the laser interferometry, the table 2 is the vibration displacement information of a Y axis of the space linear vibration generating device measured by the specific implementation example of the method and the laser interferometry, and the table 3 is the vibration displacement information of a Z axis of the space linear vibration generating device measured by the specific implementation example of the method and the laser interferometry. The maximum relative deviation of the vibration measurement of the method of the invention and the laser method is about 1%.
TABLE 1
TABLE 2
TABLE 3
The above description is a detailed description of an example embodiment of the invention and is not intended to limit the invention in any way. The invention is capable of many modifications, improvements and adaptations by those skilled in the art. Accordingly, the scope of the invention should be determined from the following claims.
Claims (6)
1. A space linear vibration measuring method based on machine vision is characterized in that: the measuring method comprises the following steps of,
s1, fixing a laser at the central position of a platform of a spatial linear vibration generating device, and ensuring that two mutually vertical laser beams emitted by the laser fixed on the platform form two circular light spots on a laser receiving panel in front of the vibration generating device;
s2, fixing a camera behind the laser receiving panel, determining the conversion relation between a coordinate system of the laser receiving panel and a pixel coordinate system of the camera by utilizing camera calibration, and acquiring motion sequence images of two light spots by the camera;
s3, carrying out mean filtering on the image, searching the position of the maximum gray value of the image, rapidly positioning the area where the light spot is located, determining the region of interest of the image, and separating effective light spot information points and background noise information points in the light spot area through a threshold segmentation algorithm;
and S4, carrying out Gaussian fitting on the two effective information points of the light spots in each frame of image to obtain the change information of the center position of the light spots, and calculating to obtain the vibration information of the space linear vibration generating device.
2. The machine vision-based spatial linear vibration measurement method according to claim 1, characterized in that:
horizontally fixing a laser at the center of a platform of a spatial linear vibration generating device, establishing a coordinate system O-XYZ of the spatial linear vibration generating device by taking the center O of the platform as an original point, establishing a laser coordinate system O-ABC by using two laser rays A and B and a normal C of a surface formed by the two laser rays A and B, mapping motion information of the spatial linear vibration generating device to a laser receiving panel through a laser beam, and presenting two circular laser spots on the laser receiving panel; and then, generating spatial linear vibration with different frequencies and amplitudes along the X axis, the Y axis and the Z axis of the motion platform of the spatial linear vibration generating device by controlling the motion platform of the spatial linear vibration generating device.
3. The machine vision-based spatial linear vibration measurement method according to claim 1, characterized in that:
a camera for shooting two light spots is fixed behind the laser receiving panel; firstly, acquiring a conversion relation H matrix of a coordinate system of a plane where light spots are located and a camera pixel coordinate by using a camera calibration method, and then acquiring j frames of light spot moving images F j (x,y);
Wherein the parameter h 11 ,h 12 ,h 13 ,h 21 ,h 22 ,h 23 ,h 31 ,h 32 ,h 33 The internal and external parameters of the camera are expressed together.
4. The machine vision-based spatial linear vibration measurement method according to claim 1, characterized in that:
creating 5-by-5 mean value filtering convolution kernel g (x, y), and carrying out motion image F on the collected j frames of light spots j Convolving (x, y) with g (x, y) one by one to obtain processed j frames of spot moving images M j (x,y),
At M j Finding out the maximum gray point of each frame in (x, y), determining the position of the light spot of the jth frame, expanding the region of interest R taking the point as the center and 20 x 20 as the jth frame, and utilizing the maximum between-class variance S 2 Determining an optimal gray threshold k capable of separating light spot information and background information in the R region;
wherein p is 1 M is the probability that the gray level of a certain pixel in the R region is less than the gray level threshold k G Is the mean value of the grays of the R region, m is the mean value of the grays with the gray level k,
wherein, mu i The probability when the gray level of the pixel point is i is obtained;
dividing the R region by using the optimal division threshold value to obtain a light spot information region R larger than a gray threshold value k 1 And background R less than a gray threshold k 2 Two regions.
5. The machine vision-based spatial linear vibration measurement method according to claim 1, characterized in that:
for light spot R 1 Set of pixel gray levels in region { R 1 (x, y) } fitting the center of the light spot by using a Gaussian fitting method
Wherein A is the gray peak value of the light spot, and the fitted central coordinate of the light spot is (x) center ,y center ),Is x-axis standard deviation,. Sup.>Is the y-axis standard deviation; for each frame image M j (x j ,y j ) R of (A) to (B) 1 Two facula centers (x) of the laser are obtained by the area using the formula (5) jL1, y jL1 )、(x jL2, y jL2 ) Using the following formulaCalculating spatial vibration information (d) of j-th frame of vibration generating device xj ,d yj ,d zj );
Wherein theta is an included angle between an AB axis of the laser and an XY axis of a platform coordinate system of the spatial linear vibration generating device;
to (d) xj ,d yj ,d zj ) The velocity (v) of the linear vibration in space can be obtained by performing first and second differentiation xj ,v yj ,v zj ) And acceleration (a) xj ,a yj ,a zj ) And (4) information.
6. The machine-vision-based spatial linear vibration measurement method according to claim 1, characterized in that:
the device for realizing the method comprises the following steps: the device comprises a spatial linear vibration generating device (1), a laser (2), a laser receiving panel (3), a laser spot (4), a camera (5) and a data processing and displaying unit (6);
the space linear vibration generating device (1) generates space linear vibration according to given parameters; the laser (2) is arranged in the direction of the spatial linear vibration generating device (1) opposite to the laser receiving panel (3), the laser receiving panel (3) receives the two laser spots (4), and the spatial linear vibration generating device (1), the laser (2) and the two laser spots (4) have consistent motion characteristics; the camera (5) is erected behind the laser receiving panel (3) and is used for acquiring motion information of the two laser spots (4); the data processing and displaying unit (6) is used for resolving the data collected by the camera (5) and outputting and storing the measuring result.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211237065.9A CN115962839A (en) | 2022-10-10 | 2022-10-10 | Spatial linear vibration measurement method based on machine vision |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211237065.9A CN115962839A (en) | 2022-10-10 | 2022-10-10 | Spatial linear vibration measurement method based on machine vision |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115962839A true CN115962839A (en) | 2023-04-14 |
Family
ID=87351769
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211237065.9A Pending CN115962839A (en) | 2022-10-10 | 2022-10-10 | Spatial linear vibration measurement method based on machine vision |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115962839A (en) |
-
2022
- 2022-10-10 CN CN202211237065.9A patent/CN115962839A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109632085B (en) | Monocular vision-based low-frequency vibration calibration method | |
JP3511450B2 (en) | Position calibration method for optical measuring device | |
CN1158684A (en) | Method and appts. for transforming coordinate systems in an automated video monitor alignment system | |
JP3421299B2 (en) | Apparatus and method for measuring viewing angle dependence and location dependence of luminance | |
CN113204004A (en) | Laser radar calibration device and method | |
EP3709270A1 (en) | Registration of individual 3d frames | |
CN109712157B (en) | Gravity field method accelerometer calibration method based on monocular vision | |
CN111207670A (en) | Line structured light calibration device and method | |
CN111457942B (en) | Plane height-fixing calibration device | |
CN113916128A (en) | Method for improving precision based on optical pen type vision measurement system | |
CN112432693B (en) | Tracing method and device for machine vision low-frequency vibration measurement | |
CN112116665B (en) | Structural light sensor calibration method | |
US11816844B2 (en) | Method for measuring angular velocity and angular acceleration based on monocular vision | |
CN110873558B (en) | Distance and attitude angle measuring device and method | |
CN115962839A (en) | Spatial linear vibration measurement method based on machine vision | |
CN105758339B (en) | Optical axis and object plane measuring for verticality method based on geometric error correction technique | |
CN116202423A (en) | Line laser two-dimensional positioning method based on laser triangulation ranging | |
CN112233183A (en) | 3D structured light module support calibration method, device and equipment | |
CN114119747B (en) | Three-dimensional flow field flow display method based on PMD wave front detection | |
US20220113333A1 (en) | Method for calibrating linear vibration and angular vibration based on monocular vision | |
CN115482276A (en) | High-precision calibration method based on phase shift deflection measurement system | |
CN105333818A (en) | 3D space measurement method based on monocular camera | |
CN105841636B (en) | Optical axis and object plane measuring for verticality method based on parts moving linearly error compensation | |
CN114062265A (en) | Method for evaluating stability of supporting structure of visual system | |
US20230069195A1 (en) | Camera module manufacturing device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |