Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS6022740B2 - Counting method - Google Patents
[go: Go Back, main page]

JPS6022740B2 - Counting method - Google Patents

Counting method

Info

Publication number
JPS6022740B2
JPS6022740B2 JP1575678A JP1575678A JPS6022740B2 JP S6022740 B2 JPS6022740 B2 JP S6022740B2 JP 1575678 A JP1575678 A JP 1575678A JP 1575678 A JP1575678 A JP 1575678A JP S6022740 B2 JPS6022740 B2 JP S6022740B2
Authority
JP
Japan
Prior art keywords
output
counting
register
rotation period
pulse
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP1575678A
Other languages
Japanese (ja)
Other versions
JPS54108659A (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.)
KASHIO KEISANKI KK
Original Assignee
KASHIO KEISANKI KK
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 KASHIO KEISANKI KK filed Critical KASHIO KEISANKI KK
Priority to JP1575678A priority Critical patent/JPS6022740B2/en
Publication of JPS54108659A publication Critical patent/JPS54108659A/en
Publication of JPS6022740B2 publication Critical patent/JPS6022740B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Length Measuring Devices With Unspecified Measuring Means (AREA)

Description

【発明の詳細な説明】 本発明は、例えば磁気録音再生装置等の回転体を有する
電子機器に於る回転数等の計数方式に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a method for counting the number of rotations in an electronic device having a rotating body, such as a magnetic recording/reproducing device.

カセットテープレコーダ等の磁気録音再生装置では、一
般的に機構的なテープカウン夕によりテープ走行量を表
示しているが、近年、このテープカウンタを電子的なカ
ウンタに置き換え、表示装置に例えば液晶表示装置等の
電子光学的表示装置を採用したものが考えられ実用化さ
れている。
Magnetic recording and playback devices such as cassette tape recorders generally display the amount of tape travel using a mechanical tape counter, but in recent years, this tape counter has been replaced with an electronic counter, and the display device uses a liquid crystal display, for example. Devices employing electro-optical display devices, such as devices, have been considered and put into practical use.

ところで、上記表示装置にテープ走行量の他に他の種々
の情報を表示させる場合、換言すれば磁気録音再生装層
そのものが計時機能あるいは演算機能を有している場合
には、内部回路ではテープ走行量のカウントの他に計時
情報あるいは演算情報を得る為の各処理、更にはリピー
トプレイ等の為のカウント内容判断動作が同時的に遂行
されなければならない。しかして、これ等の各処理を例
えばマイクロプログラムによるシーケンシヤルコントロ
ールで行う場合、特にテープの走行スピ−ドが遠く周期
の短いカウントパルスが出力された場合には他の機能の
コントロール中にカウントパルスが入力されカウントミ
スを起す簾れがあった。第1図は従来のこのような例を
示したタイムチャートであり、第1図aの如くのパルス
(このパルスの出力周期はキヤプスタン藤あるいはリー
ル軸の回転周期と1:1の関係にあり、この回転周期と
は1,1/2,1′4等1以下の回転を周期とするもの
である)が出力されると、装置内の計数部は第1図bに
示す如く上記パルスの立上りに周期して計数動作を行な
い、引き続きリピートプレイ等の為の判断動作が同図c
に示す如く行なわれる。
By the way, when the above-mentioned display device displays various other information in addition to the tape running amount, in other words, when the magnetic recording and reproducing layer itself has a timekeeping function or arithmetic function, the internal circuit does not display the tape running amount. In addition to counting the distance traveled, various processes for obtaining time information or calculation information, and further operations for determining count contents for repeat play, etc., must be performed simultaneously. Therefore, when each of these processes is performed by sequential control using a microprogram, especially when the tape running speed is far and a count pulse with a short period is output, the count pulse may be output while other functions are being controlled. There was a screen blind that caused a counting error when the number was entered. FIG. 1 is a time chart showing such a conventional example, and shows a pulse as shown in FIG. When this rotation period is a rotation period of 1 or less such as 1, 1/2, 1'4, etc.), the counter in the device detects the rising edge of the pulse as shown in Figure 1b. The counting operation is performed periodically, and the judgment operation for repeat play, etc. is performed as shown in Figure c.
This is done as shown below.

しかしながら、同図dに示す如く計時処理等の他の処理
が上記aの入力パルスと車畳して行なわれると計数部で
は新たな入力パルスがあったことを検出出来ず、結局同
図eに示す如くの入力があったものとして同図fに示す
如くの計数値を得る。なお、この計数値は「10」から
始まったものとしている。このように、従来の電子的な
カウンタを用いたものにあっては、入力パルスと計時処
理等の他の処理が時間的に童畳した場合は「1」あるい
は「2」以上の入力パルスに対する計数を行い得ない場
合があり、テープカウンタの信頼性を失うものであった
。そこで、このような誤動作を防止する為に、テープカ
ゥン夕のカウント機能部を他の処理の回路系と分離し、
単独で動作させる方法が考えられるが、このような方法
ではその回路構成が複雑化するばかりでなく高価なもの
になってしまうものである。
However, as shown in Figure d, if other processes such as timekeeping are performed in conjunction with the input pulse in a above, the counter cannot detect that there is a new input pulse, and as a result, Assuming that there is an input as shown, a count value as shown in f of the figure is obtained. It is assumed that this count value starts from "10". In this way, in the case of a conventional electronic counter, if the input pulse and other processing such as timing processing are temporally delayed, the counter will not respond to input pulses of "1" or "2" or more. There were cases where counting could not be performed, and the reliability of the tape counter was lost. Therefore, in order to prevent such malfunctions, the counting function section of the tape counter was separated from the other processing circuits.
A method of operating the device independently is conceivable, but such a method not only complicates the circuit configuration but also makes it expensive.

本発明は上記事情に鑑みてなされたもので、回転体の回
転周期に対し1/n分周されたパルスに基づき、該パル
ス及び該パルス出力間隔内の所定間隔毎に所定値の計数
を行うようにした計数方式を提供することを目的とする
The present invention has been made in view of the above circumstances, and is based on pulses whose frequency is divided by 1/n with respect to the rotation period of a rotating body, and a predetermined value is counted at each predetermined interval within the pulse output interval. The purpose of this study is to provide a counting method that does this.

本発明は、上記目的を達成する為に回転体の立上りから
定速状態、及び定速状態から停止に至る速度の変化が略
リニアであり、定速状態に於てはパルスの出力周期が同
一となることに着目し、前回のパルス間隔から回転体の
原回転周期を予測して、上記パルス及び予測された回転
体の原回転周期毎に所定値(キャプスタン軸、リール軸
の回転数あるいは該回転数に応じた走行長等)の計数を
行うようにしたもので、以下第2図及び第3図を参照し
ながら回転体に対する分周比が1/2の周期パルスに基
づいて計数する場合の第1の実施例について説明する。
In order to achieve the above object, the present invention provides a system in which the speed change from the rise of the rotating body to the constant speed state and from the constant speed state to the stop is approximately linear, and the pulse output period is the same in the constant speed state. Focusing on the fact that The running length, etc. according to the rotational speed is counted, and counting is performed based on periodic pulses with a frequency division ratio of 1/2 for the rotating body, with reference to Figures 2 and 3 below. A first example of the case will be described.

即ち、第2図に於て1はカセットテープであり、このカ
セットテープ1は装着部2に装着され、所定の連動機構
(図示せず)によりモ−夕3の回転に迫勤するキャプス
タン軸4aによって回動されるピンチローラ4b及びリ
ール軸5,,52によって走行駆動される。上記モータ
3には、上述したキャプスタン軸4a等に対する連動機
構の他に後述するパルス発生器8を回転駆動する為の第
1のプーリー6がそのモータ軸に直結して設けられてお
り、この第1のプーリー6の回転はベルト7によってパ
ルス発生器8に設けられた第2のプーリー9に伝達され
る。なお、本実施例では上記第1のプーリー6と第2の
プーリ−9との怪比はa:b(キャプスタン軸4aある
いはリール軸5,,52と第2のプーリ−9との回転比
は2:1)になっており、機構的手段による1/2の分
周器が構成されている。パルス発生器8は、第2のプー
リー9と一体的構成の円板状電極10と検出子ilとに
より構成され、検出子11は円板状電極10の周縁に弾
性的に接触している。また、円板状電極1川まその周縁
の一部10aに絶縁部が設けられている他は少なくとも
その周縁が導電性とされており、この導電部分は回転軸
を介して接地されている。一方、上記検出子11は抵抗
12を介して十V(ボルト)の電位にプールアップされ
ている為、円板状電極10の回転により相対的に検出子
11がその周綾上を沼勤することによって論理“1”(
十V)及び“0”(接地)の各出力が得られる。
That is, in FIG. 2, 1 is a cassette tape, and this cassette tape 1 is mounted on a mounting section 2, and a capstan shaft is connected to the rotation of the motor 3 by a predetermined interlocking mechanism (not shown). The pinch roller 4b rotated by the reel shaft 4a and the reel shafts 5, 52 drive the reel. In addition to the interlocking mechanism for the capstan shaft 4a and the like mentioned above, the motor 3 is provided with a first pulley 6 directly connected to the motor shaft for rotationally driving a pulse generator 8, which will be described later. The rotation of the first pulley 6 is transmitted by a belt 7 to a second pulley 9 provided on a pulse generator 8 . In this embodiment, the ratio between the first pulley 6 and the second pulley 9 is a:b (the rotation ratio between the capstan shaft 4a or the reel shafts 5, 52 and the second pulley 9). (2:1), and a 1/2 frequency divider is constructed by mechanical means. The pulse generator 8 is composed of a second pulley 9, a disc-shaped electrode 10, and a detector il, which are integrated with each other, and the detector 11 is in elastic contact with the periphery of the disc-shaped electrode 10. In addition, an insulating portion is provided on a portion 10a of the periphery of the disk-shaped electrode 1, and at least the periphery thereof is conductive, and this conductive portion is grounded via the rotating shaft. On the other hand, since the detector 11 is pooled up to a potential of 10 V (volts) via the resistor 12, the rotation of the disc-shaped electrode 10 causes the detector 11 to move relatively around its circumference. Logic “1” (
10V) and "0" (ground) outputs are obtained.

即ち、この出力は円板状電極10の絶縁部10aと検出
子1 1とが接触している状態で“1’’、円板状電極
10の絶縁部1 0a以外の周縁(導電性)と検出子1
1とが接触している状態で“0”となるもので、その周
期はキャプスタン軸4aあるいはリール軸5,,52の
回転周期と2:1の関係になっている。しかして、この
検出子11から得られた出力信号は、論理“0”から“
1”への立上りを検出してワンショットのパルス(後述
する第1のカゥンタ14の1ワード分の時間幅を有する
)を発生するワンショット回路13に入力され、このワ
ンショット回路13の出力は第1のカウンタ14にその
クリア信号として入力される。この第1のカウンタ14
は、装置が動作中を示す信号Aに基づいて動作する基本
クロック発生器15から出力された?/2のクロックに
より順次カウントアップするもので、その出力(計数内
容)は上記ワンショット回路13の出力により開閉制御
されるアンドゲート16を介してレジスタ17に入力さ
れる。
That is, this output is "1" when the insulating part 10a of the disc-shaped electrode 10 and the detector 11 are in contact, and when the output is "1" when the insulating part 10a of the disc-shaped electrode 10 is in contact with the periphery (conductive) other than the insulating part 10a. Detector 1
1 is in contact, and its period is in a 2:1 relationship with the rotation period of the capstan shaft 4a or the reel shafts 5, 52. Therefore, the output signal obtained from this detector 11 changes from logic "0" to "
1" and generates a one-shot pulse (having a time width equivalent to one word of the first counter 14, which will be described later). The output of this one-shot circuit 13 is It is input to the first counter 14 as its clear signal.
is output from the basic clock generator 15 which operates based on signal A indicating that the device is in operation. The output (count contents) is input to the register 17 via the AND gate 16 whose opening/closing is controlled by the output of the one-shot circuit 13.

なお、上記カゥンタ14に入力されたクリア信号は、こ
のカウンタ14の内容が上記しジスタ17に入力された
後に実際のクリアを行う如く構成されている。しかして
、レジスタ17の出力は、上記基本クロック発生器15
から出力されるクロックマがアンドゲート18を介して
他方の入力端bに与えられている減算器19の一方の入
力端aに印加され、この減算器19の出力は再びレジス
夕17に入力される。一方、減算器19から出力された
ボロー信号は、上記ワンショツト回路13の出力と共に
オアゲート20を介して第2のカウンタ21にカウント
信号として入力されると共に、R−Sフリップフロップ
22のセット端子Sにセット信号として印加される。ま
た、R−Sフリツプフロップ22のリセット端子Rには
上記ワンショット回路13の出力が印加されており、こ
のR−Sフリップフロツプ22のリセット側出力Qはア
ンドゲート18に開閉制御信号として印加されている。
ところで、上記構成はワンショット回路13から出力さ
れる2発目以降のパルスに対するカウントに対しては、
その前回のパルス出力同期からキャプスタン軸4aある
いはリール軸5,,52の原回転周期を予測し正確なカ
ウントを行ない得るが、第1発目から第2発目のパルス
が出力される間の第1周期目では予測する為の前回のデ
ータがなく、そのカウントに誤差を与えない為に何らか
の方法でこれを補正する必要がある。
The clear signal input to the counter 14 is configured so that the actual clearing is performed after the contents of the counter 14 are input to the register 17 described above. Therefore, the output of the register 17 is the basic clock generator 15.
The clock signal output from the subtracter 19 is applied via the AND gate 18 to one input terminal a of a subtracter 19, which is supplied to the other input terminal b, and the output of this subtracter 19 is inputted to the register 17 again. . On the other hand, the borrow signal output from the subtracter 19 is input as a count signal to the second counter 21 via the OR gate 20 together with the output of the one-shot circuit 13, and is also input to the set terminal S of the R-S flip-flop 22. Applied as a set signal. Further, the output of the one-shot circuit 13 is applied to the reset terminal R of the R-S flip-flop 22, and the reset side output Q of this R-S flip-flop 22 is applied to the AND gate 18 as an opening/closing control signal. .
By the way, in the above configuration, for counting the second and subsequent pulses output from the one-shot circuit 13,
It is possible to predict the original rotation period of the capstan shaft 4a or reel shafts 5, 52 from the previous pulse output synchronization and perform accurate counting, but the period between the first and second pulses is output. In the first cycle, there is no previous data for prediction, and it is necessary to correct this in some way to prevent errors from occurring in the count.

そこで、この補正の方法としては、■ ヮンショット回
路13から出力される第1発目の出力は通常に「十1」
し、第2発目が出力された際に、第1周期割こ予測され
るべきカウント値を一括してカウントする方法。
Therefore, as a method for this correction, the first output from the one-shot circuit 13 is normally "11".
However, when the second shot is output, the count value to be predicted for the first period is counted all at once.

■ ワンショツト回路13から第1発目の出力があった
際に、第1周期目に予測されるべきカウント値を一括し
てカウントする方法。
(2) A method of counting all the count values that should be predicted in the first cycle when the first output is received from the one-shot circuit 13.

■ 最初はそのままのカウントで、テープの走行量が停
止した時に補正する方法。
■ At first, the count is kept as it is, and then it is corrected when the tape stops running.

等が考えられるが、本実施例の場合は上記■の方法を参
照23乃至25の各回路により実現により実現している
However, in the case of this embodiment, the method (2) above is realized by each of the circuits 23 to 25.

即ち、ワンショット回路13の出力はアンドゲート23
を介して1ビット構成のバイナリカウンタ24に印加さ
れる。そして、このバィナリカウンタ24の出力は第2
のカウンタ21に「十1」指令を与えると共にR−Sフ
リップフロツプ25のセット端子Sに印加され、このR
−Sフリツプフロップ25は上記バイナリカウンタ24
の出力が“1”から“0”に反転するその立下りでセッ
トれる。また、R−Sフリツブフロツプ25のリセット
端子Rにはテープの走行が停止した時に出力される「E
ND」信号が印加され、そのセット側出力Qはアンドゲ
ート18に、リセット側出力Qはアンドゲート23に夫
々開閉制御信号として印加されている。従って、第2の
カウンタ21はワンショット回路13から第2発目の出
力があった際にオアゲート20及びバイナリカウンタ2
4の双方から「十1」指令を受け、「十2」する如く構
成されている。そして、この第2のカゥンタ21の出力
は、所定の処理回路(図示せず)を介して表示部26に
送出され、第2のカウンタ21の内容がテープの走行量
として表示されるようになっている。次に、以上の如く
の構成に於ける動作について第3図のタイムチャートを
参照しながら説明する。
That is, the output of the one-shot circuit 13 is output from the AND gate 23.
The signal is applied to a binary counter 24 having a 1-bit configuration. Then, the output of this binary counter 24 is the second
The "11" command is applied to the counter 21 of the R-S flip-flop 25, and the R
-S flip-flop 25 is the binary counter 24
It is set at the falling edge of the output when the output is inverted from "1" to "0". In addition, the reset terminal R of the R-S flip-flop 25 is connected to the “E” signal that is output when the tape stops running.
The set side output Q is applied to the AND gate 18, and the reset side output Q is applied to the AND gate 23 as opening/closing control signals. Therefore, the second counter 21 is connected to the OR gate 20 and the binary counter 2 when there is a second output from the one-shot circuit 13.
It is configured such that it receives the "11" command from both of the 4 and executes the "12" command. The output of the second counter 21 is sent to the display section 26 via a predetermined processing circuit (not shown), and the contents of the second counter 21 are displayed as the amount of tape travel. ing. Next, the operation in the above configuration will be explained with reference to the time chart of FIG. 3.

第3図に於て、aはキャプスタン軸4aあるいはリール
軸5,,52の回転周期を、bはキヤプスタン軸4aあ
るいはリール軸5.,52の回転周期に対し1/2分周
された周期でパルスを出力するワンショツト回路13の
出力状態を夫々示したものである。また、同図cは基本
クロック発生器15から出力されるクロツク信号◇を、
dは同クロツク信号◇/2を夫々示したものである。し
かして、テープの走行が指示され時刻L‘こ於てまず第
1発目のトリガーパルスがワンショット回路13から出
力されると、その出力は第3図gに示す如くオアゲート
20を介して第2のカゥンタ21に印加され、第2のカ
ウンタ21の計数値は第3図k‘こ示す如く「1」とな
る。一方「 ワンショット回路13の出力は第1のカウ
ンター4にクリア信号として印加されると共に、アンド
ゲート16にも印加され第1のカウンタ14のそれまで
の計数値(「0」)がレジスタ17に転送されることに
より「これ等第1のカウンタ14及びレジス夕17の記
憶内容は第3図i及びiに示す如く夫々「0」となる。
また、ワンショツト回路13の出力はアンド回路23を
介してバイナリカウンタ24に印加され、このバイナリ
カウンタ24を“1”にする(R−Sフリツプフロツプ
25はセットされない)と共にR−Sフリツブフロツプ
22のリセット端子にも印加され、これ等R−Sフリッ
プフロップ22のQ及び25のQ出力は第3図f及びh
に示す如くなる。
In FIG. 3, a indicates the rotation period of the capstan shaft 4a or reel shaft 5, 52, and b indicates the rotation period of the capstan shaft 4a or reel shaft 5, 52. , 52, respectively, show the output states of the one-shot circuit 13 which outputs pulses at a period divided by 1/2 from the rotation period of the motors. In addition, the figure c shows the clock signal ◇ output from the basic clock generator 15.
d indicates the same clock signal ◇/2, respectively. When the tape is instructed to run and the first trigger pulse is output from the one-shot circuit 13 at time L', the output is sent to the OR gate 20 as shown in FIG. 3g. The signal is applied to the second counter 21, and the count value of the second counter 21 becomes "1" as shown in FIG. 3k'. On the other hand, the output of the one-shot circuit 13 is applied to the first counter 4 as a clear signal, and is also applied to the AND gate 16, so that the previous count value (0) of the first counter 14 is stored in the register 17. As a result of the transfer, the stored contents of the first counter 14 and the register 17 become "0", respectively, as shown in FIG.
In addition, the output of the one-shot circuit 13 is applied to the binary counter 24 via the AND circuit 23, which sets the binary counter 24 to "1" (the R-S flip-flop 25 is not set) and the reset terminal of the R-S flip-flop 22. The Q outputs of these R-S flip-flops 22 and 25 are shown in FIG.
The result will be as shown below.

しかして、第1のカウンタ14は第3図iに示す如くこ
の時刻t,からクロック信号めノ2に基づく計数を開始
し、その計数はワンショット回路13から次のパルスが
出力される時刻らまで続けられる。なお、この時刻らか
ららの間アンドゲート18はR−Sフリツプフロップ2
5のQ側出力によりその出力が禁止されている為、レジ
スター7の記憶内容はそのままの状態となっている。そ
して、時亥Ut2になると、ワンショット回路13から
パルスが出力され、その出力がオアゲート20を介して
第2のカウンタ21に印加されると共に、アンドゲート
23の出力によりバィナリカウンタ24が反転ぐ1”→
“0”)されて第2のカゥン夕21に「十1」指令が与
えられることにより第2のカウンタ21の計数値は第3
図kに示す如く「3」となりR−Sフリツプフロツプ2
5はセットされる。また、この時第1のカゥン夕葺亀の
計数値は第3図iに示す如く「夕」となっており、この
計数値「そ」がアンドゲート16を介してレジスター7
に転送される。
Therefore, the first counter 14 starts counting based on the clock signal 2 from time t, as shown in FIG. It can be continued until Note that the AND gate 18 between these times is the R-S flip-flop 2.
Since its output is prohibited by the Q side output of 5, the stored contents of register 7 remain unchanged. When the time reaches Ut2, a pulse is output from the one-shot circuit 13, and the output is applied to the second counter 21 via the OR gate 20, and the binary counter 24 is inverted by the output of the AND gate 23. 1”→
“0”) and the “11” command is given to the second counter 21, so that the count value of the second counter 21 becomes the third
As shown in figure k, it becomes "3" and the R-S flip-flop 2
5 is set. Also, at this time, the count value of the first counter Yubuki turtle is "Yu" as shown in FIG.
will be forwarded to.

レジスター7に転送された計数値「夕」は、減算器19
の他方の入力端bにアンドゲート18からクロック信号
?が与えられることにより第3図jに示す如く第1のカ
ウンタ14に対し倍の早さで「0」まで減算され「次の
クロック信号◇が出力されると(時刻t3)、減算回路
19からは第3図eに示す如くボロー信号が出力される
。このボロー信号は同図gに示す如くオアゲート20を
介して第2のカゥンタ21に印加され、第2のカウンタ
21の計数値は「4」になる。また、この時刻ら‘こ於
るボロー信号の出力によりR−Sフリツプフ。
The count value “Yu” transferred to register 7 is subtracted by subtractor 19.
The clock signal ? from the AND gate 18 is input to the other input terminal b of the ? , the first counter 14 is subtracted to "0" twice as fast as shown in FIG. A borrow signal is output as shown in FIG. 3e. This borrow signal is applied to the second counter 21 via the OR gate 20 as shown in FIG. "become. Also, the output of the borrow signal at this time causes an R-S flip.

ツプ22はセットされ、そのリセット側出力Qは第3図
fに示す如く“0”となる為、アンドゲート18の出力
は禁止されレジスタ17の記憶内容に対するそれ以後の
減算は行なわれなくなる。なお、第3図iに於ける「×
」は「0−1」の減算結果を示す。しかして、次の時刻
t4に於て第3図bに示す如くワンショツト回路13か
ら出力がなされると、第2のカウンタ21の計数値は同
図kに示す如く「5」となり、R−Sフリツプフロツプ
22はリセツトされてそのリセット側出力Qは第3図日
こ示す如く“1”となる。また、時亥比3からt4の間
の第1のカゥンタ14の計数値は「m」となっており、
この計数値「m」はアンドゲート16を介してレジスタ
17に転送され「クロック信号ぐが出力する毎に減算器
19で順次「一1」される。
Since the input pin 22 is set and its reset side output Q becomes "0" as shown in FIG. In addition, “x” in Figure 3 i
” indicates the result of subtraction “0-1”. Then, at the next time t4, when the one-shot circuit 13 outputs an output as shown in FIG. 3b, the count value of the second counter 21 becomes "5" as shown in FIG. The flip-flop 22 is reset and its reset side output Q becomes "1" as shown in FIG. Further, the count value of the first counter 14 from time ratio 3 to t4 is "m",
This count value "m" is transferred to the register 17 via the AND gate 16, and is sequentially incremented by one in the subtracter 19 each time the clock signal is output.

しかして、時麦比5になると減算器19からは第3図e
に示す如くボロー信号が出力され、同図gに示如くオア
ゲート20を介して第2のカウンタ21に印加されるこ
とにより、第2のカウンタ21の計数値は「6」となり
、また、R−Sフリツプフロツプ22はセットされる。
このように、本実施例では、キャプスタン軸4aあるい
はリール軸5,,52の回転周期に対し1/2に分周さ
れた周期のトリガーパルスを出力するワンショット回路
13の前回の出力から今回の出力までを計数ししその周
期の1/2で力ウントすべく制御していることにより、
時亥比5に至るまでの経過を見ても明らかな如く定速と
なっていないキャプスタン軸4a、あるいはリール軸5
,,52の回転周期に対し、予測された原回転周期は若
干の時間のずれ(この程度のずれは実際上全く問題とな
らない)はあるものの「その計数は誤まることなく確実
に行なわれる。しかして、以後の時刻ら乃至t,4に於
ては上記同様の動作が順次繰り返されて第2のカゥンタ
21の計数値は「7」乃至「15」となり「特にキャプ
スタン軸4aあるいはリール軸5.,52が定速走行状
態となった次の期間、即ち時刻ら以降に於ては、予測さ
れた原回転周期は、実際の回転周期と全く対応するもの
となっている。このように、本実施例に於てはピンチロ
ーラ4あるいはリール軸の回転周期に対し1/2分周さ
れた周期のパルスの前回の期間から原回転周期を予測し
計数することにより、比較的遅いパルス周期から比較的
速い回転体の原回転周期に基づく計数を正確に行うこと
が出来る。
Therefore, when the time ratio becomes 5, the subtractor 19 outputs the value e in Figure 3.
The borrow signal is outputted as shown in FIG. S flip-flop 22 is set.
In this way, in this embodiment, the current output is changed from the previous output of the one-shot circuit 13 which outputs a trigger pulse with a period divided by 1/2 with respect to the rotation period of the capstan shaft 4a or the reel shafts 5, 52. By counting up to the output of
As is clear from the progress up to the time ratio of 5, the speed of the capstan shaft 4a or reel shaft 5 is not constant.
Although there is a slight time lag between the predicted original rotation period and the rotation period of . Then, from time t to t, 4, the same operation as described above is repeated sequentially, and the count value of the second counter 21 becomes "7" to "15", and "especially the capstan shaft 4a or the reel shaft". In the next period after 5. and 52 are running at a constant speed, that is, after time 5, the predicted original rotation period completely corresponds to the actual rotation period.In this way, In this embodiment, by predicting and counting the original rotation period from the previous period of the pulse whose period is divided by 1/2 with respect to the rotation period of the pinch roller 4 or the reel shaft, the relatively slow pulse period is calculated. Therefore, it is possible to accurately perform counting based on the original rotation period of a relatively fast rotating body.

以上、キャプスタン軸4aあるいはリール藤5,,52
の回転周期に対しワンショツト回路13から出力される
パルスの周期が1′2分周された第1の実施例について
説明してきたが、次にキャプスタン軸4aあるいはリー
ル軸5,,52の回転周期に対しワンショツト回路13
から出力されるパルスの周期が1/nの場合である第2
の実施例について第4図を参照しながら説明する。
Above, capstan shaft 4a or reel wisteria 5, 52
The first embodiment has been described in which the period of the pulse output from the one-shot circuit 13 is divided by 1'2 with respect to the rotation period of the capstan shaft 4a or the reel shafts 5, 52. For one-shot circuit 13
The second case where the period of the pulse output from is 1/n
An example of this will be described with reference to FIG.

なお、説明の簡略化を計る為、第2図と同一部分には同
一符号を付しその説明を省略する。即ち、本実施例に於
てはキャプスタン軸4aあるいはリール軸5,,52の
回転周期に対しワンショツト回路13から出力されるパ
ルスの周期をn:1としたことにより、第1のカウンタ
14には基本クロック発生器15から出力されるクロッ
ク信号ぐ/nが印加され、その出力はアンドゲート16
を介して補助レジスタ27に送出される。
In order to simplify the explanation, the same parts as in FIG. 2 are given the same reference numerals and the explanation thereof will be omitted. That is, in this embodiment, by setting the period of the pulse output from the one-shot circuit 13 to the rotation period of the capstan shaft 4a or the reel shafts 5, 52 to be n:1, the first counter 14 is applied with the clock signal G/n output from the basic clock generator 15, and its output is applied to the AND gate 16.
The signal is sent to the auxiliary register 27 via the auxiliary register 27.

この補助レジスタ27は、ワンショット回路13からパ
ルスが出力される短に第1のカウンター4の内容を更新
記憶するもので、その出力はアンドゲート28を介して
上記アンドゲート16の出力と共にオアゲート29に印
加され、オアゲート29の出力は第2図に於るレジスタ
と同一機能のレジスタ17に印加される。一方、減算器
19から出力されるボロー信号は、補助レジスタ27の
内容を全てレジスタ17に転送するに必要な時間遅れを
もつディレィ回路30‘こ印加され、このディレィ回路
30の出力は「n−1」進の第3のカウンタ31に印加
されると共にオアゲート20に印加される。また、この
第3のカウンタ31にはワンショット回路13の出力が
クリア信号として印加されており、この第3のカウンタ
31からはその計数値が「n−1」になったときに“1
”が出力される。
This auxiliary register 27 is used to update and store the contents of the first counter 4 as soon as a pulse is output from the one-shot circuit 13, and its output is sent to an OR gate 29 together with the output of the AND gate 16 via an AND gate 28. The output of OR gate 29 is applied to register 17, which has the same function as the register in FIG. On the other hand, the borrow signal output from the subtracter 19 is applied to a delay circuit 30' having a time delay necessary to transfer all the contents of the auxiliary register 27 to the register 17, and the output of this delay circuit 30 is "n- The signal is applied to the third counter 31 of 1' base and also applied to the OR gate 20. Further, the output of the one-shot circuit 13 is applied as a clear signal to this third counter 31, and when the count value reaches "n-1", "1" is output from this third counter 31.
” is output.

しかしてこの出力は、インバータ32を介してアンドゲ
ート18に印加され、アンドゲート18が上記第3のカ
ワンタ31の計数値が「n−1」になった時に閉成され
るようになっている。従って、本実施例に於てはワンシ
ョット回略13から出力されるパルスの1周期内に前回
の周期の1/n毎に「n−1」回のボロー信号が減算器
19から出力される如く構成されている。即ち、前回の
1周期に於る第1のカウンタ14の計数値が「T」であ
ったとすると、ワンショット回路13から出力があった
際にこの「T」が補助レジスタ27及びレジスタ17に
転送されセットされる。そして、レジスタ17の記憶内
容「T」はクロック?が出力される叢に減算器19で「
一1」され、第1のカウンタ14が「T」まで計数した
時間の1/nの時間で「0」となり、次のクロツク0が
出力されて減算器19からボロー信号が発生する。しか
して〜減算器19からボロー信号が出力すると、この信
号号はデイレィ回路30を介してオアゲート20、アン
ドゲート28及び第3のカウンタ31に夫々印加され、
第2のカウンタ21及び第3のカゥンタ31が夫々「十
1」ごれると共にレジスタ17には補助レジスタ27の
記憶内容「T」が再びセットされる。そして、このよう
な動作は第3のカゥンタの計数値が「n−1」になるま
で続けられ、結局ワンショット回路13から次のパルス
が出力されるまでの間に減算器19からは「n−1」回
ボロー信号が出力され第2のカゥンタ21に印加される
ようになる。従って、本例に於る動作は、上記実施例に
於るボロー信号の出力を「n−1」回にすることにより
上記実施例のタイムチャート(第3図)から容易に類推
することが出来るのでその詳細は省略する。
However, the output of the lever is applied to the AND gate 18 via the inverter 32, and the AND gate 18 is closed when the count value of the third counter 31 reaches "n-1". . Therefore, in this embodiment, within one cycle of the pulse output from the one-shot circuit 13, "n-1" borrow signals are output from the subtracter 19 every 1/n of the previous cycle. It is structured as follows. That is, if the count value of the first counter 14 in the previous one cycle was "T", this "T" is transferred to the auxiliary register 27 and the register 17 when the one-shot circuit 13 outputs an output. and set. And is the memory content “T” of register 17 a clock? The subtractor 19 adds "
The first counter 14 becomes ``0'' in a time 1/n of the time it takes to count up to ``T'', and the next clock 0 is output, and the subtracter 19 generates a borrow signal. However, when a borrow signal is output from the subtracter 19, this signal is applied to the OR gate 20, the AND gate 28, and the third counter 31 via the delay circuit 30, respectively.
The second counter 21 and the third counter 31 each read "11", and the register 17 is again set to the storage content "T" of the auxiliary register 27. Then, such operation continues until the count value of the third counter becomes "n-1", and finally, before the next pulse is output from the one-shot circuit 13, the subtracter 19 outputs "n". -1'' times the borrow signal is output and applied to the second counter 21. Therefore, the operation in this example can be easily inferred from the time chart (Figure 3) of the above example by setting the output of the borrow signal in the above example to "n-1" times. Therefore, the details will be omitted.

このように、本実施例に於てはキャプスタン軸4aある
いはリール軸5,,52の回転周期に対しワンショツト
回路から出力されるパルスの周期が全く任意に設定し得
るn:1の関係であったとしても極めて正確な計数を行
うことが出釆るものである。以上、第1実施例及び第2
実施例によって、本発明による計数方式の各実施例につ
いて説明したが、次に本発明による計数方式を計時機能
を有する磁気録音再生装置に適用した場合の第3の実施
例について第5図乃至第8図を参照しながら説明する。
In this way, in this embodiment, the period of the pulse outputted from the one-shot circuit can be set as desired with respect to the rotation period of the capstan shaft 4a or the reel shafts 5, 52, in an n:1 relationship. Even so, it is possible to perform extremely accurate counts. Above, the first example and the second example
Each embodiment of the counting method according to the present invention has been explained by way of embodiments. Next, a third embodiment in which the counting method according to the present invention is applied to a magnetic recording and reproducing device having a timekeeping function will be described in FIGS. 5 to 5. This will be explained with reference to FIG.

なお、本実施例の構成のうち第2図及び第4図に於る参
照番号1乃至13は上記のそれと全く同一である為その
部分の記載は省略する。即ち、第5図は本実施例に於る
計時機能及び計数機能を遂行するロジック部のブロック
図で、図中41は、後述する各回路の動作を制御するマ
イクロプログラムが固定的に記憶されているROM(リ
ードオンリーメモリ)であり、このROM41からは、
後述するRAM42に対する行アドレス指定信号Fu,
Su、種々のコード信号C、上記RAM42の処理例を
指定する列アドレス指定信号F,SL、種々の動作命令
INS及び自己の次アドレスを指定する次アドレス信号
NAが夫々パラレルに出力しており、次アドレス信号N
Aはアドレス修飾回路43及びアドレスバッファ44を
介してアドレスデコーダ45に入力される。アドレスデ
コーダ45は、入力されたアドレス情報に基づきROM
41のアドレス指定を行うもので、これ等ROM41及
びアドレスデコーダ45により各回路に対するシーケン
シヤルコント。ールを遂行するマイクロプログラムコン
トローラが形成されている。また、上記ROM41から
出力される行アドレス指定信号Fu及びSuは、夫々タ
イミング信号(タイミング信号については後述)t,及
びt,に開閉制御されるアンド回路46及び47に、列
アドレス指定信号F,SLはRAM42の処理列(所謂
桁)を指定制御するアドレスカウンタ等を含む列アドレ
スコントo−ラ48に、そして、動作名令INSはこの
命令内容を鱗続して各種制御信号○,〜○,2及び列ア
ドレスコントローラ28に対する制御信号を出力するィ
ンストラクションデコーダ49に夫々送出されている。
また、コード信号Cの出力はインストラクションデコー
ダ49から出力される制御信号○,によって開閉制御さ
れるアンド回路5川こ送出されている。一方、上詐RA
M42は第6図にその詳細を示す如く、夫々が6桁構成
で行方向に配設されている各エリアAB至E(以下この
エリアのことをレジスタと称呼する)で構成されている
。しかして、レジスタAの第1桁目乃至4桁目はテープ
の走行量をカウントした計数値を記憶し、第5桁目は予
測された回転体の原回転周期毎に「1一つつカウントし
た値を記憶し、更に第6桁副まワンショット回路13か
ら第1回目の出力が成されたことを示すスタートフラッ
グを記憶するものである。また、レジスタBはワンショ
ツト回路13から出力されるパルスの間隔の計数値を記
憶するもので、第2図及び第4図に於る第1のカウンタ
14に相当する。
Incidentally, in the configuration of this embodiment, reference numbers 1 to 13 in FIGS. 2 and 4 are exactly the same as those described above, and therefore, description of those portions will be omitted. That is, FIG. 5 is a block diagram of a logic section that performs a timekeeping function and a counting function in this embodiment. In the figure, numeral 41 indicates a microprogram that permanently stores a microprogram that controls the operation of each circuit, which will be described later. This is a ROM (read only memory), and from this ROM41,
A row address designation signal Fu for the RAM 42, which will be described later.
Su, various code signals C, column address designation signals F and SL that designate processing examples of the RAM 42, various operation commands INS, and a next address signal NA that designates its own next address are output in parallel, respectively. Next address signal N
A is input to an address decoder 45 via an address modification circuit 43 and an address buffer 44. The address decoder 45 reads the ROM based on the input address information.
The ROM 41 and address decoder 45 perform sequential control for each circuit. A microprogram controller is formed to perform the functions. Further, the row addressing signals Fu and Su outputted from the ROM 41 are sent to AND circuits 46 and 47 whose opening and closing are controlled by timing signals t and t, respectively (the timing signals will be described later). SL is sent to a column address controller 48 including an address counter that specifies and controls processing columns (so-called digits) of the RAM 42, and an operation command INS follows the contents of this instruction to send various control signals ○, to ○. , 2 and an instruction decoder 49 which outputs control signals for the column address controller 28, respectively.
Further, the output of the code signal C is sent to an AND circuit 5 whose opening and closing are controlled by the control signals ◯ and ◯ output from the instruction decoder 49. On the other hand, Kamisou RA
As shown in detail in FIG. 6, M42 is composed of areas AB to E (hereinafter referred to as registers) each having six digits and arranged in the row direction. Therefore, the 1st to 4th digits of register A store the count value that counted the running distance of the tape, and the 5th digit stores the count value for each predicted original rotation period of the rotating body. The register B stores the value and also stores a start flag indicating that the first output has been made from the one-shot circuit 13 to the sixth digit sub-digit. It stores the count value at intervals of , and corresponds to the first counter 14 in FIGS. 2 and 4.

レジスタCは補助メモリであつて、第4図に於る補助レ
ジスタ27に相当し、レジスタDは回転体の原回転周期
を予測する為の計数値を記憶するもので、第4図に於る
レジスタ17に相当する。更に、レジスタEは計時機能
を遂行する為のレジスタであり、計時情報を記憶してい
る。しかして、このRAM42の各レジスタの指定は、
上記アンド回路46及び47の一括出力、即ちROM4
1の行アドレス指定信号FuあるいはSuがRAM42
の行アドレス入力端RAUに印加されることによって成
される。
Register C is an auxiliary memory and corresponds to the auxiliary register 27 in FIG. 4, and register D stores the count value for predicting the original rotation period of the rotating body. Corresponds to register 17. Furthermore, register E is a register for performing a timekeeping function and stores timekeeping information. Therefore, the designation of each register of this RAM 42 is as follows.
Collective output of the AND circuits 46 and 47, that is, ROM4
1 row address designation signal Fu or Su is input to the RAM 42.
is applied to the row address input terminal RAU of .

また、その処理列(桁)は、ROM41から出力された
列アドレス指定信号F,SLに基づくいて列アドレスコ
ントローラ48から出力された列アドレスがRAM42
の列アドレス入力端RAL‘こ印加されることによって
成され「RAM42はこれ等各アドレス入力端RAリ及
びRALに印加されたアドレスに基づいて、そのアドレ
スのデータを出力端OUTから出力する。なお、RAM
42には上記各アドレスの他にタイミング信号ら及び上
記制御信号02が印加されているアンド回路51の出力
が読み出しノ書き込み制御(R/W)信号として印加さ
れており、このRノW信号が、“0”の時は読み出し、
“1”の時は書き込みの制御が行なわれている。しかし
て、RAM42の出力端OUTから出力されたデー外ま
、そのデータが上記行アドレス指定信号Suに指定され
たレジスタの内容である場合には読み込みクロックt,
,で,が印加されているバッファ52、開閉制御信号t
,,03が印加されているアンド回路53を介して演算
回路54の一方の入力端aに送出され、行アドレス指定
信号Fuに指定されたレジスタの内容である場合には開
閉制御信号t,,04が印加されているアンド回路55
を介して演算回路54の他方の入力端bに送出される。
なお、アンド回路55には上記アンド回路50の出力、
即ちROM41から出力されるコード信号Cも印加され
ており、RAM42から読み出されたデータと同様に演
算回路54の他方の入力端bに送出されている。
Further, the processing column (digit) is determined based on the column address designation signals F and SL output from the ROM 41, and the column address output from the column address controller 48 is stored in the RAM 42.
Based on the address applied to each address input terminal RA and RAL, the RAM 42 outputs the data at that address from the output terminal OUT. , RAM
42, the output of the AND circuit 51 to which the timing signals and the control signal 02 are applied in addition to the above addresses is applied as a read/write control (R/W) signal, and this R/W signal is , when it is “0”, read out,
When it is "1", writing control is being performed. In addition to the data output from the output terminal OUT of the RAM 42, if the data is the content of the register specified by the row address designation signal Su, the read clock t,
, and the buffer 52 to which is applied, the opening/closing control signal t
. AND circuit 55 to which 04 is applied
The signal is sent to the other input terminal b of the arithmetic circuit 54 via the input terminal b.
Note that the AND circuit 55 receives the output of the AND circuit 50,
That is, the code signal C output from the ROM 41 is also applied, and is sent to the other input terminal b of the arithmetic circuit 54 in the same way as the data read from the RAM 42.

この演算回路54は「 上記制御信号05により制御さ
れて加減算等の演算を実行するアダ−及びその筒返回路
から成るもので、入力端a,bから入力されたデータに
基づき所定の演算を実行してその結果(データ)及びキ
ヤIJーボロー信号を出力する。しかして、演算回路5
4から出力されたデータはRAM42のデータ入力端m
に送出されと共に表示処理回路56及びオアゲート57
に印加され、RAM42は上述したRW信号が“1”と
あった際にデータ入力端IMこ印加されたデータを書き
込む。なお、RAM42内の書き込むべきアドレスは上
記読み出しと同様のアドレス指定によっている。また、
表示処理回路56は上記制御信号Qにより制御され演算
回路54から送出されたデ−夕に基づいて入力されたデ
ータを表示用データに変換し、各表示桁に対応して設け
られた複数のバッファから成る表示バッファ58に送出
する。表示バッファ58は、表示処理回路56から送出
された表示用デ−夕をスタティックに記憶し、その出力
は所定の駆動回路(図示せず)を介して表示部(図示せ
ず)に送出される。一方、オアゲート57の出力は上記
制御信号07により制御される判断用ラッチ回路59の
データ側ラッチ59aに印加され、また、演算回路54
から出力されたキャリーノボロー信号は直接判断用ラツ
チ回路59のキヤリーノボロー側ラツチ59bに印放さ
れる。
This arithmetic circuit 54 consists of an adder and its return circuit that executes operations such as addition and subtraction under the control of the control signal 05, and executes predetermined operations based on data input from input terminals a and b. Then, the result (data) and the carry IJ-borrow signal are outputted.
The data output from 4 is the data input terminal m of RAM42.
and the display processing circuit 56 and the OR gate 57
is applied to the data input terminal IM, and the RAM 42 writes the data applied to the data input terminal IM when the above-mentioned RW signal is "1". Note that the address to be written in the RAM 42 is specified by the same address specification as in the above-mentioned reading. Also,
The display processing circuit 56 is controlled by the control signal Q and converts the input data into display data based on the data sent from the arithmetic circuit 54, and converts the input data into display data using a plurality of buffers provided corresponding to each display digit. The data is sent to a display buffer 58 consisting of. The display buffer 58 statically stores the display data sent from the display processing circuit 56, and its output is sent to a display section (not shown) via a predetermined drive circuit (not shown). . On the other hand, the output of the OR gate 57 is applied to the data side latch 59a of the judgment latch circuit 59 controlled by the control signal 07, and
The carry-no-borrow signal output from the carry-no-borrow signal is released to the carry-no-borrow side latch 59b of the direct judgment latch circuit 59.

しかして、この判断用ラッチ回路59の夫々のラッチ5
9a,59bの出力Jし及びJHは、夫々上記制御信号
08により開閉制御されるアンドゲート60,61を介
してアドレス修飾回路43のオアゲート43a,43b
に印加され、ROM41から出力された次アドレス信号
NAを修飾する。また、62は計時用の基本周波数を出
力する水晶振動子等で構成された発振器で、その発振出
力は所定の段数を有する分周器63に印加され、分周器
63は1秒周期の信号(1秒信号)を出力しこの1秒信
号が出力されたことを記憶する1秒ラッチ64に印加す
る。
Therefore, each latch 5 of this judgment latch circuit 59
The outputs J and JH of 9a and 59b are connected to the OR gates 43a and 43b of the address modification circuit 43 via AND gates 60 and 61, which are controlled to open and close by the control signal 08, respectively.
and modifies the next address signal NA output from the ROM 41. Further, 62 is an oscillator composed of a crystal oscillator or the like that outputs a fundamental frequency for timekeeping, and its oscillation output is applied to a frequency divider 63 having a predetermined number of stages. (1 second signal) is applied to the 1 second latch 64 which stores the fact that this 1 second signal has been output.

そして、この1秒ラツチ64の出力は上記制御信号Qに
より開閉制御されるアンド回路65を介してアドレス修
飾回路43のオアゲート43cに送出され、上記判断用
ラツチ回路59の各出力と同様ROM41から出力され
る次アドレス信号NAを修飾する。更に、第2図及び第
4図に於けるワンショット回路13の出力は上記1秒ラ
ッチと同様の機能を有する計数ラツチ66にセット信号
として印加され、この計数ラッチ66の出力は上記制御
信号○,oにより開閉制御されるアンドゲート67を介
してアドレス修節回路43のオァゲート43dに印加さ
れ、上述したと同様次アドレス信号NAを修飾する。な
お、上記各ラッチ64及び66は、夫々上記制御信号○
,.及び08によりリセットされる如く構成されている
。−また、分周器63の所定の分周段からは上記各回路
を駆動するクロック信号で,,ぐ2が出力されており、
この各クロックで,,?2は上記各回蟹に送出されると
共にタイミング信号発生回路68に送出される。
The output of this one-second latch 64 is sent to the OR gate 43c of the address modification circuit 43 via the AND circuit 65 whose opening and closing are controlled by the control signal Q, and is output from the ROM 41 in the same way as each output of the judgment latch circuit 59. modifies the next address signal NA to be sent. Furthermore, the output of the one-shot circuit 13 in FIGS. 2 and 4 is applied as a set signal to a counting latch 66 which has the same function as the one-second latch, and the output of this counting latch 66 is applied to the control signal ○. , o is applied to the OR gate 43d of the address adjustment circuit 43 through the AND gate 67, which is controlled to open and close by the signals NA, and modifies the next address signal NA in the same manner as described above. Note that each of the latches 64 and 66 receives the control signal ○.
、. and 08. - Also, from a predetermined frequency division stage of the frequency divider 63, a clock signal , 2 is outputted for driving each of the above circuits,
With each of these clocks,? 2 is sent to each of the above-mentioned times and is also sent to the timing signal generation circuit 68.

このタイミング信号発生回路68は、入力されたクロツ
ク信号ぐ,,?2により各々に重豊せず、且つ順次出力
されるタイミング信号t,,ら及びt3を出力し、上述
した各ゲート回路に送出すると共にインストラクション
デコーダ49に送出する。なお、このタイミング信号発
生回路68がL〜t3のタイミング信号を発生するのは
、本実施例の場合RAM42が第1表に示す如く三相で
動作する為である。第1表 次に、第7図のフロ−チャート及び第8図のタイムチャ
ートを参照しながら上記の如く構成に於る動作について
説明する。
This timing signal generation circuit 68 receives the input clock signal...? 2, timing signals t, , etc. and t3 are outputted sequentially without overlapping each other, and are sent to each of the gate circuits described above, as well as to the instruction decoder 49. The timing signal generation circuit 68 generates the timing signals L to t3 because the RAM 42 in this embodiment operates in three phases as shown in Table 1. Table 1 Next, the operation of the above configuration will be explained with reference to the flowchart of FIG. 7 and the time chart of FIG. 8.

なお、第7図中t及びntの記載は、そのステップある
いは処理に要する時間を示したもので、tは上記第1表
に示したt,〜らの1サイクルの処理時間である。従っ
て、複数桁の処理を実行した際にはその処理桁数×tの
処理時間を要するものである。また、本実施例に於ては
説明の便宜上nを仮にn=4として説明する。即ち、今
第8図に示す時亥中,で同図aに示す如くテープの走行
が指示されたとすると第7図に示す「START」から
各ステップが実行され、まずステップS,に進む。
Note that t and nt in FIG. 7 indicate the time required for the step or process, and t is the processing time for one cycle of t, . . . shown in Table 1 above. Therefore, when processing a plurality of digits, a processing time equal to the number of digits to be processed x t is required. Further, in this embodiment, for convenience of explanation, n will be explained assuming that n=4. That is, if the tape is instructed to run as shown in FIG. 8A during the hour shown in FIG. 8, each step is executed from "START" shown in FIG.

このステップS,は、計数ラツチ66がセットされたか
否か、即ち第2図及び第4図に於けるワンショット回路
13から出力があったか杏かを検出するもので、ィンス
トラクションデコーダ49からは制御信号○,。が出力
しているが、計数ラツチ66がセットされるまではアン
ドゲート67は関成しない為アドレス修飾されることは
なくこのステップS,を繰り返している。しかして、第
8図に示す時亥巾2で同図bに示す如くまず第1発目の
パルスがワンショツト回路13から出力されると計数ラ
ツチ66はセットされ、その出力はアンドゲート67を
介してアドレス修飾回路43のオアゲート43dに印加
されることにより次にステップS2に進む。このテツプ
S2は計数ラッチ66をリセットするもので、ィンスト
ラクションデコーダ49から制御信号○,2が出力され
ることによって成され次にステップS3に進む。ステッ
プS3は、Aレジスタの第1桁目乃至第4桁目に「1」
を加算するもので、RAM亀2の各アドレス入力端RA
U,RALには夫々Aレジスタを指定するアドレス及び
列アドレス1乃至4がROM41aSu及び列アドレス
コントローラ48から夫々出力され、A,〜4の内容(
今は0)が順次読み出される。そして、RAM42のデ
ータ出力端OUTから出力されたこのデータは、バッフ
ァ52及びアンド回路53を介して演算回路54の一方
の入力端aに印加され、一方、ROM41のコード信号
cは「1」を出力し「 この「1」がアンド回路50及
び55を介して演算回路54の他方の入力端bに印加さ
れる。
This step S detects whether or not the counting latch 66 is set, that is, whether there is an output from the one-shot circuit 13 in FIGS. 2 and 4. Control signal ○,. However, since the AND gate 67 is not involved until the counting latch 66 is set, the address is not modified and steps S are repeated. When the first pulse is outputted from the one-shot circuit 13 as shown in FIG. 8b with a time width of 2 shown in FIG. The signal is applied to the OR gate 43d of the address modification circuit 43, and the process then proceeds to step S2. This step S2 is for resetting the counting latch 66, which is accomplished by outputting the control signals ◯ and 2 from the instruction decoder 49, and the process then proceeds to step S3. In step S3, "1" is placed in the first to fourth digits of the A register.
is added to each address input terminal RA of RAM turtle 2.
The address specifying the A register and column addresses 1 to 4 are output from the ROM 41aSu and the column address controller 48 to U and RAL, respectively, and the contents of A, to 4 (
0) are read out sequentially. This data output from the data output terminal OUT of the RAM 42 is applied to one input terminal a of the arithmetic circuit 54 via the buffer 52 and the AND circuit 53, while the code signal c of the ROM 41 is set to "1". This "1" is applied to the other input terminal b of the arithmetic circuit 54 via AND circuits 50 and 55.

演算回路54は、これ等各入力端a及びbから入力され
たデータを、ィンストラクションデコーダ49から与え
られた加算を示す制御信号Qに基づいて加算(0十1)
し、その結果を第8図hに示す如く再びRAM42のA
,〜4に書き込む。しかして、この加算(計数)処理が
終了すると次にステップS4に進む。ステップS4は、
Aレジスタの第6桁目、即ちスタートフラッグ桁に第8
図eに示す如く「IJを書き込み、今検出された計数ラ
ッチ66のセット状態はスタート後第1回目であること
を示すもので、ROM41からはコード信号c(=「1
」)が出力され、このコード信号「1」はアンド回路5
0及び55を介して演算回路54の他方の入力端bに与
えられる。また、RAM42の各アドレス入力端RAU
及びRALには、夫々Aレジスタ及び6桁目を示すアド
レス指定信号が印加され、タイミング信号t3の出力し
た時に上記コード信号「1」がAレジスタ第6桁目!こ
書き込まれて次にステップS5に進む。
The arithmetic circuit 54 adds the data input from each input terminal a and b based on the control signal Q indicating addition given from the instruction decoder 49 (01).
Then, the result is stored in A of RAM 42 again as shown in Fig. 8h.
,~4. When this addition (counting) process is completed, the process proceeds to step S4. Step S4 is
The 8th digit is placed in the 6th digit of the A register, that is, the start flag digit.
As shown in FIG.
") is output, and this code signal "1" is output to the AND circuit 5.
0 and 55 to the other input terminal b of the arithmetic circuit 54. In addition, each address input terminal RAU of the RAM 42
Address designation signals indicating the A register and the 6th digit are applied to and RAL, respectively, and when the timing signal t3 is output, the code signal "1" is the 6th digit of the A register! After this is written, the process proceeds to step S5.

ステップS5は、パルス間隔の計数値を記憶しているB
レジスタにステップS,から本ステップS5までの処理
時間及び後述するステップS6の全ての処理時間の1/
n(n=4)の時間に対応するデータ1九/n(なお、
tは予め設定されている)を加算するもので、RAM4
2の行アドレス入力端RA川こはBレジスタに対応する
アドレスが、RALには「1〜6Jの各アドレスが列ア
ドレスコントローラ48から順次印加されてBレジスタ
の内容が読出され、またROM41のコード信号cは「
1孔/n」を出力して、これ等の各データが夫々演算回
路54のa,b端子に印加されることによりなされる。
即ち、演算回路54ではインストラクションデコーダ4
9から出力される制御信号05により加算することが指
示され、その結果は再びRAM42のBレジスタに書き
込まれ、次にステップS6に進む。
Step S5 is B which stores the count value of the pulse interval.
1/1 of the processing time from step S to this step S5 and all the processing time of step S6, which will be described later, is stored in the register.
Data corresponding to time n (n=4) is 19/n (in addition,
t is preset).
The address corresponding to the B register at the row address input terminal RA 2 is applied to the RAL, and each address from 1 to 6J is sequentially applied from the column address controller 48 to read the contents of the B register, and the code in the ROM 41 is Signal c is “
This is done by outputting "1 hole/n" and applying these data to the a and b terminals of the arithmetic circuit 54, respectively.
That is, the instruction decoder 4 in the arithmetic circuit 54
The addition is instructed by the control signal 05 output from 9, and the result is written into the B register of the RAM 42 again, and then the process advances to step S6.

ステップS6は、Aレジス夕の第1桁目乃至第4桁目の
内容を表示バッファ58に送出するもので、RAM42
の各アドレス入力端舷AU及びRALにはAレジスタ及
び「1〜4」を指定する各アドレスが入力され、RAM
42から謙出されたデータが演算回路54及び表示処理
回路56等を介して適宜の処理が施され表示バッファ5
8に印加されることによって成され、この表示内容は第
8図iに示す如く「1」となって次にステップS7に進
む。ステップS7は、上記ステップS,と同様の動作に
より計数ラツチ66のセット状態を検出するもので、今
は計数ラツチ66がセットされていないので次にステッ
プS8に進む。ステップS8は、上記ステップS5と同
様ステップS7,S8及び後述するステップS9の全て
の処理時間的の1′nを加算するもので、その動作は上
記ステップS5と同様である。
Step S6 is to send the contents of the first to fourth digits of the A register to the display buffer 58.
The A register and each address specifying "1 to 4" are input to the address input ports AU and RAL, and the RAM
The data extracted from 42 is subjected to appropriate processing via an arithmetic circuit 54, a display processing circuit 56, etc., and then sent to a display buffer 5.
8, the display content becomes "1" as shown in FIG. 8i, and the process then proceeds to step S7. In step S7, the set state of the counting latch 66 is detected by the same operation as in step S, and since the counting latch 66 is not set now, the process proceeds to step S8. Step S8, like step S5, adds 1'n of all the processing times of steps S7, S8, and step S9, which will be described later, and its operation is the same as step S5.

このステップS8を終了すると、次にステップS9に進
み、1秒ラッテ64がセットされているか否かが検出さ
れる。この検出は、上記ステップS,と略同様の動作に
よって行なわれるもので、ィンストラクションデコーダ
49からは制御信号09が出力されるが、今は1秒ラッ
チ64はセットされていないので再びステップS7に戻
りステップS7〜S9を繰り返してその処理時間の1/
nを累計している。しかして、第8図に於る時亥』T3
でワンショット回路13から第2発目の出力があり、計
数ラッチ66がセットされたことが検出されるとステッ
プS7に於る判断結果は「YES」となり、アドレス修
飾回路43に於てアドレス修飾され次にステップS,o
に進む。このステップS,。は、Aレジスタの6桁目、
即ちスタートフラッグをクリアするもので、このステッ
プS,oの実行によって第8図eに示す如くA6の内容
は「0」となって次にステップS,.に進む。ステップ
S,.はAレジスタの1桁目乃至4桁目1こ「n−1=
(3)」を加算するもので、その動作はステップS3に
示したと略同様にRAM42から読出されたAレジスタ
の内容「1」にROM41のコード信号c(=3)が演
算回路54で加算されることによって成され、その結果
Aレジスタの記憶内容は第8図hに示す如くなって次に
ステップS,2に進む。このステップS舷は上記ステッ
プS2同機計数ラツチ66をリセットするもので、この
ステップS,2を終了すると次にステップS,3に進む
When step S8 is completed, the process proceeds to step S9, where it is detected whether the one second latte 64 is set. This detection is performed by substantially the same operation as step S above, and the instruction decoder 49 outputs the control signal 09, but since the one second latch 64 is not set now, step S7 is performed again. Return to step S7-S9 and repeat steps S7 to S9 to save 1/1 of the processing time.
n is accumulated. However, the time in Figure 8'T3
When it is detected that there is a second output from the one-shot circuit 13 and that the counting latch 66 is set, the judgment result in step S7 becomes "YES", and the address modification circuit 43 modifies the address. and then step S, o
Proceed to. This step S. is the 6th digit of the A register,
That is, the start flag is cleared, and by executing steps S and o, the content of A6 becomes "0" as shown in FIG. 8e, and then steps S, . Proceed to. Step S, . is the 1st to 4th digit 1 of the A register "n-1=
(3)'', and its operation is substantially the same as shown in step S3, in which the code signal c (=3) of the ROM 41 is added to the content ``1'' of the A register read from the RAM 42 by the arithmetic circuit 54. As a result, the contents stored in the A register become as shown in FIG. 8h, and the process then proceeds to step S,2. This step S is for resetting the aircraft counting latch 66 in step S2, and when step S2 is completed, the process proceeds to step S3.

ステップS,3はAレジスタの第5桁目に「n−1(=
3)」を書き込むもので、Bレジスタに記憶されている
パルス間隔の計数値から何回の予測計数を行うかを設定
しているものである。しかして、このステップS,3を
終了すると、次にステップS,4乃びステップS,5を
上記ステップS3及びステップS6と同様に実行し、A
レジスタ及び表示状態は第8図h及びiに示す如くなっ
て次にステップS,6に進む。このステップS,8及び
次のステップS,7は、第4図に於いて第1のカウンタ
14からしジスタ17及び補助レジスタ27にデータを
セットしたことに相当するもので、ステップS,6はR
OM41の行アドレス指定信号SuがBレジスタを、F
uがCレジスタを指示することによって行なわれ、ステ
ップS,7はSuがCレジスタを、FuがDレジスタを
夫々指定することによって行なわれる。このステップS
,7を終了すると、次にステップS,8に進みステップ
S7,S,o〜S,8及び後述するステップS,9の全
ての処理時間4山の1/n(nこ4)をBレジスタにセ
ットする。この処理はROM41のコード信号cが「4
仇/n」を出力する以外ステップS5,S8と同様の動
作によって行なわれ、そ処理を終了すると次にステップ
S,9に進む。ステップS,9は、ステップS,7で転
送された前回のパルス間隔の計数値を、Bレジスタに加
算(計数)したn倍の速さで減算するもので、ROM4
1のコード信号cは「4瓜」を出力し、演算回路‐54
には減算を示す制御信号05が与えられることによって
なされ、この処理を終了すると次にステップSがこ進む
。ステップS2oは、上記ステップS9と同様の動作に
より1秒ラッチ64のセット状態の有無を検出するもの
であるが、今はこの1秒ラツチ64がセットされていな
いことによりその判断結果は「NO」となって次にステ
ップS2,に進む。
In step S, 3, "n-1 (=
3), which sets how many predictive counts are to be performed based on the pulse interval count stored in the B register. After completing step S, 3, step S, 4 and step S, 5 are executed in the same manner as step S3 and step S6, and A
The register and display state is as shown in FIG. 8h and i, and the process then proceeds to steps S and 6. This step S, 8 and the next step S, 7 correspond to setting data from the first counter 14 to the register 17 and the auxiliary register 27 in FIG. R
The row address designation signal Su of OM41 causes the B register to
This is performed by u designating the C register, and steps S and 7 are performed by Su designating the C register and Fu designating the D register, respectively. This step S
, 7, the process proceeds to steps S, 8, and 1/n (n 4) of all four processing times of steps S, S, o to S, 8 and steps S, 9, which will be described later, are stored in the B register. Set to . This process means that the code signal c of the ROM 41 is "4".
The same operations as steps S5 and S8 are performed except for outputting "enemy/n", and when the processing is completed, the process proceeds to steps S and 9. Steps S and 9 subtract the count value of the previous pulse interval transferred in steps S and 7 at n times the speed of addition (counting) to the B register.
The code signal c of 1 outputs "4 melon" and the arithmetic circuit-54
This is done by applying a control signal 05 indicating subtraction, and when this process is completed, the next step S is executed. In step S2o, the presence or absence of the set state of the one-second latch 64 is detected by the same operation as in step S9, but since the one-second latch 64 is not currently set, the determination result is "NO". Then, the process proceeds to step S2.

ステップS2.は、上記ステップS,,S7と同様計数
ラツチ66がセットされているか杏かを検出するもので
あるが、今はこの計数ラッチ66がセットされていない
ことにより「NO」と判断されて次にステップS22に
進む。ステップS礎は、上記ステップミと同様にステッ
プS2o〜S22及び後述するステップS23,S凶の
全ての処理時間15tの1/n(n=4)をBレジスタ
に加算するもので、この処理を終了すると次にステップ
S23に進む。ステップS23はAレジスタの第5桁目
が「0」か否かの検出を行っているもので、A5の記憶
内容が演算回路54を介して判断用ラッチ59に印加さ
れ、そのセット状態に基づくアドレス修飾によって成さ
れるが、今はその記憶内容が「3」であることにより「
NO」と判断されて次にステップS24に進む。ステッ
プS24は、基本的にはステップS,9と同様であり、
ステップS2o〜ステップSるの全ての処理時間「15
t」を減算し、且つその結果が「0」以下になったか否
かを上記ステップS23と同様の判断動作により行なっ
ているものであり、その結果が「1」以上である場合に
は、再びステップS2oに戻り、1秒ラツチ64あるい
は計数ラッチ66のいずれかがセットされたことがステ
ップS沙あるいはステップS2,を検出されるまで上記
各ステップSの〜S滋を繰り返す。しかして、第8図に
示す時刻Lで同図fに示す如くステップS24に於る判
断結果が「YES」になったとすると次にステップSる
に進み、このステップS25及び次のステップS26を
上記ステップS3及びステップS6等と同様に実行し、
Aレジスタの記憶内容及び表示状態は第8図h及びiに
示す如くなって次にステップS27に進む。
Step S2. is to detect whether the counting latch 66 is set or not, as in steps S, S7 above, but since the counting latch 66 is not set, the determination is "NO" and the next step is Proceed to step S22. The step S foundation is to add 1/n (n=4) of the processing time 15t of all steps S2o to S22 and steps S23 and S to be described later to the B register, as in the step S2 described above, and this process ends. Then, the process advances to step S23. Step S23 detects whether the fifth digit of the A register is "0" or not, and the memory contents of A5 are applied to the judgment latch 59 via the arithmetic circuit 54, and based on the set state. This is done by modifying the address, but since the memory content is "3",
If the answer is NO, the process proceeds to step S24. Step S24 is basically the same as steps S and 9,
The total processing time from step S2o to step S is 15
t'' and whether the result is less than or equal to 0 is determined by the same judgment operation as in step S23, and if the result is greater than or equal to 1, the process is performed again. Returning to step S2o, the steps S to S are repeated until it is detected that either the one second latch 64 or the counting latch 66 is set. If, at time L shown in FIG. 8, the determination result in step S24 becomes "YES" as shown in FIG. Execute in the same manner as step S3 and step S6, etc.
The stored contents and display state of the A register are as shown in FIG. 8h and i, and the process then proceeds to step S27.

ステップS幻は、ステップS24の判断結果に基づきス
テップS25でAレジスタに「十1」したことによって
、Aレジスタの第5桁目から「1」を減じるもので、A
5の記憶内容は第8図gに示す如く「2」となって次に
ステップS28に進む。ステップS28は、その記憶内
容が「0」あるいはそれ以下になったDレジスタに補助
メモリCの内容を加算しながらセットするもので、この
ようにすることによって仮にステップS24で「0」以
下となった場合でもその分が補正されて(即しマイナス
分の処理時間も考慮されて)次にステップS凶に進む。
ステップS29及び次のステップS3oは、上記ステッ
プS,8及びS,9と同様なものであって、ステップS
瀦〜ステップS3oに於る処理時間2九の1′n(n=
4)及び2れを夫)加算及び減算するものであり、この
ステップS■を終了すると再びステップS2oに戻りス
テップS2o〜S汝が順次繰り返される。しかして、第
8図に示す時刻公及びちでは、夫々上記したステップS
鶴に於る判断結果が同図fに示す如く「YES」となり
、ステップS鯖〜S■を夫々実行してAレジスタの第5
桁目の記憶内容は同図gに示す如く「1J、「0」と変
化し、またAレジスタの第1桁目乃至第4桁目及び表示
状態も同図h及びiに示す如く「7ハ「8」と変化して
再びステップSのに戻る。そして、このステップS2o
〜S凶を実行してステップS23に進むと、Aレジスタ
の第5桁目の記憶内容は第8図gに示す如く「0」とな
っている為、その判断結果は「YES」となって次にス
テップS釘に進む。
The step S illusion subtracts "1" from the fifth digit of the A register by adding "11" to the A register in step S25 based on the judgment result of step S24.
The stored content of 5 becomes "2" as shown in FIG. 8g, and the process then proceeds to step S28. Step S28 sets the contents of the auxiliary memory C while adding them to the D register whose memory contents have become "0" or less. Even if it is, the amount is corrected (that is, the negative processing time is also taken into consideration) and the process proceeds to step S.
Step S29 and the next step S3o are similar to steps S, 8 and S, 9 above, and step S
~Processing time in step S3o 1'n of 29 (n=
4) and 2) are added and subtracted. When step S2 is completed, the process returns to step S2o again and steps S2o to S2 are repeated in sequence. Therefore, the time setting shown in FIG. 8 and the time shown in FIG.
The judgment result at Tsuru is ``YES'' as shown in figure f, and steps S to S are executed to register the fifth register of A.
The stored content of the digit changes to "1J, 0" as shown in g of the same figure, and the 1st to 4th digits of the A register and the display state change to "7H" as shown in h and i of the same figure. The value changes to "8" and returns to step S again. And this step S2o
When the process proceeds to step S23 after executing ~S, the stored content of the 5th digit of the A register is "0" as shown in Figure 8g, so the judgment result is "YES". Next, proceed to Step S nails.

