JPH09136131A - Position detecting circuit for numerical command device in spring production device - Google Patents

Position detecting circuit for numerical command device in spring production device

Info

Publication number
JPH09136131A
JPH09136131A JP31481695A JP31481695A JPH09136131A JP H09136131 A JPH09136131 A JP H09136131A JP 31481695 A JP31481695 A JP 31481695A JP 31481695 A JP31481695 A JP 31481695A JP H09136131 A JPH09136131 A JP H09136131A
Authority
JP
Japan
Prior art keywords
phase
circuit
pulse
rotation
rotary encoder
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
JP31481695A
Other languages
Japanese (ja)
Inventor
Takashi Yoshimura
村 孝 吉
Kazuo Furukawa
川 和 夫 古
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.)
NHK Spring Co Ltd
Original Assignee
NHK Spring 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 NHK Spring Co Ltd filed Critical NHK Spring Co Ltd
Priority to JP31481695A priority Critical patent/JPH09136131A/en
Publication of JPH09136131A publication Critical patent/JPH09136131A/en
Pending legal-status Critical Current

Links

Landscapes

  • Wire Processing (AREA)

Abstract

PROBLEM TO BE SOLVED: To improve the detecting precision of the rotation amount and the rotation angle of a main shaft without being influenced with chattering by forming a position detecting circuit for a spring production machine into a four-multiple circuit of two phase pulse obtained from a rotary encoder installed on a main shaft of the production machine. SOLUTION: A phase detecting circuit 62 to detect the phase quadrant from A and B two phase pulses of a rotary encoder, and a vibration preventing circuit 63 to output phase pulses e, f whose phases are different by 90 deg. to the two phase pulses A and B based on phases a, b, c, d and which have hysteresis are installed. Further, the position detecting circuit is composed of a rotary direction discriminating circuit 64 to detect a normal rotation signal i and a reverse rotation signal j of the rotary encoder 24 based on these phase pulses e, f, an exclusive OR circuit 65a to obtain a repeating pulse k for researching the exclusive OR of the phase pulses e, f and pulse generating circuits 65, 66 to obtain a normal rotation pulse n and a reverse rotation pulse p based on the signals of the repeating pulse k and the rotary direction discriminating circuit 64.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、数値制御による
ばね加工機の主軸の位置検出精度の向上に好適なばね製
造装置に於ける数値指令装置の位置検出回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a position detection circuit for a numerical command device in a spring manufacturing apparatus suitable for improving the position detection accuracy of a spindle of a spring machine by numerical control.

【0002】[0002]

【従来の技術】従来より、回転量や回転角度を検出する
手段として、ロータリエンコーダが用いられているが、
例えば、軸のスタート/ストップ制御時チャタリングの
発生によって回転量や角度の検出精度が悪化してしまう
という欠点があった。特に、チャタリングが発生する場
合は、軸が正転から一旦逆転して再び正転するように軸
が動くから、本来1つのパルスが得られるにもかかわら
ず3つのパルスが出てしまい、検出精度が悪化するとい
う問題があった。
2. Description of the Related Art Conventionally, a rotary encoder has been used as a means for detecting a rotation amount and a rotation angle.
For example, there is a drawback that the detection accuracy of the rotation amount and the angle deteriorates due to the occurrence of chattering during the start / stop control of the axis. In particular, when chattering occurs, the shaft moves so that the shaft reverses from normal rotation to normal rotation again, so three pulses are output even though one pulse is originally obtained, and the detection accuracy is increased. There was a problem that was worse.

【0003】[0003]

【発明が解決しようとする課題】この発明は、上記した
点に鑑みてなされたものであり、その目的とするところ
は、軸にチャタリングが発生しても正確に軸の回転量が
検出でき、しかも、回転量の検出分解能を4倍に向上せ
しめた新規なばね製造装置に於ける数値指令装置の位置
検出回路を提供することにある。
SUMMARY OF THE INVENTION The present invention has been made in view of the above points, and an object thereof is to accurately detect the rotation amount of a shaft even if chattering occurs on the shaft. Moreover, it is another object of the present invention to provide a position detection circuit for a numerical command device in a new spring manufacturing device in which the detection resolution of the rotation amount is improved four times.

【0004】[0004]

【課題を解決するための手段】前記課題を解決するた
め、この発明のばね製造装置に於ける数値指令装置の位
置検出回路は、A相とB相の2相パルスを出力するロー
タリエンコーダにおいて、前記A相とB相の2相パルス
から前記ロータリエンコーダの位相象限を検出する位相
検出回路と、前記位相検出回路で検出される位相パルス
に基づき前記2相パルスと90度位相が異なり、且つ、
ヒステリシスを有する2つの位相パルスを出力する振動
防止回路と、前記振動防止回路から出力される前記位相
パルスに基づきロータリエンコーダの正転を示す正転信
号と逆転を示す逆転信号を検出するロータリエンコーダ
の回転方向弁別回路と、前記2つの位相パルスの排他的
論理和を求めることによりロータリエンコーダの各位相
象限毎にレベルが変化する繰返パルスを得る排他的論理
和回路と、前記排他的論理和回路の出力に得られる繰返
パルスと前記回転方向弁別回路で得られる正転信号及び
逆転信号とに基づき4逓倍の正転パルス及び逆転パルス
を得るパルス生成回路とで構成したものである。
In order to solve the above-mentioned problems, the position detection circuit of the numerical command device in the spring manufacturing apparatus of the present invention is a rotary encoder which outputs a two-phase pulse of A phase and B phase, A phase detection circuit that detects the phase quadrant of the rotary encoder from the two-phase pulses of the A-phase and the B-phase, and the 90-degree phase difference from the two-phase pulse based on the phase pulse detected by the phase detection circuit, and
A vibration prevention circuit that outputs two phase pulses having hysteresis, and a rotary encoder that detects a forward rotation signal that indicates normal rotation and a reverse rotation signal that indicates reverse rotation of the rotary encoder based on the phase pulse output from the vibration prevention circuit. A rotation direction discriminating circuit, an exclusive OR circuit for obtaining a repeating pulse whose level changes for each phase quadrant of the rotary encoder by obtaining an exclusive OR of the two phase pulses, and the exclusive OR circuit The pulse generator circuit obtains a quadruple normal rotation pulse and a reverse rotation pulse based on the forward rotation signal and the reverse rotation signal obtained by the rotation direction discrimination circuit.

【0005】[0005]

