JP5343495B2 - Penetration state discrimination device and electronic timepiece - Google Patents

Penetration state discrimination device and electronic timepiece Download PDF

Info

Publication number
JP5343495B2
JP5343495B2 JP2008253028A JP2008253028A JP5343495B2 JP 5343495 B2 JP5343495 B2 JP 5343495B2 JP 2008253028 A JP2008253028 A JP 2008253028A JP 2008253028 A JP2008253028 A JP 2008253028A JP 5343495 B2 JP5343495 B2 JP 5343495B2
Authority
JP
Japan
Prior art keywords
light
amount
driving
unit
light emitting
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
JP2008253028A
Other languages
Japanese (ja)
Other versions
JP2010085175A (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 JP2008253028A priority Critical patent/JP5343495B2/en
Publication of JP2010085175A publication Critical patent/JP2010085175A/en
Application granted granted Critical
Publication of JP5343495B2 publication Critical patent/JP5343495B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

この発明は、透過孔を有する移動部材が貫通状態にあるか否かを判別する貫通状態判別装置、ならびに、貫通状態判別装置により針位置の検出を行う電子時計に関する。   The present invention relates to a penetrating state discriminating device that discriminates whether or not a moving member having a transmission hole is in a penetrating state, and an electronic timepiece that detects a hand position by the penetrating state discriminating device.

近年の電子時計においては、針位置すなわち指針と連動する歯車位置の検出機構を内部に設け、所定時刻ごとに針位置がずれていないか確認する機能を備えるものが開発されている。また、針位置すなわち指針と連動する歯車位置のずれが確認された場合には、指針と連動する歯車を高速に回転させながら実際の針位置を検出し、時計内部で認識している針位置と実際の針位置とのずれを修正する針位置自動修正機能を備えたものも開発されている。   In recent electronic timepieces, a mechanism has been developed in which a mechanism for detecting a hand position, that is, a gear position interlocking with a pointer is provided inside and has a function of checking whether the hand position is shifted at every predetermined time. In addition, when a shift of the hand position, that is, the gear position interlocking with the pointer is confirmed, the actual needle position is detected while the gear interlocking with the pointer is rotated at high speed, and the needle position recognized inside the timepiece is detected. A device having an automatic needle position correcting function for correcting a deviation from the actual needle position has been developed.

針位置の検出機構としては、例えば、指針と連動される歯車に貫通孔等の透過孔を設け、この透過孔をフォトインタラプタによって検出する構造が一般的である(例えば特許文献1)。
特開2000−162336号公報
As a mechanism for detecting the needle position, for example, a structure in which a transmission hole such as a through hole is provided in a gear interlocked with a pointer and the transmission hole is detected by a photo interrupter (for example, Patent Document 1).
JP 2000-162336 A

近年、種々の電子装置において消費電力の低減が図られている。また、腕時計など小型電池で駆動するような機器においては、消費電力を少しでも低減することが求められている。   In recent years, power consumption has been reduced in various electronic devices. Further, in devices that are driven by a small battery such as a wristwatch, it is required to reduce the power consumption as much as possible.

ところで、フォトインタラプタを内蔵する装置においては、その発光部において比較的に大きな電力が消費され、さらに、発光部の駆動電流が大きくなれば消費電力も大きくなる。   By the way, in a device incorporating a photo interrupter, a relatively large amount of power is consumed in the light emitting portion, and the power consumption increases as the driving current of the light emitting portion increases.

しかしながら、フォトインタラプタを内蔵する従来の電子装置(例えば、針位置検出機能や針位置修正機能を有する従来の電子時計)では、フォトインタラプタの発光部の駆動電流を小さくするような装置毎の最適化処理を行っていなかった。従来の装置では、フォトインタラプタを構成する発光素子や受光素子、また、これらの駆動回路の構成素子に、ある程度の特性ばらつきがあることから、これらの特性ばらつきが重なってワースト状態となった場合でも、移動部材の状態検出が正常に行えるように、発光部の駆動電流は余裕をもって大きな値に設定されるのが通常であった。   However, in a conventional electronic device having a built-in photo interrupter (for example, a conventional electronic timepiece having a hand position detecting function or a hand position correcting function), optimization for each device is performed to reduce the drive current of the light-emitting portion of the photo interrupter. It was not processed. In conventional devices, there are some characteristic variations in the light emitting elements and light receiving elements constituting the photointerrupter, and the components of these drive circuits, so even if these characteristic variations overlap, the worst condition is reached. Normally, the drive current of the light emitting unit is set to a large value with a margin so that the state detection of the moving member can be performed normally.

この発明の目的は、発光部から出射した光を移動部材の透過孔を介して受光部で受光することで移動部材が貫通状態にあるか否かを判別する貫通状態判別装置において消費電力の低減を図ることにある。   An object of the present invention is to reduce power consumption in a penetrating state discriminating apparatus that discriminates whether or not a moving member is in a penetrating state by receiving light emitted from a light emitting unit by a light receiving unit through a transmission hole of the moving member. Is to plan.

上記目的を達成するため、請求項1記載の発明は、
発光部から出射した光を移動部材の透過孔を介して受光部で受光することにより前記移動部材の貫通状態を判別する貫通状態判別装置において、
前記発光部を駆動する駆動手段と、
前記駆動手段により前記発光部を光量変化させながら駆動して前記駆動手段の駆動量を最適化する駆動量調整手段とを備え、
前記駆動量調整手段は、
前記移動部材が貫通状態にあるか否かを判別するために予め定められた第1しきい値に光量ばらつきの許容値を付加した第2しきい値を基準として、この第2しきい値より前記受光部の受光量が上回り、且つ、前記駆動手段の駆動量が最小となるように、当該駆動量を最適化することを特徴としている。
In order to achieve the above object, the invention according to claim 1
In the penetrating state discriminating apparatus for discriminating the penetrating state of the moving member by receiving the light emitted from the light emitting unit by the light receiving unit through the transmission hole of the moving member,
Driving means for driving the light emitting unit;
A driving amount adjusting unit that optimizes the driving amount of the driving unit by driving the light emitting unit while changing the amount of light by the driving unit ;
The drive amount adjusting means includes
Based on a second threshold value obtained by adding an allowable value of variation in light quantity to a predetermined first threshold value in order to determine whether or not the moving member is in a penetrating state, The driving amount is optimized so that the amount of light received by the light receiving unit is greater and the driving amount of the driving unit is minimized .

請求項2記載の発明は、
発光部から出射した光を移動部材の透過孔を介して受光部で受光することで移動部材の貫通状態を判別する貫通状態判別装置において、
前記発光部を光量可変に駆動可能な駆動手段と、
前記発光部から出射した光が前記移動部材の透過孔を介して前記受光部に受光される状態で、前記駆動手段により前記発光部を光量変化させながら駆動して前記駆動手段の駆動量を最適化する駆動量調整手段と、
前記駆動量調整手段の調整結果に関する情報を設定する駆動量設定手段とを備え、
前記移動部材が貫通状態にあるか否かを判別する動作時に前記駆動量設定手段の設定に
よる駆動量で前記駆動手段が駆動されるように構成され、
前記駆動量調整手段は、
前記移動部材が貫通状態にあるか否かを判別するために予め定められた第1しきい値に光量ばらつきの許容値を付加した第2しきい値を基準として、この第2しきい値より前記受光部の受光量が上回り、且つ、前記駆動手段の駆動量が最小となるように、当該駆動量を最適化することを特徴としている。
The invention according to claim 2
In the penetrating state discriminating apparatus that discriminates the penetrating state of the moving member by receiving the light emitted from the light emitting unit by the light receiving unit through the transmission hole of the moving member,
Drive means capable of variably driving the light emitting unit;
In the state where the light emitted from the light emitting unit is received by the light receiving unit through the transmission hole of the moving member, the driving unit drives the light emitting unit while changing the amount of light to optimize the driving amount of the driving unit. Driving amount adjusting means
Driving amount setting means for setting information relating to the adjustment result of the driving amount adjusting means ,
The driving unit is configured to be driven with a driving amount set by the driving amount setting unit during an operation of determining whether or not the moving member is in a penetrating state,
The drive amount adjusting means includes
Based on a second threshold value obtained by adding an allowable value of variation in light quantity to a predetermined first threshold value in order to determine whether or not the moving member is in a penetrating state, The driving amount is optimized so that the amount of light received by the light receiving unit is greater and the driving amount of the driving unit is minimized .

請求項7記載の発明は、
請求項1〜6の何れか1項に記載の貫通状態判別装置を備え、
前記貫通状態判別装置により指針に連動して動く前記移動部材が貫通状態となるか否かを判別することによって指針の位置を検出することを特徴とする電子時計である。
The invention described in claim 7
The penetrating state determination device according to any one of claims 1 to 6 ,
The electronic timepiece is characterized in that the position of the pointer is detected by determining whether or not the moving member moving in conjunction with the pointer is in a penetrating state by the penetrating state determining device.

本発明に従うと、発光部や受光部を構成する素子や、これらの駆動回路の構成素子に装置毎の特性ばらつきがある場合でも、上記の駆動量調整手段によって発光部の駆動量について最適化を図ることができる。これにより、装置毎に素子の特性ばらつきがあっても移動部材の状態検出を確実に行うことができるとともに、発光部の過大な駆動動作をなくして、消費電力の低減を図ることができる。   According to the present invention, even when the elements constituting the light emitting part and the light receiving part and the constituent elements of these drive circuits have characteristic variations from device to device, the drive amount adjusting means optimizes the drive amount of the light emitting part. Can be planned. This makes it possible to reliably detect the state of the moving member even if there is a variation in element characteristics from device to device, and to eliminate excessive driving operation of the light emitting unit and reduce power consumption.

以下、本発明の実施の形態を図面に基づいて説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図1は、本発明の実施の形態の時計モジュールを示す正面図、図2は、その矢印A−A線断面図、図3は針を回転させる歯車を裏蓋側からみた背面図である。   FIG. 1 is a front view showing a timepiece module according to an embodiment of the present invention, FIG. 2 is a cross-sectional view taken along the line AA, and FIG. 3 is a rear view of a gear that rotates a hand as seen from the back cover side.

この実施の形態の時計モジュール1は、例えば電子制御によって針を回転させる電子アナログ腕時計の本体となるものである。時計モジュール1の正面側には風防ガラスの下側に文字板5およびソーラーパネル9が設けられ、この文字板5とソーラーパネル9に正面側が覆われかつ周囲がケーシングTKに囲まれて内部機構が遮光されている。文字板5やソーラーパネル9の中央には、秒針軸20a、分針軸25a、時針軸27aを内部機構から前面側に通過させる貫通孔5a,9aが設けられ、これら軸20a,25a,27aの突出した部位に秒針2と分針3と時針4とがそれぞれ固定されている。そして、各軸20a,25a,27aが回転することで、文字板5上で秒針2と分針3と時針4とが回転し、時刻が表示されるようになっている。   The timepiece module 1 of this embodiment is a main body of an electronic analog wristwatch that rotates hands by electronic control, for example. On the front side of the timepiece module 1, a dial plate 5 and a solar panel 9 are provided below the windshield glass. The dial plate 5 and the solar panel 9 cover the front side and the surroundings are surrounded by the casing TK. Shaded. In the center of the dial plate 5 and the solar panel 9, there are provided through holes 5a and 9a that allow the second hand shaft 20a, the minute hand shaft 25a, and the hour hand shaft 27a to pass from the internal mechanism to the front side, and the shafts 20a, 25a, and 27a protrude. The second hand 2, the minute hand 3, and the hour hand 4 are respectively fixed to the above-mentioned portions. As the shafts 20a, 25a, and 27a rotate, the second hand 2, the minute hand 3, and the hour hand 4 rotate on the dial 5, and the time is displayed.

図2に示すように、時針4が固定される時針軸27aと分針3が固定される分針軸25aとは、中空管状の軸であり、時針軸27aの中に分針軸25aが通され、分針軸25aの中に秒針軸20aが通されて、これら秒針軸20a、分針軸25aおよび時針軸27aが同一の回転軸を中心に回転可能な状態にされている。   As shown in FIG. 2, the hour hand shaft 27a to which the hour hand 4 is fixed and the minute hand shaft 25a to which the minute hand 3 is fixed are hollow tubular shafts, and the minute hand shaft 25a is passed through the hour hand shaft 27a. The second hand shaft 20a is passed through the shaft 25a so that the second hand shaft 20a, the minute hand shaft 25a, and the hour hand shaft 27a are rotatable about the same rotation axis.

これら秒針軸20a、分針軸25aおよび時針軸27aは、文字板5の背面側で互いに重なるように配置された3つの歯車、すなわち、移動部材(複数の部材)としての秒針車20、分針車25および時針車27の回転中心位置にそれぞれ固着されている。これら秒針車20、分針車25および時針車27は、互いに同一の回転軸を中心に回転可能な状態にされている。図3において、分針車25と時針車27とは、秒針車20と同心の位置に重なった状態に配置されている。   The second hand shaft 20a, the minute hand shaft 25a, and the hour hand shaft 27a are three gears arranged to overlap each other on the back side of the dial plate 5, that is, the second hand wheel 20 and the minute hand wheel 25 as moving members (a plurality of members). The hour hand wheel 27 is fixed to the rotational center position. The second hand wheel 20, the minute hand wheel 25 and the hour hand wheel 27 can be rotated around the same rotation shaft. In FIG. 3, the minute hand wheel 25 and the hour hand wheel 27 are arranged in a state where they overlap at a position concentric with the second hand wheel 20.

また、図3に示すように、この時計モジュール1の駆動系は、秒針2を回転駆動する第1駆動系11と、時針4と分針3を連動させて回転駆動する第2駆動系12とに別れ、これら2系統の駆動系11,12がそれぞれ独立的に駆動可能にされている。第1駆動系11は、第1ステッピングモータ17と、五番車18と、秒針車20とからなり、第1ステッピングモータ17のロータ17cの運動がロータカナ17d、五番車18、五番車カナ18a、秒針車20と伝達されて、秒針車20および秒針2を回転するように構成されている。   As shown in FIG. 3, the driving system of the timepiece module 1 includes a first driving system 11 that rotationally drives the second hand 2 and a second driving system 12 that rotationally drives the hour hand 4 and the minute hand 3 in conjunction with each other. Separately, these two drive systems 11 and 12 can be driven independently. The first drive system 11 includes a first stepping motor 17, a fifth wheel 18 and a second hand wheel 20, and the movement of the rotor 17c of the first stepping motor 17 is a rotor kana 17d, a fifth wheel 18, a fifth wheel kana. 18a, transmitted to the second hand wheel 20 and configured to rotate the second hand wheel 20 and the second hand 2.

第2駆動系12は、第2ステッピングモータ22、移動部材(複数の部材の一つ)としての中間車23、三番車24、分針車25、図示略の日の裏車、時針車27等から構成され、第2ステッピングモータ22のロータ22cの運動がロータカナ22d、三番車24、三番車カナ24a、中間車23、中間車カナ23a、分針車25と伝達され、さらに、分針車25のカナ25bから日の裏車、日の裏車のカナ26a(図2参照)、時針車27と伝達されて、分針車25および分針3と時針車27および時針4とが連動して回転するようになっている。   The second drive system 12 includes a second stepping motor 22, an intermediate wheel 23 as a moving member (one of a plurality of members), a third wheel 24, a minute hand wheel 25, a minute wheel not shown, an hour hand wheel 27, and the like. The movement of the rotor 22c of the second stepping motor 22 is transmitted to the rotor kana 22d, the third wheel 24, the third wheel kana 24a, the intermediate wheel 23, the intermediate wheel kana 23a, the minute hand wheel 25, and the minute hand wheel 25. The minute wheel 25 and the minute hand 3, the hour hand wheel 27, and the hour hand 4 rotate in conjunction with the minute wheel 25b of the minute wheel, the minute wheel 26a (see FIG. 2) of the minute wheel, and the hour hand wheel 27. It is like that.

なお、図2中、6は上部ハウジング、7は下部ハウジング、10は回路基板、14〜16は各歯車の軸を保持する軸受板、17aは第1ステッピングモータ17のコイルブロック、17bは第1ステッピングモータ17のステータ、22aは第2ステッピングモータ22のコイルブロック、22bは第2ステッピングモータ22のステータである。   In FIG. 2, 6 is an upper housing, 7 is a lower housing, 10 is a circuit board, 14 to 16 are bearing plates for holding the shafts of the respective gears, 17a is a coil block of the first stepping motor 17, and 17b is a first housing. A stator of the stepping motor 17, 22 a is a coil block of the second stepping motor 22, and 22 b is a stator of the second stepping motor 22.

また、この時計モジュール1の内部機構には、複数の歯車(時針車27、分針車25、秒針車20、中間車23)に設けられた透過孔の重なり状態を検出する検出部13が設けられている。検出部13は、電気的な駆動により光を発光する発光部31と、光を受光して検出信号を出力する受光部32とを備えている。詳細は後述するが、発光部31は例えば発光ダイオードなど有し、受光部32は例えばフォトトランジスタなどを有する構成である。この実施形態では、発光部31と受光部32とは、上記の複数の歯車を挟んで対向するように文字板5側と裏蓋側とに配置されている。そして、上記複数の歯車に形成された透過孔が検出位置Pで重なると、発光部31の光が透過孔を通過して受光部32に届いてそれが検出されるようになっている。また、歯車に形成された透過孔が検出位置Pで重なっていなければ、発光部31の光は歯車に遮られて受光部32へあまり届かず、それが検出されるようになっている。   In addition, the internal mechanism of the timepiece module 1 is provided with a detection unit 13 that detects the overlapping state of transmission holes provided in a plurality of gears (hour hand wheel 27, minute hand wheel 25, second hand wheel 20, intermediate wheel 23). ing. The detection unit 13 includes a light emitting unit 31 that emits light by electrical driving and a light receiving unit 32 that receives the light and outputs a detection signal. Although details will be described later, the light emitting unit 31 has, for example, a light emitting diode, and the light receiving unit 32 has, for example, a phototransistor. In this embodiment, the light emitting unit 31 and the light receiving unit 32 are arranged on the dial plate 5 side and the back cover side so as to face each other with the plurality of gears interposed therebetween. When the transmission holes formed in the plurality of gears overlap at the detection position P, the light from the light emitting unit 31 passes through the transmission hole and reaches the light receiving unit 32 to be detected. If the transmission hole formed in the gear does not overlap at the detection position P, the light from the light emitting unit 31 is blocked by the gear and does not reach the light receiving unit 32 so that it is detected.

図4〜図6には、秒針車20、分針車25および中間車23、時針車27に形成された透過孔を表わした正面図を示す。   4 to 6 are front views showing transmission holes formed in the second hand wheel 20, the minute hand wheel 25, the intermediate wheel 23, and the hour hand wheel 27.

図4に示すように、秒針車20には、例えば秒針2と重なる位置に円形の第1透過孔21aが形成され、この透過孔21aと同一半径上、周方向に沿って長い2つの第2長孔21bと第3長孔21cとが形成されている。第1透過孔21aと第2長孔21bとの間は第1遮光部21d、第1透過孔21aと第3長孔21cとの間は第2遮光部21eとなっており、これら第1遮光部21dと第2遮光部21eとは異なる長さに設定されている。また、第2長孔21bと第3長孔21cとの間の第3遮光部21fは、第1透過孔21aの位置から180度の位置に設定されている。   As shown in FIG. 4, the second hand wheel 20 is formed with a circular first transmission hole 21a at a position overlapping with the second hand 2, for example, and the second second long along the circumferential direction on the same radius as the transmission hole 21a. A long hole 21b and a third long hole 21c are formed. Between the first transmission hole 21a and the second long hole 21b is a first light shielding part 21d, and between the first transmission hole 21a and the third long hole 21c is a second light shielding part 21e. The part 21d and the second light-shielding part 21e are set to different lengths. Further, the third light shielding portion 21f between the second long hole 21b and the third long hole 21c is set at a position 180 degrees from the position of the first transmission hole 21a.

分針車25には、図5に示すように、例えば分針3と重なる位置に円形状の1個の第2透過孔28が形成されている。この第2透過孔28は、秒針車20の第1透過孔21aと同一半径上に形成されている。また、中間車23には円形状の1個の第4透過孔30が形成されている。この第4透過孔30は、分針車25の第2透過孔28の半径位置と重なる中間車23の半径位置に形成されている。   As shown in FIG. 5, for example, one circular second transmission hole 28 is formed in the minute hand wheel 25 at a position overlapping the minute hand 3. The second transmission hole 28 is formed on the same radius as the first transmission hole 21 a of the second hand wheel 20. The intermediate wheel 23 is formed with one circular fourth transmission hole 30. The fourth transmission hole 30 is formed at the radial position of the intermediate wheel 23 that overlaps with the radial position of the second transmission hole 28 of the minute hand wheel 25.

時針車27には、図6に示すように、例えば、時針4と重なる位置、および、これと同一半径上で30度ごとに分割された位置に11個の第3透過孔29が設けられている。第3透過孔29はそれぞれ円形孔である。時針4が11時を指し示すときに0時の位置に来る部位には、円形孔が設けられず、第4遮光部29aとなっている。これら第3透過孔29も、秒針車20の第1透過孔21a、分針車25の第2透過孔28と同一半径位置に形成されている。   In the hour hand wheel 27, as shown in FIG. 6, for example, eleven third transmission holes 29 are provided at positions overlapping with the hour hand 4 and at positions divided every 30 degrees on the same radius. Yes. Each of the third transmission holes 29 is a circular hole. A portion that comes to the 0 o'clock position when the hour hand 4 points to 11 o'clock is not provided with a circular hole, and is a fourth light shielding portion 29a. These third transmission holes 29 are also formed at the same radial position as the first transmission hole 21 a of the second hand wheel 20 and the second transmission hole 28 of the minute hand wheel 25.

上記のような第1〜第4透過孔21a,28,29,30の構成により、各時間の所定分のうち1時間分を除く所定分(例えば0時00分、1時00分、〜、10時00分)となったときに分針車25の第2透過孔28と、時針車27の第3透過孔29と、中間車23の第4透過孔30とが、検出位置Pにおいて重なるようになっている。また、残りの1時間の所定分(例えば11時00分)になったときには、時針車27の第4遮光部29aが検出位置Pに来て、透過孔が閉じた状態にされるようになっている。   Due to the configuration of the first to fourth transmission holes 21a, 28, 29, and 30 as described above, a predetermined amount (for example, 0:00, 1:00,. 10:00) so that the second transmission hole 28 of the minute hand wheel 25, the third transmission hole 29 of the hour hand wheel 27, and the fourth transmission hole 30 of the intermediate wheel 23 overlap at the detection position P. It has become. In addition, when the remaining 1 hour is reached (for example, 11:00), the fourth light shielding portion 29a of the hour hand wheel 27 comes to the detection position P, and the transmission hole is closed. ing.

上記のような各歯車(20,23,25,27)とその透過孔の構成により、秒針車20の長孔21b,21cを検出位置Pに配置した状態で、分針3と時針4とを12時間分回転させつつその回転量をカウントしながら検出部13で透過孔の開閉状態を判別していくことで、一時間の回転ごとに第2〜第4透過孔28,29,30の重なりが検出されて、それにより分針3の位置を検出できるようになっている。それとともに、そのうち一時間分だけ第2〜第4透過孔28,29,30の重なりが検出されず、それにより時針4の位置が検出できるようになっている。   With the configuration of the gears (20, 23, 25, 27) and the transmission holes as described above, the minute hand 3 and the hour hand 4 are set to 12 in a state where the long holes 21b, 21c of the second hand wheel 20 are arranged at the detection position P. By detecting the opening / closing state of the transmission holes by the detection unit 13 while counting the amount of rotation while rotating for the time, the second to fourth transmission holes 28, 29, and 30 overlap each time the rotation is performed. As a result, the position of the minute hand 3 can be detected. At the same time, the overlap of the second to fourth transmission holes 28, 29, 30 is not detected for one hour, so that the position of the hour hand 4 can be detected.

また、第2〜第4透過孔28〜30を検出位置Pに重ねた状態にして、秒針2を60秒分回転させ、その回転量をカウントしながら検出部13で透過孔の開閉状態を判別していくことで、秒針車20の第1透過孔21a、第1遮光部21d、第2長孔21b、第3遮光部21f、第3長孔21c、第2遮光部21eの検出パターンを得ることができ、それにより秒針2の位置が検出できるようになっている。   Further, the second to fourth transmission holes 28 to 30 are overlapped with the detection position P, the second hand 2 is rotated for 60 seconds, and the opening / closing state of the transmission hole is determined by the detection unit 13 while counting the rotation amount. Thus, detection patterns of the first transmission hole 21a, the first light shielding part 21d, the second long hole 21b, the third light shielding part 21f, the third long hole 21c, and the second light shielding part 21e of the second hand wheel 20 are obtained. Thus, the position of the second hand 2 can be detected.

図7は、時計モジュールの回路構成を示すブロック図である。   FIG. 7 is a block diagram showing a circuit configuration of the timepiece module.

時計モジュール1には、次のような回路構成が備わっている。すなわち、上記の第1ステッピングモータ17と第2ステッピングモータ22とを含みアナログ表示部の針2〜4の駆動を行う時計ムーブメント8、歯車(秒針車20、分針車25、中間車23、時針車27)の透過孔の重なり状態を検出する上述した検出部13、受光部32の検出信号をデジタル化して取り込むADコンバータ34、CPU(中央演算処理装置)を内蔵し装置の全体的な制御を行うマイクロコンピュータ35、制御プログラムや制御データが格納される不揮発性メモリ36、CPUに作業用のメモリ空間を提供するRAM(Random Access Memory)37、時刻を計時するためのクロックを形成する発振回路38と分周回路39、電池電圧から各部の電源を生成し供給する電源部40、時刻コードの含まれる標準電波を受信して取り込むアンテナ41と検波回路42、時計表示部を照らす照明部43と照明駆動回路44、アラーム出力を行うスピーカ45とブザー回路46、複数の操作ボタンからなる操作部47等が設けられている。上記構成のうち、マイクロコンピュータ35と検出部13と、メモリ36,37により、貫通状態検出装置が構成されている。   The timepiece module 1 has the following circuit configuration. That is, the timepiece movement 8 including the first stepping motor 17 and the second stepping motor 22 and driving the hands 2 to 4 of the analog display unit, the gears (second hand wheel 20, minute hand wheel 25, intermediate wheel 23, hour hand wheel). 27) The above-described detection unit 13 for detecting the overlapping state of the transmission holes, the AD converter 34 for digitizing and receiving the detection signal of the light receiving unit 32, and a CPU (central processing unit) are incorporated to perform overall control of the device. A microcomputer 35, a nonvolatile memory 36 in which control programs and control data are stored, a RAM (Random Access Memory) 37 that provides a working memory space for the CPU, and an oscillation circuit 38 that forms a clock for measuring time Frequency divider 39, power supply 40 that generates and supplies power for each part from the battery voltage, and receives and receives standard radio waves including time codes. Writing antenna 41 and the detection circuit 42, the illumination unit 43 and the illumination drive circuit 44 to illuminate the clock display unit, a speaker 45 and a buzzer circuit 46 performs alarm output, such as the operation unit 47 composed of a plurality of operation buttons are provided. Among the above-described configurations, the penetration state detecting device is configured by the microcomputer 35, the detection unit 13, and the memories 36 and 37.

マイクロコンピュータ35には、日付や時刻を計時する時刻カウンタが設けられ、この時刻カウンタが分周回路39からのクロックによりカウントアップされて現在日時の計時が行われていく。検波回路42により標準電波を受信した場合には、CPUが時刻カウンタの値を時刻コードにより表わされる値に修正することで、内部時刻が現在時刻に同期するようになっている。また、マイクロコンピュータ35には、時刻カウンタとは別に、秒針2、分針3、時針4の位置を計数する針位置カウンタが設けられ、時計ムーブメント8の第1ステッピングモータ17や第2ステッピングモータ22を作動させるごとに、この針位置カウンタの値がカウントアップされて、3つの針位置とその値とが同期するようになっている。また、時刻カウンタと針位置カウンタの値とが同期されるように時計ムーブメント8が制御されることで、現在時刻がアナログ表示部の針2〜4により表わされるようになっている。   The microcomputer 35 is provided with a time counter that measures the date and time, and the time counter is counted up by a clock from the frequency dividing circuit 39 to measure the current date and time. When the standard radio wave is received by the detection circuit 42, the CPU corrects the value of the time counter to a value represented by the time code, so that the internal time is synchronized with the current time. In addition to the time counter, the microcomputer 35 is provided with a hand position counter for counting the positions of the second hand 2, the minute hand 3 and the hour hand 4, and the first stepping motor 17 and the second stepping motor 22 of the timepiece movement 8 are provided. Each time the actuator is operated, the value of the needle position counter is counted up so that the three needle positions and the values are synchronized. Further, the timepiece movement 8 is controlled so that the values of the time counter and the hand position counter are synchronized, so that the current time is represented by the hands 2 to 4 of the analog display unit.

