JP4923790B2 - Switch control device using capacitance method - Google Patents

Switch control device using capacitance method Download PDF

Info

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
Application number
JP2006182875A
Other languages
Japanese (ja)
Other versions
JP2008015570A (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.)
Pentel Co Ltd
Original Assignee
Pentel Co Ltd
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 Pentel Co Ltd filed Critical Pentel Co Ltd
Priority to JP2006182875A priority Critical patent/JP4923790B2/en
Publication of JP2008015570A publication Critical patent/JP2008015570A/en
Application granted granted Critical
Publication of JP4923790B2 publication Critical patent/JP4923790B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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コンバータ)で読み取り、読み取られた電圧値を温度に換算している。
特開2005−084982号公報。
Capacitance type switch is printed with silver paste or ITO film, and connected to analog switch, and frequency generated by analog switch, capacitor (C1), resistor (R1), timer is set to ROM The input capture is controlled by the program stored in, and the frequency is read. The switch to the analog switch configured printed with silver paste or ITO film (hereinafter, referred to as the switch.) Is connected, a switch connected from the analog switch capacitor (C1), resistor (R1), connected to the timer Selection of a plurality of switches having a role and connected to the analog switch is performed under the control of the CPU by a program stored in the ROM. When the product is used in a cool place in summer, suddenly in a hot location, or in a warm location in winter, suddenly exposed to cold outside air, Temperature also changes. Since the plurality of switches change the capacitance value and resistance value of the capacitors and resistors of the plurality of switches with changes in temperature, the frequency generated by the analog switch, the capacitor (C1), the resistor (R1), and the timer It will change. Also, in the circuit composed of the capacitor (C1), the resistor (R1), and the timer, the capacitance value of the capacitor (C1) and the resistance value of the resistor (R1) also change, so the analog switch, the capacitor (C1), and the resistor The frequency generated by (R1) and the timer also changes. Therefore, since the frequency is generated by the capacitance value of the capacitor, the resistance value of the resistor, and the timer, the temperature sensor is placed near the switch so that it can follow changes in temperature and frequency. It was. In addition, the analog switch, the capacitor (c1), the resistor (r1), and the timer are arranged near the circuit for generating the frequency. The temperature sensor converts the detected temperature value into a voltage and outputs it from the temperature sensor. The voltage output from the temperature sensor is read by a voltage measurement ic (a / d converter) in the CPU, and the read voltage value is converted into temperature.
Japanese Patent Laid-Open No. 2005-049882.

静電容量方式のスイッチでは、スイッチの近傍の温度変化に対応するために、温度センサを配置し、温度の変化に追従している。しかし、スイッチの近傍の温度と各スイッチをアナログスイッチ部に接続し、アナログスイッチ部、コンデンサ(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 finger 12, a plurality of panel switches 5, and connecting only a switch to be connected to the panel switch. Unit (hereinafter referred to as an analog switch 6), a frequency generation unit (hereinafter referred to as a frequency generation unit 7) that is connected from the analog switch 6 and generates frequency data with a capacitor (C1), a resistor (R1), and a timer. ), The frequency switch for controlling the frequency data generated by the frequency generator 7 (hereinafter referred to as input capture 8) and the analog switch 6 are connected to the panel switch 5 to be used and the frequency generator 7 The analog switch 6 and the frequency generator 7 without connecting the panel switch 5 A CPU 1 that controls the input capture 8, a memory unit that stores a program for controlling the panel switch 5 (hereinafter referred to as ROM 2), and a control program for operating the panel switch 5. A buffer and a memory unit (hereinafter referred to as RAM 3) that stores frequency data read by the input capture 8 and can continuously read and write data, and the panel switch 5 is turned on and the panel switch 5 is turned off. The frequency setting value can be stored, and the data stored as the frequency setting value does not disappear even when the power is turned off (hereinafter referred to as EEPROM 4), and the panel switch 5 is input to a connected device (not shown). Status data transmission (switch status is ON or OFF) Serial communication unit which commands can be received in a serial fashion for transmission control (hereinafter referred to SIO9.), For operating the panel switch 5 is composed of a power supply unit for supplying (hereinafter the power supply unit 10) from the outside.