【発明の実施の形態】この発明に係るばね加工機におけ
る数値制御指令装置のばね製造装置に於ける数値指令装
置の位置検出回路の実施例を図1乃至図12に基づいて
説明する。図1は数値制御(以下、NC(Numeri
cal Control)と言う)装置と各種のばね加
工機のブロック図であり、図2はNC指令装置と主軸及
び従軸の制御動作を説明するブロック図、図3〜図6は
各種ばね加工機であって、図3は熱間コイリング機のブ
ロック図、図4は熱間板ばね圧延機のブロック図、図5
は熱間たる型ばねコイリング機のブロック図、図6は冷
間コイリング機のブロック図である。図7は図3乃至図
6のばね加工機の主軸に設けられたロータリエンコーダ
から得られる2相パルスを4逓倍する4逓倍回路の回路
図であり、図8〜図12は4逓倍回路の動作状態の各部
の波形を表したタイミングチャートである。
BEST MODE FOR CARRYING OUT THE INVENTION An embodiment of a position detecting circuit of a numerical command device in a spring manufacturing device of a numerical control command device in a spring machine according to the present invention will be described with reference to FIGS. FIG. 1 shows numerical control (hereinafter, NC (Numeri)
FIG. 2 is a block diagram for explaining the control operation of the NC command device and the main spindle and the slave shaft, and FIGS. 3 to 6 are various spring machining machines. Therefore, FIG. 3 is a block diagram of the hot coiling machine, FIG. 4 is a block diagram of the hot leaf spring rolling machine, and FIG.
Is a block diagram of a hot barrel type spring coiling machine, and FIG. 6 is a block diagram of a cold coiling machine. FIG. 7 is a circuit diagram of a quadrupling circuit for quadrupling a two-phase pulse obtained from a rotary encoder provided on the main shaft of the spring machine of FIGS. 3 to 6, and FIGS. 8 to 12 are operations of the quadrupling circuit. It is a timing chart showing the waveform of each part of the state.

【0006】はじめに、本発明の位置検出回路の説明を
する前に、本発明の回路が用いられている各種のばね製
造機と、ばね製造機を制御するNC指令装置について説
明する。
First, before describing the position detection circuit of the present invention, various spring manufacturing machines using the circuit of the present invention and an NC command device for controlling the spring manufacturing machine will be described.

【0007】図1において、1はNC指令装置であり、
このNC指令装置1には数値データを入力するキーボー
ド2、記憶データを読み取るフロッピーディスク3、入
力データや動作状態を表示するモニター4、データなど
をプリントアウトするプリンター5などの入出力機器を
備えている。6は演算制御部であり、この演算制御部6
には演算CPU部7と制御カウンター部8とを有してい
る。9は前記NC指令装置1の外部接続機器であるコン
ピユータ、10はシーケンサーであり、このシーケンサ
ー10はNC指令装置1内に備えた入出力インターフェ
イス11を介して前記演算制御部6に接続されている。
In FIG. 1, reference numeral 1 is an NC command device,
The NC command device 1 is provided with an input / output device such as a keyboard 2 for inputting numerical data, a floppy disk 3 for reading stored data, a monitor 4 for displaying input data and operating conditions, and a printer 5 for printing out data. There is. Reference numeral 6 denotes an arithmetic control unit, and this arithmetic control unit 6
Has an arithmetic CPU section 7 and a control counter section 8. Reference numeral 9 is a computer which is an externally connected device of the NC command device 1, 10 is a sequencer, and this sequencer 10 is connected to the arithmetic control unit 6 through an input / output interface 11 provided in the NC command device 1. .

【0008】20はNC指令装置1で制御される熱間コ
イリング機であり、この熱間コイリング機20は芯金回
転制御ドライバ21によって主軸回転のパウダクラッチ
/ブレーキ22やエアークラッチ/ブレーキ23を制御
する。また、前記主軸回転に対してロータリエンコーダ
24を設けて回転情報をNC指令装置1に出力する。2
5はガイドローラであり、このガイドローラ25はDC
サーボモータ26や油圧サーボシリンダ27を備えて従
軸移動を制御する。30はNC指令装置1で制御される
熱間板ばね圧延機であり、この熱間板ばね圧延機30は
ACサーボモータ32で測長台車31を駆動し、この測
長台車31の移動滑車に取り付けた第1のロータリエン
コーダ33によって測長台車31の移動情報を取り出し
ている。また、圧延ロール34の回転量を第2のロータ
リエンコーダ36で検出すると共に、ロータリエンコー
ダ33又はロータリエンコーダ36の回転量に基づき油
圧サーボシリンダ35の従軸移動制御を行い、所定の形
状の板ばねを製造する。
Reference numeral 20 denotes a hot coiling machine controlled by the NC command device 1. The hot coiling machine 20 controls a powder metal clutch / brake 22 and an air clutch / brake 23 for rotating a spindle by a core bar rotation control driver 21. To do. A rotary encoder 24 is provided for the rotation of the main shaft to output rotation information to the NC command device 1. 2
5 is a guide roller, and this guide roller 25 is DC
A servo motor 26 and a hydraulic servo cylinder 27 are provided to control the slave axis movement. Reference numeral 30 denotes a hot leaf spring rolling machine controlled by the NC command device 1. The hot leaf spring rolling machine 30 drives a length measuring carriage 31 by an AC servo motor 32, and a moving pulley of the length measuring carriage 31 is moved. The movement information of the length measurement carriage 31 is taken out by the attached first rotary encoder 33. Further, the rotation amount of the rolling roll 34 is detected by the second rotary encoder 36, and the slave shaft movement control of the hydraulic servo cylinder 35 is performed based on the rotation amount of the rotary encoder 33 or the rotary encoder 36 to obtain a leaf spring having a predetermined shape. To manufacture.

【0009】40はNC指令装置1で制御される熱間た
る型ばねコイリング機であり、この熱間たる型ばねコイ
リング機40は成形ロール41をDCサーボモータ42
で位置制御させると共に、成形ロール回転制御ドライバ
43によってパウダクラッチ/ブレーキ44を制御し、
又、前記成形ロール41の主軸回転情報をロータリエン
コーダ45を用いてNC指令装置1に出力する。また、
NC指令装置1はロータリエンコーダ45で得られたデ
ータに基づき成形ロール41及びピッチツール46の従
軸移動をそれぞれDCサーボモータ42,47で制御し
てたる形コイルを生成している。50はNC指令装置1
で制御される冷間コイリング機であり、この冷間コイリ
ング機50はフィードロール回転制御ドライバ51によ
ってパルスモータ52を駆動すると共に、電磁クラッチ
/ブレーキ53を制御してフィードロールの回転を行っ
ている。また、このフィードロールの回転情報はロータ
リエンコーダ54よりNC指令装置1に出力する。一
方、NC指令装置1はロータリエンコーダ54のデータ
に基づき成形ツール55をパルスモータ56で駆動し、
又、ピッチツール57をパルスモータ58で駆動して、
所定の形状のコイルを生成する。
Reference numeral 40 denotes a hot barrel type spring coiling machine controlled by the NC command device 1. The hot barrel type spring coiling machine 40 has a forming roll 41 and a DC servo motor 42.
In addition to controlling the position with, the molding roll rotation control driver 43 controls the powder clutch / brake 44,
Further, the spindle rotation information of the forming roll 41 is output to the NC command device 1 using the rotary encoder 45. Also,
The NC command device 1 controls the slave axis movements of the forming roll 41 and the pitch tool 46 by the DC servo motors 42 and 47, respectively, based on the data obtained by the rotary encoder 45, to generate a barrel-shaped coil. 50 is an NC command device 1
The cold coiling machine 50 is driven by the feed roll rotation control driver 51 and drives the pulse motor 52 while controlling the electromagnetic clutch / brake 53 to rotate the feed roll. . The rotary encoder 54 outputs the rotation information of the feed roll to the NC command device 1. On the other hand, the NC command device 1 drives the molding tool 55 with the pulse motor 56 based on the data of the rotary encoder 54,
Also, the pitch tool 57 is driven by the pulse motor 58,
A coil having a predetermined shape is generated.

【0010】このように構成したNC指令装置1は前記
各種のばね加工機の動作を駆動制御すると共に、ばね加
工機の主軸回転情報をロータリエンコーダによって取り
込み、主軸回転に対する従軸移動制御を行っている。図
2はNC指令装置1とばね加工機の主軸/従軸の制御を
示したものであり、図1と同一部分には同一符号を付し
て説明する。NC指令装置1の演算制御部6は演算CP
U部7と制御カウンター部8より成り、前記演算CPU
部7はデータ演算ソフトウエアによってデータ処理する
16ビットのメインCPU7aと、ばね加工機の回転制
御ドライブ指令を行う8ビットのサブCPU7bとで構
成され、この2個のCPUで高速且つ高精度のデータ処
理を実行することができる。前記メインCPU7aはキ
ーボード2やフロッピーディスク3等の入出力機器とイ
ンターフェイス6aを介してデータバス6bで接続さ
れ、各種のデータ処理を行い、前記サブCPU7bはシ
ーケンサー10の運転情報や、各ばね製造機の主軸に設
けられたロータリエンコーダの出力とCPU7aとの制
御出力に基づき、ばね加工機の主軸の回転制御と従軸の
制御を行っている。
The NC command device 1 thus constructed controls the operation of each of the above various spring machining machines, takes in the spindle rotation information of the spring machining machine by the rotary encoder, and controls the slave axis movement with respect to the spindle rotation. There is. FIG. 2 shows the control of the NC command device 1 and the main shaft / slave shaft of the spring machine, and the same parts as those in FIG. The calculation controller 6 of the NC command device 1 calculates the calculation CP
The calculation CPU comprises a U section 7 and a control counter section 8.
The section 7 is composed of a 16-bit main CPU 7a that processes data by data operation software and an 8-bit sub CPU 7b that issues a rotation control drive command for the spring machine, and these two CPUs provide high-speed and high-precision data. Processing can be performed. The main CPU 7a is connected to an input / output device such as a keyboard 2 and a floppy disk 3 via an interface 6a via a data bus 6b to perform various data processing. The sub CPU 7b is used for operating information of the sequencer 10 and each spring manufacturing machine. Based on the output of the rotary encoder provided on the main spindle and the control output of the CPU 7a, rotation control of the main spindle of the spring processing machine and control of the slave spindle are performed.

【0011】このように構成したNC指令装置1では、
所定のばね加工機に対して、ばね加工データをキーボー
ド2より直接入力、又は、キーボード2よりデータのI
Dナンバーを入力することによって、フロッピーディス
ク3に記録された中から呼び出して、演算制御部6の前
記メインCPU7aに設定する。これらの設定データは
モニター4で確認すると同時に、ばね加工機の動作状態
もモニター4で表示させることができる。また、キーボ
ード2より入力されたデータをフロッピーディスク3に
書き込んだり、入力されたデータやフロッピーディスク
3からの読み出したデータをプリンター5でプリントア
ウトすることができる。前記キーボード2やモニター4
と演算制御部6とは、光ファイバーケーブルで結線され
ているため、キーボード2やモニター4の操作盤を、例
えば、広い工場内部では数百m離れた所定の場所に配設
することができ、NC指令装置1の演算制御部6に対し
ても高速に、しかも、確実に離れた場所から制御するこ
とが可能である。
In the NC command device 1 thus constructed,
The spring processing data is directly input to the predetermined spring processing machine from the keyboard 2 or the data I is input from the keyboard 2.
By inputting the D number, it is called from among the contents recorded on the floppy disk 3 and set in the main CPU 7a of the arithmetic control unit 6. These setting data can be confirmed on the monitor 4, and at the same time, the operating state of the spring machine can be displayed on the monitor 4. Further, the data input from the keyboard 2 can be written in the floppy disk 3, and the input data and the data read from the floppy disk 3 can be printed out by the printer 5. The keyboard 2 and the monitor 4
Since the operation control unit 6 and the operation control unit 6 are connected by an optical fiber cable, the operation panel of the keyboard 2 and the monitor 4 can be arranged at a predetermined place several hundred meters apart in a large factory. It is possible to control the arithmetic and control unit 6 of the command device 1 at high speed and surely from a distant place.

【0012】前記演算制御部6のインターフェイス6a
は外部接続機器であるコンピユータ9とRSー232C
で接続され、コンピュータ9を用いることで、各種のば
ね加工機の数値データ一括管理の他、生産順序や時間管
理等を制御することができる。また、シーケンサー10
は予め決められた各ばね加工機のインターロックの状態
を監視,制御することで、安全で多様化したばね製品に
対しての自動化生産を実行させるように構成している。
Interface 6a of the arithmetic control unit 6
Is a computer 9 and RS-232C that are externally connected devices
The computer 9 can be used to control not only numerical data collectively for various spring machines but also production order, time management, and the like. Also, the sequencer 10
Is configured to monitor and control a predetermined interlocking state of each spring processing machine to execute automated production for safe and diversified spring products.

【0013】前記制御カウンター部8では、例えば、熱
間コイリング機20の主軸28回転情報をロータリエン
コーダ24から主軸移動量として検出すると共に、この
ロータリエンコーダ24の主軸移動パルスを4逓倍する
4逓倍回路8aと、この4逓倍回路8aの出力パルスに
基づき従軸をならい制御するならい制御回路8bとで構
成し、このならい制御回路8bは前記メインCPU7a
にセットされた制御データを基に熱間コイリング機20
のガイドローラ25の従軸移動送り指令をアクチュエー
タに出力すると共に、制御及びデータ切換等のタイミン
グ情報を前記メインCPU7a及びサブCPU7bに割
込入力させて、主軸28の移動量に応じた従軸の制御を
実行している。
The control counter section 8 detects, for example, rotation information of the spindle 28 of the hot coiling machine 20 from the rotary encoder 24 as a spindle movement amount, and a spindle multiplication circuit for multiplying the spindle movement pulse of the rotary encoder 24 by 4. 8a and a tracing control circuit 8b for tracing the slave axis based on the output pulse of the quadruple multiplication circuit 8a. The tracing control circuit 8b is the main CPU 7a.
Hot coiling machine 20 based on the control data set in
The slave spindle moving feed command of the guide roller 25 is output to the actuator, and timing information such as control and data switching is interrupted and input to the main CPU 7a and the sub CPU 7b, so that the slave spindle corresponding to the movement amount of the spindle 28 is moved. Running control.

【0014】次に、各ばね製造機の概要について説明す
ると、図3は熱間コイリング機20のブロック図であ
り、芯金回転制御ドライバ21はクラッチ/ブレーキ2
2、23のトルク制御を行うが、このクラッチ/ブレー
キ22、23はモータ21aと減速機21bに直結して
装着されていて、モータ21aの回転を減速機21bに
伝達することをクラッチで制御したり、モータ21aの
回転を停止させるためのブレーキ装置を有している。前
記減速機21bには主軸である芯金28が直結されてい
て、前記芯金回転制御ドライバ21からの回転制御によ
って芯金28の回転は制御される。主軸の回転制御は図
2に示したように、主軸28に接続したタコジェネレー
タ(T.G.)28aで検出された回転データを比較回
路21cの一方の入力端子に供給し速度フィードバック
回路(F.B.)を形成する。一方、比較回路21cの
他方の入力端子には前記サブCPU7bからのドライブ
データが供給され、このドライブデータに基づいて、比
較回路21cは前記クラッチ/ブレーキ22,23を制
御し、主軸は所定の回転数に制御される。
Next, an outline of each spring manufacturing machine will be described. FIG. 3 is a block diagram of the hot coiling machine 20, and the core bar rotation control driver 21 is the clutch / brake 2.
The torque control of 2 and 23 is performed. The clutch / brake 22 and 23 are directly connected to the motor 21a and the speed reducer 21b, and the clutch controls the transmission of the rotation of the motor 21a to the speed reducer 21b. Alternatively, it has a brake device for stopping the rotation of the motor 21a. A cored bar 28, which is a main shaft, is directly connected to the speed reducer 21b, and the rotation of the cored bar 28 is controlled by the rotation control from the cored bar rotation control driver 21. As shown in FIG. 2, the rotation control of the main shaft is performed by supplying the rotation data detected by the tacho generator (TG) 28a connected to the main shaft 28 to one input terminal of the comparison circuit 21c so that the speed feedback circuit (F .B.). On the other hand, the drive data from the sub CPU 7b is supplied to the other input terminal of the comparison circuit 21c, the comparison circuit 21c controls the clutches / brakes 22 and 23 based on the drive data, and the main shaft rotates in a predetermined rotation. Controlled by the number.

【0015】熱間コイリング機20の芯金28のスター
ト端部28aにコイル素材29の端部を固定し、このコ
イル素材29を芯金28に沿って巻回させコイリングす
る。このコイリングは溝付きガイドローラ25aがDC
サーボモータ26又は油圧サーボシリンダ27によって
移動する従軸移動のガイド機構25bで制御され、芯金
28上のコイル素材29の位置決めを行って所定のピッ
チのコイリングを行うものである。この従軸移動は、図
2に示すように、従軸ドライブサーボ機構を備え、前記
溝付きガイドローラ25aの位置データを検出器25d
によって検出し、この位置データを比較回路25eの一
方の入力端子に供給して位置フィードバック回路(F.
B.)を形成し、この比較回路25eの他方の入力端子
にはNC指令装置1の演算制御部6の前記ならい制御回
路8bからの従軸送り指令出力が供給され、この従軸送
り指令に基づいて前記DCサーボモータ26や油圧サー
ボシリンダ27を制御し、前記溝付きガイドローラ25
aの従軸移動を制御するものである。
The end of the coil material 29 is fixed to the starting end 28a of the cored bar 28 of the hot coiling machine 20, and the coiled material 29 is wound along the cored bar 28 for coiling. In this coiling, the grooved guide roller 25a is DC
It is controlled by a slave shaft moving guide mechanism 25b that is moved by a servo motor 26 or a hydraulic servo cylinder 27, and positions a coil material 29 on a cored bar 28 to perform coiling at a predetermined pitch. As shown in FIG. 2, this slave axis movement is provided with a slave axis drive servo mechanism, and the position data of the grooved guide roller 25a is detected by the detector 25d.
Detected by the position feedback circuit (F.
B. ) Is formed, and the other input terminal of the comparison circuit 25e is supplied with the slave axis feed command output from the profile control circuit 8b of the arithmetic control unit 6 of the NC command device 1, and based on this slave axis feed command. The grooved guide roller 25 is controlled by controlling the DC servo motor 26 and the hydraulic servo cylinder 27.
It controls the slave axis movement of a.

【0016】次に、図4は熱間板ばね圧延機30のブロ
ック図であり、板ばね素材37が圧延ロール34によっ
て圧延されるが、この圧延される板ばねの厚みは油圧サ
ーボシリンダ35の駆動による従軸移動によって設定さ
れる。一方、測長台車31はACサーボモータ32の回
転のクラッチ・ブレーキ32bを介した駆動による移動
滑車31aに架設された駆動ワイヤ31bに取り付けら
れ、この駆動ワイヤ31bの移動に基づいて測長台車3
1の移動が設定される。なお、ACサーボモータ32は
測長台車31を予め所定位置に移動させるために設けた
ものであり、ACサーボモータ32と移動滑車31aと
の間にはクラッチ/ブレーキ32bが設けられていて、
測長台車31を移動させる時には、クラッチをON、ブ
レーキをOFFにし、停止させる時には、クラッチOF
F、ブレーキONとし、更に、ならい制御の際には、ク
ラッチブレーキとを共にOFFにし、板ばねの動きにま
かせるように構成している。そして、第1のロータリエ
ンコーダ33によって測長台車31の移動状態や位置な
どを検出し、この第1のロータリエンコーダ33の回転
データはNC指令装置1の演算制御部6に供給され、な
らい制御回路8bからの従軸送り指令によって油圧サー
ボシリンダ35が従軸制御される。なお、この装置で
は、測長台車を用いずに圧延ロール34に設けた第2の
ロータリエンコーダ36でも油圧サーボシリンダ35を
ならい制御することが出来るようになっている。
Next, FIG. 4 is a block diagram of the hot leaf spring rolling machine 30. The leaf spring material 37 is rolled by the rolling roll 34. The thickness of the leaf spring to be rolled is the same as that of the hydraulic servo cylinder 35. It is set by the slave axis movement by driving. On the other hand, the length-measuring carriage 31 is attached to a drive wire 31b laid on a moving pulley 31a driven by a rotation clutch / brake 32b of an AC servomotor 32, and the length-measuring carriage 3 is moved based on the movement of the drive wire 31b.
A move of 1 is set. The AC servomotor 32 is provided to move the length measuring carriage 31 to a predetermined position in advance, and a clutch / brake 32b is provided between the AC servomotor 32 and the moving pulley 31a.
When moving the measuring carriage 31, the clutch is turned on, the brake is turned off, and when stopped, the clutch OF is turned off.
F and the brake are turned on, and in the case of the profile control, both the clutch and the brake are turned off to let the leaf spring move. Then, the first rotary encoder 33 detects the moving state, position, etc. of the length-measuring cart 31, and the rotation data of the first rotary encoder 33 is supplied to the arithmetic control unit 6 of the NC command device 1, and the profile control circuit The hydraulic servo cylinder 35 is slave-axis controlled by the slave-axis feed command from 8b. In this apparatus, the hydraulic servo cylinder 35 can also be controlled by the second rotary encoder 36 provided on the rolling roll 34 without using the length measuring carriage.

【0017】図5は熱間たる型ばねコイリング機40の
ブロック図であり、コイル素材48は図のようにコイル
素材48の外側接触部に当接した2個の成形ロール41
a,41bと、コイル素材48の内側接触部に当接した
成形ロール41cとを成形ロール回転ドライバ43の駆
動によってクラッチ/ブレーキ44を介して回転駆動さ
せる。この成形ロール41a,41b,41cの回転に
よってコイル素材48は成形ロール41a,41b,4
1cを通過してコイリングが成される。この成形ロール
41a,41b,41cの回転データはロータリエンコ
ーダ45によって取り出され、このデータは、NC指令
装置1の演算制御部6に供給さる。
FIG. 5 is a block diagram of the hot-spring type spring coiling machine 40. The coil material 48 has two forming rolls 41 abutting on the outer contact portion of the coil material 48 as shown in the figure.
The a and 41b and the forming roll 41c that is in contact with the inner contact portion of the coil material 48 are rotationally driven via the clutch / brake 44 by the driving of the forming roll rotation driver 43. By the rotation of the forming rolls 41a, 41b, 41c, the coil material 48 is formed into the forming rolls 41a, 41b, 4
Coiling is performed after passing through 1c. The rotation data of the forming rolls 41a, 41b, 41c is taken out by the rotary encoder 45, and this data is supplied to the arithmetic control unit 6 of the NC command device 1.

【0018】NC指令装置1は、ロータリエンコーダ4
5の検出データに基づき成形ロール41a,41bの相
対的位置を制御することによって所定の曲率に湾曲され
たコイルを得るように従軸制御を行う。即ち、この成形
ロール41a,41bの位置設定は、成形ロール41c
の位置に対して成形ロール41aはDCサーボモータ4
2aによって矢印A方向に従軸制御し、また、成形ロー
ル41bも同様にDCサーボモータ42bによって矢印
B方向に従軸移動をさせて、成形ロール41a,41
b,41cの相対位置によってコイリングの湾曲加工を
行うものである。
The NC command device 1 includes a rotary encoder 4
By controlling the relative positions of the forming rolls 41a and 41b based on the detection data of No. 5, spindle control is performed so as to obtain a coil curved to a predetermined curvature. That is, the positions of the molding rolls 41a and 41b are set by the molding roll 41c.
The forming roll 41a corresponds to the position of the DC servomotor 4
2a performs follower control of the forming rolls 41a and 41b, and the forming roll 41b also moves along the direction of arrow B by the DC servomotor 42b.
The coiling bending process is performed by the relative positions of b and 41c.

【0019】一方、ピッチツール46はDCサーボモー
タ47によって矢印C方向に摺動駆動して、従軸移動に
よる所望のコイルピッチを得ることができる。前記成形
ロール41a,41b,41cの相対的位置を制御しつ
つコイル素材48を直径方向に押圧すると共にピッチツ
ール46を制御することによって所望のたる形コイルの
生成が可能になる。
On the other hand, the pitch tool 46 can be slidably driven in the direction of arrow C by the DC servo motor 47 to obtain a desired coil pitch by the slave axis movement. By controlling the relative positions of the forming rolls 41a, 41b, 41c while pressing the coil material 48 in the diametrical direction and controlling the pitch tool 46, it is possible to generate a desired barrel-shaped coil.

【0020】図6は冷間コイリング機50のブロック図
であり、フィードロール回転制御ドライバ51はパルス
モータ52を駆動制御すると共に、パルスモータ52に
直結したクラッチ/ブレーキ53の動作を制御し、2個
のフィードロール51a,51bを回転駆動させる。こ
の2個のフィードロール51a,51bの間隙にコイル
素材59が挟持されて通過し、パルスモータ56で従軸
制御される成形ツール55の押圧とパルスモータ58で
従軸駆動されるピッチツール57によって前記コイル素
材59は所望の曲率のコイリングに形成される。前記成
型ツール55とピッチツール57の制御は、図3乃至図
5と同様にNC指令装置1の演算制御部6に前記コイル
素材59の主軸移動情報を取り込むロータリエンコーダ
57からの回転データによって制御される。
FIG. 6 is a block diagram of the cold coiling machine 50. The feed roll rotation control driver 51 drives and controls the pulse motor 52 and also controls the operation of the clutch / brake 53 directly connected to the pulse motor 52. The individual feed rolls 51a and 51b are rotationally driven. The coil material 59 is nipped and passed through the gap between the two feed rolls 51a and 51b, and is pressed by the forming tool 55 which is slave-axis controlled by the pulse motor 56 and the pitch tool 57 which is slave-axis driven by the pulse motor 58. The coil material 59 is formed into a coiling having a desired curvature. The control of the forming tool 55 and the pitch tool 57 is controlled by the rotation data from the rotary encoder 57 that takes in the spindle movement information of the coil material 59 to the arithmetic control unit 6 of the NC command device 1 as in FIGS. It

【0021】このように各種の入出力装置と演算制御部
6等で構成したNC指令装置1によって、前記熱間コイ
リング機20や熱間板ばね圧延機30、熱間たる型ばね
コイリング機40、冷間コイリング機50などの各種ば
ね加工機のコイリング作業をNC制御して動作させるこ
とができる。特に、前記ばね加工機のコイリング制御は
主軸移動をロータリエンコーダを介して演算処理して従
軸移動制御を行うことによって、正確に高精度の所望の
コイリングを生成すことが可能となる。また、前記ロー
タリエンコーダからの回転データ処理は4逓倍回路8a
を用いることによって振動(チャタリング)を防止し、
前記ロータリエンコーダの回転データに対して4倍の主
軸検出分解能を得ることができるので、より高精度の従
軸移動制御を成すことができる。
The hot coiling machine 20, the hot leaf spring rolling machine 30, the hot barrel type spring coiling machine 40, and the NC command device 1 thus constructed by various input / output devices and the arithmetic and control unit 6 etc. The coiling work of various spring processing machines such as the cold coiling machine 50 can be operated by NC control. Particularly, in the coiling control of the spring processing machine, it is possible to accurately generate a desired coiling with high accuracy by performing arithmetic processing of the spindle movement through the rotary encoder to control the slave axis movement. Further, the rotation data processing from the rotary encoder is performed by a quadruple multiplication circuit 8a.
To prevent vibration (chattering) by using
Since it is possible to obtain a spindle detection resolution that is four times as high as the rotation data of the rotary encoder, it is possible to perform more precise slave axis movement control.

【0022】次に、本発明のばね製造装置に於ける数値
指令装置の位置検出回路について、図7の回路図及び図
8乃至図12のタイミングチャートに基づき説明する。
前記熱間コイリング機20のロータリエンコーダ24か
ら発生する90度の位相差を有したA相及びB相の2相
パルスは各々のインターフェース60,61を介して4
逓倍回路8aの位相検出部62に供給される。図8は前
記4逓倍回路8aの動作を示したタイミングチャートで
あり、図8(a)は主軸移動の正転時の動作を示し、図
8(b)は逆転時の動作を示したものである。このタイ
ミングチャートの記号A及びBの波形はロータリエンコ
ーダ24の軸角度で決まるA相及びB相の2相パルスを
表したものである。前記位相検出部62は2組の反転イ
ンバータ62a,62bと4個のポジィティブナンド
(NAND)ゲート回路62c,62d,62e,62
fで構成され、前記2相パルスA,Bの1サイクル中の
4つの位相象限を検出する。ナンド(NAND)ゲート
回路62cの出力に得られるパルス信号aで第2位相象
限(90°〜180°)を検出するものであり、以下、
同様に、bは第4位相象限(270°〜360°)、c
は第3位相象限(180°〜270°)、dは第1位相
象限(0°〜90°)の各位相象限を検出する。
Next, the position detection circuit of the numerical command device in the spring manufacturing apparatus of the present invention will be described based on the circuit diagram of FIG. 7 and the timing charts of FIGS. 8 to 12.
The two-phase pulse of the A phase and the B phase having the phase difference of 90 degrees generated from the rotary encoder 24 of the hot coiling machine 20 is transmitted through the respective interfaces 60 and 61 to 4
It is supplied to the phase detection unit 62 of the multiplication circuit 8a. FIG. 8 is a timing chart showing the operation of the quadrupling circuit 8a. FIG. 8 (a) shows the operation at the time of normal rotation of the spindle movement, and FIG. 8 (b) shows the operation at the time of reverse rotation. is there. The waveforms of symbols A and B in this timing chart represent two-phase pulses of A phase and B phase determined by the axial angle of the rotary encoder 24. The phase detector 62 includes two sets of inverting inverters 62a and 62b and four positive NAND (NAND) gate circuits 62c, 62d, 62e and 62.
4 phase quadrants in one cycle of the two-phase pulses A and B. The second phase quadrant (90 ° to 180 °) is detected by the pulse signal a obtained at the output of the NAND gate circuit 62c.
Similarly, b is the fourth phase quadrant (270 ° to 360 °), c
Is the third phase quadrant (180 ° to 270 °), and d is the first phase quadrant (0 ° to 90 °).

【0023】このように検出された各位相象限のパルス
信号a,b,c,dはチャタリング防止部63に供給さ
れる。このチャタリング防止部63はノア(NOR)ゲ
ート回路で構成した2個のJーKフリップフロップ回路
63a,63bを形成し、前記パルス信号a,b,パル
ス信号c,dから、再度360°周期で90°位相のず
れた2つの位相パルスe,fを出力する。この位相パル
スe,fには、JーKフリップフロップ回路63a,6
3bを用いてロータリエンコーダ24の正転、逆転によ
る回転方向の違いで±90°の位相移動を生じるヒステ
リス特性を持たせ、正転から逆転(又は逆転から正転)
への方向転換時にデットタイムを設けることによって、
ロータリエンコーダ24の軸振動などのチャタリングに
よるミスパルスの発生を防止している。
The pulse signals a, b, c, d of each phase quadrant detected in this way are supplied to the chattering prevention unit 63. The chattering prevention unit 63 forms two JK flip-flop circuits 63a and 63b composed of NOR gate circuits, and again from the pulse signals a and b and the pulse signals c and d at a 360 ° cycle. Two phase pulses e and f which are 90 ° out of phase are output. The phase pulses e and f are supplied with JK flip-flop circuits 63a and 6a.
By using 3b, the rotary encoder 24 is provided with a hysteresis characteristic that causes a phase shift of ± 90 ° due to a difference in rotation direction due to normal rotation and reverse rotation, and normal rotation to reverse rotation (or reverse rotation to normal rotation).
By setting dead time when changing direction to
The occurrence of mispulses due to chattering such as shaft vibration of the rotary encoder 24 is prevented.

【0024】前記チャタリング防止回路63の位相パル
スe,fはDフリップフロップ回路64a,64bで構
成した回転方向弁別部64に供給され、上記2つの位相
信号e,fの位相状態を検出し、保持して回転方向を弁
別している。この回転方向弁別部64にDフリップフロ
ップ回路64a,64bを2組使用している。即ち、D
フリップフロップ回路64aで正転を検出し、Dフリッ
プフロップ回路64bで逆転を検出している。そして、
Dフリップフロップ回路64aのQ出力が立ち上る時
点、即ち、正転を検出した時点では、Dフリップフロッ
プ回路64bのQ出力は既に“L”レベルにおちて逆転
を示す検出信号を降ろすように構成している。そして、
Dフリップフロップ回路64aのQ出力波形gとDフリ
ップフロップ回路64bのQバー出力波形hバーとをア
ンド(AND)ゲート回路64dに取り込み、また、D
フリップフロップ回路64aのQバー出力波形gバーと
Dフリップフロップ回路64bのQ出力波形hとをアン
ド(AND)ゲート回路64cに供給させることによっ
て、正転を示す正転信号iと逆転を示す逆転信号jとを
得ている。
The phase pulses e and f of the chattering prevention circuit 63 are supplied to the rotational direction discriminating unit 64 composed of D flip-flop circuits 64a and 64b, and the phase states of the two phase signals e and f are detected and held. Then, the direction of rotation is discriminated. Two sets of D flip-flop circuits 64a and 64b are used in the rotation direction discriminating unit 64. That is, D
The flip-flop circuit 64a detects normal rotation, and the D flip-flop circuit 64b detects reverse rotation. And
At the time when the Q output of the D flip-flop circuit 64a rises, that is, when the normal rotation is detected, the Q output of the D flip-flop circuit 64b is already at the "L" level and the detection signal indicating the reverse rotation is lowered. ing. And
The Q output waveform g of the D flip-flop circuit 64a and the Q bar output waveform h bar of the D flip-flop circuit 64b are taken into the AND gate circuit 64d, and D
By supplying the Q output waveform g bar of the flip-flop circuit 64a and the Q output waveform h of the D flip-flop circuit 64b to the AND gate circuit 64c, the normal rotation signal i indicating the normal rotation and the reverse rotation indicating the reverse rotation. We get the signals j and.

【0025】更に、前記チャタリング防止部63の位相
パルスe,fと前記回転方向弁別部64の出力信号i,
jによって以下のように4逓倍出力を生成する。まず、
前記位相パルスe,fをXOR(Exclusive
OR)回路65aの第1の2逓倍部(パルス生成回路)
65に供給して2つの位相パルスの排他的論理和を求め
ることによって180°周期の繰返パルス信号kを生成
する。この繰返パルス信号kはチャタリング防止部63
のヒステリシス特性によって正転/逆転で位相が90°
移動する。一方、回転方向弁別部64の出力信号i,j
と前記第1の2逓倍部65の出力である繰返パルス信号
kとを更に2逓倍する第2の2逓倍部(パルス生成回
路)66に供給する。この第2の2逓倍部66はアンド
ゲート回路66a,66bに各々の前記出力信号i,j
と繰返パネル信号kを入力し、前記繰返パルス信号kと
同じ180°周期のパルスを出力する。図8(a)では
正転状態(各波形の矢印方向で回転状態を示す)の正転
信号iに対するアンドゲート回路66bの出力パルスl
が180°周期の出力信号として出力され、逆転信号j
側のアンドゲート回路66aの出力信号mは、図のよう
に現れない。
Further, the phase pulses e, f of the chattering prevention unit 63 and the output signals i, f of the rotation direction discriminating unit 64.
A quadruple output is generated by j as follows. First,
The phase pulses e and f are converted into XOR (Exclusive).
OR) first doubler of circuit 65a (pulse generation circuit)
A repeating pulse signal k having a cycle of 180 ° is generated by supplying an exclusive OR of two phase pulses to the signal 65. This repeated pulse signal k is applied to the chattering prevention unit 63.
90 ° phase in forward / reverse due to the hysteresis characteristics of
Moving. On the other hand, the output signals i, j of the rotation direction discrimination unit 64
And the repetitive pulse signal k which is the output of the first doubler 65 is supplied to a second doubler (pulse generation circuit) 66 which further doubles it. The second doubler 66 supplies the output signals i, j to the AND gate circuits 66a, 66b.
And the repetitive panel signal k is input, and a pulse having the same 180 ° cycle as the repetitive pulse signal k is output. In FIG. 8A, the output pulse l of the AND gate circuit 66b with respect to the normal rotation signal i in the normal rotation state (indicated by the arrow direction of each waveform).
Is output as an output signal with a cycle of 180 °, and the reverse signal j
The output signal m of the AND gate circuit 66a on the side does not appear as shown in the figure.

