JPS58178406A - Nc data generating device for numerical control - Google Patents

Nc data generating device for numerical control

Info

Publication number
JPS58178406A
JPS58178406A JP6187182A JP6187182A JPS58178406A JP S58178406 A JPS58178406 A JP S58178406A JP 6187182 A JP6187182 A JP 6187182A JP 6187182 A JP6187182 A JP 6187182A JP S58178406 A JPS58178406 A JP S58178406A
Authority
JP
Japan
Prior art keywords
data
circle
point
arc
straight line
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
JP6187182A
Other languages
Japanese (ja)
Inventor
Yoko Minami
南 洋子
Yutaka Tanaka
豊 田中
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP6187182A priority Critical patent/JPS58178406A/en
Publication of JPS58178406A publication Critical patent/JPS58178406A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/42Recording and playback systems, i.e. in which the programme is recorded from a cycle of operations, e.g. the cycle of operations being manually controlled, after which this record is played back on the same machine
    • G05B19/4202Recording and playback systems, i.e. in which the programme is recorded from a cycle of operations, e.g. the cycle of operations being manually controlled, after which this record is played back on the same machine preparation of the programme medium using a drawing, a model
    • G05B19/4205Recording and playback systems, i.e. in which the programme is recorded from a cycle of operations, e.g. the cycle of operations being manually controlled, after which this record is played back on the same machine preparation of the programme medium using a drawing, a model in which a drawing is traced or scanned and corresponding data recorded
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/34Director, elements to supervisory
    • G05B2219/34101Data compression, look ahead segment calculation, max segment lenght

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Numerical Control (AREA)

Abstract

PURPOSE:To generate less-redundancy, high-density, and high-efficiency NC data by finding data on a straight-line, circle, or arc approximating a group of numbers of sampled dot coordinates within a permissible error range. CONSTITUTION:A perpendicular is drawn from a point P3 to the circle determined by three points P1, P2, and P4 and when its length is within the permissible error range, perpendiculars are drawn from the points P2 and P4 to the circle determined by three points P1, P3, and P5 to check whether the lengths of both perpendiculars are within the permissible error range or not. Said operation is performed repeatedly until the length of a perpendicular exceeds the permissible error range, and an arc determined one stage before is regarded as NC data. Then when the angle alpha between the straight line (l) connecting the starting point Q and the ending point R of the circle and a tangent (l) running on the starting point Q or the ending point R is within the permissible error range, or when the center point of this arc exceeds a maximum command value, the arc is further approximated to the straight line connecting the starting point and the ending point together.

Description

【発明の詳細な説明】 この発明は数値制御用Noデータ作成装置、特にデジタ
イザー等の読取装置から採取された多数の点列座標群か
ら直線、円あるいは円弧デーVりを近似してNoデータ
を作成するものに関する。
DETAILED DESCRIPTION OF THE INVENTION This invention generates No. data by approximating a straight line, circle, or arc from a large number of point sequence coordinates collected from a No. data creation device for numerical control, particularly a reading device such as a digitizer. Regarding what you create.

