Measurement technology for dryness of Chinese herbal medicine

Through the MEMS sound detector and the MFCC frequency cepstral coefficient calculation system, the problem of inaccurate dryness detection of Chinese herbal medicines is solved, the precise assessment of the dryness of Chinese herbal medicines is achieved, and a new method based on sound characteristics is provided.

CN118604140APending Publication Date: 2024-09-06ANHUI QINGNANG TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310968233.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-03
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

It is difficult to effectively monitor and evaluate the acoustic characteristics during the drying process of Chinese herbal medicines using existing technology, resulting in inaccurate dryness detection.

Method used

Using a MEMS acoustic detector, an acoustic event compression cylinder and a Mel coefficient calculation system, the MEMS acoustic detector collects the acoustic signals when medicinal materials are broken and extruded. The MFCC frequency cepstral coefficient is used to calculate the dryness, combined with Fourier transform and inverse Fourier transform, generate Mel coefficient, calculate dryness value.

Benefits of technology

It achieves accurate detection of dryness of Chinese herbal medicines, provides a new method based on sound characteristics, can effectively distinguish different materials and dryness degrees, and improves the accuracy of dryness detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118604140A
    Figure CN118604140A
Patent Text Reader

Abstract

The invention provides a technology for identifying the dryness of medicinal materials by utilizing the rupture sound of the medicinal materials aiming at relatively dry medicinal materials. According to the device, the technical method that the dryness is formed through an improved MFCC algorithm by adopting sound characteristics recorded by sound wave events generated by a time report for actively compressing the medicinal materials is adopted.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Electronic sensors for Chinese herbal medicine. Background Art

[0002] When dry plants are broken, compressed, bent, or cracked, they emit vibration waves of 40Hz to 120KHz, as well as sound waves converted in the air (corresponding to frequencies of 20Hz to 100KHz). By recording the sound of plant fractures under continuous pressure, we can obtain vibration waves and corresponding sound characteristics related to plant structures; MFCC, also known as Mel Frequency Cepstrum Coefficient (MFCC), is a frequency spectrum feature calculation method based on the characteristics of the human ear. It is currently used in speech recognition[1], machine voice recognition[2], and is widely used in the speech field[3]. The calculation standardization of MFCC[4] and the implementation of corresponding electronic technology[5] have become standard applications in sound analysis.

[0003] [Documentation] [1] Zhen Bin, Wu Xihong, Liu Zhimin, et al. Relative importance of cepstral components in speech recognition and speaker identification [J]. Journal of Peking University (Natural Science Edition), 2001(03): 371-378. DOI: 10.13209 / j.0479-8023.2001.072 [2] Liu Geming, Sun Chao, Yang Yixin. Application of two cepstrum feature extraction techniques in underwater acoustic target recognition [J]. Journal of Northwestern Polytechnical University, 2008, No.111(03):276-281 [3] Chen Yumin. Research on some key technologies in Chinese speech recognition application system[D]. Shanghai Jiaotong University, 2006 [4] Shi Xianfeng, Zhang Xuezhi, Zhang Feng. Design of speech recognition system based on HTK[J]. Computer Technology and Development, 2006(10):37-38+41 [5] Lu Yaling, Xie Zhaohong. Abnormal sound recognition system based on DSP chip [J]. Journal of Wuhan Polytechnic Institute, 2002(04):52-54. Summary of the invention

[0004] The device consists of a MEMS acoustic detector, an acoustic event generating compression cylinder (such as Figure 1 ) and Mel coefficient calculation system C4; the compression cylinder for acoustic event generation is composed of compression tongue C1, which provides compression surface to the medicine chamber C2 filled with medicinal materials; the compression power is borne by the lifting screw C5 and the motor drive module C3; the drying calculation circuit is at the top of the tongue depressor C4; (like Figure 2) When the medicinal materials are continuously compressed in a closed space, the sound events such as breaking and squeezing of the medicinal materials occur, showing the characteristics related to the medicinal materials; according to the different material structures and the degree of drying of the medicinal materials, the material-drying related sound feature data is extracted, and the sound sensor is used to receive this sound spectrum-intensity to form a sound file; the Mel coefficient (group) of the sound file is constructed to obtain the sound parameter (data) characteristics. Since this is the only process related to drying, the degree of drying of the medicinal materials is calculated according to the formula; The sound sensor A101 transmits the collected sound signal to the sound preprocessor A102; the sound data of the medicine warehouse when there is no medicine in the empty warehouse is stored in A103 as background noise data; A102 preprocesses the data of the A101 sensor and the data in A103 to form a filtered complete sound file, which is stored in A201; the MFCC processor A301 is a Mel coefficient generator, which outputs coefficient groups M (7 to 12 groups, 12 groups are taken in this example); Preprocessing A102 is used to compare the stored A103 sound (noise) file with the data collected by the sensor and filter the noise data in the sensor; the file in A103 is of a size corresponding to the length of the period Δt=6ms; after the sensor A101 is started, A102 filters the noise according to the length of the A103 file every 6ms and sends it to A201 for storage; after A301 is started, the complete sound file in A201 is processed and the A104 coefficient group is output; A104 is composed of the MFCC calculation results; like Figure 3 .The MFCC processing of A301 is that the sound signal B1 is sliced ​​by the time period circuit B2, and a comparison file is formed in 6ms sequence (6ms corresponding file length), and the pre-stored 6ms empty noise file is limited and filtered, and a denoised file (A201) is formed in B3; the file (sequence) formed by the complete sound in A201 is completed in the MFCC processor B4 to generate the Mel coefficient, and the 12 groups (or more) with the largest corresponding amplitude are taken out in the B5 stage, and the output dryness value is calculated according to the formula; like Figure 3 MFCC calculation in, convert file B41 in A201 into a serialized file, perform FT (Fourier transform) calculation B42 to form a frequency-amplitude (such as sound intensity) sequence, use Mel triangle filtering to calculate B34, obtain the complete phoneme (sub) scale (such as the lowest amplitude position), that is, Mel scale B44; calculate the energy value (intensity integral) of each scale corresponding to the window in B45 to form a continuous Mel scale amplitude distribution; B46 is calculated by RFT (reverse Fourier transform), and B47 restores the frequency-amplitude relationship of the corresponding original file to complete the data process of A201 sound file and form an MFCC array (data); MFCC can be calculated through the ARM7 minimum system; Refer to the frequency cepstrum logic of MFCC to generate the output coefficient group: ; Perform Fourier transform to transform the signal into frequency domain ; Pass the spectrum obtained in each window (Δt) through the Mel filter (triangular overlapping window) to obtain the Mel scale ; Extract the logarithmic energy on each Mel scale ; Perform inverse discrete Fourier transform on the obtained results and transform them into the inverse spectrum domain ; Get the amplitude of the inverse spectrum. Generally, 12 coefficients are used, and the 13-dimensional coefficients are superimposed with the Δt energy. ; Arrange the 12 coefficients in order of frequency from high to low (HASH) Based on the 12 arrays generated by HASH, the dryness calculation formula is introduced Dryness ф calculation formula: ф = (the sum of the two amplitudes of the highest frequency value) / (the sum of the two amplitudes of the lowest frequency value) 1 The dryness value ranges from 0 to 40, where 0 is moist and greater than 1 is dry.

