JP3349459B2 - Clock timing switching device and portable terminal - Google Patents

Clock timing switching device and portable terminal

Info

Publication number
JP3349459B2
JP3349459B2 JP32613898A JP32613898A JP3349459B2 JP 3349459 B2 JP3349459 B2 JP 3349459B2 JP 32613898 A JP32613898 A JP 32613898A JP 32613898 A JP32613898 A JP 32613898A JP 3349459 B2 JP3349459 B2 JP 3349459B2
Authority
JP
Japan
Prior art keywords
timing
counter
clock
pulse
generator
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
JP32613898A
Other languages
Japanese (ja)
Other versions
JP2000137539A (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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP32613898A priority Critical patent/JP3349459B2/en
Publication of JP2000137539A publication Critical patent/JP2000137539A/en
Application granted granted Critical
Publication of JP3349459B2 publication Critical patent/JP3349459B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

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
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Executing Machine-Instructions (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、クロックタイミン
グを切り替える切換装置に関するものであり、特に、間
欠動作を伴う機器等において、低速クロックと高速クロ
ック間のタイミング切替え制御に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a switching device for switching clock timing, and more particularly to a timing switching control between a low-speed clock and a high-speed clock in a device with intermittent operation.

【0002】[0002]

【従来の技術】従来より携帯機器の多くはバッテリー等
の電源によって動作されているため、長時間動作させる
ことができるようにするため、間欠動作を行っている。
例えば、第2世代コードレス電話(以下、「PHS」と
略す)を例に取ると、図4、図5、図6に示すように、
公衆基地局からの着信情報は、1.2秒の区間を持つス
ーパーフレームのうち、0.625msの区間を持つ所
定のスロットにおいて受信され、着信情報を受信するタ
イミングは該1.2秒間において1回存在する。例え
ば、1.2秒の区間を持つスーパーフレームには、12
個の図5に示すようなLCCH送出間隔が設けられ、図
5に示すLCCHは所定のTDMAフレームに相当し、
また、LCCH送出区間は例えばPCH1に相当する。
よって、該スーパーフレームの1.2秒間の大半の時間
は、着信情報を受信しない待機状態であり、高速な処理
は必要としない。そして、この待機状態においては、低
電力化のために低速クロック(例えば、32.768K
Hz)を用いてタイミングを保持し、該着信情報を受信
するための着信処理を行う直前に高速クロック(例え
ば、384kHz)による動作に切り替えていた。そし
て、切替えを行う際に保持すべきタイミングを維持しな
がら切替えを行う必要があり、そのため切替えを行うた
めの処理に時間を要し、低消費電力化の阻害となってい
た。
2. Description of the Related Art Conventionally, most portable devices are operated by a power source such as a battery, and therefore, perform intermittent operations so that the devices can be operated for a long time.
For example, taking a second generation cordless telephone (hereinafter abbreviated as “PHS”) as an example, as shown in FIGS. 4, 5, and 6,
Incoming information from the public base station is received in a predetermined slot having a section of 0.625 ms in a superframe having a section of 1.2 seconds, and the timing of receiving the incoming information is 1 in 1.2 seconds. There exist times. For example, in a superframe having a section of 1.2 seconds, 12
The LCCH transmission intervals as shown in FIG. 5 are provided, and the LCCH shown in FIG. 5 corresponds to a predetermined TDMA frame,
An LCCH transmission section corresponds to, for example, PCH1.
Therefore, most of the 1.2 seconds of the superframe are in a standby state in which incoming information is not received, and high-speed processing is not required. In this standby state, a low-speed clock (for example, 32.768K) is used to reduce power consumption.
Hz), the operation is switched to a high-speed clock (for example, 384 kHz) immediately before performing the incoming call process for receiving the incoming call information. Then, it is necessary to perform the switching while maintaining the timing to be held when the switching is performed. Therefore, a long time is required for the process for performing the switching, which hinders a reduction in power consumption.

【0003】すなわち、従来における構成とその動作を
説明すると、従来におけるクロックタイミング切替え装
置Bは、図7に示すように、第1カウンタ100と、初
期値生成器102と、第2カウンタ104と、タイミン
グパルス生成器106と、第3カウンタ108と、主制
御部110と、受信制御部112とを有している。ここ
で、該第1カウンタ100は、低速クロックに基づきカ
ウントを行うものである。ここで、該低速クロックは、
32.768KHzであり、この32.768KHz
は、丁度所定回カウントすることにより丁度125ms
となる。
That is, the conventional configuration and its operation will be described. As shown in FIG. 7, a conventional clock timing switching device B comprises a first counter 100, an initial value generator 102, a second counter 104, It has a timing pulse generator 106, a third counter 108, a main controller 110, and a reception controller 112. Here, the first counter 100 performs counting based on a low-speed clock. Here, the low-speed clock is
32.768 kHz, and this 32.768 kHz
Is exactly 125ms by counting just a predetermined number of times
Becomes

【0004】つまり、この第1カウンタ100は、約5
msごとにカウント値の情報を初期値生成器102に送
る。ここで、「約5ms」としたのは、上記32.76
8KHzの低速クロックでは、正確に5msを計測する
ことができないためである。また、初期値生成器102
は、第1カウンタ100から送られたカウント値に従い
第2カウンタ104の初期値を生成する。また、第2カ
ウンタ104は、高速クロックに従いカウントを行うも
のであり、0〜239までカウントを行う。ここで、高
速クロックの周波数は上記のように384kHzであ
り、240回カウントすると0.625msとなる値で
ある。また、タイミングパルス生成器106は、第2カ
ウンタ30のカウントが終了するごとに第3カウンタ1
08に対してパルスを出力し、また、第3カウンタ10
8のカウントが終了するごとにパルスを出力する。ま
た、第3カウンタ108は、該タイミングパルス生成器
106から送られるパルスに従いカウントを行うもので
あり、0〜7までのカウントを行う。また、該主制御部
110は、クロックタイミング切替え装置Bにおける各
部の動作を制御するものである。
That is, the first counter 100 has a capacity of about 5
The count value information is sent to the initial value generator 102 every ms. Here, “about 5 ms” is the reason for the above 32.76.
This is because a low-speed clock of 8 KHz cannot accurately measure 5 ms. Also, the initial value generator 102
Generates an initial value of the second counter 104 according to the count value sent from the first counter 100. The second counter 104 counts according to a high-speed clock, and counts from 0 to 239. Here, the frequency of the high-speed clock is 384 kHz as described above, which is 0.625 ms when counted 240 times. In addition, every time the count of the second counter 30 ends, the timing pulse generator 106
08 and a third counter 10
Each time the count of 8 is completed, a pulse is output. The third counter 108 counts according to the pulse sent from the timing pulse generator 106, and counts from 0 to 7. Further, the main control unit 110 controls the operation of each unit in the clock timing switching device B.

【0005】ここで、上記構成のクロックタイミング切
替え装置Bの動作を図8等を利用して説明する。なお、
図8において、タイミングパルス生成器における実線の
縦線はパルス信号を示すものとする。第1カウンタ10
0は、低速クロックに従い約5msごとにカウント値の
情報を初期値生成器102に送る。すると、該初期値生
成器102は、第1カウンタ100から送られたカウン
ト値に基づき所定の初期値を生成する。具体的には、所
定の演算式に従い、所定の初期値を算出する。この初期
値は、低速クロックでカウントしていく場合の誤差を修
正することにより、受信すべきスロットのタイミングに
合わせることができるように算出される。
Here, the operation of the clock timing switching device B having the above configuration will be described with reference to FIG. In addition,
In FIG. 8, the vertical solid line in the timing pulse generator indicates a pulse signal. First counter 10
0 sends the count value information to the initial value generator 102 about every 5 ms according to the low-speed clock. Then, the initial value generator 102 generates a predetermined initial value based on the count value sent from the first counter 100. Specifically, a predetermined initial value is calculated according to a predetermined operation formula. This initial value is calculated so that it can be adjusted to the timing of the slot to be received by correcting the error when counting with a low-speed clock.

【0006】ここで、該クロックタイミング切替え装置
Bを搭載した携帯端末が割り当てられたスロットは、図
8におけるQの位置に存在するとする。すると、主制御
部110は、基地局からの送信信号を受信すべきスロッ
トの位置を前回受信が成功した時から1.2秒後の時と
して大まかに把握し、その受信すべきスロットの直前の
切替えタイミングt2よりも1つ前の切替えタイミング
t1において、第2カウンタ104に対してクロック切
替え信号を出力する。つまり、該切替えタイミングは、
該第1カウンタ100がカウントする約5msのタイミ
ングごとに存在する。
Here, it is assumed that the slot to which the portable terminal equipped with the clock timing switching device B is allocated is located at the position Q in FIG. Then, main controller 110 roughly grasps the position of the slot to receive the transmission signal from the base station as 1.2 seconds after the previous successful reception, and immediately before the slot to be received. At a switching timing t1 which is one before the switching timing t2, a clock switching signal is output to the second counter 104. That is, the switching timing is
It exists at every timing of about 5 ms counted by the first counter 100.

【0007】すると、第2カウンタ104は、該主制御
部110から切替え信号を受信すると、初期値生成器1
02において算出された初期値を読み出し、該初期値か
ら高速クロックに基づきカウントを行い、カウント値を
タイミングパルス生成器106に出力する。そして、カ
ウント値が239の情報を受信すると、タイミングパル
ス生成器106は、パルスを第3カウンタ108に出力
する。つまり、タイミングパルス生成器106は、0.
625msごとに第3カウンタ108にパルスを出力す
ることになる。図8の「タイミングパルス生成器」に示
した全てのパルスがこの第3カウンタ108に送られる
パルスに相当する。つまり、図8の「タイミングパルス
生成器」に示したパルスのうち長いものと短いものと両
方とが含まれる。すると、第3カウンタ108は、該タ
イミングパルス生成器106から送られる0.625m
sごとのパルスが入力されるごとにカウント値を増やし
ていき、カウント値をタイミングパルス生成器106に
出力する。カウント値は0から出力される。タイミング
パルス生成器106は、カウント値が7の情報を受信す
ると、外部にパルスを出力する。図8の「タイミングパ
ルス生成器」に示した長さの長いパルスがこのパルスに
相当する。そして、受信制御部112において、受信す
べきスロットの位置の若干前の時にフィルタで構成され
る受信窓を開いて受信した同期ワードと予め保持されて
いる同期ワードとが一致するか否かを判定し、一致する
場合には、その後の着信処理を行う。
When the second counter 104 receives the switching signal from the main control unit 110, the second counter 104
02, the initial value calculated is read out, counting is performed based on the high-speed clock from the initial value, and the count value is output to the timing pulse generator 106. Then, when receiving the information having the count value of 239, the timing pulse generator 106 outputs a pulse to the third counter 108. In other words, the timing pulse generator 106 outputs 0.
A pulse is output to the third counter 108 every 625 ms. All the pulses shown in the “timing pulse generator” of FIG. 8 correspond to the pulses sent to the third counter 108. That is, both the long pulse and the short pulse among the pulses shown in the “timing pulse generator” of FIG. 8 are included. Then, the third counter 108 receives 0.625 m from the timing pulse generator 106.
The count value is increased each time a pulse for each s is input, and the count value is output to the timing pulse generator 106. The count value is output from 0. When receiving the information with the count value of 7, the timing pulse generator 106 outputs a pulse to the outside. The long pulse shown in the “timing pulse generator” in FIG. 8 corresponds to this pulse. Then, the reception control unit 112 opens a reception window formed by a filter slightly before the position of the slot to be received, and determines whether or not the received synchronization word matches a previously held synchronization word. If they match, subsequent incoming call processing is performed.

【0008】[0008]

【発明が解決しようとする課題】しかし、上記従来のク
ロックタイミング切替え装置によれば、上記のように低
速クロックのタイミングから高速クロックのタイミング
への切替えを行うので、受信すべきスロット以前に少な
くとも5msの時間の高速クロック動作時間があり、い
わば不必要に長く高速クロックで動作させてしまうこと
になる。これは、特に携帯機器において必要とされる低
消費電力化の妨げとなる。一方、約5msごとのタイミ
ングを無視して強制的に切替えを行おうとすると、第3
カウンタ108の初期値が低速クロックにより保持して
いたタイミングと反映せず、ある特定の値になってしま
うため、第3カウンタ108により生成されるタイミン
グがクロックタイミングの切替えによってずれてしまう
ことになる。
However, according to the above-described conventional clock timing switching device, switching from the timing of the low-speed clock to the timing of the high-speed clock is performed as described above, so that at least 5 ms before the slot to receive. The high-speed clock operation time of this time means that the operation is performed with the high-speed clock unnecessarily long. This hinders a reduction in power consumption, which is particularly required for portable devices. On the other hand, if the switching is forcibly performed ignoring the timing of about every 5 ms,
Since the initial value of the counter 108 does not reflect the timing held by the low-speed clock and becomes a specific value, the timing generated by the third counter 108 is shifted due to the switching of the clock timing. .

【0009】そこで、本発明は、間欠動作を行うPHS
携帯端末等の各種機器において、低速クロックによるタ
イミングから高速クロックによるタイミングへの切替え
を、保持すべきタイミングを維持したままなるべく短時
間で行うことができるクロックタイミング切替え装置を
提供することを目的とするものである。
Therefore, the present invention provides a PHS which performs an intermittent operation.
It is an object of the present invention to provide a clock timing switching device capable of switching from timing using a low-speed clock to timing using a high-speed clock in various devices such as a portable terminal in a short time while maintaining the timing to be held. Things.

【0010】[0010]

【0011】[0011]

【課題を解決するための手段】には、低速クロック
と高速クロックとの間でクロックタイミングの切替えを
行うクロックタイミング切替え装置であって、低速クロ
ックによって所定の時間を計測する第1カウンタと、該
第1カウンタが計測する値に基づき所定の間隔でパルス
信号を出力する第1タイミングパルス生成器と、上記第
1カウンタが計測する値に基づき第1の初期値を出力す
る第1初期値生成器と、上記第1カウンタが計測する値
に基づき第2の初期値を出力する第2初期値生成器と、
上記第1タイミングパルス生成器が出力するパルス信号
におけるいずれかのパルス信号のタイミングでクロック
切替え信号を出力するクロック切替え信号出力回路と、
高速クロックによって所定の時間を計測する第2カウン
タであって、クロック切替え信号を受信した場合に、上
記第1初期値生成器から上記第1の初期値を読み出して
該第1の初期値から計測を行う第2カウンタと、第2カ
ウンタが所定の時間を計測した場合に、パルス信号を出
力する第2タイミングパルス生成器と、第1タイミング
パルス生成器からのパルス信号と第2タイミングパルス
生成器からのパルス信号とを切り替えて出力する切替器
であって、クロック切替え信号がクロック切替え信号出
力回路から該切替器に入力された場合には、該第2タイ
ミングパルス生成器からのパルス信号を出力する切替器
と、該第1タイミングパルス生成器が出力するパルス信
号と第2タイミングパルス生成器が出力するパルス信号
とのいずれかに基づき第2カウンタとは別の時間を計測
する第3カウンタであって、該第2タイミングパルス生
成器が出力するパルス信号を受信した場合に、上記第2
初期値生成器から上記第2の初期値を読み出して該第2
の初期値から計測を行う第3カウンタと、該第3カウン
タが所定の時間を計測した場合に、パルス信号を出力す
る第3タイミングパルス生成器と、を有することを特徴
とする。この第の構成のクロックタイミング切替え装
置においては、まず、第1カウンタが低速クロックによ
って所定の時間を計測し、第1初期値生成器が、該第1
カウンタが計測する値に基づき第1の初期値を出力す
る。また、第2初期値生成器は、該第1カウンタが計測
する値に基づき第2の初期値を出力する。そして、上記
クロック切替え信号出力回路からクロック切替え信号が
出力されて、第2カウンタがこれを受信すると、第2カ
ウンタは、該第1の初期値を第1初期値生成器から読み
出して該第1の初期値から計測を行う。この第2カウン
タは高速クロックに基づき計測を行う。この第2カウン
タが所定の時間を計測した場合には、第2タイミングパ
ルス生成器がパルス信号を出力する。すると、クロック
切替え信号が切替器に入力されることにより、該切替器
が第2タイミングパルス生成器からのパルス信号を第3
カウントに送るので、第3カウンタは、このパルス信号
を受信すると、第2初期値生成器から第2の初期値を読
み出して該第2の初期値からカウントを行う。計測は該
第2タイミングパルス生成器が出力するパルス信号に従
い行う。そして、第3カウンタが所定の時間を計測した
場合には、パルス信号を出力する。なお、クロック切替
え信号が切替器に入力されるまでは、第1タイミングパ
ルス生成器が出力するパルス信号が第3カウンタに入力
されるので、第3カウンタは、第1タイミングパルス生
成器が出力するパルス信号に基づき計測を行うことにな
る。これにより、切替器が出力するパルス信号のタイミ
ングを切替え可能タイミングとし、クロック切替え信号
が出力される前の状態では切替器から第1タイミングパ
ルス生成器からのパルス信号を出力するようにし、切替
え可能タイミングの中で、受信すべき受信区間の直前に
位置する切替え可能タイミングでクロック切替え信号を
出力するようにすれば、受信すべき受信区間の前にある
高速クロック動作時間は該第1タイミングパルス生成器
からのパルス信号の出力間隔よりも短くなる。また、第
2カウンタと第3カウンタの初期値をそれぞれ定めるこ
とにより、全体として短時間で保持すべきタイミングを
保持したままクロックタイミングの切替えを行うことが
できる。
To SUMMARY OF THE INVENTION The first is a clock timing switching device for switching clock timing between the low-speed clock and the high-speed clock, a first counter for measuring a predetermined time by the slow clock A first timing pulse generator that outputs a pulse signal at predetermined intervals based on a value measured by the first counter, and a first initial value that outputs a first initial value based on a value measured by the first counter A generator, a second initial value generator that outputs a second initial value based on a value measured by the first counter,
A clock switching signal output circuit that outputs a clock switching signal at the timing of any one of the pulse signals output by the first timing pulse generator;
A second counter for measuring a predetermined time by a high-speed clock, wherein when a clock switching signal is received, the first counter reads the first initial value from the first initial value generator and measures from the first initial value. Counter, a second timing pulse generator that outputs a pulse signal when the second counter measures a predetermined time, a pulse signal from the first timing pulse generator, and a second timing pulse generator A pulse signal from the second timing pulse generator when a clock switching signal is input from the clock switching signal output circuit to the switching device. And a pulse signal output from the first timing pulse generator or a pulse signal output from the second timing pulse generator. And can the second counter and a third counter for measuring another time, when the second timing pulse generator receives a pulse signal to be output, the second
The second initial value is read from the initial value generator and the second
And a third timing pulse generator that outputs a pulse signal when the third counter measures a predetermined time. In clock timing switching device of the first configuration, first, the first counter measures the predetermined time by the low-speed clock, the first initial value generator, said first
A first initial value is output based on a value measured by the counter. Further, the second initial value generator outputs a second initial value based on the value measured by the first counter. Then, when a clock switching signal is output from the clock switching signal output circuit and the second counter receives the clock switching signal, the second counter reads the first initial value from the first initial value generator and reads the first initial value from the first initial value generator. The measurement is performed from the initial value of. The second counter measures based on a high-speed clock. When the second counter measures a predetermined time, the second timing pulse generator outputs a pulse signal. Then, when the clock switching signal is input to the switch, the switch switches the pulse signal from the second timing pulse generator to the third timing pulse generator.
When receiving the pulse signal, the third counter reads the second initial value from the second initial value generator and counts from the second initial value. The measurement is performed according to the pulse signal output from the second timing pulse generator. Then, when the third counter measures a predetermined time, a pulse signal is output. Until the clock switching signal is input to the switch, the pulse signal output from the first timing pulse generator is input to the third counter, and thus the third counter outputs the signal from the first timing pulse generator. The measurement is performed based on the pulse signal. Thereby, the timing of the pulse signal output from the switch is set as the switchable timing, and the pulse signal from the first timing pulse generator is output from the switch before the clock switching signal is output. If the clock switching signal is output at the switchable timing located immediately before the reception section to be received in the timing, the high-speed clock operation time before the reception section to be received can be reduced by the generation of the first timing pulse. It is shorter than the output interval of the pulse signal from the device. Further, by setting the initial values of the second counter and the third counter respectively, the clock timing can be switched while maintaining the timing to be held in a short time as a whole.

【0012】また、第には、上記第の構成におい
て、上記クロック切替え信号出力回路は、上記切替器が
出力するパルス信号のタイミングで、上記クロック切替
え信号を出力することを特徴とする。また、第には、
上記第又は第までのいずれかの構成において、上記
第1タイミングパルス生成器が出力するパルス信号の出
力間隔が、上記第2カウンタが計測する時間の略整数倍
の時間であることを特徴とする。
[0012] The second, in the first configuration, the clock switching signal output circuit, the timing of the pulse signal the switch outputs, and outputs the clock switching signal. Third ,
In any one of the first and second configurations, the output interval of the pulse signal output by the first timing pulse generator is a time that is substantially an integral multiple of the time measured by the second counter. And

【0013】また、第には、上記第から第までの
いずれかの構成において、上記第1タイミングパルス生
成器は、低速クロックに基づき略1.25msごとにパ
ルス信号を出力し、上記第2カウンタは、高速クロック
に基づき0.625msの時間の計測を行い、また、上
記第3カウンタは、5msの時間の計測を行うことを特
徴とする。また、第には、上記第から第までのい
ずれかの構成において、上記第2タイミングパルス生成
器と第3タイミングパルスとが一体に形成されているこ
とを特徴とする。また、第には、上記第1から第
でのいずれかの構成において、上記低速クロックが3
2.768kHzで、上記高速クロックが384kHz
であることを特徴とする。
Further, in the fourth, in the construction of the first through third, the first timing pulse generator outputs a pulse signal every approximately 1.25ms based on the low-speed clock, the The second counter measures a time of 0.625 ms based on a high-speed clock, and the third counter measures a time of 5 ms. Fifth , in any one of the first to fourth configurations, the second timing pulse generator and the third timing pulse are integrally formed. Sixth , in any of the first to fifth configurations, the low-speed clock is
2.768 kHz and the high-speed clock is 384 kHz
It is characterized by being.

【0014】また、第には、上記第1から第までの
いずれかの構成のクロックタイミング切替え装置を有す
る携帯端末であって、クロック切替え信号が出力される
と、その後の所定の区間における着信信号を検出し、着
信信号における同期ワードが一致する場合には、着信処
理を行うことを特徴とする。これにより、高速クロック
の動作時間をなるべく短くして着信を行うことができ
る。また、第には、上記第の構成において、該携帯
端末がPHSに準拠していることを特徴とする。
A seventh aspect is a portable terminal having a clock timing switching device having any one of the above-described first to sixth configurations, wherein when a clock switching signal is output, the mobile terminal in a predetermined period thereafter. An incoming signal is detected, and when a synchronization word in the incoming signal matches, an incoming process is performed. Thus, the incoming call can be made with the operation time of the high-speed clock as short as possible. Further, the eighth, the configuration of the seventh, characterized in that said mobile terminal is compliant with the PHS.

【0015】[0015]

【発明の実施の形態】本発明の実施の形態としての実施
例を図面を利用して説明する。本発明に基づくクロック
タイミング切替え装置Aは、図1に示されるように、第
1カウンタ10と、タイミングパルス生成器12と、第
1初期値生成器14と、第2初期値生成器16と、第2
カウンタ18と、タイミングパルス生成器20と、切替
器22と、第3カウンタ24と、主制御部26と、受信
制御部28とを有している。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described with reference to the drawings. As shown in FIG. 1, a clock timing switching device A according to the present invention includes a first counter 10, a timing pulse generator 12, a first initial value generator 14, a second initial value generator 16, Second
It has a counter 18, a timing pulse generator 20, a switch 22, a third counter 24, a main controller 26, and a reception controller 28.

【0016】ここで、該第1カウンタ10は、低速クロ
ックに基づきカウントを行うものであり、具体的には、
この低速クロックから導かれる約2スロット、すなわ
ち、約1.25msごとに計測したカウント値の情報を
第1初期値生成器14と第2初期値生成器16とタイミ
ングパルス生成器12に送る。ここで、該低速クロック
は、32.768KHzである。ここで、「約2スロッ
ト」、「約1.25ms」としたのは、上記32.76
8KHzの低速クロックでは、正確に計測することがで
きないためである。
Here, the first counter 10 counts based on a low-speed clock.
The information of the count value measured about every two slots derived from the low-speed clock, that is, about every 1.25 ms, is sent to the first initial value generator 14, the second initial value generator 16, and the timing pulse generator 12. Here, the low-speed clock is 32.768 KHz. Here, “about 2 slots” and “about 1.25 ms” are defined as 32.76.
This is because accurate measurement cannot be performed with a low-speed clock of 8 KHz.

【0017】また、タイミングパルス生成器12は、約
1.25msごとに第1カウンタ10から送られるカウ
ント値の情報に基づき、約1.25msごとにタイミン
グパルス(パルス信号)を出力する。このタイミングパ
ルス生成器12は、上記第1タイミングパルス生成器及
び上記第1信号生成器として機能する。
The timing pulse generator 12 outputs a timing pulse (pulse signal) about every 1.25 ms based on the information of the count value sent from the first counter 10 about every 1.25 ms. The timing pulse generator 12 functions as the first timing pulse generator and the first signal generator.

【0018】また、第1初期値生成器14は、第1カウ
ンタ10から送られたカウント値に従い第2カウンタ1
8の初期値を生成する。また、第2初期値生成器16
は、第1カウンタ10から送られたカウント値に従い第
3カウンタ24の初期値を生成する。また、第2カウン
タ18は、高速クロックのパルスに従いカウントを行う
ものであり、0〜239までカウントを行う。ここで、
高速クロックの周波数は上記のように384kHzであ
り、240回カウントすると0.625msとなる値で
ある。つまり、この第2カウンタ18は、1スロットの
時間を計測していることになる。この第2カウンタ18
は、上記第1計測手段として機能する。
Further, the first initial value generator 14 generates the second counter 1 according to the count value sent from the first counter 10.
8 is generated. Also, the second initial value generator 16
Generates an initial value of the third counter 24 according to the count value sent from the first counter 10. The second counter 18 counts according to the pulse of the high-speed clock, and counts from 0 to 239. here,
As described above, the frequency of the high-speed clock is 384 kHz, which is 0.625 ms when counted 240 times. That is, the second counter 18 measures one slot time. This second counter 18
Functions as the first measuring means.

【0019】また、タイミングパルス生成器20は、第
2カウンタ18のカウントが終了するごとに切替器22
に対してパルス信号を出力し、また、第3カウンタ24
のカウントが終了するごとにタイミングパルスを出力す
る。このタイミングパルス生成器20は、上記第2タイ
ミングパルス生成器、第3タイミングパルス生成器、第
2信号生成器及び第3信号生成器として機能する。ま
た、切替器22は、主制御部26からのクロック切替え
信号に基づき、タイミングパルス生成器12から送られ
るタイミングパルスと、タイミングパルス生成器20か
ら送られるタイミングパルスのいずれかを第3カウンタ
24に出力する。また、第3カウンタ24は、該切替器
22から送られるタイミングパルスに従いカウントを行
うものであり、0〜7までのカウントを行う。すなわ
ち、この第3カウンタ24は、1フレーム(5ms)の
時間を計測している。この第3カウンタ24は、上記第
2計測手段として機能する。
The timing pulse generator 20 switches the switch 22 each time the second counter 18 finishes counting.
And outputs a pulse signal to the third counter 24.
The timing pulse is output each time the counting is completed. The timing pulse generator 20 functions as the second timing pulse generator, the third timing pulse generator, the second signal generator, and the third signal generator. Further, the switch 22 sends either the timing pulse sent from the timing pulse generator 12 or the timing pulse sent from the timing pulse generator 20 to the third counter 24 based on the clock switching signal from the main control unit 26. Output. The third counter 24 counts according to the timing pulse sent from the switch 22, and counts from 0 to 7. That is, the third counter 24 measures the time of one frame (5 ms). The third counter 24 functions as the second measuring means.

【0020】また、該主制御部26は、クロックタイミ
ング切替え装置Aにおける各部の動作を制御するもので
あり、特に、第2カウンタ18、第3カウンタ24、切
替器22に対してクロック切替え信号を出力する。つま
り、この主制御部26は上記クロック切替え信号出力回
路として機能する。また、この主制御部26は、高速ク
ロックへの切替え信号を出力後、第2カウンタ18の値
等を監視して、所定のタイミングで受信窓を開状態とす
るように受信制御部28に対して指示を行う。
The main control section 26 controls the operation of each section in the clock timing switching device A. In particular, the main control section 26 sends a clock switching signal to the second counter 18, the third counter 24, and the switch 22. Output. That is, the main control section 26 functions as the clock switching signal output circuit. After outputting the switching signal to the high-speed clock, the main control unit 26 monitors the value of the second counter 18 and the like, and instructs the reception control unit 28 to open the reception window at a predetermined timing. To give instructions.

【0021】また、上記受信制御部28は、同期ワード
判定回路や、受信窓フィルタや、後段処理回路等を有し
ている。ここで、該同期ワード判定回路は、高速クロッ
ク動作時に基地局から受信される同期ワードを検査して
予め保持された同期ワードと一致するか否かを判定し、
一致する場合には、パルスを生成する。また、受信窓フ
ィルタは、該生成したパルスのうち上記受信窓に入るパ
ルスのみを後段処理回路に送るものである。
The reception control unit 28 has a synchronization word determination circuit, a reception window filter, a post-processing circuit, and the like. Here, the synchronization word determination circuit examines the synchronization word received from the base station at the time of high-speed clock operation and determines whether or not the synchronization word matches a previously held synchronization word,
If they match, a pulse is generated. Further, the reception window filter sends only the pulses that enter the reception window among the generated pulses to the post-processing circuit.

【0022】上記構成のクロックタイミング切換え装置
Aの動作について図2、図3等を利用して説明する。な
お、該クロックタイミング切替え装置AはPHS携帯端
末に搭載されており、基地局からの着信信号を受信する
区間では高速クロックを動作させて受信を行ういわゆる
間欠受信が行われている。なお、いわゆる待受け状態の
時には基本的には低速クロックで動作させておけばよ
い。なお、図2において、タイミングパルス生成器1
2、タイミングパルス生成器20における実線の縦線は
パルス信号を示すものとする。
The operation of the clock timing switching device A having the above configuration will be described with reference to FIGS. The clock timing switching device A is mounted on a PHS portable terminal, and in a section for receiving an incoming signal from a base station, so-called intermittent reception in which a high-speed clock is operated to perform reception is performed. In a so-called standby state, basically, it is sufficient to operate with a low-speed clock. In FIG. 2, the timing pulse generator 1
2. The vertical solid line in the timing pulse generator 20 indicates a pulse signal.

【0023】第1カウンタ10は、低速クロックに従い
約1.25msごとにカウント値の情報を第1初期値生
成器14、第2初期値生成器16及びタイミングパルス
生成器12に送る。具体的には、第1カウンタ10は、
低速クロックに従いカウントした値の上位所定ビットの
値をカウント値として出力する。なお、この低速クロッ
クは、常時第1カウンタ10に入力されている。
The first counter 10 sends count value information to the first initial value generator 14, the second initial value generator 16, and the timing pulse generator 12 at about every 1.25 ms according to the low-speed clock. Specifically, the first counter 10
The value of a predetermined upper bit of the value counted according to the low-speed clock is output as a count value. The low-speed clock is always input to the first counter 10.

【0024】すると、タイミングパルス生成器12は、
第1カウンタ10からの情報に従い約2スロット区間ご
とにタイミングパルスを発生させる。つまり、このタイ
ミングパルス生成器12は、第1カウンタ10から送ら
れる信号に基づき2スロット区間ごとのタイミングパル
スを出力しようとすると、1.2512207msとな
り、正確な2スロット区間の時間1.25msに対して
誤差を含む周期でタイミングパルスを発生するのであ
る。このことから、タイミングパルス生成器12は約2
スロット区間ごとにタイミングパルスを発生させると表
現するものとする。
Then, the timing pulse generator 12
According to the information from the first counter 10, a timing pulse is generated about every two slot intervals. That is, if the timing pulse generator 12 attempts to output a timing pulse every two slot intervals based on the signal sent from the first counter 10, the timing pulse generator 12 becomes 1.2512207 ms, which is an accurate time 1.25 ms for the two slot intervals. Thus, a timing pulse is generated in a cycle including an error. From this, the timing pulse generator 12 has about 2
It is assumed that a timing pulse is generated for each slot section.

【0025】また、第1初期値生成器14は、第1カウ
ンタ10から送られるカウント値に基づき所定の初期値
mを生成する。具体的には、所定の演算式に従い所定の
初期値mを算出する。この初期値mは、低速クロックで
カウントしていく場合の誤差を修正することにより、受
信すべきスロットのタイミングに合わせることができる
ように算出される。つまり、この初期値mは、スロット
間隔の誤差を修正することができるように算出される。
The first initial value generator 14 generates a predetermined initial value m based on the count value sent from the first counter 10. Specifically, a predetermined initial value m is calculated according to a predetermined operation formula. The initial value m is calculated so that it can be adjusted to the timing of the slot to be received by correcting the error when counting with a low-speed clock. That is, the initial value m is calculated so that the error of the slot interval can be corrected.

【0026】一方、第2初期値生成器16は、第1カウ
ンタ10から送られるカウント値に基づき所定の初期値
nを生成する。具体的には、所定の演算式に従い所定の
初期値nを算出する。この初期値nは、低速クロックに
基づく5msのタイミングから高速クロックに基づく5
msのタイミングに適切に切替えができるように算出さ
れる。
On the other hand, the second initial value generator 16 generates a predetermined initial value n based on the count value sent from the first counter 10. Specifically, a predetermined initial value n is calculated according to a predetermined operation formula. The initial value n is changed from the timing of 5 ms based on the low-speed clock to 5 based on the high-speed clock.
It is calculated so that switching can be appropriately performed at the timing of ms.

【0027】なお、切替器22は、低速クロック動作時
間(図2参照)においては、タイミングパルス生成器1
2側に切り替えられている。つまり、タイミングパルス
生成器12からのパルスを第3カウンタ24に送る。こ
の低速クロック動作時間とは、図1に示す高速クロック
が第2カウンタに入力されていない状態である。この低
速クロック動作時間においては、切替器22は、タイミ
ングパルス生成器12から送られる約2スロットごとの
タイミングパルスを第3カウンタ24に送る。そして、
タイミングパルス生成器12からのパルスが第3カウン
タ24に送られている場合、つまり、クロック切替え信
号が第3カウンタ24に入力される前には、該第3カウ
ンタ24は、1つのパルスを受信するごとにカウント値
を2増加させる処理を行う。一方、タイミングパルス生
成器20からのパルスが第3カウンタ24に送られてい
る場合、つまり、クロック切替え信号が第3カウンタ2
4に入力された場合には、第3カウンタ24は、1つの
パルスを受信するごとにカウント値を1増加させる。つ
まり、タイミングパルス生成器12からは約2スロット
ごとにパルスが出力されるのに対して、タイミングパル
ス生成器20からは1スロットごとにパルスが出力され
ることからこのような処理を行うのである。
The switch 22 operates during the low-speed clock operation time (see FIG. 2).
It has been switched to two sides. That is, the pulse from the timing pulse generator 12 is sent to the third counter 24. This low-speed clock operation time is a state in which the high-speed clock shown in FIG. 1 is not input to the second counter. In this low-speed clock operation time, the switch 22 sends the timing pulse about every two slots sent from the timing pulse generator 12 to the third counter 24. And
When the pulse from the timing pulse generator 12 is sent to the third counter 24, that is, before the clock switching signal is input to the third counter 24, the third counter 24 receives one pulse. Each time the process is performed, a process of increasing the count value by 2 is performed. On the other hand, when the pulse from the timing pulse generator 20 is sent to the third counter 24, that is, when the clock switching signal is
When the input is 4, the third counter 24 increases the count value by one each time one pulse is received. That is, while the pulse is output from the timing pulse generator 12 about every two slots, the pulse is output from the timing pulse generator 20 every slot, and thus such processing is performed. .

【0028】ここで、該クロックタイミング切替え装置
Aを搭載した携帯端末が割り当てられたスロットは、図
2におけるスロットPn であるとする。すると、主制御
部26は、所定のタイミングでクロック切替え信号を第
2カウンタ18、切替器22、第3カウンタ24に出力
する。ここで、クロック切替え信号は、タイミングパル
ス生成器12が発生する約2スロットごとのタイミング
(これを「切替え可能タイミング」とする)における所
定のタイミングに行われる。より詳細には、基地局から
の送信信号を受信すべきスロットの位置を前回受信が成
功した時から1.2秒後の時としたり、また、前回受信
が成功した時からのスロットの数をカウントする等して
把握し、その受信すべきスロットの直前の切替え可能タ
イミングを切替えを行うタイミングとする。受信すべき
スロットを図2におけるスロットPn とすると、該スロ
ットPn の直前の切替え可能タイミングは時刻S1とな
るので、この時刻S1が切替えタイミングとなる。すな
わち、主制御部26は、時刻S1のタイミングでクロッ
ク切替え信号を出力する。つまり、受信すべきスロット
Pn の初期時刻S3と切替えタイミングS1間には、1
スロットの時間に満たない区間P’とスロットPn-1 の
区間とを合わせた区間tが存在することになる。なお、
このクロック切替え信号には、クロックタイミングの切
替えを指示する旨とともに、高速クロックのタイミング
で動作させる旨の情報も含まれているものとする。
Here, it is assumed that the slot to which the portable terminal equipped with the clock timing switching device A is assigned is the slot Pn in FIG. Then, the main control unit 26 outputs a clock switching signal to the second counter 18, the switch 22, and the third counter 24 at a predetermined timing. Here, the clock switching signal is performed at a predetermined timing at a timing of about every two slots generated by the timing pulse generator 12 (this is referred to as “switchable timing”). More specifically, the position of the slot to receive the transmission signal from the base station is set to be 1.2 seconds after the previous successful reception, or the number of slots since the previous successful reception. It is grasped by counting or the like, and the switchable timing immediately before the slot to be received is set as the switching timing. Assuming that the slot to be received is the slot Pn in FIG. 2, the switchable timing immediately before the slot Pn is time S1, and this time S1 is the switching timing. That is, the main control unit 26 outputs the clock switching signal at the timing of the time S1. That is, between the initial time S3 of the slot Pn to be received and the switching timing S1, 1
There is a section t in which the section P 'that is shorter than the slot time and the section of the slot Pn-1 are combined. In addition,
It is assumed that this clock switching signal includes information to instruct switching of the clock timing and information to operate at the timing of the high-speed clock.

【0029】すると、第2カウンタ18は、クロック切
替え信号を受信すると、第1初期値生成器14において
算出された初期値mを読み出し、その初期値mをセット
して、以後該初期値mから高速クロックに基づきカウン
トを行い、カウント値をタイミングパルス生成器20に
出力する。なお、高速クロックは図示しない高速クロッ
ク出力部から出力されるが、クロック切替え信号が主制
御部26から出力される若干前の時から第2カウンタ1
8に入力される。このように初期値mをセットすること
により、低速クロックで動作させたことによるスロット
間隔の誤差を修正するようにしている。なお、誤差がな
い場合には初期値mはカウンタ開始時の値、すなわち、
0となり、その場合には、図2において1スロットに満
たない区間P’は存在しないことになる。
When the second counter 18 receives the clock switching signal, the second counter 18 reads the initial value m calculated by the first initial value generator 14, sets the initial value m, and thereafter sets the initial value m. The count is performed based on the high-speed clock, and the count value is output to the timing pulse generator 20. The high-speed clock is output from a high-speed clock output unit (not shown), but the second counter 1 is output slightly before the clock switching signal is output from the main control unit 26.
8 is input. By setting the initial value m in this way, an error in the slot interval due to operation with a low-speed clock is corrected. If there is no error, the initial value m is the value at the start of the counter, ie,
0, in which case there is no section P 'of less than one slot in FIG.

【0030】そして、タイミングパルス生成器20は、
カウント値が239の情報を受信すると、パルスを第3
カウンタ24に出力する。つまり、タイミングパルス生
成器20は、0.625msごとに切替器22に対して
パルスを出力することになる。図2の「タイミングパル
ス生成器20」に示されている全てのパルスがこの切替
器22に送られるパルスに相当する。つまり、図2の
「タイミングパルス生成器20」に示したパルスのうち
長いものと短いものと両方とが含まれる。
Then, the timing pulse generator 20
When the information of the count value of 239 is received, the pulse is changed to the third pulse.
Output to the counter 24. That is, the timing pulse generator 20 outputs a pulse to the switch 22 every 0.625 ms. All the pulses shown in the “timing pulse generator 20” of FIG. 2 correspond to the pulses sent to the switch 22. That is, both the long pulse and the short pulse among the pulses shown in the “timing pulse generator 20” of FIG. 2 are included.

【0031】また、クロック切替え信号が切替器22に
送られると、切替器22はタイミングパルス生成器20
側に切替えを行う。これにより、タイミングパルス生成
器20からのパルスが第3カウンタ24に送られ、タイ
ミングパルス生成器12からのパルスは第3カウンタ2
4に送られない。
When the clock switching signal is sent to the switch 22, the switch 22
Switch to the side. Thus, the pulse from the timing pulse generator 20 is sent to the third counter 24, and the pulse from the timing pulse generator 12 is sent to the third counter 2
Not sent to 4.

【0032】一方、第3カウンタ24は、該タイミング
パルス生成器20から切替器22を介して最初のタイミ
ングパルスが送られると、第2初期値生成器16で算出
された初期値nを読み出し、その初期値nをセットし
て、以後該初期値nからカウントを行う。なお、クロッ
ク切替え信号は第3カウンタ24へも入力されるので、
上記クロック切替え信号を受信したら、到来するタイミ
ングパルスはタイミングパルス生成器20からのもので
あるので、第3カウンタ24は、タイミングパルスが到
来するごとにカウント値を1増加させる。このように初
期値nをセットすることにより、5msごとのタイミン
グの間のタイミングで切替えを行っても、低速クロック
に基づく5msのタイミングから高速クロックに基づく
5msのタイミングに適切に切替えができるようにして
いる。なお、第2カウンタ18のカウンタが終了したタ
イミングと同時に5msごとのタイミングがくる場合に
は、該初期値nはカウンタ開始時の値、すなわち、0と
なる。なお、切替器22がタイミングパルス生成器20
側に切り替えられた場合には、その旨の情報が切替器2
2から第3カウンタ24に送られるようにし、該情報が
受信されたら、第3カウンタ24は、タイミングパルス
生成器20からのタイミングパルスが到来するごとにカ
ウント値を1増加させるようにしてもよい。
On the other hand, when the first timing pulse is sent from the timing pulse generator 20 via the switch 22 to the third counter 24, the third counter 24 reads the initial value n calculated by the second initial value generator 16, The initial value n is set, and thereafter counting is performed from the initial value n. Since the clock switching signal is also input to the third counter 24,
When the clock switching signal is received, the incoming timing pulse is from the timing pulse generator 20, so the third counter 24 increases the count value by one each time the timing pulse arrives. By setting the initial value n in this manner, even if switching is performed at a timing between timings of 5 ms, it is possible to appropriately switch from the timing of 5 ms based on the low-speed clock to the timing of 5 ms based on the high-speed clock. ing. When the timing of every 5 ms comes at the same time as the timing when the counter of the second counter 18 ends, the initial value n becomes the value at the start of the counter, that is, 0. Note that the switch 22 is connected to the timing pulse generator 20.
If it is switched to the side, the information to that effect
From the second to the third counter 24, when the information is received, the third counter 24 may increase the count value by one each time a timing pulse from the timing pulse generator 20 arrives. .

【0033】そして、第3カウンタ24は、カウント値
をタイミングパルス生成器20に出力する。そして、タ
イミングパルス生成器20は、第3カウンタ24からカ
ウント値が7の情報を受信すると、タイミングパルスを
外部に出力する。つまり、タイミングパルス生成器20
は、5msごとにタイミングパルスを出力することにな
る。図2の「タイミングパルス生成器20」に示されて
いる長さの長いパルスがこれに相当する。
Then, the third counter 24 outputs the count value to the timing pulse generator 20. Then, when receiving the information with the count value of 7 from the third counter 24, the timing pulse generator 20 outputs a timing pulse to the outside. That is, the timing pulse generator 20
Outputs a timing pulse every 5 ms. The long pulse shown in the “timing pulse generator 20” in FIG. 2 corresponds to this.

【0034】また、受信制御部28は、クロック切替え
信号が主制御部26から送られると、基地局から送られ
る着信信号を受信して、同期ワード判定回路によって、
受信される同期ワードが予め保持された同期ワードと一
致するか否かが判定される。一致する場合には、該携帯
端末が本来受信すべきスロットであることが分かる。同
期ワードが一致する場合には、パルス信号を生成する。
When the clock switching signal is sent from the main control unit 26, the reception control unit 28 receives the incoming signal sent from the base station,
It is determined whether the received synchronization word matches the synchronization word stored in advance. If they match, it is understood that the slot is a slot that the mobile terminal should originally receive. If the synchronization words match, a pulse signal is generated.

【0035】そして、主制御部26は、第2カウンタ及
び第3カウンタのカウント値や、まもなく受信すべきス
ロットが到来する旨のフラグ等により所定の区間受信窓
を開状態にする旨を受信制御部28に指示する。該フラ
グは、前回受信が成功した時からの時間やスロット数等
により生成されたものである。すると、受信制御部28
は、主制御部26から受信窓を開状態とする旨の指示を
受けると、上記受信窓フィルタにより、所定の時間上記
同期ワード判定回路で生成されたパルスを後段処理回路
に送る処理を行う。この所定の時間とは、受信すべきス
ロットPn の1つの前のスロットPn-1 における略中間
位置の時刻Sa(図3参照)からスロットPn における
略中間位置の時刻Sb(図3参照)の時間とする。つま
り、時刻Saは、時刻S1とS3の略中間位置となり、
時刻Sbは、時刻S3とS4の中間位置よりも若干後方
とする。これは、同期ワードは各スロットの前半部分に
格納されているためと、さらに、若干の時間的余裕を見
て上記の時間とする。そして、同期ワードが一致する場
合に出力されるパルス信号であって、上記の時間帯に受
信された同期ワードに基づくものは後段処理回路に送ら
れ、具体的な着信処理が行われる。
The main control unit 26 controls the reception of the opening of the reception window for a predetermined period based on the count values of the second counter and the third counter, a flag indicating that a slot to be received soon is arriving, and the like. Instruct the unit 28. The flag is generated based on the time since the previous reception was successful, the number of slots, and the like. Then, the reception control unit 28
When the main control unit 26 receives an instruction to open the receiving window from the main control unit 26, the receiving window filter performs a process of transmitting a pulse generated by the synchronization word determining circuit to a post-processing circuit for a predetermined time. The predetermined time is a time from the time Sa (see FIG. 3) at the substantially intermediate position in the slot Pn-1 immediately before the slot Pn to be received to the time Sb (see FIG. 3) at the substantially intermediate position in the slot Pn. And That is, the time Sa is a substantially intermediate position between the times S1 and S3,
Time Sb is slightly behind the intermediate position between times S3 and S4. This is because the synchronization word is stored in the first half of each slot, and furthermore, the time is set to a certain margin. Then, a pulse signal output when the synchronization words match, which is based on the synchronization word received in the above-mentioned time zone, is sent to the post-processing circuit, and specific incoming processing is performed.

【0036】つまり、本実施例のクロックタイミング切
替え装置Aの作用をまとめると以下のことがいえる。す
なわち、タイミングパルス生成器12は、低速クロック
に従ってカウントを行う第1カウンタ10に基づきパル
スを発生するので、該パルスには誤差が蓄積されていく
が、125ms計測したところでその誤差はリセットさ
れるように第1カウンタ10のカウント動作が行われる
ことになる。誤差がクリアされたときに、高速クロック
によるタイミングへ切り替える場合には、その切り替え
た時間を0として第2カウンタ18と第3カウンタ24
とを動作させていけば切替えのタイミングは保持されて
いる。つまり、初期値m、nは基本的にはそれぞれ0に
してカウント動作をすればよい。なお、この場合、実際
にはタイミングパルス生成器12のパルスの立ち下がり
のタイミングで第2カウンタ18がカウントを開始する
ようになっているので、パルス幅を考慮して、初期値m
は0ではなく約12とされる。なお、タイミングパルス
生成器12のパルスの立ち上がりのタイミングで第2カ
ウンタ18がカウントを開始する場合には初期値mは0
でよいことになる。しかし、5ms周期のチャネルフレ
ームを最小単位として構成されているスーパーフレーム
を受信する場合には、いつも誤差がリセットされた時に
クロックタイミングの切替えが発生するわけではないの
で、そのため、誤差を含む時点でクロックタイミングの
切替えが発生した場合に、低速クロックで動作する第1
カウンタ10の値を基に第1初期値生成器14によって
第2カウンタ18のクロック切替え後のカウント開始時
の初期値を発生させるとともに、同じく、第1カウンタ
10の値を基に第2初期値生成器16によって第3カウ
ンタ24のクロック切替え後のカウント開始時の初期値
を発生させて高速クロックでのカウント動作の直前にそ
れぞれの初期値をカウンタにセットすることで、クロッ
クタイミング切替え前後のタイミングを保持したまま切
替えを行うことができるようにしているのである。
That is, the operation of the clock timing switching device A of the present embodiment can be summarized as follows. That is, since the timing pulse generator 12 generates a pulse based on the first counter 10 that counts according to the low-speed clock, an error is accumulated in the pulse. However, the error is reset when 125 ms is measured. Next, the counting operation of the first counter 10 is performed. When the timing is switched to the high-speed clock when the error is cleared, the switching time is set to 0, and the second counter 18 and the third counter 24 are switched.
The timing of the switching is maintained by operating. In other words, the initial values m and n may be basically set to 0 to perform the counting operation. In this case, since the second counter 18 actually starts counting at the falling edge of the pulse of the timing pulse generator 12, the initial value m is considered in consideration of the pulse width.
Is set to about 12 instead of 0. When the second counter 18 starts counting at the rising edge of the pulse of the timing pulse generator 12, the initial value m is 0.
Is good. However, when receiving a superframe configured with a channel frame having a period of 5 ms as a minimum unit, switching of clock timing does not always occur when an error is reset. When the switching of the clock timing occurs, the first operating with the low-speed clock
Based on the value of the counter 10, the first initial value generator 14 generates an initial value at the start of counting after clock switching of the second counter 18, and similarly, generates a second initial value based on the value of the first counter 10. The generator 16 generates an initial value at the start of counting after the clock switching of the third counter 24, and sets each initial value in the counter immediately before the counting operation by the high-speed clock, so that the timing before and after the clock timing switching is performed. That is, the switching can be performed while the information is held.

【0037】以上のように、本実施例のクロックタイミ
ング切替え装置Aによれば、受信すべきスロット以前に
存在する高速クロック動作時間は1スロット未満の区間
と1スロットの区間とを合わせた時間であるので、不必
要なクロック動作時間が2スロット分以上となることが
なく、従前に比べて無駄な高速クロック動作時間を短縮
することができる。また、第2カウンタ18と第3カウ
ンタ24の初期値をそれぞれ定めることにより、全体と
して短時間で保持すべきタイミングを保持したままクロ
ックタイミングの切替えを行うことができる。
As described above, according to the clock timing switching apparatus A of the present embodiment, the high-speed clock operation time existing before the slot to be received is the sum of the section less than one slot and the section of one slot. As a result, the unnecessary clock operation time does not exceed two slots, and the unnecessary high-speed clock operation time can be reduced as compared with the conventional case. In addition, by setting the initial values of the second counter 18 and the third counter 24, the clock timing can be switched while maintaining the timing to be held in a short time as a whole.

【0038】なお、上記の説明においては、タイミング
パルス生成器12が出力するパルスは約2スロットごと
であるとして説明したが、これには限られず、3スロッ
ト以上若しくは1スロットであってもよい。つまり、タ
イミングパルス生成器12が出力するタイミングパルス
の出力間隔が、上記第2カウンタ18が計測する時間の
略整数倍であればそのいずれとすることも可能である。
例えば、1スロットとした場合には、第2カウンタ18
のカウントが終了した時が、受信すべきスロットの初期
時刻となる。よって、受信窓は第2カウンタ18のカウ
ントが終了した直後に開状態とされる。
In the above description, the pulse output from the timing pulse generator 12 is described as being about every two slots. However, the present invention is not limited to this, and three or more slots or one slot may be used. That is, any output interval of the timing pulse output from the timing pulse generator 12 can be used as long as the output time is approximately an integral multiple of the time measured by the second counter 18.
For example, when one slot is set, the second counter 18
Is the initial time of the slot to be received. Therefore, the receiving window is opened immediately after the second counter 18 finishes counting.

【0039】また、上記の説明において、タイミングパ
ルス生成器20は、1スロット(0.625ms)ごと
のタイミングパルスを出力するとともに、5msごとの
タイミングパルスをも出力するものとして説明したが、
第2カウンタ18によるカウントに基づき1スロットご
とのタイミングパルスを出力するタイミングパルス生成
器と、第3カウンタ24によるカウントに基づき5ms
ごとのタイミングパルスを出力するタイミングパルス生
成器とを別の構成とするようにしてもよい。
In the above description, the timing pulse generator 20 outputs a timing pulse for each slot (0.625 ms) and also outputs a timing pulse for every 5 ms.
A timing pulse generator that outputs a timing pulse for each slot based on the count by the second counter 18 and 5 ms based on the count by the third counter 24
The timing pulse generator that outputs a timing pulse for each of the above may be configured differently.

【0040】[0040]

【発明の効果】本発明に基づくクロックタイミング切替
え装置及び携帯端末によれば、第2カウンタと第3カウ
ンタの初期値をそれぞれ定めることにより、短時間で保
持すべきタイミングを保持したまま低速クロックのタイ
ミングから高速クロックのタイミングへクロックタイミ
ングの切替えを行うことができる。
According to the clock timing switching device and the portable terminal of the present invention, the initial value of the second counter and the initial value of the third counter are respectively determined, so that the low-speed clock can be maintained while maintaining the timing to be maintained in a short time. The clock timing can be switched from the timing to the timing of the high-speed clock.

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

【図1】本発明の実施例に基づくクロックタイミング切
替え装置の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a clock timing switching device according to an embodiment of the present invention.

【図2】本発明の実施例に基づくクロックタイミング切
替え装置の動作タイミングを示すタイムチャートであ
る。
FIG. 2 is a time chart showing operation timings of the clock timing switching device according to the embodiment of the present invention.

【図3】図2の要部拡大図である。FIG. 3 is an enlarged view of a main part of FIG. 2;

【図4】PHS無線チャネルにおけるスーパーフレーム
の構成を示す説明図である。
FIG. 4 is an explanatory diagram showing a configuration of a superframe in a PHS radio channel.

【図5】PHS無線チャネルにおけるLCCH送出タイ
ミングを示す説明図である。
FIG. 5 is an explanatory diagram showing LCCH transmission timing in a PHS radio channel.

【図6】PHS無線チャネルにおけるTDMAフレーム
の構成を示す説明図である。
FIG. 6 is an explanatory diagram showing a configuration of a TDMA frame in a PHS radio channel.

【図7】従来におけるクロックタイミング切替え装置の
構成を示すブロック図である。
FIG. 7 is a block diagram showing a configuration of a conventional clock timing switching device.

【図8】従来におけるクロックタイミング切替え装置の
動作タイミングを示すタイムチャートである。
FIG. 8 is a time chart showing operation timing of a conventional clock timing switching device.

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

A クロックタイミング切替え装置 10 第1カウンタ 12、20 タイミングパルス生成器 14 第1初期値生成器 16 第2初期値生成器 18 第2カウンタ 22 切替器 24 第3カウンタ 26 主制御部 28 受信制御部 A clock timing switching device 10 first counter 12, 20 timing pulse generator 14 first initial value generator 16 second initial value generator 18 second counter 22 switch 24 third counter 26 main control unit 28 reception control unit

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平9−62396(JP,A) 特開2000−78073(JP,A) 特開 平10−257004(JP,A) 特開 平9−18405(JP,A) 特開2000−49682(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06F 1/06 G06F 1/14 G06F 9/30 330 H04B 7/26 H04M 1/72 ────────────────────────────────────────────────── ─── Continuation of the front page (56) References JP-A-9-62396 (JP, A) JP-A-2000-78073 (JP, A) JP-A-10-257004 (JP, A) JP-A-9-18405 (JP, A) JP-A-2000-49682 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) G06F 1/06 G06F 1/14 G06F 9/30 330 H04B 7/26 H04M 1 / 72

Claims (8)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 低速クロックと高速クロックとの間でク
ロックタイミングの切替えを行うクロックタイミング切
替え装置であって、低速クロックによって所定の時間を
計測する第1カウンタと、該第1カウンタが計測する値
に基づき所定の間隔でパルス信号を出力する第1タイミ
ングパルス生成器と、上記第1カウンタが計測する値に
基づき第1の初期値を出力する第1初期値生成器と、上
記第1カウンタが計測する値に基づき第2の初期値を出
力する第2初期値生成器と、上記第1タイミングパルス
生成器が出力するパルス信号におけるいずれかのパルス
信号のタイミングでクロック切替え信号を出力するクロ
ック切替え信号出力回路と、高速クロックによって所定
の時間を計測する第2カウンタであって、クロック切替
え信号を受信した場合に、上記第1初期値生成器から上
記第1の初期値を読み出して該第1の初期値から計測を
行う第2カウンタと、第2カウンタが所定の時間を計測
した場合に、パルス信号を出力する第2タイミングパル
ス生成器と、第1タイミングパルス生成器からのパルス
信号と第2タイミングパルス生成器からのパルス信号と
を切り替えて出力する切替器であって、クロック切替え
信号がクロック切替え信号出力回路から該切替器に入力
された場合には、該第2タイミングパルス生成器からの
パルス信号を出力する切替器と、該第1タイミングパル
ス生成器が出力するパルス信号と第2タイミングパルス
生成器が出力するパルス信号とのいずれかに基づき第2
カウンタとは別の時間を計測する第3カウンタであっ
て、該第2タイミングパルス生成器が出力するパルス信
号を受信した場合に、上記第2初期値生成器から上記第
2の初期値を読み出して該第2の初期値から計測を行う
第3カウンタと、該第3カウンタが所定の時間を計測し
た場合に、パルス信号を出力する第3タイミングパルス
生成器と、を有することを特徴とするクロックタイミン
グ切替え装置。
1. A clock between a low-speed clock and a high-speed clock.
Clock timing off for switching lock timing
A switching device, wherein a predetermined time is set by a low-speed clock.
A first counter to be measured and a value to be measured by the first counter
1st time which outputs a pulse signal at predetermined intervals based on
Pulse generator and the value measured by the first counter.
A first initial value generator that outputs a first initial value based on the first initial value;
The second initial value is output based on the value measured by the first counter.
A second initial value generator and the first timing pulse
Any pulse in the pulse signal output by the generator
A clock that outputs a clock switching signal at the signal timing
Clock switching signal output circuit and high-speed clock
A second counter for measuring the time of
From the first initial value generator when receiving the
The first initial value is read out and measurement is performed from the first initial value.
The second counter to perform, and the second counter measures a predetermined time
The second timing pulse that outputs a pulse signal
Pulse generator and a pulse from the first timing pulse generator
Signal and the pulse signal from the second timing pulse generator
Switch that switches and outputs the clock
A signal is input from the clock switching signal output circuit to the switch.
The second timing pulse generator
A switch for outputting a pulse signal, and the first timing pulse
Pulse signal and second timing pulse output by the pulse generator
The pulse signal output by the generator.
This is a third counter that measures a different time from the counter.
The pulse signal output by the second timing pulse generator.
Signal is received from the second initial value generator.
2 is read and the measurement is performed from the second initial value.
A third counter, and the third counter measures a predetermined time.
3rd timing pulse which outputs a pulse signal when
And a clock timing generator.
Switching device.
【請求項2】 上記クロック切替え信号出力回路は、上
記切替器が出力するパルス信号のタイミングで、上記ク
ロック切替え信号を出力することを特徴とする請求項1
に記載のクロックタイミング切替え装置。
2. The clock switching signal output circuit according to claim 1 ,
At the timing of the pulse signal output from the switch,
2. A lock switching signal is output.
2. The clock timing switching device according to claim 1.
【請求項3】 上記第1タイミングパルス生成器が出力
するパルス信号の出力間隔が、上記第2カウンタが計測
する時間の略整数倍の時間であることを特徴と する請求
項1又は2に記載のクロックタイミング切替え装置。
3. An output from said first timing pulse generator.
The second counter measures the output interval of the pulse signal
Claims, characterized in that it is substantially an integral multiple of the time period of
Item 3. The clock timing switching device according to item 1 or 2.
【請求項4】 上記第1タイミングパルス生成器は、低
速クロックに基づき略1.25msごとにパルス信号を
出力し、上記第2カウンタは、高速クロックに基づき
0.625msの時間の計測を行い、また、上記第3カ
ウンタは、5msの時間の計測を行うことを特徴とする
請求項1又は2又は3に記載のクロックタイミング切替
え装置。
4. The method according to claim 1, wherein the first timing pulse generator has a low level.
A pulse signal is generated approximately every 1.25 ms based on the speed clock.
And the second counter is based on a high-speed clock.
The time of 0.625 ms was measured, and the third
The counter is characterized by measuring a time of 5 ms.
4. A clock timing switch according to claim 1, 2 or 3.
Device.
【請求項5】 上記第2タイミングパルス生成器と第3
タイミングパルスとが一体に形成されていることを特徴
とする請求項1又は2又は3又は4に記載のクロックタ
イミング切替え装置。
5. The apparatus according to claim 1, wherein said second timing pulse generator and a third
The feature is that the timing pulse is integrally formed
The clock generator according to claim 1, 2, 3, or 4,
Imming switching device.
【請求項6】 上記低速クロックが32.768kHz
で、上記高速クロックが384kHzであることを特徴
とする請求項1又は2又は3又は4又は5に記載のクロ
ックタイミング切替え装置。
6. The low-speed clock is 32.768 kHz.
Wherein the high-speed clock is 384 kHz.
The black-and-white filter according to claim 1 or 2 or 3 or 4 or 5.
Lock timing switching device.
【請求項7】 上記請求項1又は2又は3又は4又は5
又は6に記載のクロックタイミング切替え装置を有する
携帯端末であって、クロック切替え信号が出力される
と、その後の所定の区間における着信信号を検出し、着
信信号における同期ワードが一致する場合には、着信処
理を行うことを特徴とする携帯端末。
7. The method according to claim 1, wherein
Or a clock timing switching device according to item 6.
A mobile terminal that outputs a clock switching signal
And the incoming signal in a predetermined section after that,
If the sync words in the incoming signal match,
Mobile terminal characterized in that it performs processing.
【請求項8】 該携帯端末がPHSに準拠していること
を特徴とする請求項7に記載の携帯端末。
8. The portable terminal is compliant with PHS.
The mobile terminal according to claim 7, wherein:
JP32613898A 1998-10-30 1998-10-30 Clock timing switching device and portable terminal Expired - Fee Related JP3349459B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32613898A JP3349459B2 (en) 1998-10-30 1998-10-30 Clock timing switching device and portable terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32613898A JP3349459B2 (en) 1998-10-30 1998-10-30 Clock timing switching device and portable terminal

Publications (2)

Publication Number Publication Date
JP2000137539A JP2000137539A (en) 2000-05-16
JP3349459B2 true JP3349459B2 (en) 2002-11-25

Family

ID=18184484

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32613898A Expired - Fee Related JP3349459B2 (en) 1998-10-30 1998-10-30 Clock timing switching device and portable terminal

Country Status (1)

Country Link
JP (1) JP3349459B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB0821459D0 (en) 2008-11-24 2008-12-31 Icera Inc Active power management
CN106056009A (en) * 2016-05-23 2016-10-26 乐视控股(北京)有限公司 Mobile terminal power off control apparatus and method

Also Published As

Publication number Publication date
JP2000137539A (en) 2000-05-16

Similar Documents

Publication Publication Date Title
EP0693835B1 (en) Synchronization of a wireless telephone
JP3907704B2 (en) Digital wireless communication system and wireless radio station
KR20060002970A (en) Method for synchronization in a mobile radio terminal
JPH08504075A (en) Method and apparatus for adaptive radio receiver controller
JP3349459B2 (en) Clock timing switching device and portable terminal
US8139540B2 (en) Arrangement and method for dual mode operation in a communication system terminal
US6466553B1 (en) Receiver, intermittent frame synchronizing method and portable remote terminal
JP3394629B2 (en) Wireless device
JPH06338854A (en) Digital portable telephone set
JPH0846565A (en) Synchronization control system at mobile station in personal handyphone system
JPH08274707A (en) Radio transmission and reception equipment
JP3286881B2 (en) TDMA communication apparatus and method
US7948928B2 (en) Cordless telephone system
JP2001069107A (en) Reception controller
JP2002009684A (en) Transmission timing variable circuit
JP2912333B1 (en) Telephone receiving system
US6178321B1 (en) Telephone system comprising a base station and at least one handset, method implemented in such a system, subscriber station and base station suitable for such a system
EP1484933A1 (en) Arrangement and method for dual mode operation in a communication system terminal
JPH05308317A (en) Radio telephone system
JP3501933B2 (en) Digital cordless system
JPH11196038A (en) Power saving type portable telephone set
KR100198315B1 (en) Frame synchronization signal generating device for personal communication system
JP3781712B2 (en) Mobile phone
JP3357560B2 (en) Wireless paging radio
JP2003168180A (en) Automatic meter reading terminal device and automatic meter reading system

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070913

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080913

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080913

Year of fee payment: 6

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080913

Year of fee payment: 6

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080913

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090913

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100913

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100913

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110913

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees