JPS62297017A - Pulse generating circuit - Google Patents

Pulse generating circuit

Info

Publication number
JPS62297017A
JPS62297017A JP13628386A JP13628386A JPS62297017A JP S62297017 A JPS62297017 A JP S62297017A JP 13628386 A JP13628386 A JP 13628386A JP 13628386 A JP13628386 A JP 13628386A JP S62297017 A JPS62297017 A JP S62297017A
Authority
JP
Japan
Prior art keywords
counter
output
pulse
pulse width
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP13628386A
Other languages
Japanese (ja)
Inventor
Masanori Konno
今野 昌則
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.)
Amada Co Ltd
Original Assignee
Amada 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 Amada Co Ltd filed Critical Amada Co Ltd
Priority to JP13628386A priority Critical patent/JPS62297017A/en
Publication of JPS62297017A publication Critical patent/JPS62297017A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electrical Discharge Machining, Electrochemical Machining, And Combined Machining (AREA)

Abstract

PURPOSE:To produce a desired pulse width, by a method wherein a first counter is turned ON and OFF at a stationary period by means of a clock signal from a clock circuit, an output from the first counter is triggered, and a second counter is driven to turn ON and OFF. CONSTITUTION:An address decoder 27 is connected to an CPU 23 through an address pass 25, and an LSI 31 is connected thereto through a data pass 29. An output out 1 from a first programmable counter C1 of the LSI 31 is a square wave of a stationary period. The CPU 23 instructs a single shot of a pulse width T2on to a second programmable counter C2 of the LSI 31. In which case, the counter C2 outputs a pulse of a pulse width T2on each time a gate G rises to a level 'H'. An output pulse from the counter C1 is triggered, and the counter C2 is driven to turn ON and OFF to provide an output with a desired pulse width.

Description

【発明の詳細な説明】 3、発明の詳細な説明 [発明の目的] (産業上の利用分野) この発明は、パルス発生回路に関し、例えば放電加工機
の放電加工用電源のスイッチング素子制御に用いること
のできるパルス発生回路に関する。
[Detailed Description of the Invention] 3. Detailed Description of the Invention [Object of the Invention] (Industrial Application Field) This invention relates to a pulse generation circuit, and is used, for example, to control switching elements of a power source for electric discharge machining in an electric discharge machine. The present invention relates to a pulse generation circuit that can generate pulses.

(従来の技術) スイッチング素子を用いて加工間隙に電圧パルスを印加
する方式の放電加工機の放電加工用電源のスイッチング
素子制御用パルス発生回路としでは、従来は第3図に示
すようなものがある。
(Prior Art) Conventionally, as a pulse generation circuit for controlling a switching element of an electric discharge machining power supply of an electric discharge machine that uses a switching element to apply a voltage pulse to a machining gap, a circuit as shown in Fig. 3 has been used. be.

この従来のパルス発生回路では、CPU1はラッチ3,
5にデータバス7、アドレスデコーダ9を介してぞれぞ
れ、オンTOn、オフTonデータを書き込む。そして
、カウンタ11,13はラッチ3.5の出力をプリセッ
トデータとしてクロック信号をカウントするように格成
している。
In this conventional pulse generation circuit, the CPU 1 has the latch 3,
On-Ton and off-Ton data are written into the data bus 5 and the address decoder 9, respectively. The counters 11 and 13 are configured to count clock signals using the output of the latch 3.5 as preset data.

そこで、ある瞬間にカウンタ13がカウントアツプする
と、カウンタ13のカウントアツプ信号15はカウンタ
11のロード信qとなり、このカウンタ11はラッチ3
の出力データをロードし、カウントを継続する。そして
カウンタ11がラッチ3のデータ分カウントすると、カ
ウントアツプ信号17を出力し、この信号がカウンタ1
3のロード信号となる。そのため、このカウンタ13は
、ラッチ5のデータをロードし、カウントを継続する。
Therefore, when the counter 13 counts up at a certain moment, the count up signal 15 of the counter 13 becomes the load signal q of the counter 11, and this counter 11 outputs the latch 3.
Load the output data of and continue counting. When the counter 11 counts the data in the latch 3, it outputs a count-up signal 17, which is sent to the counter 1.
3 becomes the load signal. Therefore, this counter 13 loads the data of the latch 5 and continues counting.

