Portable reed measuring instrument and reed number detection method
The portable steel reed measuring instrument uses vibration sensors to identify the reed teeth, and combines data sampling and peak recognition technology to solve the problem of rapid measurement of steel reed numbers on the production site, achieving high-precision measurement in adverse environments.
Patent Information
- Application Number
- CN202411687010.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-25
- Publication Date
- 2025-03-14
AI Technical Summary
It is difficult for the prior art to quickly and accurately measure the steel reeds fixedly installed on the loom at the production site, especially in bad environments such as cotton wool and flying flowers.
A portable steel reed measuring instrument is used, which uses vibration sensors to identify the reed teeth and realizes rapid measurement of the steel reed number through data sampling, data preprocessing, peak recognition and reed number calculation methods.
In the adverse environment of the production site, the steel pens that have been fixedly installed on the loom are quickly and accurately measured, overcoming the impact of cotton wool, flying flowers, etc., without debugging thresholds or setting other parameters.
Smart Images

Figure CN119619232A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of reed detection, and in particular to a portable reed measuring instrument and a reed number detection method. Background Art
[0002] The reed is an important tool in warping and weaving processes. It looks like a comb, but is made entirely of steel. Its function is to arrange the yarns according to the designed density and width, and to help form a woven fabric with warp and weft interlaced. The important parameter of the reed is the reed number, which is the number of reed teeth within 10 cm.
[0003] Since manual measurement of reed numbers is time-consuming and laborious, some special reed number detection methods and equipment have emerged. Most of them are divided into two types. One is a test device using photoelectric components, which adopts a transmitter and an incident end design and a reed moving structure. The structure is relatively complex and is not suitable for on-site detection of reeds installed on machinery and equipment; the other is through image processing, which not only requires the reed to be removed, but also has higher requirements for hardware such as light sources and cameras.
[0004] Therefore, whether using photoelectric sensors or image sensors, there are high requirements for the appearance and cleanliness of the steel reed. In the production site, there will inevitably be cotton wool and flying flowers on the surface of the steel reed. Therefore, there is currently a lack of methods that can adapt to the on-site production environment and quickly measure the steel reed that has been fixed on the loom. Summary of the invention
[0005] The purpose of the present invention is to provide a portable reed measuring instrument and a reed number detection method to solve the above technical problems.
[0006] The purpose of the present invention can be achieved through the following technical solutions: The method for detecting the reed number of a steel reed comprises the following steps: Data sampling: Set the maximum measurable reed number and sampling distance, and calculate the sampling rate and sampling number of the measuring instrument according to the moving speed of the measuring instrument; and perform data sampling according to the calculated sampling rate and sampling number of the measuring instrument; Data preprocessing: Get the sampled signal and preprocess the middle area to get a new array X=(x1, x2, ..., x i , …, x N ), N represents the length of the array, x i Represents the i-th data in array X; For the signal obtained after sampling, the middle area of 70% to 90% is taken as the sample. The sample is preprocessed by least squares detrending method, and a new array is obtained after detrending.
[0007] Peak recognition: In array X, find the peaks, each peak corresponds to a reed tooth; Reed number calculation: Count the number of wave peaks, and read the corresponding displacement values according to the index values of the first and last wave peaks. Use the obtained number of wave peaks and distance to calculate the actual reed number.
[0008] As a further solution of the present invention: the specific steps of calculating the sampling rate and the number of samples are as follows: Calculating the meter sampling rate f s : ; Among them, R m Indicates the maximum measurable reed number of the preset measuring instrument, the unit is tooth / 10cm; l m Indicates the preset sampling distance in cm; the range of the measuring instrument movement speed is (V min , V max ), unit is cm / s; The measuring instrument travels the sampling distance l on the reed m Time t s Should meet: ; In this s The number of samples S within a time period should satisfy: .
[0009] As a further solution of the present invention: in the data sampling, the specific steps of performing data sampling according to the calculated sampling rate and sampling number of the measuring instrument are as follows: Set the interrupt time to 1 / f s ; Clear the interrupt flag, read the length and force values from the sensor and save them; Refresh the number of samples and the current length, and then return.
[0010] As a further solution of the present invention: the data sampling also includes sampling validity judgment, and the specific steps are as follows: Get the length read from the sensor and compare it with the sampled distance l m Make a comparison; When the read length is less than the sampling distance l m , and the current sampling number is less than When the current length is checked, the loop waits for the next acquisition; When the read length is greater than or equal to the sampling distance l m , then stop sampling.
[0011] As a further solution of the present invention: in the peak value identification, the method of finding the peak includes: Find the optimal window length λ; Find the peak value and its index value based on the optimal window length.
[0012] As a further solution of the present invention: the specific steps of finding the optimal window length λ are as follows: Set up an array Y=(y1, y2, …, y k , …, y L ), where ⌈ ⌉ means rounding up, k is an integer and k∈[1,L], y1, y2, …, y k , …, y L The value of is initialized to the number of sampling points of the signal to be analyzed; When the window length is k, traverse the array X and find x once i >x i-k And x i >x i+k (where i=k+1~Nk), execute y once k =y k -1; Cumulative execution k =1 to k =L, get a new array Y r ; Get array Y r The index value λ of the minimum value in is defined as the optimal window length.
[0013] As a further solution of the present invention: the specific steps of finding the peak value and its index value are as follows: Set up an array Z of size N = (z1, z2, ..., z i , …z N ), and z1, z2, …, z i , …z N The value of is initialized to 0; In the window length k When x i >x i-k And x i-1 >x i+k (where i=k+1~Nk), execute the corresponding z i =z i +1; Cumulative execution k =1 to k =λ, and get a new one-dimensional array Z r ; Get array Z rThe index values of the elements whose size is equal to λ in , these index values are the peak points.
[0014] Portable reed measuring instrument, including: Measuring instrument: The upper part is grooved so that it can be hung on the reed beam; and it is equipped with a displacement sensor and a thin-sheet vibration sensor, wherein the lower end of the thin-sheet vibration sensor protrudes from the reed plane by 0.5-2mm.
[0015] The beneficial effects of the present invention are as follows: since a vibration sensor is used in the hardware to identify the reed teeth, the influence of adverse environments such as cotton wool and flying flowers at the production site is fundamentally overcome; since the software adopts methods such as data validity judgment and peak recognition, higher measurement accuracy can be achieved without debugging thresholds or setting other parameters during use; due to the optimized design of hardware and software, the reed measuring instrument of this embodiment has a simple structure and is easy to use, and can be made into a portable instrument to quickly measure the reed that has been fixed on the loom. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The present invention will be further described below in conjunction with the accompanying drawings.
[0017] Figure 1 It is a structural schematic diagram of a portable reed measuring instrument in the present invention; Figure 2 It is a structural schematic diagram of a portable reed measuring instrument in the present invention after being laid flat; Figure 3 It is a schematic diagram of the structure of the sheet-shaped vibration sensor in the present invention; Figure 4 It is a schematic diagram of the hardware structure of the measuring instrument in the present invention; Figure 5 It is a flow chart of the method for detecting the reed number of the steel reed in the present invention; Figure 6 It is a schematic diagram of the process of data sampling in the present invention; Figure 7 It is a schematic diagram of the timing interruption process in data sampling in the present invention; Figure 8 is the force value sample collected in the present invention; Fig. 9 is the result of the detrending process of the data points in the present invention; Fig.10 This is the result of the peak recognition method used in the present invention.
[0018] In the figure: 100, measuring instrument; 121, positioner; 122, displacement sensor rope; 130, sheet-like vibration sensor; 131, full-bridge strain gauge; 132, plastic film; 140, oblique cavity; 200, reed; 210, reed beam; 220, reed teeth. DETAILED DESCRIPTION
[0019] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0020] See also Figure 1 As shown, a portable reed measuring instrument, in which 100 is the measuring instrument and 200 is the reed. The measuring instrument is box-shaped, and its size matches the reed, with typical length, width and height of 7cm, 5cm and 10cm respectively. The upper part of the measuring instrument is groove-shaped, and the upper end of the groove exceeds the plane where the lower end is located. The exceeding distance is that when the lower part of the measuring instrument is close to the reed, the rear edge of the upper end of the groove is flush with the rear edge of the reed beam. When in use, first place the measuring instrument on the reed beam 210 of the reed, then fix the positioner 121 at the head end of the displacement sensor pull rope 122, and finally slide the measuring instrument along the upper reed beam to a specified distance, then count the number of reed teeth 220 passed by the measuring instrument, and then calculate the reed number of the reed in combination with the distance, and the reed number unit is tooth / 10cm. The speed V of the sliding measuring instrument can vary within a certain range, such as 3-8cm / s. After testing, this is the habitual speed of most people when operating this instrument. The measuring instrument will give a prompt for too fast or too slow speed. The distance of the sliding measuring instrument is also fixed, set at 24cm, which is also a distance that most people can easily reach when operating the instrument. The measuring instrument will also give a prompt when the distance is reached. In addition, the positioner 121 used to fix the displacement sensor pull rope on the measuring instrument is made of magnetic thumbtacks, which can be automatically adsorbed on the surface of the reed when used, making it more convenient to operate.
[0021] Please refer to Figure 2 , Figure 2 It is also a schematic diagram of the structure of a portable reed measuring instrument. Figure 1 It is observed from the front after being laid flat. In the figure, 130 is a thin sheet vibration sensor. When installed, it is 60-80° with the surface of the reed, and the lower end exceeds the plane of the reed by h=0.5-2mm, that is, it is obliquely inserted into the gap between the teeth of the reed. When the vibration sensor moves with the measuring instrument, its lower end will comb through the surface of the teeth of the reed one by one, thus forming a periodic signal. The measuring instrument determines the number of teeth by analyzing how many peaks there are in these periodic signals. In order to facilitate the installation and vibration of the thin sheet vibration sensor, a special oblique cavity 140 with a thickness of about w=1cm is provided on the measuring instrument. The displacement sensor of the measuring instrument uses an encoder-type pull-rope displacement sensor, which is installed inside the measuring instrument. The typical model parameters are 50cm range, 0.098mm resolution, and displacement signal pulse output.
[0022] Please refer to Figure 3 ,exist Figure 3 In the embodiment, the full-bridge strain gauge 131 is pasted on a 0.25 mm thick (about the thickness of a playing card) plastic film 132 to produce a vibration sensor suitable for this measurement scenario. The plastic film used should have a certain rigidity and fatigue resistance, and polyimide, polycarbonate, etc. are preferred.
[0023] Figure 4 The figure is a schematic diagram of the hardware structure of the measuring instrument. In the figure, the STM32F765VGH6 microcontroller is based on the 32-bit ArmCortex®-M7 core, runs at a frequency of up to 216 MHz, provides 1 MB of embedded Flash memory and 512 kB of RAM. Practice has shown that the microcontroller has powerful performance and can smoothly run the peak detection algorithm. The output pulse of the pull-wire displacement sensor is a 5V TTL signal, which is higher than the 3.3 V of the main control unit, so a bidirectional level converter TXB0104 is installed between the two. The output of the vibration sensor is handled by a special amplifier module, and since the subsequent use is the peak recognition method, the vibration sensor does not need to be strictly calibrated, as long as it can respond to the deformation. Since the STM32F7 series microcontroller has a 12-bit ADC with a resolution of 1 / 4096 and a conversion rate of up to 2.4 MSPS, it meets the resolution and sampling rate requirements of this tester, so the ADC of the main control unit is directly used.
[0024] Figure 5 is based on Figure 1 and Figure 4 Flow chart of the reed number detection method of the measuring instrument shown. Figure 5 In the present invention, the reed number detection method of steel reed includes four steps: data sampling, data preprocessing, peak value recognition and reed number calculation.
[0025] Data sampling is the basis of peak recognition. If the data cannot reflect the actual vibration of the force sensor, peak recognition cannot be performed.
[0026] The specific method of data sampling is as follows: (1) Determine the sampling rate.
[0027] Assume that the maximum reed number that the measuring instrument can measure is metric R m (Unit: tooth / 10cm), limited sampling distance is l m (in cm), the movement speed is limited to Vmin~Vmax (in cm / s), then the sampling rate of the measuring instrument is f s (Unit: kHz) should meet the following requirements:
[0028] For example, the maximum reed number that can be measured by the measuring instrument in this embodiment is 180#, and the speed range is 3-8cm / s, that is, Vmax is 8 cm / s, then fs It should be greater than 360 Hz, so as to satisfy the Nyquist theorem. In order to obtain a better waveform, the sampling rate of this embodiment is 1000 Hz.
[0029] 2) Determine the sampling number interval.
[0030] Determine f s After that, the sampling number is determined. The measuring instrument travels the sampling distance l on the reed. m Time t s Should meet:
[0031] In this s The number of samples S within a time period should satisfy
[0032] In this embodiment, the sampling distance l m =24cm, substitute f s =1000Hz, V max =8cm / s, V min =3cm / s, the calculated sampling number S ranges from 3000 to 8000. m The sampling number should be within the above range of 3000~8000. If the sampling number is too small, it means the speed is too fast and exceeds V max Too much will make f s If the Nyquist sampling law cannot be satisfied, the sampling is invalid; if the number of samples is too large, the speed is too slow and it takes too much time, which is not only useless but also occupies too much instrument memory.
[0033] (3) Sampling process 1) Start sampling: Please refer to Figure 6 In the upper part before "Open Data Collection Timing Interrupt", set a delay of t0 ms (t0 is 20-100ms). If the displacement counter value read twice after t0 increases, it is determined that real displacement has occurred and sampling begins. The starting method is to open the data collection timing interrupt. 2) Please refer to Figure 7 , sampling is carried out by timed interruption method, and the interruption time is 1 / f s In this embodiment, it is 1ms. In the interrupt service routine, the interrupt flag is first cleared, and then the length and force values are read from the sensor and stored. Then the number of samples (that is, the number of collected samples plus 1) and the current length are refreshed, and finally the interrupt returns.
[0034] 3) Sampling validity judgment: please refer to Figure 6 In the lower part, after starting sampling, the length is first If the length does not reach , determine whether the sampling number S is less than Smax If it is less than, the current length will be checked cyclically and the next acquisition will be waited for; if it reaches or exceeds, it means that the storage space is exhausted, and the feedback "operation speed is too slow, sampling is invalid" will be given to stop data acquisition. , the number of samples S is greater than Smin If S is greater than Smin, the feedback is “the operation is normal and the sampling is valid” and data collection is stopped; if S is less than Smin, it proves that the sampling is completed in too short a time, the feedback is “the operation speed is too fast and the sampling is invalid” and data collection is stopped.
[0035] According to the above data sampling method, the operator can smoothly perform the sampling operation according to the prompts of the measuring instrument. During the whole process, it is sufficient to ensure that the speed is within the range of 3-8cm / s and is uniform to a certain extent.
[0036] Reference Figure 8 , Figure 8 That is the force value sample collected. Figure 8 This is a typical waveform of a vibration sensor moving at a speed of about 3.6 cm / s (within the aforementioned range of 3-8 cm / s) on a metric 112# steel reed over a distance of 24 cm (268 teeth) under manual operation. The sampling rate for this waveform is 1kHz. Zoom in and observe Figure 4 From the signal waveform in the figure, we can find that: (1) when the signal voltage drops, it does not drop to the initial voltage value, which makes the signal amplitude smaller; (2) there is a baseline drift in the signal waveform, and the drift amplitude is larger than the signal amplitude. This is caused by the insufficient elasticity and slow recovery of the polyimide sheet. This baseline drift will make it difficult to set the comparison threshold; (3) the signal waveform is quasi-periodic and accompanied by a lot of jitter and noise. This is caused by manual operation, uneven speed, uneven surface of the reed, and external electromagnetic signal interference. Therefore, if the threshold is set for direct counting, it will bring greater uncertainty, and a better solution is to count the number of peaks.
[0037] After data sampling is completed and before peak recognition, the acquired data needs to be preprocessed. The first step of preprocessing is to take the middle area of 70% to 90% of the acquired data as samples, in order to remove the influence of the uneven speed at the beginning and end of the sliding of the manual operation measuring instrument. Figure 8 Of the 7500 data points, 86.6% of the middle area is taken as the sample, that is, 6500 data points. The second step of preprocessing is to perform detrending processing, the purpose of which is to remove the baseline drift of the signal waveform. Please refer to Fig. 9 , Fig. 9 This is the result of detrending the above 6500 data points.
[0038] After data preprocessing, the peaks of the obtained waveform are identified, and each real peak corresponds to a reed tooth. The above 6500 data points are regarded as an array X, and the search process is divided into two steps: finding the optimal window length λ and finding the peak value and its index value.
[0039] First, find the optimal window length λ as follows: (1) Set up an array Y of size L = ⌈N / 2⌉-1 (⌈⌉ represents rounding up), where y1, y2, …, y k ,…y L The value of is initialized to the number of sampling points of the signal to be analyzed N. For example, in this embodiment, the array Y has 3249 elements, and the initial value of each element is 6500.
[0040] (2) When the window length is k, traverse the array X and find x once i >x i-k And x i >x i+k (where i=k+1~Nk), execute y once k =y k -1. For example, when the window is 1 and the array X is traversed, it is found that x3>x2 and x3>x4, x8>x7 and x8>x9, and so on, a total of 30 times. After each decrease, the value of y1 is 6500-30=6470.
[0041] (3) Execute k=1 to k=L cumulatively to obtain a new array Y r For example, in (2) above, we have traversed the array X with window 1, and then traversed the array with window k=2. We find that once x i >x i-2 And x i >x i+3 , y2 is decremented by 1 once. Similarly, execute k=3 to k=L to obtain new Y3 to Y L , Y1 to Y L Construct a new array Y r .
[0042] (4) Return array Y r The index λ of the minimum value in the window is the optimal window. 14 is the minimum value, then λ=14.
[0043] Next, start looking for peaks and their index values using: (1) Set up an array Z of size N, z1, z2, …, z i ,…z NThe value of is initialized to 0. In this embodiment, an array Z of size 6500 is formed, in which all elements are 0.
[0044] (2) When the window length is k, find x i >x i-k And x i-1 >x i+k (where i=k+1~Nk), execute the corresponding z i =z i +1. For example, if k=1, if x3>x2 and x3>x4 are found, then z3=z3+1, i.e. z3 increases by 1; if x8>x7 and x8>x9 are found, then z8=z8+1, i.e. z8 increases by 1; and so on until x N-1 , refresh all relevant element values of array Z.
[0045] (3) Execute k=1 to k=λ cumulatively to obtain a new one-dimensional array Z r For example, if k=2, we find that x8>x6 and x8>x 10, Then z8=z8+1, that is, z8 increases by 1 again, and this cycle continues until x N-2 , refresh all relevant element values of array Z. The rest k=3 to k=λ and so on, finally get a new array Z r .
[0046] (4) Return array Z r The index values of the elements in that are equal to λ are the peak points. The principle behind peak finding is that if x 2163 is a true peak value. When the window length is from 1 to k, each time it appears, it will be larger than the elements on both sides of the window. Each time it appears, z 2163 Add one, and finally z 2163 The value of is exactly λ; however, this is not the case with false peaks. They exist in a certain window and cannot be larger than the elements on both sides of the window, so the final value must be less than λ.
[0047] Reference Fig.10 , Fig.10 is the result of using the peak identification method mentioned above. Fig.10 (a) Yes Fig. 9 The result of peak recognition, the red dot in the figure indicates the recognized peak. Fig.10 (b) Fig.10 The local enlargement at point i in (c) corresponds to the initial stage of the sensor's movement on the reed surface. At this time, the speed is unstable and the signal period fluctuates greatly, especially the seventh waveform, whose period is four times that of other waveforms, but its peak is still correctly identified. Fig.10 (c is Fig.10The local enlargement at ii in (a) corresponds to the mid-stage of the sensor's movement on the reed surface. At this time, the speed is relatively stable and fast, but its waveform contains large noise and is accompanied by pseudo peaks. The experimental results show that the AMPD method can eliminate the interference of these noises and pseudo peaks. Fig.10 (d) Fig.10 The local enlargement at iii in (a) corresponds to the final stage of the sensor's movement on the reed surface. At this time, the speed slows down again and the signal period increases again, but it does not affect the accurate identification of the peak.
[0048] Fig.10 It shows that the above peak recognition method works well for signals with unstable periods and those containing large noise and more pseudo-peaks, and has the following characteristics: there are no free parameters that need to be set by the user before analysis; it can detect peaks in periodic and quasi-periodic signals; and it has a fairly stable ability to resist interference from high-frequency and low-frequency noise.
[0049] After the peak is identified, the reed number is calculated. The number of peaks is counted, and the corresponding displacement values are read according to the index values of the first and last peaks. The actual reed number is calculated using the obtained number of peaks and distance. In this embodiment, there are 228 peaks in total, and the distance between the first peak and the last peak is 20.286 cm. The calculated reed number is 112.39, which is rounded to 112. The test result is correct.
[0050] Please refer to the table below, which shows the results of the trial use of the portable reed measuring instrument for reeds of different numbers. Four groups of reeds with a reed number interval of 4 were tested, namely 52~60#, 92~100#, 132~140# and 172~180#. The test was completely manual and used high and low speeds. The relevant test results are shown in Table 1. As can be seen from Table 1, the portable reed measuring instrument based on peak detection shows good accuracy at low speeds, but there are errors in the measurement of large reed numbers at high speeds. The reason for this should be the vibration caused by the high-speed movement of the measuring instrument on the surface of the reed. At this time, the accurate reed number can be obtained by appropriately reducing the movement speed.
[0051]
[0052] The advantages of the present invention are that, since a vibration sensor is used in the hardware to identify the reed teeth, the influence of adverse environments such as cotton wool and flying flowers at the production site is fundamentally overcome; since the software adopts methods such as data validity judgment and peak recognition, there is no need to debug the threshold or set other parameters during use, so that higher measurement accuracy can be achieved; due to the optimized design of hardware and software, the reed measuring instrument of this embodiment has a simple structure and is easy to use, and can be made into a portable instrument to quickly measure the reed that has been fixed on the loom.
[0053] The above is a detailed description of an embodiment of the present invention, but the content is only a preferred embodiment of the present invention and cannot be considered to limit the scope of implementation of the present invention. All equivalent changes and improvements made within the scope of the present invention should still fall within the scope of the patent coverage of the present invention.
Claims
1. A method for detecting the reed number of a steel reed, characterized in that: The following steps are involved: Data sampling: Set the maximum measurable reed number and sampling distance, and calculate the sampling rate and number of samples according to the measuring instrument's movement speed; and perform data sampling according to the calculated sampling rate and sampling number of the measuring instrument; Data preprocessing: Get the sampled signal and take the middle area for preprocessing to get a new array X=(x1, x2, ..., x i , …, x N ), N represents the length of the array, x i Represents the i-th data in array X; Peak recognition: In array X, find the peaks, each peak corresponds to a reed tooth; Reed number calculation: Count the number of wave peaks, and read the corresponding displacement values according to the index values of the first and last wave peaks. Use the obtained number of wave peaks and distance to calculate the actual reed number.
2. The method for detecting the reed number of a reed according to claim 1, characterized in that: In the data sampling described above, the specific steps for calculating the sampling rate and the number of samples are as follows: Calculating the meter sampling rate f s : ; Among them, R m Indicates the maximum measurable reed number of the preset measuring instrument, the unit is tooth / 10cm; l m Indicates the preset sampling distance in cm; the range of the measuring instrument movement speed is (V min , V max ), unit is cm / s; The measuring instrument travels the sampling distance l on the reed m Time t s Should meet: ; In this s The number of samples S within a time period should satisfy: 。 3. The method for detecting the reed number of a reed according to claim 1, characterized in that: In the data sampling, the specific steps of performing data sampling according to the calculated sampling rate and sampling number of the measuring instrument are as follows: Set the interrupt time to 1 / f s ; Clear the interrupt flag, read the length and force values from the sensor and save them; Refresh the number of samples and the current length, and then return.
4. The method for detecting the reed number of a reed according to claim 3, characterized in that: The data sampling also includes sampling validity judgment, and the specific steps are as follows: Get the length read from the sensor and compare it with the sampled distance l m Make a comparison; When the read length is less than the sampling distance l m , and the current sampling number is less than When the current length is checked, the loop waits for the next acquisition; When the read length is greater than or equal to the sampling distance l m , then stop sampling.
5. The method for detecting the reed number of a reed according to claim 1, characterized in that: In the peak value identification, the method of finding the peak includes: Find the optimal window length λ; Find the peak value and its index value based on the optimal window length.
6. The method for detecting the reed number of a reed according to claim 5, characterized in that: The specific steps for finding the optimal window length λ are as follows: Set up an array Y=(y1, y2, …, y k , …, y L ), where ⌈ ⌉ means rounding up, k is an integer and k∈[1,L], y1, y2, …, y k , …, y L The value of is initialized to the number of sampling points of the signal to be analyzed; When the window length is k, traverse the array X and find x once i >x i-k And x i >x i+k (where i=k+1~Nk), execute y once k =y k -1; Cumulative execution k =1 to k =L, get a new array Y r ; Get array Y r The index value λ of the minimum value in is defined as the optimal window length.
7. The method for detecting the reed number of a reed according to claim 6, characterized in that: The specific steps to find the peak value and its index value are as follows: Set up an array Z of size N = (z1, z2, ..., z i , …z N ), and z1, z2, …, z i , …z N The value of is initialized to 0; In the window length k When x i >x i-k And x i-1 >x i+k (where i=k+1~Nk), execute the corresponding z i =z i +1; Cumulative execution k =1 to k =λ, and get a new one-dimensional array Z r ; Get array Z r The index values of the elements whose size is equal to λ in , these index values are the peak points.
8. The portable reed measuring instrument for the reed number detection method according to claims 1-7, characterized in that: include: Measuring instrument: The upper part is grooved so that it can be hung on the reed beam; it is equipped with a displacement sensor and a thin-sheet vibration sensor, wherein the lower end of the thin-sheet vibration sensor protrudes 0.5-2mm from the reed plane.