3D measuring device

The 3D measuring device optimizes the phase shift method by imaging at two positions and using light patterns with different periods to enhance resolution and accuracy, addressing the time inefficiencies of existing methods and providing precise measurements of solder paste or solder joints on circuit boards.

DE112016002639B4Active Publication Date: 2024-09-19CKD CORP
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
DE112016002639
Authority / Receiving Office
DE · DE
Patent Type
Patents
Current Assignee / Owner
Priority Date
2015-06-12
Filing Date
2016-01-08
Publication Date
2024-09-19
Estimated Expiration
2036-01-08

AI Technical Summary

Technical Problem

Existing 3D measuring devices using the phase shift method require multiple imaging operations at different positions, leading to prolonged measurement times, especially when measuring large areas on a circuit board.

Method used

A 3D measuring device that reduces imaging time by obtaining image data at two positions, including a first position and a second position shifted by half a pixel, and uses a combination of light patterns with different periods to enhance resolution and accuracy, allowing for more efficient height data acquisition.

Benefits of technology

The device achieves higher resolution and accuracy in three-dimensional measurements with reduced imaging time, enabling precise evaluation of solder paste or solder joints on circuit boards.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

3D measuring device comprising: a lighting device (4) configured to illuminate a measurement object with at least two light patterns exhibiting a striped light intensity distribution; a phase controller configured to change a phase (θ) of the light pattern emitted by the lighting device (4) into a plurality of different phases θ; an imaging unit (5) configured to capture an image of reflected light from the measurement object illuminated with the light pattern; a displacement unit (15, 16) configured to shift a positional relationship between the imaging unit (5) and the measurement object relative to the position;and an image processing unit (6) configured to perform a three-dimensional measurement of the object being measured by a phase-shift method based on image data acquired by the imaging unit (5), wherein the image processing unit (6) comprises: a first measurement acquisition unit configured to acquire a luminance V of each pixel as a first measurement with respect to each pixel, based on a first predetermined number of image data acquired by irradiation with a first light pattern having a first predetermined number of phases θ at a first position; a gain-offset acquisition unit configured to, when the luminance is obtained as V = Asin θ+B is defined, where A is a gain and B is an offset, obtaining the value of the gain and / or offset with respect to each pixel, based on the first predetermined number of image data acquired at the first position; a second measurement acquisition unit configured to obtain the luminance V of each pixel as a second measurement with respect to each pixel by using the value of the gain A and / or offset B obtained by the gain-offset acquisition unit, based on a second predetermined number of image data acquired by irradiation with a second predetermined light pattern with a second predetermined number of phases.at a second position, which is offset by half a pixel in a predetermined direction from the first position, wherein the second predetermined number is less than the first predetermined number; and a height data acquisition unit (28) configured to acquire height data with respect to each pixel based on the first measurement and the second measurement, wherein the second measurement acquisition unit uses an average of the gain A and / or an average of the offset B of pixels arranged around a predetermined pixel to acquire the second measurement with respect to the predetermined pixel.;
Need to check novelty before this filing date? Find Prior Art

Description

Technical area

[0001] The present disclosure relates to a 3D measuring device that performs a three-dimensional measurement using a phase shift method. background

[0002] When assembling a printed circuit board with electronic components, the first step is to use a general Process Solder paste is printed onto a predetermined electrode pattern, which is then applied to the circuit board. Electronic components are then temporarily bonded to the circuit board using the viscosity of the solder paste The circuit board is then inserted into a reflow oven and undergoes a specified reflow Processing for soldering. Recently, there is a need to check the printing condition of the solder paste in a step before Introduction into the reflow oven. A 3D measuring device can be used for this test.

[0003] Various non-contact 3D measuring devices using light have been proposed recently. For example, Techniques were proposed regarding a 3D measuring device using a phase shift method.

[0004] The 3D measuring device using the phase shift method irradiates a measuring object (in this case Solder paste printed on a circuit board) with a light pattern by means of an irradiation unit known as Combination of a light source configured to emit a given light and grids configured to configured to convert the light emitted by the light source into a light pattern with a light intensity distribution in a sinusoidal waveform (stripe pattern). Corresponding points on the board are then observed using an imaging unit placed directly above the board. The used The imaging unit can be, for example, a CCD camera with lenses and imaging elements.

[0005] In the configuration described above, the intensity (luminance) I of light in each pixel is Image data acquired by the imaging unit by an equation (R1) given below expressed: I = f⋅sinϕ+e where f denotes a gain, e denotes an offset and ϕ a phase a light pattern.

[0006] The phase of the light pattern is adjusted in four different steps (ϕ +0, ϕ + 90°, ϕ + 180°, ϕ + 270°) by controlling the switching of the above grids and image data with corresponding Intensity distributions I0, I1, I2 and I3 are recorded. The phase ϕ is then calculated by replacing f (gain) and e (offset) is determined according to an equation (R2) given below: ϕ=tan-1[(I1-I3) / (I2-I0)]

[0007] With the help of this phase ϕ, a height (Z) is then determined at the respective coordinates (X,Y) of the measuring object, such as Solder paste, determined according to the principle of triangulation.

[0008] A recently proposed 3D measuring device is configured to obtain initial height data related to each pixel on calculated on the basis of image data obtained by irradiation with a first light pattern at a first position and calculate second height data with respect to each pixel based on image data obtained by Irradiation with a second light pattern at a second position, which is spaced by half a pixel is shifted in a given direction from the first position to ensure more accurate measurement (as described, for example, in JP 2010-169433A or its family member DE 10 2010 000 122 A1).

[0009] Further 3D measuring devices for this purpose are also described in US 2010 0 135 534 A1 and EP 0 076 866 A1 described. Overview of the invention Technical problem

[0010] As described above, the three-dimensional measurement using the phase shift method requires However, the phase of the emitted light pattern can be changed in four different stages (or three different stages) to capture four (or three) image data.

[0011] When measuring at two different positions, this method first irradiates a measuring object with a first light pattern at a first position and changes the phase of the first light pattern in four different stages (or three different levels) to capture four (or three) image data. The process then changes the Positional relationship between the imaging unit and the measuring object, irradiates the measuring object with a second light pattern at a second position and changes the phase of the second light pattern in four different steps (or three different stages) to record four (or three) image data. Accordingly, this process requires four (or three) imaging operations are required at each position, ie a total of eight (or six) imaging operations. This is likely to significantly increase imaging time.

[0012] If a large number of measurement object areas are defined on a printed circuit board, the time required for the The measurement of the time required for a printed circuit board is many times higher. Accordingly, there is a demand for a further shortening of the measurement time.

[0013] The problem described above is not necessarily limited to the measurement of the height of, for example, Solder paste printed on the circuit board, but can be observed in the area of ​​other 3D measuring devices.

[0014] Taking the above-described circumstances into consideration, an object of the present disclosure is to provide a To provide a 3D measuring device that enables more accurate measurement in a shorter time in three-dimensional measurement under Use of a phase shift method. Solution to the task

[0015] The following describes the various aspects that can be used to solve the problems described above. problems or tasks are available appropriately. Functions and beneficial effects that are available for each of the aspects are also described as appropriate.

[0016] Aspect 1: A 3D measuring device having the features listed in claim 1 is provided.

[0017] The configuration of aspect 1 performs three-dimensional measurement based on image data obtained by irradiation of the measuring object with the first light pattern at the first position and obtains the result of the Measurement as the first measured value. This configuration also performs a three-dimensional measurement based on image data, for example obtained by irradiating the measurement object with the second light pattern at the second position, which is the distance of half a pixel in the specified direction from the first position, and obtains the measurement result as the second measured value. This configuration then obtains the altitude data resulting from the first measured value and the second measurement value as true height data with respect to each pixel.

[0018] This configuration can thus image data (including image data after image processing such as Measurement data including height data arranged in relation to the respective pixels) with a higher resolution than the resolution of the imaging unit (imaging element) and thus provides a more accurate three-dimensional Measurement.

[0019] Furthermore, the configuration of this aspect uses the gain and offset values ​​obtained from the Image data are obtained that were taken during the measurement at the first position (with the first light pattern), to determine the number of pixels to be imaged (frequency of imaging) when measuring at the second position (with the second light pattern) so that it is smaller than the number of pixels to be imaged at the first position.

[0020] The configuration can, for example, generate four image data by irradiating the first light pattern with four different phases at the first position and then create an image file by irradiating it with the second light pattern with a phase at the second position. This requires a total of five imaging sessions and thus shortens the Imaging time significantly.

[0021] Compared to a configuration that simply performs measurements at two different positions, This configuration reduces the overall imaging frequency and shortens the imaging time. Measuring time considerably.

[0022] An example of the ´´second position, which is offset by half a pixel in the given direction from the first position'' is a ''position that is moved by half a pixel from the first position is shifted obliquely. This configuration provides image data with four times the resolution of an imaging element, by simply measuring at two different positions, ie at the first position and at the second position. A position shifted diagonally by half a pixel means a position shifted diagonally by half a pixel (in an oblique direction relative to the array direction) shifted position of pixels in a square shape, which is shown in the Image data is arranged in grids.

[0023] Aspect 2: In the three-dimensional measuring device described in the above aspect 1, the irradiation unit may be be configured to illuminate the measuring object by switching a variety of light patterns with different Periods irradiated. The measuring object can be irradiated at the first position with the first light pattern with a first period irradiated, and the measuring object can be illuminated at the second position with the second light pattern with a second period irradiated, which is different from the first period.

[0024] The actual measurement object can have a large or a small height. For example, solder paste can be a thin film or protrude in a truncated cone shape. The extension of the period (the fringe spacing) of an emitted light pattern according to the maximum height of the measuring object will probably provide a low resolution and the reduce measurement accuracy. Narrowing the period of the light pattern, on the other hand, improves accuracy but offers probably an insufficient measuring range for measuring the height (providing a different strip rank).

[0025] However, according to the above aspect 2, the height data acquisition unit specifies the strip rank of the other measured value (e.g. first measured value) obtained with the other light pattern (e.g. first light pattern) of the shorter period was based on a measured value (e.g. second measured value) that was compared with a light pattern (e.g. second light pattern) of the longer period and replaces the other measured value with a value taking into account the specified strip rank (data replacement unit). This configuration can thus provide true elevation data with respect to each Get pixels.

[0026] This configuration offers both the advantageous effect of extending the measurable height range, which the The merit of using the light pattern of the longer period is, as well as the beneficial effect of ensuring an accurate measurement with high resolution, which is the merit of using the light pattern of the shorter period This enables high-resolution measurement over a wide measuring range and ensures more accurate measurements.

[0027] Aspect 3: In the 3D measuring device described in either aspect 1 above or aspect 2 above, the second measurement acquisition unit can provide an average gain and / or an average offset to peripheral positions of a given pixel to determine the second measured value with respect to the predetermined pixel obtain.

[0028] The image data recorded at the first position and the image data recorded at the second position are image data that were recorded at positions shifted by half a pixel. Accordingly, the imaging areas (surfaces of the measuring object) contained in each pixel of the respective image data are not identical. The values ​​of gain and offset with respect to each pixel depend on the characteristics (e.g. reflectivity) on the surface of the measuring object contained in the area of ​​the pixel. Accordingly, it is likely that the values ​​of gain and offset with respect to a given pixel, which is determined on the basis of the values ​​obtained at the first Position recorded image data are not optimal to calculate the second measured value in relation to the to obtain specified pixels.

[0029] However, the configuration of the above aspect 3 is configured to determine the mean value of the gain and / or the mean value of the offset in the peripheral positions of the given pixel is used to calculate the second measured value in reference to the predetermined pixel. With this configuration, the more suitable second measurement value can be determined become.

[0030] Aspect 4: In the 3D measuring device described in any one of the above-mentioned aspects 1 to 3, the second measurement acquisition unit, if the second predetermined number is 1, the second measurement acquisition unit Calculate phase θ of the second light pattern that satisfies at least one relationship defined by a Equation (S1) is expressed to obtain the second measured value: V0=Asinθ+B where V denotes a luminance value, A a gain and B an offset. 0

[0031] The configuration of the above aspect 4 requires only one-time imaging at the second position. the functions and beneficial effects of the above-mentioned aspect or similar are more effectively provided.

[0032] An equation (S2) given below results from solving the above equation (S1) for ´´sinθ´´: sinθ=(V0-B) / A

[0033] An equation (S3) given below is obtained by solving the above equation (S2) for the phase θ. derived: θ = sin-1{(V0-B) / A}

[0034] As shown above, the phase θ is calculated based on the known luminance value V0 obtained with the second light pattern was obtained, and the known gain A and the known offset B, which are associated with the first light patterns were obtained.

[0035] Aspect 5: In the 3D measuring device described in any one of the above-mentioned aspects 1 to 3, the second measurement acquisition unit, if the second predetermined number is equal to 2, the second measurement acquisition unit is a Calculate phase θ of the second light pattern which at least satisfies the conditions given below by equations (T1) and (T2) are satisfied to obtain the second measured value: V0=Asinθ+B V1=Asin(θ+90°)+B where V and V denote luminance values ​​of two image data, A is a 0 1 Gain and B denotes an offset.

[0036] The configuration of the above aspect 5 requires only two imagings with the second light pattern with two phases 90 degrees apart. This allows the functions and beneficial effects of the above mentioned aspect or similar more effectively.

[0037] From the above equation (T2) an equation (T3) given below is derived: V1=Asin(θ+90°)+B = Acosθ+B

[0038] The following equation (T4) results from the solution of the above equation (T3) for ´´cos θ´´: cosθ=(V1-B) / A

[0039] An equation (T5) given below is derived by solving the above equation (T1) for ´´sinθ´´ becomes: sinθ=(V0-B) / A

[0040] An equation (T7) given below is derived by converting the above equations (T4) and (T5) into a given equation (T6): tanθ=sinθ / cosθ={(V0-B) / A} / {(V1-B) / A}=(V0-B) / (V1-B)

[0041] An equation (T8) given below is obtained by solving the above equation (T7) with respect to the phase θ. derived: θ=tan-1{(V0-B) / (V1-B)}

[0042] As shown above, the phase θ is calculated based on the known luminance values ​​V0 and V1, which are the second light pattern and the known offset B obtained with the first light pattern, specified.

[0043] The configuration of the above aspect determines the phase θ according to the arithmetic equation under -1 Using ´´tan ´´. This allows the measurement of altitude in the range of 360 degrees from -180 degrees to 180 degrees and thus further extends the measuring range.

[0044] Aspect 6: In the three-dimensional measuring apparatus described in any one of the above-mentioned aspects 1 to 5, The measuring object can be a solder paste printed on a printed circuit board and can be a solder joint that formed on a wafer substrate.

