JP5084565B2 - Electronic device having changeover switch - Google Patents

Electronic device having changeover switch Download PDF

Info

Publication number
JP5084565B2
JP5084565B2 JP2008056475A JP2008056475A JP5084565B2 JP 5084565 B2 JP5084565 B2 JP 5084565B2 JP 2008056475 A JP2008056475 A JP 2008056475A JP 2008056475 A JP2008056475 A JP 2008056475A JP 5084565 B2 JP5084565 B2 JP 5084565B2
Authority
JP
Japan
Prior art keywords
microcomputer
switch
fixed contact
changeover switch
switched
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.)
Expired - Fee Related
Application number
JP2008056475A
Other languages
Japanese (ja)
Other versions
JP2009212047A (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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP2008056475A priority Critical patent/JP5084565B2/en
Publication of JP2009212047A publication Critical patent/JP2009212047A/en
Application granted granted Critical
Publication of JP5084565B2 publication Critical patent/JP5084565B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Keying Circuit Devices (AREA)

Description

本発明は、切換スイッチの切り換え位置をマイコンで判別する切換スイッチを備える電子機器に関する。   The present invention relates to an electronic apparatus including a changeover switch that determines a changeover position of a changeover switch with a microcomputer.

マイコンに切換スイッチを接続している電子機器は、切換スイッチを切り換えて種々の動作状態に切り換えられる。たとえば、携帯型電子式カイロにあっては、切換スイッチを電源スイッチのオンオフとヒーターの強弱の切り換えに使用することができる。この種の電子機器は、図1に示すように、プルアップ抵抗87を介してマイコン82に入力する電圧を変更して、切換スイッチ81の切り換え位置を検出することができる。この電子機器は、切換スイッチ81の可動接点83を第1ないし第3の固定接点84A、84B、84Cに切り換えると、マイコン82の各々の入力端子86に入力される電圧が変化する。しかしながら、図1に示す電子機器は、切換スイッチ81の複数の固定接点84の切り換え位置を検出するために、マイコン82に複数の入力端子86を必要とする。マイコン82は、各々の入力端子86に入力される電圧信号から切換スイッチ81の切り換え位置を判別するからである。   An electronic device in which a changeover switch is connected to a microcomputer can be changed over to various operating states by changing over the changeover switch. For example, in a portable electronic body warmer, the changeover switch can be used to turn on / off a power switch and change the strength of a heater. As shown in FIG. 1, this type of electronic device can detect the switching position of the changeover switch 81 by changing the voltage input to the microcomputer 82 via the pull-up resistor 87. In this electronic device, when the movable contact 83 of the changeover switch 81 is switched to the first to third fixed contacts 84A, 84B, and 84C, the voltage input to each input terminal 86 of the microcomputer 82 changes. However, the electronic device shown in FIG. 1 requires a plurality of input terminals 86 in the microcomputer 82 in order to detect the switching positions of the plurality of fixed contacts 84 of the changeover switch 81. This is because the microcomputer 82 determines the switching position of the selector switch 81 from the voltage signal input to each input terminal 86.

図1の回路構成の欠点は、特許文献1に記載されるように、スイッチの切り換え位置で入力端子の電圧を変化させる回路構成で解消できる。スイッチの切り換え位置で電圧が変化することを利用して、切換スイッチの切り換え状態を検出できる回路の一例を図2に示す。この電子機器は、プルアップ抵抗97と分圧抵抗99を介してマイコン92に入力される電圧値を変更して、切換スイッチ91の複数の固定接点94の切り換え位置を検出するので、マイコン92のひとつの入力端子96を利用して切換スイッチ91の切り換え位置を判別できる。図2に示す回路構成の電子機器は、切換スイッチ91の可動接点93が、第1ないし第3の固定接点94A、94B、94Cに切り換えられるにしたがって、入力端子96の電圧が5V、2.5V、1Vのように変化する。したがって、マイコン92は、入力端子96に入力される電圧から切換スイッチ91の切り換え位置を判別できる。
特開2002−310807号公報
The disadvantage of the circuit configuration of FIG. 1 can be solved by a circuit configuration in which the voltage of the input terminal is changed at the switching position of the switch, as described in Patent Document 1. FIG. 2 shows an example of a circuit that can detect the changeover state of the changeover switch using the fact that the voltage changes at the changeover position of the switch. Since this electronic device detects the switching position of the plurality of fixed contacts 94 of the changeover switch 91 by changing the voltage value input to the microcomputer 92 via the pull-up resistor 97 and the voltage dividing resistor 99, The switching position of the selector switch 91 can be determined using one input terminal 96. In the electronic apparatus having the circuit configuration shown in FIG. 2, as the movable contact 93 of the changeover switch 91 is switched to the first to third fixed contacts 94A, 94B, 94C, the voltage of the input terminal 96 is 5V, 2.5V. It changes like 1V. Therefore, the microcomputer 92 can determine the switching position of the selector switch 91 from the voltage input to the input terminal 96.
JP 2002-310807 A

ただ、図2の回路構成の電子機器は、動作状態にあるマイコンでもって切換スイッチの切り換え位置を判別するので、マイコンをスリープ状態にできない。したがって、切換スイッチを電源スイッチに併用する回路構成にあっては、切換スイッチの電源オフの位置に切り換えても、マイコンが無駄に電力を消費する欠点がある。   However, since the electronic device having the circuit configuration of FIG. 2 determines the switching position of the changeover switch with the microcomputer in the operating state, the microcomputer cannot be put into the sleep state. Therefore, in the circuit configuration in which the changeover switch is used together with the power switch, there is a drawback that the microcomputer consumes power wastefully even when the changeover switch is switched to the power-off position.

本発明は、さらにこの欠点を解決することを目的に開発されたものである。本発明の重要な目的は、マイコンの無駄な電力消費を削減しながら、切換スイッチの切り換え位置を判別できる電子機器を提供することにある。   The present invention has been developed for the purpose of solving this drawback. An important object of the present invention is to provide an electronic device that can determine the switching position of a changeover switch while reducing unnecessary power consumption of a microcomputer.

本発明の切換スイッチを備える電子機器は、前述の目的を達成するために以下の構成を備える。
本発明の請求項1の電子機器は、複数の接点を有する切換スイッチ1と、この切換スイッチ1を接続しているマイコン2とを備え、マイコン2が切換スイッチ1から入力される電圧値で切換スイッチ1の切り換え位置を判定している。マイコン2は、入力信号が”High”から”Low”に切り換えられたことを検出してスリープ状態から動作状態に切り換えられる起動端子6を有する。切換スイッチ1は、スライドスイッチ1Aで、このスライドスイッチ1Aは、可動接点3と複数の固定接点4を備えている。可動接点3は、アースライン5に接続している。複数の固定接点4は、マイコン2の起動端子6に接続されない第1の固定接点4Aと、マイコン2の起動端子6に接続している第2の固定接点4Bとを備えている。第2の固定接点4Bは、プルアップ抵抗7を介して電源回路8に接続されて、可動接点3の非接触状態において”High”信号を起動端子6に入力している。スライドスイッチ1Aの可動接点3が第1の固定接点4Aから第2の固定接点4Bに切り換えられてマイコン2の起動端子6に入力される信号が”High”から”Low”に切り換えられると、起動端子6の電圧信号からマイコン2がスリープ状態から動作状態に切り換えられ、動作状態にあるマイコン2が、起動端子6に入力される電圧信号から切換スイッチ1の切り換え位置を検出する。
In order to achieve the above-described object, an electronic apparatus including the changeover switch according to the present invention has the following configuration.
An electronic apparatus according to a first aspect of the present invention includes a changeover switch 1 having a plurality of contacts and a microcomputer 2 connected to the changeover switch 1, and the microcomputer 2 is switched by a voltage value input from the changeover switch 1. The switch position of switch 1 is determined. The microcomputer 2 has an activation terminal 6 that detects that the input signal has been switched from “High” to “Low” and is switched from the sleep state to the operation state. The changeover switch 1 is a slide switch 1A, and the slide switch 1A includes a movable contact 3 and a plurality of fixed contacts 4. The movable contact 3 is connected to the earth line 5. The plurality of fixed contacts 4 include a first fixed contact 4 </ b> A that is not connected to the start terminal 6 of the microcomputer 2 and a second fixed contact 4 </ b> B that is connected to the start terminal 6 of the microcomputer 2. The second fixed contact 4 </ b> B is connected to the power supply circuit 8 via the pull-up resistor 7, and inputs a “High” signal to the activation terminal 6 when the movable contact 3 is in a non-contact state. When the movable contact 3 of the slide switch 1A is switched from the first fixed contact 4A to the second fixed contact 4B and the signal input to the start terminal 6 of the microcomputer 2 is switched from "High" to "Low", the start The microcomputer 2 is switched from the sleep state to the operating state from the voltage signal at the terminal 6, and the microcomputer 2 in the operating state detects the switching position of the changeover switch 1 from the voltage signal input to the start terminal 6.

本発明の請求項2の電子機器は、複数の接点を有する切換スイッチ1と、この切換スイッチ1を接続しているマイコン2とを備え、マイコン2が切換スイッチ1から入力される電圧値で切換スイッチ1の切り換え位置を判定している。マイコン2は、入力信号が”Low”から”High”に切り換えられたことを検出してスリープ状態から動作状態に切り換えられる起動端子6を有する。切換スイッチ1は、スライドスイッチ1Aで、このスライドスイッチ1Aは、可動接点3と複数の固定接点4を備えている。可動接点3は、アースライン5に接続している。複数の固定接点4は、マイコン2の起動端子6に接続している第1の固定接点4Aと、マイコン2の起動端子6に接続されない第2の固定接点4Bとを備えている。第1の固定接点4Aは、プルアップ抵抗7を介して電源回路8に接続されて、可動接点3の非接触状態において”High”信号を起動端子6に入力している。スライドスイッチ1Aの可動接点3が第1の固定接点4Aから第2の固定接点4Bに切り換えられてマイコン2の起動端子6に入力される信号が”Low”から”High”に切り換えられると、起動端子6の電圧信号からマイコン2がスリープ状態から動作状態に切り換えられ、動作状態にあるマイコン2が、起動端子6に入力される電圧信号から切換スイッチ1の切り換え位置を検出する。   The electronic apparatus according to claim 2 of the present invention includes a changeover switch 1 having a plurality of contacts and a microcomputer 2 connected to the changeover switch 1, and the microcomputer 2 is switched by a voltage value input from the changeover switch 1. The switch position of switch 1 is determined. The microcomputer 2 has an activation terminal 6 that detects that the input signal has been switched from “Low” to “High” and is switched from the sleep state to the operation state. The changeover switch 1 is a slide switch 1A, and the slide switch 1A includes a movable contact 3 and a plurality of fixed contacts 4. The movable contact 3 is connected to the earth line 5. The plurality of fixed contacts 4 include a first fixed contact 4 </ b> A that is connected to the start terminal 6 of the microcomputer 2 and a second fixed contact 4 </ b> B that is not connected to the start terminal 6 of the microcomputer 2. The first fixed contact 4 </ b> A is connected to the power supply circuit 8 through the pull-up resistor 7, and inputs a “High” signal to the activation terminal 6 when the movable contact 3 is in a non-contact state. When the movable contact 3 of the slide switch 1A is switched from the first fixed contact 4A to the second fixed contact 4B and the signal input to the start terminal 6 of the microcomputer 2 is switched from "Low" to "High" The microcomputer 2 is switched from the sleep state to the operating state from the voltage signal at the terminal 6, and the microcomputer 2 in the operating state detects the switching position of the changeover switch 1 from the voltage signal input to the start terminal 6.

本発明の請求項3の電子機器は、切換スイッチ1のスライドスイッチ1Aが、第1の固定接点4Aを電源スイッチのオフ位置としている。   In the electronic device according to the third aspect of the present invention, the slide switch 1A of the changeover switch 1 has the first fixed contact 4A as the power switch OFF position.

本発明の請求項4の電子機器は、切換スイッチ1のスライドスイッチ1Aが、可動接点3を第1の固定接点4Aから第2の固定接点4Bを経由して切り換えられる第3の固定接点4Cを有し、第3の固定接点4Cを、分圧抵抗9を介してマイコン2の電圧検出端子に接続している。   In the electronic device according to claim 4 of the present invention, the slide switch 1A of the changeover switch 1 has the third fixed contact 4C for switching the movable contact 3 from the first fixed contact 4A via the second fixed contact 4B. The third fixed contact 4C is connected to the voltage detection terminal of the microcomputer 2 through the voltage dividing resistor 9.

本発明の請求項1と請求項2の電子機器は、マイコンの無駄な電力消費を削減しながら、切換スイッチの切り換え位置を判別できる特徴がある。それは、切換スイッチを切り換えない状態でスリープ状態にあるマイコンが、切換スイッチが切り換えられて、マイコンの起動端子の電圧が”High”と”Low”に切り換えられるとスリープ状態から動作状態となって、切換スイッチの切り換え位置を判別できるからである。スリープ状態にあるマイコンは”High”と”Low”に切り換えられることを検出してスリープ状態から動作状態に切り換えられる起動端子を備えていることから、この起動端子の電圧を”High”と”Low”に切り換えて、スリープ状態を解除して動作状態にできる。動作状態にあるマイコンは、起動端子の電圧から切換スイッチの切り換え位置を判別できる。   The electronic devices according to the first and second aspects of the present invention are characterized in that the changeover position of the changeover switch can be determined while reducing unnecessary power consumption of the microcomputer. The microcomputer that is in the sleep state without changing the changeover switch is changed from the sleep state to the operating state when the changeover switch is changed and the voltage at the start terminal of the microcomputer is changed between “High” and “Low”. This is because the switching position of the selector switch can be determined. The microcomputer in the sleep state is provided with a start terminal that can be switched from the sleep state to the operation state by detecting that the microcomputer is switched between “High” and “Low”. Therefore, the voltage of the start terminal is set to “High” and “Low”. ”To cancel the sleep state and put it into an operating state. The microcomputer in the operating state can determine the switching position of the changeover switch from the voltage of the start terminal.

さらに、本発明の請求項3の電子機器は、切換スイッチであるスライドスイッチの第1の固定接点を電源スイッチのオフ位置としているので、スライドスイッチの可動接点を第1の固定接点に切り換える状態でマイコンをスリープ状態として、無駄な電力消費を削減できる。また、切換スイッチを電源スイッチに併用するので、ひとつの切換スイッチで電源をオンオフに切り換えながら、電子機器を複数の動作状態、たとえばヒーターの強弱などに切り換えできる特徴がある。   Furthermore, in the electronic device according to claim 3 of the present invention, the first fixed contact of the slide switch, which is a changeover switch, is set to the OFF position of the power switch, so that the movable contact of the slide switch is switched to the first fixed contact. By putting the microcomputer in the sleep state, wasteful power consumption can be reduced. Further, since the changeover switch is used together with the power switch, the electronic device can be switched to a plurality of operating states, for example, the strength of the heater, while the power supply is turned on / off with one changeover switch.

また、本発明の請求項4の電子機器は、切換スイッチであるスライドスイッチが、第1の固定接点から第2の固定接点を経由して切り換えられる第3の固定接点を有し、この第3の固定接点を分圧抵抗を介してマイコンの電圧検出端子に接続している。この回路構成の電子機器は、第1の固定接点から第2の固定接点に切り換えられて、スリープ状態から動作状態にあるマイコンに、プルアップ抵抗と分圧抵抗とで分圧された電圧信号が入力される。動作状態にあるマイコンは、入力電圧の電圧値から可動接点が第3の固定接点に切り換えられたことを判別できる。また、この回路構成は、4接点以上の切換スイッチとして、各々の固定接点に電気抵抗の異なる分圧抵抗を接続して、より多数の切り換え位置の判別が可能となる。   According to a fourth aspect of the present invention, the slide switch as the changeover switch has a third fixed contact that is switched from the first fixed contact via the second fixed contact. The fixed contact of is connected to the voltage detection terminal of the microcomputer through a voltage dividing resistor. The electronic device having this circuit configuration is switched from the first fixed contact to the second fixed contact, and the voltage signal divided by the pull-up resistor and the voltage dividing resistor is applied to the microcomputer in the operating state from the sleep state. Entered. The microcomputer in the operating state can determine from the voltage value of the input voltage that the movable contact has been switched to the third fixed contact. In addition, in this circuit configuration, as a change-over switch having four or more contacts, voltage dividing resistors having different electric resistances are connected to the respective fixed contacts, so that a larger number of switch positions can be discriminated.

以下、本発明の実施例を図面に基づいて説明する。ただし、以下に示す実施例は、本発明の技術思想を具体化するための切換スイッチを備える電子機器を例示するものであって、本発明は電子機器を以下の回路構成には特定しない。   Embodiments of the present invention will be described below with reference to the drawings. However, the embodiment described below exemplifies an electronic device provided with a changeover switch for embodying the technical idea of the present invention, and the present invention does not specify the electronic device as the following circuit configuration.

さらに、この明細書は、特許請求の範囲を理解しやすいように、実施例に示される部材に対応する番号を、「特許請求の範囲」および「課題を解決するための手段の欄」に示される部材に付記している。ただ、特許請求の範囲に示される部材を、実施例の部材に特定するものでは決してない。   Further, in this specification, in order to facilitate understanding of the scope of claims, numbers corresponding to the members shown in the examples are indicated in the “claims” and “means for solving problems” sections. It is added to the members. However, the members shown in the claims are not limited to the members in the embodiments.

図3と図4に示す切換スイッチを備える電子機器は、複数の接点を有する切換スイッチ1と、この切換スイッチ1を接続しているマイコン2とを備える。この電子機器は、マイコン2が切換スイッチ1から入力される電圧値で切換スイッチ1の切り換え位置を判定する。例えば、電子機器としては、リチウムイオン二次電池(図示せず)を内蔵して、ヒーターを加熱する携帯型電子式カイロが利用できる。このような電子機器は、電池からの電力供給を受けてマイコンが動作し、マイコンの指示による内蔵するオンオフのスイッチング素子(図示せず)により、ヒーター(図示せず)に通電して加温する。ここで、このような電子機器は、電源スイッチである切換スイッチがオフのときでも、定期的に電池の電圧、電流、残量等の監視が必要であるので、マイコンを動作させる必要があるが、電源スイッチである切換スイッチがオンのときのように、常に、あるいは頻繁に監視する必要がないので、マイコンをスリープ状態として、時々、監視することもできる。さらに、マイコンをスリープ状態とすることで、マイコンの消費電力を低減させ、電池の電力消費を低減することができる。   3 and 4 includes a change-over switch 1 having a plurality of contacts and a microcomputer 2 to which the change-over switch 1 is connected. In this electronic device, the switching position of the changeover switch 1 is determined by the voltage value input from the changeover switch 1 by the microcomputer 2. For example, as an electronic device, a portable electronic warmer that incorporates a lithium ion secondary battery (not shown) and heats a heater can be used. In such an electronic device, a microcomputer operates by receiving power supply from a battery, and a heater (not shown) is energized and heated by a built-in on / off switching element (not shown) as instructed by the microcomputer. . Here, since such an electronic device needs to regularly monitor the voltage, current, remaining amount, etc. of the battery even when the changeover switch as the power switch is off, it is necessary to operate the microcomputer. Since it is not necessary to monitor constantly or frequently as when the change-over switch which is a power switch is on, the microcomputer can be monitored from time to time in the sleep state. Furthermore, by putting the microcomputer in the sleep state, the power consumption of the microcomputer can be reduced, and the power consumption of the battery can be reduced.

切換スイッチ1はスライドスイッチ1Aである。スライドスイッチ1Aは、可動接点3と複数の固定接点4を備えており、可動接点3を固定接点4に順番に摺動させて、可動接点3がコンタクトする固定接点4を切り換える。図3と図4の切換スイッチ1は、第1ないし第3の固定接点4を備えている。このスライドスイッチ1Aは、第1の固定接点4A、第2の固定接点4B、第3の固定接点4Cの順番に切り換えられる。すなわち、第1の固定接点4Aから直接に第3の固定接点4Cに切り換えられることはなく、必ず第2の固定接点4Bに切り換えられた後、第3の固定接点4Cに切り換えられる。また、第3の固定接点4Cから第1の固定接点4Aに切り換えられるときには、第3の固定接点4C、第2の固定接点4B、第1の固定接点4Aの順番に切り換えられる。以上のように、切換スイッチ1は、可動接点3が往復運動するスライドスイッチ1Aである。スライドスイッチにはロータリー式のスライドスイッチもあるが、このスライドスイッチは、第1の固定接点→第2の固定接点→第3の固定接点→第1の固定接点の順番に回転して接点を切り換えることができる。また、この反対に回転して固定接点を切り換えることもできる。
本実施例の電子機器においては、切換スイッチ1が、第1の固定接点4A、第2の固定接点4B、第3の固定接点4Cに切り換えられたとき、マイコン2が動作して、各々、第1の状態(例えば、オフ状態)、第2の状態(例えば、カイロとして、高温にて加温、保温する状態)、第3の状態(例えば、カイロとして、低温にて加温、保温する状態)に切り換えることができる。
The changeover switch 1 is a slide switch 1A. The slide switch 1A includes a movable contact 3 and a plurality of fixed contacts 4. The movable contact 3 is sequentially slid on the fixed contact 4 to switch the fixed contact 4 to which the movable contact 3 contacts. The changeover switch 1 shown in FIGS. 3 and 4 includes first to third fixed contacts 4. The slide switch 1A is switched in the order of the first fixed contact 4A, the second fixed contact 4B, and the third fixed contact 4C. That is, the first fixed contact 4A is not directly switched to the third fixed contact 4C, but is always switched to the second fixed contact 4B and then switched to the third fixed contact 4C. When switching from the third fixed contact 4C to the first fixed contact 4A, the switching is performed in the order of the third fixed contact 4C, the second fixed contact 4B, and the first fixed contact 4A. As described above, the changeover switch 1 is the slide switch 1A in which the movable contact 3 reciprocates. There is a rotary slide switch as well, but this slide switch rotates in the order of the first fixed contact → the second fixed contact → the third fixed contact → the first fixed contact. be able to. Further, the fixed contact can be switched by rotating in the opposite direction.
In the electronic apparatus of the present embodiment, when the changeover switch 1 is switched to the first fixed contact 4A, the second fixed contact 4B, and the third fixed contact 4C, the microcomputer 2 operates, 1 state (for example, off state), 2nd state (for example, warming and warming state as warmer), 3rd state (for example, warming and warming state as warmer) ).

