Drug detection method and device and computer storage medium
Through the technology of combining terahertz chips and metamaterials, the drug solution concentration is determined using the resonant peak offset, which solves the high cost, time-consuming and error problems of existing drug detection technologies, and achieves fast and accurate liquid drug detection.
Patent Information
- Application Number
- CN202510117688.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-24
- Publication Date
- 2025-06-03
AI Technical Summary
The existing drug testing technology has problems such as high cost, long time-consuming, large errors in the test result, and difficulty in quickly detecting liquid drugs.
Using terahertz chip combined with metamaterial technology, the time domain signals of the blank and sample terahertz chip are obtained, and the frequency domain spectral signals are obtained are obtained by using Fourier transform, and the resonance peak offset is compared to determine the concentration of the drug solution.
It realizes rapid qualitative and quantitative detection of liquid drug solutions, with simple operation, small sample sampling volume, no other chemical reagents required, and overcomes the problems of high cost, time-consuming and large errors of traditional methods.
Smart Images

Figure CN120084752A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of security inspection, and particularly to a drug detection method, device, and computer storage medium. Background Art
[0002] Drugs seriously endanger human health and social stability. Addicted drug users have an extremely strong craving for drugs. To satisfy their drug addiction, they will stop at nothing to obtain drugs, seriously disrupting social order and causing crises for the country and the nation. According to Article 357 of the Criminal Law of the People's Republic of China, drugs refer to methamphetamine, opium, cannabis, heroin, morphine, cocaine, and other psychotropic substances and narcotic drugs that are controlled by the state and can cause addiction.
[0003] Some existing drug detection technologies include: chemical method, X-ray spectroscopy, ion mobility spectrometry, chromatography, mass spectrometry, and chromatography-mass spectrometry coupling technology, etc. These methods each have their own advantages, but also have certain limitations. For example, the chemical detection method has a low cost, but it is not easy to detect drugs with low content and similar chemical structures, and the impurities contained will affect the accuracy of the detection results. It is mostly used in laboratories and cannot achieve rapid detection. X-rays have strong penetrability and can show the shape of the items in the package. However, drugs can only show the external shape under X-rays and cannot be qualitatively analyzed. Moreover, X-rays have a certain radiation hazard to the human body, especially sensitive groups such as pregnant women and children need to avoid exposure to X-rays as much as possible. Therefore, in most cases, X-rays can only be used for item detection and cannot be used for human body detection. Ion mobility spectrometry is highly sensitive to trace substances and can detect whether there are drug residues in the human body by detecting human hair, blood, or urine. However, ion mobility spectrometry has low resolution, poor quantification, and can only be detected within a relatively low concentration range, and cannot be used in actual customs port detections. Chromatography and mass spectrometry have high sensitivity, but are complex to operate and costly, and are not suitable for on-site drug detections. Summary of the Invention
[0004] To solve the above technical problems, this application proposes a drug detection method, which includes: obtaining a blank terahertz chip and a sample terahertz chip, wherein the terahertz chip includes a substrate and a metamaterial grown on the substrate; obtaining the terahertz reference time-domain signal of the blank terahertz chip and the terahertz sample time-domain signal of the sample terahertz chip; performing Fourier transform on the terahertz reference time-domain signal to obtain a terahertz reference frequency-domain spectrum signal; performing Fourier transform on the terahertz sample time-domain signal to obtain a terahertz sample frequency-domain spectrum signal; comparing the terahertz reference frequency-domain spectrum signal and the terahertz sample frequency-domain spectrum signal to obtain a resonance peak offset; and determining the drug solution concentration of the sample based on the resonance peak offset.
[0005] Among them, the Fourier transform of the terahertz reference time-domain signal to obtain the terahertz reference frequency-domain spectral signal includes: performing a Fourier transform on the terahertz reference time-domain signal to obtain the frequency-shifted spectrum and absorption coefficient of the blank terahertz chip; generating the terahertz reference frequency-domain spectral signal by Gaussian fitting based on the frequency-shifted spectrum and the absorption coefficient.
[0006] Among them, determining the drug solution concentration of the sample based on the resonance peak offset includes: obtaining the drug type of the sample; extracting the concentration-absorption spectrum fitting relationship of the drug type; inputting the resonance peak offset into the concentration-absorption spectrum fitting relationship to determine the drug solution concentration of the sample.
[0007] Among them, obtaining the sample terahertz chip includes: obtaining the drug solution to be detected; performing glow discharge on the terahertz chip; placing the drug solution to be detected on the surface of the terahertz chip to form the sample terahertz chip.
[0008] Among them, obtaining the terahertz sample time-domain signal of the sample terahertz chip includes: introducing high-concentration nitrogen into the sample chamber where the sample terahertz chip is located; collecting the terahertz sample time-domain signal of the sample terahertz chip placed on the transmission sample holder.
[0009] Among them, the terahertz chip has a symmetric cube ring structure.
[0010] Among them, the metal structure gap of the terahertz chip is 1 μm - 3 μm, the outer side length of the cube is 16 μm - 20 μm, the inner side length of the cube is 8 μm - 12 μm, the line width c is 1 μm - 3 μm, and the period is 22 μm - 26 μm.
[0011] To solve the above technical problems, the present application proposes a drug detection device, which includes an acquisition module, a calculation module, and a detection module; the acquisition module is used to obtain a blank terahertz chip and a sample terahertz chip, where the terahertz chip includes a substrate and a metamaterial grown on the substrate; obtain the terahertz reference time-domain signal of the blank terahertz chip and the terahertz sample time-domain signal of the sample terahertz chip; the calculation module is used to perform a Fourier transform on the terahertz reference time-domain signal to obtain a terahertz reference frequency-domain spectral signal; perform a Fourier transform on the terahertz sample time-domain signal to obtain a terahertz sample frequency-domain spectral signal; compare the terahertz reference frequency-domain spectral signal and the terahertz sample frequency-domain spectral signal to obtain a resonance peak offset; the detection module is used to determine the drug solution concentration of the sample based on the resonance peak offset.
[0012] To solve the above technical problems, the present application proposes a drug detection device, which includes a memory and a processor coupled to the memory; wherein, the memory is used to store program data, and the processor is used to execute the program data to implement the above drug detection method.
[0013] To solve the above technical problems, the present application proposes a computer storage medium, which is used to store program data. When the program data is executed by a computer, it is used to implement the above drug detection method.
[0014] Different from the prior art, the beneficial effects of the present application are as follows: The drug detection device obtains a blank terahertz chip and a sample terahertz chip, wherein the terahertz chip includes a substrate and a metamaterial grown on the substrate; obtains the terahertz reference time-domain signal of the blank terahertz chip and the terahertz sample time-domain signal of the sample terahertz chip; performs Fourier transform on the terahertz reference time-domain signal to obtain a terahertz reference frequency-domain spectrum signal; performs Fourier transform on the terahertz sample time-domain signal to obtain a terahertz sample frequency-domain spectrum signal; compares the terahertz reference frequency-domain spectrum signal and the terahertz sample frequency-domain spectrum signal to obtain a resonance peak offset; based on the resonance peak offset, determines the drug solution concentration of the sample. Through the above method, it is possible to quickly qualitatively and quantitatively analyze liquid drug solutions. The method is simple to operate, requires a small amount of sample sampling, is easy to operate, does not use other chemical reagents, and can effectively solve the problems of high detection cost, long detection time, and large detection result errors in traditional drug solution detection methods, and also overcomes the difficult problem that traditional terahertz is difficult to transmit liquids. Description of the Drawings
[0015] To more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only 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.
[0016] Figure 1 It is a schematic flowchart of the first embodiment of the drug detection method provided by the present application;
[0017] Figure 2 It is a schematic diagram of an embodiment of the terahertz chip specification provided by the present application;
[0018] Figure 3 It is a schematic diagram of another embodiment of the terahertz chip specification provided by the present application;
[0019] Figure 4 It is a simulation diagram of the resonance peak of the terahertz chip provided by the present application;
[0020] Figure 5 It is a schematic diagram of an embodiment of the physical terahertz chip provided by this application;
[0021] Figure 6 It is a schematic diagram of another embodiment of the physical terahertz chip provided by this application;
[0022] Figure 7 It is a schematic diagram of the test results of the terahertz chip with a morphine hydrochloride concentration gradient;
[0023] Figure 8 It is a fitting diagram of the resonance peak offset of morphine hydrochloride with a concentration gradient provided by this application;
[0024] Figure 9 It is a resonance peak absorption coefficient diagram of the terahertz chip with a concentration gradient of caffeine provided by this application;
[0025] Figure 10 It is a fitting diagram of the resonance peak offset of caffeine with a concentration gradient provided by this application;
[0026] Figure 11 It is a schematic structural diagram of another embodiment of the drug detection device provided by this application;
[0027] Figure 12 It is a schematic structural diagram of an embodiment of the drug detection device provided by this application;
[0028] Figure 13 It is a schematic structural diagram of an embodiment of the computer storage medium provided by this application. Detailed implementation manners
[0029] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
[0030] Among them, the drug detection method of this application is applied to a drug detection device. Among them, the drug detection device of this application can be a server or a system in which the server and the local terminal cooperate with each other. Correspondingly, each part included in the drug detection device, such as each unit, sub-unit, module, and sub-module, can be all set in the server or can be respectively set in the server and the local terminal.
[0031] Further, the above-mentioned server can be hardware or software. When the server is hardware, it can be implemented as a distributed server cluster composed of multiple servers or as a single server. When the server is software, it can be implemented as multiple software or software modules, such as software or software modules for providing a distributed server, or as a single software or software module, which is not specifically limited herein. In some possible implementation manners, the drug detection method of the embodiments of the present application can be implemented by a processor calling computer-readable instructions stored in a memory.
[0032] Tera Hertz (THz, 1THz = 10 12 Hz) waves refer to electromagnetic waves with an oscillation frequency in the range of 0.1 - 10 THz and a wavelength in the range of 3000 - 30 μm. Terahertz waves are electromagnetic radiation between microwaves and infrared. Since the low-frequency rotation and vibration transitions of molecules fall in this band, and the weak interactions between large molecules (such as hydrogen bonds, van der Waals forces), backbone vibrations, and dipole rotations are exactly in the THz frequency spectrum range, each large molecule has a specific THz spectral fingerprint. Therefore, THz waves can detect information such as molecular composition, structure, and function that cannot be obtained in other electromagnetic wave bands, making THz spectroscopy have broad application prospects in fields such as chemistry, biomedicine, etc.
[0033] Metamaterials are artificial electromagnetic materials with a periodic arrangement of structural dimensions much smaller than the incident wavelength. Reasonable and effective design can enable them to achieve some peculiar optical properties, such as complex refraction, extraordinary transmission, etc. In addition, metamaterials have a good local field enhancement effect on the electromagnetic field, can interact with the detected molecules, and exhibit strong resonances. Using the resonance characteristics for terahertz chip sensing, the changes in refractive index and the surrounding medium can be identified by the changes in resonance peaks, which not only improves the detection sensitivity but also reduces the amount of analyte used. Liquid drug solutions have strong absorption in the terahertz band, and conventional terahertz spectroscopy techniques are difficult to transmit liquid samples. The combination of terahertz spectroscopy technology and metamaterial chips can greatly improve the detection sensitivity and reduce the sample usage.
[0034] To solve the above technical problems, the present application proposes a drug detection method. In this embodiment, please refer to Figure 1 , Figure 1 which is a schematic flowchart of the first embodiment of the drug detection method provided by the present application.
[0035] As Figure 1 shown, the specific steps are as follows:
[0036] Step S11: Obtain a blank terahertz chip and a sample terahertz chip.
[0037] In an embodiment of the present application, the terahertz chip includes a substrate and a metamaterial grown on the substrate.
[0038] Specifically, the drug detection device obtains a highly sensitive terahertz chip for detecting trace liquid drugs, which includes a substrate and a plurality of periodic structure metamaterials grown on the substrate. The resonance frequency of the chip is determined by the capacitance of the gap structure and the inductance of the shape of the ring. The shift of the resonance frequency is caused by the dielectric material in the gap structure, and the dielectric material outside the gap region has no effect on the resonance frequency.
[0039] Therefore, by enhancing the interaction between drug molecules and terahertz electromagnetic waves or filling the gap structure with biomolecules as much as possible, the sensitivity of the metamaterial terahertz sensor can be improved.
[0040] Among them, the blank terahertz chip is a blank chip without any items, and the sample terahertz chip is a chip including the drug solution to be detected.
[0041] Among them, the terahertz chip in the embodiment of the present application is a symmetric cube ring structure, including a blank terahertz chip and a sample terahertz chip.
[0042] In a specific embodiment of the present application, the metal structure gap of the terahertz chip is 1 μm - 3 μm, the outer side length of the cube is 16 μm - 20 μm, the inner side length of the cube is 8 μm - 12 μm, the line width c is 1 μm - 3 μm, and the period is 22 μm - 26 μm.
[0043] Specifically, as Figures 2 - 4 shown, Figure 2 is a schematic diagram of an embodiment of the terahertz chip specification provided by the present application; Figure 3 is a schematic diagram of another embodiment of the terahertz chip specification provided by the present application; Figure 4 is a simulation diagram of the resonance peak of the terahertz chip provided by the present application. To determine the specific parameters of this structure, the CST Microwave Studio software is used for simulation. The response characteristics of the terahertz metamaterial chip based on a silicon substrate are analyzed under different conditions. The simulation is based on the finite element method to determine the specific metamaterial parameters.
[0044] From Figures 2 - 4It can be seen that the chip has a symmetrical cube ring structure. The metal layer of this structure is located on the upper surface of a high-resistivity silicon substrate. The thickness of the high-resistivity silicon is 500 μm, and the resistivity is ≥20 KΩ·cm. Among them, the size of the micro-structure is 18 μm * 18 μm. The material of the upper surface metal structure is a gold (Au) structure, and the thickness of Au is 1000 nm. This chip is a 3D terahertz chip with a high aspect ratio. The terahertz chip is mainly composed of a symmetrical cube ring structure. Its parameter settings are as follows: the gap g of the metal structure is set to 1 - 2 μm, the outer side length a of the cube is 18 μm, the inner side length b of the cube is 10 μm, the line width c is 2 μm, and the period is 24 μm. By setting the gap area generated by such a symmetrical rectangle, when the electric field direction of terahertz is polarized along a certain direction, obvious characteristic resonance peaks will appear in the terahertz transmission spectrum based on this structure, and the signal obtained at this time will also have a relatively high signal-to-noise ratio. It can be known that under the final chip layout of 8 mm * 8 mm, each chip has 330 * 330 = 108900 micro-structures. The area of the micro-structure gap (gap) region is: 36 μm², the effective area is 3.92 mm², and the proportion of the gap effective area is 6.125%, which has a relatively high sensitivity.
[0045] The structural unit size of the terahertz chip device based on the metasurface is relatively small and needs to be fabricated using microfabrication technology. Lithography technology is a kind of microfabrication technology with relatively high precision. The present invention uses lithography technology to fabricate the terahertz chip. The process is divided into six steps: coating, spin-coating photoresist, exposure, development, etching, and dicing. Finally, the terahertz metamaterial chip is obtained. As Figures 5 - 6 shown, Figure 5 is a schematic diagram of an embodiment of the physical terahertz chip provided by this application; Figure 6 is a schematic diagram of another embodiment of the physical terahertz chip provided by this application,
[0046] Furthermore, this application proposes an embodiment for obtaining a sample terahertz chip. The specific steps are as follows:
[0047] The drug detection device obtains the drug solution to be detected; performs glow discharge on the terahertz chip, and places the drug solution to be detected on the surface of the terahertz chip to form the sample terahertz chip.
[0048] Specifically, first, the terahertz chip is cleaned. Due to certain impurities on the chip surface during the processing technology, in the embodiment of this application, it is soaked and rinsed with ultrapure water and ethanol reagents, and then dried for standby.
[0049] Furthermore, the terahertz metal chip has poor hydrophilicity, and the liquid sample cannot be fully spread on the metal surface, affecting the sensitivity of the test results. The present invention uses the glow discharge method to improve the hydrophilicity of the chip. In the experiment, an easiGLOW91000 glow discharge instrument was used to perform glow discharge on the terahertz chip. The discharge current was set to 40 - 50 mA and the discharge time was 2 min. After the discharge, the surface of the metamaterial chip was negatively charged and hydrophilic, and the sample could be fully spread on the chip surface after being dropped.
[0050] Furthermore, the drug detection device obtains a drug liquid solution with a certain concentration, such as a morphine hydrochloride solution. An appropriate amount of morphine hydrochloride is weighed, fully dissolved in ultrapure water, and fixed volume to 10 ml with a volumetric flask to prepare a solution with a concentration of 0.5 / 1 / 5 / 10 mg / mL.
[0051] The drug detection device obtains a caffeine solution with a certain concentration. The preparation process can be: weigh an appropriate amount of caffeine, fully dissolve it in ultrapure water, and fixed volume to 10 ml with a volumetric flask to prepare a solution with a concentration of 1 / 2 / 5 / 10 mg / mL;
[0052] Use a pipette to take 5 μL of the above solution and transfer it to the terahertz chip after discharge. The solution will fully spread. After waiting for 10 minutes to volatilize at room temperature, put it into the terahertz spectrometer for transmission testing.
[0053] Step S12: Obtain the terahertz reference time-domain signal of the blank terahertz chip and obtain the terahertz sample time-domain signal of the sample terahertz chip.
[0054] In an embodiment of the present application, the drug detection device introduces high-concentration nitrogen into the sample chamber where the sample terahertz chip is located; collects the terahertz sample time-domain signal of the sample terahertz chip placed on the transmission sample holder.
[0055] Specifically, the drug detection device uses the transmission-type spectrum of the THz-TDS system to collect signals, introduces high-purity nitrogen (the flow rate is about 15 L / min) into the sample chamber to exclude the interference of water vapor. After the water vapor is completely excluded, collect the no-load time-domain signal when no sample is placed, and determine it as the terahertz reference time-domain signal; then place the above terahertz chip on the transmission sample holder to obtain different terahertz sample time-domain signals respectively.
[0056] The terahertz source is an optically controlled photoconductive semiconductor emitter, the terahertz detector is an optically controlled photoconductive semiconductor receiver, the laser is a 780 nm femtosecond laser, the terahertz spectral width is 0.06 - 4.5 THz, the maximum time-domain scanning range is 1200 ps, the dynamic range is 80 dB, and perform Fourier transform to obtain the terahertz reference frequency-domain spectrum signal.
[0057] Step S13: Perform Fourier transform on the terahertz reference time-domain signal to obtain a terahertz reference frequency-domain spectrum signal.
[0058] In an embodiment of the application, the drug detection device performs Fourier transform on the terahertz reference time-domain signal to obtain the frequency-shifted spectrum and absorption coefficient of the blank terahertz chip.
[0059] Specifically, the drug detection device generates a terahertz reference frequency-domain spectrum signal through Gaussian fitting based on the frequency-shifted spectrum and the absorption coefficient. Extract the absorption coefficient; perform fast Fourier transform on the obtained terahertz reference time-domain signal to obtain the frequency-shifted spectrum and absorption coefficient of the blank terahertz chip.
[0060] Step S14: Perform Fourier transform on the terahertz sample time-domain signal to obtain a terahertz sample frequency-domain spectrum signal.
[0061] In an embodiment of the present application, the Fourier transform (FFT) algorithm for intercepting the time-domain signal is as follows: The thickness of the terahertz chip is relatively thin, about 0.50 mm. When the terahertz time-domain signal penetrates the sample, there are many echoes and interference effects in the time-domain spectrum, which have a certain interference on the subsequent extraction of the absorption coefficient. In this embodiment of the present application, the time-domain signal from 0 to 26 ps is intercepted for Fourier transform to obtain the frequency-shifted spectrum and absorption coefficient of the sample, and a relatively smooth curve is obtained through Gaussian fitting.
[0062] Step S15: Compare the terahertz reference frequency-domain spectrum signal and the terahertz sample frequency-domain spectrum signal to obtain the resonance peak offset.
[0063] The drug detection device obtains the corresponding reference terahertz frequency-domain spectrum signal and sample terahertz frequency-domain spectrum signal; then, according to the relevant theory of THz-TDS, multi-dimensional spectral information such as the absorption coefficient, refractive index, and dielectric constant of the enzyme substance based on the terahertz chip can be obtained for data statistics and analysis.
[0064] In an embodiment of the present application, the theoretical calculation method for processing the spectral information of the sample is as follows:
[0065] Assume that the reference signal obtained when the sample chamber is filled with nitrogen (no sample is placed) is E ref (ω), and the sample signal obtained when measuring the sample with a thickness of d is E sam (ω), then the sample spectral response function H(ω) is expressed by the following formula:
[0066]
[0067] where A(ω) is the amplitude ratio of the sample to the reference, is the phase difference between the sample and the reference. According to the model of the optical parameters of the material, the refractive index of the sample Absorbance a(ω) and dielectric constant ε * (ω) are respectively:
[0068]
[0069]
[0070]
[0071] Step S16: Determine the concentration of the drug solution in the sample based on the resonance peak offset.
[0072] In an embodiment of the present application, the drug detection device acquires the drug type of the sample; extracts the concentration-absorption spectrum fitting relationship of the drug type; inputs the resonance peak offset into the concentration-absorption spectrum fitting relationship to determine the concentration of the drug solution in the sample.
[0073] As Figure 7 shown,[[]]END]] Figure 7 is a schematic diagram of the test results of a terahertz chip for the concentration gradient of morphine hydrochloride. From the absorption spectrum of the resonance peak of the chip from a concentration of 0.5 mg / mL to 10 mg / mL, it can be seen from Figure 7 that as the concentration increases, the resonance peak frequency of the chip gradually shifts to the low frequency. By statistically analyzing the frequency offset value △ F(GHz) and the absorption peak intensity offset value △ I, where the frequency offset △ F(GHz) = sample - f blank chip, and the absorption peak intensity offset value △ I = Isample - Iblank chip; a linear fit was performed on the relationship between the concentration of the drug solution and the resonance peak offset, and the obtained fitting equations are Y = 9.575*X - 1.445 and the correlation coefficient R2 = 0.9676 respectively.
[0074] As Figure 8 shown,[[]]END]] Figure 8 is the fitting diagram of the resonance peak offset of the concentration gradient of morphine hydrochloride provided by the present application; it can be seen from the fitting results that the resonance peak offset and the concentration of the drug solution are positively correlated, with a good linear relationship and a correlation coefficient R2 > 95%.
[0075] As Figures 9 - 10 shown,[[]]END]] Figure 9 is the resonance peak absorption coefficient diagram of the concentration gradient of caffeine terahertz chip provided by the present application; Figure 10 is the fitting diagram of the resonance peak offset of the concentration gradient of caffeine provided by the present application.
[0076] It can be found from the spectrogram that there is a certain correlation between the caffeine concentration gradient (1.0 - 10.0 mg / ml) and the resonant peak frequency shift. The fitting equation is: Y = 6.179*X + 21.32, and the correlation coefficient R2 = 0.9965, indicating a very high correlation. It can be seen that the terahertz chip of the present invention has strong sensitivity to trace concentration of drug liquids. Subsequently, the drug content in the liquid sample can be qualitatively and quantitatively analyzed according to the fitting equation. The experiment proves the feasibility of the metamaterial terahertz sensor for detecting liquid drug solutions, and drug solutions can be quickly screened according to this method. With the continuous increase in the types of drugs and the emergence of new drugs, the technology for rapid detection of liquid drugs is particularly important for anti-drug work.
[0077] To solve the above technical problems and to implement the drug detection method of the above embodiments, the present application also provides a drug detection device. For details, please refer to Figure 11 , Figure 11 which is a schematic structural diagram of another embodiment of the drug detection device provided by the present application.
[0078] The present application proposes a drug detection device 400, which includes an acquisition module 41, a calculation module 42, and a detection module 43.
[0079] The acquisition module 41 is used to acquire a blank terahertz chip and a sample terahertz chip. Among them, the terahertz chip includes a substrate and a metamaterial grown on the substrate; to acquire the terahertz reference time-domain signal of the blank terahertz chip and the terahertz sample time-domain signal of the sample terahertz chip;
[0080] The calculation module 42 is used to perform Fourier transform on the terahertz reference time-domain signal to obtain the terahertz reference frequency-domain spectrum signal; perform Fourier transform on the terahertz sample time-domain signal to obtain the terahertz sample frequency-domain spectrum signal; compare the terahertz reference frequency-domain spectrum signal and the terahertz sample frequency-domain spectrum signal to obtain the resonant peak offset;
[0081] The detection module 43 is used to determine the drug solution concentration of the sample based on the resonant peak offset.
[0082] To implement the drug detection method of the above embodiments, the present application also provides another drug detection device. For details, please refer to Figure 12 , Figure 12 which is a schematic structural diagram of another embodiment of the drug detection device provided by the present application.
[0083] As Figure 12 shown, the drug detection device 600 of this embodiment includes a processor 61, a memory 62, an input / output device 63, and a bus 64.
[0084] The processor 61, the memory 62, and the input / output device 63 are respectively connected to the bus 64. A computer program is stored in the memory 62, and the processor 61 is configured to execute the computer program to implement the drug detection method of the above embodiments.
[0085] In this embodiment, the processor 61 may also be referred to as a CPU (Central Processing Unit). The processor 61 may be an integrated circuit chip with signal processing capabilities. The processor 61 may also be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. The processor 61 may also be a GPU (Graphics Processing Unit), also known as a display core, a visual processor, a display chip, which is a microprocessor dedicated to image computing on computers, workstations, game consoles, and some mobile devices (such as tablets, smartphones, etc.). The purpose of the GPU is to convert and drive the display information required by the computer system and provide a line scan signal to the display to control the correct display of the display, which is an important component connecting the display and the computer motherboard. As an important part of the computer host, the graphics card undertakes the task of outputting and displaying graphics. The general-purpose processor may be a microprocessor or the processor 61 may also be any conventional processor, etc.
[0086] This application also provides a computer storage medium, such as Figure 13 shown, the computer storage medium 700 is used to store a computer program 71, and when the computer program 71 is executed by a processor, it is used to implement the method described in the drug detection method embodiment of this application.
[0087] The method involved in the drug detection method embodiment of this application, when implemented and existing in the form of a software functional unit and sold or used as an independent product, can be stored in a device, such as a computer-readable storage medium. Based on such an understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or 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 to enable a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: 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, etc., which can store program codes.
[0088] In several embodiments provided by the present application, it should be understood that the disclosed methods and apparatuses can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections to each other can be through some interfaces. The indirect couplings or communication connections of devices or units can be in electrical, mechanical or other forms.
[0089] The units described as separate components may or may not be physically separated. The components displayed as units may or may not be physical units, that is, they can be located in one place or distributed to network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0090] In addition, in each embodiment of the present application, the functional units can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
[0091] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or all or 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 can be a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the methods in each embodiment of the present application.
[0092] The above description is only for the embodiments of the present invention and does not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the content of the specification and drawings of the present invention, or directly or indirectly applied in other related technical fields, shall be equally included in the patent protection scope of the present invention.
Claims
1. A drug detection method, characterized in that: The drug detection method comprises: Obtaining a blank terahertz chip and a sample terahertz chip, wherein the terahertz chip includes a substrate and a metamaterial grown on the substrate; Acquiring a terahertz reference time domain signal of the blank terahertz chip and acquiring a terahertz sample time domain signal of the sample terahertz chip; Performing Fourier transformation on the terahertz reference time domain signal to obtain a terahertz reference frequency domain spectrum signal; Performing Fourier transform on the terahertz sample time domain signal to obtain a terahertz sample frequency domain spectrum signal; Comparing the terahertz reference frequency domain spectrum signal and the terahertz sample frequency domain spectrum signal to obtain a resonance peak shift; Based on the resonance peak shift, the drug solution concentration of the sample is determined.
2. The drug detection method according to claim 1, characterized in that: The step of performing Fourier transform on the terahertz reference time domain signal to obtain a terahertz reference frequency domain spectrum signal comprises: Performing Fourier transform on the terahertz reference time domain signal to obtain a frequency shift spectrum and an absorption coefficient of the blank terahertz chip; A terahertz reference frequency domain spectrum signal is generated through Gaussian fitting based on the frequency shift spectrum and the absorption coefficient.
3. The drug detection method according to claim 1, characterized in that: The method of determining the concentration of the drug solution of the sample based on the resonance peak shift comprises: the type of drug from which the sample was obtained; Extracting the concentration absorption spectrum fitting relationship of the drug type; The resonance peak shift is input into the concentration absorption spectrum fitting relationship to determine the drug solution concentration of the sample.
4. The drug detection method according to claim 1, characterized in that: The step of obtaining a sample terahertz chip comprises: Obtain the drug solution to be tested; performing glow discharge on the terahertz chip; The drug solution to be detected is placed on the surface of the terahertz chip to form the sample terahertz chip.
5. The drug detection method according to claim 1 or 4, characterized in that: The step of obtaining the terahertz sample time domain signal of the sample terahertz chip comprises: Passing high-concentration nitrogen gas into the sample chamber where the sample terahertz chip is located; The terahertz sample time domain signal of the sample terahertz chip placed on the transmission sample holder is collected.
6. The drug detection method according to claim 1, characterized in that: The terahertz chip is a symmetrical cube ring structure.
7. The drug detection method according to claim 6, characterized in that: The metal structure gap of the terahertz chip is 1 μm-3 μm, the outer side length of the cube is 16 μm-20 μm, the inner side length of the cube is 8 μm-12 μm, the line width c is 1 μm-3 μm, and the period is 22 μm-26 μm.
8. A drug detection device, characterized in that: The drug detection device includes an acquisition module, a calculation module, and a detection module; The acquisition module is used to acquire a blank terahertz chip and a sample terahertz chip, wherein the terahertz chip includes a substrate and a metamaterial grown on the substrate; acquire a terahertz reference time domain signal of the blank terahertz chip and acquire a terahertz sample time domain signal of the sample terahertz chip; The calculation module is used to perform Fourier transform on the terahertz reference time domain signal to obtain a terahertz reference frequency domain spectrum signal; perform Fourier transform on the terahertz sample time domain signal to obtain a terahertz sample frequency domain spectrum signal; compare the terahertz reference frequency domain spectrum signal with the terahertz sample frequency domain spectrum signal to obtain a resonance peak offset; The detection module is used to determine the concentration of the drug solution of the sample based on the resonance peak shift.
9. A drug detection device, characterized in that: The drug detection device includes a memory and a processor coupled to the memory; Wherein, the memory is used to store program data, and the processor is used to execute the program data to implement the drug detection method as described in any one of claims 1 to 7.
10. A computer storage medium, characterized in that: The computer storage medium is used to store program data, and when the program data is executed by a computer, it is used to implement the drug detection method as described in any one of claims 1 to 7.
Citation Information
Cited By
Detection system and method for preventing ambulance of hemp essence medicine
CN121899067A