ステップS3,は、実質的には何等動作するものではな
く、ただAレジスタの第1桁目乃至第6桁目の読み出し
及び書き込みを行うことによって、ステップS2o〜S
24の処理時間と合わせる為のものであり、このステッ
プSのを終了すると、次にステップS2oに戻り、この
ステップS2o〜S匁及びS3.を順次繰り返す。しか
して、第8図に示す時刻T7になると、ワンショツト回
路13の出力によって計数ラツチ66がセットされステ
ップS2,から次にステップS既に進む。ステップS3
2は、上記ステップS3,と同様、処理時間を合わせる
為になるものであり、このステップS32を終了すると
次にステップS,2に進みステップS,2〜S.9を上
記同様に実行してAレジスタ及び表示状態は第8図h,
iに示す如くなつて次にステップS2oに進む。そして
、以後第8図に示す時刻T8及び〜に於ては、時亥』T
4〜Lで説明したと同様の動作がなされ、Aレジスタ及
びその表示状態は第8図h,iに示す如くなる。次に、
1秒ラッチ64がセットされる第8図に示す時亥UT,
Step S3 does not substantially perform any operation, but only reads and writes the first to sixth digits of the A register, and steps S2o to S
This is to match the processing time of step S24, and when this step S is completed, the process returns to step S2o, and steps S2o to S momme and S3. Repeat sequentially. At time T7 shown in FIG. 8, the counting latch 66 is set by the output of the one-shot circuit 13, and the process advances from step S2 to step S. Step S3
2 is for adjusting the processing time, similar to step S3 above, and when this step S32 is completed, the process proceeds to step S, 2, and steps S, 2 to S. 9 in the same manner as above, the A register and display status are as shown in Figure 8h,
The process then proceeds to step S2o as shown in i. Thereafter, at time T8 and ~ shown in FIG.
The same operations as described in 4-L are performed, and the A register and its display state become as shown in FIG. 8h and i. next,
When the 1 second latch 64 is set as shown in FIG.
.

以降の動作について説明する。なお、Aレジスタ及び表
示はこの時刻T,。以前に「39」になっていたものと
する。即ち、上記ステツブS2。で1秒ラッチ64がセ
ットされたことが検出されるまでは、ステップS2o〜
S数、S2o〜S3。あるいはS2o〜S概及びS3,
のいずれかのループによる処理が実行されており、今、
第8図に示す時刻T,。で計数ラツチ66がセットされ
ると、ステップS2,でこのセット状態が検出され、次
にステップS32及びS,2〜S,9を実行し、Aレジ
スタ及び表示状態は第8図h,iに示す如くなって再び
ステップS2o〜S24を繰り返し実行している。そし
て、第8図に示す時亥中,.で同図cの如く1秒ラッチ
64がセットされると、上記ループ内のステップS2。
でこの1秒ラッチ64のセット状態が検出され、次にス
テップS33に進む。ステップS33は、1秒ラッチ6
4をリセットするもので、その動作は上記ステップS2
と略同様にィンストラクションデコーダ49から制御信
号○,.によって成され、次に処理SBに進む。この処
理SBは、計時の為の種々の処理を行うもので、RAM
42内のEレジスタに記憶されている計時情報を読み出
し、演算回路54で1秒の桁に「十1」するもので、そ
の他6G隻処理あるいは12/2公隼処理等もこの処理
SB内で行なわれている。なお、この処理SBの処理時
間は第8図dに示す如く仮にatであったとする。
The subsequent operation will be explained. Note that the A register and display are at this time T. It is assumed that the value was previously "39". That is, the above step S2. Until it is detected that the 1 second latch 64 is set in step S2o~
S number, S2o to S3. Or S2o ~ S general and S3,
Processing by one of the loops is being executed, and now,
Time T, shown in FIG. When the counting latch 66 is set, this set state is detected in step S2, and then steps S32 and S,2 to S,9 are executed, and the A register and display state are as shown in FIG. 8h, i. As shown, steps S2o to S24 are repeated again. Then, during the time shown in FIG. When the 1 second latch 64 is set as shown in c in the same figure, step S2 in the above loop is executed.
The set state of the one-second latch 64 is detected, and the process then proceeds to step S33. Step S33 is a 1 second latch 6
4, and its operation is performed in step S2 above.
The instruction decoder 49 sends control signals ○, . The process then proceeds to processing SB. This processing SB performs various processing for timekeeping, and the RAM
This processing SB reads out the timing information stored in the E register in the 42 and converts it to the digit of 1 second using the arithmetic circuit 54. Other processes such as 6G ship processing or 12/2 public transport processing are also performed within this processing SB. It is being done. It is assumed that the processing time of this processing SB is at as shown in FIG. 8d.

そして、この処理SBが終了すると、次にステップS3
4に進み、Aレジスタの第6桁目、即ちスタートフラッ
グの状態をステップS23と同様の方法でもつて検出す
るが、今は、第8図eに示す如くA6の記憶内容は「0
」となっている為、上記検出の結果「NO」と判定され
次にステップS鑑に進む。ステップS35は、上述した
ステップS側 S33〜S35及び後述するS36、更
にはSのあるいはS38と上記処理SBの全ての処理時
間(a十16)tの1/n(n=4)をBレジスタのB
,〜6に加算するもので、その処理は上記ステップS5
と同様にして行なわれ、次にステップS36に進む。ス
テップS$は上記ステップS23と同様なものであり、
Aレジスタの第5桁目が「0」か否かを判断している。
When this process SB is finished, next step S3
Proceeding to step S4, the state of the 6th digit of the A register, that is, the state of the start flag, is detected in the same manner as in step S23, but now the stored content of A6 is "0" as shown in FIG.
”, the result of the above detection is determined to be “NO” and the process proceeds to step S. In step S35, 1/n (n=4) of the processing time (a + 16) t of steps S33 to S35 described above, S36 described later, S or S38 and the above processing SB is stored in the B register. B of
, ~6, and the process is performed in step S5 above.
The process is performed in the same manner as above, and then the process advances to step S36. Step S$ is similar to step S23 above,
It is determined whether the fifth digit of the A register is "0" or not.

しかし今は、上記ステップSBで「n−1(=3)」が
セットされたままなのでこのステップS磯に於る判断の
結果「NO」となり、次にステップS幻に進む。ここで
、このステップS37が第8図に示す時刻T,2であっ
たとすると、上記ステップSの,S33〜S37及び処
理SBの総処理時間「(a+16)t)を減算した結果
は「0」以下となりその判断結果が「NO」となって上
記ステップS25に進み上述した一連のステップS25
〜S3。が実行されレジスタA及び表示状態は第8図h
,iに示す如く「41」となり次にステップS狐に戻る
。なお、上記ステップS37で「NO」の判断結果、即
ちD,〜6から「(a十16)t」を減算した結果が「
1」以上であった場合にはステップS25以下の一連の
処理を行うことなくステップS2oに戻り、また、上記
ステップS36での判断結果が「YES」であった場合
には、上記ステップSqと全く同様な時間合せの為の処
理を行って次にステップS2oに戻る。以上の説明で明
らかになった如く、第8図に於る以後の時刻T,3〜T
,5は上記説明のいずれかのステップを実行することに
よりAレジスタの記憶内容及び表示状態が「42」、「
43」及び「44」と変化する。
However, since "n-1 (=3)" is still set in step SB, the result of the judgment in step S is "NO", and the process then proceeds to step S. Here, if this step S37 is at time T, 2 shown in FIG. 8, the result of subtracting the total processing time "(a+16)t) of steps S33 to S37 and processing SB" is "0". The result of the judgment is "NO" and the process proceeds to step S25, where the above-described series of steps S25
~S3. is executed and the register A and display status are as shown in Figure 8h.
, i becomes "41" and then returns to step S Fox. Note that the result of the judgment "NO" in step S37 above, that is, the result of subtracting "(a116)t" from D, ~6, is "
1'' or more, the process returns to step S2o without performing the series of processes from step S25 onwards, and if the determination result in step S36 is ``YES'', the process does not proceed at all from step Sq. A similar process for time adjustment is performed and then the process returns to step S2o. As has become clear from the above explanation, the subsequent times T, 3 to T in FIG.
, 5, by executing any of the steps described above, the storage contents and display state of the A register become "42", "
43” and “44”.

一方、第8図に於る時亥UT2〜T3の間、即ちステッ
プS7〜S9を繰り返し実行している間に1秒ラッチ6
4がセットされたことがステップS9で検出されると、
このステップS9から次にステップS故に進み、以下処
理SBを実行してステップS34に進む。しかして、こ
の状態では、上述した如くAレジスタの第6桁目は「1
」となっており、その判断結果は「YESJとなって次
にステップS39に進む。ステップS39はステップS
33,S34,S39及び処理SBの全ての処理時間「
(a十8)t」の1′n(n=4)をBレジスタに加算
するものであって、その動作は上記ステップS5と同様
にして行なわれ、次にステップS7に戻る。なお、本実
施例では、計時機能を有した場合について説明したが、
例えばリピートプレイ等の判断及び処理があったとして
も上記同様の各ステップあるいは処理と略同様なもので
行ない得ることは明らかであろう。
On the other hand, during the time UT2 to T3 in FIG. 8, that is, while steps S7 to S9 are being repeatedly executed, the latch 6 is
When it is detected in step S9 that 4 has been set,
The process proceeds from step S9 to step S, after which processing SB is executed, and the process proceeds to step S34. However, in this state, as mentioned above, the 6th digit of the A register is "1".
", and the judgment result is "YESJ", and the process proceeds to step S39. Step S39 is step S39.
33, S34, S39 and processing SB.
1'n (n=4) of "(a18)t" is added to the B register, and the operation is performed in the same manner as in step S5, and then the process returns to step S7. In addition, in this example, the case with a timekeeping function was explained, but
For example, even if there is a judgment and process such as repeat play, it is clear that it can be performed using substantially the same steps or processes as described above.

また「本実施例では計時機能のみを有している場合につ
いて述べたが、例えばこの他に演算機能を有するもの、
あるいは演算機能が単独で付加されているものについて
も上記と同様に行い得ることも勿論である。
In addition, ``In this embodiment, we have described a case that only has a timekeeping function, but for example, a case that has a calculation function in addition to this,
Alternatively, it goes without saying that the same operation as above can also be carried out for a device to which arithmetic functions are added alone.

このように、本実施例では、磁気録音再生装置のテープ
走行量をカウントする為に、ロジック部に対するパルス
入力はキャプスタン軸あるいはリール軸の回転駆動部の
回転周期に対し比較的遅い周期のものでも、その間にあ
るべき原回転周期を前回のパルス間隔を計数することに
よって予測している為、特に他の機能を付加した場合で
も正確なカウントが可能になる。
In this way, in this embodiment, in order to count the amount of tape travel in the magnetic recording/playback device, the pulse input to the logic section has a relatively slow period of rotation relative to the rotation period of the rotational drive section of the capstan shaft or reel shaft. However, since the original rotation period that should exist during that period is predicted by counting the previous pulse interval, accurate counting is possible, especially when other functions are added.

また、本例の如く比較的遅い(回転駆動部の回転周期に
対して分局された)パルスによってテープの走行量のカ
ウントを正確に行い得ることにより、他の機能の制御と
上記テープの走行量のカウントとをパラレル処理するこ
となく、唯一のマイクロプログラムコントローラを共用
してシーケンシヤルコントローラを行うことが出来、そ
の構成が簡略化すると共にコストを安くすることも出来
る。
In addition, since the amount of tape travel can be accurately counted using relatively slow pulses (separated with respect to the rotation period of the rotary drive section) as in this example, it is possible to control other functions and the amount of tape travel described above. It is possible to perform a sequential controller by sharing a single microprogram controller without performing parallel processing with the count of , which simplifies the configuration and reduces costs.

なお、上記第1乃至第3の実施例に於ては、回転体の回
転周期に対し1:nの関係のパルスに基づいて、該パル
ス及び該パルス間にあるべき原回転周期で、上記回転体
の回転数を計数する場合について述べてきたが、本発明
はこれに限られることはく、上記回転体の回転に応じた
走行長を計数するようにしても良い。
In the first to third embodiments described above, based on the pulses having a 1:n relationship with the rotation period of the rotating body, the rotation is performed at the original rotation period that should exist between the pulses and the pulses. Although the case has been described in which the number of rotations of the rotating body is counted, the present invention is not limited to this, and the traveling length may be counted according to the rotation of the rotating body.

また、上記各実施例では、本発明を磁気録音再生装置あ
るいは他の機能を有する磁気録音再生装置に適用した場
合について述べたが、本発明はこれに限られることなく
回転体の回転数あるいは回転数に基づく走行長を計数す
る各種電子機器に広く応用し得ることは勿論であり、そ
の他本発明の要旨を逸脱しない範囲で種々変形応用が可
能なことは言うまでもない。
Further, in each of the above embodiments, the case where the present invention is applied to a magnetic recording/playback device or a magnetic recording/playback device having other functions has been described, but the present invention is not limited to this, and the It goes without saying that the present invention can be widely applied to various electronic devices that count running lengths based on numbers, and that various other modifications and applications are possible without departing from the gist of the present invention.

以上詳細に説明した如く、本発明による計数方式は、計
数する為のパルス発生器の出力周期を、キャプスタン軸
あるし、はIJ−ル軸の回転周期に対し1:nとし、且
つこのパルス発生器から出力されたパルス及びこのパル
ス出力間隔内の所定間隔毎に所定値を計数するようにし
たことにより、その計数値はあたかもキャプスタン軸あ
るいはリール軸の回転周期と1:1であるかの如く表示
することが出来、またその計数値は前回のパルス出力間
隔に基づいて予測された周期である為回転体の回転開始
あるいは停止の直後及び直前に於る不安定な周期の場合
も略正確に計数し得、更に電源変動あるいは負荷変動等
による回転周期の乱調があっても正確な計数を行うこと
が出来る。
As explained in detail above, in the counting method according to the present invention, the output period of the pulse generator for counting is set to 1:n with respect to the rotation period of the capstan shaft or the IJ-rule shaft, and this pulse By counting the pulses output from the generator and a predetermined value at each predetermined interval within this pulse output interval, the counted value is as if it were 1:1 with the rotation period of the capstan shaft or reel shaft. Since the counted value is a predicted cycle based on the previous pulse output interval, it can be displayed even in the case of an unstable cycle immediately after or just before the rotation of the rotating body starts or stops. Accurate counting is possible, and accurate counting is also possible even when there is disturbance in the rotation period due to power supply fluctuations, load fluctuations, etc.

また、本発明では計数機能部が受け付けるパルス間隔が
比較的広いものとなる為、その間に他の機能の制御をす
ることが可能となりその回路構成も簡略化することが出
来る等種合の利点を有する。
In addition, in the present invention, since the pulse interval accepted by the counting function section is relatively wide, it is possible to control other functions during that time, and the circuit configuration can be simplified. have

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は従来の方法を説明する為のタイムチャート、第
2図は本発明の第1の実施例を説明する為のブロック図
、第3図は第2図に於る動作を説明する為のタイムチャ
ート、第4図は本発明の第2の実施例を説明する為のブ
ロック図、第5図は本発明の第3の実施例を説明する為
のブロック図、第6図は第5図に於るRAMの横成図、
第7図は第5図に於ける動作を説明する為のフローチャ
ート、第8図は同タイムチャートである。 3……モータ、4a……キャプスタン軸、8…・・・パ
ルス発生器、14・・・・・・第1のカウンタ、17・
・・・・・レジスタ、19・・・・・・減算器、21・
・・・・・第2のカウンタ‐27……補助レジスタ、4
1……ROM、42・・・・・・RAM、64・・・・
・・1秒ラツチ、66...・・・計数ラッチ。 第1図 第6図 第2図 第3図 第4図 第5図 第7図 第8図
Fig. 1 is a time chart for explaining the conventional method, Fig. 2 is a block diagram for explaining the first embodiment of the present invention, and Fig. 3 is for explaining the operation in Fig. 2. 4 is a block diagram for explaining the second embodiment of the present invention, FIG. 5 is a block diagram for explaining the third embodiment of the present invention, and FIG. 6 is a block diagram for explaining the third embodiment of the present invention. Horizontal diagram of RAM in the figure,
FIG. 7 is a flow chart for explaining the operation in FIG. 5, and FIG. 8 is a time chart of the same. 3...Motor, 4a...Capstan shaft, 8...Pulse generator, 14...First counter, 17.
...Register, 19...Subtractor, 21.
...Second counter-27...Auxiliary register, 4
1...ROM, 42...RAM, 64...
...1 second latch, 66. .. .. ...Counting latch. Figure 1 Figure 6 Figure 2 Figure 3 Figure 4 Figure 5 Figure 7 Figure 8

Claims (1)

【特許請求の範囲】 1 回転体の原回転周期に応じた所定の計数を行うと共
にこの計数処理以外の他の処理を行う電子機器に於て、
上記回転体の回転に同期し且つその回転周期に対し1/
n分周された周期のパルスを発生するパルス発生手段と
、該パルス発生手段から出力されたパルスの周期時間の
1/n時間のタイミングを前回にパルス周期に基づいて
予測するタイミング予測手段と、上記パルス発生手段の
出力及び上記タイミング予測手段で予測されたタイミン
グに応じて上記回転体の回転数あるいは上記回転体の回
転数に基づく所定値を計数する計数手段とを具備し、上
記回転体の回転周期に対し1/n分周されたパルスに基
づいて予測された上記回転体の原回転周期に応じた所定
の計数を行うと共に、上記1/n分周されたパルス間に
上記他の処理を行うことを特徴とする計数方式。 2 上記回転体は磁気録音再生装置のキヤプスタン軸あ
るいはリール軸であり、このキヤプスタン軸あるいはリ
ール軸の原回転周期に応じた所定の計数を行うことを特
徴とする特許請求の範囲第1項記載の計数方式。 3 上記回転体は計時機能を有する磁気録音再生装置の
キヤプスタン軸あるいはリール軸であり、上記計数手段
は上記計時機能を制御する唯一のマイクロプログラムコ
ントローラ内にこれを共用して格納されたマイクロプロ
グラムにより制御され、上記キヤプスタン軸あるいはリ
ール軸の回転周期に対し1/n分周されたパルスに基づ
いて予測された上記キヤプスタン軸あるいはリール軸の
原回転周期に応じた所定の計数を行うことを特徴とする
特許請求の範囲第1項記載の計数方式。 4 上記回転体は小型電子式計算機あるいは計時機能を
備えた小型電子式計算機付磁気録音再生装置のキヤプス
タン軸あるいはリール軸であり、上記計数手段は上記小
型電子式計算機あるいは計時機能を備えた小型電子式計
算機を制御する唯一のマイクロプログラムコントローラ
内にこれを共用して格納されたマイクロプログラムによ
り制御され、上記キヤプスタン軸あるいはリール軸の回
転周期に対し1/n分周されたパルスに基づいて予測さ
れた上記キヤプスタン軸あるいはリール軸の原回転周期
に応じた所定の計数を行うことを特徴とする特許請求の
範囲第1項記載の計数方式。
[Claims] 1. In an electronic device that performs a predetermined count according to the original rotation period of a rotating body and performs other processes other than this counting process,
Synchronized with the rotation of the rotating body and 1/1 with respect to its rotation period.
a pulse generating means that generates a pulse with a period divided by n; a timing predicting means that predicts the timing of 1/n time of the period of the pulse outputted from the pulse generating means based on the previous pulse period; and counting means for counting the number of rotations of the rotary body or a predetermined value based on the number of rotations of the rotary body according to the output of the pulse generation means and the timing predicted by the timing prediction means, A predetermined count is performed according to the original rotation period of the rotating body predicted based on the pulses whose frequency is divided by 1/n with respect to the rotation period, and the other processing described above is performed between the pulses whose frequency is divided by 1/n. A counting method characterized by the following. 2. The rotating body is a capstan shaft or a reel shaft of a magnetic recording and reproducing device, and a predetermined count is performed according to the original rotation period of the capstan shaft or reel shaft. Counting method. 3. The rotating body is a capstan shaft or reel shaft of a magnetic recording and reproducing device having a timekeeping function, and the counting means is controlled by a microprogram stored in a single microprogram controller that controls the timekeeping function. controlled and performing a predetermined count according to the original rotation period of the capstan shaft or reel shaft predicted based on pulses whose frequency is divided by 1/n with respect to the rotation period of the capstan shaft or reel shaft. A counting method according to claim 1. 4 The rotating body is a capstan shaft or reel shaft of a small electronic calculator or a magnetic recording and reproducing device with a small electronic calculator equipped with a timekeeping function, and the counting means is a small electronic calculator or a small electronic calculator equipped with a timekeeping function. It is controlled by a microprogram stored in the only microprogram controller that controls the formula calculator, and is predicted based on the pulse frequency divided by 1/n with respect to the rotation period of the capstan shaft or reel shaft. 2. The counting method according to claim 1, wherein a predetermined counting is performed according to the original rotation period of the capstan shaft or the reel shaft.
JP1575678A 1978-02-13 1978-02-13 Counting method Expired JPS6022740B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1575678A JPS6022740B2 (en) 1978-02-13 1978-02-13 Counting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1575678A JPS6022740B2 (en) 1978-02-13 1978-02-13 Counting method

Publications (2)

Publication Number Publication Date
JPS54108659A JPS54108659A (en) 1979-08-25
JPS6022740B2 true JPS6022740B2 (en) 1985-06-04

Family

ID=11897614

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1575678A Expired JPS6022740B2 (en) 1978-02-13 1978-02-13 Counting method

Country Status (1)

Country Link
JP (1) JPS6022740B2 (en)

Also Published As

Publication number Publication date
JPS54108659A (en) 1979-08-25

Similar Documents

Publication Publication Date Title
JPH0347718B2 (en)
JPS6022740B2 (en) Counting method
US4330840A (en) Multi-function electronic digital watch
JPS6048823B2 (en) Counting method
EP0280326B1 (en) System and method for using a floppy disk controller for various types of floppy disk drives
JPS5837629B2 (en) Count display method
US4166360A (en) Chronograph
JPH01148893U (en)
JPS6035754B2 (en) Count display method
JP2621598B2 (en) Magnetic disk drive
JPS6032625Y2 (en) timing circuit
JPS58196481A (en) Hand display stopwatch
JPS6018956B2 (en) Electronic clock regulation device
SU1238071A1 (en) Microprogram control device
JPS6118153B2 (en)
JPS63209494A (en) Speed phase servo device
JPS6310553Y2 (en)
KR830001450B1 (en) Electronic digital multifunction watch
JPS6113193B2 (en)
JP2663511B2 (en) Magnetic recording device
JPS5899822A (en) Initial state setting device
JPS6026193B2 (en) Electronic clock with memory
SU1202045A1 (en) Delay device
SU1016740A1 (en) Shaft rotation frequency measuring device
JPS6367157B2 (en)