DEVICE AND METHOD FOR DETECTING AIR BUBBLES IN A LIQUID-FILLED CONTAINER

DE502017016457D1Active Publication Date: 2024-10-24KÖRBER PHARMA INSPECTION GMBH (100 00)
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
DE502017016457
Authority / Receiving Office
DE · DE
Patent Type
Patents
Current Assignee / Owner
Priority Date
2016-10-21
Filing Date
2017-08-01
Publication Date
2024-10-24
Estimated Expiration
2037-08-01

AI Technical Summary

Technical Problem

Existing systems for detecting air bubbles in transparent containers filled with liquid often result in false rejects due to misinterpretation, leading to increased costs and limited sensitivity, as they rely on unreliable measurements of roundness, size, and extension, and common methods to avoid or remove air bubbles are costly and inefficient.

Method used

A device with an illumination unit using at least two light sources differing in spectral light color and/or polarization, where the light beams form an angle, allowing the evaluation unit to distinguish air bubbles from glass particles by their deflection patterns, as air bubbles act like concave lenses and glass particles like convex lenses, enabling accurate detection of air bubbles.

Benefits of technology

The solution reliably detects air bubbles by exploiting their optical properties, reducing false rejects and improving sensitivity, while also allowing for simultaneous detection of other defects like cracks and scratches, thereby minimizing additional costs and improving inspection accuracy.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader
Need to check novelty before this filing date? Find Prior Art

Description

[0001] The present invention relates to a device for detecting air bubbles in a liquid-filled container and a method directed thereto. Fully automated image processing-based inspection systems are used in a variety of technical fields, such as the pharmaceutical industry, the beverage industry, or the semiconductor industry, to detect defective products and remove them from further production processes, such as packaging, filling, or delivery.

[0002] The image processing system mentioned usually comprises one or more optical sensors (e.g. CCD / CMOS cameras) and is equipped with additional optical components (e.g. lenses), signal lines, and a computer-aided evaluation unit for the analog or digital signals recorded by the sensor.

[0003] When inspecting transparent containers (e.g., syringes, vials, ampoules) containing liquid, transparent products, air bubbles are typically the main cause of false rejection (FR). False rejection refers to the erroneous classification of an otherwise correct product as defective, leading to its removal from the manufacturing process. These can be rising / moving air bubbles within the liquid volume or adhering air bubbles on the inner wall of the container. The air bubbles can be mistakenly interpreted as particles, contamination, inclusions, scratches, or cracks (etc.). Air bubbles can arise during filling due to mechanical handling or internal (chemical-physical) processes. The amount of air bubbles and their residence time can vary greatly depending on the properties of the product.The presence of air bubbles during inspection therefore either reduces the sensitivity of the inspection or increases the risk of false rejects. Both the false rejects resulting from misinterpretation and the potential "returns" that may arise, for example, during a customer-side inspection can lead to significant additional costs for the manufacturing company.

[0004] Previous approaches to distinguishing air bubbles from defects rely almost exclusively on measuring the objects. Properties such as "roundness," "size," or "extension" are used. However, these are unreliable and therefore do not allow for a clear distinction. Regardless of this, various approaches to avoiding or removing air bubbles are common, but these quickly reach their limits and can sometimes significantly increase the costs of a system.

[0005] EP 2 295 100 A2 and DE 10 2012 205 311 A1 disclose optical devices by means of which liquids contained in containers can be optically inspected and inhomogeneities such as air bubbles can be detected. The containers are illuminated by several light sources of different wavelengths, and images of the liquids are captured and analyzed, with the light beams from the various light sources running parallel to each other.

[0006] EP 0 429 086 A1 discloses an inspection device with dark-field illumination, which may comprise one or more light sources. In addition, it may be possible to use a region of the illumination unit not used for dark-field illumination as an additional light source for bright-field illumination, which differs in its properties from dark-field illumination with respect to color or polarization.

[0007] DE 10 2010 012570 A1 discloses a device for inspecting filled containers, comprising a first radiation device which directs radiation onto the liquid to be examined in the container, and an image recording device which records at least part of the radiation directed onto the liquid by the first radiation device and reflected or scattered by the container, wherein the image recording device is designed to record a spatially resolved image, wherein the device has at least one further radiation device or one further image recording device, wherein the radiation devices and the image recording device are arranged such that the liquid is observed using at least two mutually different image recording paths.