【0026】このように回転方向弁別の済んだ正転方向
の2逓倍パルスlをワンショットパルス回路66e,6
6fに供給することによって、出力パルスlの立ち上が
り及び立ち下がりエッジで、即ち、90°周期でロータ
リエンコーダ24の出力である2相パルスから4逓倍さ
れた正転パルスnをポジィティブノア(NOR)回路6
6hを介して主軸移動パルスとして出力端子67bより
出力することができる。一方、逆転時には図8(b)に
示すように(図中、矢印方向で回転状態を示す)、回転
方向弁別部64bで逆転方向を弁別した逆転信号jによ
ってゲート回路66aの出力に出力パルスmが得られ、
この出力パルスmの立ち上がり及び立ち下がりエッジで
動作するワンショット回路66c,66dから90°周
期の4逓倍された逆転パルスpをポジィティブノア(N
OR)回路66gを介して主軸移動パルスの出力端子6
7aに出力することができる。
The one-shot pulse circuits 66e, 6 are supplied with the double pulse 1 in the forward direction, which has been discriminated in the direction of rotation in this way.
By supplying 6f to the positive and negative edges of the output pulse 1, that is, the positive rotation pulse n which is quadrupled from the two-phase pulse which is the output of the rotary encoder 24 at a 90 ° cycle, is a positive NOR (NOR) circuit. 6
It can be output from the output terminal 67b as a spindle movement pulse via 6h. On the other hand, at the time of reverse rotation, as shown in FIG. 8B (in the figure, the rotation state is indicated by the arrow direction), the output pulse m is output to the output of the gate circuit 66a by the reverse rotation signal j which discriminates the reverse rotation direction by the rotation direction discrimination unit 64b. Is obtained,
From the one-shot circuits 66c and 66d which operate at the rising and falling edges of the output pulse m, the reverse pulse p multiplied by 4 in a 90 ° cycle is fed to the positive NOR (N).
OR) output terminal 6 for the spindle movement pulse via circuit 66g
Can be output to 7a.