不揮発性メモリ36に格納領域36aには、後述のLED電流設定処理によって、発光ダイオードD1の最適化された駆動電流の設定値を表わしたLED電流設定データが格納されるようになっている。   In the storage area 36a of the nonvolatile memory 36, LED current setting data representing an optimized setting value of the driving current of the light emitting diode D1 is stored by an LED current setting process described later.

時計モジュール1においては、時計モジュール1が強磁界に触れたときや強い衝撃が加わった場合に、駆動パルスが出力されているのにも拘らず、ステッピングモータ17,22のロータ17c,22cが回転しなかったり、駆動パルスの出力以上にロータ17c,22cが回転してしまったりして、実際の針位置と針位置カウンタの値とがずれてしまう場合がある。そこで、マイクロコンピュータ35のCPUは、検出部13によって所定時刻ごとに歯車(秒針車20、中間車23、分針車25、時針車27)の透過孔の重なり状態を検出して、針位置カウンタの値が間違ったものになっていないか確認する。そして、針位置カウンタの値が間違ったものになっていると判断した場合には、秒針2、分針3、時針4を高速回転させつつ検出部13によって連続的に第1〜第4透過孔21a,28〜30の重なり状態の検出を行うことで実際の針位置を検出し、それと針位置カウンタの値が等しくなるように修正処理を行うようになっている。   In the timepiece module 1, the rotors 17 c and 22 c of the stepping motors 17 and 22 rotate when the timepiece module 1 is exposed to a strong magnetic field or a strong impact is applied, even though a drive pulse is output. Otherwise, the rotor 17c, 22c may rotate more than the output of the drive pulse, and the actual needle position and the value of the needle position counter may deviate. Therefore, the CPU of the microcomputer 35 detects the overlapping state of the transmission holes of the gears (second hand wheel 20, intermediate wheel 23, minute hand wheel 25, hour hand wheel 27) at every predetermined time by the detection unit 13, and the needle position counter Check if the value is wrong. When it is determined that the value of the hand position counter is incorrect, the first to fourth transmission holes 21a are continuously detected by the detection unit 13 while rotating the second hand 2, the minute hand 3, and the hour hand 4 at high speed. , 28 to 30 are detected, the actual needle position is detected, and correction processing is performed so that the value of the needle position counter becomes equal.

図8には、図7の検出部13とその周辺部分を詳細に表わした回路構成図を示す。   FIG. 8 is a circuit configuration diagram showing in detail the detection unit 13 of FIG. 7 and its peripheral portion.

上記検出部13の発光部31は、駆動電流を受けて光を出力する発光ダイオードD1と、発光ダイオードD1に駆動電流を出力する定電流回路311と、電流検出用の検出抵抗R1等から構成される。そして、マイクロコンピュータ35から出力される電流スタート信号ISが有効値となった場合に、定電流回路311から駆動電流が出力されて発光ダイオードD1が発光するようになっている。この定電流回路311により、発光部を駆動する駆動手段が構成される。   The light emitting unit 31 of the detecting unit 13 includes a light emitting diode D1 that receives a driving current and outputs light, a constant current circuit 311 that outputs a driving current to the light emitting diode D1, a detection resistor R1 for detecting current, and the like. The When the current start signal IS output from the microcomputer 35 becomes an effective value, a drive current is output from the constant current circuit 311 and the light emitting diode D1 emits light. The constant current circuit 311 constitutes drive means for driving the light emitting unit.

また、定電流回路311は、マイクロコンピュータ35から複数ビットの電流値信号IMが出力されるようになっており、この電流値信号IMに基づいて出力電流を複数諧調で変更可能になっている。出力電流の大きさを変更する構成は、特に制限されるものではないが、例えば、基準電圧を生成して電流制御を行う回路において、基準電圧を生成する複数の抵抗をトランジスタスイッチを用いて切り換える構成により実現することができる。   The constant current circuit 311 is configured to output a multi-bit current value signal IM from the microcomputer 35, and the output current can be changed in multiple gradations based on the current value signal IM. The configuration for changing the magnitude of the output current is not particularly limited. For example, in a circuit that performs current control by generating a reference voltage, a plurality of resistors that generate the reference voltage are switched using transistor switches. This can be realized by the configuration.

受光部32は、光を受けてその強度に応じた電流を流すフォトトランジスタTr1と、この電流を電圧信号に変換する抵抗R2と、フォトトランジスタTr1に定電圧VCCを供給する定電圧回路321等から構成される。そして、マイクロコンピュータ35から定電圧回路321へ出力される電圧スタート信号VSが有効値となったら、定電圧回路321から電圧出力がなされてフォトトランジスタTr1が駆動されるようになっている。   The light receiving unit 32 includes a phototransistor Tr1 that receives light and passes a current corresponding to the intensity thereof, a resistor R2 that converts this current into a voltage signal, a constant voltage circuit 321 that supplies a constant voltage VCC to the phototransistor Tr1, and the like. Composed. When the voltage start signal VS output from the microcomputer 35 to the constant voltage circuit 321 becomes an effective value, the constant voltage circuit 321 outputs a voltage to drive the phototransistor Tr1.

ADコンバータ34は、逐次比較タイプのもので、アナログコンパレータ341と、複数ビット(例えば4ビット)のDAコンバータ342とを有するものである。また、図示は省略するが、AD変換する際にコンパレータ341の出力の記憶を行う逐次比較レジスタや、DAコンバータ342の出力制御を行う論理回路等が、マイクロコンピュータ35の内部に設けられている。DAコンバータ342は、定電圧VCCを複数諧調(例えば4ビット諧調)で分割し、そのうち論理回路の出力データDOに応じた電圧を比較参照電圧としてコンパレータ341の反転入力端子へ出力する。コンパレータ341はこの比較参照電圧と入力電圧とを比較して、その比較結果を表わす出力DIを逐次比較レジスタに出力するようになっている。そして、このような比較を複数回繰り返すことで、複数諧調のAD変換値が逐次比較レジスタに書き込まれるようになっている。   The AD converter 34 is of a successive approximation type, and includes an analog comparator 341 and a multi-bit (for example, 4 bits) DA converter 342. Although not shown, a successive approximation register that stores the output of the comparator 341 during AD conversion, a logic circuit that performs output control of the DA converter 342, and the like are provided inside the microcomputer 35. The DA converter 342 divides the constant voltage VCC by a plurality of gradations (for example, 4-bit gradation), and outputs a voltage corresponding to the output data DO of the logic circuit to the inverting input terminal of the comparator 341 as a comparison reference voltage. The comparator 341 compares the comparison reference voltage with the input voltage and outputs an output DI representing the comparison result to the successive approximation register. By repeating such comparison a plurality of times, a plurality of gradation AD conversion values are written in the successive approximation register.

