Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7589602B2 - Sensor Device - Google Patents
[go: Go Back, main page]

JP7589602B2 - Sensor Device - Google Patents

Sensor Device Download PDF

Info

Publication number
JP7589602B2
JP7589602B2 JP2021040940A JP2021040940A JP7589602B2 JP 7589602 B2 JP7589602 B2 JP 7589602B2 JP 2021040940 A JP2021040940 A JP 2021040940A JP 2021040940 A JP2021040940 A JP 2021040940A JP 7589602 B2 JP7589602 B2 JP 7589602B2
Authority
JP
Japan
Prior art keywords
light
unit
tape
amount
reference value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2021040940A
Other languages
Japanese (ja)
Other versions
JP2022140893A (en
Inventor
宏康 真砂
淳 中嶋
大輝 安藤
章吾 重本
孝太 行實
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Omron Corp
Original Assignee
Omron Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Omron Corp filed Critical Omron Corp
Priority to JP2021040940A priority Critical patent/JP7589602B2/en
Publication of JP2022140893A publication Critical patent/JP2022140893A/en
Application granted granted Critical
Publication of JP7589602B2 publication Critical patent/JP7589602B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Supply And Installment Of Electrical Components (AREA)
  • Electronic Switches (AREA)

Description

本発明は、投光部と受光部とを備えたセンサ装置に関する。 The present invention relates to a sensor device equipped with a light-emitting unit and a light-receiving unit.

プリント配線板等の基板上に電子部品を搭載(実装)し、電子回路基板を生産する部品実装装置は、テープフィーダーを備えている。テープフィーダーは、電子部品を収納したキャリアテープが巻回されたリールから当該キャリアテープを間欠的に送出しながら電子部品を供給するものである。キャリアテープは、テープフィーダーに設けられたアルミ等からなるテープ通路上を搬送される。 A component mounting device that mounts (mounts) electronic components on a substrate such as a printed wiring board to produce an electronic circuit board is equipped with a tape feeder. The tape feeder supplies electronic components by intermittently feeding out a carrier tape containing electronic components from a reel on which the carrier tape is wound. The carrier tape is transported on a tape passage made of aluminum or the like provided in the tape feeder.

リールには、複数のキャリアテープが長手方向にスプライシングテープを用いて接続された状態で巻回されている。そのため、搬送されるキャリアテープには繋ぎ目が存在しており、キャリアテープのロットを管理するために、繋ぎ目部分を検出している。 Multiple carrier tapes are wound around the reel and connected longitudinally using splicing tape. Therefore, there are seams in the carrier tape being transported, and the seams are detected in order to manage the carrier tape lot.

繋ぎ目の検出の手法として、キャリアテープの側部に設けられている送出用の嵌合孔の有無を検出する手法がある。キャリアテープの繋ぎ目ではスプライシングテープにて嵌合孔が塞がれるため、センサにて嵌合穴が無い状態を検出し、繋ぎ目と判断している。 One method for detecting seams is to detect the presence or absence of a feed hole on the side of the carrier tape. At seams in the carrier tape, the splicing tape covers the hole, so a sensor detects the absence of a hole and determines that there is a seam.

また、従来、特許文献1に示すような、周囲の物理量を受信信号として検出し、該受信信号を閾値で判別して物理量によってオンオフを識別する検出センサが知られている。 Also, as shown in Patent Document 1, a detection sensor is known that detects a surrounding physical quantity as a received signal, discriminates the received signal using a threshold value, and identifies whether the physical quantity is on or off.

特開平7-221623号公報Japanese Patent Application Publication No. 7-221623

ところで、キャリアテープの繋ぎ目を嵌合穴が無い状態を検出して判断する手法では、キャリアテープが蛇行するとセンサが嵌合孔を検出できず、繋ぎ目部分を検出することができないといった問題があった。 However, the method of detecting the seams of the carrier tape to determine whether there are any fitting holes has the problem that if the carrier tape meanders, the sensor cannot detect the fitting holes, and therefore the seams cannot be detected.

本発明の一態様は、より精度よく搬送物の繋ぎ目部分を検出可能なセンサ装置を提供することを目的とする。 One aspect of the present invention aims to provide a sensor device that can detect the seams of transported goods with greater accuracy.

上記の課題を解決するために、本発明の一態様に係るセンサ装置は以下の構成を採用する。 In order to solve the above problems, a sensor device according to one aspect of the present invention has the following configuration.

すなわち、本発明の一側面に係るセンサ装置は、光を投光する投光部と、前記投光部から投光された光の照射領域からの反射光の受光量を検出する受光部と、受光量より前記照射領域に存在する物体の色情報を取得する取得部と、取得される色情報と前記照射領域を搬送される搬送物の予め取得している基準値とを比較して前記搬送物の繋ぎ目部分を検出する繋ぎ目検出部と、前記搬送物を搬送する通路が前記照射領域全体に存在する状態で検出される受光量を基に設定された通路検出閾値と検出される受光量とを比較して、前記照射領域に前記搬送物の先端が到達したことを検出する先端検出部と、前記搬送物の搬送速度を用いて、前記先端の到達が検出された時点から前記基準値を取得するまでの待機時間を算出する算出部と、前記先端の到達が検出された時点から前記待機時間が経過すると、その時点で取得されている色情報を前記基準値として設定する設定部と、を備える。 That is, the sensor device according to one aspect of the present invention includes a light-projecting unit that projects light, a light-receiving unit that detects the amount of reflected light received from an irradiation area of the light projected from the light-projecting unit, an acquisition unit that acquires color information of an object present in the irradiation area from the amount of received light, a seam detection unit that detects seams of the transported object by comparing the acquired color information with a reference value acquired in advance for the transported object transported in the irradiation area, a leading edge detection unit that detects the arrival of the leading edge of the transported object in the irradiation area by comparing the detected amount of received light with a passage detection threshold set based on the amount of received light detected when the passage for transporting the transported object is present in the entire irradiation area, a calculation unit that calculates the waiting time from the time the arrival of the leading edge is detected to the time the reference value is acquired using the transport speed of the transported object, and a setting unit that sets the color information acquired at that time as the reference value when the waiting time has elapsed since the arrival of the leading edge was detected.

上記構成によれば、搬送物の繋ぎ目部分を、搬送物の色情報と繋ぎ目部分の色情報との違いを基に検出する。これにより、従来の手法よりも精度よく繋ぎ目部分を検出できる。また、上記構成によれば、搬送物の先端が到達したことを検出した時に、設定部が繋ぎ目部分の検出に用いる基準値を自動で取得する。これにより、目視して基準値を設定する操作が不要となり、センサ装置の利便性が向上する。 According to the above configuration, the seam of the transported object is detected based on the difference between the color information of the transported object and the color information of the seam. This allows the seam to be detected more accurately than with conventional methods. Furthermore, according to the above configuration, when it is detected that the leading edge of the transported object has arrived, the setting unit automatically acquires a reference value to be used for detecting the seam. This eliminates the need to visually set the reference value, improving the convenience of the sensor device.

しかも、上記構成によれば、算出部が搬送物の搬送速度を用いて待機時間を算出する。待機時間は、先端検出部にて搬送物の先端が検出された時点から基準値を取得して設定するタイミングを決定する要素であり、待機時間が短い場合は、照射領域全体に搬送物が入り込んでいない状態の受光量に基づいて基準値が設定される恐れがある。上記構成のように、搬送速度より算出した待機時間を用いることで、常に正確に基準値を設定することが可能となる。 Moreover, according to the above configuration, the calculation unit calculates the waiting time using the transport speed of the transported object. The waiting time is a factor that determines the timing for acquiring and setting the reference value from the point in time when the leading edge of the transported object is detected by the leading edge detection unit, and if the waiting time is short, there is a risk that the reference value will be set based on the amount of light received when the transported object has not entered the entire irradiation area. By using the waiting time calculated from the transport speed as in the above configuration, it is possible to always set the reference value accurately.

上記一側面に係るセンサ装置において、前記算出部は、前記搬送速度と前記照射領域の搬送方向の長さとを用いて前記待機時間を算出する構成であってもよい。 In the sensor device according to the above aspect, the calculation unit may be configured to calculate the waiting time using the conveying speed and the length of the irradiation area in the conveying direction.

上記構成によれば、搬送速度に加えて照射領域の搬送方向の長さを用いるので、より正確に待機時間を算出することが可能で、常に正確に基準値を設定することが可能となる。 According to the above configuration, since the length of the irradiation area in the transport direction is used in addition to the transport speed, it is possible to calculate the waiting time more accurately, and it is possible to always set the reference value accurately.

上記一側面に係るセンサ装置において、前記通路検出閾値として、前記通路が前記照射領域全体に存在する状態で検出される前記受光量に基づいて、該受光量よりも高い第1閾値および該受光量よりも低い第2閾値が設定されている構成であってもよい。 In the sensor device according to the above aspect, the passage detection threshold may be set to a first threshold higher than the amount of received light and a second threshold lower than the amount of received light based on the amount of received light detected when the passage is present in the entire illumination area.

上記構成によれば、搬送物の色が、通路よりも反射光量が多くなる色であっても、逆に反射光量が少なくなる色であっても、搬送物の先端の到達を検出することができる。 With the above configuration, it is possible to detect the arrival of the leading edge of the transported object even if the color of the transported object reflects more light than the passageway, or conversely, even if the color reflects less light.

上記一側面に係るセンサ装置において、前記搬送物は、複数の部品が長手方向に沿って1列に並んで搭載されたキャリアテープであり、長手方向に繋ぎ用テープで接続された繋ぎ目部分を有している構成であってもよい。 In the sensor device according to one aspect described above, the transported object may be a carrier tape on which a plurality of components are mounted in a row along the longitudinal direction, and may have a seam portion connected in the longitudinal direction by a connecting tape.

本発明の一態様によれば、より精度よく搬送物の繋ぎ目部分を検出可能なセンサ装置を提供することができる。 According to one aspect of the present invention, it is possible to provide a sensor device that can detect the seam of a transported object with greater accuracy.

本実施形態に係るカラーセンサが搭載されるテープフィーダーの構成を示す模式図である。2 is a schematic diagram showing a configuration of a tape feeder on which a color sensor according to the embodiment is mounted. FIG. 上記テープフィーダーに適用されるキャリアテープの平面図である。FIG. 2 is a plan view of a carrier tape applied to the tape feeder. 上記テープフィーダーにおけるテープ通路と、カラーセンサと、テープ通路を搬送されるキャリアテープとの関係を示す模式図である。4 is a schematic diagram showing the relationship between a tape path in the tape feeder, a color sensor, and a carrier tape transported along the tape path. FIG. 本実施形態に係るカラーセンサの構成を示す分解斜視図である。FIG. 2 is an exploded perspective view showing the configuration of a color sensor according to the embodiment. 本実施形態に係るカラーセンサの構成を示すブロック図である。2 is a block diagram showing a configuration of a color sensor according to the embodiment; FIG. 投光部の照射領域にキャリアテープが入っていない状態から、照射領域全体にキャリアテープが入るまでの受光量の変化を示す図である。13 is a diagram showing the change in the amount of received light from a state in which no carrier tape is present in the irradiation area of the light projector to a state in which the carrier tape is present in the entire irradiation area. 投光部の照射領域にスプライシングテープが入っていない状態から、照射領域全体にスプライシングテープが入るまでの不一致度の変化を示す図である。This figure shows the change in the degree of mismatch from a state in which no splicing tape is present in the illumination area of the light projector to a state in which the splicing tape is present in the entire illumination area. 本実施形態に係るカラーセンサの動作を示すフローチャートである。5 is a flowchart showing the operation of the color sensor according to the embodiment. 図8の続きを示すフローチャートである。9 is a flowchart illustrating a continuation of FIG. 8 .

以下、本開示の一側面に係る実施の形態(以下、「本実施形態」とも表記する)を、図面に基づいて説明する。本実施形態では、本開示のセンサ装置の一態様として、キャリアテープを送出するテープフィーダーに搭載されるカラーセンサ1を例示する。 Below, an embodiment according to one aspect of the present disclosure (hereinafter also referred to as the present embodiment) will be described with reference to the drawings. In this embodiment, a color sensor 1 mounted on a tape feeder that feeds out a carrier tape will be illustrated as one aspect of the sensor device of the present disclosure.

§1 適用例
まず、図1、図3、図5~図7を用いて、センサ装置であるカラーセンサ1が適用される場面の一例について説明する。図1に示すように、カラーセンサ1は、例えばテープフィーダー100に搭載され、テープ通路104を搬送されるキャリアテープ10における繋ぎ目部分を検出する。キャリアテープ10は、図3に示すように、スプライシングテープ15によって繋がれている。繋ぎ目検出部(図5参照)は、予め取得しているキャリアテープ10のRDB値の基準値と取得されるRGB値とを比較して、図7に示すように色の違いである不一致度を求める。そして、不一致度を基にスプライシングテープ15を検出して繋ぎ目部分を検出する。これにより、嵌合孔12が塞がれている状態を検出する手法に比べて、キャリアテープ10が蛇行しても繋ぎ目部分を問題なく検出することができる。
§1 Application Example First, an example of a situation in which the color sensor 1, which is a sensor device, is applied will be described with reference to Figs. 1, 3, and 5 to 7. As shown in Fig. 1, the color sensor 1 is mounted on, for example, a tape feeder 100, and detects a seam portion in the carrier tape 10 transported through a tape passage 104. As shown in Fig. 3, the carrier tape 10 is spliced by a splicing tape 15. The seam detection unit (see Fig. 5) compares the previously acquired reference value of the RDB value of the carrier tape 10 with the acquired RGB value, and obtains the degree of mismatch, which is the difference in color, as shown in Fig. 7. Then, the splicing tape 15 is detected based on the degree of mismatch to detect the seam portion. As a result, compared to a method of detecting a state in which the fitting hole 12 is blocked, the seam portion can be detected without any problem even if the carrier tape 10 meanders.

先端検出部25(図5参照)は、図6に示すように、通路検出閾値と受光量とを比較することでキャリアテープの先端を検出する。先端が検出されると、基準値設定部26(図5参照)が、先端が検出された時点から所定の待機時間が経過したのちのRGB値をスプライシングテープ15の検出に用いる上記基準値として設定する。これにより、基準値を自動にて設定することができ、カラーセンサ1の利便性が向上する。しかも、算出部(図5参照)がキャリアテープ10の搬送速度を用いて待機時間を算出するので、常に正確に基準値を設定することが可能となる。 The leading edge detection unit 25 (see FIG. 5) detects the leading edge of the carrier tape by comparing the amount of received light with the path detection threshold, as shown in FIG. 6. When the leading edge is detected, the reference value setting unit 26 (see FIG. 5) sets the RGB values after a predetermined waiting time has elapsed since the leading edge was detected as the reference values used for detecting the splicing tape 15. This allows the reference value to be set automatically, improving the convenience of the color sensor 1. Moreover, since the calculation unit (see FIG. 5) calculates the waiting time using the transport speed of the carrier tape 10, it is possible to always set the reference value accurately.

§2 構成例
(1.テープフィーダー100)
図1は、本実施形態に係るカラーセンサ1が搭載されるテープフィーダー100の構成を示す模式図である。図1に示すように、テープフィーダー100は、キャリアテープ10を用いて電子部品等の部品を供給する、オートローディング方式のテープフィーダーである。テープフィーダー100は、前後方向に細長い形状をなす本体部101を備えている。テープフィーダー100は、さらに、第1送出部102と、第2送出部103と、テープ通路104と、本実施形態に係るカラーセンサ1と、制御部(不図示)と、を備えている。
§2 Configuration Example (1. Tape Feeder 100)
Fig. 1 is a schematic diagram showing the configuration of a tape feeder 100 on which a color sensor 1 according to this embodiment is mounted. As shown in Fig. 1, the tape feeder 100 is an autoloading tape feeder that supplies components such as electronic components using a carrier tape 10. The tape feeder 100 includes a main body 101 that is elongated in the front-rear direction. The tape feeder 100 further includes a first feed section 102, a second feed section 103, a tape passage 104, the color sensor 1 according to this embodiment, and a control section (not shown).

第1送出部102は、本体部101の前端部分に備えられ、第2送出部103は、本体部101の後端部分に備えられている。第1送出部102および第2送出部103は、本体部101の後端部から前端部に向かう方向にキャリアテープ10を送り出す。テープ通路104は、本体部101に設けられたキャリアテープ10を案内するための通路であり、例えば、アルミ等から構成される。キャリアテープ10は、第1送出部102および第2送出部103により、テープ通路104に沿って搬送される。図1の構成では、キャリアテープ10は、本体部101の後端部から本体部101の内部に導入され、テープ通路104を通じて本体部101の上面前部に案内される。 The first feed section 102 is provided at the front end of the main body 101, and the second feed section 103 is provided at the rear end of the main body 101. The first feed section 102 and the second feed section 103 feed the carrier tape 10 in a direction from the rear end to the front end of the main body 101. The tape passage 104 is a passage for guiding the carrier tape 10 provided in the main body 101, and is made of, for example, aluminum. The carrier tape 10 is transported along the tape passage 104 by the first feed section 102 and the second feed section 103. In the configuration of FIG. 1, the carrier tape 10 is introduced into the inside of the main body 101 from the rear end of the main body 101, and is guided to the front of the upper surface of the main body 101 through the tape passage 104.

カラーセンサ1は、後述する投光部2からの光がテープ通路104上に投光されるように、テープ通路104に面して配設されている。カラーセンサ1は、テープ通路104を搬送されるキャリアテープ10の繋ぎ目部分を検出する。また、本実施形態では、カラーセンサ1は、キャリアテープ10の先端が投光部2の照射領域(検出領域)に到達したことを検出した時に、繋ぎ目部分の検出に用いる基準値を自動で取得するようになっている。カラーセンサ1の詳細については後述する。 The color sensor 1 is disposed facing the tape passage 104 so that light from the light projecting unit 2, which will be described later, is projected onto the tape passage 104. The color sensor 1 detects the seam portion of the carrier tape 10 transported along the tape passage 104. In this embodiment, the color sensor 1 automatically acquires a reference value used to detect the seam portion when it detects that the leading end of the carrier tape 10 has reached the irradiation area (detection area) of the light projecting unit 2. The color sensor 1 will be described in detail later.

制御部は、テープフィーダー100の各部分を制御する。テープフィーダー100の制御部とカラーセンサ1が備える後述する判定部4との間で、各種の情報および信号の遣り取りが行われる。テープフィーダー100とカラーセンサ1は、マスターとスレーブの関係にある。 The control unit controls each part of the tape feeder 100. Various information and signals are exchanged between the control unit of the tape feeder 100 and a determination unit 4 (described later) provided in the color sensor 1. The tape feeder 100 and the color sensor 1 are in a master-slave relationship.

(2.キャリアテープ10)
テープフィーダー100に適用されるキャリアテープ10について、図2、図3を参照して説明する。図2は、テープフィーダー100に適用されるキャリアテープ10の平面図である。図3は、テープフィーダー100におけるテープ通路104と、カラーセンサ1と、テープ通路104を搬送されるキャリアテープ10との関係を示す模式図である。
(2. Carrier Tape 10)
The carrier tape 10 applied to the tape feeder 100 will be described with reference to Fig. 2 and Fig. 3. Fig. 2 is a plan view of the carrier tape 10 applied to the tape feeder 100. Fig. 3 is a schematic diagram showing the relationship between the tape path 104 in the tape feeder 100, the color sensor 1, and the carrier tape 10 transported through the tape path 104.

図2に示すように、キャリアテープ10は、帯状のテープであり、厚み方向の一方の表面10Aに、部品13を収納する複数の凹状の部品収納部11が長手方向に沿って1列に並んで配置されている。部品収納部11に対して幅方向の一方の側方には、長手方向に一定間隔で並ぶ複数の嵌合孔12が設けられている。嵌合孔12は、キャリアテープ10をその厚み方向に貫通して設けられている。キャリアテープ10は、表面10Aの反対側の裏面をテープ通路104に向けた状態でテープフィーダー100に装着される。このようなキャリアテープ10には、白色、黒色、グレーおよび透明等の色違いがある。 As shown in FIG. 2, the carrier tape 10 is a strip-shaped tape, and on one surface 10A in the thickness direction, multiple recessed component storage sections 11 for storing components 13 are arranged in a row along the longitudinal direction. On one side in the width direction of the component storage sections 11, multiple fitting holes 12 are provided that are arranged at regular intervals in the longitudinal direction. The fitting holes 12 are provided penetrating the carrier tape 10 in its thickness direction. The carrier tape 10 is loaded into the tape feeder 100 with the back surface opposite the surface 10A facing the tape passage 104. Such carrier tapes 10 are available in different colors, such as white, black, gray, and transparent.

そして、図3に示すように、キャリアテープ10は、長手方向の端部同士が繋ぎ用テープであるスプライシングテープ15にて接続されている。スプライシングテープ15にも、青色、水色、黄色および黒色等の色違いがある。 As shown in FIG. 3, the longitudinal ends of the carrier tape 10 are connected with a splicing tape 15, which is a connecting tape. The splicing tape 15 also comes in different colors, such as blue, light blue, yellow, and black.

(3.カラーセンサ1)
図4は、本実施形態に係るカラーセンサ1の構成を示す分解斜視図である。図4に示すように、カラーセンサ1は、投光部2と、受光部3と、判定部4と、基板5と、ケース6と、レンズ部7と、カバー8と、を備えている。
(3. Color Sensor 1)
Fig. 4 is an exploded perspective view showing the configuration of the color sensor 1 according to this embodiment. As shown in Fig. 4, the color sensor 1 includes a light projecting unit 2, a light receiving unit 3, a determination unit 4, a substrate 5, a case 6, a lens unit 7, and a cover 8.

投光部2は光を投光し、受光部3は、投光部2から投光された光の照射領域からの反射光の受光量を検出する。投光部2は、白色LED(発光ダイオード)等の投光素子と、投光回路と、を備えている。受光部3は、PTR(フォトトランジスタ)やPD(フォトダイオード)等のRGBそれぞれの波長領域の受光素子と、受光回路と、を備えている。受光回路は、受光素子の受光量に応じた電気信号を増幅する増幅回路、およびA/D変換器等を備えている。 The light-projecting unit 2 projects light, and the light-receiving unit 3 detects the amount of light reflected from the irradiation area of the light projected from the light-projecting unit 2. The light-projecting unit 2 includes a light-projecting element such as a white LED (light-emitting diode), and a light-projecting circuit. The light-receiving unit 3 includes light-receiving elements for each of the RGB wavelength regions, such as a PTR (phototransistor) or a PD (photodiode), and a light-receiving circuit. The light-receiving circuit includes an amplifier circuit that amplifies an electrical signal according to the amount of light received by the light-receiving element, an A/D converter, etc.

なお、受光部3においては、1つの受光素子にて無彩色および有彩色の検出を行ってもよいし、受光素子を2個設けて無彩色の検出と有彩色の検出とを分けて行ってもよい。 In addition, in the light receiving unit 3, a single light receiving element may be used to detect achromatic and chromatic colors, or two light receiving elements may be provided to separately detect achromatic and chromatic colors.

判定部4は、受光部3が検出した受光量に基づいて、スプライシングテープ15を検出することで、キャリアテープ10の繋ぎ目部分を検出する。また、テープ通路104上におけるキャリアテープ10の有無を検出し、照射領域にキャリアテープ10の先端が到達したことを検出した時に、スプライシングテープ15の検出に用いる基準値を自動で取得する。このような判定部4の詳細については後述する。 The determination unit 4 detects the splicing tape 15 based on the amount of light received by the light receiving unit 3, thereby detecting the joint portion of the carrier tape 10. It also detects the presence or absence of the carrier tape 10 on the tape passage 104, and automatically obtains a reference value used to detect the splicing tape 15 when it detects that the tip of the carrier tape 10 has reached the irradiation area. Details of the determination unit 4 will be described later.

基板5は、これら投光部2、受光部3および判定部4を搭載する。ケース6は、基板5およびレンズ部7を支持する支持部材である。レンズ部7は、ケース6の下面に取り付けられ、基板5は、投光部2および受光部3を搭載した面が下方に向くようにケース6内部に設置される。レンズ部7は、投受光レンズであり、投光素子より投光した光の光線を制御するレンズと、照射領域で反射した光を受光素子に集めるレンズと、を有する。カバー8は、遮光部材であり、ケース6の上部の開口を塞いで、外乱光および粉塵の侵入を防止する。 The light-projecting unit 2, the light-receiving unit 3, and the determination unit 4 are mounted on the board 5. The case 6 is a support member that supports the board 5 and the lens unit 7. The lens unit 7 is attached to the bottom surface of the case 6, and the board 5 is installed inside the case 6 so that the surface on which the light-projecting unit 2 and the light-receiving unit 3 are mounted faces downward. The lens unit 7 is a light-projecting and light-receiving lens, and has a lens that controls the beam of light projected from the light-projecting element, and a lens that collects light reflected from the irradiation area onto the light-receiving element. The cover 8 is a light-blocking member that blocks the opening at the top of the case 6 to prevent the intrusion of external light and dust.

(4.判定部4)
図5は、本実施形態に係るカラーセンサ1の構成を示すブロック図である。図5に示すように、判定部4は、投光制御部21と、RGB値取得部22と、記憶部23と、繋ぎ目検出部24と、先端検出部25と、基準値設定部26と、算出部29と、を備えている。判定部4は、例えば、CPU(Central Processing Unit)や専用プロセッサ等により構成されるコンピュータ装置からなる。
(4. Determination Unit 4)
Fig. 5 is a block diagram showing the configuration of the color sensor 1 according to this embodiment. As shown in Fig. 5, the determination unit 4 includes a light projection control unit 21, an RGB value acquisition unit 22, a storage unit 23, a seam detection unit 24, a tip detection unit 25, a reference value setting unit 26, and a calculation unit 29. The determination unit 4 is formed of a computer device including, for example, a CPU (Central Processing Unit) or a dedicated processor.

投光制御部21は、投光部2の駆動を制御する。投光回路は、投光制御部21の制御の下、発光素子を所定のパルス信号に基づいて駆動し、光をテープ通路104に向かって照射する。照射領域に存在する物体からの反射光は、受光部3の受光素子によって受光され、受光回路を経てRGB値取得部22および先端検出部25に入力される。 The light projection control unit 21 controls the driving of the light projection unit 2. Under the control of the light projection control unit 21, the light projection circuit drives the light emitting element based on a predetermined pulse signal and irradiates light toward the tape path 104. The reflected light from an object present in the irradiation area is received by the light receiving element of the light receiving unit 3 and input to the RGB value acquisition unit 22 and the tip detection unit 25 via the light receiving circuit.

RGB値取得部(取得部)22は、受光回路を経て入力される受光量に基づいて、照射領域に存在する物体の色情報であるRGB値を取得する。RGB値取得部22は、取得したRGB値を繋ぎ目検出部24に送出する。 The RGB value acquisition unit (acquisition unit) 22 acquires RGB values, which are color information of objects present in the irradiation area, based on the amount of received light input via the light receiving circuit. The RGB value acquisition unit 22 sends the acquired RGB values to the seam detection unit 24.

繋ぎ目検出部24は、RGB値取得部22より入力されたRGB値と、予め取得しているキャリアテープ10の基準値(基準RGB値)とを比較して、キャリアテープ10の繋ぎ目部分を検出する。つまり、繋ぎ目検出部24は、スプライシングテープ15を検出する。繋ぎ目検出部24は、スプライシングテープ15を検出すると出力部27に検出したことを通知し、これを受けて出力部27が外部に繋ぎ目部分の検出を通知する。 The seam detection unit 24 compares the RGB values input from the RGB value acquisition unit 22 with the reference values (reference RGB values) of the carrier tape 10 acquired in advance to detect the seam portion of the carrier tape 10. In other words, the seam detection unit 24 detects the splicing tape 15. When the seam detection unit 24 detects the splicing tape 15, it notifies the output unit 27 of the detection, and in response, the output unit 27 notifies the outside that a seam portion has been detected.

本実施形態では、後述するように、スプライシングテープ15を検出するための繋ぎ目検出閾値が設定されている。繋ぎ目検出部24は、入力されたRGB値と基準値との不一致度を繋ぎ目検出閾値と比較することで、スプライシングテープ15を検出する。キャリアテープ10の基準値、および繋ぎ目検出閾値は、記憶部23に記憶されている。 In this embodiment, as described below, a seam detection threshold is set for detecting the splicing tape 15. The seam detection unit 24 detects the splicing tape 15 by comparing the degree of mismatch between the input RGB values and the reference value with the seam detection threshold. The reference value of the carrier tape 10 and the seam detection threshold are stored in the memory unit 23.

先端検出部25は、受光回路を経て入力される受光量と通路検出閾値とを比較して、照射領域にキャリアテープ10の先端が到達したことを検出する。通路検出閾値は、テープ通路が照射領域全体に存在する状態で検出される受光量を基に設定され、記憶部23に記憶されている。 The leading edge detection unit 25 compares the amount of light received through the light receiving circuit with the path detection threshold to detect that the leading edge of the carrier tape 10 has reached the illuminated area. The path detection threshold is set based on the amount of light received that is detected when the tape path is present throughout the illuminated area, and is stored in the memory unit 23.

算出部29は、キャリアテープ10の搬送速度を用いて、先端検出部25にてキャリアテープ10の先端の到達が検出された時点から基準値を取得するまでの待機時間を算出する。本実施形態では、算出部29は、キャリアテープ10の搬送速度と、照射領域の搬送方向の長さとを用いて待機時間を算出する。 The calculation unit 29 uses the transport speed of the carrier tape 10 to calculate the waiting time from the time when the tip detection unit 25 detects that the tip of the carrier tape 10 has arrived until the reference value is acquired. In this embodiment, the calculation unit 29 calculates the waiting time using the transport speed of the carrier tape 10 and the length of the irradiation area in the transport direction.

例えば、投光素子から投光される光の照射領域に相当するスポット径が2mm、搬送速度が100mm/msecの場合、算出部29は、待機時間を、2(mm)/100(mm/msec)=20msecと算出する。別の例として、スポット径が2mm、搬送速度が5mm/msecの場合、算出部29は、待機時間を、2(mm)/5(mm/msec)=400msecと算出する。さらに、別の例として、スポット径が5mm、搬送速度が5mm/msecの場合、算出部29は、待機時間を、5(mm)/5(mm/msec)=1000msecと算出する。なお、キャリアテープ10の搬送速度は、入出力部28を介してテープフィーダー100から判定部4に入力され、記憶部23に格納される。 For example, when the spot diameter corresponding to the irradiation area of the light projected from the light projecting element is 2 mm and the transport speed is 100 mm/msec, the calculation unit 29 calculates the waiting time as 2 (mm)/100 (mm/msec) = 20 msec. As another example, when the spot diameter is 2 mm and the transport speed is 5 mm/msec, the calculation unit 29 calculates the waiting time as 2 (mm)/5 (mm/msec) = 400 msec. As yet another example, when the spot diameter is 5 mm and the transport speed is 5 mm/msec, the calculation unit 29 calculates the waiting time as 5 (mm)/5 (mm/msec) = 1000 msec. The transport speed of the carrier tape 10 is input from the tape feeder 100 to the determination unit 4 via the input/output unit 28 and stored in the memory unit 23.

基準値設定部(設定部)26は、繋ぎ目検出部24が用いるキャリアテープ10の基準値を設定する。基準値設定部26は、先端検出部25にてキャリアテープ10の先端の到達が検出された時点から、算出部20にて算出された待機時間が経過すると、その時点でRGB値取得部22に取得されている色情報を基準値として設定する。設定された基準値は記憶部23に記憶される。また、基準値設定部26が用いる待機時間についても記憶部23に記憶されている。 The reference value setting unit (setting unit) 26 sets a reference value of the carrier tape 10 used by the seam detection unit 24. When the waiting time calculated by the calculation unit 20 has elapsed since the tip detection unit 25 detected the arrival of the tip of the carrier tape 10, the reference value setting unit 26 sets the color information acquired by the RGB value acquisition unit 22 at that time as a reference value. The set reference value is stored in the memory unit 23. The waiting time used by the reference value setting unit 26 is also stored in the memory unit 23.

記憶部23は、繋ぎ目検出閾値テーブル、通路検出閾値テーブル、搬送速度格納部、および基準値格納部を備えている。記憶部23には入出力部28を介して外部から値を入力することもできる。 The memory unit 23 includes a seam detection threshold table, a passage detection threshold table, a conveying speed storage unit, and a reference value storage unit. Values can also be input to the memory unit 23 from the outside via the input/output unit 28.

繋ぎ目検出閾値テーブルには、繋ぎ目検出部24が用いる繋ぎ目検出閾値が格納されている。本実施形態では、色違いのスプライシングテープ15に対応できるように、繋ぎ目検出閾値として、後述する有彩色用閾値および無彩色用閾値の2つが設定されている(図7参照)。 The seam detection threshold table stores seam detection thresholds used by the seam detection unit 24. In this embodiment, two seam detection thresholds are set, a chromatic color threshold and an achromatic color threshold, to accommodate splicing tapes 15 of different colors (see FIG. 7).

通路検出閾値テーブルには、先端検出部25が用いる通路検出閾値が格納されている。前述したように、通路検出閾値は、テープ通路104が照射領域全体に存在する状態で検出される受光量を基に設定されている。通路検出閾値は、照射領域全体にテープ通路104が存在する状態ではない、つまり、照射領域の一部にキャリアテープ10が含まれていると判定できる値である。本実施形態では、テープ通路104が照射領域全体に存在する状態で検出される受光量に基づいて、該受光量よりも高い第1閾値および該受光量よりも低い第2閾値が設定されている。 The path detection threshold table stores the path detection threshold used by the tip detection unit 25. As described above, the path detection threshold is set based on the amount of received light detected when the tape path 104 is present throughout the entire irradiation area. The path detection threshold is a value that can determine that the tape path 104 is not present throughout the entire irradiation area, that is, that the carrier tape 10 is included in part of the irradiation area. In this embodiment, a first threshold higher than the amount of received light and a second threshold lower than the amount of received light are set based on the amount of received light detected when the tape path 104 is present throughout the entire irradiation area.

搬送速度格納部には、テープフィーダー100より入力され、算出部29にて用いられるキャリアテープ10の搬送速度が格納されている。搬送速度は、テープフィーダー100より入力される毎に書き換えられる。 The conveying speed storage unit stores the conveying speed of the carrier tape 10 that is input from the tape feeder 100 and used by the calculation unit 29. The conveying speed is rewritten each time it is input from the tape feeder 100.

基準値格納部には、基準値設定部26で設定された基準値が格納される。基準値は、先端検出部25がキャリアテープ10の先端の到達を検出される度に設定され、自動で書き換えられる。 The reference value storage unit stores the reference value set by the reference value setting unit 26. The reference value is set and automatically rewritten each time the leading edge detection unit 25 detects the arrival of the leading edge of the carrier tape 10.

(5.基準値の設定)
図6を用いて、基準値の設定について説明する。図6は、投光部2の照射領域にキャリアテープ10が入っていない状態から、照射領域全体にキャリアテープ10が入るまでの受光量の変化を示す図である。図6に示すように、照射領域にキャリアテープ10の先端が到達していない区間Aでは、受光部3はテープ通路104からの反射光の受光量Lを検出している。
(5. Setting the Reference Value)
The setting of the reference value will be described with reference to Fig. 6. Fig. 6 is a diagram showing the change in the amount of received light from a state in which the carrier tape 10 is not in the irradiation area of the light projector 2 until the carrier tape 10 is in the entire irradiation area. As shown in Fig. 6, in section A where the leading end of the carrier tape 10 has not yet reached the irradiation area, the light receiver 3 detects the amount of received light L of reflected light from the tape path 104.

照射領域にキャリアテープ10の先端が到達すると、その時点から受光量が増加し出す。受光量が増加する区間Bが、照射領域をキャリアテープ10の先端部が進んでいる区間である。キャリアテープ10が照射領域の全体に入ると増加が止まり受光量Hで横這いとなる。受光量Hで横這いとなる区間Cが、キャリアテープ10からの反射光を安定して検出している区間である。 When the tip of the carrier tape 10 reaches the illuminated area, the amount of received light starts to increase from that point on. Section B where the amount of received light increases is the section where the tip of the carrier tape 10 is moving through the illuminated area. When the carrier tape 10 enters the entire illuminated area, the increase stops and the amount of received light levels off at H. Section C where the amount of received light levels off at H is the section where the reflected light from the carrier tape 10 is stably detected.

通路検出閾値は、受光量Lと受光量Hとの間の値に設定される。図6の例では、区間Bの中央値よりもやや高い値に設定されている。図6は、キャリアテープ10が白色等、テープ通路104よりも反射光量が多くなる例を示している。図示してはいないが、キャリアテープ10が黒色やグレー等、テープ通路104よりも反射光量が少なくなる場合もある。その場合は、検出される受光量は、キャリアテープ10の先端が照射領域に入った時点から減少し出し、受光量Lよりも低くなる。そのため、上述したように、通路検出閾値は、区間Aで検出される受光量Lよりも高い第1閾値と、該受光量Lよりも低い第2閾値が設定されている。図6に示す通路検出値は第1閾値に相当する。 The passage detection threshold is set to a value between the amount of received light L and the amount of received light H. In the example of FIG. 6, it is set to a value slightly higher than the median value of section B. FIG. 6 shows an example in which the carrier tape 10 is white, etc., and the amount of reflected light is greater than that of the tape passage 104. Although not shown, the carrier tape 10 may be black or gray, etc., and the amount of reflected light may be less than that of the tape passage 104. In that case, the detected amount of received light begins to decrease when the tip of the carrier tape 10 enters the irradiation area, and becomes lower than the amount of received light L. Therefore, as described above, the passage detection threshold is set to a first threshold higher than the amount of received light L detected in section A, and a second threshold lower than the amount of received light L. The passage detection value shown in FIG. 6 corresponds to the first threshold.

図6に示すように、先端検出部25がキャリアテープ10の先端の到達を検出した時点では、照射領域にはテープ通路104がまだ含まれている。そのため、基準値を取得するには、先端の到達が検出された時間から、照射領域全体にキャリアテープ10が入り込むまで待機する必要がある。この待機する時間が待機時間である。待機時間が短い場合は、照射領域全体に搬送物が入り込んでいない状態の受光量に基づいて基準値が設定される恐れがある。待機時間が長い場合は、基準値の設定が遅れる。 As shown in FIG. 6, when the leading edge detection unit 25 detects the arrival of the leading edge of the carrier tape 10, the irradiation area still includes the tape passage 104. Therefore, to obtain the reference value, it is necessary to wait from the time when the leading edge is detected until the carrier tape 10 enters the entire irradiation area. This waiting time is the waiting time. If the waiting time is short, there is a risk that the reference value will be set based on the amount of light received when the transported object has not yet entered the entire irradiation area. If the waiting time is long, the setting of the reference value will be delayed.

本実施形態では、算出部29がキャリアテープ10の搬送速度に応じて待機時間を設定するので、短過ぎたり長すぎたりすることなく、常に適格な待機時間を設定することができ、延いては正確に基準値を設定することが可能となる。 In this embodiment, the calculation unit 29 sets the waiting time according to the transport speed of the carrier tape 10, so that it is possible to always set an appropriate waiting time without it being too short or too long, and thus to set an accurate reference value.

(6.スプライシングテープ15の検出)
図7を用いて、スプライシングテープ15の検出について説明する。図7は、投光部2の照射領域にスプライシングテープ15が入っていない状態から、照射領域全体にスプライシングテープ15が入るまでの不一致度の変化を示す図である。図7に示すように、照射領域にスプライシングテープ15の先端が到達していない区間Dでは、受光部3はキャリアテープ10からの反射光の受光量を検出しているため、取得されるRGB値と基準値との不一致度D0は小さい。
(6. Detection of splicing tape 15)
Detection of the splicing tape 15 will be described with reference to Fig. 7. Fig. 7 is a diagram showing the change in the degree of mismatch from a state in which the splicing tape 15 is not in the irradiation area of the light projector 2 until the splicing tape 15 is in the entire irradiation area. As shown in Fig. 7, in a section D in which the tip of the splicing tape 15 has not reached the irradiation area, the light receiver 3 detects the amount of reflected light received from the carrier tape 10, so that the degree of mismatch D0 between the acquired RGB value and the reference value is small.

照射領域にスプライシングテープ15の先端が到達すると、その時点から不一致度が増加し出す。受光量が増加する区間Dが、照射領域をスプライシングテープ15の先端部が進んでいる区間である。スプライシングテープ15が照射領域の全体に入ると増加が止まり、図7の例では不一致度D1、D2で横這いとなる。 When the tip of the splicing tape 15 reaches the illuminated area, the degree of mismatch begins to increase from that point on. Section D, where the amount of received light increases, is the section where the tip of the splicing tape 15 is moving through the illuminated area. When the splicing tape 15 enters the entire illuminated area, the increase stops, and in the example of Figure 7, the degree of mismatch levels off at D1 and D2.

不一致度D1は、無彩色のスプライシングテープ15の受光量に基づくRGB値と基準値との不一致度である。不一致度D2は、有彩色のスプライシングテープ15の受光量に基づくRGB値と基準値との不一致度である。スプライシングテープ15が有彩色である場合、スプライシングテープ15が無彩色である場合よりも不一致度が高くなる。 The degree of mismatch D1 is the degree of mismatch between the RGB values based on the amount of light received by the achromatic splicing tape 15 and the reference value. The degree of mismatch D2 is the degree of mismatch between the RGB values based on the amount of light received by the chromatic splicing tape 15 and the reference value. When the splicing tape 15 is chromatic, the degree of mismatch is higher than when the splicing tape 15 is achromatic.

繋ぎ目検出閾値は、このような有彩色の無彩色のスプライシングテープ15のカラーバリエーションに対応して、有彩色用閾値および無彩色用閾値の2種類設定されている。2種類設定することで、スプライシングテープ15の検出のみならず、スプライシングテープ15が無彩色であるか有彩色であるかも検出することができる。 Two types of seam detection thresholds are set, a chromatic threshold and an achromatic threshold, to correspond to the color variations of the chromatic and achromatic splicing tape 15. By setting two types, it is possible not only to detect the splicing tape 15, but also to detect whether the splicing tape 15 is achromatic or chromatic.

スプライシングテープ15が、有彩色用閾値又は無彩色用閾値の何れか一方に決まっている場合は、対応する方の閾値が繋ぎ目検出閾値として設定される。無彩色用閾値を設定しておくことで、無彩色および有彩色の何れのスプライシングテープ15についても対応できる。 If the splicing tape 15 is determined to have either a chromatic color threshold or an achromatic color threshold, the corresponding threshold is set as the seam detection threshold. By setting an achromatic color threshold, it is possible to handle both achromatic and chromatic splicing tapes 15.

(7.カラーセンサ1の動作)
図8、図9を用いて、カラーセンサ1の動作を説明する。図8は、本実施形態に係るカラーセンサ1の動作を示すフローチャートである。図9は、図8の続きを示すフローチャートである。カラーセンサ1は、例えば、テープフィーダー100がキャリアテープ10の搬送を開始するタイミングで動作を開始する。
(7. Operation of Color Sensor 1)
The operation of the color sensor 1 will be described with reference to Fig. 8 and Fig. 9. Fig. 8 is a flowchart showing the operation of the color sensor 1 according to this embodiment. Fig. 9 is a flowchart continuing from Fig. 8. The color sensor 1 starts its operation at the timing when the tape feeder 100 starts transporting the carrier tape 10, for example.

図8に示すように、動作開始時、判定部4は、記憶部23より値を読み出して、通路検出閾値を先端検出部25に、搬送時間を算出部29に、繋ぎ目閾値を繋ぎ目検出部24にセットする(S1)。次に、算出部29が、搬送時間と照射領域の搬送方向の長さとを用いて待機時間を算出する(S2)。 As shown in FIG. 8, at the start of operation, the determination unit 4 reads values from the memory unit 23 and sets the aisle detection threshold in the leading edge detection unit 25, the transport time in the calculation unit 29, and the seam threshold in the seam detection unit 24 (S1). Next, the calculation unit 29 calculates the waiting time using the transport time and the length of the irradiation area in the transport direction (S2).

次に、判定部4は投光部2による投光および受光部3による受光量の検出を開始する(S3)。受光量が入力されると、先端検出部25は、受光量が通路検出閾値を超えたかを判断する(S4)。受光部3が複数の受光素子を備える場合は、受光量の総和が通路検出閾値を超えたかを判断する。先端検出部25は、受光量が通路検出閾値を超えたと判断するまで、S4を繰り返す。 Next, the determination unit 4 starts detecting the amount of light projected by the light projector 2 and the amount of light received by the light receiver 3 (S3). When the amount of received light is input, the tip detector 25 determines whether the amount of received light exceeds the passage detection threshold (S4). If the light receiver 3 has multiple light receiving elements, it determines whether the sum of the amounts of received light exceeds the passage detection threshold. The tip detector 25 repeats S4 until it determines that the amount of received light exceeds the passage detection threshold.

S4において、受光量が通路検出閾値を超えたと判断すると、先端検出部25は基準値設定部26にキャリアテープ10の先端を検出したことを通知する(S5)。通知を受けると、基準値設定部26は、その時点から計数を開始する(S6)。計数を開始すると、基準値設定部26は、カウント値が待機時間に到達したかを判断する(S7)。到達していないと判断すると、基準値設定部26はカウント値を1UPし(S8)、その後S7に戻る。基準値設定部26は、S7にてカウント値が待機時間に到達したと判断するまで、S7、S8を繰り返す。 If it is determined in S4 that the amount of received light has exceeded the passage detection threshold, the leading edge detection unit 25 notifies the reference value setting unit 26 that the leading edge of the carrier tape 10 has been detected (S5). Upon receiving the notification, the reference value setting unit 26 starts counting from that point (S6). Once counting has started, the reference value setting unit 26 determines whether the count value has reached the standby time (S7). If it determines that it has not, the reference value setting unit 26 increments the count value by 1 (S8) and then returns to S7. The reference value setting unit 26 repeats S7 and S8 until it determines in S7 that the count value has reached the standby time.

S7において、カウント値が待機時間に到達したと判断すると、基準値設定部26は、RGB値取得部22に基準値取得を指示する(S9)。指示を受けると、RGB値取得部22は、その時点で取得しているRGB値を記憶部23に送出する(S10)。記憶部23は入力されたRGB値を基準値として記憶する(S11)。ここまでのS1~S11の処理にて、キャリアテープ10の基準値が、自動的に取得され記憶部23に記憶される。 When it is determined in S7 that the count value has reached the standby time, the reference value setting unit 26 instructs the RGB value acquisition unit 22 to acquire a reference value (S9). Upon receiving the instruction, the RGB value acquisition unit 22 sends the RGB values acquired at that time to the memory unit 23 (S10). The memory unit 23 stores the input RGB values as reference values (S11). Through the processing of S1 to S11 up to this point, the reference values of the carrier tape 10 are automatically acquired and stored in the memory unit 23.

図9に示すように、判定部4は、基準値が記憶されると、記憶部23より基準値を読み出して繋ぎ目検出部24にセットする(S12)。繋ぎ目検出部24は、RGB値取得部22より入力されるRGB値と基準値とを比較してそれらの不一致度を算出し(S13)、不一致度が繋ぎ目検出閾値を超えたかを判断する(S14)。繋ぎ目検出部24は、S14にて超えていないと判断すると、S16に進んで外部より動作終了信号を受信したかを判断し、受信していないと判断すると、S13に戻る。 As shown in FIG. 9, when the reference value is stored, the determination unit 4 reads the reference value from the storage unit 23 and sets it in the seam detection unit 24 (S12). The seam detection unit 24 compares the RGB value input from the RGB value acquisition unit 22 with the reference value to calculate the degree of mismatch therebetween (S13), and determines whether the degree of mismatch exceeds the seam detection threshold (S14). If the seam detection unit 24 determines in S14 that the degree of mismatch has not been exceeded, it proceeds to S16 to determine whether an operation end signal has been received from the outside, and if it determines that an operation end signal has not been received, it returns to S13.

一方、繋ぎ目検出部24は、S14にて超えたと判断すると、出力部27にスプライシングテープ15を検出したことを通知し(S15)、これを受けて出力部27が外部に通知する。その後、S16に進んで外部より動作終了信号を受信したかを判断し、受信していないと判断すると、S13に戻る。判定部4は、S16にて動作終了信号を受信したと判断すると、投光部2による投光および受光部3による受光量の検出を終了し(S17)、動作を終了する。 On the other hand, if the splice detection unit 24 determines in S14 that the splicing tape 15 has been exceeded, it notifies the output unit 27 that it has detected the splicing tape 15 (S15), and the output unit 27 then notifies the outside. Thereafter, the process proceeds to S16 to determine whether an operation end signal has been received from the outside, and if it determines that it has not been received, the process returns to S13. If the determination unit 4 determines in S16 that an operation end signal has been received, it ends the light projection by the light projection unit 2 and the detection of the amount of light received by the light reception unit 3 (S17), and the operation ends.

(8.主な効果)
上記構成によれば、キャリアテープ10とスプライシングテープ15との色情報の違い(色差)を検出することで、キャリアテープ10の繋ぎ目部分を検出する。キャリアテープ10が蛇行したとしても、キャリアテープ10が照射領域から逸脱するようなことは起こらない。これにより、キャリアテープ10が蛇行しても繋ぎ目部分を問題なく検出することができる。
(8. Main Effects)
According to the above configuration, the seam portion of the carrier tape 10 is detected by detecting the difference (color difference) in color information between the carrier tape 10 and the splicing tape 15. Even if the carrier tape 10 meanders, the carrier tape 10 does not deviate from the irradiation area. This makes it possible to detect the seam portion without any problem even if the carrier tape 10 meanders.

このようにスプライシングテープ15を色情報の違いにて検出する場合、キャリアテープ10とは色彩の異なるスプライシングテープ15を用いることが好ましい。つまり、白色のキャリアテープ10には、青色、水色、黄色および黒色のスプライシングテープ15を用いることが適している。黒色、透明色およびグレーのキャリアテープ10には、青色、水色および黄色のスプライシングテープ15を利用することが適している。 When detecting the splicing tape 15 based on differences in color information in this way, it is preferable to use a splicing tape 15 that is different in color from the carrier tape 10. In other words, it is suitable to use blue, light blue, yellow, and black splicing tapes 15 for a white carrier tape 10. It is suitable to use blue, light blue, and yellow splicing tapes 15 for a black, transparent, and gray carrier tape 10.

ところで、特許文献1の検出センサの技術を用いた場合、ユーザが照射領域にキャリアテープ10が存在することを目視して、ティーチングスイッチを操作して、キャリアテープ10の基準値を記憶させる必要がある。また、モード切換スイッチを操作して、基準値を記憶させるためのティーチングモードと動作モードとを切り換える必要もある。 However, when using the detection sensor technology of Patent Document 1, the user must visually confirm that the carrier tape 10 is present in the irradiation area and operate a teaching switch to store the reference value of the carrier tape 10. In addition, the user must operate a mode change switch to switch between a teaching mode for storing the reference value and an operation mode.

これに対し、上記構成によれば、先端検出部25にて照射領域にキャリアテープ10の先端が到達したことを検出し、基準値設定部26が、先端が検出された時点から待機時間が経過したのちのRGB値を基準値として設定する。これにより、目視することなく、基準値を自動に設定することが可能となる。したがって、目視し実行する必要のあるモード切換スイッチの操作およびティーチングスイッチの操作が不要となり、基準値を自動にて設定することが可能となり、カラーセンサ1の利便性が向上する。 In contrast, with the above configuration, the leading edge detection unit 25 detects that the leading edge of the carrier tape 10 has reached the irradiation area, and the reference value setting unit 26 sets the RGB values after the waiting time has elapsed since the leading edge was detected as the reference values. This makes it possible to set the reference values automatically without visual inspection. Therefore, there is no need to operate the mode change switch or teaching switch, which must be performed visually, and the reference values can be set automatically, improving the convenience of the color sensor 1.

しかも、算出部(図5参照)がキャリアテープ10の搬送速度を用いて待機時間を算出する。待機時間は、先端検出部にて搬送物の先端が検出された時点から基準値を取得して設定するタイミングを決定する要素であり、待機時間が短い場合は、照射領域全体に搬送物が入り込んでいない状態の受光量に基づいて基準値が設定される恐れがある。搬送速度より算出した待機時間を用いることで、常に正確に基準値を設定することが可能となる。 In addition, the calculation unit (see FIG. 5) calculates the waiting time using the transport speed of the carrier tape 10. The waiting time is a factor that determines the timing for acquiring and setting the reference value from the point in time when the leading edge of the transported object is detected by the leading edge detection unit, and if the waiting time is short, there is a risk that the reference value will be set based on the amount of light received when the transported object does not enter the entire irradiation area. By using the waiting time calculated from the transport speed, it is possible to always set the reference value accurately.

また、上記構成によれば、通路検出閾値として、テープ通路104が照射領域全体に存在する状態で検出される受光量に基づいて、該受光量よりも高い第1閾値および該受光量よりも低い第2閾値が設定されている。したがって、キャリアテープ10の色が、テープ通路104よりも反射光量が多くなる色であっても、逆に反射光量が少なくなる色であっても、キャリアテープ10の先端の到達を検出することができる。 In addition, according to the above configuration, a first threshold value higher than the amount of received light and a second threshold value lower than the amount of received light are set as the path detection threshold value based on the amount of received light detected when the tape path 104 is present in the entire irradiation area. Therefore, even if the color of the carrier tape 10 is a color that reflects more light than the tape path 104, or a color that reflects less light, it is possible to detect the arrival of the tip of the carrier tape 10.

§3 変形例
以上、本発明の実施の形態を詳細に説明してきたが、前述までの説明はあらゆる点において本発明の例示に過ぎない。本発明の範囲を逸脱することなく種々の改良や変形を行うことができることは言うまでもない。例えば、以下のような変更が可能である。なお、以下では、上記実施形態と同様の構成要素に関しては同様の符号を用い、上記実施形態と同様の点については、適宜説明を省略した。以下の変形例は適宜組み合わせ可能である。
§3 Modifications Although the embodiment of the present invention has been described above in detail, the above description is merely an example of the present invention in every respect. It goes without saying that various improvements and modifications can be made without departing from the scope of the present invention. For example, the following modifications are possible. In the following, the same reference numerals are used for the same components as in the above embodiment, and the description of the same points as in the above embodiment is omitted as appropriate. The following modifications can be combined as appropriate.

(1)前述した実施形態では、記憶部23が、繋ぎ目検出閾値テーブル、通路検出閾値テーブル、搬送速度格納部、および基準値格納部を備えている。そして、動作開始時、記憶部23より値が読み出されて、通路検出閾値が先端検出部25に、搬送速度が算出部29に、繋ぎ目閾値が繋ぎ目検出部24にセットされる構成であった。しかしながら該構成に限らず、動作開始時に、マスターであるテープフィーダー100の制御部から繋ぎ目検出閾値、通路検出閾値、搬送速度が、入力される構成であってもよい。 (1) In the embodiment described above, the memory unit 23 includes a seam detection threshold table, an aisle detection threshold table, a conveying speed storage unit, and a reference value storage unit. Then, when operation starts, values are read from the memory unit 23, and the aisle detection threshold is set in the leading edge detection unit 25, the conveying speed in the calculation unit 29, and the seam threshold in the seam detection unit 24. However, this configuration is not limited to this, and the seam detection threshold, aisle detection threshold, and conveying speed may be input from the control unit of the master tape feeder 100 at the start of operation.

〔ソフトウェアによる実現例〕
判定部4の各ブロックは、集積回路(ICチップ)等に形成された論理回路(ハードウェア)によって実現してもよいし、ソフトウェアによって実現してもよい。後者の場合、判定部4は、各機能を実現するソフトウェアであるプログラムの命令を実行するコンピュータを備えている。このコンピュータは、例えば1つ以上のプロセッサを備えていると共に、上記プログラムを記憶したコンピュータ読み取り可能な記録媒体を備えている。そして、上記コンピュータにおいて、上記プロセッサが上記プログラムを上記記録媒体から読み取って実行することにより、本発明の目的が達成される。上記プロセッサとしては、例えばCPU(Central Processing Unit)を用いることができる。上記記録媒体としては、「一時的でない有形の媒体」、例えば、ROM(Read Only Memory)等の他、テープ、ディスク、カード、半導体メモリ、プログラマブルな論理回路などを用いることができる。また、上記プログラムを展開するRAM(Random Access Memory)などをさらに備えていてもよい。また、上記プログラムは、該プログラムを伝送可能な任意の伝送媒体(通信ネットワークや放送波等)を介して上記コンピュータに供給されてもよい。なお、本発明の一態様は、上記プログラムが電子的な伝送によって具現化された、搬送波に埋め込まれたデータ信号の形態でも実現され得る。
[Software implementation example]
Each block of the determination unit 4 may be realized by a logic circuit (hardware) formed in an integrated circuit (IC chip) or the like, or may be realized by software. In the latter case, the determination unit 4 includes a computer that executes instructions of a program, which is software that realizes each function. This computer includes, for example, one or more processors, and a computer-readable recording medium that stores the program. In the computer, the processor reads the program from the recording medium and executes it, thereby achieving the object of the present invention. The processor may be, for example, a CPU (Central Processing Unit). The recording medium may be a "non-transient tangible medium", such as a ROM (Read Only Memory), a tape, a disk, a card, a semiconductor memory, a programmable logic circuit, or the like. The computer may further include a RAM (Random Access Memory) that expands the program. The program may be supplied to the computer via any transmission medium (such as a communication network or a broadcast wave) that can transmit the program. Note that one aspect of the present invention may also be realized in the form of a data signal embedded in a carrier wave, in which the program is embodied by electronic transmission.

本発明は上述した各実施形態に限定されるものではなく、請求項に示した範囲で種々の変更が可能であり、異なる実施形態にそれぞれ開示された技術的手段を適宜組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。 The present invention is not limited to the above-described embodiments, and various modifications are possible within the scope of the claims. The technical scope of the present invention also includes embodiments obtained by appropriately combining the technical means disclosed in different embodiments.

1 カラーセンサ
2 投光部
3 受光部
4 判定部
10 キャリアテープ(搬送物)
15 スプライシングテープ(繋ぎ用テープ)
21 投光制御部
22 RGB値取得部(取得部)
23 記憶部
24 繋ぎ目検出部
25 先端検出部
26 基準値設定部(設定部)
29 算出部
100 テープフィーダー
104 テープ通路(通路)
1 Color sensor 2 Light projecting unit 3 Light receiving unit 4 Determination unit 10 Carrier tape (transported object)
15 Splicing tape (connecting tape)
21 Light projection control unit 22 RGB value acquisition unit (acquisition unit)
23 Memory unit 24 Seam detection unit 25 Tip detection unit 26 Reference value setting unit (setting unit)
29 Calculation unit 100 Tape feeder 104 Tape path (path)

Claims (4)

光を投光する投光部と、
前記投光部から投光された光の照射領域からの反射光の受光量を検出する受光部と、
受光量より前記照射領域に存在する物体の色情報を取得する取得部と、
取得される色情報と前記照射領域を搬送される搬送物の基準値とを比較して前記搬送物の繋ぎ目部分を検出する繋ぎ目検出部と、
前記搬送物を搬送する通路が前記照射領域全体に存在する状態で検出される受光量を基に設定された通路検出閾値と検出される受光量とを比較して、前記照射領域に前記搬送物の先端が到達したことを検出する先端検出部と、
前記搬送物の搬送速度を用いて、前記先端の到達が検出された時点から前記基準値を取得するまでの待機時間を算出する算出部と、
前記先端の到達が検出された時点から前記待機時間が経過すると、その時点で取得されている色情報を前記基準値として設定する設定部と、を備えるセンサ装置。
a light-projecting unit that projects light;
a light receiving unit that detects an amount of reflected light from an irradiation area of the light projected from the light projecting unit;
an acquisition unit that acquires color information of an object present in the illumination area based on the amount of received light;
a seam detection unit that detects a seam of the transported object by comparing the acquired color information with a reference value of the transported object transported through the irradiation area;
a leading edge detection unit that detects that a leading edge of the transported object has reached the illumination area by comparing a detected amount of received light with a passage detection threshold value that is set based on an amount of received light detected when a passage for transporting the transported object is present in the entire illumination area;
a calculation unit that calculates a waiting time from a time when the arrival of the leading end is detected to a time when the reference value is acquired, using a conveying speed of the conveyed object;
a setting unit that, when the waiting time has elapsed from the time when the arrival of the tip is detected, sets the color information acquired at that time as the reference value.
前記算出部は、前記搬送速度と前記照射領域の搬送方向の長さとを用いて前記待機時間を算出する請求項1に記載のセンサ装置。 The sensor device according to claim 1, wherein the calculation unit calculates the waiting time using the transport speed and the length of the irradiation area in the transport direction. 前記通路検出閾値として、前記通路が前記照射領域全体に存在する状態で検出される前記受光量に基づいて、該受光量よりも高い第1閾値および該受光量よりも低い第2閾値が設定されている請求項2に記載のセンサ装置。 The sensor device according to claim 2, wherein the passage detection threshold is set based on the amount of received light detected when the passage is present throughout the entire illumination area, and a first threshold value higher than the amount of received light and a second threshold value lower than the amount of received light are set. 前記搬送物は、複数の部品が長手方向に沿って1列に並んで搭載されたキャリアテープであり、長手方向に繋ぎ用テープで接続された繋ぎ目部分を有している請求項1から3の何れか1項に記載のセンサ装置。 The sensor device according to any one of claims 1 to 3, wherein the transported object is a carrier tape on which multiple components are mounted in a row along the longitudinal direction, and has a joint portion connected in the longitudinal direction by a joining tape.
JP2021040940A 2021-03-15 2021-03-15 Sensor Device Active JP7589602B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021040940A JP7589602B2 (en) 2021-03-15 2021-03-15 Sensor Device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021040940A JP7589602B2 (en) 2021-03-15 2021-03-15 Sensor Device

Publications (2)

Publication Number Publication Date
JP2022140893A JP2022140893A (en) 2022-09-29
JP7589602B2 true JP7589602B2 (en) 2024-11-26

Family

ID=83402761

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021040940A Active JP7589602B2 (en) 2021-03-15 2021-03-15 Sensor Device

Country Status (1)

Country Link
JP (1) JP7589602B2 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004165273A (en) 2002-11-11 2004-06-10 Fuji Mach Mfg Co Ltd Electronic circuit component supplying method, taped component code providing method and supplying system as well as mounting system of electronic circuit component
JP2013058511A (en) 2011-09-07 2013-03-28 Panasonic Corp Tape feeder and component mounting device
JP2014018885A (en) 2012-07-13 2014-02-03 Ngk Spark Plug Co Ltd Tube cutter and cutting method thereof
WO2016002029A1 (en) 2014-07-02 2016-01-07 富士機械製造株式会社 Electronic-component mounter
WO2018229989A1 (en) 2017-06-16 2018-12-20 株式会社Fuji Tape feeder and carrier tape loading method
JP2021150551A (en) 2020-03-23 2021-09-27 パナソニックIpマネジメント株式会社 Tape feeder and component mounting device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004165273A (en) 2002-11-11 2004-06-10 Fuji Mach Mfg Co Ltd Electronic circuit component supplying method, taped component code providing method and supplying system as well as mounting system of electronic circuit component
JP2013058511A (en) 2011-09-07 2013-03-28 Panasonic Corp Tape feeder and component mounting device
JP2014018885A (en) 2012-07-13 2014-02-03 Ngk Spark Plug Co Ltd Tube cutter and cutting method thereof
WO2016002029A1 (en) 2014-07-02 2016-01-07 富士機械製造株式会社 Electronic-component mounter
WO2018229989A1 (en) 2017-06-16 2018-12-20 株式会社Fuji Tape feeder and carrier tape loading method
JP2021150551A (en) 2020-03-23 2021-09-27 パナソニックIpマネジメント株式会社 Tape feeder and component mounting device

Also Published As

Publication number Publication date
JP2022140893A (en) 2022-09-29

Similar Documents

Publication Publication Date Title
EP2919573A2 (en) Method for detecting components in carrier tape, sensor module, splicing device, and component mounting device
US7894764B2 (en) Image forming apparatus
US7098441B2 (en) Photoelectric sensor
JPH0377922B2 (en)
JPH09222361A (en) Object color detection device and inspection device using the same
CN104519728A (en) Vibration feeds the component and detects it from below with the integrated camera
CA2454771C (en) A banknote detecting unit for a banknote distinguishing device
JP7589602B2 (en) Sensor Device
JP7655020B2 (en) Sensor Device
KR100338489B1 (en) Coin discriminating apparatus
US4756012A (en) Surface mounted device parts counter
EP0690288B1 (en) Method and device for thickness assessment
JP4072495B2 (en) Sheet detection device
US8395784B2 (en) Method of lead edge detection in an inkjet printer
JP2009167682A (en) Active object detection device with sensitivity adjustment
JP3085876B2 (en) Work imaging device
JP2000029516A (en) Guide sensor
KR20160064628A (en) Sensor Apparatus for Detection Position of PCB
JPH0749840Y2 (en) Lead clinch miss detector
KR950002682Y1 (en) VRC's tape end detector
JPH0514223Y2 (en)
WO2026053369A1 (en) Substrate conveyance device and inspection method
JP2584184Y2 (en) Parts supply device
JPS60228906A (en) Length measuring method and apparatus thereof
JP2017055107A (en) Feeding device of electronic component transfer tape

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20240116

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20241015

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20241016

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20241028

R150 Certificate of patent or registration of utility model

Ref document number: 7589602

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150