[0045] The configuration of the above aspect 5 may include measuring the height or the like of the printed circuit board printed solder paste or the solder bead formed on the wafer substrate. When testing the solder paste or of the solder bead, this configuration can therefore determine from the measured value whether the solder paste or the solder bead is good or Such an examination will examine the functions and beneficial effects of each of the above described aspects are provided. This ensures a pass / fail determination with high accuracy. This improves the testing accuracy of a solder pressure tester or a solder joint tester. Brief description of the drawings Fig. 1 is a schematic configuration diagram showing a circuit board testing device schematically illustrated; Fig. 2 is a block diagram illustrating the electrical configuration of the printed circuit board test fixture; Fig. 3 is a diagram showing the resolutions of the respective light patterns and the like; Figures 4A and 4B are diagrams illustrating data fields of acquired altitude measurements; Fig. 5 is a diagram showing a data field of combined first altitude measurements and second Altitude measurements illustrated; Fig. 6 is a diagram showing a concrete example of data replacement processing; Fig. 7 is a diagram illustrating a concrete example of correction processing; Fig. 8 is a diagram illustrating a concrete example of interpolation processing; Fig. 9 is a diagram illustrating the accuracies of respective elevation data in relation to true values; Fig. 10 is a diagram showing a data field of combined first to fourth altitude readings according to a second embodiment; Fig. 11 is a diagram showing a concrete example of data replacement processing according to the second Embodiment illustrated; Fig. 12 is a diagram showing a concrete example of the correction processing according to the second Embodiment illustrated; Fig. 13 is a diagram showing accuracies of respective elevation data with respect to true values ​​according to the second embodiment illustrated; and Fig. 14 is a diagram showing a relationship between a pixel as a measurement object and gains and Offsets used to determine a measured value according to another embodiment be used. Description of the embodiments (First embodiment)

[0046] An embodiment will now be described with reference to the drawings. Fig. 1 is a schematic Configuration diagram schematically illustrating a printed circuit board testing device 1 equipped with a 3D measuring device according to This embodiment is equipped with the circuit board testing device 1. As shown in this drawing, the circuit board testing device 1 an assembly table 3 on which a printed circuit board 2 with solder paste printed thereon is arranged as a measuring object, a Illumination device 4 provided as the irradiator configured to illuminate a surface of the to irradiate the circuit board 2 with a predetermined light pattern that is emitted diagonally downwards, a camera 5, which as an imaging unit configured to produce an image of an irradiated section on the circuit board 2 which is irradiated with the light pattern, and a control device 6 which is configured to different controls, image processing, arithmetic processing in the circuit board testing device to execute.

[0047] Motors 15 and 16 are provided as a displacement unit on the assembly table 3. The control device 6 (Motor controller 23) drives and controls these motors 15 and 16 to move the To move circuit board 2 in any direction (X and Y axis).

[0048] The lighting device 4 includes a light source 4a configured to emit a predetermined light emitted, and liquid crystal grids 4b configured to convert the light emitted by the light source 4a into a Convert a light pattern that has a light intensity distribution with a sinusoidal waveform (stripe pattern). The lighting device 4 is accordingly configured to illuminate the circuit board 2 with a striped light pattern that is emitted diagonally downwards and whose phase changes into a variety of different phases change.

[0049] In particular, the light emitted from the light source 4a is guided into a pair of condenser lenses by light guides introduced to be converted into parallel light rays. The parallel light rays are transmitted via the Liquid crystal grid 4b is fed to a projection lens. The circuit board 2 is then coated with the irradiated with striped light patterns emitted by the projection lens.

[0050] According to this embodiment, the light pattern is adjusted to be along the X-axis and parallel to a side pair of the circuit board 2 in a rectangular shape. Accordingly, the light pattern is emitted in such a way that the stripes of the light pattern run perpendicular to the X-axis direction and parallel to the Y-axis direction.

[0051] The liquid crystal grids 4b include a liquid crystal layer sandwiched between a pair of transparent substrates formed, a common electrode placed on one of the transparent substrates, and a plurality of Strip electrodes arranged in parallel on the other transparent substrate net to face the common electrode. Switching elements (e.g. thin-film transistors), each with connected to the respective strip electrodes are switched on and off by a drive circuit to ensure voltage to be applied to each of the strip electrodes. This changes the light transmittance of each raster line corresponding to each strip electrode, so that a strip-like grid pattern is formed, which consists of ´´bright parts´´ with high light transmittance and ´´dark parts´´ with low light transmittance. The Light emitted by the circuit board 2 by means of the liquid crystal grid 4b provides a light pattern with a light intensity distribution in a sinusoidal waveform, which is due, for example, to blurring caused by diffraction.

[0052] The illumination device 4 is configured to select a light pattern to be emitted from a plurality of light patterns with different periods (different stripe spacing). According to this Embodiment, the lighting device 4 switches a light pattern to be emitted between two light patterns, ie a first light pattern with a period of 10 µm (height resolution of 2 µm) and a second light pattern with a double period of 20 µm (height resolution of 4 µm). In this embodiment, 10 µm corresponds to the ´´first period´´ and ´´20 µm´´ of the ´´second period´´.

[0053] More specifically, the first light pattern with the period of 10 µm can be emitted by Liquid crystal grid 4b can be controlled, for example, to produce a light pattern in a sinusoidal waveform with a width of four grid lines (two grid lines of ´´bright sections´´ and two grid lines of ´´dark sections´´) as one to create a period.

[0054] The second light pattern with the period of 20 µm can, however, be emitted by a light pattern in a sinusoidal waveform with a width of eight grid lines (four grid lines of ´´bright sections´´ and four Grid lines of ´´dark sections´´) is generated as a period.

[0055] As shown in Fig. 3, with the first light pattern, the height can be adjusted in a range from 0 µm to 10 µm (10 µm corresponds to 0 µm in a higher stripe rank) every ´´2 (µm)´´ with an accuracy in an error range of ±1 (µm) measured, e.g. ´´0±1 (µm)´´, ´´2±1 (µm)´´ and ´´4±1 (µm)´´. The second light pattern can be used to measure the height in a range from 0 µm to 20 um every ´´4 (µm)´´ with an accuracy within an error range of ±2 (µm), e.g. ´´0±2 (µm)´´, ´´4±2 (µm)´´ and ´´8±2 (µm)´´.

[0056] The camera 5 includes, for example, lenses and imaging elements. The Imaging elements are CMOS sensors. However, the imaging elements used are not Embodiment and can be, for example, CCD sensors. The camera 5 of this embodiment can For example, create an image with a resolution of 512 pixels in the X direction and 480 pixels in the Y direction. However, horizontal resolution is not limited to this embodiment.

[0057] The image data recorded by the camera 5 are converted into a digital signal within the camera 5 converted and input into the control device 6 (image data storage unit 24) in the form of a digital signal. Control device 6 then carries out, for example, an image processing described later and a later-described Inspection processing based on the input image data. In this sense, the control device 6 implements the Image processing unit.

[0058] The electrical configuration of the control device 6 is described below. As shown in Fig. 2, the control device 6 includes a camera controller 21 which is used to control the imaging timing of the camera 5 configured to comprise a lighting controller 22 configured to control the lighting device 4, a Motor controller 23 configured to control the motors 15 and 16, an image data storage unit 24 configured to configured to store image data (luminance files) taken by camera 5, a Gain-offset storage unit 25, which is used to store the values ​​of a gain A and an offset B which were calculated on the basis of the image data, as described later, a 3D measuring unit 26, which configured to perform three-dimensional measurement based on at least the image data, a Measurement value storage unit 27, which is configured to store measurement results of the 3D measuring unit 26, a Altitude data acquisition unit 28 configured to obtain true altitude data (absolute altitude data) based on the measured values ​​stored in the measured value storage unit 27, and a determination unit 30, the configured to check the printing condition of solder paste based on the height data provided by the Height data acquisition unit 28. The control unit for the lighting device 4 (Liquid crystal grid 4b) configured lighting controller 22 implements the phase controller according to this Embodiment.

[0059] Although not specifically illustrated, the circuit board testing apparatus 1 includes, for example, an input unit that configured to include, for example, a keyboard and a touch panel, a display unit configured to configured to include a display such as a cathode ray tube or liquid crystal display, a Storage unit configured to store, for example, test results, and an output unit configured to is configured to output the test results to a soldering printing machine, for example.

[0060] In the following, a test method for the printed circuit board 2 by the printed circuit board test apparatus 1 will be described with reference to A test routine is described for each test area. This test routine is executed by the control device 6 carried out.

[0061] The control device 6 (motor controller 23) first drives the motors 15 and 16 and controls them to circuit board 2 and to adjust the field of view of the camera 5 to a first position in a predetermined inspection area on of the circuit board 2. The test area refers to each of the sub-areas defined by the previous subdivision of the Surface of the circuit board 2 as the size of the field of view of the camera 5 are provided as a unit.