数値制御用Noデータ作成装置は、第1図にその従来例
を示すように、デジタイザーの如き座標読取装置lOと
演算手段を含む情報処理装置14とによって構成される
。そして、読取装置10に付属するスタイラスペン12
で該読取装置10の読取盤面を押えることにより、この
押えた点の座標が電気的に読取られて処理装置14に逐
次入力される。処理装置14は磁気ディスク等の外部記
憶装置16を有し、座標読取装置10によって読取られ
た多数の点列座標群を多数の直線、円あるいは円弧デー
タ群に近似し、この近似データから例えばNOテープ1
8に書込まれたNoデータを作成する。座標読取装置1
0の読取盤面には例えば図面が置かれ、この図面上の線
をスタイラスペン12でなぞりながらその線に沿った点
の座標が読取られる。このようにして読取られた多数の
点データは、必要な補正が行なわれた後、−担外部記憶
装置16に格納される。情報処理装置14はその記憶装
置16から点データを読込んで、N。
As shown in a conventional example in FIG. 1, the numerical control No. data creation device is composed of a coordinate reading device 10 such as a digitizer and an information processing device 14 including a calculation means. A stylus pen 12 attached to the reading device 10
By pressing the reading surface of the reading device 10, the coordinates of the pressed point are electrically read and sequentially input to the processing device 14. The processing device 14 has an external storage device 16 such as a magnetic disk, and approximates a large number of point sequence coordinate groups read by the coordinate reading device 10 to a large number of straight line, circle, or circular arc data groups, and from this approximated data, for example, NO. tape 1
Create the No data written in 8. Coordinate reading device 1
For example, a drawing is placed on the reading board surface of 0, and as the lines on the drawing are traced with the stylus pen 12, the coordinates of points along the lines are read. A large number of point data read in this manner are stored in the external storage device 16 after necessary corrections are made. The information processing device 14 reads the point data from the storage device 16 and performs N.

テープ作成のための近似演算を行なうのである。Approximate calculations are performed to create the tape.

近似の仕方としては、すべての点を直線で結ぶ方法、3
点ずつを円で結ぶ方法、あるいは互いに接する円弧でな
めらかに結んで行く方法等がある。
Approximation methods include connecting all points with straight lines, 3.
There are methods such as connecting points one by one with a circle, or connecting points smoothly with circular arcs that touch each other.

