JP2006252086A - Multiplex timer apparatus - Google Patents

Multiplex timer apparatus Download PDF

Info

Publication number
JP2006252086A
JP2006252086A JP2005066509A JP2005066509A JP2006252086A JP 2006252086 A JP2006252086 A JP 2006252086A JP 2005066509 A JP2005066509 A JP 2005066509A JP 2005066509 A JP2005066509 A JP 2005066509A JP 2006252086 A JP2006252086 A JP 2006252086A
Authority
JP
Japan
Prior art keywords
timer
value
output
counters
failure
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.)
Pending
Application number
JP2005066509A
Other languages
Japanese (ja)
Inventor
誠 ▲吉▼原
Makoto Yoshihara
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2005066509A priority Critical patent/JP2006252086A/en
Publication of JP2006252086A publication Critical patent/JP2006252086A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To immediately detect a malfunction in a timer apparatus having highly accurate oscillators when malfunctions such as degraded accuracy and a stoppage of the oscillators occur, and to continuously supply an accurate time after the malfunctions of the oscillators have occurred. <P>SOLUTION: The timer apparatus comprises a plurality of timer counters 4-6, the oscillators 1-3 which increments the timer counters, and a selection circuit for selecting one timer counter to be used for output among the plurality of timer counters. The timer apparatus has multiplexed oscillators 1-3 and timer counters 4-6 in the timer apparatus, and detects the malfunction of the timer by searching an error from a reference value for every timer, in which an average value of every timer or an externally entered reference time is set up as the reference value. Further, an order for the accuracy of every timer is maintained, and a value of the next accurate timer is selected when the most accurate timer fails. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は多重化タイマ装置に関し、特に、情報処理装置に組み込まれて好適な多重化タイマ装置に関する。   The present invention relates to a multiplexing timer device, and more particularly to a multiplexing timer device that is preferably incorporated in an information processing device.

情報処理装置に組み込まれるタイマ装置としては、例えば特許文献1に示されるようなタイマ装置が知られている。特許文献1は、情報処理装置が内蔵するタイマ装置の時刻を、外部から供給される標準時刻に対し、より高い精度を保って調整し、かつ時刻補正を行う処理を、より柔軟に行うことが可能なタイマ装置を開示している。   As a timer device incorporated in an information processing device, for example, a timer device as disclosed in Patent Document 1 is known. Japanese Patent Laid-Open No. 2004-228688 can more flexibly perform the process of adjusting the time of the timer device built in the information processing apparatus with a higher accuracy with respect to the standard time supplied from the outside, and performing the time correction. A possible timer device is disclosed.

特開平10−283061号公報Japanese Patent Laid-Open No. 10-283061

従来のタイマ装置は、タイマのカウントアップに使用する発振器の精度劣化あるいは停止といった故障が発生した場合、故障を検出できずに不正確な時刻を出力する可能性があった。また、故障を検出できた場合にも、その後の継続動作の為には冗長系への切り替え等が必要であった。
本発明の目的は、発振器の精度劣化や停止といった障害を検出し、且つ継続して高精度の時刻供給を可能とする多重化タイマ装置を提供することにある。
In the conventional timer device, when a failure such as deterioration or stoppage of the accuracy of an oscillator used to count up the timer occurs, there is a possibility that the failure cannot be detected and an incorrect time is output. Even when a failure can be detected, it is necessary to switch to a redundant system for the subsequent continuous operation.
An object of the present invention is to provide a multiplex timer device that detects a failure such as deterioration or stoppage of the accuracy of an oscillator and can continuously supply time with high accuracy.

本発明は、タイマ装置内の発振器及びこれによりカウントアップされるタイマカウンタを多重化し、多重化したタイマカウンタの中から出力に使用するタイマカウンタを決定する選択回路にて、各タイマカウンタの出力値または外部参照した値を基準値として各タイマカウンタの精度を測定し、この測定に基づいて出力に使用するタイマカウンタを選択する。より具体的には、多重化したタイマカウンタの平均値あるいは外部から入力した基準時刻を基準値として、基準値からの誤差をタイマカウンタ毎に求めることによりタイマカウンタの故障発生を検出し、検出した各タイマカウンタの誤差から各タイマの精度の順位を保持しておき、最も正確なタイマカウンタの出力値を用いる。   The present invention multiplexes an oscillator in a timer device and a timer counter counted up thereby, and a selection circuit for determining a timer counter to be used for output from the multiplexed timer counters. Alternatively, the accuracy of each timer counter is measured using the externally referenced value as a reference value, and the timer counter used for output is selected based on this measurement. More specifically, the timer counter failure is detected by detecting the error from the reference value for each timer counter using the average value of the multiplexed timer counter or the reference time input from the outside as the reference value. The order of accuracy of each timer is retained from the error of each timer counter, and the most accurate output value of the timer counter is used.