[0008] Therefore, the object of the present invention is to provide a device or method that overcomes the aforementioned disadvantages of the prior art. This is achieved with a device having all the features of claim 1 or with a method according to claim 12.

[0009] The device according to the invention for detecting air bubbles in a container filled with liquid comprises an illumination unit for irradiating the container with light, and a recording unit for recording an image of the container irradiated by the illumination unit, wherein the illumination unit comprises at least two light sources which differ from one another in their spectral light color and / or their polarization and / or another optical property.

[0010] According to the invention, the device further comprises an evaluation unit which is designed to infer the presence of an air bubble when evaluating the image of the recording unit on the basis of a specific arrangement of the distinguishable light beams emitted by the light sources.

[0011] Furthermore, the invention provides that the light beams of the at least two

[0012] Light sources in an inspection area for a container are not parallel to each other. Rather, the beams belonging to a respective light source are at an angle to each of the other beams of the other light sources. This angular offset is preferably

[0013] Beams of at least two light sources are only present in a common plane.

[0014] With the help of the illumination unit, whose individual light sources are spectrally coded or distinguishable from one another by their polarization, it is possible to reliably detect air bubbles in a liquid held in a container. The reason for this is that air bubbles in a liquid volume are spherical or, if they adhere to the side wall, hemispherical. The air bubbles then act like concave lenses of different sizes and focal lengths. In contrast, glass particles, particularly glass spheres, which are difficult to distinguish from air bubbles, act like convex lenses, so that the distinguishable light rays from the at least two light sources of the illumination unit are deflected in opposite directions depending on whether they pass through a glass particle or an air bubble. This is due to the different ratios of the optical densities to one another, i.e., air (n L = 1), water (n W = 1.33), and glass (n G = 1.5).

[0015] This effect can be exploited to assess whether an air bubble or a foreign particle such as a vitreous body is contained in the liquid by at least two light sources that differ from each other in their spectral light color and / or their polarization.

[0016] According to the invention, the recording unit is positioned such that the light beams emanating from the at least two light sources do not penetrate into the recording area of ​​the recording unit when passing through the container which is free of air bubbles or other foreign particles, or have a continuous or uniform intensity in the recording area.

[0017] In other words, the light beams emitted by the two light sources, for example, miss the recording unit unless they are deflected by foreign particles in the liquid in the container. Exceptions to this rule apply to the edge areas of the container, as the bottom surface of a container or the closure can also deflect the light beams of the at least two light sources into the recording unit.

[0018] If the rays that would normally miss the recording unit then hit an air bubble or a glass particle, this inevitably causes a deflection in the direction of the recording unit, making the presence of an air bubble or glass particle detectable. In a subsequent step, it is then possible to detect the presence of an air bubble. As already explained above, the property of an air bubble in a liquid is exploited for this purpose, whereby it acts like a concave lens. With the help of the two distinguishable light sources and their specific angle of incidence on the inspection area in which a container to be examined is located, the presence of an air bubble can then be determined.

[0019] For the above considerations, it is not absolutely necessary that the beam paths of the at least two light sources miss the recording field of the recording unit when inspecting a container that is free of air bubbles or foreign particles, since any deflection of the light beams caused by air bubbles or other particles (e.g. glass particles) results in a detectable increase in the intensity of light beams from the at least two light sources.

[0020] As already explained above, an air bubble in a liquid acts like a concave lens and thus leads to a specific deflection of the light rays of at least two

[0021] Light sources, which is detected by the evaluation unit, make it possible to determine the presence of an air bubble.

[0022] According to an optional modification of the invention, the lighting unit comprises three light sources that differ from each other in their spectral light color and / or their polarization.

[0023] According to a further development of the invention, the recording unit is a color camera and / or a camera with one or more polarization filters. This makes it possible to record the light beams from multiple light sources simultaneously or sequentially and forward this information to an evaluation unit. Even images taken in quick succession, for example, through different polarization filters, can be used for evaluation.