【0027】図8(b)は逆転状態を示すタイミングチ
ャートであり、A相,B相のパルスが図上で右から左方
向出力する状態では、位相パルスe,fが得られる。そ
して、図の270°の位置で正転信号iがリセットさ
れ、次の180°の位置で逆転信号jが立ち上る。従っ
て、繰返パルスkに基づき4倍の検出能力を有する逆転
パルスpが得られる。
FIG. 8B is a timing chart showing the reverse rotation state. In the state where the A-phase and B-phase pulses are output from the right to the left in the figure, the phase pulses e and f are obtained. Then, the forward rotation signal i is reset at the position of 270 ° in the figure, and the reverse rotation signal j rises at the next position of 180 °. Therefore, the reverse pulse p having the quadruple detection capability based on the repeated pulse k is obtained.

【0028】このように、ばね加工機、例えば、熱間コ
イリング機20の主軸移動を検出するロータリエンコー
ダ24の出力信号が前記4逓倍回路8aに供給されるこ
とによって、結果的に4逓倍した出力パルスn,pが得
られ、これにより4倍の検出分解能で従軸の制御が可能
となる。しかも、前述したようにJ−Kフリップフロッ
プ回路63a,63b及びDフリップフロップ回路64
a,64bのヒステリシス特性による各々90°のデッ
ドタイムにより、合計180°のデッドタイムを得るこ
とができ、ロータリエンコーダ24のチャタリング現象
によるミスカウントパルスの発生を防止することができ
る。図9,10はロータリエンコーダの軸振動によるチ
ャタリングが0°近傍で発生し、位相角度0°を正転方
向で通過した後、逆転して0°を再度通過して戻り、再
々度正転方向に変化して同0°を通過するようなチャタ
リングに対する各部の信号波形を示したものである。
As described above, the output signal of the rotary encoder 24 for detecting the main shaft movement of the spring working machine, for example, the hot coiling machine 20 is supplied to the quadruple multiplication circuit 8a, resulting in a quadrupled output. Pulses n and p are obtained, which makes it possible to control the slave axis with four times the detection resolution. Moreover, as described above, the JK flip-flop circuits 63a and 63b and the D flip-flop circuit 64 are provided.
Due to the 90 ° dead time due to the hysteresis characteristics of a and 64b, a total of 180 ° dead time can be obtained, and the occurrence of miscount pulses due to the chattering phenomenon of the rotary encoder 24 can be prevented. 9 and 10 show that chattering due to shaft vibration of the rotary encoder occurs near 0 °, passes through the phase angle of 0 ° in the forward rotation direction, then reverses, passes through 0 ° again, and returns again in the forward rotation direction. 3 shows signal waveforms of respective parts for chattering that changes to 0 and passes through 0 °.

【0029】図10に示すように、逆転時には位相パル
スe,fはいずれも“L”レベルに保持されたままであ
り、又、回転方向を示す正転信号iも“H”レベルで正
転状態を示している。この状態では、又、繰返パルスk
も“L”レベルであるから、出力端子67a,67bに
も出力パルスは得られない。そして、再び正転状態に入
り、90°の位置で位相パルスeが立ち上るから、繰返
パルスkの出力が開始し、再び正転パルスnが得られ
る。このようにチャタリングが生じてもミスパルスは出
力されない。
As shown in FIG. 10, during reverse rotation, the phase pulses e and f are both kept at "L" level, and the normal rotation signal i indicating the rotation direction is at "H" level. Is shown. In this state, the repetitive pulse k
Also at "L" level, no output pulse is obtained at the output terminals 67a and 67b. Then, the normal rotation state is again entered, and the phase pulse e rises at the position of 90 °, so that the output of the repeating pulse k is started and the normal rotation pulse n is obtained again. Even if chattering occurs, the miss pulse is not output.

【0030】図11,12は270°近傍でチャタリン
グが発生した状態を示しており、この場合も位相パルス
e,fはそれぞれ“L”,“H”レベルに保持されたま
まであり、正転信号iと繰返パルスkは共に“H”レベ
ルに保持されている。このため、0°に戻った状態では
再び位相パルスfが出力されるから、再び出力端子67
bに正転パルスnが得られる。
11 and 12 show a state in which chattering has occurred near 270 °, and in this case as well, the phase pulses e and f are kept at the "L" and "H" levels, respectively, and the normal rotation signal is generated. Both i and the repeating pulse k are held at the "H" level. For this reason, since the phase pulse f is output again in the state of returning to 0 °, the output terminal 67 is output again.
A forward rotation pulse n is obtained at b.

【0031】以上、パルスの出力タイミングを位相角度
0°,270°の場合について説明したが、他の如何な
るパルス出力タイミングの位相角度であっても、前記ヒ
ステリシス特性のデッドタイムによって不要なチャタリ
ングパルスの発生を防止することは明確である。このよ
うに不要なチャタリングパルスの発生やチャタリングに
よる回転方向弁別切替えを防止した4逓倍回路8aの出
力信号は、元の4倍の分解能を有した高精度の主軸移動
状態を検出することができ、この高分解能の主軸検出信
号は、“ならい”制御回路8bに加えられ従軸送り指令
が従軸ドライバ機構に供給されて、各種のばね加工機の
主軸移動に対する従軸移動を正確に実行することがで
き、より正確なコイリング作業を行うことができる。
Although the pulse output timings have been described above in the case of the phase angles of 0 ° and 270 °, unnecessary chattering pulses are generated due to the dead time of the hysteresis characteristic at any other pulse output timing phase angle. It is clear to prevent the occurrence. In this way, the output signal of the quadrupling circuit 8a which prevents the generation of unnecessary chattering pulses and the rotation direction discrimination switching due to chattering can detect the high-precision spindle movement state having a resolution four times the original, This high-resolution spindle detection signal is applied to the "tracing" control circuit 8b, and a slave-axis feed command is supplied to the slave-axis driver mechanism to accurately execute slave-axis movement with respect to the spindle movement of various spring machines. Therefore, more accurate coiling work can be performed.