このADコンバータ34においては、上記の通常のAD変換処理に加えて、マイクロコンピュータ35のCPUの制御により論理回路や逐次比較レジスタの動作モードを切り換えることで、例えば、DAコンバータ342に任意のデジタルデータDOを出力して、CPUがコンパレータ341の比較参照電圧(反転入力端子の電圧)を制御できるようになっている。また、その際のコンパレータ341の出力結果DIを1ビットデータの状態でCPUが読み込めるようになっている。つまり、このような制御動作によって、ADコンバータ34により、受光部32の出力電圧とCPUにより制御された比較参照電圧(閾値電圧)との単独の比較処理(コンパレート処理)が実行可能になっている。   In this AD converter 34, in addition to the above normal AD conversion processing, the operation mode of the logic circuit and the successive approximation register is switched under the control of the CPU of the microcomputer 35. By outputting DO, the CPU can control the comparison reference voltage (voltage of the inverting input terminal) of the comparator 341. Further, the CPU can read the output result DI of the comparator 341 at that time in the state of 1-bit data. That is, by such a control operation, the AD converter 34 can execute a single comparison process (comparation process) between the output voltage of the light receiving unit 32 and the comparison reference voltage (threshold voltage) controlled by the CPU. Yes.

次に、この実施形態の時計モジュール1における制御動作について説明する。   Next, the control operation in the timepiece module 1 of this embodiment will be described.

図9には、電子時計のCPUにより実行されるメイン制御処理のフローチャートを示す。   FIG. 9 shows a flowchart of main control processing executed by the CPU of the electronic timepiece.

この実施形態の時計モジュール1においては、マイクロコンピュータ35のCPUにより電源投入時から図9のメイン制御処理が開始される。このメイン制御処理が開始されると、先ず、初期化処理の一つとして、発光ダイオードD1を駆動する駆動電流の最適化を行うLED電流設定処理を行う(ステップS0)。   In the timepiece module 1 of this embodiment, the main control process of FIG. When the main control process is started, first, as one of the initialization processes, an LED current setting process for optimizing a drive current for driving the light emitting diode D1 is performed (step S0).

そして、初期化処理が済んだら、その後、ステップS1〜S5のループ処理が繰り返し実行されるようになっている。すなわち、操作部47のスイッチ信号を入力してこの入力に応じて各種処理を行うSW処理(ステップS1)、計時カウンタを適宜更新する計時処理(ステップS3)、針位置が狂っていないか針位置の検出すなわち指針と連動する歯車の位置を検出する歯車位置検出処理(ステップS4)、電波受信処理や各種エラー処理などのその他の機能処理(ステップS5)、これらのループ処理が繰り返し実行されるようになっている。   After the initialization process is completed, the loop process of steps S1 to S5 is repeatedly executed thereafter. That is, a SW process (step S1) for inputting a switch signal of the operation unit 47 and performing various processes in response to the input, a timing process for appropriately updating the time counter (step S3), whether the hand position is not correct or not Detection, that is, gear position detection processing (step S4) for detecting the gear position interlocked with the pointer, other function processing (step S5) such as radio wave reception processing and various error processing, and loop processing are repeatedly executed. It has become.

また、このループ処理の際、ステップS1のSW処理において初期化操作のスイッチ入力があった場合には、ステップS2の判別処理でYes側に分岐して、初期化処理の一つであるLED電流設定処理(ステップS2a)が実行されるようになっている。ここで初期化操作とは、例えば、操作部47を用いた特殊な操作パターンなどであり、工場出荷前の設定処理の際に設定者により操作されるものである。なお、ユーザにより操作可能なものとしても良い。   Also, during this loop process, if there is a switch input for the initialization operation in the SW process in step S1, the process branches to Yes in the determination process in step S2, and the LED current is one of the initialization processes. Setting processing (step S2a) is executed. Here, the initialization operation is, for example, a special operation pattern using the operation unit 47, and is operated by a setter during setting processing before factory shipment. Note that it may be operable by the user.

なお、図9のメイン制御処理では、電源投入時に必ずLED電流設定処理(ステップS0)が実行される構成となっているが、この電源投入時のLED電流設定処理は省いて、初期化操作が行われた場合のみLED電流設定処理(ステップS2a)を実行するようにしても良い。この場合、電源投入時には、不揮発性メモリ36に格納されたLED電流設定データを使用して、歯車位置検出や針位置自動修正の処理を行うようにすれば良い。   In the main control process of FIG. 9, the LED current setting process (step S0) is always executed when the power is turned on, but the LED current setting process when the power is turned on is omitted, and the initialization operation is performed. The LED current setting process (step S2a) may be executed only when it is performed. In this case, when the power is turned on, the LED current setting data stored in the nonvolatile memory 36 may be used to perform gear position detection and needle position automatic correction processing.

図10には、図9のステップS0,S2aにおいて実行されるLED電流設定処理のフローチャートを示す。   FIG. 10 shows a flowchart of the LED current setting process executed in steps S0 and S2a of FIG.

LED電流設定処理は、例えば、歯車20,23,25,27を動かして指針2〜4を運針させながら、歯車20,23,25,27が下記の貫通状態となるまで回転移動させ、貫通状態となったときに発光ダイオードD1の駆動電流を変化させてその最適化を図る処理である。歯車20,23,25,27の貫通状態とは、歯車20,23,25,27の透過孔21a,28,29,30(或いは透過孔28〜30と長孔21b,21c)が検出位置Pで重なった状態のことである。この状態のことを孔有りの状態とも記す。   In the LED current setting process, for example, while the gears 20, 23, 25, 27 are moved to move the hands 2 to 4, the gears 20, 23, 25, 27 are rotated until the following penetrating state is reached, and the penetrating state is reached. This is a process for changing the drive current of the light emitting diode D1 and optimizing it. The through state of the gears 20, 23, 25, 27 means that the transmission holes 21a, 28, 29, 30 (or the transmission holes 28-30 and the long holes 21b, 21c) of the gears 20, 23, 25, 27 are detected positions P. It is a state of overlapping. This state is also referred to as a holed state.

LED電流設定処理に移行すると、先ず、この設定処理の終了時に指針2〜4の位置を元に戻すために、マイクロコンピュータ35の針位置カウンタの値を記憶する(ステップS21)。   When the process proceeds to the LED current setting process, first, the value of the needle position counter of the microcomputer 35 is stored in order to return the positions of the hands 2 to 4 to the original positions at the end of the setting process (step S21).

次に、ステップS22で、歯車20,23,25,27の状態検出とこの状態検出で孔有りの状態となっている場合に、発光ダイオードD1の駆動電流を変化させてその最適化処理を行うLED電流調整処理を実行する。LED電流調整処理については後に詳述する。そして、続くステップS23に移行する。   Next, in step S22, when the state of the gears 20, 23, 25, and 27 is detected and the hole is detected by this state detection, the drive current of the light emitting diode D1 is changed and the optimization process is performed. The LED current adjustment process is executed. The LED current adjustment process will be described in detail later. Then, the process proceeds to subsequent step S23.

ステップS23では、LED電流調整処理の結果が孔有りと判別されたか否か確認し、孔有りと判別されていればLED電流の最適化が遂行されているはずなので、終了前の処理であるステップS25に移行し、歯車を可動制御して指針2〜4をステップS21で記憶してある元の針位置まで戻す処理を行ってから、このLED電流設定処理を終了する。   In step S23, it is confirmed whether or not the result of the LED current adjustment processing is determined to have a hole. If it is determined that there is a hole, the LED current should be optimized. The process proceeds to S25, the process of moving the gears and performing the process of returning the hands 2 to 4 to the original needle position stored in step S21, and then the LED current setting process is terminated.

一方、ステップS23の判別処理で孔無しと判別されれば、ステップS24に移行して歯車20,23,25,27を可動制御して所定の指針(2〜4)を1ステップ運針して再びステップS22に戻る。   On the other hand, if it is determined that there is no hole in the determination process in step S23, the process proceeds to step S24, and the gears 20, 23, 25, 27 are moved and controlled, and the predetermined pointer (2-4) is moved one step again. The process returns to step S22.

なお、ステップS24の運針処理は、例えば、第1ステッピングモータ17と第2ステッピングモータ22のうち何れか一方を適宜選択してステップ駆動するように実行される。例えば、ステップS22〜S24のループ処理が繰り返される間、先ず、秒針車20を停止させたまま第2ステッピングモータ22を連続的にステップ駆動して分針車25や時針車27を回転させていき、2時間分回転させても孔有りの判別にならなければ、秒針車20が透過孔を塞いでいると判断して秒針車20を所定角度分だけ回転する。そして、次に、この状態で、秒針車20を停止させたまま第2ステッピングモータ22を連続的にステップ駆動して分針車25や時針車27を回転させていく。そして、ステップS22〜S24のループ処理において、上記のような運針処理により、比較的短い時間で孔有りの状態まで歯車20,23,25,27を回転させることができる。また、このステップS24の運針処理は、指針2〜4の最小運針ステップの1回分や2回分を1ステップとして歯車20,23,25,27を駆動するものである。   In addition, the hand movement process of step S24 is performed so that, for example, one of the first stepping motor 17 and the second stepping motor 22 is appropriately selected and step-driven. For example, while the loop processing of steps S22 to S24 is repeated, first, the second stepping motor 22 is continuously stepped while the second hand wheel 20 is stopped to rotate the minute hand wheel 25 and the hour hand wheel 27, If it is not determined that there is a hole after rotating for 2 hours, it is determined that the second hand wheel 20 is blocking the transmission hole, and the second hand wheel 20 is rotated by a predetermined angle. Then, in this state, while the second hand wheel 20 is stopped, the second stepping motor 22 is continuously stepped to rotate the minute hand wheel 25 and the hour hand wheel 27. Then, in the loop processing of steps S22 to S24, the gears 20, 23, 25, and 27 can be rotated to the holed state in a relatively short time by the above-described hand movement processing. In addition, the hand movement process in step S24 is to drive the gears 20, 23, 25, 27 with one or two of the minimum hand movement steps of the hands 2 to 4 as one step.

図11には、図10のステップS22で実行されるLED電流調整処理のフローチャートを示す。   FIG. 11 shows a flowchart of the LED current adjustment process executed in step S22 of FIG.

LED電流調整処理に移行すると、先ず、ステップS31〜S33により外来光の計測処理を行う。すなわち、先ず、発光部31の電流スタート信号ISを無効値にして発光ダイオードD1をオフし、さらに、受光部32の電圧スタート信号VSを有効値にしてフォトトランジスタTr1を駆動する(ステップS31)。続いて、ADコンバータ34をAD変換動作させ(ステップS32)、ADコンバータ34からAD変換値を読み込み、このAD変換値を外来光の強度を表わす変数Nに設定する(ステップS33)。   When the process proceeds to the LED current adjustment process, first, an extraneous light measurement process is performed in steps S31 to S33. That is, first, the current start signal IS of the light emitting unit 31 is set to an invalid value to turn off the light emitting diode D1, and further, the phototransistor Tr1 is driven with the voltage start signal VS of the light receiving unit 32 set to an effective value (step S31). Subsequently, the AD converter 34 is caused to perform an AD conversion operation (step S32), an AD conversion value is read from the AD converter 34, and this AD conversion value is set to a variable N representing the intensity of external light (step S33).

