JP3736810B2 - Tape counter - Google Patents

Tape counter Download PDF

Info

Publication number
JP3736810B2
JP3736810B2 JP29369991A JP29369991A JP3736810B2 JP 3736810 B2 JP3736810 B2 JP 3736810B2 JP 29369991 A JP29369991 A JP 29369991A JP 29369991 A JP29369991 A JP 29369991A JP 3736810 B2 JP3736810 B2 JP 3736810B2
Authority
JP
Japan
Prior art keywords
counter
display
microcomputer
clocks
tape
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 - Fee Related
Application number
JP29369991A
Other languages
Japanese (ja)
Other versions
JPH05109242A (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.)
Sony Corp
Original Assignee
Sony Corp
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 Sony Corp filed Critical Sony Corp
Priority to JP29369991A priority Critical patent/JP3736810B2/en
Publication of JPH05109242A publication Critical patent/JPH05109242A/en
Application granted granted Critical
Publication of JP3736810B2 publication Critical patent/JP3736810B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/30Hydrogen technology
    • Y02E60/50Fuel cells

Landscapes

  • Indexing, Searching, Synchronizing, And The Amount Of Synchronization Travel Of Record Carriers (AREA)

Description

【0001】
【産業上の利用分野】
この発明は、例えばオーディオ用カセットデッキに用いて好適なテープカウンタに関する。
【0002】
【従来の技術】
例えばオーディオ用カセットデッキにおいては、リール台の回転を検出することによりテープカウンタを構成している。すなわち、テープカウンタの表示値を、例えばリール台の2回転分でテープカウンタのカウント値を1カウントだけ変化させるようにしている。カウント値を増加するか減少させるかは、カセットデッキのモードに応じて決定される。そして、このカウント値は、液晶ディスプレイなどに表示される。
【0003】
リール台の回転は、一般にフォトインタラプトなどの光学的回転検出手段により検出される。この回転検出手段からは、リール台の1回転当たりに一定数の回転検出クロックが発生する。そして、従来は、この回転検出クロックがマイクロコンピュータのI/Oポートに入力されて、このマイクロコンピュータにおいて、この回転検出クロックのエッジ、あるいはハイレベル、ローレベルのレベル変化が検出され、その検出出力からリール台の回転数が検出され、テープカウンタの表示値が決定される。
【0004】
【発明が解決しようとする課題】
ところで、カセットデッキのリール台の1回転に当たりに回転検出クロックが、例えば8クロック発生するような回転検出手段を使用した場合、ノーマル速度のテープトップ(リールのテープ巻回半径が最も大きい)での前記回転検出クロックの周期は、例えば約800msecであり、また、早送り/巻き戻しのテープエンドでの回転検出クロックの周期は7msecである。
【0005】
このため、マイクロコンピュータにおけるソフトウエア上、7msec以下の時間精度で随時リール台の回転を監視する必要がある。したがって、1つのマイクロコンピュータでテープカウンタの動作と、カセットデッキの他の動作の高速制御を行おうとする場合には、高価な非常に高速のマイクロコンピュータを必要としていた。そのため、従来においては、マイクロコンピュータを2個用いるなどしていた。
【0006】
この発明は、以上の欠点を解消することができるテープカウンタを提供することを目的とする。
【0007】
【課題を解決するための手段】
上記課題を解決するため、この発明によるテープカウンタは、
リール台の1回転当たりに一定数のクロックを発生する回転検出手段と、
前記回転検出手段からのクロックを受けて、テープカウンタの表示値を生成するマイクロコンピュータと、
前記マイクロコンピュータからの前記テープカウンタの表示値を表示するための表示手段と、
からなり、
前記マイクロコンピュータは、
複数種のタスクを、第1の一定時間ごとに1タスクづつ順次に行なって、前記第1の一定時間の前記タスク数倍の時間長である第2の一定時間ごとに繰り返し行なうようにするものであると共に、前記複数種のタスクのうちの一つのタスクとして、前記テープカウンタの表示値を生成して、前記表示手段に出力するテープカウンタ表示タスクを行なうものであり、
前記マイクロコンピュータのソフトウエア機能として、
前記回転検出手段からのクロックをカウントするカウンタ手段と、
前記タスクのそれぞれを実行する前記第1の一定時間毎に、前記カウンタ手段のカウント値から、前記第1の一定時間内のクロック数を検知すると共に、検知したクロック数を累積加算する検知手段と、
前記テープカウンタ表示タスクの実行時に、前記検知手段で累積加算された前記クロック数から前記第2の一定時間内のクロック数を検知し、その検知した前記第2の一定時間内のクロック数からテープカウンタの表示値を決定する表示値決定手段と、
を備えることを特徴とする。
【0008】
【作用】
上記の構成において、回転検出手段はリール台の1回転当たり一定数のクロックを発生するので、このクロックのカウント値からリール台の回転数を検出することができる。
【0009】
すなわち、カウンタ手段では、回転検出手段からのクロックをカウントする。検知手段は、マイクロコンピュータが行なうタスクのそれぞれを実行する第1の一定時間毎に、このカウンタ手段のカウント値から、当該第1の一定時間内のクロック数を検知すると共に、検知したクロック数を累積加算する。
表示値決定手段は、テープカウンタ表示タスクの実行時に、検知手段で累積加算されたクロック数から第2の一定時間内のクロック数を検知し、その検知した前記第2の一定時間内のクロック数からテープカウンタの表示値を決定する。
【0010】
第2の一定時間内のクロック数は、リール台の回転数に比例したものである。そこで、表示値決定手段では、この第2の一定時間内のクロックの数からテープカウンタ表示値が求められる。
【0011】
このテープカウンタ表示値は、決定手段から表示手段に供給され、テープカウンタのカウント値として表示される。
【0012】
【実施例】
は、この発明によるテープカウンタの一実施例を示し、この例は所定の入力ポートに入力されたクロックを常時カウントすることができる機能(FRC機能;フリー・ランニング・カウンタ機能)用の入力ポートを備え、カウンタ機能内蔵のマイクロコンピュータを有するカセットデッキにこの発明を適用した場合の例である。
【0013】
FRC機能を備えるマイクロコンピュータは、FRCキャプチャユニットと呼ばれ、入力ポートから入力されたクロックを、マイクロコンピュータが他の仕事(タスク)をしている間でも常時カウントすることができ、さらに、入力クロック間隔の時間測定も同時に行うことができるものである。
【0014】
において、11はリール台で、このリール台11の回転平面(例えばリールが載置される面とは反対側の面)には、例えば、光反射面12aと非反射面12bとが交互に等角間隔で形成された反射紙12が貼り付けられている。この例の場合、反射紙12は、円周方向が例えば16分割され、前記光反射面12aと非反射面12bとが交互に形成されている。
【0015】
そして、このリール台11の反射紙12に対向する位置には、発光ダイオード13とフォトトランジスタ14とからなるフォトインタラプタが設けられる。したがって、電源端子15に直流電圧+Bが印加されると、発光ダイオード13からの光がリール台11の反射紙12に入射し、入射位置が反射面12aであるときには、反射光がフォトトランジスタ14に入射して、このフォトトランジスタ12がオンとなる。一方、発光ダイオード13からの光の入射位置が反射紙12の非反射面12bのときには、フォトトランジスタ14には光は入射しないので、このフォトトランジスタ14はオフとなる。
【0016】
したがって、フォトトランジスタ14と抵抗器16との接続点には、リール台11の回転速度に応じた周期で負極性の回転検出パルスが得られる。そして、この回転検出パルスは、リール台11の1回転当たりについて、8個、発生する。このパルスは、反転用トランジスタ17に供給されて、このトランジスタ17のコレクタに、正極性のクロックパルスSCとして取り出され、このクロックSCが波形整形アンプ19を介してFRC機能を備えるマイクロコンピュータ20のFRC用入力ポート20pに入力される。
【0017】
このマイクロコンピュータ20では、この入力クロックSCを常時FRC機能によりカウントすると共に、図に示すようなソフトウエア処理を行って、後述するように一定時間、この例では2msec毎にクロックSCのカウント値の読み込みを行い、さらに、メインルーチンにおける複数のメインのタスク(仕事)の1つとしてテープカウンタの表示値の決定を行う。そして、その結果得られたテープカウンタ表示値を所定時間毎に表示ドライブ回路21に送る。表示ドライブ回路21は、液晶ディスプレイ22を駆動してテープカウンタの表示値を、例えば64msec毎に変更する。
【0018】
は、マイクロコンピュータ20で実行するメインルーチンのフローチャートである。このメインルーチンは、この例の場合、主として16種のメインのタスクを2msec毎に1タスクづつ順次行うもので、32msecで1回のメインルーチンを完了する。
【0019】
すなわち、先ず、ステップ101において、2msec経過したか否か判別し、2msec経過したと判別したときこのステップ101からステップ102に進む。ステップ102では、その時点でのクロックSCのカウント値を検出し、これと2msec前のクロックSCのカウント値との差から、一定時間すなわち2msec内に入力ポート20aに入力されたクロックSCの数を検出する。そして、そのクロック数だけ、前回のカウント値を増加したカウント値を例えばFIFOメモリに読み込む。
【0020】
このステップ102では、また、例えば無音期間を検出することにより曲の自動頭出し(AMS(登録商標)と称する)の命令がある場合にはその処理も行う。
【0021】
次に、ステップ102からステップ103に進み、リモートコントローラからの命令の入力がある場合には、その入力に応じた処理を行う。そして、ステップ103からステップ104に移る。
【0022】
前述したように、メインルーチンでは16種のメインタスクを2msec毎に1タスクづつ順次行うので、ステップ104では、16種のメインタスクの内から、今回、行うタスクは、何番目かを判別する。つまり、前回行ったタスクの次のタスクを判別する。そして、1番目のタスクであると判別されたときにはステップ104からステップ105aに進み、2番目のタスクあると判別されたときにはステップ104からステップ105bに進み、・・・16番目のタスクであると判別されたときにはステップ104からステップ105pに進む、というように選択される。
【0023】
そして、この16種のメインタスクのステップ105a〜105pの内の一つ、例えばステップ105fにおいて、ステップ102でFIFOメモリに読み込まれたクロックSCのカウント値からリール台11の回転数が検知され、これとモータ駆動系の動作モードからテープカウンタの表示値の決定が行われる。ここで、ステップ105fでFIFOメモリに記憶されているクロックSCのカウント値を参照するタイミングは、ステップ105fが実行されるのが32msecであるので、32msecごととなる。そして、ステップ105fでは、32msec前のFIFOメモリのクロックSCのカウント値と、今回のFIFOメモリのクロックSCのカウント値からリール台の回転数を検知すると共に、テープカウンタの表示値の決定を行う。この場合、前回から今回までの32msecの間に変化したクロックSCの数が、リール台11の2回転分となったとき、テープカウンタの表示値が1カウント変わるように表示値が決定される。
【0024】
16種のメインタスクから選択された1つのステップのメインタスク処理が終了すると、そのステップからステップ106に進む。このステップ106においては、モータ駆動系のメインの処理がなされる。次に、ステップ106からステップ107に進む。このステップ107では、この例のカセットデッキに付属のチューナにおけるメインの処理、例えば選局等の処理がなされる。
【0025】
このステップ107の次ぎにはステップ108に進み、付属のCDプレーヤのメインの処理がなされる。このステップ108の次は、ステップ101に戻り、さらに2msec経過すると、ステップ102以下を繰り返す。こうして、16種のメインタスクは、2msec毎に順次に実行されて行く。
【0026】
こうして、メインルーチンは、16種のメインタスクを実行し終わる32msecを1周期として動作する。そして、16種のメインタスクの1つにおいて、ステップ105fで決定したテープカウンタの表示値のデータを表示ドライブ回路21に転送する処理を行う。
【0027】
表示ドライブ回路21は、例えば最少時間で64msec毎に表示値を変更する。表示値の変更タイミングでないときは、表示値の変更値を保持し、変更タイミングとなったときに実際の表示値の書き替え変更を行う。
【0028】
以上の例において、FRCキャプチャユニットには、前述もしたように、入力クロックSCの時間間隔を同時に計測して記録することができる機能がある。そこで、この機能を利用してテープのハブ径とテープの厚さの情報からテープ残量の判断・表示を行うこともできる。なぜなら、リール台11の回転検出クロックSCの周期は、リール台の回転角速度に応じたものであり、ノーマル走行モードのようにテープ速度が一定である場合には、リール台11の回転角速度は、リールのテープ巻回半径に応じたものとなるからである。
【0029】
なお、以上の例では、供給側リール台あるいは巻き取り側リール台の一方の回転数を検出することによりテープカウンタを実現するようにしたが、供給側リール台と巻き取り側リール台の両方の回転数を検出することにより、いわゆるリニアテープカウンタの測定が可能になる。
【0030】
また、以上説明した実施例は、FRC機能を有するマイクロコンピュータを用いた場合の例であるが、このFRC機能を備えないマイクロコンピュータであっても、I/Oポートを介してカウンタを接続し、このカウンタにクロックSCを供給するようにしておき、このカウンタのカウント値を、2msec毎に読み込むようにする構成とすることにより同様の作用効果を得ることができる。
【0031】
【発明の効果】
以上説明したように、この発明によれば、マイクロコンピュータで直接的にクロックを検知するのではなく、カウンタによりクロックをカウントし、そのカウント値を一定時間毎に読み込むようにしたので、1つのマイクロコンピュータでテープカウンタの動作とモータ駆動系等の他の制御を行うことができる。特に、FRC機能を有するマイクロコンピュータを用いた場合には、この発明の効果は著しい。
【0032】
また、この発明においては、第2の一定時間毎にテープカウンタ表示タスクを行なうが、回転検出手段からのクロックをカウントするカウンタ手段のカウント値を第1の一定時間ごと取り込んで、その取り込んだカウント値から、この第1の一定時間内のクロック数を検知すると共に、検知したクロック数を累積加算する。
【0033】
したがって、第2の一定時間内でのカウンタ手段のカウント値は、第1の一定時間毎に累積加算したカウント値であり、第2の一定時間ごとのみのタイミングでカウンタ手段のカウント値を取り込んで、第2の一定時間内でのカウント値を検知する場合に比べて精度が良くなるという効果が期待できる。
【図面の簡単な説明】
【図1】 この発明の一実施例のブロック図である。
【図2】 この発明の一実施例の要部の動作の説明のためのフローチャートである。
【符号の説明】
1,11 リール台
2 回転検出手段
3 カウンタ手段
6 一定時間内クロック数検出手段
7 テープカウンタ表示値決定手段
8 表示手段
13 発光ダイオード
14 フォトトランジスタ
20 マイクロコンピュータ
22 液晶ディスプレイ
[0001]
[Industrial application fields]
The present invention relates to a tape counter suitable for use in, for example, an audio cassette deck.
[0002]
[Prior art]
For example, in an audio cassette deck, a tape counter is configured by detecting the rotation of a reel base. In other words, the display value of the tape counter is changed, for example, by one count for the count value of the tape counter for two revolutions of the reel base. Whether to increase or decrease the count value is determined according to the mode of the cassette deck. This count value is displayed on a liquid crystal display or the like.
[0003]
The rotation of the reel base is generally detected by optical rotation detection means such as a photo interrupt. From this rotation detection means, a fixed number of rotation detection clocks are generated per one rotation of the reel base. Conventionally, the rotation detection clock is input to the I / O port of the microcomputer, and the microcomputer detects an edge of the rotation detection clock or a change in level between high level and low level, and outputs the detected output. The number of rotations of the reel base is detected and the display value of the tape counter is determined.
[0004]
[Problems to be solved by the invention]
By the way, when using a rotation detection means that generates, for example, 8 clocks per rotation of the cassette deck reel base, a normal speed tape top (the reel tape winding radius is the largest) is used. The period of the rotation detection clock is, for example, about 800 msec, and the period of the rotation detection clock at the fast forward / rewind tape end is 7 msec.
[0005]
For this reason, it is necessary to monitor the rotation of the reel base at any time with a time accuracy of 7 msec or less in terms of software in the microcomputer. Therefore, when trying to perform high-speed control of the operation of the tape counter and other operations of the cassette deck with one microcomputer, an expensive very high-speed microcomputer is required. Therefore, conventionally, two microcomputers have been used.
[0006]
An object of this invention is to provide the tape counter which can eliminate the above fault.
[0007]
[Means for Solving the Problems]
In order to solve the above problems, a tape counter according to the present invention is
Rotation detection means for generating a fixed number of clocks per rotation of the reel base;
A microcomputer that receives a clock from the rotation detection means and generates a display value of the tape counter;
Display means for displaying a display value of the tape counter from the microcomputer ;
Consists of
The microcomputer is
A plurality of types of tasks are sequentially performed one task at each first fixed time, and are repeatedly performed at a second fixed time that is a length of the task times the first fixed time. And a tape counter display task for generating a display value of the tape counter and outputting it to the display means as one of the plurality of tasks.
As a software function of the microcomputer,
A counter means for counting a clock from said rotation detecting means,
Detecting means for detecting the number of clocks within the first predetermined time from the count value of the counter means at every first fixed time for executing each of the tasks and cumulatively adding the detected number of clocks ; ,
When the tape counter display task is executed, the number of clocks within the second predetermined time is detected from the number of clocks cumulatively added by the detection means, and the tape is calculated from the detected number of clocks within the second fixed time. Display value determining means for determining the display value of the counter;
It is characterized by providing.
[0008]
[Action]
In the above configuration, the rotation detecting hands stage so generates a clock of a predetermined number per rotation of the reel base, it is possible to detect the reel stand rotation speed from the count value of the clock.
[0009]
That is, in the counter hand stage, counts the clock of the rotation detecting hand stage or al. The detection means detects the number of clocks within the first fixed time from the count value of the counter means at each first fixed time for executing each of the tasks performed by the microcomputer, and the detected clock number. Cumulative addition.
The display value determining means detects the number of clocks within a second fixed time from the number of clocks cumulatively added by the detecting means during execution of the tape counter display task, and the detected number of clocks within the second fixed time. The display value of the tape counter is determined from the above.
[0010]
The number of clocks within the second fixed time is proportional to the number of rotations of the reel base . Therefore, in the display value determining means, the tape counter display value is calculated from the number of clocks in the second predetermined time.
[0011]
The tape counter display value is supplied to the determined hand-stage or we display hand stage is displayed as a count value of the tape counter.
[0012]
【Example】
FIG. 1 shows an embodiment of a tape counter according to the present invention. This example is an input for a function (FRC function; free running counter function) that can always count a clock input to a predetermined input port. This is an example when the present invention is applied to a cassette deck having a port and a microcomputer with a built-in counter function.
[0013]
A microcomputer having an FRC function is called an FRC capture unit, and can constantly count a clock input from an input port even while the microcomputer is performing other tasks. The interval time can also be measured simultaneously.
[0014]
In FIG. 1 , reference numeral 11 denotes a reel base. For example, a light reflecting surface 12a and a non-reflecting surface 12b are alternately arranged on a rotation plane of the reel base 11 (for example, a surface opposite to the surface on which the reel is placed). Reflective paper 12 formed at equiangular intervals is affixed. In the case of this example, the reflecting paper 12 is divided into, for example, 16 in the circumferential direction, and the light reflecting surface 12a and the non-reflecting surface 12b are alternately formed.
[0015]
A photo interrupter including a light emitting diode 13 and a phototransistor 14 is provided at a position of the reel base 11 facing the reflective paper 12. Therefore, when the DC voltage + B is applied to the power supply terminal 15, the light from the light emitting diode 13 enters the reflecting paper 12 of the reel base 11, and when the incident position is the reflecting surface 12a, the reflected light enters the phototransistor 14. Incident light turns on the phototransistor 12. On the other hand, when the incident position of the light from the light emitting diode 13 is the non-reflecting surface 12b of the reflecting paper 12, since the light is not incident on the phototransistor 14, the phototransistor 14 is turned off.
[0016]
Therefore, a negative rotation detection pulse is obtained at a connection point between the phototransistor 14 and the resistor 16 at a cycle corresponding to the rotation speed of the reel base 11. Then, eight rotation detection pulses are generated per one rotation of the reel base 11. This pulse is supplied to the inverting transistor 17 and is taken out as a positive clock pulse SC to the collector of the transistor 17, and this clock SC is connected to the FRC of the microcomputer 20 having the FRC function via the waveform shaping amplifier 19. To the input port 20p.
[0017]
In the microcomputer 20, the input clock SC is always counted by the FRC function, and the software processing as shown in FIG. 2 is performed, and as described later, the count value of the clock SC is set every certain time, in this example, every 2 msec. Further, the display value of the tape counter is determined as one of a plurality of main tasks (work) in the main routine. Then, the tape counter display value obtained as a result is sent to the display drive circuit 21 every predetermined time. The display drive circuit 21 drives the liquid crystal display 22 to change the display value of the tape counter every 64 msec, for example.
[0018]
FIG. 2 is a flowchart of a main routine executed by the microcomputer 20. In this example, in this example, the 16 main tasks are sequentially performed one task at a time every 2 msec, and one main routine is completed in 32 msec.
[0019]
That is, first, in step 101, it is determined whether or not 2 msec has elapsed. When it is determined that 2 msec has elapsed, the process proceeds from step 101 to step 102. In step 102, the count value of the clock SC at that time is detected, and the number of clocks SC input to the input port 20a within a certain time, that is, 2 msec, is calculated from the difference between this count value and the count value of the clock SC 2 msec before. To detect. Then, the count value obtained by increasing the previous count value by the number of clocks is read into, for example, a FIFO memory.
[0020]
In this step 102, if there is a command for automatic cueing of a song (referred to as AMS (registered trademark)) by detecting a silent period, for example, processing is also performed.
[0021]
Next, the process proceeds from step 102 to step 103, and when there is an input of a command from the remote controller, processing according to the input is performed. Then, the process proceeds from step 103 to step 104.
[0022]
As described above, in the main routine, 16 types of main tasks are sequentially performed one task every 2 msec. Therefore, in step 104, the number of tasks to be performed this time is determined from the 16 types of main tasks. That is, the next task after the last task is determined. If it is determined that the task is the first task, the process proceeds from step 104 to step 105a. If it is determined that the second task is present, the process proceeds from step 104 to step 105b, and so on. If so, the process proceeds from step 104 to step 105p.
[0023]
Then, in one of the steps 105a to 105p of the 16 types of main tasks, for example, step 105f, the number of revolutions of the reel base 11 is detected from the count value of the clock SC read into the FIFO memory in step 102. The display value of the tape counter is determined from the operation mode of the motor drive system. Here, the timing for referring to the count value of the clock SC stored in the FIFO memory in step 105f is every 32 msec since step 105f is executed in 32 msec. In step 105f, the rotational speed of the reel base is detected from the count value of the clock SC of the FIFO memory 32 msec ago and the count value of the clock SC of the FIFO memory this time, and the display value of the tape counter is determined. In this case, the display value is determined so that the display value of the tape counter is changed by one count when the number of clocks SC that has changed during the previous 32 msec from the previous time is equal to two revolutions of the reel base 11.
[0024]
When the main task process of one step selected from the 16 types of main tasks is completed, the process proceeds to step 106 from that step. In step 106, main processing of the motor drive system is performed. Next, the process proceeds from step 106 to step 107. In step 107, the main processing in the tuner attached to the cassette deck of this example, for example, processing such as channel selection is performed.
[0025]
Following this step 107, the routine proceeds to step 108 where the main processing of the attached CD player is performed. After step 108, the process returns to step 101, and after 2 msec, step 102 and subsequent steps are repeated. In this way, the 16 main tasks are sequentially executed every 2 msec.
[0026]
In this way, the main routine operates with 32 msec that completes execution of the 16 types of main tasks as one cycle. Then, in one of the 16 types of main tasks, processing for transferring the display value data of the tape counter determined in step 105f to the display drive circuit 21 is performed.
[0027]
For example, the display drive circuit 21 changes the display value every 64 msec in the minimum time. When the display value change timing is not reached, the display value change value is held, and when the change timing comes, the actual display value is rewritten and changed.
[0028]
In the above example, the FRC capture unit has a function capable of simultaneously measuring and recording the time interval of the input clock SC as described above. Therefore, by using this function, the remaining tape amount can be judged and displayed from the information on the tape hub diameter and the tape thickness. This is because the period of the rotation detection clock SC of the reel base 11 corresponds to the rotational angular speed of the reel base. When the tape speed is constant as in the normal running mode, the rotational angular speed of the reel base 11 is This is because it corresponds to the tape winding radius of the reel.
[0029]
In the above example, the tape counter is realized by detecting the number of rotations of one of the supply side reel stand and the take-up side reel stand. By detecting the rotation speed, a so-called linear tape counter can be measured.
[0030]
Moreover, although the Example described above is an example at the time of using the microcomputer which has a FRC function, even if it is a microcomputer which does not have this FRC function, a counter is connected via an I / O port, A similar effect can be obtained by supplying the clock SC to the counter and reading the count value of the counter every 2 msec.
[0031]
【The invention's effect】
As described above, according to the present invention, the clock is not directly detected by the microcomputer, but the clock is counted by the counter, and the count value is read at regular intervals. The computer can perform other controls such as the operation of the tape counter and the motor drive system. In particular, when a microcomputer having an FRC function is used, the effect of the present invention is remarkable.
[0032]
In the present invention, the tape counter display task is performed every second constant time. The count value of the counter means for counting the clock from the rotation detecting means is taken every first constant time, and the taken count is taken. From the value, the number of clocks within the first fixed time is detected, and the detected number of clocks is cumulatively added.
[0033]
Therefore, the count value of the counter means within the second constant time is a count value that is cumulatively added every first constant time, and the count value of the counter means is captured only at the timing of every second constant time. The effect that the accuracy is improved as compared with the case of detecting the count value within the second fixed time can be expected.
[Brief description of the drawings]
FIG. 1 is a block diagram of an embodiment of the present invention.
FIG. 2 is a flowchart for explaining the operation of the main part of one embodiment of the present invention.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1,11 Reel stand 2 Rotation detection means 3 Counter means 6 Clock number detection means within fixed time 7 Tape counter display value determination means 8 Display means 13 Light emitting diode 14 Phototransistor 20 Microcomputer 22 Liquid crystal display