カウンタ13がラッチ5のデータ分カウントすると、カ
ウントアツプ信号15を再び出力する。
When the counter 13 counts the data in the latch 5, it outputs the count-up signal 15 again.

以下、この相互動作が繰返される。This interaction is repeated thereafter.

したがって、カウントアツプ信@15はTon時間の始
まりに、カウントアツプ信号17はT・off時間の始
まりに対応する。そして、カウントアツプ信号15はフ
リップフロップ19のS入力信号、カウントアツプ信号
17はフリップフロップ19のR入力信号になるので、
結局、フリップフロップ19の出力信@21は、スイッ
チング素子fThl till用のパルス信号となるの
である。
Therefore, the count-up signal @15 corresponds to the beginning of the Ton time, and the count-up signal 17 corresponds to the beginning of the Toff time. The count-up signal 15 becomes the S input signal of the flip-flop 19, and the count-up signal 17 becomes the R input signal of the flip-flop 19.
In the end, the output signal @21 of the flip-flop 19 becomes a pulse signal for the switching element fThl till.

ところで、一般にスイッチング素子を用いた放電加工用
電源の出力電圧パルスは、そのT onlR間とTon
時間とを広範囲に、しかも正確にυJtiDする必要が
あるため、Ton、 Toffそれぞれプリセッタブル
カウンタを用いて正確に時間制御されスイッチング制御
パルスを発生させるようにする。
By the way, in general, the output voltage pulse of a power source for electrical discharge machining using a switching element is between T onlR and Ton
Since it is necessary to accurately υJtiD over a wide range of time, presettable counters are used for each of Ton and Toff to generate switching control pulses under accurate time control.

ところが、上記のようなプリセッタブルカウンタをCP
LIの管理の下に置こうとすると、T0n1Toffに
必要な分解能及び最大時間を得るために必要なビット数
のプリセットカウンタの他に、CPUのデータバスと接
続するためのラッチ回路、その他を必要とし、回路が大
規模になってしまうという問題があった。
However, if a presettable counter like the one above is used as a CP
If you try to put it under LI control, you will need a latch circuit for connecting to the CPU data bus, and other things in addition to a preset counter with the necessary number of bits to obtain the resolution and maximum time required for T0n1Toff. , there was a problem that the circuit became large scale.

(発明の解決しようとする問題点) 上記のように、従来の放電加工機の放電加工用電源用の
パルス発生回路では、回路の大規模化が避けられない問
題があった。
(Problems to be Solved by the Invention) As described above, in the conventional pulse generation circuit for the electric discharge machining power source of the electric discharge machine, there is a problem that the scale of the circuit cannot be avoided.

この発明は、このような従来の問題に鑑みてなされたも
のであって、少なくとも2個のカウンタを用いて、比較
的簡単な構成によりパルスを発生させることのできる放
電加工機用のパルス発生回路を提供することを目的とす
る。
The present invention has been made in view of such conventional problems, and provides a pulse generation circuit for an electric discharge machine that can generate pulses with a relatively simple configuration using at least two counters. The purpose is to provide

[発明の構成] (問題点を解決するための手段) この発明のパルス発生回路は、クロック信号回路と、第
1のカウンタと、この第1のカウンタによるオン、オフ
信号をトリガとし、所望のパルス幅のパルスを発生する
第2のカウンタとを備えたものである。
[Structure of the Invention] (Means for Solving Problems) The pulse generation circuit of the present invention includes a clock signal circuit, a first counter, and uses an on/off signal from the first counter as a trigger to generate a desired signal. and a second counter that generates a pulse having a pulse width.

