Method and device for detecting content of calcium ions in brassica campestris

Through portable near-infrared spectrometer and spectral pretreatment technology, a model for calcium ion content detection of rapeseed sprouts was constructed, which solved the problem of low calcium ion detection efficiency, and achieved rapid and accurate calcium ion content detection.

CN120275330APending Publication Date: 2025-07-08CHINA AGRI UNIV
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202510328747.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-19
Publication Date
2025-07-08

AI Technical Summary

Technical Problem

The existing detection methods for calcium ion content of rapeseed sprouts are cumbersome, and how to conduct detection more efficiently has become an urgent problem.

Method used

A portable near-infrared spectrometer combined with spectral pretreatment and model establishment method was used to complete, dry and grind the rape sprout samples, and spectral data were obtained and the calcium ion content detection model of rape sprouts was constructed, and prediction was performed using the partial least squares method.

Benefits of technology

Fast and accurate detection of calcium ion content of rapeseed sprouts was achieved, the detection time was shortened to 1 to 2 minutes, and the detection efficiency was significantly improved. The results were highly consistent with traditional chemical analysis methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120275330A_ABST
    Figure CN120275330A_ABST
Patent Text Reader

Abstract

The invention provides a method and device for detecting the content of calcium ions in brassica campestris, and relates to the technical field of agriculture, and the method comprises the following steps: carrying out fixation, drying and grinding treatment on to-be-detected brassica campestris to obtain a to-be-detected brassica campestris sample; carrying out spectrum detection on the to-be-detected rape moss sample through a portable near-infrared spectrometer to obtain spectrum data of the to-be-detected rape moss sample; inputting the spectral data of the to-be-detected brassica campestris sample into a brassica campestris calcium ion content detection model to obtain the calcium ion content of the to-be-detected brassica campestris, wherein the Brassica campestris calcium ion content detection model is constructed based on spectrum sample information of a Brassica campestris sample and a calcium ion content sample obtained through chemical detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of agriculture, and particularly to a method and device for detecting the calcium ion content of rape bolts. Background Art

[0002] Calcium is an essential nutrient element for the growth and development of rape bolts. An appropriate calcium level can significantly improve the quality and yield of rape bolts. However, too high a calcium ion concentration will disrupt the calcium ion balance in rape bolts and cause metabolic disorders. Therefore, determining the calcium ion content in rape bolts is particularly important for the production and development of rape.

[0003] The existing methods for detecting the calcium ion content of rape bolts mainly include chemical analysis methods such as EDTA complexometric titration and atomic absorption spectrophotometry. The analysis process is very cumbersome. Therefore, how to more efficiently detect the calcium ion content of rape bolts has become an urgent problem to be solved in the industry. Summary of the Invention

[0004] The present invention provides a method and device for detecting the calcium ion content of rape bolts to solve the problem of how to more efficiently detect the calcium ion content of rape bolts in the prior art.

[0005] The present invention provides a method for detecting the calcium ion content of rape bolts, comprising: Performing blanching, drying and grinding on the rape bolts to be detected to obtain a sample of the rape bolts to be detected; Performing spectral detection on the sample of the rape bolts to be detected by a portable near-infrared spectrometer to obtain spectral data of the sample of the rape bolts to be detected; Inputting the spectral data of the sample of the rape bolts to be detected into a detection model for the calcium ion content of rape bolts to obtain the calcium ion content of the rape bolts to be detected; wherein, the detection model for the calcium ion content of rape bolts is constructed based on the spectral sample information of rape bolt samples and the calcium ion content samples obtained by chemical detection.

