A system and method for batch detection of burst mouths of medical glass bottles
By utilizing the principles of optical interference and an attenuation correction module, the error problem in detecting burst holes in pharmaceutical glass bottles has been solved, enabling precise calculation and display of the shape and depth of the burst hole.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- GERRESHEIMER SHUANGFENG PHARM GLASS DANYANG CO LTD
- Filing Date
- 2025-07-15
- Publication Date
- 2026-07-07
AI Technical Summary
Existing technologies for detecting sub-millimeter-level bursts in pharmaceutical glass bottles are susceptible to light attenuation due to the uniformity and color of the glass material, leading to misjudgments or large errors, making accurate detection difficult.
Using the principle of optical interference, a beam splitter is used to split the laser into two beams. The optical path is adjusted by a reflector and a movable shield. The depth of the blast hole is calculated by combining the changes in light intensity and the optical path difference. The detection results are then corrected by an attenuation correction module.
It improves the accuracy of detection, reduces sensitivity to glass color and impurities, and enables more precise calculation and display of the shape and depth of the crater.
Smart Images

Figure CN120741522B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of burst detection technology, specifically to a batch burst detection system and method for pharmaceutical glass bottles. Background Technology
[0002] A crack or breakage refers to damage or chipping at the mouth of a glass bottle during manufacturing, handling, filling, or sealing, caused by internal stress, impact, or temperature changes. For pharmaceutical glass bottles, sub-millimeter cracks need to be identified. One detection method involves shining light from the outer edge of the cap towards the center of the bottle mouth. Because the cap thickness decreases at the crack, the light attenuation is less. The depth of the crack is calculated by measuring this attenuation.
[0003] However, in practice, it was found that light attenuation is affected not only by glass thickness but also by material uniformity and color. Some pharmaceutical glass bottles require dark colors for differentiation, which can easily lead to misjudgment or significant errors, especially at sub-millimeter-level micro-defects that need to be detected in pharmaceutical glass bottles, where the attenuation is not obvious. Therefore, it is essential to design a precise batch detection system and method for pharmaceutical glass bottles to detect bursts. Summary of the Invention
[0004] The purpose of this invention is to provide a batch explosion detection system and method for pharmaceutical glass bottles to solve the problems mentioned in the background art.
[0005] To solve the above-mentioned technical problems, the present invention provides the following technical solution: a batch burst detection system for pharmaceutical glass bottles, comprising a detection execution module, a burst detection module, and an attenuation correction module. The detection execution module is used to detect bursts at the mouth of the glass bottle using the principle of optical interference. The burst detection module is used to detect bursts and calculate burst depth based on detected changes in light intensity. The attenuation correction module is used to correct the degree of light intensity change caused by the optical interference principle by considering the degree of attenuation of light passing through the mouth of the glass bottle.
[0006] According to the above technical solution, the detection execution module includes a laser emission source, a beam splitter, a first reflector, a second reflector, a laser receiver, a first movable shield, and a second movable shield. The beam splitter is located at the emission end of the laser emission source. The beam splitter, the first reflector, the second reflector, and the laser receiver form a first optical path. The beam splitter and the laser receiver form a second optical path. The first movable shield is located at the periphery of the first optical path, and the second movable shield is located at the periphery of the second optical path. The laser emission source is used to emit laser light of rated intensity. The beam splitter is used to split the laser light into two beams of the same intensity. The first reflector and the second reflector are used to reflect the laser light from the first optical path. The laser receiver includes a laser receiving array for receiving laser light and calculating the light intensity at each receiving point on its receiving surface. The first movable shield is used to block the first optical path after being moved, and the second movable shield is used to block the second optical path after being moved.
[0007] The burst detection module includes a light intensity detection module, a burst determination module, a burst depth calculation module, a movement control unit, a rotation control unit, a burst coordinate module, and an image scanning unit. The light intensity detection module is electrically connected to the laser receiving array. The burst determination module and the burst depth calculation module are electrically connected to the light intensity detection module. The movement control unit is mechanically connected to reflector one and reflector two. The burst coordinate module is electrically connected to the rotation control unit. The light intensity detection module is used to calculate the light intensity based on the optical signals of each receiving point in the laser receiving array. The burst determination module is used to determine whether a burst has occurred based on the light intensity when two laser beams undergo destructive interference. The burst depth calculation module is used to calculate the burst depth. The movement control unit is used to control the planar positions of reflector one and reflector two. The rotation control unit is used to control the rotation of the glass bottle and record the rotation angle. The burst coordinate module is used to generate a Cartesian coordinate system and mark the area of the burst region in the coordinate system. The image scanning unit takes pictures of the bottle mouth from top to bottom to measure the thickness of the bottle mouth.
[0008] The attenuation correction module includes a shielding control unit, a light absorption calculation module, and a puncture depth correction module. The shielding control unit is electrically connected to movable shielding plate one and movable shielding plate two. The light absorption calculation module is electrically connected to the puncture depth correction module. The shielding control unit is used to control movable shielding plate one and movable shielding plate two to block the light path. The light absorption calculation module is used to calculate the light absorption rate of the glass. The puncture depth correction module is used to correct the puncture depth according to the light absorption rate.
[0009] A method for detecting bursting in batches of pharmaceutical glass bottles includes the following steps:
[0010] S0. After replacing the new medical glass bottle and placing it at the inspection station, start the laser emission source so that the laser is divided into the first optical path and the second optical path and converged on the laser receiving array. Rotate the medical glass bottle to adjust its angle. When the light intensity detected by the laser receiving array stabilizes at a certain value, the circumferential position of the medical glass bottle corresponding to this value is the position without the burst. Rotate the medical glass bottle one circle and mark the shape of the burst.
[0011] S1. Keep the circumferential position of the medical glass bottle in a non-bursting position, move the positions of reflector one and reflector two, adjust the distance between reflector one and the beam splitter and the distance between reflector two and the laser receiver, read the reading of the light intensity detection module in real time while moving, and stop moving when the light intensity is the highest. At this time, the first optical path and the second optical path are in the same phase when the laser receiving array converges.
[0012] S2. When an explosion is detected, the first and second optical paths are blocked by the first and second movable shielding plates respectively. The light intensity when only the first optical path is open and the light intensity when only the second optical path is open are read. The explosion depth is calculated by combining the bottle mouth thickness data measured by the image scanning unit.
[0013] S3. The system rotates and scans the medicine glass bottle around its circumference, and combines the depth of the rupture to create a 3D model of the bottle opening, providing a visual representation of the shape and depth of the rupture.
[0014] S4. Based on the degree of light attenuation caused by the laser penetrating the mouth of the medical glass bottle, the explosion depth calculated in S2 is corrected.
[0015] According to the above technical solution, in S0, the shape of the marked blast vent is specifically as follows:
[0016] S0-1. Establish a Cartesian coordinate system xoy. Unfold the outer periphery of the mouth of the medical glass bottle in the coordinate system to obtain a large rectangle with a length of the outer diameter R of the mouth and a width of the mouth height h. Divide the rectangle from the left to form a small rectangle with a length of the mouth height h and a width of the effective receiving surface of the laser receiving array. Move the small rectangle from the left end to the right end of the large rectangle along the x-axis, corresponding to the circular rotation of the medical glass bottle and scanning the mouth of the bottle with a laser.
[0017] S0-2. When the medicine glass bottle is rotated by an angle θ from the starting point, the laser receiving array is in a vertical row with n receiving points. The ordinates of each receiving point form {h1, h2, ... h...} n An array of}, where a certain ordinate is h i When the detected value at the receiving point fluctuates, it means that a blast hole has appeared at this location. The formula for calculating the x-axis coordinate of the blast hole is: Find x j From this, the explosion vent coordinates (x) are obtained. j ,hi The coordinates of all blast vents are statistically analyzed, and the shape and outline of the blast vents are plotted in the coordinate system.
[0018] According to the above technical solution, the calculation of the blast depth in step S2 is specifically as follows:
[0019] S2-1. The detected light intensity is E1 when only the first optical path is active, E2 when only the second optical path is active, and E when both optical paths are active. 12 According to the formula for superposition of interference intensities: E 12 =E1 2 +E2 2 +2E1E2cos(Δφ), where Δφ is the phase difference between the two beams. Δφ is calculated based on the known quantities.
[0020] S2-2, due to Where λ is the wavelength of light and ΔL is the optical path difference, the optical path difference ΔL between the two beams is obtained. Since the optical path difference is the product of the refractive index and the penetration distance, the refractive index μ1 of the glass is calculated, and the size of the crater depth d0 is determined.
[0021] According to the above technical solution, the specific method for calculating the refractive index μ1 of the glass in S2-2 is as follows: move the medical glass bottle downwards so that the first light path does not pass through the bottle opening, and measure the light intensity E at this time. 120 Once again, only the first optical path is turned on, and the light intensity E is measured. 10 According to the formula: E 120 =E 10 2 +E2 2 +2E 10 E2cos(Δφ0), calculate Δφ0, then calculate the optical path difference ΔL0 at this time, start the image scanning unit to calculate the thickness of the mouth of the current medical glass bottle, and measure the mouth thickness d. Therefore, ΔL―ΔL0=(μ1―μ0)d, where μ1 is the refractive index of the current bottle mouth and μ0 is the refractive index of air. These are known quantities. Calculate the size of μ1―μ0. If there is a burst at the bottle mouth, let the burst depth be d0, then ΔL=(μ1―μ0)d0, and thus calculate the size of d0.
[0022] According to the above technical solution, in S3, the specific method of three-dimensional modeling is as follows: for each detected blast vent coordinate, the corresponding blast vent depth d0 is calculated, and the blast vent depth value is mapped to a two-dimensional unfolded coordinate system to construct a depth matrix. Create a 3D model with the same thickness and size as the current bottle opening, making the point set visible {(x j ,h i ,z j,iThe output point cloud is connected to the 3D model. The shape and depth of the blast area are visualized through interpolation and fitting. The color heat map shows the defect area, and the deeper the blast, the more highlighted the corresponding color.
[0023] According to the above technical solution, the specific method for correcting the blast depth in step S4 is as follows:
[0024] S4-1. When a bottle bursts at the mouth, it simultaneously alters the optical path difference and the degree of light attenuation in the first optical path. It is assumed that the light intensity attenuation is zero over a very short distance when propagating in air, while the light intensity attenuation when propagating in glass is proportional to the product of the light absorption coefficient α and the propagation distance d - d0. Therefore, the corrected formula for the interference attenuation intensity is: E 12 =E1 2 +E2 2 +2E1E2cos(Δφ)-E1α(d-d0);
[0025] S4-2, Based on E measured in S2-2 when the medical glass bottle is moved downwards so that the first light path does not pass through the bottle opening, 10 Combining E1, combining E 10 ―E1=E1αd, obtain α, and then substitute it into the comprehensive formula for interference attenuation intensity to obtain the correction value of d0.
[0026] Compared with the prior art, the beneficial effects achieved by the present invention are as follows: The present invention uses a beam splitter to split the light emitted by the laser emitter into two beams. One beam penetrates the surface of the glass bottle mouth and reaches the receiving surface, while the other beam passes through a reflector and reaches the receiving surface. By adjusting the position of the reflector, the two beams converge at the receiving surface without phase difference. When the bottle mouth is punctured, the two beams produce an optical path difference, which in turn produces a phase difference. Small thickness changes cause optical path differences, which in turn cause changes in the light intensity at the receiving surface. Compared with the intensity attenuation method, the present invention can amplify the thickness change effect and is not sensitive to color depth, impurities, or optical absorption. Attached Figure Description
[0027] The accompanying drawings are provided to further illustrate the invention and form part of the specification. They are used in conjunction with embodiments of the invention to explain the invention and do not constitute a limitation thereof. In the drawings:
[0028] Figure 1 This is a schematic diagram illustrating the overall principle of the present invention;
[0029] Figure 2 This is a schematic diagram of the modules of the present invention. Detailed Implementation
[0030] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0031] Please see Figure 1 and Figure 2 The present invention provides a technical solution: a batch explosion detection system and method for pharmaceutical glass bottles, including a detection execution module, an explosion detection module, and an attenuation correction module. The detection execution module is used to detect explosions at the mouth of the glass bottle using the principle of optical interference. The explosion detection module is used to detect explosions based on the detected changes in light intensity and to calculate the explosion depth. The attenuation correction module is used to correct the degree of light intensity change caused by the optical interference principle by combining the degree of attenuation of light passing through the mouth of the glass bottle.
[0032] The detection execution module includes a laser emitter, a beam splitter, a first reflector, a second reflector, a laser receiver, a first movable shield, and a second movable shield. The beam splitter is located at the emission end of the laser emitter. The beam splitter, along with the first and second reflectors and the laser receiver, forms the first optical path, and the beam splitter and the laser receiver form the second optical path. The first movable shield is located around the periphery of the first optical path, and the second movable shield is located around the periphery of the second optical path. The laser emitter emits a laser of rated intensity. The beam splitter splits the laser into two beams of equal intensity. The first and second reflectors reflect the laser from the first optical path. The laser receiver includes a laser receiving array for receiving the laser and calculating the light intensity at each receiving point on its receiving surface. The first movable shield blocks the first optical path when moved, and the second movable shield blocks the second optical path when moved.
[0033] The burst detection module includes a light intensity detection module, a burst determination module, a burst depth calculation module, a movement control unit, a rotation control unit, a burst coordinate module, and an image scanning unit. The light intensity detection module is electrically connected to the laser receiving array. The burst determination module and the burst depth calculation module are electrically connected to the light intensity detection module. The movement control unit is mechanically connected to reflector one and reflector two. The burst coordinate module is electrically connected to the rotation control unit. The light intensity detection module is used to calculate the light intensity based on the optical signals of each receiving point in the laser receiving array. The burst determination module is used to determine whether a burst has occurred when two laser beams undergo destructive interference based on the light intensity. The burst depth calculation module is used to calculate the burst depth. The movement control unit is used to control the planar position of reflector one and reflector two. The rotation control unit is used to control the rotation of the glass bottle and record the rotation angle. The burst coordinate module is used to generate a Cartesian coordinate system and mark the area of the burst in the coordinate system. The image scanning unit takes pictures of the bottle mouth from top to bottom to measure the thickness of the bottle mouth.
[0034] The attenuation correction module includes a cover control unit, a light absorption calculation module, and a puncture depth correction module. The cover control unit is electrically connected to movable shielding plate one and movable shielding plate two. The light absorption calculation module is electrically connected to the puncture depth correction module. The cover control unit is used to control movable shielding plate one and movable shielding plate two to block the light path. The light absorption calculation module is used to calculate the light absorption rate of the glass. The puncture depth correction module is used to correct the puncture depth according to the light absorption rate.
[0035] A method for detecting bursting in batches of pharmaceutical glass bottles includes the following steps:
[0036] S0. After replacing the new medical glass bottle and placing it at the inspection station, start the laser emission source so that the laser is divided into the first optical path and the second optical path and converged on the laser receiving array. Rotate the medical glass bottle to adjust its angle. When the light intensity detected by the laser receiving array stabilizes at a certain value, the circumferential position of the medical glass bottle corresponding to this value is the position without the burst. Rotate the medical glass bottle one circle and mark the shape of the burst.
[0037] S1. Keep the circumferential position of the medical glass bottle in a non-bursting position, move the positions of reflector one and reflector two, adjust the distance between reflector one and the beam splitter and the distance between reflector two and the laser receiver, read the reading of the light intensity detection module in real time while moving, and stop moving when the light intensity is the highest. At this time, the first optical path and the second optical path are in the same phase when the laser receiving array converges.
[0038] S2. When an explosion is detected, the first and second optical paths are blocked by the first and second movable shielding plates respectively. The light intensity when only the first optical path is open and the light intensity when only the second optical path is open are read. The explosion depth is calculated by combining the bottle mouth thickness data measured by the image scanning unit.
[0039] S3. The system rotates and scans the medicine glass bottle around its circumference, and combines the depth of the rupture to create a 3D model of the bottle opening, providing a visual representation of the shape and depth of the rupture.
[0040] S4. Based on the degree of light attenuation caused by the laser penetrating the mouth of the medical glass bottle, the explosion depth calculated in S2 is corrected.
[0041] In S0, the shape of the blast hole is specifically marked as follows:
[0042] S0-1. Establish a Cartesian coordinate system xoy. Unfold the outer periphery of the mouth of the medical glass bottle in the coordinate system to obtain a large rectangle with a length of the outer diameter R of the mouth and a width of the mouth height h. Divide the rectangle from the left to form a small rectangle with a length of the mouth height h and a width of the effective receiving surface of the laser receiving array. Move the small rectangle from the left end to the right end of the large rectangle along the x-axis, corresponding to the circular rotation of the medical glass bottle and scanning the mouth of the bottle with a laser.
[0043] S0-2. When the medicine glass bottle is rotated by an angle θ from the starting point, the laser receiving array is in a vertical row with n receiving points. The ordinates of each receiving point form {h1, h2, ... h...} n An array of}, where a certain ordinate is h i When the detected value at the receiving point fluctuates, it means that a blast hole has appeared at this location. The formula for calculating the x-axis coordinate of the blast hole is: Find x j From this, the explosion vent coordinates (x) are obtained. j ,h i ), statistically analyze all blast vent coordinates and plot the shape and outline of the blast vent in the coordinate system;
[0044] In S2, the calculation of the blast depth is as follows:
[0045] S2-1. The detected light intensity is E1 when only the first optical path is active, E2 when only the second optical path is active, and E when both optical paths are active. 12 According to the formula for superposition of interference intensities: E 12 =E1 2 +E2 2 +2E1E2cos(Δφ), where Δφ is the phase difference between the two beams. Δφ is calculated based on the known quantities.
[0046] S2-2, due to Where λ is the wavelength of light and ΔL is the optical path difference, the optical path difference ΔL between the two beams is obtained. Since the optical path difference is the product of the refractive index and the penetration distance, the refractive index μ1 of the glass is calculated, and the size of the crater depth d0 is determined.
[0047] In S2-2, the specific method for calculating the refractive index μ1 of the glass is as follows: move the medical glass bottle downwards so that the first light path does not pass through the bottle opening, and measure the light intensity E at this time. 120 Once again, only the first optical path is turned on, and the light intensity E is measured. 10 According to the formula: E 120 =E 10 2 +E2 2 +2E 10 E2cos(Δφ0), calculate Δφ0, then calculate the optical path difference ΔL0 at this time. Start the image scanning unit to calculate the thickness of the bottle mouth of the current medical glass bottle, and measure the bottle mouth thickness d. Therefore, ΔL―ΔL0=(μ1―μ0)d, where μ1 is the refractive index of the current bottle mouth and μ0 is the refractive index of air. These are known quantities. Calculate the size of μ1―μ0. If there is a burst at the bottle mouth, let the burst depth be d0, then ΔL=(μ1―μ0)d0, and thus calculate the size of d0. The advantage of this method is that it calculates the refractive index separately for each glass bottle. Since the refractive index of each glass bottle is different, it would be very troublesome to measure it separately. This method combines the measurement of refractive index with burst detection, eliminating the need to measure the refractive index separately and avoiding the rough substitution of the glass's refractive index, resulting in more accurate calculations.
[0048] In S3, the specific method of 3D modeling is as follows: for each detected blast vent coordinate, calculate its corresponding blast vent depth d0, map the blast vent depth value to a 2D unfolded coordinate system, and construct a depth matrix. Create a 3D model with the same thickness and size as the current bottle opening, making the point set visible {(x j ,h i ,z j,i The output point cloud is connected to the 3D model. The shape and depth of the blast area are visualized through interpolation and fitting. The color heat map shows the defect area, and the deeper the blast, the more highlighted the corresponding color.
[0049] In S4, the specific method for correcting the blast depth is as follows:
[0050] S4-1. When a bottle bursts at the mouth, it simultaneously alters the optical path difference and the degree of light attenuation in the first optical path. It is assumed that the light intensity attenuation is zero over a very short distance when propagating in air, while the light intensity attenuation when propagating in glass is proportional to the product of the light absorption coefficient α and the propagation distance d - d0. Therefore, the corrected formula for the interference attenuation intensity is: E12 =E1 2 +E2 2 +2E1E2cos(Δφ)-E1α(d-d0);
[0051] S4-2, Based on E measured in S2-2 when the medical glass bottle is moved downwards so that the first light path does not pass through the bottle opening, 10 Combining E1, combining E 10 —E1 = E1αd, obtain α, and then substitute it into the comprehensive formula for interference attenuation intensity to obtain the correction value of d0. By calculating the attenuation degree of each glass bottle separately, the result is more accurate, and the measurement process is integrated into the burst detection, making the measurement method simple.
[0052] This invention uses a beam splitter to split the light emitted by the laser emitter into two beams. One beam penetrates the surface of the glass bottle opening and reaches the receiving surface, while the other beam passes through a reflector and reaches the receiving surface. By adjusting the position of the reflector, the two beams converge at the receiving surface without phase difference. When the bottle opening is damaged, the two beams produce an optical path difference, which in turn produces a phase difference. Small thickness changes cause optical path differences, which in turn cause changes in the light intensity at the receiving surface. Compared with the intensity attenuation method, this invention can amplify the effect of thickness changes and is not sensitive to color depth, impurities, or optical absorption.
[0053] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus.
[0054] Finally, it should be noted that the above descriptions are merely preferred embodiments of the present invention and are not intended to limit the present invention. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing embodiments or make equivalent substitutions for some of the technical features. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A batch explosion detection system for pharmaceutical glass bottles, characterized in that: It includes a detection execution module, a burst detection module, and an attenuation correction module. The detection execution module is used to detect bursts at the mouth of a glass bottle using the principle of optical interference. The burst detection module is used to detect bursts and calculate burst depth based on the detected changes in light intensity. The attenuation correction module is used to correct the degree of light intensity change caused by the optical interference principle by considering the degree of attenuation of light passing through the mouth of the glass bottle. The detection execution module includes a laser emitter, a beam splitter, a first reflector, a second reflector, a laser receiver, a first movable shield, and a second movable shield. The beam splitter is located at the emission end of the laser emitter. The beam splitter, along with the first and second reflectors and the laser receiver, forms a first optical path. The beam splitter and the laser receiver form a second optical path. The first movable shield is located at the periphery of the first optical path, and the second movable shield is located at the periphery of the second optical path. The laser emitter emits a laser of rated intensity. The beam splitter splits the laser into two beams of equal intensity. The first and second reflectors reflect the laser from the first optical path. The laser receiver includes a laser receiving array for receiving the laser and calculating the light intensity at each receiving point on its receiving surface. The first movable shield blocks the first optical path when moved, and the second movable shield blocks the second optical path when moved. The burst detection module includes a light intensity detection module, a burst determination module, a burst depth calculation module, a movement control unit, a rotation control unit, a burst coordinate module, and an image scanning unit. The light intensity detection module is electrically connected to the laser receiving array. The burst determination module and the burst depth calculation module are electrically connected to the light intensity detection module. The movement control unit is mechanically connected to reflector one and reflector two. The burst coordinate module is electrically connected to the rotation control unit. The light intensity detection module is used to calculate the light intensity based on the optical signals of each receiving point in the laser receiving array. The burst determination module is used to determine whether a burst has occurred based on the light intensity when two laser beams undergo destructive interference. The burst depth calculation module is used to calculate the burst depth. The movement control unit is used to control the planar positions of reflector one and reflector two. The rotation control unit is used to control the rotation of the glass bottle and record the rotation angle. The burst coordinate module is used to generate a Cartesian coordinate system and mark the area of the burst region in the coordinate system. The image scanning unit takes pictures of the bottle mouth from top to bottom to measure the thickness of the bottle mouth. The attenuation correction module includes a shielding control unit, a light absorption calculation module, and a puncture depth correction module. The shielding control unit is electrically connected to movable shielding plate one and movable shielding plate two. The light absorption calculation module is electrically connected to the puncture depth correction module. The shielding control unit is used to control movable shielding plate one and movable shielding plate two to block the light path. The light absorption calculation module is used to calculate the light absorption rate of the glass. The puncture depth correction module is used to correct the puncture depth according to the light absorption rate.
2. A method for detecting bursting in batches of pharmaceutical glass bottles, characterized in that: The method, applied to the system of claim 1, includes the following steps: S0. After replacing the medical glass bottle and placing it at the inspection station, the laser emission source is activated. The laser emitted by the laser emission source is split into a first optical path and a second optical path by a beam splitter located at its output end. The first optical path is formed by the beam splitter, reflector one, reflector two, and laser receiver. The second optical path is formed by the beam splitter to the laser receiver. One laser path penetrates the surface of the medical glass bottle mouth and reaches the laser receiving array. The other laser path reaches the laser receiving array after passing through reflector one and reflector two. The first and second optical paths converge on the laser receiving array. The medical glass bottle is rotated to adjust its angle. When the light intensity detected by the laser receiving array stabilizes at a certain value, the circumferential position of the medical glass bottle corresponding to this value is the position without rupture. The medical glass bottle is rotated one full turn and the shape of the rupture is marked. S1. Keep the circumferential position of the medical glass bottle in a non-bursting position, move the positions of reflector one and reflector two, adjust the distance between reflector one and the beam splitter and the distance between reflector two and the laser receiver, read the reading of the light intensity detection module in real time while moving, and stop moving when the light intensity is the highest. At this time, the first optical path and the second optical path are in the same phase when the laser receiving array converges. S2. When an explosion is detected, the first and second optical paths are blocked by the first and second movable shielding plates respectively. The light intensity when only the first optical path is open and the light intensity when only the second optical path is open are read. The explosion depth is calculated by combining the bottle mouth thickness data measured by the image scanning unit. S3. The system rotates and scans the medicine glass bottle around its circumference, and combines the depth of the rupture to create a 3D model of the bottle opening, providing a visual representation of the shape and depth of the rupture. S4. Based on the degree of light attenuation caused by the laser penetrating the mouth of the medical glass bottle, the explosion depth calculated in S2 is corrected.
3. The method for detecting bursting in batches of pharmaceutical glass bottles according to claim 2, characterized in that: In S0, the shape of the marked blast hole is specifically as follows: S0-1. Establish a Cartesian coordinate system xoy. Unfold the outer circumference of the mouth of the medical glass bottle in the coordinate system to obtain a length equal to the outer diameter of the mouth. Width is equal to the height of the bottle opening. A large rectangle, with a length equal to the height of the bottle opening on the left. A small rectangle, the width of which is the effective receiving surface of the laser receiving array, moves from the left end to the right end of the large rectangle along the x-axis, corresponding to the circular rotation of the medical glass bottle by using the laser to scan the bottle mouth once. S0-2, When rotating the medicine glass bottle from the starting point... The laser receiver array is arranged in a vertical row and the number of receiver points is [number missing]. The ordinates of each receiving point form An array, with a certain ordinate as When the detected value at the receiving point fluctuates, it means that a blast hole has appeared at this location. The formula for calculating the x-axis coordinate of the blast hole is: Find Thus, the coordinates of the blast crater are obtained. The coordinates of all blast vents are statistically analyzed, and the shape and outline of the blast vents are plotted in the coordinate system.
4. The method for detecting bursting in batches of pharmaceutical glass bottles according to claim 3, characterized in that: In S2, the calculation of the blast depth is specifically as follows: S2-1, The detected light intensity when only the first optical path is active is: When only the second optical path is active, the detected light intensity is The detected light intensity when both optical paths are conducting is According to the formula for superposition intensity of interference: ,in Given the phase difference between two beams of light, calculate the phase difference based on known quantities. ; S2-2, due to ,in The wavelength of light The optical path difference is calculated to determine the optical path difference between the two beams. Since the optical path difference is the product of the refractive index and the transmission distance, the refractive index of the glass can be calculated. Calculate the depth of the blast hole. Size.
5. The method for detecting bursting in batches of pharmaceutical glass bottles according to claim 4, characterized in that: In step S2-2, the refractive index of the glass is calculated. The specific method is as follows: move the medical glass bottle downwards so that the first light path does not pass through the bottle opening, and measure the light intensity at this time. Once again, only the first optical path is turned on to measure the light intensity. According to the formula: Find Then calculate the optical path difference at this time. The image scanning unit is activated to calculate and measure the thickness of the mouth of the current pharmaceutical glass bottle. ,therefore ,in The refractive index at the current bottle opening. Let be the refractive index of air, which is a known quantity. Calculate... The size of the bottle, and the depth of the burst when there is a burst at the bottle opening. ,but From this, we can find Size.
6. The method for detecting bursting in batches of pharmaceutical glass bottles according to claim 5, characterized in that: In S3, the specific method of three-dimensional modeling is as follows: for each detected blast vent coordinate, the corresponding blast vent depth is calculated. The depth values of the blast hole are mapped onto a two-dimensional unfolded coordinate system to construct a depth matrix. Create a 3D model with the same thickness and size as the current bottle opening to make the point set visible. The output point cloud is interfaced with the 3D model. The shape and depth of the blast area are visualized through interpolation and fitting. The color heat map shows the defect area, and the deeper the blast, the more highlighted the corresponding color.
7. The method for detecting bursting in batches of pharmaceutical glass bottles according to claim 6, characterized in that: In step S4, the specific method for correcting the blast depth is as follows: S4-1. When a bottle bursts at the mouth, it simultaneously alters the optical path difference and the degree of light attenuation in the first optical path. It is assumed that the light intensity attenuation is 0 over a very short distance when propagating in air, while the light intensity attenuation and light absorption coefficient vary when propagating in glass. and transmission distance The product of is proportional, therefore the corrected formula for the comprehensive interference attenuation intensity is: ; S4-2, Measured based on the following in S2-2: when the medical glass bottle is moved downwards so that the first light path does not pass through the bottle opening. , combined , combined Seeking Then, substituting into the comprehensive formula for interference attenuation intensity, we obtain... The correction value.