JPH07283844A - Waveform control circuit - Google Patents

Waveform control circuit

Info

Publication number
JPH07283844A
JPH07283844A JP6069576A JP6957694A JPH07283844A JP H07283844 A JPH07283844 A JP H07283844A JP 6069576 A JP6069576 A JP 6069576A JP 6957694 A JP6957694 A JP 6957694A JP H07283844 A JPH07283844 A JP H07283844A
Authority
JP
Japan
Prior art keywords
sine wave
signal
output
frequency
flip
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.)
Granted
Application number
JP6069576A
Other languages
Japanese (ja)
Other versions
JP3108271B2 (en
Inventor
Isao Takahashi
高橋  功
Yoshimasa Arai
好将 新井
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 JP06069576A priority Critical patent/JP3108271B2/en
Publication of JPH07283844A publication Critical patent/JPH07283844A/en
Application granted granted Critical
Publication of JP3108271B2 publication Critical patent/JP3108271B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To provide a waveform control circuit capable of making a voltage level formed by connecting each of sine waves of plural periods sent from a slave set of a telephone set to a master set as a radio signal into the level where the master set measures the period of the sine waves accurately. CONSTITUTION:An output of a single flip-flop in which each sine wave changes at a specific level in each output from a shift register means 9 is given to an interrupt generating circuit 11. Thus, every time each sine wave reaches a specific level after lapse of one period, the interrupt generating circuit 11 detects an output change of the flip-flop to generate an interrupt signal and a CPU 7 detects the interrupt signal to generate a control signal CTL 2 varying a frequency of a clock signal CK. Thus, the frequency of the clock signal CK applied to the shift register means 9 is varied at a specific level of the sine wave. That is, each of sine waves outputted serially becomes a consecutive waveform connected at the specific level.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、波形制御回路に関し、
特に、電話器の子機から親機へ、ダイヤル情報(正弦波
に近似した周波数が異なる階段波を1周期づつ組合せた
情報)を無線伝送するのに好適な波形制御回路に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a waveform control circuit,
In particular, the present invention relates to a waveform control circuit suitable for wirelessly transmitting dial information (information in which staircase waves having different frequencies approximate to a sine wave are combined for each cycle) from a child device of a telephone to a parent device.

【0002】[0002]

【従来の技術】現在、各家庭で使用される電話器は、親
機と子機とを組合せたコードレスタイプが主流となりつ
つある。ここで、親機は、電話回線を介して電話局の交
換機側と接続されたものである。親機を使って外線通話
する場合には、親機自体に設けた電話番号を伝送する為
のテンキー(0〜9)を操作し、テンキーに応じたDT
MF波(周波数が異なる2種類の正弦波の合成波)を電
話回線を介して交換機側に伝送するだけで良い。する
と、交換機側は、前記DTMF波を解読し、前記親機か
ら伝送された電話番号を判別する様になっている。これ
より、前記親機の使用者は、希望する相手先と通話でき
ることになる。
2. Description of the Related Art At present, as a telephone used in each home, a cordless type in which a base unit and a handset are combined is becoming mainstream. Here, the master unit is connected to the exchange side of the central office via a telephone line. When making an outside line call using the master unit, operate the numeric keypad (0-9) for transmitting the telephone number provided on the master unit itself, and perform DT corresponding to the numeric keypad.
It is only necessary to transmit the MF wave (combined wave of two types of sine waves having different frequencies) to the exchange side via the telephone line. Then, the exchange side decodes the DTMF wave and determines the telephone number transmitted from the master unit. As a result, the user of the base unit can talk to the desired destination.

【0003】一方、子機は、親機と信号線では結合され
ていない。従って、子機を使用して外線通話を行う場
合、子機のテンキー操作情報を親機に一旦無線伝送しな
ければならない。すると、親機は子機のテンキー操作情
報を解読し、その後は上記動作と同様にして親機から交
換機側へDTMF波を伝送することにより、外線通話が
可能となる。
On the other hand, the slave unit is not connected to the master unit via a signal line. Therefore, when an external line call is performed using the slave, the ten-key operation information of the slave must first be wirelessly transmitted to the master. Then, the master unit decodes the ten-key operation information of the slave unit, and thereafter transmits the DTMF wave from the master unit to the exchange side in the same manner as the above operation, thereby enabling an outside call.

【0004】さて、子機から親機へテンキー操作情報を
無線伝送する場合、テンキー操作情報は、一般に、4ビ
ットのデジタルデータで区分される。具体的には、テン
キーの「0」〜「9」はデジタルデータの「0000」
〜「1001」に相当する。更に、デジタルデータの
「0」は周波数f1を有する正弦波、デジタルデータの
「1」は周波数f2(=2f1)を有する正弦波に対応
させる。これより、テンキー操作情報は、周波数f1又
はf2の正弦波を、テンキーの種類に応じて4周期分だ
けシリアルに接続した情報となる。例えば、テンキー
「9」を操作した場合、周波数f2の正弦波、周波数f
1の正弦波、周波数f1の正弦波、及び、周波数f2の
正弦波を順次接続した正弦波が、子機から親機へ無線伝
送される。
When transmitting the numeric keypad operation information from the slave unit to the master unit by radio, the numeric keypad operation information is generally divided into 4-bit digital data. Specifically, the numeric keys “0” to “9” are digital data “0000”.
Is equivalent to "1001". Furthermore, "0" of digital data corresponds to a sine wave having a frequency f1, and "1" of digital data corresponds to a sine wave having a frequency f2 (= 2f1). As a result, the ten-key operation information is information in which the sine wave of the frequency f1 or f2 is serially connected for four cycles depending on the type of ten-key. For example, when the numeric keypad “9” is operated, a sine wave of frequency f2 and a frequency f
A sine wave having a frequency of 1 and a sine wave having a frequency of f1 and a sine wave having a frequency of f2 are sequentially connected and wirelessly transmitted from the child device to the parent device.

【0005】図3は、上記連続する正弦波を発生する為
の従来の波形制御回路を示す図である。図3において、
(1−1)〜(1−16)は、一端が共通接続された1
6本の抵抗である。(2)はクロック発生器であり、発
振信号OSCをマイクロコンピュータ等からの指示に従
って所定分周したクロック信号CKを発生するものであ
る。例えば、該クロック発生器(2)は、複数のTフリ
ップフロップ(図示せず)をカスケード接続すると共
に、該複数のTフリップフロップの接続段数を前記指示
に応じて切り換えられる様に構成されている。従って、
該クロック発生器(2)からは周波数が異なるクロック
信号CKを発生できる。(3−1)〜(3−16)は、
前段のQ(出力)端子が後段のD(データ)端子とカス
ケード接続されたDフリップフロップであり、R(リセ
ット)端子はリセット信号RSTの発生源と接続され、
C(クロック)端子はクロック発生器(2)の出力と接
続されている。更に、終段のDフリップフロップ(2−
16)のQ端子はインバータ(4)を介して初段のDフ
リップフロップ(2−1)のD端子と接続されている。
即ち、Dフリップフロップ(3−1)〜(3−16)は
シフトデータを循環する構成になっている。また、Dフ
リップフロップ(3−1)〜(3−16)の各Q端子
は、各々インバータ(5−1)〜(5−16)を介して
抵抗(1−1)〜(1−16)の他端と接続されてい
る。以上の構成によれば、抵抗(1−1)〜(1−1
6)の共通接続点から正弦波を出力できるが、この正弦
波は階段波を近似させて形成されるものである。
FIG. 3 is a diagram showing a conventional waveform control circuit for generating the continuous sine wave. In FIG.
(1-1) to (1-16) are commonly connected at one end.
There are 6 resistors. Reference numeral (2) is a clock generator, which generates a clock signal CK by dividing the oscillation signal OSC by a predetermined frequency in accordance with an instruction from a microcomputer or the like. For example, the clock generator (2) is configured such that a plurality of T flip-flops (not shown) are cascade-connected and the number of connection stages of the plurality of T flip-flops can be switched according to the instruction. . Therefore,
The clock generator (2) can generate clock signals CK having different frequencies. (3-1) to (3-16) are
The Q (output) terminal at the front stage is a D flip-flop cascade-connected to the D (data) terminal at the rear stage, and the R (reset) terminal is connected to the source of the reset signal RST,
The C (clock) terminal is connected to the output of the clock generator (2). Furthermore, the final stage D flip-flop (2-
The Q terminal of 16) is connected to the D terminal of the first stage D flip-flop (2-1) via the inverter (4).
That is, the D flip-flops (3-1) to (3-16) are configured to circulate the shift data. The Q terminals of the D flip-flops (3-1) to (3-16) are connected to the resistors (1-1) to (1-16) via the inverters (5-1) to (5-16). Is connected to the other end of. According to the above configuration, the resistances (1-1) to (1-1)
Although a sine wave can be output from the common connection point of 6), this sine wave is formed by approximating a staircase wave.