変数Nに値が設定されたら、次に、この外来光の強度を表わす変数Nの値が正常な範囲に収まっているか(例えば、“4”より小さい値か)を確認し(ステップS34)、正常な範囲内であれば次の処理に移行するが、正常値を超えた大きな値であればエラー処理へ移行する。   If a value is set for the variable N, it is next confirmed whether the value of the variable N representing the intensity of the extraneous light is within a normal range (for example, a value smaller than “4”) (step S34). If it is within the normal range, the process proceeds to the next process, but if it is a large value exceeding the normal value, the process proceeds to error process.

その結果、次の処理に移行したら、ステップS36〜S41により歯車20,23,25,27が孔有りの状態か否かを判別する。すなわち、先ず、発光ダイオードD1の駆動電流の設定用変数Iに最大値“7”を設定し(ステップS35)、定電流回路311に送る電流値データIMに変数Iの値を設定し(ステップS36)、次に、電流スタート信号ISを有効値にして定電流回路311の駆動をスタートさせる(ステップS37)。これにより、定電流回路311から最大電流が出力されて発光ダイオードD1が駆動される。   As a result, when the process proceeds to the next process, it is determined in steps S36 to S41 whether or not the gears 20, 23, 25, 27 are in a holed state. That is, first, the maximum value “7” is set to the drive current setting variable I of the light emitting diode D1 (step S35), and the value of the variable I is set to the current value data IM sent to the constant current circuit 311 (step S36). Then, the driving of the constant current circuit 311 is started by setting the current start signal IS to an effective value (step S37). As a result, the maximum current is output from the constant current circuit 311 to drive the light emitting diode D1.

続いて、歯車20,23,25,27が貫通状態にあるか否かを識別するのに予め定められた第1しきい値としての基底しきい値(例えば“8”)に、外来光の強度値(変数Nの値)と、光量ばらつきの許容値αとを加算して、これをコンパレータ341による比較用の第2しきい値(“8+N+α”)とする(ステップS38)。   Subsequently, the base threshold value (for example, “8”) as the first threshold value for identifying whether or not the gears 20, 23, 25, 27 are in the penetrating state is set to the external light The intensity value (value of variable N) and the allowable value α of the variation in light quantity are added to obtain a second threshold value (“8 + N + α”) for comparison by the comparator 341 (step S38).

ここで、光量ばらつきの許容値αには、同一条件で孔有無の検出処理を複数回行った場合に、受光部32の受光量に生じえる光量ばらつきの許容値を設定する。従来の装置では、受光部32の受光量に生じえる光量ばらつきは、光学素子や回路素子の装置毎の特性ばらつきに起因するもの、歯車20,23,25,27の機械精度に起因するもの、歯車20,23,25,27のバックラッシュによる位置ばらつきに起因するものなど、種々のばらつき要因が加わっていた。そのため、従来の装置では、上記のようなばらつき要因が重なってワースト状態となった場合でも、孔有無の検出が正常に行えるように、光量ばらつきの許容値を大きく見積もる必要があった。しかしながら、この実施形態の装置では、装置毎に生じる特性ばらつきや寸法ばらつきに起因するものは、LED電流設定処理により発光ダイオードD1の発光量を最適化することで、受光量に生じえる光量ばらつきの要因から除外することができる。一方、例えば、歯車20,23,25,27のバックラッシュに基づく位置ばらつきなど、同一装置における複数回の検出処理の各々に生じるばらつきについては、受光量に生じえる光量ばらつきの要因として残ってしまう。なので、この光量ばらつきの許容値αを判別用のしきい値に加算しておく。発光ダイオードD1を駆動する消費電力をより少なくするには、この許容値αもより小さな値に設定すると良い。   Here, the tolerance value α of the light quantity variation that can occur in the light reception amount of the light receiving unit 32 when the hole presence / absence detection process is performed a plurality of times under the same conditions is set as the tolerance value α of the light quantity variation. In the conventional apparatus, the variation in the amount of light that can occur in the amount of light received by the light receiving unit 32 is caused by the characteristic variation of each device of the optical element or the circuit element, or caused by the mechanical accuracy of the gears 20, 23, 25, 27. Various variation factors such as those caused by positional variations due to backlash of the gears 20, 23, 25, and 27 were added. Therefore, in the conventional apparatus, it is necessary to largely estimate the allowable value of the light amount variation so that the detection of the presence / absence of the hole can be normally performed even when the above-described variation factors overlap and become the worst state. However, in the apparatus according to this embodiment, the variation in light quantity that can occur in the received light amount is caused by optimizing the light emission amount of the light emitting diode D1 by the LED current setting process due to the characteristic variation and dimensional variation that occurs in each device. It can be excluded from the factors. On the other hand, for example, variations that occur in each of a plurality of detection processes in the same device, such as positional variations based on backlash of the gears 20, 23, 25, and 27, remain as a cause of variations in the amount of light that may occur in the received light amount. . Therefore, the permissible value α of the light quantity variation is added to the determination threshold value. In order to reduce the power consumption for driving the light emitting diode D1, the allowable value α is preferably set to a smaller value.

上記のように判別用のしきい値を求めたら、次に、このしきい値をDAコンバータ342に設定する(ステップS39)。これにより、コンパレータ341の一方の入力端子には受光部32からの受光信号が入力され、他方の入力端子には判別用のしきい値(“8+N+α”)に比例した比較参照電圧が入力される。そして、コンパレータ341からこれらの比較結果を示すハイレベル又はローレベルの出力DIがマイクロコンピュータ35に出力される。   Once the threshold value for determination is obtained as described above, this threshold value is then set in the DA converter 342 (step S39). As a result, the light reception signal from the light receiving unit 32 is input to one input terminal of the comparator 341, and a comparison reference voltage proportional to the threshold value for discrimination (“8 + N + α”) is input to the other input terminal. . The comparator 341 outputs a high level or low level output DI indicating these comparison results to the microcomputer 35.

コンパレータ341から出力DIが入力されたら、マイクロコンピュータ35のCPUは、この出力DIを読み込んで(ステップS40)、ハイレベルか否かを判別する(ステップS41)。ここで、定電流回路311の電流値データIMは最大値“7”となっているので、出力DIがローレベルであれば孔無しの状態であると判断でき、出力DIがハイレベルであれば孔有りの状態であると判断できる。   When the output DI is input from the comparator 341, the CPU of the microcomputer 35 reads this output DI (step S40) and determines whether it is at the high level (step S41). Here, since the current value data IM of the constant current circuit 311 is the maximum value “7”, it can be determined that there is no hole if the output DI is low level, and if the output DI is high level. It can be determined that there is a hole.

したがって、電流設定用変数Iが最大値“7”のときに、ステップS41の判別処理で出力DIがローレベルと判断されたら、ステップS42に移行して変数Iが最大値であるか確認し、最大値であればステップS43に移行して孔無しと判断する。この孔無しの判断結果は、マイクロコンピュータ35のRAM37等に一時的に格納されて、続くステップで確認できるようにされる。そして、発光部31と受光部32の電源をオフして(ステップS44)、1回のLED電流調整処理を終了する。   Therefore, when the current setting variable I is the maximum value “7”, if the output DI is determined to be low level in the determination process of step S41, the process proceeds to step S42 to check whether the variable I is the maximum value. If it is the maximum value, the process proceeds to step S43 and it is determined that there is no hole. The determination result of the absence of holes is temporarily stored in the RAM 37 or the like of the microcomputer 35 so that it can be confirmed in subsequent steps. Then, the power sources of the light emitting unit 31 and the light receiving unit 32 are turned off (step S44), and one LED current adjustment process is completed.

つまり、上述したLED電流設定処理(図10)において、ステップS22〜S24のループ処理により孔有りの状態となるまで歯車20,23,25,27を1ステップずつ回転移動させている期間には、LED電流調整処理(図11)においてはステップS31〜S41,S42〜S44の流れで処理ステップが移行されて、そのステップS43において孔無しの判断がなされるようになっている。   That is, in the above-described LED current setting process (FIG. 10), during the period in which the gears 20, 23, 25, 27 are rotated and moved step by step until the hole is present by the loop process of steps S22 to S24, In the LED current adjustment process (FIG. 11), the process steps are shifted in the flow of steps S31 to S41 and S42 to S44, and in step S43, it is determined that there is no hole.

一方、歯車20,23,25,27が孔有りの状態となって、電流設定用変数Iが最大値“7”のときに、ステップS41でコンパレータ出力DIがハイレベルと判別された場合には、ステップS45,S36〜S41のループ処理を繰り返すことで、最適な電流設定値を探索する処理を行う。このステップS36〜S41,S45のループ処理を実行するCPUにより、駆動手段により発光部を光量変化させながら駆動して駆動手段の駆動量を最適化する駆動量調整手段(図11中、駆動量調整処理と記す)が構成されている。   On the other hand, when the gears 20, 23, 25, and 27 are in a holed state and the current setting variable I is the maximum value “7”, when the comparator output DI is determined to be high in step S41. By repeating the loop processing of steps S45 and S36 to S41, processing for searching for the optimum current set value is performed. A drive amount adjusting means for optimizing the drive amount of the drive means by driving the light emitting portion while changing the light amount by the drive means by the CPU executing the loop processing of steps S36 to S41, S45 (in FIG. 11, drive amount adjustment). Process).

すなわち、電流設定用変数Iを一段減算し(ステップS45)、電流値データIMにこの一段減算した変数Iの値を設定して(ステップS36)、定電流回路311を駆動する(ステップS37)。これにより、定電流回路311から一段低い電流が出力されて発光ダイオードD1が駆動される。   That is, the current setting variable I is subtracted by one step (step S45), the value of the variable I subtracted by one step is set in the current value data IM (step S36), and the constant current circuit 311 is driven (step S37). As a result, the constant current circuit 311 outputs a current that is one step lower, and the light emitting diode D1 is driven.

そして、上述したのと同様にステップS38,S39で判別用のしきい値(“8+N+α”)をコンパレータ341に設定して、受光部32の受光量と比較処理を行う。そして、ステップS40,S41で、コンパレータ出力DIを判別することで、発光ダイオードD1の駆動量を一段低くした場合でも、受光部32の受光量がしきい値を超えた状態にあるか否かを確認する。   In the same manner as described above, the threshold value for discrimination (“8 + N + α”) is set in the comparator 341 in steps S38 and S39, and the received light amount of the light receiving unit 32 is compared. In steps S40 and S41, it is determined whether or not the amount of light received by the light receiving unit 32 exceeds the threshold value even when the drive amount of the light emitting diode D1 is further lowered by determining the comparator output DI. Check.

その結果、依然、コンパレータ出力DIがハイレベルの状態(受光部32の受光量がしきい値を超えている状態)であれば、ステップS45,S36〜S41のループ処理を繰り返すことで、ステップS41でコンパレータ出力DIがローレベルの状態(受光部32の受光量がしきい値を下回る状態)まで、電流値が一段ずつ低くされていく。   As a result, if the comparator output DI is still in the high level state (the amount of light received by the light receiving unit 32 exceeds the threshold value), the loop processing of steps S45 and S36 to S41 is repeated, so that step S41 is performed. Thus, the current value is lowered step by step until the comparator output DI is at a low level (the amount of light received by the light receiving unit 32 is below the threshold value).