Claims (2)

リール台の1回転当たりに一定数のクロックを発生する回転検出手段と、
前記回転検出手段からのクロックを受けて、テープカウンタの表示値を生成するマイクロコンピュータと、
前記マイクロコンピュータからの前記テープカウンタの表示値を表示するための表示手段と、
からなり、
前記マイクロコンピュータは、
複数種のタスクを、第1の一定時間ごとに1タスクづつ順次に行なって、前記第1の一定時間の前記タスク数倍の時間長である第2の一定時間ごとに繰り返し行なうようにするものであると共に、前記複数種のタスクのうちの一つのタスクとして、前記テープカウンタの表示値を生成して、前記表示手段に出力するテープカウンタ表示タスクを行なうものであり、
前記マイクロコンピュータのソフトウエア機能として、
前記回転検出手段からのクロックをカウントするカウンタ手段と、
前記タスクのそれぞれを実行する前記第1の一定時間毎に、前記カウンタ手段のカウント値から、前記第1の一定時間内のクロック数を検知すると共に、検知したクロック数を累積加算する検知手段と、
前記テープカウンタ表示タスクの実行時に、前記検知手段で累積加算された前記クロック数から前記第2の一定時間内のクロック数を検知し、その検知した前記第2の一定時間内のクロック数からテープカウンタの表示値を決定する表示値決定手段と、
を備えることを特徴とするテープカウンタ。
Rotation detection means for generating a fixed number of clocks per rotation of the reel base;
A microcomputer that receives a clock from the rotation detection means and generates a display value of the tape counter;
Display means for displaying a display value of the tape counter from the microcomputer ;
Consists of
The microcomputer is
A plurality of types of tasks are sequentially performed one task at each first fixed time, and are repeatedly performed at a second fixed time that is a length of the task times the first fixed time. And a tape counter display task for generating a display value of the tape counter and outputting it to the display means as one of the plurality of tasks.
As a software function of the microcomputer,
A counter means for counting a clock from said rotation detecting means,
Detecting means for detecting the number of clocks within the first predetermined time from the count value of the counter means at every first fixed time for executing each of the tasks and cumulatively adding the detected number of clocks ; ,
When the tape counter display task is executed, the number of clocks within the second predetermined time is detected from the number of clocks cumulatively added by the detection means, and the tape is calculated from the detected number of clocks within the second fixed time. Display value determining means for determining the display value of the counter;
A tape counter comprising:
前記マイクロコンピュータは、所定の入力ポートに入力されたクロックを常時カウントすることができる機能を備え、前記回転検出手段からのクロックは、前記所定の入力ポートを通じて前記マイクロコンピュータに入力される
ことを特徴とする請求項1に記載のテープカウンタ。
The microcomputer has a function of always counting a clock input to a predetermined input port, and the clock from the rotation detection means is input to the microcomputer through the predetermined input port.
The tape counter according to claim 1 .
JP29369991A 1991-10-14 1991-10-14 Tape counter Expired - Fee Related JP3736810B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29369991A JP3736810B2 (en) 1991-10-14 1991-10-14 Tape counter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29369991A JP3736810B2 (en) 1991-10-14 1991-10-14 Tape counter