【0032】[0032]

【発明の効果】この発明に係るばね製造装置に於ける数
値指令装置の位置検出回路は上述のように構成したの
で、ばね加工機の主軸がロータリエンコーダの位相象限
境界線上に停止した際に良く起こるロータリエンコーダ
の軸振動によるミスパルスの発生を防止することができ
る。主軸がロータリエンコーダの位相象限境界線上にて
n回振動すれば、これによりn個のミスパルスが発生
し、これによる従軸への実指令が行われ、装置の誤動作
が生じ、加工形状へ悪影響をもたらし、製品品質の低下
になる。更に、4逓倍回路によってロータリエンコーダ
の検出信号に対して4倍の分解能が得られ、より高精度
の従軸移動制御が可能であるという効果がある。又、用
途も熱間又は冷間コイリング機や熱間板ばね圧延機など
広範囲に渡って使用でき、しかも、構造が簡単であっ
て、また、安価に構成することができるため実施も容易
であるなどの優れた特徴を有している。実際上、従来の
装置と比べ、熱間と冷間とではバラツキの程度には差が
あるが、板ばねに於いてはテーパー部、コイルばねに於
いては自由長、コイルの径のバラツキが約25%〜50
%になり極めて高品質になった。
Since the position detection circuit of the numerical command device in the spring manufacturing apparatus according to the present invention is configured as described above, it is preferable that the main shaft of the spring machine is stopped on the phase quadrant boundary line of the rotary encoder. It is possible to prevent the occurrence of miss pulses due to the shaft vibration of the rotary encoder. If the main shaft oscillates n times on the phase quadrant boundary of the rotary encoder, n miss pulses will be generated by this, and the actual command to the slave shaft will be issued, which will cause malfunction of the device and adversely affect the machining shape. Result in poor product quality. Further, there is an effect that the quadruple multiplication circuit can obtain a quadruple resolution with respect to the detection signal of the rotary encoder, and more highly precise slave axis movement control can be performed. Further, it can be used in a wide range of applications such as a hot or cold coiling machine and a hot leaf spring rolling machine, and has a simple structure and can be constructed at low cost, so that it is easy to implement. It has excellent features such as. Actually, there is a difference in the degree of variation between hot and cold compared with the conventional device, but there are variations in the taper portion of the leaf spring, the free length of the coil spring, and the diameter of the coil. About 25% to 50
%, Which is extremely high quality.

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

【図1】この発明に係るばね製造装置に於ける数値指令
装置の位置検出回路の実施例を示した数値制御装置と各
種のばね加工機のブロック図である。
FIG. 1 is a block diagram of a numerical control device and various spring processing machines showing an embodiment of a position detection circuit of a numerical command device in a spring manufacturing device according to the present invention.

【図2】NC指令装置と主軸移動/従軸移動の制御動作
を示したブロック図である。
FIG. 2 is a block diagram showing a control operation of an NC command device and a main axis movement / slave axis movement.