[0024] According to the invention, the container can be arranged between the illumination unit and the recording unit and the illumination unit and the recording unit face each other, preferably in order to provide transmitted light illumination of the container.

[0025] With transmitted light illumination, it is typical that part of the light emitted by the illumination unit passes through the container and only then reaches the recording unit.

[0026] Preferably, the device comprises a lens arranged in the beam path from the illumination unit to the recording unit and designed to direct the light beams of the at least two light sources of the illumination unit more or less parallel to an inspection area of ​​a container. The lens can be a cylindrical lens, a Fresnel lens, and / or a Fresnel-cylindrical lens.

[0027] By providing a lens, it is possible to provide several spatially spaced light sources, whose light beams are directed by the lens onto a common inspection area, in which all light beams from the various light sources are present according to the modifications outlined above. It is therefore possible for the light beams from the respective light sources in the inspection area to not run parallel to each other but to enclose an angle.

[0028] According to a preferred embodiment of the present invention, exactly one of the at least two light sources is arranged at the focal point of the lens, with the remaining light sources of the illumination unit being arranged at a distance therefrom on the same side of the lens as the light source arranged at the focal point. Preferably, the other light sources are spaced apart from the light source arranged at the focal point.

[0029] According to an optional modification of the invention, each of the plurality of light sources of the lighting unit is a line light, wherein when the line lights are aligned with each other, the longitudinal directions of these can be parallel but not identical to each other.

[0030] A line light is characterized by its linear shape and the resulting light emission, in which light is emitted along a longitudinal direction of the line light. Preferably, the line light of a respective light source is arranged parallel to a cylinder axis of a cylindrical lens arranged in the beam path from the illumination unit to the recording unit.

[0031] In addition, the plurality of line lights can be arranged offset in a direction perpendicular to the cylinder axis of the cylindrical lens.

[0032] According to a development of the invention, a first of the light sources has the color red, a second of the light sources has the color green and a third of the light sources has the color blue.

[0033] With this color scheme, it is possible for the recording unit to be an RGB color camera, which, for example, has a Bayer pattern in RGB.

[0034] According to a preferred variation of the invention, the container to be tested is completely or partially transparent and can be, for example, a syringe, a vial, or an ampoule. Preferably, the liquid contained in the container to be tested is a transparent liquid.

[0035] The invention further relates to a method for detecting air bubbles in a liquid-filled container, which is carried out using a device according to one of the preceding variations. In the method, the container is illuminated by an illumination unit, an image of the container illuminated by the illumination unit is recorded by a recording unit, and the image is evaluated by an evaluation unit. Furthermore, the container is illuminated by at least two light sources of the illumination unit, which differ from one another in their spectral light color and / or polarization.According to the invention, the light beams emanating from the at least two light sources do not run parallel to one another in an inspection area for the container and, when passing through the container which is free of air bubbles or other foreign particles, do not penetrate into the recording area of ​​the recording unit or have a continuous or uniform intensity in the recording area of ​​the recording unit.

[0036] According to the invention, the presence of an air bubble is determined when the image is evaluated based on a specific arrangement of the distinguishable light rays emitted by the light sources.

[0037] According to an optional modification of the invention, the presence of an air bubble is inferred when the image shows a specific arrangement of the distinguishable light beams emitted by the light sources, which corresponds to the actual arrangement positioning of a subset of the light sources or of all the light sources in the lighting unit.

[0038] Further features, advantages, and details will become apparent from the following discussion of the figures. They show: Fig. 1: three examples of containers filled with liquid, each containing an air bubble, Fig. 2: a schematic structure of an embodiment of the present device according to the invention, Fig. 3: the beam path of the multiple light sources when striking an air bubble and a schematic representation of a recording image of a recording unit, Fig. 4: the schematic path of the light rays of the multiple light sources when striking a glass particle and the schematic illustration of the recording unit, Fig. 5: an image of the recording unit for a container filled with water that has been shaken, Figs. 6a-b: views of a container to illustrate the difference between an air bubble and a glass particle, Figs. 7a-b: views of a container to illustrate the difference between an air bubble and a metal particle, Figs.8a-b: views of a container to illustrate a scratch on or in the container, Figs. 9a-b: views of a container to illustrate a crack in the container, Fig. 10: a variation of several air bubbles to illustrate the common properties of the air bubbles in the images, Figs. 11a-b: the illustration of containers provided with a printed scale and making it difficult to read a fill level, and Fig. 12: the illustration of a container that has a scale with decimal separators to illustrate that decimal separators are not recognized as air bubbles.

