JP2004245761A - Electronic device equipped with clock circuit - Google Patents

Electronic device equipped with clock circuit Download PDF

Info

Publication number
JP2004245761A
JP2004245761A JP2003037762A JP2003037762A JP2004245761A JP 2004245761 A JP2004245761 A JP 2004245761A JP 2003037762 A JP2003037762 A JP 2003037762A JP 2003037762 A JP2003037762 A JP 2003037762A JP 2004245761 A JP2004245761 A JP 2004245761A
Authority
JP
Japan
Prior art keywords
frequency
trimmer
clock circuit
adjustment
capacitor
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.)
Withdrawn
Application number
JP2003037762A
Other languages
Japanese (ja)
Inventor
Akinori Nishizawa
昭則 西澤
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.)
Murata Machinery Ltd
Original Assignee
Murata Machinery 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 Murata Machinery Ltd filed Critical Murata Machinery Ltd
Priority to JP2003037762A priority Critical patent/JP2004245761A/en
Publication of JP2004245761A publication Critical patent/JP2004245761A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Electric Clocks (AREA)
  • Oscillators With Electromechanical Resonators (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an electronic device equipped with a clock circuit, where adjusting itself of the clock circuit or readjusting for temperature change after adjustment is easy. <P>SOLUTION: The oscillation frequency of a clock circuit 12 is detected with a CPU1. If the oscillation frequency is in such range as can be said to be equal to a reference frequency 128 Hz, "normal" is displayed on a display part 9. If the oscillation frequency is not equal to the reference frequency but lies outside the range for adjusting with a capacitor trimmer 12c, a thermistor 13 detects the current temperature and compares it to a reference temperature, for deciding adjusting direction of a resistor trimmer 12b. The resistor trimmer 12b is adjusted to make the oscillation frequency approach the reference frequency 128 Hz. If the oscillation frequency approaches the reference frequency as the resistor trimmer 12b to the extent that it is unable to adjust it, the capacitor trimmer 12c carries out fine tuning so that the oscillation frequency becomes equal to the reference frequency. If the frequencies become equal, "calibration completed" is displayed on the display part 9. <P>COPYRIGHT: (C)2004,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
この発明は、時計回路を備えたファクシミリ装置、PC等の電子機器に関する。
【0002】
【従来の技術】
一般に、ファクシミリ装置、PC、その他の電子機器には、時計回路を備えている。この種の時計回路(リアルタイムクロック)は、水晶発振子からの信号を分周して、動作クロック信号としている。従来、温度が変化すると、水晶発振子の周波数がずれるので、温度に応じて、水晶発振子に接続されるコンデンサを切り替えて発振周波数を一定とするように制御する回路が知られている(例えば、特許文献1参照)。
【0003】
【特許文献1】
特開平11−183622号公報
【0004】
【発明が解決しようとする課題】
上記した特許文献1記載の技術では、基準温度で時計の歩度が正しく調整されていれば、温度変化が生じても、発振周波数が一定となるように調整ができるが、基準温度で時計の歩度が正しく調整されていないか、ずれが生じた場合に、時計回路を正しく調整できない。
【0005】
この発明は上記問題点に着目してなされたものであって、時計回路の調整自体、あるいは調整後の温度変化による再調整が容易に行える時計回路を備えた電子機器を提供することを目的としている。
【0006】
【課題を解決するための手段】
この発明の時計回路を備えた電子機器は、水晶発振子を有する時計回路からの周波数を検出する周波数検出手段と、検出された周波数を基準周波数と比較する比較手段と、比較結果に基づいて水晶振動子に接続される電子トリマを調整する調整手段と、周波数の検出、比較、調整を繰り返し、時計回路の周波数を基準周波数に近づけるよう制御する制御手段とを有する。
【0007】
この発明の時計回路を有する電子機器において、前記電子トリマは、抵抗の電子トリマとコンデンサの電子トリマから構成でき、比較手段の比較結果の周波数の差が大きい場合には、抵抗の電子トリマを調整し、比較結果の周波数の差が所定値より小さい場合には、コンデンサの電子トリマで調整することができる。
【0008】
また、この発明の時計回路を有する電子機器において、更に、温度検出手段を備えることにより、検出された温度に基づき、前記調整手段が調整する方向を決定することができる。
【0009】
また,この発明の時計回路を備えた電子機器は、水晶発振子と、それに接続されるトリマからなる時計回路と、この時計回路の周波数を検出する手段と、検出された周波数に応じた表示をする表示部とを有することを特徴とする時計回路を備えている。
【0010】
【発明の実施の形態】
以下、実施の形態により、この発明をさらに詳細に説明する。図1は、この発明の時計回路を備えた電子機器の一実施形態である複合機(コピー機能、ファックス機能、読み取り機能等の多機能を有する)の構成を示す。
【0011】
この実施形態複合機は、CPU1と、NCU2と、MODEM3と、ROM4と、RAM5と、画像メモリ6と、スキャナ(画像読取部)7と、操作部8と、表示部9と、CODEC10と、プリンタ11と、時計回路(RTC:リアルタイムクロック)12と、サーミスタ13と、A/D変換器14と、システムバス15とを備えている。
【0012】
CPU1は、ROM4に記憶するプログラムに従い、この実施形態複合機の全体を制御する機能を有する。このCPU1には、NCU(Network Control Unit)2、MODEM3が接続されている。NCU2は、CPU1によって制御されて、回線16と当該複合機との接続を制御するとともに、通信相手の電話番号に応じたダイヤルパルスを送出する機能及び着信を検出する機能を有する。なお、回線16は、一般公衆回線網(PSTN)に接続されている。
【0013】
MODEM3は、送信データの変調及び受信データの復調、具体的にはデジタル信号である送信データをアナログの音声信号に変調して、NCU2を介して回線16に送出し、また逆に、回線16からNCU2を介して、受信したアナログの音声信号をデジタル信号に復調する。ROM4は、この複合機全体の動作を制御するためのプログラム等を予め記憶してある。RAM5は、CPU1による制御に必要なデータ及び制御動作時に一時記憶が必要なデータ等を記憶する。画像メモリ6は、スキャナ7で読み取った画像データを記憶し、または外部から回線16とMODEM3を介して、受信した画像データを記憶する。
【0014】
スキャナ7は、シェーディング板や原稿画像を光電変換して読み取る。スキャナ7は、CCDラインイメージセンサで読み取った画像データにつき、種々の処理を実行する。
【0015】
操作部8は、スタートキー、コピーモード・ファクシミリモード等のモードを切り換えるモード切換キー、電話番号やファクシミリ番号等の数字を入力するためのテンキー、ワンタッチキー、短縮キー、その他種々の動作を指示するためのキーを有する。表示部9は、操作部8の操作により入力された電話番号、ファクシミリ番号、プリンタのトナー残量等の種々の情報を表示する。
【0016】
CODEC10は、読み取り原稿データや記憶されている画像データを送信するために、MH、MR、MMR方式等により、符号化(エンコード)し、受信画像データを記録するために復号(デコード)する。プリンタ11は、コピーするために読み取った原稿画像データ、受信画像データ等をプリンタする。
【0017】
時計回路12は、水晶発振子12aと、抵抗トリマ12bと、コンデンサトリマ12cと、その他の回路12dとからなる。時計回路12で発生したクロック信号はCPU1に与えられる。抵抗トリマ12b及びコンデンサトリマ12cは、CPU1からの指令により、それぞれ抵抗値、静電容量が、例えば±6段階のきざみで調整される(図7参照)。サーミスタ13は温度を検出するための温度センサであり、サーミスタ13によって検出される温度に応じた電圧はA/D変換器14を介してCPU1に取り込まれる。
【0018】
この実施形態複合機においては、操作部8の自動調整キーを操作することにより、自動調整モードとし、時計回路12の水晶発振子の発振周波数を調整できる。
【0019】
次に、自動調整モードにおける時計回路12の調整処理を、図2、図3に示すフロー図を参照して説明する。動作開始で、ステップST1において、時計回路12からのクロック信号の周波数fを検出する。続いて、ステップST2へ移行する。ステップST2においては、周波数fが第1の所定範囲(f1max〜f1min)の範囲内か否かを判定する。この第1の所定範囲は、基準周波数128HZとほぼ等しいと言える範囲である。第1の所定の範囲内であれば、ステップST15へ移行する。ステップST15においては、表示部9に「正常」を表示し、リターンする。
【0020】
ステップST3においては、周波数fが第2の所定範囲(f2max〜f2min)外か否かを判定する。第2の所定範囲外でなければ、コンデンサトリマ12cによる調整が可能であるとして、ステップST17へ移行する。一方、第2の所定範囲外であれば、抵抗トリマ12bから調整に入るものとして、ステップST4へ移行する。ステップST4においては、A/D変換器14の信号をCPU1に取り込む。次に、ステップST5へ移行する。ステップST5においては、A/D変換器14よりの取り込み値に基づいて、環境温度を決定する。続いて、ステップST6へ移行する。 ステップST6においては、環境温度が基準温度より低いか否かを判定する。環境温度が基準温度よりも低い場合は、ステップST7へ移行する。一方、基準温度よりも低くない場合は、ステップST11へ移行する。ステップST7においては、1段階遅らせる値を抵抗トリマ12bのレジスタに書き込む。抵抗トリマ12bには、CPU1よりの指令により、図7の(a)に示す±6段階を記憶するレジスタを有し、ここでは1段階遅らせる値をレジスタに書き込むことにより、抵抗トリマ12bが発振周波数を1段階遅らせる方向に調整される。次に、ステップST8へ移行する。抵抗トリマ12bの調整により、発振周波数が変化するので、ステップST8において、時計回路12の発振周波数fを検出する。続いて、ステップST9へ移行する。ステップST9においては、周波数fが第2の所定範囲内か否か判定する。第2の所定範囲内に入っていれば、やはりコンデンサトリマ12cによる調整に入るため、ステップST17へ移行する。一方、なお第2の所定範囲外であれば、更に、抵抗トリマ12bには調整を行うため、ステップST10へ移行する。ステップST10においては、周波数fが抵抗トリマ12bにて調整可能な調整上限か否か判定する。調整上限であれば、ステップST16へ移行する。ステップST16においては、表示部9に「エラー」を表示し、リターンする。一方、調整上限に達していない場合は、ステップST7へ戻り、更に1段階遅らせる値を抵抗トリマ12bのレジスタに書き込む。その後、ステップST8〜10、ST7の処理を繰り返す。
【0021】
ステップST11においては、環境温度が基準温度より高いために、1段階進める値を抵抗トリマ12bのレジスタに書き込む。次に、ステップST12へ移行する。抵抗トリマ12bの調整により、発振周波数が時間を進める方向に変化するので、ステップST12において、時計回路12の発振周波数fを検出する。続いて、ステップST13へ移行する。ステップST13においては、周波数fが第2の所定範囲内か否か判定する。第2の所定範囲内に入っていれば、コンデンサトリマ12cによる調整に入るため、ステップST17へ移行する。一方、なお第2の所定範囲外であれば、抵抗トリマ12bから調整に入るため、ステップST14へ移行する。ステップST14においては、周波数fが抵抗トリマ12bにて調整可能な調整下限か否か判定する。調整下限であれば、ステップST16へ移行する。ステップST16においては、表示部9に「エラー」を表示し、リターンする。一方、調整下限に達していない場合は、ステップST11へ戻り、更に1段階進める値を抵抗トリマ12bのレジスタに書き込む。その後、ステップST12〜14、ST11の処理を繰り返す。
【0022】
ステップST17においては、時計回路12の周波数fが第2の所定範囲(f2max〜f2min)に入ったので、ここで更に周波数fが128HZに等しいか、128HZよりも大きいか、128HZよりも小さいかを判定する。周波数fが128HZに実質的に等しい場合は、ステップST25へ移行する。ステップST25においては、表示部9に「時計回路較正完了」の表示を行う。そして、リターンする。
【0023】
ステップST17において、時計回路12の発振周波数fが128HZよりも大きい場合、ステップST18へ移行する。一方、周波数fが128HZより小さい場合は、ステップST21へ移行する。ステップST18においては、コンデンサトリマ12cのc調整下限か否かを判定する。コンデンサトリマ12cのc調整が下限に達している場合は、つまり、コンデンサ12cの静電容量を、更に下げ得ない下限となった場合に、ステップST24へ移行する。ステップST24においては、表示部9に「時計回路較正エラー」の表示を行い、リターンする。一方、コンデンサトリマ12cのc調整下限でない場合は、つまり、まだ下のc段階を選択可能な場合は、ステップST19へ移行する。ステップST19においては、1段階遅らせる値をコンデンサトリマ12cのレジスタに書き込む。コンデンサトリマ12cにも、CPU1よりの指令により、図7の(b)に示す±6段階を記憶するレジスタを有し、ここでは1段階遅らせる値をレジスタに書き込むことにより、コンデンサトリマ12cが発振周波数を1段階遅らせる方向に調整する。次に、ステップST20へ移行する。ステップST20においては、時計回路12の周波数fを検出する。そして、ステップST17へ戻る。コンデンサトリマ12cの調整により、周波数fが変化しているので、この周波数fが128HZか、128HZより小さいか、大きいかを再度判定し、ステップST18以降の処理(ST18、ST19、ST20、ST17)を繰り返す。
【0024】
ステップST21においては、コンデンサトリマ12cのc調整上限か否かを判定する。コンデンサトリマ12cのc調整が上限に達している場合は、ステップST24へ移行する。ステップST24においては、表示部9に「時計回路較正エラー」の表示を行い、リターンする。一方、コンデンサトリマ12cのc調整上限でない場合は、ステップST22へ移行する。ステップST22においては、1段階進める値をコンデンサトリマ12cのレジスタに書き込む。次に、ステップST23へ移行する。ステップST23においては、時計回路12の周波数fを検出する。そして、ステップST17へ戻る。コンデンサトリマ12cの調整により、周波数fが変化しているので、この周波数fが128HZか、128HZより小さいか、大きいかを再度判定し、ステップST21以降の処理(ST21、ST22、ST23、ST17)を繰り返す。
【0025】
次に、他の実施形態として、手動調整を行う場合を説明する。操作部8のキー操作により、手動調整モードに設定すると、図4のフロー図に示すように、先ずステップST31において、時計回路12の周波数fを検出する。次に、ステップST32へ移行する。ステップST32において、表示部9に検出された周波数fと目標周波数を表示する。その表示例を図5に示す。ここでは、目標周波数が128HZで、測定周波数が126.5HZである。この表示を見ながら、抵抗トリマ、コンデンサトリマ12cを調整して、測定周波数fを目標周波数に一致させれば較正終了となる。ステップST33において、調整モードが解除となるまで、ステップST31〜33の処理を手動調整とともに実行する。
【0026】
測定周波数の表示は、図5に代えて、図6に示すように、調整周波数に対してのずれを表示しても良い。図6の表示は、検出周波数fが目標周波数に対して1.5HZ高いことを示しており、+1.5HZ低くなるように、手動調整すれば、較正完了となることを示している。
【0027】
【発明の効果】
請求項1に係る発明によれば、時計回路の周波数を検出して自動的に調整するため、工場出荷時の初期調整のみならず、出荷後の調整も容易となる。
【0028】
また、請求項2に係る発明によれば、周波数のずれに応じて調整するトリマを選択するため、短時間で時計回路の周波数を基準値に合わせ込むことができる。
【0029】
また、請求項3に係る発明によれば、環境温度により、周波数を調整する方向を決めるため、やはり短時間で時計回路の周波数を基準値に合わせ込むことができる。
【0030】
また、請求項4に係る発明によれば、時計回路の周波数を検出して表示部に表示するので、表示部を見ながらトリマを手動操作できるので、作業の効率を向上できる。
【図面の簡単な説明】
【図1】この発明の一実施形態複合機の構成を示すブロック図である。
【図2】同実施形態複合機の時計回路の自動調整を説明するフロー図である。
【図3】図2とともに、同実施形態複合機の時計回路の自動調整を説明するフロー図である。
【図4】同複合機の手動調整を説明するためのフロー図である。
【図5】同手動調整時の表示画面例を示す図である。
【図6】同手動調整時の表示画面例の他の例を示す図である。
【図7】抵抗トリマ、コンデンサトリマの各レジスタを説明する図である。
【符号の説明】
1 CPU
2 NCU
3 MODEM
4 ROM
5 RAM
6 画像メモリ
7 スキャナ
8 操作部
9 表示部
10 CODEC
11 プリンタ
12 時計回路
12a 水晶発振子
12b 抵抗トリマ
12c コンデンサトリマ
12d 発振回路部
13 サーミスタ
14 A/D変換器
15 バス
16 公衆電話回線
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a facsimile apparatus including a clock circuit, an electronic apparatus such as a PC, and the like.
[0002]
[Prior art]
Generally, facsimile machines, PCs, and other electronic devices include a clock circuit. This type of clock circuit (real-time clock) divides a signal from a crystal oscillator to generate an operation clock signal. Conventionally, when the temperature changes, the frequency of the crystal oscillator shifts. Therefore, a circuit that switches a capacitor connected to the crystal oscillator according to the temperature and controls the oscillation frequency to be constant (for example, known) is known. And Patent Document 1).
[0003]
[Patent Document 1]
JP-A-11-183622
[Problems to be solved by the invention]
According to the technology described in Patent Document 1 described above, if the rate of the timepiece is properly adjusted at the reference temperature, the oscillation frequency can be adjusted to be constant even if a temperature change occurs. The clock circuit cannot be adjusted correctly if is incorrectly adjusted or is out of alignment.
[0005]
SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and has as its object to provide an electronic device having a clock circuit that can easily perform adjustment itself of the clock circuit or readjustment due to a temperature change after the adjustment. I have.
[0006]
[Means for Solving the Problems]
An electronic device including a clock circuit according to the present invention includes a frequency detection unit that detects a frequency from a clock circuit having a crystal oscillator, a comparison unit that compares the detected frequency with a reference frequency, and a crystal based on a comparison result. It has an adjusting means for adjusting the electronic trimmer connected to the vibrator, and a controlling means for repeating detection, comparison and adjustment of the frequency to control the frequency of the clock circuit to be closer to the reference frequency.
[0007]
In the electronic device having the timepiece circuit according to the present invention, the electronic trimmer can be constituted by an electronic trimmer of a resistor and an electronic trimmer of a capacitor, and when the frequency of the comparison result of the comparing means is large, the electronic trimmer of the resistor is adjusted. If the frequency difference as a result of the comparison is smaller than a predetermined value, it can be adjusted by an electronic trimmer of the capacitor.
[0008]
Further, in the electronic device having the clock circuit according to the present invention, the direction in which the adjusting unit adjusts can be determined based on the detected temperature by further including the temperature detecting unit.
[0009]
Further, an electronic apparatus including a clock circuit according to the present invention includes a clock circuit including a crystal oscillator and a trimmer connected thereto, a unit for detecting a frequency of the clock circuit, and a display corresponding to the detected frequency. And a clock circuit characterized by having a display unit that performs the operation.
[0010]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, the present invention will be described in more detail with reference to embodiments. FIG. 1 shows a configuration of a multifunction peripheral (having multiple functions such as a copy function, a facsimile function, and a reading function) which is an embodiment of an electronic device including a clock circuit according to the present invention.
[0011]
The MFP according to the present embodiment includes a CPU 1, an NCU 2, a MODEM 3, a ROM 4, a RAM 5, an image memory 6, a scanner (image reading unit) 7, an operation unit 8, a display unit 9, a CODEC 10, a printer 11, a clock circuit (RTC: real time clock) 12, a thermistor 13, an A / D converter 14, and a system bus 15.
[0012]
The CPU 1 has a function of controlling the entire MFP according to the embodiment in accordance with a program stored in the ROM 4. The CPU 1 is connected with an NCU (Network Control Unit) 2 and a MODEM 3. The NCU 2 is controlled by the CPU 1 to control a connection between the line 16 and the multifunction peripheral, and has a function of transmitting a dial pulse corresponding to a telephone number of a communication partner and a function of detecting an incoming call. Note that the line 16 is connected to a general public switched telephone network (PSTN).
[0013]
The MODEM 3 modulates transmission data and demodulates reception data, specifically, modulates transmission data, which is a digital signal, into an analog audio signal, and sends the analog audio signal to the line 16 via the NCU 2. Through the NCU 2, the received analog audio signal is demodulated into a digital signal. The ROM 4 stores in advance programs and the like for controlling the operation of the entire MFP. The RAM 5 stores data necessary for control by the CPU 1 and data that need to be temporarily stored during the control operation. The image memory 6 stores the image data read by the scanner 7 or the image data received from the outside via the line 16 and the MODEM 3.
[0014]
The scanner 7 photoelectrically converts and reads a shading plate and a document image. The scanner 7 performs various processes on the image data read by the CCD line image sensor.
[0015]
The operation unit 8 instructs a start key, a mode switching key for switching modes such as a copy mode and a facsimile mode, a numeric keypad for inputting numbers such as a telephone number and a facsimile number, a one-touch key, an abbreviated key, and various other operations. With a key for The display unit 9 displays various information such as a telephone number, a facsimile number, and a remaining amount of toner in the printer, which are input by operating the operation unit 8.
[0016]
The CODEC 10 encodes (encodes) by MH, MR, MMR method or the like in order to transmit the read original data or stored image data, and decodes (decodes) in order to record the received image data. The printer 11 prints original image data, received image data, and the like read for copying.
[0017]
The clock circuit 12 includes a crystal oscillator 12a, a resistor trimmer 12b, a capacitor trimmer 12c, and another circuit 12d. The clock signal generated by the clock circuit 12 is provided to the CPU 1. The resistance value and the capacitance value of the resistance trimmer 12b and the capacitance trimmer 12c are adjusted in increments of, for example, ± 6 in accordance with a command from the CPU 1 (see FIG. 7). The thermistor 13 is a temperature sensor for detecting a temperature, and a voltage corresponding to the temperature detected by the thermistor 13 is taken into the CPU 1 via the A / D converter 14.
[0018]
In the multifunction peripheral of this embodiment, by operating the automatic adjustment key of the operation unit 8, the automatic adjustment mode is set, and the oscillation frequency of the crystal oscillator of the clock circuit 12 can be adjusted.
[0019]
Next, the adjustment process of the clock circuit 12 in the automatic adjustment mode will be described with reference to the flowcharts shown in FIGS. In operation starts, in step ST1, detecting the frequency f T of the clock signal from the clock circuit 12. Subsequently, the process proceeds to step ST2. In step ST2, the determining whether the range frequency f T of the first predetermined range (f 1max ~f 1min). This first predetermined range is a range that can be said to be substantially equal to the reference frequency 128HZ. If it is within the first predetermined range, the process proceeds to step ST15. In step ST15, "normal" is displayed on the display unit 9, and the process returns.
[0020]
In step ST3, the frequency f T is determined whether a second predetermined range (f 2max ~f 2min) outside. If it is not outside the second predetermined range, it is determined that the adjustment by the capacitor trimmer 12c is possible, and the process proceeds to step ST17. On the other hand, if it is outside the second predetermined range, it is determined that the adjustment is started from the resistance trimmer 12b, and the process proceeds to step ST4. In step ST4, a signal from the A / D converter 14 is taken into the CPU 1. Next, the process proceeds to step ST5. In step ST5, the ambient temperature is determined based on the value taken from the A / D converter 14. Subsequently, the process proceeds to step ST6. In step ST6, it is determined whether the environmental temperature is lower than the reference temperature. If the environmental temperature is lower than the reference temperature, the process proceeds to step ST7. On the other hand, if the temperature is not lower than the reference temperature, the process proceeds to step ST11. In step ST7, a value delayed by one step is written to the register of the resistance trimmer 12b. The resistor trimmer 12b has a register for storing ± 6 steps shown in FIG. 7A in response to a command from the CPU 1. Here, a value delayed by one step is written in the register, so that the oscillation frequency of the resistor trimmer 12b is increased. Is adjusted one step later. Next, the process proceeds to step ST8. By adjusting the resistance trimmer 12b, the oscillation frequency varies, in step ST8, detects the oscillation frequency f T of the clock circuit 12. Subsequently, the process proceeds to step ST9. In step ST9, it is determined whether or not the frequency f T is within a second predetermined range. If it is within the second predetermined range, the process shifts to step ST17 to start the adjustment by the capacitor trimmer 12c. On the other hand, if it is still outside the second predetermined range, the process proceeds to step ST10 to further adjust the resistance trimmer 12b. In step ST10, it determines the frequency f T whether adjustable adjustable upper limit in resistance trimmer 12b. If it is the adjustment upper limit, the process proceeds to step ST16. In step ST16, "error" is displayed on the display unit 9, and the process returns. On the other hand, if the adjustment upper limit has not been reached, the process returns to step ST7, and a value delayed by one step is written to the register of the resistance trimmer 12b. Thereafter, the processing of steps ST8 to ST7 and ST7 is repeated.
[0021]
In step ST11, since the environmental temperature is higher than the reference temperature, a value advanced by one step is written to the register of the resistance trimmer 12b. Next, the process proceeds to step ST12. By adjusting the resistance trimmer 12b, since the change in the direction in which the oscillation frequency is advancing the time, in step ST12, it detects the oscillation frequency f T of the clock circuit 12. Subsequently, the process proceeds to step ST13. In step ST13, it determines whether or not the frequency f T is within a second predetermined range. If it is within the second predetermined range, the process proceeds to step ST17 to start the adjustment by the capacitor trimmer 12c. On the other hand, if it is still outside the second predetermined range, the process proceeds to step ST14 to start the adjustment from the resistance trimmer 12b. In step ST14, it determines the frequency f T whether adjustable adjustable lower in resistance trimmer 12b. If it is the lower adjustment limit, the process proceeds to step ST16. In step ST16, "error" is displayed on the display unit 9, and the process returns. On the other hand, if the lower limit of the adjustment has not been reached, the process returns to step ST11, and a value to be advanced by one step is written in the register of the resistance trimmer 12b. Thereafter, the processing of steps ST12 to ST14 and ST11 is repeated.
[0022]
In step ST17, the frequency f T of the clock circuit 12 has entered the second predetermined range (f 2max ~f 2min), wherein further either the frequency f T is equal to 128 Hz, greater than 128 Hz, from 128 Hz Is also smaller. Frequency f T may substantially equal to 128 Hz, the process proceeds to step ST25. In step ST25, the display section 9 displays "clock circuit calibration completed". And it returns.
[0023]
In step ST17, if the oscillation frequency f T of the clock circuit 12 is greater than 128 Hz, the process proceeds to step ST18. On the other hand, the frequency f T may 128HZ smaller, the process proceeds to step ST21. In step ST18, it is determined whether or not the c adjustment lower limit of the capacitor trimmer 12c is reached. When the c adjustment of the capacitor trimmer 12c has reached the lower limit, that is, when the capacitance of the capacitor 12c has reached the lower limit that cannot be further reduced, the process proceeds to step ST24. In step ST24, "clock circuit calibration error" is displayed on the display unit 9, and the routine returns. On the other hand, if it is not the c adjustment lower limit of the capacitor trimmer 12c, that is, if the lower c stage can still be selected, the process proceeds to step ST19. In step ST19, a value delayed by one step is written to the register of the capacitor trimmer 12c. The capacitor trimmer 12c also has a register for storing ± 6 levels shown in FIG. 7B in response to a command from the CPU 1. Here, a value delayed by one level is written in the register, so that the oscillation frequency of the capacitor trimmer 12c is increased. Is adjusted one step later. Next, the process proceeds to step ST20. In step ST20, it detects the frequency f T of the clock circuit 12. Then, the process returns to step ST17. By adjusting the capacitor trimmer 12c, the frequency f T is changing either the frequency f T is 128 Hz or 128 Hz is less than or again determined large, step ST18 and subsequent steps (ST18, ST19, ST20, ST17 )repeat.
[0024]
In step ST21, it is determined whether or not the c adjustment upper limit of the capacitor trimmer 12c is reached. If the c adjustment of the capacitor trimmer 12c has reached the upper limit, the process proceeds to step ST24. In step ST24, "clock circuit calibration error" is displayed on the display unit 9, and the routine returns. On the other hand, if it is not the upper limit of the c adjustment of the capacitor trimmer 12c, the process proceeds to step ST22. In step ST22, a value to be advanced by one step is written in the register of the capacitor trimmer 12c. Next, the process proceeds to step ST23. In step ST23, it detects the frequency f T of the clock circuit 12. Then, the process returns to step ST17. By adjusting the capacitor trimmer 12c, the frequency f T is changing either the frequency f T is 128 Hz or 128 Hz is less than or again determined large, step ST21 and subsequent steps (ST21, ST22, ST23, ST17 )repeat.
[0025]
Next, as another embodiment, a case where manual adjustment is performed will be described. The key operation of the operation unit 8, is set to the manual adjustment mode, as shown in the flow diagram of FIG. 4, first in step ST31, detects the frequency f T of the clock circuit 12. Next, the process proceeds to step ST32. In step ST32, and displays the detected frequency f T and the target frequency to the display unit 9. An example of the display is shown in FIG. Here, the target frequency is 128 HZ and the measurement frequency is 126.5 HZ. While viewing the display, resistive trimmer, by adjusting the capacitor trimmer 12c, the calibration ends if ask the measurement frequency f T is equal to the target frequency. In step ST33, the processes in steps ST31 to ST33 are executed together with the manual adjustment until the adjustment mode is released.
[0026]
Instead of FIG. 5, the display of the measurement frequency may be a deviation from the adjustment frequency as shown in FIG. Viewing Figure 6 shows the detection frequency f T can 1.5 Hz higher than the target frequency, + 1.5 Hz becomes so low, indicates that if manual adjustment, the calibration is complete.
[0027]
【The invention's effect】
According to the invention of claim 1, since the frequency of the clock circuit is detected and automatically adjusted, not only the initial adjustment at the time of factory shipment but also the adjustment after shipping becomes easy.
[0028]
According to the second aspect of the present invention, since the trimmer to be adjusted according to the frequency shift is selected, the frequency of the clock circuit can be adjusted to the reference value in a short time.
[0029]
According to the third aspect of the present invention, since the direction in which the frequency is adjusted is determined based on the environmental temperature, the frequency of the clock circuit can be adjusted to the reference value in a short time.
[0030]
According to the fourth aspect of the present invention, since the frequency of the clock circuit is detected and displayed on the display unit, the trimmer can be manually operated while looking at the display unit, thereby improving the work efficiency.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a configuration of a multifunction peripheral according to an embodiment of the present invention.
FIG. 2 is a flowchart illustrating automatic adjustment of a clock circuit of the MFP according to the embodiment.
FIG. 3 is a flowchart illustrating automatic adjustment of a clock circuit of the multifunction peripheral according to the embodiment, together with FIG. 2;
FIG. 4 is a flowchart for explaining manual adjustment of the multifunction peripheral.
FIG. 5 is a diagram showing an example of a display screen at the time of the manual adjustment.
FIG. 6 is a diagram showing another example of the display screen example at the time of the manual adjustment.
FIG. 7 is a diagram illustrating each resistor of a resistor trimmer and a capacitor trimmer.
[Explanation of symbols]
1 CPU
2 NCU
3 MODEM
4 ROM
5 RAM
6 Image memory 7 Scanner 8 Operation unit 9 Display unit 10 CODEC
11 Printer 12 Clock circuit 12a Crystal oscillator 12b Resistor trimmer 12c Capacitor trimmer 12d Oscillation circuit unit 13 Thermistor 14 A / D converter 15 Bus 16 Public telephone line

Claims (4)

水晶発振子を有する時計回路からの周波数を検出する周波数検出手段と、検出された周波数を基準周波数と比較する比較手段と、比較結果に基づいて水晶振動子に接続される電子トリマを調整する調整手段と、周波数の検出、比較、調整を繰り返し、時計回路の周波数を基準周波数に近づけるよう制御する制御手段とを有することを特徴とする時計回路を備えた電子機器。Frequency detecting means for detecting a frequency from a clock circuit having a crystal oscillator, comparing means for comparing the detected frequency with a reference frequency, and adjustment for adjusting an electronic trimmer connected to the crystal oscillator based on the comparison result And a control means for repeating detection, comparison and adjustment of the frequency to control the frequency of the clock circuit to approach the reference frequency. 前記電子トリマは、抵抗の電子トリマとコンデンサの電子トリマから構成され、比較手段の比較結果の周波数の差が大きい場合には、抵抗の電子トリマを調整し、比較結果の周波数の差が所定値より小さい場合には、コンデンサの電子トリマで調整することを特徴とする請求項1記載の時計回路を備えた電子機器。The electronic trimmer is composed of an electronic trimmer of a resistor and an electronic trimmer of a capacitor. If the frequency difference of the comparison result of the comparing means is large, the electronic trimmer of the resistor is adjusted, and the difference of the frequency of the comparison result becomes a predetermined value. 2. The electronic device provided with a clock circuit according to claim 1, wherein when the value is smaller than the value, the adjustment is performed by an electronic trimmer of a capacitor. 温度検出手段を有し、検出された温度に基づき、前記調整手段が調整する方向を決定することを特徴とする請求項1又は請求項2記載の時計回路を備えた電子機器。3. The electronic apparatus according to claim 1, further comprising a temperature detecting unit, wherein the direction to be adjusted by the adjusting unit is determined based on the detected temperature. 水晶発振子と、それに接続されるトリマからなる時計回路と、この時計回路の周波数を検出する手段と、検出された周波数に応じた表示をする表示部とを有することを特徴とする時計回路を備えた電子機器。A clock circuit comprising: a crystal oscillator, a clock circuit including a trimmer connected to the crystal oscillator, a unit for detecting a frequency of the clock circuit, and a display unit for performing a display according to the detected frequency. Equipped electronic equipment.
JP2003037762A 2003-02-17 2003-02-17 Electronic device equipped with clock circuit Withdrawn JP2004245761A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003037762A JP2004245761A (en) 2003-02-17 2003-02-17 Electronic device equipped with clock circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003037762A JP2004245761A (en) 2003-02-17 2003-02-17 Electronic device equipped with clock circuit