ところで、従来の数値制御用データでは、座標読取装置
10によって採取された多数の点列座標群のすべてが直
線、円あるいは円弧データに近似されていたため、採取
された点列の数に応じて多数の直線、円あるいは円弧デ
ータが作成されてしま(・、これがNoデータ作成のた
めに使用されていた。このため、採取された点列の数が
必要以上に多いと、その点列の多さがそのままNoテー
ゾ18の長さに比例してしまい、場合によっては、処理
装置14での演算処理のために、さらに長いしまうのを
防止するためには、採取する点列の数を制限する必要が
あるが、しかし必要最小限の数だけの点列な選んで採取
することは現実に不可能であり、採取する点列の数を無
理に制限すれば、図形の輪郭を読み誤まる等の、単純な
誤差以上の重大な読取エラー発生の危険が生じる。この
ため、実際には不必要な点列までも採取せざるを得す、
この結果非常に冗長なNOテープが作成され、かつその
テープ作成にも非常に時間がかかつていた。
By the way, in conventional numerical control data, all of the large number of point sequence coordinate groups collected by the coordinate reading device 10 are approximated to straight line, circle, or circular arc data. straight line, circle, or arc data was created (this was used to create the No. is directly proportional to the length of No. 18, and in some cases, it is necessary to limit the number of point sequences to be sampled in order to prevent it from becoming even longer due to arithmetic processing in the processing device 14. However, it is actually impossible to select and collect only the minimum necessary number of point sequences, and if the number of point sequences to be collected is forcibly limited, the outline of the figure may be misread. , there is a risk of a reading error occurring that is more serious than a simple error.For this reason, it is necessary to collect point sequences that are actually unnecessary.
As a result, a very redundant NO tape was created, and it took a very long time to create the tape.

この発明は前述した従来の課題Kmみてなされたもので
、その目的は、採取される点列の数を無理に制限するこ
とを行なわずとも、多数の採取径れた点列から冗長度の
l」\さい高密度かつ高能率のNOデータを作成するこ
とができる数値制御用NOデータ作成装置を提供するこ
とにある。
This invention was made in view of the above-mentioned conventional problem, and its purpose is to reduce redundancy from a large number of sampled point sequences without forcibly limiting the number of sampled point sequences. \\An object of the present invention is to provide an NO data creation device for numerical control that can create NO data with high density and high efficiency.

上記目的を達成するために、この発明は、デジタイザー
等の座標読取装置から採取された多数の点列座標群から
抽出される少数の点列座標群によって、採取された多数
の点列座標群に許容誤差範囲内で近似する直線、円ある
いは円弧データを求める演算手段を備え、この演算手段
によって求められた直線、円あるいは円弧データからN
Oデータを作成するようにしたことを特徴とする。
In order to achieve the above-mentioned object, the present invention enables a large number of point sequence coordinates to be extracted from a large number of point sequence coordinates collected from a coordinate reading device such as a digitizer. Equipped with a calculation means for obtaining approximate straight line, circle, or arc data within a tolerance range, and N from the straight line, circle, or arc data obtained by this calculation means.
The present invention is characterized in that O data is created.

以下、この発明の好適な実施例を図面に基づいて説明す
る。
Hereinafter, preferred embodiments of the present invention will be described based on the drawings.

先ず、この発明の一実施例の構成は、第1図に示した従
来のものと基本的に同じであるので、その詳細について
は説明を省略する。ただ、その情報処理装置14内に含
まれる演算手段の構成が従来と異なる。すなわち、その
演算手段は、直線、円あるいは円弧データを特定するの
に最低必要な数の点列から近似を開始し、上記点列の数
を順次増大させて許容誤差範囲内で最大数の点列に近似
する直線、あるいは円弧データを求めるように構成され
ている。以下、その具体的な動作例を示す。
First, since the configuration of an embodiment of the present invention is basically the same as the conventional configuration shown in FIG. 1, detailed explanation thereof will be omitted. However, the configuration of the calculation means included in the information processing device 14 is different from the conventional one. In other words, the calculation means starts approximation from the minimum number of point sequences required to specify straight line, circle, or arc data, and sequentially increases the number of point sequences to obtain the maximum number of points within the tolerance range. It is configured to obtain straight line or circular arc data that approximates a column. A specific example of its operation will be shown below.

先ず、第2図において、P1〜P6で示される点は、座
標読取装置から読取られた点で、Pl、P2、P3、P
4、P5、P6の順に読取られた(a)参照)、その垂
線の長さが許容誤差範囲内にあるか否かを判定する。範
餌内である場合には、次にPl、P3、P5の3点によ
って決まる円に、P2、P4から垂線を下ろす(同図(
b)参照)。その垂線の長さが再び両方とも許容誤差範
囲内であれば、同様にして、P2、P4、P6によって
決まる円に、PI、P3、P5から垂線を下ろし、その
すべての垂線の長さが何れも許容誤差範囲内であるか否
かをみる。このような操作を繰り返えして行き、円に下
ろした垂線の長さが許容誤差範囲を越える点が現われた
ところで、その一段階前に決定した円弧をNOテープに
出力すべきNOデータとする。そして、以上のようにし
て決定された円弧について、同図(c)に示すように、
円の始点Qと終点Rを結んだ直1s!と、始点Qまたは
終点Bを通る接atのなす角αが許容誤差範囲内にある
場合、またはこの円弧の中心点が最大指令値を越える場
合は、その円弧をさらに始点と終点を結ぶ直線に近似す
る。
First, in FIG. 2, the points indicated by P1 to P6 are the points read by the coordinate reading device, and are Pl, P2, P3, P
4, P5, and P6 (see (a))), it is determined whether the length of the perpendicular line is within the allowable error range. If it is within the range, then draw a perpendicular line from P2 and P4 to the circle determined by the three points Pl, P3, and P5 (see the same figure).
b)). If the lengths of the perpendicular lines are again both within the tolerance range, similarly, draw perpendicular lines from PI, P3, and P5 to the circle determined by P2, P4, and P6, and calculate the length of all the perpendicular lines. Check whether the value is also within the allowable error range. By repeating these operations, when a point appears where the length of the perpendicular line drawn to the circle exceeds the allowable error range, the arc determined one step earlier is used as the NO data to be output to the NO tape. do. Regarding the arc determined as above, as shown in FIG.
Direct line 1s connecting the starting point Q and ending point R of the circle! If the angle α formed by the tangent at that passes through the starting point Q or the ending point B is within the tolerance range, or if the center point of this arc exceeds the maximum command value, the arc is further transformed into a straight line connecting the starting point and the ending point. Approximate.