本発明によれば、発振器の精度劣化や停止等の障害が発生した際に、即座に障害検出が可能となり、障害発生後にも継続して高精度の時刻の供給が可能となる。   According to the present invention, when a failure such as deterioration of accuracy of the oscillator or a stoppage occurs, the failure can be detected immediately, and a highly accurate time can be continuously supplied even after the failure occurs.

以下、本発明の一実施例を、図面を参照して詳細に説明する。
図1は本発明の一実施例を示す構成図である。本図では発振器及びタイマカウンタを三重化した場合につき示しているが、四重化以上を行った場合についても同様に構成される。本タイマ装置は、高精度な発振器であるTCXO1、2、3と、これらの発振器によりカウントアップされるタイマカウンタ4、5、6を有する。7〜14及び17は、3つのタイマカウンタ4、5、6から本装置のタイマ出力として使用するものを決定する為の回路群である。本回路群の決定に従い、タイマカウンタ4、5、6の出力は出力セレクタ15において選択され、結果がタイマカウンタ16に格納される。タイマカウンタ16の出力が本タイマ装置の出力として使用される。
次に回路群7〜14及び17の動作につき説明する。平均値算出回路7は、タイマカウンタ4、5、6の出力値A、B、Cの平均値を計算する。一方、外部基準値9には外部から参照した時刻が設定される。外部時刻の参照は定められた周期ごとに行う。この周期は通常一日に一回程度で十分である。基準値セレクタ8は、平均値算出回路7または外部基準値9の出力のいずれかを本タイマ装置内の基準値とするか選択を行う。外部基準値取り込みタイマ10が取り込み周期により定まる値となったときは外部基準値9の出力を、それ以外の場合は平均値算出回路7の出力を、基準値セレクタ8の出力Dとして選択する。減算器9は、タイマカウンタ4、5、6の出力A、B、Cと基準値Dの差分をそれぞれ計算する。
Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings.
FIG. 1 is a block diagram showing an embodiment of the present invention. In this figure, the case where the oscillator and the timer counter are tripled is shown, but the case where quadruple or higher is performed is similarly configured. This timer device includes TCXOs 1, 2, and 3, which are high-precision oscillators, and timer counters 4, 5, and 6 that are counted up by these oscillators. Numerals 7 to 14 and 17 are circuit groups for determining what is used as the timer output of this apparatus from the three timer counters 4, 5, and 6. According to the determination of this circuit group, the outputs of the timer counters 4, 5, 6 are selected by the output selector 15 and the result is stored in the timer counter 16. The output of the timer counter 16 is used as the output of this timer device.
Next, the operation of the circuit groups 7 to 14 and 17 will be described. The average value calculation circuit 7 calculates the average value of the output values A, B, and C of the timer counters 4, 5, and 6. On the other hand, the external reference value 9 is set with a time referenced from the outside. The reference of the external time is performed every predetermined period. This cycle is usually about once a day. The reference value selector 8 selects whether the average value calculation circuit 7 or the output of the external reference value 9 is used as the reference value in the timer device. When the external reference value take-in timer 10 becomes a value determined by the take-in cycle, the output of the external reference value 9 is selected as the output D of the reference value selector 8 otherwise. The subtracter 9 calculates the difference between the outputs A, B, C of the timer counters 4, 5, 6 and the reference value D, respectively.

精度判定回路10は、減算器9で求めた差分値を使用して、基準値に最も近い値を出力したタイマの番号a01を精度判定回路10において決定する。また、精度履歴回路11において、過去N回に渡ってa01の履歴を保持し、更にこの履歴を元に、過去N回において最も精度の高かったタイマ番号をb1として、二番目、三番目に精度の高かったタイマ番号をb2、b3としてそれぞれ出力する。これと並行して、発振器1、2、3及びタイマカウンタ4、5、6の故障を検出する為に、タイマカウンタの出力A、B、Cの間の差分を減算器12において計算し、その結果を故障判定回路13に出力する。減算器12で計算した差分値が設定された許容誤差を超える場合には、タイマ番号に対応する障害フラグ信号c1、c2、c3のうちの対応するものに論理値’1’を出力する。   The accuracy determination circuit 10 uses the difference value obtained by the subtractor 9 to determine the number a01 of the timer that has output the value closest to the reference value in the accuracy determination circuit 10. Further, the accuracy history circuit 11 holds the history of a01 for the past N times, and based on this history, the timer number having the highest accuracy in the past N times is b1, and the accuracy is the second and third. Are output as b2 and b3, respectively. In parallel with this, in order to detect the failure of the oscillators 1, 2, 3 and the timer counters 4, 5, 6, the difference between the outputs A, B, C of the timer counter is calculated in the subtractor 12, The result is output to the failure determination circuit 13. When the difference value calculated by the subtracter 12 exceeds the set allowable error, the logic value '1' is output to the corresponding one of the failure flag signals c1, c2, and c3 corresponding to the timer number.

以上のa01、b1、b2、b3及びc1、c2、c3を使用して、使用タイマ決定回路14は使用するタイマを決定する。具体的には、全てのタイマで障害が発生していないときには今回最も精度の高いと判定されたa01を選択し、いずれかのタイマで障害が発生しているときには、b1、b2、b3の中から障害が発生しておらず最も精度が高いものを選択する。また、障害フラグレジスタ17には、故障判定回路13において故障が検出されたタイマ番号が保持される。障害フラグレジスタ17の出力は平均値算出回路7に反映され、故障と判定されたタイマは、次回より平均値の算出の際には除外される様になる。   Using the above a01, b1, b2, b3 and c1, c2, c3, the use timer determination circuit 14 determines a timer to be used. Specifically, when no failure has occurred in all timers, a01 determined to be the most accurate this time is selected, and when a failure has occurred in any of the timers, b01, b2, and b3 are selected. From the above, select the one with the highest accuracy and no failure. Further, the failure flag register 17 holds a timer number at which a failure is detected in the failure determination circuit 13. The output of the failure flag register 17 is reflected in the average value calculation circuit 7, and the timer determined to be out of order is excluded from the next time the average value is calculated.

また、タイマカウンタ4、5、6には、タイマカウンタ16の出力値Eを取り込み可能である。タイマカウンタ16から時刻を出力する際に、その出力値Eをタイマカウンタ4、5、6に取り込むことにより、故障検出の許容誤差より小さい誤差を持つ、本来なら故障として扱わないタイマが、微小な誤差の累積により故障検出の許容誤差を超えた値を出力してしまい、過剰に故障検出されてしまうことを防止できる。   Further, the timer counters 4, 5, and 6 can capture the output value E of the timer counter 16. When the time is output from the timer counter 16, the output value E is taken into the timer counters 4, 5, 6, so that a timer that has an error smaller than the allowable error for failure detection and that is not handled as a failure is small. A value exceeding the allowable error for fault detection is output due to the accumulation of errors, and it is possible to prevent excessive fault detection.

図2は精度判定回路10の詳細な構成を示す図である。絶対値算出回路101、102および103は、各タイマの出力値A、B、Cと基準値Dの差分の絶対値G、H、Kをそれぞれ求める。次に比較器104、105、106は、絶対値G、H、Kの大小比較を行い、大小判定回路107において絶対値G、H、Kのうち、最小のものを決定する。大小判定回路107は、最小と判定されたタイマは基準値に最も近い値を出力しており、本タイマを最も精度の高いタイマであると判定する。   FIG. 2 is a diagram showing a detailed configuration of the accuracy determination circuit 10. The absolute value calculation circuits 101, 102, and 103 obtain absolute values G, H, and K of differences between the output values A, B, and C of each timer and the reference value D, respectively. Next, the comparators 104, 105, and 106 compare the absolute values G, H, and K, and the magnitude determination circuit 107 determines the smallest one of the absolute values G, H, and K. The size determination circuit 107 outputs the value closest to the reference value for the timer determined to be the minimum, and determines that this timer is the most accurate timer.

図3は精度履歴回路11の詳細な構成を示す図である。今回最も精度の高いと判定されたタイマ番号a01はレジスタ201に格納され、以降、判定を行う度に次段のレジスタに値が移っていく。レジスタ201〜203で合計N回分の履歴を保持する。また入力a01はデコーダ204にも接続されている。デコーダ204はa01の値を判別し、タイマごとに用意された加算・減算器206、207、208を経由して、レジスタ209、210、211のうち、対応するタイマ番号のレジスタを1加算する。同様にN回前の履歴を保持するレジスタ203の出力aN1はデコーダ205に接続され、加算・減算器206、207、208を通じてレジスタ209、210、211のうち対応するタイマ番号のレジスタの値を1減算する。これによりレジスタ209、210、211には各タイマが過去N回の間に最も精度が高いと判定された回数が格納される。レジスタ209、210、211の出力Q、R、Sは大小判定回路212に接続される。大小判定回路212は、出力Q、R、Sの大小を判定し、最も大きいものに対応するタイマ番号をb1に、二番目、三番目に大きいものに対応するタイマ番号をb2、b3にそれぞれ出力する。   FIG. 3 is a diagram showing a detailed configuration of the accuracy history circuit 11. The timer number a01 determined to be the most accurate this time is stored in the register 201, and thereafter, the value moves to the next register each time a determination is made. The registers 201 to 203 hold the history for a total of N times. The input a01 is also connected to the decoder 204. The decoder 204 discriminates the value of a01 and adds 1 to the register of the corresponding timer number among the registers 209, 210, 211 via the adder / subtracters 206, 207, 208 prepared for each timer. Similarly, the output aN1 of the register 203 that holds the history N times before is connected to the decoder 205, and the value of the register of the corresponding timer number among the registers 209, 210, and 211 is added to 1 through the adder / subtracters 206, 207, and 208. Subtract. Thus, the registers 209, 210, and 211 store the number of times each timer has been determined to have the highest accuracy during the past N times. Outputs Q, R, and S of the registers 209, 210, and 211 are connected to the magnitude determination circuit 212. The magnitude determination circuit 212 determines the magnitude of the outputs Q, R, and S, and outputs the timer number corresponding to the largest one to b1, and the timer numbers corresponding to the second and third largest to b2 and b3, respectively. To do.

図4は故障判定回路13の詳細な構成を示す図である。絶対値算出回路301〜306により、各タイマの出力A、B、Cの差分A−B、B−C、C−Aと、各タイマの出力A、B、Cと基準値Dの差分A−D、B−D、C−Dの絶対値UAB、UBC、UCA、UAD、UBD、UCDをそれぞれ求め、比較器308〜313にて各々の絶対値と許容誤差のしきい値Tとを比較する。しきい値Tはしきい値設定レジスタ307に設定し、設定値は任意に変更可能である。比較器308〜310の出力は第1の故障検出回路314に接続される。第1の故障検出回路314は外部基準値が存在しない場合の故障検出回路である。仮に差分A−B、B−C、C−AのうちA−B、C−Aの絶対値が許容誤差を超えて大きくなった場合、A−B、C−Aに共通して含まれるタイマ出力Aが不正になったと判定する。出力BまたはCが不正になった場合も同様にして判定する。一方、第2の故障検出回路315は外部基準値が存在する場合の故障検出回路である。第2の故障検出回路315は、出力A、B、Cのうち、基準値Dから許容誤差を超えて値が外れたものを故障として判定する。第1の故障検出回路314の出力c01、c02、c03と第2の故障検出回路315の出力c11、c12、c13は、出力セレクタ316において外部基準値を取り込んだことを示す信号EXにより、いずれか一方が出力として選択される。   FIG. 4 is a diagram showing a detailed configuration of the failure determination circuit 13. By the absolute value calculation circuits 301 to 306, the differences A−B, B−C, C−A of the outputs A, B, C of each timer and the differences A− of the outputs A, B, C of each timer and the reference value D The absolute values UAB, UBC, UCA, UAD, UBD, and UCD of D, BD, and CD are respectively obtained, and each absolute value is compared with the threshold value T of the allowable error by the comparators 308 to 313. . The threshold value T is set in the threshold value setting register 307, and the set value can be arbitrarily changed. Outputs of the comparators 308 to 310 are connected to the first failure detection circuit 314. The first failure detection circuit 314 is a failure detection circuit when there is no external reference value. If the absolute values of AB and CA among the differences AB, BC, and CA become larger than the allowable error, a timer that is commonly included in AB and CA It is determined that the output A has become invalid. The same determination is made when the output B or C becomes invalid. On the other hand, the second failure detection circuit 315 is a failure detection circuit when an external reference value exists. The second failure detection circuit 315 determines that one of the outputs A, B, and C whose value exceeds the allowable error from the reference value D is a failure. The outputs c01, c02, c03 of the first failure detection circuit 314 and the outputs c11, c12, c13 of the second failure detection circuit 315 are either selected by a signal EX indicating that an external reference value is taken in by the output selector 316 One is selected as the output.