(作用) この発明のパルス発生回路では、クロック信号回路のク
ロック信号によって第1のカウンタを固定周期でオン、
オフ駆動し、この第1のカウンタの出力パルスをトリガ
とし、第2°のカウンタをオン、オフ駆動し、所望のパ
ルス幅の出力を得る。
(Function) In the pulse generation circuit of the present invention, the first counter is turned on at a fixed period by the clock signal of the clock signal circuit.
Using the output pulse of the first counter as a trigger, the second counter is turned on and off to obtain an output with a desired pulse width.

(実施例) 第1図は、この発明の一実施例を示し、CPU23にア
ドレスバス25を介してアドレスデコーダ27が接続さ
れている。また、CPU23に対し、データバス29を
介してLSI31が接続されている。このLSI31は
プログラマブルカウンタを2個以上備えたものが用いら
れている。
(Embodiment) FIG. 1 shows an embodiment of the present invention, in which an address decoder 27 is connected to the CPU 23 via an address bus 25. Further, an LSI 31 is connected to the CPU 23 via a data bus 29. This LSI 31 is equipped with two or more programmable counters.

そして、この18131にバッファ33が接続されてい
る。
A buffer 33 is connected to this 18131.

しかして、第2図に示すように、上記のパルス発生回路
では、CPU23からアドレスバス25、データバス2
7及び図に示されていないコントロール信号線を介して
LSI31に内蔵する第1のプログラマブルカウンタC
1に固定周期Ton+ Toffの連続発振を指令する
As shown in FIG.
7 and the first programmable counter C built into the LSI 31 via a control signal line not shown in the figure.
1 to command continuous oscillation with a fixed period Ton+Toff.

この第1のプログラマブルカウンタC1の出力out 
1は、固定周期T on+ T oHの方形波である。
The output of this first programmable counter C1 is
1 is a square wave with a fixed period T on+T oH.

次に、CPU23は、18131の内蔵する第2のプロ
グラマブルカウンタC2に対し、パルス幅T20nのシ
ングルショット出力を指令する。そこで、第2プログラ
マブルカウンタC2は、ゲートGが°°H″レベルに立
上る毎にパルス幅T20nのパルスを出力する。
Next, the CPU 23 instructs the second programmable counter C2 built in the 18131 to output a single shot with a pulse width T20n. Therefore, the second programmable counter C2 outputs a pulse with a pulse width T20n every time the gate G rises to the °°H'' level.

こうして、第1のプログラマブルカウンタC1の出力o
ut 1は固定周期T on十T offの連続発振で
あり、第2のプログラマブルカウンタC2の出力out
 2はout 1にトリガされてパルス幅T2onのパ
ルスを出力するから、結局、出力out 2は設定層1
11 T on+ T offに等しい周期で11 H
11,11L 11を繰返す連続パルスとなる。
Thus, the output o of the first programmable counter C1
ut 1 is a continuous oscillation with a fixed period T on + T off, and the output out of the second programmable counter C2
2 is triggered by out 1 and outputs a pulse with a pulse width T2on, so in the end, output out 2 is the setting layer 1
11 H with a period equal to 11 T on + T off
11, 11L This becomes a continuous pulse that repeats 11.

そして、この第2のプログラマブルカウンタC2の出力
out 2がバッフ?33を介して、放電加工機の放電
加工用電源のスイッチング素子制御信号となる。
And the output out 2 of this second programmable counter C2 is a buffer? 33, it becomes a switching element control signal for the electrical discharge machining power supply of the electrical discharge machine.

よって、この実施例のパルス発生回路では、クロック信
号回路のクロック信号によって第1のカウンタを固定周
期でオン、オフ駆動し、この第1のカウンタの出力パル
スをトリガとし、第2の力ウンタをオン、オフ駆動し、
所望のパルス幅の出力を得る。
Therefore, in the pulse generation circuit of this embodiment, the first counter is driven on and off at a fixed period by the clock signal of the clock signal circuit, and the output pulse of the first counter is used as a trigger to drive the second force counter. Drive on, off,
Obtain the desired pulse width output.