[0062] The control device 6 (illumination controller 22) then controls switching of the liquid crystal grids 4b of the Illumination device 4 to adjust the configuration of the grids formed by the liquid crystal grids 4b according to the Period (strip spacing) of the first light pattern and the position of the grid to a given Set the reference position (phase ´´0 degrees´´).

[0063] After completion of the switching and adjustment of the liquid crystal grid 4b, the control device 6 (Illumination controller 22) light emission of the light source 4a of the illumination device 4 to control the irradiation with the first light pattern and shifts the phase of the first light pattern by 90 degrees each to four different phases (phase ´´0 degrees´´, phase ´´90 degrees´´, phase ´´180 degrees´´ and phase ´´270 degrees´´).

[0064] The control device 6 (camera controller 21) drives the camera 5 and controls it to record a first light pattern irradiated test area section (first position) each time the phase of the first light pattern sequentially. The control device 6 accordingly obtains four image data, which are 90 degree phase-shifted light pattern relative to the first position in the specified test area The image data recorded by the camera 5 are transferred to the image data storage unit 24 transferred and stored there.

[0065] The control device 6 (3D measuring unit 26) then calculates from the above four image data (luminance values) according to the phase shift method, a phase θ of the first light pattern with respect to each pixel. 1

[0066] The luminance values ​​V , V , V and V of the above four image data with respect to each pixel are determined by the below 10 11 12 13 given equations (H1), (H2), (H3) and (H4): [Formula 1] V10=Asinθ1+B V11=Asin(θ1+90°)+B = Acosθ1+B V12=Asin(θ1+180°)+B = -Asinθ1+B V13=Asin(θ1+270°)+B = -Acosθ1+B , where A denotes a gain and B denotes an offset.

[0067] An equation (H5) given below is derived by converting the above equations (H1), (H2), (H3) and (H4) into With respect to the phase θ: 1 [Formula 2] θ1=tan-1{(V10-V12) / (V11-V13)}

[0068] The control device 6 then calculates a first height measurement value (first measurement value) for each pixel with the phase θ calculated as described above according to the triangulation principle and stores the calculated 1 first altitude measurement value in the measured value storage unit 27. With this series of processing functions, the first Measurement acquisition unit realized according to this embodiment.

[0069] The control device 6 then specifies for each pixel a gain A and an offset B from the four Image data captured at the first position with the first light pattern. This processing function implements the gain offset acquisition unit according to this embodiment. The calculation of the gain A and the offset B is carried out in parallel to the calculation of the first height measurement value described above according to Acquisition of the four image data as described above.

[0070] A detailed method for calculating the gain A and the offset B is described below. The relationships of the luminance values ​​V , V , V and V of the four image data with respect to each pixel to the gain A and 10 11 12 13 to the offset B are expressed by the above equations (H1) to (H4).

[0071] An equation (H6) given below is derived by taking the luminance values ​​V , V , V and V of the 10 11 12 13 four image data are summed and the above equations (H1) to (H4) are solved as shown in [Formula 3] below: [Formula 3] V10+V11+V12+V13=(Asinθ1+B)+(Acosθ1+B) +(-Asinθ1+B)+(-Acosθ1+B) =4BB = (V10+V 11+V12+V13) / 4

[0072] From the above equations (H1) and (H3) an equation (H7) given below is derived: [Formula 4] sinθ1=(V10-V12) / 2A , where V -V = 2Asinθ . 10 12 2

[0073] From the above equations (H2) and (H4) an equation (H8) is also derived: [Formula 5] cosθ1=(V11-V13) / 2A , where V -V = 2Acosθ . 11 13 1

[0074] An equation (H10) given below is derived by converting the above equations (H7) and (H8) into a given equation (H9) and solve the equation (H9) as shown in the following [Formula 6] becomes: [Formula 6] 1=sin2θ1+cos2θ11={(V10-V12) / 2A}2+{(V11-V13) / 2A}24A2=(V10-V12)2+(V11-V13)2 A = (V10-V12)2+(V11+V13)24 , where A> 0.

[0075] The gain A and offset B calculated with respect to the respective pixels are stored in the gain-offset Memory 25 saved.

[0076] After completion of a series of image processing using the above first light pattern or more precisely during the processing for calculating the first altitude measurement and the above described processing for calculating the gain A and the offset B, the control device 6 drives (Motor controller 23) the motors 15 and 16 and controls them to move the circuit board 2 from the above first position diagonally by a distance of half a pixel and to move the field of view of the camera 5 to a second position in the to set a predetermined test area. Each pixel according to this embodiment has a square shape with parallel sides in both the X-axis and Y-axis directions. Accordingly, a oblique movement by the distance of half a pixel, that one moves in a diagonal direction of a pixel by the half the distance of a diagonal line.

[0077] At the same time, the control device 6 (illumination controller 22) controls switching of the liquid crystal grids 4b of the Illumination device 4 to adjust the configuration of the grids formed by the liquid crystal grids 4b according to the Period (strip spacing) of the second light pattern and the position of the grid to a given Set the reference position (phase ´´0 degrees´´).

[0078] After completing the positioning of the circuit board 2 and the switching and setting of the The control device 6 starts image processing with the second light pattern from the illumination device 4.

[0079] Specifically, the control device 6 triggers the light emission from the light source 4a of the lighting device 4 by means of of the illumination controller 22 to start the irradiation with the second light pattern, while the camera 5 driven and controlled by the camera controller 21 to produce an image of a second light pattern irradiated test area section (second position). The image data recorded by camera 5 are transferred to the image data storage unit 24 and stored there.

[0080] The imaging processing with the second light pattern according to this embodiment is performed only once with the second light pattern with the phase ´´0 degrees´´. According to this embodiment, only one image file is obtained, which was recorded with the second light pattern with the phase ´´0 degrees´´, related to the second position in the specified test area.

[0081] The control device 6 (3D measuring unit 26) then calculates a phase θ of the second light pattern with respect to 2 each pixel, based on the one image file (luminance values) associated with the second light pattern at the second position was recorded, and the values ​​of gain A and offset B, which are recorded in the gain-offset storage unit 25.

[0082] A luminance value V20 of the above-mentioned one image file with respect to each pixel is determined by a below given equation (H11): [Formula 7] V20=Asinθ2+B

[0083] An equation (H12) given below is obtained by solving the above equation (H11) for phase θ. 2 derived: [Formula 8] sinθ2=(V20-B) / Aθ2=sin-1{(V20-B) / A}

[0084] According to this embodiment, the values ​​of the gain A and the offset B used here are obtained at an identical position of the coordinates (identical pixel) of the imaging element.

[0085] The control device 6 then calculates a second height measurement value (second measurement value) for each pixel with Using the phase θ calculated as described above according to the triangulation principle and stores the 2 calculated second altitude measurement value in the measured value storage unit 27. This series of processing functions implements the second measurement acquisition unit according to this embodiment.

[0086] The control device 6 (height data acquisition unit) then acquires, on the basis of the first measured values ​​and the second measured values ​​stored in the measured value storage unit 27, true altitude data over the entire Test area.

[0087] The control device 6 (height data acquisition unit 28) first combines the height data acquired at the first position Measurement results (first height measurements) and the measurement results obtained at the second position (second height measurements) and performs image processing to convert the composite results into a measurement result in with respect to the test area. This processing provides the measurement result that corresponds to the measurement result achieved by imaging with an imaging unit that has four times the resolution of camera 5 The details of this image processing are described below.

[0088] The following description assumes that the resolution of the camera is 5 4×4 pixels per imaging field of view In this case, the measurement results of the first position are the first height measurements N to N with respect to the 1 16 respective pixels, as shown in Fig. 4A. Analogous to the measurement results of the second position, the second height measurements M to M are stored for the respective pixels, as shown in Figure 4B. Fig. 4A and 1 16 Fig. 4B are diagrams that schematically represent data fields (the same applies to Figs. 5 to 8 ).