スライドスイッチ1Aの可動接点3は、アースライン5に接続される。図3と図4の複数の固定接点4は、第1の固定接点4Aと第2の固定接点4Bと第3の固定接点4Cを備えている。図3の切換スイッチ1であるスライドスイッチ1Aは、第1の固定接点4Aをマイコン2の起動端子6に接続しないオープン状態として、第2の固定接点4Bをプルアップ抵抗7を介して電源回路8に接続して、可動接点3が接触されない状態で”High”信号を起動端子6に入力している。マイコン2の起動端子6に接続されない第1の固定接点4Aは、アースライン5に接続することができる。また、マイコン2の起動端子6以外の端子に接続することもできる。第2の固定接点4Bは、可動接点3の非接触状態では、プルアップ抵抗7を介して電源回路8に接続されて”High”となるが、可動接点3の接触状態では可動接点3を介してアースライン5に接続されて”Low”となる。第3の固定接点4Cは、分圧抵抗9を介してマイコン2の電圧検出端子10に接続している。図のマイコン2は、起動端子6と電圧検出端子10をひとつの入力端子で兼用している。ただ、起動端子と電圧検出端子は、別の入力端子とすることもできる。図の電子機器は、プルアップ抵抗7と分圧抵抗9を同じ電気抵抗としているので、可動接点3が第3の固定接点4Cに接続される状態で、マイコン2の起動端子6(電圧検出端子10)には電源電圧の1/2の電圧が入力される。電源電圧を5Vとするマイコン2にあっては、可動接点3が第3の固定接点4Cに接続される状態で、2.5Vの電圧が入力される。可動接点3が第2の固定接点4Bに接続される状態では、第2の固定接点4Bが可動接点3でアースライン5に接続されることから、マイコン2の起動端子6の電圧は0V、すなわち”Low”が入力される。   The movable contact 3 of the slide switch 1A is connected to the ground line 5. 3 and 4 includes a first fixed contact 4A, a second fixed contact 4B, and a third fixed contact 4C. The slide switch 1A, which is the changeover switch 1 in FIG. 3, sets the first fixed contact 4A to the open state without connecting the start terminal 6 of the microcomputer 2, and connects the second fixed contact 4B to the power supply circuit 8 via the pull-up resistor 7. The “High” signal is input to the start terminal 6 in a state where the movable contact 3 is not touched. The first fixed contact 4 </ b> A that is not connected to the start terminal 6 of the microcomputer 2 can be connected to the earth line 5. Further, it can be connected to a terminal other than the start terminal 6 of the microcomputer 2. The second fixed contact 4B is connected to the power supply circuit 8 via the pull-up resistor 7 in the non-contact state of the movable contact 3, and becomes “High”. Is connected to the ground line 5 and becomes “Low”. The third fixed contact 4 </ b> C is connected to the voltage detection terminal 10 of the microcomputer 2 through the voltage dividing resistor 9. In the illustrated microcomputer 2, the start terminal 6 and the voltage detection terminal 10 are shared by one input terminal. However, the start terminal and the voltage detection terminal may be different input terminals. In the illustrated electronic apparatus, the pull-up resistor 7 and the voltage dividing resistor 9 have the same electrical resistance, so that the start terminal 6 (voltage detection terminal) of the microcomputer 2 is in a state where the movable contact 3 is connected to the third fixed contact 4C. 10) is input with a voltage half the power supply voltage. In the microcomputer 2 having a power supply voltage of 5V, a voltage of 2.5V is input in a state where the movable contact 3 is connected to the third fixed contact 4C. In a state where the movable contact 3 is connected to the second fixed contact 4B, the voltage of the start terminal 6 of the microcomputer 2 is 0V because the second fixed contact 4B is connected to the earth line 5 by the movable contact 3. “Low” is input.

