A method for measuring bias of magnetorheological fluid
By calculating the rotation center point of the magnetorheological machine tool and the actual machine tool coordinate system, and measuring the offset of the magnetorheological fluid, the problem of machining landing point error caused by offset in magnetorheological polishing is solved and the polishing accuracy is improved.
Patent Information
- Application Number
- CN202410767466.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-14
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-06-14
AI Technical Summary
During the magnetorheological polishing process, the offset of the magnetorheological fluid leads to machining point errors and affects polishing accuracy. It is difficult to accurately measure and compensate for this offset with existing technology.
By obtaining the initial surface shape data of the measuring element and the measured surface shape data of the polishing wheel at the preset position, the three-dimensional data and center point coordinates of the removal function are calculated to determine the rotation center point of the magnetorheological machine tool and the actual machine tool coordinate system, and then The bias of the magnetorheological fluid is measured and converted to obtain the actual bias.
Accurately measuring the magnetorheological fluid offset provides a basis for subsequent error compensation and improves the accuracy of magnetorheological polishing.
Smart Images

Figure CN118328853B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of magnetorheological polishing, and in particular to a method for measuring the bias of a magnetorheological fluid. Background Art
[0002] Magnetorheological polishing uses the principle that magnetorheological polishing fluid undergoes rheological effect in a gradient magnetic field, causing the liquid to harden rapidly and then form a Bingham fluid, in which the polishing abrasive particles mechanically remove the surface material of the optical workpiece.
[0003] Schematic diagram of the principle of magnetorheological polishing, such as Figure 1 As shown. The workpiece is located above the polishing wheel and forms a small and fixed distance between the workpiece and the polishing wheel, so a gap is formed between the workpiece and the polishing wheel. The magnetic pole is placed below the workpiece and the polishing disc, and a high gradient magnetic field is formed near the narrow gap formed by the workpiece and the polishing disc. When the magnetorheological fluid on the polishing wheel moves with the polishing wheel to the vicinity of the small gap formed by the workpiece and the polishing wheel, the high gradient magnetic field causes it to condense and harden, forming a belt-shaped protrusion, which becomes a viscoplastic Bingham medium. When the Bingham medium with a high movement speed passes through the narrow gap, it will generate a large shear force on the area on the workpiece surface that contacts it, so that the surface material of the workpiece is removed, achieving the purpose of micro-nano-level material removal.
[0004] Since the highest point of the magnetorheological fluid cannot be extracted, ideally, the highest point of the polishing wheel is generally considered to be the highest point of the magnetorheological fluid; however, in actual situations, the magnetorheological fluid will appear as follows: Figure 2 The bias condition shown is Figure 2 It can be seen that: in actual situations, the placement of the nozzle and the collector does not completely coincide with the center axis of the polishing wheel, and the magnetorheological fluid emitted from the nozzle will not completely coincide with the center axis of the polishing wheel. When there is an offset between the highest point of the magnetorheological fluid and the highest point of the polishing wheel, the ideal landing point of the magnetorheological fluid on the lens is inconsistent with the actual landing point. If this offset is ignored during the actual processing, it will cause a landing point error in the processing, and then the processed surface shape will not meet the requirements.
[0005] How to accurately measure the magnetorheological fluid bias so as to subsequently compensate for the error introduced by the magnetorheological fluid bias is a technical problem that needs to be solved urgently by those skilled in the art. Summary of the invention
[0006] In order to solve the above technical problems, the present application provides a method for measuring the bias of a magnetorheological fluid, which can accurately measure the bias of the magnetorheological fluid so as to subsequently compensate for the error introduced by the bias of the magnetorheological fluid and improve the accuracy of magnetorheological polishing.
[0007] The technical solutions provided by this application are as follows:
[0008] A method for measuring a magnetorheological fluid bias, comprising:
[0009] Obtaining initial surface shape data before measuring the element spot;
[0010] Obtaining measurement surface shape data obtained by sampling the measuring element or the polishing wheel of the magnetorheological machine tool when the measuring element is at a preset position, wherein the preset position includes a first position, a second position, a third position, a fourth position, a fifth position and a sixth position, a first line formed by the first position and the third position is parallel to a first coordinate axis of a machine coordinate system of the magnetorheological machine tool, a second line formed by the second position and the fourth position is parallel to a coordinate axis plane where the first coordinate axis is located, and the second line intersects the first line perpendicularly at a preset initial position; a third line constructed by the fifth position and the sixth position passes through the preset initial position and is parallel to a second coordinate axis of the machine coordinate system of the magnetorheological machine tool; when the first coordinate axis is the y-axis, the second coordinate axis is the x-axis; when the first coordinate axis is the x-axis, the second coordinate axis is the y-axis; when the measuring element is mounted on the magnetorheological machine tool and the center of the measuring element is aligned to the center of the polishing wheel, the position of the measuring element or the polishing wheel is used as the preset initial position;
[0011] Subtracting the measured surface shape data from the initial surface shape data to obtain first data, and obtaining three-dimensional data of the removal function based on the first data;
[0012] Calculating the coordinates of a first center point of the center of the removal function in a preset image coordinate system according to the three-dimensional data of the removal function;
[0013] Calculating the rotation center coordinates of the magnetorheological machine tool according to the first center coordinates;
[0014] According to the rotation center point coordinates, an actual machine tool coordinate system is determined, and the coordinates of a second center point of the center of the removal function in the actual machine tool coordinate system are calculated;
[0015] Calculating a first measurement bias of the magnetorheological fluid in the direction of the second coordinate axis according to the coordinates of the first center point;
[0016] Calculating a second measurement bias of the magnetorheological fluid in the direction of the first coordinate axis according to the coordinates of the second center point;
[0017] The first measurement bias and the second measurement bias are converted to obtain a first actual bias of the magnetorheological fluid in the direction of the second coordinate axis and a second actual bias of the magnetorheological fluid in the direction of the first coordinate axis.
[0018] Preferably, in the magnetorheological fluid bias measurement method, the first position, the second position, the third position and the fourth position are located on a circle with the preset initial position as the center and the first preset distance as the radius; the fifth position and the sixth position are located on a circle with the preset initial position as the center and the second preset distance as the radius.
[0019] Preferably, in the magnetorheological fluid bias measurement method, calculating the coordinates of a first center point of the center of the removal function in a preset image coordinate system based on the three-dimensional data of the removal function includes:
[0020] Performing binarization processing according to the three-dimensional data of the removal function to obtain a binary cross-sectional image of the removal function;
[0021] Performing contour detection on the binary cross-sectional image to obtain cross-sectional contours of 6 removal functions;
[0022] The six coordinates corresponding to the centers of the minimum circumscribed circles of the cross-sectional contours of the six removal functions in the preset image coordinate system are calculated as the first center point coordinates of the centers of the six removal functions in the preset image coordinate system.
[0023] Preferably, in the magnetorheological fluid bias measurement method, the binary cross-sectional image is subjected to contour detection to obtain six cross-sectional contours after removing functions, including:
[0024] Contour detection is performed on the binary cross-sectional image, and the area sizes of all contours in the binary cross-sectional image are calculated, and the six contours with the largest areas are selected as the cross-sectional contours of the six removal functions.
[0025] Preferably, in the magnetorheological fluid bias measurement method, the step of calculating the rotation center coordinates of the magnetorheological machine tool according to the first center coordinates includes:
[0026] Determine a first coordinate line according to first center point coordinates of two centers of the removal functions corresponding to the first position and the third position;
[0027] Determine a second coordinate line according to the first center point coordinates of the two centers of the removal functions corresponding to the second position and the fourth position;
[0028] The coordinates of the intersection of the first coordinate line and the second coordinate line in the preset image coordinate system are calculated as the coordinates of the rotation center point of the magnetorheological machine tool in the preset image coordinate system.
[0029] Preferably, in the magnetorheological fluid bias measurement method, determining the actual machine tool coordinate system according to the rotation center point coordinates includes:
[0030] Determine the origin of the coordinate system according to the coordinates of the rotation center point;
[0031] Determine the direction of the first coordinate axis of the coordinate system based on the center of the removal function corresponding to the first position;
[0032] Determine the direction of the second coordinate axis of the coordinate system according to the direction of the first coordinate axis of the coordinate system;
[0033] The actual machine tool coordinate system is determined according to the direction of the first coordinate axis of the coordinate system, the direction of the second coordinate axis of the coordinate system and the origin of the coordinate system.
[0034] Preferably, in the magnetorheological fluid bias measurement method, the step of calculating the coordinates of the second center point of the center of the removal function in the actual machine tool coordinate system includes:
[0035] According to the actual machine tool coordinate system, the first center point coordinates of the centers of the two removal functions corresponding to the fifth position and the sixth position are transformed into a coordinate system to obtain the second center point coordinates of the centers of the two removal functions corresponding to the fifth position and the sixth position in the actual machine tool coordinate system.
[0036] Preferably, in the method for measuring the bias of the magnetorheological fluid, calculating the first measurement bias of the magnetorheological fluid in the direction of the second coordinate axis according to the coordinates of the first center point includes:
[0037] Determine a first coordinate difference according to first center point coordinates of two centers of the removal functions corresponding to the first position and the third position;
[0038] Divide the first coordinate difference by 2 to obtain a first coordinate offset;
[0039] Determine a second coordinate difference according to first center point coordinates of two centers of the removal functions corresponding to the second position and the fourth position;
[0040] Divide the second coordinate difference by 2 to obtain a second coordinate offset;
[0041] An average value of the first coordinate offset and the second coordinate offset is taken as a first measurement offset of the magnetorheological fluid in the direction of the second coordinate axis.
[0042] Preferably, in the method for measuring the bias of the magnetorheological fluid, calculating the second measurement bias of the magnetorheological fluid in the direction of the first coordinate axis according to the coordinates of the second center point includes:
[0043] Determine the first coordinate addition value according to the second center point coordinates of the centers of the two removal functions corresponding to the fifth position and the sixth position;
[0044] The first coordinate addition value is divided by 2 to obtain a second measurement bias of the magnetorheological fluid in the direction of the first coordinate axis.
[0045] Preferably, in the magnetorheological fluid bias measurement method, the first measurement bias and the second measurement bias are converted to obtain a first actual bias of the magnetorheological fluid in the direction of the second coordinate axis and a second actual bias of the magnetorheological fluid in the direction of the first coordinate axis, including:
[0046] The first measurement offset and the second measurement offset are respectively multiplied by a preset pixel distance to obtain a first actual offset of the magnetorheological fluid in the direction of the second coordinate axis and a second actual offset in the direction of the first coordinate axis.
[0047] The above technical scheme obtains the initial surface shape data of the measuring element before sampling and the measured surface shape data measured after sampling the measuring element; subtracts the measured surface shape data from the initial surface shape data to obtain the first data, and obtains the three-dimensional data of the removal function based on the first data; further, based on the three-dimensional data of the removal function, calculates the first center point coordinates of the center of the removal function in the preset image coordinate system; based on the first center point coordinates, calculates the rotation center point coordinates of the magnetorheological machine tool; based on the rotation center point coordinates, determines the actual machine tool coordinate system, and calculates the second center point coordinates of the center of the removal function in the actual machine tool coordinate system; based on the first center point coordinates, calculates the first measurement bias of the magnetorheological fluid in the direction of the second coordinate axis; based on the second center point coordinates, calculates the second measurement bias of the magnetorheological fluid in the direction of the first coordinate axis, thereby obtaining the measurement bias of the magnetorheological fluid by calculating the deviation of the center of the removal function; finally, the first measurement bias and the second measurement bias are converted to obtain the first actual bias of the magnetorheological fluid in the direction of the second coordinate axis and the second actual bias of the magnetorheological fluid in the direction of the first coordinate axis. In summary, the above technical solution can accurately measure the magnetorheological fluid bias, so as to subsequently compensate for the error introduced by the magnetorheological fluid bias and improve the accuracy of magnetorheological polishing. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0049] Figure 1 Schematic diagram of the principle of magnetorheological polishing;
[0050] Figure 2 Schematic diagram of the bias condition of magnetorheological fluid;
[0051] Figure 3 A schematic flow chart of a method for measuring a magnetorheological fluid bias provided in an embodiment of the present application;
[0052] Figure 4 This is a schematic diagram of a binary cross-sectional image provided in an embodiment of the present application. DETAILED DESCRIPTION
[0053] In order to enable those skilled in the art to better understand the technical solutions in this application, the technical solutions in the embodiments of this application will be clearly and completely described below. Obviously, the described embodiments are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0054] In the embodiments provided in the present application, it should be understood that the disclosed method or system can be implemented in other ways. The system embodiments described below are merely schematic. For example, the division of units and modules is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or modules can be combined, or can be integrated into another system, or some features can be ignored, or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.
[0055] In addition, all functional units in the embodiments of the present application may be integrated into one processor, or each unit may be a separate device, or two or more units may be integrated into one device; each functional unit in the embodiments of the present application may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0056] A person skilled in the art can understand that all or part of the steps of the following method embodiments can be completed by program instructions and related hardware. The aforementioned program instructions can be stored in a computer-readable storage medium. When the program instructions are executed, the steps of the following method embodiments are executed; and the aforementioned storage medium includes: a mobile storage device, a read-only memory (ROM), a magnetic disk or an optical disk, and other media that can store program codes.
[0057] It should be understood that the use of "system", "device", "unit" and / or "module" in this application is only a method for distinguishing different components, elements, parts, parts or assemblies at different levels. However, if other words can achieve the same purpose, the word can be replaced by other expressions.
[0058] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, "multiple" and "several" mean two or more, unless otherwise clearly and specifically defined.
[0059] If a flow chart is used in the present application, the flow chart is used to illustrate the operations performed by the system according to the embodiment of the present application. It should be understood that the preceding or following operations are not necessarily performed accurately in order. On the contrary, each step can be processed in reverse order or simultaneously. At the same time, other operations can also be added to these processes, or a certain step or several steps of operations can be removed from these processes.
[0060] It should also be noted that, in this article, terms such as "comprises", "includes" or any other variations thereof are intended to cover non-exclusive inclusion, so that an article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such articles or devices. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the article or device including the above elements.
[0061] The embodiments of the present application are written in a progressive manner.
[0062] like Figure 3 As shown, the embodiment of the present application provides a method for measuring the bias of a magnetorheological fluid, comprising:
[0063] S101. Obtaining the initial surface shape data before the measurement element is sampled;
[0064] In S101, specifically, the measuring element can adopt a conventional measuring lens, and its specific material parameters are not limited here; the above-mentioned spot sampling refers to the process of machining a removal function shape on a magnetorheological machine tool, which is called spot sampling; before spot sampling is performed on the measuring element, the initial surface shape can be measured by an interferometer to obtain initial surface shape data. The surface shape data can also be obtained in other ways, which is not limited in this application.
[0065] S102. Obtaining the measuring surface data obtained by sampling the measuring element or the polishing wheel of the magnetorheological machine tool at a preset position;
[0066] In S102, specifically, the preset position includes a first position, a second position, a third position, a fourth position, a fifth position and a sixth position, a first connecting line formed by the first position and the third position is parallel to the first coordinate axis of the machine coordinate system of the magnetorheological machine tool, a second connecting line formed by the second position and the fourth position is parallel to the coordinate axis plane where the first coordinate axis is located, and the second connecting line intersects the first connecting line perpendicularly at the preset initial position; the third connecting line constructed by the fifth position and the sixth position passes through the preset initial position and is parallel to the second coordinate axis of the machine coordinate system of the magnetorheological machine tool; when the first coordinate axis is the y-axis, the second coordinate axis is the x-axis; when the first coordinate axis is the x-axis, the second coordinate axis is the y-axis; when the measuring element is installed on the magnetorheological machine tool and the center of the measuring element is aligned to the center of the polishing wheel, the position of the measuring element or the polishing wheel is used as the preset initial position;
[0067] Among them, the machine tool coordinate system can be a basic coordinate system based on the magnetorheological machine tool itself. For example, the machine tool coordinate system is a rectangular coordinate system consisting of an x-axis (horizontal axis), a y-axis (vertical axis), and a z-axis (vertical axis) that is established with the machine tool origin o as the coordinate system origin and follows the right-handed Cartesian rectangular coordinate system. Generally, the machine tool coordinate system is an inherent coordinate system on the machine tool and is provided with a fixed coordinate origin. When the measuring element or the polishing wheel of the magnetorheological machine tool is in one of the preset positions, the measuring element can be sampled once according to the same sampling parameters. After 6 samplings are completed, the surface shape of the processed measuring element can be measured by an interferometer to obtain the measured surface shape data.
[0068] In some embodiments, in order to improve the convenience of the spot sampling operation, the first position, the second position, the third position and the fourth position are located on a circle with the preset initial position as the center and the first preset distance as the radius; the fifth position and the sixth position are located on a circle with the preset initial position as the center and the second preset distance as the radius.
[0069] Accordingly, the specific implementation process of the spot picking operation can be carried out according to the following process steps:
[0070] S1021. Install the measuring element on the magnetorheological machine;
[0071] In S1021, specifically, the magnetorheological machine tool has a workpiece table for placing the workpiece, and the measuring element can be installed on the workpiece table of the magnetorheological machine tool for subsequent processing.
[0072] S1022. Align the center of the measuring element to the center of the polishing wheel, and then move the measuring element or the polishing wheel along the first coordinate axis of the machine coordinate system of the magnetorheological machine tool by a first preset distance to a first position to perform the first spot sampling, and then rotate the measuring element or the polishing wheel three times at an interval of 90° in the same horizontal plane and in the same rotation direction to reach the second position, the third position and the fourth position respectively to perform the second spot sampling, the third spot sampling and the fourth spot sampling respectively;
[0073] In S1022, specifically, the process of aligning the center of the measuring element to the center of the polishing wheel can include: placing the measuring element in the area to be processed of the magnetorheological machine tool, generally the rotating axis C-axis of the magnetorheological machine tool, placing the dial indicator head on the side of the measuring element, and then rotating the rotating axis C-axis of the magnetorheological machine tool, and adjusting the position of the measuring element according to the value of the dial indicator. Generally, it is assumed that the center of the polishing wheel of the magnetorheological machine tool coincides with the rotation center of the rotating axis C-axis. When the center of the measuring element is concentric with the rotation center of the rotating axis C-axis, the value of the dial indicator remains basically unchanged. At this time, it can be considered that the center of the measuring element has been aligned to the center of the polishing wheel, and the position of the measuring element or the polishing wheel at this time is used as the preset initial position. Further, the measuring element or the polishing wheel is moved from the preset initial position along the positive or negative direction of the first coordinate axis of the machine tool coordinate system of the magnetorheological machine tool, and then reaches the first position after the first preset distance, and the first spot sampling is performed, and the moving direction can be parallel to the placement direction of the polishing wheel; wherein the first coordinate axis can be the x-axis or y-axis of the machine tool coordinate system; the first preset distance can be set based on actual needs (for example, the first preset distance can be set to 30 mm), and there is no limitation here; after completing the first spot sampling, with the preset initial position as the rotation center, the measuring element or the polishing wheel is rotated 90° clockwise or counterclockwise in the same horizontal plane to move the measuring element or the polishing wheel from the first position to the second position to perform the second spot sampling; continue to rotate 90° in the same horizontal plane in the same rotation direction to reach the third position to perform the third spot sampling; continue to rotate 90° in the same horizontal plane in the same rotation direction to reach the fourth position to perform the fourth spot sampling; that is, after each spot sampling, rotate 90° in the same rotation direction to reach the next spot sampling position to perform the next spot sampling, until the above 4 spot samplings are completed;
[0074] S1023. Align the center of the measuring element to the center of the polishing wheel, then move the measuring element or the polishing wheel along the second coordinate axis of the machine coordinate system of the magnetorheological machine tool by a second preset distance to a fifth position to perform a fifth spot sampling, and then rotate the measuring element or the polishing wheel 180° in the same horizontal plane to a sixth position to perform a sixth spot sampling;
[0075] In S1023, specifically, after completing the first four spot samplings, align the center of the measuring element to the center of the polishing wheel, and then move the measuring element or the polishing wheel from the preset initial position along the positive or negative direction of the second coordinate axis of the machine tool coordinate system of the magnetorheological machine tool, and then move the second preset distance to the fifth position to perform the fifth spot sampling. The moving direction can be parallel to the placement direction of the polishing wheel; wherein, when the first coordinate axis is the y-axis, the second coordinate axis is the x-axis; when the first coordinate axis is the x-axis, the second coordinate axis is the y-axis; the second preset distance can be set based on actual needs (for example, the second preset distance can be set to 15 mm), which is not limited here; after completing the fifth spot sampling, with the preset initial position as the rotation center, rotate the measuring element or the polishing wheel 180° clockwise or counterclockwise in the same horizontal plane to move the measuring element or the polishing wheel from the fifth position to the sixth position to perform the sixth spot sampling.
[0076] Correspondingly, after the measuring element is sampled six times according to the process steps S1021-S1023, the surface shape of the processed measuring element can be measured by an interferometer to obtain measured surface shape data.
[0077] S103. Subtract the measured surface shape data from the initial surface shape data to obtain first data, and obtain three-dimensional data of the removal function based on the first data;
[0078] In S103, specifically, the measured surface shape data obtained by interferometer measurement and the initial surface shape data can be subtracted on the Metropro software, and then saved as a dat file as the first data; then the first data in the dat format can be read using Matlab software to obtain the three-dimensional data with the function removed, but the present application is not limited to this.
[0079] S104. Calculate the coordinates of a first center point of the center of the removal function in a preset image coordinate system according to the three-dimensional data of the removal function;
[0080] In S104, specifically, the three-dimensional data of the removal function can be processed using Matlab software to obtain a corresponding removal function image. It can be seen from the above implementation steps that the measuring element performs 6 spot sampling operations, and the removal function image will include cross-sectional contours corresponding to 6 removal functions corresponding to the 6 spot sampling operations. The center of the minimum circumscribed circle of the cross-sectional contour corresponding to each removal function can be used as the center of the removal function, and the first center point coordinates of the centers of the 6 removal functions in the preset image coordinate system of the Matlab software can be calculated.
[0081] In some embodiments, one implementation of this step specifically includes:
[0082] S1041. Perform binarization processing according to the three-dimensional data of the removal function to obtain a binary cross-sectional image of the removal function;
[0083] In S1041, specifically, Matlab software can be used to perform binarization processing based on the three-dimensional data of the removal function to obtain a binary cross-sectional image of the removal function; for example, the blank part of the removal function in the three-dimensional data of the removal function can be filled with 0, and then a threshold is set, which is 1 when the depth of the removal function exceeds this threshold, otherwise it is 0, and then the Boolean matrix is converted into a binary black and white image to obtain a binary cross-sectional image of the removal function.
[0084] In a specific embodiment, the measuring element or polishing wheel is moved from a preset initial position along the positive direction of the first coordinate axis (y-axis) of the machine coordinate system of the magnetorheological machine tool by a first preset distance (30 mm) to reach the first position for the first spot sampling, and then the measuring element or polishing wheel is rotated 3 times at an interval of 90° in the same horizontal plane in the same rotation direction to perform the second, third and fourth spot sampling; the measuring element or polishing wheel is moved from the preset initial position along the positive direction of the second coordinate axis (x-axis) of the machine coordinate system of the magnetorheological machine tool by a second preset distance (15 mm) to reach the fifth position for the fifth spot sampling, and then the measuring element or polishing wheel is rotated 180° in the same horizontal plane to perform the sixth spot sampling as an example. A specific example of a binary cross-sectional image of the removal function obtained according to the above implementation steps is as follows. Figure 4 As shown in the figure, the coordinate system It is the preset image coordinate system of Matlab software.
[0085] S1042. Perform contour detection on the binary cross-sectional image to obtain the cross-sectional contours of 6 removal functions;
[0086] In S1042, specifically, in order to eliminate the influence of other noise points, contour detection is performed on the binary cross-sectional image to obtain the cross-sectional contours of the six removal functions. In some embodiments, one implementation of this step specifically includes: performing contour detection on the binary cross-sectional image, and calculating the area sizes of all contours in the binary cross-sectional image, selecting the six contours with the largest areas as the cross-sectional contours of the six removal functions, so as to accurately identify the cross-sectional contours of the six removal functions. In a specific embodiment, Figure 4 Taking the binary cross-sectional image of the removal function shown as an example, it contains cross-sectional contours corresponding to 6 removal functions corresponding to 6 samplings.
[0087] S1043. Calculate the six coordinates corresponding to the centers of the minimum circumscribed circles of the cross-sectional contours of the six removal functions in the preset image coordinate system as the first center point coordinates of the centers of the six removal functions in the preset image coordinate system.
[0088] In S1043, specifically, the minimum circumscribed circle center of the cross-sectional profile corresponding to each removal function is used as the center of the removal function, and the six coordinates corresponding to the minimum circumscribed circle centers of the cross-sectional profiles of the six removal functions in the preset image coordinate system can be calculated using Matlab software as the first center point coordinates of the centers of the six removal functions in the preset image coordinate system. In other words, the six coordinates corresponding to the minimum circumscribed circle centers of the cross-sectional profiles of the six removal functions corresponding to the sampling of the measuring element or the polishing wheel of the magnetorheological machine tool in the first position, the second position, the third position, the fourth position, the fifth position and the sixth position in the preset image coordinate system are used as the first center point coordinates of the centers of the six removal functions in the preset image coordinate system, and the first position, the second position, the third position, the fourth position, the fifth position and the sixth position can correspond to a first center point coordinate respectively.
[0089] S105. Calculate the rotation center coordinates of the magnetorheological machine tool according to the first center coordinates;
[0090] In S105, specifically, the first line formed by the first position and the third position is parallel to the first coordinate axis of the machine tool coordinate system of the magnetorheological machine tool, the second line formed by the second position and the fourth position is parallel to the coordinate axis plane where the first coordinate axis is located, and the second line intersects the first line perpendicularly at a preset initial position. Accordingly, according to the first center point coordinates corresponding to the first position, the second position, the third position and the fourth position, the rotation center point coordinates of the magnetorheological machine tool can be calculated. In some embodiments, one implementation of this step specifically includes:
[0091] S1051. Determine a first coordinate line according to the first center point coordinates of the two centers of the removal functions corresponding to the first position and the third position;
[0092] In S1051, specifically, the position of the measuring element is known and fixed, and the positions of the measuring elements in the two surface measurements before and after and during the actual processing are corresponding. The removal function corresponding to the first position can be used as a reference, and the first coordinate connecting line can be determined according to the first center point coordinates of the centers of the two removal functions corresponding to the first position and the third position. Figure 4 Take the binary cross-sectional image of the removal function as an example, that is, according to Figure 4 The coordinates of the first center points corresponding to the centers of the upper and lower removal functions are used to determine the first coordinate connection line.
[0093] S1052. Determine a second coordinate line according to the first center point coordinates of the two centers of the removal functions corresponding to the second position and the fourth position;
[0094] In S1052, specifically, the second coordinate line can be determined according to the first center point coordinates of the two centers of the removal functions corresponding to the second position and the fourth position; Figure 4 Take the binary cross-sectional image of the removal function as an example, that is, according to Figure 4 The coordinates of the first center point corresponding to the center of the outermost removal function on the left and the center of the outermost removal function on the right are used to determine the second coordinate connection line;
[0095] S1053. Calculate the coordinates of the intersection of the first coordinate line and the second coordinate line in the preset image coordinate system as the coordinates of the rotation center point of the magnetorheological machine tool in the preset image coordinate system.
[0096] In S1053, specifically, the intersection of the first line and the second line is used as the actual rotation center of the magnetorheological machine tool. Matlab software can be used to calculate the coordinates of the intersection of the first coordinate line and the second coordinate line in the preset image coordinate system as the coordinates of the rotation center point of the magnetorheological machine tool in the preset image coordinate system.
[0097] S106. Determine the actual machine tool coordinate system according to the rotation center point coordinates, and calculate the second center point coordinates of the center of the removal function in the actual machine tool coordinate system;
[0098] In S106, specifically, the actual rotation center of the magnetorheological machine tool can be used as the origin of the actual machine tool coordinate system. The position of the measuring element is known and fixed. The positions of the measuring elements in the two surface measurements and the actual processing are corresponding. The removal function corresponding to the first position can be used as a reference. By judging whether the processing is on the positive or negative semi-axis of the first coordinate axis on the machine tool, the direction of the first coordinate axis of the actual machine tool coordinate system can be determined. Then, the direction of the second coordinate axis of the actual machine tool coordinate system is obtained according to the direction of the first coordinate axis, and then the actual machine tool coordinate system is determined. Figure 4 Take the binary cross-sectional image of the removal function as an example, the coordinate system After the actual machine tool coordinate system is determined, the coordinate system conversion calculation can be performed based on the first center point coordinate of the center of the removal function in the preset image coordinate system to obtain the second center point coordinate of the center of the removal function in the actual machine tool coordinate system.
[0099] In some embodiments, one implementation of the step of determining the actual machine tool coordinate system according to the coordinates of the rotation center point specifically includes:
[0100] S1061. Determine the origin of the coordinate system according to the coordinates of the rotation center point;
[0101] In S1061, specifically, the position corresponding to the coordinates of the rotation center point is used as the origin of the coordinate system.
[0102] S1062. Determine the direction of the first coordinate axis of the coordinate system based on the center of the removal function corresponding to the first position;
[0103] Specifically, in S1062, if the first position of the measuring element corresponds to the positive direction of the first coordinate axis when it is processed, the direction of the center of the removal function corresponding to the first position pointed by the origin of the coordinate system is used as the positive direction of the first coordinate axis of the coordinate system; if the first position of the measuring element corresponds to the negative direction of the first coordinate axis when it is processed, the direction of the center of the removal function corresponding to the first position pointed by the origin of the coordinate system is used as the negative direction of the first coordinate axis of the coordinate system.
[0104] S1063 determines the direction of the second coordinate axis of the coordinate system according to the direction of the first coordinate axis of the coordinate system;
[0105] In S1063, specifically, after the direction of the first coordinate axis of the coordinate system is determined, the direction of the second coordinate axis of the coordinate system may be determined according to the right-handed Cartesian coordinate system principle.
[0106] S1064. Determine the actual machine tool coordinate system according to the direction of the first coordinate axis of the coordinate system, the direction of the second coordinate axis of the coordinate system and the origin of the coordinate system.
[0107] In S1064, specifically, the actual machine tool coordinate system can be determined according to the direction of the first coordinate axis of the coordinate system, the direction of the second coordinate axis of the coordinate system, and the origin of the coordinate system.
[0108] In other embodiments, one implementation method of the step of calculating the second center point coordinates of the center of the removal function in the actual machine tool coordinate system specifically includes: according to the actual machine tool coordinate system, performing a coordinate system transformation on the first center point coordinates of the centers of the two removal functions corresponding to the fifth position and the sixth position, to obtain the second center point coordinates of the centers of the two removal functions corresponding to the fifth position and the sixth position in the actual machine tool coordinate system.
[0109] S107. Calculate a first measurement bias of the magnetorheological fluid in the direction of the second coordinate axis according to the coordinates of the first center point;
[0110] In S107, specifically, Figure 4Taking the binary cross-sectional image of the removal function shown as an example, the first measurement bias of the magnetorheological fluid in the direction of the second coordinate axis can be calculated according to the horizontal coordinate in the first center point coordinate corresponding to the center of the removal function corresponding to the first position and the horizontal coordinate in the first center point coordinate corresponding to the center of the removal function corresponding to the third position; the first measurement bias of the magnetorheological fluid in the direction of the second coordinate axis can also be calculated according to the vertical coordinate in the first center point coordinate corresponding to the center of the removal function corresponding to the second position and the vertical coordinate in the first center point coordinate corresponding to the center of the removal function corresponding to the fourth position; in this way, the first measurement bias of the magnetorheological fluid in the direction of the second coordinate axis is calculated by the deviation of the first center point coordinate corresponding to the center of the removal function. It should be noted that the execution order of S107 can be interchanged with the execution order of any steps in S105, S106, and S108 or executed simultaneously, which does not affect the implementation of this embodiment.
[0111] In some embodiments, one implementation of this step specifically includes:
[0112] S1071. Determine a first coordinate difference according to the first center point coordinates of the two centers of the removal functions corresponding to the first position and the third position;
[0113] In S1071, specifically, Figure 4 Taking the binary cross-sectional image of the removal function shown as an example, the center of the removal function corresponding to the first position is located in the coordinate system The positive half axis of the y-axis is the first coordinate difference obtained by subtracting the abscissa of the first center point coordinate corresponding to the center of the removal function corresponding to the third position from the abscissa of the first center point coordinate corresponding to the center of the removal function corresponding to the first position. Of course, if the center of the removal function corresponding to the first position is located in the coordinate system If the y-axis is the negative half axis, the horizontal coordinate of the first center point coordinate corresponding to the center of the removal function corresponding to the third position is subtracted from the horizontal coordinate of the first center point coordinate corresponding to the center of the removal function corresponding to the first position to obtain the first coordinate difference.
[0114] S1072. Divide the first coordinate difference by 2 to obtain a first coordinate offset;
[0115] In S1072, specifically, the first coordinate difference is divided by 2 to obtain a first coordinate offset. In some embodiments, the first coordinate offset can also be directly used as a first measurement offset of the magnetorheological fluid in the direction of the second coordinate axis.
[0116] S1073. Determine a second coordinate difference according to the first center point coordinates of the two centers of the removal functions corresponding to the second position and the fourth position;
[0117] In S1073, specifically, Figure 4 Taking the binary cross-sectional image of the removal function shown as an example, we can first calculate the difference between the vertical coordinate of the first center point coordinate corresponding to the center of the removal function corresponding to the second position and the vertical coordinate of the first center point coordinate corresponding to the center of the removal function corresponding to the fourth position, and then keep the positive and negative of the calculated difference consistent with the positive and negative of the first coordinate difference, so as to obtain the second coordinate difference.
[0118] S1074. Divide the second coordinate difference by 2 to obtain a second coordinate offset;
[0119] In S1074, specifically, the second coordinate difference is divided by 2 to obtain a second coordinate offset. In some embodiments, the second coordinate offset can also be directly used as a first measurement offset of the magnetorheological fluid in the direction of the second coordinate axis.
[0120] S1075. Take the average value of the first coordinate offset and the second coordinate offset as the first measurement offset of the magnetorheological fluid in the direction of the second coordinate axis.
[0121] In S1075 , specifically, in order to obtain a more accurate first measurement bias, an average value of the first coordinate bias and the second coordinate bias is taken as the first measurement bias of the magnetorheological fluid in the direction of the second coordinate axis.
[0122] S108. Calculate a second measurement bias of the magnetorheological fluid in the direction of the first coordinate axis according to the coordinates of the second center point;
[0123] In S108, specifically, Figure 4 Taking the binary cross-sectional image of the removal function shown as an example, the second measurement bias of the magnetorheological fluid in the direction of the first coordinate axis can be calculated based on the ordinate of the second center point coordinate corresponding to the center of the removal function corresponding to the fifth position and the ordinate of the second center point corresponding to the center of the removal function corresponding to the sixth position; thereby, the second measurement bias of the magnetorheological fluid in the direction of the first coordinate axis is calculated by the deviation of the second center point coordinate corresponding to the center of the removal function.
[0124] In some embodiments, one implementation of this step specifically includes:
[0125] S1081. Determine the first coordinate addition value according to the second center point coordinates of the two centers of the removal functions corresponding to the fifth position and the sixth position;
[0126] In S1081, specifically, Figure 4Taking the binary cross-sectional image of the removal function shown as an example, the ordinate of the second center point coordinate corresponding to the center of the removal function corresponding to the fifth position can be added to the ordinate of the second center point corresponding to the center of the removal function corresponding to the sixth position to obtain the first coordinate addition value.
[0127] S1082. Divide the added value of the first coordinate by 2 to obtain a second measurement bias of the magnetorheological fluid in the direction of the first coordinate axis.
[0128] In S1082, specifically, the first coordinate added value is divided by 2 to obtain a second measurement bias of the magnetorheological fluid in the direction of the first coordinate axis.
[0129] S109. Convert the first measurement bias and the second measurement bias to obtain a first actual bias of the magnetorheological fluid in the direction of the second coordinate axis and a second actual bias in the direction of the first coordinate axis.
[0130] In S109, specifically, because the first measurement bias and the second measurement bias are pixel distances of the interferometric measurement image, it is necessary to convert the first measurement bias and the second measurement bias to obtain a first actual bias of the magnetorheological fluid in the second coordinate axis direction and a second actual bias in the first coordinate axis direction. In some embodiments, one implementation of this step specifically includes: multiplying the first measurement bias and the second measurement bias by a preset pixel distance, respectively, to obtain a first actual bias of the magnetorheological fluid in the second coordinate axis direction and a second actual bias in the first coordinate axis direction.
[0131] Specifically, the first measured bias is multiplied by the preset pixel distance to obtain the first actual bias of the magnetorheological fluid in the direction of the second coordinate axis; the second measured bias is multiplied by the preset pixel distance to obtain the second actual bias of the magnetorheological fluid in the direction of the first coordinate axis. The preset pixel distance can be determined based on the specific setting of the interferometric measurement image, and this application does not make any specific limitation on this.
[0132] In the above embodiment, the initial surface shape data of the measuring element before sampling and the measured surface shape data measured after sampling are obtained; the measured surface shape data is subtracted from the initial surface shape data to obtain the first data, and the three-dimensional data of the removal function is obtained according to the first data; further, according to the three-dimensional data of the removal function, the first center point coordinates of the center of the removal function in the preset image coordinate system are calculated; according to the first center point coordinates, the rotation center point coordinates of the magnetorheological machine tool are calculated; according to the rotation center point coordinates, the actual machine tool coordinate system is determined, and the second center point coordinates of the center of the removal function in the actual machine tool coordinate system are calculated; according to the first center point coordinates, the first measurement bias of the magnetorheological fluid in the direction of the second coordinate axis is calculated; according to the second center point coordinates, the second measurement bias of the magnetorheological fluid in the direction of the first coordinate axis is calculated, so as to obtain the measurement bias of the magnetorheological fluid by calculating the deviation of the center of the removal function; finally, the first measurement bias and the second measurement bias are converted to obtain the first actual bias of the magnetorheological fluid in the direction of the second coordinate axis and the second actual bias of the magnetorheological fluid in the direction of the first coordinate axis. In summary, the above embodiments can accurately measure the magnetorheological fluid bias, so as to subsequently compensate for the error introduced by the magnetorheological fluid bias and improve the accuracy of magnetorheological polishing.
[0133] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for measuring the bias of a magnetorheological fluid, characterized in that: include: Obtaining initial surface shape data before measuring the element spot; Obtaining measurement surface shape data obtained by sampling the measuring element or the polishing wheel of the magnetorheological machine tool when the measuring element is at a preset position, wherein the preset position includes a first position, a second position, a third position, a fourth position, a fifth position and a sixth position, a first line formed by the first position and the third position is parallel to a first coordinate axis of a machine coordinate system of the magnetorheological machine tool, a second line formed by the second position and the fourth position is parallel to a coordinate axis plane where the first coordinate axis is located, and the second line intersects the first line perpendicularly at a preset initial position; a third line constructed by the fifth position and the sixth position passes through the preset initial position and is parallel to a second coordinate axis of the machine coordinate system of the magnetorheological machine tool; when the first coordinate axis is the y-axis, the second coordinate axis is the x-axis; when the first coordinate axis is the x-axis, the second coordinate axis is the y-axis; when the measuring element is mounted on the magnetorheological machine tool and the center of the measuring element is aligned to the center of the polishing wheel, the position of the measuring element or the polishing wheel is used as the preset initial position; Subtracting the measured surface shape data from the initial surface shape data to obtain first data, and obtaining three-dimensional data of the removal function based on the first data; Calculating the coordinates of a first center point of the center of the removal function in a preset image coordinate system according to the three-dimensional data of the removal function; Calculating the rotation center coordinates of the magnetorheological machine tool according to the first center coordinates; Determine the actual machine tool coordinate system according to the rotation center point coordinates, and calculate the coordinates of the second center point of the center of the removal function in the actual machine tool coordinate system; Calculating a first measurement bias of the magnetorheological fluid in the direction of the second coordinate axis according to the coordinates of the first center point; Calculating a second measurement bias of the magnetorheological fluid in the direction of the first coordinate axis according to the coordinates of the second center point; The first measurement bias and the second measurement bias are converted to obtain a first actual bias of the magnetorheological fluid in the direction of the second coordinate axis and a second actual bias of the magnetorheological fluid in the direction of the first coordinate axis.
2. The method according to claim 1, characterized in that The first position, the second position, the third position and the fourth position are located on a circle with the preset initial position as the center and the first preset distance as the radius; the fifth position and the sixth position are located on a circle with the preset initial position as the center and the second preset distance as the radius.
3. The method as claimed in claim 2, characterized in that The step of calculating the coordinates of a first center point of the center of the removal function in a preset image coordinate system according to the three-dimensional data of the removal function comprises: Performing binarization processing according to the three-dimensional data of the removal function to obtain a binary cross-sectional image of the removal function; Performing contour detection on the binary cross-sectional image to obtain cross-sectional contours of 6 removal functions; The six coordinates corresponding to the centers of the minimum circumscribed circles of the cross-sectional contours of the six removal functions in the preset image coordinate system are calculated as the first center point coordinates of the centers of the six removal functions in the preset image coordinate system.
4. The method as claimed in claim 3, characterized in that The binary cross-sectional image is subjected to contour detection to obtain cross-sectional contours of six removal functions, including: Contour detection is performed on the binary cross-sectional image, and the area sizes of all contours in the binary cross-sectional image are calculated, and the six contours with the largest areas are selected as the cross-sectional contours of the six removal functions.
5. The method as claimed in claim 3, characterized in that The step of calculating the rotation center coordinate of the magnetorheological machine tool according to the first center coordinate comprises: Determine a first coordinate line according to first center point coordinates of two centers of the removal functions corresponding to the first position and the third position; Determine a second coordinate line according to the first center point coordinates of the two centers of the removal functions corresponding to the second position and the fourth position; The coordinates of the intersection of the first coordinate line and the second coordinate line in the preset image coordinate system are calculated as the coordinates of the rotation center point of the magnetorheological machine tool in the preset image coordinate system.
6. The method as claimed in claim 5, characterized in that Determining the actual machine tool coordinate system according to the rotation center point coordinates includes: Determine the origin of the coordinate system according to the coordinates of the rotation center point; Determine the direction of the first coordinate axis of the coordinate system based on the center of the removal function corresponding to the first position; Determine the direction of the second coordinate axis of the coordinate system according to the direction of the first coordinate axis of the coordinate system; The actual machine tool coordinate system is determined according to the direction of the first coordinate axis of the coordinate system, the direction of the second coordinate axis of the coordinate system and the origin of the coordinate system.
7. The method as claimed in claim 6, characterized in that The calculating to obtain the coordinates of the second center point of the center of the removal function in the actual machine tool coordinate system includes: According to the actual machine tool coordinate system, the first center point coordinates of the centers of the two removal functions corresponding to the fifth position and the sixth position are transformed into a coordinate system to obtain the second center point coordinates of the centers of the two removal functions corresponding to the fifth position and the sixth position in the actual machine tool coordinate system.
8. The method according to any one of claims 3 to 7, characterized in that The step of calculating a first measurement bias of the magnetorheological fluid in the direction of the second coordinate axis according to the coordinates of the first center point includes: Determine a first coordinate difference according to first center point coordinates of two centers of the removal functions corresponding to the first position and the third position; Divide the first coordinate difference by 2 to obtain a first coordinate offset; Determine a second coordinate difference according to first center point coordinates of two centers of the removal functions corresponding to the second position and the fourth position; Divide the second coordinate difference by 2 to obtain a second coordinate offset; An average value of the first coordinate offset and the second coordinate offset is taken as a first measurement offset of the magnetorheological fluid in the direction of the second coordinate axis.
9. The method as claimed in claim 7, characterized in that The step of calculating a second measurement bias of the magnetorheological fluid in the direction of the first coordinate axis according to the coordinates of the second center point includes: Determine the first coordinate addition value according to the second center point coordinates of the centers of the two removal functions corresponding to the fifth position and the sixth position; The first coordinate addition value is divided by 2 to obtain a second measurement bias of the magnetorheological fluid in the direction of the first coordinate axis.
10. The method according to claim 1, characterized in that The converting process of the first measurement bias and the second measurement bias to obtain a first actual bias of the magnetorheological fluid in the direction of the second coordinate axis and a second actual bias in the direction of the first coordinate axis includes: The first measurement offset and the second measurement offset are respectively multiplied by a preset pixel distance to obtain a first actual offset of the magnetorheological fluid in the direction of the second coordinate axis and a second actual offset in the direction of the first coordinate axis.
