Machining alignment method and device
The positioning and display of spots formed by the light source emitted beams is solved, and the high cost and accuracy problems caused by camera dependence in the prior art are achieved, and the precise processing alignment without camera is achieved, which reduces costs and improves the accuracy of processing alignment.
Patent Information
- Application Number
- CN202410787060.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-06-30
- Filing Date
- 2024-06-18
- Publication Date
- 2024-12-31
AI Technical Summary
The existing processing alignment methods rely on cameras, resulting in high cost and the accuracy of surface objects being affected, making it difficult to achieve accurate and economical processing alignment.
The spot formed by the light source emitted beam is used as a reference. The position information is obtained by positioning the reference points, and the mapped points are displayed and patterned, avoiding the use of the camera, realizing the visualization and synchronous display of the spot, and building a visual reference to ensure processing and alignment. Accuracy.
It realizes precise processing alignment without camera, reduces costs, improves the accuracy and convenience of processing alignment, and avoids errors caused by conversion of different coordinate systems.
Smart Images

Figure CN119216762A_ABST
Abstract
Description
[0001] This application claims the priority of the Chinese patent application filed with the China Patent Office on June 30, 2023, with the application name “Processing Alignment Method and Device” and priority number 2023108033708, all of which are incorporated by reference in this application. Technical Field
[0002] The present application relates to the field of laser processing, and in particular to a processing alignment method and device. Background Art
[0003] With the development and application of processing technology, in order to improve the operability and convenience of processing equipment and ensure high-quality processing results, processing alignment is often performed before processing the processing object. Processing alignment refers to the act of adjusting the positional relationship between the processing pattern and the processing object in the real world, with the purpose of ensuring that the positional relationship between the processing pattern and the processing object in the real world can meet user expectations.
[0004] At present, the visual alignment method is mostly used in the market, mainly using the camera to reconstruct the image of the processing object relative to the base bed. Among them, the image of the processing object relative to the base bed contains the positional relationship of each point of the processing object relative to the base bed, and thus clearly presents the size information of the surface of the processing object. According to the mapping relationship between the prior base bed coordinates and the spot coordinate system where the laser spot is located, the screen of the base bed and the surface of the processing object is reconstructed in the canvas of the host computer software, and the corresponding mapping is completed. Therefore, the user can use the mapping as a reference for the position of processing in the real world, adjust the position and size of the processing pattern, and thus achieve "alignment".
[0005] However, on the one hand, the visual alignment method requires the use of cameras or other peripheral devices, which increases the cost of the machine. On the other hand, the surface of the processing object is not necessarily perfectly flat. In some processing tasks, it is even necessary to process some curved surface processing objects. This will cause the image obtained by the camera to be significantly distorted due to the obvious height difference of the observed surface, affecting the accuracy of the camera alignment method.
[0006] Therefore, how to accurately and economically perform machining alignment is a dilemma that needs to be solved urgently. Summary of the invention
[0007] The purpose of this application is to solve the technical problem of making machining alignment accurate and economical.
[0008] According to one aspect of an embodiment of the present application, the present application provides a processing alignment method, the method comprising:
[0009] Using the light spot formed by the light beam emitted by the light source as a reference, locating the first reference point to obtain the position information of the first reference point;
[0010] Displaying the corresponding mapping points on the canvas through feedback of the position information of the first reference point, wherein the displayed mapping points are used for initial positioning of the processing pattern;
[0011] The processing pattern is placed according to the displayed mapping points.
[0012] According to one aspect of an embodiment of the present application, the step of positioning a first reference point to obtain position information of the first reference point by taking a light spot formed by a light beam emitted by a light source as a reference includes:
[0013] Returning the light source to the origin position;
[0014] driving the light source to move from the origin position, and determining the light source position information according to the origin position and the moving distance of the light source;
[0015] Calculating the first reference point position information according to the light source position information when the light source stops moving;
[0016] and / or,
[0017] Determining initial position information of the light source;
[0018] driving the light source to move based on the initial position information, and determining the light source position information according to the initial position information and the moving distance of the light source;
[0019] The first reference point position information is calculated based on the light source position information when the light source stops moving.
[0020] According to one aspect of an embodiment of the present application, the processing equipment includes a frame, a track device slidably mounted on the frame, and a light source slidably mounted on the track device;
[0021] The frame and the light source are respectively adapted to be equipped with a homing sensor and / or a sensing element at the origin position;
[0022] The homing of the light source to the origin position comprises:
[0023] The light source is initiated to move on the track device, and the track device is initiated to move on the frame, the homing sensor senses the movement of the sensing element to the homing position, and the light source reaches the origin position.
[0024] According to one aspect of an embodiment of the present application, after determining the light source position information,
[0025] The step of positioning the first reference point to obtain the position information of the first reference point by taking the light spot formed by the light beam emitted by the light source as a reference also includes:
[0026] The light spot position information is obtained according to the light source position information, and is synchronously displayed on the canvas according to the light spot position information.
[0027] According to one aspect of an embodiment of the present application, after placing the processing pattern according to the displayed mapping point, the method includes:
[0028] Driving the light source to make the light spot illuminate any point other than the first reference point, locating the second reference point to obtain the position information of the second reference point;
[0029] According to the second reference point position information, the second reference point synchronously displayed in the canvas is a second mapping point, and the processed image is adjusted in alignment with the second mapping point as a reference.
[0030] According to one aspect of an embodiment of the present application, the light source that emits the light spot includes a laser emitting light source and a visible light emitting light source.
[0031] According to one aspect of the embodiment of the present application, the visible light emitting light source emits an alignment light spot at a fixed tilt angle, and the laser emitting light source emits a processing light spot;
[0032] Before locating the first reference point by taking the light spot formed by the light beam emitted by the light source as a reference to obtain the position information of the first reference point, the method further includes:
[0033] Acquire a light source distance between the laser emitting light source and the visible light emitting light source;
[0034] Taking any plane parallel to the plane where the light source is located as the light spot plane, obtaining the light spot distance between the alignment light spot and the processing light spot, and obtaining the plane distance between the light spot plane and the plane where the light source is located;
[0035] Taking any plane parallel to the light spot plane as a calibration plane, and obtaining a calibration distance between the calibration plane and the light spot plane;
[0036] The position information of the alignment light spot is corrected according to the light source distance, the light spot distance, the plane distance, and the calibration distance.
[0037] According to one aspect of an embodiment of the present application, the light spot formed by the light beam emitted by the light source is a registration light spot, and before placing the processing pattern according to the displayed mapping point, the method further includes:
[0038] Using the alignment light spot as a reference, locate the position of the initial reference point and obtain the position information of the initial reference point;
[0039] If the calibration plane does not coincide with the light spot plane, acquiring the calibration distance, and obtaining an error compensation value based on the calibration distance;
[0040] The position information of the initial reference point is adjusted according to the error compensation value to obtain the position information of the corresponding reference point.
[0041] According to one aspect of an embodiment of the present application, after locating the position of the initial reference point with reference to the pair of light spots and acquiring the position information of the initial reference point, the method further includes:
[0042] If the calibration plane coincides with the light spot plane, the light spot distance is used as the error compensation value, and the position information of the initial reference point is adjusted to obtain the position information of the corresponding reference point.
[0043] According to one aspect of an embodiment of the present application, the present application provides a processing alignment device, the device comprising:
[0044] Positioning module: used for positioning a first reference point by taking the light spot formed by the light beam emitted by the light source as a reference to obtain the position information of the first reference point;
[0045] Display module: used for displaying the corresponding mapping points on a canvas through feedback of the position information of the first reference point, wherein the displayed mapping points are used for initial positioning of the processing pattern;
[0046] Placement module: used for placing the processing pattern according to the displayed mapping points.
[0047] According to one aspect of an embodiment of the present application, the present application provides a processing device, including a frame, a cover plate, an actuator, a track device for driving the actuator to slide, a memory, and a processor, wherein an internal space is formed in the housing, the actuator and the track device are arranged in the internal space, and the memory is configured to store computer-readable instructions;
[0048] The processor connected to the memory by electrical signals reads the computer readable instructions stored in the memory to execute any of the above methods.
[0049] In the embodiment of the present application, before the processing equipment processes the processing object, the light spot emitted by the light source is first moved to a reference point, which is called the first reference point. The position of the light source has a known corresponding relationship with the light spot. The light source position information can be calculated and obtained according to the moving distance of the light source, so the position of the light spot can be obtained in real time. Then, when the light spot is moved to the first reference point, the first reference point position information is obtained according to the light spot position information, and the corresponding point is found on the canvas according to the first reference point position information, which is regarded as the mapping point of the first reference point. On the one hand, the present application can directly realize the visualization of the light spot on the processing object and clarify the location of the light spot. It is convenient to provide a more direct reference for the user's processing alignment. On the other hand, according to the position information of the reference point, the same coordinate system is constructed on the canvas, and then drawing is performed, and finally synchronous display is realized to construct a visual reference, avoiding the error formed by the conversion of different coordinate systems, so that the user can complete the accurate processing alignment of the processing object according to the corresponding relationship between the light spot on the processing object and the mapping point on the canvas. And the present application does not need to rely on a camera device and other peripheral devices, which makes the present application economical to complete the processing alignment.
[0050] Other features and advantages of the present application will become apparent from the following detailed description, or may be learned in part by the practice of the present application.
[0051] It should be understood that the foregoing general description and the following detailed description are exemplary only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] The above and other objects, features and advantages of the present application will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings.
[0053] Figure 1 A system architecture diagram applied according to an embodiment of the present application is shown.
[0054] Figure 2 A flow chart of a processing alignment method according to an embodiment of the present application is shown.
[0055] Figure 3 A schematic diagram of a processing light source and an alignment light source according to an embodiment of the present application is shown.
[0056] Figure 4 A flow chart of constructing an error compensation formula according to an embodiment of the present application is shown.
[0057] Figure 5 A schematic diagram showing that a processing light spot and an alignment light spot do not overlap according to an embodiment of the present application is shown.
[0058] Figure 6A schematic diagram of error compensation for an alignment light spot according to an embodiment of the present application is shown.
[0059] Fig. 7A A flow chart is shown for locating a first reference point and obtaining position information of the first reference point by taking a light spot formed by a light beam emitted by a light source as a reference according to an embodiment of the present application.
[0060] Figure 7B A flow chart is shown for locating a first reference point and obtaining position information of the first reference point by taking a light spot formed by a light beam emitted by a light source as a reference according to another embodiment of the present application.
[0061] Figure 8 A flow chart of homing a light source to an origin position according to an embodiment of the present application is shown.
[0062] Fig. 9 A flow chart of placing a processing pattern according to displayed mapping points according to one embodiment of the present application is shown.
[0063] Fig.10 A flow chart of adjusting a processing pattern after placing the processing pattern on a displayed canvas with reference to a first mapping point according to an embodiment of the present application is shown.
[0064] Fig.11 A schematic diagram showing a real-world processing pattern that is too large or too small and offset according to an embodiment of the present application is shown.
[0065] Fig.12 A flowchart of the processing device performing comparison after placing a processing pattern according to displayed mapping points according to one embodiment of the present application is shown.
[0066] Fig.13 A hardware schematic diagram of a processing device according to an embodiment of the present application is shown.
[0067] Fig.14 A hardware schematic diagram of a processing device according to another embodiment of the present application is shown.
[0068] Fig.15 A schematic diagram of a processing alignment device according to an embodiment of the present application is shown.
[0069] Fig.16 A hardware structure diagram of a processing alignment method according to an embodiment of the present application is shown. DETAILED DESCRIPTION
[0070] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these example embodiments are provided so that the description of the present application will be more comprehensive and complete and the concepts of the example embodiments will be fully conveyed to those skilled in the art. The accompanying drawings are only schematic illustrations of the present application and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and thus their repeated description will be omitted.
[0071] In addition, the described features, structures or characteristics may be combined in one or more example embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the example embodiments of the present application. However, those skilled in the art will appreciate that the technical solution of the present application may be practiced while omitting one or more of the specific details, or other methods, components, steps, etc. may be adopted. In other cases, known structures, methods, implementations or operations are not shown or described in detail to avoid obscuring the present application and making the various aspects of the present application obscure.
[0072] Some of the blocks shown in the accompanying drawings are functional entities that do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0073] See also Figure 1 , Figure 1 It is a system architecture used in the embodiment of the present application. The system architecture may include: at least one processing device 11 for processing the processing object, and a terminal device 12 that provides visualization operation and canvas for the processing device 11, so as to implement the processing alignment method of the present application. Among them, the processing device 11 locates the reference point through the light source configured by itself, and obtains the reference point position information.
[0074] See also Figure 2 , Figure 2 A flowchart of a processing alignment method according to an embodiment of the present application is shown. The present application embodiment provides a processing alignment method, including:
[0075] Step S210, using the light spot formed by the light beam emitted by the light source as a reference, positioning the first reference point to obtain the position information of the first reference point;
[0076] Step S220, displaying the corresponding mapping points on the canvas through feedback of the first reference point position information, and the displayed mapping points are used for initial positioning of the processing pattern;
[0077] Step S230, placing a processing pattern according to the displayed mapping points.
[0078] The above three steps are described in detail below.
[0079] In this application, on the one hand, the light spot can be visualized directly on the processing object, and on the other hand, the same coordinate system can be constructed on the canvas according to the position information of the reference point, and then drawing can be performed, and finally synchronous display can be achieved to construct a visualized reference, so that the user can complete the precise processing alignment of the processing object according to the correspondence between the light spot on the processing object and the mapping point on the canvas. And there is no need to use a camera device or other peripheral devices, which makes this application economical to complete the processing alignment.
[0080] In step S210, it should be first explained that the processing equipment used to implement the processing alignment deploys at least one light source, and the light spot formed by the light beam emitted by the light source can be used for the processing alignment implemented in the present application. In addition, the light source can also be used to implement the processing. Based on this, the light source used to emit the light spot in the present application includes a laser emitting light source (processing light source) and / or a visible light emitting light source (alignment light source).
[0081] The light spot includes the processing light spot formed by the light beam emitted by the processing light source and the alignment light spot formed by the light beam emitted by the alignment light source. It should be clear that when the processing light source is aligning through the processing light spot, the processing light source emits weak light to form a light spot. Weak light refers to the light beam emitted by the processing light source within the set power range. Because the processing alignment of the processing image is for the processing light source to use the processing light spot to process the processing object, in order to facilitate the processing of the processing equipment, whether it is the processing light spot or the alignment light spot, its position information is formed based on the coordinate system where the processing light source is located, and the coordinates of the processing light source are also the light source coordinate system.
[0082] The color of the light spot is not limited here and can be any color.
[0083] Further explained, for the processing equipment, the light source is arranged on the laser head of the processing equipment. In other words, the laser head of the processing equipment can be used for processing alignment, and laser processing based on this. The laser head is distributed with a laser emitting light source, or a combination of a laser emitting light source and a visible light emitting light source.
[0084] When the laser head is only provided with a laser emitting light source, processing alignment and laser processing are performed by the laser emitting light source; when the laser head is provided with a combination of a laser emitting light source and a visible light emitting light source, processing alignment can be performed by the laser emitting light source or the visible light emitting light source, and then laser processing is performed by the laser emitting light source.
[0085] In the process of laser processing, the light source is first driven to emit a light beam so that the light beam is irradiated on the surface of the processing object (processing surface), or the processing equipment is used to form a light spot on the horizontal plane of the processing object. The light spot is used to indicate the position where the light beam emitted by the current light source is irradiated. The light source and the light spot have a known relative position relationship. For example, when the light beam emitted by the light source is perpendicular to the horizontal plane, the two-dimensional position information of the light spot can be directly determined according to the light source position information, and then the light spot position information is determined according to the height of the plane where the processing object is located. When the light beam emitted by the light source is inclined with respect to the horizontal plane, the two-dimensional position information of the light spot is determined according to the light source position information and the inclination angle, and then the light spot position information is determined according to the height of the plane where the processing object is located. In other words, as long as the light source position information is known, the light spot position information can be obtained according to the relative position relationship between the light source and the light spot. The light source position information is used to record the position in the light source coordinate system.
[0086] In one embodiment of the present application, the light source includes a laser emitting light source, also called a processing light source, and a visible light emitting light source, also called an alignment light source. Considering that when the positions of the two light sources are not uniform, the positions of the processing light spot and the alignment light spot may not overlap. The position information of the reference point is directly obtained from the light spot of the processing light source. The position of the light spot cannot be directly used as the processing position as a reference, which may cause the user to misjudge the position of the processing alignment. And the coordinate information of the mapping point obtained from the position information of the reference point cannot provide an indication for the processing light source. Therefore, the present application establishes an error compensation formula, and uses the error compensation formula to correct the position information of the reference point to obtain the position information of the reference point that finally corresponds to the processing light spot, and finally obtains the coordinate information of the mapping point that can be directly used by the processing light source. At the same time, when displayed on the canvas, the position of the mapping point corresponds to the position of the processing light spot, so that the user can more intuitively feel the position of the processing light source in the physical world, which is more conducive to the processing alignment of the processing object.
[0087] See also Figure 3 When the alignment spot is used for processing alignment, the alignment light source emits a light beam at a fixed tilt angle α to form an alignment light spot on the processing surface; the processing light source emits a light beam at a fixed vertical angle to form a processing light spot on the processing surface. When the alignment light source has an inclination angle, the light beam emitted by the alignment light source and the light beam emitted by the processing light source intersect at point P. The plane FP where point P is located is the plane with the same position indicated by the processing light spot and the alignment light spot. In the actual operation process, due to the different thickness of the processing object, the height of the processing surface also changes (for example, when the processing object is an aluminum sheet, the corresponding processing surface is F1, and when the processing object is a wooden board, the corresponding processing surface is F2). When the processing surface and the plane FP are not at the same height, there is a certain distance between the alignment light spot and the processing light spot on the processing surface.
[0088] This embodiment performs error compensation on the alignment light spot to obtain alignment light spot position information that is the same as the processing light spot position information, so that the alignment light spot position information can be directly used as a reference when performing subsequent processing alignment on the processing object.
[0089] For details, please refer to Figure 4 , Figure 4 A flow chart of constructing an error compensation formula according to an embodiment of the present application is shown. The present application embodiment provides steps of constructing an error compensation formula, including:
[0090] Step S310, obtaining the light source distance between the laser emitting light source and the visible light emitting light source;
[0091] Step S320, taking any plane parallel to the plane where the light source is located as the light spot plane, obtaining the light spot distance between the alignment light spot and the processing light spot, and obtaining the plane distance between the light spot plane and the plane where the light source is located;
[0092] Step S330, taking any plane parallel to the light spot plane as a calibration plane, and obtaining a calibration distance between the calibration plane and the light spot plane;
[0093] Step S340, correcting the position information of the processing light spot according to the light source distance, the light spot distance, the plane distance, and the calibration distance.
[0094] The above four steps are described in detail below.
[0095] Since the distance between the processing light source and the alignment light source, as well as the inclination angle of the alignment light source, are different in each processing equipment, the error compensation formula is first constructed for each processing equipment put into use.
[0096] In step S310, for details, please refer to Figure 5 , Figure 5 A schematic diagram showing that the processing light spot and the alignment light spot do not overlap according to an embodiment of the present application is shown. Point A represents the position of the processing light source, point B represents the position of the alignment light source, and line segment AB represents the distance between the processing light source and the alignment light source. The plane where line segment GH is located is the plane selected during the calibration of the processing equipment, point G is the processing light spot when the processing equipment is calibrated, and point H is the alignment light spot when the processing equipment is calibrated. The plane where line segment DF is located is the processing surface during the actual operation of the processing equipment, point D is the processing light spot in actual use, and point F is the alignment light spot in actual use.
[0097] The distance between the alignment light source and the processing light source is obtained as the light source distance. The light source distance can be determined based on the distance sensor between the two. The light source distance can also be determined based on user input. Figure 5 Midline segment AB.
[0098] In step S320, any plane parallel to the plane where the light source is located is taken as the spot plane, the processing spot and the alignment spot are irradiated on the spot plane respectively, and the distance between the two spots is obtained as the spot distance. Figure 4 After the spot plane is determined, the distance between the spot plane and the plane where the light source is located is taken as the plane distance. Figure 5 Line segment AG or CH in .
[0099] In step S330, any plane parallel to the spot plane is taken as the calibration plane. It should be noted that the calibration plane spot planes do not overlap, as shown in Figure 5 The plane represented by DF in is the calibration plane. The distance between the calibration plane and the plane where the light spot is located is the calibration distance. Figure 5 The line segment DG or EH in .
[0100] In step S340, according to Figure 5 It can be known that the offset distance between the alignment spot and the processing spot is DF, that is, DF can be calculated according to the above conditions. Specifically, DF can be calculated in the following way.
[0101] It is known that the lengths of line segments AB, GH, and AG are invariants of the current posture of the processing equipment. Since the calibration distance has different lengths depending on the processing object, line segments DG or AD, CE or EH are used as calibration distances as independent variables. DF is the dependent variable. Based on the above content, an error compensation formula is constructed. After the error compensation formula is constructed, the error compensation can be determined only based on the calibration distance to adjust the alignment spot.
[0102] (1) BC = AB - GH, EH = AG - AD.
[0103] (2) According to the similarity between triangle EFH and triangle CBH, EF / BC=EH / CH, which leads to EF=(BC×EH) / CH.
[0104] (3)DF=DE+EF, because DE=GH, so DF=GH+EF.
[0105] In summary, DF=GH+(BC×EH) / CH=GH+[(AB-GH)×(EH))] / CH, where GH is the spot distance, AB is the light source distance, CH is the plane distance, and EH is the calibration distance.
[0106] The length of line segment DF can be obtained through the above correspondence. The length of line segment DF is the error compensation for the alignment spot position information. Combined with the alignment spot position information, the alignment spot position information can be made the same as the processing spot position information.
[0107] See also Figure 6 , Figure 6 A schematic diagram of performing error compensation on an alignment spot according to an embodiment of the present application is shown. The embodiment of the present application provides steps for performing error compensation on an alignment spot, including:
[0108] Step S401, using the alignment light spot as a reference, locating the position of the initial reference point and obtaining the position information of the initial reference point;
[0109] Step S402, if the calibration plane does not coincide with the light spot plane, the calibration distance is obtained, and an error compensation value is obtained based on the calibration distance;
[0110] Step S403: adjusting the position information of the initial reference point according to the error compensation value to obtain the position information of the corresponding reference point.
[0111] The above three steps are described in detail below.
[0112] In step S401, the initial reference point is located with reference to the alignment light spot, and the position information of the initial reference point is obtained. That is, in the embodiment of the present application, the initial reference point is determined with reference to the alignment light spot displayed on the processing object. Considering that the processing light spot and the alignment light spot may not overlap on the plane of the current processing alignment, the reference point with reference to the position of the alignment light spot is determined as the initial reference point, and the position information of the initial reference point is determined.
[0113] In step S402, if the calibration plane does not coincide with the spot plane, it means that the error compensation is calculated, so the calibration distance is obtained, and the calibration distance is substituted into the error compensation formula to obtain the error compensation value.
[0114] In another embodiment of the present application, if the calibration plane coincides with the light spot plane, the light spot distance is directly used as the error compensation value.
[0115] In step S403, the position information of the initial reference point is modified according to the error compensation value to obtain the position information of the corresponding reference point. The position information of the alignment spot can also be adjusted according to the error compensation value to obtain the corrected position information of the alignment spot, and finally the position information of the corresponding reference point is directly determined according to the corrected position information of the alignment spot.
[0116] It should be clear that the initial reference point includes the initial first reference point and the initial second reference point. The initial first reference point is the uncompensated version of the first reference point, and the initial second reference point is the uncompensated version of the second reference point. That is, in the embodiment of the present application, whether obtaining the first reference point or the second reference point, it is necessary to first obtain the initial reference point (initial first reference point or initial second reference point), and then calculate the error compensation value to obtain the corresponding reference point (first reference point or second reference point). In this way, it is ensured that the position information of the first reference point and the second reference point is the same as the position information of the processing spot.
[0117] In another embodiment of the present application, the angle of the alignment light source can also be adjusted according to the error compensation value, so that the alignment light spot moves to the position where the processing light spot should be displayed. Ensure that the alignment light spot is always consistent with the processing light spot. After completing the processing alignment of a processing object, the alignment light source can be restored to its original position. This allows the error compensation formula to be used when facing the next processing object. It is only necessary to redetermine the calibration distance. Then, when processing any processing object, it can be ensured that the processing light spot and the alignment light spot coincide. It needs to be further clarified that when using the alignment light source for processing alignment, the processing light source does not emit a light beam to form a light spot.
[0118] In an embodiment of the present application, when the light source of the processing equipment is divided into a processing light source and an alignment light source, the processing spot and the alignment spot do not overlap. The present application constructs an error compensation formula and applies it to always make the processing spot and the alignment spot overlap, so that the user can directly complete the processing alignment according to the reference point and the mapping point, which ensures the accuracy of the processing alignment and provides convenience for the user's operation.
[0119] It should be made clear that for the positioning of the reference point used for machining alignment, the light source is first driven to move so that the light source emits a light beam to illuminate the first reference point, forming a light spot at the first reference point; then the position information of the first reference point is obtained based on the light spot position information. The reference point refers to a point selected on the object to be machined or on the surface where the object to be machined is located. The reference point can be the starting point for machining the object to be machined or any other point. The reference point provides a reference for the placement of the machining pattern.
[0120] It should be understood that in one embodiment of the present application, the light source may be a laser emitting light source. The laser head forms a light spot by emitting a light beam, which is then used to indicate the irradiation position of the light beam. The light source may also be another light source configured separately, and the annotation is specifically used to emit a light beam to form a light spot during processing alignment.
[0121] It should be clear that the term "laser head" as used herein includes any electromagnetic radiation or focused or coherent energy source that uses photons to modify a substrate or cause some changes or changes in the material struck by the photons. The laser head (whether a cutting tool or a diagnostic tool) can emit any desired wavelength, and the laser head includes, for example, microwave lasers, infrared lasers, visible light lasers, UV lasers, X-ray lasers, ray lasers, etc. The "processing surface" can be a flat surface or a curved surface, which is not limited here.
[0122] It should be further clarified that in another embodiment of the present application, for the movement of the light source, the light source can be controlled to move to a specified position according to the instruction information so that the light spot is located at the first reference point. In addition, the light source can also be moved under the drag of the user, which is not limited here. Among them, the instruction information is generated by the operation action initiated by the user on the control panel of the processing equipment or the host computer composed of the terminal device.
[0123] See also Fig. 7A , Fig. 7A A flowchart of locating a first reference point to obtain position information of the first reference point using a light spot formed by a light beam emitted by a light source as a reference according to an embodiment of the present application is shown. The embodiment of the present application provides a step S210 of locating a first reference point to obtain position information of the first reference point using a light spot formed by a light beam emitted by a light source as a reference, including:
[0124] Step S211a, homing the light source to the origin position;
[0125] Step S212a, driving the light source to move from the origin position, and determining the light source position information according to the origin position and the moving distance of the light source;
[0126] Step S213a: Calculate the first reference point position information according to the light source position information when the light source stops moving.
[0127] See also Figure 7B , Figure 7B A flowchart of locating a first reference point to obtain position information of the first reference point using a light spot formed by a light beam emitted by a light source as a reference according to another embodiment of the present application is shown. The embodiment of the present application provides a step S210 of locating a first reference point to obtain position information of the first reference point using a light spot formed by a light beam emitted by a light source as a reference, and further includes:
[0128] Step S211b, determining the initial position information of the light source;
[0129] Step S212b, driving the light source to move based on the initial position information, and determining the light source position information according to the initial position information and the moving distance of the light source;
[0130] Step S213b: Calculate the first reference point position information according to the light source position information when the light source stops moving.
[0131] The following is the above Fig. 7A and Figure 7B The six steps in the two figures are described in detail.
[0132] In step S211a, to obtain the light source position information, the light source moves with the origin of the light source coordinate system as the starting point, and the moving distance of the light source on each axis of the light source coordinate system is obtained according to the movement of the light source, and then the light source position information is obtained from the moving distance on each axis.
[0133] In order to prevent the light source position information from being unclear or inaccurate due to the current inability to accurately obtain the moving distance of the light source, the light source should be reset first, and the moving distance of the light source should be calculated from the beginning, so that the light source position information becomes accurate and the accuracy of the light source position information obtained subsequently is ensured.
[0134] To return the light source to its original position means to move the light source to the origin of the light source coordinate system. Specifically, the light source can be moved to the origin of the light source coordinate system according to the instruction information; or the user can directly hold the light source and drag it to return the light source to the origin of the light source coordinate system.
[0135] In one embodiment of the present application, the processing equipment includes a frame, a track device slidably mounted on the frame, and a light source slidably mounted on the track device. The frame and the light source are respectively equipped with a homing sensor and / or a sensing member at the origin position. At this time, the movement of the light source on the track device and the movement of the track device on the frame are initiated, the homing sensor senses the movement of the sensing member to return to its position, and the light source reaches the origin position.
[0136] In one embodiment of the present application, when the homing sensor on the frame senses that the sensing element has moved back to its original position, the light source does not reach the origin position, but reaches a known position, that is, the accurate moving distance of the light source can be obtained at this time, so there is no need to return the light source to the origin.
[0137] See also Figure 8 , Figure 8 A flow chart of homing a light source to an origin position according to another embodiment of the present application is shown. The present application embodiment provides a step S211a of homing a light source to an origin position, including:
[0138] Step S2111, initiating the movement of the light source on the track device, the homing sensor on the track device senses the movement of the sensing element at the bottom of the light source to return to its position, and the homing movement of the light source on the track device is completed;
[0139] Step S2112, driving the track device to move on the frame, so that the homing sensor on the frame senses that the sensing element on the track device moves to its home position, and the light source reaches the origin position.
[0140] The above two steps are described in detail below.
[0141] In this embodiment, the following device is used to complete the movement and reset of the light source.
[0142] The processing equipment includes a track device, a frame on which the track device is slidably mounted, and a light source slidably mounted on the track device;
[0143] The frame and the track device are both adapted to assemble a homing sensor at the origin position of the light source coordinate system, the track device is adapted to assemble a homing sensor on the frame and is provided with a sensing component, and the bottom of the light source is adapted to assemble a homing sensor on the track device and is provided with a sensing component.
[0144] In step S2111, the motion mechanism of the light source moves along the track device until the homing sensor installed on the track device at one end close to the origin senses the sensing element adapted to the bottom of the light source, so that the homing sensor senses the movement and homing of the light source, thereby completing the movement and homing of the light source on the track device.
[0145] In step S2112, the track device is driven to initiate the movement of the light source head and the track device on the frame until the homing sensor installed at the origin position on the frame senses the sensing part adapted to the track device, so that the homing sensor senses that the track device carrying the light source has completed the movement and homing, that is, the homing movement of the light source is completed.
[0146] It should be understood that when the sensing element senses the homing sensor, the internal signal of the homing sensor changes. Therefore, here, whether the sensing element senses the homing sensor is determined by monitoring the change in the internal signal of the homing sensor. Exemplarily, the light source is equipped with a sensing element, and the frame is equipped with a homing sensor. When the homing sensor on the frame senses that the sensing element moves to the home position, the light source reaches the origin position.
[0147] It should be noted that the above-mentioned homing sensor can be a photoelectric sensor, a contact sensor, or other sensors that can achieve the above-mentioned purpose.
[0148] In the embodiment of the present application, based on the most basic track device and homing sensor of the processing equipment, the automatic homing of the light source is realized, thereby reducing the economic cost of constructing the processing equipment.
[0149] In step S211b, when the current position information of the light source can be determined as accurate position information, it is not necessary to home the light source, and the moving distance can be directly obtained as the light source position information as the light source moves. For example, the current position information of the light source is calculated after the light source returns to the origin. The calculation of the light source position information is based on the moving distance of the light source relative to the light source coordinate system. As long as there are no external factors that make the movement of the light source not recorded, there is no need to home. Therefore, the light source does not need to be homed before every movement.
[0150] In another embodiment of the present application, Figure 8 In the structure described in, further, when the homing sensor on the frame senses that the sensing element has moved to its home position, the light source does not reach the origin position, but reaches a known position, that is, the accurate moving distance of the light source can be obtained at this time, so there is no need to return the light source to the origin.
[0151] In step S212a, taking the origin of the light source coordinate system as the starting point, the light source is driven to position the first reference point, that is, the light spot moves toward the first reference point. While driving the light source to move, it is necessary to extract the moving distance of the light source, and then calculate the moving distance of the light source on each axis of the light source coordinate system based on the moving distance of the light source, so as to obtain the current light source position information.
[0152] It should be clear that when the light source moves at different speeds, the moving distance of the light source is extracted at different frequencies. For example, when the light source speed is 0.01m / s, the moving distance of the light source is extracted every 2s. When the light source moves at a speed of 1m / s, the moving distance of the light source is extracted every 0.5s.
[0153] It should also be clarified that for the setting of the extraction frequency of the moving distance of the light source, a universal extraction frequency can also be set. For example, no matter how fast the light source moves or whether it moves, the moving distance of the light source is extracted every 1 second.
[0154] That is to say, the extraction of the moving distance of the light source occurs not only when the light source is moving, but also when the light source stops moving. The moving distance of the light source is extracted at fixed intervals to obtain the current light source position information. The purpose is to prevent external factors from causing the light source to move, but its moving distance is not recorded, which will cause errors in the processing process.
[0155] Exemplarily, when the moving speed of the light source is 0 m / s, the moving distance of the light source is acquired every 10 seconds, and the current light source position information is calculated.
[0156] In step S212b, the position where the light source starts to move is taken as the starting point, and the position where the light source ends to move is taken as the end point. Whether the light source stops moving can be determined based on the user's instruction information or on various preset trigger events. For example, when the light source remains still for more than a set time, it is determined that the light source has stopped moving, and the current position of the light source is the end point.
[0157] What needs to be determined is that the position where the light source starts to move can be the origin position or the non-origin position. If the current position information of the light source can be determined as accurate position information, it means that taking the current position information of the light source as the starting point will not cause any error to the subsequent position information of the light source. Therefore, when the current position information of the light source can be determined as accurate position information, the position information of this point can be used as the starting point of the light source.
[0158] Get the moving distance of the light source from the starting point to the end point. Decompose the obtained moving distance to determine the moving distance of the light source on each axis, and then calculate the position information of the light source end point based on the position information of the starting point of the light source, that is, the position information of the light source when the light source stops moving.
[0159] In step S213a, when the light source stops moving, the first reference point is positioned, so the light source position information when the light source stops moving is obtained according to the moving distance of the light source when it stops moving, that is, the light source position information when the light spot reaches the first reference point. Then, according to the relative position relationship between the light source and the light spot, the light spot position information is obtained, that is, the first reference point position information.
[0160] In step S213b, as described in step S213a, the light source position information when the light source stops moving is used as a reference to obtain the first reference point position information.
[0161] In the above two embodiments, the present application uses a light spot as a reference, and the light spot can be clearly projected to any desired position, and the moving distance of the light source returned to the origin can be automatically acquired and read, which is used to represent the moving distance of the light spot on each number axis. Based on this, the position information of the light spot can be obtained for display on the canvas, so that the user can use this as a reference to determine the position of the first reference point. On the one hand, it greatly improves the degree of automation of the processing equipment, and on the other hand, it brings more reference information to the user, helping the user to better determine the first reference point.
[0162] Finally, when determining the light source position information when the light source stops moving, it is not limited to returning the light source to the origin, which reduces the limitations of obtaining the light source position information and enables the processing equipment to determine the light source position information more efficiently and quickly.
[0163] In one embodiment of the present application, in order to make the user operation more convenient and intuitive, the light spot is synchronously displayed on the canvas. Specifically, the light spot position information is obtained according to the light source position information obtained each time, and then the point where the light spot is mapped on the canvas is displayed on the canvas according to the mapping relationship between the light source coordinate system and the canvas coordinate system.
[0164] When the light source moves, the light source position information is obtained at a high frequency, and then the light spot position information is obtained and synchronized to the canvas for display. The dynamic movement of the light spot can be seen on the canvas. The coordinate system where the canvas is located is called the canvas coordinate system. For example, the light source position information is obtained at intervals set at a certain time.
[0165] It should be further clarified that in another embodiment of the present application, when the light spot is synchronously displayed on the canvas, according to user needs, only the light spot when it stops can be displayed, such as taking the position when the light spot starts to move as the starting point of the light spot, and taking the position when the light spot ends to move as the end point of the light spot. The movement of the light spot moves with the movement of the light source, so when it is determined that the light source ends moving, the light spot stops moving. For example, it can be based on the user's instruction information, or it can be based on various preset trigger events. For example, when the light source remains stationary for more than a set time, it is determined that the light source ends moving, and the current position information of the light spot formed by the light source is the end point of the light spot.
[0166] When the light spot starts to move, the position of the light source can be the origin position or the non-origin position. For example, when the current position information of the light source can be determined as accurate position information, it means that taking the current position information of the light source as the starting point will not cause any error to the subsequent position information of the light source. Therefore, when the current position information of the light source can be determined as accurate position information, the position information of this point can be used as the starting point of the light source, that is, the light spot formed by the light beam emitted by the light source at this point is used as the starting point of the light spot, and the corresponding coordinates of the starting point of the light spot on the canvas are obtained, and the corresponding mark is displayed at the coordinate on the canvas, indicating the light spot displayed in real time.
[0167] Get the moving distance of the light source from the starting point to the end point of the light spot. Decompose the moving distance obtained to determine the moving distance of the light source on each axis, and then calculate the position information of the end point of the light source based on the position information of the starting point of the light source, that is, the position information of the light source when the light source stops moving. Based on the light source position information, determine the corresponding coordinates of the light spot on the canvas, and display the coordinates on the canvas.
[0168] In the embodiment of the present application, based on the above-mentioned real-time display capability of the light spot, real-time visualization of the light spot is realized on the canvas. This allows the user to use the light spot to realize the placement of the processed object in the physical world. At the same time, on the canvas, the coordinates and size of the processing task can be quickly and accurately adjusted based on the current visualized light spot as a reference, so that the user can finally obtain the expected engraving and cutting results on the object to be processed with the position and size that meet the expectations.
[0169] Finally, when determining the light spot position information, it is not limited to returning the light source to the origin, which reduces the limitations of obtaining the light spot position information and enables the processing equipment to determine the light source position information more efficiently and quickly.
[0170] In another embodiment of the present application, in order to allow the user to have different operating experiences, when the light source stops moving, it is determined whether to obtain the position information of the current light spot according to the instruction information. If there is instruction information for obtaining the position information of the current light spot, the position information of the light spot is obtained, and if not, it is not executed. Exemplarily, the first reference point can be selected through the light spot by operating the buttons configured by the processing equipment.
[0171] It should be made clear that the canvas is a visual interface on or connected to the processing equipment. The canvas is used to display and place processing patterns, and to assist the processing equipment in processing. In order to enable the processing patterns placed on the canvas, or other operating actions implemented, to be completed by the processing equipment in the real world, the size of the canvas is set to be no larger than the movable area of the laser head and / or other light sources. In other words, as long as the operating actions are implemented in the canvas, they can be completed by the processing equipment and will not exceed the movable area of the laser head and / or other light sources, so that they cannot be processed.
[0172] In step S220, after obtaining the first reference point position information, the first reference point position information is converted between coordinate systems to obtain coordinate information indicating the point corresponding to the first reference point in the canvas coordinate system, and the information is displayed on the canvas.
[0173] It should be clear that before performing this step, a mapping relationship between the light source coordinate system and the canvas coordinate system is established, so that the corresponding position information (coordinate information) of any point in one coordinate system can be obtained based on the mapping relationship between the two coordinate systems and the position information (coordinate information) of the point in the other coordinate system. For example, the coordinate information of a point in the canvas coordinate system can be obtained based on the position information of the point in the light source coordinate system.
[0174] In step S230, the processing pattern is placed according to the mapping point displayed on the canvas of the reference point. The placed processing pattern refers to the pattern that the user wants to process on the processing object. According to the mapping relationship between the light source coordinate system and the canvas coordinate system, the relative position relationship between the processing pattern and the mapping point in the canvas coordinate system is synchronized to the light source coordinate system. In other words, in the real world, the relative position relationship between the processed pattern and the reference point on the processing object is the same as the relative position relationship between the processing pattern and the mapping point.
[0175] It should be clarified that the "placement" mentioned in this step includes but is not limited to changing the position of the processing pattern, rotating, flipping, scaling, adjusting the side length ratio, and other plane pattern editing operations.
[0176] See also Fig. 9 , Fig. 9 A flowchart of placing a processing pattern according to a displayed mapping point according to an embodiment of the present application is shown. The present application embodiment provides a step S230 of placing a processing pattern according to a displayed mapping point, including:
[0177] Step S231, according to the first reference point position information, synchronously displaying the point obtained by the first reference point in the canvas as the first mapping point;
[0178] Step S232, placing a processing pattern on the displayed canvas with the first mapping point as a reference.
[0179] The above two steps are described in detail below.
[0180] In step S231, based on the first reference point position information obtained in step S213 and the mapping relationship between the light source coordinate system and the canvas coordinate system, the coordinate information of the point mapped by the first reference point on the canvas, that is, the coordinate information of the first mapping point, is obtained. The coordinate information of the first mapping point is displayed on the canvas, that is, the synchronous display of the first reference point on the canvas is obtained.
[0181] For synchronous display on the canvas according to the coordinate information, the host computer or a component or module with computing function in the device displaying the canvas can locate the point corresponding to the coordinate information on the canvas according to the coordinate information and mark it, thereby completing the canvas display of the first reference point.
[0182] In step S232, the processing pattern is placed based on the first mapping point displayed on the canvas as a reference, and the relative position relationship between the processing pattern and the first mapping point is adjusted until the processing requirements of the user are met; then, based on the coordinate information of the processing pattern and the mapping relationship between the light source coordinate system and the canvas coordinate system, the position information of the processing pattern when it is processed, that is, the light source position information, can be obtained.
[0183] At this time, in the real world, the relative position relationship between the processed pattern and the reference point is the same as the relative position relationship between the processed pattern and the mapping point in the canvas, so that what the user sees on the canvas is what he gets.
[0184] In the embodiment of the present application, by real-time positioning and displaying the light spot, the user can use a positioning operation form with a lower operating threshold during the alignment process, but at the same time, the canvas is presented with the same coordinate system as the light spot. This effectively avoids the errors caused by the conversion of different coordinate systems and the visual distortion caused by camera alignment. In addition, the automatic acquisition of the position information of the reference point and the coordinate information of the mapping point greatly improves the automation performance of the device.
[0185] See also Fig.10 , Fig.10 A flowchart of adjusting a processing pattern after placing the processing pattern on a displayed canvas with reference to a first mapping point according to an embodiment of the present application is shown. The embodiment of the present application provides a step of adjusting the processing pattern after placing the processing pattern on a displayed canvas with reference to a first mapping point, including:
[0186] Step S501, driving the light source to illuminate any point other than the first reference point, locating the second reference point to obtain the position information of the second reference point;
[0187] Step S502: According to the second reference point position information, the second reference point synchronously displayed in the canvas is used as the second mapping point, and the processed image is adjusted in alignment with the second mapping point as a reference.
[0188] The above two steps are described in detail below.
[0189] When the user believes that the processing alignment can be completed directly according to the first mapping point, the user can choose to place the processing pattern with the first mapping point mapped on the canvas as a reference, thereby completing the processing alignment.
[0190] Of course, in addition to this, in order to complete the processing alignment more accurately, the user can also choose to place the processing pattern with the first mapping point as a reference, and then adjust the processing pattern according to the second mapping point mapped on the canvas by the second reference point.
[0191] The case where the processing pattern is placed only according to the first mapping point is mostly a ring pattern or a case where the processing pattern size is known. For example, when placing a circular pattern with a diameter of 2 cm, it is only necessary to select a point on the processing object as the center position of the pattern to be processed and set the point as the first reference point.
[0192] In this case, the processing alignment of the processing pattern is completed by simply placing the processing pattern with a diameter of 2 cm on the canvas with the first mapping point as the center of the circle.
[0193] However, when the user needs to complete the processing alignment more accurately, it is necessary to locate the second reference point, and then synchronously display the second mapping point on the canvas as a reference for processing alignment. Similarly, the third reference point can also be located.
[0194] For example, when the size of the processing pattern is unknown, the processing pattern is first placed according to the first mapping point, and then adjusted according to multiple mapping points in turn. This can quickly determine the size of the processing object relative to the processing pattern, as well as the relative position relationship between the processing object and the processing pattern in the real world, so that the processing effect is more ideal during actual processing.
[0195] See also Fig.11 , Fig.11 A schematic diagram showing a real-world processing pattern that is too large or too small and offset according to an embodiment of the present application is shown. Fig.11 The following is the possible result of processing alignment only with reference to the first mapping point. In the face of this possible situation, you can adjust it through the following steps after placing the processing pattern to complete the processing alignment.
[0196] In step 501, after placing the processing pattern according to the first mapping point, the light source is continuously driven to move so that the light spot formed by the light beam emitted by the light source moves to the second reference point. It should be clear that the second reference point does not overlap with the first reference point. The second reference point position information is obtained based on the light source position information and the relative position relationship between the light source and the light spot.
[0197] In step S502, the coordinate information of the second reference point is obtained according to the position information of the second reference point and the mapping relationship between the light source coordinate system and the canvas coordinate system, and then the coordinate information of the second reference point is displayed on the canvas as a second mapping point. The processing pattern is adjusted according to the second mapping point, including but not limited to translation, flipping, scaling, and stretching.
[0198] In the embodiment of the present application, the processing alignment of the processing pattern is achieved through at least two mapping points. Under the premise that the coordinate information of the mapping points is accurate, the accuracy of the processing alignment of the processing pattern is guaranteed to the greatest extent.
[0199] See also Fig.12 , Fig.12 A flowchart of a process for recalibrating a processing device after placing a processing pattern according to a displayed mapping point according to an embodiment of the present application is shown. The embodiment of the present application provides a process for recalibrating a processing device after placing a processing pattern according to a displayed mapping point, including:
[0200] Step S610, determining the coordinates of the minimum accommodating rectangle of the processing pattern;
[0201] Step S620, driving the light source to move so that the light spot formed by the light beam emitted by the light source traverses all sides of the smallest accommodating rectangle, and checking the processing alignment of the processing pattern.
[0202] The above two steps are described in detail below.
[0203] Before processing, the position and size of the processed pattern in the real world are determined through back calibration to verify the processing effect.
[0204] In step S610, the size of the minimum accommodating rectangle of the processing pattern is determined according to the size of the processing pattern. The minimum accommodating rectangle of the processing pattern, as the name implies, refers to the smallest rectangle that can accommodate the processing pattern. The minimum accommodating rectangle of the processing pattern is obtained according to the size of the processing pattern.
[0205] For example, there are x-axis and y-axis in the canvas coordinate system. For a processing pattern, its maximum span on the x-axis and its maximum span on the y-axis are the length and width of the minimum accommodating rectangle of the processing pattern. For example, in the canvas coordinates, the coordinate information of each point is expressed in the form of (x, y). The two points of the processing pattern that are farthest apart in the x-axis direction are (a, b) and (m, n), respectively. Then, the maximum span of the processing pattern on the x-axis is │am│ (absolute value). The two points of the processing pattern that are farthest apart in the y-axis direction are (k, j) and (p, q), respectively. Then, the maximum span of the processing pattern on the y-axis is │jq│ (absolute value). │am│ and │jq│ are the length and width of the minimum accommodating rectangle of the processing pattern.
[0206] Because the minimum accommodating rectangle must pass through the four points (a, b), (m, n), (k, j) and (p, q), it is easy to obtain the coordinate information of the minimum accommodating rectangle. For example, when the number axis x and the number axis y are perpendicular to each other, according to the principle of mathematical geometry, the four vertices of the minimum accommodating rectangle are (a, j), (m, j), (a, q), (m, q), and then the coordinate information of the minimum accommodating rectangle is obtained.
[0207] In step S620, based on the mapping relationship between the light source coordinate system and the canvas coordinate system, and the coordinate information of the minimum containing rectangle, the position information of the minimum containing rectangle in the light source coordinate system is obtained, and then the light source is driven to move according to the position information of the minimum containing rectangle, so that the light spot formed by the light beam emitted by the light source traverses all sides of the minimum containing rectangle, and the processing alignment of the processing pattern is checked.
[0208] Exemplarily, the four vertices of the minimum accommodating rectangle are point H, point I, point Z, and point V. The light source is driven to move so that the light spot moves in a circular motion in the order of point H → point I → point Z → point V → point H. By moving in a straight line between two points, the processing alignment is completed.
[0209] In the embodiment of the present application, the accuracy of the present application is further guaranteed by the return calibration of the processing alignment, and even if an error occurs, it can be quickly discovered. On the other hand, the return calibration also allows the user to preview the position where the processing pattern will be processed in the physical world, further ensuring the effect of the processing alignment and greatly improving the user's operating experience.
[0210] See also Fig.13 , Fig.13 FIG. 1 shows a hardware schematic diagram of a processing device according to an embodiment of the present application. Fig.13 As shown, the processing device 100 includes a housing, a movable light source 50 , and a laser tube 30 . The housing includes an upper shell 90 and a bottom shell 70 .
[0211] In one embodiment, the light spot can be generated by the light source 50. In another embodiment, the light spot can be generated by other components such as the laser tube 30 of the carbon dioxide laser tube, and enter the light beam emitting device through the reflector 10, and finally emit after passing through the light source 50 to process the workpiece. The light source can emit laser, but it can not only emit laser.
[0212] In one embodiment, a reflector 10 is disposed between the light source 50 and the laser tube 30 . The light beam generated by the laser tube 30 is reflected by the reflector 10 to the light source 50 , and then emitted after being reflected, focused, etc. to process the workpiece.
[0213] In one embodiment, the housing of the laser processing device 100 is Fig.13 The upper shell 90 and the bottom shell 70 shown together enclose an internal space that can accommodate the workpiece, and the upper shell 90 and the bottom shell 70 can be detachably connected or fixedly connected, or the upper shell 90 and the bottom shell 70 are an integrally formed structure. In one embodiment, the upper shell 90 is also provided with a rotatable cover plate, and the operator can open or close the cover plate to open the internal space to put in or take out the workpiece.
[0214] The blocking and / or filtering effects of the upper shell 90 and the bottom shell 70 can prevent the laser emitted by the light source 50 from spilling over during operation and causing personal injury to the operator.
[0215] For example, in one embodiment, a track device and a frame can be provided in the internal space, and the light source 50 is installed on the track device, and the track device can be installed on the frame and can move on the frame. The track device can be an X-axis and Y-axis guide rail, and the X-axis and Y-axis guide rail can be a linear guide rail, or a guide rail in which the optical axis and the roller slide together, etc., and it only needs to be able to drive the light source 50 to move on the X-axis and Y-axis for processing. A Z-axis moving track can also be provided in the light source 50 for moving in the Z-axis direction for focusing before and / or during processing.
[0216] See also Fig.14 , Fig.14 FIG. 2 shows a hardware schematic diagram of a processing device according to another embodiment of the present application. Fig.14 The laser head 01 shown is slidably mounted on the track device 02 and reciprocates in the second axis X direction. The track device 02 is slidably mounted on the base 03 and carries the laser head 01 to reciprocate in the first axis Y direction.
[0217] It should also be understood that there are multiple ways to achieve laser output for the laser head 01. For example, a laser may be installed inside the laser head to directly emit laser light for laser processing; or an optical path structure may be installed inside the laser head, and the laser processing equipment may also be provided with a laser light source. The laser light emitted by the laser light source is transmitted to the laser head through optical elements such as reflectors, and the laser head reflects and outputs the laser light to the surface of the processing object.
[0218] See also Fig.15 , Fig.15 A schematic diagram of a processing alignment device according to an embodiment of the present application is shown. A processing alignment device according to an embodiment of the present application mainly includes the following modules:
[0219] Positioning module 710: used to locate a first reference point by taking a light spot formed by a light beam emitted by a light source as a reference to obtain position information of the first reference point;
[0220] Display module 720: used to display the corresponding mapping points on the canvas through feedback of the first reference point position information, and the displayed mapping points are used for initial positioning of the processing pattern;
[0221] The placement module 730 is used to place the processing pattern according to the displayed mapping points.
[0222] The processing alignment method according to the embodiment of the present application can be Fig.16 The following is a reference to the processing equipment. Fig.16 To describe the processing equipment according to an embodiment of the present application. Fig.16 The processing equipment shown is merely an example and should not bring any limitation to the functions and scope of application of the embodiments of the present application.
[0223] like Fig.16 As shown, the processing device may be in the form of a general-purpose computing device. The components of the processing device may include, but are not limited to: at least one processing unit 810, at least one storage unit 820, and a bus 830 connecting different system components (including the storage unit 820 and the processing unit 810).
[0224] The storage unit stores program codes, which can be executed by the processing unit 810, so that the processing unit 810 performs the steps according to various exemplary embodiments of the present invention described in the description of the exemplary method described above in this specification. For example, the processing unit 810 can perform the following steps: Figure 4 The steps shown in .
[0225] The storage unit 820 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 8201 and / or a cache memory unit 8202 , and may further include a read-only memory unit (ROM) 8203 .
[0226] The storage unit 820 may also include a program / utility 8204 having a set (at least one) of program modules 8205, such program modules 8205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0227] Bus 830 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
[0228] The processing device may also communicate with one or more external devices 700 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), one or more devices that enable a user to interact with the processing device, and / or any device that enables the processing device to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via input / output (I / O) interface 850. In addition, the processing device may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks such as the Internet) via network adapter 860. It should be understood that, although not shown in the figures, other hardware and / or software modules may be used in conjunction with the processing device, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0229] Through the description of the above implementation methods, it is easy for those skilled in the art to understand that the example implementation methods described here can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the implementation methods of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation methods of the present application.
[0230] In an exemplary embodiment of the present application, a computer program medium is further provided, on which computer-readable instructions are stored. When the computer-readable instructions are executed by a processor of a computer, the computer is enabled to execute the method described in the above method embodiment.
[0231] According to one embodiment of the present application, a program product for implementing the method in the above method embodiment is also provided, which can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited to this. In this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.
[0232] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0233] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0234] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.
[0235] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).
[0236] It should be noted that, although several modules or units of the equipment for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into being embodied by multiple modules or units.
[0237] In addition, although the steps of the method in the present application are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.
[0238] Through the description of the above implementation methods, it is easy for those skilled in the art to understand that the example implementation methods described here can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the implementation methods of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the implementation methods of the present application.
[0239] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the inventions applied for herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that the present application does not apply for. The specification and embodiments are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the appended claims.
Claims
1. A processing alignment method, characterized in that: The method comprises: Using the light spot formed by the light beam emitted by the light source as a reference, locating the first reference point to obtain the position information of the first reference point; Displaying the corresponding mapping points on the canvas through feedback of the position information of the first reference point, wherein the displayed mapping points are used for initial positioning of the processing pattern; The processing pattern is placed according to the displayed mapping points.
2. The method according to claim 1, characterized in that The step of positioning the first reference point by taking the light spot formed by the light beam emitted by the light source as a reference to obtain the position information of the first reference point includes: Returning the light source to the origin position; driving the light source to move from the origin position, and determining the light source position information according to the origin position and the moving distance of the light source; Calculating the first reference point position information according to the light source position information when the light source stops moving; and / or, Determining initial position information of the light source; driving the light source to move based on the initial position information, and determining the light source position information according to the initial position information and the moving distance of the light source; The first reference point position information is calculated based on the light source position information when the light source stops moving.
3. The method according to claim 2, characterized in that The processing equipment includes a frame, a track device slidably mounted on the frame, and a light source slidably mounted on the track device; The frame and the light source are respectively adapted to be equipped with a homing sensor and / or a sensing element at the origin position; The homing of the light source to the origin position comprises: The light source is initiated to move on the track device, and the track device is initiated to move on the frame, the homing sensor senses the movement of the sensing element to the homing position, and the light source reaches the origin position.
4. The method according to claim 2, characterized in that: After determining the light source position information, The step of positioning the first reference point to obtain the position information of the first reference point by taking the light spot formed by the light beam emitted by the light source as a reference also includes: The light spot position information is obtained according to the light source position information, and is synchronously displayed on the canvas according to the light spot position information.
5. The method according to claim 1, characterized in that After placing the processing pattern according to the displayed mapping points, the method further comprises: Driving the light source to make the light spot illuminate any point other than the first reference point, locating the second reference point to obtain the position information of the second reference point; According to the second reference point position information, the second reference point synchronously displayed in the canvas is a second mapping point, and the processed image is adjusted in alignment with the second mapping point as a reference.
6. The method according to claim 1, characterized in that The light source emitting the light spot includes a laser emitting light source and a visible light emitting light source.
7. The method according to claim 6, characterized in that The visible light emitting light source emits a registration light spot at a fixed tilt angle, and the laser emitting light source emits a processing light spot; Before locating the first reference point by taking the light spot formed by the light beam emitted by the light source as a reference to obtain the position information of the first reference point, the method further includes: Acquire a light source distance between the laser emitting light source and the visible light emitting light source; Taking any plane parallel to the plane where the light source is located as the light spot plane, obtaining the light spot distance between the alignment light spot and the processing light spot, and obtaining the plane distance between the light spot plane and the plane where the light source is located; Taking any plane parallel to the light spot plane as a calibration plane, and obtaining a calibration distance between the calibration plane and the light spot plane; The position information of the alignment light spot is corrected according to the light source distance, the light spot distance, the plane distance, and the calibration distance.
8. The method according to claim 7, characterized in that The light spot formed by the light beam emitted by the light source is a registration light spot. Before placing the processing pattern according to the displayed mapping point, the method further includes: Using the alignment light spot as a reference, locate the position of the initial reference point and obtain the position information of the initial reference point; If the calibration plane does not coincide with the light spot plane, acquiring the calibration distance, and obtaining an error compensation value based on the calibration distance; The position information of the initial reference point is adjusted according to the error compensation value to obtain the position information of the corresponding reference point.
9. The method according to claim 8, characterized in that After locating the position of the initial reference point by taking the pair of light spots as reference and obtaining the position information of the initial reference point, the method further includes: If the calibration plane coincides with the light spot plane, the light spot distance is used as the error compensation value, and the position information of the initial reference point is adjusted to obtain the position information of the corresponding reference point.
10. A processing alignment device, characterized in that: The device comprises: Positioning module: used for positioning a first reference point by taking the light spot formed by the light beam emitted by the light source as a reference to obtain the position information of the first reference point; Display module: used for displaying the corresponding mapping points on a canvas through feedback of the position information of the first reference point, wherein the displayed mapping points are used for initial positioning of the processing pattern; Placement module: used for placing the processing pattern according to the displayed mapping points.
11. A processing equipment, characterized in that: The housing comprises a frame, a cover plate, an actuator, a track device for driving the actuator to slide, a memory, and a processor. An internal space is formed in the housing, the actuator and the track device are arranged in the internal space, and the memory is configured to store computer-readable instructions. The processor connected to the memory by electrical signals reads the computer readable instructions stored in the memory to execute the method according to any one of claims 1 to 9.