図4の電子機器は、第1の固定接点4Aをマイコン2の起動端子6に接続して、第2の固定接点4Bをマイコン2の起動端子6に接続しない。第1の固定接点4Aは、プルアップ抵抗7を介して電源回路8に接続している。したがって、第1の固定接点4Aは、可動接点3の非接触状態では”High”となり、可動接点3の接触状態では”Low”となる。第3の固定接点4Cは、分圧抵抗9を介してマイコン2の電圧検出端子10に接続している。   4 connects the first fixed contact 4A to the start terminal 6 of the microcomputer 2 and does not connect the second fixed contact 4B to the start terminal 6 of the microcomputer 2. The first fixed contact 4 </ b> A is connected to the power supply circuit 8 via the pull-up resistor 7. Therefore, the first fixed contact 4 </ b> A is “High” when the movable contact 3 is not in contact, and is “Low” when the movable contact 3 is in contact. The third fixed contact 4 </ b> C is connected to the voltage detection terminal 10 of the microcomputer 2 through the voltage dividing resistor 9.

マイコン2は、入力信号が”High”から”Low”に、あるいは”Low”から”High”に切り換えられたことを検出してスリープ状態(オフ状態)から動作状態に切り換えられる起動端子6を備えている。この起動端子6は、マイコン2に内蔵されるA/Dコンバータ(図示せず)に接続されて、動作状態においては入力される電圧を検出する。図3の電子機器は、この起動端子6に第2の固定接点4Bを接続している。また、図4の電子機器は、起動端子6に第1の固定接点4Aを接続している。   The microcomputer 2 includes an activation terminal 6 that detects that the input signal has been switched from “High” to “Low” or “Low” to “High” and is switched from the sleep state (off state) to the operation state. ing. This starting terminal 6 is connected to an A / D converter (not shown) built in the microcomputer 2 and detects an input voltage in an operating state. In the electronic apparatus of FIG. 3, the second fixed contact 4 </ b> B is connected to the activation terminal 6. In the electronic device of FIG. 4, the first fixed contact 4 </ b> A is connected to the activation terminal 6.