[0089] In this case, the combining processing first generates data including the first altitude measurement values ​​N to N 1 and the second height measurements M to M , arranged in a checkerboard pattern in 8×8 squares, as in 16 1 16 Fig. 5. The empty squares in Fig. 5 indicate that data are missing at this time. For a better For the sake of simplicity, squares are filled with dots in a checkerboard pattern in Fig. 5 (the same applies to Figures 6 to 8).

[0090] Subsequently, data replacement processing is carried out with respect to the first height measurement values ​​N to N in order to 1 16 the first height measurements N to N are to be replaced by the values ​​taking into account the strip rank. 1 16 Processing implements the function of the data replacement unit according to this embodiment.

[0091] Specifically, as shown in Fig. 6, for example, a first height measurement value N in a 6 The square surrounded by a thick line is taken into account. A value of ´´4´´ obtained by measuring at the first position is called first altitude measurement value N is stored. Values ​​´´16´´, ´´12´´, ´´16´´ and ´´12´´ are each stored as four surrounding second 6 Altitude readings M , M , M and M stored next to the first altitude reading N. Although in Fig. 6 only these 6 7 10 11 6 Values ​​are shown, the respective height measurements in all other positions in the actual state are similar stored (the same applies to Figures 7 and 8).

[0092] As can be clearly seen from the table in Fig. 3, different stripe ranks, when the value of ´´4(±1) µm´´ is determined as the first height measurement value, different candidate values ​​´´4(±1) µm´´ and ´´14(±1) µm´´ for the true height of the solder paste (coordinates to be measured). The stripe rank indicates ´´4(±1) µm´´ as the true height and the Stripe rank 2 indicates 14(±1) µm as the true height. According to this embodiment, for the sake of simplicity, the Description based on the assumption that the height of the solder paste (to measuring coordinates) is not more than 20 µm.

[0093] The data replacement processing uses a value that is closer to a mean [(16+12+16+12) / 4=14] of the second altitude measurements M , M , M and M surrounding the first altitude measurement N, between these 6 7 10 11 6 candidate values ​​´´4´´ and ´´14´´ as the optimal value. In other words, this specifies a stripe rank in the Phase shift method. The data replacement processing then replaces the first height measurement value N with the value 6 14, taking into account the stripe rank. This series of processing is also used for the respective first Altitude measurements N to N were taken. 1 16

[0094] Subsequently, correction processing is performed to obtain the second altitude measurement values ​​M to M based 1 16 on the first height measurements N to N taking into account the strip rank. This processing 1 16 implements the function of the correction unit according to this embodiment.

[0095] Specifically, as shown in Fig. 7, for example, a second height measurement value M in a 11 The square surrounded by a thick line is taken into account. A value of 12 obtained by measuring at the second position is called the second altitude measurement value M is stored. The values ​​´´14´´, ´´12´´, ´´14´´ and ´´12´´ according to the above 11 Replacement processing is carried out as four surrounding first height measurements N , N , N and N next to the second 6 7 10 11 Altitude measurement M saved. 11

[0096] The correction processing first calculates an average [(14+12+14+12) / 4= 13] of these four surrounding first altitude measurements N , N , N and N . The correction processing then determines whether the second 6 7 10 11 Height measurement value M is within the error range ±2 of this mean value. 11

[0097] If it is determined that the second height measurement value M is within the error range ±2, it is estimated that the 11 Shape of the solder paste (coordinates to be measured) corresponding to this second height measurement value M and its periphery, 11 is a relatively smooth continuous shape. The mean of the first height measurements N , N , N and N is 6 7 10 11 accordingly used as the optimal value for the second altitude measurement M. 11

[0098] On the other hand, if it is determined that the second height measurement value M is not within the error range ±2, 11 estimated that the shape of the solder paste (coordinates to be measured) corresponding to this second height measurement value M and its 11 Periphery, is a relatively coarse discontinuous shape. The observation data of the second altitude measurement M are accordingly used as the optimal value. 11

[0099] Subsequently, data interpolation processing is performed to find data in the missing data parts. interpolate (empty squares in Fig. 5). This processing implements the function of the interpolation unit according to this embodiment.

[0100] For example, as shown in Fig. 8, the data interpolation processing calculates an average value on the Based on the respective data of the first height measurements N to N after replacement processing and the second 1 16 Height measurements M to M after correction processing that are adjacent to a given missing data part 1 16 and surround it, and uses the calculated mean value as the interpolation value of the given missing data part.

[0101] The above series of processing results in the generation of measurement data with an accuracy equivalent to to the accuracy of measurement data obtained from image data in 8×8 pixels relative to the entire imaging field of view (test area).

[0102] The control device 6 (determination unit 30) detects a pressure range of the solder paste which is higher than a Reference plane is based on the measurement data of the test area thus obtained (true height data with respect to the respective pixels) and integrates the heights of the respective locations into the captured area to determine the amount of printed solder paste calculate.

[0103] The control device 6 (determination unit 30) then compares the obtained data with respect to for example, the position, area, height or quantity of the solder paste with pre-stored reference data and determines whether the printing condition of solder paste in the test area is good or bad, based on whether the comparison result is within an acceptable range.

[0104] The control device 6 drives and controls the motors 15 and 16 in order to move the printed circuit board 2 into a next The above series of processing is repeated for all test areas, so that the test of the entire circuit board 2 is terminated.

[0105] As described in detail above, this embodiment performs three-dimensional measurements based on Image data obtained by irradiating the circuit board 2 with the first light pattern of the first period (period of 10 µm) at the first position and obtains the measurement result as the first measured value. The embodiment also a three-dimensional measurement based, for example, on image data obtained by irradiating the circuit board 2 with the second light pattern of the second period (period of 20 µm) at the second position, which was around the Distance of half a pixel from the first position is shifted diagonally and obtains the measurement result as the second This embodiment then obtains altitude data consisting of the first measured value and the second measured value as true elevation data were specified. This produces image data (measurement data) with four times the resolution of camera 5 and This ensures more accurate three-dimensional measurement.

[0106] Furthermore, this embodiment uses the gain and offset values ​​obtained from the image data taken during the measurement at the first position (with the first light pattern), to determine the number of pixels to be imaged (frame rate) when measuring at the second position (with the second light pattern) so that it is smaller than the number of pixels to be imaged at the first position.

[0107] This embodiment also uses the values ​​of the gain A and the offset B obtained from the image data obtained at the measurement with the first light pattern, to determine the number of pixels to be imaged (Frequency of imaging) when measuring with the second light pattern so that it is smaller than the Number of pixels to be imaged when measuring with the first light pattern.

[0108] In a concrete example, the embodiment can generate four image data by irradiating with the first light pattern with four different phases at the first position and then an image file by irradiation with the second Capture light patterns with a phase at the second position. This requires a total of five imaging cycles and thus significantly shortens the imaging time.

[0109] Compared to a configuration that only performs measurements at two different positions, This configuration reduces the overall imaging frequency and shortens the imaging time. Measuring time considerably.

[0110] In addition, this embodiment specifies the strip rank of the first height measurements associated with the first Light patterns of the shorter period (period of 10 µm) were obtained based on the second height measurements, which with the second light pattern of the longer period (period of 20 µm). This embodiment replaces then replace the first height measurements with appropriate values ​​taking into account the specified strip rank, to obtain true elevation data relative to the respective pixels.

[0111] This configuration offers both the advantageous effect of extending the measurable height range, which the The merit of using the second light pattern of the longer period is, as well as the beneficial effect of the Ensuring accurate measurement with high resolution, which is the merit of using the first light pattern of the shorter period. This enables the measurement of high resolution in the wide measuring range, as shown in Fig. 9 displayed, enables and ensures more accurate measurement.

