JPH043703B2 - - Google Patents

Info

Publication number
JPH043703B2
JPH043703B2 JP9600684A JP9600684A JPH043703B2 JP H043703 B2 JPH043703 B2 JP H043703B2 JP 9600684 A JP9600684 A JP 9600684A JP 9600684 A JP9600684 A JP 9600684A JP H043703 B2 JPH043703 B2 JP H043703B2
Authority
JP
Japan
Prior art keywords
numerical data
signal
circuit
output
input
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
Application number
JP9600684A
Other languages
Japanese (ja)
Other versions
JPS60239155A (en
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 filed Critical
Priority to JP9600684A priority Critical patent/JPS60239155A/en
Publication of JPS60239155A publication Critical patent/JPS60239155A/en
Publication of JPH043703B2 publication Critical patent/JPH043703B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B14/00Transmission systems not characterised by the medium used for transmission
    • H04B14/02Transmission systems not characterised by the medium used for transmission characterised by the use of pulse modulation
    • H04B14/026Transmission systems not characterised by the medium used for transmission characterised by the use of pulse modulation using pulse time characteristics modulation, e.g. width, position, interval

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Dc Digital Transmission (AREA)
  • Feedback Control In General (AREA)

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は複数個の2進数値データの加減算パル
ス幅変換出力を得る変換装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a conversion device that obtains addition/subtraction pulse width conversion outputs of a plurality of binary value data.

(従来技術) 通常2進コードであらわされる複数個の数値デ
ータの加減算結果をパルス幅変換し制御信号とす
ることは数値制御分野において広く行なわれると
ころである。従来、この制御信号を作るパルス幅
変換装置は大別して3つの回路部からなる。すな
わち、複数個の数値データの加減算結果を検出す
る加減算結果検出回路部と、この検出結果を一時
記憶する記憶回路部と、記憶内容を読み出してパ
ルス幅変調を行なうパルス幅変調回路部とから構
成されている。このように複数個の回路部を持つ
パルス幅変換装置は、個々の回路部間を接続する
ための配線が必要となるので、装置構成そのもの
が複雑なものとなり、また応答速度も当然遅くな
るという致命的とも言うべき欠点を有する。
(Prior Art) It is widely practiced in the field of numerical control to pulse-width convert the results of addition and subtraction of a plurality of numerical data, usually represented by binary codes, to obtain a control signal. Conventionally, a pulse width conversion device for generating this control signal is roughly divided into three circuit sections. That is, it consists of an addition/subtraction result detection circuit section that detects the addition/subtraction results of a plurality of numerical data, a storage circuit section that temporarily stores the detection results, and a pulse width modulation circuit section that reads out the stored contents and performs pulse width modulation. has been done. Pulse width conversion devices that have multiple circuit sections require wiring to connect the individual circuit sections, making the device configuration itself complex and of course slowing down the response speed. It has a fatal flaw.

(発明が解決しようとする問題点) 本発明の目的は、従来のパルス幅変換装置がも
つ上記欠点に鑑み、2進コードであらわされる複
数個の数値データの加減算結果を、直接にパルス
幅変換し得るパルス幅変換装置を提供することで
ある。
(Problems to be Solved by the Invention) In view of the above-mentioned drawbacks of the conventional pulse width conversion device, it is an object of the present invention to directly convert the pulse width of the addition/subtraction results of a plurality of numerical data represented by binary codes. An object of the present invention is to provide a pulse width conversion device that can perform the following steps.

(問題点を解決するための手段) 本発明のパルス幅変換装置は、nビツトの2進
コードでそれぞれ示される複数の数値データを2n
ビツト周期で順次選択して出力する数値データ切
換回路と、この数値データ切換回路から選択出力
された数値データとともに20乃至2n-1ビツトごと
にそれぞれ論理レベルが反転するn個の制御信号
を受け前記選択出力されたnビツトの数値データ
の最下位ビツト乃至最上位ビツトの各論理レベル
と前記20乃至2n-1ビツトごとにそれぞれ論理レベ
ルが反転する前記n個の制御信号の各論理レベル
とがおのおのすべて一致したときに応答信号を発
生する信号発生回路と、前記選択出力された数値
データが加算すべき数値データのときは前記2n
ツト周期の開始とともに第1の論理レベルをとり
前記信号発生回路からの前記応答信号に同期して
第2の論理レベルに反転し、前記選択出力された
数値データが減算すべき数値データのときは前記
2nビツト周期の開始とともに前記第2の論理レベ
ルをとり前記信号発生回路からの前記応答信号に
同期して前記第1の論理レベルに反転するパルス
信号を出力する回路手段とを備えることを特徴と
する。
(Means for Solving the Problems) The pulse width conversion device of the present invention converts a plurality of numerical data, each represented by an n-bit binary code, into 2 n bits.
A numerical data switching circuit that sequentially selects and outputs data at a bit cycle, and n control signals whose logic levels are inverted every 20 to 2n -1 bits together with the numerical data selectively output from this numerical data switching circuit. Each logic level of the least significant bit to the most significant bit of the n-bit numerical data received and selectively outputted, and each logic of the n control signals whose logic level is inverted every 20 to 2n-1 bits. a signal generating circuit that generates a response signal when all the levels match, and a signal generating circuit that generates a first logic level at the start of the 2n- bit period when the selectively outputted numerical data is the numerical data to be added; It is inverted to a second logic level in synchronization with the response signal from the signal generation circuit, and when the selectively outputted numerical data is the numerical data to be subtracted, the
2 circuit means for outputting a pulse signal that takes the second logic level at the start of a n-bit period and inverts to the first logic level in synchronization with the response signal from the signal generation circuit. shall be.

好ましくは前記回路手段は、前記パルス信号が
出力される出力端子ならびに第1及び第2の入力
端子を有する第1の手段であつて、前記第1の入
力端子への信号の供給により前記出力端子を前記
第1の論理レベルに保持し前記第2の入力端子へ
の信号の供給により前記出力端子を前記第2の論
理レベルに保持する第1の手段と、前記2nビツト
周期の開始を示す開始信号を発生する第2の手段
と、前記選択出力された数値データが加算すべき
数値データのときは前記開始信号を前記第1の手
段の前記第1の入力端子に前記応答信号を前記第
1の手段の前記第2の入力端子にそれぞれ供給
し、前記選択出力された数値データが減算すべき
数値データのときは前記開始信号を前記第1の手
段の前記第2の入力端子に前記応答信号を前記第
1の手段の前記第1の入力端子にそれぞれ供給す
る第3の手段とを含んでいる。
Preferably, the circuit means is a first means having an output terminal to which the pulse signal is output, and first and second input terminals, and the circuit means is a first means having an output terminal to which the pulse signal is output, and a first means and a second input terminal. first means for holding at said first logic level and said output terminal at said second logic level by providing a signal to said second input terminal; a second means for generating a start signal; and when the selected output numerical data is numerical data to be added, the start signal is input to the first input terminal of the first means, and the response signal is input to the first input terminal. 1 respectively to the second input terminals of the first means, and when the selectively output numerical data is the numerical data to be subtracted, the start signal is supplied to the second input terminal of the first means in response to the response. and third means for respectively providing a signal to the first input terminal of the first means.

(発明の効果) 本発明によれば、複数個の数値データは2nビツ
トの周期で順次パルス幅変調され、それぞれがデ
ータ内容に等しく、且つ加算または減算に対応し
て互いに逆レベルの関係を持つパルス幅のパルス
幅変調信号に変換されるので、変調出力として取
り出される2nビツトを数値データ個数倍した変換
周期内には、それぞれの数値データの内容と加算
または減算に関係づけられたパルス幅変調信号が
配列される。例えば、A、B、C、D4個の数値
データがあり、A−B−C+Dの数値に対応する
パルス幅変換出力を得たい場合には、最初の数値
データAはその内容に等しいハイ・レベルのパル
ス幅を持つように変調され、つぎの2つの数値デ
ータBおよびCはそれぞれその内容に等しいロ
ー・レベルのパルス幅を持つように、また最後の
数値データDはその内容に等しいハイ・レベルの
パルス幅を持つように順次変調され配列されるの
で、2n×4ビツトの一変換周期内には、数値デー
タAの内容に等しい個数のハイ・レベル・ビツト
からなるパルス幅変調信号と、2nビツトから数値
データBおよびCそれぞれの内容に等しい個数の
ロー・レベル・ビツトを差し引いたハイ・レベ
ル・ビツトからなる2つのパルス幅変調信号と、
数値データDの内容に等しい個数のハイ・レベ
ル・ビツトからなるパルス幅変調信号配列ができ
る。すなわち、ハイ・レベル・ビツトにのみ注目
すると、A+(2n−B)+(2n−C)+D=2n×2+
(A−B−C+D)の数値に対応するパルス幅を
もつ信号として変換され出力される。従つて、m
個の数値データの場合では、減算すべき数値デー
タ個数をlとして、{2n・l+(加減算値)}TU
のハイ・レベル期間を持つパルス幅変換出力が得
られる。但し、TUは単位ビツトのパルス幅であ
る。
(Effects of the Invention) According to the present invention, a plurality of pieces of numerical data are sequentially pulse width modulated with a period of 2n bits, and each piece of numerical data is equal to the data content and has a relationship of opposite levels to each other corresponding to addition or subtraction. Since it is converted into a pulse width modulation signal with a pulse width of A width modulated signal is arranged. For example, if there are 4 numerical data A, B, C, and D, and you want to obtain a pulse width conversion output corresponding to the numerical values A-B-C+D, the first numerical data A is a high level equal to its contents. The next two numerical data B and C each have a low level pulse width equal to their contents, and the last numerical data D has a high level pulse width equal to its contents. Therefore, within one conversion cycle of 2 n × 4 bits, a pulse width modulated signal consisting of a number of high level bits equal to the content of numerical data A, and two pulse width modulated signals consisting of high level bits obtained by subtracting a number of low level bits equal to the content of each of numerical data B and C from 2 n bits;
A pulse width modulated signal array consisting of a number of high level bits equal to the content of the numerical data D is produced. That is, if we focus only on the high level bits, A + (2 n - B) + (2 n - C) + D = 2 n ×2 +
It is converted and output as a signal having a pulse width corresponding to the numerical value of (A-B-C+D). Therefore, m
In the case of numeric data of
A pulse width converted output having a high level period of . However, TU is the pulse width of unit bit.

もちろん、ロー・レベル・ビツトにのみ注目し
たパルス幅変換出力を対応させることも可能であ
る。数値データ個々の変調信号および変調周期内
での配列は、全て簡単な公知の論理回路を用いて
容易に一つの回路構成にまとめ得るので、簡単な
装置構成を備え且つデータ内容の変化に対しきわ
めて迅速に応答し得る、パルス幅変換装置を実現
することができる。以下図面を参照して本発明を
詳細に説明する。
Of course, it is also possible to provide a pulse width conversion output focusing only on low level bits. The individual modulation signals of the numerical data and the arrangement within the modulation period can all be easily combined into one circuit configuration using simple known logic circuits, so the device has a simple configuration and is highly resistant to changes in data content. A pulse width conversion device that can respond quickly can be realized. The present invention will be described in detail below with reference to the drawings.

(実施例) 第1図は本発明を説明するブロツク構成図で、
4個の数値データに実施した場合を示す。本実施
例ではnビツトの2進数値データA,B,Cおよ
びDを2nビツト周期で順次入力せしめる数値デー
タ切換回路1、数値データ内容を検出し、それぞ
れの数値データ内容応答信号pa,pb,pcおよび
pdを発生する数値データ内容応答信号発生回路
2、それぞれの数値データ内容応答信号の入力の
都度レベル反転し状態を保持して数値データ個々
のパルス幅変換信号配列Yを出力する出力レベル
状態保持回路3、数値データ個々のパルス幅変調
に先立ち、所望する数値データの加減算に対応し
加算すべき数値データに対してはハイ・レベル
に、また減算すべき数値データに対してはローレ
ベルに出力レベル状態保持回路3の出力レベルを
予め設定する他、全回路動作を制御する制御信号
系Ckとを含む。
(Example) FIG. 1 is a block configuration diagram explaining the present invention.
The case where it was implemented on four numerical data is shown. In this embodiment, a numerical data switching circuit 1 sequentially inputs n-bit binary numerical data A, B, C, and D at a cycle of 2 n bits, detects the numerical data contents, and outputs respective numerical data content response signals pa, pb. , pc and
Numerical data content response signal generation circuit 2 that generates PD, and an output level state holding circuit that inverts the level each time each numerical data content response signal is input, holds the state, and outputs a pulse width conversion signal array Y for each numerical data. 3. Prior to pulse width modulation of individual numerical data, the output level is set to high level for numerical data to be added and to low level for numerical data to be subtracted, corresponding to the desired addition/subtraction of numerical data. In addition to presetting the output level of the state holding circuit 3, it also includes a control signal system Ck that controls the operation of all the circuits.

数値データ内容応答信号pa,pb,pcおよびpd
は、数値データ切換回路1が順次入力せしめる数
値データA,B,CおよびDの各ビツトの論理値
を重みづけしたものの和を検出したとき発生され
る単位ビツトTUのパルス幅をもつパルス信号で
ある。これらは所望の加減算に対し予めハイまた
はローの各レベルに設定されている出力レベル状
態保持回路3を駆動し、それぞれのビツトの論理
値を重みづけしたものの和を検出時点で出力レベ
ルを反転せしめるので、加算数値データの場合に
はビツトの論理値を重みづけしたものの和数に等
しいビツト幅のハイ・レベル期間をもつパルス幅
変調信号が、減算数値データの場合には同じくビ
ツトの論理値を重みづけしたものの和に等しいビ
ツト幅のロー・レベル期間をもつパルス幅変調信
号がそれぞれ出力される。従つて、2nビツトを数
値データ個数倍すなわち4倍した変換周期内に
は、これら4つの数値データのパルス幅変調信号
のパルス列が配列され、パルス幅変換出力Yとし
て出力される。
Numerical data content response signals pa, pb, pc and pd
is a pulse signal having a pulse width of unit bit TU, which is generated when the numerical data switching circuit 1 detects the sum of the weighted logical values of each bit of the numerical data A, B, C, and D input sequentially. be. These drive the output level state holding circuit 3, which is preset to high or low levels for desired additions and subtractions, and inverts the output level when the sum of the weighted logical values of each bit is detected. Therefore, in the case of addition numerical data, a pulse width modulated signal with a high level period with a bit width equal to the sum of the weighted logical values of the bits, and in the case of subtraction numerical data, the pulse width modulated signal has a high level period equal to the sum of the weighted logical values of the bits. Pulse width modulated signals each having a low level period of bit width equal to the weighted sum are output. Therefore, within a conversion period obtained by multiplying 2 n bits by the number of numerical data, that is, by 4, pulse trains of pulse width modulated signals of these four numerical data are arranged and output as a pulse width conversion output Y.

ビツトの論理値を重みづけしたものの和の出力
時点を検出するには公知の一致検出回路を、また
出力レベル状態保持回路には同じく公知のR−S
ラツチ回路を用い得るので、装置構成はきわめて
容易である。
A known coincidence detection circuit is used to detect the output point of the sum of the weighted logical values of the bits, and a similarly known R-S is used for the output level state holding circuit.
Since a latch circuit can be used, the device configuration is extremely easy.

第2図および第3図は、本発明を3ビツト構成
の4個の数値データに実施した場合の変換装置の
一実施例を示す接続回路図およびタイム・チヤー
ト図である。本実施例回路では、数値データ切換
回路1は数値データA(a3,a2,a1),B(b3,b2
b1),C(c3,c2,c1)およびD(d3,d2,d1)の各
入力ビツトに対応して配された論理積回路4〜1
5、否定論理和回路16〜18、否定論理回路1
9〜21からなるゲート回路で構成され、数値デ
ータ内容応答信号発生回路2は排他的否定論理和
回路22〜24および否定論理和回路25からな
る一致検出回路で構成され、また出力レベル状態
保持回路3は否定論理和回路26〜29からなる
R−Sラツチ回路で構成される。また制御信号系
Ckは6つの制御信号Ck0〜Ck5からなり、否定論
理回路30,31,36〜39,41および4
5、否定論理積回路32〜35、否定論理和回路
40,42〜44からなる制御回路4を構成す
る。ここで制御信号Ck1は数値データの各変調周
期Ta,Tb,TcおよびTd内において、それぞれ
20ビツト周期を持ち、またCk2〜Ck5はそれぞれ
21、22、23および24のビツト周期を持つように設
定され、更にCk0は単位ビツト・パルス幅TUの
1/2幅を持つ連続パルス信号に設定されている。
6つの制御信号のうちCk4およびCk5は、数値デ
ータ切換回路1のゲート制御信号として用いら
れ、またCk0と共に出力レベル状態保持回路3の
出力レベルを、所望の加減算に対応し予めハイま
たはローの各レベルに設定するセツト・リセツト
信号を発生する。残るCk1,Ck2およびCk3の3
つの制御信号は数値データ内容応答信号発生回路
2を駆動し、数値データそれぞれのビツトの論理
値を重みづけしたものの和の検出時点で数値デー
タ内容応答信号pa,pb,pcおよびpdを発生する
よう作用する。
2 and 3 are a connection circuit diagram and a time chart showing an embodiment of a conversion device in which the present invention is applied to four numerical data of 3-bit configuration. In this embodiment circuit, the numerical data switching circuit 1 inputs numerical data A (a 3 , a 2 , a 1 ), B (b 3 , b 2 ,
AND circuits 4 to 1 arranged corresponding to each input bit of b 1 ), C (c 3 , c 2 , c 1 ), and D (d 3 , d 2 , d 1 )
5, NOR circuits 16 to 18, NOR circuit 1
The numerical data content response signal generation circuit 2 is composed of a match detection circuit consisting of exclusive NOR circuits 22 to 24 and a NOR circuit 25, and an output level state holding circuit. 3 is constituted by an R-S latch circuit consisting of NOR circuits 26-29. Also, the control signal system
Ck consists of six control signals Ck 0 to Ck 5 , including negative logic circuits 30, 31, 36 to 39, 41 and 4.
5. The control circuit 4 is constituted by NAND circuits 32-35 and NOR circuits 40, 42-44. Here, the control signal Ck 1 is applied within each modulation period Ta, Tb, Tc, and Td of the numerical data.
It has a period of 20 bits, and Ck 2 to Ck 5 are each
It is set to have a bit period of 2 1 , 2 2 , 2 3 and 2 4 , and Ck 0 is set to be a continuous pulse signal having a width of 1/2 of the unit bit pulse width TU.
Of the six control signals, Ck 4 and Ck 5 are used as gate control signals for the numerical data switching circuit 1, and together with Ck 0 , the output level of the output level state holding circuit 3 is set to high or high in advance in accordance with the desired addition/subtraction. Generates a set/reset signal to set each level to low. The remaining three Ck 1 , Ck 2 and Ck 3
The two control signals drive the numerical data content response signal generation circuit 2 to generate numerical data content response signals pa, pb, pc, and pd at the time of detection of the sum of weighted logical values of each bit of numerical data. act.

本実施例回路を数値データA,B,CおよびD
に関して、A−B−C+Dの加減算結果のパルス
幅変換出力Y1を得るよう結線されているので、
以下これに基づいて回路動作を説明する。
This example circuit is expressed as numerical data A, B, C and D.
Regarding, since the wires are connected to obtain the pulse width conversion output Y 1 of the addition/subtraction result of A-B-C+D,
The circuit operation will be explained below based on this.

第3図のタイム・チヤート図には数値データ
A,B,CおよびDをそれぞれ(110)、(100)、
(011)および(101)としたときの回路の信号波
形が説明され、R−S回路を駆動するセツト・リ
セツトの各信号S1,R1およびS2,R2の入力タイ
ミング並びに加減算結果「4」に対するパルス幅
変換出力Y1のパルス配列が示されている。リセ
ツト信号R1は加算数値データAおよびDのビツ
トの論理値を重みづけしたものの和の検出時にそ
れぞれ発生され、R−Sラツチ回路の出力レベル
をハイからローに反転して、変調周期Taおよび
Td内にそれぞれのデータ内容に等しい6Tuおよ
び5Tuのハイ・レベル期間を備えたパルス幅変調
信号を配列する。またセツト信号S1は減算数値デ
ータBおよびCのビツトの論理値を重みづけした
ものの和の検出時にそれぞれ発生され、R−Sラ
ツチ回路の出力レベルをローからハイに反転し
て、変調周期TbおよびTc内にそれぞれのデータ
内容に等しい4Tuおよび3Tuのロー・レベル期間
を備えたパルス幅変調信号を配列する。従つて全
変換周期T内には数値データA,B,CおよびD
の加減算結果「4」に対して、20Tuのハイ・レ
ベル期間を備えたパルス幅変換信号配列Y1が対
応され出力される。ついでセツト・リセツト信号
S2,R2は上述のS1,R1とは全く関係なく各数値
データのビツトの論理値を重みづけしたものの和
の検出時点でそれぞれ発生されるR−Sラツチ回
路の出力レベルの状態設定信号である。すなわ
ち、セツト信号S2は加算数値データAおよびDの
ビツトの論理値を重みづけしたものの和の検出開
始時点でそれぞれ発生され、上述の信号S1,R1
の入力前においてR−Sラツチ回路の出力レベル
を常にハイ・レベルに設定し、またリセツト信号
R2は減算数値データBおよびCのビツトの論理
値を重みづけしたものの和の検出開始時点でそれ
ぞれ発生され、同様に信号S1,R1の入力前にお
いてR−Sラツチ回路の出力レベルを常にロー・
レベルに設定するよう作用する。これらのセツ
ト・リセツト信号S1,R1およびS2,R2は制御信
号Ck0〜Ck5を用いて容易に発生させることがで
きる。
The time chart in Figure 3 shows numerical data A, B, C and D (110), (100), respectively.
The signal waveforms of the circuit when (011) and (101) are explained, and the input timings of the set/reset signals S 1 , R 1 and S 2 , R 2 that drive the R-S circuit and the addition/subtraction results " The pulse arrangement of the pulse width conversion output Y 1 for "4" is shown. The reset signal R1 is generated when the sum of the weighted logical values of the bits of the addition numerical data A and D is detected, respectively, and inverts the output level of the R-S latch circuit from high to low to set the modulation period Ta and
Arrange pulse width modulated signals with high level periods of 6Tu and 5Tu equal to their respective data contents within Td. Further, the set signal S1 is generated when the sum of the weighted logical values of the bits of the subtracted numerical data B and C is detected, and it inverts the output level of the R-S latch circuit from low to high, and sets the modulation period Tb. and pulse width modulated signals with low level periods of 4Tu and 3Tu equal to their respective data contents within Tc. Therefore, the numerical data A, B, C and D are contained within the entire conversion period T.
The pulse width conversion signal array Y 1 having a high level period of 20 Tu corresponds to the addition/subtraction result "4" and is output. Then set/reset signal
S 2 and R 2 are completely unrelated to the above-mentioned S 1 and R 1 , and are the states of the output levels of the R-S latch circuits generated at the time of detection of the sum of the weighted logical values of the bits of each numerical data. This is a setting signal. That is, the set signal S 2 is generated at the start of detection of the sum of the weighted logical values of the bits of the added numerical data A and D, and the set signal S 2 is
The output level of the R-S latch circuit is always set to high level before the input of the reset signal.
R 2 is generated at the start of detection of the sum of the weighted logical values of the bits of the subtraction numerical data B and C, and similarly, the output level of the R-S latch circuit is generated before inputting the signals S 1 and R 1 . Always low
It acts to set the level. These set/reset signals S 1 , R 1 and S 2 , R 2 can be easily generated using control signals Ck 0 to Ck 5 .

第2図の接続回路図において、制御信号Ck4
Ck5およびその否定信号は否定論理積回路32〜
35を駆動して順次その一つを出力させ、論理積
回路4〜15の出力をゲートする。否定論理積回
路32が出力されたとき論理積回路4,8および
12が同時にゲートされ、数値データA(a3,a2
a1)の各ビツトが入力される。否定論理積回路3
3が出力されたとき論理積回路5,9および13
が同時にゲートされ、数値データB(b3,b2,b1
の各ビツトが入力される。以下同様に否定論理積
回路34および35がそれぞれ出力されたとき、
数値データCおよびDがそれぞれ入力される。こ
のようにして入力された各数値データのビツトは
否定排他的論理和回路22〜24および否定論理
積回路25からなる一致検出回路に入力され、そ
れぞれのビツトの論理値を重みづけしたものの和
が検出されたとき否定論理積回路25からは各数
値データの内容を表わす数値データ内容応答信号
pa,pb,pcおよびpdがそれぞれ出力される。(第
2図には図示されていない)。一方加算数値デー
タAまたはDの何れか一方が選択され入力されて
いるときは、その選択信号の否定出力が否定論理
和回路40から出力され、数値データ内容応答信
号paまたはpdと共にR−Sラツチ回路の否定論
理和回路26に入力される。ここで数値データ内
容応答信号および選択信号の否定出力のレベルは
共に「0」であるから、否定論理和回路26の出
力レベル、すなわちR−Sラツチ回路のリセツト
信号R1の入力レベルは「1」となる。このとき
否定論理和回路27には数値データ内容応答信号
paまたはpdの「0」レベルと共に選択信号と同
じレベル「1」が入力されるので、セツト信号S1
の入力レベルは「0」を示す。また減算数値デー
タBまたはCの何れか一方が選択され入力されて
いるときは上述とは全く逆の回路動作が行なわ
れ、リセツト信号R1のレベルは「0」となり、
セツト信号S1には「1」のレベルが現われる。
In the connection circuit diagram of FIG. 2, the control signals Ck 4 ,
Ck 5 and its negation signal are connected to the NAND circuit 32~
35 is driven to sequentially output one of them, and the outputs of the AND circuits 4 to 15 are gated. When the NAND circuit 32 outputs, the AND circuits 4, 8 and 12 are gated simultaneously, and the numerical data A (a 3 , a 2 ,
Each bit of a1 ) is input. NAND circuit 3
When 3 is output, AND circuits 5, 9 and 13
are gated at the same time, numerical data B (b 3 , b 2 , b 1 )
Each bit is input. Similarly, when the NAND circuits 34 and 35 respectively output,
Numerical data C and D are respectively input. The bits of each numerical data input in this way are input to a coincidence detection circuit consisting of negative exclusive OR circuits 22 to 24 and negative AND circuit 25, and the sum of the weighted logical values of each bit is calculated. When detected, the NAND circuit 25 outputs a numerical data content response signal representing the content of each numerical data.
pa, pb, pc and pd are output respectively. (Not shown in Figure 2). On the other hand, when either the addition numerical data A or D is selected and input, the negative output of the selection signal is output from the negative OR circuit 40, and the R-S latch is output together with the numerical data content response signal pa or pd. It is input to the NOR circuit 26 of the circuit. Here, since the levels of the negative output of the numerical data content response signal and the selection signal are both "0", the output level of the negative OR circuit 26, that is, the input level of the reset signal R1 of the R-S latch circuit is "1". ”. At this time, the NOR circuit 27 receives a numerical data content response signal.
Since the same level "1" as the selection signal is input together with the "0" level of pa or pd, the set signal S 1
The input level of indicates "0". Furthermore, when either subtraction numerical data B or C is selected and input, the circuit operation is completely opposite to that described above, and the level of the reset signal R1 becomes "0".
A level of "1" appears in the set signal S1 .

また制御信号Ck0はCk1〜Ck3と共に否定論理
和回路44に入力される。制御信号Ck0は1/2Tu
のパルス幅を持つ連続パルス信号であるから、数
値データA,B,CおよびDの各変調周期Ta,
Tb,TcおよびTd内の各変調動作開始時点にお
いてだけ、否定論理回路45はレベル「0」を出
力する。この出力レベル「0」は前述の数値デー
タの入力選択信号の否定およびリセツト信号R1
の出力と共に否定論理和回路42に入力される。
数値データの各変調開始時点では未だビツトの論
理値を重みづけしたものの和の検出動作は完了し
ていないからリセツト信号R1は「0」レベルの
ままである。従つて加算数値データAまたはDの
何れか一方が選択され入力されているときは、否
定論理和回路42の3入力は全て「0」レベルと
なり、その出力側からはレベル「1」のセツト信
号S2が出力される。またこのとき他方の否定論理
和回路43には、否定論理回路41を介し再否定
されたレベル「1」が入力されるので、他の入力
レベルの如何に関わらずリセツト信号R2のレベ
ルは「0」を示す。また減算数値データBまたは
Cの何れか一方が選択され入力されているとき
は、否定論理和回路42および43は全く逆の回
路動作を行ないリセツト信号R1のレベルを「1」
とし、セツト信号S2を「0」レベルとして出力す
ることとなる。
Further, the control signal Ck 0 is inputted to the NOR circuit 44 together with Ck 1 to Ck 3 . Control signal Ck 0 is 1/2Tu
Since it is a continuous pulse signal with a pulse width of , each modulation period Ta,
The negative logic circuit 45 outputs level "0" only at the start time of each modulation operation within Tb, Tc and Td. This output level "0" is the negation of the input selection signal of the numerical data mentioned above and the reset signal R1.
It is input to the NOR circuit 42 together with the output of .
At the start of each modulation of numerical data, the detection operation of the sum of the weighted logical values of the bits has not yet been completed, so the reset signal R1 remains at the "0" level. Therefore, when either the addition numerical data A or D is selected and input, all three inputs of the NOR circuit 42 are at the "0" level, and a set signal at the level "1" is output from the output side. S 2 is output. At this time, the level "1" that has been negated again via the NOR circuit 41 is input to the other NOR circuit 43, so the level of the reset signal R2 is " 1 " regardless of the other input levels. 0". Furthermore, when either subtraction numerical data B or C is selected and input, the NOR circuits 42 and 43 perform completely opposite circuit operations and set the level of the reset signal R1 to " 1 ".
Then, the set signal S2 is output as a "0" level.

以上は数値データA,B,CおよびDに関して
A−B−C+Dの加減算結果をパルス幅変調する
場合を説明したが、否定論理和回路40の入力結
線を変更すれば、全てを組合せた加減算結果のパ
ルス幅変換出力Yを求めることができる。
The above has explained the case where the addition/subtraction results of A-B-C+D are pulse-width modulated for the numerical data A, B, C, and D. However, if the input connection of the NOR circuit 40 is changed, the addition/subtraction results of all the combinations can be obtained. The pulse width conversion output Y can be obtained.

このとき得られるパルス幅変換出力Yは、
32Tuを一変換周期とし、ハイ・レベル期間{16
+(加減算結果)}Tuのパルス列を備えたもので
ある。
The pulse width conversion output Y obtained at this time is
One conversion period is 32Tu, and the high level period is {16
+(addition/subtraction result)}It is equipped with a pulse train of Tu.

また数値データがm個の場合には、変換周期は
8mTuとなり、l個の減算数値データに対して、
{8l+(加減算結果)}Tuのハイ・レベル期間を備
えたものとなる。
Also, if there are m numerical data, the conversion period is
8mTu, and for l subtracted numerical data,
{8l+(addition/subtraction result)} has a high level period of Tu.

更にnビツトの数値データの場合に実施するこ
とができることも明らかで、この場合には2n
mTuを変換周期とし、ハイ・レベル期間{2n
l+(加減算結果)}Tuのパルス列を備えたパル
ス幅変換出力を得ることができる。
Furthermore, it is clear that it can be implemented in the case of n-bit numerical data, in which case 2 n ·
Let mTu be the conversion period, and the high level period {2 n
A pulse width conversion output having a pulse train of l+(addition/subtraction result)}Tu can be obtained.

以上詳細に説明したように、本発明によれば、
簡単な論理回路で一つの回路に構成されたパルス
幅変換装置を得ることができるので、データ内容
の変化に対しきわめて迅速に応答する小形チツプ
の半導体装置としてまとめ得る。
As explained in detail above, according to the present invention,
Since it is possible to obtain a pulse width conversion device configured in one circuit using a simple logic circuit, it can be assembled into a small-chip semiconductor device that responds extremely quickly to changes in data content.

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

第1図は本発明を説明するブロツク構成図、第
2図および第3図は本発明を3ビツト構成の4個
の数値データに実施した場合の変換装置の一実施
例を示す接続回路図およびタイム・チヤート図で
ある。 1……数値データ切換回路、2……数値データ
内容応答信号発生回路、3……出力レベル状態保
持回路、4……制御回路、A(a3,a2,a1),B
(b3,b2,b1),C(c3,c2,c1),D(d3,d2,d1
……数値データ、Ck0〜Ck5……制御信号、R1
R2……リセツト信号、25,32〜35……否
定論理積回路、S1,S2……セツト信号、4〜15
……論理積回路、16〜18,26〜29,4
0,42〜44……否定論理和回路、22〜24
……否定排他的論理和回路、19〜21,36〜
39,41,45……否定論理回路、pa,pb,
pc,pd……数値データ内容応答信号、Y……パ
ルス幅変換出力。
FIG. 1 is a block configuration diagram explaining the present invention, and FIGS. 2 and 3 are connection circuit diagrams showing an embodiment of a conversion device when the present invention is applied to four numerical data of 3-bit configuration. This is a time chart. 1... Numerical data switching circuit, 2... Numerical data content response signal generation circuit, 3... Output level status holding circuit, 4... Control circuit, A (a 3 , a 2 , a 1 ), B
(b 3 , b 2 , b 1 ), C (c 3 , c 2 , c 1 ), D (d 3 , d 2 , d 1 )
... Numerical data, Ck 0 to Ck 5 ... Control signal, R 1 ,
R2 ...Reset signal, 25, 32-35...NAND circuit, S1 , S2 ...Set signal, 4-15
...Logic product circuit, 16-18, 26-29, 4
0,42-44...NOR circuit, 22-24
...Negative exclusive OR circuit, 19-21, 36-
39, 41, 45...Negation logic circuit, pa, pb,
pc, pd...Numerical data content response signal, Y...Pulse width conversion output.

Claims (1)

【特許請求の範囲】 1 nビツトの2進コードでそれぞれ示される複
数の数値データを2nビツト周期で順次選択して出
力する数値データ切換回路と、この数値データ切
換回路から選択出力された数値データとともに20
乃至2n-1ビツトごとにそれぞれ論理レベルが反転
するn個の制御信号を受け前記選択出力されたn
ビツトの数値データの最下位ビツト乃至最上位ビ
ツトの各論理レベルと前記20乃至2n-1ビツトごと
にそれぞれ論理レベルが反転する前記n個の制御
信号の各論理レベルとがおのおのすべて一致した
ときに応答信号を発生する信号発生回路と、前記
選択出力された数値データが加算すべき数値デー
タのときは前記2nビツト周期の開始とともに第1
の論理レベルをとり前記信号発生回路からの前記
応答信号に同期して第2の論理レベルに反転し、
前記選択出力された数値データが減算すべき数値
データのときは前記2nビツト周期の開始とともに
前記第2の論理レベルをとり前記信号発生回路か
らの前記応答信号に同期して前記第1の論理レベ
ルに反転するパルス信号を出力する回路手段とを
備えることを特徴とするパルス幅変換装置。 2 前記回路手段は、前記パルス信号が出力され
る出力端子ならびに第1及び第2の入力端子を有
する第1の手段であつて、前記第1の入力端子へ
の信号の供給により前記出力端子を前記第1の論
理レベルに保持し前記第2の入力端子への信号の
供給により前記出力端子を前記第2の論理レベル
に保持する第1の手段と、前記2nビツト周期の開
始を示す開始信号を発生する第2の手段と、前記
選択出力された数値データが加算すべき数値デー
タのときは前記開始信号を前記第1の手段の前記
第1の入力端子に前記応答信号を前記第1の手段
の前記第2の入力端子にそれぞれ供給し、前記選
択出力された数値データが減算すべき数値データ
のときは前記開始信号を前記第1の手段の前記第
2の入力端子に前記応答信号を前記第1の手段の
前記第1の入力端子にそれぞれ供給する第3の手
段とを含むことを特徴とする特許請求の範囲第1
項記載のパルス幅変換装置。
[Claims] A numerical data switching circuit that sequentially selects and outputs a plurality of numerical data each represented by a binary code of 1 n bits at a cycle of 2 n bits, and a numerical data selectively output from the numerical data switching circuit. 2 0 with data
to 2 n-1 bits, each of which receives n control signals whose logic level is inverted for every n-1 bit, and which is selectively outputted.
Each logic level of the least significant bit to the most significant bit of the bit numerical data and each logic level of the n control signals whose logic levels are inverted every 20 to 2n -1 bits are all matched. When the selected output numerical data is the numerical data to be added, the signal generating circuit generates the response signal, and when the selected output numerical data is the numerical data to be added, the signal generating circuit generates the response signal.
and inverts it to a second logic level in synchronization with the response signal from the signal generation circuit;
When the selected output numerical data is numerical data to be subtracted, the second logic level is set at the start of the 2 n bit period, and the first logic level is set in synchronization with the response signal from the signal generating circuit. and circuit means for outputting a pulse signal whose level is inverted. 2. The circuit means is a first means having an output terminal to which the pulse signal is output, and first and second input terminals, and the circuit means outputs the output terminal by supplying the signal to the first input terminal. first means for holding the output terminal at the first logic level and holding the output terminal at the second logic level by providing a signal to the second input terminal; and a start indicating the beginning of the 2 n -bit period. a second means for generating a signal; and when the selectively output numerical data is numerical data to be added, the start signal is input to the first input terminal of the first means, and the response signal is input to the first input terminal of the first means. and when the selected output numerical data is numerical data to be subtracted, the start signal is supplied to the second input terminal of the first means, and the response signal is supplied to the second input terminal of the first means. and third means for respectively supplying the first input terminals of the first means to the first input terminals of the first means.
Pulse width conversion device as described in .
JP9600684A 1984-05-14 1984-05-14 Method and device of pulse width modulation Granted JPS60239155A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9600684A JPS60239155A (en) 1984-05-14 1984-05-14 Method and device of pulse width modulation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9600684A JPS60239155A (en) 1984-05-14 1984-05-14 Method and device of pulse width modulation

Publications (2)

Publication Number Publication Date
JPS60239155A JPS60239155A (en) 1985-11-28
JPH043703B2 true JPH043703B2 (en) 1992-01-24

Family

ID=14153065

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9600684A Granted JPS60239155A (en) 1984-05-14 1984-05-14 Method and device of pulse width modulation

Country Status (1)

Country Link
JP (1) JPS60239155A (en)

Also Published As

Publication number Publication date
JPS60239155A (en) 1985-11-28

Similar Documents

Publication Publication Date Title
JPH0682146B2 (en) Sukiyanpass type logic integrated circuit
JPH043703B2 (en)
SU1064458A1 (en) Code/pdm converter
SU1285602A1 (en) Device for generating blocked balanced ternary code
JPS60180338A (en) Parallel serial converting system
JP2513179B2 (en) Series-parallel conversion circuit with counter
SU788375A1 (en) Time interval-to-digital code converter
JPH0983368A (en) D / A conversion circuit
SU985758A1 (en) Radar signal processing device
SU1034059A1 (en) Sine-cosine pickup signal converter to code
SU1580555A1 (en) Digit-analog servo converter
JPH07135469A (en) D / A converter
JP2590458B2 (en) Digital servo control method
SU1476469A1 (en) Modulo 3 residue code check unit
SU1173548A1 (en) Apparatus for selecting channels
JP3353543B2 (en) Control signal generation circuit
JPH039661B2 (en)
SU1149243A1 (en) Reversible binary code-to-binary coded decimal code translator
SU441648A1 (en) Step-shaped voltage generator
JPH0744459B2 (en) PWM circuit
JPS60239156A (en) Method and device of pulse width modulation
SU1267446A1 (en) Non-linear interpolator
JPH0339423B2 (en)
SU1743001A1 (en) Seven-segment display code-to-binary decimal code converter
JPS602630B2 (en) Casa display device

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term