複数のパネルスイッチ5は、各々アナログスイッチ6に接続されている。図2では、複数のパネルスイッチ5とアナログスイッチ6が接続された箇所に対して、1個のパネルスイッチ6を通常指で触ることのないスイッチとして、指12に触られない場所に配置する。
例えば、図1に示すように筐体17の後ろ側や、筐体17の横などに配置する。
また、指12が触られない場所にスイッチを配置できない場合は、スイッチを配置せず、アナログスイッチ6よりスイッチまでの接続パターンのみを配置する。このスイッチを温度の変化を監視するためだけスイッチ(以下温度監視用スイッチ11)とする。
The plurality of panel switches 5 are each connected to the analog switch 6. In FIG. 2, one panel switch 6 is arranged at a place where the finger 12 is not touched as a switch that is not normally touched by a finger with respect to a place where the plurality of panel switches 5 and the analog switch 6 are connected.
For example, as shown in FIG. 1, it arrange | positions to the back side of the housing | casing 17, the side of the housing | casing 17, etc.
If the switch cannot be arranged where the finger 12 cannot be touched, only the connection pattern from the analog switch 6 to the switch is arranged without arranging the switch. This switch is a switch (hereinafter, temperature monitoring switch 11) only for monitoring a change in temperature.

次にインプットキャプチャ8の制御方法を説明する。インプットキャプチャ8は、予め内部で固定された周期の周波数が、電源部10に電源投入と共に絶えず発生している。インプットキャプチャ8は、周波数生成部7で生成された周波数を、インプットキャプチャ8内の固定の周波数でサンプリングし、周波数生成部7の周波数の1周期に対し、インプットキャプチャ8で固定された周期の周波数データがいくつ入るかの機能を有している。インプットキャプチャ8で発生する固定の周波数は、周波数生成部7で発生する周波数より早い周波数で発生されている。 Next, a method for controlling the input capture 8 will be described. In the input capture 8, a frequency having a period fixed inside is constantly generated when the power supply unit 10 is turned on. The input capture 8 samples the frequency generated by the frequency generation unit 7 at a fixed frequency in the input capture 8, and the frequency of the cycle fixed by the input capture 8 with respect to one cycle of the frequency of the frequency generation unit 7. It has the function of how many data can be entered. The fixed frequency generated in the input capture 8 is generated at a frequency faster than the frequency generated in the frequency generation unit 7.

図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 frequency generator 7 in FIG. 1 as L Hz, when the fixed frequency data generated by the input capture 8 and NHZ, frequency generated from the frequency generator 7, the frequency generated from the input capture 8 as the L / N pieces of data can be read by CPU 1. When the finger 12 does not touch the panel switch 5, the capacitance of the finger 12 is not generated, and the frequency generated by the frequency generator 7 is generated by the capacitor (C1), the resistor (R1), and the timer, and the frequency value Is obtained by f = 1.44 / (C1 * R1).

このときアナログスイッチ6にも接続結合容量が発生する。周波数変化に対し影響のない値でかつ、各々接続されている接続結合容量は同じため接続結合容量を0pFとする。図2で接続された1からN個のパネルスイッチ5に対し、基板等で使用しているパターンは銅のため抵抗値は0Ωである。アナログスイッチ6に接続されている周波数値はf=1.44/(C1*R1)で求められる。 At this time, connection coupling capacitance is also generated in the analog switch 6. The connection coupling capacitance is 0 pF because the connection coupling capacitance is a value that does not affect the frequency change and is connected to each other. For N panel switch 5 1 connected in FIG. 2, the pattern being used in the substrate or the like resistance for copper Ruder. The frequency value connected to the analog switch 6 is obtained by f = 1.44 / (C1 * R1).

