Numerical control machining equipment and control method thereof
By using linear array image sensors and light guide components for image scanning in CNC processing equipment, the distortion problem in complex surface processing is solved, the accuracy of position detection and processing precision are improved, and processing efficiency is improved.
Patent Information
- Application Number
- CN202411257923.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-09
- Publication Date
- 2024-10-22
AI Technical Summary
When existing CNC processing equipment processes complex profiles, the image captured by the camera is easily distorted due to height differences, which affects the accuracy of position detection and the accuracy of subsequent processing.
Line array image sensors are used in conjunction with light guide components, and image scanning is achieved through image acquisition components and motion devices to ensure the verticality of the optical path, reduce imaging distortion, and improve the accuracy of position detection.
It improves the accuracy of position detection of the components to be processed on the bearing platform, avoids the tediousness of subsequent operations, and improves processing accuracy and efficiency.
Smart Images

Figure CN118808955A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of numerical control machining, and in particular to numerical control machining equipment and a control method thereof. Background Art
[0002] For CNC processing equipment such as laser engraving and cutting machines, it is particularly important to obtain the position of the parts to be processed in the processing coordinate system.
[0003] Please refer to Figure 1 , Figure 1 It is a schematic diagram of CNC machining equipment in related technology.
[0004] like Figure 1 As shown, in the related art, the CNC machining equipment may include a carrier 1' and a camera 2', wherein the camera 2' uses an area array image sensor, which is fixed above the carrier 1' and is used to photograph the carrier 1' and the machining component A', so as to identify the position of the component A' to be processed. However, if the structure of the component A' to be processed is relatively complex, for example, the upper surface is a complex surface with ups and downs, the captured image obtained by the camera 2' may be severely distorted due to the obvious height difference, thereby affecting the accuracy of the position detection, and further affecting the accuracy of the subsequent processing of the component A' to be processed.
[0005] Therefore, how to provide a solution to overcome or alleviate the above-mentioned defects is a technical problem that needs to be solved urgently by those skilled in the art. Summary of the invention
[0006] The object of the present invention is to provide a CNC machining equipment and a control method thereof, wherein the CNC machining equipment adopts a linear array image sensor in conjunction with an adjustment device for image scanning, and the linear array image sensor is equipped with a light-guiding component, which can improve the accuracy of position detection of the parts to be processed on the carrier platform, and is beneficial to the subsequent improvement of machining accuracy and machining efficiency.
[0007] In order to solve the above technical problems, the present invention provides a numerical control processing equipment, including a carrier, a processing tool, an image acquisition component and a motion device, wherein the image acquisition component includes a linear array image sensor and a light guide component; the carrier is used to carry a part to be processed, the processing tool is used to process the part to be processed, the motion device is installed on the carrier, and the linear array image sensor includes a plurality of photosensitive elements linearly arranged along a first direction; the motion device is connected to the image acquisition component and is configured to drive the image acquisition component to move at least along a second direction to scan the carrier and the part to be processed placed on the carrier, the second direction is arranged at an angle to the first direction, and the first direction and the second direction are both parallel to the table surface of the carrier; the light guide component is arranged on the side of the linear array image sensor facing the part to be processed, the light guide component is used to guide light to the linear array image sensor, the light guide component is configured with a plurality of light guide channels, the extension direction of the light guide channels is perpendicular to the table surface, and each of the light guide channels is arranged corresponding to at least one of the photosensitive elements.
[0008] In the above scheme, the embodiment of the present invention chooses to use an image acquisition component in combination with a motion device for image scanning. The linear array image sensor has a better optical path verticality. In the process of scanning a complex surface with ups and downs, it can overcome the distortion problem to a large extent, and thus improve the accuracy of the position detection of the part to be processed on the carrier. This has a positive significance for ensuring the precise mapping of the subsequent scanning coordinate system and the processing coordinate system, and can largely avoid the tedious operation of the subsequent user to repeatedly align or move the part to be processed, which is conducive to improving the processing accuracy and processing efficiency. In addition, the above-mentioned linear array image sensor is also equipped with a light guide component, and the light guide component is configured with multiple light guide channels to cooperate with each photosensitive element for use. In this way, the direction of the optical path can be better guaranteed, and the interference between each acquisition optical path can be reduced. The field of view angle of a single photosensitive element is small to reduce imaging distortion. For points at different heights on the part to be processed, a clearer image can be obtained, which can ensure the accuracy and restoration of the detection.
[0009] Furthermore, since the above-mentioned image acquisition component realizes scanning during the movement, the scans performed before and after a single movement basically do not interfere with each other, which can improve the accuracy of the scanning.
[0010] Optionally, the number of the light guiding channels is consistent with the number of the photosensitive elements, and each of the light guiding channels and each of the photosensitive elements are arranged in a one-to-one correspondence.
[0011] Optionally, the light guiding component further includes a lens module arranged in each of the light guiding channels.
[0012] Optionally, the lens module includes a collimating lens and a focusing lens, and the collimating lens is closer to the linear array image sensor than the focusing lens.
[0013] Optionally, a scanning light source is further included, and the scanning light source is used to project a supplementary light beam to the carrier platform.
[0014] Optionally, the motion device includes a first adjusting component and a second adjusting component, the first adjusting component is connected to the second adjusting component, the image acquisition component is arranged on the first adjusting component or the second adjusting component, the first adjusting component is configured to drive the image acquisition component to move along the second direction, and the second adjusting component is configured to drive the image acquisition component to move along the first direction.
[0015] Optionally, the motion device also includes a third adjusting component, which is movably connected to the first adjusting component or the second adjusting component, and the image acquisition component is arranged on the first adjusting component, the second adjusting component, or the third adjusting component, and the third adjusting component is configured to drive the image acquisition component to move along a third direction, and the third direction is set at an angle to the table top.
[0016] Optionally, the first direction and the second direction are perpendicular to each other; and / or, the processing tool is mounted on the motion device.
[0017] The present invention also provides a control method for CNC machining equipment, and the CNC machining equipment is the above-mentioned CNC machining equipment. The control method includes: after the part to be processed is placed on the table top of the carrier table, the motion device is controlled to drive the image acquisition component to move, and the image acquisition component is synchronously controlled to capture multiple images of the scanned object to obtain a scanned image of the scanned object, and the scanned object includes the table top and the part to be processed located on the table top.
[0018] Optionally, the steps of controlling the motion device to drive the image acquisition component to move, and synchronously controlling the image acquisition component to acquire multiple images of the scanned object to obtain a scanned image of the scanned object include: acquiring a scanning trajectory; controlling the motion device to drive the linear array image sensor to move along the scanning trajectory, and sequentially acquiring local scanned images of the scanned object at each position of the scanning trajectory through the linear array image sensor; and splicing the local scanned images to acquire the scanned image.
[0019] Optionally, acquiring the scanning trajectory includes: acquiring a first scanning size L1 of the linear array image sensor in the first direction and a first size L2 of the table in the first direction; if L2>L1, dividing the scanned object into N scanning areas along the first direction according to the first scanning size L1 and the first size L2, N>1, in each of the scanning areas, two adjacent scanning areas in the first direction are just joined or partially overlapped, the combination of the N scanning areas can cover the scanned object, and the size of each scanning area in the first direction is less than or equal to L1; generating a scanning trajectory according to the N scanning areas, the scanning trajectory includes N intra-domain scanning trajectories and N-1 inter-domain switching trajectories, each of the intra-domain scanning trajectories extends along the second direction, and each of the intra-domain scanning trajectories corresponds to each of the scanning areas one by one, and two adjacent intra-domain scanning trajectories in the first direction are connected by one of the inter-domain switching trajectories. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 It is a schematic diagram of CNC machining equipment in the related technology;
[0021] Figure 2 A simplified structural diagram of the numerical control processing equipment provided by the present invention;
[0022] Figure 3 for Figure 2 A top view of
[0023] Figure 4 is a relative position diagram of the linear array image sensor and the light guide component;
[0024] Figure 5 is a schematic diagram of a scanning process of a linear array image sensor;
[0025] Figure 6 A flow chart of a control method for a numerical control machining device provided by the present invention;
[0026] Figure 7 for Figure 6 A flowchart of an implementation method of step S200;
[0027] Figure 8 for Figure 6 A flowchart of an implementation method of step S210 in FIG.
[0028] Figure 1 The reference numerals in the figures are described as follows:
[0029] 1′ carrier, 2′ camera, A′ part to be processed;
[0030] Figure 2-Figure 5 The reference numerals in the figures are described as follows:
[0031] 1 load-bearing platform, 11 tables;
[0032] 2 linear array image sensors, 21 photosensitive elements;
[0033] 3 motion device, 31 first adjusting component, 311 first driving component, 312 first guide rail beam, 32 second adjusting component, 321 second driving component, 322 second guide rail beam, 33 third adjusting component, 331 third driving component, 332 third guide rail beam;
[0034] 4 light guide component, 41 light guide channel, 42 lens module, 421 collimating lens, 422 focusing lens;
[0035] 5. Scanning light source;
[0036] A is the part to be processed, S1 is the first area, S2 is the second area, and S3 is the third area. DETAILED DESCRIPTION
[0037] In order to enable those skilled in the art to better understand the technical solution of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments.
[0038] In the description of the embodiments of the present invention, the terms "first", "second", and "third" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first", "second", and "third" may explicitly or implicitly include one or more of the features.
[0039] In the description of the embodiments of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected" and "connected" should be understood in a broad sense. For example, "connection" can be a detachable connection or a non-detachable connection; it can be a direct connection or an indirect connection through an intermediate medium.
[0040] In the description of the embodiments of the present invention, the term "plurality" refers to two or more than two. Moreover, when "plurality" is used to indicate the number of different components, it does not indicate the relationship between these components in terms of quantity.
[0041] In the description of the embodiments of the present invention, the terms "comprises", "includes" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.
[0042] In the embodiments of the present invention, "and / or" is only a description of the association relationship of the associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0043] In the description of the embodiments of the present invention, "vertical" means substantially vertical, and "parallel" means substantially parallel, and a certain error is allowed for both.
[0044] Please refer to Figure 2-Figure 5 , Figure 2 This is a simplified structural diagram of the numerical control processing equipment provided by the present invention. Figure 3 for Figure 2 A top view of Figure 4 is the relative position diagram of the linear array image sensor and the light guide component, Figure 5 Schematic diagram of the scanning process of the linear array image sensor.
[0045] like Figure 2 and Figure 3 As shown, the present invention provides a CNC processing equipment, such as a laser engraving and cutting machine, a laser welding machine, a knife cutter, a 3D printer, etc., including a carrier 1, an image acquisition component, a motion device 3 and a processing tool (not shown). Among them, the image acquisition component includes a linear array image sensor 2 and a light guide component 4.
[0046] The support table 1 has a table top 11, which can be used to support the part A to be processed. The specific type of the part A to be processed is not limited here. In some implementations, the part A to be processed can be placed directly on the table top 11. In other implementations, the table top 11 can also be provided with positioning components such as limit blocks, clamps, and adsorption components that can position the part A to be processed, which can reduce the possibility of displacement of the part A to be processed during use and improve the processing accuracy.
[0047] The linear array image sensor 2 can acquire a line image. It should be understood that the "line" here actually has a certain width. The extension direction of this line is also the extension direction of the linear array image sensor 2. In the embodiment of the present invention, this scanning direction is also referred to as the first direction. The linear array image sensor 2 may include a plurality of photosensitive elements 21, each of which is linearly arranged along the first direction, and each of which is used to receive a light signal and convert it into an electrical signal.
[0048] Each photosensitive element 21 has a collection light path, combined with Figure 2 , the optical axis of the collection light path can be perpendicular to the table 11, so that the component A to be processed and the table 11 can be scanned from a top-down perspective, so that the position of the component A to be processed on the table 11 can be obtained based on the image scanned and collected by the linear array image sensor, so as to facilitate subsequent processing of the component A by a processing tool, such as engraving, cutting, etc. In the embodiment of the present invention, the table 11 and the component A to be processed located on the table 11 form a scanned object.
[0049] The light guide component 4 may be located on the side of the linear array image sensor 2 facing the part A to be processed, and the light guide component 4 is used to guide the light reflected by the scanned object to the linear array image sensor 2. The light guide component 4 may include a plurality of light guide channels 41, and the extension direction of each light guide channel 41 is perpendicular to the table 11, that is, the center line of each light guide channel 41 is parallel to the optical axis of each photosensitive element 21, and each light guide channel 41 is arranged corresponding to one or more photosensitive elements 21. In this way, the direction of the light path can be better guaranteed to reduce imaging distortion, and clearer imaging can be obtained for positions at different heights on the part A to be processed, which can ensure the accuracy and restoration of detection.
[0050] For example, for a component A to be processed that has a color gradient area, if a single-point photographing area array image sensor in the related art is used to acquire an image, different color parts of the color gradient area are prone to mutual interference, which can easily affect the accuracy of the final acquired image. After adopting the embodiment of the present invention, different color parts can be scanned by different photosensitive elements 21, and the collection light paths of different photosensitive elements 21 can be separated to a certain extent by different light guide channels 41 of the light guide component 4, which can reduce the mutual influence between different color parts of the color gradient area, reduce imaging distortion, and the obtained scanned image can be closer to the real information of the component A to be processed, and the restoration accuracy can be higher.
[0051] In practical applications, the number of light guide channels 41 may be less than the number of photosensitive elements 21, and in this case, there is at least one light guide channel 41 corresponding to multiple photosensitive elements 21. Alternatively, the number of light guide channels 41 and the number of photosensitive elements 21 may be consistent, and in this case, each light guide channel 41 and each photosensitive element 21 may be set in one-to-one correspondence, and the optical axis of each photosensitive element 21 coincides with the center line of the light guide channel 41, and the collection light path of each photosensitive element 21 may be limited to the corresponding light guide channel 41, and the field of view of each collection light path may be relatively small, which has a more positive significance for reducing distortion and improving imaging quality.
[0052] The light guide component 4 may also include a lens module 42 disposed in each light guide channel 41. The lens module 42 may be used to collimate, focus, and perform other modulation processing on the light signal reflected by the scanned object, so that the light signal collected by the photosensitive element 21 is more accurate and the image definition is higher. Figure 4 In a specific example, the lens module 42 may include a collimating lens 421 and a focusing lens 422, wherein the collimating lens 421 is closer to the linear array image sensor 2 than the focusing lens 422. The focusing lens 422 may converge the divergent optical signal, and the collimating lens 421 may collimate the optical signal to ensure the verticality of the optical path to a greater extent.
[0053] The motion device 3 is installed on the support platform 1, and the image acquisition component is installed on the motion device 3. The motion device 3 is configured to drive the image acquisition component to move at least along the second direction. The second direction and the first direction are set at an angle. The above angle can be 90 degrees (that is, the first direction and the second direction are perpendicular), or it can be other values. It can be adjusted according to actual use needs. In short, when the motion device 3 drives the image acquisition component to move along the second direction, the image acquisition component can realize the scanning of the part A to be processed and the table 11. Both the first direction and the second direction can be parallel to the table 11 of the support platform 1.
[0054] contrast Figure 1 and Figure 2 It can be seen that the image acquisition component in the embodiment of the present invention adopts a linear array image sensor 2, which has better optical path verticality. In the process of scanning complex surfaces with ups and downs, the distortion problem can be overcome to a large extent, thereby improving the accuracy of position detection of the component A to be processed on the carrier 1, which is of positive significance for ensuring the precise mapping of the subsequent scanning coordinate system and the processing coordinate system, and can largely avoid the tedious operation of the subsequent user to repeatedly align or move the component A to be processed, which is conducive to improving the processing accuracy and processing efficiency.
[0055] The motion device 3 may include a first adjusting component 31, and the first adjusting component 31 is used to achieve displacement of the image acquisition component in the second direction.
[0056] Combination Figure 2 and Figure 3 The first adjustment component 31 may include a first driving member 311 and a first guide rail beam 312. The first guide rail beam 312 may extend along the second direction, and the first guide rail beam 312 may serve as a guide rail. The image acquisition component may be disposed directly or indirectly on the first guide rail beam 312, and the first driving member 311 may be directly or indirectly connected to the image acquisition component to provide a driving force for the image acquisition component, and may drive the linear array image sensor 2 to move directly or indirectly along the first guide rail beam 312. The first guide rail beam 312 may provide guidance to ensure the stability of the sliding of the image acquisition component.
[0057] The embodiment of the present invention does not limit the specific structural form of the first driving member 311. In practical applications, those skilled in the art can make a selection according to specific needs, as long as it can meet the requirements of use. For example, the first driving member 311 can adopt a linear driving element such as a linear cylinder, a linear oil cylinder, etc. that can directly output a linear displacement, which can specifically include a cylinder body and a piston rod. The first driving member 311 can output the driving force of the linear displacement through the piston rod; or the first driving member 311 can also adopt a rotary driving element such as a motor, a rotary cylinder, etc. that can directly output a rotary displacement. In this case, the first driving member 311 can also include a displacement conversion mechanism in the form of a gear rack mechanism, a screw mechanism, a belt mechanism, etc., so as to convert the rotary displacement output by the rotary driving element into the required linear displacement.
[0058] Furthermore, the motion device 3 may also include a second adjustment component 32, which may be configured to drive the image acquisition component to move along the first direction, so as to adjust the relative position of the image acquisition component and the component A to be processed in the first direction, thereby conveniently scanning and detecting the component A to be processed. The first adjustment component 31 is movably connected to the second adjustment component 32, and the image acquisition component is disposed on the first adjustment component 31 or the second adjustment component 32.
[0059] The second adjustment component 32 may also include a second driving member 321 and a second guide rail beam 322. The image acquisition component may be indirectly or directly arranged on the second guide rail beam 322. The second driving member 321 may be directly or indirectly connected to the image acquisition component to provide a driving force for the image acquisition component, and may drive the image acquisition component to move directly or indirectly along the second guide rail beam 322, thereby realizing the position adjustment of the linear array image sensor 2 in the first direction. The second guide rail beam 322 may specifically extend along the first direction and provide a sliding guide in the first direction. The specific structural form of the second driving member 321 can refer to the aforementioned description of the first driving member 311, and no repetitive description is given here.
[0060] Combination Figure 3 , the image acquisition component has a field of view angle, the size of the field of view angle in the first direction is the first scanning size L1, and the size of the table 11 in the first direction is the first size L2. Generally speaking, the first size L2> the first scanning size L1. Under this condition, in order to achieve a comprehensive scan of the scanned object, a scanning trajectory can be pre-prepared. The CNC machining equipment in the embodiment of the present invention may also include a controller (not shown in the figure), and the above-mentioned scanning trajectory may be pre-stored in the controller. The controller and the above-mentioned motion device 3 and the image acquisition component can be communicatively connected to control the start and stop of the motion device 3.
[0061] During the specific scanning, the controller can control the motion device 3 to start, so that the motion device 3 controls the image acquisition component to move along the above-mentioned scanning track; in this process, the image acquisition component can scan the scanned object at various positions of the scanning track in turn, and each scan can obtain a local scanning image, and the image acquisition component can send the obtained local scanning image to the controller. After the image acquisition component traverses the above-mentioned scanning track driven by the motion device 3, the controller can obtain all the local scanning images, and then the controller can splice the local scanning images to finally obtain a complete scanning image of the scanned object.
[0062] The embodiment of the present invention does not limit the moving speed of the image acquisition component driven by the motion device 3. In practical applications, those skilled in the art can determine it in combination with relevant parameters such as the scanning frequency of the image acquisition component, as long as it can ensure a complete scan of the scanned object. Specifically, for the local scan images obtained by two adjacent scans of the image acquisition component, the two can be exactly joined, or the two can have a partial overlap to avoid missing scan parts between two adjacent scans.
[0063] In addition, the embodiment of the present invention does not limit the specific trajectory route of the above-mentioned scanning trajectory. In practical applications, those skilled in the art can set it according to specific needs, etc., as long as it can meet the requirements of use.
[0064] In some optional implementations, the embodiment of the present invention can first partition the scanned object to divide the scanned object into multiple independent scanning areas, and the controller can control the image acquisition component to perform partitioned scanning on each scanning area when driving the motion device 3. That is, one of the scanning areas can be scanned first, and after the scanning area is completely scanned, other scanning areas can be scanned until all scanning areas are scanned.
[0065] At this time, the scanning trajectory may include an intra-domain scanning trajectory within each scanning area and an inter-domain switching trajectory for switching between different scanning areas.
[0066] In a specific example, combining Figure 3 , the scanned object can be divided into N scanning areas in the first direction, N>1, the size of each scanning area in the first direction is less than or equal to L1, and two adjacent scanning areas in the first direction can be exactly connected or partially overlapped. In short, the combination of N scanning areas should be able to achieve full coverage of the object to be processed. In this example, the intra-domain scanning trajectory extends along the second direction. Figure 3 That is, from left to right or from right to left, the inter-domain switching track extends along the first direction. Figure 3 Middle means from top to bottom or from bottom to top.
[0067] It should be understood that the size of the above N value may be related to the size of L2 and L1. Specifically, if L2 is an integer multiple of L1, then L2 / L1=N can be directly taken; if L2 / L1 is not an integer value, then L2 / L1 can be processed according to the truncation method to retain the integer part of the quotient obtained by L2 / L1, and then 1 is added to obtain the above N value. In the field of mathematics, the operation symbol of the truncation method is (), so N=(L2 / L1)+1. For example, when L2 / L1=1.5, the decimal part 0.5 can be removed after the truncation method, and then 1 is added, that is, N=2. In other words, performing two scans can basically achieve a complete scan of the component A to be processed.
[0068] In a more specific example, assuming N=3, combined with Figure 5, the three scanning areas from top to bottom can be named as the first area S1, the second area S2 and the third area S3 respectively, the image acquisition component can start scanning from the left side of the first area S1, then the scanning track includes 3 intra-domain scanning tracks and 2 inter-domain switching tracks; the intra-domain scanning track in the first area S1 extends from left to right, the image acquisition component can scan successively along the intra-domain scanning track, and each scan can obtain a local scanning image, until the entire first area S1 is traversed along the intra-domain scanning track to complete the entire scan of the first area S1, for example, the first area S1 is divided into multiple acquisition positions from left to right, and each acquisition position is controlled to control the linear array image sensor to acquire an image, and then move to the next acquisition position, and then acquire another image, until it reaches The last acquisition position; the first inter-domain switching trajectory is located on the right side of the table 11, so that the intra-domain scanning trajectory in the second area S2 extends from right to left, and the image acquisition component can scan successively along the intra-domain scanning trajectory, and each scan can obtain a local scanning image, until the entire second area S2 is traversed along the intra-domain scanning trajectory to complete the entire scan of the second area S2; the second inter-domain switching trajectory is located on the left side of the table 11, so that the intra-domain scanning trajectory in the second area S2 extends from left to right, and the image acquisition component can scan successively along the intra-domain scanning trajectory, and each scan can obtain a local scanning image, until the entire third area S3 is traversed along the intra-domain scanning trajectory to complete the entire scan of the third area S3.
[0069] When the controller stitches and acquires the scanned image, it may stitch each local scan image obtained by the image acquisition component. Alternatively, it may stitch each local scan image of each scanning area first to obtain a regional scan image of each scanning area, and then stitch the regional scan images of each scanning area. The specific stitching method may refer to the relevant technology and is not limited here. For example, each local scan image may be stitched based on the coordinate information when each local scan image is collected or based on the feature point binding of each local scan image collected, thereby achieving a higher image stitching quality.
[0070] It should be understood that in some other implementations of the present invention, the scanning area can also be divided along the second direction. In this implementation, the second scanning size L3 of the image acquisition component in the second direction and the second size L4 of the table 11 in the second direction can be obtained first, and then the number of scanning areas is determined based on L4 / L3; at this time, the scanning trajectory in the domain is along the first direction ( Figure 3 The inter-domain switching trajectory extends along the second direction ( Figure 3 in the left and right directions).
[0071] In addition, when the image acquisition component moves along the inter-domain switching track, the main purpose is to move the image acquisition component from one scanning area to another scanning area. Therefore, in this process, the linear array image sensor 2 may not perform the scanning and photographing task to reduce the number of layout scanning images it obtains, and thus reduce the workload of subsequent stitching. Of course, in the process of moving along the inter-domain switching track, the image acquisition component may also perform scanning and photographing normally, which is also feasible.
[0072] In fact, the first size L2 may also be smaller than or equal to the first scanning size L1. Figure 3 In this implementation, the image acquisition component is directly controlled to move from left to right or from right to left, so that the scanning and photographing of the scanned object can be completed at one time.
[0073] Furthermore, the motion device 3 may also include a third adjustment component 33, which may be configured to drive the image acquisition component to move along the third direction. The third direction and the table 11 may be set at an angle, which may be, for example, 90 degrees, or other angle values. Under the action of the third adjustment component 33, the image acquisition component may move in the third direction, and the relative position of the image acquisition component and the part A to be processed in the third direction may be adjusted, and the installation height of the line image acquisition component may be changed. In this way, the image acquisition component may be prevented from interfering with or colliding with the part A to be processed when scanning along the second direction to a large extent, thereby preventing the image acquisition component and the part A to be processed from being damaged by collision.
[0074] The first adjusting component 31 is movably connected to the second adjusting component 32, the third adjusting component 33 is movably connected to the second adjusting component 32 or the first adjusting component 31, and the image acquisition component is disposed on the first adjusting component 31, the second adjusting component 32 or the third adjusting component 33. It can be understood that the image acquisition component can be indirectly disposed on another component through one of the first adjusting component 31, the second adjusting component 32 and the third adjusting component 33, and then indirectly disposed on the third component.
[0075] The third adjustment component 33 may also include a third driving member 331 and a third guide rail beam 332 extending along a third direction. The third driving member 331 may be directly or indirectly connected to the image acquisition component to provide a driving force for the image acquisition component, and may drive the image acquisition component to move directly or indirectly along the third guide rail beam 332, thereby achieving position adjustment of the image acquisition component in the third direction. The third guide rail beam 332 may specifically extend along the third direction and provide a sliding guide in the third direction. The specific structural form of the third driving member 331 may refer to the aforementioned description of the first driving member 311, and no repetitive description is given here.
[0076] In addition, the embodiment of the present invention does not limit the connection relationship between the first guide rail beam 312, the second guide rail beam 322 and the third guide rail beam 332. In practical applications, those skilled in the art can make adjustments according to specific needs as long as the position movement of the image acquisition component in three directions can be satisfied.
[0077] In a specific example, Figure 2 and Figure 3 As shown, the number of the first guide rail beams 312 can be two, and the two first guide rail beams 312 can be respectively arranged on both sides of the support platform 1 in the first direction, the number of the third guide rail beams 332 can also be two, and the two third guide rail beams 332 can be respectively installed on the two first guide rail beams 312, and a second guide rail beam 322 can be arranged between the two third guide rail beams 332, and the image acquisition component is arranged on the second guide rail beam 322. At this time, the second adjustment component 32 is equivalent to being installed on the third adjustment component 33, and the third adjustment component 33 is equivalent to being installed on the first adjustment component 31, and the first driving member 311 is used to drive the third guide rail beam 332 to move along the first guide rail beam 312, and the third driving member 331 is used to drive the second guide rail beam 322 to move along the third guide rail beam 332. In another specific example, the number of the first guide beams 312 can be two, the number of the second guide beam 322 and the third guide beam 332 can be one, the two first guide beams 312 can be respectively arranged on both sides of the supporting platform 1 in the first direction, the two ends of the second guide beam 322 are slidably connected to the two first guide beams 312, the third guide beam 332 is slidably arranged on the second guide beam 322, and the image acquisition component is arranged on the third guide beam 332.
[0078] In some optional implementations, the CNC machining equipment may also be provided with a scanning light source 5, which is used to project a supplementary light beam to the carrier 1 to increase brightness, thereby improving the quality of image acquisition. The scanning light source 5 may be located at the periphery of the image acquisition component to make the light beam collected by the image acquisition component more uniform, and of course, it may also be located at other positions. The scanning light source 5 may also be connected to the motion device 3 and can move with the image acquisition component.
[0079] In the embodiment of the present invention, the specific type of the processing tool is related to the specific type of the CNC processing equipment in the embodiment of the present invention, and is not limited here. For example, when the CNC processing equipment in the embodiment of the present invention is a laser engraving and cutting machine, the processing tool can be a laser head, a knife cutting head, etc., which can be directly configured on the aforementioned motion device 3 so as to adjust the position under the drive of the motion device 3, or it can also be configured with an independent position adjustment component, as long as it can meet the use needs of its position adjustment.
[0080] Please refer to Figure 6-Figure 8, Figure 6 This is a flow chart of the control method of the numerical control processing equipment provided by the present invention. Figure 7 for Figure 6 A flowchart of an implementation method of step S200 is shown in FIG. Figure 8 for Figure 6 A flowchart of an implementation method of step S210 in FIG.
[0081] like Figure 6 As shown, the present invention further provides a control method for a CNC machining device, which is applicable to the CNC machining devices involved in the aforementioned implementations. The control method may include the following scanning step S200.
[0082] In the preparation step S100 , a component A to be processed is placed on the carrier 1 .
[0083] The process of moving the component A to be processed into the carrier 1 can be completed by manual operation or by automated equipment such as a robot, which is not limited here.
[0084] Scanning step S200, controlling the motion device to drive the image acquisition component to move, synchronously controlling the image acquisition component to acquire multiple images of the scanned object to obtain a scanned image of the scanned object. In the embodiment of the present invention, the scanned object includes a table 11 and a part A to be processed located on the table 11.
[0085] Since the image acquisition component has better optical path verticality, the above control method can overcome the distortion problem to a large extent, and can improve the accuracy of position detection of the component A to be processed on the carrier 1, which is beneficial to ensure the processing accuracy and efficiency of the component A to be processed during subsequent operations.
[0086] As mentioned above, when executing the above scanning step S200, scanning can be performed according to the scanning trajectory. In this way, the above step S200 may include: an acquisition step S210, acquiring the scanning trajectory; a shift scanning step S220, controlling the motion device 3 to drive the image acquisition component to move along the scanning trajectory, and sequentially acquiring local scanning images of the scanned object at each position of the scanning trajectory through the image acquisition component; and a splicing step S230, splicing each local scanning image to obtain a scanned image.
[0087] In the process of executing the above-mentioned shift scanning step S220, the moving speed of the motion device 3 can be adjusted in combination with the scanning frequency of the image acquisition component, so that the local scanning images obtained by two adjacent scans of the image acquisition component can be exactly connected, or there can be local overlap to avoid missing scanning parts between two adjacent scans.
[0088] In some optional implementations, the acquisition step S210 may include: an acquisition sub-step S211, acquiring a first scanning size L1 of the image acquisition component in the first direction and a first size L2 of the table 11 in the first direction, wherein L2>L1; a partitioning step S212, dividing the scanned object into N scanning areas along the first direction according to the first scanning size L1 and the first size L2, wherein N>1, in each scanning area, two adjacent scanning areas in the first direction are just joined or partially overlapped, the combination of the N scanning areas can cover the scanned object, and the size of each scanning area in the first direction is less than or equal to L1; a trajectory formulation step S213, generating a scanning trajectory according to the N scanning areas, the scanning trajectory including N intra-domain scanning trajectories and N-1 inter-domain switching trajectories, each intra-domain scanning trajectory extending along the second direction, and each intra-domain scanning trajectory corresponding to each scanning area one by one, and two adjacent intra-domain scanning trajectories in the first direction are connected by an inter-domain switching trajectory. The method for acquiring the N value refers to the above-mentioned related description, and no repetitive description is given here.
[0089] In this way, the image acquisition component can complete the successive scanning of each scanning area along the scanning track within each domain. After the scanning of a scanning area is completed, the image acquisition component can switch between different scanning areas along the corresponding inter-domain switching track.
[0090] It should be understood that in some other implementations of the present invention, the division of the scanning area may also be along the second direction. In this implementation, the second scanning size L3 of the image acquisition component in the second direction and the size L4 of the table 11 in the second direction may be obtained first, and then the number of scanning areas may be determined based on L4 / L3; the scanning trajectory within the domain is along the first direction ( Figure 3 The inter-domain switching trajectory extends along the second direction ( Figure 3 in the left and right directions).
[0091] In view of the implementation method of partitioning the object to be processed to obtain the scanning trajectory adopted in the above-mentioned acquisition step S210, two different schemes can be adopted when stitching the local scan images in the stitching step S230: first, each local scan image obtained by the image acquisition component can be stitched; second, each local scan image of each scanning area can be stitched first to obtain the regional scan image of each scanning area, and then the regional scan images of each scanning area can be stitched. Specifically, each local scan image can be stitched based on the coordinate information when each local scan image is collected or based on the feature point binding of each local scan image itself, so as to achieve a higher image stitching quality.
[0092] In addition, the first size L2 may also be smaller than or equal to the first scanning size L1. In this case, the execution process of step S200 may be relatively simple. Figure 3 , it is only necessary to control the image acquisition component to move from left to right or from right to left, so that the scanning and photographing of the scanned object can be completed at one time without executing steps S210 to S230.
[0093] After obtaining the complete scanned image, the position of the part to be processed in the table 11 in the scanned image can be calculated, and then the position of the part to be processed in the table 11 in the actual scene can be known to complete the position recognition of the part to be processed. In this way, the part to be processed can be accurately processed by the processing tool.
[0094] In addition, after obtaining the complete scanned image, a bird's-eye view restoration including the image of the bed and the object to be processed can be generated in the host computer to determine the reasonable layout of the processing task based on the bird's-eye view restoration.
[0095] The above are only preferred embodiments of the present invention. It should be pointed out that, for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A CNC machining equipment, It is characterized in that It includes a carrying platform, a processing tool, an image acquisition component and a motion device, wherein the image acquisition component includes a linear array image sensor and a light guide component; The carrier is used to carry the part to be processed, the moving device is installed on the carrier, the processing tool is used to process the part to be processed, and the linear array image sensor includes a plurality of photosensitive elements linearly arranged along a first direction; The motion device is connected to the image acquisition component and is configured to drive the image acquisition component to move at least along a second direction to scan the carrier and the workpiece to be processed placed on the carrier, the second direction is set at an angle to the first direction, and the first direction and the second direction are both parallel to the table surface of the carrier; The light guiding component is arranged on the side of the linear array image sensor facing the part to be processed, and is used to guide the light reflected by the supporting platform and the part to be processed to the linear array image sensor. The light guiding component is configured with a plurality of light guiding channels, and the extension direction of the light guiding channels is perpendicular to the table surface, and each of the light guiding channels corresponds to at least one of the photosensitive elements.
2. The CNC machining equipment according to claim 1, It is characterized in that The number of the light-guiding channels is consistent with the number of the photosensitive elements, and each of the light-guiding channels and each of the photosensitive elements are arranged in a one-to-one correspondence.
3. The numerical control processing equipment according to claim 2, It is characterized in that The light guide component further includes a lens module disposed in each of the light guide channels. The lens module includes a collimating lens and a focusing lens. The collimating lens is closer to the linear array image sensor than the focusing lens.
4. The numerical control processing equipment according to claim 1, It is characterized in that It also includes a scanning light source, which is used to project a supplementary light beam to the supporting platform.
5. The numerical control processing equipment according to any one of claims 1 to 4, It is characterized in that The motion device includes a first adjusting component and a second adjusting component, the first adjusting component is connected to the second adjusting component, the image acquisition component is arranged on the first adjusting component or the second adjusting component, the first adjusting component is configured to drive the image acquisition component to move along the second direction, and the second adjusting component is configured to drive the image acquisition component to move along the first direction.
6. The numerical control processing equipment according to claim 5, It is characterized in that The motion device also includes a third adjusting component, which is movably connected to the first adjusting component or the second adjusting component. The image acquisition component is arranged on the first adjusting component, the second adjusting component, or the third adjusting component. The third adjusting component is configured to drive the image acquisition component to move along a third direction, and the third direction is arranged at an angle to the table top.
7. The numerical control processing equipment according to any one of claims 1 to 4, It is characterized in that The first direction and the second direction are perpendicular; and / or, The processing tool is mounted on the moving device.
8. A control method for numerical control machining equipment, It is characterized in that The CNC machining equipment is the CNC machining equipment according to any one of claims 1 to 7, and the control method comprises: After the part to be processed is placed on the table top of the supporting platform, the motion device is controlled to drive the image acquisition component to move, and the image acquisition component is synchronously controlled to capture multiple images of the scanned object to obtain a scanned image of the scanned object, wherein the scanned object includes the table top and the part to be processed located on the table top.
9. The control method of numerical control machining equipment according to claim 8, It is characterized in that The step of controlling the motion device to drive the image acquisition component to move, and synchronously controlling the image acquisition component to acquire multiple images of the scanned object to obtain the scanned image of the scanned object includes: Get scanning trajectory; Controlling the motion device to drive the image acquisition component to move along the scanning trajectory, and sequentially acquiring a local scanned image of the scanned object at each position of the scanning trajectory through the image acquisition component; The local scanned images are stitched together to obtain the scanned image.
10. The control method of numerical control machining equipment according to claim 9, It is characterized in that The obtaining of the scanning trajectory comprises: Acquire a first scanning size L1 of the image acquisition component in the first direction and a first size L2 of the table in the first direction; If L2>L1, the scanned object is divided into N scanning areas along the first direction according to the first scanning size L1 and the first size L2, N>1, in each of the scanning areas, two adjacent scanning areas in the first direction are just joined or partially overlapped, the combination of the N scanning areas covers the scanned object, and the size of each scanning area in the first direction is less than or equal to L1; The scanning trajectory is generated according to the N scanning areas, and the scanning trajectory includes N intra-domain scanning trajectories and N-1 inter-domain switching trajectories, each of the intra-domain scanning trajectories extends along the second direction, and each of the intra-domain scanning trajectories corresponds to each of the scanning areas one by one, and two adjacent intra-domain scanning trajectories in the first direction are connected by one of the inter-domain switching trajectories.
Citation Information
Patent Citations
Image read device
CN101228779A
Visual inspection laser processing system, control method thereof and storage medium
CN116329734A
Laser control method and laser processing equipment
CN116833550A
Contact linear array camera and detection system
CN209961222U
Numerical control machining equipment
CN223129661U
