Shafting accuracy measurement method, device, crystal piercing equipment and storage medium
Through the combination of the camera and the calibration plate, the grating coordinate system is used for axis system accuracy measurement, which solves the problems of complex operation and low accuracy of the laser interferometer, and achieves efficient and accurate axis system accuracy measurement.
Patent Information
- Application Number
- CN202410904325.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-08
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2044-07-08
AI Technical Summary
In the existing technology, laser interferometers are complex to operate and easily affected by environmental factors when used to measure shaft system accuracy, resulting in low measurement efficiency and poor accuracy.
Using a combination of a camera and a calibration plate, the camera captures the marking points on the calibration plate, uses the grating coordinate system to measure the axis system accuracy, moves the camera through preset instructions, obtains the grating coordinates of multiple target marking points, and calculates the axis system accuracy parameters. , determine whether the accuracy of the shaft system meets the requirements.
It simplifies the operation of shafting accuracy measurement, improves measurement efficiency and accuracy, reduces the impact on environmental factors, and achieves more efficient measurement.
Smart Images

Figure CN118442924B
Abstract
Description
Technical Field
[0001] The present application relates to the field of LED mass transfer technology, and in particular to an axis precision measurement method, device, crystal device and storage medium. Background Art
[0002] Mini LED is an LED device with a chip size between 50 and 200um, while Micro LED is an LED device with a chip size less than 50um. It is widely used in small-sized wearable devices, VR (Virtual Reality) / AR (Augmented Reality) devices, and display devices such as mobile phones and tablets. At present, the mass transfer technology of Mini LED / Micro LED mainly adopts laser transfer, flip-chip thorn crystal, electrostatic force adsorption, fluid assembly and other technologies, among which the flip-chip thorn crystal technology has a higher technical maturity.
[0003] The thorn crystal equipment is the core equipment of the flip-chip thorn crystal technology. It needs to have the characteristics of high precision, high speed and high stability. Therefore, during the installation and commissioning of the equipment, it is necessary to have extremely high requirements for the accuracy and stability of its shaft system. In the related technology, laser interferometers are usually used to measure the accuracy of the shaft system. However, in actual applications, the measurement method using laser interferometers is complicated to operate, and its measurement accuracy is also easily affected by environmental factors, resulting in low measurement efficiency and poor measurement accuracy of the shaft system accuracy. Summary of the invention
[0004] The present application provides a shaft system accuracy measurement method, device, crystal device and storage medium, which solves the problem of low efficiency and poor accuracy in measuring shaft system accuracy in related technologies. This solution can simplify the operation of measuring shaft system accuracy, improve measurement efficiency, and achieve better measurement accuracy.
[0005] In a first aspect, the present application provides an axis system accuracy measurement method, which is applied to a grating device, wherein the grating device includes a camera and a calibration plate, wherein the camera is used to photograph marking points on the calibration plate, and the camera is in a calibration completed state to associate a camera coordinate system corresponding to the camera with a grating coordinate system, and the method includes:
[0006] According to the preset instructions, move the camera and align the center of the camera's field of view with the initial marking point on the calibration plate to obtain the grating coordinates corresponding to the initial marking point;
[0007] According to the spacing of the marking points on the calibration plate, determine the moving spacing of the camera each time;
[0008] Based on the moving distance, the camera is moved step by step in a first moving direction and a second moving direction in sequence to obtain grating coordinates corresponding to a plurality of target marking points in the same direction, wherein the first moving direction is parallel to a first coordinate axis of a calibration plate coordinate system corresponding to the calibration plate, and the second moving direction is perpendicular to the first moving direction;
[0009] According to the grating coordinates corresponding to the multiple target marking points obtained in different directions, the axis system accuracy parameters corresponding to the marking points on the calibration plate are determined;
[0010] When all sub-item parameters in the shaft system accuracy parameter meet the corresponding threshold values, it is determined that the shaft system accuracy of the calibration plate meets the requirements.
[0011] In the second aspect, the present application also provides an axis accuracy measurement device, which is applied to a thorn crystal device, the thorn crystal device includes a camera and a calibration plate, the camera is used to shoot the marking points on the calibration plate, and the camera is in a calibration completed state to associate the camera coordinate system corresponding to the camera with the grating coordinate system, the device includes:
[0012] A coordinate acquisition module is configured to move the camera and align the center of the camera's field of view with the initial marking point on the calibration plate according to a preset instruction to obtain the grating coordinates corresponding to the initial marking point;
[0013] The step acquisition module is configured to determine the moving distance of the camera each time according to the marking point distance of the calibration plate;
[0014] A movement control module is configured to move the camera step by step in a first movement direction and a second movement direction in sequence based on a movement interval to obtain grating coordinates corresponding to a plurality of target marking points in the same direction, wherein the first movement direction is parallel to a first coordinate axis of a calibration plate coordinate system corresponding to the calibration plate, and the second movement direction is perpendicular to the first movement direction;
[0015] A parameter acquisition module, configured to determine the axis system accuracy parameters corresponding to the marking points on the calibration plate according to the grating coordinates corresponding to the multiple target marking points acquired in different directions;
[0016] The accuracy judgment module is configured to determine that the axis system accuracy of the calibration plate meets the requirements when all sub-item parameters in the axis system accuracy parameter meet the corresponding thresholds.
[0017] In a third aspect, the present application also provides a crystal thorn device, the crystal thorn device comprising:
[0018] one or more processors;
[0019] a storage device for storing one or more programs,
[0020] When one or more programs are executed by one or more processors, the one or more processors implement the shaft system accuracy measurement method of the present application.
[0021] In a fourth aspect, the present application also provides a storage medium storing computer executable instructions, which, when executed by a processor, are used to execute the shaft system accuracy measurement method of the present application.
[0022] The present application scheme collects the grating coordinates corresponding to the marking points on the calibration plate to calculate the corresponding axis accuracy parameters, thereby visually measuring the axis accuracy of the calibration plate. The measurement is not easily affected by environmental factors, making the measurement more effective and the measurement accuracy better. In addition, the use of devices of the spike crystal equipment helps to simplify the measurement of axis accuracy, which is simple to operate and can also improve measurement efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 A schematic diagram of the steps of a shaft system accuracy measurement method provided in one embodiment of the present application.
[0024] Figure 2 A schematic diagram of the steps for acquiring a target marking point in a moving direction provided in an embodiment of the present application.
[0025] Figure 3 A schematic diagram of the steps for obtaining marking points provided in an embodiment of the present application.
[0026] Figure 4 A schematic diagram of the steps for obtaining sub-item parameters of shaft system accuracy parameters provided in one embodiment of the present application.
[0027] Figure 5 A schematic diagram of the steps for obtaining sub-item parameters of shaft system accuracy parameters provided in another embodiment of the present application.
[0028] Figure 6 A schematic diagram of the structure of a shafting accuracy measuring device provided in one embodiment of the present application.
[0029] Figure 7 A schematic diagram of the structure of a crystal thorn device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0030] The embodiments of the present application are further described in detail below in conjunction with the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are only used to explain the embodiments of the present application, rather than to limit the embodiments of the present application. It should also be noted that, for ease of description, only the parts related to the embodiments of the present application rather than all structures are shown in the accompanying drawings, and those skilled in the art should be able to think of it after reading the specification of this application that as long as the technical features do not contradict each other, any combination of the technical features can constitute an optional implementation method.
[0031] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable when appropriate, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally a class, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally represents that the objects associated before and after are in an "or" relationship. In the description of the present application, "multiple" means two or more, and "several" means one or more.
[0032] Mini LED, Micro LED and other LED devices are widely used in wearable devices, VR / AR devices and display devices. Mass transfer is the key step to transfer Micro LED chips from the growth substrate to the target substrate. At present, the MiniLED / Micro LED mass transfer technology mainly adopts laser transfer, flip chip thorn crystal, electrostatic force adsorption, fluid assembly and other technologies. Among them, the flip chip thorn crystal technology has a higher technical maturity.
[0033] Moreover, as the core equipment in the flip-chip thorn crystal technology, the thorn crystal equipment needs to have the characteristics of high precision, high speed and high stability, and extremely high requirements are required for its axis accuracy and stability during equipment installation and commissioning. In the related technology, although the laser interferometer can be used to measure the accuracy of the axis system, in actual application, the laser interferometer has some shortcomings when measuring the accuracy of the axis system. For example, the operation of the laser interferometer requires professional knowledge and skills, and the requirements for the operator are high; the measurement accuracy of the laser interferometer may be affected by environmental factors such as temperature, humidity, air flow, etc.; and the measurement efficiency of the laser interferometer is low. Therefore, the solution using laser interferometer in the related technology is prone to interference and poor measurement accuracy.
[0034] In this regard, the present application provides a method for measuring the accuracy of an axis system, which is applied to a thorn crystal device to achieve the measurement of the accuracy of the axis system. Among them, the thorn crystal device includes a camera and a calibration plate, and there are multiple marking points on the calibration plate, and the camera is used to shoot the marking points on the calibration plate. In addition, the camera is in a calibration completed state, that is, the camera coordinate system corresponding to the camera is associated with the grating coordinate system. It can be imagined that the camera coordinate system is the coordinate system set by the corresponding camera in the actual space, and the grating coordinate system is a coordinate system used to measure the accuracy of the axis system, which is measured by the corresponding grating scale sensor using the optical principle of the grating. It should be noted that the calibration method for the camera can adopt the calibration method in the relevant technology to achieve the association between the camera coordinate system and the grating coordinate system while adapting the camera installation angle, so as to facilitate the corresponding coordinate conversion.
[0035] Figure 1 This is a schematic diagram of the steps of the axis accuracy measurement method provided in an embodiment of the present application. The axis accuracy measurement method of this solution can be applied in the thorn crystal equipment to measure the axis accuracy of the calibration plate to determine whether the calibration plate meets the corresponding axis accuracy requirements, so as to ensure that the subsequent transfer process of the LED device can be completed smoothly. The specific steps are as follows:
[0036] Step S110, according to the preset instructions, move the camera and align the center of the camera's field of view with the initial marking point on the calibration plate to obtain the grating coordinates corresponding to the initial marking point.
[0037] The initial mark point is a preset mark point on the calibration plate, which is used as the first mark point to start measurement during the measurement process. It can be imagined that the preset instruction is used to control the movement of the camera, and the position information of the initial mark point is recorded in the movement instruction, so that the processor of the spike crystal device controls the camera to move to the position of shooting the initial mark point when executing the preset instruction, and aligns the center of the camera's field of view with the initial mark point.
[0038] The marking points on the calibration plate may be offset, so that the actual positions of the points are not on the same axis. In this regard, since the camera is in the calibration completed state, the processor can obtain the grating coordinates corresponding to the initial marking points through coordinate conversion.
[0039] Step S120: Determine the moving distance of the camera each time according to the marking point distance of the calibration plate.
[0040] The marking point spacing is not the distance between the marking points on the current calibration board, but the standard spacing between the marking points on the calibration board. Accordingly, after determining the marking point spacing, the processor selects the marking point spacing as the moving spacing, and then uses the moving spacing as the corresponding step in the movement process starting from the initial marking point.
[0041] Step S130: Based on the moving distance, the camera is moved step by step in the first moving direction and the second moving direction in sequence to obtain grating coordinates corresponding to a plurality of target marking points in the same direction.
[0042] Among them, the first moving direction is parallel to the first coordinate axis of the calibration plate coordinate system corresponding to the calibration plate, and the second moving direction is perpendicular to the first moving direction, that is, the second moving direction corresponds to the second coordinate axis of the calibration plate coordinate system. For example, the first moving direction corresponds to the first coordinate axis of the calibration plate coordinate system, and the second moving direction corresponds to the second coordinate axis of the calibration plate coordinate system. Specifically, if the first moving direction corresponds to the X-axis of the calibration plate coordinate system, the second moving direction corresponds to the Y-axis of the calibration plate coordinate system; if the first moving direction corresponds to the Y-axis of the calibration plate coordinate system, the second moving direction corresponds to the X-axis of the calibration plate coordinate system.
[0043] Then, after determining the moving distance, the processor controls the camera to move, wherein the first movement may be along the first moving direction or along the second moving direction. In the same direction, the processor needs to obtain the grating coordinates corresponding to multiple target marking points in order to determine the corresponding axis system accuracy parameters. It can be imagined that according to the moving distance, multiple preset moving points in the same direction can be determined, and the distance between each preset moving point is the above-mentioned moving distance, which helps to extract the grating coordinates corresponding to each target marking point.
[0044] Step S140, determining the axis system accuracy parameters corresponding to the marking points on the calibration plate according to the grating coordinates corresponding to the multiple target marking points obtained in different directions.
[0045] After obtaining the grating coordinates corresponding to the target marking points obtained in the two moving directions, the processor calculates and processes the grating coordinates corresponding to each target marking point to obtain the corresponding axis system accuracy parameters. The axial accuracy parameters include several sub-item parameters, each of which is calculated based on the grating coordinates of the corresponding target marking points obtained above, such as the straightness associated with multiple target coordinate points arranged along the first moving direction, the straightness associated with multiple target coordinate points arranged along the second moving direction, etc.
[0046] Step S150: When all sub-item parameters in the shaft system accuracy parameter meet corresponding thresholds, it is determined that the shaft system accuracy of the calibration plate meets the requirements.
[0047] When each sub-item parameter in the shaft system accuracy parameter satisfies the corresponding threshold value, that is, when each sub-item parameter satisfies the corresponding threshold value, it is determined that the shaft system accuracy of the calibration plate meets the requirements. It can be imagined that the threshold value corresponding to each sub-item parameter can be set according to the accuracy requirements of the actual application. When any sub-item parameter does not meet the corresponding threshold value, it can be determined that the shaft system accuracy of the calibration plate does not meet the requirements.
[0048] From the above scheme, it can be seen that the spike crystal device collects the grating coordinates corresponding to the marking points on the calibration plate to calculate the corresponding axis system accuracy parameters, thereby performing visual measurement of the axis system accuracy of the calibration plate. The measurement is not easily affected by environmental factors, making the measurement more effective and the measurement accuracy better. In addition, the use of the devices of the spike crystal device helps to simplify the measurement of the axis system accuracy. The operation is simple and can also improve the measurement efficiency.
[0049] Figure 2 A schematic diagram of the steps for obtaining a target marking point in a moving direction provided by an embodiment of the present application, such as Figure 2 As shown, in the process of moving the camera along the first moving direction and the second moving direction, for the target marking point in each moving direction, after the processor obtains the corresponding image through the camera, it is necessary to further align the center of the camera's field of view with the target marking point. The specific steps are as follows:
[0050] Step S210: After determining the moving direction, the camera is moved step by step with the moving distance as the step.
[0051] Step S220: after the camera is stepped according to the moving pitch each time, the center of the camera's field of view is aligned with the target marking point within the camera's field of view to obtain the grating coordinates corresponding to the target marking point.
[0052] Step S230: When the number of target marking points acquired in the same direction meets a preset number, stop moving the camera along the current moving direction.
[0053] It is understandable that after the moving direction is determined, if the first moving direction is the first moving direction, correspondingly, according to the moving distance, a plurality of preset moving points in the direction can be determined, and the distance between each preset moving point is the above-mentioned moving distance. In this regard, in the first moving direction, the processor can control the camera to move the camera step by step with the moving distance as a step.
[0054] After completing one step, the processor needs to align the center of the camera's field of view with the target mark point in the camera's field of view, so as to obtain the coordinates corresponding to the target mark point in the camera coordinate system, and then convert them into raster coordinates. After obtaining the raster coordinates of the target mark point, for the same direction, a preset number of target mark points can be obtained, so that when the number of target mark points reaches the preset number, the camera stops moving along the moving direction.
[0055] Turning to start the movement in another moving direction, it can be imagined that in the process of moving along the other moving direction, similarly, a preset number of target marking points are extracted again in the above-mentioned manner, and the grating coordinates corresponding to the target marking points are obtained.
[0056] Therefore, by acquiring corresponding marking points along two directions perpendicular to each other, the spike crystal device can determine the corresponding fitting straight line based on the grating coordinates corresponding to the acquired marking points to determine the axis system accuracy parameters of the calibration plate, making the axis system accuracy measurement of the calibration plate more accurate and effective.
[0057] In one embodiment, after pausing to move the camera along the current moving direction, the initial marking point or the last target marking point acquired along the current moving direction is used as the starting position for moving the camera along another moving direction. For example, the corresponding moving order is: firstly move the camera along the first moving direction to acquire the raster coordinates of multiple target marking points in the first moving direction, and then move the camera along the second moving direction to acquire the raster coordinates of multiple target marking points in the second moving direction.
[0058] Correspondingly, after a plurality of target marking points satisfying the preset number have been acquired along the first moving direction, the camera is stopped from moving along the first moving direction, and the camera is moved in the second moving direction instead. However, the starting position of the movement along the second moving direction may be the initial marking point, that is, the camera is moved back to the position corresponding to the initial marking point, and then the camera is moved along the second moving direction again; of course, the starting position may also be the last target marking point acquired along the first moving direction. For example, if the preset number is 5, then the fifth marking point in the first moving direction is the last target marking point, and then after the coordinates of the marking point are acquired, the camera is moved along the second moving direction again.
[0059] In one embodiment, when there are multiple marking points in the camera's field of view, such as when the camera's field of view is large, the processor selects a target marking point from the multiple marking points in accordance with the position of the preset moving point. Figure 3 As shown, Figure 3 A schematic diagram of steps for obtaining a marking point provided in an embodiment of the present application, the specific steps are as follows:
[0060] Step S310: Based on the image corresponding to the current field of view, determine the distance between each marking point and the corresponding preset moving point.
[0061] Step S320: Select the mark point closest to the preset moving point as the target mark point in the current field of view.
[0062] Step S330: When the target marking point is determined, align the center of the camera's field of view with the target marking point to obtain the grating coordinates corresponding to the target marking point.
[0063] It can be understood that the preset moving point is a point position set based on the moving spacing in the moving direction, and can be set based on the moving spacing in both the first moving direction and the second moving direction. After acquiring the image corresponding to the current field of view of the camera, the processor identifies each marking point on the image to determine the position of each marking point, thereby obtaining the distance between each marking point and the corresponding preset moving point. It can be imagined that after the camera reaches a preset moving point, there may be multiple marking points around the preset moving point. Accordingly, the distance between the multiple marking points around the preset moving point and the preset moving point is obtained. Then, the marking point closest to the preset moving point is selected from the multiple marking points as the target marking point, so that the center of the camera's field of view is aligned with the selected target marking point, so as to obtain the grating coordinates corresponding to the target marking point.
[0064] It should be noted that, in some embodiments, it is also possible to search for marking points within a preset radius range centered on a preset moving point and select a target marking point from the obtained marking points.
[0065] Therefore, by using the point-to-point distance to screen multiple marker points in the field of view, the device can select the target marker point from them, which helps to improve the accuracy of the measurement.
[0066] In one embodiment, after the processor acquires the grating coordinates of multiple target marking points in different directions, the processor calculates the axis system accuracy parameters in combination with the grating coordinates of each point, wherein the axis system accuracy includes a first straightness and a second straightness. Specifically, after the grating coordinates of multiple target marking points are acquired along the same direction, linear fitting can be performed on the multiple target marking points in the first moving direction and the multiple target marking points in the second moving direction according to a corresponding linear fitting method, thereby determining a first fitting straight line corresponding to the first moving direction and a second fitting straight line corresponding to the second moving direction.
[0067] Furthermore, the first straightness corresponding to the first moving direction can be determined based on the first fitting straight line and the grating coordinates of multiple target marking points obtained in the first moving direction; similarly, the second straightness corresponding to the second moving direction can be determined based on the second fitting straight line and the grating coordinates of multiple target marking points obtained in the second moving direction.
[0068] Figure 4 A schematic diagram of the steps for obtaining sub-item parameters of shaft system accuracy parameters provided in an embodiment of the present application, such as Figure 4 As shown, for the calculation of the first straightness and second straightness sub-item parameters of the axis system accuracy parameter, the corresponding straightness can be determined by calculating the corresponding point-to-line distance. The specific steps are as follows:
[0069] Step S410: Based on the first fitting straight line and the multiple grating coordinates acquired in the first moving direction, first point-line distances from the multiple target marking points in the first moving direction to the first fitting straight line are respectively calculated.
[0070] Step S420: Select the difference between the maximum value and the minimum value of the plurality of first point-line distances as the first straightness.
[0071] Step S430: Based on the second fitting straight line and the multiple grating coordinates acquired in the second moving direction, second point-line distances from the multiple target marking points in the second moving direction to the second fitting straight line are respectively calculated.
[0072] Step S440: Select the difference between the maximum value and the minimum value in the second point-to-line distance as the second straightness.
[0073] It can be understood that, according to the grating coordinates corresponding to the multiple target marking points in the same direction, the first fitting straight line corresponding to the first moving direction and the second fitting straight line corresponding to the second moving direction are obtained by the straight line fitting method. Accordingly, based on the first fitting straight line, the multiple target marking points in the first moving direction are distributed around the first fitting straight line or located on the fitting straight line. For this, the point-to-line distance between each coordinate point and the first fitting straight line, i.e., the first point-to-line distance, can be calculated based on the grating coordinates corresponding to each target marking point.
[0074] Similarly, for multiple target marking points in the second moving direction, based on the second fitting straight line and the grating coordinates corresponding to each target marking point, the distance from each target marking point in the second moving direction to the second fitting straight line, i.e., the second point-line distance, can be determined. It can be imagined that for each target marking point in the first moving direction, it has a corresponding first point-line distance; similarly, for each target marking point in the second moving direction, it has a corresponding second point-line distance.
[0075] After determining the first point-to-line distance corresponding to each target mark point in the first moving direction, the maximum value and the minimum value are selected therefrom, and the difference between the maximum value and the minimum value is used as the value of the first straightness. In addition, after determining the second point-to-line distance corresponding to each target mark point in the second moving direction, the maximum value and the minimum value are selected therefrom, and the difference between the maximum value and the minimum value is used as the value of the second straightness.
[0076] It should be noted that, in the process of calculating the straightness, the average of the point-to-line distances corresponding to each target mark can be used as the corresponding straightness value.
[0077] Therefore, according to the point-to-line distance between each target mark point and the corresponding fitting straight line, the equipment can determine the straightness corresponding to different axes, which helps to better determine the axis accuracy of the calibration plate, making the axis accuracy measurement of the calibration plate more accurate.
[0078] In some embodiments, the axis accuracy parameter also includes a sub-item parameter of verticality, and the processor can use the grating coordinates corresponding to the multiple target marking points to determine the reference straight line so as to calculate the corresponding verticality. Figure 5 As shown, Figure 5 A schematic diagram of steps for obtaining sub-item parameters of shaft system accuracy parameters provided in another embodiment of the present application, the specific steps are as follows:
[0079] Step S510: determining a reference straight line according to grating coordinates corresponding to a plurality of target marking points acquired along a reference direction, where the reference direction is the first moving direction or the second moving direction.
[0080] Step S520: Based on the reference straight line and the grating coordinates corresponding to the multiple target marking points acquired along another direction, respectively determine the projection length of the point spacing from each corresponding target marking point to the starting position on the reference straight line.
[0081] Step S530: Select the difference between the maximum value and the minimum value in the projection length as the verticality.
[0082] It can be understood that the first moving direction or the second moving direction is selected as the reference direction, and then the grating coordinates corresponding to the multiple target marking points obtained in the reference direction are used for straight line fitting, so as to determine the reference straight line, that is, the reference straight line is a straight line fitted according to the multiple coordinate points in the reference direction. The projection of the point spacing between each target marking point obtained in the other direction and the starting position on the reference straight line, that is, the corresponding projection length can also be determined. It should be noted that due to the relative position relationship between the target marking point and the starting position, the value of the determined projection length may be positive and / or negative. For example, the positive and negative values of the projection length can be determined according to the slope of the line connecting each target marking point and the starting position. If the slope of the line connecting the two points is negative, the corresponding projection length is negative. If the slope of the line connecting the two points is positive, the corresponding projection length is positive. It can be imagined that the target marking point corresponding to the starting position is the intersection of the first moving direction and the second moving direction. When moving in one direction and then in another direction, the starting position is the starting point in the other direction.
[0083] Then, the maximum and minimum values are selected from the projection lengths corresponding to the target marking points, and the difference between the two is used as the verticality, which is used as a sub-item parameter in the axis system accuracy parameter to facilitate comparison with the preset threshold to determine whether the calibration plate meets the accuracy requirements.
[0084] Therefore, for the verticality in the axis system accuracy parameters, the equipment can select the difference between the maximum and minimum values in the projection length based on the projection length of each target mark point on the reference straight line as the verticality, so as to determine the axis system accuracy parameters of the calibration plate, making the measurement of the axis system accuracy of the calibration plate more accurate.
[0085] Figure 6 This is a schematic diagram of the structure of an axis system accuracy measurement device provided in an embodiment of the present application. The device is used to execute the axis system accuracy measurement method provided in the above embodiment, and has functional modules and beneficial effects corresponding to the execution method. The device is applied to a thorn crystal device, which includes a camera and a calibration plate. The camera is used to photograph the marking points on the calibration plate. The camera is in a calibration completed state to associate the camera coordinate system corresponding to the camera with the grating coordinate system. As shown in the figure, the axis system accuracy measurement device includes a coordinate acquisition module 601, a step acquisition module 602, a movement control module 603, a parameter acquisition module 604 and an accuracy judgment module 605.
[0086] The coordinate acquisition module 601 is configured to move the camera and align the center of the camera's field of view with the initial marking point on the calibration plate according to a preset instruction to obtain the grating coordinates corresponding to the initial marking point;
[0087] The step acquisition module 602 is configured to determine the moving distance of the camera each time according to the marking point distance of the calibration plate;
[0088] The movement control module 603 is configured to move the camera step by step in a first movement direction and a second movement direction in sequence based on the movement spacing to obtain grating coordinates corresponding to a plurality of target marking points in the same direction, wherein the first movement direction is parallel to a first coordinate axis of a calibration plate coordinate system corresponding to the calibration plate, and the second movement direction is perpendicular to the first movement direction;
[0089] The parameter acquisition module 604 is configured to determine the axis system accuracy parameters corresponding to the marking points on the calibration plate according to the grating coordinates corresponding to the multiple target marking points acquired in different directions;
[0090] The accuracy judgment module 605 is configured to determine that the axis accuracy of the calibration plate meets the requirements when all sub-item parameters in the axis accuracy parameters meet the corresponding thresholds.
[0091] Based on the above embodiment, the movement control module 603 is further configured as follows:
[0092] After determining the moving direction, the camera is moved step by step with the moving distance as the step;
[0093] After the camera is stepped according to the moving pitch each time, the center of the camera's field of view is aligned with the target marking point located in the camera's field of view to obtain the grating coordinates corresponding to the target marking point;
[0094] When the number of target marking points acquired in the same direction meets the preset number, the camera stops moving along the current moving direction.
[0095] Based on the above embodiment, the movement control module 603 is further configured as follows:
[0096] After pausing to move the camera along the current moving direction, the initial marking point or the last target marking point obtained along the current moving direction is used as the starting position for moving the camera along another moving direction.
[0097] On the basis of the above embodiment, when there are multiple marking points in the field of view of the camera, the movement control module 603 is further configured as follows:
[0098] Based on the image corresponding to the current field of view, the distance between each marked point and the corresponding preset moving point is determined, where the preset moving point is a point position set based on the moving distance in the moving direction;
[0099] Select the mark point closest to the preset moving point as the target mark point in the current field of view;
[0100] When the target marking point is determined, the center of the camera's field of view is aligned with the target marking point to obtain the grating coordinates corresponding to the target marking point.
[0101] On the basis of the above embodiment, the shaft system accuracy parameter includes the first straightness and the second straightness, and the parameter acquisition module 604 is further configured as follows:
[0102] After obtaining grating coordinates corresponding to a plurality of target marking points along the same direction, determining a first fitting straight line corresponding to a first moving direction and a second fitting straight line corresponding to a second moving direction according to the obtained plurality of grating coordinates;
[0103] Based on the first fitting straight line, the second fitting straight line and a plurality of corresponding grating coordinates in the same direction, a first straightness corresponding to the first moving direction and a second straightness corresponding to the second moving direction are determined respectively.
[0104] Based on the above embodiment, the parameter acquisition module 604 is further configured as follows:
[0105] Based on the first fitting straight line and the multiple grating coordinates acquired in the first moving direction, first point-line distances from the multiple target marking points in the first moving direction to the first fitting straight line are calculated respectively;
[0106] Selecting the difference between the maximum value and the minimum value of the plurality of first point-line distances as the first straightness;
[0107] Based on the second fitting straight line and the multiple grating coordinates acquired in the second moving direction, respectively calculating the second point-line distances from the multiple target marking points in the second moving direction to the second fitting straight line;
[0108] The difference between the maximum and minimum values in the second point-line distance is selected as the second straightness.
[0109] Based on the above embodiment, the axis system accuracy parameter includes verticality, and the parameter acquisition module 604 is further configured as follows:
[0110] Determine a reference straight line according to grating coordinates corresponding to a plurality of target marking points acquired along a reference direction, where the reference direction is the first moving direction or the second moving direction;
[0111] Based on the reference straight line and the grating coordinates corresponding to the plurality of target marking points acquired along another direction, respectively determine the projection length of the point spacing from each corresponding target marking point to the starting position on the reference straight line;
[0112] The difference between the maximum and minimum values in the projected length is selected as the perpendicularity.
[0113] It is worth noting that in the embodiment of the above-mentioned shaft system accuracy measurement device, the functional modules are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application.
[0114] Figure 7 This is a schematic diagram of the structure of a thorn crystal device provided in an embodiment of the present application. The device is used to execute the shaft system accuracy measurement method provided in the above embodiment, and has functional modules and beneficial effects corresponding to the execution method. As shown in the figure, the thorn crystal device includes a processor 701, a memory 702, an input device 703 and an output device 704. The number of processors 701 can be one or more, and one processor 701 is taken as an example in the figure; the processor 701, the memory 702, the input device 703 and the output device 704 can be connected through a bus or other means, and the figure takes the connection through a bus as an example. The memory 702, as a computer-readable storage medium, can be used to store software programs, computer executable programs and modules, such as program instructions / modules corresponding to the shaft system accuracy measurement method in the embodiment of the present application. The processor 701 executes various corresponding functional applications and data processing by running the software programs, instructions and modules stored in the memory 702, that is, realizing the above-mentioned shaft system accuracy measurement method.
[0115] The memory 702 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function; the data storage area may store data recorded or created during use, etc. In addition, the memory 702 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 702 may further include a memory remotely arranged relative to the processor 701, and these remotely arranged memories may be connected to the terminal device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0116] The input device 703 can be used to input corresponding digital or character information to the processor 701, and to generate key signal input related to the user settings and function control of the device; the output device 704 can be used to send or display key signal output related to the user settings and function control of the device.
[0117] An embodiment of the present application also provides a storage medium storing computer executable instructions, which, when executed by a processor, are used to perform relevant operations in the shaft system accuracy measurement method provided in any embodiment of the present application.
[0118] Computer-readable storage media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.
[0119] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity 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 process, method, commodity or device. 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 process, method, commodity or device including the elements.
[0120] Note that the above are only preferred embodiments of the present application and the technical principles used. Those skilled in the art will understand that the present application is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present application. Therefore, although the present application is described in more detail through the above embodiments, the present application is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present application, and the scope of the present application is determined by the scope of the appended claims.
Claims
1. A method for measuring shaft system accuracy, characterized in that: Applied to a thorn crystal device, the thorn crystal device includes a camera and a calibration plate, the camera is used to photograph the marking points on the calibration plate, and the camera is in a calibration completion state to associate the camera coordinate system corresponding to the camera with the grating coordinate system, and the axis system accuracy measurement method includes: According to preset instructions, move the camera and align the center of the camera's field of view with the initial marking point on the calibration plate to obtain the grating coordinates corresponding to the initial marking point; Determining a moving distance for each movement of the camera according to a marking point spacing of the calibration plate; Based on the moving distance, the camera is moved step by step in a first moving direction and a second moving direction in sequence, and the center of the camera's field of view is aligned with the target marking point after each step is completed, so as to obtain grating coordinates corresponding to multiple target marking points in the same direction, wherein the first moving direction is parallel to a first coordinate axis of a calibration plate coordinate system corresponding to the calibration plate, and the second moving direction is perpendicular to the first moving direction; According to obtaining grating coordinates corresponding to a plurality of target marking points in different directions, determining the axis system accuracy parameters corresponding to the marking points on the calibration plate; When all sub-item parameters of the shaft system accuracy parameter meet corresponding threshold values, it is determined that the shaft system accuracy of the calibration plate meets the requirements; The axis system accuracy parameters include a first straightness and a second straightness, and the step of obtaining grating coordinates corresponding to a plurality of target marking points in different directions to determine the axis system accuracy parameters corresponding to the marking points on the calibration plate includes: After acquiring grating coordinates corresponding to a plurality of target marking points along the same direction, determining a first fitting straight line corresponding to the first moving direction and a second fitting straight line corresponding to the second moving direction according to the obtained plurality of grating coordinates; Based on the first fitting straight line, the second fitting straight line, and a plurality of corresponding grating coordinates in the same direction, a first straightness corresponding to the first moving direction and a second straightness corresponding to the second moving direction are determined respectively.
2. The shafting accuracy measurement method according to claim 1, characterized in that: The method of stepping the camera in a first moving direction and a second moving direction in sequence based on the moving distance to obtain grating coordinates corresponding to a plurality of target marking points in the same direction, wherein the first moving direction is parallel to a first coordinate axis of a calibration plate coordinate system corresponding to the calibration plate, and the second moving direction is perpendicular to the first moving direction, comprises: After determining the moving direction, gradually moving the camera with the moving distance as a step; After the camera is stepped according to the moving interval each time, the center of the field of view of the camera is aligned with the target marking point located in the field of view of the camera to obtain the grating coordinates corresponding to the target marking point; When the number of the target marking points acquired in the same direction meets a preset number, the camera stops moving along the current moving direction.
3. The shafting accuracy measurement method according to claim 2, characterized in that: After pausing to move the camera along the current moving direction, the initial marking point or the last target marking point acquired along the current moving direction is used as a starting position for moving the camera along another moving direction.
4. The shafting accuracy measurement method according to claim 2 or 3, characterized in that: In the case where there are multiple marking points in the field of view of the camera, after each stepping of the camera according to the moving interval, aligning the field of view center of the camera with the target marking point in the field of view of the camera to obtain the grating coordinates corresponding to the target marking point includes: Based on the image corresponding to the current field of view, determining the distance between each marked point and the corresponding preset moving point, wherein the preset moving point is a point position set based on the moving distance in the moving direction; Select the mark point closest to the preset moving point as the target mark point in the current field of view; When the target marking point is determined, the center of the field of view of the camera is aligned with the target marking point to obtain the grating coordinates corresponding to the target marking point.
5. The shafting accuracy measurement method according to claim 1, characterized in that: The determining, based on the first fitting straight line, the second fitting straight line and a plurality of corresponding grating coordinates in the same direction, respectively a first straightness corresponding to the first moving direction and a second straightness corresponding to the second moving direction comprises: Based on the first fitting straight line and a plurality of grating coordinates acquired in the first moving direction, respectively calculating first point-to-line distances from a plurality of target marking points in the first moving direction to the first fitting straight line; Selecting the difference between the maximum value and the minimum value of the first point-line distances as the first straightness; Based on the second fitting straight line and the multiple grating coordinates acquired in the second moving direction, respectively calculating the second point-to-line distances from the multiple target marking points in the second moving direction to the second fitting straight line; The difference between the maximum value and the minimum value in the second point-to-line distance is selected as the second straightness.
6. The shafting accuracy measurement method according to claim 1, characterized in that: The axis system accuracy parameters include verticality, and the step of obtaining grating coordinates corresponding to a plurality of target marking points in different directions to determine the axis system accuracy parameters corresponding to the marking points on the calibration plate includes: Determine a reference straight line according to grating coordinates corresponding to a plurality of target marking points acquired along a reference direction, wherein the reference direction is the first moving direction or the second moving direction; Based on the reference straight line and the grating coordinates corresponding to the plurality of target marking points acquired along another direction, respectively determining the projection length of the point spacing from each corresponding target marking point to the starting position on the reference straight line; The difference between the maximum value and the minimum value of the projection length is selected as the verticality.
7. A shafting accuracy measuring device, characterized in that: Applied to a thorn crystal device, the thorn crystal device includes a camera and a calibration plate, the camera is used to photograph the marking points on the calibration plate, and the camera is in a calibration completion state to associate the camera coordinate system corresponding to the camera with the grating coordinate system, and the axis system accuracy measurement device includes: A coordinate acquisition module is configured to move the camera and align the center of the camera's field of view with the initial marking point on the calibration plate according to a preset instruction, so as to acquire the grating coordinates corresponding to the initial marking point; A step acquisition module, configured to determine a moving distance for each movement of the camera according to a marking point spacing of the calibration plate; A movement control module, configured to move the camera step by step in a first movement direction and a second movement direction in sequence based on the movement interval, and align the center of the camera's field of view with the target marking point after each stepping, so as to obtain grating coordinates corresponding to a plurality of target marking points in the same direction, wherein the first movement direction is parallel to a first coordinate axis of a calibration plate coordinate system corresponding to the calibration plate, and the second movement direction is perpendicular to the first movement direction; A parameter acquisition module, configured to determine the axis system accuracy parameters corresponding to the marking points on the calibration plate according to the grating coordinates corresponding to the multiple target marking points acquired in different directions; An accuracy judgment module, configured to determine that the axis accuracy of the calibration plate meets the requirements when all sub-item parameters in the axis accuracy parameter meet the corresponding thresholds; Wherein, the axis system accuracy parameters include the first straightness and the second straightness, and the parameter acquisition module is specifically configured as follows: After acquiring grating coordinates corresponding to a plurality of target marking points along the same direction, determining a first fitting straight line corresponding to the first moving direction and a second fitting straight line corresponding to the second moving direction according to the obtained plurality of grating coordinates; Based on the first fitting straight line, the second fitting straight line, and a plurality of corresponding grating coordinates in the same direction, a first straightness corresponding to the first moving direction and a second straightness corresponding to the second moving direction are determined respectively.
8. A crystal piercing device, characterized in that: include: one or more processors; A storage device for storing one or more programs, when the one or more programs are executed by the one or more processors, the one or more processors implement the shaft system accuracy measurement method as described in any one of claims 1-6.
9. A storage medium storing computer executable instructions, characterized in that: The computer executable instructions are used to execute the shafting accuracy measurement method according to any one of claims 1 to 6 when executed by a processor.