また、アナログスイッチ6に接続された全てのパネルスイッチ5、スイッチおよび配線パターンに対し、抵抗をもつため、各々のパネルスイッチ5の抵抗値Rを付加しなければならない。1番目のパネルスイッチ5の抵抗値をRp1とした時の周波数は、f=1.44/(C1*(R1+Rp1))で求められる。そのため接続されるパネルスイッチ5ごとに求められる周波数値は違う値になる。 Further, all panel switch 5 connected to the analog switch 6 to switch and wiring patterns, since having a resistance, it is necessary to add a resistance value R of each of the panel switch 5. The frequency when the resistance value of the first panel switch 5 is Rp1 is obtained by f = 1.44 / (C1 * (R1 + Rp1)). Therefore, the frequency value required for each connected panel switch 5 is different.

指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 finger 12 touches the panel switch 5, the capacitor (C3) which is the capacitance of the finger 12 is connected to the capacitor (C1), the resistor (R1) and the timer through the analog switch 6. As the frequency value, the capacitor (C3), which is the capacitance of the finger 12, is connected in parallel to the capacitor (C1), so the frequency becomes f = 1.44 / ((C1 + C3) * R1), and the frequency becomes slower. Since the fixed frequency generated in the input capture 8 is generated in advance at the same frequency NHz as before the finger 12 is touched, the frequency MHz generated from the frequency generator 7 is delayed by the capacitor (C3), and the input capture 8 The CPU 1 can read as M / N pieces of data having a fixed frequency generated more.

インプットキャプチャ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 input capture 8, the frequency when the finger 12 is not touching the panel switch 5 is L / N, and the frequency when the finger 12 is touching the panel is M / N. When (L / N) <(M / N), the numerical value of (M / N) − (L / N) is the value when the finger 12 touches the panel switch 5. Here, the definition when the finger 12 touches the panel switch 5 and the switch is turned on is shown by the above formula (value of the input capture 8 when the finger 12 touches the panel switch 5) − (panel switch 5 The value of the input capture 8 when the finger 12 is not touched. The value of the condition for turning the switch on when the finger 12 touches the panel switch 5 is stored in advance in the EEPROM 4 as an initial value.

スイッチが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 panel switch 5 connected to the analog switch 6 and stored in the EEPROM 4 in advance as a condition value for turning on each panel switch 5. deep. For all the patterns that are connected to the analog switch 6, it is necessary to add a resistor R component of each of the panel switch 5 for having a resistance in the electrode. As described above, when the resistance value of the first panel switch 5 is Rp1, when the finger 12 touches the panel switch 5, the capacitor (C3) corresponding to the capacitance of the finger 12 is connected in parallel, so that the frequency generation The frequency generated from the unit 7 is f = 1.44 / ((C1 + C3)) * (R1 + Rp1)), and the value generated and read from the input capture 8 has a capacitance value corresponding to the capacitor (C3). The same applies to all the remaining panel switches 5 connected to the analog switch 6, and the capacitance value for the capacitor (C3) increases.

本発明は温度センサ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 temperature sensor 13 will be described with reference to the block diagram of FIG. FIG. 6 shows data stored in the EEPROM 4. In FIG. 4, one switch for the panel switch 5 is arranged in advance as a temperature detection switch (hereinafter referred to as a temperature reference switch 15) where the finger 12 does not touch.

また、指12が触れない場所に、スイッチを配置できない場合は、アナログスイッチ6までの接続のパターンを使用する。図4ではアナログスイッチ6の接続に対し、使用するパネルスイッチ5と周波数生成部7とを接続させるための選択(以下、アナログスイッチ選択信号16とする。)をインプットキャプチャ8の制御を行うCPU1で行っている。アナログスイッチ6に対し、CPU1と接続しているアナログスイッチ選択信号16をONにすることで、パネルスイッチ5をアナログスイッチ6に通して周波数生成部7に接続させることを行う。 If the switch cannot be placed where the finger 12 does not touch, the connection pattern up to the analog switch 6 is used. In FIG. 4, the CPU 1 that controls the input capture 8 performs selection (hereinafter referred to as an analog switch selection signal 16) for connecting the panel switch 5 to be used and the frequency generator 7 to the connection of the analog switch 6. Is going. By turning on the analog switch selection signal 16 connected to the CPU 1 for the analog switch 6, the panel switch 5 is connected to the frequency generator 7 through the analog switch 6.

次に本発明の静電容量方式スイッチの動作について説明する。
電源部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 power supply unit 10 is turned on, an analog switch selection signal 16 for connecting the panel switch 5 and the frequency generation unit 7 with the analog switch 6 is turned ON. The analog switch selection signal 16 is fixed while being ON. First, the temperature reference switch 15 is selected by the CPU 1 through the analog switch 6 with respect to the temperature reference switch 15. After selecting the temperature reference switch 15, the frequency fondo generated by the temperature reference switch 15, the analog switch 6, and the frequency generation unit is fixed at the input capture 8 where fondo = 1.44 / (C1 * R1) is LondoHz. The frequency generated by the frequency generator 7 is read by the CPU 1 as Londo / N data of the frequency generated by the input capture 8 and stored in the EEPROM 4. This value is set as temperature reference frequency data (hereinafter referred to as temperature reference data Z) for the first temperature after the power supply unit 10 is turned on.

次に指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 finger 12 then through the analog switches 6, when the Nn the n-th switches used from CPU 1, for the Nn-th switch, the analog switch 6, the switch Nn is selected from the CPU 1. After selection, the frequency fn generated by the switch Nn, the analog switch 6 and the frequency generation unit is set to fn = 1.44 / (C1 * R1) is LnHz, and the fixed frequency data generated by the input capture 8 is NHz. In this case, the frequency generated from the frequency generator 7 is read by the CPU 1 as Ln / N data of the frequency generated from the input capture 8 and stored in the EEPROM 4. This value is used as frequency data based on the switch Nn with respect to the first temperature after the power supply unit 10 is turned on (hereinafter referred to as switch temperature reference data Z).

電源部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 power unit 10, a reference frequency data for the temperature initially obtained frequency. Next, the temperature reference switch 15 is selected from the CPU 1 through the analog switch 6 with respect to the temperature reference switch 15. After selecting the temperature reference switch 15, the frequency fondo_1 generated by the temperature reference switch 15, the analog switch 6, and the frequency generator 7 is generated by the input capture 8 with fondo_1 = 1.44 / (C1 * R1) as Londo_1Hz. When the fixed frequency data is NHz, the frequency generated by the frequency generation unit 7 is read by the CPU 1 as London_1 / N data of the frequency generated by the input capture 8 and stored in the EEPROM 4.

次に指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 finger 12, the nth switch used by the CPU 1 is set to Nn through the analog switch 6, and for the Nnth switch, the analog switch 6 is used. Then, the switch Nn is selected from the CPU1. After selection, the frequency fn_1 generated by the switch Nn, the analog switch 6 and the frequency generator is set to fn_1 = 1.44 / (C1 * R1) Ln_1 Hz and the fixed frequency generated by the input capture 8 is NHz. The frequency generated by the frequency generator 7 is read by the CPU 1 as Ln_1 / N data of the frequency generated by the input capture 8 and stored in the EEPROM 4.

電源部10に電源投入後、最初の温度基準データZ、残り全てのスイッチ温度基準データZと次に読まれた温度基準データZ1と残り全てのスイッチ基準データZ1とで各々のスイッチに対しての差を求める。温度基準データの差は(温度基準データ差=温度基準データZ1−温度基準データZ)また、スイッチ温度基準データの差は(スイッチ温度基準データ差=スイッチ温度基準データZ1−スイッチ温度基準データZ)となり、各々の差のデータをEEPROM4に格納する。 After power to the power unit 10, first temperature reference data Z, for each of the switches in the all remaining switches temperature reference data Z then read the temperature reference data Z1 and all remaining switches reference data Z1 Find the difference. 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.

次に残り全てのスイッチ対して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 panel switch 5 on and the panel switch 5 off, and the difference between the first reference data and one stored in the EEPROM 4 in advance. Compare with the set value for the eye switch. When (difference of the first reference data) ≧ (value stored in the EEPROM 4 in advance), it is determined that the finger 12 is touching the panel switch 5 with respect to the state of the first switch, and the switch Data in the ON state is transmitted to a connected device (not shown) through the SIO 9.

また、(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 finger 12 is not touching the panel switch 5 with respect to the state of the first switch, and the switch Data that is in an OFF state is transmitted to a connected device (not shown) through the SIO 9. This operation is controlled for all panel switches 5, and the switch state for each panel switch 5 is transmitted to a connected device (not shown) through the SIO 9. After power to the power unit 10 is a temperature reference switch 15 and all remaining switches read first, by using the frequency of the temperature reference that the frequency data read can respond to temperature changes, the temperature sensor 13 Even if there is no element, it can follow the change in temperature, and the area of parts can be reduced, and the number of parts can be reduced, thereby reducing the cost.

次にパネルスイッチ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 temperature sensor 13. Will be described with reference to the block diagram of FIG.

図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 analog switch 6, selection for connecting the panel switch 5 to be used and the frequency generation unit 7 is performed by the CPU 1 that controls the input capture 8. By turning off the analog switch selection signal 16 connected to the CPU 1 for the analog switch 6, the analog switch 6 and the frequency generation unit 7 are disconnected and not connected without connecting the panel switch 5. As a connection, the frequency generated only by the frequency generator 7 is read as frequency data by the CPU 1 that controls the input capture 8.

次に今回、本発明の静電容量方式スイッチの動作について説明する。
電源部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 power supply unit 10 is turned on, first, the selection of the analog switch selection signal 16 for connecting the panel switch 5 and the frequency generation unit 7 with the analog switch 6 is turned OFF. The frequency generation unit 7, which is a circuit composed of a capacitor (C 1), a resistor (R 1), and a timer when the analog switch selection signal 16 is turned off, is referred to as a temperature reference switch Y. The frequency fondo generated by the temperature reference switch Y is generated by the frequency generator 7 when fondo = 1.44 / (C1 * R1) is LondoHz and the fixed frequency data generated by the input capture 8 is NHz. The frequency is read by the CPU 1 as Londo / N data of the frequency generated from the input capture 8 and stored in the EEPROM 4. This value is set as temperature reference frequency data (hereinafter referred to as temperature reference data Z) for the first temperature after the power supply unit 10 is turned on.

次にアナログスイッチ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 switch selection signal 16 is connected to the CPU 1, the panel switch 5 performs be connected to the frequency generator 7 through the analog switch 6. Next, when the finger 12 is used in contact with all the panel switches, when the nth switch used by the CPU 1 is Nn through the analog switch 6, the analog switch is used for the Nnth switch. 6, the switch Nn is selected from the CPU 1. The frequency fn generated by the selected switch Nn, analog switch 6 and frequency generator 7 is fn = 1.44 / (C1 * R1) is LnHz, and the fixed frequency data generated by the input capture 8 is NHz. The frequency generated by the frequency generator 7 is read by the CPU 1 as Ln / N data of the frequency generated by the input capture 8 and stored in the EEPROM 4.

この値を電源部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 power supply unit 10 is turned on (hereinafter referred to as switch temperature reference data Z). Next, the analog switch selection signal 16 for connecting the panel switch 5 and the frequency generator 7 with the analog switch 6 is turned OFF. When the frequency fondo_1 generated by the analog switch 6 and the frequency generator 7 is fondo_1 = 1.44 / (C1 * R1) is Londo_1 Hz and the fixed frequency generated by the input capture 8 is NHz, the frequency generator 7 The generated frequency is read by the CPU 1 as Londo_1 / N data of the frequency generated from the input capture 8 and stored in the EEPROM 4. Next to the analog switches 6, that turns ON the analog switch selection signal 16 is connected to the CPU 1, the panel switch 5 performs be connected to the frequency generator 7 through the analog switch 6.

次に指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 finger 12 are touched through the analog switch 6 and the nth switch used by the CPU 1 is Nn, the Nnth switch is passed through the analog switch 6. The switch Nn is selected from the CPU1. After selection, the frequency fn_1 generated by the switch Nn, the analog switch 6 and the frequency generator is set to fn_1 = 1.44 / (C1 * R1) Ln_1 Hz and the fixed frequency generated by the input capture 8 is NHz. The frequency generated by the frequency generator 7 is read by the CPU 1 as Ln_1 / N data of the frequency generated by the input capture 8 and stored in the EEPROM 4. After the power supply unit 10 is turned on, the first temperature reference data Z, the panel switch temperature reference data Z, and the next read temperature reference data Z1 and the panel switch reference data Z1 are used to determine the difference for each switch. .

温度基準データの差は(温度基準データ差=温度基準データ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 panel switch 5 on and the panel switch 5 off, and the difference between the first reference data and one stored in the EEPROM 4 in advance. Compare with the set value for the eye switch. When (difference of the first reference data) ≧ (value stored in the EEPROM 4 in advance), it is determined that the finger 12 is touching the panel switch 5 with respect to the state of the first switch, and the switch data is in the ON state is transmitted to the connected device (not shown) through SIO9.

また、(1個目の基準データの差)<(予めEEPROM4に格納されている値)の場合、1個目のスイッチの状態に対し、パネルスイッチ5に指12が触れていないと判断し、スイッチがOFF状態であるデータSIO9を通じ図示しない接続された機器へ送信する。この動作を、全てのパネルスイッチ5に対して制御し、各々のパネルスイッチ5に対するスイッチの状態のデータSIO9を通じ図示しない接続された機器へ送信する。パネルスイッチ5が全て使用されているときでも、電源部10に電源投入後は、アナログスイッチ6をアナログスイッチ選択信号16OFF状態にし、最初に読まれた温度基準スイッチと次にアナログスイッチを接続する状態で、パネルスイッチ6で読まれた周波数データを温度変化に対応できる温度基準の周波数として使用することで、温度センサ13が無くても、温度の変化に対し追従できる。 If (difference in the first reference data) <(value stored in the EEPROM 4 in advance), it is determined that the finger 12 is not touching the panel switch 5 with respect to the state of the first switch. switch data in the OFF state and transmits it to the connected device (not shown) through SIO9. This operation is controlled for all the panel switches 5, and switch state data for each panel switch 5 is transmitted to a connected device (not shown) through the SIO 9. Even when the panel switch 5 is used all, after power to the power unit 10, the analog switch 6 to the OFF state by the analog switch selection signal 16, then connecting the analog switch and the temperature reference switch read first In this state, the frequency data read by the panel switch 6 is used as a temperature reference frequency that can cope with the temperature change, so that the temperature change can be followed without the temperature sensor 13.

また、部品の領域を少なく、部品の点数も少なくできるためコストも低減できる。基準で使用している周波数データがコンデンサ(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 temperature sensor 13.

スイッチの配置図Switch layout 静電容量方式スイッチの構成図Configuration diagram of capacitive switch 静電容量方式スイッチの構成図Configuration diagram of capacitive switch 静電容量方式スイッチの構成図Configuration diagram of capacitive switch 静電容量方式スイッチの構成図Configuration diagram of capacitive switch EEPROMの内容図EEPROM contents

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
5 Panel switch 6 Analog switch 7 Frequency generator 8 Input capture 9 SIO
DESCRIPTION OF SYMBOLS 10 Power supply part 11 Reference | standard part 12 Finger 13 Temperature sensor 14 A / D converter 15 Temperature reference switch 17 Case

Claims (1)

印刷されて構成されている複数のスイッチと、該複数のスイッチを接続するアナログスイッチ部と、該アナログスイッチ部に接続され、コンデンサ(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. The control device of the switch that had been.
JP2006182875A 2006-07-01 2006-07-01 Switch control device using capacitance method Active JP4923790B2 (en)

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)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5163232B2 (en) * 2008-03-31 2013-03-13 ぺんてる株式会社 Capacitance type switch

Family Cites Families (5)

* Cited by examiner, † Cited by third party
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

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