【0006】以下、図3の動作を図4の波形図を用いて
説明する。尚、図4は、正弦波に相当する階段波を示す
ものであり、説明の都合上、前記階段波の変化レベルは
一定としてある。初めに、時刻t0において、Dフリッ
プフロップ(3−1)〜(3−16)がリセットされる
と、インバータ(5−1)〜(5−16)の出力が全て
ハイレベルになる為、図4に示す様に、抵抗(1−1)
〜(1−16)の共通接続点には最大電圧Vddが発生す
ることになる。その後、時刻t1において、クロック信
号CKが立上ると、Dフリップフロップ(3−1)〜
(3−15)のQ端子のデータが後段のDフリップフロ
ップ(3−2)〜(3−16)のD端子に印加されると
共に終段のDフリップフロップ(3−16)のQ端子の
データがインバータ(4)を介して初段のDフリップフ
ロップ(3−1)のD端子に帰還される。これより、イ
ンバータ(5−1)の出力がローレベルになる他は残り
のインバータ(5−2)〜(5−16)の出力が全てハ
イレベルとなり、抵抗(1−1)〜(1−16)の共通
接続点から一段低い電圧を発生できる。以上より、Dフ
リップフロップ(3−1)〜(3−16)がクロック信
号CKの立上りに基づくシフト動作を32回繰り返すこ
とにより、Dフリップフロップ(3−1)〜(3−1
6)の16ビット出力データが時刻t0の階段波レベル
を与える状態まで一巡し、1周期分の階段波を発生でき
る。尚、抵抗(1−1)〜(1−16)の値は、図4の
階段波が正弦波に近似する値に選択されている。特に、
抵抗(1−1)(1−16)の値、抵抗(1−2)(1
−15)の値、抵抗(1−3)(1−14)、・・・・
抵抗(1−8)(1−9)の値は各々等しく設定されて
いる。
The operation of FIG. 3 will be described below with reference to the waveform chart of FIG. Note that FIG. 4 shows a staircase wave corresponding to a sine wave, and for convenience of explanation, the change level of the staircase wave is constant. First, when the D flip-flops (3-1) to (3-16) are reset at time t0, the outputs of the inverters (5-1) to (5-16) all become high level. As shown in 4, resistance (1-1)
The maximum voltage Vdd is generated at the common connection point of (1-16). Then, at time t1, when the clock signal CK rises, the D flip-flops (3-1) to (3-1)
The data of the Q terminal of (3-15) is applied to the D terminals of the subsequent D flip-flops (3-2) to (3-16) and the data of the Q terminal of the final D flip-flop (3-16) is applied. The data is fed back to the D terminal of the first stage D flip-flop (3-1) via the inverter (4). From this, all the outputs of the remaining inverters (5-2) to (5-16) become high level except that the output of the inverter (5-1) becomes low level, and the resistors (1-1) to (1-). It is possible to generate a lower voltage from the common connection point of 16). As described above, the D flip-flops (3-1) to (3-16) repeat the shift operation based on the rising edge of the clock signal CK 32 times, whereby the D flip-flops (3-1) to (3-1).
The 16-bit output data of 6) makes one round until the state gives the staircase wave level at time t0, and a staircase wave for one cycle can be generated. The values of the resistors (1-1) to (1-16) are selected so that the staircase wave in FIG. 4 approximates a sine wave. In particular,
Value of resistance (1-1) (1-16), resistance (1-2) (1
-15) value, resistance (1-3) (1-14), ...
The values of the resistors (1-8) and (1-9) are set equal to each other.

