A real-time visual detection method and system for diamond wire fracture
Through real-time visual detection methods, combined with vibration detection and image acquisition technology, the status of diamond lines is monitored in real time and the fracture risk value is calculated, which solves the problems of traditional fracture monitoring instability and time-consuming manual detection, and achieves higher production stability and safety.
Patent Information
- Application Number
- CN202510000177.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-02
- Publication Date
- 2025-04-01
- Estimated Expiration
- 2045-01-02
AI Technical Summary
The lack of effective fracture monitoring methods in the traditional diamond wire cutting process leads to unstable production process and manual inspections are time-consuming and inconsistent.
The real-time visual detection method is adopted to monitor the torsion deformation, vibration signal and wear degree of diamond lines in real time through the vibration detection unit and the image acquisition unit, and calculate the fracture risk value based on the signal energy spectrum and texture entropy value.
It significantly improves the fracture detection capability during the diamond wire cutting process, ensures the stability of the production process, improves the safety of the diamond wire use, and provides an effective early warning mechanism.
Smart Images

Figure CN119399198B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of visual detection technology, and in particular to a real-time visual detection method and system for diamond wire fracture. Background Art
[0002] With the advancement of manufacturing and the increasing demand for high-precision products, the application of real-time visual inspection technology in industrial production has become increasingly important. Diamond wire is widely used in the semiconductor and optoelectronic industries, and its cutting accuracy directly affects the quality of the final product. However, during the cutting process, factors such as wear, torsional deformation, and vibration of the diamond wire may cause it to break.
[0003] Traditional detection methods mostly rely on manual inspection, which is not only time-consuming, but also difficult to ensure consistency and accuracy. In addition, the diamond wire will produce complex dynamic changes during the cutting process, such as torsion, vibration and wear. These dynamic changes are the root cause of fracture. How to accurately obtain these dynamic changes and analyze them is an important difficulty in current technical research. Therefore, how to effectively improve the fracture monitoring capability during the diamond wire cutting process and ensure the stability of the production process is a technical challenge that needs to be solved urgently. Summary of the invention
[0004] The present invention provides a real-time visual detection method and system for diamond wire fracture, the main purpose of which is to improve the fracture detection capability during the diamond wire cutting process and ensure the stability of the production process.
[0005] To achieve the above object, the present invention provides a real-time visual detection method for diamond wire fracture, comprising:
[0006] Receive a detection instruction of the diamond wire, use the detection instruction to start a pre-built diamond wire detection unit and set the cutting speed and feeding speed of the diamond wire, wherein the diamond wire detection unit includes: a vibration detection unit and an image acquisition unit, wherein the vibration detection unit is placed directly below the diamond wire, and the image acquisition unit is placed directly above the diamond wire;
[0007] Execute cutting based on the cutting speed and feed speed and calculate the torsional deformation of the diamond wire in real time;
[0008] Determining whether the torsional deformation of the diamond wire is within a preset deformation range;
[0009] If the torsional deformation of the diamond wire is within the deformation range, returning to the above step of performing cutting based on the cutting speed and the feeding speed and calculating the torsional deformation of the diamond wire in real time;
[0010] If the torsional deformation of the diamond wire is not within the deformation range, performing vibration detection on the diamond wire based on the vibration detection unit to obtain a diamond wire vibration signal, and performing frequency domain conversion on the diamond wire vibration signal to obtain a diamond wire frequency domain signal;
[0011] Perform energy calculation based on the diamond wire frequency domain signal to obtain a signal energy spectrum;
[0012] Utilizing the image acquisition unit to continuously acquire images of the diamond wire to obtain an acquired image set, and performing image optimization on the acquired image set to obtain an optimal image;
[0013] Acquire an initial texture entropy value of the diamond wire, and calculate the degree of wear based on the initial texture entropy value and the optimal image;
[0014] Based on the signal energy spectrum, the diamond wire frequency domain signal is subjected to signal decomposition to obtain a signal component set, and an energy value of each signal component in the signal component set is calculated;
[0015] The fracture risk value is calculated based on the wear degree and energy value, and real-time visual inspection is completed.
[0016] Optionally, the performing cutting based on the cutting speed and the feeding speed and calculating the torsional deformation of the diamond wire in real time includes:
[0017] Get the cutting radius and cutting parameters, and calculate the diamond wire torque based on the cutting radius, cutting parameters, cutting speed and feed speed:
[0018] ;
[0019] in, Refers to the diamond wire torque, Refers to the cutting parameters, Refers to the cutting speed, Refers to the feed speed, Refers to the cutting radius;
[0020] Get the length of the diamond wire, the polar moment of inertia of the diamond wire, and the shear modulus of the diamond wire, and calculate the torsional deformation of the diamond wire based on the length of the diamond wire, the polar moment of inertia of the diamond wire, the shear modulus of the diamond wire, and the torque of the diamond wire:
[0021] ;
[0022] in, Refers to the torsional deformation of the diamond wire. Refers to the length of the diamond wire, Refers to the polar moment of inertia of the diamond wire, Refers to the shear modulus of diamond wire.
[0023] Optionally, the converting the diamond wire vibration signal into a frequency domain to obtain a diamond wire frequency domain signal comprises:
[0024] Get the number of sampling points, set the window length based on the number of sampling points, and build a window function based on the number of sampling points and window length:
[0025] ;
[0026] ;
[0027] in, Refers to the window function, Refers to the number of sampling points, refers to the cosine function, Refers to pi, Refers to the window length;
[0028] Performing signal processing on the diamond wire vibration signal based on the window function to obtain an adjusted vibration signal;
[0029] Obtain the imaginary unit and frequency, and construct a frequency domain conversion function based on the imaginary unit, frequency, adjusted vibration signal, number of sampling points and window length:
[0030] ;
[0031] in, Refers to the frequency domain conversion function, Refers to adjusting the vibration signal, Refers to the natural constants, refers to the imaginary unit, Refers to frequency;
[0032] The diamond wire vibration signal is converted into a diamond wire frequency domain signal based on the frequency domain conversion function.
[0033] Optionally, performing energy calculation based on the diamond wire frequency domain signal to obtain a signal energy spectrum includes:
[0034] The signal energy spectrum is calculated using the following formula:
[0035] ;
[0036] in, refers to the signal energy spectrum, Refers to the absolute value symbol.
[0037] Optionally, performing image optimization on the acquired image set to obtain an optimal image includes:
[0038] Converting the collected images in the collected image set into grayscale images, performing calculations on the grayscale images using a preset Laplace operator and extracting edge strength;
[0039] Get the maximum and minimum grayscale values of the grayscale image, and calculate the image contrast based on the maximum and minimum grayscale values:
[0040] ;
[0041] in, Refers to the image contrast, Refers to the maximum gray value, Refers to the minimum gray value;
[0042] Calculate the texture detail entropy value of the acquired image;
[0043] Obtain edge coefficients and texture coefficients, and calculate image quality based on the edge strength, texture detail entropy value, edge coefficients and texture coefficients:
[0044] ;
[0045] in, Refers to image quality, Refers to the texture detail entropy value, refers to the texture coefficient, Refers to the edge strength, Refers to the marginal coefficient;
[0046] Filter the acquired images with the highest image quality to obtain the optimal image.
[0047] Optionally, calculating the texture detail entropy value of the acquired image includes:
[0048] Obtain pixel pair combinations and grayscale combinations, traverse all adjacent pixel pair combinations in the grayscale image and count the number of occurrences of each grayscale combination, normalize the number of occurrences, and obtain a probability matrix;
[0049] Get the total number of elements, grayscale, row index and column index, and calculate the texture detail entropy value based on the probability matrix, the total number of elements, grayscale, row index and column index:
[0050] ;
[0051] in, Refers to the number of gray levels, Refers to the row index, Refers to the column index, refers to the total number of elements, The row index in the probability matrix is , the column index is elements.
[0052] Optionally, calculating the degree of wear based on the initial texture entropy value and the optimal image includes:
[0053] Calculate the optimal texture entropy value of the optimal image, obtain the initial contrast, adjustment parameter, roughness parameter, current surface roughness and initial surface roughness, and calculate the degree of wear based on the initial texture entropy value, optimal texture entropy value, initial contrast, adjustment parameter, roughness parameter, current surface roughness, initial surface roughness and image contrast:
[0054] ;
[0055] in, Refers to the degree of wear, refers to the optimal texture entropy value, refers to the initial texture entropy value, Refers to the adjustment parameters, refers to the initial contrast, refers to the roughness parameter, Refers to the current surface roughness, Refers to the initial surface roughness.
[0056] Optionally, performing signal decomposition on the diamond wire frequency domain signal based on the signal energy spectrum to obtain a signal component set includes:
[0057] Perform extreme value identification on the signal energy spectrum to obtain a maximum energy set, perform boundary confirmation based on the maximum energy set to obtain a component mode number;
[0058] The preset variational mode decomposition and the number of component modes are used to perform signal decomposition on the diamond wire frequency domain signal to obtain a signal component set.
[0059] Optionally, the fracture risk value is obtained by calculating based on the wear degree and energy value:
[0060] Calculate the fracture risk value based on the wear degree and energy values:
[0061] ;
[0062] in, refers to the fracture risk value, Refers to the energy value.
[0063] To achieve the above object, the present invention also provides a real-time visual detection system for diamond wire fracture, comprising:
[0064] A torsional deformation calculation module, used to receive a detection instruction of a diamond wire, use the detection instruction to start a pre-built diamond wire detection unit and set the cutting speed and feed speed of the diamond wire, wherein the diamond wire detection unit includes: a vibration detection unit and an image acquisition unit, wherein the vibration detection unit is placed directly below the diamond wire, and the image acquisition unit is placed directly above the diamond wire; based on the cutting speed and feed speed, cutting is performed and the torsional deformation of the diamond wire is calculated in real time;
[0065] A frequency domain signal conversion module is used to determine whether the torsional deformation of the diamond wire is within a preset deformation range; if the torsional deformation of the diamond wire is within the deformation range, return to the above-mentioned step of performing cutting based on the cutting speed and the feed speed and calculating the torsional deformation of the diamond wire in real time; if the torsional deformation of the diamond wire is not within the deformation range, perform vibration detection on the diamond wire based on the vibration detection unit to obtain a diamond wire vibration signal, and perform frequency domain conversion on the diamond wire vibration signal to obtain a diamond wire frequency domain signal;
[0066] An optimal image acquisition module is used to perform energy calculation based on the diamond wire frequency domain signal to obtain a signal energy spectrum; use the image acquisition unit to perform continuous image acquisition on the diamond wire to obtain an acquired image set, and perform image optimization on the acquired image set to obtain an optimal image;
[0067] The fracture risk value calculation module is used to obtain the initial texture entropy value of the diamond wire, and calculate the degree of wear based on the initial texture entropy value and the optimal image; perform signal decomposition on the frequency domain signal of the diamond wire based on the signal energy spectrum to obtain a signal component set, and calculate the energy value of each signal component in the signal component set; calculate based on the wear degree and the energy value to obtain the fracture risk value, and complete real-time visual detection.
[0068] In order to solve the above problem, the present invention further provides an electronic device, the electronic device comprising:
[0069] A memory storing at least one instruction;
[0070] A processor executes instructions stored in the memory to implement the above-mentioned real-time visual detection method for diamond wire fracture.
[0071] In order to solve the above problem, the present invention also provides a computer-readable storage medium, in which at least one instruction is stored. The at least one instruction is executed by a processor in an electronic device to implement the above-mentioned real-time visual detection method for diamond wire breakage.
[0072] In order to solve the problems described in the background technology, the present invention realizes real-time visual detection of diamond wire fracture by combining the detection instruction of receiving diamond wire and constructing a comprehensive detection process covering multiple steps such as real-time calculation of torsional deformation, vibration detection, frequency domain conversion and image acquisition. It not only ensures the accurate monitoring of the state of the diamond wire during the cutting process, but also obtains the wear degree of the diamond wire in real time through image acquisition and image analysis technology, which significantly improves the safety of the use of diamond wire. In addition, through systematic signal energy calculation and risk assessment, potential fracture risks can be discovered in time, and effective early warning can be provided to operators, meeting the high-safety detection needs in the modern manufacturing field. First, the detection instruction of the diamond wire is received, and the pre-constructed diamond wire detection unit is started. By receiving the detection instruction, the diamond wire detection unit can be quickly enabled to realize dynamic monitoring of the diamond wire status. This instant response capability ensures the efficiency of the detection process and helps to discover potential problems in a timely manner, thereby improving production safety. Secondly, the cutting speed and feed speed of the diamond wire are set, and the torsional deformation of the diamond wire is calculated in real time based on the cutting speed and feed speed. By accurately setting the cutting speed and feed speed, it is ensured that the diamond wire is cut under the operating parameters, which not only improves the cutting quality, but also reduces the wear rate of the diamond wire and extends its service life. The torsional deformation of the diamond wire is calculated in real time, and the deformation changes caused by cutting can be identified in time. This process helps to monitor the working status of the diamond wire and avoid breakage caused by excessive deformation. Thereby improving the continuity and stability of production; then, judging whether the torsional deformation of the diamond wire is within the preset deformation range, and judging whether the torsional deformation is within the safe range in real time, the potential risk of breakage can be effectively prevented, and when the deformation exceeds the range, further operation is performed on the diamond wire; then, vibration detection is performed on the diamond wire based on the vibration detection unit, and the vibration signal of the diamond wire during the cutting process can be obtained through vibration detection, which provides an important basis for judging the health status of the diamond wire and can effectively predict the possible risk of breakage; further, the vibration signal of the diamond wire is converted into the frequency domain to obtain the frequency domain signal of the diamond wire. The frequency domain analysis can reveal the potential problems of the diamond wire during the cutting process and help technicians diagnose the status of the diamond wire more accurately; then , by calculating the signal energy spectrum, quantifying the vibration intensity of the diamond wire, and further analyzing its working status and health; then, using the image acquisition unit to perform continuous image acquisition, the acquired image set provides visual data of the diamond wire cutting process, enhancing the monitoring ability of its status, and by analyzing the acquired images, the wear and fracture status of the diamond wire can be better judged; then, image optimization is performed on the acquired image set to obtain the optimal image and obtain the initial texture entropy value of the diamond wire. Based on the calculated wear degree, the image optimization process can ensure the best image quality used for analysis and reduce noise and interference. This process improves the accuracy of subsequent analysis, making the fracture detection of the diamond wire more reliable. Calculate the initial texture entropy value and quantify the wear of the diamond wire;Finally, the fracture risk value is calculated based on the wear degree and energy value. By comprehensively analyzing the wear degree and signal energy, the fracture risk of the diamond wire can be accurately evaluated to improve the stability of production. Therefore, the present invention can improve the fracture detection capability during the diamond wire cutting process and ensure the stability of the production process. ; BRIEF DESCRIPTION OF THE DRAWINGS
[0073] Figure 1 A schematic flow chart of a real-time visual detection method for diamond wire fracture provided by one embodiment of the present invention;
[0074] Figure 2 A functional module diagram of a real-time visual detection system for diamond wire fracture provided by an embodiment of the present invention;
[0075] Figure 3 A schematic structural diagram of an electronic device for implementing the real-time visual detection method for diamond wire fracture provided in one embodiment of the present invention.
[0076] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0077] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0078] The embodiment of the present application provides a real-time visual detection method for diamond wire fracture. The execution subject of the real-time visual detection method for diamond wire fracture includes but is not limited to at least one of the electronic devices such as a server and a terminal that can be configured to execute the method provided by the embodiment of the present application. In other words, the real-time visual detection method for diamond wire fracture can be executed by software or hardware installed on a terminal device or a server device, and the software can be a blockchain platform. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, etc.
[0079] Reference Figure 1 FIG. 1 is a flow chart of a real-time visual detection method for diamond wire fracture provided by an embodiment of the present invention. In this embodiment, the real-time visual detection method for diamond wire fracture includes:
[0080] S1. Receive a detection instruction of the diamond wire, use the detection instruction to start a pre-built diamond wire detection unit and set the cutting speed and feed speed of the diamond wire, wherein the diamond wire detection unit includes: a vibration detection unit and an image acquisition unit, wherein the vibration detection unit is placed directly below the diamond wire, and the image acquisition unit is placed directly above the diamond wire.
[0081] It can be explained that the detection instruction of the diamond wire refers to the instruction initiated manually, which is used to start the diamond wire detection unit. The diamond wire detection unit refers to the unit that detects the diamond wire. The detection of the diamond wire detection unit can determine whether the diamond wire will break. The cutting speed refers to the linear speed of the diamond wire moving relative to the workpiece surface during the cutting process. The cutting speed directly affects the cutting efficiency and cutting accuracy. If the cutting speed is too high, the diamond wire is prone to overheat or break, affecting its service life. If the cutting speed is too low, the cutting time will be too long, affecting production efficiency. The workpiece refers to the material cut by the diamond wire. The feed speed refers to the vertical feed speed of the workpiece relative to the diamond wire during the diamond wire cutting process. The feed speed determines the cutting depth and uniformity of the workpiece. If the feed speed is too fast, it will cause uneven cutting or rough workpiece surface. If the feed speed is too slow, the cutting efficiency will be reduced. The cutting efficiency refers to the number of cutting tasks completed per unit time. The cutting accuracy refers to the degree of closeness between the parameters of the finished product obtained after the diamond wire cuts the workpiece and the pre-set parameters.
[0082] It can be understood that the vibration detection unit refers to a unit for detecting the vibration of the diamond wire, and the image acquisition unit refers to a unit for acquiring images of the diamond wire, which is an industrial camera Basler acA2000-165um. The texture entropy value of the diamond wire can be obtained from the acquired image. The texture entropy value of the diamond wire refers to an indicator of the amount of information in the acquired image. The degree of wear of the diamond wire can be calculated based on the texture entropy value of the diamond wire. The degree of wear of the diamond wire refers to the degree to which the surface characteristics of the diamond wire change due to friction, cutting force or other factors during use. The degree of wear directly affects the cutting efficiency, accuracy and service life of the diamond wire. The surface characteristics refer to the roughness, defect density and brightness of the diamond wire surface. The roughness reflects the subtle height differences of the diamond wire surface, which is represented by the change in the image grayscale value. The image grayscale value refers to the image acquired by the image acquisition unit. The grayscale value of the image collected. Defect density refers to the number of physical defects such as cracks, pits, particle shedding, and wear marks per unit area on the surface of the diamond wire. Defect density is an important indicator for measuring the quality of the diamond wire and its working condition. It is used to evaluate the wear degree and cutting performance of the diamond wire. The cutting performance refers to the comprehensive performance of the diamond wire in the cutting process, including cutting efficiency, cutting accuracy and cutting stability. The cutting stability refers to the stability of the interaction between the diamond wire and the workpiece. Brightness refers to the changes in the visual characteristics of the surface of the diamond wire due to wear, pollution, oxidation or other external factors during use. By detecting these changes, the wear degree of the diamond wire can be evaluated.
[0083] For example, Xiao Zhang is a staff member of a factory. One day, Xiao Zhang needs to perform real-time visual inspection of the breakage of the diamond wire, so Xiao Zhang issues a diamond wire inspection instruction, starts the diamond wire inspection unit according to the inspection instruction, and sets the cutting speed and feed speed of the diamond wire. Based on the cutting speed and feed speed, the diamond wire cutting is started, and the breakage of the diamond wire is inspected in real time visually through the diamond wire inspection unit.
[0084] S2. Execute cutting based on the cutting speed and feed speed and calculate the torsional deformation of the diamond wire in real time.
[0085] It can be explained that the torsional deformation of the diamond wire refers to the twisting of the diamond wire along its axis due to the torque applied to the diamond wire during the cutting process, which will affect the cutting accuracy of the diamond wire.
[0086] In detail, the cutting is performed based on the cutting speed and the feeding speed and the torsional deformation of the diamond wire is calculated in real time, including:
[0087] Get the cutting radius and cutting parameters, and calculate the diamond wire torque based on the cutting radius, cutting parameters, cutting speed and feed speed:
[0088] ;
[0089] in, Refers to the diamond wire torque, Refers to the cutting parameters, Refers to the cutting speed, Refers to the feed speed, Refers to the cutting radius;
[0090] Get the length of the diamond wire, the polar moment of inertia of the diamond wire, and the shear modulus of the diamond wire, and calculate the torsional deformation of the diamond wire based on the length of the diamond wire, the polar moment of inertia of the diamond wire, the shear modulus of the diamond wire, and the torque of the diamond wire:
[0091] ;
[0092] in, Refers to the torsional deformation of the diamond wire. Refers to the length of the diamond wire, Refers to the polar moment of inertia of the diamond wire, Refers to the shear modulus of diamond wire.
[0093] It can be explained that the cutting radius refers to the effective radius of contact between the diamond wire and the workpiece, which indicates the area where the diamond wire contacts the workpiece. The cutting parameter refers to an empirical coefficient related to the cutting force. The cutting force can be calculated based on the cutting parameters, cutting speed and feed speed. The cutting force refers to the force acting on the diamond wire during the cutting process, that is, the force required for the diamond wire to process the workpiece. The diamond wire length refers to the effective length of the diamond wire, that is, the length of the diamond wire that actually participates in the cutting process. This length is different from the total length of the diamond wire, and not the entire diamond wire is performing effective cutting work. The polar moment of inertia of the diamond wire refers to a physical quantity that resists the torsional deformation of the diamond wire during the cutting process. The shear modulus of the diamond wire refers to the stiffness of the diamond wire when it is subjected to shear force.
[0094] For example, assuming that the cutting speed is 1.5 m / s, the feed speed is 0.2 m / s, the diamond wire diameter is 0.005 m, the cutting parameter is 10, the cutting radius is 0.0025 m, the diamond wire length is 2.0 m, and the diamond wire polar moment of inertia is , the shear modulus of diamond wire is , first, calculate the cutting force using cutting parameters, cutting speed and feed speed:
[0095] ;
[0096] in, Refers to the cutting force;
[0097] , Secondly, the diamond wire torque is calculated using the cutting force and cutting radius: Finally, the torsional deformation of the diamond wire is calculated according to the diamond wire torque, diamond wire length, diamond wire polar moment of inertia and diamond wire shear modulus: .
[0098] S3. Determine whether the torsional deformation of the diamond wire is within a preset deformation range.
[0099] It can be explained that the deformation range refers to a range of torsional deformation. The deformation range is related to the cutting process parameters of the diamond wire and the specific application scenario. If it is not within this range, the risk of diamond wire breakage will increase. The cutting process parameters refer to the cutting speed, feed speed and other parameters when the diamond wire is cutting.
[0100] If the torsional deformation of the diamond wire is within the deformation range, the process returns to the above step of performing cutting based on the cutting speed and the feeding speed and calculating the torsional deformation of the diamond wire in real time.
[0101] If the torsional deformation of the diamond wire is not within the deformation range, S4 is executed, performing vibration detection on the diamond wire based on the vibration detection unit to obtain a diamond wire vibration signal, and performing frequency domain conversion on the diamond wire vibration signal to obtain a diamond wire frequency domain signal.
[0102] It can be explained that the diamond wire vibration signal refers to the signal generated by the mechanical vibration caused by the cutting operation of the diamond wire during the diamond wire cutting process. These signals can be monitored and recorded by a vibration detection unit, reflecting the behavior experienced by the diamond wire during the cutting process and the interaction between the workpiece and the diamond wire. The diamond wire vibration signal is a time domain signal. The time domain signal refers to the representation of the signal in the time dimension, which is usually used to describe the characteristics of the signal changing over time. The diamond wire frequency domain signal refers to the signal obtained after converting the diamond wire vibration signal from the time domain to the frequency domain.
[0103] Specifically, the diamond wire vibration signal is converted into a frequency domain to obtain a diamond wire frequency domain signal, including:
[0104] Get the number of sampling points, set the window length based on the number of sampling points, and build a window function based on the number of sampling points and window length:
[0105] ;
[0106] ;
[0107] in, Refers to the window function, Refers to the number of sampling points, refers to the cosine function, Refers to pi, Refers to the window length;
[0108] Performing signal processing on the diamond wire vibration signal based on the window function to obtain an adjusted vibration signal;
[0109] Obtain the imaginary unit and frequency, and construct a frequency domain conversion function based on the imaginary unit, frequency, adjusted vibration signal, number of sampling points and window length:
[0110] ;
[0111] in, Refers to the frequency domain conversion function, Refers to adjusting the vibration signal, Refers to the natural constants, refers to the imaginary unit, Refers to frequency;
[0112] The diamond wire vibration signal is converted into a diamond wire frequency domain signal based on the frequency domain conversion function.
[0113] Explainable, the number of sampling points refers to the number of collected data points, for example, one data point is collected every millisecond in a certain period of time, and a total of 10ms of data is collected, then the number of sampling points is 10, the window length refers to the length of the window function when processing the signal, expressed by the number of sample points, the window function refers to the function that weights the diamond wire vibration signal, reduces spectrum leakage and improves the frequency resolution, for example, there is a diamond wire vibration signal, the number of sample points collected is 1000, the window length is set to 300 sample points, and the window function is applied within this window length to weight the diamond wire vibration signal to obtain the adjusted vibration signal, the adjusted vibration signal refers to the signal obtained after weighted processing of the diamond wire vibration signal using the window function, the frequency refers to the number of times the diamond wire vibration signal is repeated per unit time, in Hertz, in In the frequency domain, the frequency determines the phase of the signal in the frequency domain. The frequency domain conversion function refers to converting the diamond wire vibration signal according to the frequency. Function to perform the conversion.
[0114] For example, assuming that the diamond wire vibration signal is: 0.00s: 0.10m / , 0.01s: 0.15m / , 0.02s: 0.12m / , 0.03s: 0.20m / , 0.04s: 0.30m / , 0.05s: 0.25m / , 0.06s: 0.10m / , 0.07s: 0.05m / , 0.08s: 0.02m / , 0.09s: 0.01m / , the window length is 10, the diamond wire vibration signal is substituted into the window function to calculate the window function value, the first: 0.00, the second: 0.109, the third: 0.396, the fourth: 0.50, the fifth: 0.604, the sixth: 0.707, the seventh: 0.5, the eighth: 0.396, the ninth: 0.109, the tenth: 0.00, the window function value is multiplied by the diamond wire vibration signal point by point, and the adjusted vibration signal is obtained: 0.00s: 0.00m / , 0.01s: 0.01635m / , 0.02s: 0.04752m / , 0.03s: 0.10m / , 0.04s: 0.1812m / , 0.05s: 0.17675m / , 0.06s: 0.05m / , 0.07s: 0.0198m / , 0.08s: 0.00218m / , 0.09s: 0.00m / .
[0115] S5. Perform energy calculation based on the diamond wire frequency domain signal to obtain a signal energy spectrum.
[0116] It can be explained that the signal energy spectrum is used to reflect the energy distribution of the diamond wire frequency domain signal, for example, frequency 100Hz: energy 0.02, frequency 200Hz: energy 0.10, frequency 500Hz: energy 0.25, frequency 1000Hz: energy 0.15, frequency 1500Hz: energy 0.05.
[0117] In detail, performing energy calculation based on the diamond wire frequency domain signal to obtain a signal energy spectrum includes:
[0118] The signal energy spectrum is calculated using the following formula:
[0119] ;
[0120] in, refers to the signal energy spectrum, Refers to the absolute value symbol.
[0121] S6. Utilize the image acquisition unit to continuously acquire images of the diamond wire to obtain an acquired image set, and perform image optimization on the acquired image set to obtain an optimal image.
[0122] It can be explained that the acquired image set refers to a set formed by images continuously acquired by an image acquisition unit, and the optimal image refers to an image in the acquired image set that best reflects the situation of the diamond wire.
[0123] In detail, performing image optimization on the acquired image set to obtain the optimal image includes:
[0124] Converting the collected images in the collected image set into grayscale images, performing calculations on the grayscale images using a preset Laplace operator and extracting edge strength;
[0125] Get the maximum and minimum grayscale values of the grayscale image, and calculate the image contrast based on the maximum and minimum grayscale values:
[0126] ;
[0127] in, Refers to the image contrast, Refers to the maximum gray value, Refers to the minimum gray value;
[0128] Calculate the texture detail entropy value of the acquired image;
[0129] Obtain edge coefficients and texture coefficients, and calculate image quality based on the edge strength, texture detail entropy value, edge coefficients and texture coefficients:
[0130] ;
[0131] in, Refers to image quality, Refers to the texture detail entropy value, refers to the texture coefficient, Refers to the edge strength, Refers to the marginal coefficient;
[0132] Filter the acquired images with the highest image quality to obtain the optimal image.
[0133] Explainable, the maximum grayscale value refers to the grayscale value of the largest pixel in the grayscale image, the minimum grayscale value refers to the grayscale value of the smallest pixel in the grayscale image, the texture detail entropy value refers to the indicator for quantifying the surface characteristics of the diamond wire in the acquired image, the higher the texture detail entropy value, the more information is contained in the acquired image, and it is more conducive to accurately identifying and analyzing the situation of the diamond wire, the edge coefficient refers to the influence of edge strength on image quality, the texture coefficient refers to the influence of texture detail entropy value on image quality, image quality refers to the effect and clarity of the acquired image at the visual and technical levels, the image quality reflects the visibility, readability and information transmission ability of the acquired image, the information transmission ability refers to the effectiveness and efficiency of the acquired image in transmitting information and expressing meaning, and the effectiveness refers to whether the information transmitted by the acquired image is meaningful for the detection of diamond wire fracture.
[0134] In detail, the step of calculating the texture detail entropy value of the acquired image includes:
[0135] Obtain pixel pair combinations and grayscale combinations, traverse all adjacent pixel pair combinations in the grayscale image and count the number of occurrences of each grayscale combination, normalize the number of occurrences, and obtain a probability matrix;
[0136] Get the total number of elements, grayscale, row index and column index, and calculate the texture detail entropy value based on the probability matrix, the total number of elements, grayscale, row index and column index:
[0137] ;
[0138] in, Refers to the number of gray levels, Refers to the row index, Refers to the column index, refers to the total number of elements, The row index in the probability matrix is , the column index is elements.
[0139] Explainable, pixel pair combination refers to the combination of two adjacent pixels in the grayscale image, grayscale combination refers to the combination of grayscale values of two pixels in the pixel pair combination, probability matrix refers to a matrix that describes the relationship between the grayscale values of pixels in the grayscale image, and the texture detail entropy value of the acquired image is represented by calculating the frequency of occurrence of pixel pair combinations of different grayscale levels in the grayscale image. For example, assuming that the grayscale value of the first pixel is 100 and the grayscale value of the second pixel is 120, the value at position P(100, 120) in the probability matrix will increase once, indicating that the grayscale combination of this pixel pair combination appears once. The number of grayscale levels refers to the number of different grayscale levels in the grayscale image, the row index refers to the grayscale value of the first dimension in the probability matrix, and the column index refers to the grayscale value of the second dimension in the probability matrix. For example, the grayscale matrix is: , 0,1 in the first row is the column index, and 0,1 in the first column is the row index. The combination of a pixel with a gray value of 0 and an adjacent pixel with a gray value of 0 appears 3 times. The total number of elements refers to the number of all elements in the probability matrix, which is the square of the gray level. For example, if the gray level is 256, the total number of elements is .
[0140] S7. Obtaining an initial texture entropy value of the diamond wire, and calculating the degree of wear based on the initial texture entropy value and the optimal image.
[0141] It can be explained that the initial texture entropy value refers to the texture detail entropy value of the initial image obtained by image acquisition of the diamond wire before the diamond wire starts working, and the wear degree refers to the degree of surface loss and performance degradation caused by friction, corrosion, fatigue and other factors during the use of the diamond wire.
[0142] In detail, the calculation of the wear degree based on the initial texture entropy value and the optimal image includes:
[0143] Calculate the optimal texture entropy value of the optimal image, obtain the initial contrast, adjustment parameter, roughness parameter, current surface roughness and initial surface roughness, and calculate the degree of wear based on the initial texture entropy value, optimal texture entropy value, initial contrast, adjustment parameter, roughness parameter, current surface roughness, initial surface roughness and image contrast:
[0144] ;
[0145] in, Refers to the degree of wear, refers to the optimal texture entropy value, refers to the initial texture entropy value, Refers to the adjustment parameters, refers to the initial contrast, refers to the roughness parameter, Refers to the current surface roughness, Refers to the initial surface roughness.
[0146] Interpretable, the optimal texture entropy value refers to the detail texture entropy value of the optimal image, the initial contrast value refers to the image contrast of the initial image, the adjustment parameter refers to the influence of the change of image contrast on the degree of wear, the roughness parameter refers to the influence of the change of current surface roughness on the degree of wear, the current surface roughness refers to the roughness of the current surface of the diamond wire, and the initial surface roughness refers to the roughness of the surface of the diamond wire when it is produced.
[0147] S8. Perform signal decomposition on the diamond wire frequency domain signal based on the signal energy spectrum to obtain a signal component set, and calculate the energy value of each signal component in the signal component set.
[0148] It can be explained that the signal component set refers to the set obtained by decomposing the diamond wire frequency domain signal based on frequency, and the energy value refers to the square sum of the energy in the signal component, for example, is a signal component, for: , the energy value is + + + + =0.097.
[0149] In detail, the performing signal decomposition on the diamond wire frequency domain signal based on the signal energy spectrum to obtain a signal component set includes:
[0150] Perform extreme value identification on the signal energy spectrum to obtain a maximum energy set, perform boundary confirmation based on the maximum energy set to obtain a component mode number;
[0151] The preset variational mode decomposition and the number of component modes are used to perform signal decomposition on the diamond wire frequency domain signal to obtain a signal component set.
[0152] It can be explained that the energy maximum set refers to the set formed by the energy maximum values, the energy maximum value refers to the energy value corresponding to the peak value in the signal energy spectrum, and the component mode number refers to the number of energy maximum values. For example, assuming that 2Hz and 6Hz are the peak values in the signal energy spectrum, the component mode number is 2. The specific signal decomposition is the existing technology and will not be repeated here.
[0153] S9. Calculate the fracture risk value based on the wear degree and energy value, and complete real-time visual inspection.
[0154] It can be explained that the fracture risk value refers to the risk degree of fracture of the diamond wire. The higher the fracture risk value, the easier it is for the diamond wire to break.
[0155] In detail, the calculation is performed based on the wear degree and energy value to obtain the fracture risk value:
[0156] Calculate the fracture risk value based on the wear degree and energy values:
[0157] ;
[0158] in, refers to the fracture risk value, Refers to the energy value.
[0159] In order to solve the problems described in the background technology, the present invention realizes real-time visual detection of diamond wire fracture by combining the detection instruction of receiving diamond wire and constructing a comprehensive detection process covering multiple steps such as real-time calculation of torsional deformation, vibration detection, frequency domain conversion and image acquisition. It not only ensures the accurate monitoring of the state of the diamond wire during the cutting process, but also obtains the wear degree of the diamond wire in real time through image acquisition and image analysis technology, which significantly improves the safety of the use of diamond wire. In addition, through systematic signal energy calculation and risk assessment, potential fracture risks can be discovered in time, and effective early warning can be provided to operators, meeting the high-safety detection needs in the modern manufacturing field. First, the detection instruction of the diamond wire is received, and the pre-constructed diamond wire detection unit is started. By receiving the detection instruction, the diamond wire detection unit can be quickly enabled to realize dynamic monitoring of the diamond wire status. This instant response capability ensures the efficiency of the detection process and helps to discover potential problems in a timely manner, thereby improving production safety. Secondly, the cutting speed and feed speed of the diamond wire are set, and the torsional deformation of the diamond wire is calculated in real time based on the cutting speed and feed speed. By accurately setting the cutting speed and feed speed, it is ensured that the diamond wire is cut under the operating parameters, which not only improves the cutting quality, but also reduces the wear rate of the diamond wire and extends its service life. The torsional deformation of the diamond wire is calculated in real time, and the deformation changes caused by cutting can be identified in time. This process helps to monitor the working status of the diamond wire and avoid breakage caused by excessive deformation. Thereby improving the continuity and stability of production; then, judging whether the torsional deformation of the diamond wire is within the preset deformation range, and judging whether the torsional deformation is within the safe range in real time, the potential risk of breakage can be effectively prevented, and when the deformation exceeds the range, further operation is performed on the diamond wire; then, vibration detection is performed on the diamond wire based on the vibration detection unit, and the vibration signal of the diamond wire during the cutting process can be obtained through vibration detection, which provides an important basis for judging the health status of the diamond wire and can effectively predict the possible risk of breakage; further, the vibration signal of the diamond wire is converted into the frequency domain to obtain the frequency domain signal of the diamond wire. The frequency domain analysis can reveal the potential problems of the diamond wire during the cutting process and help technicians diagnose the status of the diamond wire more accurately; then , by calculating the signal energy spectrum, quantifying the vibration intensity of the diamond wire, and further analyzing its working status and health; then, using the image acquisition unit to perform continuous image acquisition, the acquired image set provides visual data of the diamond wire cutting process, enhancing the monitoring ability of its status, and by analyzing the acquired images, the wear and fracture status of the diamond wire can be better judged; then, image optimization is performed on the acquired image set to obtain the optimal image and obtain the initial texture entropy value of the diamond wire. Based on the calculated wear degree, the image optimization process can ensure the best image quality used for analysis and reduce noise and interference. This process improves the accuracy of subsequent analysis, making the fracture detection of the diamond wire more reliable. Calculate the initial texture entropy value and quantify the wear of the diamond wire;Finally, the fracture risk value is calculated based on the wear degree and energy value. By comprehensively analyzing the wear degree and signal energy, the fracture risk of the diamond wire can be accurately evaluated to improve the stability of production. Therefore, the present invention can improve the fracture detection capability during the diamond wire cutting process and ensure the stability of the production process. ;
[0160] like Figure 2 , which is a functional module diagram of a real-time visual detection system for diamond wire fracture provided by one embodiment of the present invention.
[0161] The real-time visual detection system 100 for diamond wire fracture of the present invention can be installed in an electronic device. According to the functions to be implemented, the real-time visual detection system 100 for diamond wire fracture can include a torsional deformation calculation module 101, a frequency domain signal conversion module 102, an optimal image acquisition module 103 and a fracture risk value calculation module 104. The module of the present invention can also be called a unit, which refers to a series of computer program segments that can be executed by an electronic device processor and can complete fixed functions, which are stored in the memory of the electronic device.
[0162] The torsional deformation calculation module 101 is used to receive a detection instruction of the diamond wire, use the detection instruction to start a pre-built diamond wire detection unit and set the cutting speed and feeding speed of the diamond wire, wherein the diamond wire detection unit includes: a vibration detection unit and an image acquisition unit, wherein the vibration detection unit is placed directly below the diamond wire, and the image acquisition unit is placed directly above the diamond wire; based on the cutting speed and feeding speed, cutting is performed and the torsional deformation of the diamond wire is calculated in real time;
[0163] The frequency domain signal conversion module 102 is used to determine whether the torsional deformation of the diamond wire is within a preset deformation range; if the torsional deformation of the diamond wire is within the deformation range, then return to the above-mentioned step of performing cutting based on the cutting speed and the feed speed and calculating the torsional deformation of the diamond wire in real time; if the torsional deformation of the diamond wire is not within the deformation range, then perform vibration detection on the diamond wire based on the vibration detection unit to obtain a diamond wire vibration signal, and perform frequency domain conversion on the diamond wire vibration signal to obtain a diamond wire frequency domain signal;
[0164] The optimal image acquisition module 103 is used to perform energy calculation based on the diamond wire frequency domain signal to obtain a signal energy spectrum; use the image acquisition unit to perform continuous image acquisition on the diamond wire to obtain an acquired image set, and perform image optimization on the acquired image set to obtain an optimal image;
[0165] The fracture risk value calculation module 104 is used to obtain the initial texture entropy value of the diamond wire, and calculate the degree of wear based on the initial texture entropy value and the optimal image; perform signal decomposition on the frequency domain signal of the diamond wire based on the signal energy spectrum to obtain a signal component set, and calculate the energy value of each signal component in the signal component set; calculate based on the wear degree and the energy value to obtain the fracture risk value, and complete real-time visual inspection.
[0166] In detail, the modules in the real-time visual detection system 100 for diamond wire fracture in the embodiment of the present invention are used in the same manner as described above. Figure 1 The real-time visual detection method for diamond wire fracture described in the present invention is the same as the technical means and can produce the same technical effect, so it will not be repeated here.
[0167] like Figure 3 , is a schematic diagram of the structure of an electronic device for implementing a real-time visual detection method for diamond wire fracture provided by an embodiment of the present invention.
[0168] The electronic device 1 may include a processor 10, a memory 11 and a bus 12, and may also include a computer program stored in the memory 11 and executable on the processor 10, such as a real-time visual detection method program for diamond wire fracture.
[0169] The memory 11 includes at least one type of readable storage medium, and the readable storage medium includes a flash memory, a mobile hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a magnetic memory, a disk, an optical disk, etc. In some embodiments, the memory 11 may be an internal storage unit of the electronic device 1, such as a mobile hard disk of the electronic device 1. In other embodiments, the memory 11 may also be an external storage device of the electronic device 1, such as a plug-in mobile hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device 1. Further, the memory 11 also includes an internal storage unit of the electronic device 1 and an external storage device. The memory 11 can not only be used to store application software and various types of data installed in the electronic device 1, such as the code of the real-time visual detection method program for diamond wire fracture, etc., but also can be used to temporarily store data that has been output or is to be output.
[0170] The processor 10 may be composed of an integrated circuit in some embodiments, for example, a single packaged integrated circuit, or a plurality of packaged integrated circuits with the same or different functions, including one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and combinations of various control chips, etc. The processor 10 is the control core (Control Unit) of the electronic device, and uses various interfaces and lines to connect various components of the entire electronic device, and executes or executes programs or modules stored in the memory 11 (such as a real-time visual detection method program for diamond wire fracture, etc.), and calls data stored in the memory 11 to execute various functions of the electronic device 1 and process data.
[0171] The bus 12 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus 12 may be divided into an address bus, a data bus, a control bus, etc. The bus 12 is configured to realize connection and communication between the memory 11 and at least one processor 10, etc.
[0172] Figure 3 Only an electronic device with components is shown, and those skilled in the art will understand that Figure 3 The structure shown does not constitute a limitation on the electronic device 1, and may include fewer or more components than shown in the figure, or combine certain components, or arrange the components differently.
[0173] For example, although not shown, the electronic device 1 may also include a power source (such as a battery) for supplying power to various components. Preferably, the power source may be logically connected to the at least one processor 10 through a power management device, so that the power management device can realize functions such as charging management, discharging management, and power consumption management. The power source may also include one or more DC or AC power sources, recharging devices, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components. The electronic device 1 may also include a variety of sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be repeated here.
[0174] Furthermore, the electronic device 1 may also include a network interface. Optionally, the network interface may include a wired interface and / or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which is generally used to establish a communication connection between the electronic device 1 and other electronic devices.
[0175] Optionally, the electronic device 1 may further include a user interface, which may be a display, an input unit (such as a keyboard), or a standard wired interface or a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an OLED (Organic Light-Emitting Diode) touch device. The display may also be appropriately referred to as a display screen or a display unit, which is used to display information processed in the electronic device 1 and to display a visual user interface.
[0176] The real-time visual detection method program for diamond wire fracture stored in the memory 11 of the electronic device 1 is a combination of multiple instructions. When running in the processor 10, it can achieve:
[0177] Receive a detection instruction of the diamond wire, use the detection instruction to start a pre-built diamond wire detection unit and set the cutting speed and feeding speed of the diamond wire, wherein the diamond wire detection unit includes: a vibration detection unit and an image acquisition unit, wherein the vibration detection unit is placed directly below the diamond wire, and the image acquisition unit is placed directly above the diamond wire;
[0178] Execute cutting based on the cutting speed and feed speed and calculate the torsional deformation of the diamond wire in real time;
[0179] Determining whether the torsional deformation of the diamond wire is within a preset deformation range;
[0180] If the torsional deformation of the diamond wire is within the deformation range, returning to the above step of performing cutting based on the cutting speed and the feeding speed and calculating the torsional deformation of the diamond wire in real time;
[0181] If the torsional deformation of the diamond wire is not within the deformation range, performing vibration detection on the diamond wire based on the vibration detection unit to obtain a diamond wire vibration signal, and performing frequency domain conversion on the diamond wire vibration signal to obtain a diamond wire frequency domain signal;
[0182] Perform energy calculation based on the diamond wire frequency domain signal to obtain a signal energy spectrum;
[0183] Utilizing the image acquisition unit to continuously acquire images of the diamond wire to obtain an acquired image set, and performing image optimization on the acquired image set to obtain an optimal image;
[0184] Acquire an initial texture entropy value of the diamond wire, and calculate the degree of wear based on the initial texture entropy value and the optimal image;
[0185] Based on the signal energy spectrum, the diamond wire frequency domain signal is subjected to signal decomposition to obtain a signal component set, and an energy value of each signal component in the signal component set is calculated;
[0186] The fracture risk value is calculated based on the wear degree and energy value, and real-time visual inspection is completed.
[0187] Specifically, the specific implementation method of the processor 10 for the above instructions can refer to Figures 1 to 3 The description of the relevant steps in the corresponding embodiments will not be repeated here.
[0188] Furthermore, if the module / unit integrated in the electronic device 1 is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. The computer-readable storage medium can be volatile or non-volatile. For example, the computer-readable medium can include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, and a read-only memory (ROM).
[0189] The present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor of an electronic device, the computer program can implement:
[0190] Receive a detection instruction of the diamond wire, use the detection instruction to start a pre-built diamond wire detection unit and set the cutting speed and feeding speed of the diamond wire, wherein the diamond wire detection unit includes: a vibration detection unit and an image acquisition unit, wherein the vibration detection unit is placed directly below the diamond wire, and the image acquisition unit is placed directly above the diamond wire;
[0191] Execute cutting based on the cutting speed and feed speed and calculate the torsional deformation of the diamond wire in real time;
[0192] Determining whether the torsional deformation of the diamond wire is within a preset deformation range;
[0193] If the torsional deformation of the diamond wire is within the deformation range, returning to the above step of performing cutting based on the cutting speed and the feeding speed and calculating the torsional deformation of the diamond wire in real time;
[0194] If the torsional deformation of the diamond wire is not within the deformation range, performing vibration detection on the diamond wire based on the vibration detection unit to obtain a diamond wire vibration signal, and performing frequency domain conversion on the diamond wire vibration signal to obtain a diamond wire frequency domain signal;
[0195] Perform energy calculation based on the diamond wire frequency domain signal to obtain a signal energy spectrum;
[0196] Utilizing the image acquisition unit to continuously acquire images of the diamond wire to obtain an acquired image set, and performing image optimization on the acquired image set to obtain an optimal image;
[0197] Acquire an initial texture entropy value of the diamond wire, and calculate the degree of wear based on the initial texture entropy value and the optimal image;
[0198] Based on the signal energy spectrum, the diamond wire frequency domain signal is subjected to signal decomposition to obtain a signal component set, and an energy value of each signal component in the signal component set is calculated;
[0199] The fracture risk value is calculated based on the wear degree and energy value, and real-time visual inspection is completed.
[0200] In the several embodiments provided by the present invention, it should be understood that the disclosed devices, systems and methods can be implemented in other ways. For example, the system embodiments described above are only illustrative, and actual implementation may have other division methods.
[0201] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0202] In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional modules.
[0203] It is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.
[0204] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.
Claims
1. A real-time visual detection method for diamond wire fracture, characterized in that: The method comprises: Receive a detection instruction of the diamond wire, use the detection instruction to start a pre-built diamond wire detection unit and set the cutting speed and feeding speed of the diamond wire, wherein the diamond wire detection unit includes: a vibration detection unit and an image acquisition unit, wherein the vibration detection unit is placed directly below the diamond wire, and the image acquisition unit is placed directly above the diamond wire; Execute cutting based on the cutting speed and feed speed and calculate the torsional deformation of the diamond wire in real time; Determining whether the torsional deformation of the diamond wire is within a preset deformation range; If the torsional deformation of the diamond wire is within the deformation range, returning to the above step of performing cutting based on the cutting speed and the feeding speed and calculating the torsional deformation of the diamond wire in real time; If the torsional deformation of the diamond wire is not within the deformation range, performing vibration detection on the diamond wire based on the vibration detection unit to obtain a diamond wire vibration signal, and performing frequency domain conversion on the diamond wire vibration signal to obtain a diamond wire frequency domain signal; Perform energy calculation based on the diamond wire frequency domain signal to obtain a signal energy spectrum; Utilizing the image acquisition unit to continuously acquire images of the diamond wire to obtain an acquired image set, and performing image optimization on the acquired image set to obtain an optimal image; Acquire an initial texture entropy value of the diamond wire, and calculate the degree of wear based on the initial texture entropy value and the optimal image; Based on the signal energy spectrum, the diamond wire frequency domain signal is subjected to signal decomposition to obtain a signal component set, and an energy value of each signal component in the signal component set is calculated; The fracture risk value is calculated based on the wear degree and energy value, and real-time visual inspection is completed.
2. The real-time visual detection method for diamond wire fracture according to claim 1, characterized in that: The method of performing cutting based on the cutting speed and the feeding speed and calculating the torsional deformation of the diamond wire in real time includes: Get the cutting radius and cutting parameters, and calculate the diamond wire torque based on the cutting radius, cutting parameters, cutting speed and feed speed: ; in, Refers to the diamond wire torque, Refers to the cutting parameters, Refers to the cutting speed, Refers to the feed speed, Refers to the cutting radius; Get the length of the diamond wire, the polar moment of inertia of the diamond wire, and the shear modulus of the diamond wire, and calculate the torsional deformation of the diamond wire based on the length of the diamond wire, the polar moment of inertia of the diamond wire, the shear modulus of the diamond wire, and the torque of the diamond wire: ; in, Refers to the torsional deformation of the diamond wire. Refers to the length of the diamond wire, Refers to the polar moment of inertia of the diamond wire, Refers to the shear modulus of diamond wire.
3. The real-time visual detection method for diamond wire fracture according to claim 1, characterized in that: The step of converting the diamond wire vibration signal into a frequency domain to obtain a diamond wire frequency domain signal includes: Get the number of sampling points, set the window length based on the number of sampling points, and build a window function based on the number of sampling points and the window length: ; ; in, Refers to the window function, Refers to the number of sampling points, refers to the cosine function, Refers to pi, Refers to the window length; Performing signal processing on the diamond wire vibration signal based on the window function to obtain an adjusted vibration signal; Obtain the imaginary unit and frequency, and construct a frequency domain conversion function based on the imaginary unit, frequency, adjusted vibration signal, number of sampling points and window length: ; in, Refers to the frequency domain conversion function, Refers to adjusting the vibration signal, Refers to the natural constants, refers to the imaginary unit, Refers to frequency; The diamond wire vibration signal is converted into a diamond wire frequency domain signal based on the frequency domain conversion function.
4. The real-time visual detection method for diamond wire fracture according to claim 3, characterized in that: The performing energy calculation based on the diamond wire frequency domain signal to obtain a signal energy spectrum includes: The signal energy spectrum is calculated using the following formula: ; in, refers to the signal energy spectrum, Refers to the absolute value symbol.
5. The real-time visual detection method for diamond wire fracture according to claim 1, characterized in that: The performing image optimization on the collected image set to obtain the optimal image comprises: Converting the collected images in the collected image set into grayscale images, performing calculations on the grayscale images using a preset Laplace operator and extracting edge strength; Get the maximum and minimum grayscale values of the grayscale image, and calculate the image contrast based on the maximum and minimum grayscale values: ; in, Refers to the image contrast, Refers to the maximum gray value, Refers to the minimum gray value; Calculate the texture detail entropy value of the acquired image; Obtain edge coefficients and texture coefficients, and calculate image quality based on the edge strength, texture detail entropy value, edge coefficients and texture coefficients: ; in, Refers to image quality, Refers to the texture detail entropy value, refers to the texture coefficient, Refers to the edge strength, Refers to the marginal coefficient; Filter the acquired images with the highest image quality to obtain the optimal image.
6. The real-time visual detection method for diamond wire fracture according to claim 5, characterized in that: The step of calculating the texture detail entropy value of the acquired image includes: Obtain pixel pair combinations and grayscale combinations, traverse all adjacent pixel pair combinations in the grayscale image and count the number of occurrences of each grayscale combination, normalize the number of occurrences, and obtain a probability matrix; Get the total number of elements, grayscale, row index and column index, and calculate the texture detail entropy value based on the probability matrix, the total number of elements, grayscale, row index and column index: ; in, Refers to the number of gray levels, Refers to the row index, Refers to the column index, refers to the total number of elements, The row index in the probability matrix is , the column index is elements.
7. The real-time visual detection method for diamond wire fracture according to claim 6, characterized in that: The calculating the degree of wear based on the initial texture entropy value and the optimal image includes: Calculate the optimal texture entropy value of the optimal image, obtain the initial contrast, adjustment parameter, roughness parameter, current surface roughness and initial surface roughness, and calculate the degree of wear based on the initial texture entropy value, optimal texture entropy value, initial contrast, adjustment parameter, roughness parameter, current surface roughness, initial surface roughness and image contrast: ; in, Refers to the degree of wear, refers to the optimal texture entropy value, refers to the initial texture entropy value, Refers to the adjustment parameters, refers to the initial contrast, refers to the roughness parameter, Refers to the current surface roughness, Refers to the initial surface roughness.
8. The real-time visual detection method for diamond wire fracture according to claim 1, characterized in that: The performing signal decomposition on the diamond wire frequency domain signal based on the signal energy spectrum to obtain a signal component set includes: Perform extreme value identification on the signal energy spectrum to obtain a maximum energy set, perform boundary confirmation based on the maximum energy set to obtain a component mode number; The preset variational mode decomposition and the number of component modes are used to perform signal decomposition on the diamond wire frequency domain signal to obtain a signal component set.
9. The real-time visual detection method for diamond wire fracture according to claim 7, characterized in that: The fracture risk value is calculated based on the wear degree and energy value: Calculate the fracture risk value based on the wear degree and energy values: ; in, refers to the fracture risk value, Refers to the energy value.
10. A real-time visual detection system for diamond wire fracture, characterized in that: The system comprises: A torsional deformation calculation module, used to receive a detection instruction of a diamond wire, use the detection instruction to start a pre-built diamond wire detection unit and set the cutting speed and feed speed of the diamond wire, wherein the diamond wire detection unit includes: a vibration detection unit and an image acquisition unit, wherein the vibration detection unit is placed directly below the diamond wire, and the image acquisition unit is placed directly above the diamond wire; based on the cutting speed and feed speed, cutting is performed and the torsional deformation of the diamond wire is calculated in real time; A frequency domain signal conversion module is used to determine whether the torsional deformation of the diamond wire is within a preset deformation range; if the torsional deformation of the diamond wire is within the deformation range, return to the above-mentioned step of performing cutting based on the cutting speed and the feed speed and calculating the torsional deformation of the diamond wire in real time; if the torsional deformation of the diamond wire is not within the deformation range, perform vibration detection on the diamond wire based on the vibration detection unit to obtain a diamond wire vibration signal, and perform frequency domain conversion on the diamond wire vibration signal to obtain a diamond wire frequency domain signal; An optimal image acquisition module is used to perform energy calculation based on the diamond wire frequency domain signal to obtain a signal energy spectrum; use the image acquisition unit to perform continuous image acquisition on the diamond wire to obtain an acquired image set, and perform image optimization on the acquired image set to obtain an optimal image; The fracture risk value calculation module is used to obtain the initial texture entropy value of the diamond wire, and calculate the degree of wear based on the initial texture entropy value and the optimal image; perform signal decomposition on the frequency domain signal of the diamond wire based on the signal energy spectrum to obtain a signal component set, and calculate the energy value of each signal component in the signal component set; calculate based on the wear degree and the energy value to obtain the fracture risk value, and complete real-time visual detection.
Citation Information
Patent Citations
Rail surface defect rapid detection system and method
CN110211101A
Visual identification-based aerospace intermediate alloy morphology detection method and system
CN119125169A