[0039] Fig. 1shows three example images of containers 3 in whose liquid an air bubble 1 is present. The air bubble 1 is arranged in a circle added to the drawing. Although the air bubbles 1 appear essentially circular, this feature alone is not sufficient to distinguish them from other defects. If one were to rely solely on this feature, the presence of circular glass particles 81, for example, would not be detectable.

[0040] Fig. 2 shows the basic structure of an embodiment of a device according to the invention.

[0041] Lighting unit 4, which comprises several light sources 41, 42, 43. In this illustration, the light source 41 is a light with the spectral color red, the light source 42 is a light with the spectral color green and the light source 43 is a light with the spectral color blue (the different colors are shown in the Figs. 2 - 4represented by different dashed lines). Light rays emanating from the individual light sources 41, 42, 43 are directed by a Fresnel cylindrical lens 7 onto an inspection area of ​​a container 3. The container 3 is filled with a liquid 2 containing an air bubble 1 and a glass particle 81. The beam path of the individual light rays from the multiple light sources 41, 42, 43 changes depending on whether the rays strike the air bubble 1 present in the water or the glass particle 81. It can also be seen that the deflection of the light rays is recorded by a recording unit 5, in this case a camera.

[0042] For more reliable detection and differentiation, the lighting should be optimized for the detection of air bubbles 1 to provide the software with additional options. The inspection for defects 8 (cracks 82 in the sidewall, particles 81) must not be compromised. Inspection and differentiation should occur simultaneously; a sole statement regarding the presence of air bubbles 1 is insufficient. Instead, all air bubbles 1 present should be ignored, and defects 8 between them should be recognized as such.

[0043] This can be achieved by color-coding various light sources 41, 42, and 43, whereby the respective color itself initially plays no decisive role (alternatively, temporal sequence or polarization can also be used). However, the images are evaluated using a color camera 5, so the colors red, green, and blue are suitable (for a color camera, for example, with a Bayer pattern in RGB).

[0044] Three line lights 41, 42, 43 in different colors (red, green, blue) are positioned behind a (Fresnel) lens 7 to produce three more or less parallel beams. The middle beam (here, green) should be well parallelized, i.e., the line light 42 should be positioned quite precisely at the focal point of the lens 7. In the image, the (green) background appears relatively homogeneous; the parallelism also leads to very good contrast, both for defects 8 and for air bubbles 1, as well as for other irregularities such as fingerprints or external contamination. This is where the actual inspection takes place.

[0045] The remaining line lights 41, 43 (red and blue) are positioned slightly above and below the center light 42. These do not necessarily have to be completely parallel, but can be expanded beforehand using a diffuser. However, parallelism is helpful to ensure that similar lighting conditions prevail for the obliquely incident light across the entire inspection area (e.g., the filling volume of a syringe).

[0046] Assuming that air bubbles 1 in the liquid volume are spherical or hemispherical (if they adhere to the side wall), they act like concave lenses of different sizes and focal lengths. This assumption is practically well fulfilled. Glass particles 81 in general, or glass spheres in particular, on the other hand, act like a convex lens. The reason for this is the different ratios of the optical densities to one another, i.e. air (n L = 1), water (n w = 1.33), and glass (n G = 1.5). This means that air bubbles reliably appear as circles with a (here) red upper half and a blue lower half. For larger air bubbles, the center appears green. The area ratio of the red and green parts is similar and is proportional to the total area of ​​the air bubble. The distance between the red and blue areas is proportional to the total size of the air bubble. Depending on the position and shape, certain variations are possible, particularly for air bubbles on the front or rear sides.Back of the (usually cylindrical) containers.

