JP4923790B2 - Switch control device using capacitance method - Google Patents
Switch control device using capacitance method Download PDFInfo
- Publication number
- JP4923790B2 JP4923790B2 JP2006182875A JP2006182875A JP4923790B2 JP 4923790 B2 JP4923790 B2 JP 4923790B2 JP 2006182875 A JP2006182875 A JP 2006182875A JP 2006182875 A JP2006182875 A JP 2006182875A JP 4923790 B2 JP4923790 B2 JP 4923790B2
- Authority
- JP
- Japan
- Prior art keywords
- switch
- frequency
- temperature
- data
- generated
- 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
Links
Images
Landscapes
- Input From Keyboards Or The Like (AREA)
Description
本発明はスイッチが、銀ペースト又はITO膜で印刷されて構成されており、コンデンサ(C1)と抵抗(R1)とタイマで生成された周波数をインプットキャプチャで読み取り、読み取られた周波数の変化量によりスイッチをONまたはOFFの状態にする静電容量方式を用いたスイッチの制御装置に関するものである。 In the present invention, the switch is configured by printing with silver paste or ITO film, and the frequency generated by the capacitor (C1), the resistor (R1) and the timer is read by the input capture, and the amount of change of the read frequency is used. The present invention relates to a switch control device using a capacitance method for turning a switch on or off.
静電容量方式のスイッチは、銀ペースト又はITO膜で印刷されて構成されており、アナログスイッチに接続し、アナログスイッチ、コンデンサ(C1)、抵抗(R1)、タイマより生成された周波数を、ROMに格納されたプログラムでインプットキャプチャを制御し、周波数の読み取りを行う。アナログスイッチには銀ペースト又はITO膜で印刷されて構成されたスイッチ(以下、スイッチという。)が接続され、アナログスイッチより接続されたスイッチをコンデンサ(C1)、抵抗(R1)、タイマに接続する役割を持ち、アナログスイッチに接続された複数のスイッチの選択は、ROMに格納されたプログラムによりCPUの制御で行う。夏場涼しい場所で使用していた所から、急に暑い場所で使用する場合や、冬場暖かい場所で使用していた状態から、急に外の冷たい外気に当たる場合の温度の変化に対し、製品内外の温度も変化する。複数のスイッチは、温度の変化に対し、複数のスイッチが持つコンデンサおよび抵抗の容量値、抵抗値が変わるため、アナログスイッチ、コンデンサ(C1)と抵抗(R1)とタイマとで生成された周波数が変わってしまう。また、コンデンサ(C1)と抵抗(R1)とタイマとで構成された回路においても、コンデンサ(C1)の容量値、抵抗(R1)の抵抗値も変わるため、アナログスイッチ、コンデンサ(C1)と抵抗(R1)とタイマで生成された周波数も変わってしまう。そのため、コンデンサがもつ容量値と、抵抗がもつ抵抗値とタイマとで周波数を生成しているため、温度の変化と周波数の変化に対し、追従できる様、温度センサをスイッチの近くに配置していた。またアナログスイッチ、コンデンサ(c1)と抵抗(r1)とタイマとで周波数を生成する回路の近くにも配置していた。温度センサは、検出された温度の値を電圧に変換して温度センサより出力している。温度センサより出力された電圧は、CPU内にある電圧測定ic(a/dコンバータ)で読み取り、読み取られた電圧値を温度に換算している。
静電容量方式のスイッチでは、スイッチの近傍の温度変化に対応するために、温度センサを配置し、温度の変化に追従している。しかし、スイッチの近傍の温度と各スイッチをアナログスイッチ部に接続し、アナログスイッチ部、コンデンサ(C1)、抵抗(R1)、タイマで生成され、インプットキャプチャで得られたスイッチの周波数のデータは、製品が完成した時点で測定する。スイッチの近傍の温度とインプットキャプチャで得られた周波数とのデータをメモリに格納する。製品ごとに温度センサを配置する場所と、スイッチの形状等が変わるため、製品ごとにスイッチの近傍の温度と周波数とのデータを収集し、温度に対する周波数のデータとしてメモリに格納しなければならない。そのため、データを収集する時間および手間がかかってしまう。また、温度センサの配置に対しては、スイッチの近くに配置するが、スイッチの温度を直接測定していないため、温度変化に対し精度の信頼性が無いのが現状である。 In the capacitance type switch, a temperature sensor is arranged to follow the temperature change in order to cope with the temperature change in the vicinity of the switch. However, the temperature in the vicinity of the switch and each switch are connected to the analog switch unit, and the switch frequency data generated by the analog switch unit, the capacitor (C1), the resistor (R1), and the timer and obtained by the input capture is Measure when the product is complete. Data on the temperature near the switch and the frequency obtained by the input capture is stored in the memory. Since the location where the temperature sensor is arranged for each product, the shape of the switch, and the like change, data on the temperature and frequency in the vicinity of the switch must be collected for each product and stored in the memory as frequency data for the temperature. Therefore, it takes time and labor to collect data. In addition, the temperature sensor is arranged close to the switch. However, since the temperature of the switch is not directly measured, there is no reliability of accuracy with respect to the temperature change.
また、従来の容量の変化を読み取る静電容量スイッチで使用する温度センサは、検出した温度を電圧に換算して出力している。そのため温度センサを使用するときは、電圧を測定するic(a/dコンバータ)の使用が必然となり、温度センサを電圧に変換するIC(A/Dコンバータ)に接続し、電圧を測定するic(a/dコンバータ)をCPUが制御する必要がある。温度センサおよび電圧を測定するic(a/dコンバータ)は、静電容量方式スイッチを制御する基板上に配置するための領域が必要となる。昨今、静電容量スイッチは、携帯端末の様な小型の製品にも使用され、製品として部品の配置領域が少ない物、または製品単価が安価な物に対し、温度センサが使用または配置できない製品では、温度の変化には対応できないのが現状である。Moreover, the temperature sensor used with the electrostatic capacitance switch which reads the change of the conventional capacity | capacitance converts the detected temperature into a voltage, and outputs it. Therefore, when using a temperature sensor, it is inevitable to use an ic (a / d converter) that measures the voltage, and the temperature sensor is connected to an IC (A / D converter) that converts the voltage into an ic (A / D converter). The a / d converter must be controlled by the CPU. The temperature sensor and the ic (a / d converter) for measuring the voltage require an area to be arranged on the substrate for controlling the capacitive switch. In recent years, capacitance switches are also used in small products such as portable terminals, and in products where the temperature sensor cannot be used or arranged for products with a small part placement area or products with a low unit price. The current situation is that it cannot respond to changes in temperature.
印刷されて構成されている複数のスイッチと、該複数のスイッチを接続するアナログスイッチ部と、該アナログスイッチ部に接続され、コンデンサ(c1)と抵抗(r1)とタイマで構成される1組の周波数生成部と、該周波数生成部で生成された周波数を読み取るインプットキャプチャと、該インプットキャプチャで読み取った周波数を格納するメモリ部と、前記印刷されて構成されている複数のスイッチのon,off状態を他の裝置へ転送する為のシリアル通信部を有し、前記複数設けられているスイッチ中の1個のスイッチを、温度検出の基準となる温度監視用スイッチとして使用する静電容量方式を用いたスイッチの制御装置であって、電源投入後最初に温度検出用の基準となる基準部のスイッチで得られた周波数をインプットキャプチャが読み取り、読み取った周波数を前記したメモリに格納し、次に、前記温度検出用の基準となる基準部のスイッチ以外のスイッチ全てで得られた周波数を読み取って、前記メモリに格納し、前記コンデンサと抵抗、タイマで構成される1つの周波数生成部で生成された周波数を、前記メモリに格納された周波数と対比してスイッチのon、offを行うことを特徴とする静電容量方式を用いたスイッチの制御裝置を提案するものである。
A set of printed switches, an analog switch unit connecting the switches, a set of capacitors (c1), resistors (r1), and timers connected to the analog switch unit A frequency generation unit, an input capture for reading the frequency generated by the frequency generation unit, a memory unit for storing the frequency read by the input capture, and the on and off states of the plurality of switches configured by printing Using a capacitance method that has a serial communication unit for transferring the device to another device, and uses one of the plurality of switches as a temperature monitoring switch serving as a reference for temperature detection. The switch control device used for the first time after the power is turned on, the frequency obtained with the switch of the reference part which becomes the reference for temperature detection is input key. The frequency read by the pucha and stored in the above-mentioned memory, and then the frequency obtained by all the switches other than the switch of the reference part serving as the reference for the temperature detection is read and stored in the memory, A capacitance method is used, in which the frequency generated by one frequency generation unit including a capacitor, a resistor, and a timer is compared with the frequency stored in the memory to turn on and off the switch. We propose a control device for the switch.
本発明は静電容量方式を用いたスイッチの制御装置で、スイッチの近傍の温度変化に対し、温度センサを使用することなく、スイッチの1個を温度監視用スイッチとして使用し、電源投入後、最初の温度監視用スイッチで読まれた周波数を温度の基準周波数とすることで、スイッチの温度の変化に追従することができる。スイッチが接続されたアナログスイッチ部を切り離すことで、スイッチの接続を切り離せ、コンデンサ(C1)と抵抗(R1)とタイマとで生成される周波数を使用し、電源投入後、第1回目に生成された周波数を温度の基準周波数とすることで、コンデンサ(C1)と抵抗(R1)とタイマとで構成された回路に対し、温度の変化に追従できるものである。また、温度センサを使用しないため、温度センサおよび温度センサを制御する電圧測定IC(A/Dコンバータ)を削除でき、温度センサおよび電圧測定IC(A/Dコンバータ)の配置する領域をなくせる。また、温度センサならびに電圧測定IC(A/Dコンバータ)の部品自体の価格の低減、部品を実装するための費用も削減することができる。 The present invention is a switch control device using an electrostatic capacity method, and without using a temperature sensor, one of the switches is used as a temperature monitoring switch for a temperature change in the vicinity of the switch. By using the frequency read by the first temperature monitoring switch as the temperature reference frequency, it is possible to follow the change in the temperature of the switch. By disconnecting the analog switch part to which the switch is connected, the connection of the switch can be disconnected, and the frequency generated by the capacitor (C1), resistor (R1) and timer is used. By using the measured frequency as the temperature reference frequency, the circuit composed of the capacitor (C1), the resistor (R1), and the timer can follow the temperature change. Further, since the temperature sensor is not used, the temperature sensor and the voltage measurement IC (A / D converter) that controls the temperature sensor can be eliminated, and the area where the temperature sensor and the voltage measurement IC (A / D converter) are arranged can be eliminated. Further, it is possible to reduce the cost of the temperature sensor and the voltage measurement IC (A / D converter) components themselves and the cost for mounting the components.
本発明の静電容量方式を用いたスイッチの制御装置は、指で触れるための複数のスイッチ部、アナログスイッチ部、コンデンサ(C1)と抵抗(R1)とタイマとで構成され、周波数データを生成する周波数生成部、生成された周波数データを読み取ることと、複数のスイッチの選択およびアナログスイッチ部の切り離しを行う制御部、生成された周波数値のデータを格納するram、eeprom及びプログラムが格納されたromのメモリ部、スイッチの状態を他の装置(図示せず)へシリアル方式で転送することができるsio部を装備している。 The switch control device using the capacitance method of the present invention is composed of a plurality of switch parts for touching with a finger, an analog switch part, a capacitor (C1), a resistor (R1), and a timer, and generates frequency data. A frequency generation unit that reads the generated frequency data, a control unit that selects a plurality of switches and disconnects the analog switch unit, a ram, an eeprom that stores data of the generated frequency value, and a program are stored It is equipped with a rom memory unit and a sio unit that can transfer the switch status to another device (not shown) in a serial manner.
本発明の静電容量方式スイッチは、スイッチ部に指が接触、又は非接触の有無を、アナログスイッチ部、コンデンサ(C1)および抵抗(R1)とタイマで生成された周波数データがインプットキャプチャを介し、読み取り後、メモリに格納する。複数のスイッチのうち、1個を温度監視用スイッチとして使用し、電源投入後、最初に温度検出用の基準となる基準部で得られた周波数を読み取り、メモリに格納する。次に、残りのスイッチ全てで得られた周波数を読み取り、メモリに格納する。随時、温度検出用の基準となる基準部の周波数、残り全てのスイッチの周波数をメモリに格納する。随時、電源投入時の温度検出用の基準となる基準部と、最新の温度検出用の基準となる基準部とでの周波数との変化の比率を、電源投入時、残り全てのスイッチと最新の残り全てのスイッチとの周波数の比率に対比することで、スイッチのON状態、OFF状態を判断する。この制御によりスイッチの温度変化に対し、追従することができる。また、スイッチ部を全て接続しないために、アナログスイッチ部を制御部で切り離すことで、コンデンサ(C1)と抵抗(R1)とタイマとで周波数データを生成する。周波数生成部のみで得られた周波数を温度検出用の基準となる基準部の周波数として、随時温度検出用の基準となる基準部で読まれた周波数と電源投入後最初の周波数との変化の比率を、スイッチ部に対し、対比することでスイッチのON状態、OFF状態を判断する。この制御により回路内の温度の変化に対し追従することができる。 In the capacitance type switch of the present invention, whether or not a finger is in contact with or not in contact with the switch unit, the frequency data generated by the analog switch unit, the capacitor (C1), the resistor (R1) and the timer is input via the input capture. After reading, store in memory. One of the plurality of switches is used as a temperature monitoring switch, and after the power is turned on, the frequency obtained by the reference unit that is the reference for temperature detection is first read and stored in the memory. Next, the frequency obtained by all the remaining switches is read and stored in the memory. At any time, the frequency of the reference portion that is a reference for temperature detection and the frequencies of all the remaining switches are stored in the memory. From time to time, the ratio of the change in frequency between the reference part for temperature detection when the power is turned on and the reference part for the latest temperature detection is set to the latest value for all the remaining switches when the power is turned on. By comparing the frequency ratio with all the remaining switches, it is determined whether the switch is on or off. This control can follow the temperature change of the switch. In addition, in order not to connect all the switch units, the analog switch unit is separated by the control unit, thereby generating frequency data with the capacitor (C1), the resistor (R1), and the timer. The frequency obtained by the frequency generator alone is used as the reference frequency for temperature detection, and the ratio of change between the frequency read by the reference standard for temperature detection and the first frequency after power-on as needed. Is compared with the switch unit to determine the ON state and OFF state of the switch. By this control, it is possible to follow the temperature change in the circuit.
本発明の静電容量方式スイッチを、図1、図2を用いて構成を説明する。本願の静電容量方式スイッチは、指12を接触させるためスイッチ部(以下パネルスイッチ5とする。)、複数のパネルスイッチ5を接続し、パネルスイッチに接続したいスイッチのみを接続させるためのアナログスイッチ部(以下、アナログスイッチ6とする。)、アナログスイッチ6より接続され、コンデンサ(C1)と抵抗(R1)とタイマとで周波数データを生成させるための周波数生成部(以下、周波数生成部7という)、周波数生成部7で生成された周波数データの読み取り制御を行う周波数制御部(以下インプットキャプチャ8とする)、アナログスイッチ6の接続に対し、使用するパネルスイッチ5と周波数生成部7とを接続させるための選択、またはパネルスイッチ5を接続させなくアナログスイッチ6と周波数生成部7を切り離し接続させないことを行い、インプットキャプチャ8の制御を行うCPU1、パネルスイッチ5を制御するためのプログラムが格納されているメモリ部(以下ROM2する。)、パネルスイッチ5の制御プログラムを動作させるためのバッファおよび、インプットキャプチャ8で読み取られた周波数データを格納し、たえずデータを更新して読み書きができるメモリ部(以下RAM3とする。)、パネルスイッチ5をON状態、パネルスイッチ5をOFF状態にするための周波数の設定値を格納でき、電源を切られても周波数の設定値として格納したデータが消えないメモリ部(以下EEPROM4とする。)、図示しない接続された機器へ、パネルスイッチ5の入力状態(スイッチの状態がONまたはOFF)のデータの送信および送信制御のためのコマンドをシリアル方式で受信できるシリアル通信部(以下SIO9とする。)、パネルスイッチ5を動作させるため、外部から供給する電源部(以下電源部10)より構成されている。
The configuration of the capacitance type switch of the present invention will be described with reference to FIGS. The capacitive switch of the present application is an analog switch for connecting a switch unit (hereinafter referred to as a panel switch 5) for contacting a
複数のパネルスイッチ5は、各々アナログスイッチ6に接続されている。図2では、複数のパネルスイッチ5とアナログスイッチ6が接続された箇所に対して、1個のパネルスイッチ6を通常指で触ることのないスイッチとして、指12に触られない場所に配置する。
例えば、図1に示すように筐体17の後ろ側や、筐体17の横などに配置する。
また、指12が触られない場所にスイッチを配置できない場合は、スイッチを配置せず、アナログスイッチ6よりスイッチまでの接続パターンのみを配置する。このスイッチを温度の変化を監視するためだけスイッチ(以下温度監視用スイッチ11)とする。
The plurality of
For example, as shown in FIG. 1, it arrange | positions to the back side of the housing |
If the switch cannot be arranged where the
次にインプットキャプチャ8の制御方法を説明する。インプットキャプチャ8は、予め内部で固定された周期の周波数が、電源部10に電源投入と共に絶えず発生している。インプットキャプチャ8は、周波数生成部7で生成された周波数を、インプットキャプチャ8内の固定の周波数でサンプリングし、周波数生成部7の周波数の1周期に対し、インプットキャプチャ8で固定された周期の周波数データがいくつ入るかの機能を有している。インプットキャプチャ8で発生する固定の周波数は、周波数生成部7で発生する周波数より早い周波数で発生されている。
Next, a method for controlling the
図1の周波数生成部7で生成された周波数データをLHzとして、インプットキャプチャ8で発生する固定の周波数データをNHzとした場合、周波数生成部7より発生する周波数は、インプットキャプチャ8より発生する周波数のL/N個のデータとしてCPU1で読み取ることができる。パネルスイッチ5に指12が触れていない時、指12の容量は発生しなく、周波数生成部7で生成される周波数は、コンデンサ(C1)と抵抗(R1)とタイマとで生成され、周波数値はf=1.44/(C1*R1)で求められる。
Frequency data generated by the
このときアナログスイッチ6にも接続結合容量が発生する。周波数変化に対し影響のない値でかつ、各々接続されている接続結合容量は同じため接続結合容量を0pFとする。図2で接続された1からN個のパネルスイッチ5に対し、基板等で使用しているパターンは銅のため抵抗値は0Ωである。アナログスイッチ6に接続されている周波数値はf=1.44/(C1*R1)で求められる。
At this time, connection coupling capacitance is also generated in the
また、アナログスイッチ6に接続された全てのパネルスイッチ5は、スイッチおよび配線パターンに対し、抵抗をもつため、各々のパネルスイッチ5の抵抗値Rを付加しなければならない。1番目のパネルスイッチ5の抵抗値をRp1とした時の周波数は、f=1.44/(C1*(R1+Rp1))で求められる。そのため接続されるパネルスイッチ5ごとに求められる周波数値は違う値になる。
Further, all
指12がパネルスイッチ5に触れたとき、指12の容量であるコンデンサ(C3)がアナログスイッチ6を通じ、コンデンサ(C1)と抵抗(R1)とタイマに接続される。周波数値としてはコンデンサ(C1)に対し、指12の容量であるコンデンサ(C3)が並列に接続するため周波数はf=1.44/((C1+C3)*R1)となり周波数は遅くなる。インプットキャプチャ8で発生する固定の周波数は、予め指12が触れる前と同じ周波数NHzを発生しているため、周波数生成部7より発生された周波数MHzがコンデンサ(C3)分遅くなり、インプットキャプチャ8より発生する固定の周波数のM/N個のデータとしてCPU1は読み取ることができる。
When the
インプットキャプチャ8で読まれる値として、指12がパネルスイッチ5に触れていない時の周波数はL/N、指12がパネルに触れた時の周波数は、M/Nとなり数値の比較としては、(L/N)<(M/N)で(M/N)−(L/N)の数値分がパネルスイッチ5に指12が触れた時の値となる。ここで指12がパネルスイッチ5に触れ、スイッチがONになる時の定義は、前記の式で示した(パネルスイッチ5に指12が触れた時のインプットキャプチャ8の値)−(パネルスイッチ5に指12に触れていない時のインプットキャプチャ8の値)で表される。パネルスイッチ5に指12が触れて、スイッチがONになるための条件の値は、初期値としてEEPROM4に予め格納しておく。
As a value read by the
スイッチがONになるための条件の値は、アナログスイッチ6に接続された各々のパネルスイッチ5ごとに値を決め、各々のパネルスイッチ5のONになるための条件値としてEEPROM4に予め格納しておく。アナログスイッチ6に接続されたすべてのパターンに対しては、電極に抵抗をもつため各々のパネルスイッチ5の抵抗R分を付加しなければならない。前記で示した通り1番目のパネルスイッチ5の抵抗値をRp1とした時、パネルスイッチ5に指12が触れると、指12の容量分であるコンデンサ(C3)は並列に接続するため、周波数生成部7より発生する周波数はf=1.44/((C1+C3))*(R1+Rp1))となり、インプットキャプチャ8より発生し、読み取られる値はコンデンサ(C3)分の容量値が多くなる。アナログスイッチ6に接続されている残りのすべてのパネルスイッチ5に対しても同じで、コンデンサ(C3)分の容量値が多くなる。
The condition value for turning on the switch is determined for each
本発明は温度センサ13を使用しないで、温度の変化に対し追従できる静電容量方式スイッチの動作を図4の構成図で説明する。また、図6にEEPROM4に格納するデータを記載する。図4では、パネルスイッチ5に対し予め1個のスイッチを温度検出用のスイッチ(以下温度基準スイッチ15とする。)として、指12が触れない場所に配置する。
In the present invention, the operation of the capacitance type switch that can follow the change in temperature without using the
また、指12が触れない場所に、スイッチを配置できない場合は、アナログスイッチ6までの接続のパターンを使用する。図4ではアナログスイッチ6の接続に対し、使用するパネルスイッチ5と周波数生成部7とを接続させるための選択(以下、アナログスイッチ選択信号16とする。)をインプットキャプチャ8の制御を行うCPU1で行っている。アナログスイッチ6に対し、CPU1と接続しているアナログスイッチ選択信号16をONにすることで、パネルスイッチ5をアナログスイッチ6に通して周波数生成部7に接続させることを行う。
If the switch cannot be placed where the
次に本発明の静電容量方式スイッチの動作について説明する。
電源部10に電源投入後、パネルスイッチ5と周波数生成部7とをアナログスイッチ6で接続するためのアナログスイッチ選択信号16をONにする。このアナログスイッチ選択信号16は、ONのままに固定にする。始めに温度基準スイッチ15に対し、アナログスイッチ6を通じ、CPU1より温度基準スイッチ15を選択する。温度基準スイッチ15を選択した後、温度基準スイッチ15、アナログスイッチ6、周波数生成部で生成された周波数fondoはfondo=1.44/(C1*R1)をLondoHzとして、インプットキャプチャ8で発生する固定の周波数データをNHzとした場合、周波数生成部7より発生する周波数は、インプットキャプチャ8より発生する周波数のLondo/N個のデータとしてCPU1が読み取られ、EEPROM4に格納する。この値を電源部10に電源投入後の最初の温度に対する温度基準の周波数データ(以下温度基準データZとする。)とする。
Next, the operation of the capacitance type switch of the present invention will be described.
After the
次に指12が触れて使用する残り全てのスイッチに対しては、アナログスイッチ6を通じ、CPU1より使用するn個目のスイッチをNnとしたとき、Nn個目のスイッチに対しては、アナログスイッチ6を通じ、CPU1よりスイッチNnを選択する。選択した後、スイッチNn、アナログスイッチ6、周波数生成部で生成された周波数fnはfn=1.44/(C1*R1)をLnHzとして、インプットキャプチャ8で発生する固定の周波数データをNHzとした場合、周波数生成部7より発生する周波数は、インプットキャプチャ8より発生する周波数のLn/N個のデータとしてCPU1が読み取られ、EEPROM4に格納する。この値を電源部10に電源投入後の最初の温度に対するスイッチNn基準の周波数データ(以下スイッチ温度基準データZとする。)とする。
Is to all remaining switches used touching
電源部10に電源投入後は、最初に得られた周波数を温度に対する基準周波数データとする。次に温度基準スイッチ15に対し、アナログスイッチ6を通じ、CPU1より温度基準スイッチ15を選択する。温度基準スイッチ15を選択した後、温度基準スイッチ15、アナログスイッチ6、周波数生成部7で生成された周波数fondo_1はfondo_1=1.44/(C1*R1)をLondo_1Hzとして、インプットキャプチャ8で発生する固定の周波数データをNHzとした場合、周波数生成部7より発生する周波数は、インプットキャプチャ8より発生する周波数のLondo_1/N個のデータとしてCPU1が読み取られ、EEPROM4に格納する。
After power to the
次に指12が触れて使用する残り全てのスイッチ全てに対し、アナログスイッチ6を通じ、CPU1より使用するn個目のスイッチをNnとしたとき、Nn個目のスイッチに対しては、アナログスイッチ6を通じ、CPU1よりスイッチNnを選択する。選択した後、スイッチNn、アナログスイッチ6、周波数生成部で生成された周波数fn_1はfn_1=1.44/(C1*R1)をLn_1Hzとして、インプットキャプチャ8で発生する固定の周波数をNHzとした場合、周波数生成部7より発生する周波数は、インプットキャプチャ8より発生する周波数のLn_1/N個のデータとしてCPU1が読み取られ、EEPROM4に格納する。
Next, with respect to all the remaining switches that are touched by the
電源部10に電源投入後は、最初の温度基準データZ、残り全てのスイッチ温度基準データZと次に読まれた温度基準データZ1と残り全てのスイッチ基準データZ1とで各々のスイッチに対しての差を求める。温度基準データの差は(温度基準データ差=温度基準データZ1−温度基準データZ)また、スイッチ温度基準データの差は(スイッチ温度基準データ差=スイッチ温度基準データZ1−スイッチ温度基準データZ)となり、各々の差のデータをEEPROM4に格納する。
After power to the
次に残り全てのスイッチ対してはEEPROM4に格納された、各々のスイッチ温度基準データの差と温度基準データの差に対しての差を求める。1個目のスイッチの基準データ差は、1個目の基準データの差=(1個目のスイッチ基準データの差)−(温度基準データの差)で求められる。EEPROM4には予め、パネルスイッチ5をON状態、パネルスイッチ5をOFF状態にするための周波数の設定値が格納されており、1個目の基準データの差と予めEEPROM4に格納されている1個目のスイッチに対する設定値と比較する。(1個目の基準データの差)≧(予めEEPROM4に格納されている値)の場合、1個目のスイッチの状態に対し、指12がパネルスイッチ5に触れていると判断し、スイッチがON状態であるデータは、SIO9を通じ図示しない接続された機器へ送信する。
Next is for all switches remain stored in the EEPROM 4, it determines the difference with respect to the difference between the difference and the temperature reference data for each switch temperature reference data. The reference data difference of the first switch is obtained by the difference of the first reference data = ( difference of the first switch reference data ) − ( difference of the temperature reference data ) . The EEPROM 4 stores in advance the set value of the frequency for turning the
また、(1個目の基準データの差)<(予めEEPROM4に格納されている値)の場合、1個目のスイッチの状態に対し、指12がパネルスイッチ5触れていないと判断し、スイッチがOFF状態であるデータは、SIO9を通じ図示しない接続された機器へ送信する。この動作を全てのパネルスイッチ5に対して制御し、各々のパネルスイッチ5に対するスイッチの状態は、SIO9を通じ図示しない接続された機器へ送信する。電源部10に電源投入後は、最初に読まれた温度基準スイッチ15と残り全てのスイッチで、読まれた周波数データを温度変化に対応できる温度基準の周波数として使用することで、温度センサ13の素子が無くても、温度の変化に対し追従でき部品の領域を少なく、部品の点数も少なくできるためコストも低減できる。
If (difference in the first reference data) <(value stored in the EEPROM 4 in advance), it is determined that the
次にパネルスイッチ5が全てスイッチとして使用され、予め1個のスイッチを温度基準スイッチ15として使用できなく、温度センサ13を使用しなくても、温度の変化に追従する静電容量方式スイッチの動作を図5の構成図で説明する。
Next, all the panel switches 5 are used as switches, and one switch cannot be used as the temperature reference switch 15 in advance, and the operation of the capacitance type switch that follows the temperature change without using the
図5ではアナログスイッチ6の接続に対し、使用するパネルスイッチ5と周波数生成部7とを、接続させるための選択をインプットキャプチャ8の制御を行うCPU1で行っている。アナログスイッチ6に対し、CPU1と接続しているアナログスイッチ選択信号16をOFFにすることで、パネルスイッチ5を接続させなくアナログスイッチ6と周波数生成部7を切り離し、接続させないことを行う。接続としては周波数生成部7のみで生成された周波数が、インプットキャプチャ8の制御を行うCPU1で周波数データとして読み取られる。
In FIG. 5, with respect to the connection of the
次に今回、本発明の静電容量方式スイッチの動作について説明する。
電源部10に電源投入後、最初にパネルスイッチ5と周波数生成部7とを、アナログスイッチ6で接続するためのアナログスイッチ選択信号16の選択をOFFにする。アナログスイッチ選択信号16をOFFにしたときのコンデンサ(C1)と抵抗(R1)とタイマとで構成された回路である周波数生成部7を温度基準スイッチYとする。本温度基準スイッチYで生成された周波数fondoはfondo=1.44/(C1*R1)をLondoHzとして、インプットキャプチャ8で発生する固定の周波数データをNHzとした場合、周波数生成部7より発生する周波数は、インプットキャプチャ8より発生する周波数のLondo/N個のデータとしてCPU1が読み取られ、EEPROM4に格納する。この値を電源部10に電源投入後の最初の温度に対する温度基準の周波数データ(以下温度基準データZとする。)とする。
Next, the operation of the capacitance type switch of the present invention will be described.
After the
次にアナログスイッチ6に対し、CPU1と接続しているアナログスイッチ選択信号16をONにすることで、パネルスイッチ5はアナログスイッチ6を通して周波数生成部7に接続させることを行う。次に指12が、パネルスイッチ全てに接触して使用する場合は、アナログスイッチ6を通じ、CPU1より使用するn個目のスイッチをNnとしたとき、Nn個目のスイッチに対しては、アナログスイッチ6を通じ、CPU1よりスイッチNnを選択する。選択したスイッチNn、アナログスイッチ6、周波数生成部7で生成された周波数fnはfn=1.44/(C1*R1)をLnHzとして、インプットキャプチャ8で発生する固定の周波数データをNHzとした場合、周波数生成部7より発生する周波数は、インプットキャプチャ8より発生する周波数のLn/N個のデータとしてCPU1が読み取られ、EEPROM4に格納する。
Next to the analog switches 6, that turns ON the analog
この値を電源部10に電源投入後の最初の温度に対するスイッチNn基準の周波数データ(以下スイッチ温度基準データZとする。)とする。次に、パネルスイッチ5と周波数生成部7とをアナログスイッチ6で接続するためのアナログスイッチ選択信号16をOFFにする。アナログスイッチ6、周波数生成部7で生成された周波数fondo_1はfondo_1=1.44/(C1*R1)をLondo_1Hzとして、インプットキャプチャ8で発生する固定の周波数をNHzとした場合、周波数生成部7より発生する周波数は、インプットキャプチャ8より発生する周波数のLondo_1/N個のデータとしてCPU1が読み取られ、EEPROM4に格納する。次にアナログスイッチ6に対し、CPU1と接続しているアナログスイッチ選択信号16をONにすることで、パネルスイッチ5はアナログスイッチ6を通して周波数生成部7に接続させることを行う。
This value is used as frequency data based on the switch Nn with respect to the first temperature after the
次に指12が触れて使用するパネルスイッチ全てに対し、アナログスイッチ6を通じ、CPU1より使用するn個目のスイッチをNnとしたとき、Nn個目のスイッチに対しては、アナログスイッチ6を通じ、CPU1よりスイッチNnを選択する。選択した後、スイッチNn、アナログスイッチ6、周波数生成部で生成された周波数fn_1はfn_1=1.44/(C1*R1)をLn_1Hzとして、インプットキャプチャ8で発生する固定の周波数をNHzとした場合、周波数生成部7より発生する周波数は、インプットキャプチャ8より発生する周波数のLn_1/N個のデータとしてCPU1が読み取られ、EEPROM4に格納する。電源部10に電源投入後最初の温度基準データZ、パネルスイッチの温度基準データZと次に読まれた温度基準データZ1とパネルスイッチの基準データZ1とで各々のスイッチに対しての差を求める。
Next, when all the panel switches used by the
温度基準データの差は(温度基準データ差=温度基準データZ1−温度基準データZ)また、スイッチ温度基準データの差は(スイッチ温度基準データ差=スイッチ温度基準データZ1−スイッチ温度基準データZ)となり、各々の差のデータをEEPROM4に格納する。全てのパネルスイッチ対してEEPROM4に格納された、各々のスイッチ温度基準データの差と温度基準データの差に対しての差を基準データ差とし求める。1個目のスイッチの基準データ差は、1個目の基準データの差=(1個目のスイッチ基準データの差)−(温度基準データの差)で求められる。EEPROM4には予め、パネルスイッチ5をON状態、パネルスイッチ5をOFF状態にするための周波数の設定値が格納されており、1個目の基準データの差と予めEEPROM4に格納されている1個目のスイッチに対する設定値と比較する。(1個目の基準データの差)≧(予めEEPROM4に格納されている値)の場合、1個目のスイッチの状態に対し、指12がパネルスイッチ5に触れていると判断し、スイッチがON状態であるデータはSIO9を通じ図示しない接続された機器へ送信する。
The difference in temperature reference data is (temperature reference data difference = temperature reference data Z1−temperature reference data Z), and the difference in switch temperature reference data is (switch temperature reference data difference = switch temperature reference data Z1−switch temperature reference data Z). Thus, each difference data is stored in the EEPROM 4. The difference between each switch temperature reference data and the difference between the temperature reference data stored in the EEPROM 4 for all panel switches is obtained as a reference data difference. The reference data difference of the first switch is obtained by the difference of the first reference data = ( difference of the first switch reference data ) − ( difference of the temperature reference data ) . The EEPROM 4 stores in advance the set value of the frequency for turning the
また、(1個目の基準データの差)<(予めEEPROM4に格納されている値)の場合、1個目のスイッチの状態に対し、パネルスイッチ5に指12が触れていないと判断し、スイッチがOFF状態であるデータはSIO9を通じ図示しない接続された機器へ送信する。この動作を、全てのパネルスイッチ5に対して制御し、各々のパネルスイッチ5に対するスイッチの状態のデータはSIO9を通じ図示しない接続された機器へ送信する。パネルスイッチ5が全て使用されているときでも、電源部10に電源投入後は、アナログスイッチ6をアナログスイッチ選択信号16でOFF状態にし、最初に読まれた温度基準スイッチと次にアナログスイッチを接続する状態で、パネルスイッチ6で読まれた周波数データを温度変化に対応できる温度基準の周波数として使用することで、温度センサ13が無くても、温度の変化に対し追従できる。
If (difference in the first reference data) <(value stored in the EEPROM 4 in advance), it is determined that the
また、部品の領域を少なく、部品の点数も少なくできるためコストも低減できる。基準で使用している周波数データがコンデンサ(C1)および抵抗(R1)とタイマの素子自体で温度の基準としているため、温度センサ等が、パネルスイッチの近くまたは、コンデンサ(C1)と抵抗(R1)とタイマの近くに配置され温度検出している方法より温度の変化に対して精度が良く、そのため、温度センサ13の素子より安全性が高くなる。
Further, since the area of the parts can be reduced and the number of parts can be reduced, the cost can be reduced. Since the frequency data used as a reference is a temperature reference for the capacitor (C1), the resistor (R1) and the timer element itself, the temperature sensor or the like is located near the panel switch or the capacitor (C1) and the resistor (R1). ) And a method of detecting the temperature, which is arranged near the timer, is more accurate with respect to a change in temperature, and therefore, is safer than the element of the
1 CPU
2 ROM
3 RAM
4 EEPROM
5 パネルスイッチ
6 アナログスイッチ
7 周波数生成部
8 インプットキャプチャ
9 SIO
10 電源部
11 基準部
12 指
13 温度センサ
14 A/Dコンバータ
15 温度基準スイッチ
17 筐体
1 CPU
2 ROM
3 RAM
4 EEPROM
DESCRIPTION OF
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006182875A JP4923790B2 (en) | 2006-07-01 | 2006-07-01 | Switch control device using capacitance method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006182875A JP4923790B2 (en) | 2006-07-01 | 2006-07-01 | Switch control device using capacitance method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2008015570A JP2008015570A (en) | 2008-01-24 |
JP4923790B2 true JP4923790B2 (en) | 2012-04-25 |
Family
ID=39072550
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006182875A Active JP4923790B2 (en) | 2006-07-01 | 2006-07-01 | Switch control device using capacitance method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4923790B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5163232B2 (en) * | 2008-03-31 | 2013-03-13 | ぺんてる株式会社 | Capacitance type switch |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0822361A (en) * | 1994-07-07 | 1996-01-23 | Heiwa Denki Kk | Electrostatic inducation type noncontact switch controller |
JP3728878B2 (en) * | 1997-07-17 | 2005-12-21 | オムロン株式会社 | Capacitive proximity sensor |
JP4249357B2 (en) * | 1999-12-01 | 2009-04-02 | ケイエステクノ株式会社 | Object-intrusive capacitive sensor in urban environment |
JP2005084982A (en) * | 2003-09-09 | 2005-03-31 | Pentel Corp | Electrostatic capacitance type touch panel device |
JP4319970B2 (en) * | 2004-11-22 | 2009-08-26 | 株式会社フジクラ | Capacitive proximity sensor |
-
2006
- 2006-07-01 JP JP2006182875A patent/JP4923790B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2008015570A (en) | 2008-01-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100799410B1 (en) | Programmable controller device | |
US20130222306A1 (en) | Electronic device and method for determining a temperature of an electronic device | |
US8904215B2 (en) | Electronic device and power consumption measuring method thereof | |
RU2006116510A (en) | TOUCH DISPLAY DEVICE | |
CN103048017A (en) | Intelligent temperature-humidity electronic measuring system based on SHT sensor | |
JP2014056374A (en) | Information processor | |
JP4923790B2 (en) | Switch control device using capacitance method | |
US7690839B2 (en) | Thermal testing apparatus | |
CN210108386U (en) | Sensing device and electronic equipment | |
KR20050055156A (en) | The digital sensor detection way that used a basis price automatic setting way and a device | |
EP3318858B1 (en) | Temperature sensing device capable of automatically switching mode and method thereof | |
JP4659746B2 (en) | Cloudiness sensor | |
CN105302655A (en) | System halt processing method and apparatus | |
US8822889B2 (en) | Temperature control system | |
JP2014081691A (en) | Sensor node and sensor network | |
CN209911788U (en) | Controller circuit | |
KR20120006700A (en) | Apparatus for processing input signal of sensor | |
JP2004355545A (en) | Electrostatic capacity type digital touch panel device | |
CN206847816U (en) | Temperature sensor line circuit structure with pwm pulse output detection function | |
CN210108385U (en) | Sensing device and electronic equipment | |
CN205334391U (en) | Touch pen | |
Sengupta et al. | Designing of a Remote Sensor System with Data Logging and Temperature Sensing Facility | |
CN216718949U (en) | Atomizer weeping detection circuitry | |
CN201828679U (en) | Indoor environmental-comfort test recorder | |
JP3194696B2 (en) | Liquid container with temperature display function |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20090618 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20101228 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110222 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110422 |
|
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: 20120110 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120123 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150217 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4923790 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |