JPH03268515A - Integration comparing circuit - Google Patents

Integration comparing circuit

Info

Publication number
JPH03268515A
JPH03268515A JP2067637A JP6763790A JPH03268515A JP H03268515 A JPH03268515 A JP H03268515A JP 2067637 A JP2067637 A JP 2067637A JP 6763790 A JP6763790 A JP 6763790A JP H03268515 A JPH03268515 A JP H03268515A
Authority
JP
Japan
Prior art keywords
clock
reference value
period
counter
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2067637A
Other languages
Japanese (ja)
Inventor
Seiji Komatsuda
誠治 小松田
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2067637A priority Critical patent/JPH03268515A/en
Publication of JPH03268515A publication Critical patent/JPH03268515A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

PURPOSE:To practically change the reference of decision by counting up compared results outputted from a holding circuit during a 2nd period longer than a 1st period in accordance with a program stored in an inside, comparing the counted result with a 2nd variable reference value, and deciding a state based upon the result of comparison. CONSTITUTION:A counter 22 counts up synchronizing information '1' by using a transmission STA as a clock and reset at the time of inputting a decision clock with a 10msec period from an interval timer 23. A comparator 24 compares the value of the counter 22 with the 1st fixed reference value (n). A flip flop 25 holds the output of the comparator 24 in each input of a decision clock and outputs the result to a central processing circuit(CPU) 26. Since the CPU 26 may execute integration not by a SAT period but each 10msec, processing can be executed with a scope. When a reference value (m) is changed by rewriting the contents of an EEPROM or the like for storing a program, the reference value practically be changed.

Description

【発明の詳細な説明】 〔概要〕 ある状態を示す信号を所定時間積分し基準値と比較して
その状態であるか否かを判断する積分比較回路に関し、 基準値そのものが変更できない場合でも、入力信号の1
周期より長い周期のプロクラム記憶型処理装置における
処理により、実質的に判定の基準を変更できるようにす
ることを目的とし、入力される状態情報をクロックに基
づき計数するカウンタと、該クロックより長い第1の周
期の判定クロックを出力し該カウンタの値を初期値に戻
すインターバルタイマと、該カウンタの値と第1の基準
値とを比較する比較器と、該比較器の比較結果を該判定
クロック毎に保持する保持回路と、該判定クロック毎に
該保持回路の出力の判定結果を取り込み、第1の周期よ
り長い第2の周期にわたり判定結果を計数し、計数結果
を第2の基準値と比較して状態を判定するプログラム記
憶型処理装置とで構成する。
[Detailed Description of the Invention] [Summary] Regarding an integral comparison circuit that integrates a signal indicating a certain state for a predetermined period of time and compares it with a reference value to determine whether the state is in that state or not, even when the reference value itself cannot be changed. input signal 1
The purpose is to make it possible to substantially change the criteria for judgment by processing in a program storage type processing device whose cycle is longer than the cycle. an interval timer that outputs a judgment clock with a cycle of 1 and returns the value of the counter to its initial value; a comparator that compares the value of the counter with a first reference value; a holding circuit that holds each judgment clock, and a judgment result of the output of the holding circuit for each judgment clock, counts the judgment results over a second period that is longer than the first period, and uses the counting result as a second reference value. and a program storage type processing device that compares and determines the status.

〔産業上の利用分野〕[Industrial application field]

本発明はある状態を示す信号を所定時間積分し基準値と
比較してその状態であるか否かを判断する積分比較回路
に関する。
The present invention relates to an integral comparison circuit that integrates a signal indicating a certain state for a predetermined period of time and compares it with a reference value to determine whether the signal is in that state.

自動車電話及び携帯電話においては、通話品質の監視の
ために音声信号とは別に、ある一定の周波数のトーン信
号(SAT :スーパバイザリ・オーディオ・トーン)
を音声信号に重畳して基地局と送受信を行っている。そ
して、受信したSATをディノタル信号に変換した後、
LSI(大規模集積回路)等でディジタルPLL (位
相同期回路)で安定した信号にし送信している。さらに
、受信したSATと送信するSATの位相が所定の位相
関係にあるか判断し、その結果の積分値を基準値とを比
較して回線品質を判定し、通話チャネルの切り替え、ま
たは回線断を制御している。
In car phones and mobile phones, a tone signal of a certain frequency (SAT: Supervisory Audio Tone) is used in addition to the voice signal to monitor call quality.
is superimposed on the audio signal and transmitted to and received from the base station. Then, after converting the received SAT to a dinotal signal,
A digital PLL (phase locked loop) is used in an LSI (Large Scale Integrated Circuit) to generate a stable signal and transmit it. Furthermore, it is determined whether the phases of the received SAT and the transmitted SAT have a predetermined phase relationship, and the integrated value of the result is compared with a reference value to determine the line quality, and the communication channel is switched or the line is disconnected. It's in control.

〔従来の技術〕[Conventional technology]

従来のSAT位相比較及び積分比較回路を第4図に示す
A conventional SAT phase comparison and integral comparison circuit is shown in FIG.

位相比較器はD型フリップフロップからなり、D端子に
受信SATを入力し、クロック端子に送信SATを入力
する。正常な状態では、受信SATと送信SATの位相
関係は第5図に示すように受信SATの方が送信SAT
よりl/4周期進んだ関係になっている。したがって、
D型フリップフロップの出力は常に1となる。しかし、
PLLが非同期となると上記の位相関係は保たれなくな
る。そこで、所定時間り型フリップフロップの出力を計
数し、1が所定回数以上であるときPLLが同期してい
ると判断する。
The phase comparator consists of a D-type flip-flop, and receives the received SAT at its D terminal and inputs the transmitted SAT at its clock terminal. Under normal conditions, the phase relationship between the receiving SAT and the transmitting SAT is such that the receiving SAT is higher than the transmitting SAT, as shown in Figure 5.
The relationship is 1/4 cycle ahead. therefore,
The output of the D-type flip-flop is always 1. but,
When the PLL becomes asynchronous, the above phase relationship is no longer maintained. Therefore, the output of the flip-flop for a predetermined time period is counted, and when 1 is equal to or greater than a predetermined number of times, it is determined that the PLL is synchronized.

カウンタ32は送信SATをクロックとしてD型フリッ
プフロップの出力の1を計数するものである。インター
バルタイマ33は250m5ecの周期の判定クロック
を出力し、カウンタ32はこの判定クロック毎にリセッ
トされる。比較器34はカウンタの値を基準値と比較し
、基準値以上のとき1を出力する。D型フリップフロッ
プ35は判定クロック毎に比較器の出力を保持しSAT
の位相同期情報として出力する。
The counter 32 counts the output 1 of the D-type flip-flop using the transmission SAT as a clock. The interval timer 33 outputs a determination clock with a period of 250 m5ec, and the counter 32 is reset every time this determination clock is generated. The comparator 34 compares the counter value with a reference value, and outputs 1 when the value is greater than or equal to the reference value. The D-type flip-flop 35 holds the output of the comparator for each judgment clock, and the SAT
output as phase synchronization information.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