[0006] According to the method for detecting the calcium ion content of rape bolts provided by the present invention, before the step of inputting the spectral data of the sample of the rape bolts to be detected into the detection model for the calcium ion content of rape bolts to obtain the calcium ion content of the rape bolts to be detected, the method further comprises: Performing blanching, drying and grinding on the rape bolt samples to obtain samples of the rape bolt samples; Performing spectral detection on the samples of the rape bolt samples in characteristic bands to obtain spectral sample information of the samples of the rape bolt samples, and performing chemical detection on the samples of the rape bolt samples for the calcium ion content to obtain calcium ion content samples of the samples of the rape bolt samples; Construct the calcium ion content detection model of Brassica campestris L. ssp. chinensis var. utilis based on the spectral sample information of the Brassica campestris L. ssp. chinensis var. utilis sample and the calcium ion content sample obtained by chemical detection.

[0007] According to a detection method for the calcium ion content of Brassica campestris L. ssp. chinensis var. utilis provided by the present invention, constructing the calcium ion content detection model of Brassica campestris L. ssp. chinensis var. utilis based on the spectral sample information of the Brassica campestris L. ssp. chinensis var. utilis sample and the calcium ion content sample obtained by chemical detection includes: After preprocessing the spectral sample information of the Brassica campestris L. ssp. chinensis var. utilis sample by first derivative and standard normal variate transformation, use the interval combination optimization algorithm to screen out representative spectral intervals to obtain the target spectral sample information; According to the target spectral sample information and the calcium ion content sample, construct the calcium ion content detection model of Brassica campestris L. ssp. chinensis var. utilis by partial least squares method.

[0008] According to a detection method for the calcium ion content of Brassica campestris L. ssp. chinensis var. utilis provided by the present invention, after blanching, drying and grinding the Brassica campestris L. ssp. chinensis var. utilis to be detected, obtaining the Brassica campestris L. ssp. chinensis var. utilis sample to be detected includes: Put the Brassica campestris L. ssp. chinensis var. utilis to be detected into an oven, blanch at 105 °C for 30 min, then dry at a constant temperature of 60 °C until constant weight, and then grind through a 0.5 mm sieve to obtain the Brassica campestris L. ssp. chinensis var. utilis sample to be detected.

[0009] According to a detection method for the calcium ion content of Brassica campestris L. ssp. chinensis var. utilis provided by the present invention, detecting the spectrum of the Brassica campestris L. ssp. chinensis var. utilis sample to be detected by a portable near-infrared spectrometer to obtain the spectral data of the Brassica campestris L. ssp. chinensis var. utilis sample to be detected includes: Use a portable spectrometer to collect the sample spectrum, and regularly collect the dark current and background spectrum for calibration; Take the average spectrum of multiple measurements as the spectral data of the Brassica campestris L. ssp. chinensis var. utilis sample to be detected.

[0010] The present invention also provides a detection device for the calcium ion content of Brassica campestris L. ssp. chinensis var. utilis, including the following modules: A processing module for blanching, drying and grinding the Brassica campestris L. ssp. chinensis var. utilis to be detected to obtain the Brassica campestris L. ssp. chinensis var. utilis sample to be detected; A detection module for detecting the spectrum of the Brassica campestris L. ssp. chinensis var. utilis sample to be detected by a portable near-infrared spectrometer to obtain the spectral data of the Brassica campestris L. ssp. chinensis var. utilis sample to be detected; An analysis module for inputting the spectral data of the Brassica campestris L. ssp. chinensis var. utilis sample to be detected into the calcium ion content detection model of Brassica campestris L. ssp. chinensis var. utilis to obtain the calcium ion content of the Brassica campestris L. ssp. chinensis var. utilis to be detected; Wherein, the calcium ion content detection model of Brassica campestris L. ssp. chinensis var. utilis is constructed based on the spectral sample information of the Brassica campestris L. ssp. chinensis var. utilis sample and the calcium ion content sample obtained by chemical detection.