[0005] Two experimental test results Example 1: 800g of Patrinia scabra was dried in a constant temperature oven at 60℃ for 20 minutes; 200g was divided into four equal parts, and four types of raw materials were tested: Group A, Group B (add 10g of water and tie it tightly with a plastic bag for 30 minutes), Group C (add 20g of water and tie it tightly with a plastic bag for 30 minutes), and Group D (add 30g of water and tie it tightly with a plastic bag for 30 minutes); the test results after 30 minutes are as follows Figure 4 ; * Use MFCC frequency selection 12 coefficients **Select 7 coefficients using the frequency of MFCC Example 2: For 1200g of Radix Ophiopogonis, dry it in a constant temperature oven at 60℃ for 60 minutes; divide it into four equal parts of 200g, and test them into Group A, Group B (add 10g of water and tie it tightly in a plastic bag for 60 minutes), Group C (add 30g of water and tie it tightly in a plastic bag for 60 minutes), and Group D (add 50g of water and tie it tightly in a plastic bag for 60 minutes). The test results after 120 minutes are as follows Figure 5 ; * Use MFCC frequency selection 12 coefficients ** Use MFCC frequency to select 7 coefficients. BRIEF DESCRIPTION OF THE DRAWINGS

[0006] Figure 1 Schematic diagram of the compression cylinder where the acoustic event occurs; Figure 2 Sound acquisition and Mel coefficient output framework; Figure 3 Dryness calculation and MFCC logic framework; Figure 4200g Patrinia scabra dryness test data; Figure 5 200g Ophiopogon japonicus dryness test data.

Claims

1. "A technology for measuring the dryness of Chinese herbal medicines" proposes a technology for identifying the dryness of relatively dry medicinal materials by using the sound of the medicinal materials breaking; the invented device uses the sound characteristics recorded by the sound wave events generated when the medicinal materials are actively compressed, and forms a technical method for dryness through an improved MFCC algorithm.

2. The technology for identifying the dryness of medicinal materials by using the sound of the medicinal materials breaking according to claim 1; characterized in that A device consisting of a MEMS acoustic detector, an acoustic event generating compression cylinder and a Mel coefficient calculation system C4 was constructed.

3. The device according to claim 2, including the mechanical structure and functional description formed by C1, C2, C3, C4, and C5.

4. The method for identifying the dryness of medicinal materials according to claim 2, wherein the method comprises: Consists of A101, A102, A103, A201, A301, A104 and process function description.

5. According to the functional description of the process proposed in claim 4, the sound sensor A101 transmits the collected sound signal to the sound preprocessor A102; the sound data of the medicine warehouse when there is no medicine in the empty warehouse is stored in A103 as background noise data; A102 preprocesses the A101 sensor data and the data in A103 to form a filtered complete sound file, which is stored in A201; the MFCC processor A301 is a Mel coefficient generator, which outputs coefficient groups M (7 to 12 groups, 12 groups in this example).

6. A technical method for forming dryness by using a modified MFCC algorithm based on the sound characteristics recorded during the acoustic wave event generated when actively compressing medicinal materials as proposed in claim 1. In a complete compression process, the complete file A201 formed by the medicinal material sound event, the output array B5 obtained by using MFCC calculation, and the corresponding formula 1.

7. According to claim 6, in a complete compression process, the complete file A201 process formed by the sound event of the medicinal material includes a preprocessing A102, which is used to compare the stored A103 sound (noise) file with the data collected by the sensor and filter the noise data in the sensor; the file in A103 has a size corresponding to the length of the period Δt=6ms; after the sensor A101 is started, A102 filters the noise according to the length of the A103 file every 6ms and sends it to A201 for storage.

8. The output array B5 obtained by using MFCC calculation according to claim 6, and the corresponding formula 1, include the introduction of the dryness calculation formula based on the 12 arrays obtained by HASH, as well as formula 1 and the description of dryness by formula 1.