WO2023240939A1 - Tree inspection method and apparatus and tree inspection device - Google Patents

Tree inspection method and apparatus and tree inspection device Download PDF

Info

Publication number
WO2023240939A1
WO2023240939A1 PCT/CN2022/135881 CN2022135881W WO2023240939A1 WO 2023240939 A1 WO2023240939 A1 WO 2023240939A1 CN 2022135881 W CN2022135881 W CN 2022135881W WO 2023240939 A1 WO2023240939 A1 WO 2023240939A1
Authority
WO
WIPO (PCT)
Prior art keywords
tree
type ultrasonic
chip
patch
modules
Prior art date
Application number
PCT/CN2022/135881
Other languages
French (fr)
Chinese (zh)
Inventor
王进
沈泽昊
施连敏
谷飞
李领治
Original Assignee
苏州大学
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 苏州大学 filed Critical 苏州大学
Publication of WO2023240939A1 publication Critical patent/WO2023240939A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N29/00Investigating or analysing materials by the use of ultrasonic, sonic or infrasonic waves; Visualisation of the interior of objects by transmitting ultrasonic or sonic waves through the object
    • G01N29/04Analysing solids
    • G01N29/07Analysing solids by measuring propagation velocity or propagation time of acoustic waves
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N29/00Investigating or analysing materials by the use of ultrasonic, sonic or infrasonic waves; Visualisation of the interior of objects by transmitting ultrasonic or sonic waves through the object
    • G01N29/04Analysing solids
    • G01N29/06Visualisation of the interior, e.g. acoustic microscopy
    • G01N29/0654Imaging
    • G01N29/069Defect imaging, localisation and sizing using, e.g. time of flight diffraction [TOFD], synthetic aperture focusing technique [SAFT], Amplituden-Laufzeit-Ortskurven [ALOK] technique

Definitions

  • the present invention relates to the technical field of tree protection, and in particular to a tree detection method, device and tree detection equipment.
  • wood has a wide range of uses in people's daily lives and has high economic value.
  • trees as cultural carriers, also have ornamental and cultural value.
  • precious trees have a special history. It has commemorative significance or scientific research value, so it is very necessary to detect the defect rate of wood.
  • the defect rate refers to the degree of defects within the wood. By detecting the defect rate of wood, the immediate state of the wood can be understood.
  • the internal defect image of the tree to be tested is obtained according to the propagation velocity matrix V.
  • the distance matrix D between the chip-type ultrasonic modules is formed according to all di ,j ;
  • the ultrasonic propagation speed v i,j between the i-th chip-type ultrasonic module and the j-th chip-type ultrasonic module is calculated according to the di ,j and the ti ,j . According to all The vi ,j constitute the propagation velocity matrix V between the patch-type ultrasonic modules.
  • the propagation velocity matrix V between the patch-type ultrasonic modules it also includes:
  • the propagation velocity matrix V is processed to eliminate time errors according to the time error matrix O, and the propagation velocity matrix V' after eliminating the time error is obtained;
  • Obtaining the internal defect image of the tree to be tested according to the propagation velocity matrix V includes:
  • the internal defect image of the tree to be tested is obtained according to the propagation velocity matrix V' after eliminating the time error.
  • the time error o i of each of the N chip-type ultrasonic modules is obtained, o i represents the time error at the i-th chip-type ultrasonic module, and forms a time error matrix O, including:
  • the ultrasonic tangential velocity relationship is: Where, di ,j is the distance between the i-th chip-type ultrasonic module and the j-th chip-type ultrasonic module; d r,s is the distance between the r-th chip-type ultrasonic module and the j-th chip-type ultrasonic module.
  • ⁇ i,j is the tangential arc between the i-th chip-type ultrasonic module and the j-th chip-type ultrasonic module
  • k is the speed offset coefficient
  • ⁇ r,s is the tangential arc between the r-th chip-type ultrasonic module and the s-th chip-type ultrasonic module, neither r nor s is greater than N, and k is the speed offset.
  • o i is the time error at the i-th patch ultrasonic module
  • o j is the time error at the j-th patch ultrasonic module
  • o r is the r-th patch ultrasonic module The time error at the module
  • o s is the time error at the sth patch-type ultrasonic module.
  • the method further includes:
  • the method further includes:
  • the method further includes:
  • obtaining the internal defect image of the tree to be tested according to the propagation velocity matrix V includes:
  • a cross-section of the tree to be measured is determined.
  • the speed of v i,j is negatively correlated with the influence range area;
  • the grid corresponding to the influence range area of each v i,j is assigned the speed value of v i,j .
  • the grid is Assign the value to the average value of multiple v i,j ;
  • the grid whose assigned value is lower than the preset value is set as a defect grid, and an internal defect image of the tree to be tested is generated.
  • the present invention also provides a tree detection device, including:
  • a processor configured to execute the computer program to implement the steps of the above tree detection method.
  • the present invention also provides a tree detection equipment, which is characterized in that it includes N patch-type ultrasonic modules and the tree detection device as described above.
  • the invention provides a tree detection method, device and tree detection equipment, which are used in a processor in a tree detection equipment to evenly surround and fit N patch-type ultrasonic modules around the tree to be tested, and obtain N patches
  • the ultrasonic propagation velocity between two ultrasonic modules forms the propagation velocity matrix V between the patch ultrasonic modules. Since there are defects inside the trees, the propagation speed of ultrasonic waves will be affected, so it can be based on the patch ultrasonic module.
  • the propagation velocity matrix V between modules generates the internal defect image of the tree to be measured. It can be seen that in this way, the internal conditions of the tree can be measured more accurately, and the cost of the patch-type ultrasonic module is low, and it will not cause damage to the tree. itself causes damage.
  • Figure 1 is a flow chart of a tree detection method provided by the present invention.
  • Figure 2 is a schematic diagram of ultrasonic velocity distribution provided by the present invention.
  • the core of the present invention is to provide a tree detection method, device and tree detection equipment, which can more accurately measure the internal conditions of the tree without damaging the tree itself, and at a lower cost.
  • Figure 1 is a flow chart of a tree detection method provided by the present invention, which is applied to a processor in a tree detection equipment.
  • the tree detection device also includes N chip-type ultrasonic modules, and N chip-type ultrasonic modules.
  • the module is evenly wrapped around the tree to be tested and used to emit and receive ultrasonic waves.
  • N is an integer not less than 2.
  • the tree detection method includes:
  • the defect image inside the tree to be tested can be obtained.
  • chip-type ultrasonic modules are installed in tree detection equipment.
  • This application uses chip-type ultrasonic modules.
  • the number of ultrasonic modules is not particularly limited and can be set according to actual conditions.
  • the model of the ultrasonic module is AJ-SR04K
  • the accuracy is 10 ⁇ s
  • the model of the ultrasonic probe used is JS1640F2-W
  • the operating frequency is 40 kHz.
  • the distance matrix D between the chip ultrasonic modules is formed
  • the propagation speed matrix V is defined as follows:
  • o i represents the time error of the position of the i-th chip-type ultrasonic module, and form a time error matrix O;
  • the intrusive sensors commonly used in the prior art are replaced with patch-type ultrasonic modules.
  • the The patch-type ultrasonic module cannot fit closely with the trees to be tested, so additional data noise will be generated, which will increase the propagation time of ultrasonic waves and reduce the accuracy of defect detection. Therefore, in actual use, it should also be eliminated
  • the time error caused by the inability of the chip-type ultrasonic module to fit closely with the bark improves the accuracy of detecting the internal conditions of the tree to be measured.
  • the time error o i of the position of each chip-type ultrasonic module is obtained, in When calculating the ultrasonic propagation speed between two chip-type ultrasonic modules, the time error of the two ultrasonic modules can be eliminated by subtracting the time error of each of the two ultrasonic modules from the collected ultrasonic propagation time between the two chip-type ultrasonic modules.
  • the final ultrasonic propagation velocity is obtained to obtain the propagation velocity matrix V' after eliminating the time error, and then the internal defect image of the tree to be tested is obtained based on the propagation velocity matrix V' after the time error is eliminated, which improves the accuracy of the internal defect image.
  • time error o i of each of N chip-type ultrasonic modules o i represents the time error at the i-th chip-type ultrasonic module, and form a time error matrix O, including:
  • the propagation speed of the new ultrasonic wave should satisfy the above relationship, from which the ultrasonic tangential velocity relationship can be obtained:
  • o i , o j , o r , and os are respectively the time errors of the positions of the i-th, j-th, r-th, and s-th patch ultrasonic modules.
  • the time error of the position of each patch ultrasonic module can be obtained.
  • a is generated by superposition calculation of d and c.
  • b i d g,h c e,f t e,f -d e,f c g,h t g,h ;
  • the internal defect image of the tree to be tested according to the propagation velocity matrix V’ it also includes:
  • the result after obtaining the internal defect image of the tree to be tested, the result will be uploaded to a subsystem implemented in the form of a website. According to the internal defect image, the defect rate of the tree to be tested can be obtained.
  • the network map system here can be based on the Spring and Vue frameworks, based on Baidu Map, and display the defect rate of the trees to be tested in real time on the map.
  • the network map system after uploading the location information and defect rate of the tree to be tested to the network map system, and displaying the defect rate of the tree to be tested at the corresponding location mark on the map, it also includes:
  • the defect rate of the trees to be tested is lower than the threshold. If so, the trees to be tested whose defect rate is lower than the threshold are marked on the map.
  • obtaining the internal defect image of the tree to be tested according to the propagation velocity matrix V includes:
  • an influence range area is determined for it in the cross section of the tree to be measured, v i , the speed of j is negatively correlated with the area of influence;
  • FIG. 2 is a schematic diagram of an ultrasonic velocity distribution provided by the present invention. Between each two patch-type ultrasonic modules, one is determined based on the ultrasonic propagation speed between the two patch-type ultrasonic modules.
  • the scope of influence, as shown in Figure 2 is larger on the side closer to the center of the marrow and smaller on the side farther away from the center of the marrow.
  • the formula w+ ⁇ ( ⁇ -v)+ ⁇ determines the width of the influence range, where w is one-eighth of the diameter of the tree, ⁇ is the maximum value in the velocity matrix V, is the minimum value in the velocity matrix V.
  • is also added, where ⁇ is the control coefficient and ⁇ is a Boolean value far away from or close to the center of the pith.
  • is set to 1 at this time, and then it is judged whether the straight-line distance between the i-th patch ultrasonic module and the j-th patch ultrasonic module and the length of the k-th grid is less than or equal to w+ ⁇ ( ⁇ -v)+ ⁇ , if so, it is determined that the k-th grid is affected by the influence range determined by the i-th patch ultrasonic module and the j-th patch ultrasonic module, so the k-th grid
  • the value is assigned to the speed value of v i,j .
  • the k-th grid is affected by the influence range determined by multiple v i,j
  • the k-th grid is assigned the speed of multiple v i,j
  • the grids are convolved and transposed to improve the obtained results. Accuracy of defect images.
  • Input T, D, U, n, m, w, ⁇ , ⁇ , ⁇ , ⁇ , where U is an n*n*m dimensional matrix, and the elements ui,j,k of U are the k-th unit and the i-th sensor The length intercepted by the straight line formed by the jth sensor;
  • the processor 32 is configured to execute a computer program to implement the steps of the above tree detection method.
  • the invention also provides a tree detection equipment, which includes N chip-type ultrasonic modules and the above-mentioned tree detection device.