[発明の効果] この発明は、上記の構成を有するため、第1のカウンタ
のパルス出力をトリガとし、第2のカウンタによって所
、望のパルス幅のパルス出力を得ることができ、所望の
パルス幅のパルス出力を得第2図は上記実施例の動作を
示すタイミングチャート、第3図は従来例の回路ブロッ
ク図である。
[Effects of the Invention] Since the present invention has the above configuration, it is possible to use the pulse output of the first counter as a trigger, and obtain a pulse output with a desired pulse width by the second counter. FIG. 2 is a timing chart showing the operation of the above embodiment, and FIG. 3 is a circuit block diagram of a conventional example.

23・・・CPU 27・・・アドレスデコーダ 31・・・LSI 33・・・バッファ C1・・・第1のプログラマブルカウンタC2・・・第
2のプログラマブルカウンタG・・・ゲート 代理人 弁理士  三 好 保 男 第3図
23...CPU 27...Address decoder 31...LSI 33...Buffer C1...First programmable counter C2...Second programmable counter G...Gate agent Patent attorney Miyoshi Miyoshi Yasuo Figure 3

Claims (1)

【特許請求の範囲】 クロック信号回路のクロック信号により固定周期でオン
、オフする第1のカウンタと、 この第1のカウンタの出力パルスをトリガとして所望の
パルス幅のパルスを出力する第2のカウンタとを備えて
成るパルス発生回路。
[Claims] A first counter that is turned on and off at a fixed cycle by a clock signal from a clock signal circuit, and a second counter that outputs a pulse with a desired pulse width using the output pulse of the first counter as a trigger. A pulse generation circuit comprising:
JP13628386A 1986-06-13 1986-06-13 Pulse generating circuit Pending JPS62297017A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13628386A JPS62297017A (en) 1986-06-13 1986-06-13 Pulse generating circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13628386A JPS62297017A (en) 1986-06-13 1986-06-13 Pulse generating circuit

Publications (1)

Publication Number Publication Date
JPS62297017A true JPS62297017A (en) 1987-12-24

Family

ID=15171559

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13628386A Pending JPS62297017A (en) 1986-06-13 1986-06-13 Pulse generating circuit

Country Status (1)

Country Link
JP (1) JPS62297017A (en)

Similar Documents

Publication Publication Date Title
EP0388131A2 (en) Random number generator
EP0017091B1 (en) Two-mode-shift register/counter device
JPS5914396A (en) Drive device for pulse motor
JPH02209008A (en) Clock signal converting circuit
JPS62297017A (en) Pulse generating circuit
US4833284A (en) Power relay switching control device for microwave oven
US3714461A (en) Generation of multilevel digital waveforms
JP3051937B2 (en) Variable counting pulse signal generator
GB1480754A (en) Drive pulse generator for use in electronic analogue display clock apparatus
SU1298911A2 (en) Polyfunctional counting device
SU886235A1 (en) Digital code-to-relative pulse duration converter
RU2161368C1 (en) Frequency comparator
SU1246346A2 (en) Multivibrator
SU549883A1 (en) Pulse extender
SU530436A1 (en) Square pulse generator
SU1325645A1 (en) Device for controlling three-phase bridge inverter
SU1370748A2 (en) Pulse duration shaper
SU780177A1 (en) Pulse checking device
SU1698967A1 (en) Pulse shaper
KR960000639Y1 (en) Clock frequency changing apparatus
SU780007A1 (en) Control device
SU628463A1 (en) Programme-control device
SU1205269A1 (en) Pulse shaper
SU1233056A1 (en) Pulse amlitude-to-direct voltage converter
SU406176A1 (en) In P T B