[0047] Glass balls (worst case) appear as circles with a blue upper half and a red lower half.

[0048] Glass particles 81 in general (of any shape) tend to behave similarly to glass spheres or randomly, depending on the shape.

[0049] Scratches 83 usually appear both red and blue, but can also have color transitions or appear black in places.

[0050] Depending on their course / shape, cracks 82 can (randomly) reflect red, blue or no light to camera 5.

[0051] The only important thing here is that air bubbles 1 reliably exhibit this behavior. Whether and how other particles / defects 8 interact with the light is unimportant as long as it doesn't interact in the same way as air bubbles 1.

[0052] Fig. 3shows the above-mentioned example again in a graphically appealing form. The obliquely incident beams of rays of different colors are deflected by the air bubble 1 in such a way that a red light incident from above remains at the top from the perspective of the recording unit 5. A blue light incident obliquely from below is deflected by the air bubble 1 in such a way that it remains at the bottom from the perspective of the recording unit 5. This results in an air bubble 1, according to the device configuration presented, being characterized by a red section in the upper area and a blue section in the lower area.

[0053] Fig. 4This schematic shows what happens when differently colored beams of light strike a glass particle 81 in an inspection area. The deflection of the glass particle 81 causes the blue light rays incident at an angle from below to be located in an upper area, and the red light rays incident at an angle from above to be located in a lower area. This makes it very easy to distinguish whether the object irradiated by the light rays is an air bubble 1 (red light above, blue light below) or a glass particle 81 (blue light above, red light below).

[0054] Fig. 5shows a syringe filled with water that has been shaken vigorously. Numerous air bubbles 1 of varying sizes are visible. As far as the graphic resolution of the drawing allows, it can be seen that all air bubbles 1 exhibit the expected characteristic of a red-blue transition. Only where the obliquely incident light (red and blue) is obscured by the meniscus or the stop do they appear either only red or only blue.

[0055] Figs. 6a and 6b show a container 3 filled with liquid 2, wherein the liquid contains both air bubbles 1 and a glass particle 81. Since the glass particle 81 is not a sphere or hemisphere, but rather a flat splinter, the previously shown effect, according to which the color constellation is inverse to an air bubble 1, is not particularly pronounced, but nevertheless present.

[0056] Figs. 7a and 7bshow several air bubbles 1 as well as a metal particle 84 in the liquid 2 held by the container 3. The metal particle 84 is noticeable in that it appears completely black and does not show any coloration towards red, green or blue.

[0057] The Figures 8a and 8b show a scratch 83 that has equal red and blue sections. Without the pronounced transition from red to blue, as would have been the case with air bubble 1, the scratch can be clearly distinguished from air bubble 1, even though scratch 83 is significantly smaller.

[0058] The Figures 9a and 9bshow a crack 82 in container 3 that has many branches. In some places, the crack 82 appears red or blue, but mostly black. It can also happen that it meets the conditions of an air bubble 1 in a very localized manner. In this case, the very small section of the larger crack 82 that meets the configuration characteristics of an air bubble 1 would be masked out. This would not have any disadvantages for the detection of a crack 82, since the entire crack 82 is not masked out. Only subsections of the larger crack 82 are masked out.

[0059] Fig. 10shows various appearances of air bubbles 1. The evaluation of the objects is of key importance. Objects with a red (green) to blue transition, whose red and blue surface portions are of similar size, must be identified with a high degree of probability as air bubbles 1 and ignored for the rest of the inspection for defects 8. The challenge here lies in equally taking into account fluctuations in the appearance of air bubbles 1, such as the one shown on the right. The image sections are scaled, with air bubble 1 in the bottom right being by far the largest. Within an object (air bubble 1 or defect 8), the center of gravity and area are determined for the blue and red surface portions. These are then offset against one another (areas should be of similar size, with the blue center of gravity at the bottom and the red center of gravity at the top, and both at a certain distance from one another, depending on their area).The bounding box, i.e., the frame enclosing an object within a rectangle, may not be optimal for further calculations because it is highly dependent on the object's shape. This object-based approach poses problems, particularly with connected objects (air bubbles 1 to each other, but also air bubbles 1 at defects 8 such as scratches 83 or cracks 82). While connected objects can be separated within certain limits using image processing tools, this also fragments defects, thus increasing the risk that parts of defects 8 are interpreted as air bubbles 1.

[0060] Instead of calculating entire areas, this approach takes a column-by-column approach, since the effect in the given arrangement has a pronounced directional dependence. Those skilled in the art will appreciate that a row-by-row approach is also possible if the container, the light sources, and / or the evaluation unit are arranged accordingly. The following description is based on the configuration of the previous embodiments, but is not limited to this.

[0061] For each column (with the container standing and illuminated from below and above), certain conditions must be met for an object to be declared an air bubble: Ratio of the number of lower (e.g. blue) and upper (e.g. red) pixels within a certain interval (analogous to area ratio), distance between lower and upper pixels in a certain relation to the number ("gap") (analogous to center of gravity or distance), maximum overlap area between lower and upper pixels (particularly relevant for smaller air bubbles), objects must begin and end with a "clear" lower (blue) and upper (red) pixel (i.e. not with overlapping pixels), and there can / must be at least a certain distance between objects (i.e. those that have been recognized as positive objects) (air bubbles or transitions must not touch each other).

[0062] As a result, all pixels declared as "positively belonging to the object" remain, encoded with gray values ​​(i.e., left, right, overlapping, and "gap" pixels). Since the actual air bubble can sometimes be significantly larger than its color-appearing areas (see images above), it is further advantageous to inflate these "positively belonging to the object" areas (using image processing tools) and then subtract (mask) them from the resulting image. Alternatively, all objects that have "positively belonging to the object" areas can be ignored. However, there is a risk that defects adhering to air bubble 1 will also be ignored. Special intermediate steps for object separation are advisable.

[0063] In addition, the present invention makes it possible to carry out measurements of the fill level more reliably, since even containers 3 printed with a scale cannot cover the meniscus. Fig. 11a shows a printed syringe with a flat meniscus. Since measuring the fill level in syringes with scales is not trivial, especially when the meniscus is very flat, as in the illustration of the Fig. 11a , the different colored lighting proves to be further advantageous.

[0064] Fig. 11b shows a printed syringe during a rapid rotation. Since the underside of the meniscus reflects the blue light, it is clearly recognizable as such, even though the scale makes measurement difficult.

[0065] Fig. 12 shows a container 3 provided with a scale containing decimal separators. Here, too, the present invention helps prevent such decimal separators from being mistakenly perceived as a particle within the liquid.

[0066] The invention can therefore contribute to a reduction in false rejection due to air bubbles during the inspection of transparent, aqueous, or viscous liquids. Furthermore, the invention can be used to search for defects in the glass container (cracks, scratches, inclusions) as well as particulate defects in the liquid. Level measurement is possible with the invention for both printed and surface-treated containers. Overall, the sensitivity for the aforementioned defects (through parallel light) is increased.

Claims

1. Device for detecting air bubbles (1) in a container (3) filled with liquid (2), said device comprising; an illumination unit (4) for irradiating the container (3) with light, and a recording unit (5) for recording an image of the container (3) irradiated by the illumination unit (4), wherein the illumination unit (4) comprises at least two light sources (41, 42, 43) which differ from one another in their spectral light colour and / or their polarisation, wherein the device further comprises an evaluation unit (6) which is designed to infer the presence of an air bubble (1) during an evaluation of the image of the recording unit (5) on the basis of a specific arrangement of the light beams, which can be distinguished from one another, emitted by the light sources (41, 42, 43), wherein the container (3) can be arranged between the illumination unit (4) and the recording unit (5), and the illumination unit (4) and the recording unit (5) face each other, in order to provide transmitted light illumination of the container (3), and wherein the recording unit (5) is positioned in such a way i) that the light beams emitted by the at least two light sources (41, 42, 43) do not penetrate into the recording area of the recording unit (5) when passing through the container (3), which is free of air bubbles or other foreign particles, and when they hit an air bubble (1) or a glass particle (81) are deflected in the direction of the recording unit (5), or ii) that the light beams emitted by the two light sources (41, 42, 43) have a continuous or uniform intensity in the recording area of the recording unit (5) when passing through the container (3), which is free of air bubbles or other foreign particles, and when they hit an air bubble (1) or a glass particle (81) are deflected in such a way that an intensity increase of light beams of the at least two light sources (41, 42, 43) detectable by the recording unit (5) results, wherein the light beams of the at least two light sources (41, 42, 43) do not run parallel to one another in an inspection area for the container (3).