そして、このループ処理(ステップS45,S36〜S41)でコンパレータ出力DIがローレベルであると判別されたら、その時点での電流設定用変数Iは初期値である最大値“7”でないことから、前回の判別処理(ステップS41)で一度はハイレベル(孔有り)と判別された後にローレベルとなっていることが分かっているため、現在も孔有りの状態であることが確認できる。従って、続いて、ステップS42,S46と移行し、先ず、コンパレータ出力DIがローレベルとなったときの前段の電流設定用変数Iの値(すなわち、“I+1”)を、最適なLED電流値を表わすLED電流設定データとして、不揮発性メモリ36の格納領域36aに格納する駆動量設定処理を行う(ステップS46)。このステップS46の処理を実行するCPUおよび格納領域36aにより、駆動量調整手段の調整結果に関する情報を設定する駆動量設定手段が構成される。   If it is determined in this loop processing (steps S45, S36 to S41) that the comparator output DI is at a low level, the current setting variable I at that time is not the maximum value “7” that is the initial value. Since it is known that the level is low after having been determined to be high level (with holes) once in the previous determination process (step S41), it can be confirmed that the hole is still present. Accordingly, the process proceeds to steps S42 and S46. First, the value of the current setting variable I (ie, “I + 1”) when the comparator output DI becomes low level is set to the optimum LED current value. As the LED current setting data to be represented, a drive amount setting process is performed for storing in the storage area 36a of the nonvolatile memory 36 (step S46). The CPU that executes the process of step S46 and the storage area 36a constitute a driving amount setting unit that sets information related to the adjustment result of the driving amount adjusting unit.

そして、孔有りと判断し(ステップS47)、検出部13の電源をオフして(ステップS44)、このLED電流調整処理を終了する。このステップS47で孔有りと判断することができるのは、電流設定用変数Iが初期値である最大値“7”でないことから、前回の判別処理(ステップS41)で一度はハイレベル(孔有り)と判別された後にローレベルとなっており、現在も孔有りの状態であると分かっているからである。この孔有りの判断結果は、マイクロコンピュータ35のRAM37等に一時的に格納されて、後続のステップで確認できるようにされる。これにより、LED電流設定処理(図10)に戻ったときに、後続のステップS23の判別処理で孔有りと確認されて、ループ処理を抜けてLED電流設定処理も終了されるようになっている。   Then, it is determined that there is a hole (step S47), the power source of the detection unit 13 is turned off (step S44), and this LED current adjustment process is terminated. In step S47, it can be determined that there is a hole because the current setting variable I is not the initial maximum value “7”. Therefore, once in the previous determination process (step S41), the level is high (has a hole). This is because it is known that the hole is still present. The determination result of the presence of holes is temporarily stored in the RAM 37 or the like of the microcomputer 35 so that it can be confirmed in subsequent steps. Thereby, when returning to the LED current setting process (FIG. 10), it is confirmed that there is a hole in the determination process of the subsequent step S23, and the LED current setting process is also terminated after exiting the loop process. .

図12は、孔有りの状態でLED電流調整処理に移行してLED電流の最適化処理が行われるときの動作の一例を示したタイムチャートである。   FIG. 12 is a time chart illustrating an example of an operation when the LED current adjustment process is performed by shifting to the LED current adjustment process in the presence of a hole.

孔有りの状態、すなわち、歯車20,23,25,27の透過孔21a,28,29,30が検出位置Pで重なった状態になったときに、上記のLED電流調整処理(図11)に移行された場合、検出部13において図12に示すような動作が実行される。先ず、LED電流調整処理の開始期間T0で、発光部31を動作させずに(LED電流がゼロのまま)、受光部32だけ動作させ、この状態でADコンバータ34をAD変換動作させることで、外来光の強度を計測する。図11のステップS31〜S33の動作である。   When there is a hole, that is, when the transmission holes 21a, 28, 29, and 30 of the gears 20, 23, 25, and 27 are overlapped at the detection position P, the above LED current adjustment processing (FIG. 11) is performed. When the transition is made, an operation as shown in FIG. First, in the start period T0 of the LED current adjustment process, without operating the light emitting unit 31 (the LED current remains zero), only the light receiving unit 32 is operated, and in this state, the AD converter 34 is AD converted. Measure the intensity of extraneous light. This is the operation of steps S31 to S33 in FIG.

次に、続く期間T1において、発光部31を最大電流Imaxで駆動させた状態で、コンパレータ341により、しきい値電圧Vth(しきい値“8+N+α”に応じた電圧)と受光信号Vcp0とを比較する。図11のステップS35〜S40の動作である。   Next, in the subsequent period T1, the comparator 341 compares the threshold voltage Vth (voltage corresponding to the threshold “8 + N + α”) with the light reception signal Vcp0 while the light emitting unit 31 is driven at the maximum current Imax. To do. This is the operation of steps S35 to S40 in FIG.

ここで、検出対象は孔有りの状態になっているので、受光信号Vcp0はしきい値電圧Vthより高くなり、コンパレータ341の出力はハイレベルとなる。従って、続く期間T2,T3,T4において、発光部31の駆動電流が1段階ずつ低くされる(LED電流I−1〜I−3)とともに、コンパレータ341により受光信号としきい値電Vthと同様の比較が行われる。図11のステップS45,S36〜S41のループ処理の動作である。LED電流I−1〜I−3が1段ずつ低くされるに従って、受光部32に届く光量も一段ずつ低下して、それにより受光信号Vcp1〜Vcp3も一段ずつ低下してくる。   Here, since the detection target has a hole, the light reception signal Vcp0 becomes higher than the threshold voltage Vth, and the output of the comparator 341 becomes a high level. Accordingly, in the subsequent periods T2, T3, and T4, the drive current of the light emitting unit 31 is lowered step by step (LED currents I-1 to I-3), and the comparator 341 compares the received light signal with the threshold voltage Vth. Is done. This is the loop processing operation of steps S45 and S36 to S41 in FIG. As the LED currents I-1 to I-3 are decreased step by step, the amount of light reaching the light receiving unit 32 is also decreased step by step, and the light reception signals Vcp1 to Vcp3 are also decreased step by step.

そして、期間T4に示すように、受光信号Vcp3がしきい値電圧Vthより下回って、コンパレータ出力がローレベルになったら、期間T4の後に、このときの前段のLED電流(図12の例ではLED電流I−2)が最適な電流値とされて、これを表わす電流設定用変数I(=“5”)がLED電流設定データとして記憶される。図11のステップS41,S42,S46の動作である。   Then, as shown in the period T4, when the light reception signal Vcp3 falls below the threshold voltage Vth and the comparator output becomes a low level, after the period T4, the LED current of the previous stage at this time (in the example of FIG. 12, LED The current I-2) is set to an optimum current value, and a current setting variable I (= “5”) representing this is stored as LED current setting data. This is the operation of steps S41, S42, and S46 in FIG.

次に、上記の最適化されたLED電流設定データを用いた孔有無検出処理について説明する。図13には、この孔有無検出処理のフローチャートを示す。   Next, the hole presence / absence detection process using the optimized LED current setting data will be described. FIG. 13 shows a flowchart of the hole presence / absence detection process.

この孔有無検出処理は、図9のメイン制御処理のステップS4の歯車位置検出処理の中で実行されることのある処理である。すなわち、歯車位置検出処理(ステップS4)においては、先ず、計時カウンタの時刻が、歯車20,23,25,27の透過孔21a,28,29,30が検出位置Pで重なる時刻(例えば、0時00分00秒、1時00分00秒、…、10時00分00秒)であるか否かを判別し、透過孔21a,28,29,30が検出位置Pで重なる時刻でなければ、孔有無の検出は行わずに、そのまま歯車位置検出処理(ステップS4:図9)を終了する。   This hole presence / absence detection process is a process that may be executed in the gear position detection process of step S4 of the main control process of FIG. That is, in the gear position detection process (step S4), first, the time of the time counter is the time when the transmission holes 21a, 28, 29, 30 of the gears 20, 23, 25, 27 overlap at the detection position P (for example, 0 (10:00:00, .., 10:00:00), and it is not the time when the transmission holes 21a, 28, 29, 30 overlap at the detection position P. The gear position detection process (step S4: FIG. 9) is terminated without detecting the presence or absence of holes.

一方、透過孔21a,28,29,30が検出位置Pで重なる時刻であれば、図13の孔有無検出処理が実行される。そして、孔有無検出処理により、この時刻で孔有りと判別されれば、指針2〜4と連動する歯車20,23,25,27が正常位置にあると判断して、歯車位置検出処理(ステップS4:図9)は正常終了される。逆に、孔有無検出処理により、この時刻で孔無しと判別されれば、指針2〜4と連動する歯車20,23,25,27が正常位置にないと判断して、これら歯車20,23,25,27の正常位置に修正する処理を行ってから、歯車位置検出処理(ステップS4:図9)を終了する。   On the other hand, if the transmission holes 21a, 28, 29, and 30 overlap at the detection position P, the hole presence / absence detection process of FIG. 13 is executed. Then, if it is determined that there is a hole at this time by the hole presence / absence detection process, it is determined that the gears 20, 23, 25, 27 interlocked with the hands 2 to 4 are in the normal position, and the gear position detection process (step) S4: FIG. 9) is normally terminated. On the contrary, if it is determined that there is no hole at this time by the hole presence / absence detection process, it is determined that the gears 20, 23, 25, 27 interlocked with the hands 2-4 are not in the normal position, and these gears 20, 23 are detected. , 25, and 27, the gear position detection process (step S4: FIG. 9) is terminated.

すなわち、上記の孔有無検出処理(図13)は、透過孔21a,28,29,30が検出位置Pで重なった状態にあるか否かを判別するための処理であり、この判別処理によって、歯車20,23,25,27に連動して回転する指針2〜4が、マイクロコンピュータ35の針位置カウンタの値が示す位置からずれているか否かを確認できるようになっている。   That is, the hole presence / absence detection process (FIG. 13) is a process for determining whether or not the transmission holes 21a, 28, 29, and 30 are overlapped at the detection position P. By this determination process, It is possible to confirm whether or not the pointers 2 to 4 that rotate in conjunction with the gears 20, 23, 25, and 27 are deviated from the position indicated by the value of the needle position counter of the microcomputer 35.

孔有無検出処理に移行すると、先ず、ADコンバータ34に動作電圧を供給し、且つ、定電圧回路321に電圧スタート信号VSを出力してフォトトランジスタTrに駆動電圧を供給する(ステップS51)。続いて、ADコンバータ34をAD変換動作させ(ステップS52)、AD変換動作が完了したらAD変換値を読み込んで外来光の強度を表わす変数Nにその値を設定する(ステップS53)。   When the process proceeds to the hole presence / absence detection process, first, an operating voltage is supplied to the AD converter 34, and a voltage start signal VS is output to the constant voltage circuit 321 to supply a driving voltage to the phototransistor Tr (step S51). Subsequently, the AD converter 34 is subjected to an AD conversion operation (step S52). When the AD conversion operation is completed, an AD conversion value is read and set to a variable N representing the intensity of external light (step S53).

次に、変数Nの値が適正な値(例えば“4”より小さい)になっているか確認し、適正な値であれば次の処理に進むが、例えば“4”以上など過大な値になっていれば外来光が強すぎだとしてエラー処理に移行する。   Next, it is confirmed whether the value of the variable N is an appropriate value (for example, smaller than “4”). If the value is an appropriate value, the process proceeds to the next process, but becomes an excessive value such as “4” or more. If so, it is determined that the extraneous light is too strong and the process proceeds to error processing.

変数Nの値が適正で次の処理に進むと、先ず、不揮発性メモリ36の格納領域36aに格納されているLED電流設定データを読み出して、定電流回路311に出力する電流値データIMに設定する(ステップS55)。このLED電流設定データは、先に行われるLED電流設定処理において最適化された電流設定値として設定されたものである。なお、LED電流設定データは、毎回、不揮発性メモリ36から読み出すのではなく、所定のタイミングでマイクロコンピュータ35のRAM37等の作業領域に書き込んでおき、その後は、このRAM37等に書き込まれたLED電流設定データを使用するようにしても良い。   When the value of the variable N is appropriate and the process proceeds to the next process, first, the LED current setting data stored in the storage area 36a of the nonvolatile memory 36 is read and set to the current value data IM output to the constant current circuit 311. (Step S55). This LED current setting data is set as a current setting value optimized in the LED current setting process performed earlier. The LED current setting data is not read from the nonvolatile memory 36 every time, but is written in a work area such as the RAM 37 of the microcomputer 35 at a predetermined timing, and thereafter, the LED current written in the RAM 37 or the like is written. Setting data may be used.

