Optical detection method and measuring equipment for capsule
Through integrated control systems and multiple optical technologies, non-contact, multi-functional capsule detection is achieved, solving the problems of cumbersome operation and single function of traditional methods, improving detection efficiency and accuracy, reducing the risk of human error, and supporting drug research and development. and production optimization.
Patent Information
- Application Number
- CN202410699941.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-31
- Publication Date
- 2024-09-20
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Traditional capsule quality control methods are cumbersome to operate, making it difficult to achieve online and real-time monitoring, and are prone to sample damage or cross-contamination due to improper human operation. Existing non-contact testing equipment has a single function, making it difficult to comprehensively evaluate drug quality.
Adopt an integrated control system, combine electromagnetic sensors, laser sensors, optical indentation technology, image analysis modules, microfluidic chips and high-performance liquid chromatography, and achieve non-contact, multi-functional capsule physics and chemistry through multi-index fusion analysis modules Property detection.
It achieves a comprehensive and accurate assessment of capsule quality, reduces the risk of human error, improves detection efficiency and accuracy, supports the optimization of drug development and production processes, and reduces product recalls and losses.
Smart Images

Figure CN118670447A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of drug detection, and in particular to an optical measurement device and a detection method for a capsule. Background Art
[0002] In the pharmaceutical industry, ensuring the quality and safety of drugs is of vital importance. Traditional capsule quality control usually requires physical contact, such as using a scale to measure weight, a caliper to measure size, and invasive hardness testing. However, these methods are not only cumbersome to operate, but also limited in their application on high-speed production lines. In addition, these detection methods are difficult to achieve online, real-time monitoring, and are prone to sample damage or cross-contamination due to improper human operation. In recent years, with the rapid development of optical technology and digital image processing technology, the use of optical detection methods to evaluate drug quality has shown broad application prospects. This method uses optical sensors to image drug capsules from different angles, and analyzes the resulting images to evaluate the physical and chemical properties of the capsules, such as weight, size, hardness, solubility, and active ingredient content.
[0003] Currently, non-contact detection equipment on the market mainly focuses on simple size and weight measurement, while a comprehensive optical detection system integrating multiple detection functions is still relatively rare. The non-contact optical detection method and measurement equipment proposed in the present invention, with the help of an integrated control system, can coordinate the operation of multiple detection modules, such as high-precision sensors, optical indentation technology devices, image analysis modules, microfluidic chips and high-performance liquid chromatographs, etc. These modules work together to provide a detailed report on the overall quality of capsules. This highly integrated non-contact optical detection equipment is not only suitable for the pharmaceutical manufacturing industry, but its application can also be extended to other fields, such as food safety testing, biomaterial analysis, etc. Further development of the equipment may include the use of artificial intelligence algorithms to optimize the image processing process and data analysis, and improve the automation level and accuracy of the detection. Therefore, this technology can not only improve quality control in the pharmaceutical manufacturing process, but also provide an efficient and accurate quality detection method for other industries. The introduction of this optical detection method also helps to reduce the risk of human error because it does not require direct contact with the sample. This means that in pharmaceutical factories, the contact between operators and drug samples can be reduced, thereby reducing the risk of cross contamination and improving the hygiene standards of the production process. In addition, because optical inspection can achieve online, real-time monitoring, pharmaceutical companies can discover and solve potential quality problems more quickly, thereby reducing product recalls and losses. This optical inspection technology can also provide support for drug research and development. By conducting detailed physical and chemical property analysis of drug capsules, researchers can better understand the performance and characteristics of drugs, thereby guiding the formulation design of drugs and the optimization of production processes. This will help improve the efficiency and success rate of new drug development and bring more innovation and progress to the pharmaceutical industry.
[0004] In summary, the application of non-contact optical inspection technology in the pharmaceutical industry is of great significance. It can not only improve the monitoring and control level of drug quality, but also reduce production costs, reduce the risk of human errors, and promote the progress of drug research and development. With the continuous advancement and improvement of technology, I believe that this technology will play a more important role in the future and make greater contributions to the sustainable development of the pharmaceutical industry. Summary of the invention
[0005] The purpose of the present invention is to provide an optical measurement device and detection method for capsules in view of the deficiencies of the above-mentioned prior art. Through its high efficiency, accuracy and non-invasive characteristics, it can meet the challenges of the modern pharmaceutical industry's dual demands for production efficiency and product quality and meet the needs of industrial production. The present invention proposes an optical measurement device and detection method for capsules, the key of which is to use a variety of optical technologies and sensor technologies to evaluate the physical and chemical properties of capsules. Specifically, it includes the following aspects:
[0006] 10. An optical measurement device for capsules, characterized in that the device is an integrated control device, comprising: an electromagnetic sensor, a laser sensor, an optical indentation technology device, an image analysis module, a microfluidic chip and a liquid chromatograph, and a multi-index fusion analysis module;
[0007] Among them, electromagnetic sensors are used to measure the weight of capsules, laser sensors are used to measure the size of capsules; optical indentation technology devices are used to evaluate the hardness of capsules; image analysis modules are used to determine the solubility properties of capsules; microfluidic chips and high-performance liquid chromatography are used to determine the content of active ingredients in capsules; and multi-indicator fusion analysis modules are used to determine the production time of capsules.
[0008] The electromagnetic sensor uses electromagnetic force balance technology for measurement; the laser sensor uses laser scattering technology for measurement; the electromagnetic force balance technology and laser scattering technology are integrated into an automated system, and a data processing unit is responsible for collecting data from the sensor and processing and analyzing it using an algorithm to generate a weight and size report of the capsule.
[0009] The algorithms used are:
[0010] (1) Signal processing algorithm: Its function is to filter and remove noise. It uses Gaussian filtering, Kalman filtering or median filtering, and adopts Fourier transform to convert sensor signals from time domain to frequency domain for easy analysis;
[0011] (2) Image processing algorithm: using laser scattering technology and edge detection algorithms, including Canny
[0012] The algorithm or Sobel operator determines the outline of the capsule; threshold processing distinguishes the capsule from the background and identifies the boundary of the capsule;
[0013] (3) Size calculation algorithm, based on geometric modeling, reconstructs the three-dimensional model of the capsule according to the laser scattering data and calculates the length, width and height of the capsule.
[0014] The optical indentation technique device includes at least one optical sensor and a pressure applying mechanism that can accurately control the pressure applied to the capsule to ensure consistency and repeatability of the hardness test.
[0015] The multi-index fusion analysis module uses multi-index fusion analysis technology to comprehensively analyze and process the multi-index data of capsules, and finally determine their production time and batch, so as to realize the tracking and management of capsule production. The multi-index fusion analysis technology specifically includes:
[0016] Data collection: Collect multiple indicator data related to capsule production, including the physical properties, chemical properties, and solubility properties of the capsules. Physical properties include weight, size, and hardness, and chemical properties include the content of active ingredients.
[0017] Indicator selection: Select indicators that can reflect the aging degree or quality change of capsules, including capsule production time, batch and shelf life;
[0018] Data preprocessing: clean and standardize the collected data to eliminate the influence of different dimensions and magnitudes;
[0019] Model building: Build a model that takes into account the physical properties, chemical properties, and dissolution properties of the capsules to predict the production time, batch, and shelf life of the capsules;
[0020] Weight allocation: Assign weights to each indicator, which reflect the importance of each indicator in determining the production time, batch and shelf life of capsules;
[0021] Comprehensive evaluation: The standardized values of each indicator are combined with the weight through the model to calculate the comprehensive evaluation value of the capsule;
[0022] Result output: According to the comprehensive evaluation value, the production time, batch and shelf life of the capsule are determined;
[0023] The specific formula is:
[0024] Assuming there are n indicators, namely X1, X2, ..., Xn (representing capsule weight, size, hardness, ..., dissolution performance, respectively), the corresponding weights are W1, W2, ..., Wn, and the standardized indicator values are S1, S2, ..., Sn, then the comprehensive evaluation score F can be calculated by the following formula:
[0025]
[0026] Among them, Si can be calculated by the following minimum-maximum normalized formula:
[0027]
[0028] Among them, Xmin and Xmax are the minimum and maximum values of the indicator Xi respectively.
[0029] An optical inspection method for capsules, using optical inspection methods to evaluate the physical and chemical properties of capsules, including:
[0030] (1) Use electromagnetic sensors and laser sensors to measure the weight and size of the capsule;
[0031] (2) Use optical indentation technology to evaluate the hardness of capsules;
[0032] (3) Determine the dissolution properties of the capsules by image analysis technology;
[0033] (4) using a technique combining a microfluidic chip and high performance liquid chromatography to determine the content of the active ingredient in the capsule;
[0034] (5) Use multi-index fusion analysis technology to determine the production time of the capsules to track their production batches and shelf life;
[0035] The weight, size and optical indentation of the capsule are measured simultaneously or not simultaneously. After the measurement, the capsule is cut and placed in a dissolution medium, and the dissolution performance of the capsule is determined by image analysis technology. After the dissolution, the content of the active ingredient in the capsule is determined using a microfluidic chip and a liquid chromatograph.
[0036] Using electromagnetic force balancing technology, when the capsule is moved individually to the weighing platform of the electromagnetic sensor via the conveyor belt, it will cause the displacement of the weighing platform, resulting in a change in the magnetic flux passing through the coil. The displacement of the weighing platform can be converted into a change in the magnetic flux in the coil; if the weighing platform moves Δx, then the change in magnetic flux ΔΦ can be expressed as
[0037] ΔΦ=μ n A·Δx (3)
[0038] Where μn is the magnetic permeability (unit: Henry / meter); A is the cross-sectional area of the coil (unit: square meters); Δx is the displacement of the weighing platform (unit: meter)
[0039] When the magnetic flux Φ in the coil changes with time t, an induced electromotive force ε will be generated at both ends of the coil.
[0040]
[0041] Where: Φ is the magnetic flux (unit: Weber); t is the time (unit: second); the negative sign indicates that the direction of the induced electromotive force is opposite to the rate of change of the magnetic flux;
[0042] Combining formula (3) and formula (4), we can get the relationship between the induced electromotive force and the displacement of the weighing platform:
[0043]
[0044] The induced electromotive force ∈ is converted into an electrical signal through the circuit. After amplification and filtering, it can be measured and analyzed by the electronic system. By measuring the induced electromotive force or the electrical signal generated thereby, the force applied by the capsule to the symmetrical weighing platform is calculated, and then the weight of the capsule is obtained. The measured weight range of the capsule is 100 mg to 100 g.
[0045] At the same time, the size of the capsule is measured using laser scattering technology. A group of laser emitters and laser sensors are arranged around the conveyor belt to fully scan the capsule and collect scattering data. By analyzing the angle and intensity of the scattered light, the length, width and height of the capsule are accurately calculated. The capsule is scanned from different angles by multiple laser emitters and sensors to collect scattering data in different directions of the capsule. The position L of a certain point on the capsule surface is determined by measuring the angle of the scattered light using the principle of triangulation.
[0046]
[0047] Among them, d is the pixel position of the point on the image sensor, which is a known value; f is the focal length of the imaging system, which is a known value; D is the straight-line distance from a point on the capsule surface to the imaging system, which is calculated through geometric relationships.
[0048] By analyzing the intersection points of the laser beam at different positions with the capsule surface, the edge position of the capsule can be determined, thereby measuring the length and width; an edge detection algorithm, including the Canny algorithm or the Sobel operator, is used to determine the boundary of the capsule; the capsule contour determined by edge detection is used to calculate the length, width, and height of the capsule; wherein, the length L of the capsule capsule Determined by the distance between its two end points:
[0049]
[0050] Among them, (x1, y1, z1) and (x2, y2, z2) are the coordinates of the two end points of the capsule.
[0051] 11. Optical sensors are used to measure surface indentations. Optical sensors can non-contactly measure the depth of tiny indentations made by laser on the capsule surface, thereby evaluating the hardness of the capsule. The tiny indentations are in the nanometer to micrometer range. The hardness is achieved by focusing a laser beam onto the capsule surface and using an optical system with nanometer or micrometer resolution to capture the three-dimensional shape of the indentation. The energy of the laser beam ranges from milliwatts to several watts. The indentation depth is proportional to the applied force, and this proportionality factor is the hardness index. For the Brinell hardness test, the formula is:
[0052]
[0053] Where HB is the Brinell hardness (unit: N / mm 2 ), P is the applied load (unit: N), and d is the diameter of the indentation (unit: mm).
[0054] Image analysis technology uses a high-speed camera to capture images of capsules during the dissolution process. The high-speed camera can capture images at a rate of 10,000 frames per second to record the capsule dissolution process at the 0.1ms level, and analyze the speed and completeness of the capsule dissolution through image processing software.
[0055] The capsule samples were processed using a microfluidic chip to achieve sample pretreatment and separation; then, a liquid chromatograph was used to quantitatively analyze the pretreated and separated samples to determine the content of the active ingredients in the capsules.
[0056] When liquid chromatography is used for quantitative analysis, it involves calculating the peak area A and its relationship with the content C of the active ingredient in the capsule.
[0057] Peak area calculation:
[0058]
[0059] Where A is the peak area, h(t) is the change in detector response over time, and t0 and t1 are the start and end times of the peak.
[0060] Calibration curve:
[0061] A=k×C (10)
[0062] Where A is the peak area, k is the proportionality constant, and C is the sample concentration.
[0063] Quantitative analysis:
[0064] C=kA (11)
[0065] Where C is the concentration of the sample to be tested, A is the sample peak area, and k is the slope obtained from the calibration curve.
[0066] The technical solution of the present invention has the following advantages:
[0067] It realizes a comprehensive evaluation of the physical and chemical properties of the capsule, improving the accuracy and reliability of the detection; combining a variety of optical technologies and sensor technologies, the detection process is efficient and easy to operate;
[0068] Using multi-index fusion system technology to predict the production time of capsules based on test results helps to detect problems in advance and ensure product quality. BRIEF DESCRIPTION OF THE DRAWINGS
[0069] Figure 1 The optical detection method and measurement flow chart of the capsule according to the embodiment of the present invention
[0070] Figure 2 Schematic diagram of the optical detection method and measurement equipment of capsules according to an embodiment of the present invention, 1- conveyor belt, 2- weighing platform, 3- high-precision sensor measurement system, 4- measurement area, 5- optical sensor measurement system, 6- capsule dissolution area, 7- image analysis system, 8- component measurement system, 9- multi-index fusion system
[0071] Figure 3 Schematic diagram for measuring weight and dimensions. DETAILED DESCRIPTION
[0072] The embodiment describes the detection of properties of capsules weighing 1 to 2 grams.
[0073] (1) Capsule positioning and transportation: The capsule is moved individually to the measurement area via a conveyor belt. The design of the conveyor belt ensures that the capsule can be moved individually and stably to the detection position.
[0074] (2) Weight measurement: The capsule moves onto the weighing table of the electromagnetic sensor of the electromagnetic sensor and laser sensor measurement system, causing displacement of the weighing table. The displacement causes the magnetic flux passing through the coil to change, and the change in magnetic flux is converted into an induced electromotive force. The induced electromotive force is converted into an electrical signal through the circuit, and after amplification and filtering, it is measured and analyzed by the electronic system. The weight of the capsule is calculated. The measurement range is 100 mg to 100 g, which is suitable for capsules of 1 to 2 g.
[0075] (3) Dimension measurement: The laser sensors of the high-precision sensor measurement system are arranged around the conveyor belt to fully scan the capsule. The scattered light data is collected, and the length, width and height of the capsule are determined by analyzing the angle and intensity of the scattered light using the triangulation principle.
[0076] (4) Hardness measurement: A focused laser beam is used to illuminate the capsule surface, creating a tiny indentation. The optical sensor of the optical sensor measurement system measures the indentation depth contactlessly and uses a high-resolution optical system to capture the three-dimensional shape of the indentation. The hardness of the capsule is calculated based on the Brinell hardness formula.
[0077] (5) Dissolution performance analysis: Place the capsule in a suitable dissolution medium. Use a high-speed camera of an image analysis system to capture images of the capsule during the dissolution process. Use image processing software to analyze the dissolution rate and integrity of the capsule.
[0078] (6) Analysis of active ingredient content: The capsule samples were pre-treated and separated using a microfluidic chip of a component measurement system. Then, the samples were quantitatively analyzed using a liquid chromatograph to determine the content of active ingredients in the capsules.
[0079] (7) Production time prediction: Combined with the chemical degradation analysis and physical property changes of the capsules, multi-index fusion technology is used to estimate the production time of the capsules.
[0080] (8) Data processing and report generation: The data processing unit is responsible for collecting data from sensors and using algorithms to process and analyze data, including signal processing algorithms, image processing algorithms, optimization algorithms, and size calculation algorithms.
[0081] The equipment consists of an integrated control system equipped with high-precision sensors, optical indentation technology devices, image analysis modules, microfluidic chips and high-performance liquid chromatography, and multi-index fusion analysis modules.
[0082] Detailed steps of implementation
[0083] (1) Initialize equipment: Ensure that all sensors, cameras, laser transmitters, and measurement equipment are calibrated and ready.
[0084] (2) Capsule transport: The capsule is placed on a conveyor belt, which moves it to the measurement area.
[0085] (3) Weight and size measurement: The capsule reaches the weighing platform, and the electromagnetic sensor of the high-precision sensor measurement system measures the weight. At the same time, the laser emitter and sensor of the high-precision sensor measurement system use laser scattering technology to measure the size of the capsule.
[0086] (4) Hardness measurement: The optical sensor of the optical sensor measurement system measures the depth of the indentation produced by the laser.
[0087] (5) Dissolution performance analysis: The capsules were transferred into the dissolution medium, and the high-speed camera of the image analysis system recorded the dissolution process.
[0088] (6) Chemical composition analysis: Capsule samples were separated by a microfluidic chip using a component measurement system and quantitatively analyzed by high performance liquid chromatography.
[0089] (7) Data collection and analysis: Collect all measurement data and analyze them using the data processing unit.
[0090] (8) Production time prediction: Using multi-index fusion technology, the production time of capsules is predicted based on the test results.
[0091] (9) Report generation: Based on the analysis results, a detailed report on capsule quality is automatically generated.
[0092] (10) Quality control: Based on the report, capsule quality control and batch tracking are performed.
[0093] in conclusion
[0094] This optical measurement equipment and detection method can comprehensively evaluate the physical and chemical properties of capsules, provide precise quality control, and meet the high standards of capsule quality inspection in the pharmaceutical industry. Through automated and integrated systems, the equipment greatly improves inspection efficiency and accuracy, helping to ensure the quality and safety of drugs.
Claims
1. An optical measurement device for capsules, characterized in that: The device is an integrated control device, including: electromagnetic sensor, laser sensor, optical indentation technology device, image analysis module, microfluidic chip and liquid chromatograph and multi-index fusion analysis module; Among them, electromagnetic sensors are used to measure the weight of capsules, laser sensors are used to measure the size of capsules; optical indentation technology devices are used to evaluate the hardness of capsules; image analysis modules are used to determine the solubility properties of capsules; microfluidic chips and high-performance liquid chromatography are used to determine the content of active ingredients in capsules; and multi-indicator fusion analysis modules are used to determine the production time of capsules.
2. An optical measuring device for capsules according to claim 1, characterized in that: The electromagnetic sensor uses electromagnetic force balance technology for measurement; the laser sensor uses laser scattering technology for measurement; the electromagnetic force balance technology and laser scattering technology are integrated into an automated system, and a data processing unit is responsible for collecting data from the sensor and processing and analyzing it using an algorithm to generate a weight and size report of the capsule; The algorithms used are: (1) Signal processing algorithm: Its function is to filter and remove noise. It uses Gaussian filtering, Kalman filtering or median filtering, and adopts Fourier transform to convert sensor signals from time domain to frequency domain for easy analysis; (2) Image processing algorithm: using laser scattering technology and edge detection algorithms, including Canny The algorithm or Sobel operator determines the outline of the capsule; threshold processing distinguishes the capsule from the background and identifies the boundary of the capsule; (3) Size calculation algorithm, based on geometric modeling, reconstructs the three-dimensional model of the capsule according to the laser scattering data and calculates the length, width and height of the capsule.
3. An optical measuring device for capsules according to claim 1, characterized in that: The optical indentation technique device includes at least one optical sensor and a pressure applying mechanism that can accurately control the pressure applied to the capsule to ensure consistency and repeatability of the hardness test.
4. An optical measuring device for capsules according to claim 1, characterized in that: The multi-index fusion analysis module uses the multi-index fusion analysis technology to comprehensively analyze and process the multi-index data of the capsule, and finally determines its production time and batch, thereby realizing the tracking and management of capsule production. The multi-index fusion analysis technology specifically includes: Data collection: Collect multiple indicator data related to capsule production, including the physical properties, chemical properties, and solubility properties of the capsules. Physical properties include weight, size, and hardness, and chemical properties include the content of active ingredients. Indicator selection: Select indicators that can reflect the aging degree or quality change of capsules, including capsule production time, batch and shelf life; Data preprocessing: clean and standardize the collected data to eliminate the influence of different dimensions and magnitudes; Model building: Build a model that takes into account the physical properties, chemical properties, and dissolution properties of the capsules to predict the production time, batch, and shelf life of the capsules; Weight allocation: Assign weights to each indicator, which reflect the importance of each indicator in determining the production time, batch and shelf life of capsules; Comprehensive evaluation: The standardized values of each indicator are combined with the weight through the model to calculate the comprehensive evaluation value of the capsule; Result output: According to the comprehensive evaluation value, the production time, batch and shelf life of the capsule are determined; The specific formula is: Assuming there are n indicators, namely X1, X2, ..., Xn (representing capsule weight, size, hardness, ..., dissolution performance, respectively), the corresponding weights are W1, W2, ..., Wn, and the standardized indicator values are S1, S2, ..., Sn, then the comprehensive evaluation score F can be calculated by the following formula: Among them, Si can be calculated by the following minimum-maximum normalized formula: Among them, Xmin and Xmax are the minimum and maximum values of the indicator Xi respectively.
5. A method for optical detection of capsules, characterized in that: Optical testing methods are used to evaluate the physical and chemical properties of capsules, including: (1) Use electromagnetic sensors and laser sensors to measure the weight and size of the capsule; (2) Use optical indentation technology to evaluate the hardness of capsules; (3) Determine the dissolution properties of the capsules by image analysis technology; (4) using a technique combining a microfluidic chip and high performance liquid chromatography to determine the content of the active ingredient in the capsule; (5) Use multi-index fusion analysis technology to determine the production time of the capsules to track their production batches and shelf life; The weight, size and optical indentation of the capsule are measured simultaneously or not. After the measurement, the capsule is cut and placed in a dissolving medium, and the dissolution performance of the capsule is determined by image analysis technology. After the dissolution, the content of the active ingredient in the capsule is determined using a microfluidic chip and a liquid chromatograph.
6. The method for optically detecting capsules according to claim 5, characterized in that: Using electromagnetic force balancing technology, when the capsule is moved individually to the weighing platform of the electromagnetic sensor through the conveyor belt, it will cause the displacement of the weighing platform, resulting in a change in the magnetic flux passing through the coil. The displacement of the weighing platform can be converted into a change in the magnetic flux in the coil; if the weighing platform moves Δx, then the change in magnetic flux ΔΦ can be expressed as ΔΦ=μ n A·Δx (3) Where μn is the magnetic permeability (unit: Henry / meter); A is the cross-sectional area of the coil (unit: square meters); Δx is the displacement of the weighing platform (unit: meter) When the magnetic flux Φ in the coil changes with time t, an induced electromotive force ε will be generated at both ends of the coil. Where: Φ is the magnetic flux (unit: Weber); t is the time (unit: second); the negative sign indicates that the direction of the induced electromotive force is opposite to the rate of change of the magnetic flux; Combining formula (3) and formula (4), we can get the relationship between the induced electromotive force and the displacement of the weighing platform: The induced electromotive force ∈ is converted into an electrical signal through the circuit, and after amplification and filtering, it can be measured and analyzed by the electronic system; by measuring the induced electromotive force or the electrical signal generated thereby, the force applied by the capsule to the symmetrical weighing platform is calculated, and then the weight of the capsule is obtained. The weight range of the measured capsule is 100 mg to 100 g; At the same time, the size of the capsule is measured using laser scattering technology. A group of laser emitters and laser sensors are arranged around the conveyor belt to fully scan the capsule and collect scattering data. By analyzing the angle and intensity of the scattered light, the length, width and height of the capsule are accurately calculated. The capsule is scanned from different angles by multiple laser emitters and sensors to collect scattering data in different directions of the capsule. The position L of a certain point on the capsule surface is determined by measuring the angle of the scattered light using the principle of triangulation. Where d is the pixel position of the point on the image sensor, which is a known value; f is the focal length of the imaging system, which is a known value; D is the straight-line distance from a point on the capsule surface to the imaging system, which is calculated through geometric relationships; By analyzing the intersection points of the laser beam at different positions with the capsule surface, the edge position of the capsule can be determined, thereby measuring the length and width; an edge detection algorithm, including the Canny algorithm or the Sobel operator, is used to determine the boundary of the capsule; the capsule contour determined by edge detection is used to calculate the length, width, and height of the capsule; wherein, the length L of the capsule capsule Determined by the distance between its two endpoints: Among them, (x1, y1, z1) and (x2, y2, z2) are the coordinates of the two end points of the capsule.
7. The method for optically detecting capsules according to claim 5, characterized in that: Optical sensors are used to measure surface indentations. Optical sensors can non-contactly measure the depth of tiny indentations made by lasers on the capsule surface to evaluate the capsule hardness. The tiny indentations are in the nanometer to micrometer range. The hardness is achieved by focusing a laser beam onto the capsule surface and using an optical system with nanometer or micrometer resolution to capture the three-dimensional shape of the indentation. The energy of the laser beam ranges from milliwatts to several watts. The indentation depth is proportional to the applied force, and this proportionality factor is the hardness index. For the Brinell hardness test, the formula is: Where HB is the Brinell hardness (unit: N / mm 2 ), P is the applied load (unit: N), and d is the diameter of the indentation (unit: mm).
8. The method for optically detecting capsules according to claim 5, characterized in that: The image analysis technology uses a high-speed camera to capture images of the capsule during the dissolution process. The high-speed camera can capture images at a rate of 10,000 frames per second to record the capsule dissolution process at the 0.1 ms level, and analyze the speed and completeness of the capsule dissolution through image processing software.
9. The method for optically detecting capsules according to claim 5, characterized in that: The capsule samples were processed by using a microfluidic chip to achieve sample pretreatment and separation; then, the pretreated and separated samples were quantitatively analyzed using a liquid chromatograph to obtain the content of the active ingredients in the capsules; When liquid chromatography is used for quantitative analysis, it involves calculating the peak area A and its relationship with the content C of the active ingredient in the capsule. Peak area calculation: Where A is the peak area, h(t) is the change in detector response over time, t0 and t1 are the start and end times of the peak, Calibration curve: A=k×C (10) Where A is the peak area, k is the proportionality constant, C is the sample concentration, Quantitative analysis: C=kA (11) Where C is the concentration of the sample to be tested, A is the sample peak area, and k is the slope obtained from the calibration curve.
Citation Information
Cited By
Comprehensive detection method for quality detection of traditional Chinese medicine capsules
CN119354702A
Intelligent quality inspection system for medicinal empty capsules
CN120891163A
