JP3807397B2 - Electronic equipment with posture detection function - Google Patents

Electronic equipment with posture detection function Download PDF

Info

Publication number
JP3807397B2
JP3807397B2 JP2003354451A JP2003354451A JP3807397B2 JP 3807397 B2 JP3807397 B2 JP 3807397B2 JP 2003354451 A JP2003354451 A JP 2003354451A JP 2003354451 A JP2003354451 A JP 2003354451A JP 3807397 B2 JP3807397 B2 JP 3807397B2
Authority
JP
Japan
Prior art keywords
posture
posture detection
mode
illumination
time
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 - Lifetime
Application number
JP2003354451A
Other languages
Japanese (ja)
Other versions
JP2004045435A (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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2003354451A priority Critical patent/JP3807397B2/en
Publication of JP2004045435A publication Critical patent/JP2004045435A/en
Application granted granted Critical
Publication of JP3807397B2 publication Critical patent/JP3807397B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Electric Clocks (AREA)

Description

本発明は、姿勢検出機能を有する電子機器に関する。   The present invention relates to an electronic device having a posture detection function.

液晶表示装置を利用した携帯型の電子機器は、昼間は外光により表示が視認し易いが、夜間や周囲が暗いところでは表示装置が見にくいので、照明装置を内蔵して液晶表示装置を照明しているものがある。そして、この照明装置は、ユーザが照明用スイッチを操作することにより点灯、あるいは消灯するようになっている。
しかしながら、照明装置を点灯させたいときは、夜間などで周囲が暗い場合であるので、目的とする照明用スイッチがどれであるか分からず、誤って他のスイッチを操作して入力 したデータをクリアしてしまったりする等の問題点があった。
Portable electronic devices using liquid crystal display devices are easy to see by daylight in the daytime, but it is difficult to see the display device at night or in dark places. There is something that is. The lighting device is turned on or off when the user operates the lighting switch.
However, when you want to turn on the lighting device, the surroundings are dark, such as at night. There was a problem such as doing.

そこで、電子表示素子を照明する光源と、姿勢スイッチ、慣性スイッチ等の自動スイッチと、外部の明るさを検出する光電素子とを備え、光源を自動スイッチがオン状態でかつ光電素子が外部の明るさがあるレベル以下であることを検出した状態の時のみ発光させる電子表示時計が考えられている。
このような時計では、光源を発光させる基準レベルの設定が難しく、また、電池電圧等により基準レベルが変動して、明るいときに光源が発光したり、暗いのに発光しないときがあり、使い勝手が悪いという問題がある。
特開昭53―86258号公報
Therefore, a light source that illuminates the electronic display element, an automatic switch such as an attitude switch and an inertia switch, and a photoelectric element that detects external brightness are provided, and the light source is turned on and the photoelectric element is externally bright. An electronic display clock that emits light only when it is detected that it is below a certain level is considered.
In such a watch, it is difficult to set the reference level for emitting the light source, and the reference level may fluctuate due to the battery voltage, etc., and the light source may emit light when it is bright or may not emit light although it is dark. There is a problem of being bad.
JP-A-53-86258

本発明の課題は、照明が必要なときに照明を自動点灯させることのできる姿勢検出機能を有する電子機器を提供することである。   The subject of this invention is providing the electronic device which has the attitude | position detection function which can turn on illumination automatically when illumination is required.

前記課題を解決するために本発明の姿勢検出機能を有する電子機器は、情報を表示する表示手段と、この表示手段を照明する照明手段と、機器の姿勢を検出する姿勢検出手段と、この姿勢検手段で所定の姿勢が検出されたときの、前記照明手段の点灯動作の有効、無効を指定するスイッチと、このスイッチで指定されたのが有効か無効かを示すデータを記憶する記憶手段と、前記姿勢検出手段で所定の姿勢が検出された際に、前記記憶手段に有効を示すデータが記憶されている場合に、前記照明手段を点灯させる照明駆動制御手段と、前記スイッチにより有効が指定された後、一定時間後に前記記憶手段に無効を示すデータを記憶させ、この無効を示すデータに基づいて前記点灯動作を無効にさせる無効制御手段とを備える。 In order to solve the above problems, an electronic apparatus having an attitude detection function of the present invention includes a display means for displaying information, an illumination means for illuminating the display means, an attitude detection means for detecting the attitude of the equipment, and the attitude A switch for designating validity / invalidity of the lighting operation of the illumination means when a predetermined posture is detected by the detection means, and a storage means for storing data indicating whether the designation by the switch is valid or invalid When the posture detecting means detects a predetermined posture, if the data indicating validity is stored in the storage means, the lighting drive control means for turning on the lighting means and the switch is designated as valid After that, there is provided invalidity control means for storing data indicating invalidity in the storage means after a predetermined time and invalidating the lighting operation based on the data indicating invalidity .

本発明によれば、機器の姿勢に応じて照明を点灯、あるいは消灯させる際に、照明を点灯させるか否かをユーザが制御できるようにしたので、照明を点灯させる必要がある場合のみ自動的に点灯させることができ、より使い易い姿勢検出機能を有する電子機器を実現できる。   According to the present invention, when lighting is turned on or off according to the attitude of the device, the user can control whether or not the lighting is turned on. Thus, an electronic device having a posture detection function that is easier to use can be realized.

本発明の実施形態を、図面を参照しながら説明する。
図1は、姿勢検出機能を有するディジタル電子腕時計1(以下、腕時計1という)の外観図である。
Embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is an external view of a digital electronic wristwatch 1 (hereinafter referred to as a wristwatch 1) having an attitude detection function.

腕時計1は、ケース2と、日付及び時刻をディジタル表示する液晶表示部3と、腕時計1本体の傾きを検出する姿勢検出スイッチ4とを有する。なお、図示していなが、液晶表示部3の裏側には、エレクトロルミネセンス等からなる照明装置が設けられている。また、ケース2表面に2個のスイッチS3、S4が設けられ、側面に、3個のスイッチS1、S2、S5が設けられている。   The wristwatch 1 includes a case 2, a liquid crystal display unit 3 that digitally displays the date and time, and a posture detection switch 4 that detects the tilt of the wristwatch 1 body. Although not shown, an illumination device made of electroluminescence or the like is provided on the back side of the liquid crystal display unit 3. Also, two switches S3 and S4 are provided on the surface of the case 2, and three switches S1, S2 and S5 are provided on the side surface.

スイッチS1は、動作モードを切り換えるとき操作するモードスイッチであり、スイッチS2は、照明を自動的にオフさせるELオートオフモードと、照明を自動的にオンさせるELオートオンモードとを切り換えるスイッチである。また、スイッチS3は、照明を手動によりオンさせるためのスイッチであり、スイッチS4、S5は、時刻修正等のためのスイッチである。   The switch S1 is a mode switch operated when switching the operation mode, and the switch S2 is a switch for switching between an EL auto-off mode for automatically turning off the illumination and an EL auto-on mode for automatically turning on the illumination. . Further, the switch S3 is a switch for manually turning on the illumination, and the switches S4 and S5 are switches for time correction and the like.

図2は、腕時計1の回路ブロック図である。同図において、発振器11で生成されるクロック信号は、分周回路12で所定周波数のクロック信号に分周され、CPU13に出力される。CPU13は、ROM14に格納されている制御プログラムに従って時刻計時処理、照明制御処理等を実行すると共に、処理結果をRAM15に格納する。CPU13には、スイッチS1〜S5からなるキー入力部16から出力されるキーの操作信号及び姿勢検出スイッチ4の姿勢検出信号が入力されている。また、CPU13は、姿勢検出スイッチ4の姿勢検出信号に従ってドライバ17をオン状態、あるいはオフ状態にして照明装置18を点灯、または消灯させると共に、表示ドライバ19を駆動して液晶表示部3に現在時刻あるいはストップウオッチ計測時間等を表示する。また、CPU13は、現在時刻が設定されたアラーム時刻と一致したとき、スピーカ20を駆動してアラーム音を報音する。   FIG. 2 is a circuit block diagram of the wristwatch 1. In the figure, the clock signal generated by the oscillator 11 is frequency-divided into a clock signal having a predetermined frequency by the frequency dividing circuit 12 and output to the CPU 13. The CPU 13 executes timekeeping processing, illumination control processing, and the like according to the control program stored in the ROM 14 and stores the processing result in the RAM 15. The CPU 13 receives a key operation signal output from the key input unit 16 including the switches S1 to S5 and a posture detection signal of the posture detection switch 4. Further, the CPU 13 turns on or off the driver 17 according to the attitude detection signal of the attitude detection switch 4 to turn on or off the lighting device 18 and drives the display driver 19 to display the current time on the liquid crystal display unit 3. Alternatively, the stopwatch measurement time or the like is displayed. Further, when the current time coincides with the set alarm time, the CPU 13 drives the speaker 20 to report an alarm sound.

次に図3は、RAM15のレジスタの構成を示す図である。RAM15には、液晶表示部3に表示させる表示データを記憶する表示レジスタ31と、計時された日付及び時刻データを記憶する現在時刻レジスタ32と、照明が自動的にオンされてからの経過時間を計測するための3時間タイマ33と、設定されたアラーム時刻を記憶するアラーム時刻レジスタ34と、ストップウオッチ計測時間を記憶するストップウオッチレジスタ35と、所定の姿勢の状態が一定時間(例えば、2秒間)続いた回数を記憶する回数レジスタ36と、所定の姿勢の状態が続いた時間の累積値を記憶する累積時間レジスタ37と、2秒間を計時するために使用される2秒タイマ38とが設けられている。   Next, FIG. 3 is a diagram showing the configuration of the register of the RAM 15. The RAM 15 includes a display register 31 for storing display data to be displayed on the liquid crystal display unit 3, a current time register 32 for storing timed date and time data, and an elapsed time since the illumination is automatically turned on. A 3-hour timer 33 for measuring, an alarm time register 34 for storing a set alarm time, a stopwatch register 35 for storing a stopwatch measurement time, and a predetermined posture state continues for a certain time (for example, 2 seconds). There are provided a number register 36 for storing the number of times, a cumulative time register 37 for storing a cumulative value of a time during which a predetermined posture has continued, and a two-second timer 38 used for timing two seconds. Yes.

また、この他に動作モードに対応した数値を記憶するモードレジスタMと、照明を自動的にオンさせるか、それとも自動的にオフさせるかを示す情報を記憶するレジスタN0 と、レジスタN0 の内容を一時記憶するレジスタN1 と、ストップウオッチ計測中か否かを示すフラグFと、照明装置18が点灯中か否かを示すフラグGとが設けられている。 In addition, a mode register M for storing a numerical value corresponding to the operation mode, a register N 0 for storing information indicating whether illumination is automatically turned on or automatically turned off, and a register N 0 A register N 1 for temporarily storing the contents, a flag F indicating whether or not stopwatch measurement is being performed, and a flag G indicating whether or not the illumination device 18 is being lit are provided.

モードレジスタMには、動作モードが時計モードのとき「0」が記憶され、ストップウオッチ計測モードのとき「1」が記憶され、アラーム設定モードのとき「2」が記憶される。また、レジスタN0 には、照明を自動的にオフさせるように設定されているとき「0」が記憶され、照明を自動的にオンさせるように設定されているとき「1」が記憶される。さらに、フラグFには、ストップウオッチ計測中のとき「1」が、計測を中止しているとき「0」が設定され、フラグGには、照明装置18が点灯中のとき「1」が、消灯のとき「0」が設定される。 In the mode register M, “0” is stored when the operation mode is the clock mode, “1” is stored when the operation mode is the stopwatch measurement mode, and “2” is stored when the operation mode is the alarm setting mode. The register N 0 stores “0” when the illumination is set to be automatically turned off, and “1” is stored when the illumination is set to be automatically turned on. . Further, the flag F is set to “1” when the stopwatch measurement is being performed, and “0” when the measurement is stopped, and the flag G is set to “1” when the lighting device 18 is lit. In this case, “0” is set.

また、液晶表示部3は、図4に示すような表示セグメントで構成されており、例えば、ストップウオッチ計測中には、液晶表示部3の上段にラップタイムが表示され、下段にストップウオッチ計測時間が表示される。また、照明装置18を自動的にオン、またはオフさせるモードに設定されているときには、ELオート表示マーク3aが点灯してユーザに知らせるようになっている。   Further, the liquid crystal display unit 3 includes display segments as shown in FIG. 4. For example, during stopwatch measurement, the lap time is displayed on the upper part of the liquid crystal display unit 3, and the stopwatch measurement time is displayed on the lower part. The Further, when the mode is set to automatically turn on or off the illumination device 18, the EL auto display mark 3a is lit to notify the user.

次に、姿勢検出スイッチ4の具体的構造を、図5〜図7の断面図を参照して説明する。図5は、腕時計1の文字盤の12時方向の断面を示す図であり、図6は、それと直交する方向の断面を示す図である。また、図7は、姿勢検出スイッチ4がオン状態のときの断面を示す図である。   Next, a specific structure of the posture detection switch 4 will be described with reference to cross-sectional views of FIGS. FIG. 5 is a diagram showing a cross section of the dial of the wristwatch 1 in the 12 o'clock direction, and FIG. 6 is a diagram showing a cross section in a direction orthogonal to the dial. FIG. 7 is a view showing a cross section when the posture detection switch 4 is in an ON state.

姿勢検出スイッチ4は、図5のハウジング41の左側面がアナログ時計の文字盤の12時方向に、右側面が6時方向に位置するように配置されている。ハウジング41内部の上側には、12時方向に延びる第2の固定接点43が設けられ、ハウジング41内部の下側には6時方向に延びる第1の固定接点42が設けられており、第2の固定接点43と対向する位置にある第1の固定接点42の一端42aは、図5に示すように第2の固定接点43に接近する方向(図5の上方向)に向かって傾斜している。   The posture detection switch 4 is arranged so that the left side surface of the housing 41 in FIG. A second fixed contact 43 extending in the 12 o'clock direction is provided on the upper side inside the housing 41, and a first fixed contact 42 extending in the 6 o'clock direction is provided on the lower side in the housing 41. One end 42a of the first fixed contact 42 at a position opposite to the fixed contact 43 is inclined toward the direction approaching the second fixed contact 43 (upward direction in FIG. 5) as shown in FIG. Yes.

さらに、ハウジング41内部には、導電性球部材44a、44bが移動可能に収納されており、導電性球部材44a、44bの直径は、第2の固定接点42が傾斜していない部分の第1の固定接点42と第2の固定接点43との間の距離より小さく、かつ上方向に傾斜している第1の固定接点42の端部42aとその上方にある第2の固定接点43との間の距離よりも大きくなっている。   Furthermore, conductive ball members 44a and 44b are movably accommodated inside the housing 41, and the diameter of the conductive ball members 44a and 44b is the first portion of the portion where the second fixed contact 42 is not inclined. The end 42a of the first fixed contact 42 which is smaller than the distance between the fixed contact 42 and the second fixed contact 43 and is inclined upward, and the second fixed contact 43 thereabove. It is larger than the distance between.

図6は、図5のA−A断面図である。同図に示すようにハウジング41内部の底面は、中央部にある第1の固定接点42の方向に向かって傾斜する傾斜面41bを有し、ハウジング41内部に収納されている導電性球部材44a、44bが移動したときにも、常に第1の固定接点42と第2の固定接点43との間で導電性球部材44a、44bが安定するようになっている。   6 is a cross-sectional view taken along the line AA in FIG. As shown in the figure, the bottom surface inside the housing 41 has an inclined surface 41b inclined toward the direction of the first fixed contact 42 in the center, and a conductive ball member 44a housed inside the housing 41. 44b, the conductive ball members 44a and 44b are always stabilized between the first fixed contact 42 and the second fixed contact 43.

また、図7は、腕時計1の文字盤を見るために腕を手前に傾けて、姿勢検出スイッチ4がオン状態となったときの断面を示す図である。このとき、導電性球部材44aは、第1の固定接点42の端部42aと第2の固定接点43とに接触し、第1の固定接点42と第2の固定接点43とが導通する。この姿勢検出スイッチ4のオン、オフを検出することで、時計の液晶表示部3を見るために、ユーザが腕を手前に傾けたか否かを検出することができる。   FIG. 7 is a view showing a cross section when the arm is tilted forward to see the dial of the wristwatch 1 and the posture detection switch 4 is turned on. At this time, the conductive ball member 44 a comes into contact with the end portion 42 a of the first fixed contact 42 and the second fixed contact 43, and the first fixed contact 42 and the second fixed contact 43 are electrically connected. By detecting the on / off of the posture detection switch 4, it is possible to detect whether or not the user has tilted his / her arm in front of the liquid crystal display unit 3 of the watch.

次に、以上のような構成の実施形態の動作を、図8〜図10のフローチャートを参照しながら説明する。CPU13は、通常、図8のステップS0のホルト状態にあり、計時タイミングとなると、ステップS2の計時処理に進み、キー入力を検出するステップS1のキー処理に進む。   Next, the operation of the embodiment configured as described above will be described with reference to the flowcharts of FIGS. The CPU 13 is normally in the halt state at step S0 in FIG. 8, and when the timing is reached, the CPU 13 proceeds to the timing process at step S2 and proceeds to the key process at step S1 for detecting key input.

ここで、上記ステップS1のキー処理の内容を図9のフローチャートを参照して説明する。先ず、図9のステップS31で、操作されたのがS1キーか否かを判別する。この判別で、操作されたのがS1キーであると判別された場合には(S31、YES)、ステップS32に進みモードレジスタMの値を「1」インクリメントする。そして、次のステップS33でモードレジスタMの値が「1」か、すなわち現在の動作モードがストップウオッチモードか否かを判別する。この判別でM=1のストップウオッチモードであると判別された場合には、ステップS34に進みレジスタN0 の内容をレジスタN1 に転送し、次のステップS35でレジスタN0 に「1」を設定して照明装置18を自動的にオンさせるELオートモードに設定する。 Here, the contents of the key processing in step S1 will be described with reference to the flowchart of FIG. First, in step S31 of FIG. 9, it is determined whether or not the operated key is the S1 key. If it is determined that the operated key is the S1 key (S31, YES), the process proceeds to step S32, and the value of the mode register M is incremented by “1”. Then, in the next step S33, it is determined whether or not the value of the mode register M is “1”, that is, whether or not the current operation mode is the stopwatch mode. If it is determined that the stopwatch mode M = 1 in this determination, setting "1" the content of the register N 0 proceeds to step S34 and transfers to the register N 1, the register N 0 in the next step S35 Then, the EL auto mode for automatically turning on the lighting device 18 is set.

上記の処理でモードを切り換えた結果、M=1となった場合には、レジスタN0 に「1」が設定され、姿勢検出スイッチ4の検出結果により照明を自動的にオンさせるELオートモードに設定される。このとき、レジスタN0 に記憶されていた内容をレジスタN1 に退避させ、後述する処理によりストップウオッチモードから抜けたときその内容をレジスタN0 に戻すようにしている。 As a result of switching the mode in the above processing, when M = 1, “1” is set in the register N 0 and the EL auto mode is set to automatically turn on the illumination based on the detection result of the attitude detection switch 4. Is set. At this time, the contents stored in the register N 0 are saved in the register N 1, and the contents are returned to the register N 0 when exiting the stopwatch mode by a process described later.

ステップS33の判別でモードレジスタMの値が「1」ではないと判別された場合には、ステップS36に進みモードレジスタMの値が「2」か、すなわち現在の動作モードがアラーム設定モードであるか否かを判別する。この判別でM=2のアラーム設定モードと判別されたときには、ステップS37に進みレジスタN1 に退避させてある情報を元のレジスタN0 に復帰させる。 If it is determined in step S33 that the value of the mode register M is not “1”, the process proceeds to step S36, where the value of the mode register M is “2”, that is, the current operation mode is the alarm setting mode. It is determined whether or not. When this is judged alarm setting mode of M = 2 in the determination is to return the information which had been evacuated in the register N 1 proceeds to step S37 to the original register N 0.

一方、ステップS31の判別でS1キーの操作でないと判別された場合には、ステップS38に進みS2キーの操作か否かを判別する。この判別で、S2キーの操作であると判別された場合には、次のステップS39でモードレジスタMの値が「0」か否かを判別し、M=0と判別されたとき、つまりM=0の時計モードにおいてS2キーが操作された場合には、ステップS40に進みレジスタN0 の値を反転させ、さらに次のステップS41で3時間タイマ33をクリアする。 On the other hand, if it is determined in step S31 that the S1 key is not operated, the process proceeds to step S38, and it is determined whether or not the S2 key is operated. If it is determined that the operation is an operation of the S2 key, it is determined whether or not the value of the mode register M is “0” in the next step S39, and when M = 0 is determined, that is, M if = 0 S2 key in the clock mode is operated, by inverting the value of the register N 0 the process proceeds to step S40, further clears the 3 hours timer 33 in the next step S41.

一方、ステップS39の判別でモードレジスタMの値がM≠0であると判別された場合には、ステップS42に進みモードレジスタMの値が「1」か否か、すなわちM=1のストップウオッチモードにおいてS2キーが操作されたか否かを判別する。この判別でM=1と判別された場合には、次のステップS43でフラグFを反転させる。   On the other hand, if it is determined in step S39 that the value of the mode register M is M ≠ 0, the process proceeds to step S42, whether the value of the mode register M is “1”, that is, the stopwatch mode where M = 1. Whether or not the S2 key has been operated is determined. If it is determined that M = 1, the flag F is inverted in the next step S43.

すなわち、M=1のストップウオッチモードでは、S2キーを操作してストップウオッチ計測をスタート、あるいはストップさせることができる。ステップS38の判別で、操作されたのがS2キーではないと判別された場合には、ステップS44に進みS3キーの操作か否かを判別する。この判別で操作されたのがS3キーであると判別された場合には、フラグGを「1」にして照明装置18を点灯させる。   That is, in the stopwatch mode with M = 1, the stopwatch measurement can be started or stopped by operating the S2 key. If it is determined in step S38 that the operated key is not the S2 key, the process proceeds to step S44 to determine whether or not the S3 key is operated. If it is determined that the S3 key is operated in this determination, the flag G is set to “1” and the lighting device 18 is turned on.

また、ステップS44の判別で、操作されたのがS3キーではないと判別された場合には、S4、S5キー等が操作された場合であり、その場合には、ステップS46の他のキー処理を実行する。   If it is determined in step S44 that the operated key is not the S3 key, the S4 key, the S5 key, or the like is operated. In this case, another key process in step S46 is performed. Execute.

ここで、図10を参照してS1キーが操作されたときの動作モードの切り換えについて説明する。先ず、日付及び現在時刻を表示する時計モード(図10、(a) )においてS1キーが操作されると、同図(b) に示すストップウオッチモードに切り換わる。このストップウオッチモードにおいてS2キーを操作すると、ストップウオッチ時間の計測がスタート、あるいはストップされる。   Here, switching of the operation mode when the S1 key is operated will be described with reference to FIG. First, when the S1 key is operated in the clock mode for displaying the date and the current time (FIG. 10, (a)), the mode is switched to the stopwatch mode shown in FIG. When the S2 key is operated in the stopwatch mode, the measurement of the stopwatch time is started or stopped.

また、ストップウオッチモードにおいてS1キーが操作されると、同図(c) に示すアラーム設定モードに切り換わる。このアラーム設定モードでは、アラーム時刻の設定、解除等を行うことができる。さらに、アラームモードにおいてS1キーが操作されると、時計モードに戻る。   When the S1 key is operated in the stopwatch mode, the mode is switched to the alarm setting mode shown in FIG. In this alarm setting mode, the alarm time can be set and canceled. Further, when the S1 key is operated in the alarm mode, the mode returns to the clock mode.

図8に戻り、CPU13がホルト状態のときに計時タイミングとなると、ステップS2の計時処理が実行される。この計時処理では、分周回路12から出力されるクロック信号に基づいて時刻を計時し、得られる日付及び時刻データを現在時刻レジスタ32に格納する。次のステップS3でフラグFが「1」か否か、すなわちストップウオッチ計測中か否かを判別する。フラグF=1で、ストップウオッチ計測中であれば、ステップS4に進み時間計測処理を実行する。この時間計測処理では、分周回路12から出力されるクロック信号をカウンタ等で計数してストップウオッチ時間の計測をスタートしてからの経過時間を計測し、計測結果をストップウオッチレジスタ35に格納する。   Returning to FIG. 8, when the timing is reached when the CPU 13 is in the halt state, the timing process in step S2 is executed. In this time measuring process, the time is measured based on the clock signal output from the frequency dividing circuit 12, and the obtained date and time data is stored in the current time register 32. In the next step S3, it is determined whether or not the flag F is “1”, that is, whether or not stopwatch measurement is in progress. If the flag F = 1 and stopwatch measurement is in progress, the process proceeds to step S4 and time measurement processing is executed. In this time measurement process, the clock signal output from the frequency dividing circuit 12 is counted by a counter or the like to measure the elapsed time since the start of the stopwatch time measurement, and the measurement result is stored in the stopwatch register 35.

ステップS3の判別がNOのとき、またはステップS4の次には、ステップS5に進み現在時刻が設定されたアラーム時刻と一致するか否かを判別する。この判別で現在時刻がアラーム時刻と一致した場合には(S5、YES),次のステップS6でスピーカ20を駆動してアラーム音を報音する。   When the determination in step S3 is NO, or after step S4, the process proceeds to step S5 to determine whether or not the current time matches the set alarm time. If the current time coincides with the alarm time in this determination (S5, YES), the speaker 20 is driven to report an alarm sound in the next step S6.

次に、ステップS7でレジスタN0 が「1」か否かを判別する。レジスタN0 =1であれば、すなわち照明装置18を自動的にオンさせるモードが設定されている場合には(S7、YES)、次のステップS8で3時間タイマ33を「1」インクリメントし、さらにステップS9で3時間タイマ33で計測された時間が3時間に達したか否かを判別する。この判別で3時間に達したと判別されたなら(S9、YES)、レジスタN0 に「0」を設定して照明装置18を自動的にオフさせるELオートオフモードに切り換える。 Next, in step S7, it is determined whether or not the register N 0 is “1”. If the register N 0 = 1, that is, if the mode for automatically turning on the lighting device 18 is set (S7, YES), the 3-hour timer 33 is incremented by “1” in the next step S8, In step S9, it is determined whether or not the time measured by the 3-hour timer 33 has reached 3 hours. If it is determined that 3 hours have been reached (S9, YES), the register N 0 is set to “0” to switch to the EL auto-off mode in which the illumination device 18 is automatically turned off.

すなわち、照明装置18を自動的にオンさせるモードに設定されている場合でも、そのモードに設定されてから3時間が経過したなら、ELオートオフモードに切り換え照明装置18を自動的にオフさせるようになっている。   That is, even when the mode is set to automatically turn on the lighting device 18, when 3 hours have elapsed since the mode was set, the mode is switched to the EL auto-off mode so that the lighting device 18 is automatically turned off. It has become.

ステップS9の判別で、3時間が経過していないと判別された場合には(S9、NO)、ステップS11に進みフラグGが「1」か否かを判別する。この判別でフラグG=1と判別されたなら、次のステップS12で照明装置18を点灯させ、さらにステップS13で2秒タイマ38を「1」インクリメントする。その後、ステップS14で2秒タイマ38の値が2秒に達したか否かを判別し、その値が2秒となったなら、ステップS15でフラグGに「0」を設定し、さらにステップS16で回数及び累積レジスタ36及び37をクリアする。   If it is determined in step S9 that 3 hours have not elapsed (S9, NO), the process proceeds to step S11 to determine whether or not the flag G is “1”. If it is determined that the flag G = 1, the lighting device 18 is turned on in the next step S12, and the 2-second timer 38 is incremented by "1" in step S13. Thereafter, in step S14, it is determined whether or not the value of the 2-second timer 38 has reached 2 seconds. If the value has reached 2 seconds, "0" is set in the flag G in step S15, and further in step S16. To clear the count and accumulation registers 36 and 37.

すなわち、照明装置18を自動的にオンさせるモードにおいては、照明装置18を点灯させてから2秒間経過すると自動的に消灯するようになっている。その後、ステップS17で姿勢検出スイッチ4の出力信号である姿勢検出信号が検出されたか否かを判別し、姿勢検出信号が検出されたなら、ステップS18に進み検出処理を実行する。   That is, in the mode in which the lighting device 18 is automatically turned on, the lighting device 18 is automatically turned off when two seconds elapse after the lighting device 18 is turned on. Thereafter, in step S17, it is determined whether or not an attitude detection signal that is an output signal of the attitude detection switch 4 is detected. If an attitude detection signal is detected, the process proceeds to step S18 to execute detection processing.

ここで、ステップS18の検出処理の内容を、図11のフローチャートを参照して説明する。先ず、図11のステップS51で、姿勢検出スイッチ4がオンした回数をカウントし、カウント結果を回数レジスタ36に格納する。さらに、次のステップS52で、姿勢検出スイッチ4がオンした時間の累計をカウントし、カウント結果を累積レジスタ37に格納する。そして、ステップS53で回数レジスタ36の値が「5回」を超えているか否かを判別し、回数が5回以下の場合には、ステップS54に進み累積レジスタR37の累計時間が「250ms」を超えているか否かを判別する。   Here, the contents of the detection process of step S18 will be described with reference to the flowchart of FIG. First, in step S51 of FIG. 11, the number of times the attitude detection switch 4 is turned on is counted, and the count result is stored in the number register 36. Further, in the next step S 52, the accumulated time when the attitude detection switch 4 is turned on is counted, and the count result is stored in the accumulation register 37. Then, in step S53, it is determined whether or not the value of the number register 36 exceeds “5 times”. If the number is 5 times or less, the process proceeds to step S54 and the accumulated time of the accumulation register R37 is set to “250 ms”. Determine whether or not it has exceeded.

ステップS53で、姿勢検出スイッチ4がオンした回数が5回を超えたと判別された場合、またはステップS54で、姿勢検出スイッチ4のオン時間の累計が250msを超えたと判別された場合には、腕時計1が所定の姿勢となったもの、例えばユーザが腕時計を手前に傾ける姿勢を取ったものと判断し、ステップS55でフラグGに「1」を設定して照明装置18を点灯させる。   If it is determined in step S53 that the posture detection switch 4 has been turned on more than five times, or if it is determined in step S54 that the total on-time of the posture detection switch 4 has exceeded 250 ms, It is determined that 1 is in a predetermined posture, for example, the user has taken a posture in which the wristwatch is tilted forward, and in step S55, the flag G is set to “1” and the lighting device 18 is turned on.

他方、姿勢検出スイッチ4のオン時間の累計が250ms以下のときには、腕時計1が所定の姿勢にならなかったものと判断してそこで処理を終了する。このように、姿勢検出スイッチ4がオンした回数が所定回数(実施形態では5回)、あるいはオン時間の累計が所定時間(実施形態では250ms)を超えたとき、姿勢検出スイッチ4がオンされたものと判断することにより、オン状態、あるいはオフ状態を安定して維持することが難しい構造の姿勢検出スイッチ等のスイッチの状態を正確に検出することができる。   On the other hand, when the cumulative ON time of the posture detection switch 4 is 250 ms or less, it is determined that the wristwatch 1 has not reached the predetermined posture, and the processing is ended there. As described above, the posture detection switch 4 is turned on when the number of times the posture detection switch 4 is turned on is a predetermined number of times (5 times in the embodiment) or when the cumulative on-time exceeds a predetermined time (250 ms in the embodiment). By determining that it is a thing, it is possible to accurately detect the state of a switch such as a posture detection switch having a structure in which it is difficult to stably maintain the on state or the off state.

以上のようにして図8のステップS18の検出処理が終了したなら、次にステップS19の表示処理を実行する。この表示処理では、例えばそのときの動作モードがストップウオッチモードであれば、計測中のストップウオッチ時間を液晶表示部3に表示する。   When the detection process in step S18 in FIG. 8 is completed as described above, the display process in step S19 is executed next. In this display process, for example, if the operation mode at that time is the stopwatch mode, the stopwatch time being measured is displayed on the liquid crystal display unit 3.

次に、図12及び図13は、姿勢検出スイッチ4の出力波形を示す図である。なお、同図は姿勢検出スイッチ4がオン状態のときハイレベルの信号が出力され、オフ状態のときローレベルの信号が出力された場合を示している。図12は、姿勢検出スイッチ4が繰り返しオン、オフした場合の姿勢検出信号の信号波形を示しており、オンが6回以上繰り返されると、前述した処理によりユーザが腕を手前に傾けたものと判断して照明装置18を点灯させる。   Next, FIGS. 12 and 13 are diagrams showing output waveforms of the attitude detection switch 4. This figure shows a case where a high level signal is output when the posture detection switch 4 is in an on state, and a low level signal is output when the posture detection switch 4 is in an off state. FIG. 12 shows a signal waveform of the posture detection signal when the posture detection switch 4 is repeatedly turned on and off. When the turn-on is repeated six times or more, the user tilts his / her arm forward by the above-described processing. It judges and turns on the illuminating device 18. FIG.

また、図13は、姿勢検出スイッチ4のオン、オフの回数が5回以下で、オン時間の累計が250msを超えた場合の姿勢検出信号の信号波形を示しており、オン時間の累計が250msを超えると、ユーザが液晶表示部3の表示を見るために腕を手前に傾けたものと判断し、照明装置18を点灯させる。   FIG. 13 shows the signal waveform of the posture detection signal when the posture detection switch 4 is turned on and off five times or less and the cumulative on time exceeds 250 ms. The cumulative on time is 250 ms. Is exceeded, it is determined that the user has tilted his arm to see the display on the liquid crystal display unit 3, and the lighting device 18 is turned on.

なお、上記実施形態は、本発明を電子腕時計に適用した場合について説明したが、腕時計以外の他の電子機器にも適用できる。また、姿勢検出スイッチ4も実施形態に述べた構造のスイッチに限らず他の構造のスイッチでもよい。   Although the above embodiment has been described with respect to the case where the present invention is applied to an electronic wristwatch, it can also be applied to electronic devices other than wristwatches. Further, the posture detection switch 4 is not limited to the switch having the structure described in the embodiment, and may be a switch having another structure.

本発明の実施形態の外観正面図である。It is an external appearance front view of an embodiment of the present invention. 実施形態の回路ブロック図である。It is a circuit block diagram of an embodiment. RAMのレジスタの構成を示す図である。It is a figure which shows the structure of the register | resistor of RAM. 液晶表示部の構成を示す図である。It is a figure which shows the structure of a liquid crystal display part. 姿勢検出スイッチの断面図である。It is sectional drawing of an attitude | position detection switch. 姿勢検出スイッチの断面図である。It is sectional drawing of an attitude | position detection switch. 姿勢検出スイッチがオン状態のときの断面図である。It is sectional drawing when an attitude | position detection switch is an ON state. 実施例の全体の動作を示すフローチャートである。It is a flowchart which shows the whole operation | movement of an Example. キー処理のフローチャートである。It is a flowchart of a key process. 表示状態の説明図である。It is explanatory drawing of a display state. 検出処理のフローチャートである。It is a flowchart of a detection process. 姿勢検出スイッチの検出信号を示す図である。It is a figure which shows the detection signal of an attitude | position detection switch. 姿勢検出スイッチの検出信号を示す図である。It is a figure which shows the detection signal of an attitude | position detection switch.

符号の説明Explanation of symbols

S1〜S5 キー
3 液晶表示部
4 姿勢検出スイッチ
13 CPU
18 照明装置
S1 to S5 Key 3 Liquid crystal display 4 Attitude detection switch 13 CPU
18 Lighting equipment

Claims (2)

情報を表示する表示手段と、
この表示手段を照明する照明手段と、
機器の姿勢を検出する姿勢検出手段と、
この姿勢検手段で所定の姿勢が検出されたときの、前記照明手段の点灯動作の有効、無効を指定するスイッチと、
このスイッチで指定されたのが有効か無効かを示すデータを記憶する記憶手段と、
前記姿勢検出手段で所定の姿勢が検出された際に、前記記憶手段に有効を示すデータが記憶されている場合に、前記照明手段を点灯させる照明駆動制御手段と、
前記スイッチにより有効が指定された後、一定時間後に前記記憶手段に無効を示すデータを記憶させ、この無効を示すデータに基づいて前記点灯動作を無効にさせる無効制御手段と、
を備えることを特徴とする姿勢検出機能を有する電子機器。
Display means for displaying information;
Illumination means for illuminating the display means;
Posture detection means for detecting the posture of the device;
A switch for designating valid / invalid of the lighting operation of the illumination unit when a predetermined posture is detected by the posture detection unit;
Storage means for storing data indicating whether the switch is designated as valid or invalid;
An illumination drive control means for turning on the illumination means when data indicating validity is stored in the storage means when a predetermined attitude is detected by the attitude detection means;
Invalidity control means for storing data indicating invalidity in the storage means after a predetermined time after the validity is designated by the switch, and invalidating the lighting operation based on the data indicating invalidity;
An electronic device having a posture detection function.
前記姿勢検出手段は、前記機器が所定の姿勢となったとき姿勢検出信号を出力し、前記照明駆動制御手段は、前記姿勢検出手段から出力される姿勢検出信号の累計回数及び累計時間を算出し、該累計回数と累計時間のいずれか一方が所定の回数または所定の時間に達したとき、前記照明手段を点灯させることを特徴とする請求項1記載の姿勢検出機能を有する電子機器。 The posture detection means outputs a posture detection signal when the device assumes a predetermined posture, and the illumination drive control means calculates the cumulative number of times and the cumulative time of posture detection signals output from the posture detection means. 2. The electronic device having an attitude detection function according to claim 1, wherein when either one of the cumulative number and the cumulative time reaches a predetermined number or a predetermined time, the illumination unit is turned on.
JP2003354451A 2003-10-15 2003-10-15 Electronic equipment with posture detection function Expired - Lifetime JP3807397B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003354451A JP3807397B2 (en) 2003-10-15 2003-10-15 Electronic equipment with posture detection function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003354451A JP3807397B2 (en) 2003-10-15 2003-10-15 Electronic equipment with posture detection function

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP30488294A Division JP3500743B2 (en) 1994-07-07 1994-12-08 Electronic device with attitude detection function

Publications (2)

Publication Number Publication Date
JP2004045435A JP2004045435A (en) 2004-02-12
JP3807397B2 true JP3807397B2 (en) 2006-08-09

Family

ID=31712847

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003354451A Expired - Lifetime JP3807397B2 (en) 2003-10-15 2003-10-15 Electronic equipment with posture detection function

Country Status (1)

Country Link
JP (1) JP3807397B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6565139B2 (en) * 2014-06-27 2019-08-28 カシオ計算機株式会社 Electronic clock
JP6493730B2 (en) * 2014-12-08 2019-04-03 カシオ計算機株式会社 Timing device

Also Published As

Publication number Publication date
JP2004045435A (en) 2004-02-12

Similar Documents

Publication Publication Date Title
KR100188548B1 (en) Switch device and electronic instruments equipped with the switch device
US5946274A (en) Switch device and electronic device which includes such switch device
JP4785526B2 (en) Electronic pedometer
US4769797A (en) Stop watch
JPH09114955A (en) Pitch meter
EP0558014A2 (en) Electronic devices with sensors
US20060197472A1 (en) Method and device for lighting an electronic or electromechanical apparatus
JP2012002767A (en) Electronic apparatus
JP3807397B2 (en) Electronic equipment with posture detection function
JP6668647B2 (en) Electronics
JP3500743B2 (en) Electronic device with attitude detection function
US20050104805A1 (en) Portable electronic apparatus
CN1132080C (en) Electronic timing device
CN214225694U (en) Intelligent watch
JP3481747B2 (en) Measuring device
JP4433700B2 (en) Electronics
JPH0822755A (en) Switch device and electronic equipment having switch device
CN109381190B (en) Exercise assisting device, electronic timepiece, exercise assisting method, and recording medium
JP2010020566A (en) Electronic apparatus, electronic apparatus control program and electronic apparatus control method
JP3233987U (en) Time measuring instrument with alarm
JP3045961U (en) Cumulative pedometer
JPH0981101A (en) Display method of measurement result in portable pulse wave measuring device
JPH1173831A (en) Switch device and electronic equipment having switch device
JPH0868876A (en) Electronic timepiece with alarm and method for setting alarm time
JP2002168973A (en) Timepiece with digital display function

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060117

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060314

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060508

R150 Certificate of patent (=grant) or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20090526

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100526

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110526

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110526

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120526

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120526

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130526

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130526

Year of fee payment: 7

EXPY Cancellation because of completion of term