電流値データIMを設定したら、続いて、マイクロコンピュータ35のCPUは定電流回路311に電流スタート信号ISを出力する(ステップS56)。これにより、定電流回路311から最適化設定された駆動電流が出力されて発光ダイオードD1が発光する。   After setting the current value data IM, the CPU of the microcomputer 35 outputs the current start signal IS to the constant current circuit 311 (step S56). As a result, the drive current optimized for the constant current circuit 311 is output, and the light emitting diode D1 emits light.

続いて、コンパレータ341のしきい値として、予め定められたしきい値“8”に外来光の強度を示した変数Nの値を加算した値を設定し(ステップS57)、この値をDAコンバータ342に設定する(ステップS58)。これにより、コンパレータ341の一方の入力端子には受光部32の受光信号が、他方の入力端子にはしきい値に基づく電圧がそれぞれ入力されて、これらが比較される。   Subsequently, as the threshold value of the comparator 341, a value obtained by adding the value of the variable N indicating the intensity of the extraneous light to the predetermined threshold value “8” is set (step S57), and this value is set as the DA converter. It is set to 342 (step S58). As a result, the light reception signal of the light receiving unit 32 is input to one input terminal of the comparator 341, and the voltage based on the threshold is input to the other input terminal, and these are compared.

続いて、この比較結果を表わすコンパレータ出力DIを読み込んで(ステップS59)、この出力DIがハイレベルかローレベルかを判別する(ステップS60)。そして、ハイレベルであれば孔有りと判断し(ステップS61)、ローレベルなら孔無しと判断する(ステップS62)。その後、孔有無を判断したら検出部13の電源をオフしてこの孔有無検出処理を終了する。   Subsequently, the comparator output DI representing the comparison result is read (step S59), and it is determined whether the output DI is high level or low level (step S60). If the level is high, it is determined that there is a hole (step S61). If the level is low, it is determined that there is no hole (step S62). Thereafter, when the presence / absence of a hole is determined, the power of the detection unit 13 is turned off, and the hole presence / absence detection process is terminated.

以上のように、この実施形態の貫通状態判別装置(検出部13、マイクロコンピュータ35、歯車20,23,25,27)、および、これを内蔵した時計モジュール1によれば、針位置を検出するための発光ダイオードD1の駆動電流が、孔有りの状態と孔無しの状態との判別が可能な範囲で一番低い電流レベルに最適化されるので、発光ダイオードD1の過大な駆動が抑えられて、歯車位置検出処理や歯車位置自動修正処理における消費電力の低減を図ることができる。   As described above, according to the penetration state discriminating device (detector 13, microcomputer 35, gears 20, 23, 25, 27) of this embodiment and the timepiece module 1 incorporating the same, the hand position is detected. For this reason, the driving current of the light emitting diode D1 is optimized to the lowest current level within a range in which it is possible to discriminate between the holed state and the holeless state, so that excessive driving of the light emitting diode D1 is suppressed. Further, it is possible to reduce power consumption in the gear position detection process and the gear position automatic correction process.

また、電流レベルの最適化を、装置毎に行う構成なので、装置毎に発光ダイオードD1やフォトトランジスタTr1、並びに、これらの駆動回路311,312の構成素子に特性ばらつきがあるような場合でも、発光ダイオードD1の駆動電流を最適化することで、このような構成素子の装置毎の特性ばらつきによる影響を排除することができる。   In addition, since the current level is optimized for each device, the light emitting diode D1, the phototransistor Tr1, and the components of the drive circuits 311 and 312 have different characteristics for each device. By optimizing the driving current of the diode D1, it is possible to eliminate the influence due to the characteristic variation of each component of each device.

また、発光ダイオードD1の最適な駆動電流を探索するのに、孔有りの状態か否かを判別するために予め定められた基底しきい値“8”に、外来光の強度を表わす変数Nの値と、光量ばらつきの許容値αとを加算して、これを基準のしきい値(“8+N+α”)とし、実際に発光ダイオードD1を光量可変させながら駆動して、受光部32の受光信号と上記しきい値(“8+N+α”)の電圧とを比較して、孔有りの状態と孔無しの状態とを判別できる発光ダイオードD1の駆動電流で、一番低い電流レベルとなるものを、最適なLED電流として設定するので、発光ダイオードD1の駆動電流を、孔有りの状態と孔無しの状態を確実に判別することができ、且つ、電流値が最小となる最適なものに設定することができる。   Further, in order to search for the optimum driving current of the light emitting diode D1, the variable N representing the intensity of the extraneous light is set to a predetermined base threshold value “8” for determining whether or not there is a hole. The value and an allowable value α for variation in light quantity are added to obtain a reference threshold value (“8 + N + α”), and the light emitting diode D1 is actually driven while varying the light quantity, The driving current of the light emitting diode D1 that can distinguish between the state with a hole and the state without a hole by comparing with the voltage of the threshold value (“8 + N + α”), and the one that has the lowest current level Since it is set as the LED current, the driving current of the light emitting diode D1 can be reliably discriminated between the state with a hole and the state without a hole, and can be set to an optimum value that minimizes the current value. .

なお、LED電流設定処理の際に、外来光の侵入がほぼゼロとなる状況が確実になるような場合には、上記の基準となるしきい値に外来光の強度を表わす変数Nの値を加算する処理を省くようにしても良い。このようにしても、発光ダイオードD1の駆動電流を最適なものに設定することができる。   In the LED current setting process, if the situation where the intrusion of the external light is almost zero is ensured, the value of the variable N indicating the intensity of the external light is set as the reference threshold value. You may make it omit the process to add. Even in this case, the driving current of the light emitting diode D1 can be set to an optimum value.

また、上述したLED電流設定処理(図10)、および、この中で実行されるLED電流調整処理(図11)によれば、発光ダイオードD1を最大電流で駆動して(ステップS35〜S37)、受光信号がしきい値電圧を超えない場合に(ステップS41)、孔無しの状態であると判別して(ステップS43)、歯車20,23,25,27を1ステップ回転させ(ステップS24)、LED電流の最適化処理に移行する前に、このような処理を繰り返すので、これにより歯車20,23,25,27の状態を孔有りの状態まで変位させることができる。そして、歯車20,23,25,27が孔有りの状態となったときに、LED電流を1段ずつ低下させながら(ステップS45)、受光量としきい値とを比較していくとともに(ステップS40,S41)、受光信号がしきい値を下回ったときに、その前段のLED電流を最適な駆動電流として設定する(ステップS46)ので、LED電流設定処理(図10)の処理時間の短縮や消費電力の低減も図られている。   Further, according to the LED current setting process (FIG. 10) and the LED current adjustment process (FIG. 11) executed therein, the light emitting diode D1 is driven with the maximum current (steps S35 to S37), When the light reception signal does not exceed the threshold voltage (step S41), it is determined that there is no hole (step S43), and the gears 20, 23, 25, 27 are rotated by one step (step S24). Such a process is repeated before shifting to the LED current optimizing process, so that the state of the gears 20, 23, 25, and 27 can be displaced to the holed state. Then, when the gears 20, 23, 25, 27 are in a holed state, the LED current is decreased step by step (step S45), and the received light amount is compared with the threshold value (step S40). , S41), when the received light signal falls below the threshold value, the preceding LED current is set as the optimum drive current (step S46), so the processing time and consumption of the LED current setting process (FIG. 10) are reduced. Electric power is also reduced.

なお、本発明は、上記実施の形態に限られるものではなく、様々な変更が可能である。例えば、上記実施形態では、発光ダイオードD1の最適化された駆動電流をLED電流設定データとして不揮発性メモリ36に格納する構成を示したが、駆動電流の最適化処理を行った後に、例えばトリミング抵抗などを用いて設定を行い、その後、最適化された駆動電流しか出力されないような設定方法を採用することも出来る。   The present invention is not limited to the above-described embodiment, and various modifications can be made. For example, in the above-described embodiment, the configuration in which the optimized drive current of the light emitting diode D1 is stored in the nonvolatile memory 36 as the LED current setting data is shown. However, after performing the drive current optimization process, for example, the trimming resistor It is also possible to adopt a setting method in which setting is performed using a method such that only an optimized drive current is output.

また、最適な駆動電流を探索する際に、歯車20,23,25,27を貫通状態(孔有りの状態)まで回転させた状態にしているが、例えば、歯車20,23,25,27を組み込む前に最適な駆動電流を探索して設定しておくようにすることで、この歯車を貫通状態まで回転させる処理は省くこともできる。   Further, when searching for the optimum driving current, the gears 20, 23, 25, 27 are rotated to the through state (the state with holes). For example, the gears 20, 23, 25, 27 are turned on. By searching for and setting the optimum drive current before installation, the process of rotating the gear to the through state can be omitted.

また、上記実施形態では、複数の歯車20,23,25,27の透過孔21a,28,29,30の重なり状態を判別する構成に本発明の貫通状態判別装置を適用した例を示したが、1個の移動部材の透過孔が検出位置に来たか否かを判別するような構成に本発明を適用することもできる。また、上記実施形態では、時計モジュール1の針位置すなわち指針と連動する歯車位置の検出に貫通状態判別装置を利用した例を示したが、透過孔を有する移動部材の状態検出を必要とする種々の装置に同様に適用することができる。その他、上記実施形態で示した細部構造および方法は発明の趣旨を逸脱しない範囲で適宜変更可能である。   Moreover, although the said embodiment showed the example which applied the penetration state discrimination | determination apparatus of this invention to the structure which discriminate | determines the overlap state of the transmission holes 21a, 28, 29, 30 of the some gearwheels 20,23,25,27. The present invention can also be applied to a configuration in which it is determined whether or not the transmission hole of one moving member has reached the detection position. In the above embodiment, an example in which the penetrating state discriminating device is used for detecting the hand position of the timepiece module 1, that is, the gear position interlocking with the pointer has been shown. It can be similarly applied to the apparatus. In addition, the detailed structure and method shown in the above embodiment can be appropriately changed without departing from the spirit of the invention.

本発明の実施の形態の時計モジュールを示す正面図である。It is a front view which shows the timepiece module of embodiment of this invention. 図1の時計モジュールの矢印A−A線断面図である。It is arrow AA sectional view taken on the line of the timepiece module of FIG. 針を回転させる歯車の構成を裏蓋側からみた背面図である。It is the rear view which looked at the structure of the gearwheel which rotates a needle | hook from the back cover side. 秒針車に形成された孔部を表わした正面図である。It is a front view showing the hole formed in the second hand wheel. 分針車と中間車に形成された孔部を表わした正面図である。It is a front view showing the hole formed in the minute hand wheel and the intermediate wheel. 時針車に形成された孔部を表わした正面図である。It is a front view showing the hole formed in the hour hand wheel. 時計モジュールの回路構成を示すブロック図である。It is a block diagram which shows the circuit structure of a timepiece module. 貫通状態判別装置として機能する検出部とその周辺部分を詳細に示した回路構成図である。It is the circuit block diagram which showed in detail the detection part which functions as a penetration state discrimination device, and its peripheral part. マイクロコンピュータのCPUにより実行されるメイン制御処理の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of the main control process performed by CPU of a microcomputer. メイン制御処理のステップS0,S2aにおいて実行されるLED電流設定処理の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of the LED electric current setting process performed in step S0, S2a of a main control process. LED電流設定処理のステップS22で実行されるLED電流調整処理の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of the LED current adjustment process performed by step S22 of LED current setting process. LED電流の最適化設定を行うときの検出部の動作の一例を示したタイムチャートである。It is the time chart which showed an example of operation | movement of the detection part when performing the optimization setting of LED current. メイン制御処理の歯車位置検出処理の途中で実行される孔有無検出処理の動作手順を示したフローチャートである。It is the flowchart which showed the operation | movement procedure of the hole presence detection process performed in the middle of the gear position detection process of a main control process.