図3と図4の電子機器は、可動接点3を第1の固定接点4Aに接続する状態を電源オフの状態として、切換スイッチ1を電源スイッチに併用している。図3の電子機器は、切換スイッチ1の可動接点3が第1の固定接点4Aに保持されるとき、マイコン2の起動端子6に”High”が入力される状態に保持され、マイコン2はスリープ状態となって電力消費を少なくする。ユーザーが電子機器を使用するために、切換スイッチ1の可動接点3を第1の固定接点4Aから第2の固定接点4Bに切り換えると、マイコン2の起動端子6に入力される信号は”High”から”Low”に切り換えられる。第2の固定接点4Bが可動接点3でアースライン5に接続されるからである。マイコン2は、起動端子6の電圧が”High”から”Low”に変更されたことを検出して、スリープ状態から動作状態に切り換えられる。動作状態にあるマイコン2は、起動端子6である電圧検出端子10に入力される電圧値で、切換スイッチ1の切り換え位置を判別できる状態となる。したがって、この状態で、可動接点3が第2の固定接点4Bから第3の固定接点4Cに切り換えられて、起動端子6の電圧が”Low”から電源電圧を分圧した電圧、図3においては、電源電圧の1/2の電圧が入力されることを検出して、切換スイッチ1が第3の固定接点4Cに切り換えられたことを判別する。   3 and 4 uses the changeover switch 1 as a power switch, with the movable contact 3 being connected to the first fixed contact 4A as a power-off state. In the electronic device shown in FIG. 3, when the movable contact 3 of the changeover switch 1 is held by the first fixed contact 4A, “High” is held in the start terminal 6 of the microcomputer 2 and the microcomputer 2 is in the sleep state. It becomes a state and reduces power consumption. When the user switches the movable contact 3 of the changeover switch 1 from the first fixed contact 4A to the second fixed contact 4B in order to use the electronic device, the signal input to the start terminal 6 of the microcomputer 2 is “High”. To “Low”. This is because the second fixed contact 4 </ b> B is connected to the earth line 5 by the movable contact 3. The microcomputer 2 detects that the voltage of the start terminal 6 has been changed from “High” to “Low”, and is switched from the sleep state to the operation state. The microcomputer 2 in the operating state is in a state where the switching position of the changeover switch 1 can be determined by the voltage value input to the voltage detection terminal 10 which is the start terminal 6. Therefore, in this state, the movable contact 3 is switched from the second fixed contact 4B to the third fixed contact 4C, and the voltage of the starting terminal 6 is the voltage obtained by dividing the power supply voltage from “Low”, in FIG. Then, it is detected that the voltage of ½ of the power supply voltage is input, and it is determined that the changeover switch 1 has been switched to the third fixed contact 4C.

図4の電子機器は、切換スイッチ1の可動接点3が第1の固定接点4Aに保持されるとき、すなわち、マイコン2の起動端子6に”Low”が入力される状態で、マイコン2はスリープ状態となって電力消費を少なくする。ユーザーが電子機器を使用するために、切換スイッチ1の可動接点3を第1の固定接点4Aから第2の固定接点4Bに切り換えると、マイコン2の起動端子6に入力される信号は”Low”から”High”に切り換えられる。マイコン2の起動端子6に接続されている第1の固定接点4Aが、アースライン5に接続されなくなるからである。マイコン2は、起動端子6の電圧が”Low”から”High”に変更されたことを検出して、スリープ状態から動作状態に切り換えられる。動作状態にあるマイコン2は、起動端子6である電圧検出端子10に入力される電圧値で、切換スイッチ1の切り換え位置を判別できる状態となる。したがって、この状態で、可動接点3が第2の固定接点4Bから第3の固定接点4Cに切り換えられて、起動端子6の電圧が”High”から電源電圧を分圧した電圧、図4においては、電源電圧の1/2の電圧が入力されることを検出して、切換スイッチ1が第3の固定接点4Cに切り換えられたことを判別する。   In the electronic device of FIG. 4, when the movable contact 3 of the changeover switch 1 is held by the first fixed contact 4 </ b> A, that is, when “Low” is input to the start terminal 6 of the microcomputer 2, the microcomputer 2 sleeps. It becomes a state and reduces power consumption. When the user switches the movable contact 3 of the changeover switch 1 from the first fixed contact 4A to the second fixed contact 4B in order to use the electronic device, the signal input to the start terminal 6 of the microcomputer 2 is “Low”. To “High”. This is because the first fixed contact 4 </ b> A connected to the start terminal 6 of the microcomputer 2 is not connected to the earth line 5. The microcomputer 2 detects that the voltage of the start terminal 6 has been changed from “Low” to “High”, and is switched from the sleep state to the operation state. The microcomputer 2 in the operating state is in a state where the switching position of the changeover switch 1 can be determined by the voltage value input to the voltage detection terminal 10 which is the start terminal 6. Therefore, in this state, the movable contact 3 is switched from the second fixed contact 4B to the third fixed contact 4C, and the voltage of the starting terminal 6 is the voltage obtained by dividing the power supply voltage from “High”, in FIG. Then, it is detected that the voltage of ½ of the power supply voltage is input, and it is determined that the changeover switch 1 has been switched to the third fixed contact 4C.

以上の電子機器は、切換スイッチを、第1ないし第3の固定接点を備える3接点の切換スイッチとしているが、切換スイッチは、図示しないが、4接点以上の切換スイッチとすることもできる。この電子機器は、切換スイッチの第1の固定接点と第2の固定接点の回路構成を前述の図3または図4に示す構成とすると共に、第3以降の固定接点に電気抵抗の異なる分圧抵抗を接続することにより、電圧検出端子に入力される電圧値から、第3以降の固定接点についても切り換え位置の判別が可能となる。この電子機器は、切換スイッチが第1の固定接点から第2の固定接点に切り換えることにより、マイコンがスリープ状態から動作状態になり、動作状態にあるマイコンが電圧検出端子に入力される電圧値から、第3以降の固定接点へ切り換え状態を判別する。すなわち、この回路構成によると、4接点以上の切換スイッチとして、より多数の切り換え位置を設けても、切り換え位置の判別が可能となる。   In the above electronic apparatus, the changeover switch is a three-contact changeover switch including the first to third fixed contacts, but the changeover switch may be a changeover switch having four or more contacts, although not shown. In this electronic device, the circuit configuration of the first fixed contact and the second fixed contact of the changeover switch is the same as that shown in FIG. 3 or FIG. 4, and the third and subsequent fixed contacts have different electric resistances. By connecting the resistor, it is possible to determine the switching position for the third and subsequent fixed contacts from the voltage value input to the voltage detection terminal. In this electronic device, when the changeover switch switches from the first fixed contact to the second fixed contact, the microcomputer changes from the sleep state to the operation state, and the microcomputer in the operation state starts from the voltage value input to the voltage detection terminal. The switching state to the third and subsequent fixed contacts is determined. That is, according to this circuit configuration, even if a larger number of switching positions are provided as a switching switch having four or more contacts, the switching position can be determined.