【図3】熱間コイリング機のブロック図である。FIG. 3 is a block diagram of a hot coiling machine.

【図4】熱間板ばね圧延機のブロック図である。FIG. 4 is a block diagram of a hot leaf spring rolling machine.

【図5】熱間たる型ばねコイリング機のブロック図であ
る。
FIG. 5 is a block diagram of a hot barrel type spring coiling machine.

【図6】冷間コイリング機のブロック図である。FIG. 6 is a block diagram of a cold coiling machine.

【図7】ロータリエンコーダの2相パルスを4逓倍する
4逓倍回路の回路図である。
FIG. 7 is a circuit diagram of a quadruple multiplication circuit that multiplies the two-phase pulse of the rotary encoder by four.

【図8】4逓倍回路の正転及び逆転状態の各部の波形を
表したタイミングチャートである。
FIG. 8 is a timing chart showing the waveform of each part in the normal rotation and reverse rotation states of the quadruple multiplication circuit.

【図9】0°近傍の各要部のレベルを説明する図であ
る。
FIG. 9 is a diagram illustrating the level of each main part near 0 °.

【図10】0°近傍でチャタリングを起こし、逆転して
いる状態を示す図である。
FIG. 10 is a diagram showing a state in which chattering occurs in the vicinity of 0 ° and the rotation is reversed.

【図11】270°近傍の要部のレベルを説明する図で
ある。
FIG. 11 is a diagram illustrating a level of a main part near 270 °.

【図12】270°近傍で逆転している状態を示す図で
ある。
FIG. 12 is a diagram showing a state of being reversed around 270 °.

【符号の説明】 1 NC指令装置 6 演算制御部 7 演算CPU部 7a メインCPU 7b サブCPU 8 制御カウンター部 8a 4逓倍回路 8b ならい制御回路 20 熱間コイリング機 30 熱間板ばね圧延機 40 熱間たる型ばねコイリング機 50 冷間コイリング機 62 位相検出部 63 振動防止部 64 回転方向弁別部 65 第1の2逓倍部(パルス生成回路) 66 第2の2逓倍部(パルス生成回路)[Explanation of Codes] 1 NC command device 6 Arithmetic control unit 7 Arithmetic CPU unit 7a Main CPU 7b Sub CPU 8 Control counter unit 8a 4 multiplication circuit 8b Tracing control circuit 20 Hot coiling machine 30 Hot leaf spring rolling machine 40 Hot Barrel type spring coiling machine 50 cold coiling machine 62 phase detector 63 vibration preventer 64 rotation direction discriminator 65 first doubler (pulse generator) 66 second doubler (pulse generator)

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 A相とB相の2相パルスを出力するロー
タリエンコーダにおいて、 前記A相とB相の2相パルスから前記ロータリエンコー
ダの位相象限を検出する位相検出回路と、前記位相検出
回路で検出される位相パルスに基づき前記2相パルスと
90度位相が異なり、且つ、ヒステリシスを有する2つ
の位相パルスを出力する振動防止回路と、前記振動防止
回路から出力される前記位相パルスに基づきロータリエ
ンコーダの正転を示す正転信号と逆転を示す逆転信号を
検出するロータリエンコーダの回転方向弁別回路と、前
記2つの位相パルスの排他的論理和を求めることにより
ロータリエンコーダの各位相象限毎にレベルが変化する
繰返パルスを得る排他的論理和回路と、前記排他的論理
和回路の出力に得られる繰返パルスと前記回転方向弁別
回路で得られる正転信号及び逆転信号とに基づき4逓倍
の正転パルス及び逆転パルスを得るパルス生成回路とで
構成したことを特徴とするばね製造装置に於ける数値指
令装置の位置検出回路。
1. A rotary encoder for outputting two-phase pulses of A phase and B phase, a phase detection circuit for detecting a phase quadrant of the rotary encoder from the two-phase pulse of A phase and B phase, and the phase detection circuit. A vibration preventing circuit that outputs two phase pulses having a 90 degree phase difference from the two-phase pulse and having hysteresis based on the phase pulse detected by the above, and a rotary based on the phase pulse output from the vibration preventing circuit. A rotary direction discriminating circuit for detecting a forward rotation signal indicating forward rotation and a reverse rotation signal indicating reverse rotation of the encoder, and a level for each phase quadrant of the rotary encoder by obtaining an exclusive OR of the two phase pulses. , An exclusive-OR circuit for obtaining a repeating pulse whose value changes, and a repeating pulse and the rotation obtained at the output of the exclusive-OR circuit. Position detection of a numerical command device in a spring manufacturing device, characterized by comprising a pulse generating circuit for obtaining a quadruple normal rotation pulse and a reverse rotation pulse based on a normal rotation signal and a reverse rotation signal obtained by a direction discrimination circuit. circuit.
JP31481695A 1995-11-08 1995-11-08 Position detecting circuit for numerical command device in spring production device Pending JPH09136131A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31481695A JPH09136131A (en) 1995-11-08 1995-11-08 Position detecting circuit for numerical command device in spring production device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31481695A JPH09136131A (en) 1995-11-08 1995-11-08 Position detecting circuit for numerical command device in spring production device

Publications (1)

Publication Number Publication Date
JPH09136131A true JPH09136131A (en) 1997-05-27

Family

ID=18057954

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31481695A Pending JPH09136131A (en) 1995-11-08 1995-11-08 Position detecting circuit for numerical command device in spring production device

Country Status (1)

Country Link
JP (1) JPH09136131A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012015009A1 (en) * 2010-07-30 2012-02-02 日本発條株式会社 Apparatus for manufacturing coil spring

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012015009A1 (en) * 2010-07-30 2012-02-02 日本発條株式会社 Apparatus for manufacturing coil spring
CN103037997A (en) * 2010-07-30 2013-04-10 日本发条株式会社 Apparatus for manufacturing coil spring
AU2011283525B2 (en) * 2010-07-30 2014-10-30 Nhk Spring Co., Ltd. Coil-spring manufacturing apparatus
CN103037997B (en) * 2010-07-30 2015-04-08 日本发条株式会社 Apparatus for manufacturing coil spring
US9056349B2 (en) 2010-07-30 2015-06-16 Nhk Spring Co., Ltd. Coil-spring manufacturing apparatus

Similar Documents

Publication Publication Date Title
CN103123478B (en) Synchronous control apparatus
EP2072166B1 (en) Method and device for detecting tooth matching angle of gear
JPH01210839A (en) Method and machine for measuring errors of gear
CN109782815B (en) Complex profile self-adaptive measurement path planning method based on multi-axis linkage system
CN104209808A (en) Machine tool and control method therefor
JP4014719B2 (en) NC machine tool control apparatus and positioning control method
JPH0346842B2 (en)
JPH09136131A (en) Position detecting circuit for numerical command device in spring production device
CN113702705A (en) Phase synchronization measurement system and measurement method for double-shaft precision centrifuge
EP1593950A1 (en) Device for testing the radial runout of gears
JP3127785B2 (en) Gear tooth profile measuring device
JP4503148B2 (en) Compensator for feeding mechanism of numerically controlled machine tool and numerically controlled machine tool
JPH09141371A (en) Controller for coiling machine
JP3902256B2 (en) Positioning device
JPH02159990A (en) Speed control system of servo-motor
JPH09136130A (en) Copying control circuit for numerical command device in spring production device
KR950005895B1 (en) Gear testing apparatus
JPH09136129A (en) Method for controlling spring production device
CN102927929B (en) Detecting method for cam contour detecting system
JPH06301423A (en) Control system for multiple axes
WO2022091941A1 (en) Servo control device
CN204700097U (en) Bending roll machine
JPS6111820A (en) Absolute position detector of servo control system
CN114603369B (en) Control method for turntable system of numerical control machine tool, numerical control system and computer readable medium
CN110543138B (en) Spindle positioning method