【0007】従って、マイクロコンピュータ等の指示に
より、クロック発生器(2)から得られるクロック信号
CKの周波数を制御し、正弦波に近似した周波数が異な
る階段波を1周期づつ組合せたシリアル波形を発生でき
る様にしていた。これにより、親機は子機のテンキー操
作情報を認識していた。
Therefore, the frequency of the clock signal CK obtained from the clock generator (2) is controlled by the instruction of the microcomputer or the like to generate a serial waveform in which one cycle of step waves having different frequencies approximate to a sine wave are combined. I was able to do it. As a result, the parent machine recognizes the ten-key operation information of the child machine.

【0008】[0008]

【発明が解決しようとする課題】ここで、正弦波に近似
した周波数が異なる階段波(以下、正弦波と言う)を、
1周期づつ組合せてシリアルに発生させる場合、親機が
各階段波の周波数を確実に認識できる様に、本来は、各
正弦波を同一電圧レベル毎につなぎ合わせる事が望まし
い。例えば、各正弦波の1周期を中点電圧Vddから始め
て該中点電圧Vddで終了する様にし、且つ、各正弦波を
中点電圧Vddで接続すればよい。
Here, a staircase wave (hereinafter referred to as a sine wave) different in frequency approximate to a sine wave is
In the case of serially generating one cycle by combining the cycles, it is originally desirable to connect the sine waves at the same voltage level so that the master unit can surely recognize the frequencies of the staircase waves. For example, one cycle of each sine wave may be started from the midpoint voltage Vdd and ended at the midpoint voltage Vdd, and each sine wave may be connected with the midpoint voltage Vdd.

【0009】一般に、親機は、子機から送信されて来る
正弦波情報を、Vdd/2のスレッショルド電圧を有する
インバータに取り込み、該インバータのローレベルから
ハイレベルへの出力変化を基に中点電圧Vdd/2を検出
し、この時点から前記インバータの出力が再びローレベ
ルからハイレベルに変化する迄の時間を計数する。この
計数内容は、周波数f1及びf2の正弦波の1周期を表
すことになる。そこで、周波数f1又はf2の正弦波の
1周期を各々、T1,T2(>T1)とすると、T1<
t<T2の関係にある時間tを表す計数内容を予め準備
しておく。そして、実際に計数した計数内容と準備され
た計数内容とを比較し、実際の計数内容が準備された計
数内容より小さい時、周波数f1の正弦波であると判断
し、また、実際の計数内容が準備された計数内容より大
きい時、周波数f2の正弦波であると判断している。
Generally, the master unit takes in the sine wave information transmitted from the slave unit to an inverter having a threshold voltage of Vdd / 2, and based on the output change from the low level to the high level of the inverter, the center point is set. The voltage Vdd / 2 is detected, and the time from this time until the output of the inverter changes from low level to high level again is counted. This counting content represents one cycle of the sine wave having the frequencies f1 and f2. Therefore, assuming that one cycle of a sine wave of frequency f1 or f2 is T1 and T2 (> T1), respectively, T1 <
The count content representing the time t having the relationship of t <T2 is prepared in advance. Then, the count content actually counted is compared with the prepared count content, and when the actual count content is smaller than the prepared count content, it is determined that it is a sine wave of the frequency f1, and the actual count content is Is larger than the prepared count content, it is determined to be a sine wave of frequency f2.

【0010】しかしながら、正弦波の周波数の可変を指
示するマイクロコンピュータは、正弦波が或る時刻にお
いて如何なる電圧レベルにあるのかを検出する手段を有
していない。即ち、1周期単位の各正弦波をつなぎ合わ
せる電圧は中点電圧Vdd/2に必ず定まるものではな
い。これより、中点電圧Vdd/2以外の電圧レベルで各
正弦波がつなぎ合わされている場合に、親機が中点電圧
Vdd/2を基準にこの正弦波の周期を測定しても、周波
数f1(又はf2)の正弦波の途中から次に続く周波数
f1(又はf2)の正弦波の途中までの時間を計数して
しまうことになり、従って、周波数f1又はf2の正弦
波の正しい1周期を計数できない問題があった。よっ
て、親機は各正弦波の周期を正しく検出できず、子機の
テンキー操作情報を正しく交換機側へ伝達できない問題
があった。
However, the microcomputer instructing to change the frequency of the sine wave has no means for detecting what voltage level the sine wave is at a certain time. That is, the voltage for connecting the sine waves of one cycle unit is not always set to the midpoint voltage Vdd / 2. As a result, when the sine waves are connected at voltage levels other than the midpoint voltage Vdd / 2, even if the master unit measures the cycle of this sine wave with the midpoint voltage Vdd / 2 as the reference, the frequency f1 The time from the midpoint of the sine wave of (or f2) to the midpoint of the sine wave of the next frequency f1 (or f2) is counted, and therefore, one correct cycle of the sine wave of the frequency f1 or f2 is determined. There was a problem that could not be counted. Therefore, there is a problem that the master unit cannot correctly detect the cycle of each sine wave and the ten-key operation information of the slave unit cannot be correctly transmitted to the exchange side.

【0011】そこで、本発明は、電話器の子機から親機
へ無線伝送される複数周期の各正弦波をつなぎ合わせる
電圧レベルを、親機が正確に正弦波の周期測定を行うこ
とのできるレベルとできる波形制御回路を提供すること
を目的とする。
Therefore, according to the present invention, the master unit can accurately measure the cycle of the sine wave with respect to the voltage level at which the sine waves of a plurality of cycles are wirelessly transmitted from the slave unit of the telephone to the master unit. An object of the present invention is to provide a waveform control circuit capable of controlling the level.