図5は使用タイマ決定回路14の詳細な構成を示す図である。a01は今回最も精度の高かったタイマ番号を、b1、b2、b3は過去N回の履歴において最も精度の高かったタイマ番号、二番目、三番目に精度の高かったタイマ番号をそれぞれ示している。c1、c2、c3は出力A、B、Cのタイマにそれぞれ対応しており、対応するタイマで故障が検出された場合に論理値’1’となる。Pは本回路の出力信号であり、タイマ出力A、B、Cのいずれを使用するかを選択する為の信号である。障害が発生していない場合はc1、c2、c3の値が全て’0’となる為、オール0検出回路406の出力が’1’となり、セレクタ408においてPの値としてa01が選択される。いずれかのタイマで障害が発生した場合には、セレクタ401、402においてb1、b2で示されるタイマの障害情報がそれぞれ選択され、この結果を元にセレクタ403、404においてb1、b2、b3の中から、障害が発生していないタイマのうち最も精度の高いものが選択され、これがセレクタ408の出力となる。仮に3つのタイマが全て故障と判定された場合には、オール1検出回路405においてc1、c2、c3の値が全て’1’となったことが検出され、障害報告回路407を通じて障害発生が装置内及び上位の装置に報告される。   FIG. 5 is a diagram showing a detailed configuration of the use timer determination circuit 14. a01 indicates the timer number with the highest accuracy this time, b1, b2, and b3 indicate the timer numbers with the highest accuracy in the past N history, and the timer numbers with the second and third highest accuracy, respectively. c1, c2, and c3 correspond to the timers of outputs A, B, and C, respectively, and when the failure is detected by the corresponding timer, the logical value is “1”. P is an output signal of this circuit, and is a signal for selecting which one of the timer outputs A, B, and C is used. When no failure has occurred, the values of c1, c2, and c3 are all '0', so the output of the all 0 detection circuit 406 is '1', and the selector 408 selects a01 as the value of P. When a failure occurs in any one of the timers, the failure information of the timers indicated by b1 and b2 is selected by the selectors 401 and 402, respectively, and based on this result, the selectors 403 and 404 select among the b1, b2, and b3. Therefore, the timer with the highest accuracy is selected from the timers that have not failed, and this is the output of the selector 408. If all three timers are determined to be faulty, it is detected in the all 1 detection circuit 405 that the values of c1, c2, and c3 are all “1”, and a fault occurrence is detected through the fault report circuit 407. Reported to inner and upper devices.

次に、本発明の他の実施例を、図面を用いて詳細に説明する。
図6は本発明の他の実施例を示す図である。図6の構成は図1の構成とほぼ同じであるが、発振器TCXO1、2、3及びタイマカウンタ4、5、6が独立して交換可能な基板18、19、20に搭載され、TCXO交換中を表すレジスタ21と、基板18、19、20の電源を独立に制御可能な電源制御回路22が追加されている。レジスタ21はTCXO1、2、3のいずれを交換中であるか独立して設定可能となっている。以上の追加により、一部のタイマの故障が検出され、残ったタイマによって高精度の時刻が供給され続けている状態において、以下の手順で故障の検出されたTCXO及びタイマカウンタを基板ごと交換することが出来る。また、タイマカウンタ4、5、6はタイマカウンタ16の出力値Eを取り込み可能となっていることは図1と同様である。
Next, another embodiment of the present invention will be described in detail with reference to the drawings.
FIG. 6 is a diagram showing another embodiment of the present invention. The configuration of FIG. 6 is almost the same as the configuration of FIG. 1, but the oscillators TCXO1, 2, 3 and the timer counters 4, 5, 6 are mounted on independently replaceable boards 18, 19, 20, and the TCXO is being replaced. And a power supply control circuit 22 capable of independently controlling the power supplies of the substrates 18, 19, and 20 are added. The register 21 can independently set which of TCXO1, 2, and 3 is being exchanged. With the above addition, in the state where some timer failures are detected and high-precision time continues to be supplied by the remaining timers, the TCXO and the timer counter in which the failure is detected are replaced for each board in the following procedure. I can do it. Further, the timer counters 4, 5, and 6 can take in the output value E of the timer counter 16 as in FIG.

まず、レジスタ21のうち実際に交換を行う発振器TCXOに対応するレジスタに値を設定する。本レジスタの出力は電源制御回路22に接続されており、電源制御回路22は交換対象の基板の電源を遮断する。この動作により、感電あるいは装置に電気的な影響を与えること無しに基板の交換が可能となる。また、レジスタ21の出力は平均値算出回路7にも接続されており、平均値算出回路7は交換作業中のタイマの値を平均値算出から除外する。基板の交換作業の終了後、レジスタ21に設定した値をリセットする。本動作を契機として、電源制御回路22は交換対象基板に対する給電を再開し、また交換対象のタイマレジスタに現在の基準値を取り込み、以後、TCXOによりカウントアップを行う。更に、図では省略しているが、障害フラグレジスタ17にセットされている交換した基板に対応する障害フラグをリセットする。本動作により、交換したタイマカウンタに現在の時刻が設定され、通常通りの使用が可能となる。   First, a value is set in the register corresponding to the oscillator TCXO to be actually exchanged in the register 21. The output of this register is connected to the power supply control circuit 22, and the power supply control circuit 22 cuts off the power supply of the board to be replaced. With this operation, the substrate can be replaced without electric shock or electrical influence on the apparatus. The output of the register 21 is also connected to the average value calculation circuit 7, and the average value calculation circuit 7 excludes the value of the timer being replaced from the average value calculation. After completion of the substrate replacement work, the value set in the register 21 is reset. With this operation as a trigger, the power supply control circuit 22 resumes power supply to the replacement target board, fetches the current reference value into the replacement target timer register, and then counts up by the TCXO. Further, although omitted in the drawing, the failure flag corresponding to the replaced board set in the failure flag register 17 is reset. By this operation, the current time is set in the replaced timer counter, and normal use becomes possible.

次に本発明のさらに他の実施例を、図面を用いて詳細に説明する。
図7は本発明の他の実施例を示す図である。本図の構成は図1及び図2の構成とほぼ同じであるが、タイマカウンタ16の出力がそのまま装置の出力とならずに、電圧制御発振器VCXO23〜全圧制御回路26で構成される回路群に接続されタイマカウンタ、24の出力が本装置の出力となっている。VCXO23〜電圧制御回路26の回路群は特開平10−283061号公報にて示されるタイマ装置の構成と同様であり、電圧制御により周波数の増減が可能なVCXO23と、これによりカウントカップされるタイマカウンタ24と、タイマカウンタ24とタイマカウンタ16のタイマカウンタの差分を求める減算器25と、減算結果を元にVCXO23への印加電圧の増減を行う電圧制御回路26から構成される。タイマカウンタ24の値がタイマカウンタ16の値に近づく様にVCXO23に対する印加電圧の増減を行うことにより、出力セレクタ15において選択されるタイマが切り替わった際に発生する時刻の不連続を除去することが可能である。
Next, still another embodiment of the present invention will be described in detail with reference to the drawings.
FIG. 7 shows another embodiment of the present invention. The configuration of this figure is almost the same as the configuration of FIGS. 1 and 2, but the output of the timer counter 16 does not directly become the output of the device, but a circuit group composed of the voltage controlled oscillator VCXO23 to the total pressure control circuit 26. The output of the timer counter 24 and the output of this apparatus is connected to the. The circuit group of the VCXO 23 to the voltage control circuit 26 is the same as the configuration of the timer device disclosed in Japanese Patent Laid-Open No. 10-283061. 24, a subtracter 25 for obtaining a difference between the timer counters of the timer counter 24 and the timer counter 16, and a voltage control circuit 26 for increasing or decreasing the voltage applied to the VCXO 23 based on the subtraction result. By increasing or decreasing the voltage applied to the VCXO 23 so that the value of the timer counter 24 approaches the value of the timer counter 16, the time discontinuity that occurs when the timer selected in the output selector 15 is switched can be removed. Is possible.