Publications (1)

Publication Number Publication Date
JP2004245761A true JP2004245761A (en) 2004-09-02

Family

ID=33022463

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003037762A Withdrawn JP2004245761A (en) 2003-02-17 2003-02-17 Electronic device equipped with clock circuit

Country Status (1)

Country Link
JP (1) JP2004245761A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102163040A (en) * 2011-01-25 2011-08-24 武汉盛帆电子股份有限公司 Built-in hardware clock module with temperature compensation function
JP2013150344A (en) * 2013-03-19 2013-08-01 Seiko Epson Corp Temperature compensated oscillation circuit, real-time clock device and electronic apparatus
CN109302181A (en) * 2017-07-24 2019-02-01 恩智浦有限公司 Oscillator calibration system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102163040A (en) * 2011-01-25 2011-08-24 武汉盛帆电子股份有限公司 Built-in hardware clock module with temperature compensation function
JP2013150344A (en) * 2013-03-19 2013-08-01 Seiko Epson Corp Temperature compensated oscillation circuit, real-time clock device and electronic apparatus
CN109302181A (en) * 2017-07-24 2019-02-01 恩智浦有限公司 Oscillator calibration system
CN109302181B (en) * 2017-07-24 2023-09-01 恩智浦有限公司 Oscillator Calibration System

Similar Documents

Publication Publication Date Title
JP2004245761A (en) Electronic device equipped with clock circuit
JP2007194857A (en) Image forming system, image reading apparatus and control device
US20090122331A1 (en) Facsimile machine
JP2003348301A (en) Image reading apparatus
JP2003240883A (en) Electronic apparatus having clock circuit
JP5953295B2 (en) Facsimile machine
JP2009100291A (en) Facsimile equipment
JP7426313B2 (en) Facsimile device, facsimile system, control program and control method
JP2003348276A (en) Facsimile machine
JP3918783B2 (en) Image forming apparatus
US20200382676A1 (en) Communication apparatus, method of controlling communication apparatus, and recording medium
JP2599321B2 (en) Facsimile machine
JP6111359B2 (en) Facsimile device
KR100217740B1 (en) Method for automatically controlling data transmission velocity in facsimile
JP2006244232A (en) Image forming apparatus
JP2003264677A (en) Image reader
JP2005303538A (en) Image reading apparatus
JP2003046699A (en) Reader, image forming device, control method of reader and control method of image forming device
JP2004140566A (en) Adjustment method of image reading apparatus
JPH11202064A (en) Communication terminal device
JP2003101699A (en) Image processing apparatus
JP2015115790A5 (en)
JP3603817B2 (en) Image forming device
JP2005142988A (en) Image processing apparatus
JP4244047B2 (en) Communication terminal device

Legal Events

Date Code Title Description
A621 Written request for application examination

Effective date: 20051219

Free format text: JAPANESE INTERMEDIATE CODE: A621

A761 Written withdrawal of application

Effective date: 20081010

Free format text: JAPANESE INTERMEDIATE CODE: A761