従来の切換スイッチを備える電子機器の一例を示す回路図である。It is a circuit diagram which shows an example of an electronic device provided with the conventional changeover switch. 従来の切換スイッチを備える電子機器の他の一例を示す回路図である。It is a circuit diagram which shows another example of the electronic device provided with the conventional changeover switch. 本発明の一実施例にかかる切換スイッチを備える電子機器の回路図である。It is a circuit diagram of electronic equipment provided with a changeover switch concerning one example of the present invention. 本発明の他の実施例にかかる切換スイッチを備える電子機器の回路図である。It is a circuit diagram of an electronic device provided with the changeover switch concerning other examples of the present invention.

符号の説明Explanation of symbols

1…切換スイッチ 1A…スライドスイッチ
2…マイコン
3…可動接点
4…固定接点 4A…第1の固定接点
4B…第2の固定接点
4C…第3の固定接点
5…アースライン
6…起動端子
7…プルアップ抵抗
8…電源回路
9…分圧抵抗
10…電圧検出端子
81…切換スイッチ
82…マイコン
83…可動接点
84…固定接点 84A…第1の固定接点
84B…第2の固定接点
84C…第3の固定接点
86…入力端子
87…プルアップ抵抗
91…切換スイッチ
92…マイコン
93…可動接点
94…固定接点 94A…第1の固定接点
94B…第2の固定接点
94C…第3の固定接点
96…入力端子
97…プルアップ抵抗
99…分圧抵抗
DESCRIPTION OF SYMBOLS 1 ... Changeover switch 1A ... Slide switch 2 ... Microcomputer 3 ... Movable contact 4 ... Fixed contact 4A ... 1st fixed contact
4B ... Second fixed contact
4C ... Third fixed contact 5 ... Earth line 6 ... Startup terminal 7 ... Pull-up resistor 8 ... Power supply circuit 9 ... Voltage resistor 10 ... Voltage detection terminal 81 ... Changeover switch 82 ... Microcomputer 83 ... Moving contact 84 ... Fixed contact 84A ... First fixed contact
84B ... Second fixed contact
84C ... third fixed contact 86 ... input terminal 87 ... pull-up resistor 91 ... changeover switch 92 ... microcomputer 93 ... movable contact 94 ... fixed contact 94A ... first fixed contact
94B ... Second fixed contact
94C ... third fixed contact 96 ... input terminal 97 ... pull-up resistor 99 ... voltage dividing resistor

Claims (4)

複数の接点を有する切換スイッチ(1)と、この切換スイッチ(1)を接続しているマイコン(2)とを備え、マイコン(2)が切換スイッチ(1)から入力される電圧値で切換スイッチ(1)の切り換え位置を判定するようにしてなる切換スイッチを備える電子機器において、
前記マイコン(2)は、入力信号が”High”から”Low”に切り換えられたことを検出してスリープ状態から動作状態に切り換えられる起動端子(6)を有し、
前記切換スイッチ(1)はスライドスイッチ(1A)で、このスライドスイッチ(1A)は、可動接点(3)と複数の固定接点(4)を備えており、可動接点(3)はアースライン(5)に接続されて、複数の固定接点(4)は、前記マイコン(2)の起動端子(6)に接続されない第1の固定接点(4A)と、マイコン(2)の起動端子(6)に接続してなる第2の固定接点(4B)とを備えており、第2の固定接点(4B)はプルアップ抵抗(7)を介して電源回路(8)に接続されて、可動接点(3)の非接触状態において”High”信号を入力しており、
前記スライドスイッチ(1A)の可動接点(3)が第1の固定接点(4A)から第2の固定接点(4B)に切り換えられてマイコン(2)の起動端子(6)に入力される信号が”High”から”Low”に切り換えられると、起動端子(6)の電圧信号からマイコン(2)がスリープ状態から動作状態に切り換えられ、動作状態にあるマイコン(2)が、起動端子(6)に入力される電圧信号から切換スイッチ(1)の切り換え位置を検出するようにしてなる切換スイッチを備える電子機器。
A changeover switch (1) having a plurality of contacts and a microcomputer (2) connected to the changeover switch (1), and the changeover switch with a voltage value input from the changeover switch (1) to the microcomputer (2) In an electronic device comprising a changeover switch configured to determine the changeover position of (1),
The microcomputer (2) has an activation terminal (6) for detecting that the input signal is switched from “High” to “Low” and switching from the sleep state to the operation state,
The change-over switch (1) is a slide switch (1A), and this slide switch (1A) has a movable contact (3) and a plurality of fixed contacts (4), and the movable contact (3) is an earth line (5 ), The plurality of fixed contacts (4) are connected to the first fixed contact (4A) not connected to the start terminal (6) of the microcomputer (2) and the start terminal (6) of the microcomputer (2). The second fixed contact (4B) is connected to the power supply circuit (8) via the pull-up resistor (7), and the movable contact (3B) is connected. ) Is in a non-contact state and a “High” signal is input.
The movable contact (3) of the slide switch (1A) is switched from the first fixed contact (4A) to the second fixed contact (4B), and a signal input to the start terminal (6) of the microcomputer (2) is received. When “High” is switched to “Low”, the microcomputer (2) is switched from the sleep state to the operating state from the voltage signal of the starting terminal (6), and the microcomputer (2) in the operating state is switched to the starting terminal (6). An electronic device comprising a change-over switch configured to detect a change-over position of the change-over switch (1) from a voltage signal input to.
複数の接点を有する切換スイッチ(1)と、この切換スイッチ(1)を接続しているマイコン(2)とを備え、マイコン(2)が切換スイッチ(1)から入力される電圧値で切換スイッチ(1)の切り換え位置を判定するようにしてなる切換スイッチ(1)を備える電子機器において、
前記マイコン(2)は、入力信号が”Low”から”High”に切り換えられたことを検出してスリープ状態から動作状態に切り換えられる起動端子(6)を有し、
前記切換スイッチ(1)はスライドスイッチ(1A)で、このスライドスイッチ(1A)は、可動接点(3)と複数の固定接点(4)を備えており、可動接点(3)はアースライン(5)に接続されて、複数の固定接点(4)は、前記マイコン(2)の起動端子(6)に接続してなる第1の固定接点(4A)と、マイコン(2)の起動端子(6)に接続されない第2の固定接点(4B)とを備えており、第1の固定接点(4A)はプルアップ抵抗(7)を介して電源回路(8)に接続されて、可動接点(3)の非接触状態において”High”信号を入力しており、
前記スライドスイッチ(1A)の可動接点(3)が第1の固定接点(4A)から第2の固定接点(4B)に切り換えられてマイコン(2)の起動端子(6)に入力される信号が”Low”から”High”に切り換えられると、起動端子(6)の電圧信号からマイコン(2)がスリープ状態から動作状態に切り換えられ、動作状態にあるマイコン(2)が、起動端子(6)に入力される電圧信号から切換スイッチ(1)の切り換え位置を検出するようにしてなる切換スイッチを備える電子機器。
A changeover switch (1) having a plurality of contacts and a microcomputer (2) connected to the changeover switch (1), and the changeover switch with a voltage value input from the changeover switch (1) to the microcomputer (2) In an electronic device comprising a changeover switch (1) configured to determine the changeover position of (1),
The microcomputer (2) has an activation terminal (6) for detecting that the input signal has been switched from "Low" to "High" and switching from the sleep state to the operation state,
The change-over switch (1) is a slide switch (1A), and this slide switch (1A) has a movable contact (3) and a plurality of fixed contacts (4), and the movable contact (3) is an earth line (5 The plurality of fixed contacts (4) are connected to the first fixed contact (4A) connected to the start terminal (6) of the microcomputer (2) and the start terminal (6 of the microcomputer (2)). And a second fixed contact (4B) that is not connected to the power supply circuit (8) via a pull-up resistor (7) and a movable contact (3 ) Is in a non-contact state and a “High” signal is input.
The movable contact (3) of the slide switch (1A) is switched from the first fixed contact (4A) to the second fixed contact (4B), and a signal input to the start terminal (6) of the microcomputer (2) is received. When switching from “Low” to “High”, the microcomputer (2) is switched from the sleep state to the operating state from the voltage signal of the starting terminal (6), and the microcomputer (2) in the operating state is switched to the starting terminal (6). An electronic device comprising a change-over switch configured to detect a change-over position of the change-over switch (1) from a voltage signal input to.
前記切換スイッチ(1)のスライドスイッチ(1A)が、第1の固定接点(4A)を電源スイッチのオフ位置としている請求項1に記載される切換スイッチを備える電子機器。   The electronic device comprising the change-over switch according to claim 1, wherein the slide switch (1A) of the change-over switch (1) has the first fixed contact (4A) as an off position of the power switch. 前記切換スイッチ(1)のスライドスイッチ(1A)が、可動接点(3)が第1の固定接点(4A)から第2の固定接点(4B)を経由して切り換えられる第3の固定接点(4C)を有し、第3の固定接点(4C)が分圧抵抗(9)を介してマイコン(2)の電圧検出端子(10)に接続されてなる請求項1に記載される切換スイッチを備える電子機器。   The slide switch (1A) of the selector switch (1) has a third fixed contact (4C) whose movable contact (3) is switched from the first fixed contact (4A) via the second fixed contact (4B). And the third fixed contact (4C) is connected to the voltage detection terminal (10) of the microcomputer (2) via the voltage dividing resistor (9). Electronics.
JP2008056475A 2008-03-06 2008-03-06 Electronic device having changeover switch Expired - Fee Related JP5084565B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008056475A JP5084565B2 (en) 2008-03-06 2008-03-06 Electronic device having changeover switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008056475A JP5084565B2 (en) 2008-03-06 2008-03-06 Electronic device having changeover switch

Publications (2)

Publication Number Publication Date
JP2009212047A JP2009212047A (en) 2009-09-17
JP5084565B2 true JP5084565B2 (en) 2012-11-28

Family

ID=41184979

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008056475A Expired - Fee Related JP5084565B2 (en) 2008-03-06 2008-03-06 Electronic device having changeover switch

Country Status (1)

Country Link
JP (1) JP5084565B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9281147B2 (en) * 2013-12-30 2016-03-08 Elbex Video Ltd. Mechanical latching relays and method for operating the relays

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3524294B2 (en) * 1996-10-14 2004-05-10 アルプス電気株式会社 Switch open / closed state detection circuit
JP3774360B2 (en) * 2000-09-26 2006-05-10 アルプス電気株式会社 Wake-up start-up circuit

Also Published As

Publication number Publication date
JP2009212047A (en) 2009-09-17

Similar Documents

Publication Publication Date Title
JP2004328997A5 (en)
CN101542033B (en) Generation of an idle mode signal for an electrical control device
US7714568B2 (en) Power supply
WO2005081787A3 (en) Battery circuit with non-volitable memory and thermistor on a single line
JP2007333574A (en) Sensing device
US9929586B2 (en) Battery pack and portable electronic apparatus
JP5084565B2 (en) Electronic device having changeover switch
JP2010009208A5 (en)
JP4973153B2 (en) Cooker
TWM403696U (en) Input device capable of eliminating ghost key
CN104461664A (en) Mcu starting mode selecting circuit
RU2700978C1 (en) Portable complex measuring device for measuring several types of biometric information and measurement method
KR20110003796U (en) Receptacle
KR101530991B1 (en) Apparatus for waking up a receptacle for decreasing stanby power
US8519697B2 (en) Apparatus and method for detecting mode change in an electronic device
ATE354101T1 (en) SWITCH DEVICE
CN103487072A (en) Household electric appliance, gear detection device thereof and combination of household electric appliance, cooker and smoke exhaust ventilator
JP2007257128A (en) Information terminal and cradle apparatus
CN212111608U (en) Test circuit based on time relay and test box thereof
CN102402312A (en) Multidirectional input device
JP2007287400A (en) Dial type input device
CN106160719A (en) Multifunction push key and there is the electronic installation of multifunction push key
KR101397830B1 (en) Apparatus for controlling power
KR101263714B1 (en) Apparatus for breaking a electric power
WO2007121053A3 (en) Open neutral detection circuit

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110225

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120731

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

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

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150914

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees