Inspection device, PTP packaging machine, and inspection method
The inspection device dynamically adjusts tolerance ranges based on real-time spectral data to address changes in illumination and content variations, reducing error rates and improving accuracy in distinguishing defective and non-defective PTP sheet contents.
Patent Information
- Application Number
- JP2018063870
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2018-03-29
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2038-03-29
AI Technical Summary
Conventional inspection devices for PTP sheets face challenges due to changes in illumination and image sensor characteristics over time, and variations in spectroscopic analysis results across production lots, leading to increased error rates in distinguishing defective and non-defective products, particularly in pharmaceutical applications.
An inspection device and method that adjusts the tolerance range for spectroscopic analysis based on real-time spectral data from recent non-defective products, using near-infrared light to irradiate contents, capturing spectra, and calculating average values and standard deviations for each wavelength band to dynamically set thresholds, thereby improving accuracy.
This approach reduces error rates for both defective and non-defective products by adapting to changes in the inspection device and contents, ensuring precise quality determination for each wavelength band, thus enhancing inspection accuracy.
Smart Images

Figure 0007565670000001 
Figure 0007565670000002 
Figure 0007565670000003
Abstract
Description
[Technical field]
[0001] The present invention relates to an inspection device that uses spectroscopic analysis to inspect for the inclusion of different types of products, a PTP packaging machine equipped with the same, and an inspection method. [Background technology]
[0002] 2. Description of the Related Art PTP (press-through pack) sheets are known as blister pack sheets generally used in the pharmaceutical field.
[0003] A PTP sheet is composed of a container film having a pocket formed therein in which contents such as tablets are placed, and a cover film attached to the container film so as to seal the open side of the pocket.
[0004] When manufacturing PTP sheets, spectroscopic analysis may be used to check for the presence of different types of contents.
[0005] As an inspection device for performing such an inspection, for example, an inspection device is known which irradiates near-infrared light onto tablets filled in the pockets of a container film being transported, separates the reflected light using a spectroscope, and images the light to obtain spectral data to identify the type of tablet (see, for example, Patent Document 1).
[0006] The inspection device of Patent Document 1 is configured to identify the type of tablet by comparing the intensity of a specific wavelength in the spectrum data of the tablet to be inspected with data previously stored in a storage unit.
[0007] In addition, in the field of inspections using spectroscopic analysis, a method is also known in which an acceptable range (a threshold value that determines the acceptable range) of spectral data of an object to be inspected is set in advance based on the average value and standard deviation of spectral data of multiple objects measured in advance (see, for example, Patent Document 2). [Prior art documents] [Patent documents]
[0008] [Patent Document 1] International Publication No. 2013 / 002291 [Patent Document 2] International Publication No. 2017 / 094188 Summary of the Invention [Problem to be solved by the invention]
[0009] However, there is a problem in that the illumination and image pickup element of the inspection device gradually change in brightness, sensitivity, wavelength characteristics, etc. due to environmental factors such as temperature or due to aging factors.
[0010] In addition, the spectroscopic analysis results of the contents filled in the PTP sheet vary slightly for each production lot, even if the product is of good quality. For example, the spectroscopic analysis results of tablets for good products vary slightly depending on the conditions during tableting (factors such as particle size and mixing of ingredients, tableting pressure, etc.) and the conditions after tableting (temperature, humidity, time, etc.).
[0011] Here, when considering the above-mentioned changes in the inspection device and the changes in the contents themselves, if we try to suppress an increase in the error rate of non-defective products related to the contents (probability of mistaking a non-defective product for a defective product), it is necessary to set the width of the tolerance range relatively large in advance, for example by setting the coefficient K in the following formula (A1) that determines the tolerance range of non-defective products to a relatively large value, which may increase the error rate of defective products (probability of mistaking a defective product for a non-defective product). In the field of PTP sheet manufacturing, especially in the field of pharmaceuticals, it is desirable for the error rate of defective products to be as close to "0" as possible.
[0012] L = μ ± K × σ (A1) Here, "L" is the allowable range (upper and lower thresholds), "K" is a coefficient, "μ" is the average value, and "σ" is the standard deviation.
[0013] In other words, in the conventional configuration in which the tolerance range of the spectral data of the contents to be inspected (the threshold value that determines the tolerance range) is fixed at a preset value, it is difficult to suppress an increase in the error rate of non-defective products related to the contents while suppressing an increase in the error rate of defective products, and there is a risk of a decrease in inspection accuracy.
[0014] The present invention has been made in consideration of the above circumstances, and an object of the present invention is to provide an inspection device, a PTP packaging machine, and an inspection method that can improve the inspection accuracy related to inspection using spectroscopic analysis. [Means for solving the problem]
[0015] The following describes each of the means suitable for solving the above problems. Note that, as necessary, the specific effects of the corresponding means will be added.
[0016] Means 1. An inspection device used in the manufacture of PTP sheets in which a pocket formed in a container film contains a predetermined content and a cover film is attached to close the pocket, An irradiation means capable of irradiating the contents with near-infrared light; A spectroscopic means capable of separating light reflected from the contents irradiated with the near-infrared light; an imaging means capable of imaging a spectrum of the reflected light dispersed by the spectroscopic means; A spectral data acquisition means capable of acquiring spectral data of the content based on the spectroscopic image data acquired by the imaging means; an inspection means capable of performing a predetermined inspection (e.g., an inspection for the inclusion of a different type of product) on the contents based on the spectral data of the contents acquired by the spectral data acquisition means; The inspection means includes: a determination means for determining whether or not the spectral intensities in N specific wavelength bands (N is a natural number equal to or greater than 1) among a plurality of wavelength bands included in the spectral data of the contents acquired by the spectral data acquisition means are within respective allowable ranges, thereby determining the quality of the contents; a spectral data storage means for storing, in chronological order, the spectral data of the contents judged as non-defective by the judgment means; an average value calculation means for calculating an average value of the spectral intensity for each of the N specific wavelength bands based on the most recent M pieces (M is a natural number of 2 or more) of spectral data of the contents stored in time series in the spectral data storage means; a threshold calculation means for calculating a threshold (an upper threshold and / or a lower threshold) for determining the spectral intensity of each of the N specific wavelength bands based on the average value of the spectral intensity for each of the N specific wavelength bands calculated by the average value calculation means; and a change means for changing the allowable range for each of the N specific wavelength bands based on each threshold value for each of the N specific wavelength bands calculated by the threshold calculation means.
[0017] According to the above-mentioned means 1, while continuously performing inspections for the inclusion of different types of products using spectroscopic analysis, the spectroscopic analysis results of the contents of the most recent non-defective product are fed back, and the allowable range of the spectral data of the contents can be changed as needed.
[0018] This makes it possible to determine the quality of the spectral data of the contents being inspected within a more appropriate tolerance range during the inspection in response to changes over time in the inspection device and the contents.
[0019] As a result, there is no need to set a relatively large tolerance range in advance, and it is possible to suppress an increase in the rate of mistakenly identified defective products while suppressing an increase in the rate of mistakenly identified defective products regarding the contents, thereby improving inspection accuracy.
[0020] However, since the spectral intensity of each wavelength band contained in the near-infrared light emitted from the irradiation means is not uniform, the sensitivity (amount of received light) of the imaging means that captures the spectrum and its change over time also differ for each wavelength band.
[0021] In contrast, in the present means 1, an allowable range of the spectral intensity is set for each of the N specific wavelength bands, and the allowable range is changeable for each specific wavelength band. This makes it possible to deal more precisely with changes over time in the inspection device or contents for each specific wavelength band, thereby further improving the inspection accuracy.
[0022] In addition, the above-mentioned means 1 may include, for example, "a standard deviation calculation means for calculating a standard deviation of the spectral intensity for each of the N specific wavelength bands based on the most recent M pieces (M is a natural number of 2 or more) of spectral data of the contents stored in the spectral data storage means in chronological order," The "threshold calculation means" may be configured to "calculate a threshold (upper threshold and / or lower threshold) for determining the spectral intensity of each of the N specific wavelength bands, based on the average value of the spectral intensities for each of the N specific wavelength bands calculated by the average value calculation means and the standard deviation of the spectral intensities for each of the N specific wavelength bands calculated by the standard deviation calculation means."
[0023] Means 2. The inspection means is The most recent M pieces of spectral data of the contents stored in the spectral data storage means in chronological order are Average value calculation process by the average value calculation means In using this The inspection device described in means 1 is characterized in that it is equipped with a weighting means capable of performing a predetermined weighting process so that, among the spectral data of the M pieces of the contents, a proportion of spectral data that is more recent in the time series or a group of spectral data that is both continuous in the time series and more recent in the time series is reflected more than a predetermined spectral data or a predetermined group of spectral data that is continuous in the time series.
[0024] According to the above-mentioned means 2, it is possible to carry out weighting processing such as converting the second spectrum data, which is newer in the time series, into twice the amount (equivalent to two contents) of the first spectrum data, which is older in the time series.
[0025] This makes it possible to set a tolerance range that is more appropriate for the conditions during the inspection, thereby enabling further improvement in the inspection accuracy.
[0026] Means 3. The imaging means is configured to be capable of simultaneously imaging the spectral distribution of reflected light from the contents placed at a plurality of positions (e.g., a plurality of positions in a direction perpendicular to the conveying direction of the contents), The inspection device described in means 1 or 2, characterized in that the inspection means (the judgment means, the spectrum data storage means, the average value calculation means, the threshold value calculation means, and the change means) are provided corresponding to each of the multiple positions.
[0027] Due to uneven brightness of the near-infrared light irradiated from the irradiation means to the imaging area, and sensitivity variations based on the characteristics of the multiple light receiving elements that make up the imaging element of the imaging means (such as a CCD area sensor), the sensitivity (amount of light received) and its change over time in the imaging element also differ for each coordinate position.
[0028] In contrast, according to the above-mentioned means 3, inspection of contents at a plurality of positions can be carried out individually.
[0029] In other words, the quality of the contents at each position is judged based on the tolerance range of the spectral data set corresponding to each of the multiple positions, and a spectral data storage means for storing the spectral data of good contents in chronological order is provided individually for each of the multiple positions, and based on the spectral data stored in the spectral data storage means, processes such as calculation of the average spectral intensity, calculation of the threshold value, and change of the tolerance range are performed individually for each position.
[0030] As a result, it becomes possible to respond more precisely to changes over time in the inspection device or contents for each position, thereby enabling further improvement in inspection accuracy.
[0031] Means 4. A PTP packaging machine for producing a PTP sheet in which a pocket formed in a container film contains a predetermined content and a cover film is attached to close the pocket, a pocket forming means for forming the pocket in the belt-shaped container film; A filling means for filling the pocket with the content; an attachment means for attaching the belt-shaped cover film to the container film having the contents accommodated in the pocket portion so as to close the pocket portion; A cutting means (including a punching means for punching into sheet units) for cutting the PTP sheet from a strip (strip-shaped PTP film) in which the cover film is attached to the container film; A PTP packaging machine comprising an inspection device according to any one of the above means 1 to 3 for inspecting the contents.
[0032] As in the above-mentioned means 4, by providing the inspection device according to the above-mentioned means 1 or the like in the PTP packaging machine, there is an advantage that defective products including different types can be accurately removed in the PTP sheet manufacturing process. In addition, the PTP packaging machine may be configured to include a discharge means for discharging PTP sheets determined to be defective by the above-mentioned inspection device.
[0033] In the above-mentioned means 4, the inspection device may be arranged in a "pre-process where the pockets are filled with the contents by the filling means." In this case, it becomes possible to eliminate different types of PTP sheets before they are filled into the pockets, and the number of defective PTP sheets can be reduced.
[0034] The inspection device may be arranged in a post-process where the pocket is filled with the contents by the filling means and before the cover film is attached by the attachment means. In this case, the inspection can be performed without anything obstructing the contents, which can further improve the inspection accuracy.
[0035] The inspection device may be arranged in a post-process where the cover film is attached by the attachment means and in a pre-process where the PTP sheet is separated by the separation means. In this case, the inspection can be performed without the contents being replaced, and the inspection accuracy can be further improved.
[0036] The inspection device may be arranged in the process after the PTP sheet is cut by the cutting means. In this case, it is possible to check at the final stage whether any defective products have been mixed in.
[0037] Means 5. A method for carrying out a specified inspection (e.g., inspection for the inclusion of a different type of product) using spectroscopic analysis during the manufacture of a PTP sheet in which a pocket portion formed in a container film is filled with a specified content and a cover film is attached to cover the pocket portion, comprising the steps of: an irradiation step capable of irradiating the contents with near-infrared light; A spectroscopic step capable of spectroscopically separating light reflected from the contents irradiated with the near-infrared light; an imaging step capable of imaging a spectrum of the reflected light dispersed in the spectroscopic step; a spectral data acquisition step for acquiring spectral data of the content based on the spectroscopic image data acquired in the imaging step; a determining step of determining whether or not the spectral intensities in N specific wavelength bands (N is a natural number equal to or greater than 1) among the multiple wavelength bands included in the spectral data of the content acquired in the spectral data acquisition step are within an allowable range, thereby determining whether or not the content is good; a spectral data storage step of storing, in chronological order, the spectral data of the contents determined to be non-defective in the determination step; an average calculation step of calculating an average value of the spectral intensities of the N specific wavelength bands based on the most recent M pieces (M is a natural number of 2 or more) of spectral data of the contents stored in chronological order in the spectral data storage step; a threshold calculation step of calculating a threshold (an upper threshold and / or a lower threshold) for determining the spectral intensity of each of the N specific wavelength bands based on the average value of the spectral intensity for each of the N specific wavelength bands calculated in the average value calculation step; and a change step of changing the allowable range for each of the N specific wavelength bands based on each threshold value for each of the N specific wavelength bands calculated in the threshold calculation step.
[0038] According to the above-mentioned means 5, the same effects as those of the above-mentioned means 1 are achieved.
[0039] In addition, the above-mentioned means 5 may further include, for example, a "standard deviation calculation step of calculating a standard deviation of the spectral intensity for each of the N specific wavelength bands based on the most recent M pieces (M is a natural number of 2 or more) of spectral data of the contents stored in chronological order by the spectral data storage step", The above-mentioned "threshold calculation step" may be configured to "calculate a threshold (upper threshold and / or lower threshold) for determining the spectral intensity of each of the N specific wavelength bands based on the average value of the spectral intensities for each of the N specific wavelength bands calculated in the average value calculation step and the standard deviation of the spectral intensities for each of the N specific wavelength bands calculated in the standard deviation calculation step." [Brief description of the drawings]
[0040] [Figure 1] FIG. 2(a) is a perspective view showing a PTP sheet, and FIG. 2(b) is a perspective view showing a PTP film. [Diagram 2] FIG. 2 is a partially enlarged cross-sectional view of a pocket portion of the PTP sheet. [Diagram 3] FIG. 1 is a schematic diagram showing a schematic configuration of a PTP packaging machine. [Figure 4] FIG. 2 is a block diagram showing the electrical configuration of the inspection device. [Diagram 5] FIG. 2 is a perspective view showing a schematic arrangement of an inspection device. [Figure 6] FIG. 1 is a schematic diagram showing a schematic configuration of an imaging device. [Figure 7] 1 is a flowchart showing a measurement routine. [Figure 8] FIG. 2 is a schematic diagram showing a spectrum projected onto an imaging element. [Figure 9] 11 is an explanatory diagram for explaining the relationship between a conveying direction imaging range and tablets, etc. [Figure 10] FIG. 2 is a schematic diagram showing a spectral image. [Figure 11] 10 is a flowchart showing an inspection routine. [Figure 12] 11 is an explanatory diagram for explaining the relationship between a transport direction imaging range and a spectral image. FIG. [Figure 13] 13 is a flowchart showing an analysis process. [Figure 14] 13 is a flowchart showing a table changing process. [Figure 15] 11 is a table illustrating example spectral intensities, average spectral intensities, and standard deviations for some wavelength bands in some non-defective product data. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0041] An embodiment will be described below with reference to the drawings. First, the structure of the PTP sheet will be described in detail.
[0042] As shown in FIGS. 1 and 2, the PTP sheet 1 has a container film 3 having a plurality of pocket portions 2, and a cover film 4 attached to the container film 3 so as to cover the pocket portions 2.
[0043] The container film 3 in this embodiment is made of a transparent thermoplastic resin material such as PP (polypropylene) or PVC (polyvinyl chloride) and has light-transmitting properties. On the other hand, the cover film 4 is made of an opaque material (such as aluminum foil) on whose surface a sealant made of polypropylene resin or the like is provided.
[0044] The PTP sheet 1 is formed in a generally rectangular shape in plan view. The PTP sheet 1 has two pocket rows in the short direction, each row consisting of five pockets 2 arranged along the longitudinal direction. In other words, a total of ten pockets 2 are formed. Each pocket 2 contains one tablet 5 as the content.
[0045] The PTP sheet 1 (see FIG. 1(a)) is produced by punching out a strip-shaped PTP film 6 (see FIG. 1(b)) formed from a strip-shaped container film 3 and a strip-shaped cover film 4 into a sheet.
[0046] Next, the schematic configuration of a PTP packaging machine 10 for producing the PTP sheet 1 will be described with reference to FIG.
[0047] As shown in Fig. 3, a strip-shaped original web of container film 3 is wound into a roll on the most upstream side of the PTP packaging machine 10. The pull-out end of the rolled container film 3 is guided by a guide roll 13. The container film 3 is hung on an intermittent feed roll 14 on the downstream side of the guide roll 13. The intermittent feed roll 14 is connected to a motor that rotates intermittently, and transports the container film 3 intermittently.
[0048] Between the guide roll 13 and the intermittent feed roll 14, a heating device 15 and a pocket forming device 16 are disposed in this order along the transport path of the container film 3. Then, after the container film 3 is heated by the heating device 15 and becomes relatively flexible, a plurality of pockets 2 are formed in predetermined positions of the container film 3 by the pocket forming device 16 (pocket forming process). The heating device 15 and the pocket forming device 16 constitute the pocket forming means in this embodiment. The pockets 2 are formed during the intervals between the transport operations of the container film 3 by the intermittent feed roll 14.
[0049] The container film 3 fed from the intermittent feed roll 14 is wrapped around a tension roll 18, a guide roll 19, and a film receiving roll 20, in that order. The film receiving roll 20 is connected to a motor that rotates at a constant speed, so it transports the container film 3 continuously at a constant speed. The tension roll 18 pulls the container film 3 toward the tension side by its elastic force, preventing bending of the container film 3 due to differences in the transport operations of the intermittent feed roll 14 and the film receiving roll 20, and keeping the container film 3 in a constantly tensed state.
[0050] Between the guide roll 19 and the film receiving roll 20, a tablet filling device 21 is disposed along the transport path of the container film 3. The tablet filling device 21 functions as a filling means for automatically filling the pocket portions 2 with tablets 5. The tablet filling device 21 drops the tablets 5 by opening a shutter at predetermined intervals in synchronization with the transport operation of the container film 3 by the film receiving roll 20, and the tablets 5 are filled into each pocket portion 2 in association with this shutter opening operation (filling process).
[0051] Between the tablet filling device 21 and the film receiving roll 20, an inspection device 22 is disposed along the transport path of the container film 3. The inspection device 22 is a spectroscopic analysis device that performs inspection using spectroscopic analysis, and is intended to inspect for the mixing of different types of tablets. Details of the inspection device 22 will be described later.
[0052] On the other hand, the original web of the cover film 4 formed in a belt shape is wound in a roll on the most upstream side.
[0053] The pull-out end of the cover film 4 wound in a roll shape is guided by a guide roll 24 and guided toward a heating roll 25. The heating roll 25 can be pressed against the film receiving roll 20, so that the container film 3 and the cover film 4 are fed between the rolls 20, 25.
[0054] Then, the container film 3 and the cover film 4 pass between the two rolls 20, 25 in a heated and pressed state, so that the cover film 4 is attached to the container film 3, and the pocket portion 2 is closed with the cover film 4 (attaching process). This produces a PTP film 6 as a strip in which tablets 5 are accommodated in each pocket portion 2. The surface of the heating roll 25 is formed with fine mesh-like convex stripes for sealing, which are strongly pressed against each other to achieve a strong seal. The film receiving roll 20 and the heating roll 25 constitute the attachment means in this embodiment.
[0055] The PTP film 6 sent out from the film receiving roll 20 is hung in this order around the tension roll 27 and the intermittent feed roll 28. The intermittent feed roll 28 is connected to a motor that rotates intermittently, and therefore intermittently transports the PTP film 6. The tension roll 27 pulls the PTP film 6 toward the tensioned side by its elastic force, preventing bending of the PTP film 6 due to the difference in transport operation between the film receiving roll 20 and the intermittent feed roll 28, and keeping the PTP film 6 in a constant tensioned state.
[0056] The PTP film 6 sent out from the intermittent feed roll 28 is hung in this order around the tension roll 31 and the intermittent feed roll 32. The intermittent feed roll 32 is connected to a motor that rotates intermittently, and therefore intermittently transports the PTP film 6. The tension roll 31 pulls the PTP film 6 toward the tension side by its elastic force, and prevents the PTP film 6 from bending between the intermittent feed rolls 28 and 32.
[0057] Between the intermittent feed roll 28 and the tension roll 31, a slit forming device 33 and an engraving device 34 are disposed in this order along the transport path of the PTP film 6. The slit forming device 33 has a function of forming a separation slit at a predetermined position in the PTP film 6. The engraving device 34 has a function of applying an engraving at a predetermined position (e.g., a tag portion) on the PTP film 6.
[0058] The PTP film 6 sent out from the intermittent feed roll 32 is hung in this order on the downstream side around a tension roll 35 and a continuous feed roll 36. A sheet punching device 37 is disposed between the intermittent feed roll 32 and the tension roll 35 along the transport path of the PTP film 6. The sheet punching device 37 functions as a sheet punching means (cutting means) that punches out the outer edge of the PTP film 6 into individual PTP sheets.
[0059] The PTP sheet 1 punched by the sheet punching device 37 is transported by a conveyor 39 and temporarily stored in a finished product hopper 40 (separation process). However, if the PTP sheet 1 is determined to be a defective product by the inspection device 22, the PTP sheet 1 determined to be a defective product is not sent to the finished product hopper 40, but is discharged separately by a defective sheet discharge mechanism serving as a discharge means (not shown).
[0060] A cutting device 41 is disposed downstream of the continuous feed roll 36. The unnecessary film portion 42 constituting the strip-shaped remaining material portion (scrap portion) after punching by the sheet punching device 37 is guided to the tension roll 35 and the continuous feed roll 36, and then led to the cutting device 41. The continuous feed roll 36 has a driven roll pressed against it, and performs a conveying operation while clamping the unnecessary film portion 42. The cutting device 41 has the function of cutting the unnecessary film portion 42 to a predetermined size and disposing of it as scrap. This scrap is stored in a scrap hopper 43 and then disposed of separately.
[0061] The rolls 14, 20, 28, 31, 32, etc. are positioned such that the roll surface faces the pocket portion 2, but the surface of the intermittent feed roll 14, etc. has recesses formed therein to accommodate the pocket portion 2, so that the pocket portion 2 is not crushed. Also, the feeding operation is performed while the pocket portion 2 is accommodated in each recess of the intermittent feed roll 14, etc., so that the intermittent feeding operation and continuous feeding operation are performed reliably.
[0062] The outline of the PTP packaging machine 10 has been described above, and the configuration of the inspection device 22 will be described in detail below with reference to the drawings. Fig. 4 is a block diagram showing the electrical configuration of the inspection device 22, and Fig. 5 is a perspective view showing a schematic layout of the inspection device 22.
[0063] As shown in Figures 4 and 5, the inspection device 22 includes an illumination device 52, an imaging device 53, and a control processing device 54 that performs various controls, image processing, arithmetic processing, etc. within the inspection device 22, such as driving control of the illumination device 52 and the imaging device 53.
[0064] The lighting device 52 and the imaging device 53 are disposed on the opening side of the pocket portion 2 of the container film 3. That is, in this embodiment, a mixed-product inspection is performed from the opening side of the pocket portion 2 of the container film 3 at a stage before the cover film 4 is attached.
[0065] The lighting device 52 is a known device configured to be capable of irradiating near-infrared light, and constitutes the irradiating means in this embodiment. The lighting device 52 is disposed so as to be capable of irradiating near-infrared light from diagonally above toward a predetermined area on the container film 3 that is being continuously conveyed.
[0066] In the illumination device 52 according to the present embodiment, a halogen lamp is used as a light source capable of emitting near-infrared light having a continuous spectrum (for example, a near-infrared region having a wavelength of 700 to 2500 nm). As other light sources, a deuterium discharge tube, a tungsten lamp, a xenon lamp, etc. can be used.
[0067] As shown in FIG. 6, the imaging device 53 includes an optical lens 61, a two-dimensional spectroscope 62 as a spectroscopic means, and a camera 63 as an imaging means.
[0068] The optical lens 61 is made up of a plurality of lenses (not shown) and is configured to convert incident light into parallel light. The optical axis of the optical lens 61 is set along the vertical direction (Z direction).
[0069] Moreover, the optical lens 61 is set so as to be able to form an image of the incident light at the position of a slit 62a of a two-dimensional spectrometer 62, which will be described later. For convenience, an example in which a double-telecentric lens is adopted as the optical lens 61 is shown here, but it goes without saying that an image-side telecentric lens may also be used.
[0070] The two-dimensional spectrometer 62 is composed of a slit 62a, an incident side lens 62b, a spectroscopic section 62c, and an exit side lens 62d. The spectroscopic section 62c is composed of an incident side prism 62ca, a transmission type diffraction grating 62cb, and an exit side prism 62cc.
[0071] With this configuration, the light passing through the slit 62a is collimated by the entrance lens 62b, then dispersed by the spectroscopic section 62c, and focused as a two-dimensional spectroscopic image (spectroscopic image) on the imaging element 65 of the camera 63 described later by the exit lens 62d.
[0072] The slit 62a is formed as an elongated, generally rectangular (linear) opening, with its opening width direction (short side direction) arranged along the film transport direction (Y direction) of the container film 3, and its longitudinal direction arranged along the film width direction (X direction) of the container film 3 perpendicular to the transport direction. As a result, the two-dimensional spectrometer 62 splits the incident light in the opening width direction of the slit 62a, i.e., the film transport direction (Y direction). In other words, the film transport direction (Y direction) is the wavelength dispersion direction in this embodiment.
[0073] The camera 63 includes an image sensor 65 having a light receiving surface 65a on which a plurality of light receiving elements (light receiving sections) 64 are two-dimensionally arranged in a matrix. In this embodiment, a known CCD area sensor having sufficient sensitivity to the near-infrared region, for example, in a wavelength range of 1300 to 2000 nm, is used as the image sensor 65.
[0074] A commonly known CCD area sensor includes a plurality of light receiving elements, each of which is a photoelectric conversion element (e.g., a photodiode) arranged two-dimensionally in a matrix and which converts incident light into an electric charge corresponding to the amount of light and stores the electric charge, a plurality of vertical transfer sections which sequentially transfer the electric charges stored in each of the light receiving elements in the vertical direction, a horizontal transfer section which sequentially transfers the electric charges transferred from the vertical transfer sections in the horizontal direction, and an output amplifier which converts the electric charges transferred from the horizontal transfer section into a voltage, amplifies the voltage, and outputs the voltage.
[0075] Of course, the imaging element is not limited to this, and other sensors having sensitivity in the near infrared region may be used, such as a CMOS sensor or an MCT (HgCdTe) sensor.
[0076] The field of view (imaging area) of the imaging device 53 is a linear area extending along the film width direction (X direction) and includes at least the entire film width direction of the container film 3 (see the two-dot chain line in FIG. 5). On the other hand, the field of view of the imaging device 53 in the film transport direction (Y direction) is an area equivalent to the opening width of the slit 62a. In other words, it is the area where light (slit light) that has passed through the slit 62a forms an image on the light receiving surface 65a of the imaging element 65.
[0077] As a result, each light receiving element 64 of the imaging element 65 receives each wavelength band (for example, each 10 to 20 nm bandwidth) of the spectrum of the reflected light reflected at each position in the film width direction (X direction) of the container film 3. Then, a signal corresponding to the intensity of the light received by each light receiving element 64 is converted into a digital signal and output from the camera 63 to the control processing device 54. In other words, an image signal (spectral image data) for one screen captured by the entire light receiving surface 65a of the imaging element 65 is output to the control processing device 54.
[0078] The control processing device 54 includes a CPU and an input / output interface 71 (hereinafter referred to as "CPU etc. 71") that controls the entire inspection device 22, an input device 72 as "input means" consisting of a keyboard, mouse, touch panel etc., a display device 73 as "display means" having a display screen such as a CRT or liquid crystal, an image data storage device 74 for storing various image data etc., a calculation result storage device 75 for storing various calculation results etc., a setting data storage device 76 for storing various information in advance, etc. Each of these devices 72 to 76 is electrically connected to the CPU etc. 71.
[0079] The CPU etc. 71 is connected to be able to transmit and receive various signals to and from the PTP packaging machine 10. This makes it possible to control, for example, a defective sheet discharge mechanism of the PTP packaging machine 10.
[0080] The image data storage device 74 is for storing spectroscopic image data acquired by the imaging device 53, spectral image data acquired based on the spectroscopic image data, binary image data after binarization processing, and the like.
[0081] The calculation result storage device 75 stores the test result data, statistical data obtained by statistically processing the test result data, etc. The test result data and statistical data can be displayed on the display device 73 as appropriate.
[0082] The setting data storage device 76 stores, for example, the shapes and dimensions of the PTP sheet 1, the pocket portion 2 and the tablets 5, a spectrum tolerance range table for determining whether the tablets 5 are good or bad, and the like.
[0083] Next, the procedure of the different-type mixed inspection (inspection process) performed by the inspection device 22 will be described.
[0084] First, a measurement routine for acquiring spectrum data will be described with reference to the flowchart of Fig. 7. This routine is a process that is repeatedly executed each time the container film 3 is conveyed by a predetermined amount.
[0085] First, in step S01, the control processing device 54 performs an imaging process (exposure process) by the imaging device 53 while irradiating near-infrared light from the illumination device 52 onto the container film 3 (tablets 5) that are being continuously conveyed (irradiation step).
[0086] Here, the control processing device 54 drives and controls the imaging device 53 based on a signal from an encoder (not shown) provided in the PTP packaging machine 10, and inputs the spectral image data captured by the imaging device 53 into the image data storage device 74.
[0087] As a result, among the near-infrared light irradiated from the illumination device 52 toward the container film 3, during the execution period (exposure period) of the imaging process of step S01, the reflected light reflected in the conveying direction imaging range W (see FIG. 9) is incident on the imaging device 53. In other words, the conveying direction imaging range W is imaged in one imaging process.
[0088] The reflected light incident on the imaging device 53 is dispersed by the two-dimensional spectroscope 62 (spectrometry process), and captured as a spectral image (spectral spectrum) by the imaging element 65 of the camera 63 (imaging process). Note that, since the container film 3 (tablets 5) are continuously transported during the execution period (exposure period) of the imaging process, an averaged spectral spectrum of the transport direction imaging range W is captured here (see FIG. 8).
[0089] Fig. 8 is a schematic diagram showing a state in which a spectrum H of light reflected at a predetermined position on the tablet 5 is projected onto the light receiving surface 65a of the imaging element 65. For convenience, Fig. 8 shows only the spectrum H of the tablet 5, and does not show the spectra of other parts (such as the container film 3).
[0090] The spectroscopic image (spectral spectrum) data captured by the imaging device 53 is output to the control processing device 54 during the interval period and stored in the image data storage device 74. The interval period here refers to the period during which the image data is read out. In other words, the imaging cycle of the imaging device 53 can be expressed as the total time of the exposure period, which is the period during which the imaging process is performed, and the interval period.
[0091] When the spectroscopic image data is acquired, the control processing device 54 starts the data generation process of step S02.
[0092] In the data generation process, spectral data is generated based on the spectroscopic image data acquired in step S01. When the spectral data is generated, the control processing device 54 stores it in the image data storage device 74 and temporarily ends this routine. This process corresponds to the spectral data acquisition process in this embodiment, and the processing function of the control processing device 54 that executes this process constitutes the spectral data acquisition means in this embodiment.
[0093] 9, each time a predetermined amount of the container film 3 (tablets 5) is conveyed, the conveying direction imaging range W moves intermittently relative to the container film 3, and the above measurement routine is repeated, whereby the spectral data corresponding to each conveying direction imaging range W is stored in chronological order together with the positional information in the film conveying direction (Y direction) and the film width direction (X direction) in the image data storage device 74. This results in the generation of a two-dimensional spectral image Q having spectral data for each pixel (see FIG. 10).
[0094] Here, the spectral image Q in this embodiment will be described. As shown in Fig. 10, the spectral image Q is image data in which a plurality of pixels Qa are two-dimensionally arranged. Each pixel Qa contains spectral data [data indicating the spectral intensity (brightness value) in a predetermined number n of wavelength bands (e.g., n=100 bands)].
[0095] Then, when a spectroscopic image Q of a predetermined inspection range (see the two-dot chain line in FIG. 10) corresponding to one PTP sheet 1 to be inspected is acquired, the control processing device 54 executes an inspection routine.
[0096] The inspection routine will now be described with reference to the flowchart of Fig. 11. This routine is repeatedly performed every time a spectroscopic image Q of the inspection range is acquired.
[0097] The control processing device 54 first executes a tablet pixel extraction process in step S11. In this process, pixels Qb (hereinafter referred to as "tablet pixels") corresponding to the tablet 5 to be analyzed are extracted from the pixels Qa of the spectral image Q.
[0098] In this embodiment, for example, it is determined whether or not the spectral intensity (brightness value) of a predetermined wavelength in the spectral data of each pixel Qa is equal to or greater than a predetermined threshold, and a binarization process is performed on the spectral image Q. Then, based on the obtained binarized image data, a tablet pixel Qb is extracted (see FIGS. 10 and 12).
[0099] As shown in Fig. 12, in this embodiment, a pixel Qa including data capturing only the range of the tablet 5 without being affected by the background is extracted as a tablet pixel Qb. Fig. 12 is an explanatory diagram for explaining the relationship between the conveying direction imaging range W and the spectroscopic image Q. In Figs. 10 and 12, the pixel extracted as the tablet pixel Qb is indicated by diagonal lines.
[0100] In addition, the method of extracting the tablet pixel Qb is not limited to this, and other methods may be adopted. For example, the tablet pixel Qb may be extracted by calculating the integrated value of the spectrum data (spectral intensity of each wavelength band) for each pixel Qa and determining whether or not the integrated value is equal to or greater than a predetermined threshold value.
[0101] Next, the control processing device 54 executes a tablet region specifying process in step S12. Through this process, the regions of the 10 tablets 5 contained in each pocket portion 2 within the inspection range are specified.
[0102] In this embodiment, for example, a labeling process is performed on the tablet pixels Qb obtained in step S11 above, and all adjacent tablet pixels Qb are regarded as connected components of tablet pixels Qb belonging to the same tablet 5.
[0103] This makes it possible to specify the range of one connected component as the tablet area relating to one tablet 5 contained in a specific pocket portion 2 (see Figs. 10 and 12). In Figs. 10 and 12, the connected components (tablet areas) of multiple tablet pixels Qb belonging to each tablet 5 are each surrounded by a thick frame.
[0104] It should be noted that the method for identifying the region of the tablet 5 is not limited to this, and other methods may be adopted. For example, pixels included in a predetermined range centered on a specific pixel may be determined as pixels belonging to the same tablet 5 as the specific pixel.
[0105] Next, the control processing device 54 executes an average spectrum calculation process in step S13. In this process, for each tablet region of each tablet 5 identified in step S12, average spectrum data for the tablet 5 is calculated using the spectrum data of the multiple tablet pixels Qb included therein.
[0106] In this embodiment, the spectral data of all the multiple tablet pixels Qb belonging to the tablet region of one tablet 5 is averaged, and this is calculated as the average spectral data related to the tablet 5. Without being limited to this, a configuration may be adopted in which a portion of the multiple tablet pixels Qb belonging to the tablet region of one tablet 5 is extracted, and the average spectral data related to the tablet 5 is calculated using the spectral data of the tablet pixels Qb.
[0107] In this manner, when the average spectral data (hereinafter referred to as "spectral measurement data") for each of the 10 tablets 5 contained in each pocket portion 2 within the inspection range is calculated, the control processing device 54 compiles these as measurement data for one inspection range and stores them in the calculation result storage device 75.
[0108] In this embodiment, the spectral intensity V(i) for each wavelength band (band number i=1 to n) is stored as the spectral measurement data for one tablet 5.
[0109] Here, "band number i (1≦i≦n, i is a natural number)" is a serial number given to a predetermined number n of wavelength bands (for example, n=100 bands) included in the spectrum measurement data.
[0110] In the next step S14, the control processor 54 sets the counter value P of the pocket number counter set in the calculation result storage device 75 to an initial value of "1".
[0111] Incidentally, the "pocket number" is a serial number set corresponding to each of the ten pockets 2 within one inspection range, and the position of the pocket 2 can be identified by the counter value P of the pocket number counter (hereinafter simply referred to as the "pocket number counter value P") (see FIG. 10).
[0112] In the example shown in FIG. 10, for example, the pocket portion 2 at the top of the left column is set as the pocket portion 2 corresponding to the pocket number counter value [1], and the pocket portion 2 at the bottom of the right column is set as the pocket portion 2 corresponding to the pocket number counter value
[10] .
[0113] Next, the control processing device 54 executes a tablet data extraction process in step S15. In this process, the spectrum measurement data of the tablet 5 contained in the pocket 2 corresponding to the current pocket number counter value P (e.g., P=1) is extracted from the measurement data (spectrum measurement data of 10 tablets 5) related to one inspection range acquired in step S13.
[0114] Next, the control processing device 54 executes an analysis process on the spectrum measurement data of the tablet 5 extracted in step S15 (step S16). Here, the flow of the analysis process will be described in detail with reference to the flowchart of FIG.
[0115] First, in step S31, the control processor 54 sets the counter value I of the band number counter set in the calculation result storage device 75 (hereinafter simply referred to as "band number counter value I") to an initial value of "1".
[0116] Incidentally, the "band number counter value I" corresponds to the above-mentioned "band number i" and is used to specify the wavelength band to be analyzed.
[0117] In the next step S32, the control processing device 54 executes a spectrum judgment process. In this process, the control processing device 54 performs a pass / fail judgment on the spectrum intensity V(i) related to the wavelength band of band number i specified by the current band number counter value I among the spectrum intensities V(i) of n wavelength bands (band number i=1 to n) included in the spectrum measurement data of the tablet 5 extracted in the above step S15, by referring to the spectrum tolerance table set in the setting data storage device 76.
[0118] The spectrum tolerance table defines the tolerance range D(i) of the spectrum intensity V(i) for each of n wavelength bands (band number i=1 to n). Moreover, one spectrum tolerance table is set corresponding to each of the positions (pocket number counter value P) of the ten pockets 2 within one inspection range. That is, in this embodiment, ten spectrum tolerance tables are set for one inspection range.
[0119] Therefore, in this process, the spectral tolerance table corresponding to the current pocket number counter value P is referenced to determine whether the spectral intensity V(i) for the wavelength band of band number i identified by the current band number counter value I is within the tolerance range D(i) corresponding to the wavelength band of band number i.
[0120] Then, the control processing device 54 stores the judgment result ("pass" or "fail") in the calculation result storage device 75.
[0121] In addition, the spectral tolerance table at the start of the inspection contains the tolerance D(i) for each wavelength band calculated based on the spectral measurement data of a predetermined number (e.g., 200) of good quality tablets 5 on a PTP sheet 1 obtained in advance before the start of the inspection.
[0122] Thereafter, the control processing device 54 adds "1" to the current band number counter value I in step S33, and then proceeds to step S34 to determine whether the newly set band number counter value I exceeds the maximum value n (the number of wavelength bands n included in the spectral measurement data).
[0123] If the result is negative, the process returns to step S32 and executes the above series of processes again. On the other hand, if the result is positive, it is assumed that the pass / fail determination has been performed for the spectral intensities V(i) of all wavelength bands, and the process ends.
[0124] Returning to the explanation of the inspection routine shown in the flowchart of FIG. 11, the control processing device 54 executes a tablet quality determination process in step S17.
[0125] In this process, based on the analysis results in the analysis process of step S16 above, it is determined whether the tablet 5 contained in the pocket portion 2 corresponding to the current pocket number counter value P (e.g., P = 1) is good (same variety) or bad (different variety).
[0126] Specifically, if there is no spectral intensity V(i) of n wavelength bands (band number i=1 to n) included in the spectrum measurement data of the tablet 5 that is judged as "bad", the tablet 5 is judged as "good". On the other hand, if there is even one spectral intensity V(i) that is judged as "bad", the tablet 5 is judged as "bad".
[0127] Then, the control processing device 54 stores the judgment result ("good" or "bad") related to the tablet 5 in the calculation result storage device 75. Therefore, the judgment process in this embodiment is constituted by the analysis process in the above step S16 and the tablet quality judgment process in the above step S17, and the processing function of the control processing device 54 that executes these constitutes the judgment means in this embodiment.
[0128] Thereafter, the control processor 54 adds "1" to the current pocket number counter value P in step S18, and then proceeds to step S19 to determine whether the newly set pocket number counter value P exceeds the maximum value Pmax, which is the maximum number of pockets 2 in one inspection range ("10" in this embodiment).
[0129] If the result is negative, the process returns to step S15 and executes the above series of processes again. On the other hand, if the result is positive, it is assumed that the quality determination of the tablets 5 in all the pockets 2 has been completed, and the process proceeds to step S20.
[0130] In the next step S20, the control processing device 54 executes a sheet quality determination process. In this process, it is determined whether the PTP sheet 1 corresponding to the inspection range is a good product or a defective product based on the determination result in the tablet quality determination process in step S17 above.
[0131] Specifically, if there is even one tablet 5 judged as "defective" within the inspection range, the PTP sheet 1 corresponding to that inspection range is judged as a "defective product", and the process proceeds to step S21.
[0132] On the other hand, if there is not even one tablet 5 judged as "defective" within the inspection range, the PTP sheet 1 corresponding to that inspection range is judged as "non-defective" and the process proceeds to step S22.
[0133] Then, in the defective product processing of step S21, the control processing device 54 stores the ``defective product'' judgment result for the PTP sheet 1 in the calculation result storage device 75, and outputs a message to that effect to the defective sheet discharge mechanism of the PTP packaging machine 10, etc., and terminates the inspection routine.
[0134] On the other hand, in the non-defective product processing of step S22, the control processing device 54 first stores the "non-defective product" judgment result for the PTP sheet 1 (inspection range) in the calculation result storage device. At the same time, the control processing device 54 stores the measurement data for the PTP sheet 1 (spectral measurement data for 10 tablets 5) in the non-defective product data storage section set in the calculation result storage device 75.
[0135] The "good product data storage unit" is a storage means configured to be able to store measurement data relating to the PTP sheet 1 determined to be "good product" in chronological order each time an inspection is performed, and corresponds to the "spectrum data storage means" in this embodiment. Therefore, the process of storing the measurement data relating to the PTP sheet 1 in the good product data storage unit constitutes the spectrum data storage step in this embodiment.
[0136] Next, the control processing device 54 executes a table change process. The table change process is a process for changing the contents of the spectrum tolerance table set in the setting data storage device 76. The flow of the table change process will now be described in detail with reference to the flowchart of FIG.
[0137] The control processing device 54 first executes a non-defective data extraction process in step S41. In this process, measurement data (hereinafter referred to as "non-defective data") relating to a predetermined number m (e.g., m=200) of non-defective PTP sheets 1 most recently stored in chronological order in the non-defective data storage unit of the calculation result storage device 75 is extracted.
[0138] That is, in the current non-defective product processing (step S22), the contents of m address locations where the past m pieces of non-defective product data are stored are read out based on a predetermined address location in the non-defective product data storage unit where the latest non-defective product data is stored.
[0139] In the next step S42, the control processor 54 sets the pocket number counter value P to an initial value of "1".
[0140] Next, the control processing device 54 executes a table resetting process in step S43. In this process, first, from each of the m pieces of non-defective product data extracted in step S41, the spectrum measurement data of the tablet 5 contained in the pocket 2 corresponding to the current pocket number counter value P (e.g., P=1) is extracted.
[0141] Next, the control processing device 54 calculates the average spectral intensity μ(i), which is the average value of the spectral intensities V(i, j) for each wavelength band (band number i=1 to n), based on the spectral measurement data of the extracted m tablets 5 (non-defective product numbers j=1 to m), and calculates the standard deviation σ(i) of the spectral intensities V(i, j) for each wavelength band (see FIG. 15).
[0142] Here, the non-defective product number j (1≦j≦m, j is a natural number) is a serial number given to the m pieces of non-defective product data extracted in step S41.
[0143] In addition, FIG. 15 shows an example of the spectral intensities V(i,j) for the wavelength bands with band numbers [1] to [3] in the non-defective product data with non-defective product numbers [1] to [5], as well as the average spectral intensities μ(i) and standard deviations σ(i) calculated using these.
[0144] Here, the process of calculating the average spectral intensity μ(i) corresponds to the average calculation step in this embodiment, and the processing function of the control processing device 54 that executes this step constitutes the average calculation means in this embodiment.
[0145] Moreover, the process of calculating the standard deviation σ(i) corresponds to the standard deviation calculation step in this embodiment, and the processing function of the control processing device 54 that executes this corresponds to the standard deviation calculation means in this embodiment.
[0146] Then, the control processing device 54 calculates a threshold value L(i) [upper threshold value La(i) and lower threshold value Lb(i)] for determining the spectral intensity V(i) of each wavelength band (band number i=1 to n) based on the average spectral intensity μ(i) and standard deviation σ(i) for each wavelength band calculated as described above. In this embodiment, the threshold value L(i) is calculated based on the following formula (1).
[0147] L(i)=μ(i)±K×σ(i) ···(1) however, L(i): Threshold value for wavelength band number i, K: coefficient, μ(i): Average spectral intensity for the wavelength band of band number i, σ(i): Standard deviation of the spectral intensity for the wavelength band with band number i.
[0148] In other words, the upper threshold La(i) and the lower threshold Lb(i) can be expressed by the following equations (2) and (3), respectively.
[0149] La(i)=μ(i)+K×σ(i) ···(2) Lb(i)=μ(i)-K×σ(i) (3) Therefore, the process of calculating the threshold value L(i) corresponds to the threshold value calculation step in this embodiment, and the processing function of the control processing device 54 that executes this corresponds to the threshold value calculation means in this embodiment.
[0150] Next, the control processing device 54 judges whether the upper threshold La(i) calculated as described above is smaller than the maximum allowable value Dmax for each wavelength band (band number i=1 to n). The maximum allowable value Dmax is the limit value that is allowable for a product, that is, the maximum value that can be set as the allowable range D(i), and is set in advance in the setting data storage device 76.
[0151] Here, if the upper threshold La(i) is smaller than the maximum allowable value Dmax, the upper threshold La(i) is set as the upper limit value of the allowable range D(i) for the wavelength band of band number i in the spectral allowable range table corresponding to the current pocket number counter value P currently set in the setting data storage device 76.
[0152] On the other hand, if the upper threshold La(i) is equal to or greater than the maximum allowable value Dmax, the maximum allowable value Dmax is set as the upper limit of the allowable range D(i).
[0153] Similarly, the control processing device 54 judges whether the lower threshold Lb(i) calculated as described above is greater than the minimum allowable value Dmin for each wavelength band (band number i=1 to n). The minimum allowable value Dmin is the limit value that is allowable for a product, that is, the minimum value that can be set as the allowable range D(i), and is preset in the setting data storage device 76.
[0154] Here, if the lower threshold Lb(i) is greater than the minimum allowable value Dmin, the lower threshold Lb(i) is set as the lower limit of the allowable range D(i) for the wavelength band of band number i in the spectral allowable range table corresponding to the current pocket number counter value P currently set in the setting data storage device 76.
[0155] On the other hand, when the lower threshold value Lb(i) is equal to or smaller than the minimum allowable value Dmin, the minimum allowable value Dmin is set as the lower limit of the allowable range D(i).
[0156] When the resetting of the upper and lower limits of the allowable range D(i) for each wavelength band in the spectrum allowable range table corresponding to the current pocket number counter value P is completed in this manner, the control processing device 54 proceeds to step S44.
[0157] Here, a series of processes for resetting the upper and lower limits of the allowable range D(i) for each wavelength band corresponds to the changing step in this embodiment, and the processing function of the control processing device 54 that executes this corresponds to the changing means in this embodiment.
[0158] Thereafter, the control processor 54 adds "1" to the current pocket number counter value P in step S44, and then proceeds to step S45 to determine whether the newly set pocket number counter value P exceeds the maximum value Pmax.
[0159] If the determination here is negative, the process returns to step S43 and executes the above series of processes again. On the other hand, if the determination here is positive, it is assumed that the spectrum tolerance range tables for all pocket portions 2 with pocket numbers [1] to
[10] have been reset, and this table change process ends.
[0160] After completing the table change process, the control processor 54 ends the non-defective product process in step S22 and ends the inspection routine.
[0161] As described above in detail, according to this embodiment, while continuously performing inspections for the presence of different types of tablets using spectroscopic analysis, it is possible to feed back the spectroscopic analysis results of the most recent predetermined number m of good PTP sheets 1, and to change the spectral tolerance table (the tolerance range D(i) of the spectral intensity V(i) for each wavelength band) for determining the quality of the spectral measurement data of the tablets 5 at any time.
[0162] This makes it possible to determine the quality of the spectrum measurement data of the tablet 5 during inspection using a more appropriate spectrum tolerance table in response to changes over time in the inspection device 22 and the tablet 5.
[0163] As a result, there is no need to set the width of the tolerance range D(i) relatively large in advance, and it is possible to suppress an increase in the error rate of defective tablets 5 while suppressing an increase in the error rate of non-defective tablets, thereby improving the inspection accuracy.
[0164] Furthermore, in this embodiment, an allowable range D(i) of the spectral intensity V(i) is set for each wavelength band, and the allowable range D(i) is changeable for each wavelength band. This makes it possible to deal more precisely with changes over time of the inspection device 22 and the tablets 5 for each wavelength band, thereby further improving the inspection accuracy.
[0165] In addition, in this embodiment, one spectral tolerance range table is set corresponding to each of the positions of the ten pocket portions 2 within one PTP sheet 1 (inspection range), and based on these, the quality of the tablets 5 associated with each pocket portion 2 is determined.
[0166] In addition, the non-defective product data storage unit stores the spectral measurement data of the tablets 5 for each pocket portion 2 individually, and in the above table change process, the calculation process of the average spectral intensity μ(i), the calculation process of the standard deviation σ(i), the calculation process of the threshold value L(i), the resetting process of the allowable range D(i), etc. are executed individually for each pocket portion 2.
[0167] As a result, it is possible to reduce the effects of uneven brightness of the near-infrared light irradiated from the lighting device 52 and variations in sensitivity based on the characteristics of the multiple light receiving elements 64 that make up the imaging element 65, and it is also possible to respond more precisely to changes over time in the inspection device 22 and tablets 5 for each pocket portion 2, thereby further improving the inspection accuracy.
[0168] The present invention is not limited to the above-described embodiment, and may be implemented as follows: Of course, other applications and modifications not exemplified below are also possible.
[0169] (a) In the above embodiment, the content is embodied as a tablet 5, but the type, shape, etc. of the content are not particularly limited, and may be, for example, a capsule, a supplement, a food, etc. In addition, tablets include solid preparations such as plain tablets and sugar-coated tablets.
[0170] (b) The materials of the container film 3 and the cover film 4 are not limited to those in the above embodiment, and other materials may be used. For example, the container film 3 may be made of a metal material containing aluminum as the main material, such as an aluminum laminate film.
[0171] (c) The arrangement and number of pockets 2 in the PTP sheet 1 are not limited to those in the above embodiment. For example, PTP sheets with various arrangements and numbers can be used, including a type having 12 pockets in 3 rows.
[0172] (d) In the above embodiment, an inspection for mixing of different types of tablets is performed by the inspection device 22 in a process after the tablets 5 are filled into the pocket portion 2 and a process before the cover film 4 is attached to the container film 3.
[0173] Without being limited to this, for example, in a process after the cover film 4 is attached to the container film 3 and a process before the PTP sheet 1 is punched out from the PTP film 6, an inspection for contamination by different types of products may be performed by the inspection device 22 from the container film 3 side of the PTP film 6 through the pocket portion 2.
[0174] In addition, in a process after the PTP sheet 1 is punched out from the PTP film 6, an inspection for the presence of different types of products may be performed by an inspection device 22 from the container film 3 side of the PTP sheet 1 being transported by a conveyor 39, through the pocket portion 2.
[0175] In this case, instead of a configuration in which the inspection device 22 is provided inside the PTP packaging machine 10 (inline), a configuration may be adopted in which the inspection device 22 is provided as a device for inspecting the PTP sheet 1 offline, separate from the PTP packaging machine 10. In such a case, the inspection device 22 may be provided with a conveying means capable of conveying the PTP sheet 1.
[0176] Also, a configuration may be adopted in which an inspection for mixing of different types of tablets is performed by the inspection device 22 in a process prior to filling the pocket portion 2 with the tablets 5. For example, a configuration may be adopted in which an inspection is performed prior to feeding the tablets 5 into the tablet filling device 21. In other words, a configuration may be adopted in which the inspection device 22 is provided separately from the PTP packaging machine 10 as a device for inspecting the tablets 5 offline.
[0177] When the inspection is performed offline, the inspection may be performed in a stopped state rather than continuously conveying the PTP sheet 1 or the tablets 5. However, in terms of improving productivity, it is preferable to perform the inspection in-line while continuously conveying the PTP sheet 1, the PTP film 6, or the container film 3.
[0178] In recent years, in the field of manufacturing PTP sheets 1, there has been a demand for faster inspections, such as inspections for the inclusion of different types of tablets, in line with the increase in production speed. For example, when inspection is performed on a PTP packaging machine 10, there are cases where it is required to inspect 100 or more tablets 5 per second.
[0179] (e) The configurations of the illumination device 52 and the imaging device 53 are not limited to those in the above embodiment. For example, instead of the two-dimensional spectrometer 62, a configuration may be adopted in which a reflective diffraction grating, a prism, or the like is used as the spectroscopic means.
[0180] (f) In the above embodiment, in the spectral determination process of step S32, it is determined whether the spectral intensities V(i) of all n wavelength bands (e.g., n=100 bands) included in the spectral measurement data of the tablet 5 are each within an allowable range D(i), thereby determining whether the tablet 5 is good or bad.
[0181] Without being limited to this, the pass / fail judgment for the tablet 5 may be performed by determining whether or not the spectral intensity in N specific wavelength bands (N is a natural number equal to or greater than 1, for example, N=30 bands) out of n wavelength bands (for example, n=100 bands) included in the spectral measurement data of the tablet 5 is within an allowable range.
[0182] (g) In the above embodiment, in the table resetting process of step S43, an average spectral intensity μ(i), which is the average value of the spectral intensity V(i,j) for each wavelength band (band number i=1 to n), is calculated based on the spectral measurement data (good product number j=1 to m) for m good tablets 5, and a standard deviation σ(i) of the spectral intensity V(i,j) for each wavelength band is calculated. Based on the average spectral intensity μ(i) and standard deviation σ(i) for each wavelength band, a threshold value L(i) [upper threshold La(i) and lower threshold Lb(i)] for determining the spectral intensity V(i) of each wavelength band is calculated for each wavelength band.
[0183] The method of calculating the threshold L(i) is not limited to this, as long as it is calculated based on at least the average spectral intensity μ(i) for each wavelength band.
[0184] For example, a value that is a predetermined value greater than the average spectral intensity μ(i) may be calculated as the upper threshold La(i), and a value that is a predetermined value smaller than the average spectral intensity μ(i) may be calculated as the lower threshold Lb(i).
[0185] (h) In the above embodiment, in the table resetting process of step S43, an upper threshold La(i) and a lower threshold Lb(i) are calculated as the threshold L(i), and the upper and lower limits of the allowable range D(i) for each wavelength band are reset.
[0186] Alternatively, the configuration may be such that either the upper threshold La(i) or the lower threshold Lb(i) is calculated and only the upper or lower limit of the allowable range D(i) for each wavelength band is reset. Also, the allowable range D(i) may be determined by one threshold.
[0187] (i) In the above embodiment, a maximum allowable value Dmax is set as the limit value that the upper limit value of the allowable range D(i) can take, and a minimum allowable value Dmin is set as the limit value that the lower limit value of the allowable range D(i) can take. When executing the table resetting process of step S43, an upper limit value that exceeds the maximum allowable value Dmax and a lower limit value that is less than the minimum allowable value Dmin are not set.
[0188] Alternatively, instead of setting limit values, the threshold value L(i) [upper limit threshold La(i) and lower limit threshold Lb(i)] calculated based on the average spectral intensity μ(i) and the standard deviation σ(i) may be directly set as the upper and lower limits of the allowable range D(i).
[0189] (j) When executing the table resetting process of step S43, a predetermined weighting process may be executed so that the proportion of the more recent spectrum measurement data or the group of spectrum measurement data that is continuous in time series and more recent in time series reflected is greater than the proportion of the predetermined spectrum measurement data or the group of predetermined spectrum measurement data that is continuous in time series, among the spectrum measurement data related to the most recent m number of good tablets 5 stored in time series in the good product data storage unit of the calculation result storage device 75. The weighting means in this embodiment is configured by the function of executing such a process.
[0190] (k) In the above embodiment, one spectral tolerance range table is set corresponding to each of the ten pocket portions 2 within one PTP sheet 1 (inspection range), and based on these, the quality of the tablets 5 in each pocket portion 2 is determined individually.
[0191] Without being limited to this, a single spectral tolerance range table common to all 10 pocket portions 2 within one PTP sheet 1 (inspection range) may be set, and the quality of the tablets 5 in each pocket portion 2 may be determined based on this table.
[0192] In the above table change process, the spectral measurement data of all 10 tablets 5 in the pocket portions 2 may be used to calculate the average spectral intensity μ(i), standard deviation σ(i), and threshold value L(i), and a reset process of the allowable range D(i) may be performed.
[0193] (l) Although not specifically mentioned in the above embodiment, if the predetermined number m of good product data are not yet stored in the good product data storage section of the calculation result storage device 75 at the beginning of the inspection, when the above table change process is executed, the good product data obtained before the start of the inspection may be used as a substitute for the missing data.
[0194] In addition, the table change process may not be executed until a predetermined number m of non-defective data items are stored in the non-defective data storage section of the calculation result storage device 75, and pass / fail determination may be performed based on the spectrum tolerance table that was set before the start of inspection. [Explanation of symbols]
[0195] 1... PTP sheet, 2... pocket portion, 3... container film, 4... cover film, 5... tablet, 10... PTP packaging machine, 22... inspection device, 52... lighting device, 53... imaging device, 54... control processing device, 62... two-dimensional spectrometer, 63... camera, 64... light receiving element, 65... imaging element, 74... image data storage device, 76... setting data storage device, H... optical spectrum.
Claims
1. An inspection device used in the manufacture of a PTP sheet in which a pocket portion formed in a container film is filled with a predetermined content and a cover film is attached to close the pocket portion, An irradiation means capable of irradiating the contents with near-infrared light; A spectroscopic means capable of separating light reflected from the contents irradiated with the near-infrared light; an imaging means capable of imaging a spectrum of the reflected light dispersed by the spectroscopic means; A spectral data acquisition means capable of acquiring spectral data of the content based on the spectroscopic image data acquired by the imaging means; an inspection means for performing a predetermined inspection on the contents based on the spectral data of the contents acquired by the spectral data acquisition means, The inspection means includes: a determination means for determining whether or not the spectral intensities in N specific wavelength bands (N is a natural number equal to or greater than 1) among a plurality of wavelength bands included in the spectral data of the content acquired by the spectral data acquisition means are within respective allowable ranges, thereby determining whether or not the content is good; a spectral data storage means for storing, in chronological order, the spectral data of the contents judged as non-defective by the judgment means; an average value calculation means for calculating an average value of the spectral intensity for each of the N specific wavelength bands based on the most recent M pieces (M is a natural number of 2 or more) of spectral data of the contents stored in the spectral data storage means in chronological order; a threshold calculation means for calculating a threshold for determining the spectral intensity of each of the N specific wavelength bands based on the average value of the spectral intensity for each of the N specific wavelength bands calculated by the average value calculation means; and a change means for changing the allowable range for each of the N specific wavelength bands based on each threshold value for each of the N specific wavelength bands calculated by the threshold calculation means.
2. The inspection means includes: When the most recent M pieces of spectrum data of the contents stored in time series in the spectrum data storage means are used in the average value calculation process by the average value calculation means, 2. The inspection device according to claim 1, further comprising a weighting means for performing a predetermined weighting process so that, among the M pieces of spectral data of the contents, a proportion of more recent spectral data in a time series or a group of spectral data that are both consecutive and more recent in a time series is reflected more than a predetermined piece of spectral data or a predetermined group of spectral data that are consecutive in a time series.
3. The imaging means is configured to simultaneously image the spectroscopic images of reflected light from the contents arranged at a plurality of positions, 3. The inspection apparatus according to claim 1, wherein the inspection means is provided corresponding to each of the plurality of positions.
4. A PTP packaging machine for producing a PTP sheet in which a pocket portion formed in a container film is filled with a predetermined content and a cover film is attached to close the pocket portion, a pocket forming means for forming the pocket in the belt-shaped container film; A filling means for filling the pocket with the content; an attachment means for attaching the belt-shaped cover film to the container film having the contents accommodated in the pocket portion so as to close the pocket portion; a separating means for separating the PTP sheet from a band formed by attaching the cover film to the container film; 4. A PTP packaging machine comprising an inspection device for inspecting the contents according to claim 1.
5. A method for carrying out a predetermined inspection using spectroscopic analysis during the manufacture of a PTP sheet in which a pocket portion formed in a container film is filled with a predetermined content and a cover film is attached to close the pocket portion, the method comprising the steps of: an irradiation step capable of irradiating the contents with near-infrared light; A spectroscopic step capable of spectroscopically separating light reflected from the contents irradiated with the near-infrared light; an imaging step capable of imaging a spectrum of the reflected light dispersed in the spectroscopic step; a spectral data acquisition step for acquiring spectral data of the content based on the spectroscopic image data acquired in the imaging step; a determining step of determining whether or not the spectral intensities in N specific wavelength bands (N is a natural number equal to or greater than 1) among the multiple wavelength bands included in the spectral data of the content acquired in the spectral data acquiring step are within an allowable range, thereby determining whether or not the content is good; a spectral data storage step of storing, in chronological order, the spectral data of the contents determined to be non-defective in the determination step; an average calculation step of calculating an average value of the spectral intensities of the N specific wavelength bands based on the most recent M pieces (M is a natural number of 2 or more) of spectral data of the contents stored in chronological order in the spectral data storage step; a threshold calculation step of calculating a threshold for determining the spectral intensity of each of the N specific wavelength bands based on the average value of the spectral intensities of the N specific wavelength bands calculated in the average value calculation step; and a change step of changing the allowable range for each of the N specific wavelength bands based on each threshold value calculated in the threshold calculation step.
Citation Information
Patent Citations
sensor
JP1987295199A
Measuring method and apparatus for moisture
JP1992328449A
System and method for measurement
JP2003017393A
Apparatus and method for inspecting PTP sheet
JP2005291939A
Principal component analysis method, principal component analyzer, different kind article detection device, principal component analysis program, and recording medium for recording the principal component analysis program
JP2010112887A