[0011] A detection device for the calcium ion content of rape bolts provided by the present invention is further configured to: After blanching, drying, and grinding the rape bolt sample, obtain a sample of the rape bolt sample; Perform spectral detection on the characteristic bands of the rape bolt sample to obtain spectral sample information of the rape bolt sample, and perform chemical detection on the calcium ion content of the rape bolt sample to obtain a calcium ion content sample of the rape bolt sample; Construct a detection model for the calcium ion content of rape bolts based on the spectral sample information of the rape bolt sample and the calcium ion content sample obtained by chemical detection.

[0012] A detection device for the calcium ion content of rape bolts provided by the present invention is further configured to: After performing first derivative and standard normal variate preprocessing on the spectral sample information of the rape bolt sample, use an interval combination optimization algorithm to screen out representative spectral intervals to obtain target spectral sample information; Construct a detection model for the calcium ion content of rape bolts by partial least squares method based on the target spectral sample information and the calcium ion content sample.

[0013] A detection device for the calcium ion content of rape bolts provided by the present invention is further configured to: Put the rape bolts to be detected into an oven, blanch at 105 °C for 30 min, then dry at a constant temperature of 60 °C until constant weight, and then grind through a 0.5 mm sieve to obtain a sample of the rape bolts to be detected.

[0014] A detection device for the calcium ion content of rape bolts provided by the present invention is further configured to: Use a portable spectrometer to collect the sample spectrum, and regularly collect the dark current and background spectrum for calibration; Take the average spectrum of multiple measurements as the spectral data of the rape bolt sample to be detected.

[0015] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the detection method for the calcium ion content of rape bolts as described in any one of the above is implemented.

[0016] The present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the detection method for the calcium ion content of rape bolts as described in any one of the above is implemented.

[0017] The present invention also provides a computer program product, including a computer program, which when executed by a processor, implements the detection method of the calcium ion content in rape bolts as described in any one of the above.

[0018] The detection method and device for the calcium ion content in rape bolts provided by the present invention can accurately predict the calcium ion content in rape bolts through advanced spectral preprocessing and model establishment methods, and have a high degree of consistency with the results of traditional chemical analysis methods. The solution of this application does not require complex sample pretreatment steps, such as high-temperature ashing and acid digestion, which greatly shortens the detection time. Using a portable near-infrared spectrometer, the sample detection can be quickly completed on-site, and the detection time for each sample is only 1-2 minutes, significantly improving the detection efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0020] Figure 1 is a schematic flowchart of the detection method for the calcium ion content in rape bolts provided by the present invention; Figure 2 is a portable near-infrared spectroscopy detection system for measuring the calcium ion content in rape bolts provided by the present invention; Figure 3 is a schematic diagram of the quantitative effect and prediction effect of the calcium ion content model in rape bolts provided by the present invention; Figure 4 is a schematic structural diagram of the detection device for the calcium ion content in rape bolts provided by the present invention; Figure 5 is a schematic structural diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0021] To make the objectives, technical solutions, and advantages of the present invention clearer, the following will clearly and completely describe the technical solutions in the present invention with reference to the drawings in the present invention. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art without creative efforts based on the embodiments in the present invention belong to the scope of protection of the present invention.

[0022] Figure 1 is a schematic flowchart of the detection method for the calcium ion content in rape bolts provided by the present invention, as Figure 1 shown, the method includes the following: Step 110: After blanching, drying, and grinding the rapeseed shoots to be detected, a rapeseed shoot sample to be detected is obtained. In the present invention, first, the rapeseed shoots to be detected are blanched to quickly stop their physiological activities and fix their chemical components. Then, the blanched rapeseed shoots are placed in an oven and blanched at 105°C for 30 minutes, and then dried to a constant weight at a constant temperature of 60°C to remove the moisture in the sample and ensure the stability of the sample. Finally, the dried rapeseed shoots are ground and sieved through a 0.5 mm sieve to obtain a uniform rapeseed shoot sample to be detected, which is convenient for subsequent spectral detection and analysis.

