Machining area measurement method, computer numerical control machine, and computing system and medium
By obtaining the coordinates of the measurement point, it determines the processing area and displays it on the target page, and solves the problem that it is difficult to accurately determine the laser processing equipment without cameras, and achieves accurate and efficient processing of the processed materials.
Patent Information
- Application Number
- PCT/CN2024/115913
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-06-18
- Filing Date
- 2024-08-30
- Publication Date
- 2025-03-06
AI Technical Summary
The existing laser processing equipment is not equipped with a camera, which makes it difficult to accurately identify the processing area, affecting the accurate and efficient processing of the processed materials.
By obtaining at least one measurement point coordinate, determining the processing area, and controlling the target page to display the processing area, accurate confirmation of the processing area without camera laser processing equipment is achieved.
Accurate and efficient processing of processed materials is achieved, and the processing accuracy of unequipped camera laser processing equipment is improved.
Smart Images

Figure CN2024115913_06032025_PF_FP_ABST
Abstract
Description
Method for measuring processing area, computer numerically controlled machine, computing system and medium
[0001] Cross-references
[0002] The present disclosure claims priority to Chinese Patent Publication No. 2023110922974 filed on August 28, 2023, entitled “Method, device, medium and processing system for measuring processing area”, priority to Chinese Patent Publication No. 2023113620247 filed on October 19, 2023, entitled “Method, numerical control machine, system and readable storage medium for implementing processing alignment”, priority to Chinese Patent Publication No. 2023115433141 filed on November 16, 2023, entitled “Method, computer numerical control machine, computing system and medium for measuring processing area”, and priority to Chinese Patent Publication No. 6 to No. 9 filed on June 18, 2024, entitled “Method and device for processing alignment”, the entire contents of the above-mentioned Chinese Patent Publications are incorporated herein by reference in their entirety. Technical Field
[0003] The present disclosure relates to the field of machining technology, and in particular to a method for measuring a machining area, a computer numerical control machine, a computing system, and a computer-readable storage medium. Background Art
[0004] Most laser machines currently on the market are equipped with cameras, which take photos of the material being processed and determine the positional relationship of each point on the material relative to the laser machine's processing surface. This allows the machine to determine the area corresponding to the material's current position on the target page, and further determine the area to be processed on the material within the target page (the processing area). However, for laser machines without cameras, operators typically make rough judgments based on experience, making it difficult to accurately determine the processing area.
[0005] Public content
[0006] In order to solve the above technical problems, the embodiments of the present application provide a method for measuring a processing area, a computer numerical control machine, a computing system and a computer-readable storage medium. The embodiments provided in the present application can accurately identify the processing area.
[0007] According to one aspect of an embodiment of the present application, the present application discloses a method for measuring a processing area, the method comprising: obtaining at least one measurement point coordinate, the measurement point coordinate corresponding to a target position on the surface of a processing material; determining a processing area based on the at least one measurement point coordinate; and controlling a target page to display the processing area.
[0008] According to one aspect of an embodiment of the present disclosure, a computer numerical control machine is disclosed, comprising: a movable head and a light-emitting component; a communication component configured to receive a processing file, wherein the processing file is generated according to the processing area obtained by any one of the methods described above; and configured to receive a signal corresponding to the realized position obtained by any one of the methods described above; a controller, wherein the controller controls the movable head to process a processing material based on the processing file; and, based on the signal corresponding to the realized position, controls the light-emitting component to emit light to indicate the realized position.
[0009] According to one aspect of an embodiment of the present disclosure, a computing system is disclosed, comprising at least one computer numerical control (CNC) machine and at least one processor; the processor being configured to execute any one of the methods described above; the CNC machine transmitting electromagnetic energy to a processing material arranged inside the CNC machine based on the processing area obtained by the processor; and transmitting electromagnetic energy to a processing object arranged inside the CNC machine based on the realized position of the processing pattern.
[0010] According to one aspect of an embodiment of the present disclosure, a computer program medium is disclosed, on which computer-readable instructions are stored. When the computer-readable instructions are executed by a processor of a computer, the computer is caused to execute any one of the methods described above.
[0011] In the technical solution provided in the embodiment of the present disclosure, it is applied to a processing system. The processing system can be a processing device (such as a laser processing device) or a processing device and a host computer. The processing system is configured to process the surface of the processing material; specifically, according to the target position of the surface of the processing material, at least one measurement point coordinate corresponding to the target position is obtained, and then the processing area is determined according to the at least one measurement point coordinate, and finally the determined processing area is displayed on the target page, so that the user can observe the determined processing area in the target page, and for laser processing equipment that is not equipped with a camera, the corresponding processing area can also be accurately identified, thereby helping to achieve accurate and efficient processing of the processing material.
[0012] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by practice of the present disclosure.
[0013] It should be understood that the foregoing general description and the following detailed description are exemplary only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] The above and other objects, features and advantages of the present disclosure will become more apparent by describing in detail example embodiments thereof with reference to the attached drawings.
[0015] FIG1 is a schematic diagram showing a system architecture to which a method for measuring a processing area according to an embodiment of the present application is applied.
[0016] FIG2 shows a schematic flow chart of a method for measuring a processing area according to an embodiment of the present application.
[0017] FIG3 shows a schematic flow chart of a method for measuring a processing area according to an embodiment of the present application.
[0018] FIG4 shows a schematic diagram of an interface of a method for measuring a processing area according to an embodiment of the present application.
[0019] FIG5 shows a schematic flow chart of a method for measuring a processing area according to an embodiment of the present application.
[0020] FIG6 shows a schematic flow chart of a method for measuring a processing area according to an embodiment of the present application.
[0021] FIG7 shows a schematic flow chart of a method for measuring a processing area according to an embodiment of the present application.
[0022] FIG8 shows a schematic diagram of determining a vertex according to an embodiment of the present application.
[0023] FIG9 shows a schematic flow chart of a method for measuring a processing area according to an embodiment of the present application.
[0024] FIG10 shows a schematic diagram of an interface for determining a processing area according to a method for measuring a processing area according to an embodiment of the present application.
[0025] FIG11 shows a schematic flow chart of a method for measuring a processing area according to an embodiment of the present application.
[0026] FIG12 shows a schematic diagram of an interface for determining a processing area according to a method for measuring a processing area according to an embodiment of the present application.
[0027] FIG13 shows a schematic flow chart of a method for measuring a processing area according to an embodiment of the present application.
[0028] FIG14 shows a schematic diagram of an interface for determining a processing area on a target page according to an embodiment of the present application.
[0029] FIG15 shows an interface diagram showing a target page where a processing element is within a processing area according to an embodiment of the present application.
[0030] FIG16 shows a schematic diagram of an interface on a target page where a processing area cannot be determined according to an embodiment of the present application.
[0031] FIG17 shows another system architecture used in an embodiment of the present application.
[0032] FIG18 is a flow chart showing a method for implementing machining alignment according to an embodiment of the present application.
[0033] FIG19 is a schematic diagram showing a flow chart of determining the position of a starting auxiliary point of a processing pattern according to an embodiment of the present application.
[0034] FIG20 shows a schematic diagram of a process for obtaining the position of a starting auxiliary point based on light source position information according to an embodiment of the present application.
[0035] FIG21 shows a schematic diagram of a process of drawing secondary auxiliary points according to an embodiment of the present application.
[0036] FIG22 shows a schematic diagram of a process for placing a processing pattern according to an embodiment of the present application.
[0037] FIG23 shows a schematic diagram of drawing a rectangle based on a mapping line segment according to an embodiment of the present application.
[0038] FIG. 24 shows a schematic diagram of placing a processing pattern in a rectangle according to one embodiment of the present application.
[0039] FIG25 shows a schematic diagram of drawing a mapping graphic according to an embodiment of the present application.
[0040] FIG26 shows a flowchart of clearing mapping points according to one embodiment of the present application.
[0041] FIG27 is a schematic diagram showing a process of indicating the actual position of a processing pattern according to the relative position relationship between a mapping point and the processing pattern according to an embodiment of the present application.
[0042] FIG28 is a schematic diagram showing a flow chart of indicating the actual position of a processing pattern based on the relative position relationship between a mapping point and the processing pattern according to one embodiment of the present application.
[0043] FIG29 shows a hardware schematic diagram of a CNC machine according to one embodiment of the present application.
[0044] FIG30 shows a schematic diagram of a processing light source and an alignment light source according to an embodiment of the present application.
[0045] FIG31 shows a flow chart of constructing an error compensation formula according to an embodiment of the present application.
[0046] FIG32 is a schematic diagram showing that the processing spot and the alignment spot do not overlap according to an embodiment of the present application.
[0047] FIG33 is a schematic diagram showing a process of performing error compensation on an alignment light spot according to an embodiment of the present application.
[0048] FIG34 shows a block diagram of a measuring device for a processing area according to an embodiment of the present application.
[0049] Figure 35 shows a hardware structure diagram of the measuring equipment for the processing area according to an embodiment of the present application. DETAILED DESCRIPTION
[0050] 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 this disclosure will be more comprehensive and complete, and will fully convey the concepts of the example embodiments to those skilled in the art. The accompanying drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. Identical reference numerals in the figures indicate identical or similar parts, and thus repeated descriptions thereof will be omitted.
[0051] In addition, the described features, structures or characteristics can be combined in any suitable manner in one or more example embodiments. In the following description, many specific details are provided to provide a full understanding of the example embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure can be practiced while omitting one or more of the specific details, or other methods, components, steps, etc. can be adopted. In other cases, well-known structures, methods, implementations or operations are not shown or described in detail to avoid obscuring various aspects of the present disclosure.
[0052] 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 may be implemented in software, in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0053] Please refer to Figure 1, which is a schematic diagram of a system architecture used in an embodiment of the present application. The system architecture 100 may include: a movable head 110, a communication medium 120 and software 130. Among them, the movable head is a mechanical module included in the processing equipment, which is not equivalent to the processing equipment. The movable head may include a laser head, a knife cutting head, a plasma cutting head, a water gun head, a drill bit, a pen head, etc., which is not limited here. The communication medium 120 can be a smart device such as a walkie-talkie, a mobile phone, a tablet computer and a mobile Internet device that at least supports data communication through the 3GPP (The 3rd Generation Partnership Project) protocol. Software 130 is installed in the communication medium 120, and the target page can be displayed through the software 130. The movable head 110 and the communication medium 120 can be connected to each other through a wireless communication link to achieve wireless data communication interaction. They can also use a wired communication link or an optical fiber cable, etc., which is not limited here by the present application.
[0054] It should be understood that the number of communication media 120 in FIG1 is merely illustrative and any number of communication media 120 may be provided according to implementation requirements.
[0055] Some technical solutions of the embodiments of the present application can be implemented based on the system architecture shown in Figure 1 or its modified architecture.
[0056] Please refer to FIG2 , which shows a flow chart of a method for measuring a processing area according to an embodiment of the present application. This method can be applied to the system architecture shown in FIG1 , for example, and can be specifically executed by communication medium 120 . Of course, this method can also be applied to other system architectures, and this embodiment is not limited thereto.
[0057] As shown in FIG2 , the method includes the following steps:
[0058] Step S210 , obtaining coordinates of at least one measurement point, where the coordinates of the measurement point correspond to a target position on the surface of the processed material;
[0059] Step S220, determining a processing area according to the coordinates of at least one measurement point;
[0060] Step S230: Control the target page to display the processing area.
[0061] These three steps are described in detail below.
[0062] In step S210, the type of material being processed may include, but is not limited to, a planar material or a cylindrical material. Planar materials may include wood or acrylic sheets, while cylindrical materials may include sticks or cups. The type of material being processed may be determined by whether the surface of the material is a two-dimensional plane or a three-dimensional curved surface. The target position is the desired location on the surface of the material being processed.
[0063] At least one target position is set on the surface of the processing material according to the expected processing effect. For example, taking a mobile phone case as the processing material, if it is expected to process a small pattern on the mobile phone case, at least one target position is set on the mobile phone case according to the shape and position of the small pattern; if it is expected to process the entire mobile phone case, at least one target position is set on the mobile phone case according to the overall shape of the mobile phone case.
[0064] After setting at least one target position on the surface of the processed material, the movable head is moved to the position of the measuring point and marked. At this time, the position coordinates of the movable head are the target positions. For example, three target positions are set on the surface of the processed material, namely point A, point B and point C. The movable head is moved to point A and the position coordinates are marked. Then the movable head is moved to point B and the position coordinates are marked. Finally, the movable head is moved to point C and the position coordinates are marked. It should be noted that there is no fixed order for marking. In addition to the above-mentioned position coordinate marking order, point B, point A and point C can also be marked in sequence, or point C, point A and point B can be marked in sequence, and so on. By marking the target position with the movable head, the corresponding coordinates of at least one measuring point can be obtained.
[0065] As can be seen from the above, in this embodiment, after the target position is set on the surface of the processing material, the position coordinates can be marked in different orders, thereby improving the operator's freedom in marking the position coordinates.
[0066] In an exemplary embodiment, the processing system includes a movable head configured to move to process a surface of a processing material and to emit a positioning light spot. Before step S210 of acquiring at least one measurement point coordinate, where the measurement point coordinate corresponds to a target position on the surface of the processing material, the method further includes:
[0067] Step S310 , driving the movable head to move so as to align the positioning light spot to a target position on the surface of the processed material.
[0068] To further illustrate, a movable head is installed in the processing system used in the embodiment of the present application, the processing part of the movable head can be configured to process the surface of the processing material, and the positioning part of the movable head can be configured to emit a positioning light spot.
[0069] Driving the movable head to move includes, but is not limited to, moving the movable head by hand, or controlling the movable head to move according to instructions issued by the processing system. By driving the movable head to move, the positioning light spot emitted by the positioning member of the movable head is aligned with the expected positioning position on the surface of the processing material.
[0070] As can be seen from the above, this embodiment can effectively help the operator know the current positioning position on the surface of the processed material through the emitted positioning light spot.
[0071] Please refer to FIG3 , which shows a flow chart of a method for measuring a processing area according to an embodiment of the present application. Step S210 of obtaining the coordinates of at least one measurement point, where the coordinates of the measurement point correspond to a target position on the surface of the processing material, includes:
[0072] Step S211, according to the first operation instruction, deleting the coordinates of the measurement point corresponding to the first operation instruction; and / or
[0073] Step S212: Obtain at least one new measurement point coordinate according to the second operation instruction.
[0074] These two steps are described in detail below.
[0075] In step S212, the second operation instruction can be automatically triggered by the user or the smart device, or it can be triggered by the user clicking a virtual button in the interactive page displayed on the host computer, or it can be triggered by the user clicking a physical button on the laser processing equipment. This application does not impose any restrictions here.
[0076] In step S211, the first operation instruction may be triggered by the user clicking a virtual button in the interactive page displayed on the host computer, or by the user clicking a physical button on the laser processing equipment, which is not limited here.
[0077] For example, please refer to Figure 4, which shows an interface diagram of a measurement method for a processing area provided in an embodiment of the present application. The mark points corresponding to the existing measurement points can be displayed on the preview page or the target page (multiple mark points can be arranged in the order of marking, and the user can also see the relative position relationship between the points on the page). The user can delete the selected mark point by clicking the virtual button and mark point representing deletion on the page.
[0078] In step S220 , the processing area may include but is not limited to regular areas and irregular areas. Regular areas include rectangles, circles, triangles, etc., and irregular areas include ellipses and polygons that cannot be clearly defined.
[0079] The at least one measurement point includes different situations of one or more measurement points.
[0080] When at least one measuring point is one measuring point, the processing area can be determined according to a preset determination method. This application does not limit the specific determination method.
[0081] For example, if the coordinates of the measurement point are (0, 0), and the pre-set determination method is to draw a circle with a radius of 5 with the measurement point as the center, then the processing area can be determined as a circle with a center of (0, 0) and a radius of 5. The circular processing area can also be determined based on two measurement points: for example, the diameter of the circle is determined based on the two measurement points, and the midpoint of the diameter is taken as the center of the circle to further define the circular processing area; for example, the first measurement point is used as the center of the circle, and the radius is determined by the distance between the second measurement point and the first measurement point to further define the circular processing area; for example, the first measurement point is used as a point on the boundary of the circle, the second measurement point is used as the center of the circle, and the radius is determined by the distance between the second measurement point and the first measurement point to further define the circular processing area. The method for determining the circular processing area can be formulated in a variety of ways, and is not limited to a single method here.
[0082] If the coordinates of the measurement point are (0, 0), the preset determination method is to make a square with a side length of 5 and a side parallel to the coordinate axis with the measurement point as the center point of the square. Therefore, it can be determined that the processing area is a square with a side length of 5 and a side parallel to the coordinate axis with (0, 0) as the center.
[0083] As can be seen from the above, in this embodiment, the processing area can be determined by determining at least one measurement point, which simplifies the operator's operation process and further improves the efficiency of determining the processing area.
[0084] When the at least one measurement point is two or more measurement points, refer to FIG5 , which shows a flow chart of a method for measuring a processing area according to an embodiment of the present application. Step S220 of determining the processing area according to the coordinates of the at least one measurement point includes:
[0085] Step S221, determining at least one line segment according to the coordinates of two or more measurement points;
[0086] Step S222: determining a processing area according to at least one line segment.
[0087] These two steps are described in detail below.
[0088] In step S221, when there are two measurement points, one line segment can be determined based on the coordinates of the two measurement points. When there are three or more measurement points, at least one line segment can also be determined based on the coordinates of the three or more measurement points. Thus, at least one line segment can be determined based on the coordinates of two or more measurement points.
[0089] In step S222, similarly, the processing area is determined according to a preset determination method. This application does not limit the specific determination method.
[0090] For example, if the two endpoints of the line segment are (-2, 0) and (2, 0), the pre-set determination method is to use these two endpoints as points on a circle and the midpoint of the two endpoints as the center of the circle, so that the processing area can be determined to be a circle with (0, 0) as the center and a radius of 2; if the two endpoints of the line segment are (-2, 0) and (2, 0), the pre-set determination method is to use these two endpoints as adjacent vertices of a square, so that the processing area can be determined to be a square with a side length of 4, and the square can be above or below the x-axis, and there is no unique limitation here. In addition, the pre-set determination method can also be to use the line segment connected by (-2, 0) and (2, 0) as the axis of the processing area and the processing area is a square with a side length of 4, so that the processing area can be determined to be a square with (0, 0) as the center and a side length of 4.
[0091] In step S230, the target page can be a page on the processing system or other equipment. For example, if the processing system is a laser processing device, the laser processing device can be connected to an external display to display the target page. The processing area is displayed on the target page. The target page can be an operation page that only allows operations, a display page that only allows display, or a page that can both display and operate, and this application does not limit this.
[0092] As can be seen from the above, this embodiment obtains at least one measurement point coordinate corresponding to the target position based on the target position on the surface of the processing material, then determines the processing area based on the at least one measurement point coordinate, and finally displays the determined processing area on the target page, so that the user can observe the determined processing area on the target page, and for laser processing equipment that is not equipped with a camera, the corresponding processing area can also be accurately identified, thereby helping to achieve accurate and efficient processing of the processing material.
[0093] Please refer to Figure 6, which shows a flow chart of a method for measuring a processing area according to an embodiment of the present application. Step S221 of determining at least one line segment based on the coordinates of two or more measurement points includes:
[0094] Step S410, determining a first vertex and a second vertex according to the first measurement point and the second measurement point;
[0095] Step S420 : Connect the first vertex to the first measurement point and the second measurement point respectively, and connect the second vertex to the first measurement point and the second measurement point respectively.
[0096] These two steps are described in detail below.
[0097] In step S410, a first vertex and a second vertex are determined based on the first and second measurement points according to a pre-set determination method. For example, the pre-set determination method may be to determine the first vertex and the second vertex by trisecting the line connecting the first and second measurement points. For example, if the first measurement point is (-3, 0) and the second measurement point is (3, 0), then the first vertex is (-1, 0) and the second vertex is (1, 0), or vice versa.
[0098] In step S420 , the first vertex is connected to the first measuring point and the second measuring point respectively; the second vertex is connected to the first measuring point and the second measuring point respectively.
[0099] As can be seen from the above, this embodiment further determines the first vertex and the second vertex through the first measurement point and the second measurement point, and then obtains four line segments based on the connection of the four points to obtain the processing area surrounded by the four line segments. The determined processing area is displayed on the target page, so that the user can observe the determined processing area on the target page.
[0100] Please refer to Figure 7, which shows a flow chart of a method for measuring a processing area according to an embodiment of the present application. Step S410 of determining a first vertex and a second vertex based on a first measurement point and a second measurement point includes:
[0101] Step S510, determining the smallest abscissa between the first measurement point and the second measurement point as the abscissa of the first vertex, and determining the largest abscissa as the abscissa of the second vertex;
[0102] Step S520 : determining the smallest ordinate between the ordinates of the first measuring point and the second measuring point as the ordinate of the first vertex, and determining the largest ordinate as the ordinate of the second vertex.
[0103] These two steps are described in detail below.
[0104] Please refer to Figure 8, which shows a schematic diagram of determining a vertex according to an embodiment of the present application. It should be noted that the positive direction of the x-axis shown in the figure is horizontally to the right, the positive direction of the y-axis is vertically downward, the first measurement point is P(x1, y1), and the second measurement point is P(x2, y2).
[0105] Compare the abscissas of the first measuring point and the second measuring point, determine the smallest abscissa as the abscissa of the first vertex, and determine the largest abscissa as the abscissa of the second vertex; compare the ordinates of the first measuring point and the second measuring point, determine the smallest ordinate as the ordinate of the first vertex, and determine the largest ordinate as the ordinate of the second vertex.
[0106] It can be seen from the above that this embodiment can quickly and accurately determine the coordinates corresponding to the first vertex and the second vertex by comparing the horizontal and vertical coordinates of the first measurement point and the second measurement point respectively.
[0107] Please refer to Figure 9, which shows a flow chart of a method for measuring a processing area according to an embodiment of the present application. Step S221 of determining at least one line segment based on the coordinates of two or more measurement points includes:
[0108] Step S610, storing the coordinates of the measurement points in a storage queue;
[0109] Step S620 : Connect two or more measurement points in sequence according to the order in which the measurement point coordinates enter the storage queue to obtain at least one line segment.
[0110] These two steps are described in detail below.
[0111] In step S610, a storage queue is pre-created for storing the coordinates of the measurement points.
[0112] In step S620, the coordinates of the measurement points are entered into a storage queue in a priority order, and then a connection order between two or more measurement points is determined based on the priority order, where the measurement points stored first are connected to the measurement points stored later.
[0113] For example, the coordinates of the first measurement point entering the storage queue are (1, 1), and the coordinates of the second measurement point entering the storage queue are (2, 3), then the measurement point (1, 1) is connected to the measurement point (2, 3) to obtain a line segment consisting of the two measurement points.
[0114] As can be seen from the above, this embodiment connects the measurement points according to the order in which the measurement point coordinates enter the storage queue. In this way, in a scenario where an irregular processing area is generated based on the coordinates of multiple measurement points, connecting multiple measurement points according to the order helps to ensure that the final processing area is basically consistent with the processing area intended by the user.
[0115] In an exemplary embodiment, the line segment includes a straight line segment and / or a curved line segment.
[0116] Further, the line segments can be straight segments only, curved segments only, or a combination of straight segments and curved segments. Determining the processing area by straight segments and / or curved segments can make the scope of the processing area more accurate and applicable to more application scenarios.
[0117] In an exemplary embodiment, determining a processing area according to at least one line segment S222 includes:
[0118] In step S710 , an outer frame of a processing area composed of multiple line segments is obtained according to a connection relationship between the endpoints of the multiple line segments to determine the processing area.
[0119] To further illustrate, predetermining the connection relationship between the endpoints of each line segment can effectively obtain a unique outer frame of the processing area, avoiding the situation where line segments intersect in the middle, thereby generating an erroneous processing area.
[0120] Please refer to Figure 10. It can be understood that after the user finishes entering the measurement point coordinates, for multiple measurement point coordinates in the storage queue, the point corresponding to the first measurement point coordinate entering the storage queue can be connected with the point corresponding to the last measurement point coordinate entering the storage queue, thereby forming a closed processing area.
[0121] Please refer to FIG11, which shows a flow chart of a method for measuring a processing area according to an embodiment of the present application. Step S230 of controlling the target page to display the processing area includes:
[0122] Step S231, setting a coordinate system on the target page to obtain the coordinate range of the processing area under the coordinate system;
[0123] Step S232: Add a mark to the target page to distinguish the processing area from the target page.
[0124] These two steps are described in detail below.
[0125] In step S231, a coordinate system is set on the target page. This application does not limit the setting method of the coordinate system. The coordinate system can be set with the horizontal right direction as the positive direction of the x-axis and the vertical downward direction as the positive direction of the y-axis; or it can be set with the horizontal right direction as the positive direction of the x-axis and the vertical upward direction as the positive direction of the y-axis. By setting the coordinate system, the user can clearly see the coordinates of the outer frame of the processing area, and thus know the coordinate range of the processing area.
[0126] In step S232, a marker is added to the target page. This can be done only within the processing area, only outside the processing area, or both. For example, a marker can be added within the processing area in a different color than outside the processing area, such as white outside the processing area and gray inside the processing area. Auxiliary line markers can also be added to the outer border of the processing area, such as red or dashed lines.
[0127] As can be seen from the above, the embodiment of the present application can help the operator intuitively distinguish the specific range and position of the processing area and the target page by setting a coordinate system on the target page and adding an identifier on the target page.
[0128] In some possible embodiments, the processing area includes two or more areas, and determining the processing area according to the coordinates of at least one measurement point includes:
[0129] determining a first processing area according to the coordinates of at least one measurement point;
[0130] Display the first processing area on the preview page;
[0131] determining a second processing area according to the coordinates of at least one measurement point;
[0132] The second machining area is displayed on the preview page.
[0133] Specifically, the preview page may refer to the target page, or may refer to another page different from the target page, which is not limited here.
[0134] If the preview page and the target page are different pages, after displaying the first processing area on the preview page, you can shrink the first processing area and place it at the top or bottom of the preview page to display the first processing area in a thumbnail. Then, after determining the second processing area, you can also thumbnail the second processing area. The user can confirm that all processing areas have been measured on the preview page or on the CNC machine, and then display all processing areas on the target page.
[0135] In addition, all processing areas can also be displayed on the preview page. For example, after determining the first processing area, the first processing area can be retained at the original location on the page while measuring the second processing area.
[0136] Users can measure the processing areas corresponding to multiple materials before starting processing. After completing the measurement of multiple processing areas, batch processing of the materials can be performed. For example, when processing smaller materials such as toothpicks or cup lids, a CNC machine, such as a laser processing device, can place multiple materials within the processing space and measure the processing areas of each material before starting processing. This helps improve processing convenience when measuring the processing areas of multiple materials.
[0137] In some possible embodiments, controlling the target page to display the processing area includes:
[0138] According to the relative positional relationship between the first processing area and the second processing area on the preview page, an area corresponding to the first processing area and an area corresponding to the second processing area are displayed on the target page.
[0139] Specifically, all processing areas can be displayed on the preview page. For example, after determining the first processing area, the first processing area can be retained in its original position on the page while the second processing area is measured. In this way, the relative position relationship of multiple processing areas can be reflected on the preview page. Furthermore, when the corresponding areas of multiple processing areas are displayed on the target page, the relative position relationship between the multiple processing areas remains unchanged.
[0140] Referring to Figures 10 and 12, in some possible embodiments, the preview page is suspended above the target page, the brightness of the preview page is no less than that of the target page, and the preview page includes a first display area and / or a second display area. The first display area displays at least one graphic (as shown in Figure 12), which corresponds to the shape of the area the user intends to process; and the second display area displays at least one marker (as shown in Figure 10), which is a point on the preview page whose coordinates are mapped to the measured point according to a coordinate mapping relationship.
[0141] Specifically, after the user selects the shape of the area they intend to process in the first display area, they can determine the number of measurement point coordinates to enter based on the shape they selected. For example, if the shape of the area they intend to process is a circle, they will need to enter two measurement points to determine the center and radius of the circle. For another example, if the shape of the area they intend to process is a rectangle, they will need to enter two measurement points to determine the vertices of the rectangle. For another example, if the shape of the area they intend to process is a line, they will need to enter two measurement points to determine the endpoints of the line. For another example, if the shape of the area they intend to process is a polygon, they will need to enter two or more measurement points to determine multiple vertices of the polygon, and the polygon can be irregular.
[0142] It should be noted that the number of measurement points mentioned above is only an example, and other numbers of measurement points may be used in actual operation.
[0143] The second display area can display at least one marking point. If the user marks the wrong measurement point coordinates, the user can delete the selected marking point by clicking the virtual button and marking point in the second display area, and then re-acquire the new measurement point coordinates and generate the corresponding marking point. In this way, the measurement point that the user marked incorrectly can be changed or deleted, which helps to further improve the convenience of determining the processing area.
[0144] It can be understood that the first display area and the second display area can be displayed on the preview page or the target page at the same time, or only the first display area or only the second display area can be displayed, or the first display area can be displayed first to determine the shape and then the second display area can be displayed to determine the marking point. There is no sole limitation here.
[0145] In some possible embodiments, after displaying the first processing area on the preview page, determining the processing area according to the coordinates of the at least one measurement point further includes:
[0146] According to the third operation instruction, the selected processing area is deleted or scaled.
[0147] Among them, the triggering method of the third operation instruction is the same as the triggering method of the first operation instruction, which will not be repeated here.
[0148] Please refer to Figure 13, which shows a flow chart of a method for measuring a processing area according to an embodiment of the present application. The processing system includes a movable head, the movable head includes a processing member and a positioning member, and the processing member and the positioning member are respectively installed at different positions on the movable head. The method further includes:
[0149] Step S810, determining a first moving area corresponding to the workpiece and a second moving area corresponding to the positioning member according to the movable range of the movable head;
[0150] Step S820, determining a restricted area on the target page according to the first moving area and the second moving area;
[0151] Step S830: When the processing area overlaps with the restricted area, corresponding prompt information is generated.
[0152] These three steps are described in detail below.
[0153] In step S810, it should be noted that due to limitations in the hardware structure of the processing equipment, each movable head mounted on the processing equipment has a limited maximum range of motion. However, the maximum range of motion of the movable head may vary for different processing equipment. Therefore, the maximum range of motion of the movable head can be determined based on the hardware structure of the processing equipment to which the movable head belongs. The movable range is not equivalent to the maximum range of motion; the user can also select a smaller range within the maximum range of motion as the movable range, and this application does not impose any restrictions on this.
[0154] For example, if the user wants to process within the center of the maximum range of motion, they can select this center as the movable range. It should be noted that while the area outside the center but within the maximum range of motion is still objectively reachable by the movable head, it is considered a restricted area due to the user's restrictions. This allows the movable head's movable range to be further defined based on the user's processing needs, resulting in more precise positioning and processing effects.
[0155] According to the movable range of the movable head, the first moving area corresponding to the processing part and the second moving area corresponding to the positioning part can be determined on the processing platform, and the first moving area corresponding to the processing part and the second moving area corresponding to the positioning part can also be determined on the target page. This application does not impose any restrictions here.
[0156] Furthermore, in the case of determining the first movable area and the second movable area on the target page based on the movable range, the first movable area and the second movable area on the processing platform can be first determined based on the movable range, and then the first movable area and the second movable area on the processing platform can be mapped to the target page accordingly; or the area corresponding to the movable range can be first determined in the target page, and then the processing area and the positioning area on the target page can be determined based on the physical distance between the processing part and the positioning part (for example, the proportion of the physical distance to the entire movable range). This application does not impose any restrictions here.
[0157] In step S820, the target page may be an operation page that can only be operated, a display page that can only be displayed, or a page that can be both displayed and operated, and this application does not impose any restrictions on this. The restricted area may refer to an area where the operation of the processing elements is restricted, wherein the restricted operations include positioning and / or processing the processing elements, etc. Among them, the processing elements may refer to the elements corresponding to the operations that the user intends to perform on the processed materials, such as the engraving pattern corresponding to the pattern engraving, the cutting position corresponding to the material cutting, the graphic mark corresponding to the marking, etc. The processing elements may be regular patterns and irregular patterns, regular patterns such as polygons, circles, etc., irregular patterns such as irregular figures, scenery pictures, etc. The processing elements may also be vector graphics or bitmaps. Vector graphics are also called vector graphics, which are images described by a series of geometric figures (such as line segments, curves, polygons, etc.), and can be enlarged or reduced without distortion. A bitmap is also called a bitmap, which is an image simulated by many pixels, and each pixel is described by a color value.
[0158] The restricted area is obtained according to the first movement area and the second movement area generated on the target page. The restricted area may include a restricted processing area, a restricted positioning area and / or a restricted processing and positioning area.
[0159] If the first moving area and the second moving area are determined on the target page, the restricted area can be determined directly based on the first moving area and the second moving area on the target page; if the first moving area and the second moving area are determined on the processing platform, the first moving area and the second moving area are mapped on the target page, and then the restricted area on the processing platform is determined based on the first moving area and the second moving area mapped on the target page.
[0160] In step S830, the prompt information may be provided in the form of color prompt, text prompt, sound prompt, etc. For example, a pop-up window may be provided with a text prompt "The processing area overlaps with the restricted area"; a voice prompt "The processing area overlaps with the restricted area" may be provided; or an alarm may be provided to indicate that the processing area overlaps with the restricted area.
[0161] As can be seen from the above, this embodiment can effectively help the user determine whether processing can be performed within the processing area by providing corresponding prompts when the processing area and the restricted area overlap.
[0162] The following is an example of the measurement process of the processing area.
[0163] The user clicks the corresponding function button on the host computer to measure the processing area on the workpiece. In response to the user's click, the host computer generates a corresponding operation instruction and sends it to the laser processing device. In response to the operation instruction, the laser processing device marks the coordinates of measurement point 1. When the coordinates of measurement point 1 are confirmed, the buzzer responds. Similarly, the coordinates of measurement point 2 can be obtained.
[0164] Based on the position coordinates of measurement points 1 and 2, positioning auxiliary lines or auxiliary frames are generated on the target page, resulting in the processing area corresponding to the movable head on the target page. After the user moves the processing element into the processing area on the host computer, the host computer sends a processing request to the movable head, which then performs the processing operation in response to the processing request. It should be noted that the movable head is in the positioning state when moving to the measurement point for marking, and in the processing state when responding to the processing request and performing the processing operation. The movable head is in the standby state at all other times.
[0165] Please refer to Figure 14, which shows a schematic diagram of the interface for determining the processing area on the target page according to an embodiment of the present application. The target page in Figure 14 obtains the current position coordinates of the movable head. As shown in the figure, the current position coordinates of the movable head are X = 203mm and Y = 112.2mm, and point 1 has been marked. Then, the position coordinates of point 2 are marked to generate the rectangular area shown in the figure by marking the two points. This rectangular area is the processing area corresponding to the movable head generated on the target page.
[0166] Please refer to Figure 15, which shows a schematic diagram of an interface in which a processing element on a target page is within a processing area according to an embodiment of the present application. The user moves the processing element into the processing area on the host computer, and after confirming that the processing element is within the processing area, the user can control the movable head to perform the processing operation.
[0167] Please refer to Figure 16, which shows a schematic diagram of an interface in which a processing area cannot be determined on the target page according to an embodiment of the present application. If the measurement points set on the surface of the processed material have the same X-axis coordinates or Y-axis coordinates, the corresponding processing area cannot be generated on the target page. An incorrect processing area (i.e., a straight line) may be generated as shown in the figure, or a restriction prompt may be provided when the user sets the measurement points, such as "The two selected points have the same X-axis coordinates or Y-axis coordinates. The processing area cannot be generated. Please adjust it in time."
[0168] The above content is mainly used to solve the problem of inaccurate determination of the processing area when processing a processing object. After determining the processing area, in order to ensure the processing effect, processing alignment is usually required. In the related art, the processing object is usually photographed by a camera to determine the relative position relationship between the processing object and the CNC machine loading platform, and then determine the area corresponding to the current area of the processing object on the target page, thereby placing the processing pattern and completing the processing alignment of the processing pattern. However, for CNC machines without a camera, users can only make rough judgments about the processing area based on their operating experience, making it difficult to complete the accurate alignment of the processing pattern, which in turn leads to poor processing results of the processing object. In order to further solve the problem of accurate processing alignment of the processing object, the present disclosure may also include determining the starting auxiliary point position of the processing pattern within the processing area, then drawing mapping points on the target page based on the starting auxiliary point position, obtaining the distribution of the mapping points on the target page, and using the mapping points to place the processing pattern. Finally, based on the relative position relationship between the mapping points and the processing pattern, the actual position of the processing pattern is indicated.
[0169] Mapping points allows users to identify the corresponding area on the target page for the object to be processed. When placing a processing pattern, users can adjust the processing pattern to fit the corresponding area on the target page. This helps achieve precise alignment of the processing pattern before the CNC machine processes the object, improving processing results. Even laser CNC machines without cameras can use the method proposed in this disclosure to achieve convenient and accurate processing alignment of processing patterns.
[0170] Please refer to Figure 17, which illustrates another system architecture employed in an embodiment of the present application. This system architecture may include: at least one CNC machine 11 for processing an object, and a terminal device 12 that provides visualization and a target page for the CNC machine 11, thereby implementing the processing alignment method of the present application. The CNC machine 11 locates auxiliary points using the light spot it emits and obtains the starting auxiliary point position.
[0171] Please refer to Figure 18. After controlling the target page to display the processing area, the method also includes performing processing alignment on the processing area on the target page. Based on Figure 2, Figure 18 shows a flow chart of a method for implementing processing alignment according to an embodiment of the present application after controlling the target page to display the processing area.
[0172] Step S1810, determining the starting auxiliary point position of the processing pattern;
[0173] Step S1820, mapping points are drawn on the target page according to the position of the starting auxiliary point to obtain the distribution of the mapping points on the target page, where the distribution of the mapping points on the target page is used to indicate the placement of the processing pattern;
[0174] In step S1830 , the actual position of the processing pattern is indicated according to the relative position relationship between the mapping point and the processing pattern.
[0175] The above three steps are described in detail below.
[0176] In the embodiments of the present application, the user is able to determine the area on the target page corresponding to the area to be processed of the object being processed. When placing the processing pattern, the user can adjust the processing pattern so that it fits the area on the target page corresponding to the area to be processed of the object being processed. This helps achieve precise alignment of the processing pattern before the CNC machine processes the object, improving the processing effect. Even laser CNC machines that are not equipped with cameras can achieve convenient and accurate processing alignment of the processing pattern using the method proposed in this application.
[0177] In step S1810, the CNC machine determines the position of the starting auxiliary point of the processing pattern according to its own configured hardware device, such as determining the position of the starting auxiliary point of the processing pattern by using a light spot formed by the light source.
[0178] Specifically, it should be noted that the position of the starting auxiliary point can be obtained by continuously acquiring the position of the light spot in this application. Therefore, the CNC machine used to implement processing alignment deploys at least one light source. The light spot formed by the light beam emitted by this light source can be used for the processing alignment implemented in this application. In addition, this light source can also be used to implement processing. Based on this, the light source used to emit the light spot in this application includes a laser emitting light source (processing light source) and / or a visible light emitting light source (alignment light source).
[0179] The light spot may include a processing light spot formed by a light beam emitted by a processing light source and / or an alignment light spot formed by a light beam emitted by an alignment light source, etc., which are not limited here. It should be clarified that when the processing light source is performing processing alignment through the processing light spot, the processing light source emits weak light, thereby forming a light spot. Weak light refers to the light beam emitted by the processing light source within a 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 CNC machine, the position of both the processing light spot and the alignment light spot 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.
[0180] The color of the light spot is not limited here and can be any color, such as white, yellow, green, red, etc.
[0181] To further illustrate, in CNC machines, the light source is mounted on a laser head. This movable head can be used for alignment and laser processing. The laser head is equipped with a laser light source, or a combination of a laser light source and an infrared light source.
[0182] It should be understood that in one embodiment of the present application, the light source can be a laser emitting light source used to perform laser processing, which forms a light spot by emitting a light beam, thereby marking the irradiation position of the light beam. The light source can also be another light source configured separately, specifically used to emit a light beam to form a light spot during processing alignment.
[0183] 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 an infrared emitting light source, processing alignment can be performed by the laser emitting light source or the infrared emitting light source, and laser processing can be performed by the laser emitting light source.
[0184] During the alignment process for CNC machines, a light source is first driven to emit a beam, which forms a light spot on the object being processed or the surface of the CNC machine used to support it. This light spot indicates the location of the current light beam emitted by the light source. The relative positional relationship between the light source and the light spot is known. In other words, the location of the light spot in the light source coordinate system can be determined based on the light source position information and the relative positional relationship between the light source and the light spot.
[0185] It should be made clear that for the positioning of the auxiliary points used in processing alignment, the light source can be driven to move so that the light source emits a light beam to illuminate the starting auxiliary point, forming a light spot at the starting auxiliary point, and then the position of the starting auxiliary point is obtained based on the position of the light spot. The auxiliary point refers to a point selected on the processing object or on the plane where the processing object is located. The auxiliary point can be the starting point for processing the processing object, or it can be any other point. Before the processing is performed, the auxiliary point provides a reference for the placement of the processing pattern on the processing object. The auxiliary points include the starting auxiliary point, so the starting auxiliary point is only a reference point for placing the processing image, which is used to indicate the location of the processing pattern. It should be made clear that the auxiliary point can refer to a point on the processing object, or any point selected on the plane where the processing object is located, and is not limited to the area where the processing pattern is placed.
[0186] It is further clarified that the term "laser emitting source" as used herein includes any source of electromagnetic radiation or focused or coherent energy that uses photons to modify a substrate or induce some change or alteration in the material struck by the photons. The laser emitting source (whether a cutting tool or a diagnostic tool) can emit any desired wavelength, including, for example, microwaves, lasers, infrared lasers, visible light lasers, UV lasers, X-ray lasers, X-ray lasers, etc.
[0187] In another embodiment of the present application, the light source can be moved to a specified position according to a target instruction so that the light spot is located at the starting auxiliary point, or it can be moved by dragging by the user, without limitation. The target instruction is generated by an operation initiated by the user on a control panel of a CNC machine or a host computer constituted by a terminal device.
[0188] In another embodiment of the present application, as the CNC machine drives the light source, the light spot moves synchronously until the light spot moves to the starting auxiliary point and stops moving. At this time, the position of the light spot is the starting auxiliary point position, that is, the starting auxiliary point position is obtained based on the position of the light spot.
[0189] Please refer to Figure 19, which shows a flow chart of determining the position of the starting auxiliary point of a processing pattern according to an embodiment of the present application. The embodiment of the present application provides a step S1810 of determining the position of the starting auxiliary point of the processing pattern, including:
[0190] Step S1911, extracting the light source movement distance to obtain light source position information;
[0191] Step S1912: Obtain the position of the starting auxiliary point according to the light source position information.
[0192] The above two steps are described in detail below.
[0193] In step S1911, the light source is driven to locate the starting auxiliary point, causing the light spot to move toward the starting auxiliary point. As the light source is driven to move, the light source's movement distance on each axis of the light source coordinate system is calculated based on the light source's movement distance, thereby obtaining the light source's position information. The origin of the light source coordinate system can be set by the user or by a default origin, which is not limited here. This helps ensure the accuracy of the starting auxiliary point position.
[0194] It should be noted that when the light source moves at different speeds, the distance traveled by the light source is extracted at different frequencies. For example, when the light source speed is 0.01 m / s, the distance traveled by the light source is extracted every 2 seconds. When the light source moves at a speed of 1 m / s, the distance traveled by the light source is extracted every 0.5 seconds.
[0195] It should also be noted that the frequency setting for extracting the moving distance of the light source can also be set to a universal extraction frequency. For example, regardless of the moving speed of the light source or whether it is moving, the moving distance of the light source is extracted every 1 second.
[0196] That is to say, the extraction of the moving distance of the light source not only occurs when the light source is moving, but also occurs when the light source stops moving. That is, in the execution of step S1911, the moving distance of the light source is extracted at fixed intervals to obtain the current light source position information. This is to prevent external factors from causing the light source to move, but its moving distance is not recorded, thereby causing the actual moving distance of the light source to be inconsistent with the moving distance of the light source corresponding to the light source position information.
[0197] For example, when the moving speed of the light source is 0 m / s, the moving distance of the light source is still obtained every 1 second to calculate the current light source position information.
[0198] In another embodiment of the present application, in order to optimize the situation where the current light source position information is unclear or not accurate enough, and the accurate light source position information cannot be obtained according to the moving distance of the light source, it is necessary to first return the light source to its original position so that the light source position information becomes accurate again, thereby ensuring the accuracy of the subsequently obtained light source position information.
[0199] Homing a light source means moving it to its origin. Specifically, the light source can be moved to its origin according to target instructions. Alternatively, the user can manually control the light source by dragging it to return it to its origin.
[0200] It is further clarified that in another embodiment of the present application, when the current position information of the light source is determined to be accurate and correct, it is not necessary to home the light source. The calculation of the light source position information is based on the movement distance of the light source relative to the light source coordinate system. As long as there are no external factors that cause the movement of the light source to be unrecorded, there is no need to home the light source. Therefore, the light source does not need to be homed before every movement.
[0201] In this embodiment, the following device can be used to complete the movement and reset of the light source.
[0202] The CNC machine includes a track device, a frame on which the track device is slidably mounted, and a light source slidably mounted on the track device;
[0203] The frame and track device are both adapted to assemble a homing sensor at the origin position of the light source coordinate system. The homing sensor of the track device adapted to the frame is provided with a sensing component, and the homing sensor of the track device adapted to the bottom of the light source is provided with a sensing component.
[0204] The motion mechanism of the light source moves along the track device until the homing sensor installed on the track device close to the origin end 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, completing the movement and homing of the light source on the track device.
[0205] 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 its movement and homing, that is, the homing movement of the light source is completed.
[0206] It should be understood that when the sensing element senses the homing sensor, the internal signal of the homing sensor will change. Therefore, by monitoring the change in the internal signal of the homing sensor, it can be determined whether the sensing element senses the homing sensor.
[0207] It should be noted that the above-mentioned homing sensor may be a photoelectric sensor, a contact sensor or other sensors that can achieve the above-mentioned purpose.
[0208] In step S1912, when the light spot coincides with the starting auxiliary point as the light source moves, the position of the light spot is obtained according to the light source position information. Since the light spot coincides with the starting auxiliary point, the position of the light spot is also the position of the starting auxiliary point.
[0209] In this embodiment, the present application locates the light source by obtaining the light source's travel distance, obtaining light source position information, and then using this light source position information to determine the starting auxiliary point position. This method does not rely on expensive positioning hardware and cameras, saving material costs for CNC machines. Furthermore, the method provided in this embodiment is computationally simple; simply obtaining the light source's travel distance is sufficient to obtain the light source position information, saving computing resources in the CNC machine.
[0210] Please refer to Figure 20, which shows a schematic diagram of a process for obtaining the position of a starting auxiliary point based on light source position information according to an embodiment of the present application. The embodiment of the present application provides steps for obtaining the position of a starting auxiliary point based on light source position information, including:
[0211] Step S2001, synchronously displaying the position of the light spot mapped to the target page according to the light source position information;
[0212] Step S2002: Determine the position of the starting auxiliary point in response to the target instruction.
[0213] The above two steps are described in detail below.
[0214] In step S2001, to make user operation more convenient and intuitive, the light spot is synchronously displayed on the target page. Specifically, the light spot location is obtained based on the light source position information obtained each time, and then the point where the light spot is mapped on the target page is synchronously displayed on the target page based on the mapping relationship between the light source coordinate system and the target page coordinate system. The coordinate system of the target page is called the target page coordinate system.
[0215] As the light source moves, the light source position information is acquired at a high frequency, and the light spot location is obtained at a high frequency and synchronized to the target page for display, so that the dynamic movement of the light spot can be seen on the target page. In this way, users can see the real-time changes in the mapping point position on the target page.
[0216] It should be clarified that the target page is a visual interface on or connected to a CNC machine, used to map and display the CNC machine's processing area, place processing patterns, and assist the CNC machine in processing. To ensure that operations performed on the target page can be completed by the CNC machine in the real world, the target page's size is no larger than the movable area of the laser head and / or other light sources. In other words, any operations performed on the target page, such as alignment and placement of processing patterns for engraving, can be completed by the CNC machine without exceeding the movable area of the laser head and / or other light sources, making processing impossible.
[0217] In step S2002, the CNC machine generates a target instruction in response to the user's operation. Based on the target instruction, the position information of the light source at a certain moment or when it moves to a certain position is obtained, which is used as the starting auxiliary point position. The target instruction can be a command triggered by the user's operation or a command triggered by a condition set in the CNC machine or host computer, and is not limited here.
[0218] In another embodiment of the present application, to provide users with a diverse operational experience, when the light source stops moving, a target instruction is used to determine whether to acquire the location information of the current light spot. If a target instruction exists to acquire the location information of the current light spot, acquisition of the location information of the light spot is performed; otherwise, acquisition of the location information of the current light spot is not performed. The target instruction is generated by an operation initiated by the user on a host computer, such as a control panel or terminal device of a CNC machine.
[0219] In another embodiment of the present application, the present application can also obtain the light source position information by triggering an instruction to obtain the light source position information when the light source stops moving. When the light source stops moving, the positioning of the starting auxiliary point is completed. At this time, the light source position information when the light source stops moving is obtained based on the corresponding movement distance of the light source when it stops moving, which is the position of the light spot when it reaches the starting auxiliary point. Then, the position of the light spot is obtained based on the relative position relationship between the light source and the light spot, which is the position of the starting auxiliary point.
[0220] In another embodiment of the present application, the user initiates an instruction through the host computer software or directly controls the CNC machine to obtain the light source position information. For example, the user controls the state of the CNC machine button (such as pressing or releasing) to trigger the instruction to obtain the light source position information.
[0221] In the embodiment of the present application, the position information of the light spot is obtained in real time and displayed synchronously on the target page, making the user operation more convenient and more intuitive.
[0222] In step S1820, based on the acquired starting auxiliary point position, the starting auxiliary point position is converted between coordinate systems to obtain the point corresponding to the starting auxiliary point in the target page coordinate system, and is displayed on the target page to obtain a mapping point of the starting auxiliary point.
[0223] Mapping points provide a reference for placing the processing pattern on the target page. The processing pattern you place is the pattern you want to process on the object. When there are multiple mapping points, that is, the distribution of mapping points on the target page, the relative position relationship between the mapping points and the processing pattern can provide more reference for the placement of the processing pattern on the target page.
[0224] Based on the mapping relationship between the light source coordinate system and the target page coordinate system, the relative position relationship between the processing pattern and the mapping point in the target page coordinate system is synchronized with the light source coordinate system. In other words, in the real world, the relative position relationship between the processed pattern and the auxiliary point on the processing object is the same as the relative position relationship between the processing pattern and the mapping point.
[0225] It should be clarified that the "placement" mentioned above 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.
[0226] The point displayed on the target page is drawn, that is, the point is marked on the target page so that the point is displayed on the target page. In other words, the movement or existence of the light spot will not affect the display of the mapping point on the target page, and finally the mapping points distributed on the target page are obtained.
[0227] In summary, on the target page, the mapping points corresponding to the starting auxiliary point are drawn. As the light spot continues to move and the light spot position is acquired, the mapping points corresponding to the secondary auxiliary points, or even the mapping graph, are drawn on the target page based on the mapping point corresponding to the starting auxiliary point, thereby obtaining at least one mapping point. The mapping graph is composed of lines between mapping points and is generated to better describe the relative positional relationship between mapping points and provide a more intuitive reference when placing the processing pattern.
[0228] It should be noted that before performing this step, a mapping relationship between the light source coordinate system and the target page coordinate system is established, so that the corresponding position (coordinates) of any point in one coordinate system can be obtained based on the mapping relationship between the two coordinate systems and the position (coordinates) of the point in the other coordinate system. For example, the coordinates of a point in the target page coordinate system can be obtained based on the position of the point in the light source coordinate system. The coordinate system where the target page is located is the target page coordinate system.
[0229] Please refer to Figure 21, which shows a schematic diagram of a process for drawing mapping points on a target page according to the position of a starting auxiliary point, obtaining the distribution of the mapping points on the target page, and then drawing secondary auxiliary points according to one embodiment of the present application. This embodiment of the present application provides steps for drawing mapping points on a target page according to the position of a starting auxiliary point, obtaining the distribution of the mapping points on the target page, and then drawing secondary auxiliary points, including:
[0230] Step S2101, driving the light source to illuminate any point other than the starting auxiliary point, where any point other than the starting auxiliary point is a secondary auxiliary point;
[0231] Step S2102: Draw the mapping points of the secondary auxiliary points displayed synchronously on the target page. The mapping points corresponding to the secondary auxiliary points are secondary mapping points. The mapping points are used to obtain the target page with more than two mapping points distributed.
[0232] The above two steps are described in detail below.
[0233] If the user believes that the processing alignment can be completed directly based on the starting mapping point, the user can choose to place the processing pattern with the starting mapping point as a reference to complete the processing alignment.
[0234] For example, when placing a circular pattern with a diameter of 2cm, you only need to select a point on the processing object as the center of the circle to be processed and set this point as the starting auxiliary point. In this way, you only need to place the processing pattern with a diameter of 2cm on the target page with the first mapping point as the center of the circle to complete the processing alignment of the processing pattern.
[0235] It should be noted that although only one mapping point, the starting mapping point, is drawn on the target page to provide a reference for machining alignment, the light spot can be moved to the position of the next auxiliary point. The mark displayed on the target page can provide a further reference for the placement of the machining pattern without having to draw another mapping point.
[0236] Of course, in addition to this, in order to complete the processing alignment more accurately, the user can also choose to move the light spot to the secondary auxiliary point position after drawing the starting mapping point. Then, based on the synchronous display of the light spot on the target page, draw the secondary mapping points mapped by the secondary auxiliary point on the target page in sequence. These serve as a reference for processing alignment. Auxiliary points include starting auxiliary points and secondary auxiliary points. Any auxiliary point other than the starting auxiliary point is a secondary auxiliary point. The mapping points distributed on the target page include the mapping point corresponding to the starting auxiliary point and the secondary mapping points corresponding to the secondary auxiliary points.
[0237] In step S2101, the light source is driven to move, causing the light spot to move synchronously with it until the light spot moves to the position of the next auxiliary point. The light source position information at this time is obtained, and then the position of the light spot, i.e. the auxiliary point position, is obtained based on the relative position relationship between the light source and the light spot.
[0238] In step S2102, after the light spot is moved to the position of the secondary auxiliary point in step S2101, the synchronous display of the light spot on the target page is the synchronous display of the secondary auxiliary point on the target page. The point is drawn to obtain the secondary mapping point mapped by the secondary auxiliary point on the target page.
[0239] It should be noted that, according to the needs of machining alignment, steps S2101 and S2102 may be repeated multiple times to draw multiple secondary mapping points.
[0240] In the embodiment of the present application, multiple mapping points are drawn to provide more references for the placement of the processing pattern on the target page, so that the CNC machine can be more accurate in processing alignment.
[0241] In one embodiment of the present application, a mapping line segment is drawn with the initial mapping point as the starting point and any secondary mapping point as the end point. The mapping line segment is displayed on the target page. The mapping line segment can be extended to form various shapes according to processing needs to provide a reference for the user when placing the processing pattern. For example, a rectangle can be generated with the mapping line segment as one side of a rectangle to provide a reference for placing the processing pattern. Alternatively, a triangle, pentagon, or side of a user-defined shape, or as a diagonal, midline, or axis of symmetry can be used to derive various shapes to provide a reference for placing the processing pattern.
[0242] In the embodiment of the present application, a reference for placing a processing pattern is provided by drawing a mapping line segment based on the mapping point, which enriches the way of providing a reference for placing a processing pattern and provides users with more choices.
[0243] For example, please refer to Figure 22, which shows a schematic diagram of a process for placing a processing pattern after drawing a mapping line segment from the starting mapping point to any secondary mapping point according to one embodiment of the present application. The present embodiment provides a process for placing a processing pattern after drawing a mapping line segment from the starting mapping point to any secondary mapping point, including the following steps:
[0244] Step S2201, drawing a rectangle with the mapped line segment as the diagonal line;
[0245] Step S2202 : responding to the user's manipulation action, placing the processing pattern in the rectangle.
[0246] The above two steps are described in detail below.
[0247] In step S2201 , a rectangle is generated on the target page with the mapping line segment as a diagonal line, and the rectangle indicates a placement area of the processing pattern on the target page.
[0248] In step S2202, the CNC machine responds to the user's manipulation and places the processing pattern in the rectangle. To meet the processing needs, the processing pattern can be modified by translation, rotation, mirroring, cropping, etc.
[0249] Please refer to Figures 23 and 24. Figure 23 shows a schematic diagram of drawing a rectangle based on a mapped line segment according to one embodiment of the present application. As shown in the figure, the rectangle is drawn using the mapped line segment as a diagonal line, providing a reference for placing a processing pattern. Figure 24 shows a schematic diagram of placing a processing pattern within a rectangle according to one embodiment of the present application. As shown in the figure, the processing pattern is placed within the formed rectangle.
[0250] In the embodiment of the present application, a rectangle is drawn based on the mapped line segments as a reference for placing the processing pattern. On the one hand, drawing the rectangle using diagonal lines is simpler and easier to understand, making it easier for users to get started and provide a better experience. On the other hand, drawing the rectangle using the mapped line segments to frame the area where the processing pattern can be placed can provide a more specific reference for placing the processing pattern.
[0251] In another embodiment of the present application, according to processing requirements, two or more mapping points can be directly connected to form a mapping graphic with mapping line segments connecting the mapping points as graphic components to provide a reference for placement of the processing pattern.
[0252] It should be noted that a mapping figure can be a closed figure formed by connecting mapping points, or an open figure such as a broken line segment formed by connecting two or more mapping points. This can accommodate processing patterns of various shapes. In one embodiment of the present application, a mapping line segment connecting two mapping points can also serve as a mapping figure to provide a reference for placing the processing pattern.
[0253] It should also be noted that after connecting the mapping points on the target page, there is no limit on the number of mapping graphs obtained, which can be one or any other number. It should also be clarified that it is not necessary to connect all the mapping points on the target page. In other words, the target page can have both mapping graphs and unconnected mapping points.
[0254] In another embodiment of the present application, a mapping pattern may be obtained without being based on connections between mapping points. For example, a CNC machine draws a mapping pattern based on a target instruction, starting at a mapping point. The target page records the movement trajectory of the light spot and draws it on the target page until the light spot stops moving. This represents the movement trajectory of the light spot displayed on the target page, forming the mapping pattern. The target instruction is generated by an operation initiated by a user on a control panel of the CNC machine or a host computer constituted by a terminal device.
[0255] In addition, it should be supplemented that the mapping graphics can also be drawn in the following manner. For example, when the CNC machine starts drawing the mapping graphics according to the target instruction, it enters the state of automatically drawing the mapping graphics. For the mapping points drawn subsequently, lines are directly used to automatically connect until the state of automatically drawing the mapping graphics is exited, or the number of connections between the mapping points is limited, so that the CNC machine automatically exits the state of automatically drawing the mapping graphics. If the number of connections between the mapping points is set to 2, the next three mapping points drawn are connected by lines in turn to obtain the mapping graphics. The mapping points drawn thereafter will no longer be automatically connected by lines. Unless the CNC machine enters the state of automatically drawing the mapping graphics again.
[0256] Please refer to Figure 25, which shows a schematic diagram of drawing a mapping pattern according to an embodiment of the present application. As shown in Figure 25, the mapping line segments formed by connecting the mapping points are used as graphic components to form a mapping pattern, and the processing pattern is placed with reference to the mapping pattern.
[0257] In the embodiment of the present application, the mapping graphics are drawn through the above embodiment, which makes it easy for users to customize the shape of the mapping graphics and adapt to processing patterns of different shapes. There is no need to adjust them based on hands and eyes, which increases the efficiency and effect of CNC machine processing alignment.
[0258] Please refer to Figure 26, which shows a flow chart of drawing mapping points on a target page based on the position of a starting auxiliary point, obtaining the distribution of the mapping points on the target page, and then cleaning up the mapping points according to one embodiment of the present application. This embodiment of the present application provides steps of drawing mapping points on a target page based on the position of a starting auxiliary point, obtaining the distribution of the mapping points on the target page, and then cleaning up the mapping points, including:
[0259] Step S2601, counting the number of mapping points;
[0260] Step S2602 : When the number of mapping points exceeds a preset threshold, the mapping points that are earlier in time sequence are deleted according to the formation time of the mapping points.
[0261] The above two steps are described in detail below.
[0262] In order to prevent excessive mapping points and mapping graphics from affecting user operations, it is necessary to delete the mapping points and / or mapping graphics.
[0263] In step S2601, the number of mapping points is first counted. Mapping points include independent mapping points without line connections and mapping points connected by lines. Lines include straight lines and curves, and can be lines of any characteristics, such as wavy lines and broken lines, which are not specifically defined here.
[0264] In one embodiment of the present application, it is also possible to combine and count the mapping points and mapping graphics without line connections. When drawing mapping points and mapping graphics, the CNC machine records the drawing time and number of mapping points and mapping graphics without line connections. For mapping points that are already connected by lines, they are marked as non-mapping points, and several non-mapping points connected by lines are counted as a whole.
[0265] In step S2602, if the number of mapping points exceeds a preset number threshold, the mapping point with the earliest creation time is deleted until the number of mapping points is less than or equal to the number threshold.
[0266] In one embodiment of the present application, a threshold number of mapping patterns is preset. If the number of mapping patterns exceeds the threshold number, the previously created mapping patterns are deleted based on the creation time of the mapping patterns until the number of mapping patterns does not exceed the threshold number. It is understandable that the preset threshold number can be set based on a combination of factors such as the size of the processing area, the number of processing patterns, the material of the processing object, and user settings, and is not limited here. For example, when the processing area is large, the preset threshold number is larger; when the number of processing patterns is large, the preset threshold number is larger; when the material of the processing object is hard, the preset threshold number is larger, and so on. The preset threshold number can be a value such as 3, 6, 10, 15, 18, 21, etc., and is not limited here.
[0267] In another embodiment of the present application, a quantity threshold is set for the total number of mapping points and mapping graphics without line connections. If the number of mapping points and mapping graphics exceeds the quantity threshold, the mapping graphics or mapping points with the earliest creation time will be deleted until the total number of mapping points and mapping graphics does not exceed the quantity threshold.
[0268] In addition, according to the user's selection, the mapping points and / or mapping graphics on the target page are selected and deleted by the numerical control machine.
[0269] It should be noted that in another embodiment of the present application, the deletion of mapping points and mapping graphics is not based on steps S1810, S1820, and S1830. The mapping points and mapping graphics displayed on the target page can be drawn in any other manner. When counting the number of mapping points and mapping graphics, the number is calculated based on the records of mapping points and mapping graphics drawn on the target page, and then automatic and manual deletion is performed based on the number limit of mapping points and mapping graphics.
[0270] In the embodiment of the present application, by deleting the mapping points and mapping graphics, a better user experience is provided, storage space of the CNC machine is released, and the user's operation is prevented from being affected by too many mapping points and mapping graphics.
[0271] In step S1830, in order to enable the user to intuitively observe which area of the processing object the processing pattern will be processed to, the host computer indicates the actual position of the processing pattern by controlling the hardware device configured by the CNC machine itself. The actual position is used to indicate the position where the processing pattern is executed on the processing object.
[0272] Specifically, based on the relative position relationship between the mapping point and the processing pattern in the target page coordinate system, and the mapping relationship between the target page coordinate system and the light source coordinate system, the position information of the processing pattern in the light source coordinate system is obtained, that is, if the processing pattern is processed on the processing object, its position is also called the actual position of the processing pattern. Finally, the area is indicated by the CNC machine.
[0273] It should be clarified that the actual location of the machining pattern indicated by the CNC machine can be a representation of the machining pattern itself, such as the outer frame of the machining pattern. It can also be a representation of the area where the machining pattern is located, such as a frame surrounding the machining pattern, where the frame and the outer frame of the image do not overlap. Alternatively, it can be a representation of the center point of the machining pattern, including but not limited to the representation of the machining pattern itself, or a representation of a portion of the machining pattern.
[0274] Please refer to Figure 27, which shows a schematic flow chart of indicating the actual position of a processing pattern based on the relative positional relationship between a mapping point and the processing pattern according to one embodiment of the present application. This embodiment of the present application provides step S1830 of indicating the actual position of the processing pattern based on the relative positional relationship between the mapping point and the processing pattern, including:
[0275] S1831a, obtaining coordinate information of the containing frame corresponding to the processing pattern;
[0276] S1832a: Based on the coordinate information of the containing frame, a light spot formed by emitting a light beam from a light source traverses all sides of the containing frame to indicate the actual position of the processed pattern.
[0277] The above two steps are described in detail below.
[0278] In step S1831a, the containment frame corresponding to the processed pattern is determined based on the size of the processed pattern. The containment frame of the processed pattern can refer to the shape of the processed pattern. The shape of the containment frame includes but is not limited to a rectangle, a triangle, and a polygon. The containment frame includes but is not limited to the minimum containment pattern of the processed pattern. It should be clarified that in one embodiment of the present application, the coordinate information of the containment frame can be the coordinate information of the containment frame in the light source coordinate system, or the coordinate system information of the containment frame in the target page coordinate system.
[0279] In step S1832a, when the user directly obtains the coordinate information of the containing frame in the light source coordinate system, the light source is driven to move according to the coordinate information of the containing frame in the light source coordinate system, so that the light spot formed by the light beam emitted by the light source traverses all sides of the containing frame to indicate the position where the processing pattern is executed on the processing object, that is, the actual position.
[0280] In another embodiment of the present application, when the coordinate information of the containing frame in the target page coordinate system is obtained, and when the containing frame is rectangular and just fits the processing pattern. For the containing frame in the target page coordinate system, there are x-axis and y-axis axes. 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 processing pattern containing frame. If the coordinate information of each point in the target page coordinates is represented by (x, y), and the two points of the processing pattern farthest apart on the x-axis are (a, b) and (m, n), then the maximum span of the processing pattern on the x-axis is │am│ (absolute value). The two points of the processing pattern farthest apart on the y-axis are (k, j) and (p, q), 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 containing frame of the processing pattern.
[0281] Because the containing frame necessarily passes through the four points (a, b), (m, n), (k, j), and (p, q), the coordinates of the containing frame on the target page are easily obtained. For example, when the x-axis and the y-axis are perpendicular to each other, according to the principles of mathematical geometry, the four vertices of the containing frame are (a, j), (m, j), (a, q), and (m, q), respectively, and the coordinates of the containing frame in the target page coordinate system are then obtained.
[0282] Based on the mapping relationship between the light source coordinate system and the target page coordinate system, as well as the coordinate information of the containing frame in the target page coordinate system, the coordinate information of the containing frame in the light source coordinate system is obtained, and then the light source is driven to move according to the coordinate information of the containing frame in the light source coordinate system, so that the light spot formed by the light beam emitted by the light source traverses all sides of the containing frame to indicate which area on the processing object the processing pattern will be processed to, that is, the actual position.
[0283] For example, the four vertices of the containing frame are point H, point I, point Z, and point V. The light source is driven to move so that the light spot moves cyclically in the order of point H → point I → point Z → point V → point H. By moving in a straight line between the two points, the processing alignment is completed.
[0284] In an embodiment of the present application, by displaying a containment frame for the processing pattern on the processing object or the plane where the processing object is located, the user can know where the processing pattern will be processed. If not satisfied, adjustments can be made. In this way, the error rate of processing alignment of the processing pattern is reduced.
[0285] Please refer to Figure 28, which shows a schematic diagram of a process for indicating the actual position of a processing pattern based on the relative positional relationship between a mapping point and the processing pattern according to one embodiment of the present application. This embodiment of the present application provides step S230 of indicating the actual position of the processing pattern based on the relative positional relationship between the mapping point and the processing pattern, including:
[0286] S1831b, obtaining coordinate information of the center point of the containing frame corresponding to the processing pattern;
[0287] S1832b, according to the coordinate information of the center point of the containing frame, a light spot formed by emitting a light beam from a light source indicates the center point of the containing frame, and the center point of the containing frame is used to indicate the actual position of the processing pattern.
[0288] The above two steps are described in detail below.
[0289] In step S1831b, the corresponding containment frame of the processed pattern is determined based on the size of the processed pattern, and the coordinate information of the center point of the containment frame is obtained. In one embodiment of the present application, the coordinate information of the center point of the containment frame can be the coordinate information of the center point of the containment frame in the light source coordinate system, or the coordinate information of the center point of the containment frame in the target page coordinate system. For example, when the containment frame is rectangular, the coordinate information of the center point of the containment frame in the target page coordinate system is obtained with the intersection of the diagonals of the containment frame as the center point.
[0290] In step S1832b, when the user directly obtains the coordinate information of the center point of the containing frame in the light source coordinate system, the light source is driven to move according to the coordinate information of the center point of the containing frame in the light source coordinate system, so that the light spot formed by the light beam emitted by the light source moves to the center point of the containing frame in the light source coordinate system. This indicates the area on the processing object where the processing pattern will be processed, that is, the actual location.
[0291] In another embodiment of the present application, when the coordinate information of the center point of the containing frame in the target page coordinate system is obtained in step S1831b, it is necessary to obtain the coordinate information of the center of the containing frame in the light source coordinate system based on the mapping relationship between the light source coordinate system and the target page coordinate system, and then drive the light source to make the light spot formed by the light beam emitted by the light source move according to the coordinate information of the center of the containing frame in the light source coordinate system, so that the position of the light spot is the same as the coordinate information of the center of the containing frame, that is, reaches the position of the center of the containing frame in the light source coordinate system, to indicate which area on the processing object the processing pattern will be processed to, that is, the actual position.
[0292] In an embodiment of the present application, by displaying the center point of the containing frame corresponding to the processing pattern on the processing object or the plane where the processing object is located, the user can know the position where the processing pattern will be processed. If not satisfied, adjustments can be made, thereby reducing the error rate of processing alignment of the processing pattern.
[0293] The above content is mainly used to solve the problem of inaccurate alignment of the processing object when processing the processing object. However, since the light source in the present disclosure includes a processing light source (laser emitting light source) and an alignment light source (visible light emitting light source), considering that 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 a reference for the processing position, 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 instructions for the processing light source.
[0294] In order to further improve the accuracy of alignment, the method may also include: establishing an error compensation formula, and using the error compensation formula to correct the position information of the reference point, so that the processing spot and the alignment spot always coincide with each other, so that the user can directly complete the processing alignment according to the reference point and the mapping point, while ensuring the accuracy of the processing alignment, it provides convenience for user operation.
[0295] In this disclosure, a computer numerical control (CNC) machine is a processing device, and a light source is mounted on a laser head of the processing device. The laser head of the processing device can be used for processing alignment and, based on this, laser processing. The laser head is equipped with a combination of a laser light source and a visible light source. Please refer to Figure 29, which shows a hardware schematic diagram of a CNC machine according to one embodiment of the present application. In one embodiment, as shown in Figure 29, the CNC machine 2910 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.
[0296] 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 a carbon dioxide laser tube, and then pass through the reflector 10, etc. to enter the beam output device, and finally pass through the light source 50 and then be emitted to process the workpiece. The light source can emit laser, but it is not limited to laser.
[0297] 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 is reflected, focused, etc. and emitted to process the workpiece.
[0298] In one embodiment, the housing of the laser CNC machine 100, namely, the upper housing 90 and the bottom housing 70 shown in FIG29 , together enclose an interior space for accommodating workpieces. The upper housing 90 and the bottom housing 70 may be detachably or fixedly connected, or they may be integrally formed. In one embodiment, the upper housing 90 is further provided with a rotatable cover, which an operator can open or close to access the interior space for inserting or removing workpieces.
[0299] 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 overflowing during operation and causing personal injury to the operator.
[0300] For example, in one embodiment, a track assembly and a frame may be provided within the interior space, with the light source 50 mounted on the track assembly. The track assembly may be mounted on the frame and movable thereon. The track assembly may be an X- and Y-axis guide rail. The X- and Y-axis guide rails may be linear guide rails or guide rails in which an optical axis and rollers slide together. They only need to be able to drive the light source 50 to move along the X and Y axes for processing. A Z-axis movable track may also be provided within the light source 50 for movement along the Z axis for focusing before and / or during processing.
[0301] Please refer to Figure 30, which shows a schematic diagram of a processing light source and an alignment light source according to an embodiment of the present application. When using the alignment light spot 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. In the case where 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 where the processing light spot and the alignment light spot indicate the same position. In actual operation, due to the different thicknesses 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 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.
[0302] This embodiment performs error compensation on the alignment spot to obtain alignment spot position information that is identical to the processing spot position information, so that the alignment spot position information can be directly used as a reference when performing subsequent processing alignment on the object to be processed.
[0303] Specifically, please refer to Figure 31, which shows a flow chart of constructing an error compensation formula according to an embodiment of the present application. The embodiment of the present application provides steps for constructing an error compensation formula, including:
[0304] Step S3110, obtaining the light source distance between the laser emitting light source and the visible light emitting light source;
[0305] Step S3120: 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;
[0306] Step S3130: 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;
[0307] Step S3140, 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.
[0308] The above four steps are described in detail below.
[0309] Since the distance between the processing light source and the alignment light source, as well as the tilt 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.
[0310] In step S3110, specifically, please refer to Figure 32, which shows a schematic diagram of a non-overlapping processing light spot and an alignment light spot according to an embodiment of the present application. 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 during the calibration of the processing equipment, and point H is the alignment light spot during the calibration of the processing equipment. 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.
[0311] The distance between the alignment light source and the processing light source is the light source distance. The light source distance can be determined using a distance sensor between the two. Alternatively, the light source distance can be determined based on user input. The light source distance is also represented by line segment AB in Figure 32.
[0312] In step S3120, any plane parallel to the light source is used as the spot plane. The machining spot and the alignment spot are illuminated on the spot plane, and the distance between the two spots is obtained as the spot distance. This is represented by line segment GH in Figure 32. After the spot plane is determined, the distance between the spot plane and the light source plane is obtained as the plane distance. This is represented by line segment AG or CH in Figure 32.
[0313] In step S3130, any plane parallel to the spot plane is taken as the calibration plane. It should be noted that the calibration plane and the spot plane do not overlap, as shown by the plane DF in Figure 32. The distance between the calibration plane and the plane where the spot is located is obtained as the calibration distance, as shown by line segments DG or EH in Figure 32.
[0314] In step S3140, according to FIG32 , 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.
[0315] It is known that the lengths of line segments AB, GH, and AG are invariants of the processing equipment's current posture. Since the calibration distance varies depending on the processing object, line segments DG or AD, and CE or EH are used as the calibration distances and serve as independent variables. DF is the dependent variable. Based on this information, an error compensation formula is constructed. Once this formula is constructed, error compensation can be determined solely based on the calibration distances, allowing adjustments to the alignment spot.
[0316] (1) BC = AB-GH, EH = AG-AD.
[0317] (2) According to the similarity between triangle EFH and triangle CBH, EF / BC=EH / CH, which leads to EF=(BC×EH) / CH.
[0318] (3)DF=DE+EF, because DE=GH, so DF=GH+EF.
[0319] 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.
[0320] The length of line segment DF can be calculated 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.
[0321] Please refer to FIG33 , which shows a schematic diagram of a process for compensating for an alignment spot error according to an embodiment of the present application. The present application embodiment provides a method for compensating for an alignment spot error, including:
[0322] Step S3310: 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;
[0323] Step S3320: If the calibration plane and the spot plane do not coincide with each other, the calibration distance is obtained, and an error compensation value is obtained based on the calibration distance;
[0324] Step S3330: Adjust the position information of the initial reference point according to the error compensation value to obtain the position information of the corresponding reference point.
[0325] The above three steps are described in detail below.
[0326] In step S3310, the initial reference point is located using the alignment spot as a reference, and the position information of the initial reference point is obtained. Specifically, in this embodiment of the present application, the initial reference point is determined using the alignment spot displayed on the object as a reference. Considering that the machining spot and the alignment spot may not overlap on the plane currently being aligned, a coordinate point referenced by the alignment spot is determined as the initial reference point, and the position information of the initial reference point is determined.
[0327] In step S3320, if the calibration plane does not coincide with the spot plane, it indicates that the error compensation is calculated, and thus the calibration distance is obtained and substituted into the error compensation formula to obtain the error compensation value.
[0328] 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.
[0329] In step S3330, 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. Finally, the position information of the corresponding reference point is directly determined based on the corrected position information of the alignment spot.
[0330] It should be clarified 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 starting auxiliary point, and the initial second reference point is the uncompensated version of the mapping point. That is, in the embodiment of the present application, whether obtaining the starting auxiliary point or the mapping point, it is necessary to first obtain the corresponding initial reference point (that is, the initial first reference point or the initial second reference point), and then calculate the error compensation value to obtain the corresponding reference point (starting auxiliary point or mapping point). In this way, the position information of the starting auxiliary point and the mapping point is consistent with the position information of the processing spot.
[0331] 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 redefine the calibration distance. Then, when processing any processing object, it can be guaranteed 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.
[0332] 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 starting auxiliary point and the mapping point, while ensuring the accuracy of the processing alignment, it provides convenience for user operation.
[0333] It's important to clarify that the reference point used for alignment is first located by driving the light source so that it emits a beam that hits the starting auxiliary point, forming a light spot at the starting auxiliary point. The starting auxiliary point's position is then determined based on the light spot's position. A reference point is a point selected on the object being processed or on the surface it rests on. It can be the starting point for processing or any other point on the object. It provides a reference for placement of the processing pattern.
[0334] It should be understood that in one embodiment of the present application, the light source may be a laser light source. The laser head forms a light spot by emitting a light beam, which is used to mark the irradiation position of the light beam. The light source may also be another light source configured separately to emit a light beam to form a light spot during machining alignment. The "machining surface" may be a flat surface or a curved surface, without limitation herein.
[0335] It should be further clarified that in another embodiment of the present application, 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 starting auxiliary point. In addition, the light source can also be moved by the user dragging, which is not limited here. The instruction information is generated by the user's operation action initiated by the host computer composed of the control panel of the processing equipment or the terminal device.
[0336] The present application further provides a computer numerical control machine, which may be a laser processing device configured to process a processing material. The computer numerical control machine includes:
[0337] A movable head and a light-emitting assembly. The movable head is configured to move to process the surface of the workpiece and to emit a positioning light spot. The movable head may include a laser head, a knife cutting head, a plasma cutting head, a water gun head, a drill head, a pen head, etc., without limitation. The movable head is used to move to process the surface of the workpiece and is slidably disposed on a slide rail.
[0338] A communication component is configured to receive a processing file, which may be a GCode file or any other file format, and is generated based on the processing area obtained by the above method; and is configured to receive a signal corresponding to the actual position;
[0339] The controller controls the movable head to process the processing material based on the processing file, and controls the light-emitting component to emit light to indicate the actual position based on the signal corresponding to the actual position.
[0340] The present application also provides a computing system comprising at least one computer numerically controlled machine and at least one processor;
[0341] The processor is configured to execute the above method. The processor may be a processor of a host computer or a processor built into a computer numerical control machine, and is not limited here.
[0342] The computer numerical control machine transmits electromagnetic energy to a processing material disposed inside the computer numerical control machine based on the processing area obtained by the processor; and
[0343] Electromagnetic energy is transmitted to a processing object disposed inside a computer numerical control machine based on the realized position of the processing pattern.
[0344] Please refer to Figure 34. According to an embodiment of the present application, a measuring device for a processing area is provided as shown in Figure 34. The measuring device for a processing area includes a measurement point acquisition module 3410, a processing area determination module 3420, and a processing area display module 3430.
[0345] The measurement point acquisition module 3410 is configured to acquire the coordinates of at least one measurement point, where the coordinates of the measurement point correspond to a target position on the surface of the processed material.
[0346] The processing area determination module 3420 is configured to determine the processing area according to the coordinates of at least one measurement point.
[0347] The processing area display module 3430 is configured to control the target page to display the processing area.
[0348] It should be noted that the measuring device for the processing area provided in the above embodiment and the measuring method for the processing area provided in the above embodiment belong to the same concept, and the specific manner in which each module and unit performs operations has been described in detail in the method embodiment and will not be repeated here.
[0349] In an exemplary embodiment, the processing area measurement method of the embodiment of the present application can be implemented by the processing area measurement device of Figure 35. The processing area measurement device according to the embodiment of the present application is described below with reference to Figure 35. The processing area measurement device shown in Figure 35 is merely an example and should not limit the functionality and scope of use of the embodiment of the present application.
[0350] As shown in FIG35 , the measuring equipment in the processing area is represented in the form of a general-purpose computing device.
[0351] The components of the measuring device of the processing area may include but are not limited to: the above-mentioned at least one processing unit 3510, the above-mentioned at least one storage unit 3520, and a bus 3530 connecting different system components (including the storage unit 3520 and the processing unit 3510).
[0352] The storage unit stores program code, which can be executed by the processing unit 3510, so that the processing unit 3510 performs the steps described in the description of the exemplary method according to various exemplary embodiments of the present disclosure. For example, the processing unit 3510 can perform the steps shown in Figures 2 and 18.
[0353] The storage unit 3520 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 35201 and / or a cache memory unit 35202 , and may further include a read-only memory unit (ROM) 35203 .
[0354] The storage unit 3520 may also include a program / utility 35204 having a set (at least one) of program modules 35205, such program modules 35205 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.
[0355] Bus 3530 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.
[0356] The process area measurement device can also communicate with one or more external devices 3500 (e.g., a keyboard, pointing device, Bluetooth device, etc.), one or more devices that enable a user to interact with the process area measurement device, and / or any device that enables the process area measurement device to communicate with one or more other computing devices (e.g., a router, modem, etc.). Such communication can occur via an input / output (I / O) interface 3550. Furthermore, the process area measurement device can also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network such as the Internet) via a network adapter 3560. As shown, the network adapter 3560 communicates with other modules of the process area measurement device via a bus 3530. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in conjunction with the process area measurement 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.
[0357] Through the description of the above embodiments, it is easy for those skilled in the art to understand that the example embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the embodiments 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 embodiments of the present application.
[0358] Through the description of the above embodiments, it is easy for those skilled in the art to understand that the example embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure 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 embodiments of the present disclosure.
[0359] In an exemplary embodiment of the present disclosure, a computer-readable storage 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 caused to execute the method described in the above method embodiment.
[0360] According to one embodiment of the present disclosure, a program product for implementing the method in the above method embodiment is also provided. The program product may be a portable compact disc read-only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present disclosure is not limited thereto. In this document, a readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
[0361] The program product may be implemented in 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 component, or any combination thereof. More specific examples (a 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 thereof.
[0362] A computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A readable signal medium may also be any readable medium other than a readable storage medium that can transmit, propagate, or transfer a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0363] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0364] Program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, and the like, as well as 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 standalone 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 via 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., via the Internet using an Internet service provider).
[0365] It should be noted that although several modules or units of the device for action execution are mentioned in the detailed description above, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be concretized in one module or unit. Conversely, the features and functions of one module or unit described above can also be divided into multiple modules or units to be concretized.
[0366] Furthermore, although the steps of the method of the present disclosure are described in a particular order in the accompanying drawings, this does not require or imply that the steps must be performed in this particular order, or that all 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.
[0367] Through the description of the above embodiments, it is easy for those skilled in the art to understand that the example embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure 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 embodiments of the present disclosure.
[0368] Other embodiments of the present disclosure will readily occur to those skilled in the art after considering the specification and practicing the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only, with the true scope and spirit of the present disclosure being indicated by the appended claims.
Claims
1. A method for measuring a processing area, the method comprising: Acquire at least one measuring point coordinate, wherein the measuring point coordinate corresponds to a target position on the surface of the processed material; determining a processing area according to the coordinates of the at least one measurement point; The control target page displays the processing area.
2. The method according to claim 1, wherein: Before acquiring at least one measuring point coordinate, wherein the measuring point coordinate corresponds to a target position on the surface of the processed material, the method further includes: driving a movable head in a computer numerical control machine to move, wherein the movable head is configured to move to process the surface of the processing material and to emit a positioning light spot; The positioning light spot is aligned with the target position on the surface of the processed material.
3. The method according to claim 1, wherein: The step of determining the processing area according to the coordinates of the at least one measuring point comprises: Determine at least one line segment according to the coordinates of two or more measurement points; The processing area is determined according to the at least one line segment.
4. The method according to claim 3, wherein: The step of determining at least one line segment according to the coordinates of two or more measurement points includes: Determine a first vertex and a second vertex according to the first measurement point and the second measurement point; The first vertex is connected to the first measuring point and the second measuring point respectively, and the second vertex is connected to the first measuring point and the second measuring point respectively.
5. The method according to claim 4, wherein: The step of determining the first vertex and the second vertex according to the first measurement point and the second measurement point comprises: Determine the smallest abscissa of the first measuring point and the second measuring point as the abscissa of the first vertex, and determine the largest abscissa as the abscissa of the second vertex; The smallest ordinate of the first measuring point and the second measuring point is determined as the ordinate of the first vertex, and the largest ordinate is determined as the ordinate of the second vertex.
6. The method according to claim 3, wherein: The step of determining at least one line segment according to the coordinates of two or more measurement points includes: Storing the coordinates of the measuring points via a storage queue; According to the order in which the coordinates of the measuring points enter the storage queue, the two or more measuring points are connected in sequence to obtain at least one line segment.
7. The method according to claim 3 or 6, wherein: The line segment includes a straight line segment and / or a curved line segment.
8. The method according to claim 1, wherein: The control target page displays the processing area, including: Setting a coordinate system on the target page to obtain a coordinate range of the processing area under the coordinate system; A mark is added to the target page to distinguish the processing area from the target page.
9. The method according to claim 1, wherein: The obtaining of at least one measurement point coordinate comprises: According to the first operation instruction, the coordinates of the measuring point corresponding to the first operation instruction are deleted.
10. The method according to claim 1, wherein: The obtaining of at least one measurement point coordinate comprises: According to the second operation instruction, at least one new measurement point coordinate is obtained.
11. The method according to claim 1, wherein: The processing area includes two or more than two processing areas, and the determining the processing area according to the coordinates of the at least one measuring point includes: Determine a first processing area according to the coordinates of at least one of the measurement points; Displaying the first processing area on a preview page; Determine a second processing area according to the coordinates of at least one of the measurement points; The second processing area is displayed on the preview page.
12. The method according to claim 11, wherein: The control target page displays the processing area, including: According to the relative positional relationship between the first processing area and the second processing area on the preview page, an area corresponding to the first processing area and an area corresponding to the second processing area are displayed on the target page.
13. The method according to claim 11, wherein: The preview page is suspended on the target page, the brightness of the preview page is not lower than the brightness of the target page, the preview page includes a first display area and / or a second display area, the first display area displays at least one graphic, the graphic corresponds to the shape of the area that the user intends to process, and the second display area displays at least one marking point, which is a point in the preview page corresponding to the coordinates of the measurement point according to a coordinate mapping relationship.
14. The method according to claim 1, wherein: The method is applied to a computer numerical control machine or an intelligent device connected to the computer numerical control machine in communication, wherein the computer numerical control machine comprises a movable head, wherein the movable head comprises a processing part and a positioning part, wherein the processing part and the positioning part are respectively installed at different positions of the movable head, and the method further comprises: Determine a first moving area corresponding to the workpiece and a second moving area corresponding to the positioning member according to the movable range of the movable head; determining a restricted area on the target page according to the first moving area and the second moving area; When the processing area overlaps with the restricted area, corresponding prompt information is generated.
15. The method according to any one of claims 1 to 14, wherein: After the control target page displays the processing area, it also includes: Determine the starting auxiliary point position of the processing pattern; Drawing mapping points on the target page according to the position of the starting auxiliary point to obtain the distribution of the mapping points on the target page, wherein the distribution of the mapping points on the target page is configured to indicate the placement of a processing pattern; According to the relative position relationship between the mapping point and the processing pattern, the actual position of the processing pattern is indicated.
16. The method according to claim 15, wherein: The step of determining the position of the starting auxiliary point of the processing pattern comprises: Extracting the moving distance of the light source to obtain the position information of the light source; The position of the starting auxiliary point is obtained according to the light source position information.
17. The method according to claim 16, wherein: The step of obtaining the position of the starting auxiliary point according to the light source position information includes: According to the light source position information, synchronously displaying the position where the light spot is mapped to the target page; In response to the target instruction, the starting auxiliary point position is determined.
18. The method according to claim 15, wherein: The mapping points include secondary mapping points, and after drawing the mapping points on the target page according to the positions of the starting auxiliary points and obtaining the distribution of the mapping points on the target page, the method further includes: Driving the light source to irradiate to any point other than the starting auxiliary point, wherein the any point other than the starting auxiliary point is a secondary auxiliary point; The mapping point synchronously displayed on the target page by the secondary auxiliary point is drawn, the mapping point corresponding to the secondary auxiliary point is the secondary mapping point, and the mapping point is configured to obtain a target page with more than two mapping points distributed thereon.
19. The method according to claim 18, wherein: The mapping point corresponding to the starting auxiliary point is the starting mapping point, and the mapping points include the starting mapping point. After drawing the mapping point synchronously displayed on the target page by the secondary auxiliary point, the method further includes: Taking the initial mapping point as a starting point, a mapping line segment is drawn toward any of the secondary mapping points, and the mapping line segment formed by the mapping points distributed on the target page is configured to indicate the placement of the processing pattern.
20. The method according to claim 19, wherein: After drawing a mapping line segment from the initial mapping point to any of the secondary mapping points, the method further includes: Draw a rectangle with the mapped line segment as a diagonal line; In response to the user's manipulation action, the processing pattern is placed in the rectangle.
21. The method according to claim 18, wherein: After drawing the mapping point where the secondary auxiliary point is synchronously displayed on the target page, the method further includes: Two or more of the mapping points are connected to form a mapping graph with a mapping line segment formed by connecting the mapping points as a graph component. The mapping graph formed by the mapping points distributed on the target page is configured to place the processing pattern.
22. The method according to claim 15, 18 or 19, wherein: After drawing the mapping points on the target page according to the positions of the starting auxiliary points and obtaining the distribution of the mapping points on the target page, the method further includes: Counting the number of the mapping points; When the number of the mapping points exceeds a preset number threshold, the mapping points that are in the previous order are deleted according to the formation time of the mapping points.
23. The method according to claim 15, wherein: The indicating the actual position of the processing pattern according to the relative position relationship between the mapping point and the processing pattern comprises: Acquire coordinate information of a containing frame corresponding to the processing pattern; According to the coordinate information of the containing frame, a light spot formed by a light beam emitted by a light source traverses each side of the containing frame to indicate the actual position of the processing pattern.
24. The method according to claim 15, wherein: The indicating the actual position of the processing pattern according to the relative position relationship between the mapping point and the processing pattern comprises: Obtaining coordinate information of a center point of a containing frame corresponding to the processing pattern; According to the coordinate information of the center point of the containing frame, a light spot formed by a light beam emitted by a light source indicates the center point of the containing frame, and the center point of the containing frame is configured to indicate a realized position of the processing pattern.
25. The method according to any one of claims 16 to 24, wherein: The light source includes a laser emitting light source and a visible light emitting light source.
26. The method according to claim 25, wherein: 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 determining the position of the starting auxiliary point of the processing pattern, 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.
27. The method according to claim 26, wherein: The light spot formed by the light beam emitted by the light source is a registration light spot. Before indicating the actual position of the processing pattern according to the relative position relationship between the mapping point and the processing pattern, the method further includes: Using the alignment light spot as a reference, locating the position of the initial reference point, and obtaining the position 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 of the initial reference point is adjusted according to the error compensation value to obtain the position of the corresponding reference point.
28. The method according to claim 27, wherein: After locating the position of the initial reference point by taking the alignment light spot as a reference and obtaining the position 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 to adjust the position of the initial reference point to obtain the position of the corresponding reference point.
29. A computer numerically controlled machine, comprising: Removable head and light emitting assembly; A communication component, the communication component being configured to receive a processing file, the processing file being generated according to the processing area obtained by the method according to any one of claims 1-14; and being configured to receive a signal corresponding to the actual position obtained by the method according to any one of claims 15-28; a controller, the controller controlling the movable head to process a processing material based on the processing file; and Based on the signal corresponding to the realized position, the light emitting component is controlled to emit light to indicate the realized position.
30. A computing system comprising at least one computer numerically controlled machine and at least one processor; The processor is configured to perform the method according to any one of claims 1 to 28; The computer numerical control machine transmits electromagnetic energy to a processing material arranged inside the computer numerical control machine based on the processing area obtained by the processor; and Electromagnetic energy is transmitted to a processing object disposed inside the computer numerical control machine based on the realized position of the processing pattern.
31. A computer-readable storage medium having computer-readable instructions stored thereon, which, when executed by a processor of a computer, causes the computer to execute the method of any one of claims 1-28.
Citation Information
Patent Citations
Laser processing machine
CN104174989A
Laser processing control method and device and laser processing equipment
CN113290313A
Auxiliary positioning method and device and computer readable storage medium
CN113744336A
Machining alignment implementation method, numerical control machine, system and readable storage medium
CN117784712A
Measurement method of machining area, computer numerical control machine, calculation system and medium
CN118106634A