Abstract

A tree inspection method and apparatus and a tree inspection device, which belong to the technical field of tree protection. The method comprises: firstly, uniformly attaching, in a surrounding manner, N patch-type ultrasonic modules in a tree inspection device to the periphery of a tree to be inspected; and acquiring an ultrasonic propagation speed between every two of the N patch-type ultrasonic modules, and forming a propagation speed matrix V between the patch-type ultrasonic modules. When there is a defect inside a tree, an ultrasonic propagation speed is affected, and therefore an internal defect image of a tree to be inspected can be generated according to a propagation speed matrix V between patch-type ultrasonic modules. By means of the method, the internal condition of a tree can be accurately measured; and patch-type ultrasonic modules have a low cost, and also do not cause damage to the tree itself.

Description

一种树木检测方法、装置及树木检测设备A tree detection method, device and tree detection equipment
本申请要求于2022年6月14日提交至中国专利局、申请号为202210667854.X、发明名称为“一种树木检测方法、装置及树木检测设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application requests the priority of the Chinese patent application submitted to the China Patent Office on June 14, 2022, with the application number 202210667854.X and the invention title "A tree detection method, device and tree detection equipment", and its entire content incorporated herein by reference.
技术领域Technical field
本发明涉及树木保护技术领域,特别是涉及一种树木检测方法、装置及树木检测设备。The present invention relates to the technical field of tree protection, and in particular to a tree detection method, device and tree detection equipment.
背景技术Background technique
木材作为四大基础材料之一,在人们日常生活中有着广泛的用途,有着很高的经济价值,同时树木作为文化载体,也具有观赏价值和文化价值,其中名贵的树木更是具有特殊的历史纪念意义或科研价值,因此对木材的缺陷率的检测就显得十分必要,缺陷率指的就是木材内部出现缺损的程度,通过对木材缺陷率的检测就可以了解该木材的即时状态。As one of the four basic materials, wood has a wide range of uses in people's daily lives and has high economic value. At the same time, trees, as cultural carriers, also have ornamental and cultural value. Among them, precious trees have a special history. It has commemorative significance or scientific research value, so it is very necessary to detect the defect rate of wood. The defect rate refers to the degree of defects within the wood. By detecting the defect rate of wood, the immediate state of the wood can be understood.
现有技术中常见的检测树木内部缺陷的方法有电磁法、核子法及力学法。其中,电磁法是根据电磁波在通过不同介电常数的介质时,会产生不同振幅的反射波的原理,利用检测到的反射波的振幅的差异来检测得到树木内部的缺陷,但是这种检测方法所需的设备较为昂贵,检测成本较高,不适合广泛应用;核子法有多种方式检测木材内部缺陷,其中一种方式是利用中子扫描成像来测量树木的密度变化,具有检测精度高的优点,但同样其检测设备昂贵,且携带十分不方便,不利于广泛的应用;力学法是通过在木材上进行钻孔,根据不同密度的木材在钻孔时会产生不同阻力的原理,通过比较阻力来获得木材内部的情况,但这种方法的测量精度不高且会对树木本身造成损害。Common methods for detecting internal defects of trees in the prior art include electromagnetic method, nuclear method and mechanical method. Among them, the electromagnetic method is based on the principle that electromagnetic waves will produce reflected waves of different amplitudes when passing through media with different dielectric constants. The differences in the amplitudes of the detected reflected waves are used to detect defects inside the trees. However, this detection method The required equipment is relatively expensive, the detection cost is high, and it is not suitable for widespread application; the nuclear method has many ways to detect internal defects in wood. One of the ways is to use neutron scanning imaging to measure the density changes of trees, which has high detection accuracy. Advantages, but also its testing equipment is expensive and very inconvenient to carry, which is not conducive to wide application; the mechanical method is to drill holes in wood. According to the principle that wood with different densities will produce different resistances when drilling, through comparison resistance to obtain the internal conditions of the wood, but this method has low measurement accuracy and can cause damage to the tree itself.
发明内容Contents of the invention
本发明的目的是提供一种树木检测方法、装置及树木检测设备,可以在不损害树木本身的情况下,较为精准的测量树木的内部情况,且成本较 低。The purpose of the present invention is to provide a tree detection method, device and tree detection equipment, which can more accurately measure the internal conditions of the tree without damaging the tree itself, and at a low cost.
为解决上述技术问题,本发明提供了一种树木检测方法,应用于树木检测设备中的处理器,所述树木检测装置还包括N个贴片式超声波模块,N个所述贴片式超声波模块均匀环绕贴合在待测树木的四周,用于发射和接受超声波,N为不小于2的整数,所述树木检测方法包括:In order to solve the above technical problems, the present invention provides a tree detection method, which is applied to the processor in the tree detection equipment. The tree detection device also includes N chip-type ultrasonic modules, and N chip-type ultrasonic modules. Evenly surrounding the tree to be tested, it is used to emit and receive ultrasonic waves. N is an integer not less than 2. The tree detection method includes:
获取N个所述贴片式超声波模块两两之间的超声波传播速度v i,j,v i,j表示第i个所述贴片式超声波模块与第j个所述贴片式超声波模块之间的超声波传播速度,i和j均为不大于N的正整数; Obtain the ultrasonic propagation speed v i,j between the N chip-type ultrasonic modules. v i,j represents the difference between the i-th chip-type ultrasonic module and the j-th chip-type ultrasonic module. The ultrasonic wave propagation speed between , i and j are both positive integers not greater than N;
根据所有的v i,j得到所述贴片式超声波模块之间的传播速度矩阵V; According to all v i,j, the propagation velocity matrix V between the patch ultrasonic modules is obtained;
根据所述传播速度矩阵V获取所述待测树木的内部缺陷图像。The internal defect image of the tree to be tested is obtained according to the propagation velocity matrix V.
优选的,获取N个所述贴片式超声波模块两两之间的超声波传播速度v i,j根据所有的v i,j得到所述贴片式超声波模块之间的传播速度矩阵V,包括: Preferably, the ultrasonic propagation velocity v i,j between N chip-type ultrasonic modules is obtained, and the propagation velocity matrix V between the chip-type ultrasonic modules is obtained based on all vi ,j , including:
获取所述待测树木的周长γ;Obtain the circumference γ of the tree to be tested;
根据所述周长γ计算得到第i个所述贴片式超声波模块到第j个所述贴片式超声波模块的直线距离d i,jThe straight-line distance d i,j from the i-th chip-type ultrasonic module to the j-th chip-type ultrasonic module is calculated based on the perimeter γ;
根据所有的d i,j构成所述贴片式超声波模块之间的距离矩阵D; The distance matrix D between the chip-type ultrasonic modules is formed according to all di ,j ;
每隔预设时间控制第i个所述贴片式超声波模块发射超声波并记录第j个所述贴片式超声波模块接受到超声波的时间t i,j,构成所述贴片式超声波模块之间的传播时间矩阵T; Control the i-th chip-type ultrasonic module to emit ultrasonic waves every preset time and record the time t i,j when the j-th chip-type ultrasonic module receives the ultrasonic wave, forming a gap between the chip-type ultrasonic modules. The propagation time matrix T;
根据所述d i,j和所述t i,j计算得到第i个所述贴片式超声波模块与第j个所述贴片式超声波模块之间的超声波传播速度v i,j,根据所有的v i,j构成所述贴片式超声波模块之间的传播速度矩阵V。 The ultrasonic propagation speed v i,j between the i-th chip-type ultrasonic module and the j-th chip-type ultrasonic module is calculated according to the di ,j and the ti ,j . According to all The vi ,j constitute the propagation velocity matrix V between the patch-type ultrasonic modules.
优选的,构成所述贴片式超声波模块之间的传播速度矩阵V之后,还包括:Preferably, after forming the propagation velocity matrix V between the patch-type ultrasonic modules, it also includes:
获取N个所述贴片式超声波模块各自所在位置的时间误差o i,o i表示第i个所述贴片式超声波模块所在位置的时间误差,并构成时间误差矩阵O; Obtain the time error o i of the respective positions of the N chip-type ultrasonic modules, o i represents the time error of the position of the i-th chip-type ultrasonic module, and form a time error matrix O;
根据所述时间误差矩阵O对所述传播速度矩阵V进行消除时间误差 处理,得到消除时间误差后的传播速度矩阵V’;The propagation velocity matrix V is processed to eliminate time errors according to the time error matrix O, and the propagation velocity matrix V' after eliminating the time error is obtained;
根据所述传播速度矩阵V获取所述待测树木的内部缺陷图像,包括:Obtaining the internal defect image of the tree to be tested according to the propagation velocity matrix V includes:
根据所述消除时间误差后的传播速度矩阵V’获取所述待测树木的内部缺陷图像。The internal defect image of the tree to be tested is obtained according to the propagation velocity matrix V' after eliminating the time error.
优选的,获取N个所述贴片式超声波模块各自的时间误差o i,o i表示第i个所述贴片式超声波模块处的时间误差,并构成时间误差矩阵O,包括: Preferably, the time error o i of each of the N chip-type ultrasonic modules is obtained, o i represents the time error at the i-th chip-type ultrasonic module, and forms a time error matrix O, including:
获取相邻所述贴片式超声波模块的N个所述v i,jObtain the N vi,j of adjacent chip-type ultrasonic modules;
将上述所述v i,j对应的所述d i,j和所述t i,j确定为健康超声波数据; Determine the d i,j and the t i, j corresponding to the above v i,j as healthy ultrasound data;
将所有所述健康超声波数据代入超声波切向速度关系式组成超线性方程组,使用最小二乘法求解所述超线性方程以获取时间误差矩阵O;Substitute all the healthy ultrasound data into the ultrasonic tangential velocity relationship to form a system of superlinear equations, and use the least squares method to solve the superlinear equations to obtain the time error matrix O;
所述超声波切向速度关系式为:
Figure PCTCN2022135881-appb-000001
其中,d i,j为第i个所述贴片式超声波模块与第j个所述贴片式超声波模块之间的距离;d r,s为第r个所述贴片式超声波模块与第s个所述贴片式超声波模块之间的距离;
Figure PCTCN2022135881-appb-000002
其中,θ i,j为第i个所述贴片式超声波模块与所述第j个所述贴片式超声波模块之间的切向弧度,k为速度偏置系数;
Figure PCTCN2022135881-appb-000003
其中,θ r,s为第r个所述贴片式超声波模块与所述第s个所述贴片式超声波模块之间的切向弧度,r、s均不大于N,k为速度偏置系数;o i为第i个所述贴片式超声波模块处的时间误差;o j为第j个所述贴片式超声波模块处的时间误差;o r为第r个所述贴片式超声波模块处的时间误差;o s为第s个所述贴片式超声波模块处的时间误差。
The ultrasonic tangential velocity relationship is:
Figure PCTCN2022135881-appb-000001
Where, di ,j is the distance between the i-th chip-type ultrasonic module and the j-th chip-type ultrasonic module; d r,s is the distance between the r-th chip-type ultrasonic module and the j-th chip-type ultrasonic module. The distance between s said patch-type ultrasonic modules;
Figure PCTCN2022135881-appb-000002
Among them, θ i,j is the tangential arc between the i-th chip-type ultrasonic module and the j-th chip-type ultrasonic module, and k is the speed offset coefficient;
Figure PCTCN2022135881-appb-000003
Among them, θ r,s is the tangential arc between the r-th chip-type ultrasonic module and the s-th chip-type ultrasonic module, neither r nor s is greater than N, and k is the speed offset. Coefficient; o i is the time error at the i-th patch ultrasonic module; o j is the time error at the j-th patch ultrasonic module; o r is the r-th patch ultrasonic module The time error at the module; o s is the time error at the sth patch-type ultrasonic module.
优选的,获取相邻所述贴片式超声波模块的N个所述v i,j之后,还包括: Preferably, after obtaining the N vi,j of adjacent chip-type ultrasonic modules, the method further includes:
将所述传播速度矩阵V中各v i,j从大到小排序,获取前N个v i,jSort the v i,j in the propagation velocity matrix V from large to small to obtain the first N vi ,j .
优选的,根据所述传播速度矩阵V’获取所述待测树木的内部缺陷图像之后,还包括:Preferably, after obtaining the internal defect image of the tree to be tested according to the propagation velocity matrix V', the method further includes:
根据所述内部缺陷图像确定所述待测树木的缺陷率;Determine the defect rate of the tree to be tested based on the internal defect image;
获取所述待测树木的位置信息;Obtain the location information of the tree to be measured;
将所述待测树木的位置信息及缺陷率上传至网络地图系统,并在地图中对应位置标记显示所述待测树木的缺陷率。Upload the location information and defect rate of the trees to be tested to the network map system, and display the defect rate of the trees to be tested on the corresponding location mark on the map.
优选的,将所述待测树木的位置信息及缺陷率上传至网络地图系统,并在地图中对应位置标记显示所述待测树木的缺陷率之后,还包括:Preferably, after uploading the location information and defect rate of the tree to be tested to the network map system, and displaying the defect rate of the tree to be tested at the corresponding location mark on the map, the method further includes:
实时检测所述待测树木的缺陷率的是否低于阈值,若是,则在所述地图中将所述缺陷率低于阈值的所述待测树木进行标记。It is detected in real time whether the defect rate of the trees to be tested is lower than a threshold, and if so, the trees to be tested whose defect rate is lower than the threshold are marked on the map.
优选的,根据所述传播速度矩阵V获取所述待测树木的内部缺陷图像,包括:Preferably, obtaining the internal defect image of the tree to be tested according to the propagation velocity matrix V includes:
将所述待测树木横截面分为预设数量的网格;Divide the tree cross-section to be measured into a preset number of grids;
根据所述传播速度矩阵V中的各个v i,j的对应的两个所述贴片式超声波模块所在直线离树木髓心的距离及速度大小在所述待测树木横截面中为其确定一个影响范围区域,v i,j的速度与影响范围区域呈负相关; According to the distance and velocity between the straight line where the two patch-type ultrasonic modules are located and the pith center of the tree corresponding to each vi ,j in the propagation velocity matrix V, a cross-section of the tree to be measured is determined. In the influence range area, the speed of v i,j is negatively correlated with the influence range area;
将各个v i,j的影响范围区域对应的网格赋值为v i,j的速度大小值,当存在所述网格被多个v i,j确定的影响区域覆盖时时,将所述网格赋值为多个v i,j的平均值; The grid corresponding to the influence range area of each v i,j is assigned the speed value of v i,j . When the grid is covered by multiple influence areas determined by v i,j , the grid is Assign the value to the average value of multiple v i,j ;
将赋值低于预设值的所述网格设定为缺陷网格,生成所述待测树木的内部缺陷图像。The grid whose assigned value is lower than the preset value is set as a defect grid, and an internal defect image of the tree to be tested is generated.
为解决上述技术问题,本发明还提供了一种树木检测装置,包括:In order to solve the above technical problems, the present invention also provides a tree detection device, including:
存储器,用于存储计算机程序和校准系数;memory for storing computer programs and calibration coefficients;
处理器,用于执行所述计算机程序以实现上述所述树木检测方法的步骤。A processor, configured to execute the computer program to implement the steps of the above tree detection method.
为解决上述技术问题,本发明还提供了一种树木检测设备,其特征在于,包括N个贴片式超声波模块,还包括如上述所述的树木检测装置。In order to solve the above technical problems, the present invention also provides a tree detection equipment, which is characterized in that it includes N patch-type ultrasonic modules and the tree detection device as described above.
本发明提供了一种树木检测方法、装置及树木检测设备,应用于树木检测设备中的处理器,将N个贴片式超声波模块均匀环绕贴合在待测树木的四周,获取N个贴片式超声波模块两两之间的超声波传播速度,并构成贴片式超声波模块之间的传播速度矩阵V,由于当树木内部存在缺陷时, 超声波的传播速度会受到影响,因此可以根据贴片式超声波模块之间的传播速度矩阵V生成待测树木的内部缺陷图像,可见通过这种方式,可以较为精准的测量树木的内部情况,且贴片式超声波模块的成本较低,同时也不会对树木本身造成损害。The invention provides a tree detection method, device and tree detection equipment, which are used in a processor in a tree detection equipment to evenly surround and fit N patch-type ultrasonic modules around the tree to be tested, and obtain N patches The ultrasonic propagation velocity between two ultrasonic modules forms the propagation velocity matrix V between the patch ultrasonic modules. Since there are defects inside the trees, the propagation speed of ultrasonic waves will be affected, so it can be based on the patch ultrasonic module. The propagation velocity matrix V between modules generates the internal defect image of the tree to be measured. It can be seen that in this way, the internal conditions of the tree can be measured more accurately, and the cost of the patch-type ultrasonic module is low, and it will not cause damage to the tree. itself causes damage.
附图说明Description of the drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对现有技术和实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions in the embodiments of the present invention more clearly, the prior art and the drawings needed to be used in the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some of the drawings of the present invention. Embodiments, for those of ordinary skill in the art, other drawings can also be obtained based on these drawings without exerting creative efforts.
图1为本发明提供的一种树木检测方法的流程图;Figure 1 is a flow chart of a tree detection method provided by the present invention;
图2为本发明提供的一种超声波速度分布示意图;Figure 2 is a schematic diagram of ultrasonic velocity distribution provided by the present invention;
图3为本发明提供的一种树木检测装置的结构示意图。Figure 3 is a schematic structural diagram of a tree detection device provided by the present invention.
具体实施方式Detailed ways
本发明的核心是提供一种树木检测方法、装置及树木检测设备,可以在不损害树木本身的情况下,较为精准的测量树木的内部情况,且成本较低。The core of the present invention is to provide a tree detection method, device and tree detection equipment, which can more accurately measure the internal conditions of the tree without damaging the tree itself, and at a lower cost.
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments These are some embodiments of the present invention, rather than all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of the present invention.
请参照图1,图1为本发明提供的一种树木检测方法的流程图,应用于树木检测设备中的处理器,树木检测装置还包括N个贴片式超声波模块,N个贴片式超声波模块均匀环绕贴合在待测树木的四周,用于发射和接受超声波,N为不小于2的整数,树木检测方法包括:Please refer to Figure 1. Figure 1 is a flow chart of a tree detection method provided by the present invention, which is applied to a processor in a tree detection equipment. The tree detection device also includes N chip-type ultrasonic modules, and N chip-type ultrasonic modules. The module is evenly wrapped around the tree to be tested and used to emit and receive ultrasonic waves. N is an integer not less than 2. The tree detection method includes:
S11:获取N个贴片式超声波模块两两之间的超声波传播速度v i,j,v i,j表示第i个贴片式超声波模块与第j个贴片式超声波模块之间的超声波传播速度,i和j均为不大于N的正整数; S11: Obtain the ultrasonic propagation velocity v i,j between N chip-type ultrasonic modules. v i,j represents the ultrasonic propagation between the i-th chip-type ultrasonic module and the j-th chip-type ultrasonic module. Speed, i and j are both positive integers not greater than N;
S12:根据所有的v i,j得到贴片式超声波模块之间的传播速度矩阵V; S12: Obtain the propagation velocity matrix V between chip ultrasonic modules based on all v i,j ;
S13:根据传播速度矩阵V获取待测树木的内部缺陷图像。S13: Obtain the internal defect image of the tree to be tested according to the propagation velocity matrix V.
考虑到现有技术中,大部分对树木内部情况的检测方法存在着检测仪器成本较高、不易携带、部署困难的问题,有些检测方法还会对树木本身造成损坏,因此需要一种成本较低、便于携带与广泛使用、精度较高且不会损害树木的树木检测方法。Considering that in the existing technology, most detection methods for the internal conditions of trees have problems such as high cost of detection instruments, difficulty in portability, and difficulty in deployment. Some detection methods can also cause damage to the trees themselves, so a lower-cost method is needed. , a tree detection method that is easy to carry and widely used, has high accuracy and does not damage trees.
为解决该问题,本实施例中,是基于超声波来完成对树木的无损检测,具体的,在树木四周贴合环绕设置了N个贴片式超声波模块,每个贴片式超声波模块都可以发射和接收超声波,当树木内部存在缺陷时,超声波在树木内部传播时遇到缺陷时会发生衍射现象,从而导致传播时间的增加,受树木内部的缺陷大小和超声波传播角度的影响,传播时间的增加量也会受到影响,所以本方案获取N个贴片式超声波模块两两之间的超声波传播速度v i,j,并根据所有的v i,j得到贴片式超声波模块之间的传播速度矩阵V,这里的v i,j表示第i个贴片式超声波模块与第j个贴片式超声波模块之间的超声波传播速度,包括从v 1,1到v N,N之间所有的超声波传播速度,传播速度矩阵V的定义如下: In order to solve this problem, in this embodiment, non-destructive testing of trees is completed based on ultrasonic waves. Specifically, N patch-type ultrasonic modules are installed around the trees, and each patch-type ultrasonic module can emit And receive ultrasonic waves. When there are defects inside the tree, diffraction will occur when the ultrasonic waves encounter defects when propagating inside the tree, resulting in an increase in propagation time. Affected by the size of the defects inside the tree and the angle of ultrasonic wave propagation, the propagation time increases. The quantity will also be affected, so this scheme obtains the ultrasonic propagation velocity v i,j between N chip-type ultrasonic modules, and obtains the propagation velocity matrix between chip-type ultrasonic modules based on all v i,j V, where v i,j represents the ultrasonic propagation speed between the i-th patch ultrasonic module and the j-th patch ultrasonic module, including all ultrasonic propagation from v 1,1 to v N,N Velocity, the propagation velocity matrix V is defined as follows:
Figure PCTCN2022135881-appb-000004
Figure PCTCN2022135881-appb-000004
然后根据贴片式超声波模块两两之间的传播角度以及对应的超声波传播速度即可以获取待测树木内部的缺陷图像。Then according to the propagation angle between two patch-type ultrasonic modules and the corresponding ultrasonic propagation speed, the defect image inside the tree to be tested can be obtained.
此外,通常情况下树木检测设备中会设置6个或8个或10个或12个贴片式超声波模块,贴片式超声波模块的数量越多,树木检测的结果越准确,本申请对贴片式超声波模块的数量不做特别限定,可根据实际情况进行设定。In addition, under normal circumstances, 6, 8, 10, or 12 chip-type ultrasonic modules are installed in tree detection equipment. The greater the number of chip-type ultrasonic modules, the more accurate the tree detection results will be. This application uses chip-type ultrasonic modules. The number of ultrasonic modules is not particularly limited and can be set according to actual conditions.
此外,在一具体的实施例中,超声波模块的型号为AJ-SR04K,精度为10μs,采用的超声波探头的型号是JS1640F2-W,工作频率为40kHz。In addition, in a specific embodiment, the model of the ultrasonic module is AJ-SR04K, the accuracy is 10 μs, the model of the ultrasonic probe used is JS1640F2-W, and the operating frequency is 40 kHz.
综上,本发明提供了一种树木检测方法,应用于树木检测设备中的处理器,将N个贴片式超声波模块均匀环绕贴合在待测树木的四周,获取N个贴片式超声波模块两两之间的超声波传播速度,并构成贴片式超声波模 块之间的传播速度矩阵V,由于当树木内部存在缺陷时,超声波的传播速度会受到影响,因此可以根据贴片式超声波模块之间的传播速度矩阵V生成待测树木的内部缺陷图像,可见通过这种方式,可以较为精准的测量树木的内部情况,且贴片式超声波模块的成本较低,同时也不会对树木本身造成损害。In summary, the present invention provides a tree detection method, which is applied to the processor in the tree detection equipment. N chip-type ultrasonic modules are evenly placed around the tree to be measured, and N chip-type ultrasonic modules are obtained. The propagation speed of ultrasonic waves between two pairs constitutes the propagation velocity matrix V between chip-type ultrasonic modules. Since there are defects inside the trees, the propagation speed of ultrasonic waves will be affected, so it can be determined according to the distance between chip-type ultrasonic modules. The propagation velocity matrix V generates the internal defect image of the tree to be measured. It can be seen that in this way, the internal conditions of the tree can be measured more accurately, and the cost of the patch-type ultrasonic module is low, and it will not cause damage to the tree itself. .
在上述实施例的基础上:Based on the above embodiments:
作为一种优选的实施例,获取N个贴片式超声波模块两两之间的超声波传播速度v i,j根据所有的v i,j得到贴片式超声波模块之间的传播速度矩阵V,包括: As a preferred embodiment, obtain the ultrasonic propagation velocity vi ,j between N chip-type ultrasonic modules. According to all vi,j, obtain the propagation velocity matrix V between chip-type ultrasonic modules, including :
获取待测树木的周长γ;Get the perimeter γ of the tree to be measured;
根据周长γ计算得到第i个贴片式超声波模块到第j个贴片式超声波模块的直线距离d i,jCalculate the straight-line distance d i,j from the i-th patch ultrasonic module to the j-th patch ultrasonic module based on the perimeter γ;
根据所有的d i,j构成贴片式超声波模块之间的距离矩阵D; According to all d i, j, the distance matrix D between the chip ultrasonic modules is formed;
每隔预设时间控制第i个贴片式超声波模块发射超声波并记录第j个贴片式超声波模块接受到超声波的时间t i,j,构成贴片式超声波模块之间的传播时间矩阵T; Control the i-th chip-type ultrasonic module to emit ultrasonic waves every preset time and record the time t i,j when the j-th chip-type ultrasonic module receives the ultrasonic wave, forming a propagation time matrix T between chip-type ultrasonic modules;
根据d i,j和t i,j计算得到第i个贴片式超声波模块与第j个贴片式超声波模块之间的超声波传播速度v i,j,根据所有的v i,j构成贴片式超声波模块之间的传播速度矩阵V。 The ultrasonic propagation speed vi, j between the i-th patch ultrasonic module and the j-th patch ultrasonic module is calculated based on di ,j and ti ,j, and a patch is formed based on all vi ,j Equation is the propagation velocity matrix V between ultrasonic modules.
本实施例中,考虑到可以根据贴片式超声波模块两两之间的距离及超声波传播时间来计算得到贴片式超声波模块两两之间的超声波传播速度,因此先获取待测树木的周长γ,由于各个贴片式超声波模块是均匀贴合分布在待测树木周围,因此可以根据距离公式计算得到任意两个贴片式超声波模块之间的距离,具体的,距离公式为
Figure PCTCN2022135881-appb-000005
d i,j 表示第i个贴片式超声波模块到第j个贴片式超声波模块的直线距离,并根据所有的d i,j得到距离矩阵D,距离矩阵D的定义如下:
In this embodiment, considering that the ultrasonic wave propagation speed between two chip-type ultrasonic modules can be calculated based on the distance between two chip-type ultrasonic modules and the ultrasonic wave propagation time, the perimeter of the tree to be measured is first obtained. γ. Since each patch-type ultrasonic module is evenly distributed around the tree to be measured, the distance between any two patch-type ultrasonic modules can be calculated according to the distance formula. Specifically, the distance formula is:
Figure PCTCN2022135881-appb-000005
d i,j represents the straight-line distance from the i-th patch ultrasonic module to the j-th patch ultrasonic module, and the distance matrix D is obtained based on all d i,j . The distance matrix D is defined as follows:
Figure PCTCN2022135881-appb-000006
Figure PCTCN2022135881-appb-000006
然后利用采集子系统,获取贴片式超声波模块两两之间传播超声波所需的时间t i,j,具体的,考虑到多个贴片式超声波模块同时采集数据可能会产生较大的数据噪声,因此本方案每隔预设时间控制一个贴片式超声波模块发射超声波,另一个贴片式超声波模块接收该超声波并记录间隔时间,直到所有贴片式超声波模块两两之间的超声波传播时间数据都记录完毕,将所有的t i,j构成传播时间矩阵T,传播时间矩阵T的定义如下: Then use the acquisition subsystem to obtain the time t i,j required to propagate ultrasonic waves between two chip-type ultrasonic modules. Specifically, considering that multiple chip-type ultrasonic modules collecting data at the same time may produce large data noise , so this program controls one chip-type ultrasonic module to emit ultrasonic waves every preset time, and another chip-type ultrasonic module to receive the ultrasonic wave and record the interval time until the ultrasonic wave propagation time data between all chip-type ultrasonic modules is After all are recorded, all ti , j constitute the propagation time matrix T. The propagation time matrix T is defined as follows:
Figure PCTCN2022135881-appb-000007
Figure PCTCN2022135881-appb-000007
根据距离矩阵D和传播时间矩阵T即可得到传播速度矩阵V,具体的,传播速度矩阵V的定义如下:According to the distance matrix D and the propagation time matrix T, the propagation speed matrix V can be obtained. Specifically, the propagation speed matrix V is defined as follows:
Figure PCTCN2022135881-appb-000008
Figure PCTCN2022135881-appb-000008
作为一种优选的实施例,构成贴片式超声波模块之间的传播速度矩阵V之后,还包括:As a preferred embodiment, after forming the propagation velocity matrix V between patch ultrasonic modules, it also includes:
获取N个贴片式超声波模块各自所在位置的时间误差o i,o i表示第i个贴片式超声波模块所在位置的时间误差,并构成时间误差矩阵O; Obtain the time error o i of each position of N chip-type ultrasonic modules, o i represents the time error of the position of the i-th chip-type ultrasonic module, and form a time error matrix O;
根据时间误差矩阵O对传播速度矩阵V进行消除时间误差处理,得到消除时间误差后的传播速度矩阵V’;According to the time error matrix O, the propagation velocity matrix V is processed to eliminate the time error, and the propagation velocity matrix V' after eliminating the time error is obtained;
根据传播速度矩阵V获取待测树木的内部缺陷图像,包括:Obtain the internal defect image of the tree to be tested according to the propagation velocity matrix V, including:
根据消除时间误差后的传播速度矩阵V’获取待测树木的内部缺陷图像。According to the propagation velocity matrix V’ after eliminating the time error, the internal defect image of the tree to be tested is obtained.
本实施例中,由于方案为了不对树木本身造成损坏,将现有技术中常用的侵入式传感器用贴片式超声波模块代替,但是由于树木的树皮、油漆、树皮表面的裂缝等原因,导致贴片式超声波模块与待测树木之间不能紧密贴合,因此会产生额外的数据噪声,导致超声波的传播时间的增加,降低了缺陷检测精度的下降,因此在实际使用过程中,还应该消除由于贴片式超声波模块与树皮不能紧密贴合而导致的时间误差,从而提升待测树木内部情况检测的精度,具体的,获取各个贴片式超声波模块所处位置的时间误差o i,在计算两个贴片式超声波模块之间的超声波传播速度时,将采集到的两个贴片式超声波模块之间的超声波传播时间减去两个超声波模块各自的时间误差后即可得到消除时间误差后的超声波传播速度,从而获得消除时间误差后的传播速度矩阵V’,再根据消除时间误差后的传播速度矩阵V’获取待测树木的内部缺陷图像,提高了内部缺陷图像的精准度。 In this embodiment, in order not to cause damage to the trees themselves, the intrusive sensors commonly used in the prior art are replaced with patch-type ultrasonic modules. However, due to reasons such as bark, paint, and cracks on the bark surface of the trees, the The patch-type ultrasonic module cannot fit closely with the trees to be tested, so additional data noise will be generated, which will increase the propagation time of ultrasonic waves and reduce the accuracy of defect detection. Therefore, in actual use, it should also be eliminated The time error caused by the inability of the chip-type ultrasonic module to fit closely with the bark improves the accuracy of detecting the internal conditions of the tree to be measured. Specifically, the time error o i of the position of each chip-type ultrasonic module is obtained, in When calculating the ultrasonic propagation speed between two chip-type ultrasonic modules, the time error of the two ultrasonic modules can be eliminated by subtracting the time error of each of the two ultrasonic modules from the collected ultrasonic propagation time between the two chip-type ultrasonic modules. The final ultrasonic propagation velocity is obtained to obtain the propagation velocity matrix V' after eliminating the time error, and then the internal defect image of the tree to be tested is obtained based on the propagation velocity matrix V' after the time error is eliminated, which improves the accuracy of the internal defect image.
作为一种优选的实施例,获取N个贴片式超声波模块各自的时间误差o i,o i表示第i个贴片式超声波模块处的时间误差,并构成时间误差矩阵O,包括: As a preferred embodiment, obtain the time error o i of each of N chip-type ultrasonic modules, o i represents the time error at the i-th chip-type ultrasonic module, and form a time error matrix O, including:
获取相邻贴片式超声波模块的N个v i,jObtain N vi ,j of adjacent chip-type ultrasonic modules;
将上述v i,j对应的d i,j和t i,j确定为健康超声波数据; Determine d i,j and t i, j corresponding to the above v i ,j as healthy ultrasound data;
将所有健康超声波数据代入超声波切向速度关系式组成超线性方程组,使用最小二乘法求解超线性方程以获取时间误差矩阵O;Substitute all healthy ultrasound data into the ultrasonic tangential velocity relationship to form a system of superlinear equations, and use the least squares method to solve the superlinear equations to obtain the time error matrix O;
超声波切向速度关系式为:
Figure PCTCN2022135881-appb-000009
其中,d i,j为第i个贴片式超声波模块与第j个贴片式超声波模块之间的距离;d r,s为第r个贴片式超声波模块与第s个贴片式超声波模块之间的距离;
Figure PCTCN2022135881-appb-000010
其中, θ i,j为第i个贴片式超声波模块与第j个贴片式超声波模块之间的切向弧度,k为速度偏置系数;
Figure PCTCN2022135881-appb-000011
其中,θ r,s为第r个贴片式超声波模块与第s个贴片式超声波模块之间的切向弧度,r、s均不大于N,k为速度偏置系数;o i为第i个贴片式超声波模块处的时间误差;o j为第j个贴片式超声波模块处的时间误差;o r为第r个贴片式超声波模块处的时间误差;o s为第s个贴片式超声波模块处的时间误差。
The relationship between ultrasonic tangential velocity is:
Figure PCTCN2022135881-appb-000009
Among them, di ,j is the distance between the i-th chip ultrasonic module and the j-th chip ultrasonic module; d r,s is the distance between the r-th chip ultrasonic module and the s-th chip ultrasonic module. distance between modules;
Figure PCTCN2022135881-appb-000010
Among them, θ i,j is the tangential arc between the i-th patch ultrasonic module and the j-th patch ultrasonic module, and k is the speed bias coefficient;
Figure PCTCN2022135881-appb-000011
Among them, θ r,s is the tangential arc between the r-th patch ultrasonic module and the s-th patch ultrasonic module, neither r nor s is greater than N, k is the speed bias coefficient; o i is the The time error at the i chip-type ultrasonic module; o j is the time error at the j-th chip-type ultrasonic module; o r is the time error at the r-th chip-type ultrasonic module; o s is the s-th chip ultrasonic module Time error at the chip-type ultrasonic module.
本实施例中,随着切向角度的变化,由树皮引起的干扰保持在一个比较小的范围内,因此我们假设每个贴片式超声波模块由于没有紧密贴合树木所引起的时间误差是固定的,根据切向速度径向速度关系式V T≈V R(1-kθ 2)可知,当树木内部没有缺陷时,切向速度V T与径向速度V R应该满足上述关系式,其中k为速度偏置系数,k由树木本身的特性决定,可以通过实验测量得到,由于本实施例中选取的都是健康超声波数据,即没有受到树木内部缺陷影响的超声波数据,所以这些超声波数据应该只受到由于没有紧密贴合树皮而造成的时间误差的影响,因此在消除时间误差后,新的超声波的传播速度应该满足上述关系式,由此可得超声波切向速度关系式:
Figure PCTCN2022135881-appb-000012
其中,o i、o j、o r、o s分别为第i个、第j个、第r个、第s个贴片式超声波模块所处位置的时间误差,将该关系式进行化简后可得:d r,sc i,jo i+d r,sc i,jo j-d i,jc r,so r-d i,jc r,so s=d r,sc i,jt i,j-d i,jc r,st r,s
Figure PCTCN2022135881-appb-000013
其中k为上述的树木特性系数,θ i,j为第i个贴片式超声波模块与第j个贴片式超声波模块之间的切向弧度,将确定的健康超声波数据代入上述化简后的关系式,得到多组关系式,组成超线性方程:
In this embodiment, as the tangential angle changes, the interference caused by the bark remains within a relatively small range, so we assume that the time error caused by each patch-type ultrasonic module not tightly fitting the tree is Fixed, according to the tangential velocity radial velocity relationship V T ≈ V R (1-kθ 2 ), when there are no defects inside the tree, the tangential velocity V T and the radial velocity V R should satisfy the above relationship, where k is the velocity bias coefficient. k is determined by the characteristics of the tree itself and can be obtained through experimental measurement. Since the healthy ultrasonic data selected in this embodiment are all ultrasonic data that are not affected by the internal defects of the tree, these ultrasonic data should It is only affected by the time error caused by not tightly adhering to the bark. Therefore, after eliminating the time error, the propagation speed of the new ultrasonic wave should satisfy the above relationship, from which the ultrasonic tangential velocity relationship can be obtained:
Figure PCTCN2022135881-appb-000012
Among them, o i , o j , o r , and os are respectively the time errors of the positions of the i-th, j-th, r-th, and s-th patch ultrasonic modules. After simplifying the relationship It can be obtained:d r,s c i,j o i +d r,s c i,j o j -d i,j c r,s o r -d i,j c r,s o s =d r, s c i,j t i,j -d i,j c r,s t r,s ,
Figure PCTCN2022135881-appb-000013
Among them, k is the above-mentioned tree characteristic coefficient, θ i,j is the tangential arc between the i-th patch ultrasonic module and the j-th patch ultrasonic module. Substitute the determined healthy ultrasonic data into the above simplified Relational expressions, multiple sets of relational expressions are obtained to form a superlinear equation:
Figure PCTCN2022135881-appb-000014
Figure PCTCN2022135881-appb-000014
用最小二乘法对超线性方程求解,即可得到各贴片式超声波模块所处位置的时间误差。其中a通过d和c叠加计算产生。Using the least squares method to solve the superlinear equation, the time error of the position of each patch ultrasonic module can be obtained. where a is generated by superposition calculation of d and c.
具体的,可以使用基于最小二乘法的时间校正算法对超线性方程求解,基于最小二乘法的时间校正算法具体为:Specifically, the time correction algorithm based on the least squares method can be used to solve the superlinear equation. The time correction algorithm based on the least squares method is specifically:
输入C,T,L,γ,n,ι,其中,C为健康切向路径的超声波速度与径向路径速度之比;Input C, T, L, γ, n, ι, where C is the ratio of the ultrasonic speed of the healthy tangential path to the radial path speed;
输出T,D;Output T, D;
1)初始化A=0 ι×n,B=0 ι×1,D=0 n×n,S=0 ι×(n+1),e=l 1,1,f=l 1,2,其中,e和l用于计算系数矩阵,由于公式
Figure PCTCN2022135881-appb-000015
Figure PCTCN2022135881-appb-000016
需要每两条路径做计算,为方便计算,这里固定第一条超声波路径,其中e和f是第一条超声波路径的下标号;
1) Initialize A=0 ι×n , B=0 ι×1 , D=0 n×n , S=0 ι×(n+1) , e=l 1,1 , f=l 1,2 , where , e and l are used to calculate the coefficient matrix, due to the formula
Figure PCTCN2022135881-appb-000015
Figure PCTCN2022135881-appb-000016
It is necessary to calculate every two paths. For the convenience of calculation, the first ultrasonic path is fixed here, where e and f are the subscripts of the first ultrasonic path;
2)for i=1 to n do2)for i=1 to n do
3)for j=1 to n do3)for j=1 to n do
4)
Figure PCTCN2022135881-appb-000017
4)
Figure PCTCN2022135881-appb-000017
5)for i=1 toιdo5)for i=1 toιdo
6)g=l i,16) g=l i,1 ;
7)h=l i,27)h= li,2 ;
8)a i,e=a i,e+d g,hc e,f8)a i,e =a i,e +d g,h c e,f ;
9)a i,f=a i,f+d g,hc e,f9)a i,f =a i,f +d g,h c e,f ;
10)a i,g=a i,g-d e,fc g,h10)a i,g =a i,g -d e,f c g,h ;
11)a i,h=a i,h-d e,fc g,h11)a i,h =a i,h -d e,f c g,h ;
12)b i=d g,hc e,ft e,f-d e,fc g,ht g,h12)b i =d g,h c e,f t e,f -d e,f c g,h t g,h ;
13)for i=1 toιdo;13)for i=1 toido;
14)forj=1 to n do;14)forj=1 to ndo;
15)s i,j=a i,j15)s i,j =a i,j ;
16)s i,13=b i16)s i,13 = b i ;
17)用最小二乘法求解超线性方程组S,并将结果存储在矩阵O中;17) Use the least squares method to solve the system of superlinear equations S and store the results in the matrix O;
18)fori=1 to n do;18) fori=1 to ndo;
19)forj=1 to n do;19)forj=1 to ndo;
20)t i,j=t i,j-o i-o i20)t i,j =t i,j -o i -o i ;
21)返回矩阵T和矩阵D;21) Return matrix T and matrix D;
其中,健康切向路径的超声波速度与径向路径速度之比矩阵A和B的生成过程在第5-12行描述,它被循环了ι次。第13-16行循环了ιn次,第17行的复杂度为O(ι2n)。第18-20行被循环了n2次。因此,上述的复杂度是O(ι2n)。Among them, the generation process of the ratio matrices A and B of the ultrasonic velocity of the healthy tangential path to the radial path velocity is described in lines 5-12, and it is cycled i times. Lines 13-16 loop ιn times, and the complexity of line 17 is O(ι2n). Lines 18-20 are looped n2 times. Therefore, the above complexity is O(ι2n).
作为一种优选的实施例,获取相邻贴片式超声波模块的N个v i,j之后,还包括: As a preferred embodiment, after obtaining N vi ,j of adjacent patch ultrasonic modules, it also includes:
将传播速度矩阵V中各v i,j从大到小排序,获取前N个v i,jSort the v i,j in the propagation velocity matrix V from large to small, and obtain the first N v i,j .
本实施例中,为了提高时间误差的精准度,需要增加健康数据的数量,因此除了将相邻贴片式超声波模块之间的数据确定为健康数据,考虑到当超声波传播受到缺陷影响时,超声波传播速度会变慢,因此,理论上,传播速度矩阵中最快的超声波传播速度数据应该不受缺陷影响,所以本方案还将传播速度矩阵V中各v i,j从大到小排序,将前N个v i,j也确定为健康数据,从而增加健康数据的数据量,进一步增加了时间误差的精确度。 In this embodiment, in order to improve the accuracy of the time error, it is necessary to increase the amount of health data. Therefore, in addition to determining the data between adjacent chip-type ultrasonic modules as health data, it is also considered that when the ultrasonic wave propagation is affected by defects, the ultrasonic wave The propagation speed will slow down. Therefore, theoretically, the fastest ultrasonic propagation speed data in the propagation speed matrix should not be affected by defects. Therefore, this solution also sorts the v i, j in the propagation speed matrix V from large to small, and The first N vi,j are also determined as health data, thereby increasing the data volume of health data and further increasing the accuracy of the time error.
作为一种优选的实施例,根据传播速度矩阵V’获取待测树木的内部缺陷图像之后,还包括:As a preferred embodiment, after obtaining the internal defect image of the tree to be tested according to the propagation velocity matrix V’, it also includes:
根据内部缺陷图像确定待测树木的缺陷率;Determine the defect rate of the tree to be tested based on internal defect images;
获取待测树木的位置信息;Obtain the location information of the trees to be measured;
将待测树木的位置信息及缺陷率上传至网络地图系统,并在地图中对应位置标记显示待测树木的缺陷率。Upload the location information and defect rate of the trees to be tested to the network map system, and display the defect rate of the trees to be tested on the corresponding location marks on the map.
本实施例中,在获取待测树木的内部缺陷图像后,会将结果上传到以网站的形式实现的子系统,根据内部缺陷图像即可以得到待测树木的缺陷率,作为一具体的实施例,这里的网络地图系统可以是基于Spring和Vue框架,以百度地图为基础,在地图上实时显示待测树木的缺陷率。In this embodiment, after obtaining the internal defect image of the tree to be tested, the result will be uploaded to a subsystem implemented in the form of a website. According to the internal defect image, the defect rate of the tree to be tested can be obtained. As a specific embodiment , The network map system here can be based on the Spring and Vue frameworks, based on Baidu Map, and display the defect rate of the trees to be tested in real time on the map.
此外,也可以在地图上用不同的图标来表示不同缺陷率的树木,使得用户可以更加直观的观察各树木的缺陷情况。In addition, different icons can also be used on the map to represent trees with different defect rates, allowing users to more intuitively observe the defects of each tree.
作为一种优选的实施例,将待测树木的位置信息及缺陷率上传至网络地图系统,并在地图中对应位置标记显示待测树木的缺陷率之后,还包括:As a preferred embodiment, after uploading the location information and defect rate of the tree to be tested to the network map system, and displaying the defect rate of the tree to be tested at the corresponding location mark on the map, it also includes:
实时检测待测树木的缺陷率的是否低于阈值,若是,则在地图中将缺陷率低于阈值的待测树木进行标记。It is detected in real time whether the defect rate of the trees to be tested is lower than the threshold. If so, the trees to be tested whose defect rate is lower than the threshold are marked on the map.
本实施例中,考虑到对树木进行缺陷检测的目的是为了了解树木内部情况已便于对存在缺陷的树木采取保护措施,因此本方案在地图系统上标记待测树木的缺陷率后还会实时检测树木的缺陷率是否低于阈值,当低于一定阈值时,会在地图中将缺陷率低于阈值的树木进行标记,以方便采取后续的保护措施。In this embodiment, considering that the purpose of defect detection on trees is to understand the internal conditions of the trees so as to take protective measures for the defective trees, this solution marks the defect rate of the trees to be tested on the map system and detects them in real time. Whether the defect rate of trees is lower than a threshold, when it is lower than a certain threshold, trees with a defect rate lower than the threshold will be marked on the map to facilitate subsequent protection measures.
作为一种优选的实施例,根据传播速度矩阵V获取待测树木的内部缺陷图像,包括:As a preferred embodiment, obtaining the internal defect image of the tree to be tested according to the propagation velocity matrix V includes:
将待测树木横截面分为预设数量的网格;Divide the tree cross-section to be measured into a preset number of grids;
根据传播速度矩阵V中的各个v i,j的对应的两个贴片式超声波模块所在直线离树木髓心的距离及速度大小在待测树木横截面中为其确定一个影响范围区域,v i,j的速度与影响范围区域呈负相关; According to the distance and speed between the straight line of the two patch-type ultrasonic modules corresponding to each v i, j in the propagation velocity matrix V and the pith center of the tree, an influence range area is determined for it in the cross section of the tree to be measured, v i , the speed of j is negatively correlated with the area of influence;
将各个v i,j的影响范围区域对应的网格赋值为v i,j的速度大小值,当存在网格被多个v i,j确定的影响区域覆盖时时,将网格赋值为多个v i,j的平均值; Assign the grid value corresponding to the influence range area of each v i,j to the speed value of v i, j. When there is a grid covered by multiple influence areas determined by v i,j , assign the grid value to multiple The average value of v i,j ;
将赋值低于预设值的网格设定为缺陷网格,生成待测树木的内部缺陷图像。Set the grid with a value lower than the preset value as a defect grid to generate an internal defect image of the tree to be tested.
本实施例中,为了得到待测树木内部的缺陷图像,会先将树木的横截面进行网格化,分成预设数量的网格,然后根据每个v i,j的速度值为其确定一个影响范围,请参照图2,图2为本发明提供的一种超声波速度分布示意图,在每两个贴片式超声波模块之间根据这两个贴片式超声波模块之间的超声波传播速度确定一个影响范围,如图2所示,该影响范围靠近髓心的一侧范围较大,远离髓心的一侧范围较小,具体的,在确定v i,j的影响范围时,由公式w+σ(δ-v)+ξα确定影响范围的宽度,其中w取树木直径的八分之一,
Figure PCTCN2022135881-appb-000018
δ为速度矩阵V中的最大值,
Figure PCTCN2022135881-appb-000019
为速度矩阵V中的最小值,考虑到靠近髓心的部分比远离髓心的部分影响范围大,因此还添加了ξα,其中ξ是控制系数,α是远离或靠近髓心的布尔值,当靠近髓心时,α取1,远离髓心时,α取-1,例如当第k个网格处于第i个贴片式超声波模块与第j个贴片式超声波模块所确定的影响范围的靠近髓心一侧时,此时α取1,然后再判断第i个贴片式超声波模块与第j个贴片式超声波模块之间的直线距离第k个网格的长度是否小于等于w+σ(δ-v)+ξα,若是,则判定第k个网格被第i个贴片式超声波模块与第j个贴片式超声波模块所确定的影响范围影响,所以将第k个网格赋值为v i,j的速度大小值,同理,当第k个网格被多个v i,j确定的影响范围影响时,将第k个网格赋值为多个v i,j的速度值的平均值,用这种方法完成对所有网格的赋值后,将赋 值低于预设值的网格设定为缺陷网格,最后对网格进行卷积转置处理,以提高得到的缺陷图像的精度。
In this embodiment, in order to obtain the defect image inside the tree to be tested, the cross section of the tree is first gridded and divided into a preset number of grids, and then a value is determined for each v i, j based on its velocity value. For the scope of influence, please refer to Figure 2. Figure 2 is a schematic diagram of an ultrasonic velocity distribution provided by the present invention. Between each two patch-type ultrasonic modules, one is determined based on the ultrasonic propagation speed between the two patch-type ultrasonic modules. The scope of influence, as shown in Figure 2, is larger on the side closer to the center of the marrow and smaller on the side farther away from the center of the marrow. Specifically, when determining the scope of influence of v i,j , the formula w+ σ(δ-v)+ξα determines the width of the influence range, where w is one-eighth of the diameter of the tree,
Figure PCTCN2022135881-appb-000018
δ is the maximum value in the velocity matrix V,
Figure PCTCN2022135881-appb-000019
is the minimum value in the velocity matrix V. Considering that the part close to the center of the pith has a larger influence range than the part far from the center of the pith, ξα is also added, where ξ is the control coefficient and α is a Boolean value far away from or close to the center of the pith. When When it is close to the center of the marrow, α takes 1, and when it is far away from the center of the marrow, α takes -1. For example, when the k-th grid is in the influence range determined by the i-th patch ultrasonic module and the j-th patch ultrasonic module. When it is close to the medullary center side, α is set to 1 at this time, and then it is judged whether the straight-line distance between the i-th patch ultrasonic module and the j-th patch ultrasonic module and the length of the k-th grid is less than or equal to w+ σ(δ-v)+ξα, if so, it is determined that the k-th grid is affected by the influence range determined by the i-th patch ultrasonic module and the j-th patch ultrasonic module, so the k-th grid The value is assigned to the speed value of v i,j . Similarly, when the k-th grid is affected by the influence range determined by multiple v i,j , the k-th grid is assigned the speed of multiple v i,j After completing the assignment of values to all grids in this way, the grids whose assignments are lower than the preset values are set as defective grids. Finally, the grids are convolved and transposed to improve the obtained results. Accuracy of defect images.
输入:T,D,U,n,m,w,σ,δ,ξ,其中,U为n*n*m维矩阵,U的元素ui,j,k是第k个单元被第i个传感器和第j个传感器所形成的直线所截取的长度;Input: T, D, U, n, m, w, σ, δ, ξ, where U is an n*n*m dimensional matrix, and the elements ui,j,k of U are the k-th unit and the i-th sensor The length intercepted by the straight line formed by the jth sensor;
输出:X;其中,X表示木材内部热力图的灰度图,值越大代表越健康;Output:
1)初始化X=0 m×11) Initialization X=0 m×1 ;
2)δ为矩阵V中的最大值;2) δ is the maximum value in matrix V;
3)for k=1 to m do;3)for k=1 to m do;
4)创建空列表Y;4) Create an empty list Y;
5)for i=1 to n do;5)for i=1 to n do;
6)for j=1 to n do;6)for j=1 to n do;
7)
Figure PCTCN2022135881-appb-000020
7)
Figure PCTCN2022135881-appb-000020
8)
Figure PCTCN2022135881-appb-000021
8)
Figure PCTCN2022135881-appb-000021
9)
Figure PCTCN2022135881-appb-000022
9)
Figure PCTCN2022135881-appb-000022
10)
Figure PCTCN2022135881-appb-000023
10)
Figure PCTCN2022135881-appb-000023
11)
Figure PCTCN2022135881-appb-000024
11)
Figure PCTCN2022135881-appb-000024
12)设
Figure PCTCN2022135881-appb-000025
为髓心到第k个网格单元的距离;
12) Assume
Figure PCTCN2022135881-appb-000025
is the distance from the pith center to the k-th grid cell;
13)if
Figure PCTCN2022135881-appb-000026
13)if
Figure PCTCN2022135881-appb-000026
14)α=1;14)α=1;
15)else;15)else;
16)α=-1;16)α=-1;
17)v=d i,j/t i,j17)v=d i,j /t i,j ;
18)设
Figure PCTCN2022135881-appb-000027
为第i个传感器与第j个传感器的直线在第k个网格单元的长度;
18) Assume
Figure PCTCN2022135881-appb-000027
is the length of the straight line between the i-th sensor and the j-th sensor in the k-th grid unit;
19)if
Figure PCTCN2022135881-appb-000028
19)if
Figure PCTCN2022135881-appb-000028
20)将v加入到Y中;20) Add v to Y;
21)
Figure PCTCN2022135881-appb-000029
twenty one)
Figure PCTCN2022135881-appb-000029
22)返回矩阵X;22) Return matrix X;
上述算法中,第3-20行循环了n 2m次,第12行的复杂度为o(1)。因此,TPSI的复杂度为o(n 2m)。相比于TRRI,上述算法的时间复杂度更小。 In the above algorithm, lines 3-20 are looped n 2 m times, and the complexity of line 12 is o(1). Therefore, the complexity of TPSI is o(n 2 m). Compared with TRRI, the time complexity of the above algorithm is smaller.
本发明还提供了一种树木检测装置,请参照图3,图3为本发明提供的一种树木检测装置的结构示意图,该装置包括:The present invention also provides a tree detection device. Please refer to Figure 3. Figure 3 is a schematic structural diagram of a tree detection device provided by the present invention. The device includes:
存储器31,用于存储计算机程序和校准系数; Memory 31 for storing computer programs and calibration coefficients;
处理器32,用于执行计算机程序以实现上述树木检测方法的步骤。The processor 32 is configured to execute a computer program to implement the steps of the above tree detection method.
对于本发明提供的一种树木检测装置的介绍请参照上述方法实施例,本发明在此不再赘述。For an introduction to the tree detection device provided by the present invention, please refer to the above method embodiments, and the present invention will not be described again here.
本发明还提供了一种树木检测设备,包括N个贴片式超声波模块,还包括上述的树木检测装置。The invention also provides a tree detection equipment, which includes N chip-type ultrasonic modules and the above-mentioned tree detection device.
对于本发明提供的一种树木检测设备的介绍请参照上述方法实施例,本发明在此不再赘述。For an introduction to the tree detection equipment provided by the present invention, please refer to the above method embodiments, and the present invention will not be described again here.
还需要说明的是,在本说明书中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而 且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括要素的过程、方法、物品或者设备中还存在另外的相同要素。It should also be noted that in this specification, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that these entities or operations There is no such actual relationship or sequence between operations. Furthermore, the terms "comprises," "comprises," or any other variation thereof are intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus that includes a list of elements includes not only those elements, but also those not expressly listed other elements, or elements inherent to the process, method, article or equipment. Without further limitation, an element qualified by the statement "comprises a..." does not exclude the presence of additional identical elements in the process, method, article, or device that includes the element.
对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本发明。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本发明的精神或范围的情况下,在其他实施例中实现。因此,本发明将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The above description of the disclosed embodiments enables those skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be practiced in other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

  1. 一种树木检测方法,其特征在于,应用于树木检测设备中的处理器,所述树木检测装置还包括N个贴片式超声波模块,N个所述贴片式超声波模块均匀环绕贴合在待测树木的四周,用于发射和接受超声波,N为不小于2的整数,所述树木检测方法包括:A tree detection method, characterized in that it is applied to a processor in a tree detection device, and the tree detection device further includes N chip-type ultrasonic modules, and the N chip-type ultrasonic modules are evenly surrounded and attached to each other. Measuring the surroundings of trees for emitting and receiving ultrasonic waves, N is an integer not less than 2. The tree detection method includes:
    获取N个所述贴片式超声波模块两两之间的超声波传播速度v i,j,v i,j表示第i个所述贴片式超声波模块与第j个所述贴片式超声波模块之间的超声波传播速度,i和j均为不大于N的正整数; Obtain the ultrasonic propagation speed v i,j between the N chip-type ultrasonic modules. v i,j represents the difference between the i-th chip-type ultrasonic module and the j-th chip-type ultrasonic module. The ultrasonic wave propagation speed between , i and j are both positive integers not greater than N;
    根据所有的v i,j得到所述贴片式超声波模块之间的传播速度矩阵V; According to all v i,j, the propagation velocity matrix V between the patch ultrasonic modules is obtained;
    根据所述传播速度矩阵V获取所述待测树木的内部缺陷图像。The internal defect image of the tree to be tested is obtained according to the propagation velocity matrix V.
  2. 如权利要求1所述的树木检测方法,其特征在于,获取N个所述贴片式超声波模块两两之间的超声波传播速度v i,j根据所有的v i,j得到所述贴片式超声波模块之间的传播速度矩阵V,包括: The tree detection method according to claim 1, characterized in that, obtaining the ultrasonic propagation speed v i,j between pairs of N said patch-type ultrasonic modules, and obtaining the said patch-type ultrasonic module based on all vi ,j The propagation velocity matrix V between ultrasonic modules includes:
    获取所述待测树木的周长γ;Obtain the circumference γ of the tree to be tested;
    根据所述周长γ计算得到第i个所述贴片式超声波模块到第j个所述贴片式超声波模块的直线距离d i,jThe straight-line distance d i,j from the i-th chip-type ultrasonic module to the j-th chip-type ultrasonic module is calculated based on the perimeter γ;
    根据所有的d i,j构成所述贴片式超声波模块之间的距离矩阵D; The distance matrix D between the chip-type ultrasonic modules is formed according to all di ,j ;
    每隔预设时间控制第i个所述贴片式超声波模块发射超声波并记录第j个所述贴片式超声波模块接受到超声波的时间t i,j,构成所述贴片式超声波模块之间的传播时间矩阵T; Control the i-th chip-type ultrasonic module to emit ultrasonic waves every preset time and record the time t i,j when the j-th chip-type ultrasonic module receives the ultrasonic wave, forming a gap between the chip-type ultrasonic modules. The propagation time matrix T;
    根据所述d i,j和所述t i,j计算得到第i个所述贴片式超声波模块与第j个所述贴片式超声波模块之间的超声波传播速度v i,j,根据所有的v i,j构成所述贴片式超声波模块之间的传播速度矩阵V。 The ultrasonic propagation speed v i,j between the i-th chip-type ultrasonic module and the j-th chip-type ultrasonic module is calculated according to the di ,j and the ti ,j . According to all The vi ,j constitute the propagation velocity matrix V between the patch-type ultrasonic modules.
  3. 如权利要求2所述的树木检测方法,其特征在于,构成所述贴片式超声波模块之间的传播速度矩阵V之后,还包括:The tree detection method according to claim 2, characterized in that after forming the propagation velocity matrix V between the patch-type ultrasonic modules, it also includes:
    获取N个所述贴片式超声波模块各自所在位置的时间误差o i,o i表示第i个所述贴片式超声波模块所在位置的时间误差,并构成时间误差矩阵O; Obtain the time error o i of the respective positions of the N chip-type ultrasonic modules, o i represents the time error of the position of the i-th chip-type ultrasonic module, and form a time error matrix O;
    根据所述时间误差矩阵O对所述传播速度矩阵V进行消除时间误差处理,得到消除时间误差后的传播速度矩阵V’;Perform time error elimination processing on the propagation velocity matrix V according to the time error matrix O to obtain the propagation velocity matrix V' after eliminating the time error;
    根据所述传播速度矩阵V获取所述待测树木的内部缺陷图像,包括:Obtaining the internal defect image of the tree to be tested according to the propagation velocity matrix V includes:
    根据所述消除时间误差后的传播速度矩阵V’获取所述待测树木的内部缺陷图像。The internal defect image of the tree to be tested is obtained according to the propagation velocity matrix V' after eliminating the time error.
  4. 如权利要求3所述的树木检测方法,其特征在于,获取N个所述贴片式超声波模块各自的时间误差o i,o i表示第i个所述贴片式超声波模块处的时间误差,并构成时间误差矩阵O,包括: The tree detection method according to claim 3, characterized in that the time error o i of each of the N chip-type ultrasonic modules is obtained, o i represents the time error at the i-th chip-type ultrasonic module, And form the time error matrix O, including:
    获取相邻所述贴片式超声波模块的N个所述v i,jObtain the N vi,j of adjacent chip-type ultrasonic modules;
    将上述所述v i,j对应的所述d i,j和所述t i,j确定为健康超声波数据; Determine the d i,j and the t i, j corresponding to the above v i,j as healthy ultrasound data;
    将所有所述健康超声波数据代入超声波切向速度关系式组成超线性方程组,使用最小二乘法求解所述超线性方程以获取时间误差矩阵O;Substitute all the healthy ultrasound data into the ultrasonic tangential velocity relationship to form a system of superlinear equations, and use the least squares method to solve the superlinear equations to obtain the time error matrix O;
    所述超声波切向速度关系式为:
    Figure PCTCN2022135881-appb-100001
    其中,d i,j为第i个所述贴片式超声波模块与第j个所述贴片式超声波模块之间的距离;d r,s为第r个所述贴片式超声波模块与第s个所述贴片式超声波模块之间的距离;
    Figure PCTCN2022135881-appb-100002
    其中,θ i,j为第i个所述贴片式超声波模块与所述第j个所述贴片式超声波模块之间的切向弧度,k为速度偏置系数;
    Figure PCTCN2022135881-appb-100003
    其中,θ r,s为第r个所述贴片式超声波模块与所述第s个所述贴片式超声波模块之间的切向弧度,r、s均不大于N,k为速度偏置系数;o i为第i个所述贴片式超声波模块处的时间误差;o j为第j个所述贴片式超声波模块处的时间误差;o r为第r个所述贴片式超声波模块处的时间误差;o s为第s个所述贴片式超声波模块处的时间误差。
    The ultrasonic tangential velocity relationship is:
    Figure PCTCN2022135881-appb-100001
    Where, di ,j is the distance between the i-th chip-type ultrasonic module and the j-th chip-type ultrasonic module; d r,s is the distance between the r-th chip-type ultrasonic module and the j-th chip-type ultrasonic module. The distance between s said patch-type ultrasonic modules;
    Figure PCTCN2022135881-appb-100002
    Among them, θ i,j is the tangential arc between the i-th chip-type ultrasonic module and the j-th chip-type ultrasonic module, and k is the speed offset coefficient;
    Figure PCTCN2022135881-appb-100003
    Among them, θ r,s is the tangential arc between the r-th chip-type ultrasonic module and the s-th chip-type ultrasonic module, neither r nor s is greater than N, and k is the speed offset. Coefficient; o i is the time error at the i-th patch ultrasonic module; o j is the time error at the j-th patch ultrasonic module; o r is the r-th patch ultrasonic module The time error at the module; o s is the time error at the sth patch-type ultrasonic module.
  5. 如权利要求4所述的树木检测方法,其特征在于,获取相邻所述贴片式超声波模块的N个所述v i,j之后,还包括: The tree detection method according to claim 4, characterized in that after obtaining the N vi,j of adjacent patch-type ultrasonic modules, it further includes:
    将所述传播速度矩阵V中各v i,j从大到小排序,获取前N个v i,jSort the v i,j in the propagation velocity matrix V from large to small to obtain the first N vi ,j .
  6. 如权利要求1所述的树木检测方法,其特征在于,根据所述传播速度矩阵V’获取所述待测树木的内部缺陷图像之后,还包括:The tree detection method according to claim 1, characterized in that after obtaining the internal defect image of the tree to be tested according to the propagation velocity matrix V', it further includes:
    根据所述内部缺陷图像确定所述待测树木的缺陷率;Determine the defect rate of the tree to be tested based on the internal defect image;
    获取所述待测树木的位置信息;Obtain the location information of the tree to be measured;
    将所述待测树木的位置信息及缺陷率上传至网络地图系统,并在地图中对应位置标记显示所述待测树木的缺陷率。Upload the location information and defect rate of the trees to be tested to the network map system, and display the defect rate of the trees to be tested on the corresponding location mark on the map.
  7. 如权利要求6所述的树木检测方法,其特征在于,将所述待测树木的位置信息及缺陷率上传至网络地图系统,并在地图中对应位置标记显示所述待测树木的缺陷率之后,还包括:The tree detection method according to claim 6, characterized in that the location information and defect rate of the tree to be tested are uploaded to a network map system, and the defect rate of the tree to be tested is displayed on the corresponding position mark in the map. ,Also includes:
    实时检测所述待测树木的缺陷率的是否低于阈值,若是,则在所述地图中将所述缺陷率低于阈值的所述待测树木进行标记。It is detected in real time whether the defect rate of the trees to be tested is lower than a threshold, and if so, the trees to be tested whose defect rate is lower than the threshold are marked on the map.
  8. 如权利要求1至7任一项所述的树木检测方法,其特征在于,根据所述传播速度矩阵V获取所述待测树木的内部缺陷图像,包括:The tree detection method according to any one of claims 1 to 7, characterized in that obtaining the internal defect image of the tree to be tested according to the propagation velocity matrix V includes:
    将所述待测树木横截面分为预设数量的网格;Divide the tree cross-section to be measured into a preset number of grids;
    根据所述传播速度矩阵V中的各个v i,j的对应的两个所述贴片式超声波模块所在直线离树木髓心的距离及速度大小在所述待测树木横截面中为其确定一个影响范围区域,v i,j的速度与影响范围区域呈负相关; According to the distance and velocity between the straight line where the two patch-type ultrasonic modules are located and the pith center of the tree corresponding to each vi ,j in the propagation velocity matrix V, a cross-section of the tree to be measured is determined. In the influence range area, the speed of v i,j is negatively correlated with the influence range area;
    将各个v i,j的影响范围区域对应的网格赋值为v i,j的速度大小值,当存在所述网格被多个v i,j确定的影响区域覆盖时时,将所述网格赋值为多个v i,j的平均值; The grid corresponding to the influence range area of each v i,j is assigned the speed value of v i,j . When the grid is covered by multiple influence areas determined by v i,j , the grid is Assign the value to the average value of multiple v i,j ;
    将赋值低于预设值的所述网格设定为缺陷网格,生成所述待测树木的内部缺陷图像。The grid whose assigned value is lower than the preset value is set as a defect grid, and an internal defect image of the tree to be tested is generated.
  9. 一种树木检测装置,其特征在于,包括:A tree detection device, characterized by including:
    存储器,用于存储计算机程序和校准系数;memory for storing computer programs and calibration coefficients;
    处理器,用于执行所述计算机程序以实现上述1至8任一项所述树木检测方法的步骤。A processor, configured to execute the computer program to implement the steps of the tree detection method in any one of 1 to 8 above.
  10. 一种树木检测设备,其特征在于,包括N个贴片式超声波模块,还包括如权利要求9所述的树木检测装置。A tree detection equipment, characterized in that it includes N chip-type ultrasonic modules, and also includes the tree detection device as claimed in claim 9.