符号の説明Explanation of symbols

1 時計モジュール(電子時計)
2 秒針
3 分針
4 時針
13 検出部
20 秒針車(移動部材)
21a 第1透過孔
25 分針車(移動部材)
28 第2透過孔
27 時針車(移動部材)
29 第3透過孔
31 発光部
32 受光部
34 ADコンバータ
35 マイクロコンピュータ
36 不揮発性メモリ
36a LED電流設定データの格納領域
311 定電流回路
321 定電圧回路
D1 発光ダイオード
Tr1 フォトトランジスタ
341 コンパレータ
342 DAコンバータ
1 Clock module (electronic clock)
2 second hand 3 minute hand 4 hour hand 13 detector 20 second hand wheel (moving member)
21a First transmission hole 25 Minute hand wheel (moving member)
28 Second transmission hole 27 Hour hand wheel (moving member)
29 3rd transmission hole 31 Light emission part 32 Light reception part 34 AD converter 35 Microcomputer 36 Non-volatile memory 36a LED current setting data storage area 311 Constant current circuit 321 Constant voltage circuit D1 Light emitting diode Tr1 Phototransistor 341 Comparator 342 DA converter

Claims (7)

発光部から出射した光を移動部材の透過孔を介して受光部で受光することにより前記移動部材の貫通状態を判別する貫通状態判別装置において、
前記発光部を駆動する駆動手段と、
前記駆動手段により前記発光部を光量変化させながら駆動して前記駆動手段の駆動量を最適化する駆動量調整手段とを備え、
前記駆動量調整手段は、
前記移動部材が貫通状態にあるか否かを判別するために予め定められた第1しきい値に光量ばらつきの許容値を付加した第2しきい値を基準として、この第2しきい値より前記受光部の受光量が上回り、且つ、前記駆動手段の駆動量が最小となるように、当該駆動量を最適化することを特徴とする貫通状態判別装置。
In the penetrating state discriminating apparatus for discriminating the penetrating state of the moving member by receiving the light emitted from the light emitting unit by the light receiving unit through the transmission hole of the moving member,
Driving means for driving the light emitting unit;
A driving amount adjusting unit that optimizes the driving amount of the driving unit by driving the light emitting unit while changing the amount of light by the driving unit ;
The drive amount adjusting means includes
Based on a second threshold value obtained by adding an allowable value of variation in light quantity to a predetermined first threshold value in order to determine whether or not the moving member is in a penetrating state, A penetrating state discriminating apparatus , wherein the driving amount is optimized so that the amount of light received by the light receiving unit is greater and the driving amount of the driving means is minimized .
発光部から出射した光を移動部材の透過孔を介して受光部で受光することで移動部材の貫通状態を判別する貫通状態判別装置において、
前記発光部を光量可変に駆動可能な駆動手段と、
前記発光部から出射した光が前記移動部材の透過孔を介して前記受光部に受光される状態で、前記駆動手段により前記発光部を光量変化させながら駆動して前記駆動手段の駆動量を最適化する駆動量調整手段と、
前記駆動量調整手段の調整結果に関する情報を設定する駆動量設定手段とを備え、
前記移動部材が貫通状態にあるか否かを判別する動作時に前記駆動量設定手段の設定に
よる駆動量で前記駆動手段が駆動されるように構成され、
前記駆動量調整手段は、
前記移動部材が貫通状態にあるか否かを判別するために予め定められた第1しきい値に光量ばらつきの許容値を付加した第2しきい値を基準として、この第2しきい値より前記受光部の受光量が上回り、且つ、前記駆動手段の駆動量が最小となるように、当該駆動量を最適化することを特徴とする貫通状態判別装置。
In the penetrating state discriminating apparatus that discriminates the penetrating state of the moving member by receiving the light emitted from the light emitting unit by the light receiving unit through the transmission hole of the moving member,
Drive means capable of variably driving the light emitting unit;
In the state where the light emitted from the light emitting unit is received by the light receiving unit through the transmission hole of the moving member, the driving unit drives the light emitting unit while changing the amount of light to optimize the driving amount of the driving unit. Driving amount adjusting means
Driving amount setting means for setting information relating to the adjustment result of the driving amount adjusting means ,
The driving unit is configured to be driven with a driving amount set by the driving amount setting unit during an operation of determining whether or not the moving member is in a penetrating state,
The drive amount adjusting means includes
Based on a second threshold value obtained by adding an allowable value of variation in light quantity to a predetermined first threshold value in order to determine whether or not the moving member is in a penetrating state, A penetrating state discriminating apparatus , wherein the driving amount is optimized so that the amount of light received by the light receiving unit is greater and the driving amount of the driving means is minimized .
前記駆動量調整手段は、
前記発光部を非発光状態としたときの前記受光部の受光量を外来光の光量として計測し、前記第1しきい値に、前記光量ばらつきの許容値と、更に前記外来光の光量値とを付加して前記第2しきい値とすることを特徴とする請求項1又は2に記載の貫通状態判別装置。
The drive amount adjusting means includes
The amount of light received by the light receiving unit when the light emitting unit is in a non-light emitting state is measured as the amount of extraneous light, and the first threshold value includes an allowable value of the variation in the amount of light, and further, a light amount of the extraneous light. The penetration state determination device according to claim 1, wherein the second threshold value is added.
前記駆動量調整手段は、
前記発光部から出射した光が前記移動部材の透過孔を介して前記受光部に受光される状態で、前記発光部の駆動量を大きい値から小さい値へ段階的に変化させ、この変化の過程で前記受光手段の受光量が前記第2しきい値を下回ったときに、この下回ったときの前段の駆動量を調整結果とすることを特徴とする請求項1〜3の何れか1項に記載の貫通状態判別装置。
The drive amount adjusting means includes
In a state where the light emitted from the light emitting unit is received by the light receiving unit through the transmission hole of the moving member, the driving amount of the light emitting unit is changed stepwise from a large value to a small value, and the process of this change 4. The method according to claim 1, wherein when the amount of light received by the light receiving means falls below the second threshold value, the drive amount of the preceding stage when the amount falls below the second threshold value is used as an adjustment result. The penetration state discriminating device described.
前記駆動量調整手段は、
前記移動部材を移動させながら、前記駆動手段の駆動量を初期値に設定して、前記受光手段の受光量が前記第2しきい値を越えるか否か判別し、前記受光量が前記第2しきい値を越えたときに、前記移動部材が前記貫通状態にある状態として、前記駆動量の最適化処理に移行することを特徴とする請求項1〜3の何れか1項に記載の貫通状態判別装置。
The drive amount adjusting means includes
While moving the moving member, the driving amount of the driving unit is set to an initial value, and it is determined whether or not the light receiving amount of the light receiving unit exceeds the second threshold value, and the light receiving amount is the second value. The penetration according to any one of claims 1 to 3 , wherein when the threshold value is exceeded, the moving member is in the penetration state, and the process proceeds to the drive amount optimization process. State determination device.
前記移動部材は、透過孔をそれぞれ有する複数の部材からなり、
前記移動部材の貫通状態とは、前記発光手段と前記受光手段との間で前記複数の部材の透過孔がそれぞれ重なった状態であることを特徴とする請求項1又は2に記載の貫通状態判別装置。
The moving member is composed of a plurality of members each having a transmission hole,
The penetration state determination according to claim 1 or 2, wherein the penetration state of the moving member is a state in which transmission holes of the plurality of members overlap each other between the light emitting unit and the light receiving unit. apparatus.
請求項1〜6の何れか1項に記載の貫通状態判別装置を備え、
前記貫通状態判別装置により指針に連動して動く前記移動部材が貫通状態となるか否かを判別することによって指針の位置を検出することを特徴とする電子時計。
The penetrating state determination device according to any one of claims 1 to 6 ,
An electronic timepiece that detects the position of a pointer by determining whether or not the moving member that moves in conjunction with the pointer is in a penetrating state by the penetrating state determining device.
JP2008253028A 2008-09-30 2008-09-30 Penetration state discrimination device and electronic timepiece Active JP5343495B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008253028A JP5343495B2 (en) 2008-09-30 2008-09-30 Penetration state discrimination device and electronic timepiece

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008253028A JP5343495B2 (en) 2008-09-30 2008-09-30 Penetration state discrimination device and electronic timepiece

Publications (2)

Publication Number Publication Date
JP2010085175A JP2010085175A (en) 2010-04-15
JP5343495B2 true JP5343495B2 (en) 2013-11-13

Family

ID=42249284

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008253028A Active JP5343495B2 (en) 2008-09-30 2008-09-30 Penetration state discrimination device and electronic timepiece

Country Status (1)

Country Link
JP (1) JP5343495B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI691392B (en) 2016-09-28 2020-04-21 日商川崎重工業股份有限公司 Robot, robot control device, and robot position teaching method
TWI691391B (en) 2016-09-28 2020-04-21 日商川崎重工業股份有限公司 Robot, robot control device, and robot position teaching method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004184405A (en) * 2002-11-21 2004-07-02 Seiko Instruments Inc Hand position detector, and electronic timepiece using the same
JP4141867B2 (en) * 2003-03-12 2008-08-27 セイコーエプソン株式会社 Radio correction clock and control method of radio correction clock
JP2006284444A (en) * 2005-04-01 2006-10-19 Seiko Epson Corp Electronic timepiece, method and program for detecting position of indicating member of the same, and recording medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI691392B (en) 2016-09-28 2020-04-21 日商川崎重工業股份有限公司 Robot, robot control device, and robot position teaching method
TWI691391B (en) 2016-09-28 2020-04-21 日商川崎重工業股份有限公司 Robot, robot control device, and robot position teaching method

Also Published As

Publication number Publication date
JP2010085175A (en) 2010-04-15

Similar Documents

Publication Publication Date Title
EP2128720B1 (en) Hand position detecting device and hand position control method
EP1998237B1 (en) Analog electronic watch
US8208348B2 (en) Hand position detecting device
JP4488049B2 (en) Needle position detector
JP4475311B2 (en) Penetration state discrimination device and electronic timepiece
EP2042947B1 (en) Hand position detecting device and apparatus including the device
JP2009085686A (en) Hand position detecting device
JP5343495B2 (en) Penetration state discrimination device and electronic timepiece
WO1999034264A1 (en) Electronic timepiece with calendar month-end non-correction device
JP2009156787A (en) Device for discriminating penetration state, and electronic timepiece
JP5163322B2 (en) Penetration state discrimination device and electronic timepiece
JP5099155B2 (en) Penetration state discrimination device
JP2010112860A (en) Electronic compass
JP5119914B2 (en) Penetration state discrimination device, penetration state discrimination method, and electronic timepiece
JP2009186379A (en) Electronic clock and time display position detection method
JP5194871B2 (en) Member position detecting device and electronic timepiece
JP5499677B2 (en) Analog electronic clock
JP2010210454A (en) Hand position correcting device and analog electronic clock
JP4556980B2 (en) Needle position detector
JP6510945B2 (en) clock
JP5182348B2 (en) Needle position detection device and needle position detection control method
JP4983902B2 (en) Needle position detector
JP2010230693A (en) Hand position detection device
JP2009288207A (en) Movable member movable control device and movable member movable control method
JP2010066278A (en) Hand position detection device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110131

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20110131

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130129

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130327

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130729

R150 Certificate of patent or registration of utility model

Ref document number: 5343495

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150