【0012】[0012]

【課題を解決するための手段】本発明は、前記問題点を
解決する為に成されたものであり、その特徴とするとこ
ろは、発振信号を基にクロック信号を発生するクロック
発生手段と、終段の出力を初段の入力に帰還する様に複
数のフリップフロップを直列接続して成り、前記クロッ
ク信号に同期してデータを循環するシフトレジスタ手段
と、一端を前記シフトレジスタ手段の各出力と接続する
と共に他端を共通接続して成り、共通接続点から前記シ
フトレジスタ手段の内容の変化に応じて正弦波電圧を発
生するラダー抵抗手段と、前記シフトレジスタ手段の所
定出力の変化を検出し、前記クロック信号の周波数を可
変する為の割込信号を発生する割込発生手段と、前記割
込信号を検出し、前記クロック信号の周波数を可変する
制御信号を発生する制御手段と、を備えた点である。
The present invention has been made to solve the above-mentioned problems, and is characterized by a clock generating means for generating a clock signal based on an oscillation signal, Shift register means, which is formed by connecting a plurality of flip-flops in series so as to feed back the output of the final stage to the input of the first stage, circulates data in synchronization with the clock signal, and one end of each of the outputs of the shift register means And a common connection at the other end, which detects a change in the predetermined output of the ladder resistor means for generating a sine wave voltage according to the change in the contents of the shift register means from the common connection point and the predetermined output of the shift register means. An interrupt generating means for generating an interrupt signal for changing the frequency of the clock signal, and a control signal for detecting the interrupt signal and changing the frequency of the clock signal In that with the control means.

【0013】[0013]

【作用】本発明によれば、シフトレジスタ手段を構成す
る複数のフリップフロップ手段の各出力の中で、各正弦
波が特定レベルとなる位置で変化する単一フリップフロ
ップ出力を割込発生手段と接続する。これにより、各正
弦波が1周期を経過して特定レベルとなる毎に、割込発
生手段が前記フリップフロップの出力変化を検出して割
込信号を発生し、その後、制御手段が前記割込信号を検
出してクロック信号の周波数を可変する為の制御信号を
発生する。従って、シフトレジスタ手段に印加されるク
ロック信号の周波数が正弦波の特定レベルで可変され
る。即ち、シリアル出力される各正弦波は特定レベルで
つなぎ合わされた連続波形となる。
According to the present invention, among the outputs of the plurality of flip-flop means constituting the shift register means, the single flip-flop output which changes at the position where each sine wave has a specific level is used as the interrupt generation means. Connecting. As a result, each time each sine wave reaches a specific level after one cycle, the interrupt generation means detects an output change of the flip-flop and generates an interrupt signal, and then the control means generates the interrupt signal. A signal is detected and a control signal for varying the frequency of the clock signal is generated. Therefore, the frequency of the clock signal applied to the shift register means is varied at a specific level of the sine wave. That is, each sine wave that is serially output is a continuous waveform that is connected at a specific level.

【0014】[0014]

【実施例】本発明の詳細を図面に従って具体的に説明す
る。図1は本発明の波形制御回路を示す図である。尚、
図1はマイクロコンピュータを構成するチップ上に設け
られており、該マイクロコンピュータは電話器の子機側
に内蔵されているものとする。
The details of the present invention will be described in detail with reference to the drawings. FIG. 1 is a diagram showing a waveform control circuit of the present invention. still,
FIG. 1 is provided on a chip that constitutes a microcomputer, and the microcomputer is assumed to be built in the handset side of the telephone.

【0015】図1において、(6)はクロック発生器で
あり、発振信号OSCを所定分周し、前記マイクロコン
ピュータ内部の各部構成を動作させる為のクロック信号
を発生するものである。尚、該クロック発生器(6)
は、複数のTフリップフロップをカスケード接続すると
共に該Tフリップフロップの接続段数をCPUからの指
示に応じて切り換えられる様になっている。(7)はC
PUであり、前記マイクロコンピュータ内部の各部構成
を動作制御するものである。(8)はANDゲートであ
り、一方の入力にCPU(7)から出力される開閉制御
信号CTL1が印加され、他方の入力にクロック発生器
(6)から出力されるクロック信号CKが印加される。
即ち、ANDゲート(8)は、正弦波波形を出力する指
示に基づいて開閉制御信号CTL1がハイレベルになっ
ている時にクロック信号CKを出力させる。(9)は1
6個のDフリップフロップのデータ入出力線をカスケー
ド接続したシフトレジスタであり、終段のDフリップフ
ロップの反転出力(*Q)は初段のDフリップフロップ
のデータ入力(D)と接続されている。また、16個の
DフリップフロップのC端子にはANDゲート(8)か
ら出力されるクロック信号CKが印加され、R端子には
リセット信号RSTが印加される。即ち、16個のDフ
リップフロップは、リセットされた後、クロック信号C
Kの立上りに同期してデータのシフト動作を行う。(1
0)は16本の抵抗から成るラダー抵抗網であり、各抵
抗の一端は共通接続され、他端側は16個のDフリップ
フロップの各Q端子と接続されている。
In FIG. 1, reference numeral (6) is a clock generator which divides the oscillation signal OSC by a predetermined frequency to generate a clock signal for operating the components inside the microcomputer. The clock generator (6)
Is configured such that a plurality of T flip-flops are cascade-connected and the number of connection stages of the T flip-flops can be switched according to an instruction from the CPU. (7) is C
The PU is for controlling the operation of each component inside the microcomputer. Reference numeral (8) is an AND gate, and the opening / closing control signal CTL1 output from the CPU (7) is applied to one input, and the clock signal CK output from the clock generator (6) is applied to the other input. .
That is, the AND gate (8) outputs the clock signal CK when the opening / closing control signal CTL1 is at the high level based on the instruction to output the sine wave waveform. (9) is 1
This is a shift register in which data input / output lines of six D flip-flops are cascade-connected, and the inverted output (* Q) of the final D flip-flop is connected to the data input (D) of the first D flip-flop. . The clock signal CK output from the AND gate (8) is applied to the C terminals of the 16 D flip-flops, and the reset signal RST is applied to the R terminals. That is, the 16 D flip-flops are reset by the clock signal C
The data shift operation is performed in synchronization with the rise of K. (1
0) is a ladder resistor network composed of 16 resistors, one end of each resistor is commonly connected, and the other end side is connected to each Q terminal of 16 D flip-flops.

【0016】図2は、図1に示したシフトレジスタ
(9)及びラダー抵抗網(10)の詳細を示す図であ
る。尚、図2は図3と同一構成であるので、同一符号を
付すと共に同一部分についての説明は省略する。ところ
で、本実施例においては、子機から親機へ伝送すべき4
周期分の各正弦波(テンキー操作情報)は、中点電圧V
dd/2を境に接続され連続させるものとする。また、図
4において、リセット後に階段波がVdd/2となるの
は、Dフリップフロップ(3−1)〜(3−16)がク
ロック信号CKを基に8回のシフト動作を行った時であ
る。つまり、Dフリップフロップ(3−8)の出力がロ
ーレベルからハイレベルに立上った時である。そこで、
このDフリップフロップ(3−8)の出力Q8の立上り
変化を検出する為に、Dフリップフロップ(3−8)の
出力Q8を後述する割込発生回路と接続している。
FIG. 2 is a diagram showing details of the shift register (9) and the ladder resistor network (10) shown in FIG. Since FIG. 2 has the same configuration as FIG. 3, the same reference numerals are given and the description of the same portions is omitted. By the way, in the present embodiment, 4 to be transmitted from the child device to the parent device.
Each sine wave (numerical key operation information) for a period is the midpoint voltage V
It shall be connected with dd / 2 as the boundary and be continuous. Further, in FIG. 4, the staircase becomes Vdd / 2 after resetting when the D flip-flops (3-1) to (3-16) perform eight shift operations based on the clock signal CK. is there. That is, it is when the output of the D flip-flop (3-8) rises from the low level to the high level. Therefore,
In order to detect the rising change of the output Q8 of the D flip-flop (3-8), the output Q8 of the D flip-flop (3-8) is connected to the interrupt generating circuit described later.

【0017】図1に戻り、(11)は割込発生回路であ
り、Dフリップフロップ(3−8)の出力の立上り変化
を検出し、即ち、各正弦波がVdd側から中点電圧Vdd/
2となった状態を検出し、次につなぎ合わせられる正弦
波を発生する為の割込信号を発生するものである。(1
2)はROMであり、マイクロコンピュータを通常動作
させる為のメインプログラムが記憶された領域と、この
他に、子機のテンキーが操作された時にジャンプするサ
ブルーチンプログラムが記憶された領域とを有してい
る。(13)はRAMであり、CPU(7)の演算処理
結果の書き込み読み出しを行ったり、ROM(12)の
プログラム命令に応じて、子機のテンキー操作に応じた
4ビット情報を書き込んだりするものである。
Returning to FIG. 1, reference numeral (11) is an interrupt generating circuit, which detects a rising change in the output of the D flip-flop (3-8), that is, each sine wave from the Vdd side to the midpoint voltage Vdd /
When the state becomes 2, the interrupt signal for generating a sine wave to be connected next is generated. (1
Reference numeral 2) is a ROM, which has an area in which a main program for normally operating the microcomputer is stored and an area in which a subroutine program that jumps when the ten keys of the slave unit are operated is stored. ing. (13) is a RAM, which writes / reads the arithmetic processing result of the CPU (7) and writes 4-bit information corresponding to the ten-key operation of the slave unit according to the program instruction of the ROM (12). Is.

【0018】以下、図1の動作の一例を説明する。つま
り、子機を使って外線通話を行う場合を考える。この場
合、従来の技術の項で述べた様に、子機から親機へ、テ
ンキーに対応した4周期分の正弦波をシリアル転送しな
ければならない。例えば、テンキーの「6」番を操作す
ると、この「6」番を操作した事がCPU(7)で検出
され、ROM(12)はメインプログラムの処理を中断
してサブルーチンプログラムへジャンプする。そして、
ROM(12)のプログラム命令により、「6」番に相
当する4ビットデータ「0110」がCPU(7)の内
部レジスタからデータバス(14)を介してRAM(1
3)の特定アドレスに書き込まれ、また、シフトレジス
タ(9)がリセットされ、開閉制御信号CTL1がハイ
レベルとなる。
An example of the operation of FIG. 1 will be described below. In other words, consider a case where an outside line call is made using a child device. In this case, as described in the section of the prior art, it is necessary to serially transfer four cycles of the sine wave corresponding to the numeric keypad from the slave unit to the master unit. For example, when the number "6" of the numeric keypad is operated, the operation of the number "6" is detected by the CPU (7), and the ROM (12) interrupts the processing of the main program and jumps to the subroutine program. And
According to the program instruction of the ROM (12), 4-bit data "0110" corresponding to "6" is transferred from the internal register of the CPU (7) to the RAM (1
3) is written to the specific address, the shift register (9) is reset, and the open / close control signal CTL1 becomes high level.