[0023] Step 120: Spectral detection is performed on the rapeseed shoot sample to be detected by a portable near-infrared spectrometer to obtain spectral data of the rapeseed shoot sample to be detected. In the present invention, a portable near-infrared spectrometer is used to perform spectral detection on the rapeseed shoot sample to be detected after pretreatment. The specific operation is to put an appropriate amount of the rapeseed shoot sample to be detected into a sample cell, ensure that the sample is evenly filled and the surface is flat to ensure the accuracy of spectral detection. Operate the portable near-infrared spectrometer and collect spectra according to the operating procedures of the instrument to obtain the near-infrared spectral data of the rapeseed shoot sample to be detected. These spectral data contain the characteristic information of the calcium ion content in the rapeseed shoot sample and provide basic data for subsequent calcium ion content detection.

[0024] Step 130: Input the spectral data of the rapeseed shoot sample to be detected into the rapeseed shoot calcium ion content detection model to obtain the calcium ion content of the rapeseed shoot to be detected. Among them, the rapeseed shoot calcium ion content detection model is constructed based on the spectral sample information of rapeseed shoot samples and the calcium ion content samples obtained by chemical detection.

[0025] In the present invention, the rapeseed shoot calcium ion content detection model is constructed based on the spectral information of a large number of rapeseed shoot samples and the calcium ion content sample data obtained by chemical detection methods. This model can convert spectral data into predicted values of calcium ion content.

[0026] The model adopts the partial least squares (PLS) algorithm and combines characteristic bands (1038.2 - 1063.0 cm -1 , 1279.8 - 1304.5 cm -1 , 1428.4 - 1502.8 cm -1 , 1570.9 - 1601.9 cm -1 ) for prediction. These characteristic bands are selected by the interval combination optimization algorithm (ICO) and have representativeness and predictive ability.

[0027] The spectral data of the rapeseed stem sample to be detected collected by the portable near-infrared spectrometer is transmitted to the rapeseed stem calcium ion content detection model. The spectral data contains the characteristic information of the calcium ion content in the sample. The model quickly calculates and outputs the calcium ion content of the rapeseed stem to be detected according to the input spectral data. The whole process is efficient and accurate, without complex chemical analysis steps.

[0028] In the present invention, through advanced spectral preprocessing and model establishment methods, the present invention can accurately predict the calcium ion content in rapeseed stems, and has a high degree of consistency with the results of traditional chemical analysis methods. The solution of this application does not require complex sample pretreatment steps, such as high-temperature ashing and acid digestion, which greatly shortens the detection time. Using a portable near-infrared spectrometer, sample detection can be quickly completed on-site, and the detection time for each sample is only 1-2 minutes, significantly improving the detection efficiency.

[0029] Optionally, before the step of inputting the spectral data of the rapeseed stem sample to be detected into the rapeseed stem calcium ion content detection model to obtain the calcium ion content of the rapeseed stem to be detected, the method further includes: After blanching, drying and grinding the rapeseed stem sample, a rapeseed stem sample is obtained; Perform spectral detection on the characteristic bands of the rapeseed stem sample to obtain the spectral sample information of the rapeseed stem sample, and perform chemical detection on the calcium ion content of the rapeseed stem sample to obtain the calcium ion content sample of the rapeseed stem sample; Construct the rapeseed stem calcium ion content detection model based on the spectral sample information of the rapeseed stem sample and the calcium ion content sample obtained by chemical detection.

[0030] In the present invention, a portable near-infrared spectrometer is used to perform spectral detection on the processed rapeseed stem sample to obtain the near-infrared spectral data of the sample. By taking the average value through multiple measurements, the representativeness and reliability of the spectral data are ensured. During the spectral acquisition process, dark current and background spectra are regularly collected to correct the systematic error of the instrument and improve the accuracy of the spectral data.

[0031] Perform chemical detection on the calcium ion content of the processed rapeseed stem sample, and use conventional methods (such as EDTA complexometric titration method or atomic absorption spectrophotometry) to determine the calcium ion content in the sample to obtain accurate calcium ion content sample data.

[0032] More specifically, constructing the rapeseed stem calcium ion content detection model based on the spectral sample information of the rapeseed stem sample and the calcium ion content sample obtained by chemical detection includes: After preprocessing the spectral sample information of the rape bolt samples by first derivative and standard normal variate transformation, the interval combination optimization algorithm is used to screen out the representative spectral intervals to obtain the target spectral sample information; According to the target spectral sample information and the calcium ion content samples, a detection model for the calcium ion content of rape bolts is constructed by partial least squares method.

[0033] In the present invention, the collected spectral data is preprocessed by using the first derivative combined with the standard normal variate transformation method to eliminate the baseline drift and scattering effect and enhance the spectral characteristics.

[0034] The interval combination optimization algorithm (ICO) is used to select the representative spectral intervals from the preprocessed spectral data, and these characteristic bands can effectively reflect the information of the calcium ion content in the rape bolts.

[0035] Using the partial least squares (PLS) algorithm, combined with the selected characteristic bands and the calcium ion content sample data obtained by chemical detection, a detection model for the calcium ion content of rape bolts is established. This model can convert the spectral data into the predicted value of the calcium ion content.

[0036] In the present invention, the model is constructed based on a large number of sample data. Through the selection of characteristic bands and the application of the PLS algorithm, it can accurately predict the calcium ion content in the rape bolts, and the prediction results are highly consistent with the results of the chemical detection method.

[0037] Optionally, after subjecting the rape bolts to be detected to blanching, drying and grinding treatments, the rape bolt samples to be detected are obtained, including: Put the rape bolts to be detected into an oven, blanch at 105 °C for 30 min, then dry at a constant temperature of 60 °C until constant weight, and then grind through a 0.5 mm sieve to obtain the rape bolt samples to be detected.

[0038] In the present invention, the collected rape bolt samples are quickly subjected to blanching treatment to stop their physiological activities and fix their chemical components, preventing chemical changes from occurring during subsequent processing.

[0039] The blanched rape bolt samples are placed in an oven and blanched at 105 °C for 30 minutes, and then dried at a constant temperature of 60 °C until constant weight to remove the moisture in the samples and ensure the stability and consistency of the samples.

[0040] The dried rape bolt samples are ground and passed through a 0.5 mm sieve to obtain uniform rape bolt samples, so as to improve the accuracy and repeatability of spectral detection.

[0041] Optionally, the spectral detection of the rape bolt samples to be detected by a portable near-infrared spectrometer to obtain the spectral data of the rape bolt samples to be detected includes: Collect the sample spectra using a portable spectrometer, and regularly collect dark current and background spectra for calibration. Take the average spectrum of multiple measurements as the spectral data of the rapeseed stem sample to be detected.

[0042] Under the condition that the instrument turns off the light source, collect the signal generated by factors such as internal electronic noise of the instrument as the dark current reference spectrum.

[0043] Use a standard white board (Spectraion TM) with 99% diffuse reflectivity as a reference to collect the background spectrum to eliminate the influence of instrument and environmental factors on the spectral data.

[0044] In the present invention, during the spectral acquisition process, the dark current and background spectra are collected at regular intervals (for example, every ten minutes) to correct the influence of the systematic error of the instrument and environmental factors on the spectral data.

[0045] In the present invention, in order to improve the representativeness and reliability of the spectral data, multiple spectral measurements are performed on each rapeseed stem sample to be detected. The spectral data obtained from multiple measurements are averaged to obtain the average spectrum of the sample as the spectral data of the sample. This method can reduce accidental errors and improve the accuracy and stability of the spectral data.

[0046] In an optional embodiment, Figure 2 The portable near-infrared spectral detection system for determining the calcium ion content of rapeseed stems provided by the present invention mainly consists of a portable spectrometer 1; a portable spectrometer control system 2; an information transmission system 3; and a sample cell 4.

[0047] The detection device for the calcium ion content of rapeseed stems provided by the present invention is described below. The detection device for the calcium ion content of rapeseed stems described below can be mutually corresponded and referred to the detection method for the calcium ion content of rapeseed stems described above.

[0048] Figure 3 The schematic diagram of the quantitative effect and prediction effect of the calcium ion content model of rapeseed stems provided by the present invention is as Figure 3 shown, showing the model effect of the calcium ion content of rapeseed stems and the prediction effect of the calcium ion content of rapeseed stems.

[0049] The prediction results of the calcium ion content of rapeseed stems provided by the present invention are shown in Table 1 below. The prediction of the calcium ion content of rapeseed stems in this application can effectively and accurately predict the calcium ion content.

[0050] Table 1

[0051] Figure 4Schematic structural diagram of the detection device for the calcium ion content of rape shoots provided by the present invention, as Figure 4 shown, including: The processing module 410 is used to obtain a rape shoot sample to be detected after blanching, drying, and grinding the rape shoots to be detected; The detection module 420 is used to perform spectral detection on the rape shoot sample to be detected through a portable near-infrared spectrometer to obtain spectral data of the rape shoot sample to be detected; The analysis module 430 is used to input the spectral data of the rape shoot sample to be detected into the detection model for the calcium ion content of rape shoots to obtain the calcium ion content of the rape shoot sample to be detected; Among them, the detection model for the calcium ion content of rape shoots is constructed based on the spectral sample information of rape shoot samples and the calcium ion content samples obtained by chemical detection.

[0052] According to a detection device for the calcium ion content of rape shoots provided by the present invention, the device is further used for: After blanching, drying, and grinding the rape shoot samples, obtaining rape shoot sample samples; Performing spectral detection on the rape shoot sample samples in characteristic bands to obtain spectral sample information of the rape shoot sample samples, and performing chemical detection on the calcium ion content of the rape shoot sample samples to obtain calcium ion content samples of the rape shoot sample samples; Constructing the detection model for the calcium ion content of rape shoots based on the spectral sample information of the rape shoot samples and the calcium ion content samples obtained by chemical detection.

[0053] According to a detection device for the calcium ion content of rape shoots provided by the present invention, the device is further used for: After performing first derivative and standard normal transformation preprocessing on the spectral sample information of the rape shoot samples, using the interval combination optimization algorithm to screen out representative spectral intervals to obtain target spectral sample information; According to the target spectral sample information and the calcium ion content samples, constructing a detection model for the calcium ion content of rape shoots by partial least squares method.

[0054] According to a detection device for the calcium ion content of rape shoots provided by the present invention, the device is further used for: Putting the rape shoots to be detected into an oven, blanching at 105 °C for 30 min, then drying at a constant temperature of 60 °C until constant weight, and then grinding through a 0.5 mm sieve to obtain a rape shoot sample to be detected.

[0055] According to a detection device for the calcium ion content of rape shoots provided by the present invention, the device is further used for: Using a portable spectrometer to collect sample spectra, and regularly collecting dark current and background spectra for calibration; The average spectrum of multiple measurements is taken as the spectral data of the rapeseed stem sample to be detected.

[0056] Through advanced spectral preprocessing and model establishment methods, the present invention can accurately predict the calcium ion content in rapeseed stems, showing a high degree of consistency with the results of traditional chemical analysis methods. The solution of this application does not require complex sample pretreatment steps such as high-temperature ashing and acid digestion, greatly shortening the detection time. Using a portable near-infrared spectrometer, sample detection can be quickly completed on-site, and the detection time for each sample is only 1 - 2 minutes, significantly improving the detection efficiency.

[0057] Figure 5 It is a schematic structural diagram of the electronic device provided by the present invention. As Figure 5 shown, the electronic device may include: a processor 510, a communications interface 520, a memory 530, and a communication bus 540. Among them, the processor 510, the communications interface 520, and the memory 530 complete mutual communication through the communication bus 540. The processor 510 can call the logical instructions in the memory 530 to execute the method for detecting the calcium ion content in rapeseed stems. The method includes: after subjecting the rapeseed stem to be detected to blanching, drying, and grinding treatments, obtaining the rapeseed stem sample to be detected; Performing spectral detection on the rapeseed stem sample to be detected through a portable near-infrared spectrometer to obtain the spectral data of the rapeseed stem sample to be detected; Inputting the spectral data of the rapeseed stem sample to be detected into the rapeseed stem calcium ion content detection model to obtain the calcium ion content of the rapeseed stem sample to be detected; wherein, the rapeseed stem calcium ion content detection model is constructed based on the spectral sample information of rapeseed stem samples and the calcium ion content samples obtained by chemical detection.

[0058] In addition, when the logical instructions in the above-mentioned memory 530 are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks, or optical discs that can store program codes.

[0059] On the other hand, the present invention also provides a computer program product. The computer program product includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the detection method for the calcium ion content of Brassica parachinensis provided by the above-mentioned various methods. The method includes: after subjecting the Brassica parachinensis to be detected to blanching, drying, and grinding treatments, obtaining a Brassica parachinensis sample to be detected; Performing spectral detection on the Brassica parachinensis sample to be detected by a portable near-infrared spectrometer to obtain spectral data of the Brassica parachinensis sample to be detected; Inputting the spectral data of the Brassica parachinensis sample to be detected into a detection model for the calcium ion content of Brassica parachinensis to obtain the calcium ion content of the Brassica parachinensis to be detected; Wherein, the detection model for the calcium ion content of Brassica parachinensis is constructed based on the spectral sample information of Brassica parachinensis samples and the calcium ion content samples obtained by chemical detection.

[0060] On another aspect, the present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it is implemented to execute the detection method for the calcium ion content of Brassica parachinensis provided by the above-mentioned various methods. The method includes: after subjecting the Brassica parachinensis to be detected to blanching, drying, and grinding treatments, obtaining a Brassica parachinensis sample to be detected; Performing spectral detection on the Brassica parachinensis sample to be detected by a portable near-infrared spectrometer to obtain spectral data of the Brassica parachinensis sample to be detected; Inputting the spectral data of the Brassica parachinensis sample to be detected into a detection model for the calcium ion content of Brassica parachinensis to obtain the calcium ion content of the Brassica parachinensis to be detected; Wherein, the detection model for the calcium ion content of Brassica parachinensis is constructed based on the spectral sample information of Brassica parachinensis samples and the calcium ion content samples obtained by chemical detection.

[0061] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separated. The components shown as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art can understand and implement it without creative work.

[0062] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on such an understanding, the essence of the above technical solution, or the part that contributes to the prior art, can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0063] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of each embodiment of the present invention.

Claims

1. A method for detecting the calcium ion content of Brassica campestris L. ssp. chinensis var. utilis Tsen et Lee, characterized in that, Including: After blanching, drying, and grinding the rapeseed stems to be detected, a rapeseed stem sample to be detected is obtained; The spectrum of the rapeseed stem sample to be detected is detected by a portable near-infrared spectrometer to obtain the spectral data of the rapeseed stem sample to be detected; The spectral data of the rapeseed stem sample to be detected is input into a rapeseed stem calcium ion content detection model to obtain the calcium ion content of the rapeseed stem sample to be detected; Among them, the rapeseed stem calcium ion content detection model is constructed based on the spectral sample information of rapeseed stem samples and the calcium ion content samples obtained by chemical detection.

2. The detection method of the calcium ion content of rape bolts according to claim 1, characterized in that Before the step of inputting the spectral data of the rapeseed stem sample to be detected into the rapeseed stem calcium ion content detection model to obtain the calcium ion content of the rapeseed stem sample to be detected, the method further includes: After blanching, drying, and grinding the rapeseed stem samples, a rapeseed stem sample is obtained; The rapeseed stem sample is subjected to spectral detection in characteristic bands to obtain the spectral sample information of the rapeseed stem sample, and the rapeseed stem sample is subjected to chemical detection of calcium ion content to obtain the calcium ion content sample of the rapeseed stem sample; Construct the rapeseed stem calcium ion content detection model based on the spectral sample information of the rapeseed stem sample and the calcium ion content samples obtained by chemical detection.

3. The detection method of the calcium ion content of rape shoots according to claim 2, wherein Constructing the rapeseed stem calcium ion content detection model based on the spectral sample information of the rapeseed stem sample and the calcium ion content samples obtained by chemical detection includes: After preprocessing the spectral sample information of the rapeseed stem sample by first derivative and standard normal variate transformation, the interval combination optimization algorithm is used to screen out representative spectral intervals to obtain the target spectral sample information; According to the target spectral sample information and the calcium ion content sample, a rapeseed stem calcium ion content detection model is constructed by partial least squares method.

4. The detection method of the calcium ion content of rape bolts according to claim 1, characterized in that, The step of obtaining a rapeseed stem sample to be detected after blanching, drying, and grinding the rapeseed stem to be detected includes: Put the rapeseed stem to be detected into an oven, blanch it at 105 °C for 30 min, then dry it at a constant temperature of 60 °C until constant weight, and then grind it through a 0.5 mm sieve to obtain a rapeseed stem sample to be detected.

5. The detection method of the calcium ion content of rape bolts according to claim 1, characterized in that, The step of detecting the spectrum of the rapeseed stem sample to be detected by a portable near-infrared spectrometer to obtain the spectral data of the rapeseed stem sample to be detected includes: Use a portable spectrometer to collect the sample spectrum, and regularly collect the dark current and background spectrum for calibration; Take the average spectrum of multiple measurements as the spectral data of the rapeseed stem sample to be detected.

6. The detection method of the calcium ion content of rape shoots according to claim 2, wherein The characteristic wavelength band includes at least one of the following: 1038.2 - 1063.0 cm -1 , 1279.8 - 1304.5 cm -1 , 1428.4 - 1502.8 cm -1 , 1570.9 - 1601.9 cm -1。 7. A detection device for the calcium ion content of rape stems, characterized in that, Including: A processing module for obtaining a rapeseed stem sample to be detected after blanching, drying, and grinding the rapeseed stem to be detected; A detection module for detecting the spectrum of the rapeseed stem sample to be detected by a portable near-infrared spectrometer to obtain the spectral data of the rapeseed stem sample to be detected; An analysis module for inputting the spectral data of the rapeseed stem sample to be detected into a rapeseed stem calcium ion content detection model to obtain the calcium ion content of the rapeseed stem sample to be detected; Among them, the rapeseed stem calcium ion content detection model is constructed based on the spectral sample information of rapeseed stem samples and the calcium ion content samples obtained by chemical detection.

8. An electronic device, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, When the processor executes the computer program, the detection method of the calcium ion content of Brassica campestris L. ssp. chinensis var. utilis as described in any one of claims 1 to 6 is implemented.

9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, the detection method of the calcium ion content of Brassica campestris L. ssp. chinensis var. utilis as described in any one of claims 1 to 6 is implemented.

10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, the detection method of the calcium ion content of Brassica campestris L. ssp. chinensis var. utilis as described in any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Detection method of calcium ions in soil

    CN105223141A

  • Detection method of calcium content of jujube tree canopy

    CN105973838A

  • Method for rapidly detecting content of calcium element in oil sand on basis of near infrared spectrum

    CN106442402A

  • Litchi leaf calcium content prediction method and prediction device

    CN111650129A

  • Modeling method of tobacco leaf conventional chemical component general model based on near infrared spectrum

    CN115824996A