Tree-ring assisted grinding device based on image analysis
A three-dimensional coordinate system for tree ring observation surfaces is constructed using image analysis and automated control modules. Combined with image recognition modules to identify tree species, automated grinding of tree ring observation surfaces is achieved, solving the problems of rough and unclear tree ring observation surfaces and improving observation accuracy and processing efficiency.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SHANXI AGRI UNIV
- Filing Date
- 2023-03-17
- Publication Date
- 2026-04-17
AI Technical Summary
In existing technologies, the rough and unclear observation surfaces of tree rings result in low observation accuracy, affecting the precision of tree ring analysis.
A tree ring-assisted grinding device based on image analysis is used. Through an automated control module and an image analysis module, a three-dimensional coordinate system of the tree ring observation surface is constructed to determine the grinding trajectory and realize the automated operation of polishing and leveling. Combined with the image recognition module, the tree species are identified and the grinding parameters are obtained to control the polishing and leveling process.
The automated grinding process for tree ring observation surfaces has been achieved, improving the clarity and accuracy of the observation surfaces, avoiding unnecessary damage, and improving the efficiency and effectiveness of the grinding process.
Smart Images

Figure CN116237845B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of tree ring sample processing technology, and in particular to a tree ring-assisted grinding device based on image analysis. Background Technology
[0002] Tree rings faithfully record the natural history of a tree's growing region. Obtaining complete and clear tree rings is extremely important for dendrochronological research. Different individuals of the same tree species within the same climatic zone exhibit similar patterns in the width of their tree rings during the same period. Obtaining the width characteristics of the tree rings of the tree being tested makes each tree ring sample incredibly valuable. However, during the collection of tree ring samples, the quality of the samples significantly affects the observation results. A common method is to manually polish the tree rings to remove the parts that affect the observation results. However, the force applied during the polishing process can damage the tree ring samples to varying degrees, even causing serious consequences such as destruction.
[0003] Chinese Patent Publication No. CN114677365A discloses a high-precision tree ring analysis method and system, comprising: constructing a tree ring image acquisition device to obtain a set of clear tree ring images with overlapping areas; accurately stitching the tree ring image set to obtain a high-resolution complete tree ring image; extracting the tree ring edges of the complete tree ring image based on an optimized Canny edge detection method; drawing line segments from the pith that intersect with the tree ring edges, obtaining the intersection point positions through sub-pixel level corner detection, and analyzing the radial width characteristics of the tree rings; obtaining the tree ring width index sequence based on the radial width characteristics, comparing it with existing tree ring chronologies, and determining the growth year of the tree rings. Although this method compensates for the deficiencies of hardware equipment through software algorithms and improves the accuracy of tree ring measurement, providing technical support for tree ring analysis and the dating of ancient architectural wooden components and ancient wooden artifacts, the improvement in the accuracy of tree ring observation achieved through image recognition still depends on the clarity and smoothness of the tree ring observation surface.
[0004] Therefore, the aforementioned high-precision tree-ring analysis method and system have the following problems:
[0005] The essence of using software algorithms to compensate for the unclear tree ring observation surface is to improve the on-machine observation quality of tree ring sample observation surfaces. Although the software system improves the accuracy of tree ring measurement, the roughness and clarity of the tree ring sample observation surface are still important factors affecting the system's judgment of the accuracy of tree ring measurement. Summary of the Invention
[0006] To address this issue, the present invention provides a tree ring-assisted grinding device based on image analysis, which overcomes the problem of rough and unclear tree ring observation surfaces affecting the accuracy of observation in the prior art.
[0007] To achieve the above objectives, the present invention provides a tree ring-assisted grinding device based on image analysis, comprising:
[0008] The bracket includes a base, a support rod disposed on the base, and a first upper plate and a second upper plate disposed on the support rod at a position away from the base and parallel to the base.
[0009] Image acquisition device, used to acquire images of the observation surface of annual ring samples;
[0010] A ranging device is used to obtain the distance between the observation surface of the tree ring sample and the ranging device.
[0011] The detection device controller, which is located on the first upper plate of the bracket, is used to drive the image acquisition device and the distance measuring device to detect the tree ring observation surface along a predetermined trajectory.
[0012] A grinding device, comprising a first connecting rod, a polishing head mounted on the first connecting rod, a second connecting rod, and a flattening head mounted on the second connecting rod;
[0013] The grinding controller, which is located on the second upper plate of the bracket, is used to control the polishing head and polishing head of the grinding device to complete the polishing and polishing operations respectively.
[0014] A polishing compound dosage controller is located at the top of the second upper plate. The discharge end of the polishing compound is connected to the polishing head to control the amount of polishing compound used.
[0015] A sample processing workbench includes a sample tray and a sample fixing clip set on the sample tray for placing and fixing tree ring samples;
[0016] A workstation switching device is mounted on the base. The workstation switching device includes a track drive mechanism mounted on the base. The track drive mechanism is connected to the sample processing worktable and is used to provide a first workstation for the sample processing worktable to allow the image acquisition device to acquire images of the observation surface of the annual ring sample, and a second workstation for the sample processing worktable to allow the grinding device to perform leveling or polishing. The first workstation is located below the first upper plate, and the second workstation is located below the second upper plate.
[0017] The image analysis module, which is connected to the image acquisition device, is used to analyze the observation surface images of the annual ring sample;
[0018] An automated control module, which is connected to an image analysis module, includes a first control unit connected to the detection device controller for controlling the detection device controller to perform trajectory movement, and a second control unit connected to the grinding controller for controlling the grinding controller to complete the grinding of the annual ring sample observation surface.
[0019] When grinding the observation surface of the tree ring sample, the image analysis module uses the center point of the tree ring observation surface as the origin of the coordinate system to construct a three-dimensional coordinate system of the tree ring observation surface image. The grinding trajectory coordinates Qai(xi, yi, zi) of the tree ring observation surface image are determined through this three-dimensional coordinate system. After determining the grinding trajectory coordinates of the tree ring observation surface image, the automation control module controls the grinding controller to complete the automated operation of the leveling and polishing process of the tree ring sample observation surface in steps, setting i = 1 to n.
[0020] Furthermore, the image analysis module is also connected to an image recognition module, which includes a species identification unit for identifying the tree species corresponding to the annual ring sample, and a template storage unit connected to the species identification unit for storing annual ring sample templates of different tree species.
[0021] After the image analysis unit determines that a complete annual ring sample observation surface image has been obtained, the image recognition module identifies the tree species through the annual ring sample observation surface image. When identifying tree species, the species identification unit compares the annual ring sample observation surface image with the annual ring sample template data stored in the template storage unit, and determines the identified tree species Pj based on the image similarity Sq, where j = 1 to m, and m is the number of tree species that meet the image similarity.
[0022] Furthermore, the automated control module also includes a parameter storage unit connected to the second control unit for storing grinding parameters of the annual ring sample observation surface for each tree species. The parameter storage unit stores the maximum vibration frequency of the polishing head, polishing processing time, maximum rotation speed of the polishing head, polishing processing time, and abrasive usage coefficient for each tree species. After the first control unit determines that tree species identification is complete, it determines whether manual confirmation is required based on the number of identified tree species. When the second control unit determines that data species identification is complete, it determines the annual ring sample grinding parameters based on the identified tree species.
[0023] If m = 1, the second control unit obtains the grinding parameters for grinding the annual ring observation surface of tree species P1 through the parameter storage unit. These grinding parameters include the maximum vibration frequency of the polishing head VAmax, the polishing processing time VAT, the maximum rotational speed of the polishing head VBmax, the polishing processing time VBt, and the abrasive usage coefficient α. Based on the maximum vibration frequency of the polishing head and the maximum rotational speed of the polishing head, the initial vibration frequency of the polishing head is set to VA and the initial rotational speed of the polishing head is set to VB, respectively.
[0024] If m≥1, the second control unit will hand over the identified tree species to the operator for confirmation.
[0025] Furthermore, the automation control module also includes a data input unit connected to the second control unit for inputting parameter information, which is configured for operator confirmation.
[0026] If the operator determines that none of the tree species are the tree species of the annual ring sample identified by the species identification unit, the second control unit obtains the tree species input by the operator through the data input unit and obtains the grinding parameters of the corresponding tree species through the parameter storage unit.
[0027] If the operator selects one of the tree species Pj as the determined tree species, the second control unit obtains the grinding parameters corresponding to the tree species Pj through the parameter storage unit.
[0028] Furthermore, before grinding the observation surface of the annual ring sample, the second control unit obtains the area S of the annual ring sample through the image analysis module, and calculates the amount of polishing agent As used based on the area of the annual ring sample. As is set to Ps×α, the second control unit uses VB as the rotation speed of the polishing head, As as the amount of polishing agent used, VBt as the polishing time with polishing agent, and Qai(xi, yi, zi) as the polishing trajectory to perform polishing treatment on the observation surface of the annual ring sample with polishing agent.
[0029] Furthermore, the first control unit is provided with a preset roughness height value CH for the annual ring sample observation surface. When the second control unit determines that the polishing process is complete, the first control unit controls the detection device controller to move the annual ring sample observation surface with the grinding trajectory coordinates Qai(xi, yi), thereby obtaining the number n' of coordinate points n' of the polished annual ring sample observation surface that exceed the preset roughness height value CH through the ranging device. Based on the number of coordinate points n' exceeding the preset roughness height value CH and the total number n' of coordinate points n' of all grinding trajectory coordinates Qai, the first roughness PNa of the annual ring sample observation surface is determined. The second control unit compares the first roughness PNa with the preset roughness and determines whether to perform a leveling process on the polished annual ring sample observation surface based on the comparison result. The second control unit is provided with a first preset roughness PN1.
[0030] If PNa≥PN1, the second control unit determines to perform a polishing process on the observation surface of the polished annual ring sample.
[0031] If PNa < PN1, the second control unit determines that it is not necessary to perform a polishing process on the observation surface of the polished annual ring sample.
[0032] Furthermore, the second control unit also presets a second preset roughness PN2, a third preset roughness PN3, a first polishing head vibration frequency adjustment coefficient Kv1, and a second polishing head vibration frequency adjustment coefficient Kv2, wherein PN1 < PN2 < PN3, and is set to 1.1 < Kv1 < Kv2 < 1.2. When the second control unit determines to perform polishing treatment on the observation surface of the polished annual ring sample, it compares the first roughness PNa with the preset roughness to determine whether to adjust the initial polishing head vibration frequency.
[0033] If PN1≤PNa<PN2, the second control unit determines that the vibration frequency of the flathead should not be adjusted;
[0034] If PN2≤PNa<PN3, the second control unit determines to adjust the vibration frequency of the flat-head using the first preset flat-head vibration frequency adjustment coefficient Kv1;
[0035] If PN3≤PNa, the second control unit determines to adjust the vibration frequency of the flat-head using the second preset flat-head vibration frequency adjustment coefficient Kv2;
[0036] If the second control unit determines that the vibration frequency of the flathead is adjusted by the e-th flathead vibration frequency adjustment coefficient Kve, then e is set to 1, 2, and the adjusted flathead vibration frequency is set to VA1, VA1 = VA × Kve.
[0037] Furthermore, after determining that the vibration frequency of the polishing head has been adjusted, the second control unit uses VA or VA1 as the vibration frequency of the polishing head, VAt as the polishing processing time, and Qai(xi, yi, 0) as the polishing trajectory coordinates to polish the observation surface of the annual ring sample. When the second control unit determines that the polishing processing is complete, the first control unit obtains the second roughness PNb of the polished annual ring observation surface, sets PNb, and calculates the roughness difference R between the first roughness PNa and the second roughness PNb, setting R = PNa - PNb. Based on the comparison result of the roughness difference R with the preset roughness difference value, the second control unit determines whether to perform a second polishing on the polished annual ring observation surface. The second control unit has a first preset roughness difference value R1.
[0038] If R > R1, the second control unit determines that a second leveling process is required;
[0039] If R≤R1, the second control unit determines that secondary leveling is not required.
[0040] Furthermore, the second control unit is also provided with a second preset roughness difference value R2, where R1 < R2. When the second control unit determines that a second polishing is required on the annual ring observation surface after the polishing process, it determines whether to readjust the vibration frequency VA1 of the adjusted polishing head based on the comparison result between the roughness difference value R and the preset roughness difference value.
[0041] If R1 < R ≤ R2, the second control unit determines that the vibration frequency of the flat-head will not be adjusted.
[0042] If R > R2, the second control unit determines that the vibration frequency of the flat-head is adjusted using the first flat-head vibration frequency adjustment coefficient Kv1, and sets the adjusted flat-head vibration frequency to VA2.
[0043] VA2 = VA1 × Kv1;
[0044] The second control unit uses VA or VAf as the vibration frequency of the leveling head, VAT as the leveling processing time, and Qai(xi, yi, 0) as the leveling trajectory coordinates to perform secondary leveling processing on the observation surface of the annual ring sample after the leveling processing is completed, and sets f = 1 or 2.
[0045] Furthermore, when the second control unit determines that the polishing process is complete, the image analysis module performs segmentation processing on the annual ring sample image that has completed the polishing process. When performing segmentation processing, the image analysis module determines the number of segment intervals Hm and the interval distance Hl based on the length P1 of the observation surface image of the annual ring sample that has completed the polishing process, and sets Hm = P1 × β and Hl = P1 / Hm.
[0046] When the second control unit determines that the image analysis module has completed the segmentation process, it obtains the pixel Wz of each segment through the image analysis module, and obtains the segment resolution Qz and the average segment resolution Pb based on the pixel Wz of each segment, setting Qz = H l / Wz. z = 1 ~ Hm, where β is the proportionality coefficient;
[0047] The second control unit compares the average resolution of the segment Pb with the preset average resolution of the segment Pb0. If Pb≥Pb0, the second control unit controls the grinding controller to polish the observation surface of the annual ring sample.
[0048] Compared with the prior art, the beneficial effects of the present invention are that the automatic control module and the image analysis module of the present invention exchange data through the automatic control module and the image analysis module. The automatic control module can determine the grinding trajectory coordinates according to the three-dimensional coordinate system of the tree ring observation surface image established by the image analysis module, and complete the automatic operation of the leveling and polishing process of the tree ring sample observation surface step by step according to the trajectory coordinates, thereby realizing the automation of the grinding process before the observation of the tree ring sample observation surface.
[0049] Furthermore, the image recognition module of this invention can interact with the image analysis module to identify the tree species of the annual ring sample based on the preset image similarity. The automatic control module can obtain the grinding parameters of the observation surface of the annual ring sample based on the identified tree species, and adopt different grinding forces and times according to different tree species of annual ring samples, which greatly avoids unnecessary damage to the observation surface of the annual ring sample.
[0050] Furthermore, the automated control module of the present invention, in the second control unit, when the image recognition module identifies multiple tree species in the tree ring sample, hands over the multiple tree species identified by the image recognition module to the operator for further distinction, thereby helping to improve the accuracy of the image recognition module in identifying tree species.
[0051] Furthermore, the second control unit of the automated control module of the present invention obtains the area of the annual ring sample through the image analysis module before grinding the observation surface of the annual ring sample. Combined with the grinding parameters of the observation surface of the annual ring sample, it determines the amount of different abrasives to be used according to different tree annual ring types, and performs polishing treatment on the observation surface of the annual ring sample with abrasive, thereby improving the processing effect of grinding the annual ring sample.
[0052] Furthermore, the first control unit of the automated control module of the present invention has a preset roughness height value for the observation surface of the annual ring sample. When polishing with abrasive is completed, the controller of the detection device obtains the number of coordinates of the observation surface of the polished annual ring sample that exceed the preset roughness height value through a ranging device. The first roughness is obtained by calculating the ratio of the number of coordinates exceeding the preset roughness height value to the total number of coordinates of the grinding trajectory. The roughness is compared with the preset roughness to determine whether to perform a polishing process on the observation surface of the polished annual ring sample, thereby avoiding excessive polishing during the grinding process of the annual ring sample and further reducing unnecessary damage to the observation surface of the annual ring sample.
[0053] Furthermore, the second control unit of the automated control module of the present invention is also preset with a second preset roughness and a third preset roughness. When it is determined that the observation surface of the annual ring sample needs to be polished, the first roughness is compared with the preset roughness to determine whether to adjust the rotation speed of the polishing head. This improves the efficiency of polishing the annual rings and further reduces unnecessary damage to the observation surface of the annual ring sample.
[0054] Furthermore, when the second control unit of the present invention with an automated control module determines that the polishing process is completed, it obtains the second roughness of the polished annual ring observation surface and calculates the difference between the first roughness and the second roughness. The second control unit compares the difference with a first preset difference to determine whether to perform a second polishing on the polished annual ring observation surface. By judging the polishing effect, the polishing effect of the annual ring sample observation surface is ensured.
[0055] Furthermore, the automated control module of the present invention also has a second preset difference value. When it is determined that a second polishing is required, the difference between the calculated first roughness and the second roughness is compared with the preset difference value to determine whether to readjust the vibration frequency of the polishing head after adjustment, thereby further improving the processing efficiency of polishing annual rings.
[0056] Furthermore, the second control unit of the automated control module of the present invention performs segmentation processing on the polished annual ring sample image through the image analysis module. When performing segmentation processing on the polished annual ring sample image, the image analysis module determines the number of segment intervals and the interval distance based on the length of the polished annual ring sample image, and performs segmentation processing on the polished annual ring sample image based on the segment interval distance. The image analysis module obtains the pixels of each segment, and obtains the resolution of each segment and the average resolution of the segment based on the pixels of each segment. The average resolution of the segment is compared with the preset average resolution of the segment to determine whether to polish the observation surface of the annual ring sample, thereby avoiding excessive polishing during the grinding process of the annual ring sample and further reducing unnecessary damage to the observation surface of the annual ring sample. Attached Figure Description
[0057] Figure 1 This is a schematic diagram of the planar structure of a tree ring-assisted grinding device based on image analysis according to the present invention;
[0058] Figure 2 This is a front-view three-dimensional structural diagram of a tree ring-assisted grinding device based on image analysis according to the present invention.
[0059] Figure 3This is a right-view three-dimensional structural diagram of a tree ring-assisted grinding device based on image analysis according to the present invention;
[0060] In each figure, 1-distance measuring device, 2-polishing vertical adjustment rod, 3-abrasive dosage controller, 4-grinding controller, 5-polishing vertical adjustment rod, 6-polishing head, 7-support rod, 8-base, 9-polishing head, 10-sample fixing clamp, 11-sample tray, 12-vertical lifting device, 13-image acquisition device, 14-detection device controller, 15-track drive mechanism. Detailed Implementation
[0061] To make the objectives and advantages of the present invention clearer, the present invention will be further described below with reference to embodiments; it should be understood that the specific embodiments described herein are merely for explaining the present invention and are not intended to limit the present invention.
[0062] Preferred embodiments of the present invention will now be described with reference to the accompanying drawings. Those skilled in the art should understand that these embodiments are merely illustrative of the technical principles of the present invention and are not intended to limit the scope of protection of the present invention.
[0063] It should be noted that in the description of this invention, the terms "upper", "lower", "left", "right", "inner", "outer", etc., which indicate directions or positional relationships, are based on the directions or positional relationships shown in the accompanying drawings. This is only for the convenience of description and is not intended to indicate or imply that the device or element must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, it should not be construed as a limitation of this invention.
[0064] Furthermore, it should be noted that, in the description of this invention, unless otherwise explicitly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection of two components. Those skilled in the art can understand the specific meaning of the above terms in this invention according to the specific circumstances.
[0065] A tree ring-assisted grinding device based on image analysis includes a support frame comprising a base, a support rod mounted on the base, and a first upper plate and a second upper plate mounted on the support rod at a position away from the base and parallel to the base; an image acquisition device for acquiring images of the tree ring sample observation surface; a distance measuring device for obtaining the distance between the tree ring sample observation surface and the distance measuring device; a detection device controller disposed on the first upper plate of the support frame for driving the image acquisition device and the distance measuring device to detect the tree ring observation surface along a predetermined trajectory; and a grinding device comprising a first connecting rod, a polishing head mounted on the first connecting rod, a second connecting rod, and a flattening head mounted on the second connecting rod.
[0066] A grinding controller, located on the second upper plate of the support, controls the polishing head and polishing head of the grinding device to complete the polishing and polishing operations respectively; an abrasive dosage controller, located at the top of the second upper plate, with the abrasive discharge end connected to the polishing head, controls the amount of abrasive used; a sample processing workbench, including a sample tray and a sample fixing clip on the sample tray, is used to place and fix tree ring samples.
[0067] A workstation switching device is mounted on the base. The workstation switching device includes a track drive mechanism mounted on the base. The track drive mechanism is connected to the sample processing worktable and is used to provide a first workstation for the sample processing worktable to allow the image acquisition device to acquire images of the observation surface of the annual ring sample, and a second workstation for the sample processing worktable to allow the grinding device to perform leveling or polishing. The first workstation is located below the first upper plate, and the second workstation is located below the second upper plate.
[0068] The image analysis module, which is connected to the image acquisition device, is used to analyze the observation surface images of the annual ring sample;
[0069] An automated control module, which is connected to an image analysis module, includes a first control unit connected to a detection device controller for controlling the detection device controller to move along a trajectory, and a second control unit connected to a grinding controller for controlling the grinding controller to complete the grinding of the annual ring sample observation surface.
[0070] When grinding the observation surface of the tree ring sample, the image analysis module uses the center point of the tree ring observation surface as the origin of the coordinate system to construct a three-dimensional coordinate system of the tree ring observation surface image. The grinding trajectory coordinates Qai(xi, yi, zi) of the tree ring observation surface image are determined through this three-dimensional coordinate system. After determining the grinding trajectory coordinates of the tree ring observation surface image, the automation control module controls the grinding controller to complete the automated operation of the leveling and polishing process of the tree ring sample observation surface in steps, setting i = 1 to n.
[0071] Specifically, the image analysis module is also connected to an image recognition module, which includes a species identification unit for identifying the tree species corresponding to the tree ring sample, and a template storage unit connected to the species identification unit for storing tree ring sample templates of different tree species.
[0072] After the image analysis unit determines that a complete annual ring sample observation surface image has been obtained, the image recognition module identifies the tree species through the annual ring sample observation surface image. When identifying tree species, the species identification unit compares the annual ring sample observation surface image with the annual ring sample template data stored in the template storage unit, and determines the identified tree species Pj based on the image similarity Sq, where j = 1 to m, and m is the number of tree species that meet the image similarity.
[0073] Specifically, the automation control module also includes a parameter storage unit connected to the second control unit for storing grinding parameters of the observation surfaces of annual ring samples for each tree species. The parameter storage unit stores the maximum vibration frequency of the polishing head, polishing processing time, maximum rotation speed of the polishing head, polishing processing time, and abrasive usage coefficient for each tree species. After the first control unit determines that tree species identification is complete, it determines whether manual confirmation is required based on the number of identified tree species. When the second control unit determines that data species identification is complete, it determines the annual ring sample grinding parameters based on the identified tree species.
[0074] If m = 1, the second control unit obtains the grinding parameters for grinding the annual ring observation surface of tree species P1 through the parameter storage unit. These grinding parameters include the maximum vibration frequency of the polishing head VAmax, the polishing processing time VAT, the maximum rotational speed of the polishing head VBmax, the polishing processing time VBt, and the abrasive usage coefficient α. Based on the maximum vibration frequency of the polishing head and the maximum rotational speed of the polishing head, the initial vibration frequency of the polishing head is set to VA and the initial rotational speed of the polishing head is set to VB, respectively.
[0075] If m≥1, the second control unit will hand over the identified tree species to the operator for confirmation.
[0076] Specifically, the automation control module also includes a data input unit connected to the second control unit for inputting parameter information, which is activated when the operator confirms the input.
[0077] If the operator determines that none of the tree species are the tree species of the annual ring sample identified by the species identification unit, the second control unit obtains the tree species input by the operator through the data input unit and obtains the grinding parameters of the corresponding tree species through the parameter storage unit.
[0078] If the operator selects one of the tree species Pj as the determined tree species, the second control unit obtains the grinding parameters corresponding to the tree species Pj through the parameter storage unit.
[0079] Specifically, before grinding the observation surface of the tree ring sample, the second control unit obtains the area S of the tree ring sample through the image analysis module, and calculates the amount of abrasive used As based on the area of the tree ring sample. As is set as Ps × α, the second control unit uses VB as the rotation speed of the polishing head, As as the amount of abrasive used, VBt as the polishing time with abrasive added, and Qai(xi, yi, zi) as the polishing trajectory to perform abrasive polishing on the observation surface of the tree ring sample.
[0080] Specifically, the first control unit has a preset roughness height value CH for the annual ring sample observation surface. When the second control unit determines that the polishing process is complete, the first control unit controls the detection device controller to move the annual ring sample observation surface with grinding trajectory coordinates Qai(xi, yi). This allows the ranging device to obtain the number n' of coordinate points n' on the polished annual ring sample observation surface that exceed the preset roughness height value CH. Based on the number n' of coordinate points exceeding the preset roughness height value CH and the total number n' of coordinate points on all grinding trajectory coordinates Qai, the first roughness PNa of the annual ring sample observation surface is determined. The second control unit compares the first roughness PNa with a preset roughness and determines whether to perform a leveling process on the polished annual ring sample observation surface based on the comparison result. The second control unit is equipped with a first preset roughness PN1.
[0081] If PNa≥PN1, the second control unit determines to perform a polishing process on the observation surface of the polished annual ring sample.
[0082] If PNa < PN1, the second control unit determines that it is not necessary to perform a polishing process on the observation surface of the polished annual ring sample.
[0083] Specifically, the second control unit also presets a second preset roughness PN2, a third preset roughness PN3, a first polishing head vibration frequency adjustment coefficient Kv1, and a second polishing head vibration frequency adjustment coefficient Kv2, wherein PN1 < PN2 < PN3, and is set to 1.1 < Kv1 < Kv2 < 1.2. When the second control unit determines to perform polishing on the observation surface of the polished annual ring sample, it compares the first roughness PNa with the preset roughness to determine whether to adjust the initial polishing head vibration frequency.
[0084] If PN1≤PNa<PN2, the second control unit determines that the vibration frequency of the flathead should not be adjusted;
[0085] If PN2≤PNa<PN3, the second control unit determines to adjust the vibration frequency of the flat-head using the first preset flat-head vibration frequency adjustment coefficient Kv1;
[0086] If PN3≤PNa, the second control unit determines to adjust the vibration frequency of the flat-head using the second preset flat-head vibration frequency adjustment coefficient Kv2;
[0087] If the second control unit determines that the vibration frequency of the flathead is adjusted by the e-th flathead vibration frequency adjustment coefficient Kve, then e is set to 1, 2, and the adjusted flathead vibration frequency is set to VA1, VA1 = VA × Kve.
[0088] Specifically, after determining that the vibration frequency of the polishing head has been adjusted, the second control unit uses VA or VA1 as the vibration frequency of the polishing head, VAt as the polishing processing time, and Qai(xi, yi, 0) as the polishing trajectory coordinates to polish the observation surface of the annual ring sample. When the second control unit determines that the polishing processing is complete, the first control unit obtains the second roughness PNb of the polished annual ring observation surface, sets PNb, and calculates the roughness difference R between the first roughness PNa and the second roughness PNb, setting R = PNa - PNb. Based on the comparison result of this roughness difference R with a preset roughness difference value, the second control unit determines whether to perform a second polishing on the polished annual ring observation surface. The second control unit has a first preset roughness difference value R1.
[0089] If R > R1, the second control unit determines that a second leveling process is required;
[0090] If R≤R1, the second control unit determines that secondary leveling is not required.
[0091] Specifically, the second control unit is also equipped with a second preset roughness difference value R2, where R1 < R2. When the second control unit determines that a second polishing is needed on the annual ring observation surface after the polishing process, it determines whether to readjust the vibration frequency VA1 of the adjusted polishing head based on the comparison result between the roughness difference value R and the preset roughness difference value.
[0092] If R1 < R ≤ R2, the second control unit determines that the vibration frequency of the flat-head will not be adjusted.
[0093] If R > R2, the second control unit determines that the vibration frequency of the flat-head is adjusted using the first flat-head vibration frequency adjustment coefficient Kv1, and sets the adjusted flat-head vibration frequency as VA2, setting VA2 = VA1.
[0094] ×Kv1;
[0095] The second control unit uses VA or VAf as the vibration frequency of the leveling head, VAT as the leveling processing time, and Qai(xi, yi, 0) as the leveling trajectory coordinates to perform secondary leveling processing on the observation surface of the annual ring sample after the leveling processing is completed, and sets f = 1 or 2.
[0096] Specifically, when the second control unit determines that the polishing process is complete, the image analysis module performs segmentation processing on the image of the annual ring sample that has been polished. When performing segmentation processing, the image analysis module determines the number of segment intervals Hm and the interval distance Hl based on the length Pl of the observation surface image of the annual ring sample that has been polished, and sets Hm = Pl × β and Hl = Pl / Hm.
[0097] When the second control unit determines that the image analysis module has completed the segmentation process, it obtains the pixel Wz of each segment through the image analysis module, and obtains the segment resolution Qz and the average segment resolution Pb based on the pixel Wz of each segment, setting Qz = H l / Wz. z = 1 ~ Hm, where β is the proportionality coefficient;
[0098] The second control unit compares the average resolution of the segment Pb with the preset average resolution of the segment Pb0. If Pb≥Pb0, the second control unit controls the grinding controller to polish the observation surface of the annual ring sample.
[0099] Please see Figure 1-3 , Figure 1 This is a schematic diagram of the planar structure of the tree ring-assisted grinding device based on image analysis implemented in this invention; Figure 2 This is a front-view three-dimensional structural diagram of the tree ring-assisted grinding device based on image analysis implemented in this invention. Figure 3 This is a right-view three-dimensional structural diagram of the tree ring-assisted grinding device based on image analysis implemented in this invention.
[0100] The image analysis-based tree ring assisted grinding equipment includes an operating base 8, which houses an automated control module and a workstation switching device. The automated control module is connected to the workstation switching device. The workstation switching device includes a track drive mechanism 15, which drives a sample processing workbench. The sample processing workbench includes a sample tray 11 and a sample fixing clip 10 mounted on the sample tray. The sample fixing clip 10 can be adjusted to fit the size of the tree ring sample, thereby fixing the tree ring sample. The workstation switching device drives the sample processing workbench, providing a first workstation and a second workstation. The first workstation is used to place the tree ring sample so that the image acquisition device 13 can acquire the observation surface image. The second workstation is used to place the tree ring sample so that the grinding controller can perform grinding processing on the observation surface.
[0101] The operating base 8 is equipped with a detection device controller, which includes a vertical lifting device 12. The bottom end of the vertical lifting device 12 is vertically connected to the middle of the inner side of the first station of the sample processing workbench. The top end of the vertical lifting device 12 is connected to the detection device controller 14. The detection device controller 14 is directionally driven to connect to the image acquisition device 13 and the distance measuring device 1. The image acquisition device 13 is connected to the image processing module, and the distance measuring device 1 is connected to the automation control module, thereby realizing the trajectory-driven image acquisition device 13 and distance measuring device 1.
[0102] The operating base 8 is also connected to a grinding controller. The grinding controller is vertically connected to the middle of the inner side of the second station of the sample processing workbench via a support rod 7. The grinding controller includes a grinding controller 4. The grinding controller 4 is connected to a polishing vertical direction adjustment rod 5 and a polishing vertical direction adjustment rod 2 respectively. The vertical direction adjustment end of the polishing vertical direction adjustment rod 5 is connected to the polishing head 6, and the vertical direction adjustment end of the polishing vertical direction adjustment rod 5 is connected to the polishing head 9. The grinding controller also includes an abrasive dosage controller 3, which is connected to the polishing head 9 and provides a fixed amount of abrasive to the polishing head 9 during polishing.
[0103] Before use, the sample processing workbench is in the first position by default. The operator selects the side of the annual ring sample with better clarity and surface roughness as the observation surface, places the annual ring sample with the observation surface facing up on the sample tray 11, and fixes it with the sample fixing clip 10, thus completing the preparation work for sample grinding.
[0104] When the grinding of the observation surface of the tree ring sample begins, the automatic control module obtains the image of the tree ring sample through the image processing module to identify the tree species of the tree ring sample. Based on the identified tree species, the initial grinding parameters of the tree ring sample are obtained and handed over to the operator for confirmation. After confirmation, the automatic control module adjusts the sample processing workbench to the second station for automatic polishing with abrasive.
[0105] When the automatic control module determines that the automatic polishing process with abrasive is completed, it adjusts the annual ring sample processing worktable back to the first position and obtains the first roughness of the observation surface of the annual ring sample after abrasive treatment through the image processing module. The automatic control module determines whether to perform a polishing process on the observation surface of the annual ring sample based on the roughness. When it is determined that a polishing process is required, it determines whether to adjust the rotation speed of the polishing head based on the roughness. When the adjustment is completed, the automatic control module adjusts the sample processing worktable to the second position and performs a polishing process on the observation surface of the annual ring sample.
[0106] When the automated control module determines that the polishing process is complete, it adjusts the tree ring sample processing workbench back to the first position and obtains the second roughness of the tree ring observation surface after polishing through the image processing module. It then determines whether to perform secondary polishing process on the tree ring sample observation surface based on the difference between the first and second roughness. When it is determined that secondary polishing process is required, it determines whether to adjust the rotation speed of the polishing grinding head based on the roughness. When the adjustment is completed, the automated control module adjusts the sample processing workbench to the second position to perform secondary polishing process on the observation surface of the tree ring sample.
[0107] When the automated control module determines that the final polishing process is complete, it adjusts the annual ring sample processing workbench back to the first position and obtains the average resolution of the observation surface of the annual ring sample after the final polishing process through the image processing module. It then uses the average resolution of the section to determine whether to perform polishing processing on the observation surface of the annual ring sample. When the automated control module determines that polishing processing should be performed on the annual ring sample after the final polishing process, it adjusts the sample processing workbench to the second position and performs polishing processing on the observation surface of the annual ring sample.
[0108] The technical solution of the present invention has been described above with reference to the preferred embodiments shown in the accompanying drawings. However, it will be readily understood by those skilled in the art that the scope of protection of the present invention is obviously not limited to these specific embodiments. Without departing from the principles of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will all fall within the scope of protection of the present invention.
[0109] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A tree ring-assisted grinding device based on image analysis, characterized in that, include; The bracket includes a base, a support rod disposed on the base, and a first upper plate and a second upper plate disposed on the support rod at a position away from the base and parallel to the base. Image acquisition device, used to acquire images of the observation surface of annual ring samples; A ranging device is used to obtain the distance between the observation surface of the tree ring sample and the ranging device. The detection device controller, which is located on the first upper plate of the bracket, is used to drive the image acquisition device and the distance measuring device to detect the tree ring observation surface along a predetermined trajectory. A grinding device, comprising a first connecting rod, a polishing head mounted on the first connecting rod, a second connecting rod, and a flattening head mounted on the second connecting rod; The grinding controller, which is located on the second upper plate of the bracket, is used to control the polishing head and polishing head of the grinding device to complete the polishing and polishing operations respectively. A polishing compound dosage controller is located at the top of the second upper plate. The discharge end of the polishing compound is connected to the polishing head to control the amount of polishing compound used. A sample processing workbench includes a sample tray and a sample fixing clip set on the sample tray for placing and fixing tree ring samples; A workstation switching device is mounted on the base. The workstation switching device includes a track drive mechanism mounted on the base. The track drive mechanism is connected to the sample processing worktable and is used to provide a first workstation for the sample processing worktable to allow the image acquisition device to acquire images of the observation surface of the annual ring sample, and a second workstation for the sample processing worktable to allow the grinding device to perform leveling or polishing. The first workstation is located below the first upper plate, and the second workstation is located below the second upper plate. The image analysis module, which is connected to the image acquisition device, is used to analyze the observation surface images of the annual ring sample; An automated control module, which is connected to an image analysis module, includes a first control unit connected to the detection device controller for controlling the detection device controller to perform trajectory movement, and a second control unit connected to the grinding controller for controlling the grinding controller to complete the grinding of the annual ring sample observation surface. When grinding the observation surface of the tree ring sample, the image analysis module uses the center point of the tree ring observation surface as the origin to construct a three-dimensional coordinate system for the tree ring observation surface image. It then uses this three-dimensional coordinate system to determine the grinding trajectory coordinates Qai (xi, yi, zi) of the tree ring observation surface image. After determining the grinding trajectory coordinates of the tree ring observation surface image, the automation control module controls the grinding controller to complete the automated operation of the leveling and polishing processes of the tree ring sample observation surface in steps, setting i=1~n; The image analysis module is also connected to an image recognition module, which includes a species identification unit for identifying the tree species corresponding to the tree ring sample, and a template storage unit connected to the species identification unit for storing tree ring sample templates of different tree species. After the image processing unit determines that a complete annual ring sample observation surface image has been acquired, the image recognition module identifies the tree species through the annual ring sample observation surface image. During tree species identification, the species identification unit compares the annual ring sample observation surface image with the annual ring sample template stored in the template storage unit, and determines the identified tree species Pj based on the image similarity Sq, where j = 1 to m, and m is the number of tree species that meet the image similarity. The automated control module also includes a parameter storage unit connected to the second control unit for storing grinding parameters of the observation surfaces of annual ring samples for each tree species. The parameter storage unit stores the maximum vibration frequency of the polishing head, polishing processing time, maximum rotation speed of the polishing head, polishing processing time, and abrasive usage coefficient for each tree species. After the first control unit determines that tree species identification is complete, it determines whether manual confirmation is required based on the number of identified tree species. When the second control unit determines that data species identification is complete, it determines the annual ring sample grinding parameters based on the identified tree species. If m=1, the second control unit obtains the grinding parameters for grinding the annual ring observation surface of tree species P1 through the parameter storage unit. These grinding parameters include the maximum vibration frequency of the polishing head VAmax, the polishing processing time VAT, the maximum rotational speed of the polishing head VBmax, the polishing processing time VBt, and the abrasive usage coefficient α. Based on the maximum vibration frequency of the polishing head and the maximum rotational speed of the polishing head, the initial vibration frequency of the polishing head is set to VA and the initial rotational speed of the polishing head is set to VB, respectively. ; If m > 1, the second control unit will hand over the identified tree species to the operator for confirmation.
2. The tree ring-assisted grinding device based on image analysis according to claim 1, characterized in that, The automation control module also includes a data input unit connected to the second control unit for inputting parameter information, which is activated when the operator confirms the input. If the operator determines that none of the tree species are the tree species of the annual ring sample identified by the species identification unit, the second control unit obtains the tree species input by the operator through the data input unit and obtains the grinding parameters of the corresponding tree species through the parameter storage unit. If the operator selects one of the tree species Pj as the determined tree species, the second control unit obtains the grinding parameters corresponding to the tree species Pj through the parameter storage unit.
3. The tree ring-assisted grinding device based on image analysis according to claim 2, characterized in that, Before grinding the observation surface of the annual ring sample, the second control unit obtains the area S of the annual ring sample through the image analysis module, and calculates the amount of polishing agent As used based on the area of the annual ring sample. As is set as Ps × α. The second control unit uses VB as the rotation speed of the polishing head, As as the amount of polishing agent used, VBt as the polishing time with polishing agent, and Qai (xi, yi, zi) as the polishing trajectory to perform polishing treatment on the observation surface of the annual ring sample with polishing agent.
4. The tree ring-assisted grinding device based on image analysis according to claim 3, characterized in that, The first control unit has a preset roughness height value CH for the annual ring sample observation surface. When the second control unit determines that the polishing process is complete, the first control unit controls the detection device controller to move the annual ring sample observation surface with the grinding trajectory coordinates Qai (xi, yi). The distance measuring device then obtains the number n' of coordinate points n' exceeding the preset roughness height value CH on the polished annual ring sample observation surface. Based on the number n' exceeding the preset roughness height value CH and the total number n' of coordinate points Qai, the first roughness PNa of the annual ring sample observation surface is determined. The second control unit compares the first roughness PNa with a preset roughness and determines whether to perform a leveling process on the polished annual ring sample observation surface based on the comparison result. The second control unit is equipped with a first preset roughness PN1. If PNa≥PN1, the second control unit determines to perform a polishing process on the observation surface of the polished annual ring sample. If PNa < PN1, the second control unit determines that it is not necessary to perform a polishing process on the observation surface of the polished annual ring sample.
5. The tree ring-assisted grinding device based on image analysis according to claim 4, characterized in that, The second control unit also presets a second preset roughness PN2, a third preset roughness PN3, a first polishing head vibration frequency adjustment coefficient Kv1, and a second polishing head vibration frequency adjustment coefficient Kv2, wherein PN1 < PN2 < PN3, and is set to 1.1 < Kv1 < Kv2 < 1.
2. When the second control unit determines to perform polishing treatment on the observation surface of the polished annual ring sample, it compares the first roughness PNa with the preset roughness to determine whether to adjust the initial polishing head vibration frequency. If PN1≤PNa<PN2, the second control unit determines that no adjustment is needed; If PN2≤PNa<PN3, the second control unit determines to adjust the vibration frequency of the flat-head using the first preset flat-head vibration frequency adjustment coefficient Kv1; If PN3≤PNa, the second control unit determines to adjust the vibration frequency of the flat-head using the second preset flat-head vibration frequency adjustment coefficient Kv2; If the second control unit determines that the vibration frequency of the flathead is adjusted by the e-th flathead vibration frequency adjustment coefficient Kve, then e is set to 1, 2, and the adjusted flathead vibration frequency is set to VA1, VA1 = VA × Kve.
6. The tree ring-assisted grinding device based on image analysis according to claim 5, characterized in that, After determining that the vibration frequency of the polishing head has been adjusted, the second control unit uses VA or VA1 as the vibration frequency of the polishing head, VAt as the polishing processing time, and Qai(xi, yi, 0) as the polishing trajectory coordinates to polish the observation surface of the annual ring sample. When the second control unit determines that the polishing processing is complete, the first control unit obtains the second roughness PNb of the polished annual ring observation surface, sets PNb, and calculates the roughness difference R between the first roughness PNa and the second roughness PNb, setting R=PNa-PNb. Based on the comparison result of this roughness difference R with a preset roughness difference value, the second control unit determines whether to perform a second polishing on the polished annual ring observation surface. The second control unit has a first preset roughness difference value R1. If R > R1, the second control unit determines that a second leveling process is required; If R≤R1, the second control unit determines that secondary leveling is not required.
7. The tree ring-assisted grinding device based on image analysis according to claim 6, characterized in that, The second control unit is also equipped with a second preset roughness difference value R2, where R1 < R2. When the second control unit determines that a second polishing is required on the annual ring observation surface after the polishing process, it determines whether to readjust the vibration frequency VA1 of the adjusted polishing head based on the comparison result between the roughness difference value R and the preset roughness difference value. If R1 < R ≤ R2, the second control unit determines that the vibration frequency of the flat-head will not be adjusted. If R > R2, the second control unit determines that the vibration frequency of the flat-head is adjusted by the first flat-head vibration frequency adjustment coefficient Kv1, and sets the adjusted flat-head vibration frequency to VA2, setting VA2 = VA1 × Kv1; The second control unit uses VA or VAf as the vibration frequency of the leveling head, VAT as the leveling processing time, and Qai (xi, yi, 0) as the leveling trajectory coordinates to perform secondary leveling processing on the observation surface of the annual ring sample after the leveling processing is completed, and sets f=1 or 2.
8. The tree ring-assisted grinding device based on image analysis according to claim 7, characterized in that, When the second control unit determines that the polishing process is complete, the image analysis module performs segmentation processing on the annual ring sample image that has completed the polishing process. When performing segmentation processing, the image analysis module determines the number of segment intervals Hm and the interval distance Hl based on the length P1 of the observation surface image of the annual ring sample that has completed the polishing process, and sets Hm=P1×β and Hl=P1 / Hm. When the second control unit determines that the image analysis module has completed the segmentation process, it obtains the pixel Wz of each segment through the image analysis module, and obtains the segment resolution Qz and the average segment resolution Pb based on the pixel Wz of each segment, setting Qz=Hl / Wz. z = 1 to Hm, where β is the proportionality constant; The second control unit compares the average resolution of the segment Pb with the preset average resolution of the segment Pb0. If Pb≥Pb0, the second control unit controls the grinding controller to polish the observation surface of the annual ring sample.
Citation Information
Patent Citations
High-precision tree ring analysis method and system
CN114677365A
Steel pipe end excess material machining device based on machine vision
CN115056074A