[0112] The embodiment also performs the data interpolation processing to calculate the mean value based on the respective data of the first altitude measurements after the replacement processing and the second altitude measurements after the Correction processing to calculate adjacent to a given range of missing data parts and surround it, and to use the calculated mean as the interpolation value of the given range of missing This configuration suppresses the occurrence of a problem, ie the occurrence of missing Data components, when generating high resolution data by combining the first height measurements and the second altitude measurements.

[0113] In addition, the embodiment performs the correction processing for correcting the second altitude measurement value based on the first height measurements with the higher accuracy taking into account the strip rank. This brings the second altitude measurement closer to the true value. (Second embodiment)

[0114] A second embodiment will be described below. Regarding the configuration, which is related to that of the first embodiment described above, the description is omitted when using the same Component names and the same reference numerals. The following mainly describes the components of the first embodiment. different configuration described.

[0115] In the three-dimensional measurement according to this embodiment, the control device 6 first drives the Motors 15 and 16 and controls them to move the circuit board 2 and to adjust the field of view of the camera 5 to a first Position in a specified test area on the circuit board 2.

[0116] The control device 6 then controls switching of the liquid crystal grids 4b of the lighting device 4, to configure the grids formed by the liquid crystal grids 4b according to the period (stripe pitch) of a first light pattern and to adjust the position of the grid to a given reference position (phase ´´0 degrees”).

[0117] After completion of the switching and adjustment of the liquid crystal grid 4b, the control device 6 triggers the Light emission of the light source 4a of the lighting device 4 to irradiate with the first light pattern start, and shifts the phase of the first light pattern sequentially by 90 degrees to four different phases (Phase ´´0 degrees´´, Phase ´´90 degrees´´, Phase ´´180 degrees´´ and Phase ´´270 degrees´´).

[0118] The control device 6 takes a Image of a test area section (first position) irradiated with the first light pattern to obtain four image data.

[0119] The control device 6 then calculates from the above four image data (luminance values) by the Phase shift method a phase θ of the first light pattern with respect to each pixel. 1

[0120] The control device 6 then calculates a first height measurement value for each pixel with the described calculated phase θ according to the triangulation principle and stores the calculated first 1 Altitude measurement value in the measurement value storage unit 27.

[0121] The control device 6 also specifies a gain A and an offset B with respect to each pixel from the above four image data and stores the specified gain A and the specified offset B in the gain Offset storage unit 25.

[0122] During this processing, the control device 6 drives and controls the motors 15 and 16 to To move circuit board 2 to a position which is half a pixel away in the X-axis direction from the above first position, and the field of view of the camera 5 is shifted to a second position in the specified test area on to adjust the circuit board 2.

[0123] At the same time, the control device 6 controls the switching of the liquid crystal grids 4b of the Illumination device 4 to adjust the configuration of the grids formed by the liquid crystal grids 4b according to the Period (strip spacing) of a second light pattern and the position of the grid to a given Set the reference position (phase ´´0 degrees´´).

[0124] After completing the positioning of the circuit board 2 and the switching and setting of the The control device 6 starts image processing with the second light pattern from the illumination device 4.

[0125] Specifically, the control device 6 triggers the light emission from the light source 4a of the lighting device 4 by means of of the illumination controller 22 to start the irradiation with the second light pattern, while the camera 5 driven and controlled by the camera controller 21 to produce an image of a second light pattern irradiated test area section (second position). The image data recorded by the camera 5 are transferred to the image data storage unit 24 and stored there.

[0126] The imaging processing with the second light pattern at the second position is performed only once with the second Light pattern with the phase ´´0 degrees´´ is performed. According to this embodiment, only one image file is obtained, which is the second light pattern was recorded with the phase ´´0 degrees´´, relative to the second position in the given Test area.

[0127] The control device 6 then calculates a phase θ of the second light pattern with respect to each pixel, 2 based on the one image file (luminance values) taken with the second light pattern at the second position and the values ​​of the gain A and the offset B stored in the gain-offset storage unit 25 are stored.

[0128] The control device 6 then calculates a second height measurement value for each pixel using the described above calculated phase θ according to the triangulation principle and stores the calculated second 2 Altitude measurement value in the measurement value storage unit 27.

[0129] During this processing, the control device 6 drives and controls the motors 15 and 16 to To move circuit board 2 to a position which is inclined by half a pixel from the first position above shifted (ie a position that is half a pixel in the Y-axis direction from the second position), and the field of view of the camera 5 to a third position in the specified test area on the Adjust circuit board 2.

[0130] At the same time, the control device 6 controls switching of the liquid crystal grids 4b of the lighting device 4, to configure the grids formed by the liquid crystal grids 4b according to the period (stripe pitch) of the first light pattern and the position of the grid to the specified reference position (phase ´´0 degrees´´) to set.

[0131] After completing the positioning of the circuit board 2 and the switching and setting of the The control device 6 starts image processing with the first light pattern from the illumination device 4.

[0132] Specifically, the control device 6 triggers light emission from the light source 4a of the lighting device 4 by means of the lighting controller 22 to start the irradiation with the first light pattern, while the camera 5 by means of of the camera controller 21 to produce an image of a subject irradiated with the first light pattern test area section (third position). The image data recorded by camera 5 is sent to the Image data storage unit 24 and stored there.

[0133] The imaging processing with the first light pattern at the third position is repeated only once with the first Light pattern with the phase ´´0 degrees´´ is performed. According to this embodiment, only one image file is obtained, which is the first light pattern was recorded with the phase ´´0 degrees´´, related to the third position in the given Test area.

[0134] The control device 6 then calculates a phase θ of the first light pattern with respect to each pixel, 3 based on the one image file (luminance values) taken with the first light pattern at the third position and the values ​​of the gain A and the offset B stored in the gain-offset storage unit 25 are stored.

[0135] The control device 6 then calculates a third height measurement value for each pixel using the the phase θ calculated above according to the triangulation principle and stores the calculated third 3 Altitude measurement value in the measurement value storage unit 27.

[0136] During this processing, the control device 6 drives and controls the motors 15 and 16 to To move circuit board 2 to a position which is half a pixel apart in the Y-axis direction from the above first position (i.e. by the distance of half a pixel in the X-axis direction from the third position above) and to adjust the field of view of the camera 5 to a fourth position in the specified test area on the circuit board 2.

[0137] At the same time, the control device 6 controls switching of the liquid crystal grids 4b of the lighting device 4 in order to Configuration of the grids formed by the liquid crystal grids 4b according to the period (stripe pitch) of the second light pattern and the position of the grid to the specified reference position (phase ´´0 degrees´´) to set.

[0138] After completing the positioning of the circuit board 2 and the switching and setting of the The control device 6 starts image processing with the second light pattern from the illumination device 4.

[0139] Specifically, the control device triggers light emission from the light source 4a of the lighting device 4 by means of the illumination controller 22 to start the irradiation with the second light pattern, while the camera 5 by means of of the camera controller 21 to produce an image of a subject irradiated with the second light pattern test area section (fourth position). The image data recorded by camera 5 is sent to the Image data storage unit 24 and stored there.

[0140] The imaging processing with the second light pattern at the fourth position is repeated only once with the second Light pattern with the phase ´´0 degrees´´ is performed. According to this embodiment, only one image file is obtained, which is the second light pattern was recorded with the phase ´´0 degrees´´, related to the fourth position in the given Test area.

[0141] The control device 6 then calculates a phase θ of the second light pattern with respect to each pixel or for 4 each pixel, based on the one image file (luminance values) that matches the second light pattern at the fourth position was recorded, and the values ​​of gain A and offset B, which are recorded in the gain-offset storage unit 25.

[0142] The control device 6 then calculates a fourth height measurement value for each pixel using the described above calculated phase θ according to the triangulation principle and stores the calculated fourth 4 Altitude measurement value in the measurement value storage unit 27.

[0143] Based on the first measured values, the second measured values, the third measured values ​​and the fourth Measured values ​​stored in the measured value storage unit 27, the control device 6 then obtains true Elevation data across the entire test area.

[0144] The control device 6 first combines the measurement results obtained at the first position (first height measurements), the measurement results obtained at the second position (second height measurements), the Measurement results obtained at the third position (third altitude measurements) and the measurement results obtained at the fourth position (fourth height measurements) and performs image processing to determine the composite results as one measurement result with respect to the test area. This processing provides the measurement result equivalent to the measurement result obtained by imaging with an imaging unit which has four times the resolution of camera 5. The details of this image processing are described below. described.

[0145] The following description assumes that the resolution of the camera is 5 4×4 pixels per imaging field of view In this case, the combining processing first generates data including the first altitude measurements C to 1 C , the second altitude measurements D to D , the third altitude measurements E to E and the fourth altitude measurements F 16 1 16 1 16 1 to F with respect to the pixels obtained at the first to fourth positions respectively, arranged in 8×8 squares, as 16 shown in Fig. 10. For better illustration, the squares in Fig. 10 are shown with dots in a hatched Pattern filled (the same applies to Figures 11 and 12).

[0146] Subsequently, with respect to the first altitude measured values ​​C to C and with respect to the third altitude measured values ​​E 1 16 1 to E, data replacement processing is carried out to obtain the first altitude measurements C to C and the third 16 1 16 Height measurements E to E shall be replaced by the values ​​taking into account the strip rank. 1 16

[0147] Specifically, as shown in Fig. 11, for example, a first height measurement value C in a region defined by the thick 6 The value '4' obtained by measuring at the first position is taken as the first Altitude measurement value C is stored. The values ​​´´16´´, ´´12´´, ´´12´´ and ´´16´´ are each stored as surrounding second 6 Height measurements D and D and fourth height measurements F and F next to the first 5 6 2 6 Altitude measurement value C is stored. Although only these values ​​are shown in Fig. 11, the respective 6 Height measurements in all other positions are stored similarly in the actual state (the same applies to Fig. 12).

[0148] As in the above embodiment, when the value of ´´4(±1) µm´´ is determined as the first height measurement value, different stripe ranks provide different candidate values ​​´´4(±1) µm´´ and ´´14(±1) µm´´ for the true height of the solder paste (coordinates to be measured). Stripe rank 1 indicates ´´4(±1) µm´´ as the true height, and stripe rank 2 indicates ´´14(±1) µm´´ as the true height.

[0149] The data replacement processing uses a value that is closer to a mean [(16+12+12+16) / 4=14] of the second altitude measurements D and D , and the fourth altitude measurements F and F , which are the first altitude measurement C 5 6 2 6 6 between these candidate values ​​´´4´´ and ´´14´´ as the optimal value. In other words, this specifies a Strip rank in the phase shift method. The data replacement processing then replaces the first height measurement C by the value ´´14´´ taking into account the stripe rank. This series of processing is analogous for the 6 the respective first altitude measurements C to C and the respective third altitude measurements E to E. 1 16 1 16

[0150] Subsequently, a correction processing is carried out to correct the second height measurement values ​​D to D and the fourth 1 16 Altitude measurements F to F based on the first altitude measurements C to C and the third 1 16 1 16 Height measurements E to E taking into account the strip rank. 1 16

[0151] Specifically, as shown in Fig. 12, for example, a second height measurement value D in a 6 The square surrounded by a thick line is taken into account. A value of 12 obtained by measuring at the second position is called second altitude measurement D. Values ​​´´14´´, ´´12´´, ´´12´´, ´´12´´ and ´´14´´ according to the above 6 Replacement processing is performed as surrounding first height measurements C and C and third height measurements E and E 6 7 2 6 next to the second altitude measurement D. 6

[0152] The correction processor first calculates an average [(14+12+12+14) / 4= 13] from these four surrounding first height measurements C and C and third height measurements E and E . The correction processing 6 7 2 6 then determines whether the second height measurement D lies within the error range ±2 of this mean value. 6

[0153] If it is determined that the second height measurement value D is within the error range ±2, as in the above 6 first embodiment, the mean value of the first altitude measurements C and C and third altitude measurements E and E 6 7 2 6 used as the optimal value for the second altitude measurement D. 6

[0154] If it is determined that the second height measurement value D is not within the error range ±2, then 6 in the above first embodiment, the observed data of the second altitude measurement value D as the optimum value 6 used.

[0155] The above series of processing results in the generation of measurement data with an accuracy equivalent to to the accuracy of measurement data obtained from image data that is 8×8 pixels relative to the entire imaging field of view (test area).

[0156] As described in detail above, this embodiment offers the same functions and advantageous effects as the first embodiment described above. This embodiment enables measurement with the high resolution in a wide measuring range, as shown in Fig. 13, and ensures more accurate measurement.

[0157] This embodiment is free from the problem, ie, the occurrence of missing data portions in the generation of High resolution data by combining the respective altitude measurements and therefore does not need Perform data interpolation processing to interpolate data. This brings the measurement data even closer to introduced to the true values.

[0158] The present disclosure is not limited to the description of the above-mentioned embodiments, but can be implemented, for example, through the aspects described below. The following However, the description is only exemplary and the present disclosure may of course also be implemented by other Applications and modifications are implemented.

[0159] (a) Each of the above embodiments describes the circuit board testing apparatus 1 configured such that the height of the solder paste printed and formed on the circuit board 2 as an implementation of the 3D measuring device However, the 3D measuring device is not limited to this configuration, but can be configured which measures the height of another object, for example a solder joint on a printed circuit board printed or an electronic component mounted on a circuit board.

[0160] (b) Each of the above-mentioned embodiments is configured to use the liquid crystal grids 4b, to form the grids which serve to convert the light emitted by the light source 4a into a strip-like light pattern and that it controls switching of the liquid crystal grids 4b to shift the phase of the light pattern. However, this configuration is not mandatory, but another configuration can be used For example, transport a raster element through a transport unit such as a piezo actuator and thereby change the phase of the light pattern.

[0161] (c) Each of the above embodiments is configured to support the Circuit board 2 is moved to relatively shift the positional relationship between the camera 5 and the circuit board 2. This However, configuration is not mandatory, but another usable configuration can use the camera 5 to move this positional relationship relatively.

[0162] (d) When measuring at the first position, each of the above-mentioned embodiments is configured to measures the height using the phase shift method based on four image data captured with the first light pattern the four different phases, each offset by 90 degrees. However, this configuration is not absolutely necessary, but another usable configuration can measure the height, for example based on three image data taken with the first light pattern with three different phases, the are offset by 120 degrees. Accordingly, the ´´first predefined number´´, which determines the frequency of Imaging at the first position must be at least a number that represents a measurement of the height by the Phase shifting method enables.

[0163] (e) The configuration for measuring the height using known values ​​of the gain A and the Offset B based on an image file created by irradiation with a given light pattern at only one Phase without phase shift, the measurement at the second position is carried out according to the above first embodiment and when measuring at the second to fourth positions according to the above second This configuration is not mandatory, but rather a different usable Configuration can measure the height using known values ​​of gain A and / or offset B, based on two image data taken with a light pattern with two different phases.

[0164] Accordingly, the ´´second predetermined number´´ determining the frequency of imaging at the second position according to the above first embodiment and the frequency of imaging at the second to fourth positions according to the above second embodiment, at least a smaller number than the ´´first predetermined number´´ which indicates the frequency of imaging in the first position. For example, if a used Configuration that measures the height based on four image data captured with a light pattern with four different Phases of the measurement at the first position, the configuration can determine the height using known values ​​of gain A and / or offset B based on three image data obtained with a Light patterns were recorded with three different phases of measurement at the second position or similar. This configuration can also determine the phase of the light pattern using a relatively simple arithmetic equation and increase processing speed compared to a conventional configuration.

[0165] (f) An example of the configuration of the height measurement using known values ​​of the gain A and / or the offset B based on two image data obtained with a light pattern with two different phases can be a configuration that measures the altitude based on two image data taken with a light pattern with two phases 90 degrees different.

[0166] This configuration specifies a phase θ of the second light pattern based on the known 2 Luminance values ​​V and V with respect to each pixel on two image data obtained with the second light pattern at the second 20 21 position or similar, and a known value of the offset B, which with the first light pattern at the first position (as shown by equation (T8) given above). -1 This configuration determines the phase θ according to the arithmetic equation with 'tan '. This allows the 2 Height measurement in the range of 360 degrees from -180 degrees to 180 degrees, thus further extending the measuring range.

[0167] However, this configuration is not limited to the configuration of the altitude measurement using the known values ​​of the gain A and / or the offset B based on the two image data obtained with the light pattern was recorded that has two phases that are 90 degrees different, but can, for example, a configuration of the height measurement using the known values ​​of the gain A and / or the offset B based on two image data taken with a light pattern that is two 180 degree has different phases.

[0168] (g) Each of the above embodiments describes the configuration of measuring the height of the solder paste up to 20 µm by combining the first light pattern with the period of 10 µm (height resolution of 2 µm) and the second light pattern with a period of 20 µm (height resolution of 4 µm). The periods and measuring ranges of the respective However, light patterns are not limited to this configuration.

[0169] Each of the above embodiments is configured to determine the values ​​of the gain A and / or the Offset B is obtained based on four image data taken with the first light pattern of the shorter period (period of 10 µm) However, this configuration is not mandatory, but rather another usable Configuration can obtain the values ​​of gain A and / or offset B based on image data obtained with the second light pattern of the longer period (period of 20 µm).

[0170] (h) Each of the above-mentioned embodiments is configured to measure the measurement area by irradiation with two different light patterns with different periods. However, this configuration is not mandatory required, but the first light pattern and the second light pattern can be light patterns with identical periods (for example both with a period of 10 µm).

[0171] The above second embodiment can be configured so that the measurement area is irradiated with three or more different light patterns with different periods. For example, the configuration irradiation with a light pattern with a period α at the first position, irradiation with a Light pattern with a period β at the second position, irradiation with a light pattern with a period γ at the third position and irradiation with a light pattern with a period σ at the fourth position carry out.

[0172] (i) Each of the above embodiments is configured to use the altitude measurement values ​​as the first measurement value and the second measured value in the measured value storage unit 27. However, this configuration is not mandatory, but another usable configuration can use phase measurements (for example phases θ and θ ) as 1 2 Save the first measured value and the second measured value.

[0173] (j) The methods of correction processing, for example, of the altitude measurement values ​​and the interpolation processing of the missing data parts are not limited to those described in the above-mentioned respective embodiments procedures, but other techniques can also be used for the same purpose.

[0174] (k) Each of the above embodiments uses the configuration of using the values ​​of the Gain A and offset B, which are located at an identical position of coordinates (identical pixels) of the imaging element of the camera 5, for example, to obtain a height measurement value with respect to a to obtain a predetermined pixel based on an image file or the like taken at the second position, where the values ​​of gain A and / or offset B are used.

[0175] However, this configuration is not mandatory. To obtain an altitude measurement value with respect to a given pixel, another configuration that can be used is an average gain A and / or a Use the average value of the offset B at peripheral positions of the given pixel. For example, as shown in Fig. 14 shown to obtain a second height measurement value with respect to a pixel Q in image data located at the second position 1 were recorded (area surrounded by the thick line), the configuration can be an average of the Gain A and / or an average value of the offset B with respect to four pixels P , P , P and P (areas marked with points 1 2 3 4 are filled in the drawing) which each contain parts of the imaging area of ​​the pixel Q in the image data that are located at peripheral positions of the 1 pixels Q, that is, image data recorded at the first position. 1

[0176] This configuration is of course not mandatory, but another usable configuration can an average value of the gain A and / or an average value of the offset B with respect to two or three pixels between the pixels P , P , P and P . 1 2 3 4 List of reference symbols

[0177] 1 printed circuit board testing device, 2 printed circuit board, 4 illumination device, 4a light source, 4b liquid crystal grid, 5 Camera, 6 Control unit, 22 Lighting controller, 23 Motor controller, 24 Image data memory, 25 Gain offset Storage unit, 26 3D measuring unit, 27 Measured value storage unit, 28 Height data acquisition unit, A Amplification, B Offset

Claims

1. 3D measuring device, comprising: an illumination device (4) configured to illuminate a measurement object with at least two light patterns irradiated, which have a strip-like light intensity distribution; a phase controller configured to control a phase (θ) of the light emitted by the lighting device (4) emitted light pattern changes into a variety of different phases θ; an imaging unit (5) configured to generate an image of reflected light from the light pattern irradiated measuring object; a displacement unit (15, 16) configured to maintain a positional relationship between the imaging unit (5) and the measuring object; and an image processing unit (6) configured to perform a three-dimensional measurement of the measurement object by a Phase shift method based on image data acquired by the imaging unit (5), carries out, whereby the image processing unit (6) comprises: a first measurement acquisition unit configured to acquire a luminance V of each pixel as a first A measurement value is obtained with respect to each pixel based on a first predetermined number of image data obtained by Irradiation with a first light pattern with a first predetermined number of phases θ at a first position were recorded; a gain offset acquisition unit configured to, when the luminance is V=Asin θ+B where A is a gain and B is an offset, the value of the gain and / or offset with respect to each pixel is obtained based on the first predetermined number of image data captured at the first position became; a second measurement acquisition unit configured to acquire the luminance V of each pixel as a second measured value with respect to each pixel by using the value of the gain A and / or the offset B, which obtained by the gain offset obtaining unit based on a second predetermined number of Image data obtained by irradiation with a second predetermined light pattern with a second predetermined number of phases θ were recorded at a second position spaced by a distance of half a pixel in a specified direction from the first position, wherein the second specified number is smaller than the first specified number; and a height data acquisition unit (28) configured to acquire height data with respect to each pixel based on the first measured value and the second measured value, where the second measurement acquisition unit determines an average value of the gain A and / or an average value of the offset B of pixels arranged around a given pixel to determine the second measured value with respect to the given pixel to obtain.

2. 3D measuring device according to claim 1, wherein the illumination device (4) is configured to illuminate the measurement object by switching a plurality of irradiated with light patterns with different periods, whereby the measurement object at the first position is irradiated with the first light pattern with a first period; and the measuring object at the second position is irradiated with the second light pattern with a second period which differs from the first period.

3. 3D measuring device according to one of claims 1 or 2, wherein the second measurement value acquisition unit, when the second predetermined number is equal to 1, the phase θ of the second light pattern is calculated, which has at least one relationship which is expressed by an equation (S1) given below to obtain the second measured value: V0=Asin θ+ B where V denotes a luminance value of first image data. 0 4. 3D measuring device according to one of claims 1 or 2, wherein the second measurement value acquisition unit, when the second predetermined number is equal to 2, the phase θ of the second light pattern is calculated which at least corresponds to the phase given equations (T1) and (T2) are satisfied to obtain the second measured value: V0= Asinθ+β V1=Asin(θ+90°)+B where V is a luminance value of first image data and V is a luminance value 0 1 second image data.

5. 3D measuring device according to one of claims 1 to 4, wherein the measuring object is a solder paste which is applied to a printed printed circuit board (2) and a solder joint formed on a wafer substrate.

Citation Information

Patent Citations

  • Device for three-dimensional measuring

    DE102010000122A1

  • Device for measuring a three-dimensional shape

    DE102012217240A1

  • Interpolating light section process

    EP0076866A1

  • Three-dimensional measuring device

    JP2010169433A

  • Non-contact probe

    US20100135534A1