なお、許容誤差、角度は任意に設定される。Note that the tolerance and angle are set arbitrarily.

以上のようにして、座標読取装置から採取された多数の
点列座標群は、その不要な冗長分が除去されて、その中
から抽出された少数の点列座標群に許容範囲内で近似す
る直線、円あるいは円弧データが求められる。従って、
例えば第3図(、)のように採取された多くの点は、同
図(b)のように少数の点に圧縮される。
In this way, unnecessary redundancy is removed from the large number of point sequence coordinates collected from the coordinate reading device, and the coordinates are approximated to a small number of point sequence coordinates extracted from them within an acceptable range. Straight line, circle or arc data is required. Therefore,
For example, many points sampled as shown in FIG. 3(,) are compressed into a small number of points as shown in FIG. 3(b).

以上のように、この発明による数値制御用NOデータ作
成装置では、採取される点列の数を無理に制限すること
を行なわずとも、多数の採取された点列かも冗長度の7
4%さい高密度かつ高能率のNOデータを作成すること
ができる。
As described above, the NO data creation device for numerical control according to the present invention does not require forcibly limiting the number of sampled point sequences.
It is possible to create high-density and highly efficient NO data that is 4% smaller.

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

第1図は数値制御用Noデータ作成装置の基本的構成の
一例を示す図、第2図はこの発明の一実施例の装置にお
ける演算手段の動作の一例を説明するための図、第3図
は他の動作例を示す図である。 図中、同一部材には同一符号を付し、10は座聞取装置
、14は演算手段を含む情報処理装置、代理人 弁理士
  葛 野 信 − (外1名) +6 41 第2図 (0) 3 (C)
FIG. 1 is a diagram showing an example of the basic configuration of a numerical control No. data creation device, FIG. 2 is a diagram illustrating an example of the operation of the calculation means in the device according to an embodiment of the present invention, and FIG. is a diagram showing another example of operation. In the figure, the same parts are given the same reference numerals, 10 is the interrogation device, 14 is the information processing device including the calculation means, agent: Patent attorney Makoto Kuzuno - (1 other person) +6 41 Figure 2 (0) 3 (C)

Claims (1)

【特許請求の範囲】[Claims] (1)デジタイザー等の座標読取装置から採取された多
数の点列座標群から抽出される少数の点列座標群によっ
て、採取された多数の点列座標群に許容誤差範囲内で近
似する直線、円あるいは円弧データを求める演算手段を
備え、この演算手段によって求められた直線、円あるい
は円弧データからNoデータを作成するようにしたこと
を特徴とする数値制御用Noデータ作成装置。 (2、特許請求の範囲(1)の装置において、上記演算
手段は、直線、円あるいは円弧のデータを特定するのに
最低必要な数の点列から近似を開始し、上記点列の数を
1@次増大させて許容誤差範囲内で最大数の点列に近似
する直線、円あるいは円弧データを求めるように構成さ
れて(〆ることを特徴と
(1) A straight line that approximates a large number of point sequence coordinates collected within a tolerance range by a small number of point sequence coordinate groups extracted from a large number of point sequence coordinates collected from a coordinate reading device such as a digitizer; 1. A No. data creation device for numerical control, comprising a calculation means for determining circle or arc data, and No data is created from the straight line, circle or arc data determined by the calculation means. (2. In the device according to claim (1), the calculation means starts approximation from the minimum number of point sequences necessary to specify the data of a straight line, circle, or circular arc, and calculates the number of the point sequences. It is configured to obtain straight line, circle, or arc data that approximates the maximum number of point sequences within the tolerance range by increasing the number of points by one order (characterized by closing).
JP6187182A 1982-04-14 1982-04-14 Nc data generating device for numerical control Pending JPS58178406A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6187182A JPS58178406A (en) 1982-04-14 1982-04-14 Nc data generating device for numerical control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6187182A JPS58178406A (en) 1982-04-14 1982-04-14 Nc data generating device for numerical control

Publications (1)

Publication Number Publication Date
JPS58178406A true JPS58178406A (en) 1983-10-19

Family

ID=13183614

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6187182A Pending JPS58178406A (en) 1982-04-14 1982-04-14 Nc data generating device for numerical control

Country Status (1)

Country Link
JP (1) JPS58178406A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62166407A (en) * 1986-01-18 1987-07-22 Hitachi Seiki Co Ltd Data constitution for graphic information of machine tool
JPH10240328A (en) * 1997-02-21 1998-09-11 Mitsubishi Electric Corp Numerical controller
JP2008003756A (en) * 2006-06-21 2008-01-10 Miyachi Technos Corp Laser marking method and device
CN110879572A (en) * 2018-09-05 2020-03-13 大隈株式会社 Numerical control device and numerical control method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS494085A (en) * 1972-05-04 1974-01-14
JPS5183984A (en) * 1974-12-20 1976-07-22 Fiat Spa
JPS5274185A (en) * 1975-12-16 1977-06-21 Toshiba Mach Co Ltd Program-driven contour processing machines
JPS5459580A (en) * 1977-10-20 1979-05-14 Inoue Japax Res Inc Recording method and apparatus for numerical control profile detecting signals

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS494085A (en) * 1972-05-04 1974-01-14
JPS5183984A (en) * 1974-12-20 1976-07-22 Fiat Spa
JPS5274185A (en) * 1975-12-16 1977-06-21 Toshiba Mach Co Ltd Program-driven contour processing machines
JPS5459580A (en) * 1977-10-20 1979-05-14 Inoue Japax Res Inc Recording method and apparatus for numerical control profile detecting signals

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62166407A (en) * 1986-01-18 1987-07-22 Hitachi Seiki Co Ltd Data constitution for graphic information of machine tool
JPH10240328A (en) * 1997-02-21 1998-09-11 Mitsubishi Electric Corp Numerical controller
JP2008003756A (en) * 2006-06-21 2008-01-10 Miyachi Technos Corp Laser marking method and device
CN110879572A (en) * 2018-09-05 2020-03-13 大隈株式会社 Numerical control device and numerical control method
CN110879572B (en) * 2018-09-05 2024-02-13 大隈株式会社 Numerical control device and numerical control method

Similar Documents

Publication Publication Date Title
JPS58178406A (en) Nc data generating device for numerical control
JPS6362639A (en) Working sequence controlled profile working machine
EP0346517B1 (en) Method for generating graphical models
JPH0470962A (en) Data processor
JPH05324555A (en) Already executed operation canceller
JPH05324556A (en) Already executed operation canceller
JPH06168074A (en) Common ionput/output device
JP4847028B2 (en) CAD data conversion program
JPH0223471A (en) Graphic input device
JPH0384674A (en) Cad device
JPH0363719A (en) Scanner device having coordinate input function
JPH07334300A (en) Mouse emulation system for pen operation
JPS60156173A (en) Pattern recognizing device
JPS59140484A (en) Graphic character pattern generator
JPH0863512A (en) Cad drawing data extraction method
JPH0281103A (en) Display method for nc working program
JPH038075A (en) Document storing system
JPH04128794A (en) Graphic editing device
JPH0452989B2 (en)
JPH0296850A (en) Deletion/restoration processing system for variable length data
JPH04149722A (en) Input device
JPH0447430A (en) Document split management system for document processor
JPH04288623A (en) Editing device
JPH10293771A (en) Electronic circuit drawing input device
JPS61251956A (en) Document processor