2. Device according to claim 1, wherein the illumination unit (4) comprises three light sources (41, 42, 43) which differ from one another in their spectral light colour and / or their polarisation.

3. Device according to any one of the preceding claims, wherein the recording unit (5) is a colour camera and / or a camera with one or more polarisation filters.

4. Device according to any one of the preceding claims, further comprising a lens (7) which is arranged in the beam path from the illumination unit (4) to the recording unit (5) and is designed to direct the light beams of the at least two light sources (41, 42, 43) of the illumination unit (4) in parallel onto an inspection area of a container (3).

5. Device according to claim 4, wherein the lens (7) is a cylinder lens, a Fresnel lens and / or a Fresnel cylinder lens.

6. Device according to any one of preceding claims 5 or 6, wherein precisely one of the at least two light sources (41, 42, 43) is arranged at the focal point of the lens (7) and the remaining light sources (41, 42, 43) of the illumination unit (4) are arranged at a distance therefrom on the same side of the lens (7) as the light source arranged at the focal point.

7. Device according to any one of the preceding claims, wherein each of the at least two light sources (41, 42, 43) of the illumination unit (4) is a line light, wherein preferably the longitudinal directions of the line lights are parallel but not identical to each other.

8. Device according to claim 7, wherein the line lights are arranged parallel to a cylinder axis of a cylinder lens arranged in the beam path from the illumination unit (4) to the recording unit (5).

9. Device according to any one of the preceding claims, wherein a first of the light sources (41) has the colour red, a second of the light sources has the colour green (42) and a third of the light sources (43) has the colour blue.

10. Device according to any one of the preceding claims, wherein the container (3) is completely or partially transparent and is, for example, a syringe, a vial or an ampoule.

11. Device according to any one of the preceding claims, wherein the liquid present in the container (3) is a transparent liquid (2).

12. Method for detecting air bubbles (1) in a container (3) filled with liquid (2), which is carried out using a device according to any one of the preceding claims, wherein in the method: the container (3) is irradiated with an illumination unit (4), an image of the container (3) irradiated by the illumination unit (4) is recorded by a recording unit (5), and the image is evaluated by means of an evaluation unit (6), wherein the container (3) is irradiated by at least two light sources (41, 42, 43) of the illumination unit (4) which differ from each other in their spectral light colour and / or their polarisation, wherein the light beams emitted by the at least two light sources (41, 42, 43) do not run parallel to one another in an inspection area for the container (3), wherein the container (3) can be arranged between illumination unit (4) and recording unit (5) and the illumination unit (4) and the recording unit (5) face each other, in order to provide transmitted light illumination of the container (3), wherein the light beams emitted by the at least two light sources (41, 42, 43), when passing through the container (3), which is free of air bubbles or other foreign particles, i) do not penetrate into the recording area of the recording unit (5), and when they hit an air bubble (1) or a glass particle (81) are deflected in the direction of the recording unit (5), or ii) have a continuous or uniform intensity in the recording area of the recording unit (5) and when they hit an air bubble (1) or a glass particle (81) are deflected in such a way that an intensity increase of light beams of the at least two light sources (41, 42, 43) detectable by the recording unit (5) results, and wherein the presence of an air bubble (1) is inferred when evaluating the image by means of the evaluation unit (6) on the basis of a specific arrangement of the light beams, which can be distinguished from one another, emitted by the light sources (41, 42, 43).

13. Method according to claim 12, wherein the presence of an air bubble (1) is inferred if the image represents a specific arrangement of the light beams, which can be distinguished from each other, emitted by the light sources (41, 42, 43) and said arrangement corresponds to the actual arrangement order of a subset of the light sources (41, 42, 43) or all light sources (41, 42, 43) in the illumination unit (4).