Waviness determination method and device, electronic equipment and storage medium
By sectioning the three-dimensional point cloud model of the aircraft surface, generating interpolation spline curves, and determining the peak and trough points, the problems of inaccurate and low-efficiency waviness measurement in the existing technology are solved, and efficient and accurate waviness measurement is achieved.
Patent Information
- Application Number
- CN202510230747.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-28
- Publication Date
- 2025-10-17
AI Technical Summary
In the prior art, measuring the waviness of an aircraft surface through visual inspection and dedicated handheld equipment has the problems of low accuracy and low efficiency.
By obtaining the three-dimensional point cloud model of the target area of the aircraft, the sectioning process is performed to generate a sectioning spline curve. The coordinates of the interpolation points are determined according to the point cloud points to generate an interpolation spline curve. The equivalence is judged by the curvature and distance, and the peak and trough points are determined to calculate the waviness.
The waviness of the aircraft surface can be determined accurately and efficiently, thus avoiding errors caused by manual determination and improving the accuracy and efficiency of measurement.
Smart Images

Figure CN120807840A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of aircraft measurement technology, and in particular to a corrugation determination method and device, electronic equipment and a storage medium. BACKGROUND
[0002] Corrugation is one of the shape error components that form the surface features of a workpiece or part, and is mainly used to describe the periodic undulations or irregularities of the surface of a workpiece or part. The corrugation of the surface of an aircraft, as an important indicator of the surface quality of the aircraft body, directly affects the key performance of the aircraft, such as fatigue strength, corrosion resistance and flight stability.
[0003] In the prior art, the corrugation of the surface of an aircraft is usually determined by a mechanical measuring caliper or other special handheld device, or by visual inspection. Specifically, after the peak points and valley points of the surface of the aircraft are determined by visual inspection, the wavelength is measured by a steel ruler, the amplitude is measured by a feeler gauge, and the corrugation of the surface of the aircraft is determined according to the measured wavelength and amplitude.
[0004] However, the visual inspection method needs to rely entirely on manual determination of the peak points and valley points of the surface of the aircraft, which can easily lead to inaccurate determination of the corrugation and low efficiency. In addition, the corrugation of the surface of the aircraft is determined by a special handheld device, which needs to be constantly adjusted according to the target area to be measured, resulting in low efficiency of corrugation measurement. SUMMARY
[0005] The present application provides a corrugation determination method, device, electronic equipment and storage medium, which can accurately and efficiently determine the corrugation of the surface of an aircraft.
[0006] In a first aspect, a corrugation determination method is provided, the method comprising:
[0007] obtaining a target area of an aircraft and a three-dimensional point cloud model corresponding to the surface of the target area, and performing sectioning processing on the three-dimensional point cloud model to obtain a sectioned spline curve of the three-dimensional point cloud model;
[0008] determining the coordinates of a target interpolation point according to the point cloud points on the sectioned spline curve, and generating an interpolation spline curve according to the coordinates of the target interpolation point;
[0009] determining whether the interpolation spline curve is equivalent to the sectioned spline curve according to the curvature of the sectioned spline curve, the curvature of the interpolation spline curve, and the distance between the sectioned spline curve and the interpolation spline curve;
[0010] If yes, the peak points and valley points of the interpolation spline curve are determined, and the corrugation of each corrugation on the surface of the target area is determined according to the peak points and valley points of the interpolation spline curve.
[0011] Optionally, after determining whether the interpolation spline curve is equivalent to the sectioned spline curve, the method further comprises: if not, determining a new interpolation point according to the point cloud points on the sectioned spline curve, and generating a new interpolation spline curve according to the coordinates of the new interpolation point and the coordinates of the target interpolation point; determining whether the new interpolation spline curve is equivalent to the sectioned spline curve according to the curvatures of the sectioned spline curve and the new interpolation spline curve and the distance between the sectioned spline curve and the new interpolation spline curve; if the new interpolation spline curve is equivalent to the sectioned spline curve, determining the peak points and the valley points of the new interpolation spline curve, and determining the corrugation of each corrugation on the target region surface according to the peak points and the valley points of the new interpolation spline curve; if the new interpolation spline curve is not equivalent to the sectioned spline curve, returning to perform the operation of determining the new interpolation point according to the point cloud points on the sectioned spline curve until the new interpolation spline curve is equivalent to the sectioned spline curve.
[0012] Optionally, determining whether the interpolation spline curve is equivalent to the sectioned spline curve according to the curvatures of the sectioned spline curve and the interpolation spline curve and the distance between the sectioned spline curve and the interpolation spline curve comprises: determining whether the curvatures of the points on the sectioned spline curve are equal to the curvatures of the corresponding points on the interpolation spline curve; if not, determining that the interpolation spline curve is not equivalent to the sectioned spline curve; if yes, determining whether the distance between the sectioned spline curve and the interpolation spline curve is less than a set distance threshold; if the distance between the sectioned spline curve and the interpolation spline curve is less than the set distance threshold, determining that the interpolation spline curve is equivalent to the sectioned spline curve; if the distance between the sectioned spline curve and the interpolation spline curve is greater than or equal to the set distance threshold, determining that the interpolation spline curve is not equivalent to the sectioned spline curve.
[0013] Optionally, determining the peak points and the valley points of the interpolation spline curve comprises: determining whether there are maximum points or minimum points on the interpolation spline curve; if yes, determining the peak points and the valley points of the interpolation spline curve according to the monotonicity of the interpolation spline curve; if not, rotating and / or equivalently enlarging the interpolation spline curve until there are maximum points or minimum points on the interpolation spline curve, and then determining the peak points and the valley points of the interpolation spline curve according to the monotonicity of the interpolation spline curve after the rotation and / or the equivalent enlargement.
[0014] Optionally, before determining the corrugation of each corrugation on the target region surface according to the peak points and the valley points of the interpolation spline curve, the method further comprises: performing a rejection processing on the peak points of the non-maximum points and the valley points of the non-minimum points on the interpolation spline curve.
[0015] Optionally, the corrugation of each corrugation on the surface of the target region is determined according to the peak points and the valley points of the interpolation spline curve, comprising: obtaining a target peak point on the interpolation spline curve, and sequentially obtaining three continuous peak points as a first peak point, a second peak point and a third peak point along the extension direction of the interpolation spline curve starting from the target peak point, wherein the target peak point is initialized as the first peak point; determining the estimated wavelength of the first corrugation according to the distance between the first peak point and the second peak point; obtaining a first intermediate valley point between the first peak point and the second peak point, and determining the estimated amplitude of the first corrugation according to the distance from the first intermediate valley point to the line connecting the first peak point and the second peak point; determining the corrugation of the first corrugation on the surface of the target region according to the ratio of the estimated wavelength and the estimated amplitude of the first corrugation; determining the estimated wavelength of the second corrugation according to the distance between the second peak point and the third peak point; obtaining a second intermediate valley point between the second peak point and the third peak point, and determining the estimated amplitude of the second corrugation according to the distance from the second intermediate valley point to the line connecting the second peak point and the third peak point; determining the corrugation of the second corrugation on the surface of the target region according to the ratio of the estimated wavelength and the estimated amplitude of the second corrugation; determining the estimated wavelength of the third corrugation according to the distance between the first peak point and the third peak point; taking the first intermediate valley point or the second intermediate valley point as a target intermediate valley point according to the longitudinal coordinates of the first intermediate valley point and the second intermediate valley point, and determining the estimated amplitude of the third corrugation according to the distance from the target intermediate valley point to the line connecting the first peak point and the third peak point; determining the corrugation of the third corrugation on the surface of the target region according to the ratio of the estimated wavelength and the estimated amplitude of the third corrugation; determining whether the processing of the corrugation of all peak points on the interpolation spline curve is completed; if not, after obtaining the next peak point of the target peak point as a new target peak point on the interpolation spline curve along the extension direction of the interpolation spline curve, returning to execute the operation of sequentially obtaining three continuous peak points as a first peak point, a second peak point and a third peak point along the extension direction of the interpolation spline curve starting from the target peak point until the processing of the corrugation of all peak points on the interpolation spline curve is completed.
[0016] Optionally, after determining the corrugation of each corrugation on the surface of the target region according to the peak points and the valley points of the interpolation spline curve, it further comprises: obtaining the adjacent valley points of each peak point and the vertical lines where each adjacent valley point is located, and determining the slope of the interpolation spline curve at each peak point according to the distance from each peak point to the vertical line where the matching adjacent valley point is located and the estimated amplitude corresponding to the matching adjacent valley point; obtaining the standard corrugation and the standard slope corresponding to the target region, and sending prompt information to the user that the corrugation of the target region does not meet the standard when the corrugation of any corrugation on the surface of the target region is greater than the standard corrugation or the slope of the interpolation spline curve at any peak point is greater than the standard slope.
[0017] In a second aspect, a corrugation determination apparatus is provided, and the apparatus comprises:
[0018] A sectioned spline curve determination module is configured to acquire a target region of an aircraft and a three-dimensional point cloud model corresponding to a surface of the target region, and perform sectioning processing on the three-dimensional point cloud model to obtain a sectioned spline curve of the three-dimensional point cloud model.
[0019] An interpolated spline curve determination module is configured to determine coordinates of target interpolation points according to point cloud points on the sectioned spline curve, and generate an interpolated spline curve according to the coordinates of the target interpolation points.
[0020] An equivalent curve determination module is configured to determine whether the interpolated spline curve is equivalent to the sectioned spline curve according to curvatures of the sectioned spline curve and the interpolated spline curve and a distance between the sectioned spline curve and the interpolated spline curve.
[0021] A corrugation determination module is configured to, if yes, determine a wave crest point and a wave trough point of the interpolated spline curve, and determine corrugation of each corrugation on the surface of the target region according to the wave crest point and the wave trough point of the interpolated spline curve.
[0022] In a third aspect, an electronic device is provided, and the electronic device comprises:
[0023] At least one processor; and
[0024] A memory in communication connection with the at least one processor; wherein,
[0025] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to execute the corrugation determination method of any one of the embodiments.
[0026] In a fourth aspect, a computer readable storage medium is provided, and the computer readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the corrugation determination method of any one of the embodiments when executed.
[0027] The technical solution of the embodiments of the present application avoids the situation that the corrugation of each corrugation on the surface of the aircraft is determined completely by relying on manual work in the prior art, and cannot be accurately and efficiently determined, and can accurately and efficiently determine the corrugation of the surface of the aircraft.
[0028] It should be understood that the matters described herein are intended to be illustrative and are not intended to limit or restrict the scope of the application. Other aspects of the application will become apparent to those of ordinary skill in the art upon reading the following description. BRIEF DESCRIPTION OF DRAWINGS
[0029] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the embodiments description. Obviously, the drawings in the following description are only some embodiments of the present application, and for those of ordinary skill in the art, other drawings can also be obtained from these drawings without any creative effort.
[0030] Figure 1 is a flow chart of a corrugation determination method according to an embodiment of the present application;
[0031] Figure 2 is a flow chart of another corrugation determination method according to an embodiment of the present application;
[0032] Figure 3 is a comparison chart of an interpolation spline curve before and after change according to an embodiment of the present application;
[0033] Figure 4 is a schematic diagram of an interpolation spline curve according to an embodiment of the present application;
[0034] Figure 5 is a flow chart of a preferred corrugation determination method according to an embodiment of the present application;
[0035] Figure 6 is a structural schematic diagram of a corrugation determination device according to an embodiment of the present application;
[0036] Figure 7 is a structural schematic diagram of an electronic device for implementing a corrugation determination method according to an embodiment of the present application. DETAILED DESCRIPTION
[0037] In order to make the technical personnel in the art better understand the present application scheme, the following will combine the drawings in the embodiments of the present application, and the technical solutions in the embodiments of the present application will be described clearly and completely. Obviously, the described embodiments are only some embodiments of the present application, not all. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without any creative effort should be within the scope of protection of the present application.
[0038] It should be noted that the terms "first", "second", and the like in the description and in the claims of the present application and the above-described accompanying drawings are used to distinguish similar objects, and do not necessarily have to be used to describe a specific order or sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the application described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device that includes a series of steps or units does not have to be limited to only those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to these processes, methods, products or devices.
[0039] Embodiment one
[0040] Figure 1 is a flowchart of a corrugation determination method according to an embodiment one of the present application. The present embodiment can be applicable to the case of determining the corrugation of the surface of an aircraft. The method can be executed by a corrugation determination device, which can be realized in the form of hardware and / or software, and can be configured in an electronic device such as a computer. As shown in Figure 1 , the method comprises:
[0041] S110, obtaining a target region of an aircraft, and a three-dimensional point cloud model corresponding to the surface of the target region, and performing section processing on the three-dimensional point cloud model to obtain a section spline curve of the three-dimensional point cloud model.
[0042] In the present embodiment, the aircraft can be understood as an instrument capable of flying in the atmosphere or in the space outside the atmosphere, such as an aircraft, a spacecraft and a rocket, etc. The aircraft can include an airplane and a dirigible, etc. The target region can be a region on the aircraft that needs to be detected for corrugation, such as a fuselage skin, a wing surface and a landing gear hatch, etc. The three-dimensional point cloud model can be a set composed of a plurality of discrete point cloud points. The section spline curve can be understood as a smooth and continuous curve including at least one point cloud point in the three-dimensional point cloud model.
[0043] In this step, specifically, the target region surface can be scanned by a digital measurement technology to obtain a three-dimensional point cloud model corresponding to the target region surface. Among them, the digital measurement technology can be various, such as laser scanning technology, structured light scanning technology and photogrammetry technology, etc. Then, the three-dimensional point cloud model can be processed by a preset plane along the direction perpendicular to the three-dimensional point cloud model to obtain a section spline curve of the three-dimensional point cloud model.
[0044] Optionally, since the fewer the point cloud points contained on the sectioned spline curve in practical application, the smoother the sectioned spline curve, the sectioned spline curve can be discarded in sequence according to the influence degree of each point cloud point on the sectioned spline curve on the smoothness of the sectioned spline curve until the smoothness of the sectioned spline curve reaches the set smoothness threshold, when the smoothness of the sectioned spline curve does not reach the set smoothness threshold.
[0045] S120, determining the coordinates of the target interpolation point according to the point cloud points on the sectioned spline curve, and generating an interpolation spline curve according to the coordinates of the target interpolation point.
[0046] In this step, specifically, the points between the point cloud points on the sectioned spline curve can be determined as the target interpolation points by interpolation method. The interpolation method can include polynomial interpolation method, piecewise interpolation method, cubic spline interpolation method, etc. The point cloud points on the sectioned spline curve are all from the three-dimensional point cloud model.
[0047] Exemplarily, the points between the point cloud points on the sectioned spline curve can be determined as the target interpolation points by the cubic spline interpolation method, and a cubic spline interpolation spline curve is generated according to the coordinates of the target interpolation points.
[0048] S130, determining whether the interpolation spline curve is equivalent to the sectioned spline curve according to the curvature of the sectioned spline curve, the curvature of the interpolation spline curve, and the distance between the sectioned spline curve and the interpolation spline curve.
[0049] In this step, specifically, when it is detected that the curvature of the sectioned spline curve is consistent with the curvature of the interpolation spline curve, and the distance between the sectioned spline curve and the interpolation spline curve is less than the set distance threshold, it is determined that the interpolation spline curve is equivalent to the sectioned spline curve. When it is detected that the curvature of the sectioned spline curve is inconsistent with the curvature of the interpolation spline curve, or the distance between the sectioned spline curve and the interpolation spline curve is greater than or equal to the set distance threshold, it is determined that the interpolation spline curve is not equivalent to the sectioned spline curve.
[0050] S140, if the interpolation spline curve is equivalent to the sectioned spline curve, determining the peak points and the valley points of the interpolation spline curve, and determining the corrugation of each corrugation on the target area surface according to the peak points and the valley points of the interpolation spline curve.
[0051] At this step, specifically, if the interpolation spline curve is equivalent to the dissected spline curve, the target interpolation points on the interpolation spline curve can be exported as an interpolation point file in table format, and the interpolation spline curve can be regenerated according to the interpolation point file through a pre-written calculation program. Then, the peak points and the valley points of the interpolation spline curve can be obtained by solving the maximum points and the minimum points of the interpolation spline curve, or the peak points and the valley points of the interpolation spline curve can be determined according to the monotonicity of the interpolation spline curve. Finally, the wavelengths and amplitudes of each ripple on the target region surface can be determined according to the peak points and the valley points of the interpolation spline curve, and the ripple degrees of each ripple on the target region surface can be determined according to the wavelengths and amplitudes of each ripple. Each ripple can include at least two peak points.
[0052] In the above example, assuming that the cubic spline interpolation spline curve has n known data points on the interval [a, b], and the interval [a, b] is divided into n+1 subintervals: [a, x1], [x1, x2], …, [xn, b], the expression of the cubic spline interpolation spline curve can be obtained as follows:
[0053]
[0054] where f(x) is the cubic spline interpolation spline curve on the interval [a, b], f1(x) is the cubic spline interpolation spline curve on the interval [a, x1], f2(x) is the cubic spline interpolation spline curve on the interval [x1, x2], fn-1(x) is the cubic spline interpolation spline curve on the interval [xn-1, xn], and fn(x) is the cubic spline interpolation spline curve on the interval [xn, b].
[0055] Then, the maximum points and the minimum points of the cubic spline interpolation spline curve on each subinterval can be solved, and the maximum points are taken as the peak points of the interpolation spline curve, and the minimum points are taken as the valley points of the interpolation spline curve.
[0056] Optionally, the peak points and the valley points on the interpolation spline curve can be marked with different shapes, for example, the peak points on the interpolation spline curve can be marked with red multiplication marks, and the valley points on the interpolation spline curve can be marked with yellow star marks.
[0057] The technical scheme of the embodiment comprises the following steps: obtaining a target region of an aircraft and a three-dimensional point cloud model corresponding to a surface of the target region, performing sectioning processing on the three-dimensional point cloud model to obtain a sectioned spline curve of the three-dimensional point cloud model, determining coordinates of a target interpolation point according to point cloud points on the sectioned spline curve, generating an interpolation spline curve according to the coordinates of the target interpolation point, determining whether the interpolation spline curve is equivalent to the sectioned spline curve according to curvatures of the sectioned spline curve and the interpolation spline curve and a distance between the sectioned spline curve and the interpolation spline curve, and determining wave crest points and wave trough points of the interpolation spline curve and determining corrugation of each corrugation on the surface of the target region according to the wave crest points and the wave trough points of the interpolation spline curve if the interpolation spline curve is equivalent to the sectioned spline curve. The technical scheme solves the problem that the corrugation of each corrugation on the surface of the aircraft cannot be accurately and efficiently determined in the prior art because the corrugation of each corrugation on the surface of the aircraft is determined by artificial means, and the corrugation of each corrugation on the surface of the aircraft can be accurately and efficiently determined.
[0058] Embodiment Two
[0059] Figure 2 The technical scheme of the embodiment is further optimized and expanded on the basis of the above-mentioned embodiments and can be combined with each optional technical scheme in the above-mentioned embodiments.
[0060] As shown in the technical scheme of the embodiment, the technical scheme of the embodiment comprises the following steps: Figure 2
[0061] S210, obtaining a target region of an aircraft and a three-dimensional point cloud model corresponding to a surface of the target region, and performing sectioning processing on the three-dimensional point cloud model to obtain a sectioned spline curve of the three-dimensional point cloud model.
[0062] S220, determining coordinates of a target interpolation point according to point cloud points on the sectioned spline curve, and generating an interpolation spline curve according to the coordinates of the target interpolation point.
[0063] S230, determining whether curvatures of points on the sectioned spline curve are equal to curvatures of corresponding points on the interpolation spline curve, and if not, performing S240, and if yes, performing S250.
[0064] In this step, specifically, if the curvatures of the points on the sectioned spline curve are all equal to the curvatures of the corresponding points on the interpolation spline curve, it is determined whether a distance between the sectioned spline curve and the interpolation spline curve is less than a set distance threshold. If the curvatures of the points on the sectioned spline curve are not all equal to the curvatures of the corresponding points on the interpolation spline curve, it is determined that the interpolation spline curve is not equivalent to the sectioned spline curve.
[0065] S240, determining that the interpolation spline curve is not equivalent to the sectioned spline curve.
[0066] S250, determining whether the distance between the dissected spline curve and the interpolation spline curve is less than a set distance threshold, if yes, performing S260, if no, performing S290.
[0067] At this step, specifically, the points with the largest distance on the dissected spline curve and the interpolation spline curve can be determined according to the longitudinal coordinates of the points on the dissected spline curve and the interpolation spline curve, and the distance between the dissected spline curve and the interpolation spline curve can be determined according to the longitudinal coordinates of the points with the largest distance. Then, when the distance between the dissected spline curve and the interpolation spline curve is less than the set distance threshold, it can be determined that the interpolation spline curve is equivalent to the dissected spline curve, and the peak points and the valley points of the interpolation spline curve are determined. When the distance between the dissected spline curve and the interpolation spline curve is greater than or equal to the set distance threshold, it is determined that the interpolation spline curve is not equivalent to the dissected spline curve.
[0068] S260, determining the peak points and the valley points of the interpolation spline curve, and determining the corrugation of each corrugation on the target region surface according to the peak points and the valley points of the interpolation spline curve.
[0069] In this step, specifically, a target peak point can be obtained on the interpolation spline curve, and with the target peak point as the starting point, three consecutive peak points can be obtained in sequence along the extension direction of the interpolation spline curve as the first peak point, the second peak point and the third peak point, wherein the target peak point is initialized as the first peak point; the estimated wavelength of the first ripple is determined according to the distance between the first peak point and the second peak point; the first intermediate trough point between the first peak point and the second peak point is obtained, and the estimated amplitude of the first ripple is determined according to the distance from the first intermediate trough point to the line connecting the first peak point and the second peak point; the waviness of the first ripple on the surface of the target area is determined according to the ratio of the estimated wavelength and the estimated amplitude of the first ripple; the estimated wavelength of the second ripple is determined according to the distance between the second peak point and the third peak point; the second intermediate trough point between the second peak point and the third peak point is obtained, and the estimated amplitude of the second ripple is determined according to the distance from the second intermediate trough point to the line connecting the second peak point and the third peak point; The ratio of the wave amplitude to the wave amplitude is used to determine the waviness of the second wave on the surface of the target area; the estimated wavelength of the third wave is determined according to the distance between the first wave crest point and the third wave crest point; the first intermediate wave trough point or the second intermediate wave trough point is used as the target intermediate wave trough point according to the ordinate of the first intermediate wave trough point and the second intermediate wave trough point, and the estimated amplitude of the third wave is determined according to the distance from the target intermediate wave trough point to the line connecting the first wave crest point and the third wave crest point; the surface of the target area is determined according to the ratio of the estimated wavelength and the estimated amplitude of the third wave The waviness of the third ripple on the interpolation spline curve is determined; whether the ripple processing of all peak points on the interpolation spline curve is completed; if not, on the interpolation spline curve, after obtaining the peak point following the target peak point along the extension direction of the interpolation spline curve as the new target peak point, return to execute the operation with the target peak point as the starting point, and obtain three consecutive peak points as the first peak point, the second peak point and the third peak point in sequence along the extension direction of the interpolation spline curve, until the ripple processing of all peak points on the interpolation spline curve is completed.
[0070] Furthermore, determining the waviness of the first ripple on the target area surface based on the ratio of the estimated wavelength and the estimated amplitude of the first ripple may include: dividing the estimated wavelength of the first ripple by the estimated amplitude of the first ripple to obtain the waviness of the first ripple on the target area surface.
[0071] Determining the waviness of the second ripples on the target area surface based on the ratio of the estimated wavelength and the estimated amplitude of the second ripples may include: dividing the estimated wavelength of the second ripples by the estimated amplitude of the second ripples to obtain the waviness of the second ripples on the target area surface.
[0072] The first intermediate trough point or the second intermediate trough point can be taken as the target intermediate trough point, which can include: obtaining the vertical coordinates of the first intermediate trough point and the second intermediate trough point, and taking the intermediate trough point with the smallest vertical coordinate as the target intermediate trough point.
[0073] The advantage of this arrangement is that, compared with the prior art which only calculates the waviness of the ripples containing two peak points, the technical solution of the embodiment can timely identify the cases that the distance between the first peak point and the second intermediate trough point is too large, and the distance between the first intermediate trough point and the third peak point is too large, so as to timely process the target region surface that does not meet the standard.
[0074] Optionally, the peak point and the trough point of the interpolation spline curve can be determined by: judging whether there is a maximum point or a minimum point on the interpolation spline curve; if yes, determining the peak point and the trough point of the interpolation spline curve according to the monotonicity of the interpolation spline curve; if not, rotating and / or equivalently enlarging the interpolation spline curve until there is a maximum point or a minimum point on the interpolation spline curve, and then determining the peak point and the trough point of the interpolation spline curve according to the monotonicity of the rotated and / or equivalently enlarged interpolation spline curve.
[0075] Specifically, the point with the maximum vertical coordinate and the point with the minimum vertical coordinate on the interpolation spline curve can be obtained, and the rotation angle of the interpolation spline curve can be determined according to the vertical coordinate difference between the point with the maximum vertical coordinate and the point with the minimum vertical coordinate. The greater the vertical coordinate difference between the point with the maximum vertical coordinate and the point with the minimum vertical coordinate, the greater the rotation angle of the interpolation spline curve. The rotation angle of the interpolation spline curve can be 0. The equivalent magnification of the interpolation spline curve can be determined according to the curvatures of the interpolation spline curve at the points. The smaller the curvatures of the interpolation spline curve at the points, the greater the equivalent magnification of the interpolation spline curve. The equivalent magnification of the interpolation spline curve can be 0.
[0076] As shown in FIG. 6, the interpolation spline curve before the change is monotonically increasing in the entire interval, that is, there is no maximum point and minimum point, so the interpolation spline curve before the change can be rotated until there is a maximum point or a minimum point on the interpolation spline curve. Figure 3
[0077] The advantage of this arrangement is that, by rotating and / or equivalently enlarging the interpolation spline curve when there is no maximum point or minimum point on the interpolation spline curve, the relationship between the points on the interpolation spline curve can be avoided when the interpolation spline curve is graphically transformed, so as to affect the accuracy of the determined peak point and trough point, thereby improving the accuracy of determining the peak point and the trough point on the interpolation spline curve.
[0078] Optionally, before determining the corrugation of each corrugation on the surface of the target region according to the peak points and the valley points of the interpolation spline curve, the method further comprises: removing the peak points of non-maximum points and the valley points of non-minimum points on the interpolation spline curve.
[0079] For example, in order to improve the accuracy of the determined corrugation, the interpolation spline curve shown in FIG. 1 can be determined to determine whether each peak point is a maximum point and whether each valley point is a minimum point. Then, the peak points of non-maximum points can be determined as pseudo-peak points, the valley points of non-minimum points can be determined as pseudo-valley points, and the pseudo-peak points and the pseudo-valley points can be removed. Figure 4
[0080] S270, obtaining the adjacent valley point of each peak point and the vertical line where the adjacent valley point is located, and determining the slope of the interpolation spline curve at each peak point according to the distance from each peak point to the vertical line where the matched adjacent valley point is located and the estimated amplitude corresponding to the matched adjacent valley point.
[0081] In this step, specifically, the matched peak point and the adjacent valley point can be obtained, and the slope of the interpolation spline curve at the matched peak point can be obtained by dividing the estimated amplitude of the adjacent valley point by the distance from the matched peak point to the vertical line where the adjacent valley point is located.
[0082] S280, obtaining the standard corrugation and the standard slope corresponding to the target region, and sending prompt information to the user when the corrugation of any corrugation on the surface of the target region is greater than the standard corrugation or the slope of the interpolation spline curve at any peak point is greater than the standard slope.
[0083] The prompt information can include identification information of the target region and a maximum characteristic value in the target region. The identification information of the target region can be used to uniquely identify the target region, such as the name and number of the target region. The maximum characteristic value in the target region can include at least one of the maximum slope, the maximum amplitude, the longest wavelength, and the maximum corrugation.
[0084] Through the above setting, the target region on the aircraft that does not meet the standard can be processed in time, thereby improving the safety and stability of the aircraft running.
[0085] S290, determining that the interpolation spline curve is not equivalent to the profile spline curve.
[0086] Optionally, after determining that the interpolation spline curve is not equivalent to the sectioned spline curve, the method further comprises: determining a new interpolation point according to the point cloud points on the sectioned spline curve, and generating a new interpolation spline curve according to the coordinates of the new interpolation point and the coordinates of the target interpolation point; determining whether the new interpolation spline curve is equivalent to the sectioned spline curve according to the curvature of the sectioned spline curve, the curvature of the new interpolation spline curve, and the distance between the sectioned spline curve and the new interpolation spline curve; if the new interpolation spline curve is equivalent to the sectioned spline curve, determining the peak point and the trough point of the new interpolation spline curve, and determining the waviness of each ripple on the target region surface according to the peak point and the trough point of the new interpolation spline curve; if the new interpolation spline curve is not equivalent to the sectioned spline curve, returning to the operation of determining the new interpolation point according to the point cloud points on the sectioned spline curve until the new interpolation spline curve is equivalent to the sectioned spline curve.
[0087] Specifically, the non-target interpolation points between the point cloud points on the sectioned spline curve can be determined as the new interpolation points by the interpolation method.
[0088] The advantage of this arrangement is that by determining the new interpolation point according to the point cloud points on the sectioned spline curve when the interpolation spline curve is not equivalent to the sectioned spline curve, and generating a new interpolation spline curve according to the coordinates of the new interpolation point and the coordinates of the target interpolation point, the equivalence of the interpolation spline curve and the sectioned spline curve is ensured, and the accuracy of the waviness determination is improved.
[0089] The technical scheme of the embodiment determines that the interpolation spline curve is equivalent to the sectioned spline curve when the curvature of each point on the sectioned spline curve is equal to the curvature of the corresponding point on the interpolation spline curve, and the distance between the sectioned spline curve and the interpolation spline curve is less than the set distance threshold, which improves the accuracy of the interpolation spline curve and further improves the accuracy of the waviness determination. Secondly, when the waviness of any ripple on the target region surface is greater than the standard waviness, or the slope of the interpolation spline curve at any peak point is greater than the standard slope, the method sends prompt information to the user that the waviness of the target region does not meet the standard, which facilitates timely processing of the target region on the aircraft that does not meet the standard, and improves the safety and stability of the aircraft in operation.
[0090] To describe the waviness determination method in the present scheme in detail, a most detailed embodiment is described as follows: as shown in FIG. 1, the method comprises the following steps. Figure 5As shown, step one, obtaining a target area of an aircraft, and a three-dimensional point cloud model corresponding to a surface of the target area, and performing a sectioning process on the three-dimensional point cloud model to obtain a sectioned spline curve of the three-dimensional point cloud model. Step two, creating an interpolation point on the sectioned spline curve. Step three, generating an interpolation spline curve according to the coordinates of the interpolation point. Step four, determining whether the interpolation spline curve is equivalent to the sectioned spline curve according to the curvature of the sectioned spline curve, the curvature of the interpolation spline curve, and the distance between the sectioned spline curve and the interpolation spline curve. If the interpolation spline curve is not equivalent to the sectioned spline curve, returning to perform the operation of creating an interpolation point on the sectioned spline curve until the interpolation spline curve is equivalent to the sectioned spline curve. If the interpolation spline curve is equivalent to the sectioned spline curve, performing step five.
[0091] Step five, exporting the interpolation point on the interpolation spline curve based on a macro command. Step six, loading the exported interpolation point into a pre-written calculation program. Step seven, automatically regenerating the interpolation spline curve according to the pre-written calculation program, and determining that the exported interpolation point is correct when the interpolation spline curve is regenerated successfully. If the exported interpolation point is incorrect, returning to perform the operation of loading the exported interpolation point into the pre-written calculation program until the exported interpolation point is correct. If the exported interpolation point is correct, performing step eight. Step eight, when there is no maximum value point or minimum value point on the interpolation spline curve, performing rotation and / or equivalent amplification on the interpolation spline curve until there is a maximum value point or a minimum value point on the interpolation spline curve, and determining the peak point and the valley point of the interpolation spline curve according to the monotonicity of the interpolation spline curve after rotation and / or equivalent amplification. Step nine, performing a rejection process on the peak point of a non-maximum value point and the valley point of a non-minimum value point on the interpolation spline curve, and determining the corrugation degree of each corrugation on the surface of the target area according to the peak point and the valley point after the rejection process. Step ten, obtaining adjacent valley points of each peak point and vertical lines where the adjacent valley points are located, and determining the slope of the interpolation spline curve at each peak point according to the distance from each peak point to the vertical line where the matching adjacent valley point is located and the estimated amplitude corresponding to the matching adjacent valley point. Step eleven, obtaining a standard corrugation degree and a standard slope corresponding to the target area, and sending prompt information that the corrugation degree of the target area does not meet the standard to a user when the corrugation degree of any corrugation on the surface of the target area is greater than the standard corrugation degree or the slope of the interpolation spline curve at any peak point is greater than the standard slope.
[0092] The advantage of the arrangement is that, compared with the prior art in which the peak points and the valley points are concentrated in a limited number of predefined points, resulting in the peak points and the valley points found possibly being different from the real peak points and the valley points, the technical solution of the embodiment generates an interpolation spline curve and determines the peak points and the valley points according to the interpolation spline curve, so that the maximum points of the interpolation spline curve are the peak points and the minimum points of the interpolation spline curve are the valley points, avoiding the case that the peak points and the valley points determined are not the extreme points of the interpolation spline curve, and improving the accuracy of the peak points and the valley points determined. Secondly, the peak points and the valley points of the interpolation spline curve are determined by a pre-written calculation program, the corrugation of each corrugation on the surface of the target region is determined according to the peak points and the valley points, and the corrugation that does not meet the standard is identified, which can improve the accuracy and efficiency of the determination of the corrugation, and further improve the efficiency of processing the target region on the aircraft that does not meet the standard.
[0093] Embodiment three
[0094] Figure 6 is a structural schematic diagram of a corrugation determination device provided according to Embodiment three of the present application. As shown in Figure 6 the device comprises: a sectioned spline curve determination module 61, an interpolation spline curve determination module 62, an equivalent curve determination module 63, and a corrugation determination module 64. Among them,
[0095] The sectioned spline curve determination module 61 is configured to obtain a target region of an aircraft and a three-dimensional point cloud model corresponding to the surface of the target region, and perform sectioning processing on the three-dimensional point cloud model to obtain a sectioned spline curve of the three-dimensional point cloud model.
[0096] The interpolation spline curve determination module 62 is configured to determine the coordinates of a target interpolation point according to the point cloud points on the sectioned spline curve, and generate an interpolation spline curve according to the coordinates of the target interpolation point.
[0097] The equivalent curve determination module 63 is configured to determine whether the interpolation spline curve is equivalent to the sectioned spline curve according to the curvature of the sectioned spline curve, the curvature of the interpolation spline curve, and the distance between the sectioned spline curve and the interpolation spline curve.
[0098] The corrugation determination module 64 is configured to, if yes, determine the peak points and the valley points of the interpolation spline curve, and determine the corrugation of each corrugation on the surface of the target region according to the peak points and the valley points of the interpolation spline curve.
[0099] The technical scheme provided by the embodiment of the present application solves the problem that the corrugation of each corrugation on the surface of the aircraft is determined completely by manual operation in the prior art, and the corrugation of the surface of the aircraft cannot be accurately and efficiently determined, and the corrugation of the surface of the aircraft can be accurately and efficiently determined.
[0100] Optionally, the apparatus further comprises an interpolation spline curve updating module, which is configured to: if the interpolation spline curve is not equivalent to the cut spline curve, determine a new interpolation point according to the point cloud points on the cut spline curve, and generate a new interpolation spline curve according to the coordinates of the new interpolation point and the coordinates of the target interpolation point; determine whether the new interpolation spline curve is equivalent to the cut spline curve according to the curvatures of the cut spline curve and the new interpolation spline curve and the distance between the cut spline curve and the new interpolation spline curve; if the new interpolation spline curve is equivalent to the cut spline curve, determine the peak point and the trough point of the new interpolation spline curve, and determine the corrugation of each corrugation on the target region surface according to the peak point and the trough point of the new interpolation spline curve; if the new interpolation spline curve is not equivalent to the cut spline curve, return to the operation of determining the new interpolation point according to the point cloud points on the cut spline curve until the new interpolation spline curve is equivalent to the cut spline curve.
[0101] Optionally, the equivalent curve determining module 63 is specifically configured to: determine whether the curvatures of the points on the cut spline curve are equal to the curvatures of the corresponding points on the interpolation spline curve; if not, determine that the interpolation spline curve is not equivalent to the cut spline curve; if yes, determine whether the distance between the cut spline curve and the interpolation spline curve is less than a set distance threshold; if the distance between the cut spline curve and the interpolation spline curve is less than the set distance threshold, determine that the interpolation spline curve is equivalent to the cut spline curve; if the distance between the cut spline curve and the interpolation spline curve is greater than or equal to the set distance threshold, determine that the interpolation spline curve is not equivalent to the cut spline curve.
[0102] Optionally, the corrugation determining module 64 comprises:
[0103] The peak and trough determining unit is configured to: determine whether there is a maximum value point or a minimum value point on the interpolation spline curve; if yes, determine the peak point and the trough point of the interpolation spline curve according to the monotonicity of the interpolation spline curve; if not, rotate and / or equivalently enlarge the interpolation spline curve until there is a maximum value point or a minimum value point on the interpolation spline curve, and then determine the peak point and the trough point of the interpolation spline curve according to the monotonicity of the interpolation spline curve after the rotation and / or the equivalent enlargement.
[0104] The corrugation determination unit is configured to: obtain a target wave crest point on the interpolation spline curve, and obtain, as a first wave crest point, a second wave crest point and a third wave crest point in sequence along an extension direction of the interpolation spline curve from the target wave crest point as a starting point, wherein the target wave crest point is initialized as a first wave crest point; determine an estimated wavelength of a first corrugation according to a distance between the first wave crest point and the second wave crest point; obtain a first intermediate wave trough point between the first wave crest point and the second wave crest point, and determine an estimated amplitude of the first corrugation according to a distance from the first intermediate wave trough point to a line connecting the first wave crest point and the second wave crest point; determine a corrugation of the first corrugation on the target region surface according to a ratio of the estimated wavelength of the first corrugation to the estimated amplitude; determine an estimated wavelength of a second corrugation according to a distance between the second wave crest point and the third wave crest point; obtain a second intermediate wave trough point between the second wave crest point and the third wave crest point, and determine an estimated amplitude of the second corrugation according to a distance from the second intermediate wave trough point to a line connecting the second wave crest point and the third wave crest point; determine a corrugation of the second corrugation on the target region surface according to a ratio of the estimated wavelength of the second corrugation to the estimated amplitude; determine an estimated wavelength of a third corrugation according to a distance between the first wave crest point and the third wave crest point; take the first intermediate wave trough point or the second intermediate wave trough point as a target intermediate wave trough point according to a vertical coordinate of the first intermediate wave trough point and the second intermediate wave trough point, and determine an estimated amplitude of the third corrugation according to a distance from the target intermediate wave trough point to a line connecting the first wave crest point and the third wave crest point; determine a corrugation of the third corrugation on the target region surface according to a ratio of the estimated wavelength of the third corrugation to the estimated amplitude; determine whether the processing of the corrugations of all wave crest points on the interpolation spline curve is completed; if not, obtain a wave crest point subsequent to the target wave crest point on the interpolation spline curve along the extension direction of the interpolation spline curve as a new target wave crest point, and then return to perform the operation of obtaining, as a first wave crest point, a second wave crest point and a third wave crest point in sequence along the extension direction of the interpolation spline curve from the new target wave crest point as a starting point, until the processing of the corrugations of all wave crest points on the interpolation spline curve is completed.
[0105] Optionally, the device further comprises an invalid point elimination module configured to:
[0106] The wave crest points of non-maximum points and the wave trough points of non-minimum points on the interpolation spline curve are eliminated.
[0107] Optionally, the device further comprises an information determination module configured to:
[0108] The adjacent wave trough points of each wave crest point and the vertical lines where the adjacent wave trough points are located are obtained, and the slope of the interpolation spline curve at each wave crest point is determined according to the distance from each wave crest point to the vertical line where the matching adjacent wave trough point is located and the estimated amplitude corresponding to the matching adjacent wave trough point.
[0109] The standard corrugation and the standard slope corresponding to the target area are obtained, and when the corrugation of any corrugation on the surface of the target area is greater than the standard corrugation, or the slope of the interpolation spline curve at any peak point is greater than the standard slope, the user is sent prompt information that the corrugation of the target area does not meet the standard.
[0110] The corrugation determination device provided by the embodiments of the present application can execute the corrugation determination method provided by any of the embodiments of the present application, and has the corresponding function modules and beneficial effects of the execution method.
[0111] Embodiment four
[0112] Figure 7 A structural schematic diagram of an electronic device 10 that can be used to implement embodiments of the present application is shown. The electronic device is intended to represent various forms of digital computers, such as laptops, desktops, tablets, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular telephones, smart phones, wearable devices (e.g., headsets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not intended to limit the implementations of the present application described and / or claimed in this document.
[0113] As shown in Figure 7 The electronic device 10 includes at least one processor 11, and a memory, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., which is communicatively connected to the at least one processor 11, wherein the memory stores a computer program that can be executed by the at least one processor. The processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 into the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0114] A plurality of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a magnetic disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network, such as the Internet, and / or various telecommunications networks.
[0115] The processor 11 can be various general and / or special purpose processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various specialized artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, and the like. The processor 11 performs various methods and processes described above, such as the waviness determination method.
[0116] In some embodiments, the waviness determination method can be implemented as a computer program tangibly embodied in a computer readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed onto the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded onto the RAM 13 and executed by the processor 11, one or more steps of the waviness determination method described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to perform the waviness determination method by any other suitable means, such as by means of firmware.
[0117] Various implementations of the systems and techniques described above can be realized in digital electronic circuitry, integrated circuitry, a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on a chip (SOC), a programmable logic device (PLD), a computer hardware, firmware, software, and / or combinations thereof. These various implementations can include implementation in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.
[0118] Computer programs used to implement the methods of the application can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the computer program, when executed by the processor of the machine, implements the functions / acts specified in the flowcharts and / or block diagrams. The computer program can be executed entirely on a machine, partially on a machine, partially on a machine as a stand-alone software package, partially on a machine and partially on a remote machine or entirely on a remote machine or server.
[0119] In the context of the present application, a computer-readable storage medium can be a tangible medium that can contain or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer-readable storage medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium can be a machine-readable signal medium. More specific examples of a machine-readable storage medium will include one or more lines of a program of instructions in a transitory signal, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0120] To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the electronic device. Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.
[0121] The systems and techniques described here can be implemented in a computing system that includes a back end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front end component (e.g., a user computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back end, middleware, or front end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0122] The computing system can include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system, to solve the defects of large management difficulty and weak business scalability in traditional physical host and VPS service.
[0123] It should be understood that the various forms of flow shown above can be reordered, added to, or have steps deleted. For example, the steps described in the present application can be performed in parallel, in series, or in a different order, as long as the desired results of the technical solutions of the present application can be achieved, and this is not limited herein.
[0124] The above detailed description does not constitute a limitation on the protection scope of the present application. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent replacements, and improvements made within the spirit and principles of the present application shall be included in the protection scope of the present application.
Claims
1. A method for determining waviness, characterized in that: The method comprises: Acquire the target area of the aircraft and a three-dimensional point cloud model corresponding to the surface of the target area, and perform sectioning processing on the three-dimensional point cloud model to obtain a sectioning spline curve of the three-dimensional point cloud model; Determine the coordinates of the target interpolation point according to the point cloud points on the section spline curve, and generate the interpolation spline curve according to the coordinates of the target interpolation point; determining whether the interpolating spline curve is equivalent to the cutting spline curve according to the curvature of the cutting spline curve, the curvature of the interpolating spline curve, and the distance between the cutting spline curve and the interpolating spline curve; If so, the crest points and trough points of the interpolation spline curve are determined, and the waviness of each ripple on the surface of the target area is determined according to the crest points and trough points of the interpolation spline curve.
2. The method according to claim 1, characterized in that After determining whether the interpolation spline curve is equivalent to the sectioning spline curve, the method further includes: If not, then determine a new interpolation point based on the point cloud points on the sectioning spline curve, and generate a new interpolation spline curve based on the coordinates of the new interpolation point and the coordinates of the target interpolation point; determining whether the new interpolation spline curve is equivalent to the cutting spline curve according to the curvature of the cutting spline curve, the curvature of the new interpolation spline curve, and the distance between the cutting spline curve and the new interpolation spline curve; If the new interpolation spline curve is equivalent to the sectioning spline curve, then determining the peak points and trough points of the new interpolation spline curve, and determining the waviness of each ripple on the surface of the target area according to the peak points and trough points of the new interpolation spline curve; If the new interpolation spline curve is not equivalent to the sectioning spline curve, the operation of determining new interpolation points based on the point cloud points on the sectioning spline curve is returned until the new interpolation spline curve is equivalent to the sectioning spline curve.
3. The method according to claim 1, characterized in that Determines whether the interpolating spline is equivalent to the cutting spline based on the curvature of the cutting spline, the curvature of the interpolating spline, and the distance between the cutting spline and the interpolating spline, including: Determine whether the curvature of each point on the cutting spline curve is equal to the curvature of the corresponding point on the interpolation spline curve; If not, it is determined that the interpolating spline is not equivalent to the cutting spline; If so, determine whether the distance between the cutting spline curve and the interpolation spline curve is less than the set distance threshold; If the distance between the cutting spline curve and the interpolation spline curve is less than a set distance threshold, it is determined that the interpolation spline curve is equivalent to the cutting spline curve; If the distance between the sectioning spline curve and the interpolating spline curve is greater than or equal to the set distance threshold, it is determined that the interpolating spline curve is not equivalent to the sectioning spline curve.
4. The method according to claim 1, wherein Determine the peaks and valleys of the interpolation spline curve, including: Determine whether there is a maximum point or a minimum point on the interpolation spline curve; If so, the peak points and trough points of the interpolation spline curve are determined according to the monotonicity of the interpolation spline curve; If not, the interpolation spline curve is rotated and / or equivalently amplified until a maximum point or a minimum point exists on the interpolation spline curve. Then, the peak point and the trough point of the interpolation spline curve are determined according to the monotonicity of the interpolation spline curve after rotation and / or equivalent amplification.
5. The method according to claim 1, wherein Before determining the waviness of each ripple on the surface of the target area according to the crest points and trough points of the interpolation spline curve, the method further includes: The peak points that are not maximum points and the trough points that are not minimum points on the interpolation spline curve are eliminated.
6. The method according to claim 1, characterized in that The waviness of each ripple on the surface of the target area is determined based on the crest points and trough points of the interpolation spline curve, including: Obtaining a target peak point on the interpolation spline curve, and taking the target peak point as a starting point, sequentially obtaining three consecutive peak points along the extension direction of the interpolation spline curve as a first peak point, a second peak point, and a third peak point, wherein the target peak point is initialized to the first peak point; determining an estimated wavelength of the first ripple based on a distance between the first crest point and the second crest point; Obtaining a first intermediate trough point between the first crest point and the second crest point, and determining an estimated amplitude of the first ripple based on a distance from the first intermediate trough point to a line connecting the first crest point and the second crest point; determining a waviness of the first ripples on the surface of the target area based on a ratio of the estimated wavelength to the estimated amplitude of the first ripples; determining an estimated wavelength of the second ripple based on a distance between the second crest point and the third crest point; Obtaining a second intermediate trough point between the second wave crest point and the third wave crest point, and determining an estimated amplitude of the second ripple based on a distance from the second intermediate trough point to a line connecting the second wave crest point and the third wave crest point; determining a waviness of the second ripples on the surface of the target area based on a ratio of the estimated wavelength to the estimated amplitude of the second ripples; determining an estimated wavelength of the third ripple based on a distance between the first crest point and the third crest point; According to the longitudinal coordinates of the first intermediate trough point and the second intermediate trough point, the first intermediate trough point or the second intermediate trough point is used as the target intermediate trough point, and the estimated amplitude of the third ripple is determined according to the distance from the target intermediate trough point to the line connecting the first peak point and the third peak point; determining the waviness of the third ripples on the surface of the target area based on a ratio of the estimated wavelength to the estimated amplitude of the third ripples; Determine whether the processing of ripples at all peak points on the interpolation spline curve is completed; If not, then on the interpolation spline curve, after obtaining the next peak point of the target peak point along the extension direction of the interpolation spline curve as a new target peak point, return to execute the operation of taking the target peak point as the starting point and obtaining three consecutive peak points as the first peak point, the second peak point and the third peak point along the extension direction of the interpolation spline curve in sequence until the ripple processing of all peak points on the interpolation spline curve is completed.
7. The method according to claim 6, characterized in that After determining the waviness of each ripple on the surface of the target area according to the crest points and trough points of the interpolation spline curve, the method further includes: Obtain the adjacent trough points of each wave crest point and the vertical line where each adjacent trough point is located, and determine the slope of the interpolation spline curve at each wave crest point based on the distance from each wave crest point to the vertical line where the matching adjacent trough point is located and the estimated amplitude corresponding to the matching adjacent trough point; Obtain the standard waviness and standard slope corresponding to the target area, and when the waviness of any ripple on the surface of the target area is greater than the standard waviness, or the slope of the interpolation spline curve at any peak point is greater than the standard slope, send a prompt message to the user that the waviness of the target area does not meet the standard.
8. A device for determining waviness, characterized in that: include: A sectioning spline curve determination module is used to obtain a target area of the aircraft and a three-dimensional point cloud model corresponding to the surface of the target area, and to perform sectioning processing on the three-dimensional point cloud model to obtain a sectioning spline curve of the three-dimensional point cloud model; An interpolation spline curve determination module is used to determine the coordinates of a target interpolation point according to the point cloud points on the section spline curve, and to generate an interpolation spline curve according to the coordinates of the target interpolation point; an equivalent curve determination module, for determining whether the interpolation spline curve is equivalent to the sectioning spline curve according to the curvature of the sectioning spline curve, the curvature of the interpolation spline curve, and the distance between the sectioning spline curve and the interpolation spline curve; The waviness determination module is used to determine the peak points and trough points of the interpolation spline curve if yes, and determine the waviness of each ripple on the surface of the target area according to the peak points and trough points of the interpolation spline curve.
9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor. The computer program is executed by the at least one processor to enable the at least one processor to perform the waviness determination method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the waviness determination method according to any one of claims 1 to 7 when executed.
Citation Information
Cited By
Three-dimensional skin waviness fitting analysis method
CN121498585A