本発明の一実施例を示す図。The figure which shows one Example of this invention. 図1の精度判定回路の詳細を示す図。The figure which shows the detail of the precision determination circuit of FIG. 図1の精度履歴回路の詳細を示す図。The figure which shows the detail of the precision history circuit of FIG. 図1の故障判定回路の詳細を示す図。The figure which shows the detail of the failure determination circuit of FIG. 図1の使用タイマ決定回路の詳細を示す図。The figure which shows the detail of the use timer determination circuit of FIG. 本発明の他の実施例を示す図。The figure which shows the other Example of this invention. 本発明のさらに他の実施例を示す図。The figure which shows the further another Example of this invention.

符号の説明Explanation of symbols

1〜3 高精度発振器
4〜6 タイマカウンタ
7 平均値算出回路
8 基準値セレクタ
9、12減算器
10 精度判定回路
11 精度履歴回路
13 故障判定回路
14 使用タイマ決定回路
15 出力セレクタ
16 タイマカウンタ
17 障害フラグレジスタ
18〜20 交換可能な基板
22 電源制御回路
1 to 3 high-precision oscillators 4 to 6 timer counter 7 average value calculation circuit 8 reference value selector 9 and 12 subtractor 10 accuracy determination circuit 11 accuracy history circuit 13 failure determination circuit 14 timer used determination circuit 15 output selector 16 timer counter 17 failure Flag registers 18 to 20 Replaceable board 22 Power supply control circuit

Claims (4)

複数のタイマカウンタと、該タイマカウンタを歩進させる発振器と、前記複数のタイマカウンタの中から出力に使用するタイマカウンタを決定する為の選択回路とを備え、前記選択回路は前記の各タイマカウンタの出力値または外部参照した値を基準値として前記の各タイマカウンタの精度を測定し、該測定に基づいて選択することを特徴とする多重化タイマ装置。   A plurality of timer counters, an oscillator for incrementing the timer counter, and a selection circuit for determining a timer counter to be used for output from the plurality of timer counters. A multiplexing timer apparatus characterized in that the accuracy of each timer counter is measured using the output value or the externally referenced value as a reference value and selected based on the measurement. 前記選択回路はさらに前記の各タイマカウンタの過去の精度履歴を保持し、障害発生時、故障が発生していないタイマカウンタから、前記過去の精度履歴に基づいて選択することを特徴とする請求項1記載の多重化タイマ装置。   The selection circuit further holds a past accuracy history of each of the timer counters, and selects a timer counter from which no failure has occurred when a failure occurs based on the past accuracy history. 2. The multiplexing timer device according to 1. 前記複数のタイマカウンタと発信器の組をそれぞれ独立して交換可能な基板上に実装し、さらに、該基板の電源を独立して制御可能な電源制御回路を備え、前記基板交換時、該基板の電源の遮断および再開を制御すると共に、再開時、前記選択回路の現在のタイマ出力値を取り込むことを特徴とする請求項1または2記載の多重化タイマ装置。   The set of the plurality of timer counters and transmitters is mounted on an independently replaceable board, and further includes a power supply control circuit capable of independently controlling the power supply of the board. The multiplexing timer apparatus according to claim 1 or 2, wherein control of shutting off and restarting of the power supply is performed, and at the time of restarting, a current timer output value of the selection circuit is fetched. さらに電圧制御により発振周波数の制御が可能な発振器とこれにより歩進される第2のタイマカウンタを備え、前記選択回路のタイマ出力のタイマの値と前記第2のタイマカウンタの値を比較し、その結果より電圧制御を行い発振周波数を増減させることを特徴とする請求項1、2または3記載の多重化タイマ装置。
Furthermore, an oscillator capable of controlling the oscillation frequency by voltage control and a second timer counter incremented by the oscillator are provided, the timer value of the timer output of the selection circuit is compared with the value of the second timer counter, 4. The multiplexing timer device according to claim 1, wherein voltage control is performed to increase or decrease the oscillation frequency based on the result.
JP2005066509A 2005-03-10 2005-03-10 Multiplex timer apparatus Pending JP2006252086A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005066509A JP2006252086A (en) 2005-03-10 2005-03-10 Multiplex timer apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005066509A JP2006252086A (en) 2005-03-10 2005-03-10 Multiplex timer apparatus

Publications (1)

Publication Number Publication Date
JP2006252086A true JP2006252086A (en) 2006-09-21

Family

ID=37092523

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005066509A Pending JP2006252086A (en) 2005-03-10 2005-03-10 Multiplex timer apparatus

Country Status (1)

Country Link
JP (1) JP2006252086A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012131964A1 (en) * 2011-03-30 2012-10-04 富士通株式会社 Information processing device, control method, and program
JP2014163678A (en) * 2013-02-21 2014-09-08 Nec Corp Clock-time supply device, clock-time supply method, and program
US8970277B2 (en) 2013-02-18 2015-03-03 Renesas Electronics Corporation Multiplexed oscillators
CN106405396A (en) * 2015-07-31 2017-02-15 发那科株式会社 Controller of rotary switch

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012131964A1 (en) * 2011-03-30 2012-10-04 富士通株式会社 Information processing device, control method, and program
JP5672372B2 (en) * 2011-03-30 2015-02-18 富士通株式会社 Information processing apparatus, control method, and program
US8970277B2 (en) 2013-02-18 2015-03-03 Renesas Electronics Corporation Multiplexed oscillators
US9231598B2 (en) 2013-02-18 2016-01-05 Renesas Electronics Corporation Multiplexed oscillators
JP2014163678A (en) * 2013-02-21 2014-09-08 Nec Corp Clock-time supply device, clock-time supply method, and program
CN106405396A (en) * 2015-07-31 2017-02-15 发那科株式会社 Controller of rotary switch
CN106405396B (en) * 2015-07-31 2020-07-31 发那科株式会社 Control device for rotary switch

Similar Documents

Publication Publication Date Title
EP2416247B1 (en) Semiconductor device
CN114499732B (en) Clock calibration method, clock calibration device, computer equipment and readable storage medium
US10914769B2 (en) Semiconductor device and power monitoring method therefor
JP5180169B2 (en) Semiconductor integrated circuit
JP2006252086A (en) Multiplex timer apparatus
US9595972B2 (en) Digital phase locked loop arrangement with master clock redundancy
US20080146180A1 (en) System clock supplying device and frequency shift determining method of master oscillator
KR20040009269A (en) System for Concluding Phase of Multi-Clock
JP3072720B2 (en) Information processing device
KR100387005B1 (en) Reed-solomon decoding apparatus and method for controlling the same
JP2007026028A (en) Device for detecting abnormality in microcomputer
JP5731141B2 (en) Analog signal input device
US10549368B2 (en) Electrical discharge machine and failure determining method
JP4819707B2 (en) Redundant computing system and computing unit
JP2012079184A (en) Control device and nuclear power plant control system
CN110795289B (en) Multi-clock automatic switching method
JPH10341158A (en) A/d converter
JP2011154459A (en) Program abnormal operation detection device for computer system
JP2012118725A (en) Error detection recovery equipment
WO2016161504A1 (en) Digital phase locked loop arrangement with master clock redundancy
JP4036013B2 (en) Frequency monitoring circuit, clock supply device, and frequency monitoring method
JP7469535B2 (en) Reference voltage circuit and semiconductor device
JP5835245B2 (en) Time supply device, time supply method and program
JP2856108B2 (en) Frequency deviation detection circuit
JP6158015B2 (en) Frequency detection device and frequency detection device calibration method