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
JP7417232B2 - optical keyboard - Google Patents
[go: Go Back, main page]

JP7417232B2 - optical keyboard - Google Patents

optical keyboard Download PDF

Info

Publication number
JP7417232B2
JP7417232B2 JP2020020232A JP2020020232A JP7417232B2 JP 7417232 B2 JP7417232 B2 JP 7417232B2 JP 2020020232 A JP2020020232 A JP 2020020232A JP 2020020232 A JP2020020232 A JP 2020020232A JP 7417232 B2 JP7417232 B2 JP 7417232B2
Authority
JP
Japan
Prior art keywords
protrusion
light
pixel
push button
pixel 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
JP2020020232A
Other languages
Japanese (ja)
Other versions
JP2021125156A (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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to JP2020020232A priority Critical patent/JP7417232B2/en
Publication of JP2021125156A publication Critical patent/JP2021125156A/en
Priority to JP2023217486A priority patent/JP7675414B2/en
Application granted granted Critical
Publication of JP7417232B2 publication Critical patent/JP7417232B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Input From Keyboards Or The Like (AREA)
  • Image Analysis (AREA)

Description

本発明は、キーボードに関する。 The present invention relates to a keyboard.

特許文献1には、光学式キーボードが記載されている。このキーボードはマトリクス状に配置された光路の行と桁の各交点にボタンを配し、ボタンが押下されたときに行および桁の光路のそれぞれ1つが遮蔽されるようにしている。遮蔽された行および桁を特定することで押下されたボタンを特定する。
特許文献2には、ボタン押下量を光学的に検出できるレリーズスイッチが記載されている。このレリーズスイッチでは複数の受光素子を有するラインセンサと面発光体とが貫通孔を有するステムを挟んで対向しており、ボタンの押下とともにステムが移動することで光源である面発光体の発する光が貫通孔を通って入射する受光素子が変化する。それを用いてボタンの押下量を検出する。
特許文献3には、ボタン押下量を光学的に検出できるスイッチが記載されている。このスイッチでは光源である発光素子からの指向性の高い光を反射板で反射させて受光素子群のいずれかの受光素子に入射させる。その反射板をボタンの押下とともに回動あるいは移動させることで押下量に応じて光が入射する受光素子が変化する。それを用いてボタンの押下量を検出する。
Patent Document 1 describes an optical keyboard. This keyboard has a button arranged at each intersection of a row and column of optical paths arranged in a matrix, so that when the button is pressed, one of the optical paths of each row and column is blocked. Identify the pressed button by identifying the occluded row and column.
Patent Document 2 describes a release switch that can optically detect the amount of button depression. In this release switch, a line sensor with multiple light-receiving elements and a surface light emitter face each other with a stem having a through hole in between, and when the button is pressed, the stem moves and the light source, the surface light emitter, emits light. The light-receiving element where the light enters through the through-hole changes. This is used to detect the amount of button presses.
Patent Document 3 describes a switch that can optically detect the amount of button depression. In this switch, highly directional light from a light emitting element, which is a light source, is reflected by a reflecting plate and is made to enter one of the light receiving elements in a group of light receiving elements. By rotating or moving the reflector as the button is pressed, the light-receiving element on which light enters changes depending on the amount of depression. This is used to detect the amount of button presses.

特開平07-306738号公報Japanese Patent Application Publication No. 07-306738 特開2010-192410号公報Japanese Patent Application Publication No. 2010-192410 特開2005-158586号公報Japanese Patent Application Publication No. 2005-158586

しかしながら、複数の押しボタンを備えるキーボードにおいて各押しボタンの押下量を検出しようとすると、特許文献2および特許文献3のスイッチでは各押しボタンに光源及び受光素子を個別に設けなければならず、高コストである。 However, when trying to detect the amount of depression of each push button on a keyboard equipped with multiple push buttons, the switches of Patent Documents 2 and 3 require a separate light source and light receiving element for each push button, resulting in high It's cost.

特許文献2および特許文献3と同等の機構を特許文献1のキーボードに適用して、光源および受光素子群を複数の押しボタンで集約しコストを削減し、かつ各押しボタンの押下量も検出可能とすることは机上論としては可能である。すなわち、特許文献1のキーボードにおいて、行と桁の光路の各交点に、特許文献2のステムすなわち遮光手段または特許文献3の反射板すなわち光反射手段を配置して、押しボタンの押下量に応じて変位させることにより光路に変化を与え、その変化を集約した受光素子群で検出できるように構成することは可能である。しかしながら、現実のキーボードでそのような構成とすることは少なくとも次の2つの問題点がある。 By applying the same mechanism as Patent Document 2 and Patent Document 3 to the keyboard of Patent Document 1, the light source and light-receiving element group are consolidated into multiple push buttons to reduce costs, and the amount of press on each push button can also be detected. It is theoretically possible to do so. That is, in the keyboard of Patent Document 1, the stem or light shielding means of Patent Document 2 or the reflecting plate or light reflecting means of Patent Document 3 is arranged at each intersection of the optical path of the row and digit, and the stem or light shielding means of Patent Document 3 is placed at each intersection of the optical path of the row and digit. It is possible to change the optical path by displacing the light receiving element, and to detect the change using a group of integrated light receiving elements. However, using such a configuration in an actual keyboard has at least the following two problems.

第1の問題点は、マトリクス状の光路を構成するために光反射手段(ミラー)を高精度にアライメント(位置関係及び配向の設定)する必要がある点である。特許文献1のキーボードでは行と桁のマトリクス状の複数の光路に1の光源からの光を時分割して送っているが、その光路を構成するために光反射手段を用いており、それらは光源からの光が受光素子に届くように精度良くアライメントされる必要がある。 The first problem is that in order to construct a matrix-like optical path, it is necessary to align the light reflecting means (mirrors) with high precision (setting the positional relationship and orientation). In the keyboard of Patent Document 1, light from one light source is sent in a time-divided manner to a plurality of optical paths in a matrix of rows and digits, but a light reflecting means is used to configure the optical paths, and they are It is necessary to accurately align the light from the light source so that it reaches the light receiving element.

第2の問題点は、光路を構成する光学要素のアライメント誤差が押しボタン押下量の検出を困難にすることである。
キーボードには押しボタンへの押下力などの外力が加わり、また、温度環境も一定の環境で用いられるとは限らないため、押しボタンや光源や受光素子群を支える構造、すなわちキーボードの筐体などの構造が外力や熱膨張により歪むことが大いに想定される。この歪みはすなわちアライメント誤差となり、光路に変化を与えるため、押下量の検出に誤差を与える、あるいは検出をできなくしてしまうことになる。
The second problem is that alignment errors in the optical elements that make up the optical path make it difficult to detect the amount by which the push button is pressed.
Keyboards are subject to external forces such as pressing force on push buttons, and the temperature environment is not always constant, so the structure that supports the push buttons, light source, and photodetector group, that is, the keyboard casing, etc. It is highly assumed that the structure of the structure will be distorted due to external force or thermal expansion. This distortion becomes an alignment error and changes the optical path, resulting in an error in detecting the amount of depression or inability to detect it.

本発明の第1の目的は、光反射手段のような光学要素を高精度にアライメントさせる必要があるマトリクス状の光路を用いることなく、集約した光源および集約した受光素子群により複数の押しボタンの押下量を光学的に検出可能な光学式キーボードを提供することである。 The first object of the present invention is to control the operation of multiple pushbuttons by using an integrated light source and an integrated light receiving element group, without using a matrix-like optical path that requires highly accurate alignment of optical elements such as light reflecting means. An object of the present invention is to provide an optical keyboard that can optically detect the amount of press.

本発明の第2の目的は、光源および受光素子群を複数の押しボタンで集約し、かつ、キーボードの筐体などの構造に歪みが生じても各押しボタンの押下量の検出を行うことができる光学式キーボードを提供することである。 A second object of the present invention is to integrate a light source and a group of light-receiving elements into a plurality of pushbuttons, and to detect the amount of depression of each pushbutton even if the structure of the keyboard casing or the like is distorted. Our goal is to provide an optical keyboard that can.

本発明の第1態様として、突出部を備える押しボタンと、前記押しボタンを前記突出部を孔から突出しうる態様で収納するパッケージとを備えるボタンモジュール、を備える光学式キーボードであり、前記押しボタンは複数であり、前記突出部の少なくとも一部と前記パッケージの外側の少なくとも一部との、光の散乱特性または蛍光の特性が異なり、前記押しボタンの押下量が大きいほど前記突出部の前記パッケージからの突出が大きくなる光学式キーボードが提供される。 A first aspect of the present invention is an optical keyboard comprising: a push button having a protrusion; and a package that houses the push button in a manner that allows the protrusion to protrude from a hole; are plural, and at least a portion of the protrusion and at least a portion of the outside of the package have different light scattering characteristics or fluorescence characteristics, and the larger the amount of depression of the push button, the more the protrusion is attached to the package. An optical keyboard is provided that has an increased protrusion from the optical keyboard.

この第1態様により、パッケージと突出部との光の散乱特性の違いまたは蛍光の特性の違いに基づいて、パッケージから突出した突出部を光学的に観測できるようになる。
また、各押しボタンの押下量をパッケージからの突出部の突出の大きさを観測することにより検出できるようになる。
また、突出部はパッケージから突出しているため、マトリクス状の光路を用いなくても、複数の押しボタンの突出部を1つの光源を用いて照射することや、複数の押しボタンの突出部からの散乱光または蛍光を1つの撮像素子を用いて観測することができるようになる。
すなわち、マトリクス状の光路を用いることなく、各押しボタンの押下量を集約した光源および集約した受光素子群により散乱光または蛍光により光学的に検出できるようになる。
According to this first aspect, it becomes possible to optically observe the protrusion protruding from the package based on the difference in light scattering characteristics or fluorescence characteristics between the package and the protrusion.
Furthermore, the amount of depression of each push button can be detected by observing the size of the protrusion of the protrusion from the package.
In addition, since the protrusions protrude from the package, it is possible to illuminate the protrusions of multiple push buttons with a single light source without using a matrix optical path, and to illuminate the protrusions of multiple push buttons with a single light source. Scattered light or fluorescence can now be observed using a single imaging device.
That is, without using a matrix optical path, it becomes possible to optically detect the amount of presses of each push button using a light source and a group of light receiving elements, using scattered light or fluorescence.

本発明の第2態様として、第1態様の光学式キーボードにおいて、前記押しボタンの押下量が無い場合でも前記突出部の一部が前記パッケージから突出している光学式キーボードが提供される。 As a second aspect of the present invention, there is provided an optical keyboard according to the first aspect, in which a portion of the protruding portion protrudes from the package even when the push button is not depressed.

この第2態様により、突出部が常にパッケージから突出しているため、突出部は常に光学的に観測できるようになる。このため、筐体の変形などの構造歪みが生じて突出部の相対位置が変化しても、その位置変化を継続的に追跡できるようになる。すなわち、筐体の変形などの構造歪みが生じても突出部を見失うことなく、また、他の押しボタンの突出部と取り違えることなく、押しボタンの押下量を散乱光または蛍光により光学的に検出できるようになる。 With this second aspect, the protrusion always protrudes from the package, so the protrusion can always be optically observed. Therefore, even if the relative position of the protrusion changes due to structural distortion such as deformation of the casing, the change in position can be continuously tracked. In other words, even if structural distortion occurs such as deformation of the housing, the amount of press on a push button can be optically detected using scattered light or fluorescence without losing sight of the protrusion or mistaking it for the protrusion of another push button. become able to.

本発明の第3態様として、第1態様または第2態様の光学式キーボードにおいて、前記突出部の少なくとも一部と前記パッケージの外側の少なくとも一部とが光の反射を抑制する表面を備える光学式キーボードが提供される。 As a third aspect of the present invention, in the optical keyboard according to the first aspect or the second aspect, at least a part of the protrusion and at least a part of the outside of the package have a surface that suppresses reflection of light. A keyboard is provided.

この第3態様により、突出部またはパッケージからの反射光に影響されることなく押しボタンの押下量を散乱光または蛍光により光学的に検出できるようになる。 With this third aspect, it becomes possible to optically detect the amount of press on the push button using scattered light or fluorescence without being affected by reflected light from the protrusion or the package.

本発明の第4態様として、第1態様乃至第3態様のいずれかの光学式キーボードにおいて、複数の前記突出部およびその周囲を照射する指向性を備える光源と、受光面を備える撮像素子と、複数の前記突出部のそれぞれの少なくとも一部が発する散乱光または蛍光を前記受光面に結像させる結像素子とを備える光学式キーボードが提供される。 As a fourth aspect of the present invention, in the optical keyboard according to any one of the first to third aspects, a light source having directionality that illuminates a plurality of the protrusions and their surroundings, and an image sensor having a light receiving surface, An optical keyboard is provided that includes an imaging element that images scattered light or fluorescence emitted by at least a portion of each of the plurality of protrusions onto the light receiving surface.

この第4態様により、突出部が発する散乱光または蛍光を結像素子で撮像素子の受光面に結像させることができるため、撮像素子の出力する画像データを用いて、突出部とその他の部分との光の散乱特性の違いまたは蛍光の特性の違いに基づいて、突出部を観測できるようになる。 According to this fourth aspect, the scattered light or fluorescence emitted by the protrusion can be imaged by the imaging element on the light-receiving surface of the image sensor. Protrusions can be observed based on differences in light scattering properties or fluorescence properties.

本発明の第5態様として、第1態様乃至第4態様のいずれかの光学式キーボードにおいて、プロセサとメモリとを備え、前記プロセサは、前記メモリの記憶する画像データのピクセルであり、かつ、ピクセル値が前記メモリの記憶する基準ピクセル値と既定関係であるピクセルであり、かつ、前記メモリの記憶する基準座標の近隣であるピクセル、を要素とするピクセル集合の計量値に基づいて押下量を算出する光学式キーボードが提供される。 As a fifth aspect of the present invention, the optical keyboard according to any one of the first to fourth aspects includes a processor and a memory, and the processor is a pixel of image data stored in the memory, and Calculate the amount of press based on the metric value of a pixel set whose elements are pixels whose values have a predetermined relationship with the reference pixel value stored in the memory, and pixels that are adjacent to the reference coordinates stored in the memory. An optical keyboard is provided.

この第5態様により、プロセサが画像データを解析し、突出部に対応するピクセル集合の計量値に基づいて押下量を算出できるようになる。
ここで基準座標は特定の押しボタンの突出部に対応するピクセルであることが分かっているピクセルの画像データ上での座標であり、基準ピクセル値は画像データ上の突出部に対応するピクセルに特徴的なピクセル値であり、ピクセル値が基準ピクセル値と既定関係であるピクセルは、すなわち突出部に対応するピクセルであるとみなすことができる。
したがって、ピクセル値が基準ピクセル値と既定関係であるピクセルであり、かつ、基準座標の近隣であるピクセルを要素とするピクセル集合とは、基準座標で定まる特定の押しボタンの突出部に対応するピクセルの集合である。その集合の計量値は押しボタンの押下量が大きく突出部の突出が大きいほど大きくなるため、それに基づいて押下量が算出できるのである。
This fifth aspect allows the processor to analyze the image data and calculate the amount of press based on the metric value of the pixel set corresponding to the protrusion.
Here, the reference coordinates are the coordinates on the image data of a pixel that is known to correspond to the protrusion of a particular push button, and the reference pixel value is the coordinate on the image data of the pixel that corresponds to the protrusion on the image data. A pixel whose pixel value has a predetermined relationship with the reference pixel value can be considered to be a pixel corresponding to a protrusion.
Therefore, a pixel set whose elements are pixels whose pixel values have a predetermined relationship with the reference pixel value and which are neighboring pixels to the reference coordinates is a pixel set whose elements correspond to the protrusion of a specific push button determined by the reference coordinates. is a set of The metric value of the set increases as the amount of depression of the push button increases and the protrusion of the protrusion increases, so the amount of depression can be calculated based on it.

本発明の第6態様として、第5態様の光学式キーボードにおいて、前記プロセサは、前記基準座標のピクセルのピクセル値が前記基準ピクセル値と既定関係でない場合には前記画像データの前記基準座標の近傍でピクセル値が前記基準ピクセル値と既定関係であるようなピクセルを探し、その座標を新たな基準座標として前記メモリに書き込む光学式キーボードが提供される。 As a sixth aspect of the present invention, in the optical keyboard of the fifth aspect, when the pixel value of the pixel at the reference coordinates does not have a predetermined relationship with the reference pixel value, the processor An optical keyboard is provided that searches for a pixel whose pixel value is in a predetermined relationship with the reference pixel value and writes its coordinates into the memory as new reference coordinates.

この第6態様により、筐体の変形などの構造歪みが生じて突出部の相対位置が変化することで画像データにおける突出部に対応するピクセルが基準座標から移動してしまった場合でも、突出部に対応するピクセルを基準座標の近傍で探してその座標を新たな基準座標として設定し直して、引き続き押下量を検出できるようになる。 With this sixth aspect, even if a pixel corresponding to the protrusion in the image data moves from the reference coordinates due to structural distortion such as deformation of the casing and the relative position of the protrusion changes, the protrusion By searching for a pixel corresponding to the reference coordinates near the reference coordinates and resetting those coordinates as the new reference coordinates, it becomes possible to continue detecting the amount of press.

本発明により、光学要素を高精度にアライメントさせる必要があるマトリクス状の光路を用いることなく、集約した光源および集約した受光素子群により複数の押しボタンの押下量を光学的に検出可能な光学式キーボードを提供することができる。 According to the present invention, an optical system that can optically detect the amount of depression of multiple push buttons using a group of integrated light sources and a group of light receiving elements, without using a matrix-like optical path that requires highly accurate alignment of optical elements. A keyboard can be provided.

また、本発明により、光源および受光素子群を複数の押しボタンで集約し、かつ、キーボードの筐体などの構造に歪みが生じても各押しボタンの押下量の検出を行うことができる光学式キーボードを提供することができる。 In addition, according to the present invention, an optical system that integrates a light source and a group of light-receiving elements into a plurality of push buttons and can detect the amount of depression of each push button even if a structure such as a keyboard casing is distorted. A keyboard can be provided.

本発明に係る光学式キーボード1の外観を説明する等角投影図である。1 is an isometric view illustrating the appearance of an optical keyboard 1 according to the present invention. FIG. 本発明に係る光学式キーボード1の上面を説明する平面図である。FIG. 2 is a plan view illustrating the top surface of the optical keyboard 1 according to the present invention. 図2におけるA-A線断面図である。FIG. 3 is a cross-sectional view taken along line A-A in FIG. 2. 図2におけるB-B線断面図である。FIG. 3 is a sectional view taken along line BB in FIG. 2. 情報処理部30の構成を説明するブロック図である。3 is a block diagram illustrating the configuration of an information processing section 30. FIG. テーブル34のデータの一例を示す図である。FIG. 3 is a diagram showing an example of data in a table 34. 画像データの具体例を示す図である。FIG. 3 is a diagram showing a specific example of image data. 撮像素子22から画像データを受けたときのプロセサ31の動作を説明するフローチャートである。3 is a flowchart illustrating the operation of the processor 31 when receiving image data from the image sensor 22. FIG. 画像データの具体例を示す図である。FIG. 3 is a diagram showing a specific example of image data.

以下、添付図面を参照して本発明の実施形態について説明する。ただし、第2実施形態において、第1実施形態と同一又は類似の構成要素は、第1実施形態と同一又は類似の符号で表し、詳細な説明を適宜省略する。また、第2実施形態において得られる効果について、第1実施形態と同様のものについては説明を適宜省略する。各実施形態の図面は例示であり、各部の寸法や形状は模式的なものであり、本願発明の技術的範囲を実施形態に限定して解するべきではない。 Embodiments of the present invention will be described below with reference to the accompanying drawings. However, in the second embodiment, components that are the same or similar to those in the first embodiment are represented by the same or similar symbols as in the first embodiment, and detailed explanations are omitted as appropriate. Further, regarding the effects obtained in the second embodiment, descriptions of those similar to those in the first embodiment will be omitted as appropriate. The drawings of each embodiment are illustrative, and the dimensions and shapes of each part are schematic, and the technical scope of the present invention should not be interpreted as being limited to the embodiments.

<第1実施形態>
本発明の第1実施形態による光学式キーボード1を図面を参照して詳細に説明する。
図1は光学式キーボード1の外観を説明する等角投影図、図2は同上面を説明する平面図、図3はA-A線断面図、である。
光学式キーボード1は、上面パネル4を有する筐体2と、1つ以上のボタンモジュール10と、押下量検出モジュール20と、光源3とを備える。
<First embodiment>
An optical keyboard 1 according to a first embodiment of the present invention will be described in detail with reference to the drawings.
FIG. 1 is an isometric view illustrating the external appearance of the optical keyboard 1, FIG. 2 is a plan view illustrating the top surface thereof, and FIG. 3 is a sectional view taken along line AA.
The optical keyboard 1 includes a housing 2 having a top panel 4, one or more button modules 10, a press amount detection module 20, and a light source 3.

光源3は筐体2の内部に光を照射する光源である。押下量検出モジュール20は光源3からの光が押しボタン11の突出部115を照射することにより得られる突出部115からの散乱光を捉えるため、光源3は複数の、好ましくはすべての押しボタン11の突出部115を、好ましくは突出部115の周囲を含めて、同時に照射するような指向性を備え、押下量検出モジュール20が押下量の検出に用いる波長帯域を含む光を発することが必要である。
光源3の位置および指向性であるが、背景技術のような反射や遮光により光路を制御する方法では光源の位置や指向性を精度良く定める必要があるが、本実施形態においては突出部115からの散乱光が押下量検出モジュール20に届けばよいので、十分に広角な指向性ですべての押しボタン11の突出部115を照射することができさえするならば、光源3の位置や照射方向は比較的自由に定めることができる。
光源3は時間的に連続して光を発しても良いが、撮像素子22が画像データを生成するに必要な受光を行う期間のみ発するよう制御しても良い。
The light source 3 is a light source that irradiates the inside of the housing 2 with light. The push amount detection module 20 captures the scattered light from the protrusion 115 obtained when the light from the light source 3 illuminates the protrusion 115 of the push button 11. It is necessary to have a directivity that simultaneously illuminates the protrusion 115, preferably including the surrounding area of the protrusion 115, and to emit light that includes a wavelength band used by the press amount detection module 20 to detect the press amount. be.
Regarding the position and directivity of the light source 3, in the method of controlling the optical path by reflection or shading as in the background art, it is necessary to accurately determine the position and directivity of the light source, but in this embodiment, from the protrusion 115 It is only necessary for the scattered light of It can be determined relatively freely.
The light source 3 may emit light temporally continuously, but it may also be controlled to emit light only during a period when the image sensor 22 receives light necessary to generate image data.

筐体2はその上面パネル4にボタンモジュール10が挿入される開口部5を1つ以上備える。
筐体2は遮光性が高いことが好ましい。これは、押下量検出モジュール20に筐体2の外部からの光(環境光)が入射して押下量検出処理に影響することを防ぐためである。
筐体2の内面の少なくとも一部については、光の反射を抑制する表面を備えることが好ましい。あるいは、光源3からの照射光の反射を抑制する表面を備えることが好ましい。これは、筐体2の内面による光源3からの照射光の散乱光に加えて反射光までもが押下量検出モジュール20に入射することで押下量検出処理に影響することを防ぐためである。例としては、反射防止コーティングや、粗面仕上げの表面加工を施すことが好ましい。
The housing 2 has one or more openings 5 in its top panel 4 into which the button module 10 is inserted.
It is preferable that the housing 2 has high light-shielding properties. This is to prevent light (environmental light) from outside the housing 2 from entering the press amount detection module 20 and affecting the press amount detection process.
At least a portion of the inner surface of the housing 2 is preferably provided with a surface that suppresses reflection of light. Alternatively, it is preferable to include a surface that suppresses reflection of the irradiated light from the light source 3. This is to prevent reflected light in addition to the scattered light of the light irradiated from the light source 3 by the inner surface of the casing 2 from entering the press amount detection module 20 and affecting the press amount detection process. For example, it is preferable to apply an anti-reflection coating or a rough surface finish.

ボタンモジュール10は押しボタン11とパッケージ12と弾性体13とを備え、筐体2の開口部5に挿入されて用いられる。 The button module 10 includes a push button 11, a package 12, and an elastic body 13, and is used by being inserted into the opening 5 of the housing 2.

押しボタン11は押下部111と上限ストッパ部112と反力印加部113と下限ストッパ部114と突出部115とを有する。
押下部111はパッケージ12の上面部121の孔から突出しうる部分である。押下部111はキーボード操作者からの押下力を直接受けても良い。あるいは、押下部111の上に図示しないキーキャップを設置し、そのキーキャップを通じて間接的に押下力を受けても良い。
上限ストッパ部112はパッケージ12と干渉することで押しボタン11が最も上昇した状態を規定する部分である。
反力印加部113は弾性体13と接する部分であり、弾性体13からの弾性力を押しボタン11に伝達する。
下限ストッパ部114はパッケージ12と干渉することで押しボタン11が最も下降した状態を規定する部分である。
The push button 11 has a push part 111, an upper limit stopper part 112, a reaction force applying part 113, a lower limit stopper part 114, and a protruding part 115.
The push-down portion 111 is a portion that can protrude from the hole in the upper surface portion 121 of the package 12. The pressing portion 111 may directly receive pressing force from a keyboard operator. Alternatively, a keycap (not shown) may be placed above the pressing part 111, and the pressing force may be indirectly received through the keycap.
The upper limit stopper portion 112 is a portion that interferes with the package 12 to define the state in which the push button 11 is raised the most.
The reaction force applying section 113 is a part that comes into contact with the elastic body 13 and transmits the elastic force from the elastic body 13 to the push button 11.
The lower limit stopper portion 114 is a portion that interferes with the package 12 to define the lowest state of the push button 11.

突出部115は押しボタン11の押下に伴いパッケージ12の下面部123の孔からパッケージ12の外部に突出しうる部分である。押下部111に押下力が与えられて押しボタン11が押し下げられる量(押下量)が大きくなるほど、突出部115のパッケージ12外部への突出が大きくなることが好ましい。 The protruding portion 115 is a portion that can protrude to the outside of the package 12 from a hole in the lower surface portion 123 of the package 12 when the push button 11 is pressed. It is preferable that the larger the amount by which the pushbutton 11 is pressed down by applying a pressing force to the pressing part 111 (the amount of pressing), the larger the protrusion of the protruding part 115 to the outside of the package 12 becomes.

突出部115の少なくとも一部については押しボタン11の押下量が無い、すなわち押下されておらず押しボタン11が最も上昇した状態のときでもパッケージ12の外部に突出していることが好ましい。 It is preferable that at least a portion of the protruding portion 115 protrudes to the outside of the package 12 even when the push button 11 is not depressed, that is, is not depressed and the push button 11 is in the highest raised state.

突出部115の少なくとも一部については光の反射を抑制する表面を備えることが好ましい。あるいは、光源3からの照射光の反射を抑制する表面を備えることが好ましい。これは、突出部115による光源3からの照射光の散乱光に加えて反射光までもが押下量検出モジュール20に入射することで押下量検出処理に影響することを防ぐためである。例としては、反射防止コーティングや、粗面仕上げの表面加工を施すことが好ましい。 Preferably, at least a portion of the protrusion 115 has a surface that suppresses reflection of light. Alternatively, it is preferable to include a surface that suppresses reflection of the irradiated light from the light source 3. This is to prevent reflected light in addition to the scattered light of the light irradiated from the light source 3 by the protrusion 115 from entering the press amount detection module 20 and thereby affecting the press amount detection process. For example, it is preferable to apply an anti-reflection coating or a rough surface finish.

突出部115の少なくとも一部については、筐体2の内側およびパッケージ12の筐体2の内部に露出する外側部分のどちらとも光源3の発する光の波長帯域における光の散乱特性が異なるようにする必要がある。これは、撮像素子22の出力する画像データにおいて、突出部115からの散乱光と、それ以外からの散乱光とをピクセル値の違いとして明瞭に区別できるようにするためである。光の散乱特性が異なる度合いとしてはすなわち、撮像素子22の出力する画像データ上で明瞭に区別できる程度に異なることが好ましい。
光源3の波長帯域が可視光の場合の例としては、突出部115を白色とし、筐体2の内側およびパッケージ12の外側を黒色としても良い。また、その逆に突出部115を黒色とし、筐体2の内側およびパッケージ12の外側を白色としても良い。
そのほか、突出部115の色を任意に定めて、その色とは明度、彩度、色相のうちの1つ以上が大きく異なる(すなわち画像データ上で明瞭に区別できる)色を1色以上選択して、筐体2の内側およびパッケージ12の外側に用いても良い。光源3が可視光以外の波長帯域の場合は、突出部115と、筐体2の内側およびパッケージ12の外側とを当該波長帯域での散乱特性が異なるようにしても良い。
At least a portion of the protruding portion 115 is configured to have different light scattering characteristics in the wavelength band of light emitted by the light source 3 from both the inside of the casing 2 and the outside portion of the package 12 exposed inside the casing 2. There is a need. This is so that in the image data output by the image sensor 22, scattered light from the protrusion 115 and scattered light from other sources can be clearly distinguished as differences in pixel values. In other words, it is preferable that the degree of difference in the light scattering characteristics is such that it can be clearly distinguished on the image data output by the image sensor 22.
For example, when the wavelength band of the light source 3 is visible light, the protrusion 115 may be white, and the inside of the casing 2 and the outside of the package 12 may be black. Alternatively, the protrusion 115 may be made black, and the inside of the casing 2 and the outside of the package 12 may be made white.
In addition, the color of the protruding portion 115 is arbitrarily determined, and one or more colors that are significantly different from the predetermined color in one or more of brightness, saturation, and hue (that is, can be clearly distinguished on the image data) are selected. Therefore, it may be used inside the casing 2 and outside the package 12. When the light source 3 uses a wavelength band other than visible light, the protrusion 115, the inside of the casing 2, and the outside of the package 12 may have different scattering characteristics in the wavelength band.

そのほかの散乱特性の変え方として、偏光が異なるようにしても良い。例えば、突出部115からの散乱光は垂直方向の偏光となるようにし、筐体2の内側およびパッケージ12の外側からの散乱光が水平方向の偏光となるようにしても良い。散乱光を偏光させる方法としては、例えば突出部115などの表面を膜状の偏光フィルタで覆っても良い。 Another way to change the scattering characteristics is to change the polarization. For example, the scattered light from the protrusion 115 may be vertically polarized, and the scattered light from the inside of the casing 2 and the outside of the package 12 may be horizontally polarized. As a method for polarizing the scattered light, for example, the surface of the protrusion 115 may be covered with a film-like polarizing filter.

パッケージ12は上面部121と側面部122と下面部123とを有し、押しボタン11をその一部が外部に突出し、かつ上下動が可能なように収容するとともに、弾性体13を収容する。
上面部121には孔が開いており、押しボタン11の押下部111がその孔から突出する。上面部121はまた筐体2の上面パネル4と当接することでボタンモジュール10を開口部5に挿入する際のストッパとなるとともに、押しボタン11への押下力を筐体2に伝達する部分である。
側面部122は係止片124を有し、開口部5に挿入されたボタンモジュール10が外れないよう係止する。
下面部123には孔が開いており、押しボタン11の突出部115がその孔から突出する。下面部123はまた弾性体13と当接し支持することで弾性体13を経由し押しボタン11の押下時の反力を押しボタン11に与える。
The package 12 has an upper surface section 121, a side surface section 122, and a lower surface section 123, and accommodates the push button 11 so that a portion of the push button 11 projects outside and is movable up and down, and also accommodates the elastic body 13.
A hole is opened in the upper surface part 121, and the push part 111 of the push button 11 protrudes from the hole. The upper surface portion 121 also serves as a stopper when the button module 10 is inserted into the opening 5 by coming into contact with the upper surface panel 4 of the housing 2, and is also a portion that transmits the pressing force to the push button 11 to the housing 2. be.
The side portion 122 has a locking piece 124, which locks the button module 10 inserted into the opening 5 so that it does not come off.
A hole is formed in the lower surface portion 123, and the protruding portion 115 of the push button 11 protrudes from the hole. The lower surface portion 123 also contacts and supports the elastic body 13, thereby applying a reaction force to the push button 11 when the push button 11 is pressed down via the elastic body 13.

パッケージ12は、光学式キーボード1の外部の環境光がボタンモジュール10を経由して筐体2の内部に侵入し押下量検出モジュール20による押下量検出処理に影響するのを防ぐために、遮光性が高いことが好ましい。このため、押しボタン11が突出する上下の孔以外は隙間を最小限に全面的に覆うような形状であることが好ましい。また、遮光性の高い材質を用いて構成されることが好ましい。
また、突出部115と同様の理由により、パッケージ12の筐体2の内部に露出する外側部分の少なくとも一部については光の反射を抑制する表面を備えることが好ましい。あるいは、光源3からの照射光の反射を抑制する表面を備えることが好ましい。
The package 12 has light-shielding properties to prevent ambient light from outside the optical keyboard 1 from entering the housing 2 via the button module 10 and affecting the press amount detection processing by the press amount detection module 20. Preferably high. For this reason, it is preferable that the shape is such that the entire surface is covered with minimal gaps except for the upper and lower holes through which the push button 11 projects. Further, it is preferable to use a material with high light-shielding properties.
Further, for the same reason as the protrusion 115, it is preferable that at least a portion of the outer portion of the package 12 exposed inside the housing 2 has a surface that suppresses reflection of light. Alternatively, it is preferable to include a surface that suppresses reflection of the irradiated light from the light source 3.

弾性体13は押しボタン11およびパッケージ12に当接し、押しボタン11の押下量に応じた弾性復元力を押下力に対する反力として押しボタン11に与える。弾性体13としてはコイルスプリングやゴムを用いても良い。また、マグネットなど磁力を用いて同等の働きをさせても良い。 The elastic body 13 contacts the push button 11 and the package 12, and applies an elastic restoring force to the push button 11 according to the amount of push of the push button 11 as a reaction force against the push force. As the elastic body 13, a coil spring or rubber may be used. Alternatively, magnetic force such as a magnet may be used to perform the same function.

なお、図面では1つのボタンモジュール10は1つのパッケージ12に1つの押しボタン11および1つの弾性体13を収容するよう示しているが、1つのパッケージ12に複数の押しボタン11および複数の弾性体13を収容するよう構成しても良い。 Note that although the drawing shows that one button module 10 accommodates one push button 11 and one elastic body 13 in one package 12, it is possible to accommodate a plurality of push buttons 11 and a plurality of elastic bodies in one package 12. It may be configured to accommodate 13.

次に、図4を参照して押下量検出モジュール20について説明する。図4は光学式キーボード1のB-B線断面図である。押下量検出モジュール20は、結像素子21と撮像素子22と情報処理部30とを備える。 Next, the press amount detection module 20 will be explained with reference to FIG. FIG. 4 is a sectional view of the optical keyboard 1 taken along the line B-B. The press amount detection module 20 includes an imaging element 21, an imaging element 22, and an information processing section 30.

結像素子21は、筐体2内部に存在するもの、すなわち筐体2の内面やボタンモジュール10などの少なくとも一部が発する散乱光を、受光面23に結像させる光学素子である。結像素子21は、複数の突出部115のそれぞれの少なくとも一部からの光を受光面23に結像させる必要がある。結像素子21は、筐体2内部の1点からの光は受光面23上の略同一の場所に届き、筐体2内部の充分離れた2点からの光は受光面23上の互いに離れた場所に届くようなものであることが好ましい。結像素子21としてはレンズやピンホールや凹面鏡を用いても良い。 The imaging element 21 is an optical element that images scattered light emitted by at least a portion of what is inside the housing 2, such as the inner surface of the housing 2 or the button module 10, on the light receiving surface 23. The imaging element 21 needs to image the light from at least a portion of each of the plurality of protrusions 115 on the light receiving surface 23. In the imaging element 21, light from one point inside the housing 2 reaches approximately the same location on the light-receiving surface 23, and light from two sufficiently distant points inside the housing 2 reaches substantially the same location on the light-receiving surface 23. It is preferable that it be something that can be delivered to the desired location. As the imaging element 21, a lens, a pinhole, or a concave mirror may be used.

撮像素子22は入射する光を受光する受光面23を有し、受光面23上における入射光の強度分布に対応する画像データを出力する素子である。撮像素子22は入射光を受光してその強度分布に対応する画像データを出力する動作を繰り返す。その繰り返しの時間周期は一定であっても良いが、例えば画像データの変化度合いに応じて周期を変えても良い。撮像素子22としては電荷結合素子(CCD)イメージセンサやCMOSイメージセンサを用いても良い。
画像データは受光面23の微小領域に対応するピクセルごとの値の集合を含むよう構成されており、ピクセルの値はそのピクセルが対応する受光面23の微小領域の受光強度に対応する。ピクセルの値としては単一波長帯域の受光強度を表すスカラ値でも良いし、複数の波長帯域それぞれの受光強度を束ねたベクタ値でも良い。
受光面23の前には受光面23に入射する光の一部を弱めるフィルタ24を備えても良い。フィルタ24は例えば受光面23に入射する光の一部の波長帯域を弱めても良い。また、受光面23に入射する光の一部の偏光を弱めても良い。
The image sensor 22 has a light receiving surface 23 that receives incident light, and is an element that outputs image data corresponding to the intensity distribution of the incident light on the light receiving surface 23. The image sensor 22 repeatedly receives incident light and outputs image data corresponding to its intensity distribution. The time period of the repetition may be constant, but the period may be changed depending on the degree of change in the image data, for example. As the image sensor 22, a charge coupled device (CCD) image sensor or a CMOS image sensor may be used.
The image data is configured to include a set of values for each pixel corresponding to a minute area on the light receiving surface 23, and the value of a pixel corresponds to the received light intensity of the minute area on the light receiving surface 23 to which that pixel corresponds. The pixel value may be a scalar value representing the received light intensity of a single wavelength band, or a vector value that bundles the received light intensity of each of a plurality of wavelength bands.
A filter 24 may be provided in front of the light receiving surface 23 to weaken part of the light incident on the light receiving surface 23. The filter 24 may weaken a part of the wavelength band of the light incident on the light receiving surface 23, for example. Further, the polarization of a part of the light incident on the light receiving surface 23 may be weakened.

情報処理部30については図5を参照して説明する。図5は情報処理部30の構成を説明するブロック図である。情報処理部30はプログラム33に従ってデータを処理するプロセサ31と、プログラム33を読み出し可能に記憶し、テーブル34等のデータを読み書き可能に記憶するメモリ32とを備える。プログラム33はプロセサ31の動作を制御して、撮像素子22が生成した画像データを受けて押しボタン11の押下量を検出する押下量検出処理をプロセサ31に行わせる。 The information processing section 30 will be explained with reference to FIG. FIG. 5 is a block diagram illustrating the configuration of the information processing section 30. The information processing unit 30 includes a processor 31 that processes data according to a program 33, and a memory 32 that stores the program 33 in a readable manner and stores data such as a table 34 in a readable and writable manner. The program 33 controls the operation of the processor 31 and causes the processor 31 to perform a press amount detection process of detecting the press amount of the push button 11 in response to the image data generated by the image sensor 22.

プロセサ31による押下量検出処理を説明するに先立って、その部分処理である、評価値算出処理について説明する。評価値算出処理は、画像データと基準座標と基準ピクセル値の入力から評価値を出力する処理である。より具体的には、入力の画像データにおいてピクセル値が入力の基準ピクセル値と既定関係であるピクセルであり、かつ、入力の基準座標の近隣であるピクセル、を要素とするピクセル集合について、その集合の計量値を算出して評価値として出力する処理である。
この評価値は、入力される画像データが、押しボタン11の押下量がより大きい時のそれであるほどより大きくなる値となることを想定している。すなわち、押しボタン11の押下量がより大きくなると、突出部115のパッケージ12からの突出がより大きくなるため、突出部115からの散乱光を結像素子21を通して受ける受光面23の面積もより大きくなり、その時に撮像素子22が出力する画像データもより多くのピクセルにおいて突出部115からの散乱光に特有のピクセル値を示すことになる。評価値算出処理はそれを捉えてより大きい評価値を出力すれば良い。
Before explaining the press amount detection process by the processor 31, the evaluation value calculation process, which is a partial process thereof, will be explained. The evaluation value calculation process is a process of outputting an evaluation value from input of image data, reference coordinates, and reference pixel values. More specifically, for a pixel set whose elements are pixels whose pixel values have a predetermined relationship with the input reference pixel value in the input image data, and pixels that are neighboring to the input reference coordinates, the set is This is the process of calculating the measured value of and outputting it as an evaluation value.
It is assumed that this evaluation value becomes a larger value as the input image data corresponds to a larger pressing amount of the push button 11. That is, as the amount of depression of the push button 11 increases, the protrusion of the protrusion 115 from the package 12 becomes larger, so the area of the light receiving surface 23 that receives the scattered light from the protrusion 115 through the imaging element 21 also becomes larger. Therefore, the image data output by the image sensor 22 at that time also shows pixel values specific to the scattered light from the protrusion 115 in more pixels. The evaluation value calculation process should just capture this and output a larger evaluation value.

評価値算出処理の入力である基準座標と基準ピクセル値は、光学式キーボード1の備える複数の押しボタン11それぞれに固有の値である。基準座標は、特定の押しボタン11の突出部115からの散乱光に特有のピクセル値が現れる画像データにおける座標であり、基準ピクセル値はその特有のピクセル値である。 The reference coordinates and reference pixel values that are input to the evaluation value calculation process are values unique to each of the plurality of push buttons 11 provided on the optical keyboard 1. The reference coordinates are the coordinates in the image data where a specific pixel value appears in the scattered light from the protrusion 115 of a particular push button 11, and the reference pixel value is that specific pixel value.

評価値算出処理において、基準ピクセル値と既定関係であるとは、あるピクセル値について、それが基準ピクセル値と比較してあらかじめ定めた関係を満たす、ということである。ピクセル値がスカラ値の場合の例としては、基準ピクセル値と一定誤差範囲内で一致する、としてもよい。また、基準ピクセル値より大きい、としてもよい。また、基準ピクセル値より小さい、としてもよい。ピクセル値がベクタ値の場合は、ノルムによりスカラ化してその誤差範囲内の一致や大小関係としてもよいし、既定ベクタとのスカラ積によりスカラ化してその誤差範囲内の一致や大小関係としてもよい。 In the evaluation value calculation process, a predetermined relationship with a reference pixel value means that a certain pixel value satisfies a predetermined relationship when compared with the reference pixel value. For example, when the pixel value is a scalar value, it may match the reference pixel value within a certain error range. Alternatively, the pixel value may be greater than the reference pixel value. Alternatively, it may be smaller than the reference pixel value. If the pixel value is a vector value, it may be converted into a scalar using a norm and used as a match or a magnitude relationship within that error range, or it may be converted into a scalar using a scalar product with a predetermined vector and used as a match or a size relationship within that error range. .

評価値算出処理において、基準座標の近隣であるピクセルとは、一例としては、基準座標からの距離が既定値以内の座標のピクセルを基準座標近隣であるとしても良い。別の例としては、基準座標のピクセルから出発して、ピクセル値が基準ピクセル値と既定関係であるピクセルだけを経由してたどり着けるピクセルを基準座標の近隣であるとしても良い。基準座標のピクセル自身を含めても良い。 In the evaluation value calculation process, pixels that are near the reference coordinates may be, for example, pixels whose coordinates are within a predetermined distance from the reference coordinates. As another example, pixels that can be reached starting from a pixel at the reference coordinates only through pixels whose pixel values have a predetermined relationship with the reference pixel values may be defined as neighbors of the reference coordinates. The reference coordinate pixel itself may also be included.

評価値算出処理において、ピクセル集合の計量値とは、一例としては、当該集合に含まれるピクセルの数としても良い。別の例としては、当該集合に含まれる任意の2ピクセルのピクセル間距離の最大のものとしても良い。 In the evaluation value calculation process, the metric value of a pixel set may be, for example, the number of pixels included in the set. As another example, it may be the maximum distance between any two pixels included in the set.

次に、図6を参照してメモリ32の記憶するテーブル34について説明する。テーブル34は、基準座標と、基準ピクセル値と、最小値と、最大値と、コードとを含む押しボタンデータを1つ以上有するデータである。テーブル34のデータ構造およびデータの一例を図6に示す。図6の例では表形式のデータ構造となっており、押しボタンデータの基準座標、基準ピクセル値、最小値、最大値、コードがそれぞれ表の列として表現され、4つの押しボタンデータがそれぞれ表の行として表現されている。 Next, the table 34 stored in the memory 32 will be explained with reference to FIG. The table 34 is data having one or more push button data including reference coordinates, reference pixel values, minimum values, maximum values, and codes. An example of the data structure and data of the table 34 is shown in FIG. In the example shown in Figure 6, the data structure is in a tabular format, and the standard coordinates, standard pixel value, minimum value, maximum value, and code of the push button data are each expressed as columns in the table, and each of the four push button data is represented in the table. It is expressed as a line.

押しボタンデータは特定の押しボタン11について、当該押しボタン11が押下されていない時の画像データと、当該押しボタン11が最大に押下されている時の画像データとを用いて、次のように求められるデータである。
基準座標は、当該押しボタン11が押下されていない時の画像データにおいて突出部115からの散乱光を捉えたピクセルの座標である。当該ピクセルが複数ある場合には、その中の1つのピクセルの座標を用いるものとする。
基準ピクセル値は、当該押しボタン11が押下されていない時の画像データにおける前記基準座標のピクセルのピクセル値である。
最小値は、前述の評価値算出処理に、当該押しボタン11が押下されていない時の画像データと、前記基準座標と、前記基準ピクセル値とを入力して算出した評価値である。
最大値は、前述の評価値算出処理に、当該押しボタン11が最大に押下されている時の画像データと前記基準座標と、前記基準ピクセル値とを入力して算出した評価値である。
コードは、当該押しボタン11固有に割り当てられた数字あるいは文字列である。
The push button data is as follows for a specific push button 11, using image data when the push button 11 is not pressed and image data when the push button 11 is pressed to the maximum. This is required data.
The reference coordinates are the coordinates of a pixel that captures the scattered light from the protrusion 115 in the image data when the push button 11 is not pressed. If there are multiple pixels, the coordinates of one of them shall be used.
The reference pixel value is the pixel value of the pixel at the reference coordinates in the image data when the push button 11 is not pressed.
The minimum value is an evaluation value calculated by inputting the image data when the push button 11 is not pressed, the reference coordinates, and the reference pixel value into the evaluation value calculation process described above.
The maximum value is an evaluation value calculated by inputting the image data when the push button 11 is pressed to the maximum, the reference coordinates, and the reference pixel value into the evaluation value calculation process described above.
The code is a number or character string uniquely assigned to the push button 11.

具体例を用いて基準座標、基準ピクセル値、最小値と最大値の関係を説明する。図7は画像データの例を表現した図である。図7(a)は押しボタン11が押下されていない時の画像データの例、図7(b)は押しボタン11が最大に押下されている時の画像データの例である。横軸(X軸)方向に10升、縦軸(Y軸)方向に10升の格子の各升はピクセルを表しており、升の中の値はピクセル値を表している。ピクセル値はこの例ではスカラ値を用いているが、RGB値のようなベクタ値でも良い。X軸とY軸に付された連番は各軸の座標を表している。X軸で5、Y軸で2の位置の事を(5,2)のように表現するとすると、図7(a)の画像データにおいて座標(5,2)のピクセルのピクセル値は1である。 The relationship between reference coordinates, reference pixel values, and minimum and maximum values will be explained using a specific example. FIG. 7 is a diagram representing an example of image data. FIG. 7(a) is an example of image data when the push button 11 is not pressed, and FIG. 7(b) is an example of image data when the push button 11 is pressed to the maximum. Each square of a grid of 10 squares in the horizontal axis (X-axis) direction and 10 squares in the vertical axis (Y-axis) direction represents a pixel, and the value within the square represents the pixel value. Although scalar values are used as pixel values in this example, vector values such as RGB values may also be used. The serial numbers assigned to the X and Y axes represent the coordinates of each axis. If we represent the position 5 on the X axis and 2 on the Y axis as (5,2), then in the image data of Figure 7(a), the pixel value of the pixel at coordinates (5,2) is 1. .

なお、画像データには光学式キーボード1の備える複数のボタンモジュール10のそれぞれの突出部115に対応したピクセルを含む必要があるため、縦横10ピクセルよりさらに多くのピクセル数が必要となる。図7は発明を分かりやすく説明するために、画像データのうちの一部分、1つの突出部115に対応したピクセルおよびその周辺ピクセルのみを示したものであることに注意が必要である。このことは画像データを図示する以降すべての図面において同様である。 Note that since the image data needs to include pixels corresponding to each of the protrusions 115 of the plurality of button modules 10 included in the optical keyboard 1, the number of pixels is required to be larger than 10 pixels in the vertical and horizontal directions. It should be noted that FIG. 7 shows only a portion of the image data, a pixel corresponding to one protrusion 115, and its surrounding pixels in order to explain the invention in an easy-to-understand manner. This is the same in all subsequent drawings showing image data.

この図7において基準座標は、押しボタン11が押下されていない時の画像データすなわち図7(a)の画像データにおいて突出部115からの散乱光を捉えたピクセルの座標であるが、ここでは例として座標(4,3)であるとする。図7(a)では座標(4,3)の升を白黒反転して表記しているが、これは当該座標が基準座標であることを便宜的に示す表記であり、以降の図面においても同様とする。
基準ピクセル値は押しボタン11が押下されていない時の画像データにおける基準座標のピクセルのピクセル値であるので、図7(a)の画像データの座標(4,3)のピクセルのピクセル値すなわち5である。
In FIG. 7, the reference coordinates are the coordinates of the pixel that captures the scattered light from the protrusion 115 in the image data when the push button 11 is not pressed, that is, the image data in FIG. 7(a). Assume that the coordinates are (4,3). In Figure 7(a), the square at the coordinates (4,3) is shown in reverse black and white, but this is a convenient notation to indicate that the coordinates are the reference coordinates, and the same applies in subsequent drawings. shall be.
The reference pixel value is the pixel value of the pixel at the reference coordinates in the image data when the push button 11 is not pressed, so the pixel value of the pixel at the coordinates (4,3) of the image data in FIG. 7(a) is 5. It is.

最小値は、前述の評価値算出処理に、当該押しボタン11が押下されていない時の画像データと、前記基準座標と、前記基準ピクセル値とを入力して算出した評価値である。評価値算出処理は、ピクセル値が基準ピクセル値と既定関係であるピクセルであり、かつ、基準座標近隣であるピクセル、を要素とするピクセル集合について、その集合の計量値を算出して評価値として出力する処理であるが、ここでは例として、ピクセル値が基準ピクセル値と既定関係であるとはピクセル値が基準ピクセル値と誤差範囲プラスマイナス1以内で一致する事とし、基準座標の近隣であるピクセルとは、基準座標のピクセルから出発して、ピクセル値が基準ピクセル値と既定関係であるピクセルだけを経由してたどり着けるピクセルとし、ピクセル集合の計量値とは、当該集合に含まれるピクセルの数とする。
すると、「ピクセル値が基準ピクセル値と既定関係であるピクセルであり、かつ、基準座標近隣であるピクセル、を要素とするピクセル集合」とはすなわち座標(3,3)、(5,3)、(4,4)、(5,4)のピクセルからなる集合となる。最小値はこのピクセル集合の計量値、すなわちピクセル数、すなわち4である。
The minimum value is an evaluation value calculated by inputting the image data when the push button 11 is not pressed, the reference coordinates, and the reference pixel value into the evaluation value calculation process described above. In the evaluation value calculation process, for a pixel set whose elements are pixels whose pixel values have a predetermined relationship with the reference pixel value and whose elements are pixels that are near the reference coordinates, the metric value of the set is calculated and used as the evaluation value. As an example, the pixel value has a predetermined relationship with the reference pixel value when the pixel value matches the reference pixel value within an error range of plus or minus 1, and is in the vicinity of the reference coordinates. A pixel is a pixel that can be reached starting from a pixel at the reference coordinates only through pixels whose pixel values have a predetermined relationship with the reference pixel value, and the metric value of a pixel set is the number of pixels included in the set. shall be.
Then, "a pixel set whose elements are pixels whose pixel values have a predetermined relationship with the reference pixel value, and which are adjacent to the reference coordinates" means coordinates (3,3), (5,3), This is a set of pixels (4,4) and (5,4). The minimum value is the metric value of this pixel set, ie the number of pixels, ie 4.

最大値は、前述の評価値算出処理に、当該押しボタン11が最大に押下されている時の画像データと前記基準座標と、前記基準ピクセル値とを入力して算出した評価値である。評価値算出処理は前記最小値のものと同じとすると、「ピクセル値が基準ピクセル値と既定関係であるピクセルであり、かつ、 基準座標の近隣であるピクセル、を要素とするピクセル集合」とはすなわち座標(3,3)、(5,3)、(4,4)、(5,4)、(6,4)、(5,5)、(6,5)、(6,6)のピクセルからなる集合となる。最大値はこのピクセル集合の計量値、すなわち8である。 The maximum value is an evaluation value calculated by inputting the image data when the push button 11 is pressed to the maximum, the reference coordinates, and the reference pixel value into the evaluation value calculation process described above. Assuming that the evaluation value calculation process is the same as that for the minimum value above, what is "a pixel set whose elements are pixels whose pixel values have a predetermined relationship with the reference pixel value and which are neighboring pixels of the reference coordinates"? That is, the coordinates (3,3), (5,3), (4,4), (5,4), (6,4), (5,5), (6,5), (6,6) It is a collection of pixels. The maximum value is the metric value of this pixel set, ie 8.

次に、図8を参照して、プログラム33により制御されたプロセサ31による押下量検出処理の動作について説明する。図8は撮像素子22から画像データを入力されたときのプロセサ31の動作を説明するフローチャートである。
プロセサ31は画像データを入力されると、当該画像データをメモリ32に記憶する(S1)。
次にプロセサ31はメモリ32の記憶するテーブル34の最初の行を処理対象行とする(S2)。
次にプロセサ31はテーブル34の処理対象行を読み、基準座標、基準ピクセル値、最小値、最大値、コードを得る(S3)。
次にプロセサ31はメモリ32の記憶する画像データの基準座標のピクセルのピクセル値を読み出し、それが基準ピクセル値と既定関係であるか確認し(S4)、既定関係である場合はステップS6に進み、そうでない場合はステップS5に進む。
なお、基準ピクセル値と既定関係であるとは、評価値算出処理におけるそれと同等の関係を意味しており、次のステップS5についても同義である。
Next, with reference to FIG. 8, the operation of the press amount detection process by the processor 31 controlled by the program 33 will be described. FIG. 8 is a flowchart illustrating the operation of the processor 31 when image data is input from the image sensor 22.
When the processor 31 receives image data, it stores the image data in the memory 32 (S1).
Next, the processor 31 sets the first row of the table 34 stored in the memory 32 as the row to be processed (S2).
Next, the processor 31 reads the row to be processed in the table 34 and obtains the reference coordinates, reference pixel value, minimum value, maximum value, and code (S3).
Next, the processor 31 reads the pixel value of the pixel at the reference coordinates of the image data stored in the memory 32, checks whether it has a predetermined relationship with the reference pixel value (S4), and if it has the predetermined relationship, proceeds to step S6. , otherwise proceed to step S5.
Note that the predetermined relationship with the reference pixel value means the same relationship as that in the evaluation value calculation process, and the same meaning applies to the next step S5.

ステップS5に進んだ場合、プロセサ31はメモリ32の記憶する画像データの基準座標の近傍でピクセル値が基準ピクセル値と既定関係であるようなピクセルを探し、発見したピクセルの座標を新たな基準座標としてテーブル34の処理対象行の基準座標列に書き込み(S5)、ステップS3に進む。
ステップS6に進んだ場合、プロセサ31は評価値算出処理に、メモリ32の記憶する画像データと、基準座標と、基準ピクセル値とを入力して評価値を算出する(S6)。
次にプロセサ31はコードとともに、次の数式で算出した押下量指標を出力する(S7)。
押下量指標 = (評価値 - 最小値) / (最大値 - 最小値)
この押下量指標は、押しボタン11が押下されていない時に0となり、最大に押下されているときに1となるように正規化した、押しボタン11の押下量を表す指標である。
If the process proceeds to step S5, the processor 31 searches for pixels whose pixel values have a predetermined relationship with the reference pixel value in the vicinity of the reference coordinates of the image data stored in the memory 32, and converts the coordinates of the found pixel into new reference coordinates. is written in the reference coordinate column of the processing target row of the table 34 (S5), and the process proceeds to step S3.
When proceeding to step S6, the processor 31 calculates the evaluation value by inputting the image data stored in the memory 32, the reference coordinates, and the reference pixel value to the evaluation value calculation process (S6).
Next, the processor 31 outputs the press amount index calculated by the following formula along with the code (S7).
Pressing amount index = (evaluation value - minimum value) / (maximum value - minimum value)
This press amount index is an index representing the press amount of the push button 11, which is normalized so that it becomes 0 when the push button 11 is not pressed and becomes 1 when it is pressed to the maximum.

次にプロセサ31は処理対象行がテーブル34の最後の行であるか確認し(S8)、最後の行の場合は処理を終了し、そうでない場合はステップS9に進む。
ステップS9に進んだ場合、プロセサ31はテーブル34の処理対象行の次の行を新たな処理対象行として(S9)、ステップS3に進む。
Next, the processor 31 checks whether the row to be processed is the last row of the table 34 (S8), and if it is the last row, the process ends; otherwise, the process proceeds to step S9.
When proceeding to step S9, the processor 31 sets the next row of the table 34 to be processed as a new line to be processed (S9), and proceeds to step S3.

次に、押下量検出処理の具体的な動作例について説明する。この例では、テーブル34のデータとして図6のデータがメモリ32に記憶されており、図9(a)に示す画像データがプロセサ31に入力された場合を考える。
なお、この具体例においても、ピクセル値が基準ピクセル値と既定関係であるとはピクセル値が基準ピクセル値と誤差範囲プラスマイナス1以内で一致する事とし、基準座標近隣であるピクセルとは、基準座標のピクセルから出発して、ピクセル値が基準ピクセル値と既定関係であるピクセルだけを経由してたどり着けるピクセルとし、ピクセル集合の計量値とは、当該集合に含まれるピクセルの数とする。
Next, a specific example of the operation of the press amount detection process will be described. In this example, consider a case where the data in FIG. 6 is stored in the memory 32 as the data in the table 34, and the image data shown in FIG. 9(a) is input to the processor 31.
Also in this specific example, a pixel value having a predetermined relationship with a reference pixel value means that the pixel value matches the reference pixel value within an error range of plus or minus 1, and pixels that are near the reference coordinates are defined as Starting from a pixel of coordinates, a pixel can be reached only through pixels whose pixel values have a predetermined relationship with a reference pixel value, and the metric value of a pixel set is the number of pixels included in the set.

まずステップS1でプロセサ31は入力された画像データをメモリ32に記憶する。
次に、ステップS2でプロセサ31はメモリ32の記憶するテーブル34の最初の行を処理対象行とする。
次に、ステップS3でプロセサ31はテーブル34の処理対象行を読み、基準座標、基準ピクセル値、最小値、最大値、コードを得る。この場合、基準座標=(4,3)、基準ピクセル値=5、最小値=4、最大値=8、コード=0x41である。
次に、ステップS4でプロセサ31はメモリ32の記憶する画像データの基準座標のピクセルのピクセル値を読み出し、それが基準ピクセル値と既定関係であるか確認する。この場合、基準座標(4,3)のピクセル値は1であり、基準ピクセル値(=5)とは既定関係ではない。よって次はステップS5に進む。
次に、ステップS5でプロセサ31はメモリ32の記憶する画像データの基準座標の近傍でピクセル値が基準ピクセル値と既定関係であるようなピクセルを探す。基準座標(4,3)の近傍でピクセル値が基準ピクセル値(=5)と既定関係であるようなピクセルとしては、座標(4,4)のピクセル(ピクセル値=4)があるので、この例ではそのピクセルを採用し、そのピクセルの座標をテーブル34の処理対象行の基準座標列に書き込み、ステップS3に進む。
基準座標は図9において白黒反転の升で表現しているが、ステップS5の処理の前は図9(a)の白黒反転の升が基準座標であったが、ステップS5の処理の後は図9(b)の白黒反転の升に基準座標が変わることになる。
First, in step S1, the processor 31 stores input image data in the memory 32.
Next, in step S2, the processor 31 sets the first row of the table 34 stored in the memory 32 as the row to be processed.
Next, in step S3, the processor 31 reads the row to be processed in the table 34 and obtains the reference coordinates, reference pixel value, minimum value, maximum value, and code. In this case, reference coordinates = (4,3), reference pixel value = 5, minimum value = 4, maximum value = 8, and code = 0x41.
Next, in step S4, the processor 31 reads out the pixel value of the pixel at the reference coordinates of the image data stored in the memory 32, and checks whether it has a predetermined relationship with the reference pixel value. In this case, the pixel value at the reference coordinates (4,3) is 1, which is not in a predetermined relationship with the reference pixel value (=5). Therefore, the process next proceeds to step S5.
Next, in step S5, the processor 31 searches for a pixel whose pixel value has a predetermined relationship with the reference pixel value in the vicinity of the reference coordinates of the image data stored in the memory 32. A pixel near the reference coordinates (4,3) whose pixel value has a default relationship with the reference pixel value (=5) is the pixel at the coordinates (4,4) (pixel value = 4), so this In the example, that pixel is adopted, the coordinates of that pixel are written in the reference coordinate column of the processing target row of the table 34, and the process proceeds to step S3.
The reference coordinates are expressed as black-and-white inverted squares in FIG. 9. Before the process in step S5, the black-and-white inverted square in FIG. The reference coordinates will change to the black and white inverted square in 9(b).

次に、ステップS3でプロセサ31はテーブル34の処理対象行を読み、基準座標、基準ピクセル値、最小値、最大値、コードを得る。基準座標が先ほどと変わり、基準座標=(4,4)、基準ピクセル値=5、最小値=4、最大値=8、コード=0x41である。
次に、ステップS4でプロセサ31はメモリ32の記憶する画像データの基準座標のピクセルのピクセル値を読み出し、それが基準ピクセル値と既定関係であるか確認する。この場合、基準座標(4,4)のピクセル値は4であり、基準ピクセル値(=5)と既定関係である。よって次はステップS6に進む。
次に、ステップS6でプロセサ31は評価値算出処理に、メモリ32の記憶する画像データと、基準座標と、基準ピクセル値とを入力して評価値を算出する。この場合、評価値は5となる。
次に、ステップS7でプロセサ31は押下量指標を算出する。押下量指標は
(5 - 4) / (8 - 4) = 0.25
となる。そしてコード(=0x41)とともに押下量指標(=0.25)を出力する。
Next, in step S3, the processor 31 reads the row to be processed in the table 34 and obtains the reference coordinates, reference pixel value, minimum value, maximum value, and code. The reference coordinates are different from before: reference coordinates = (4,4), reference pixel value = 5, minimum value = 4, maximum value = 8, code = 0x41.
Next, in step S4, the processor 31 reads out the pixel value of the pixel at the reference coordinates of the image data stored in the memory 32, and checks whether it has a predetermined relationship with the reference pixel value. In this case, the pixel value of the reference coordinates (4,4) is 4, which has a predetermined relationship with the reference pixel value (=5). Therefore, the process next proceeds to step S6.
Next, in step S6, the processor 31 calculates an evaluation value by inputting the image data stored in the memory 32, the reference coordinates, and the reference pixel value to the evaluation value calculation process. In this case, the evaluation value will be 5.
Next, in step S7, the processor 31 calculates a press amount index. The press amount index is (5 - 4) / (8 - 4) = 0.25
becomes. Then, the press amount index (=0.25) is output together with the code (=0x41).

次に、ステップS8でプロセサ31は処理対象行がテーブル34の最後の行であるか確認するが、処理対象行は最後の行ではないため、ステップS9に進む。
次に、ステップS9でプロセサ31はテーブル34の処理対象行の次の行、すなわち2行目を新たな処理対象行として、ステップS3に進む。
以降の動作についての説明は省略するが、テーブル34の残りのすべての行について同様の処理が行われる。
Next, in step S8, the processor 31 checks whether the row to be processed is the last row of the table 34, but since the row to be processed is not the last row, the process advances to step S9.
Next, in step S9, the processor 31 sets the next row of the table 34 to be processed, that is, the second row, as a new row to be processed, and proceeds to step S3.
Although a description of subsequent operations will be omitted, similar processing is performed for all remaining rows of the table 34.

このように、押下量検出処理ではステップS4およびステップS5の処理により基準座標のピクセルのピクセル値が基準ピクセル値と既定関係でない場合は、基準座標を近傍の適切なピクセルの座標に移動する。このような場合は、筐体2が押しボタン11への押下力や熱膨張により歪んだ場合にも生じうる。
すなわち、撮像素子22からの1つ前の画像データでは突出部115からの散乱光を捉えており、基準ピクセル値と既定関係のピクセル値を示していた基準座標のピクセルが、次の画像データでは筐体2が歪んだことにより撮像素子22と結像素子21と突出部115との位置関係が変化し、突出部115からの散乱光を捉えなくなり、基準ピクセル値と既定関係のピクセル値を示さなくなることが生じうる。
その場合でも、筐体2の歪み方が、撮像素子22が画像データを出力する時間間隔を基準として短時間でかつ大きい歪み方であるのではない限りは、1つ前の画像データからの変化は小さいと期待できる。このため、突出部115からの散乱光を捉えるピクセルは基準座標の近傍にあると期待でき、ステップS4およびステップS5の処理によりそのピクセルを発見し、基準座標をそのピクセルに移動することができる。いうなれば、画像データ上で突出部115からの散乱光を捉えるピクセルが移動しても、ステップS4およびステップS5の処理によりそれを追跡して基準座標に設定するのである。よって、そのような歪みが生じても押しボタン11の押下量を検出することができる。
In this way, in the press amount detection process, if the pixel value of the pixel at the reference coordinates does not have a predetermined relationship with the reference pixel value in the processes of steps S4 and S5, the reference coordinates are moved to the coordinates of a nearby appropriate pixel. Such a case may also occur when the housing 2 is distorted due to the pressing force on the push button 11 or thermal expansion.
In other words, the previous image data from the image sensor 22 captures the scattered light from the protrusion 115, and the pixel at the reference coordinates that had a pixel value in a predetermined relationship with the reference pixel value does not appear in the next image data. Due to the distortion of the housing 2, the positional relationship between the image sensor 22, the image forming element 21, and the protrusion 115 changes, and the scattered light from the protrusion 115 is no longer captured, and the pixel value shows a predetermined relationship with the reference pixel value. It may happen that it disappears.
Even in that case, unless the distortion of the housing 2 is large and occurs in a short period of time based on the time interval at which the image sensor 22 outputs image data, the change from the previous image data can be expected to be small. Therefore, it can be expected that the pixel that captures the scattered light from the protrusion 115 is located near the reference coordinates, and through the processing in steps S4 and S5, that pixel can be found and the reference coordinates can be moved to that pixel. In other words, even if the pixel that captures the scattered light from the protrusion 115 moves on the image data, it is tracked and set to the reference coordinates through the processing in steps S4 and S5. Therefore, even if such distortion occurs, the amount of depression of the push button 11 can be detected.

突出部115からの散乱光を捉えるピクセルを追跡するためには、画像データには常に突出部115からの散乱光を捉えているピクセルがある必要がある。すなわち、押しボタン11が押下されているときはもちろんのこと、押下されていないときも突出部115からの散乱光を捉えているピクセルがある必要がある。このため前述のように、突出部115の少なくとも一部については押しボタン11の押下量が無い状態のときでもパッケージ12の外部に突出していることが好ましい。 In order to track the pixels that capture the scattered light from the protrusions 115, there must always be pixels in the image data that capture the scattered light from the protrusions 115. That is, there needs to be a pixel that captures the scattered light from the protrusion 115 not only when the push button 11 is pressed, but also when it is not pressed. Therefore, as described above, it is preferable that at least a portion of the protruding portion 115 protrudes to the outside of the package 12 even when the push button 11 is not depressed.

<第2実施形態>
本発明の第2実施形態による光学式キーボード1を第1実施形態との相違点を中心に説明する。第1実施形態では撮像素子22の生成する画像データを用いて、光源3による照射光の突出部115による散乱光の特性とその他の部分からの散乱光の特性との違いをピクセル値の違いとして識別するが、第2実施形態では撮像素子22の生成する画像データを用いて、光源3による照射光により励起された突出部115による蛍光の特性とその他の部分からの蛍光の特性との違いをピクセル値の違いとして識別する。
<Second embodiment>
An optical keyboard 1 according to a second embodiment of the present invention will be explained focusing on the differences from the first embodiment. In the first embodiment, using image data generated by the image sensor 22, the difference between the characteristics of the light scattered by the protrusion 115 of the light irradiated by the light source 3 and the characteristics of the scattered light from other parts is expressed as a difference in pixel values. However, in the second embodiment, image data generated by the image sensor 22 is used to identify the difference between the characteristics of the fluorescence from the protrusion 115 excited by the irradiation light from the light source 3 and the characteristics of the fluorescence from other parts. Identification as differences in pixel values.

このため、突出部115の少なくとも一部については、光源3の発する光を受けた時に発する蛍光の特性が、筐体2の内側およびパッケージ12の筐体2の内部に露出する外側部分のどちらの特性とも異なるようにする必要がある。
一例としては、突出部115は励起波長帯域の光を吸収し励起波長帯域とは異なる蛍光波長帯域の光を発する蛍光物質を用いて構成し、筐体2の内側およびパッケージ12の外側部分には蛍光物質は相対的に少量、または用いずに構成しても良い。別の例としては、突出部115と、筐体2の内側およびパッケージ12の外側部分とで蛍光波長帯域が異なる蛍光物質を用いても良い。さらに別の例としては、突出部115と、筐体2の内側およびパッケージ12の外側部分とで蛍光の偏光が異なるようにしても良い。
Therefore, for at least a portion of the protruding portion 115, the characteristics of the fluorescence emitted when receiving the light emitted by the light source 3 are different from those of the inside of the casing 2 and the outside portion of the package 12 exposed inside the casing 2. It is necessary to make it different from the characteristics.
For example, the protrusion 115 is formed using a fluorescent material that absorbs light in an excitation wavelength band and emits light in a fluorescence wavelength band different from the excitation wavelength band, and The fluorescent material may be used in a relatively small amount or may not be used. As another example, a fluorescent material having different fluorescence wavelength bands may be used for the protrusion 115, the inside of the casing 2, and the outside of the package 12. As yet another example, the polarization of fluorescence may be different between the protrusion 115, the inside of the casing 2, and the outside of the package 12.

光源3は励起波長帯域を含む光を発する必要がある。また、光源3は突出部115の蛍光波長帯域の光は発しないことが好ましい。撮像素子22の受光面23の前には受光面23に入射する光のうち突出部115の蛍光波長帯域以外の部分を弱めるフィルタ24を備えることが好ましい。 The light source 3 needs to emit light that includes the excitation wavelength band. Further, it is preferable that the light source 3 does not emit light in the fluorescence wavelength band of the protrusion 115. It is preferable to provide a filter 24 in front of the light receiving surface 23 of the image sensor 22 that weakens a portion of the light incident on the light receiving surface 23 other than the fluorescence wavelength band of the protrusion 115.

なお、第1実施形態では突出部115の少なくとも一部については、筐体2の内側およびパッケージ12の筐体2の内部に露出する外側部分のどちらとも光源3の発する光の波長帯域における光の散乱特性が異なるようにする必要がある、としていたが、第2実施形態ではその必要はない。
また、第1実施形態では光源3は押下量検出モジュール20が押下量の検出に用いる波長帯域を含む光を発することが必要である、としていたが、第2実施形態ではその必要はない。
そのほか、第1実施形態において「散乱光」と記述した部分を「蛍光」と読み替えればよい。
In addition, in the first embodiment, at least a portion of the protruding portion 115, both the inside of the casing 2 and the outside portion of the package 12 exposed inside the casing 2, emit light in the wavelength band of the light emitted by the light source 3. Although it was mentioned that it is necessary to have different scattering characteristics, this is not necessary in the second embodiment.
Furthermore, in the first embodiment, the light source 3 needs to emit light that includes the wavelength band used by the press amount detection module 20 to detect the press amount, but in the second embodiment, this is not necessary.
In addition, the portion described as "scattered light" in the first embodiment may be read as "fluorescence".

1 光学式キーボード
2 筐体
3 光源
4 上面パネル
5 開口部
10 ボタンモジュール
11 押しボタン
111 押下部
115 突出部
12 パッケージ
13 弾性体
20 押下量検出モジュール
21 結像素子
22 撮像素子
23 受光面
24 フィルタ
30 情報処理部
31 プロセサ
32 メモリ
33 プログラム
34 テーブル
1 optical keyboard
2 Housing
3 light source
4 Top panel
5 opening
10 button module
11 push button
111 Press down part
115 Protrusion
12 packages
13 Elastic body
20 Press amount detection module
21 Imaging element
22 Image sensor
23 Photosensitive surface
24 filter
30 Information processing department
31 processor
32 memory
33 programs
34 table

Claims (5)

突出部を備える押しボタンと、前記押しボタンを前記突出部を孔から突出しうる態様で収納するパッケージとを備えるボタンモジュール、を備える光学式キーボードであり、
前記押しボタンは複数であり、
前記突出部の少なくとも一部と前記パッケージの外側の少なくとも一部との、光の散乱特性または蛍光の特性が異なり、
前記押しボタンの押下量が大きいほど前記突出部の前記パッケージからの突出が大きくなり、
前記突出部の少なくとも一部と前記パッケージの外側の少なくとも一部とが光の反射を抑制する表面を備える、
光学式キーボード。
An optical keyboard comprising: a push button having a protrusion; and a package housing the push button in such a manner that the protrusion can be protruded from a hole;
The push buttons are plural;
At least a portion of the protrusion and at least a portion of the outside of the package have different light scattering characteristics or fluorescence characteristics,
The greater the amount of depression of the push button, the greater the protrusion of the protrusion from the package ;
at least a portion of the protrusion and at least a portion of the outer side of the package include a surface that suppresses reflection of light;
optical keyboard.
前記押しボタンの押下量が無い場合でも前記突出部の一部が前記パッケージから突出している、請求項1に記載の光学式キーボード。 The optical keyboard according to claim 1, wherein a portion of the protruding portion protrudes from the package even when the push button is not depressed. 複数の前記突出部およびその周囲を照射する指向性を備える光源と、
受光面を備える撮像素子と、
複数の前記突出部のそれぞれの少なくとも一部が発する散乱光または蛍光を前記受光面に結像させる結像素子とを備える、請求項1又は2に記載の光学式キーボード。
a light source with directivity that illuminates the plurality of protrusions and their surroundings;
an image sensor including a light-receiving surface;
The optical keyboard according to claim 1 or 2 , further comprising an imaging element that images scattered light or fluorescence emitted by at least a portion of each of the plurality of protrusions on the light receiving surface.
突出部を備える押しボタンと、前記押しボタンを前記突出部を孔から突出しうる態様で収納するパッケージとを備えるボタンモジュール、を備える光学式キーボードであり、
前記押しボタンは複数であり、
前記突出部の少なくとも一部と前記パッケージの外側の少なくとも一部との、光の散乱特性または蛍光の特性が異なり、
前記押しボタンの押下量が大きいほど前記突出部の前記パッケージからの突出が大きくなり、
プロセサとメモリとを備え、前記プロセサは、前記メモリの記憶する画像データのピクセルであり、かつ、ピクセル値が前記メモリの記憶する基準ピクセル値と既定関係であるピクセルであり、かつ、前記メモリの記憶する基準座標の近隣であるピクセル、を要素とするピクセル集合の計量値に基づいて押下量を算出する、光学式キーボード。
An optical keyboard comprising: a push button having a protrusion; and a package housing the push button in such a manner that the protrusion can be protruded from a hole;
The push buttons are plural;
At least a portion of the protrusion and at least a portion of the outside of the package have different light scattering characteristics or fluorescence characteristics,
The greater the amount of depression of the push button, the greater the protrusion of the protrusion from the package;
a processor and a memory, the processor is a pixel of image data stored in the memory, and the pixel value has a predetermined relationship with a reference pixel value stored in the memory, and the processor is a pixel of image data stored in the memory; An optical keyboard that calculates the amount of press based on the metric value of a pixel set whose elements are pixels that are neighboring to the reference coordinates to be stored.
前記プロセサは、前記基準座標のピクセルのピクセル値が前記基準ピクセル値と既定関係でない場合には前記画像データの前記基準座標の近傍でピクセル値が前記基準ピクセル値と既定関係であるようなピクセルを探し、その座標を新たな基準座標として前記メモリに書き込む、請求項に記載の光学式キーボード。 If the pixel value of the pixel at the reference coordinates does not have a predetermined relationship with the reference pixel value, the processor selects a pixel in the vicinity of the reference coordinates of the image data whose pixel value has a predetermined relationship with the reference pixel value. The optical keyboard according to claim 4 , wherein the coordinates are searched for and written into the memory as new reference coordinates.
JP2020020232A 2020-02-09 2020-02-09 optical keyboard Active JP7417232B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2020020232A JP7417232B2 (en) 2020-02-09 2020-02-09 optical keyboard
JP2023217486A JP7675414B2 (en) 2020-02-09 2023-12-23 Optical keyboard

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020020232A JP7417232B2 (en) 2020-02-09 2020-02-09 optical keyboard

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2023217486A Division JP7675414B2 (en) 2020-02-09 2023-12-23 Optical keyboard

Publications (2)

Publication Number Publication Date
JP2021125156A JP2021125156A (en) 2021-08-30
JP7417232B2 true JP7417232B2 (en) 2024-01-18

Family

ID=77459276

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2020020232A Active JP7417232B2 (en) 2020-02-09 2020-02-09 optical keyboard
JP2023217486A Active JP7675414B2 (en) 2020-02-09 2023-12-23 Optical keyboard

Family Applications After (1)

Application Number Title Priority Date Filing Date
JP2023217486A Active JP7675414B2 (en) 2020-02-09 2023-12-23 Optical keyboard

Country Status (1)

Country Link
JP (2) JP7417232B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011215968A (en) 2010-03-31 2011-10-27 Namco Bandai Games Inc Program, information storage medium and object recognition system
JP2014231301A (en) 2013-05-29 2014-12-11 富士重工業株式会社 Image processor

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03109627A (en) * 1989-09-22 1991-05-09 Tsuoisu Kk Method and device for discriminating pushed key of keyboard
JPH03273708A (en) * 1990-03-22 1991-12-04 Alps Electric Co Ltd Input device
JPH0760360B2 (en) * 1992-04-10 1995-06-28 直弘 丹野 Driving method and driving device for discriminating key board
JPH08202484A (en) * 1992-06-19 1996-08-09 Naohiro Tanno Photodetection typing key discriminating device and multistage typing keyboard
JP2504894B2 (en) * 1992-06-27 1996-06-05 フジミ光機株式会社 KEYBOARD KEY DECODING METHOD AND KEYBOARD KEY DETERMINING DEVICE
JPH11260212A (en) * 1998-03-06 1999-09-24 Harness Syst Tech Res Ltd Push switch
JP2008310795A (en) * 2007-05-11 2008-12-25 Auto Network Gijutsu Kenkyusho:Kk Operating device
CN106611672A (en) * 2015-10-22 2017-05-03 致伸科技股份有限公司 Optical switch keyboard

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011215968A (en) 2010-03-31 2011-10-27 Namco Bandai Games Inc Program, information storage medium and object recognition system
JP2014231301A (en) 2013-05-29 2014-12-11 富士重工業株式会社 Image processor

Also Published As

Publication number Publication date
JP2024023825A (en) 2024-02-21
JP7675414B2 (en) 2025-05-13
JP2021125156A (en) 2021-08-30

Similar Documents

Publication Publication Date Title
US5572251A (en) Optical position detecting unit and optical coordinate input unit
US7557935B2 (en) Optical coordinate input device comprising few elements
US6100538A (en) Optical digitizer and display means for providing display of indicated position
US20230221102A1 (en) Dual-pattern optical 3d dimensioning
US20070034783A1 (en) Multitasking radiation sensor
US20030234346A1 (en) Touch panel apparatus with optical detection for location
JP2005353071A (en) Pointing input system and method using array sensors
CN104035555A (en) System, Information Processing Apparatus, And Information Processing Method
CN1735789A (en) ranging equipment
CN111353405B (en) Fingerprint identification device, fingerprint identification system and electronic equipment
JP7289703B2 (en) handheld optical information reader
EP2256600A2 (en) Optimal use of F-TIR issues in finger mouse
US10733748B2 (en) Dual-pattern optical 3D dimensioning
JP7417232B2 (en) optical keyboard
EP3798569B1 (en) Dual-pattern optical 3d dimensioning
US11481568B1 (en) Dome illuminator for vision system camera and method for using the same
KR100860158B1 (en) Pen-type positioning device
JP7167553B2 (en) Two-dimensional code
EP3872681A1 (en) Information-code reading device
CN111611987B (en) Display device and method for realizing feature recognition by using same
JP6362282B2 (en) Scanner unit and image scanner device
CN115695748A (en) Control device, control method, projection system, and storage medium
JP6146765B2 (en) Scanner unit and image scanner device
JP7671267B2 (en) Projection image control system, method, and program
CN111147839A (en) Depth acquisition device, depth acquisition method and terminal

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230204

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230816

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230914

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20231112

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: 20231204

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20231223

R150 Certificate of patent or registration of utility model

Ref document number: 7417232

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150