【0019】次に、ROM(12)のプログラム命令に
より、RAM(13)の特定アドレスに書き込まれた4
ビットデータの最下位ビット「0」がCPU(7)に取
り込まれ、この結果、CPU(7)からクロック信号C
Kをデータ「0」に対応する周波数(例えば200H
z)とするクロック制御信号CTL2が発生する。これ
より、200Hzのクロック信号CKがシフトレジスタ
(9)のC端子に印加され、図4に示す階段波を正弦波
に近似した階段波がラダー抵抗網(10)から出力され
ることになるが、時刻t2におけるDフリップフロップ
(3−8)の最初の立上り変化で割込信号が発生して
も、該割込信号をCPU(7)が受け付けない様にプロ
グラムが組まれている。つまり、時刻t2からデータ
「0」に対応する200Hzの周波数の正弦波を開始す
る訳である。そして、正弦波が時刻t3に至る迄は、R
OM(12)はメインプログラムにリターンする。
Next, by the program command of the ROM (12), 4 written in a specific address of the RAM (13).
The least significant bit "0" of the bit data is taken into the CPU (7), and as a result, the clock signal C is output from the CPU (7).
K is the frequency corresponding to the data “0” (for example, 200H
z), the clock control signal CTL2 is generated. As a result, a 200 Hz clock signal CK is applied to the C terminal of the shift register (9), and a staircase wave that approximates the staircase wave shown in FIG. 4 to a sine wave is output from the ladder resistor network (10). Even if an interrupt signal is generated at the first rising change of the D flip-flop (3-8) at time t2, the CPU (7) is programmed not to accept the interrupt signal. That is, a sine wave having a frequency of 200 Hz corresponding to the data “0” is started from time t2. Then, until the sine wave reaches time t3, R
The OM (12) returns to the main program.

【0020】次に、時刻t3になって、Dフリップフロ
ップ(3−8)の出力が立上ると、割込発生回路(1
1)から割込信号が発生し、この割込信号がCPU
(7)で検出され、ROM(12)はメインプログラム
処理を中断して再びサブルーチンプログラムへジャンプ
する。そして、ROM(12)のプログラム命令によ
り、RAM(13)の特定アドレスに書き込まれた前記
4ビットデータの下位2ビット目「1」がCPU(7)
に取り込まれ、この結果、CPU(7)からクロックC
Kをデータ「1」に対応する周波数(例えば400H
z)とするクロック制御信号CTL2が発生する。これ
より、400Hzのクロック信号CKがシフトレジスタ
(9)のC端子に印加され、時刻t3から、時刻t2か
らt3までの周波数の正弦波に対して2倍の周波数を有
する正弦波が発生する。尚、ROM(12)は、Dフリ
ップフロップ(3−8)の出力が再び立上るまで、メイ
ンプログラムにリターンする。
Next, at time t3, when the output of the D flip-flop (3-8) rises, the interrupt generation circuit (1
An interrupt signal is generated from 1), and this interrupt signal is sent to the CPU.
Detected in (7), the ROM (12) interrupts the main program processing and jumps again to the subroutine program. Then, by the program instruction of the ROM (12), the lower second bit "1" of the 4-bit data written in the specific address of the RAM (13) is the CPU (7).
Is taken into the clock C, and as a result, the clock C from the CPU (7)
K is the frequency corresponding to the data "1" (for example, 400H
z), the clock control signal CTL2 is generated. As a result, the clock signal CK of 400 Hz is applied to the C terminal of the shift register (9), and a sine wave having a frequency twice that of the sine wave having the frequency from the time t2 to the time t3 is generated from the time t3. The ROM (12) returns to the main program until the output of the D flip-flop (3-8) rises again.

【0021】次に、Dフリップフロップ(3−8)の出
力が再び立上ると、割込発生回路(11)から割込信号
が発生し、この割込信号がCPU(7)で検出され、R
OM(12)はメインプログラムを中断して再びサブル
ーチンプログラムへジャンプする。そして、ROM(1
2)のプログラム命令により、RAM(13)の特定ア
ドレスに書き込まれた前記4ビットデータの下位3ビッ
ト目「1」がCPU(7)に取り込まれ、この結果、C
PU(7)からクロック信号CKをデータ「1」に対応
する400Hzの周波数とするクロック制御信号CTL
2が継続して発生する。これより、400Hzのクロッ
ク信号CKがシフトレジスタ(9)のC端子に印加さ
れ、直前の正弦波と同じ2倍の周波数を有する正弦波が
発生する。尚、ROM(12)は、Dフリップフロップ
(3−8)の出力が再び立上るまで、再びメインプログ
ラムにリターンする。
Next, when the output of the D flip-flop (3-8) rises again, an interrupt signal is generated from the interrupt generation circuit (11), and this interrupt signal is detected by the CPU (7), R
The OM (12) interrupts the main program and jumps again to the subroutine program. And ROM (1
By the program instruction of 2), the lower 3rd bit "1" of the 4-bit data written in the specific address of the RAM (13) is taken into the CPU (7), and as a result, C
A clock control signal CTL from the PU (7) that sets the clock signal CK to a frequency of 400 Hz corresponding to the data "1".
2 continues to occur. As a result, the 400 Hz clock signal CK is applied to the C terminal of the shift register (9), and a sine wave having a frequency twice that of the immediately preceding sine wave is generated. The ROM (12) returns to the main program again until the output of the D flip-flop (3-8) rises again.

【0022】最後に、Dフリップフロップ(3−8)の
出力が再び立上ると、割込発生回路(11)から割込信
号が発生し、この割込信号がCPU(7)で検出され、
ROM(12)はメインプログラムを中断して再びサブ
ルーチンプログラムへジャンプする。そして、ROM
(12)のプログラム命令により、RAM(13)の特
定アドレスに書き込まれた前記4ビットデータの最上位
ビット「0」がCPU(7)に取り込まれ、この結果、
CPU(7)からクロック信号CKをデータ「0」に対
応する200Hzの周波数とするクロック制御信号CT
L2が発生する。これより、200Hzのクロック信号
CKがシフトレジスタ(9)のC端子に印加され、直前
の正弦波の1/2倍の周波数を有する正弦波が発生す
る。以上より、中点電圧Vdd/2のレベルで「0」及び
「1」に対応する周波数の正弦波を確実につなぎ合わせ
ることができる。尚、ROM(12)は、4ビットデー
タに対応する周波数の正弦波のつなぎ合わせが終了した
為、開閉制御信号CTL1をローレベルとし、メインプ
ログラムにリターンする。
Finally, when the output of the D flip-flop (3-8) rises again, an interrupt signal is generated from the interrupt generation circuit (11), and this interrupt signal is detected by the CPU (7),
The ROM (12) interrupts the main program and jumps again to the subroutine program. And ROM
By the program instruction of (12), the most significant bit "0" of the 4-bit data written in the specific address of the RAM (13) is taken into the CPU (7), and as a result,
A clock control signal CT from the CPU (7) which sets the clock signal CK to a frequency of 200 Hz corresponding to the data "0".
L2 occurs. As a result, the 200 Hz clock signal CK is applied to the C terminal of the shift register (9), and a sine wave having a frequency 1/2 times that of the immediately previous sine wave is generated. From the above, it is possible to reliably connect the sine waves having the frequencies corresponding to “0” and “1” at the level of the midpoint voltage Vdd / 2. Since the ROM (12) has finished connecting the sine waves having the frequencies corresponding to the 4-bit data, the open / close control signal CTL1 is set to the low level, and the process returns to the main program.

【0023】そして、上記した4ビットデータ「011
0」に対応して4周期分だけシリアル出力された正弦波
は、親機に取り込まれ、発明が解決しようとする課題の
項で述べた動作と同様にして中点電圧Vdd/2を基準に
周期判定を行い、その結果、如何なるテンキーが操作さ
れたのかが確実に判別される。以上より、子機から親機
へ4周期分の正弦波をシリアル伝送する場合、親機が有
する周期検出部の仕様に応じて、各正弦波をつなぎ合わ
せる電圧レベルを任意に設定できる。つまり、マイクロ
コンピュータのチップ上において、割込発生回路(1
1)と接続されるシフトレジスタ(9)の任意の出力を
選択し、マスク配線すれば良い。本実施例においては、
親機の仕様に応じて、前記正弦波を中点電圧Vdd/2で
つなぎ合わせているが、これに限定されないことはいう
までもない。
Then, the above-mentioned 4-bit data "011
The sine wave serially output for 4 cycles corresponding to "0" is taken into the master unit, and the midpoint voltage Vdd / 2 is used as a reference in the same manner as the operation described in the section of the problem to be solved by the invention. The cycle determination is performed, and as a result, it is possible to reliably determine what numeric keypad was operated. As described above, in the case of serially transmitting four cycles of sine waves from the slave unit to the master unit, the voltage level for connecting the sine waves can be arbitrarily set according to the specifications of the cycle detection unit of the master unit. That is, on the chip of the microcomputer, the interrupt generation circuit (1
It is sufficient to select an arbitrary output of the shift register (9) connected to 1) and perform mask wiring. In this embodiment,
The sine wave is connected by the midpoint voltage Vdd / 2 according to the specifications of the parent device, but needless to say, the present invention is not limited to this.

【0024】また、割込発生回路(11)は、Dフリッ
プフロップ(3−8)の出力の立上り変化を検出する様
に構成されているが、立下り変化を検出して割込信号を
発生させる様にし、これより1周期の各正弦波を、0V
から中点電圧Vdd/2に立上る際の中点電圧Vdd/2で
つなぎ合わせる様にしても良い。また、割込発生回路
(11)は、Dフリップフロップ(3−8)の出力の立
上り変化及び立下り変化の両方を検出して割込信号を発
生する様にしても良く、この場合、各正弦波を半周期毎
に中点電圧Vdd/2でつなぎ合わせることができる。
The interrupt generation circuit (11) is configured to detect a rising change in the output of the D flip-flop (3-8), but detects a falling change and generates an interrupt signal. So that each sine wave of one cycle is
It is also possible to connect them with the middle point voltage Vdd / 2 when rising from the middle point voltage Vdd / 2. The interrupt generation circuit (11) may detect both the rising change and the falling change of the output of the D flip-flop (3-8) and generate an interrupt signal. The sine waves can be connected by the midpoint voltage Vdd / 2 every half cycle.

【0025】[0025]

【発明の効果】本発明によれば、電話器の子機から親機
へ無線伝送される複数周期の各正弦波をつなぎ合わせる
電圧レベルを、親機が正確に正弦波の周期測定を行うこ
とのできるレベルとでき、これより、親機側で子機の操
作情報を確実に判別できる利点が得られる。
According to the present invention, the master unit accurately measures the cycle of the sine wave at the voltage level at which the sine waves of a plurality of cycles are wirelessly transmitted from the slave unit of the telephone to the master unit. Therefore, there is an advantage that the master unit side can surely determine the operation information of the slave unit.

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

【図1】本発明の波形制御回路を示す図である。FIG. 1 is a diagram showing a waveform control circuit of the present invention.

【図2】図1の要部を示す図である。FIG. 2 is a diagram showing a main part of FIG.

【図3】従来の波形制御回路を示す図である。FIG. 3 is a diagram showing a conventional waveform control circuit.

【図4】図1及び図3において発生する階段波を示す波
形図である。
FIG. 4 is a waveform diagram showing a staircase wave generated in FIGS. 1 and 3.

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