受信したSATは無線部の性能にも影響され、実際にP
LLに人力される信号にはノイスやジ・ツタが含まれて
おり、同期判定は変えられるようにしてお(必要がある
The received SAT is also affected by the performance of the radio section, and the actual P
The signal manually input to the LL contains noise and noise, so it is necessary to make the synchronization judgment changeable.

しかし、携帯電話等ではLSI化が進み、第4図に示す
カウンタ、比較器、フリップフロ・ツブ等はLSI内に
ハードウェアにて構成されており、基準値は一旦決める
と変更できない構成になっている。また、この部分をプ
ログラム記憶型処理装置を用いて、所謂ソフトウェアで
行おう・とすると、SATの1周期毎に比較を行うため
負荷が大きくなる。
However, as mobile phones and the like have become increasingly integrated into LSIs, the counters, comparators, flip-flops, etc. shown in Figure 4 are configured as hardware within the LSI, and once the reference value is determined, it cannot be changed. There is. Furthermore, if this part is attempted to be performed by so-called software using a program storage type processing device, the load will be large because comparison is performed every SAT cycle.

本発明は基準値そのものが変更できない場合でも、SA
Tの1周期より長い周期のプログラム記憶型処理装置に
おける処理により、実質的に判定の基準を変更できるよ
うにすることを目的とする。
The present invention provides SA even if the reference value itself cannot be changed.
It is an object of the present invention to enable the determination criteria to be substantially changed by processing in a program storage type processing device having a cycle longer than one cycle of T.

〔課題を解決するための手段〕[Means to solve the problem]

第1図に本発明の原理ブロック図を示す。 FIG. 1 shows a block diagram of the principle of the present invention.

カウンタ11は状態情報をクロックに基づいて計数し、
インターバルタイマ12からの第1の周期の判定クロッ
クにより初期化される。比較器13はカウンタ11の出
力値と固定の第1の基準値を比較する。保持回路14は
判定クロックによりこの比較結果を保持する。プログラ
ム記憶型処理装置15は内部に記憶されたプログラムに
従って、保持回路14からの比較結果を第1の周期より
長い第2の周期にわたって計数し、計数結果を可変の第
2の基準値と比較し、比較結果により状態を判定する。
The counter 11 counts state information based on a clock,
It is initialized by the first period determination clock from the interval timer 12. Comparator 13 compares the output value of counter 11 and a fixed first reference value. The holding circuit 14 holds this comparison result using the judgment clock. The program storage type processing device 15 counts the comparison results from the holding circuit 14 over a second period longer than the first period according to an internally stored program, and compares the counting results with a variable second reference value. , determine the status based on the comparison result.

〔作用〕[Effect]

プロクラム記憶型処理装置I5へ入力される周期は状態
情報の入力される周期に比へ長(なっているため、処理
の負荷は状態情報が直接入力される場合に比べて軽減さ
れる。また、第2の基準値はプログラムの変更等により
、容易に変更できる。
The cycle of input to the program storage type processing device I5 is longer than the cycle of input of status information, so the processing load is reduced compared to when status information is input directly. The second reference value can be easily changed by changing the program or the like.

〔実施例〕〔Example〕

第2図は本発明の実施例を示す。 FIG. 2 shows an embodiment of the invention.

D型フリップフロップ21は第4図のフリップフロップ
31と同様の動作をし、状態情報として同期情報を出力
する。カウンタ22は送信SATをクロックとして同期
情報の1を計数し、インターバルタイマ23からの10
m5ecの周期の判定クロックによりリセットされる。
The D-type flip-flop 21 operates similarly to the flip-flop 31 shown in FIG. 4, and outputs synchronization information as state information. The counter 22 counts 1 of the synchronization information using the transmission SAT as a clock, and counts 1 of the synchronization information from the interval timer 23.
It is reset by a determination clock having a cycle of m5ec.

比較器24はカウンタ22の値と固定の第1の基準値n
とを比較する。フリップフロップ25は判定クロック毎
に比較器24の出力を保持し、中央処理回路(CPU)
26に出力する。CPU26は内部にプログラムを記憶
しており、このプログラムに従って動作する。
A comparator 24 compares the value of the counter 22 with a fixed first reference value n.
Compare with. The flip-flop 25 holds the output of the comparator 24 for each judgment clock, and is connected to the central processing circuit (CPU).
Output to 26. The CPU 26 stores a program therein and operates according to this program.

第3図はCPU26の1回の同期判定処理のフローチャ
ートを示す。
FIG. 3 shows a flowchart of one synchronization determination process by the CPU 26.

スタートすると■、先ず繰り返し回数を表す変数Nを0
にし、計数値を表す変数りを0にする■。
When starting ■, first set the variable N representing the number of repetitions to 0.
and set the variable representing the count value to 0■.

次に10m5ecの判定クロックが入力されると■、フ
リップフロップが同期を示していれば■、変数L!、:
1を加算する■。そして、変数Nに1を加えて■、Nと
25が等しいか判断し■、等しくなければ■に戻り、等
しければ変数りを第2の基準値mと比較し■、m以上で
あれば同期と判定し■、m未満であれば非同期と判定し
[相]、終了する0゜従って、第4図の従来回路と同じ
250m5ec毎に判定結果が出力される。
Next, when the judgment clock of 10m5ec is input, ■, if the flip-flop indicates synchronization, ■, the variable L! , :
Add 1■. Then, add 1 to the variable N and determine whether N and 25 are equal. If not, return to ■. If they are equal, compare the variable with the second reference value m. If it is greater than or equal to m, synchronize. If it is less than m, it is determined that it is asynchronous [phase], and it ends at 0°. Therefore, the determination result is output every 250 m5ec, which is the same as the conventional circuit shown in FIG.

CPU26による積分はSATの周期ではなくl0m5
eC毎に行えばよいため、余裕をもって処理できる。ま
た、プログラムを記憶するEEPROM等の書換えによ
り基準値mを変更すれば、実質的に基準値の変更が可能
となる。
The integration by the CPU 26 is based on l0m5, not the period of SAT.
Since it only needs to be done for each eC, processing can be done with plenty of time. Furthermore, if the reference value m is changed by rewriting the EEPROM or the like that stores the program, it becomes possible to substantially change the reference value.

携帯電話では省電力化のため、CPUを間欠動作させる
ことが多いが、その場合にも10m5ec毎に動作させ
ればよいので、有効である。
In mobile phones, the CPU is often operated intermittently in order to save power, but even in that case, it is effective because it only needs to be operated every 10 m5ec.

〔効果〕〔effect〕

以上のように、本発明によれば、プログラム記憶型処理
装置により基準値を変更でき、プログラム記憶型処理装
置の処理間隔を比較的長くできるという効果がある。
As described above, according to the present invention, the reference value can be changed by the program storage type processing device, and the processing interval of the program storage type processing device can be made relatively long.

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

第1図は本発明の原理構成図、第2図は本発明の実施例
のブロック図、第3図は同期判定処理のフローチャート
、第4図は従来回路のブロック図、第5図は受信SAT
と送信SATのタイムチャートをそれぞれ示す。 11、22.32・・・カウンタ。 +2.23.33・・・インターバルタイマ。 13、24.34・・・比較器。 14・・・保持回路。 15・・・プログラム記憶型処理回路。 21、25.31.35・・・フリップフロップ。 26・・・CPU 本発明の原理構成図 第11ヌI
Figure 1 is a diagram of the principle of the present invention, Figure 2 is a block diagram of an embodiment of the present invention, Figure 3 is a flowchart of synchronization determination processing, Figure 4 is a block diagram of a conventional circuit, and Figure 5 is a receiving SAT.
and a time chart of transmission SAT are shown, respectively. 11, 22.32...Counter. +2.23.33...Interval timer. 13, 24. 34... Comparator. 14...Holding circuit. 15...Program storage type processing circuit. 21, 25.31.35...Flip-flop. 26...CPU Principle configuration diagram of the present invention No. 11 I

Claims (1)

【特許請求の範囲】 入力される状態情報をクロックに基づき計数するカウン
タ(11)と、 該クロックより長い第1の周期の判定クロックを出力し
該カウンタ(11)の値を初期値に戻すインターバルタ
イマ(12)と、 該カウンタ(11)の値と第1の基準値とを比較する比
較器(13)と、 該比較器(13)の比較結果を該判定クロック毎に保持
する保持回路(14)と、 該判定クロック毎に該保持回路(13)の出力の判定結
果を取り込み、第1の周期より長い第2の周期にわたり
判定結果を計数し、計数結果を第2の基準値と比較して
状態を判定するプログラム記憶型処理装置とを有する積
分比較回路。
[Claims] A counter (11) that counts input state information based on a clock, and an interval that outputs a determination clock with a first period longer than the clock and returns the value of the counter (11) to its initial value. A timer (12), a comparator (13) that compares the value of the counter (11) with a first reference value, and a holding circuit (13) that holds the comparison result of the comparator (13) for each judgment clock. 14), the judgment result of the output of the holding circuit (13) is taken in for each judgment clock, the judgment result is counted over a second period longer than the first period, and the counting result is compared with a second reference value. and a program storage type processing device for determining a state.
JP2067637A 1990-03-16 1990-03-16 Integration comparing circuit Pending JPH03268515A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2067637A JPH03268515A (en) 1990-03-16 1990-03-16 Integration comparing circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2067637A JPH03268515A (en) 1990-03-16 1990-03-16 Integration comparing circuit

Publications (1)

Publication Number Publication Date
JPH03268515A true JPH03268515A (en) 1991-11-29

Family

ID=13350711

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2067637A Pending JPH03268515A (en) 1990-03-16 1990-03-16 Integration comparing circuit

Country Status (1)

Country Link
JP (1) JPH03268515A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63176042A (en) * 1987-01-16 1988-07-20 Nec Corp Clock phase matching device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63176042A (en) * 1987-01-16 1988-07-20 Nec Corp Clock phase matching device

Similar Documents

Publication Publication Date Title
CA2001775C (en) Mobile telephone system with intermittent control of receiver components in standby state
US7444168B2 (en) Radio communication semiconductor integrated circuit, data processing semiconductor integrated circuit and portable device
JP2001051747A (en) Clock control circuit
US20010048635A1 (en) Device and method for generating clock signals from a single reference frequency signal and for synchronizing data signals with a generated clock
JPH11317661A (en) Uni-counter dual-coefficient frequency dividing apparatus
US5268652A (en) Circuit for detecting locking of a digital phase locked loop
JP2938039B1 (en) Digital demodulator
WO2009141680A1 (en) Method for sampling data and apparatus therefor
JPH03268515A (en) Integration comparing circuit
KR100422114B1 (en) Frequency dividing circuit, frequency dividing method and telephone terminal device incorporating the frequency dividing circuit
US6329847B1 (en) Radio device including a frequency synthesizer and phase discriminator for such a device
US5268653A (en) Digital phase-locked loop operating mode control method and device
US5235596A (en) Circuit arrangement for generating synchronization signals in a transmission of data
JP3132657B2 (en) Clock switching circuit
JPH06244739A (en) Multiplexer circuit
CN116827335B (en) Frequency divider and data processing circuit
JP3485449B2 (en) Clock division switching circuit
KR0141293B1 (en) Circuit for generating the data clock signal
US6885714B1 (en) Independently roving range control
JPH11355110A (en) Clock abnormality detection circuit
KR0141301B1 (en) Circuit for generating the data clock signal capable of phasing
JP2002237807A (en) Frame synchronous signal detecting system
JP3551096B2 (en) Digital signal processor
GB2387509A (en) Mobile communications device and synchronisation method for multi-system access
JPH11127145A (en) Frame synchronization system and frame synchronization method