PCT/CN2022/135881 2022-06-14 2022-12-01 Tree inspection method and apparatus and tree inspection device WO2023240939A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210667854.X 2022-06-14
CN202210667854.XA CN115047075A (en) 2022-06-14 2022-06-14 Tree detection method and device and tree detection equipment

Publications (1)

Publication Number Publication Date
WO2023240939A1 true WO2023240939A1 (en) 2023-12-21

Family

ID=83161023

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/135881 WO2023240939A1 (en) 2022-06-14 2022-12-01 Tree inspection method and apparatus and tree inspection device

Country Status (2)

Country Link
CN (1) CN115047075A (en)
WO (1) WO2023240939A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115047075A (en) * 2022-06-14 2022-09-13 苏州大学 Tree detection method and device and tree detection equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080245150A1 (en) * 2004-06-14 2008-10-09 Kabushiki Kaisha Toshiba Three-Dimensional Ultrasonic Imaging Device
CN106885846A (en) * 2017-01-20 2017-06-23 浙江农林大学 Trees defect detecting device and detection method
CN110261850A (en) * 2019-07-01 2019-09-20 东北林业大学 A kind of imaging algorithm of trees Inner Defect Testing data
CN110940728A (en) * 2019-12-17 2020-03-31 湖北民族大学 Nondestructive detection method and device for tree defects
CN112485335A (en) * 2020-11-12 2021-03-12 江南大学 Tomography method for detecting internal defects of trees based on ray segmentation
CN115047075A (en) * 2022-06-14 2022-09-13 苏州大学 Tree detection method and device and tree detection equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080245150A1 (en) * 2004-06-14 2008-10-09 Kabushiki Kaisha Toshiba Three-Dimensional Ultrasonic Imaging Device
CN106885846A (en) * 2017-01-20 2017-06-23 浙江农林大学 Trees defect detecting device and detection method
CN110261850A (en) * 2019-07-01 2019-09-20 东北林业大学 A kind of imaging algorithm of trees Inner Defect Testing data
CN110940728A (en) * 2019-12-17 2020-03-31 湖北民族大学 Nondestructive detection method and device for tree defects
CN112485335A (en) * 2020-11-12 2021-03-12 江南大学 Tomography method for detecting internal defects of trees based on ray segmentation
CN115047075A (en) * 2022-06-14 2022-09-13 苏州大学 Tree detection method and device and tree detection equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
XU HUADONG, WANG LIHAI, YOU XIANGFEI, LIU TIENAN, YANG XUECHUN: "Propagation Velocity of Stress Wave and Ultrasonic Wave Transmitting on Indefectible Cross Section of Standing Trees", SCIENTIA SILVAE SINICAE, vol. 47, no. 4, 1 April 2011 (2011-04-01), pages 129 - 134, XP093117902 *

Also Published As

Publication number Publication date
CN115047075A (en) 2022-09-13

Similar Documents

Publication Publication Date Title
US10877084B2 (en) Nonlinear model transformation solving and optimization method for partial discharge positioning based on multi-ultrasonic sensor
Zhao et al. Ultrasonic Lamb wave tomography in structural health monitoring
CN104280455B (en) Ultrasonic scattering coefficient optimal computation method for crack direction recognition
Stoffelen Toward the true near‐surface wind speed: Error modeling and calibration using triple collocation
Socco et al. Feasibility of ultrasonic tomography for nondestructive testing of decay on living trees
Funes et al. Defect detection from multi-frequency limited data via topological sensitivity
CN102109333B (en) Small-curvature radius complex curved surface intelligent ultrasonic thickness measurement system
WO2023240939A1 (en) Tree inspection method and apparatus and tree inspection device
Wang et al. Eggshell crack detection by dynamic frequency analysis
CN109283230A (en) A kind of planar array capacitance imaging method and system
CN107064846A (en) The sensitivity detection method and device of live testing apparatus for local discharge
CN108663296A (en) A kind of dust concentration detecting system and detection method based on double-frequency ultrasound
Yu et al. A hybrid kernel function approach for acoustic reconstruction of temperature distribution
WO2020191896A1 (en) Method for imaging internal defects of tree longitudinal cross-section
Bajracharya et al. Numerical study on corrosion profile estimation of a corroded steel plate using eddy current
CN114739919A (en) Water quality detection method based on spectrum inversion analysis
CN106680375B (en) For determining the Air Coupling supersonic detection method of the elasticity modulus of material
CN111561968A (en) Sensor-based environmental parameter detection method and device and data processing equipment
CN107490627A (en) Focus ultrasonic probe parameter scaling method
CN115435895A (en) Background noise measuring method based on probability distribution function
CN114778691A (en) Ultrasonic guided wave quantitative imaging method in variable array form
CN201788170U (en) SAW gas sensor based on RBF artificial neural network
Volker et al. Crack depth profiling using guided wave angle dependent reflectivity
CN117607373B (en) Method, system, equipment and medium for calibrating greenhouse gas monitoring data
CN218937340U (en) High-precision ultrasonic thickness measuring device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22946605

Country of ref document: EP

Kind code of ref document: A1