JPS6048823B2 - Counting method - Google Patents
Counting methodInfo
- Publication number
- JPS6048823B2 JPS6048823B2 JP53015757A JP1575778A JPS6048823B2 JP S6048823 B2 JPS6048823 B2 JP S6048823B2 JP 53015757 A JP53015757 A JP 53015757A JP 1575778 A JP1575778 A JP 1575778A JP S6048823 B2 JPS6048823 B2 JP S6048823B2
- Authority
- JP
- Japan
- Prior art keywords
- counting
- pulse
- mode
- output
- register
- 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
Links
Landscapes
- Indexing, Searching, Synchronizing, And The Amount Of Synchronization Travel Of Record Carriers (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.
カセットテープレコーダ等の磁気録音再生装置Jでは、
一般的に桟構的なテープカウンタによりテープ走行量を
表示しているが、近年、このテープカウンタを電子的な
りウンタに置き換え、表示装置に例えば液晶表示装置等
の電子光学的表示装置を採用したものが考えられ実用化
されている。In magnetic recording and playback devices J such as cassette tape recorders,
Generally, the amount of tape running is displayed using a frame-like tape counter, but in recent years, this tape counter has been replaced with an electronic counter and an electro-optical display device such as a liquid crystal display device has been adopted as the display device. Things are being thought of and put into practical use.
ところで、上記表示装置にテープ走行量の他に他の種々
の情報を表示させる場合、換言すれば磁気録音再生装置
そのものが計時機能あるいは演算機能を有している場合
には、内部回路ではテープ走行量のカウントの他に計時
情報あるいは演算情報を得る為の各処理、更にはリピー
トプレイ等の為のカウント内容判断動作が同時的に遂行
されなければならない。しかして、これ等の各処理を例
えばマイクロプログラムによるシーケンシャルコントロ
ールで行なう場合、特にテープの走行スピードが速く周
期の短いカウントパルスが出力された場合には他の機能
のコントロール中にカウントパルスが入力されカウント
ミスを起こす虞れがあつた。第1図は従来のこのような
例を示したタイムチャートであり、第1図aの如くのパ
ルス(このパルスの出力周期はキヤプスタン軸あるいは
リール軸の回転周期と1:1の関係にあり、この回転周
期とは1、一、一等1以下の回転を周期とするものであ
る)が出力されると、装置内の計数部は第1図bに示す
如く上記パルスの立上りに同期して計数動作を行ない、
引き続きリピートプレイ等の為の判断動作が同図cに示
す如く行なわれる。By the way, when the above-mentioned display device displays various other information in addition to the amount of tape travel, in other words, when the magnetic recording/playback device itself has a timekeeping function or arithmetic function, the internal circuit shows the amount of tape travel. In addition to counting the amount, various processes for obtaining time information or calculation information, and further operations for determining count contents for repeat play, etc., must be performed simultaneously. However, when each of these processes is performed by sequential control using a microprogram, especially when the tape is running at a high speed and a count pulse with a short cycle is output, the count pulse may be input while other functions are being controlled. There was a risk of a counting error. FIG. 1 is a time chart showing such a conventional example, and shows a pulse as shown in FIG. When this rotation period (1, 1, 1, etc.) is output, the counter in the device synchronizes with the rising edge of the pulse as shown in Figure 1b. perform counting operations,
Subsequently, judgment operations for repeat play, etc. are performed as shown in FIG.
しかしながら、同図dに示す如く計数処理等の他の処−
理が上記aの入力パルスと重畳して行なわれると計数部
では新たな入力パルスがあつたことを検出出来ず、結局
同図eに示す如くの入力があつたものとして同図fに示
す如くの計数値を得る。なお、この計数値は「10」か
ら始まつたものとしている。このように、従来の電子的
なりウンタを用いたものにあつては、入力パルスと計数
処理等の他の処理が時間的に重畳した場合は「1」ある
いは「2」以上の入力パルスに対する計数を行ない得な
い場合があり、テープカウンタの信頼性を失うものであ
つた。そこで、このような誤動作を防止する為に、テー
プカウンタのカウント機能部を他の処理の回路系と分離
し、単独で動作させる方法が考えられるが、このような
方法ではその回路構成が複雑化するばかりでなく高価な
ものになつてしまう欠点がある。However, as shown in Figure d, other processes such as counting
If the pulse is superimposed on the input pulse in a above, the counter cannot detect that a new input pulse has arrived, and in the end, it is assumed that the input as shown in e of the same figure has been received, and the result as shown in f of the same figure is generated. Obtain the count value. Note that this count value starts from "10". In this way, with conventional electronic counters, if input pulses and other processing such as counting overlap in time, counting for input pulses of "1" or "2" or more is difficult. However, the reliability of the tape counter may be lost. Therefore, in order to prevent such malfunctions, a method can be considered to separate the counting function section of the tape counter from other processing circuits and operate it independently, but such a method would complicate the circuit configuration. It has the disadvantage that it not only works, but also becomes expensive.
また、表示装置に例えば液晶表示装置を用いた場合には
、液晶表示素子の応答速度等の関係から特に早送りある
いは巻き戻し等の高速走行時には、表示内容の読取りが
困難となり、表示されたカウント内容から所望する位置
でテープ走行を停止させることが困難となつてテープカ
ウンタとしての機能を十分に発揮し得ないという問題も
あつた。In addition, when a liquid crystal display device is used as the display device, it becomes difficult to read the displayed contents, especially when driving at high speeds such as fast forwarding or rewinding, due to the response speed of the liquid crystal display element. There was also a problem in that it was difficult to stop the tape running at a desired position, and the function as a tape counter could not be fully demonstrated.
一方、磁気録音再生装置のテープ走行モードはプレイあ
るいはリバースの低速走行と早送りあるいはリワインド
の高速走行とに分けることが出来、これらの2つのモー
ドを同様の計数形態で行なうと、そのいずれかのモード
に於ては正確な動作が成し得たとしても、他のモードで
は誤動作あるいは表示の不自然さ等が起こり、いずれの
モードに於ても正確で、且つ読取りも容易な計数方式の
開発が望まれていた。On the other hand, the tape running mode of a magnetic recording/playback device can be divided into low-speed running for play or reverse and high-speed running for fast forward or rewind. Even if accurate operation can be achieved in other modes, malfunctions or unnatural displays may occur in other modes, making it difficult to develop a counting method that is accurate and easy to read in any mode. It was wanted.
本発明は上記事情に鑑みてなされたもので、回転体がい
ずれの動作モードで動作中中かを検出し、一方のモード
ではあらい計数を、他方のモードでは細かい計数を行な
うようにした計数方式を提供することを目的とする。The present invention has been made in view of the above circumstances, and is a counting method that detects in which operating mode the rotating body is operating, and performs rough counting in one mode and fine counting in the other mode. The purpose is to provide
本発明は、上記目的を達成する為に回転体の回転周期に
対しパルス発生器から出力されるパルス周期をn:1と
すると共に、走行モードを指定する指定手段の状態を検
出して、高速走行時には上記パルス周期毎に所定値の計
数を行ない、低速走行時には上記パルス周期及びこのパ
ルス周期から予測される上記回転体の原回転周期毎に所
定値の計数を行なうようにしたもので、以下第2図乃至
第7図を参照しながら本発明を計時機能を有する磁気録
音再生装置に適用した場合の一実施例について説明する
。In order to achieve the above object, the present invention sets the pulse period output from a pulse generator to n:1 with respect to the rotation period of a rotating body, detects the state of a specifying means for specifying a running mode, and provides a high-speed When running, a predetermined value is counted for each of the above pulse periods, and when running at low speed, a predetermined value is counted for each of the above pulse periods and the original rotation period of the rotating body predicted from this pulse period. An embodiment in which the present invention is applied to a magnetic recording/reproducing device having a timekeeping function will be described with reference to FIGS. 2 to 7.
即ち、第2図は本実施例の概略構成を示すもので、図中
1はカセットテープである。That is, FIG. 2 shows a schematic configuration of this embodiment, and numeral 1 in the figure is a cassette tape.
このカセットテープ1は装着部2に装着されて、所定の
連動機構(図示せす)によりモータ3の回転に追動する
キヤプスタン軸4aによつて回動されるピンチローラ4
及びリール軸5,,5。によつて走行駆動される。6は
後述するパルス発生器8を回転駆動する為の第1のプー
リ一であり、この第1のプーリ−6はフライングホイー
ル及びアイドラー等の所定の連動機構(図示せす)を介
してモータ3に回転駆動され、その回転はベルト7によ
つてパルス発生器8に設けられた第2のプーリ−9に伝
達される。This cassette tape 1 is mounted on a mounting section 2, and a pinch roller 4 is rotated by a capstan shaft 4a that follows the rotation of a motor 3 by a predetermined interlocking mechanism (not shown).
and reel shafts 5,,5. It is driven to travel by. Reference numeral 6 designates a first pulley 1 for rotationally driving a pulse generator 8, which will be described later. The rotation of the pulse generator 8 is transmitted by the belt 7 to a second pulley 9 provided on the pulse generator 8.
なお、上記第1のプーリ−6と第2のプーリ−9との径
比はa:b(キヤプスタン軸4aあるいはリール軸51
,52と第2のプーリ一9との回転比はn:1)になつ
ており、機構的手段による分周器が構成されている。パ
ルス発生器8は、第2のプーリ−9と一体的構成の円板
状電極17と検出子11とにより構成され、検出子11
は円板状電極10の周縁に弾性的に接触している。また
、円板状電極10はその周縁の一部10aに絶縁部が設
けられている他は少なくともその周縁が導電性とされて
おり、この導電性部分は回転軸を介して接地されている
。一方、上記検出子11は抵抗12を介して+V(ボル
ト)の電位にプールアップされている為、円板状電拠1
0の回転により相対的に検出子11がその周縁上を摺動
することによつて論理’’1’’(+V)及び゛’0’
’(接地)の各出力が得られる。即ち、この出力は円板
状電極10の絶縁部10aと検出子11とが接触してい
る状態で’“1’’、円板状電極10の絶縁部10a以
外の周縁(導電性)と検出子11とが接触している状態
で’’0’゛となるもので、その周期はキヤプスタン軸
4aあるいはリール軸5,,5。(以後このキヤプスタ
ン軸4a及びリール軸5,,5。を単に枢動部と略称す
る)の回転周期とn:1の関係になつている。しかして
、この検出子11から得られた出力信号は、論理゛’0
’’から’’1’’への立上りを検出してワンショット
のトリガ−パルスを発生するワンショット回路13に入
力される。一方、14は高速時カウント、低速時カウン
ト、計時、その他の機能の各機能を制御する各コントロ
ーラ15a,15b,15c及び15dと、これ等各コ
ントローラ15a〜15dにより制御されて各機能のカ
ウントを行う計数回路16等からなるロジック部であり
、上記ワンショット回路13から出力されたトリガ−パ
ルスはアンドゲート17を介して高速時カウントコント
ローラ15aに、アンドゲート18を介して低速時カウ
ントコントローラ15bに夫々印加される。The diameter ratio of the first pulley 6 and the second pulley 9 is a:b (capstan shaft 4a or reel shaft 51).
, 52 and the second pulley 19 is n:1), forming a frequency divider by mechanical means. The pulse generator 8 is composed of a second pulley 9, a disc-shaped electrode 17 integrally configured, and a detector 11.
is in elastic contact with the periphery of the disc-shaped electrode 10. Further, the disc-shaped electrode 10 has an insulating portion provided on a portion 10a of its periphery, and at least its periphery 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 +V (volts) via the resistor 12, the disc-shaped voltage base 1
As the detector 11 slides on its periphery due to the rotation of 0, logic ``1'' (+V) and ``0'' are generated.
'(ground) output is obtained. 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 it is detected when the peripheral edge (conductive) of the disc-shaped electrode 10 other than the insulating part 10a is detected. The period is ``0'' when the child 11 is in contact with the capstan shaft 4a or the reel shafts 5, 5. There is a relationship of n:1 with the rotation period of the pivoting part (abbreviated as "pivoting part").The output signal obtained from this detector 11 has a logic value of "0".
The signal is input to a one-shot circuit 13 which detects the rising edge from ``1'' to ``1'' and generates a one-shot trigger pulse. On the other hand, numeral 14 includes controllers 15a, 15b, 15c, and 15d that control high-speed time counting, low-speed time counting, timekeeping, and other functions, and controllers 15a to 15d that control the counting of each function. The trigger pulse output from the one-shot circuit 13 is passed through an AND gate 17 to a high-speed count controller 15a, and via an AND gate 18 to a low-speed count controller 15b. are applied respectively.
高速時カウントコントローラ15aは、このトリガ−パ
ルスが印加されることにより、コード発生器19に所定
値のコード信号を発生させるコード発生指令信号を与え
ると共に、計数指令信号を出力し、この計数指令信号は
アンドゲート20の一方の入力端に開閉制御信号として
印加される。また、このアンドゲート20の他方の入力
端にはコード発生器19から出力されるコード信号「n
」が印加されており、アンドゲート20からは計数指令
信号が印加される毎に「n」のコード信号が出力され、
このコード信号はオアゲート21を介して計数回路16
に与えられる。低速時カウントコントローラ15bは、
ワンショット回路13から出力されたトリガ−パルスが
アンドゲート18を介して与えられることによりパルス
間隔の計数を開始して、次のトリガ−パルスが印加され
るまでその動作を続けると共に、前回のパルス間隔を計
数した値に基づいて駆動部の原回転周期を予測し計数さ
せる動作の夫々を制御するものて、上記高速時カウント
コントローラ15aと同様にコード発生器19に対する
コード発生指令信号及び計数指令信号を出力する。しか
して、この計数指令信号がその一方の入力端に印加され
ているアンドゲート27は他方の入力端に印加されてい
るコード発生部19の出力を上記計数指令信号が印加さ
れる毎に出力し、オアゲート21を介して計数回路16
に与える。なお、この計数回路16には、高速度あるい
は低速時に於るテープ走行量のカウンタの他に計時用カ
ウンタ等が含まれており、これ等各カウンタは夫々の機
能を制御する各コントローラ15a〜15dにより制御
されている。また、22は高速走行モードあるいは低速
走行モードを選択するモードスイッチ(プレイ、早送り
等の釦あるいはそれに連動したスイッチ)であり、その
固定接点22aはプールアップ抵抗23を介して高電位
側の+V(ボルト)に接続されると共に、直接及びイン
バータ24を介して上記アンドゲート17,18に印加
され、これ等アンドゲート17,18の出力を制御して
いる。即ち、モードスイッチ22の可動接点22bが固
定接点22aに対し開放状態のときはロジック部14へ
の入力が+V(ボルト)(論理“’1’’)となつてア
ンドゲート17が開成され、閉成状態のときは0(ボル
ト)(論理’’o’’)がロジック部14に入力される
ことによりアンドケート18が開成されて、夫々高速時
カウント及び低速時カウントが実行される。一方、この
モードスイッチ22の出力は回転駆動部の動作を制御す
る走行駆動制御部25にも印加され、上記駆動部はこの
走行駆動制御部25に制御されてその走行速度を適宜変
更する。なお、走行速度の切換については、このような
モードスイッチ22により電気的に制御することなく、
所定の連動機構による機構的手段によることも可能であ
る。しカルて、ロジック部14からは上記計数回路16
内の所定のカウンタの内容が適宜選択されて出力し表示
部26に印加されて同時的あるいは排他的に表示される
と共に、上記走行駆動制御部25に対する制御信号も出
力されている。When this trigger pulse is applied, the high-speed count controller 15a gives a code generation command signal to the code generator 19 to generate a code signal of a predetermined value, and also outputs a counting command signal. is applied to one input terminal of the AND gate 20 as an opening/closing control signal. The other input terminal of the AND gate 20 also has a code signal "n" output from the code generator 19.
” is applied, and the AND gate 20 outputs a code signal of “n” every time the counting command signal is applied.
This code signal is passed through the OR gate 21 to the counting circuit 16.
given to. The low speed count controller 15b is
When the trigger pulse outputted from the one-shot circuit 13 is applied via the AND gate 18, counting of pulse intervals is started, and the operation continues until the next trigger pulse is applied. A code generation command signal and a counting command signal are sent to the code generator 19 similarly to the high-speed count controller 15a, which control the operation of predicting and counting the original rotation period of the drive unit based on the counted value of the interval. Output. The AND gate 27, to which this counting command signal is applied to one input terminal, outputs the output of the code generator 19, which is applied to the other input terminal, every time the counting command signal is applied. , the counting circuit 16 via the OR gate 21
give to Note that this counting circuit 16 includes a counter for measuring the amount of tape travel at high speed or low speed, as well as a time counter, etc., and each of these counters is connected to each controller 15a to 15d that controls the respective functions. controlled by. Further, 22 is a mode switch (play, fast forward, etc. button or a switch linked thereto) for selecting high speed driving mode or low speed driving mode, and its fixed contact 22a is connected to the high potential side +V ( Volt) and is applied directly and via the inverter 24 to the AND gates 17 and 18, thereby controlling the outputs of the AND gates 17 and 18. That is, when the movable contact 22b of the mode switch 22 is in an open state with respect to the fixed contact 22a, the input to the logic section 14 becomes +V (volt) (logic "'1"), and the AND gate 17 is opened and closed. When it is in the positive state, 0 (volt) (logic ``o'') is input to the logic section 14, and the AND gate 18 is opened, and high-speed counting and low-speed counting are respectively performed.On the other hand, The output of this mode switch 22 is also applied to a travel drive control section 25 that controls the operation of the rotation drive section, and the drive section is controlled by this travel drive control section 25 to change its travel speed as appropriate. The speed can be changed without electrical control using such a mode switch 22.
It is also possible to use mechanical means using a predetermined interlocking mechanism. Therefore, from the logic section 14, the above-mentioned counting circuit 16
The contents of the predetermined counters are appropriately selected and outputted and applied to the display section 26 to be displayed simultaneously or exclusively, and a control signal to the traveling drive control section 25 is also outputted.
次に、第2図に於るロジック部14の具体的な構成につ
いて第3図を参照しながら説明する。Next, the specific configuration of the logic section 14 in FIG. 2 will be explained with reference to FIG. 3.
なお、第2図に於るロジック部14はその概略を示した
ものである為、第3図に於ては新たな参照番号を付して
説明する。即ち、第3図に於て31はロジック部14内
の各回路の動作を制御するマイクロプログラムが固定的
に記憶されているROM(リードオンリメモリ)であり
、このROM3lからは、後述するRAM32に対する
行アドレス指定信号〔Ftl〕、〔Su〕、計数データ
「n」等の種々のコード信号〔c〕、上記RAM32の
処理列を指定する列アドレス指定信号〔FNSL〕、種
々の動作命令〔INS〕及び自己の次アドレスを指定す
る次アドレス信号〔NA〕が夫々パラレルに出力してお
り、次アドレス信号〔NA〕はアドレス修飾回路33及
びアドレスバッファ34を介してアドレスデコーグ35
に入力される。アドレスデコーダ35は、入力されたア
ドレス情報に基づきROM3lのアドレス指定を行うも
ので、これ等ROM3l及びアドレスレコータ35によ
り各回路に対するシーケンシャルコントロールを遂行す
るマイクロプログラムコントローラが形成されている。
また、上記ROM3lから出力される行アドレス指定信
号「Fu」及び「Su」は、夫々のタイミング信号(タ
イミング信号については後述)ち及びちに開閉制御され
るアンド回路36及び37に、列アドレス指定信号〔F
)SL〕はRAM32の処理列〔所謂桁)を指定制御す
るアドレスカウンタ等を含む列アドレスコントローラ3
8に、そして、動作命令〔INS〕はこの命令内容を解
読して各種制御信号0,〜0,。及び列アドレスコント
ローラ28に対する制御信号を出力するインストラクシ
ョンデコーダ39に夫々送出されている。また、コード
信号〔c〕の出力はインストラクションデコーダ39か
ら出力される制御信号0,によつて開閉制御されるアン
ド回路40に送出されている。一方、上記罎W32は第
4図にその詳細を示す如く、夫々が6桁構成で行方向に
配設されている各エリアA乃至E(以下このエリアのこ
とをレジスタと称呼する)で構成されている。Note that since the logic section 14 in FIG. 2 is only schematically shown, new reference numbers will be added to the explanation in FIG. 3. That is, in FIG. 3, 31 is a ROM (read only memory) in which a microprogram that controls the operation of each circuit in the logic section 14 is fixedly stored. Row address designation signals [Ftl], [Su], various code signals [c] such as count data "n", column address designation signal [FNSL] that designates the processing column of the RAM 32, various operation commands [INS]. and a next address signal [NA] specifying its own next address are output in parallel, and the next address signal [NA] is sent to an address decoder 35 via an address modification circuit 33 and an address buffer 34.
is input. The address decoder 35 specifies the address of the ROM 3l based on input address information, and the ROM 3l and the address recorder 35 form a microprogram controller that performs sequential control over each circuit.
In addition, the row address designation signals "Fu" and "Su" output from the ROM 3l are sent to AND circuits 36 and 37, which are controlled to open and close by respective timing signals (the timing signals will be described later), to designate a column address. Signal [F
) SL] is a column address controller 3 including an address counter etc. that specifies and controls processing columns (so-called digits) of the RAM 32.
8, and the operation command [INS] decodes the contents of this command and outputs various control signals 0, to 0,. and an instruction decoder 39 which outputs a control signal to the column address controller 28. Further, the output of the code signal [c] is sent to an AND circuit 40 whose opening and closing are controlled by a control signal 0 outputted from the instruction decoder 39. On the other hand, as shown in detail in FIG. 4, the above W32 is composed of areas A to E (hereinafter referred to as registers) each having six digits and arranged in the row direction. ing.
しかして、レジスタAの第1桁目乃至4桁目は高速走行
時あるいは低速走行時に於るテープの走行量をカウント
した計数値を記憶し、第5桁目は低速走行時に於いて予
測された回転体の原回転周期毎に「1」づつカウントし
た値を記憶し、更に第6桁目は低速走行時に於てワンシ
ョット回路13から第1回目の出力が成されたことを示
すスタートフラッグを記憶するものである。また、レジ
スタBは低速走行時に於てワンショット回路13から出
力されるパルスの間隔の計数値を記憶するものである。
レジスタCは、低速走行時に於て駆動部の原回転周期を
予測する為に前回のパルス間隔の計数値を一時記憶する
ものであり、レジスタDはパルス間隔の計数値から上記
原回転周期を予測する為に使用されるものである。更に
、レジスタEは計時機能を遂行する為に使用されるレジ
スタである。しかして、このRAM32の各レジスタの
指定は、上記アンド回路36及び37の一括出力、即ち
ROM3lの行アドレス指定信号〔Fu〕あるいは〔S
u〕がRAM32の行アドレス入力端〔RAU〕に印加
されることによつて成される。Therefore, the 1st to 4th digits of register A store the count value that counted the amount of tape travel during high-speed or low-speed travel, and the 5th digit stores the predicted value during low-speed travel. A value counted by "1" is stored for each original rotation period of the rotating body, and the sixth digit is a start flag indicating that the first output is made from the one-shot circuit 13 during low-speed running. It is something to remember. Further, register B stores the count value of the interval between pulses output from the one-shot circuit 13 during low-speed running.
Register C temporarily stores the count value of the previous pulse interval in order to predict the original rotation period of the drive unit during low-speed running, and register D predicts the original rotation period from the count value of the pulse interval. It is used to do. Additionally, register E is a register used to perform timekeeping functions. Therefore, the designation of each register of the RAM 32 is determined by the collective output of the AND circuits 36 and 37, that is, by the row address designation signal [Fu] or [S
u] is applied to the row address input terminal [RAU] of the RAM 32.
また、その処理列(桁)は、ROM3lから出力された
列アドレス指定信号〔F)SL〕に基づいて列アドレス
コントローラ38から出力された列アトレスがRAM3
2の列アドレス入力端〔RAL〕に印加されることによ
つて成され、RAM32はこれ等各アドレス入力端〔R
AU〕及び〔RAL〕に印加されたアドレスに基づいて
、そのアドレスのデータを出力端〔0UT〕から出力す
る。なお、RAM32には上記各アドレスの他にタイミ
ング信号ら及び上記制御信号0。が印加されているアン
ド回路41の出力が読み出し/書き込み制御(R/W)
信号として印加されており、このR/W信号が’“0’
’の時は読み出し、’“1’’の時は書き込みの制御が
行なわれている。しかして、RAM32の出力端〔0U
T〕から出力されたデータは、そのデータが上記行アド
レス指定信号〔Su〕に指定されたレジスタの内容であ
る場合には読み込みクロックT,・φ1が印加されてい
るバッファ42、開閉制御信号T,・0。Further, the column address outputted from the column address controller 38 based on the column address designation signal [F)SL] outputted from the ROM 31 is stored in the RAM 31 for the processing column (digit).
2 column address input terminals [RAL], and the RAM 32 applies these to each address input terminal [RAL].
Based on the address applied to [AU] and [RAL], data at that address is output from the output terminal [0UT]. In addition to the above addresses, the RAM 32 also contains timing signals and the above control signal 0. The output of the AND circuit 41 to which is applied is read/write control (R/W)
It is applied as a signal, and this R/W signal is '0'.
When it is ``1'', reading is being controlled, and when it is ``1'', writing is being controlled.
If the data is the contents of the register specified by the row address designation signal [Su], the data output from the buffer 42 to which the read clock T,·φ1 is applied, and the opening/closing control signal T ,・0.
が印加されているアンド回路43を介して演算回路44
の一方の入力端aに送出され、行アドレス指定信号〔F
u〕に指定されたレジスタの内容である楊合には開閉制
御信号V−0。が印加されているアンド回路45を介し
て演算回路44の他方の入力端bに送出される。なお、
アンド回路45には上記アンド回路40の出力、即ちR
OM3lから出力されるコード信号〔c〕も印加されて
おり、RAM32から読み出されたデータと同様に演算
回路44の他方の入力端bに送出されている。この演算
回路44は、上記制御信号qにより制御されて加減算等
の演算を実行するアダー及ひその周辺回路から成るもの
で、入力端A,bから入力されたゼータに基づき所定の
演算を実行してその結果(データ)及びキャリー/ボロ
ー信号を出力する。しかして、演算回路44から出力さ
れたゼータは、RAM32のデータ入力端〔IN〕に送
出されると共に出力デコーダ46及びオアゲート47に
印加され、RAM32は上述したR /W信号が’’1
’’となつた際にデータ入力端〔IN〕に印加されたデ
ータを書き込む。なお、RAM32内の書き込むべきア
ドレスは上記読み出しと同様のJアドレス指定によつて
いる。また、出力テコーダ46は上記制御信号0。によ
り制御され演算回路44から送出されたデータに基づい
て、第2図に示した走行駆動制御部25に対する制御信
号を出力すると共に、入力されたデータを表示用データ
に変換し、各表示桁に対応して設けられた複数のバッフ
ァから成る表示バッファ48に送出する。表示バッファ
48は、出力デコーダ46から送出された表示用データ
をスタティックに記憶し、その出力は所定の駆動回路(
図示せす)を介して第2図に示した表示部26に送出さ
れる。一方、オアゲート47の出力は上記制御信号07
により制御される判断用ラッチ回路49のデータ側ラッ
チ49aに印加され、また、演算回路44から出力され
たキャリー/ホロー信号は直接判断用ラッチ回路49の
キャリー/ボロー側ラッチ49bに印加される。is applied to the arithmetic circuit 44 via the AND circuit 43 to which
is sent to one input terminal a of the row address designation signal [F
Open/close control signal V-0 when the contents of the register specified by [u] are changed. is sent to the other input terminal b of the arithmetic circuit 44 via the AND circuit 45 to which is applied. In addition,
The AND circuit 45 receives the output of the AND circuit 40, that is, R
A code signal [c] output from the OM 3l is also applied, and is sent to the other input terminal b of the arithmetic circuit 44 in the same way as the data read out from the RAM 32. This arithmetic circuit 44 consists of an adder and its peripheral circuits that execute operations such as addition and subtraction under the control of the control signal q, and executes predetermined operations based on the zeta input from input terminals A and b. and outputs the result (data) and carry/borrow signal. The zeta output from the arithmetic circuit 44 is sent to the data input terminal [IN] of the RAM 32 and is also applied to the output decoder 46 and the OR gate 47.
'', the data applied to the data input terminal [IN] is written. Note that the address to be written in the RAM 32 is determined by the J address designation similar to the above reading. Further, the output tecoder 46 receives the above control signal 0. Based on the data sent from the arithmetic circuit 44, it outputs a control signal to the travel drive control section 25 shown in FIG. The data is sent to a display buffer 48 consisting of a plurality of correspondingly provided buffers. The display buffer 48 statically stores the display data sent from the output decoder 46, and its output is sent to a predetermined drive circuit (
(not shown) to the display section 26 shown in FIG. On the other hand, the output of the OR gate 47 is the control signal 07
The carry/hollow signal output from the arithmetic circuit 44 is directly applied to the carry/borrow side latch 49b of the judgment latch circuit 49.
しかして、この判断用ラッチ回路49の夫々のラッチ4
9a,49bの出力JL及びJHは、夫々上記制御信号
08により開閉制御されるアンドゲート50,51を介
してアドレス修飾回路33のオアゲート33a,33b
に印加され、ROM3lから出力される次アドレス信号
〔NA〕を修飾する。また、52は計時用の基本周波数
を出力する水晶振動子等で構成された発振器で、その発
振出力は所定の段数を有する分周器53に印加され、分
周器53は1秒周期の信号(1秒信号)を出力しこの1
秒信号が出力されたことを記憶する1秒ラッチ54に印
加する。Therefore, each latch 4 of this judgment latch circuit 49
The outputs JL and JH of 9a and 49b are connected to the OR gates 33a and 33b of the address modification circuit 33 via AND gates 50 and 51, respectively, whose opening and closing are controlled by the control signal 08.
, and modifies the next address signal [NA] output from the ROM 3l. Further, 52 is an oscillator composed of a crystal oscillator or the like that outputs a fundamental frequency for timekeeping, and the oscillation output is applied to a frequency divider 53 having a predetermined number of stages, and the frequency divider 53 receives a signal with a period of 1 second. (1 second signal) and output this 1
The second signal is applied to the one second latch 54 which stores that the second signal has been output.
そして、この1秒ラッチ54の出力は上記制御信号09
により開閉制御されるアンドゲード55を介してアドレ
ス修飾回路33のオアゲート33cに送出され、上記判
断用ラッチ回路49の各出力と同様ROM3lから出力
される次アドレス信号〔NA〕を修飾する。更に、第2
図に於るワンショット回路13の出力は上記1秒ラッチ
と同様の機能を有する計数ラッチ56にセット信号とし
て印加され、この計数ラッチ56の出力は上記制御信号
0,0により開閉制御されるアンドゲート57を介して
アドレス修飾回路33のオアゲート33dに印加され、
上述したと同様次アドレス信号〔NA〕を修飾する。な
お、上記各ラッチ54及ひ56は、夫々上記制御信号0
,,及び0,2によりリセットされる如く構成されてい
る。また第2図に於るモードスイッチ22の出力は、イ
ンストラクションデコーダ39から出力される制御信号
0,3によつて開閉制御されるアンドケート58を介し
てアドレス修飾回路33のオア回路33eに印加され、
上述したアンド回路50,51,55,57と同様な方
法でもつてアドレス修飾する。The output of this one second latch 54 is the control signal 09.
It is sent to the OR gate 33c of the address modification circuit 33 via the AND gate 55, which is controlled to open and close by, and modifies the next address signal [NA] output from the ROM 3l, similarly to each output of the judgment latch circuit 49. Furthermore, the second
The output of the one-shot circuit 13 in the figure is applied as a set signal to a counting latch 56 which has the same function as the one-second latch described above, and the output of this counting latch 56 is connected to an AND gate whose opening and closing are controlled by the control signals 0 and 0 described above. applied to the OR gate 33d of the address modification circuit 33 via the gate 57;
The next address signal [NA] is modified in the same way as described above. Note that each of the latches 54 and 56 receives the control signal 0.
, , and 0, 2. Furthermore, the output of the mode switch 22 in FIG. ,
The address is modified in the same manner as the AND circuits 50, 51, 55, and 57 described above.
一方、分周器53の所定の分周段からは上記各回路を駆
動するクロック信号φ,,φ。On the other hand, from a predetermined frequency division stage of the frequency divider 53, clock signals φ, φ, which drive each of the circuits described above are output.
が出力されており、この各クロック信号φ,,φ。は上
記回路に送出されると共にタイミング信号発生回路59
に送出される。このタイミング信号発生回路59は、入
力されたクロック信号φ,,φ。により各々は重畳せす
、且つ順次出力されるタイミング信号ち,T2及びT3
を出力し、上述した各ゲート回路に送出すると共にイン
ストラクションデコーダ39に送出する。なお、このタ
イミング信号発生回路59がち〜ちのタイミング信号を
発生するのは、本実施例の場合RAM32が第1表に示
す如く三相て動作する為である。次に、第5図のフロー
チャート及び第6図、第7図のタイムチャートを参照し
ながら上記の如くの構成に於る動作について説明する。are output, and these clock signals φ,,φ. is sent to the above circuit and also to the timing signal generation circuit 59.
will be sent to. This timing signal generation circuit 59 receives input clock signals φ, φ. The timing signals T2 and T3 are superimposed and output sequentially.
is output and sent to each of the gate circuits mentioned above, as well as to the instruction decoder 39. The reason why the timing signal generating circuit 59 generates the different timing signals is that in this embodiment, the RAM 32 operates in three phases as shown in Table 1. Next, the operation of the above configuration will be explained with reference to the flowchart of FIG. 5 and the time charts of FIGS. 6 and 7.
なお、第5図中t及びNtの記載は、そのステップある
いは処理に要する時間を示したもので、tは上記第1表
に示したtl〜T3の1サイクルの処理時間である。従
つて、複数桁の処理を実行した際にはその処理桁数×t
の処理時間を要するものである。また、本実施例に於て
は説明の便宜上nを仮にn=4として説明する。まず始
めに、第5図及び第6図を参照しながら第2図に示した
モードスイッチ22が開放状態で、高速走行が指示され
ている場合について説明する。Note that t and Nt in FIG. 5 indicate the time required for the step or process, and t is the processing time for one cycle from tl to T3 shown in Table 1 above. Therefore, when processing multiple digits, the number of processed digits x t
This process requires a long processing time. Further, in this embodiment, for convenience of explanation, n will be explained assuming that n=4. First, with reference to FIGS. 5 and 6, a case will be described in which the mode switch 22 shown in FIG. 2 is in an open state and high-speed driving is instructed.
即ち、第6図に於てaはテープ走行指示状態を、bはキ
ヤプスタン軸あるいはリール軸の回転周期を、cは第2
図に於るワンショット回路13の出力状態を夫々示した
もので、同図b及びcの位相のすれは、スタート時点て
円板状電極10の絶縁部10aが検出子11と接触して
いないことによつて起るものである。That is, in FIG. 6, a indicates the tape running instruction state, b indicates the rotation period of the capstan shaft or reel shaft, and c indicates the second
The output states of the one-shot circuit 13 in the figure are shown respectively, and the phase shift in b and c in the figure is due to the fact that the insulating part 10a of the disc-shaped electrode 10 is not in contact with the detector 11 at the starting point. It is caused by something.
しかして、今、第6図に示す時亥!IA,で同図aに示
す如くテープ走行が指示されたとすると、第5図に示す
「START」から各ステップが実行され、まずステッ
プS1に進む。ステップS1は、計数ラッチ56がセッ
トされたか否か、即ち第2図に示したワンショット回路
13から出力があつたか否かを検出するもので、インス
トラクションデコーダ39からは制御信号0,0が出力
しているが、計数ラッチ66がセットされるまではアン
ドゲート67は出力しない為アドレス修飾されることな
く第6図fに示すこのステップS,を繰り返している。
しかして、第6図に示す時刻A。で同図cに示す如くま
ず第1発目のパルスがワンショット回路13から出力さ
れると計数ラッチ56はセットされ、その出力はアンド
ケート57を介してアドレス修飾回路33のオアケート
33dに印加されることにより次にステップS2に進む
。このステップS2は計数ラッチ56をリセットするも
ので、インストラクションデコーダから制御信号0,2
が出力されることによつて成され次にステップS3に進
む。ステップS3は、Aレジスタの第1桁目乃至第4桁
目に「n /2(=2月を加算するもので、RAM32
の各アドレス入力端〔RAU〕、〔RAL〕には夫々A
レジスタを指定するアドレス及び列アドレス1乃至4が
ROM3lの〔Su〕及び列アドレスコントローラ38
から夫々出力され、A,〜。の内容(今は0)が順次読
み出される。そして、RAM32のデータ出力端〔0U
T〕から出力されたこのデータは、バッファ42及びア
ンド回路43を介して演算回路44の一方の入力端aに
印加され、一方、ROM3lのコード信号〔c〕は「n
/2 (=2月を出力し、この「n/2」がアンド回路
40及び45を介して演算回路44の他方の入力端bに
印加される。演算回路44は、これ等各入力端a及びb
からの入力されたデータを、インストラクションデコー
ダ39から与えられた加算を示す制御信号05に基づい
て加算(0+n/2 (=2))し、その結果「2」を
第6図iに示す如く再びRAM32のAレジスタA,〜
。に書き込む。なお、このステップS3でn/2を加算
しているのは、スタート時点ではパルス発生器8の円板
状電極10の絶縁部10aと検出子11とがどのような
位置関係にあるかが不定である為、一番確率の高いn/
2を加算しているものであり、このステップS。を終了
すると次にステップS。に進む。ステップS4は、Aレ
ジスタの第1桁目乃至第4桁目の内容を表示バッファ4
8に送出するもので、RAM32の各アドレス入力端〔
RAU〕及び〔RAL〕にはAレジスタ及ひ「1〜4」
を指定する各アドレスが入力され、RAM32から読出
されたデータが演算回路44及び出力デコーダ46等を
介して適宜の処理が施され表示バッファ48に印加され
ることによつて成され、その表示内容は第6図jに示す
如く「2」となつて次にステップS5に進む。ステップ
S5は、第2図に示したモードスイッチが開放状態(論
理’’1’’)あるいは閉成状態(論理’’O’’)の
いずれであるか、換言すれば高速走行状態であるか低速
走行状態であるかを検出しているもので、インストラク
ションデコーダ39からは制御信号0,。が出力されア
ンドゲート58に印加することによつて行なわれる。し
かして、今は高速走行が指示されている為このステップ
S。に於る判断の結果は「YES」、即ちアンドゲート
58からは’’1’’が出力されてオアゲート33eに
印加されることによりアドレス修飾されて次にステップ
S6に進む。なお、上記ステップS。〜S。まての処理
時間は第6図gに示す如くてある。ステップS6は、上
記ステップS1と略同様の動作により1秒ラッチ54の
セット状態を検出するもので、インストラクションデコ
ーダ39からは制御信号0。が出力されアンドゲート5
5に印加されるが、1秒ラッチ54は第6図eに示す如
くリセット状態にあるのでアンドゲート58から出力は
なく、その判断結果は「NO」となつて次にステップS
7に進む。ステップS7は上記ステップS,と同様の動
作によつて計数ラッチ56のセット状態を検出するもの
であるが、今は第6図dに示す如く計数ラッチ56がリ
セット状態にあるのでアンドゲート57からは出力がな
く、その判断結果は「NO」となつて次にステップS8
に進む。ステップS8は、上記ステップS5と同様の動
作によつてモードスイッチ22の状態を検出するが、今
は開放状態にある為、アンドゲート58は’゛1’’を
出 ノカし、その判断結果は「YES」となつて次にス
テップS。に戻り、次に1秒ラッチ54あるいは計数ラ
ッチ56がセットされるまでこのステップS6〜S。を
第6図fに示ず如く繰り返し実行する。しかして、第6
図に示す時刻A3で同図cに示す如くワンショット回路
13からトリガ−パルスが出力され、計数ラッチ56が
同図dに示す如くセットされると、このセット状態がス
テップS7で検出され、次にステップS9に進む。ステ
ップS9は、実質的には何等処理しているものではなく
、後述する低速モードに於るパルス間隔の計数に誤差を
生じさせない為に実行されているものであり、Aレジス
タの第1桁目及び2桁目の読み出し及び書き込みを行い
次にステップSIOに進む。ステップSIOは上記ステ
ップS。と同様に計数ラッチ56をリセットするもので
、このステップSIOを終了すると次にステップSll
に進む。ステップSllは上述したステップS5と同様
であり、今は「YES」と判断されて次にステップSl
2に進む。ステップSl2は、上記ステップS3と略同
様の動作をするもので、高速走行の場合は上記駆動部の
回転周期に対してワンショット回路13の出力周期がn
(=4):1となつていることにより、このn (=
4)を加算するもので、ROM3lのコード信号〔c〕
は「4」を出力し演算回路44でAレジスタA,〜。に
加算することによつて行なわれ、その結果「6」が第6
図iに示す如く再びRAN32のAレジスタに書き込ま
れて次にステップSl。に進む。ステップSl3は、上
記ステップS。と同様なもので、AレジスタのA1〜,
の内容「6」は表示バッファ48に送出され、表示部2
6には第6図jに示す如く「6」が表示されて次にステ
ップS6に戻る。なお、上記ステップS8からこのステ
ップSl3・までの処理時間は第6図gに示す如くであ
る。このように、高速走行時にはステップS6〜S8に
よつて1秒ラッチ54あるいは計数ラッチ56のいずれ
かがセットされたか否かを検出し、計数ラッチ56がセ
ットされたことが検出された際にはステ・ノブS9〜S
l3を実行してAレジスタに「n (=4)」ずつ加算
(計数)するものであり、第6図に於る時亥ハ。及びA
,で同図dに示す如く計数ラッチ56がセットされたこ
とが検出されると、Aレジスタ及び表示状態は同図I,
jに示す如くi「10」、「14」となる。しかして、
上述した時刻A5の処理が終了し、ステップS。However, now the time shown in Figure 6! If tape running is instructed at IA, as shown in FIG. 5A, each step is executed from "START" shown in FIG. Step S1 is to detect whether the counting latch 56 is set, that is, whether there is an output from the one-shot circuit 13 shown in FIG. However, since the AND gate 67 does not output until the counting latch 66 is set, this step S shown in FIG. 6f is repeated without address modification.
Therefore, time A shown in FIG. When the first pulse is output from the one-shot circuit 13 as shown in FIG. The process then proceeds to step S2. This step S2 is to reset the counting latch 56, and the control signals 0 and 2 are sent from the instruction decoder.
is output, and the process then proceeds to step S3. Step S3 is to add "n/2 (= February) to the first to fourth digits of the A register.
The address input terminals [RAU] and [RAL] of
The address specifying the register and column addresses 1 to 4 are [Su] of the ROM 3l and the column address controller 38
are outputted from A, ~, respectively. The contents (currently 0) are read out sequentially. Then, the data output terminal of RAM32 [0U
This data output from [T] is applied to one input terminal a of the arithmetic circuit 44 via the buffer 42 and the AND circuit 43, while the code signal [c] of the ROM 3l is
/2 (=February) is output, and this "n/2" is applied to the other input terminal b of the arithmetic circuit 44 via the AND circuits 40 and 45. and b
The input data is added (0+n/2 (=2)) based on the control signal 05 indicating addition given from the instruction decoder 39, and the result "2" is added again as shown in FIG. 6i. A register A of RAM32, ~
. write to. The reason why n/2 is added in step S3 is that the positional relationship between the insulating portion 10a of the disc-shaped electrode 10 of the pulse generator 8 and the detector 11 is uncertain at the start. Therefore, the highest probability n/
2 is added, and this step S. After completing step S. Proceed to. In step S4, the contents of the first to fourth digits of the A register are displayed in the display buffer 4.
8, and each address input terminal of RAM32 [
RAU] and [RAL] have A register and "1 to 4"
The data read out from the RAM 32 is subjected to appropriate processing via the arithmetic circuit 44, output decoder 46, etc., and applied to the display buffer 48, thereby displaying the display contents. becomes "2" as shown in FIG. 6j, and the process then proceeds to step S5. Step S5 determines whether the mode switch shown in FIG. This detects whether or not the vehicle is running at low speed, and the instruction decoder 39 outputs a control signal of 0. is output and applied to the AND gate 58. However, since the command is now to drive at high speed, this is step S. The result of the determination is ``YES'', that is, ``1'' is output from the AND gate 58 and applied to the OR gate 33e to modify the address, and then the process proceeds to step S6. Note that the above step S. ~S. The processing time is as shown in FIG. 6g. Step S6 detects the set state of the one-second latch 54 by an operation substantially similar to step S1, and the instruction decoder 39 outputs a control signal of 0. is output and gate 5
However, since the 1-second latch 54 is in the reset state as shown in FIG.
Proceed to step 7. In step S7, the set state of the counting latch 56 is detected by the same operation as in step S, but since the counting latch 56 is now in the reset state as shown in FIG. There is no output, and the judgment result is "NO", and the next step S8
Proceed to. Step S8 detects the state of the mode switch 22 by the same operation as step S5, but since it is currently in the open state, the AND gate 58 outputs '1', and the determination result is If you say "YES", then step S. Steps S6 to S continue until the next one-second latch 54 or counting latch 56 is set. is repeatedly executed as shown in FIG. 6f. However, the 6th
At time A3 shown in the figure, a trigger pulse is output from the one-shot circuit 13 as shown in figure c, and when the counting latch 56 is set as shown in figure d, this set state is detected in step S7, and the next The process then proceeds to step S9. Step S9 does not actually perform any processing, but is executed to prevent errors in counting pulse intervals in the low-speed mode, which will be described later. Then, the second digit is read and written, and then the process advances to step SIO. Step SIO is step S above. This resets the counting latch 56 in the same way as in Step SIO.
Proceed to. Step Sll is the same as step S5 mentioned above, and now it is judged as "YES" and the next step Sll is
Proceed to step 2. Step Sl2 operates almost the same as step S3, and in the case of high-speed running, the output period of the one-shot circuit 13 is n with respect to the rotation period of the drive section.
(=4):1, this n (=
4), and the code signal [c] of ROM3l
outputs "4" and the arithmetic circuit 44 outputs A register A, . This is done by adding ``6'' to the 6th
As shown in FIG. Proceed to. Step Sl3 is the step S described above. It is similar to A register A1~,
The content "6" is sent to the display buffer 48 and displayed on the display section 2.
6 is displayed as "6" as shown in FIG. 6j, and then the process returns to step S6. The processing time from step S8 to step Sl3 is as shown in FIG. 6g. In this way, during high-speed driving, it is detected in steps S6 to S8 whether either the one-second latch 54 or the counting latch 56 is set, and when it is detected that the counting latch 56 is set, Ste Nobu S9~S
13 is executed to add (count) "n (=4)" to the A register. and A
, when it is detected that the counting latch 56 is set as shown in FIG.
As shown in j, i becomes "10" and "14". However,
The process at time A5 described above is completed, and the process proceeds to step S.
〜S,を実行中の第6図に示す時刻A。で同図eに示す
如く1秒ラッチ54がセットされ、このセット状態がス
テップS6で検出されると次に計時処理の為にステップ
Sl4に進む。ステップS,。は、1秒ラッチ54をリ
セットするもので、その動作は上記ステップS2と略同
様にインストラクションデコーダ39から出力される制
御信号0,,によつて成され、次に処理SBに進む。こ
の処理SBは、計時の為の種々の処理を行うもので、R
AM32内のEレジスタに記憶されている計時情報を読
み出し、演算回路44で1秒の桁に「+1」するもので
、その他叩進処理あるいは1212?処理等もこの処理
SB内で行なわれている。従つて、この処理SBを終了
するとRAM32内のEレジスタには所定の形態でもつ
て計時情報が格納され次にステップSl5に進む。ステ
ップSl5は、上記ステップS。及びS。同様現在指定
されているモードを上記同様の動作によつて判断するも
ので、今はその結果が「YES」となつて次に再びステ
ップS6に戻り、このステップS6〜S8を繰り返し実
行する。そして、この計時処理後に第6図に示す時刻A
,,A。に於て同図c及びdの如くワンショット回路1
3からパルス出力があり、計数ラッチ56がセットされ
ると上記時刻A。で説明したと同様ステップS6〜Sl
3を適宜実行し、Aレジスタ及びその表示状態は同図I
,jに示す如く「18」、「22」となる。~S, is being executed at time A shown in FIG. Then, the one second latch 54 is set, as shown in FIG. Step S. is for resetting the one-second latch 54, and this operation is performed by the control signals 0, , output from the instruction decoder 39 in substantially the same manner as in step S2 above, and the process then proceeds to processing SB. This process SB performs various processes for timekeeping, and R
The time measurement information stored in the E register in the AM 32 is read out, and the arithmetic circuit 44 adds "+1" to the 1 second digit, and other advancement processing or 1212? Processing etc. are also performed within this processing SB. Therefore, when this process SB is completed, time measurement information is stored in the E register in the RAM 32 in a predetermined format, and the process then proceeds to step Sl5. Step Sl5 is the step S described above. and S. Similarly, the currently designated mode is determined by the same operation as described above, and now the result is ``YES'' and the process returns to step S6 to repeat steps S6 to S8. After this timing processing, time A shown in FIG.
,,A. One-shot circuit 1 as shown in c and d of the same figure.
There is a pulse output from 3, and when the counting latch 56 is set, the time A is reached. Steps S6 to Sl
3 as appropriate, and the A register and its display state are shown in I of the same figure.
, j, they are "18" and "22".
このように、高速走行時には駆動部の回転周期に対しn
:1の周期毎にこの分周比に基く「n」を加算(計数)
するようにしている為、計時処理等の他の処理と共に唯
一のマイクロプログラムコントローラでその動作を制御
したとしても計数ミスを起す虞れはなく、また表示され
る内容の読取.りも容易となる。In this way, when driving at high speed, the rotation period of the drive unit is n
: Add "n" based on this frequency division ratio every cycle of 1 (count)
Therefore, there is no risk of a counting error even if the operation is controlled by a single microprogram controller along with other processing such as timekeeping processing, and there is no risk of counting errors, and it is easy to read the displayed contents. It is also easier to
次に、第5図及び第7図を参照しながら第2図に示した
モードスイッチ22が閉成状態で、低速走行が指示され
ている場合について説明する。Next, with reference to FIGS. 5 and 7, a case will be described in which the mode switch 22 shown in FIG. 2 is in the closed state and low-speed running is instructed.
なお、説明の簡略化を計る為に上述した高速走行時.に
説明した各ステップはそのステップ番号を記載するにと
どめ発明の詳細な説明は省略する。また、第7図に於て
b及びcは第6図に於るb及びcと全く同様な関係にあ
る。即ち、まず第7図に示す時刻B,で同図aに示・す
如くテープ走行指示が与えられテープが走行すると、時
亥胆。In addition, for the purpose of simplifying the explanation, the above-mentioned high-speed driving condition is used. For each step explained in , only the step number will be described and a detailed explanation of the invention will be omitted. Further, b and c in FIG. 7 have exactly the same relationship as b and c in FIG. 6. That is, first, at time B shown in FIG. 7, a tape running instruction is given as shown in FIG. 7A, and when the tape runs, time increases.
で同図dに示す如く計数ラッチ56がセットするまで上
記ステップS,を実行し続ける。しかして、時刻B。に
なると計数ラッチ56がセットされ次にステップS。〜
S。を実行して、Aレジスタ及びその表示状態は同図I
,jに示す如く「2」になつて次にステップS5に進む
。ステップS5は上述した如くモードスイッチ22の開
、閉状態を検出するものであるが、今はこのモードスイ
ッチ22が開放されていることによりアンドゲート58
からは出力がなくアドレス修飾されない為その検出結果
は「NO」となつて次にステップSl6に進む。ステッ
プSl6は、Aレジスタの第6桁目、即ちスタートフラ
ッグ桁に第7図fに示す如く「1」を書き込み、今検出
された計数ラッチ56のセット状態がスタート後第1回
目であることを示すもので、ROM4lからはコード信
号〔c〕(=「1」)が出力され、このコード信号「1
」はアンド回路40及び45を介して演算回路44の他
方の入力端bに与えられる。また、RAM32の各アド
レス入力端〔RAU〕及び〔RAL〕には、夫々Aレジ
スタ及び6桁目を示すアドレス指定信号が印加され、タ
イミング信号T3の出力した時に上記コード信号「1」
がAレジスタの第6桁目に書き込まれて次にステップS
l7に進む。ステップS,,は、パルス間隔の計数値を
記憶しているBレジスタにステップS,〜S5及びS,
。,S,,の全ての処理時間の1/n (n=4)の時
間に対するデータ18tIn(なお、tは予め設定され
ている)を加算するもので、RAM32の行アドレス入
力端〔RAU〕にはBレジスタに対応するアドレスが〔
RAL〕には「1〜6」の各アドレスが列アドレスコン
トローラ38から順次印加されてBレジスタの内容が読
み出され、またROM3lのコード信号〔c〕は「18
tIn」を出力して、これ等の各データが夫々演算回路
44のa)b端子に印加されることによりなされる。即
ち、演算回路44ではインストラクションデコーダ39
から出力される制御信号0。により加算することが指示
され、その結果は再びRAM32のBレジスタに書き込
まれ、次にステップS,8に進む。ステップSl8は、
上記ステップS1と同様の動作によつて計数ラッチ56
のセット状態を検出するもので、今はセットされていな
いので次にステップSl9に進む。ステップSl9は、
上記ステップS,,と同様にステップS,。,S,。及
び後述するステップS。Oの全ての処理時間阻の1/n
を加算するもので、その動作は上記ステップSl7と同
様である。このステップSl9を終了すると、次にステ
ップS。Oに進み、1秒ラッチ64がセットされている
か否かが上記ステップS。と同様の動作により検出され
るが、今は1秒ラッチ54はセットされていないので再
びステップSl8に戻りステップSl8〜SIを繰り返
してその処理時間1/nを累計している。しかして、第
7図に於る時刻B3でワンショット回路13から第2発
目の出力があり、計数ラッチ56がセットされたことが
検出されるとステップS,。に於る判断結果は「YES
」となり、アドレス修飾回路33に於てアドレス修飾さ
れ次にステップS2lに進む。このステップS2lは、
上記ステップS2と同様に計数ラッチ56をリセットす
るもので、この処理を終了すると次にステップS。。に
進む。ステップS22は、Aレジスタの6桁目、即ちス
タートフラッグをクリアするもので、このステップS2
2の実行によつて第7図fに示す如くんの内容は「O」
となつて次にステップS23に進む。ステップS23は
、Aレジスタの1桁目乃至4桁目に「n −1=(3月
を加算するもので、その動作はステップS3に示したと
略同様にRAM32から読出されたAレジスタの内容「
1」にROM4lのコード信号〔c〕(=3)が演算回
路44で加算されることによつて成され、その結果Aレ
ジスタの記憶内容は第7図iに示す如く「5」になつて
次にステップSMに進む。The above steps S are continued until the counting latch 56 is set as shown in d of the figure. However, time B. When this happens, the counting latch 56 is set and then step S is performed. ~
S. Execute the A register and its display state as shown in the figure I.
, j, the value becomes "2" and the process then proceeds to step S5. Step S5 is to detect whether the mode switch 22 is open or closed as described above, and since the mode switch 22 is currently open, the AND gate 58 is
Since there is no output from and address modification is not performed, the detection result is "NO" and the process proceeds to step Sl6. Step Sl6 writes "1" to the 6th digit of the A register, that is, the start flag digit, as shown in FIG. The code signal [c] (=“1”) is output from the ROM 4l, and this code signal “1” is output from the ROM4l.
'' is applied to the other input terminal b of the arithmetic circuit 44 via AND circuits 40 and 45. Further, address designation signals indicating the A register and the 6th digit are applied to each address input terminal [RAU] and [RAL] of the RAM 32, respectively, and when the timing signal T3 is output, the code signal "1" is output.
is written to the 6th digit of the A register, and then step S
Proceed to l7. Steps S, . . . are stored in the B register storing the count value of the pulse interval.
. , S, , is added to the data 18tIn (t is set in advance) for 1/n (n=4) of the total processing time of , and is added to the row address input terminal [RAU] of the RAM 32. The address corresponding to the B register is [
RAL] are sequentially applied with addresses "1 to 6" from the column address controller 38 to read out the contents of the B register, and the code signal [c] of the ROM 3l is "18".
tIn'' is output, and each of these data is applied to terminals a and b of the arithmetic circuit 44, respectively. That is, the instruction decoder 39 in the arithmetic circuit 44
Control signal 0 output from. The addition is instructed by , and the result is written into the B register of the RAM 32 again, and then the process proceeds to step S,8. Step Sl8 is
The counting latch 56 is
This is to detect the set state of , and since it is not currently set, the process advances to step Sl9. Step Sl9 is
Step S, similar to step S, above. ,S,. and step S, which will be described later. 1/n of all processing time of O
The operation is the same as step Sl7 above. After completing this step Sl9, the next step is step S. The process proceeds to step S, and it is determined whether the one-second latch 64 is set. However, since the one-second latch 54 is not set now, the process returns to step Sl8 and steps Sl8 to SI are repeated to accumulate the processing time 1/n. Then, at time B3 in FIG. 7, there is a second output from the one-shot circuit 13, and when it is detected that the counting latch 56 is set, step S. The judgment result is “YES”.
'', the address is modified in the address modification circuit 33, and the process then proceeds to step S2l. This step S2l is
The counting latch 56 is reset in the same manner as step S2 above, and after this process is completed, the next step is step S. . Proceed to. Step S22 is to clear the 6th digit of the A register, that is, the start flag.
By executing Step 2, the content of Yo-kun shown in Figure 7 f becomes "O".
The process then proceeds to step S23. Step S23 is to add "n - 1 = (3 months) to the first to fourth digits of the A register, and the operation is to add the contents of the A register read from the RAM 32 in substantially the same manner as shown in step S3.
This is done by adding the code signal [c] (=3) of the ROM 4l to "1" in the arithmetic circuit 44, and as a result, the stored content of the A register becomes "5" as shown in FIG. 7i. Next, proceed to step SM.
ステップS2,はAレジスタの第5桁目に「n−1(=
3月を書き込むもので、Bレジスタに記憶されているパ
ルス間隔の計数値から何回の予測計数を行うかを設定し
ているものである。しかして、このステIノブS。,を
終了すると、次にステップS。。に進む。ステップS5
及び次のステップS26は、Bレジスタによつて計数さ
れた前回のパルス間隔の値を、補助レジスタであるCレ
ジスタ及び予測計数を行う為のデータを得るDレジスタ
に夫々転送するもので、ステップS2GではROM3l
の行アドレス指定信号〔Su〕がBレジスタを、〔Fu
〕がCレジスタを指示することによつて行なわれ、ステ
ップS。。では〔Su〕がCレジスタを〔Fu〕がDレ
ジスタを夫々指定することによつて行なわれる。このス
フテツプS26を終了すると、次にステップS2,に
進みステップS,。,S,。,S。,〜S。,及び後述
するステップS。。,S。。の全ての処理時間40tの
1/n (n=4)をBレジスタに加算する。この加算
はROM3lのコード信号〔c〕が「40tIn」を出
力する以外ステップS,,,S,9と同様の動作によつ
て行なわれ、その処理を終了すると次にステップS。,
に進む。ステップS28は、ステップS26で転送され
た前回のパルス間隔の計数値を、Bレジスタに加算(計
数)したn倍の速さでDレジスタから減算するもので、
ROM3lのコード信号〔c〕は「40t」を出力し、
演算回路44には減算を示す制御信号へが与えられるこ
とによつてなされ、この処理を終了すると次にステップ
S。。に進む。ステップS。9は、Aレジスタに「1」
を加算するものであり、ROM3lのコード信号〔c〕
は「1」を出力し演算回路44でその加算が実行されて
次にステップSl3に進む。In step S2, "n-1 (=
This is used to write the month of March, and it is used to set how many predictive counts are to be performed based on the pulse interval count stored in the B register. However, this Ste I Knob S. , and then step S. . Proceed to. Step S5
And the next step S26 is to transfer the value of the previous pulse interval counted by the B register to the C register, which is an auxiliary register, and the D register, which obtains data for predictive counting, respectively. Then ROM3l
The row addressing signal [Su] of
] is performed by pointing the C register, step S. . This is done by specifying [Su] to register C and [Fu] to register D, respectively. When this step S26 is completed, the process proceeds to step S2, and step S. ,S,. ,S. ,~S. , and step S described below. . ,S. . Add 1/n (n=4) of the total processing time 40t to the B register. This addition is performed in the same manner as steps S, , S, and 9 except that the code signal [c] of the ROM 3l outputs "40tIn", and when the process is completed, the next step is step S. ,
Proceed to. Step S28 subtracts the count value of the previous pulse interval transferred in step S26 from the D register at n times the speed of adding (counting) it to the B register.
The code signal [c] of ROM3l outputs "40t",
This is done by supplying a control signal indicating subtraction to the arithmetic circuit 44, and upon completion of this process, the next step is step S. . Proceed to. Step S. 9 is "1" in A register
is added, and the code signal [c] of ROM3l
outputs "1", the calculation circuit 44 executes the addition, and then the process proceeds to step Sl3.
ステップSl3は上述した如くAレジスタの第1桁目乃
至第4桁目を表示バッファ48に送出するもので、これ
等ステップS29及びS。を実行した結果Aレジスタ及
びその表示状態は第7図I,jに示す如く「6」となる
。即ち、この時刻B。と上記時刻■間にはキヤプスタン
軸4a)あるいはリール軸51,52が4回転している
為、上記ステップS23及びS29により結果的にこの
「4」を加算(計数)しているものである。そして、上
記ステップS,。を終了すると次にステップS。,S,
を上記同様に実行して次にステップS8に進む。そして
、このステップS8では、モードスイッチ22が閉成さ
れていることにより「NO」の結果が得られ次にステッ
プS3Oに進む。ステップS3Oは、上記ステップSl
9,S27と同様にステップS。〜S。及び後述するス
テップS。,,STの全ての処理時間16tの1/n
(n=4)をBレジスタに加算するもので、この処理を
終了すると次にステップSalに進む。ステップS3,
はAレジスタ第5桁目が「O」か否かの検出を行つてい
るもので、A5の記憶内容が演算回路44を介して判断
用ラッチ回路49に印加され、そのセット状態に基づく
アドレス修飾によつて成されるが、今はその記憶内容が
「3」であることにより「NO」と判断されて次にステ
ップS32に進む。Step Sl3 is to send the first to fourth digits of the A register to the display buffer 48 as described above, and these are steps S29 and S. As a result of executing , the A register and its display state become "6" as shown in FIG. 7I, j. That is, this time B. Since the capstan shaft 4a) or the reel shafts 51, 52 rotates four times between the time and the above time (2), this "4" is added (counted) as a result in the steps S23 and S29. Then, the above step S. After completing step S. ,S,
is executed in the same manner as above, and then the process proceeds to step S8. In this step S8, since the mode switch 22 is closed, a "NO" result is obtained, and the process then proceeds to step S3O. Step S3O is the step Sl
9. Step S similar to S27. ~S. and step S, which will be described later. ,,1/n of the total processing time of ST 16t
(n=4) is added to the B register, and when this process is completed, the process proceeds to step Sal. Step S3,
Detects whether the fifth digit of the A register is "O" or not, and the memory contents of A5 are applied to the judgment latch circuit 49 via the arithmetic circuit 44, and the address is modified based on the set state. However, since the stored content is "3", the answer is "NO" and the process advances to step S32.
ステップSpは、基本的にはステップS。。と同様であ
り、ステップS。〜S。及びS。O−S。。の全ての処
理時間「16Uを減算し、且つその結果が「O」以下に
なつたか否かを上記ステップS3lと同様の判断動作に
より行なつているものであり、その結果が「1」以上で
ある場合には、再びステップS6に戻り、1秒ラッチ5
4あるいは計数ラッチ56のいずれかがセットされたこ
とがステップS6あるいはステップS7に検出されるま
で上記各ステップS6〜S8、及びSO〜S32を繰り
返す。しかして、第7図に示す時刻B4で同図gに示す
如くステップS32に於る判断結果が「YES」になつ
たとすると次にステップSぉに進む。ステップS33は
、Aレジスタの第5桁目から[1」を減じるもので、A
5の記憶内容は第7図hに示す如く「2」となつて次に
ステップS3lに進む。ステップS34は、その記憶内
容が「0」あるいはそれ以下になつたDレレジスタに補
助メモI八即ちCレジスタの内容を加算しながら再び前
回のパルス間隔の計数値をセットするもので、このよう
にすることによつて、仮にステップS32で「0」以下
となつた場合でもその分が補正されて(即ちマイナス分
の処理時間も考慮されて)次にステップS35に進む。
ステップS35及び次のステップS36は、上記ステツ
S27及びS28と同様なものであつて、ステップS3
3〜S36及びジ,Sl3に於る処理時間27tの1/
n(n=4)及び27tを夫々加算及び減算するもので
あり、このステップS36を終了すると次にステップS
29及びSl3を実行し、Aレジスタ及びその表示状態
は第7図1,jに示す如く「7」になつて再びステップ
S6に戻りステップS6〜S8及びS3O−S3。が順
次繰り返される。しかして、第7図に示す時刻B5、及
びB6では、夫々上記したステップS32に於る判断結
果が同図gに示す如く「YES」となり、ステップS3
3〜S36,S29及びSl3を夫々実行してAレジス
タの第5桁目の記憶内容は同図hに示す如く「1]、「
0」と変化し、またAレジスタの第1桁目乃至第4桁目
及び表示状態も同図1及びjに示す如く「8」、「9」
と変化して再びステップS6に戻る。そして、このステ
ップS6〜S8及びS3Oを実行してステップSl3l
に進むと、Aレジスタの第5桁目の記憶内容は第7図h
に示す如く「0」となつている為、その判断結果は「Y
ES」となつて次にステップS37に進む。ステップS
37は、実質的には何等動作するもではなく、ただAレ
ジスタの第1桁目乃至第6桁目の読み出し及び書き込み
を・行うことによつて、ステップS32の処理時間と合
わせて次にステップS6に戻るものであり、以後ステッ
プS6〜S8,S3O,S3l及びS37を順次繰り返
す。しかして、第7図に示す時刻B7になると、ワンシ
ョット回路13の出力によつて計数ラッチ56がセット
されてステップS7から次にステップS6に進み、ステ
ップS9,SlOを上記同様に実行して次にステップS
llに進む。しかして、ステップSllでは「NO」の
結果が得られることにより、次にステップS24〜S2
9及びSl3を上記同様に実行しAレジスタ及び表示状
態は第7図1,jに示す如く、「10」となり、またA
5は「3」を記憶して次にステップS6に戻る。そして
、以後第7図に示す如く時刻B8及びB9に於ては、時
刻B4〜八で説明したと同様の動作がなされ、Aレジス
タ及びその表示状態は第7図1,jに示す如く「11」
、「12」と変化する。次に、1秒ラッチ54がセット
される第7図に7示す時亥!IBlO以降の動作につい
て説明する。Step Sp is basically step S. . and step S. ~S. and S. O-S. . The entire processing time of ``16U'' is subtracted, and whether or not the result is ``O'' or less is determined by the same judgment operation as in step S3l above, and if the result is ``1'' or more. If so, return to step S6 again and hold the latch 5 for 1 second.
The steps S6 to S8 and SO to S32 are repeated until it is detected in step S6 or step S7 that either the count latch 56 or the counting latch 56 is set. If, at time B4 shown in FIG. 7, the determination result in step S32 becomes "YES" as shown in g in FIG. 7, then the process proceeds to step S0. Step S33 subtracts [1] from the fifth digit of the A register.
The stored content of 5 becomes "2" as shown in FIG. 7h, and the process then proceeds to step S3l. Step S34 is to set the count value of the previous pulse interval again while adding the contents of the auxiliary memory I8, that is, the C register, to the D register whose memory content has become "0" or less. By doing this, even if the value becomes "0" or less in step S32, the amount is corrected (that is, the processing time for the negative part is also taken into consideration) and the process proceeds to step S35.
Step S35 and the next step S36 are similar to steps S27 and S28, and step S3
3-S36 and 1/1/27t of processing time in Sl3
n (n=4) and 27t are respectively added and subtracted, and after completing this step S36, the next step S36 is completed.
29 and Sl3 are executed, and the A register and its display state become "7" as shown in FIG. are repeated sequentially. Therefore, at times B5 and B6 shown in FIG. 7, the determination result in step S32 described above becomes "YES" as shown in g in the figure, and step S3
After executing steps 3 to S36, S29, and Sl3, the stored contents of the 5th digit of the A register are "1" and "1" as shown in h of the figure.
0", and the 1st to 4th digits of the A register and the display status also change to "8" and "9" as shown in Figures 1 and j.
and returns to step S6 again. Then, steps S6 to S8 and S3O are executed to perform step Sl3l.
, the memory contents of the 5th digit of the A register are shown in Figure 7h
As shown in the figure, it is "0", so the judgment result is "Y".
ES" and then proceeds to step S37. Step S
37 does not substantially operate at all, but simply reads and writes the first to sixth digits of the A register, and in addition to the processing time of step S32, the next step The process returns to S6, and thereafter steps S6 to S8, S3O, S3l, and S37 are repeated in sequence. Then, at time B7 shown in FIG. 7, the counting latch 56 is set by the output of the one-shot circuit 13, and the process advances from step S7 to step S6, and steps S9 and SlO are executed in the same manner as described above. Next step S
Proceed to ll. As a result of "NO" is obtained in step Sll, the next step S24 to S2 is
9 and Sl3 are executed in the same manner as above, and the A register and display state become "10" as shown in FIG. 7, 1, j, and A
5 stores "3" and then returns to step S6. Thereafter, as shown in FIG. 7, at times B8 and B9, the same operation as explained at times B4 to B8 is performed, and the A register and its display state are changed to "11" as shown in FIG. 7, 1 and j. ”
, "12". Next, the one second latch 54 is set at the time shown at 7 in FIG. The operation after IBIO will be explained.
なお、Aレジスタ及び表示はこの時刻BlO以前に「4
月になつたものとする。即ち、上記ステップS6で1秒
ラッチ54がセットされたことが検出されるまでは、上
述した各ループのいずれかが選択j的に実行されており
、今、第7図に示す時刻BlOでは計数ラッチ56がセ
ットされると、ステップS7でこのセット状態が検出さ
れ、次にステップS9〜Sll,S24〜S29及びS
l3を実行し、Aレジスタ及び表示状態は第7図1,j
に示す如く「42」となつて再びステップS6に戻り所
定の処理を実行している。そして、第7図に示す時刻B
llで同図dの如く1秒ラッチ54がセットされると、
ステップS7でこの1秒ラッチ54のセット状態が検出
され、次にステップSl4及び処理SBを実行して次に
ステップSl5に進む。なお、この処理SBの処理時間
は第5図に示す如く仮にAtであつたとする。そして、
次のステップSl5のモードの検出では「NO」の結果
を得、次にステップS38に進む。ステップS38は、
Aレジスタの第6桁目、即ちスタートフラッグの状態を
ステップS3lと同様の方法てもつて検出するが、今は
、第7図fに示す如くへの記憶内容は「0」となつてい
る為、上記検出の結果「NO」と判定され次にステップ
S39に進む。ステップS39は、上述したステップS
6,Sl4,Sl5,S38,S39及び後述するS4
Ol更にはS4lあるいはS42と上記処理SBの全て
の処理時間(a+17)tの1/n(n=4)をBレジ
スタのS1〜6に加算するもので、その処理は、上記ス
テップSl7等と同様にして行なわれ、次にステップS
4Oに進む。ステップS4Oは、上記ステップS3lと
同様なものであり、Aレジストの第5桁目が「0」か否
かを判断している。しかし、今は、上記ステップS24
で[n−1(=3)」がセットされたままなのでこのス
テップS4Oに於る判断の結果「NO」となり、次にス
テップS,lに進む。ここで、このステップS4lが第
7図に示す時刻2。であつたとすると、上記ステップS
6,Sl4,Sl5,S38〜S4l及び処理SBの総
処理時間「(a+17)t」を減算した結果は「0」以
下となりその判断結果が[YES」となつて上記ステッ
プS33に進み上述した一連のステップS33〜S36
,S29,Sl3が実行されレジスタA及び表示状態は
第7図1,jに示す如く「43」となり次にステップS
6に戻る。なお、上記ステップS4lで[NO」の判断
結果、即ちD1〜6から「(a十17)t」を減算した
結果「1」以上であつた場合には直接ステップS6に戻
り、また、上記ステップS4Oでの判断結果が[YES
」であつた場合には、上記ステップS37と全く同様な
時間合せの為のステップS4。を実行して次にステップ
S6に戻る。以上の説明て明らかになつた如く、第7図
に於る以後の時刻Bl3〜Bl5は上記説明のいずれか
のステップを実行することによりAレジスタの記憶内容
及ひ表示状態が「44」、「45」及ひ「46」と変化
する。一方、第7図に於る時刻B2〜B3の間、即ちス
テップSl8〜S2Oを繰り返し実行している間に1秒
ラッチ54がセットされたことがステップS2Oで検出
されると、このステップS2Oから次にステップSl4
に進み、以下処理SB及びステップSl5を実行してス
テップS38に進む。しかして、この状態ては、上述し
た如くAレジスタの第6桁目は「1」となつており、そ
の判断結果は「YES」となつて次にステップS43に
進む。ステップS43は、ステップS,i,Sl5,S
38,S43及び処理SBの全ての処理時間「(a+9
)t」の1/n(=4)をBレジスタに加算するもので
あつて、その動作は上記ステップSl7等と同様にして
行なわれ、次にステップSl8に戻り、次に計数ラッチ
56がセットされたことがステップSl8で検出される
までステップSl8〜S2Oを繰り返す。そして、計数
ラッチ56がセットされると次に上述した各処理を実行
して適宜計算及び計時の各処理がなされる。このように
、低速走行時には前回のパルス間隔に基づいて駆動部の
原回転周期を予測し、この予測に基づいて計数している
為、計数する為のパルス発生手段は高速走行時と全く同
一の構成であるにもかかわらず、その計数はあたかも1
:1で行つている如くなり自然な計数が行なえると共に
、計時処理等の他の処理と共に唯一のマイクロプログラ
ムコントローラを使用して時分割的制御を行なつてもカ
ウントミスを起す虞れはない。Note that the A register and display will be “4” before this time BIO.
Assume that it has become the moon. That is, until it is detected that the 1-second latch 54 is set in step S6, one of the above-mentioned loops is selectively executed, and now, at time BLO shown in FIG. When the latch 56 is set, this set state is detected in step S7, and then steps S9 to Sll, S24 to S29 and S
Execute l3, and the A register and display status are as shown in Figure 7 1, j
As shown in FIG. 3, the value becomes "42" and the process returns to step S6 to execute a predetermined process. Then, time B shown in FIG.
When the 1 second latch 54 is set at ll as shown in d of the same figure,
In step S7, the set state of the one-second latch 54 is detected, and then step Sl4 and processing SB are executed, and the process then proceeds to step Sl5. It is assumed that the processing time of this processing SB is At as shown in FIG. and,
In the mode detection at the next step Sl5, a "NO" result is obtained, and the process then proceeds to step S38. Step S38 is
The state of the 6th digit of the A register, that is, the start flag, is detected in the same manner as in step S3l, but now the stored content is "0" as shown in FIG. 7f. , the result of the above detection is determined to be "NO", and the process then proceeds to step S39. Step S39 is the step S39 described above.
6, Sl4, Sl5, S38, S39 and S4 described later
Further, 1/n (n=4) of S4l or S42 and all the processing time (a+17)t of the above processing SB is added to S1 to S6 of the B register, and this processing is performed in accordance with the above step Sl7 etc. Similarly, step S
Proceed to 4O. Step S4O is similar to step S3l above, and it is determined whether the fifth digit of the A register is "0" or not. However, now the above step S24
Since [n-1 (=3)] remains set, the result of the judgment in step S4O is "NO", and the process then proceeds to step S, l. Here, this step S4l is at time 2 shown in FIG. If so, step S above
6. The result of subtracting the total processing time "(a+17)t" of Sl4, Sl5, S38 to S4l and processing SB is "0" or less, and the judgment result is [YES], and the process proceeds to step S33, and the series of steps described above are performed. Steps S33 to S36
, S29, and Sl3 are executed, and the register A and display state become "43" as shown in FIG. 7, 1, j. Next, step S
Return to 6. If the result of the judgment in step S4l is "NO", that is, the result of subtracting "(a117)t" from D1 to D6 is "1" or more, the process returns directly to step S6, and the process returns to step S6 directly. The judgment result in S4O is [YES]
”, step S4 for time adjustment is performed, which is exactly the same as step S37 above. is executed, and then the process returns to step S6. As has become clear from the above explanation, by executing any of the steps described above, the storage contents and display state of the A register will be changed to "44", " 45” and “46”. On the other hand, if it is detected in step S2O that the 1-second latch 54 is set between times B2 and B3 in FIG. 7, that is, while steps Sl8 to S2O are being repeatedly executed, Next step Sl4
Then, the process SB and step Sl5 are executed, and the process proceeds to step S38. Therefore, in this state, the sixth digit of the A register is "1" as described above, and the determination result is "YES" and the process proceeds to step S43. Step S43 is step S, i, Sl5, S
38, S43 and processing SB all processing time "(a+9
)t'' is added to the B register, and the operation is performed in the same manner as in step Sl7, etc., and then the process returns to step Sl8, and then the counting latch 56 is set. Steps Sl8 to S2O are repeated until it is detected in Step Sl8 that the When the counting latch 56 is set, the above-mentioned processes are then executed to perform appropriate calculation and time measurement processes. In this way, when driving at low speeds, the original rotation period of the drive unit is predicted based on the previous pulse interval, and counting is performed based on this prediction, so the pulse generation means for counting is exactly the same as when driving at high speeds. Despite the configuration, the count is as if it were 1.
:Natural counting can be performed as in 1, and there is no risk of a counting error even if time-sharing control is performed using the only microprogram controller along with other processing such as timekeeping processing. .
なお、上記説明では本発明を計時機能を有する磁気録音
再生装置に適用した場合について述べたが、本発明はこ
れに限ることなく小型電子式計算機等の演算機能を有す
る磁気録音再生装置に適用することが出来るし、また計
時機能及び演算機能を有する磁気録音再生装置に適用す
ることも出来る。In the above description, the present invention is applied to a magnetic recording and reproducing device having a timekeeping function, but the present invention is not limited to this, and can be applied to a magnetic recording and reproducing device having an arithmetic function such as a small electronic calculator. It can also be applied to a magnetic recording and reproducing device having a timekeeping function and arithmetic function.
また、上記実施例では駆動部に対するパルス出力の周期
比を4:1として説明したが、これは任意の比をとるこ
とが出来、好ましくはその動作を制御する最大時間(上
記説明によるNtの総計)以上のパルス間隔をとること
によりその計数は確実なものとなる。Further, in the above embodiment, the period ratio of the pulse output to the drive section was explained as 4:1, but this can be any ratio, and preferably the maximum time for controlling the operation (the total of Nt according to the above explanation) can be set to any ratio. ) or more, the counting becomes reliable.
更に、上記実施例では駆動部の回転数を計数する場合に
ついて説明したが、これは回転数に限られることなく、
例えば、その回転に応じた走行長を計数することも可能
であり、その他本発明の要旨を逸脱しない範囲で種々変
形反応が可能である。Furthermore, in the above embodiment, the case where the number of rotations of the drive unit is counted has been described, but this is not limited to the number of rotations;
For example, it is possible to count the traveling length according to the rotation, and various other deformation reactions are possible without departing from the gist of the present invention.
以上詳細に説明した如く本発明によれば、計数する為の
パルス発生器の出力周期をキヤプスタン軸あるいはリー
ル軸等の駆動部の回転周期に対しノ1:nとすると共に
、駆動部の動作モードを検出する手段を設け、第1のモ
ードでは上記パルス発生器からパルスが発生される毎に
所定値づつの計数を行ない、第2のモードでは上記パル
スの出力周期に基づいて予測された周期毎に所定値づつ
の7計数を行なうようにしたことにより、同一の構成で
2つの計数モードをとり、その計数はたとえ他の処理と
のシーケンシラヤルコントロールであつたとしても誤ま
ることなく行なえ、またその表示の読取りも容易に行な
い得る等2つの動作モードフに於る要求を夫々満足し得
る計数方式を提供することが出来る。As explained in detail above, 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 drive section such as the capstan shaft or the reel shaft, and the operation mode of the drive section is In the first mode, a predetermined value is counted each time a pulse is generated from the pulse generator, and in the second mode, the count is performed every cycle predicted based on the output cycle of the pulse. By performing 7 counts each with a predetermined value, two counting modes can be used with the same configuration, and the counting can be performed without error even if it is a sequential control with other processing. Furthermore, it is possible to provide a counting system that can satisfy the requirements of the two operating modes, such as the display being easily readable.
第1図は従来の方法を説明する為のタイムチャート、第
2図は本発明の一実施例を説明する為の概略構成図、第
3図は第2図に於る要部詳細図、第4図は第3図に於る
RAMの構成図、第5図は第3図に於る動作を説明する
為のフローチャート、第6図は高速走行時の動作を説明
する為のタイムチャート、第7図は低速走行時の動作を
説明する為のタイムチャートである。
3・・・・・・モータ、4a・・・・・・キヤプスタン
軸、8・・・・・・パルス発生器、13・・・・・・ワ
ンショット回路、14・・・・・・ロジック部、22・
・・・・モードスイッチ、31・・・・・・ROMl3
2・・・・・R.AMl44・・・・・演算回路、54
・・・・・・1秒ラッチ、56・・・・・・計数ラッチ
。FIG. 1 is a time chart for explaining the conventional method, FIG. 2 is a schematic configuration diagram for explaining an embodiment of the present invention, FIG. 3 is a detailed view of the main parts in FIG. 2, and FIG. Fig. 4 is a configuration diagram of the RAM in Fig. 3, Fig. 5 is a flowchart for explaining the operation in Fig. 3, Fig. 6 is a time chart for explaining the operation during high-speed running, and Fig. FIG. 7 is a time chart for explaining the operation during low speed running. 3...Motor, 4a...Capstan shaft, 8...Pulse generator, 13...One-shot circuit, 14...Logic section , 22・
...Mode switch, 31...ROMl3
2...R. AMl44... Arithmetic circuit, 54
...1 second latch, 56...counting latch.
Claims (1)
共にこの計数処理以外の他の処理を行なう電子機器に於
て、上記回転体の回転周期を変更するモード選択手段と
、上記回転体の回転周期に対し1/n分周された周期の
パルスを発生するパルス発生手段と、該パルス発生手段
から出力されたパルスの周期時間の1/n時間のタイミ
ングを前回のパルス周期に基づいて予測するタイミング
予測手段と、上記モード選択手段によつて第1のモード
が選択された際には上記パルス発生手段からのパルス出
力に応じてnあるいはnに基づく所定値づつ計数し、上
記モード選択手段によつて第2のモードが選択された際
には上記パルス発生手段からのパルス出力及び上記タイ
ミング予測手段で予測されたタイミングに応じて上記回
転体の回転数あるいは上記回転体の回転数に基づく所定
値づつ計数する計数手段とを具備し、上記1/n分周さ
れたパルス間に上記他の処理を行なうことを特徴とする
計数方式。 2 請求の範囲第1項に於て、上記回転体は磁気テープ
再生装置のキヤプスタン軸あるいはリール軸であり、上
記計数手段は上記モード選択手段のモード選択により上
記キヤプスタン軸あるいはリール軸の数回転毎あるいは
数回転毎に予測された原回転周期毎に所定値づつ計数す
ることを特徴とする計数方式。 3 請求の範囲第1項に於て、上記回転体は計時機能を
有する磁気テープ再生装置のキヤプスタン軸あるいはリ
ール軸であり、上記計数手段は上記計時機能を制御する
唯一のマイクロプログラムコントローラ内にこれを共用
して格納されたマイクロプログラムにより制御され、上
記モード選択手段のモード選択により上記キヤプスタン
軸あるいはリール軸の数回転毎に所定値づつ計数するこ
とを特徴とする計数方式。 4 請求の範囲第1項に於て、上記回転体は計時機能を
備えた小型電子式計算機付磁気テープ再生装置のキヤプ
スタン軸あるいはリール軸であり、上記計数手段は計時
機能を備えた小型電子式計算機を制御する唯一のマイク
ロプログラムコントローラ内にこれを共用して格納され
たマイクロプログラムにより制御され、上記モード選択
手段のモード選択により上記キヤプスタン軸あるいはリ
ール軸の数回転毎あるいは数回転毎に予測された原回転
周期毎に所定値づつ計数することを特徴とする計数方式
。 5 請求の範囲第1項に於て、上記モード選択手段は高
速モードあるいは低速モードの2つのモードを選択する
ものであり、上記計数手段は、上記モード選択手段が高
速モードを選択した際には上記パルス発生手段からのパ
ルス出力に応じて「n」づつ計算し、上記モード選択手
段が低速モードを選択した際には上記パルス発生手段か
らのパルス出力及び上記タイミング予測手段で予測され
たタイミングに応じて「1」づつ計数することを特徴と
する計数方式。[Scope of Claims] 1. In an electronic device that performs predetermined counting according to the original rotation period of a rotating body and also performs other processing other than this counting process, mode selection means for changing the rotation period of the rotating body. and pulse generating means for generating a pulse with a period divided by 1/n from the rotation period of the rotating body, and a timing of 1/n time of the period of the pulse outputted from the pulse generating means from the previous time. timing prediction means for predicting based on the pulse period; and when the first mode is selected by the mode selection means, counting by n or a predetermined value based on n depending on the pulse output from the pulse generation means; However, when the second mode is selected by the mode selection means, the number of rotations of the rotating body or the rotation is adjusted according to the pulse output from the pulse generation means and the timing predicted by the timing prediction means. A counting method comprising a counting means for counting by a predetermined value based on the number of rotations of the body, and performing the other processing described above between the pulses divided by the frequency of 1/n. 2. In claim 1, the rotating body is a capstan shaft or reel shaft of a magnetic tape reproducing device, and the counting means counts every few rotations of the capstan shaft or reel shaft according to a mode selection by the mode selection means. Alternatively, a counting method is characterized in that a predetermined value is counted for each original rotation period predicted every several rotations. 3. In claim 1, the rotating body is a capstan shaft or reel shaft of a magnetic tape reproducing device having a timekeeping function, and the counting means is included in a single microprogram controller that controls the timekeeping function. A counting method characterized in that the counting method is controlled by a microprogram stored in common with a microprogram, and counts by a predetermined value every several rotations of the capstan shaft or reel shaft by selecting a mode of the mode selection means. 4 In claim 1, the rotating body is a capstan shaft or reel shaft of a magnetic tape reproducing device with a small electronic calculator equipped with a timekeeping function, and the counting means is a small electronic calculator equipped with a timekeeping function. It is controlled by a microprogram stored in a single microprogram controller that controls the computer, and is predicted every few revolutions or every few revolutions of the capstan shaft or reel shaft by selecting the mode of the mode selection means. A counting method characterized by counting by a predetermined value for each original rotation period. 5. In claim 1, the mode selection means selects between two modes, a high speed mode and a low speed mode, and the counting means selects a high speed mode when the mode selection means selects the high speed mode. The calculation is performed in increments of "n" according to the pulse output from the pulse generation means, and when the mode selection means selects the low speed mode, the pulse output from the pulse generation means and the timing predicted by the timing prediction means are calculated. A counting method that is characterized by counting in increments of 1 according to the number of seconds.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP53015757A JPS6048823B2 (en) | 1978-02-13 | 1978-02-13 | Counting method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP53015757A JPS6048823B2 (en) | 1978-02-13 | 1978-02-13 | Counting method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS54108604A JPS54108604A (en) | 1979-08-25 |
| JPS6048823B2 true JPS6048823B2 (en) | 1985-10-29 |
Family
ID=11897642
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP53015757A Expired JPS6048823B2 (en) | 1978-02-13 | 1978-02-13 | Counting method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6048823B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3000401U (en) * | 1994-01-24 | 1994-08-09 | 株式会社サン食材 | Lunch box |
-
1978
- 1978-02-13 JP JP53015757A patent/JPS6048823B2/en not_active Expired
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3000401U (en) * | 1994-01-24 | 1994-08-09 | 株式会社サン食材 | Lunch box |
Also Published As
| Publication number | Publication date |
|---|---|
| JPS54108604A (en) | 1979-08-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4225890A (en) | Magnetic tape recorder having a tape drive controller implemented with a digital processor chip | |
| EP0042422B1 (en) | Diagnostic circuitry in a data processor | |
| JP3602205B2 (en) | Electronic clock | |
| JPH0428110B2 (en) | ||
| JPS5927013B2 (en) | Speed control method of magnetic tape feed motor | |
| JPH0648297B2 (en) | Pointer-type alarm clock | |
| EP0091202B1 (en) | Improved tape timer for tape recorder/reproducer | |
| JPH0786538B2 (en) | Stopwatch device | |
| JPS6048823B2 (en) | Counting method | |
| US4237541A (en) | Electronic apparatus for indicating that a printer has been disabled | |
| US4277674A (en) | Tape running direction indicator | |
| JPS5837629B2 (en) | Count display method | |
| US4984274A (en) | Speech recognition apparatus with means for preventing errors due to delay in speech recognition | |
| JPS6035754B2 (en) | Count display method | |
| US4292509A (en) | Indicator for tape running direction and tape remnant amount | |
| JP3041351B2 (en) | Analog electronic watch with chronograph function | |
| JPS6022740B2 (en) | Counting method | |
| JPS6237455B2 (en) | ||
| SU746679A1 (en) | Device for measuring error of angle-to-code converters | |
| JPS58196481A (en) | Hand display stopwatch | |
| SU1418710A1 (en) | Program control device | |
| JPS6310553Y2 (en) | ||
| JPS6257234B2 (en) | ||
| JPH0710420Y2 (en) | Execution progress storage device | |
| SU1667068A1 (en) | Microprogram control device |