(6) クロック発生器 (7) CPU (9) シフトレジスタ (10) ラダー抵抗網 (11) 割込発生回路 (12) ROM (13) RAM (6) Clock generator (7) CPU (9) Shift register (10) Ladder resistor network (11) Interrupt generation circuit (12) ROM (13) RAM

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 発振信号を基にクロック信号を発生する
クロック発生手段と、 終段の出力を初段の入力に帰還する様に複数のフリップ
フロップを直列接続して成り、前記クロック信号に同期
してデータを循環するシフトレジスタ手段と、 一端を前記シフトレジスタ手段の各出力と接続すると共
に他端を共通接続して成り、共通接続点から前記シフト
レジスタ手段の内容の変化に応じて正弦波に近似した階
段波電圧を発生するラダー抵抗手段と、 前記シフトレジスタ手段の所定出力の変化を検出し、前
記クロック信号の周波数を可変する為の割込信号を発生
する割込発生手段と、 前記割込信号を検出し、前記クロック信号の周波数を可
変する制御信号を発生する制御手段と、 を備えたことを特徴とする波形制御回路。
1. A clock generation means for generating a clock signal based on an oscillating signal, and a plurality of flip-flops connected in series so as to feed back an output of a final stage to an input of a first stage, which are synchronized with the clock signal. Shift register means for circulating data by connecting one end to each output of the shift register means and the other end in common, and a sine wave is formed from the common connection point according to the change of the contents of the shift register means. Ladder resistance means for generating an approximated staircase voltage, interrupt generation means for detecting a change in a predetermined output of the shift register means, and generating an interrupt signal for varying the frequency of the clock signal, A waveform control circuit comprising: a control unit that detects an embedded signal and generates a control signal that varies the frequency of the clock signal.
【請求項2】 前記割込発生手段は、前記階段波電圧が
特定レベルとなる時の前記シフトレジスタ手段の所定出
力の変化を検出することを特徴とする請求項1記載の波
形制御回路。
2. The waveform control circuit according to claim 1, wherein the interrupt generating means detects a change in a predetermined output of the shift register means when the staircase voltage reaches a specific level.
【請求項3】 前記階段波電圧の特定レベルを境に該階
段波電圧の周波数を可変できる様にしたことを特徴とす
る請求項2記載の波形制御回路。
3. The waveform control circuit according to claim 2, wherein the frequency of the staircase voltage can be varied at a specific level of the staircase voltage.
JP06069576A 1994-04-07 1994-04-07 Waveform control circuit Expired - Fee Related JP3108271B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP06069576A JP3108271B2 (en) 1994-04-07 1994-04-07 Waveform control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP06069576A JP3108271B2 (en) 1994-04-07 1994-04-07 Waveform control circuit

Publications (2)

Publication Number Publication Date
JPH07283844A true JPH07283844A (en) 1995-10-27
JP3108271B2 JP3108271B2 (en) 2000-11-13

Family

ID=13406765

Family Applications (1)

Application Number Title Priority Date Filing Date
JP06069576A Expired - Fee Related JP3108271B2 (en) 1994-04-07 1994-04-07 Waveform control circuit

Country Status (1)

Country Link
JP (1) JP3108271B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7468714B2 (en) 1998-09-04 2008-12-23 Panasonic Corporation Plasma display panel driving method and plasma display panel apparatus capable of displaying high-quality images with high luminous efficiency
CN108646474A (en) * 2018-03-27 2018-10-12 上海天马微电子有限公司 Array substrate, display panel and display device

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7468714B2 (en) 1998-09-04 2008-12-23 Panasonic Corporation Plasma display panel driving method and plasma display panel apparatus capable of displaying high-quality images with high luminous efficiency
US7649511B2 (en) 1998-09-04 2010-01-19 Panasonic Corporation Plasma display panel driving method and plasma display panel apparatus capable of displaying high-quality images with high luminous efficiency
US7652643B2 (en) 1998-09-04 2010-01-26 Panasonic Corporation Plasma display panel driving method and plasma display panel apparatus capable of displaying high-quality images with high luminous efficiency
US7683859B2 (en) 1998-09-04 2010-03-23 Panasonic Corporation Plasma display panel driving method and plasma display panel apparatus capable of displaying high-quality images with high luminous efficiency
US7701417B2 (en) 1998-09-04 2010-04-20 Panasonic Corporation Plasma display panel driving method and plasma display panel apparatus capable of displaying high-quality images with high luminous efficiency
US7701418B2 (en) 1998-09-04 2010-04-20 Panasonic Corporation Plasma display panel driving method and plasma display panel apparatus capable of displaying high-quality images with high luminous efficiency
US7705807B2 (en) 1998-09-04 2010-04-27 Panasonic Corporation Plasma display panel driving method and plasma display panel apparatus capable of displaying high-quality images with high luminous efficiency
US7724214B2 (en) 1998-09-04 2010-05-25 Panasonic Corporation Plasma display panel driving method and plasma display panel apparatus capable of displaying high-quality images with high luminous efficiency
US7728794B2 (en) 1998-09-04 2010-06-01 Panasonic Corporation Plasma display panel driving method and plasma display panel apparatus capable of displaying high-quality images with high luminous efficiency
US7728793B2 (en) 1998-09-04 2010-06-01 Panasonic Corporation Plasma display panel driving method and plasma display panel apparatus capable of displaying high-quality images with high luminous efficiency
US7728795B2 (en) 1998-09-04 2010-06-01 Panasonic Corporation Plasma display panel driving method and plasma display panel apparatus capable of displaying high-quality images with high luminous efficiency
CN108646474A (en) * 2018-03-27 2018-10-12 上海天马微电子有限公司 Array substrate, display panel and display device

Also Published As

Publication number Publication date
JP3108271B2 (en) 2000-11-13

Similar Documents

Publication Publication Date Title
US6603330B1 (en) Configuring digital functions in a digital configurable macro architecture
US6311148B1 (en) Method for determining static flip-flop setup and hold times
JPS63158475A (en) Logical integrated circuit of scan pass system
JPH1117531A (en) Digital delay circuit and digital pll circuit
JP3108271B2 (en) Waveform control circuit
JP3895120B2 (en) Programmable sequencer built-in ASIC and image forming apparatus
KR100198669B1 (en) Apparatus and method for serial interfacing
US5781594A (en) Data transfer circuit for use with a base unit or a handset of a telephone system
JPH11509658A (en) Extended chip select reset device and method
JPH0730613A (en) Data communication system
JPH1019996A (en) Rate generating circuit
JPH1194914A (en) Scan path control circuit
KR0158490B1 (en) Programmable serial input/output circuits
JP4524724B2 (en) I / O device
JPH07146344A (en) Logic circuit and its testing method
JPH11288330A (en) Integrated circuit with setting function
JPH02202738A (en) Serial data receiving circuit
JP2665070B2 (en) Bus circuit
JPH06324113A (en) Semiconductor integrated circuit
JPH02164134A (en) Parity counting circuit
JPH11184808A (en) Serial communication method
JPH02288725A (en) Pattern deciding circuit
JPH09171060A (en) Semiconductor integrated circuit
JPH0333962A (en) Serial interface circuit
JP2000112920A (en) Micro computer

Legal Events

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