Publications (2)

Publication Number Publication Date
JPH05109242A JPH05109242A (en) 1993-04-30
JP3736810B2 true JP3736810B2 (en) 2006-01-18

Family

ID=17798098

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29369991A Expired - Fee Related JP3736810B2 (en) 1991-10-14 1991-10-14 Tape counter

Country Status (1)

Country Link
JP (1) JP3736810B2 (en)

Also Published As

Publication number Publication date
JPH05109242A (en) 1993-04-30

Similar Documents

Publication Publication Date Title
JPS5927013B2 (en) Speed control method of magnetic tape feed motor
KR950009591B1 (en) Device checking the location of tape
JPS63231786A (en) Tape time display device
JP3736810B2 (en) Tape counter
JPS60129613A (en) Rotation detector
JPH0411231Y2 (en)
US5815336A (en) Method for sensing position of magnetic tape during discontinuous travel of the tape
JPS63884A (en) Position display device for mark signal
JPS6149746B2 (en)
KR930006899Y1 (en) Device for displaying remained time of tape by read only memory map
JPS5948470B2 (en) Tape amount calculation device
JPH0628117B2 (en) Magnetic recording / reproducing device
JP2640048B2 (en) Tape running time display method
JPH06243660A (en) Tape residual amount display device
JPS60106094A (en) Detector of tape quantity
KR930007085B1 (en) Velosity control method and circuit of capstan motor
JP2954846B2 (en) Hand movement control method
KR950002407B1 (en) Record/play time display method & screen search method in camcoder
JP2610014B2 (en) Tape amount detection device
JPH0430714Y2 (en)
JPS5968884A (en) Detecting system of tape residual amount
JPS5916339B2 (en) magnetic recording and reproducing device
JPS5828670B2 (en) Calculation time calculation method for magnetic recording/reproducing device
JPS6316489A (en) Display device for exposed drive area of tape
JPS5837628B2 (en) Tape position detection device

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050826

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20051024

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050826

LAPS Cancellation because of no payment of annual fees