JP3186137B2 - Information processing method - Google Patents

Information processing method

Info

Publication number
JP3186137B2
JP3186137B2 JP30201091A JP30201091A JP3186137B2 JP 3186137 B2 JP3186137 B2 JP 3186137B2 JP 30201091 A JP30201091 A JP 30201091A JP 30201091 A JP30201091 A JP 30201091A JP 3186137 B2 JP3186137 B2 JP 3186137B2
Authority
JP
Japan
Prior art keywords
processing
sub
reference signal
time
unit
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
JP30201091A
Other languages
Japanese (ja)
Other versions
JPH05143368A (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 JP30201091A priority Critical patent/JP3186137B2/en
Publication of JPH05143368A publication Critical patent/JPH05143368A/en
Application granted granted Critical
Publication of JP3186137B2 publication Critical patent/JP3186137B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、例えばサーボ系、ディ
ジタルフィルタやタイマ等種々の処理回路等に適用して
好適な信号処理方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a signal processing system suitable for application to various processing circuits such as a servo system, a digital filter and a timer.

【0002】[0002]

【従来の技術】従来、サーボ系、ディジタルフィルタや
タイマ等、種々の処理回路等においては、多くがマイク
ロコンピュータを用い、プログラムによって処理が行わ
れている。
2. Description of the Related Art Conventionally, in various processing circuits such as a servo system, a digital filter, a timer, and the like, processing is mostly performed by a program using a microcomputer.

【0003】図6に一例としてモータのサーボ系を示
す。
FIG. 6 shows a motor servo system as an example.

【0004】この図6において、1はモータで、このモ
ータ1の回転周波数が周波数発生回路2によって検出さ
れ、周波数信号として出力される。
In FIG. 6, reference numeral 1 denotes a motor. The rotation frequency of the motor 1 is detected by a frequency generation circuit 2 and output as a frequency signal.

【0005】この周波数信号はコンパレータ3に供給さ
れ、このコンパレータ3により基準信号と比較され、そ
の比較結果としてのエラー信号がマイクロコンピュータ
4の入出力ポート9及びバス(アドレス、コントロール
及びデータバスから構成される)を介してCPU5に供
給される。
The frequency signal is supplied to a comparator 3, which compares the frequency signal with a reference signal. The error signal as a result of the comparison is output from an input / output port 9 and a bus (address, control and data buses) of the microcomputer 4. Is supplied to the CPU 5.

【0006】このCPU5はROM8に記憶された各種
プログラムに従って、RAM7をワークエリアとしてコ
ンパレータ3よりのエラー信号に基いて制御信号を得、
この制御信号を増幅回路10を介してモータ1に供給す
る。
The CPU 5 obtains a control signal based on an error signal from the comparator 3 using the RAM 7 as a work area in accordance with various programs stored in the ROM 8,
This control signal is supplied to the motor 1 via the amplifier circuit 10.

【0007】かくしてこのモータ1はサーボにより安定
した駆動がなされる。
Thus, the motor 1 is driven stably by the servo.

【0008】さて、上述のROM8に記憶されたプログ
ラムとしての処理部は、一般に図4に示すように、メイ
ンプログラムとしての主処理部p1と、この主処理部p
1の処理過程に各種タイミングにより割り込みを掛けて
処理を行うサブプログラムとしての副処理部p2、p
3、・・・・pnにより構成される。
As shown in FIG. 4, a processing section as a program stored in the ROM 8 generally includes a main processing section p1 as a main program and a main processing section p1 as a main program.
The sub-processing units p2 and p as sub-programs that perform processing by interrupting at various timings in the processing process 1
3,... Pn.

【0009】図5にこれら主処理部p1、副処理部p
2、p3、・・・・pnの処理タイミングを示す。
FIG. 5 shows the main processing unit p1 and the sub-processing unit p.
The processing timing of 2, p3,... Pn is shown.

【0010】図5においては、各処理部p1〜pnの処
理時間をハイレベル“1”で示している。
In FIG. 5, the processing time of each of the processing units p1 to pn is indicated by a high level “1”.

【0011】この図5に示すように、各副処理部p2、
p3、・・・・pnが処理を行っている時間以外の時間
が主処理部p1が処理を行っている時間である。
As shown in FIG. 5, each sub-processing unit p2,
The time other than the time during which p3,... pn is performing processing is the time during which the main processing unit p1 is performing processing.

【0012】また、このように割り込みタイミングや処
理時間がまちまちであると、この図5に斜線で示すよう
に、各副処理部の処理タイミングがオーバーラップする
オーバーラップ部分obが発生する。
If the interrupt timing and the processing time are different as described above, an overlap portion ob occurs where the processing timings of the respective sub-processing units overlap as shown by hatching in FIG.

【0013】このオーバーラップが生じた場合、即ち、
例えば副処理部p2とp3がオーバーラップした場合は
副処理部p2の処理を優先し、副処理部p3とpnがオ
ーバーラップした場合は副処理部p3の処理を優先する
ようにしている。
When this overlap occurs, that is,
For example, when the sub-processing units p2 and p3 overlap, the processing of the sub-processing unit p2 is prioritized, and when the sub-processing units p3 and pn overlap, the processing of the sub-processing unit p3 is prioritized.

【0014】[0014]

【発明が解決しようとする課題】上述のように構成され
たプログラムとしての処理では、例えば副処理部p2、
p3、・・・・pnのプログラム長(処理過程の長さ)
やこれらの割り込みタイミングに変更があった場合は、
主処理部p1をも含めた他の処理部の処理タイミングに
影響を与える。
In the processing as a program configured as described above, for example, the sub-processing unit p2,
p3,... pn program length (processing length)
Or the timing of these interrupts has changed,
It affects the processing timing of other processing units including the main processing unit p1.

【0015】例えば図6に示したモータのサーボ系等に
おいては、この影響により、時間的ロスが生じ、サーボ
伝達関数に影響を与えてしまうことになり、サーボが不
安定となる不都合があった。
For example, in the servo system of the motor shown in FIG. 6, due to this effect, a time loss occurs, which affects the servo transfer function, and the servo becomes unstable. .

【0016】本発明はかかる点に鑑みてなされたもの
で、デバックが容易な理解しやすいプログラミングが可
能となり、副処理部相互での時間的オーバーラップを生
じないようにして、副処理部相互間での伝達関数に影響
を与えないようにでき、これにより、例えばサーボ系に
適用した場合に時間的ロスをなくして精度の高いサーボ
を行うことのできる情報処理方式を提案しようとするも
のである。
The present invention has been made in view of the above points, and enables easy-to-understand programming that is easy to debug, and prevents time overlap between the sub-processing units so that the inter-sub-processing unit The present invention aims to propose an information processing method that can perform high-accuracy servo without time loss when applied to a servo system, for example, by not affecting the transfer function of the servo system. .

【0017】[0017]

【課題を解決するための手段】本発明情報処理方式は例
えば図1〜図3に示す如く、主処理を行う主処理部q1
と、基準信号を発生する基準信号発生部c3と、基準信
号に基づいてnビットの値の計数を行い、この基準信号
1周期の時間情報T0 1 ,2 2 ,2 3 ,2 4 ,・
・・n を乗じた複数の時間情報T0×2 1 ,T0×2
2 ,T0×2 3 ,T0×2 4 ,・・・T0×2 n を得る
計数部c1と、計数部c1が計数した複数の時間情報
0×2 1 ,T0×2 2 ,T0×2 3 ,T0×2 4 ,・・
・T0×2 n が重み付けとして割り当てられる複数の副
処理部q2、q3、q4、q5、・・・・qnと、計数
部c1よりの重み付けされた時間情報T0×2 1 ,T0
×2 2 ,T0×2 3 ,T0×2 4 ,・・・T0×2 n
対応した副処理部q2、q3、q4、q5、・・・・q
nをnビットの計数値のうち下位のビットに対応するも
のから順次選択する判断部c2とを有し、副処理部q
2、q3、q4、q5、・・・・qnの処理時間を、基
準信号の少なくとも1周期T0より短くしたものであ
る。
According to the information processing system of the present invention, for example, as shown in FIGS.
And a reference signal generating unit c3 for generating a reference signal , and counting the n-bit value based on the reference signal, and adding 2 1 , 2 2 , 2 3 , 2 4 to the time information T0 of one cycle of the reference signal. ,
..A plurality of time information T0 × 2 1 , T0 × 2 multiplied by 2 n
2, T0 × 2 3, T0 × 2 4, a counting section c1 obtaining ··· T0 × 2 n, a plurality of counter c1 is counted time information T
0 × 2 1, T0 × 2 2, T0 × 2 3, T0 × 2 4, ··
A plurality of sub-processing units q2, q3, q4, q5,... Qn to which T0 × 2 n is assigned as weights, and weighted time information T0 × 2 1 , T0 from the counting unit c1.
× 2 2 , T0 × 2 3 , T0 × 2 4 ,..., T0 × 2 n Sub-processing units q2, q3, q4, q5,.
n corresponds to the lower bit of the n-bit count value.
And a determining unit c2 for sequentially selecting the sub processing unit q
The processing time of 2, q3, q4, q5,..., Qn is shorter than at least one period T0 of the reference signal.

【0018】[0018]

【作用】上述せる本発明によれば、基準信号の少なくと
も1周期T0より処理時間を短くした複数の副処理部q
2、q3、q4、q5、・・・・qnに対して基準信号
1周期の時間情報T0 1 ,2 2 ,2 3 ,2 4 ,・
・・n を乗じた複数の時間情報T0×2 1 ,T0×2
2 ,T0×2 3 ,T0×2 4 ,・・・T0×2 n 重み
付けすると共に、計数部c1で計数された重み付けされ
時間情報T0×2 1 ,T0×2 2 ,T0×2 3 ,T0
×2 4 ,・・・T0×2 n に対応した副処理部q2、q
3、q4、q5、・・・・qnをnビットの計数値のう
ち下位のビットに対応するものから順次選択して処理を
行うようにしたので、デバッグが容易な理解しやすいプ
ログラミングが可能となり、副処理部相互での時間的オ
ーバーラップを生じないようにして、副処理部相互間で
の伝達関数に影響を与えないようにでき、これにより、
例えばサーボ系に適用した場合に時間的ロスをなくして
精度の高いサーボを行うことができ、また、例えばディ
ジタルフィルタやタイマ等に適用した場合には、これら
のアルゴリズムを容易に構成することができる。
According to the present invention described above, a plurality of sub-processing units q each having a processing time shorter than at least one cycle T0 of the reference signal are provided.
2, q3, q4, q5, 2 1 in the time information T0 of one period of the reference signal to ···· qn, 2 2, 2 3 , 2 4, ·
..A plurality of time information T0 × 2 1 , T0 × 2 multiplied by 2 n
2 , T0 × 2 3 , T0 × 2 4 ,... Weighted by T0 × 2 n
And weighted by the counting unit c1.
Time information T0 × 2 1, T0 × 2 2, T0 × 2 3, T0
× 2 4 ,... Sub-processing units q2, q corresponding to T0 × 2 n
.., Qn are n-bit count values
Since the processing is performed by sequentially selecting from the ones corresponding to the lower bits, programming that is easy to understand and easy to debug is possible, so that there is no time overlap between the sub-processing units, The transfer function between the sub-processing units can be prevented from being affected.
For example, when applied to a servo system, a highly accurate servo can be performed without time loss, and when applied to, for example, a digital filter or a timer, these algorithms can be easily configured. .

【0019】[0019]

【実施例】以下に、図1を参照して本発明情報処理方式
の一実施例について詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the information processing system of the present invention will be described below in detail with reference to FIG.

【0020】この図1において、q1はメインプログラ
ムとしての主処理部、c1は例えば図3Aに示す基準信
号を計数する計算プログラムとしてのカウンタ、c2は
このカウンタc1によって計算された、基準信号の1周
期の時間情報に2n を乗じた値、即ち、時間情報に基い
て副処理部q2、q3、q4、q5、・・・・qnを選
択する判断プログラムとしての判断部、c3は例えば1
周期が1msecの基準信号を発生する基準信号発生部
である。
In FIG. 1, q1 is a main processing section as a main program, c1 is a counter as a calculation program for counting reference signals shown in FIG. 3A, for example, and c2 is one of the reference signals calculated by the counter c1. A judgment unit as a judgment program for selecting a sub-processing unit q2, q3, q4, q5,... Qn based on the time information of the cycle multiplied by 2 n, that is, c3 is, for example, 1
This is a reference signal generator that generates a reference signal having a cycle of 1 msec.

【0021】例えば図6に示す如きサーボ系の処理とし
てはこのような構成のプログラムを用いるようにする。
For example, a program having such a configuration is used for processing of the servo system as shown in FIG.

【0022】さて、次に図2を参照して上述のプログラ
ム全体の動作を説明する。
Next, the operation of the entire program will be described with reference to FIG.

【0023】先ずステップ100では、主処理部q1に
より主処理を実行する。そしてステップ110に移行す
る。
First, at step 100, the main processing is executed by the main processing section q1. Then, the process proceeds to step 110.

【0024】ステップ110では、カウンタc1によ
り、計数値MC=MC+1の計数、即ち、基準信号発生
部c3よりの基準信号の計数を行う。そしてステップ1
20に移行する。
In step 110, the counter c1 counts the count value MC = MC + 1, that is, counts the reference signal from the reference signal generator c3. And step 1
Move to 20.

【0025】即ち、図3Aに示す如き基準信号1周期の
時間情報に2n を乗じる。
That is, 2 n is multiplied by the time information of one cycle of the reference signal as shown in FIG. 3A.

【0026】ステップ120では、判断部c2により、
計数値MCが21×T0(例えば基準信号の1周期)か
否かを判断し、「YES」であればステップ130に移
行し、「NO」であればステップ140に移行する。
In step 120, the judgment unit c2 determines
It is determined whether or not the count value MC is 2 1 × T0 (for example, one cycle of the reference signal). If “YES”, the process proceeds to step 130, and if “NO”, the process proceeds to step 140.

【0027】ステップ130では、副処理部q2による
副処理を実行する。そして再びステップ100に移行す
る。
In step 130, the sub-processing unit q2 executes sub-processing. Then, the process returns to step 100 again.

【0028】ステップ140では、判断部c2により、
計数値MCが22×T0か否かを判断し、「YES」で
あればステップ150に移行し、「NO」であればステ
ップ160に移行する。
In step 140, the judgment unit c2 determines
It is determined whether or not the count value MC is 2 2 × T0. If “YES”, the process proceeds to a step 150, and if “NO”, the process proceeds to a step 160.

【0029】ステップ150では、副処理部q3による
副処理を実行する。そして再びステップ100に移行す
る。
At step 150, the sub-processing unit q3 executes sub-processing. Then, the process returns to step 100 again.

【0030】ステップ160では、判断部c2により、
計数値MCが23×T0か否かを判断し、「YES」で
あればステップ170に移行し、「NO」であればステ
ップ180に移行する。
In step 160, the judgment unit c2 determines
It is determined whether or not the count value MC is 2 3 × T0. If “YES”, the process proceeds to a step 170, and if “NO”, the process proceeds to a step 180.

【0031】ステップ170では、副処理部q4による
副処理を実行する。そして再びステップ100に移行す
る。
In step 170, the sub-processing unit q4 executes sub-processing. Then, the process returns to step 100 again.

【0032】ステップ180では、判断部c2により、
計数値MCが24×T0か否かを判断し、「YES」で
あればステップ190に移行し、「NO」であれば次の
ステップに移行する。
At step 180, the judgment unit c2 determines
It is determined whether or not the count value MC is 2 4 × T0. If “YES”, the process proceeds to a step 190, and if “NO”, the process proceeds to the next step.

【0033】ステップ190では、副処理部q5による
副処理を実行する。そして再びステップ100に移行す
る。
At step 190, a sub-process by the sub-processor q5 is executed. Then, the process returns to step 100 again.

【0034】ステップnでは、判断部c2により、計数
値MCが2n ×T0か否かを判断し、「YES」であれ
ばステップn+1に移行し、「NO」であれば再びステ
ップ100に移行する。
In step n, the judgment section c2 judges whether or not the count value MC is 2 n × T0. If “YES”, the flow proceeds to step n + 1. If “NO”, the flow proceeds to step 100 again. I do.

【0035】このように、本例においては、カウンタc
1が基準信号発生部c3よりの基準信号を例えば計数
し、この計数値、即ち、時間情報を判断部c2が判断
し、予めこの時間情報が割り当てられている副処理部q
2、q3、q4、q5、・・・・qnを選択するように
している。
As described above, in this embodiment, the counter c
1 counts the reference signal from the reference signal generation unit c3, for example, and the determination unit c2 determines the count value, that is, the time information, and the sub-processing unit q to which the time information is assigned in advance.
2, q3, q4, q5,..., Qn are selected.

【0036】上述の判断部c2による判断は、例えばカ
ウンタc3が計数した値の内下のビットから順に優先す
るようになされている。
The judgment by the judging section c2 is made to give priority to, for example, the lower bit of the value counted by the counter c3.

【0037】例えばカウンタc1の計数値が“0100
0000”のときには“1”がたっているビット、即
ち、基準信号1周期の時間情報×22 の重み付けがなさ
れている副処理部q3が実行される。
For example, if the count value of the counter c1 is "0100
In the case of "0000", the sub-processing unit q3 weighted by "1", that is, the time information of one cycle of the reference signal × 2 2 is executed.

【0038】一方、例えばカウンタc1の計数値が“1
1100000”のときには、“1”がたっているビッ
トは3つあるが、このように複数のビットに“1”がた
っているときには、一番下の“1”がたっているビット
を優先する。
On the other hand, for example, if the count value of the counter c1 is "1"
In the case of "1100000", there are three bits where "1" is set, but when "1" is set for a plurality of bits, the bit with the lowest "1" is given priority.

【0039】即ち、この場合には、基準信号1周期の時
間情報×21 の重み付けがなされている副処理部q2が
実行される。
That is, in this case, the sub-processing unit q2 weighted by time information of one cycle of the reference signal × 2 1 is executed.

【0040】ここで2n と表している時間情報は、一般
に周知なカウンタのビットに対して定義される2n とは
異なる。
[0040] Here, the time information representing the 2 n is generally different from the 2 n defined for bits known counter.

【0041】即ち、本例においてはこの2n を、基準信
号の周期に対して1/2n といった意味でとらえてい
る。
That is, in the present embodiment, this 2 n is taken to mean n n of the period of the reference signal.

【0042】即ち、副処理部q2の処理が選択される最
下位ビットである1ビット目に“1”(処理がアクティ
ブとなる期間)がたつ割合は、基準信号に対して2周期
に1回であり、副処理部q3の処理が選択される2ビッ
ト目に“1”(処理がアクティブとなる期間)がたつ割
合は、基準信号に対して4周期に1回であり、副処理部
q4の処理が選択される3ビット目に“1”(処理がア
クティブとなる期間)がたつ割合は、基準信号に対して
8周期に1回であり、副処理部q5の処理が選択される
4ビット目に“1”(処理がアクティブとなる期間)が
たつ割合は、基準信号に対して16周期に1回であり、
副処理部qnの処理が選択されるnビット(最上位ビッ
ト)目に“1”がたつ割合は、基準信号に対して2n
期に1回である。
That is, the ratio of “1” (the period during which the process is active) to the first bit, which is the least significant bit at which the process of the sub-processing unit q2 is selected, is once every two periods with respect to the reference signal. The rate at which “1” (the period during which the processing is active) is set to the second bit at which the processing of the sub-processing unit q3 is selected is once every four cycles with respect to the reference signal. The rate at which "1" (a period during which the processing is active) is set to the third bit at which the processing of (1) is selected is once in eight cycles with respect to the reference signal, and the processing of the sub-processing unit q5 is selected. The ratio of “1” (the period during which the process is active) at the bit is once in 16 cycles with respect to the reference signal,
The ratio of “1” at the n-th bit (most significant bit) at which the processing of the sub-processing unit qn is selected is once every 2 n cycles with respect to the reference signal.

【0043】従って、上述したように、各副処理部q2
〜qnに対する時間的な重み付けは、副処理部q2が基
準信号の1周期の時間T0×21 、副処理部q3が基準
信号の1周期の時間T0×22 、副処理部q4が基準信
号の1周期の時間T0×23 、副処理部q5が基準信号
の1周期の時間T0×24 、・・・・副処理部qnが基
準信号の1周期の時間T0×2n となる。
Therefore, as described above, each sub-processing unit q2
Temporal weighting of ~qn, vice processor q2 time T0 × 2 1 of 1 cycle of the reference signal, the sub-processor q3 is 1 period of the reference signal time T0 × 2 2, sub-processing unit q4 reference signal one cycle time T0 × 2 3, sub-processing unit q5 is one period of a reference signal time T0 × 2 4, ···· sub-processing unit qn is time T0 × 2 n of one period of the reference signal.

【0044】このような処理を行った場合のタイミング
チャートを図3に示す。
FIG. 3 shows a timing chart when such processing is performed.

【0045】この図3において、各処理部q1〜q5の
処理のタイミング図のハイレベル“1”の部分は夫々の
処理部q1〜q5(副処理部qnについては図示を省略
する)が処理を実行している時間である。
In FIG. 3, the high-level "1" portion of the timing chart of the processing by the processing units q1 to q5 is processed by the respective processing units q1 to q5 (the sub-processing unit qn is not shown). Running time.

【0046】またこの図3に示すように、各副処理部q
2〜q5の処理時間、即ち、カウンタc1の出力が
“1”となっている時間は基準信号1周期の時間T0よ
り短く設定されている。
As shown in FIG. 3, each sub-processing unit q
The processing time from 2 to q5, that is, the time when the output of the counter c1 is "1" is set shorter than the time T0 of one cycle of the reference signal.

【0047】従って、この図5に示すように、副処理部
q2、q3、q4及びq5の処理時間はオーバーラップ
しない。
Therefore, as shown in FIG. 5, the processing times of the sub-processing units q2, q3, q4 and q5 do not overlap.

【0048】さて、このように、カウンタC1によって
各副処理部q2〜qnに夫々基準信号1周期の時間T0
に2n を乗じた値で重み付けし、これによって副処理部
q2〜qnを選択、実行するようにしたので、各副処理
部q2〜qnのアクセスタイムは時間的な重み付けがな
されているのでデバックが容易な理解しやすいプログラ
ミングが可能となり、副処理部q2〜qn相互での時間
的オーバーラップを生じないようにして、副処理部q2
〜qn相互間での伝達関数に影響を与えないようにで
き、これにより、例えばサーボ系に適用した場合に時間
的ロスをなくして精度の高いサーボを行うことができ、
また、例えばディジタルフィルタやタイマ等に適用した
場合には、これらのアルゴリズムを容易に構成すること
ができる。
As described above, the counter C1 causes each of the sub-processing units q2 to qn to output the time T0 of one cycle of the reference signal.
Is multiplied by 2 n to select and execute the sub-processing units q2 to qn. Since the access time of each of the sub-processing units q2 to qn is temporally weighted, debugging is performed. Is easy to understand, and the sub-processing units q2 to qn are not overlapped with each other in time.
To qn so as not to affect the transfer function between them, whereby, for example, when applied to a servo system, it is possible to perform high-precision servo without time loss,
When applied to, for example, a digital filter or a timer, these algorithms can be easily configured.

【0049】尚、本発明は上述の実施例に限ることなく
本発明の要旨を逸脱することなく、その他種々の構成が
取り得ることは勿論である。
It should be noted that the present invention is not limited to the above-described embodiments, but may take various other configurations without departing from the gist of the present invention.

【0050】[0050]

【発明の効果】上述せる本発明によれば、基準信号の少
なくとも1周期T0より処理時間を短くした複数の副処
理部に対して基準信号の1周期の時間情報T0 1
2 ,2 3 ,2 4 ,・・・n を乗じた複数の時間情報
T0×2 1 ,T0×2 2 ,T0×2 3 ,T0×2 4 ,・
・・T0×2 n 重み付けすると共に、計数部で計数さ
れた重み付けされた時間情報T0×2 1 ,T0×2 2
T0×2 3 ,T0×2 4 ,・・・T0×2 n に対応した
副処理部をnビットの計数値のうち下位のビットに対応
するものから順次選択して処理を行うようにしたので、
各副処理部のアクセスタイムは時間的な重み付けがなさ
れているのでデバッグが容易な理解しやすいプログラミ
ングが可能となり、副処理部相互での時間的オーバーラ
ップを生じないようにして、副処理部相互間での伝達関
数に影響を与えないようにでき、これにより、例えばサ
ーボ系に適用した場合に時間的ロスをなくして精度の高
いサーボを行うことができ、また、例えばディジタルフ
ィルタやタイマ等に適用した場合には、これらのアルゴ
リズムを容易に構成することができる利益がある。
Effects of the Invention According to the present invention to above, a plurality of time information T0 to 2 1 of 1 cycle of the reference signal to the sub-processing unit in which a shorter processing time than at least one cycle T0 of the reference signal,
Multiple time information multiplied by 2 2 , 2 3 , 2 4 ,... 2 n
T0 × 2 1, T0 × 2 2, T0 × 2 3, T0 × 2 4, ·
· · T0 × 2 with weights at n, counted by the counting unit weighting time information T0 × 2 1, T0 × 2 2,
The sub-processor corresponding to T0 × 2 3 , T0 × 2 4 ,... T0 × 2 n corresponds to the lower bits of the n-bit count value.
Processing is performed by sequentially selecting from the
Since the access time of each sub-processing unit is time-weighted, easy-to-understand and easy-to-understand programming can be performed. It is possible not to affect the transfer function between the two, so that, for example, when applied to a servo system, time loss can be eliminated and highly accurate servo can be performed. When applied, there is an advantage that these algorithms can be easily configured.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明情報処理方式の一実施例を示すブロック
線図である。
FIG. 1 is a block diagram showing an embodiment of an information processing method according to the present invention.

【図2】本発明情報処理方式の一実施例の説明に供する
フローチャートである。
FIG. 2 is a flowchart for explaining one embodiment of the information processing system of the present invention.

【図3】本発明情報処理方式の一実施例の説明に供する
タイミングチャートである。
FIG. 3 is a timing chart for explaining one embodiment of the information processing system of the present invention.

【図4】従来の情報処理方式の例を示すブロック線図で
ある。
FIG. 4 is a block diagram showing an example of a conventional information processing method.

【図5】従来の情報処理方式の例の説明に供するタイミ
ングチャートである。
FIG. 5 is a timing chart for explaining an example of a conventional information processing method.

【図6】モータのサーボ系の一例を示す構成図である。FIG. 6 is a configuration diagram illustrating an example of a servo system of a motor.

【符号の説明】[Explanation of symbols]

q1 主処理部 q2、q3、q4、q5、・・・・qn 副処理部 c1 カウンタ c2 判断部 c3 基準信号発生部 q1 main processing unit q2, q3, q4, q5,... qn sub-processing unit c1 counter c2 determination unit c3 reference signal generation unit

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06F 9/46 H02P 1/00 - 19/00 F02D 45/00 G11B 1/00 - 33/00 G05B 19/05 G05B 15/02 JICSTファイル(JOIS) CSDB(日本国特許庁)──────────────────────────────────────────────────続 き Continued on the front page (58) Fields investigated (Int.Cl. 7 , DB name) G06F 9/46 H02P 1/00-19/00 F02D 45/00 G11B 1/00-33/00 G05B 19 / 05 G05B 15/02 JICST file (JOIS) CSDB (Japan Patent Office)

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 主処理を行う主処理部と、 基準信号を発生する基準信号発生部と、 上記基準信号に基づいてnビットの値の計数を行い、該
基準信号の1周期の時間情報T0 1 ,2 2 ,2 3
4 ,・・・n を乗じた複数の時間情報T0×2 1
T0×2 2 ,T0×2 3 ,T0×2 4 ,・・・T0×2
n を得る計数部と、 上記計数部が計数した複数の時間情報T0×2 1 ,T0
×2 2 ,T0×2 3 ,T0×2 4 ,・・・T0×2 n
重み付けとして割り当てられる複数の副処理部と、 上記計数部よりの重み付けされた時間情報T0×2 1
T0×2 2 ,T0×2 3 ,T0×2 4 ,・・・T0×2
n に対応した上記副処理部をnビットの計数値のうち下
位のビットに対応するものから順次選択する判断部とを
有し、 上記副処理部の処理時間を、上記基準信号の少なくとも
1周期T0より短くしたことを特徴とする情報処理方
式。
1. A main processing section for performing main processing, a reference signal generating section for generating a reference signal , counting an n-bit value based on the reference signal, and obtaining time information T0 of one cycle of the reference signal 2 1 , 2 2 , 2 3 ,
2 4, a plurality of time information T0 × 2 1 multiplied by · · · 2 n,
T0 × 2 2, T0 × 2 3, T0 × 2 4, ··· T0 × 2
a counting unit to obtain a n, the counting unit plurality of time information T0 × 2 1 counted is, T0
× 2 2, T0 × 2 3 , T0 × 2 4, are ··· T0 × 2 n
A plurality of sub-processing units to be assigned as a weighted, weighted time information from the counting part T0 × 2 1,
T0 × 2 2, T0 × 2 3, T0 × 2 4, ··· T0 × 2
The sub-processing unit corresponding to n is set to the lower value of the n-bit count value.
And a determination unit for sequentially selecting from the bit corresponding to the order bit, wherein the processing time of the sub-processing unit is shorter than at least one cycle T0 of the reference signal.
JP30201091A 1991-11-18 1991-11-18 Information processing method Expired - Fee Related JP3186137B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30201091A JP3186137B2 (en) 1991-11-18 1991-11-18 Information processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30201091A JP3186137B2 (en) 1991-11-18 1991-11-18 Information processing method

Publications (2)

Publication Number Publication Date
JPH05143368A JPH05143368A (en) 1993-06-11
JP3186137B2 true JP3186137B2 (en) 2001-07-11

Family

ID=17903805

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30201091A Expired - Fee Related JP3186137B2 (en) 1991-11-18 1991-11-18 Information processing method

Country Status (1)

Country Link
JP (1) JP3186137B2 (en)

Also Published As

Publication number Publication date
JPH05143368A (en) 1993-06-11

Similar Documents

Publication Publication Date Title
US5664192A (en) Method and system for accumulating values in a computing device
US5367550A (en) Break address detecting circuit
US6038649A (en) Address generating circuit for block repeat addressing for a pipelined processor
US4365311A (en) Control of instruction pipeline in data processing system
JP2883784B2 (en) Microcomputer
JP3105738B2 (en) Information processing device
JP3186137B2 (en) Information processing method
US4644841A (en) Electronic musical instrument
EP0354590A2 (en) Instruction buffer for a microcomputer
US5732252A (en) Program counter system capable of incrementing or decrementing after a conditional jump instruction
JP3068317B2 (en) Microcomputer
JP2845650B2 (en) Logical expression evaluation arithmetic unit
JPH0619700B2 (en) Arithmetic unit
JP2743889B2 (en) Method and apparatus for program evaluation
JPS61226839A (en) Event processing system
JPS6118045A (en) Detecting system of program runaway
JP2619016B2 (en) Digital control device
JP2912067B2 (en) Speed control device and debug device
JP2718402B2 (en) Time measurement circuit for built-in in-circuit emulator
JP2990111B2 (en) Timer circuit
JPH11143819A (en) Bus size circuit
JPH0544689B2 (en)
JPH04365112A (en) Time counting system for computer system
JPH06230980A (en) Interruption circuit
JPH10161908A (en) Detection of run-away of microcomputer

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees