TWI773483B - Sensing data processing method - Google Patents

Sensing data processing method Download PDF

Info

Publication number
TWI773483B
TWI773483B TW110129854A TW110129854A TWI773483B TW I773483 B TWI773483 B TW I773483B TW 110129854 A TW110129854 A TW 110129854A TW 110129854 A TW110129854 A TW 110129854A TW I773483 B TWI773483 B TW I773483B
Authority
TW
Taiwan
Prior art keywords
data
value
curve
point
extreme value
Prior art date
Application number
TW110129854A
Other languages
Chinese (zh)
Other versions
TW202307693A (en
Inventor
粘世智
黃明賢
張雅琁
Original Assignee
國立臺東專科學校
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 國立臺東專科學校 filed Critical 國立臺東專科學校
Priority to TW110129854A priority Critical patent/TWI773483B/en
Application granted granted Critical
Publication of TWI773483B publication Critical patent/TWI773483B/en
Publication of TW202307693A publication Critical patent/TW202307693A/en

Links

Images

Landscapes

  • Injection Moulding Of Plastics Or The Like (AREA)
  • Communication Control (AREA)

Abstract

A sensing data processing method includes a data reduction step and a reduction point data curve fitting step. The data reduction step is to find the period of the noise bandwidth in the original data volume by Fourier analysis, then perform a moving average, and then use the difference point to acquire the effective reduction point data, wherein the Y-axis is used as the reference for segmentation capture to obtain reduction point data. The reduction point data curve fitting step is to perform curve fitting on the reduction point data. The effect of the present invention is that the method of capturing reduction point data is based on the Y-axis as the basis for segmented capture, which can visualize the turning points and characteristic points of the data, and preserve the characteristic value of the curve, so that the combined curve can be closer to the original data curve.

Description

感測資料處理方法Sensing data processing method

本發明是關於一種感測資料處理方法,特別是指一種用以將監測射出成型過程中所取得之龐大資料量進行減量與擬合的感測資料處理方法。 The present invention relates to a sensing data processing method, in particular to a sensing data processing method for reducing and fitting the huge amount of data obtained in the monitoring injection molding process.

射出成型在射出過程中,會關閉模具,填充、保壓、冷卻階段都為不可目視之狀態,所以傳統塑膠射出人員都是依照經驗或是試誤法進行試模以及機台參數設定,試模完成後給予一機台參數設定,但實際上生產時容易受到環境、材料批次、熔膠狀態、機台控制等因素影響,使得塑膠製品在生產時容易有不良品產生。因此在射出成型中開始於模內加入感測器以量測成形過程中模內熔膠壓力、溫度、速度等物理量,以期能了解射出過程中熔膠的狀態變化。 During the injection molding process, the mold will be closed, and the filling, pressure holding, and cooling stages are all invisible. Therefore, traditional plastic injection personnel are based on experience or trial and error. After completion, a machine parameter setting is given, but in fact, it is easily affected by factors such as environment, material batch, melt state, machine control, etc., which makes plastic products prone to defective products during production. Therefore, in injection molding, sensors are added in the mold to measure physical quantities such as pressure, temperature, and speed of the melt in the mold during the molding process, in order to understand the state change of the melt during the injection process.

因應現今大數據與雲端技術的發展,許多工業將機台的數據收集並分析資料。然而,過多的數據量會造成儲存與分析上的困擾,若要由大量的數據中擷取所需的資訊,又會因為機台誤差、人為誤差、電線頻率問題等因素,使數據曲線產生震盪現象。因此,在曲線的判別上,將會無法判斷某個數據是否屬於雜訊,在特徵值的判別上也無法判定準確數據。 In response to the development of today's big data and cloud technology, many industries collect and analyze data from machines. However, the excessive amount of data will cause troubles in storage and analysis. If the required information is to be extracted from the large amount of data, the data curve will oscillate due to factors such as machine error, human error, and wire frequency problems. Phenomenon. Therefore, in the judgment of the curve, it is impossible to judge whether a certain data belongs to noise, and it is impossible to judge the accurate data in the judgment of the eigenvalue.

因此,本發明之目的,即在提供一種感測資料減量的處理方法,用以處理射出成型過程中所取得之龐大資料量,可以在最大程度保留曲線特徵下將感測數據的資料量大幅降低。 Therefore, the purpose of the present invention is to provide a processing method for reducing the amount of sensing data, which is used to process the huge amount of data obtained in the injection molding process, and can greatly reduce the amount of data of the sensing data while retaining the curve characteristics to the greatest extent. .

本發明感測資料處理方法包含一資料減量步驟,及一減量點數據曲線擬合步驟。該資料減量步驟是以傅立葉分析找出原始資料量中雜訊頻寬的週期再進行移動平均,接著以差值取點擷取有效減量點數據,其中,所述差值取點是基於Y軸感測值設定一基準值及一Y軸差值來進行分段擷取,當該基準值與後續Y軸感測值的比對結果是小於該Y軸差值時,將該後續Y軸感測值視為雜訊而忽略,當該基準值與後續Y軸感測值的比對結果是大於該Y軸差值時,將該後續Y軸感測值作為一有效減量點數據。該減量點數據曲線擬合步驟是將減量點數據進行曲線擬合還原。 The sensing data processing method of the present invention includes a data reduction step and a reduction point data curve fitting step. The data reduction step is to find out the period of the noise bandwidth in the original data volume by Fourier analysis, and then perform a moving average, and then use the difference value point to extract the effective reduction point data, wherein the difference value point is based on the Y-axis. The sensing value is set as a reference value and a Y-axis difference value for segmental capture. When the comparison result between the reference value and the subsequent Y-axis sensing value is less than the Y-axis difference value, the subsequent Y-axis sensing value is obtained. The measured value is regarded as noise and ignored. When the comparison result between the reference value and the subsequent Y-axis sensing value is greater than the Y-axis difference value, the subsequent Y-axis sensing value is regarded as a valid decrement point data. The curve fitting step of the decrement point data is to perform curve fitting and restoration on the decrement point data.

本發明的另一技術手段,是在於差值取點是指Y軸點數據的差值是否大於特定值,若大於特定值才選取為有效減量點數據。 Another technical means of the present invention is that the difference value selection point refers to whether the difference value of the Y-axis point data is greater than a specific value, and if it is greater than the specific value, it is selected as valid decrement point data.

本發明的另一技術手段,是在於該Y軸差值是設定為射出成形模內熔膠壓力1Mpa。 Another technical means of the present invention is that the Y-axis difference is set to the melt pressure in the injection mold of 1Mpa.

本發明的另一技術手段,是在於該減量點曲線擬合步驟中,曲線必須通過所有的有效減量點數據,以將所有的有效減量點數據接合。 Another technical means of the present invention is that in the step of fitting the curve of the abatement point, the curve must pass through all the valid abatement point data to join all the valid abatement point data.

本發明的另一技術手段,是在於在將所述有效減量點數據進行接合時,會判斷下一個點數據是否存在區間極值,若否就繼續接合,若是則進行該區間極值的探討。 Another technical means of the present invention is that when the valid decrement point data is joined, it is judged whether the next point data has an interval extreme value, if not, the joining is continued, and if so, the interval extreme value is examined.

本發明的另一技術手段,是在於該區間極值的探討是判斷(a)區間極值與區間極值的前一點之間是否出現反曲點,若否,將區間極值之前一點的切線延伸,再以橢圓弧曲線擬合;若是,再判斷(b)區間極值與區間極值的前一點之連線的斜率是否大於1;若斜率不大於1,將區間極值與區間極值的前一點以兩個等徑圓弧進行擬合;若斜率大於1,則(c)將區間極值與區間極值的前一點以兩個不等徑圓弧與該兩個不等徑圓弧之公切線進行擬合。 Another technical means of the present invention is that the discussion of the interval extreme value is to determine (a) whether there is an inflection point between the interval extreme value and the previous point of the interval extreme value. Extend, and then fit the elliptic arc curve; if so, then judge (b) whether the slope of the connecting line between the interval extreme value and the previous point of the interval extreme value is greater than 1; if the slope is not greater than 1, the interval extreme value and the interval extreme value The previous point of the interval is fitted with two equal-diameter arcs; if the slope is greater than 1, then (c) the interval extreme value and the previous point of the interval extreme value are fitted with two unequal-diameter arcs and the two unequal-diameter circles The common tangent of the arc is fitted.

本發明之功效在於,減量點數據的擷取方式是以Y軸為基準進行分段擷取,能顯現原始數據曲線的區域極值與特徵點,更好的保存曲線的特徵,始得減量點數據擬合後的數據曲線能更接近原始數據曲線。本專利可透過Y軸為基準擷取減量點數據大幅降低感測數據的資料量,再透過減量點數據曲線擬合步驟還原感測數據曲線,可以在最大程度保留曲線特徵下將感測數據的資料量大幅降低。 The effect of the present invention lies in that the method of capturing the data of the reduction point is based on the Y-axis for segmental capture, which can display the regional extreme values and characteristic points of the original data curve, better preserve the characteristics of the curve, and then obtain the reduction point. The data curve after data fitting can be closer to the original data curve. This patent can use the Y-axis as the reference to capture the reduction point data to greatly reduce the data volume of the sensing data, and then restore the sensing data curve through the reduction point data curve fitting step, which can preserve the curve characteristics to the greatest extent. The amount of data is greatly reduced.

11:資料優化步驟 11: Data optimization steps

12:曲線擬合步驟 12: Curve fitting steps

圖1是一流程圖,為本發明感測資料處理方法之較佳實施例;圖2是一曲線圖,說明數據擷取卡所取得之原始數據;圖3是一曲線圖,為圖2之部分數據放大圖;圖4是一曲線圖,是以傅立葉分析找出雜訊頻寬的週期,再進行移動平均後的曲線;圖5是一曲線圖,為圖4之部分數據放大圖; 圖6是一曲線圖,說明數據差值大於1的減量圖;圖7是一曲線圖,說明數據差值大於1的減量放大圖;圖8是一曲線圖,說明數據差值大於2的減量圖;圖9是一曲線圖,說明數據差值大於2的減量放大圖;圖10是一曲線圖,為不考慮區間極值之一次曲線擬合圖;圖11是一曲線圖,為簡易曲線擬合圖;圖12是一曲線及減量點數據圖,為原始數據曲線及考慮區間極值之減量點數據圖;圖13是一點數據圖,為原始點數據及考慮區間極值之減量點數據放大圖;圖14是一曲線圖,為原始數據曲線與減量點數據擬合曲線疊合圖;圖15是一曲線圖,為圖14中15.5至17.5秒的曲線擬合模穴壓力放大圖;圖16是一曲線圖,為圖14中16.6至18.2秒的曲線擬合模穴壓力放大圖;圖17是一曲線圖,為圖14中17.5至19.5秒的曲線擬合模穴壓力放大圖;圖18是一曲線圖,為圖14中21至27秒的曲線擬合模穴壓力放大圖;及圖19是一曲線圖,為曲線區間極值擬合控制點示意圖。 FIG. 1 is a flow chart, which is a preferred embodiment of the sensing data processing method of the present invention; FIG. 2 is a graph illustrating the raw data obtained by the data capture card; Part of the data magnification; Fig. 4 is a graph, which is to find out the period of the noise bandwidth by Fourier analysis, and then carry out the curve after moving average; Fig. 5 is a graph, which is a part of the data magnification of Fig. 4; FIG. 6 is a graph illustrating a reduction graph with a data difference greater than 1; FIG. 7 is a graph illustrating an enlarged view of a decrement with a data difference greater than 1; FIG. 8 is a graph illustrating a decrement with a data difference greater than 2 Fig. 9 is a graph, illustrating that the data difference is greater than 2, the reduction magnification; Fig. 10 is a graph, which is a curve fitting graph without considering the interval extreme value; Fig. 11 is a graph, which is a simple curve Fitting diagram; Figure 12 is a curve and decrement point data diagram, which is the original data curve and the decrement point data diagram considering the interval extreme value; Figure 13 is a one-point data diagram, which is the original point data and the decrement point data considering the interval extreme value Enlarged figure; Fig. 14 is a graph, which is a superimposed graph of the original data curve and the fitting curve of the reduction point data; Fig. 15 is a graph, which is an enlarged graph of the curve fitting cavity pressure of 15.5 to 17.5 seconds in Fig. 14; Fig. 16 is a graph showing an enlarged view of the cavity pressure of the curve fitting from 16.6 to 18.2 seconds in Fig. 14; Fig. 17 is a graph showing an enlarged view of the cavity pressure of the curve fitting from 17.5 to 19.5 seconds in Fig. 14; FIG. 18 is a graph showing an enlarged view of the cavity pressure of the curve fitting from 21 to 27 seconds in FIG. 14 ; and FIG. 19 is a graph showing a schematic diagram of an extreme value fitting control point in the curve interval.

有關本發明之相關申請專利特色與技術內容,在以下配合參考圖式之較佳實施例的詳細說明中,將可清楚的呈現。在進行詳細說明前應注意的是,類似的元件是以相同的編號作表示。 The features and technical contents of the relevant patent applications of the present invention will be clearly presented in the following detailed description of the preferred embodiments with reference to the drawings. Before the detailed description, it should be noted that similar elements are designated by the same reference numerals.

本發明發展一種感測點數據減量並擬合還原數據曲線的數學模型,並以模穴壓力曲線為基準,對射出成型擷取的數據進行減量與整 理,射出成型每次運作都會收集一大筆數據,其中包含了電子設備的雜訊,因此曲線上會有震盪,無法確認特徵的數據。本發明透過函數模型,把點數據減量,並且在不破壞曲線特徵的情況下消除雜訊。預期能解決目前現有常見的擬合技術容易造成曲線特徵被濾除的問題,並藉以達到資料減量的目的,得以降低硬體的儲存空間。 The invention develops a mathematical model for reducing the data of the sensing point and fitting and restoring the data curve, and takes the mold cavity pressure curve as the benchmark to reduce and adjust the data captured by injection molding. As a matter of fact, injection molding collects a large amount of data every time it operates, including noise from electronic equipment, so there will be oscillations on the curve, and the characteristic data cannot be confirmed. The invention reduces the point data through the function model, and eliminates the noise without destroying the characteristic of the curve. It is expected to solve the problem that the current common fitting technology is likely to cause the curve features to be filtered out, thereby achieving the purpose of data reduction and reducing the storage space of the hardware.

首先要說明本發明是使用FANUC roboshots-2000i100b之射出成型機,以電線連接DAQ Card(數據擷取卡),可以將射出成型過程的原始數據擷取作進一步分析。於本發明中,DAQ Card所擷取的數據為安裝在近澆口以及遠澆口之模穴壓力感測器的數據。擷取到的數據量會輸入MATLAB軟體,使用數學軟體進行分析。其中,射出成型機、DAQ Card、模穴壓力感測器為本領域中具有通常知識者所能了解,亦非本案重點,不再贅述其細節。 First of all, it should be explained that the present invention uses the injection molding machine of FANUC roboshots-2000i100b, and connects the DAQ Card (data acquisition card) with wires, which can capture the original data of the injection molding process for further analysis. In the present invention, the data captured by the DAQ Card is the data of the cavity pressure sensors installed near the gate and the far gate. The captured data volume will be input into MATLAB software for analysis using mathematical software. Among them, the injection molding machine, the DAQ Card, and the cavity pressure sensor can be understood by those with ordinary knowledge in the field, and they are not the focus of this case, so they will not be repeated in detail.

參閱圖1,為本發明感測資料處理方法之較佳實施例,用以處理射出成型過程中所取得之龐大原始資料量,包含一資料減量步驟11,及一減量點數據曲線擬合步驟12。 Referring to FIG. 1, it is a preferred embodiment of the sensing data processing method of the present invention, which is used to process the huge amount of raw data obtained in the injection molding process, including a data reduction step 11 and a reduction point data curve fitting step 12. .

由於DAQ Card若每一毫秒會擷取一次資料,在短短的20秒內就會擷取兩萬筆資料,點數據越多會使得曲線越精確,但由於雜訊影響,會不利於往後的大數據分析,因為無法明確得知點數據是否為有效值或為雜訊,所以在分析過程中會無法得知區域極值特。如圖3將圖2原始數據圖之曲線10.28至10.34秒局部放大,會發現區域極值特徵值太多,因為時間是每毫秒擷取,所以大部分特徵是雜訊無法計算斜率積分及區域極值等特徵,需要濾除否則會影響分析曲線特徵結果,無法確定曲線上誤差是否為 有效曲線。要說明的是,在感測資料的擷取上,X軸為時間軸,Y軸為感測值,感測點於XY平面之座標之X值為時間,Y值為該時間當下之感測值。 Since the DAQ Card will capture data every millisecond, 20,000 data will be captured in just 20 seconds. The more point data, the more accurate the curve, but due to the influence of noise, it will be unfavorable for the future. Because it is impossible to know whether the point data is a valid value or a noise, it is impossible to know the regional extreme value characteristics during the analysis process. As shown in Figure 3, if the curve 10.28 to 10.34 seconds of the original data map of Figure 2 is partially enlarged, it will be found that there are too many eigenvalues of the regional extreme value. Because the time is captured every millisecond, most of the features are that the noise cannot calculate the slope integral and the regional extreme value. Values and other features need to be filtered out, otherwise it will affect the analysis curve feature results, and it is impossible to determine whether the error on the curve is effective curve. It should be noted that, in the acquisition of sensing data, the X axis is the time axis, the Y axis is the sensing value, the X value of the coordinates of the sensing point on the XY plane is the time, and the Y value is the current sensing at the time. value.

因此,該資料減量步驟11是以傅立葉分析找出原始資料量中雜訊頻寬的週期再進行移動平均,接著以差值取點擷取有效減量點數據,其中,以是Y軸為基準進行分段擷取,以獲得減量點數據。 Therefore, the data reduction step 11 is to find out the period of the noise bandwidth in the original data volume by Fourier analysis, and then perform a moving average, and then use the difference point to extract the effective reduction point data. Fragmented capture to obtain decrement point data.

更詳細地說,本實施例是以傅立葉分析找出雜訊頻寬的週期,再進行移動平均,可將雜訊削減使曲線更加平滑,且消除雜訊劇升劇降的突波數值點,如圖4的移動平均圖所示。另外,參閱圖5,10.28至10.34秒的紅點為原始數據量,藍點為移動平均的結果,可以看出曲線更加平順,許多雜訊劇升劇降的突波數值點相對被濾除,避免雜訊突波數值被誤取。 More specifically, in this embodiment, the period of the noise bandwidth is found by Fourier analysis, and then a moving average is performed to reduce the noise to make the curve smoother, and eliminate the spike value points where the noise sharply rises and falls. As shown in the moving average chart in Figure 4. In addition, referring to Figure 5, the red dots from 10.28 to 10.34 seconds are the original data volume, and the blue dots are the results of moving average. It can be seen that the curve is smoother, and many spurious value points with sharp rises and falls are relatively filtered out. To avoid the value of the noise surge being taken by mistake.

接下來進行差值取點作數據簡化。如圖6所示,為Y軸差值設定為1Mpa的減量圖,綠色的點為擷取的有效減量點數據,擷取的條件以第一點為基準值,當下一點跟第一點的數據差值大於1Mpa時為有效減量點數據,再以此點為下一個基準值,以此類推,每當數據差值大於1Mpa則擷取下一點點數據,以達到數據減量的效果。要特別說明的是,本實施例中,擷取點數據的方式有別於傳統以X軸為基準,是以Y軸為基準去擷取點數據,更能保存曲線的特徵值,如圖7所示,為Y軸差值設定為1Mpa的減量放大圖,可以看出,當以Y軸為基準進行點數據的擷取時,數據差值小於1Mpa之Y軸差值的雜訊不會被選取。此種方式是傳統以X軸為基準所無法達成的效果。 Next, take the difference points for data simplification. As shown in Figure 6, it is a decrement graph with the Y-axis difference set to 1Mpa. The green points are the effective decrement point data captured. The acquisition conditions take the first point as the reference value, and the data of the next point and the first point When the difference is greater than 1Mpa, it is the effective reduction point data, and then this point is used as the next reference value, and so on, when the data difference is larger than 1Mpa, the next bit of data is captured to achieve the effect of data reduction. It should be noted that, in this embodiment, the method of capturing point data is different from the traditional way of taking the X-axis as the benchmark, and taking the Y-axis as the benchmark to capture the point data, which can save the eigenvalues of the curve, as shown in Figure 7 As shown in the figure, it is an enlarged view of the decrement with the Y-axis difference set to 1Mpa. It can be seen that when the point data is captured with the Y-axis as the reference, the noise of the Y-axis difference whose data difference is less than 1Mpa will not be detected. Select. This method is an effect that cannot be achieved by the traditional X-axis reference.

本實施例亦以數據差值大於2Mpa之Y軸差值來測試擷取效果,圖8為Y軸差值設定為2Mpa的減量圖,綠色的點為擷取的有效減量點數 據,擷取的條件以第一點為基準值,當下一點跟第一點的數據差值大於2Mpa時為有效減量點數據,再以此點為下一個基準值,以此類推,每當數據差值大於2Mpa則擷取有效減量點數據。圖9為Y軸差值設定為2Mpa的減量放大圖,可以看出當數據差值大於2Mpa的Y軸差值才選擇下一個點數據時,有很多的特徵值會被犠牲而未選取(例如大約在17.9秒、18.2秒、18.5秒左右的轉折點),這樣的曲線因為未擷取到足夠的特徵值而容易失真。因此,取點之Y軸差值需是依曲線樣態及實際生產之有效差異值以選擇適當Y軸差值作為簡化數據的標準,Y軸差值太大容易忽略特徵,Y軸差值太小容易將雜訊波動納入特徵。本實施例是依曲線樣態選擇適當Y軸差值為1Mpa作為簡化數據的標準,更能保留足夠的特徵值。 In this embodiment, the Y-axis difference of the data difference is greater than 2Mpa to test the capture effect. Figure 8 is a reduction graph with the Y-axis difference set to 2Mpa, and the green points are the captured effective reduction points. According to the data, the first point is used as the reference value for the conditions to be retrieved. When the data difference between the next point and the first point is greater than 2Mpa, it is the valid reduction point data, and then this point is used as the next reference value, and so on. If the difference is greater than 2Mpa, the effective reduction point data will be captured. Figure 9 is an enlarged view of the decrement when the Y-axis difference is set to 2Mpa. It can be seen that when the data difference is greater than the Y-axis difference of 2Mpa to select the next point data, many eigenvalues will be sacrificed and not selected (for example, Around the turning points of 17.9 seconds, 18.2 seconds, and 18.5 seconds), such a curve is easily distorted because sufficient eigenvalues are not captured. Therefore, the Y-axis difference of the points should be selected according to the curve pattern and the effective difference value of actual production to select the appropriate Y-axis difference as the standard for simplifying the data. Small easy to incorporate noise fluctuations into features. In this embodiment, an appropriate Y-axis difference value of 1Mpa is selected as the standard for simplifying the data according to the shape of the curve, which can retain sufficient eigenvalues.

接下來進行該曲線擬合步驟12,其中,需先進行曲線接合。擷取每一個有效點的下一步就是進行曲線接合,接合的要點為擬合曲線必須經過每一個有效點,因此先用一次曲線作接合。一次曲線函數公式為公式(1):y=a×x+b (1) Next, the curve fitting step 12 is performed, wherein the curve joining needs to be performed first. The next step in capturing each valid point is to join the curve. The point of joining is that the fitting curve must pass through each valid point, so the first curve is used for joining. The formula of the linear curve function is formula (1): y =a× x + b (1)

代入有效點數據的第一點以及第一點組成公式(2)和公式(3):y 1=a×x 1+b (2) Substitute the first point and the first point of the valid point data to form formula (2) and formula (3): y 1 =a× x 1 + b (2)

y 2=a×x 2+b (3) y 2 =a × x 2 + b (3)

將公式(2)和公式(3)解聯立方程式,可以得到未知的a、b兩數值,再進行數據擬合,分析擬合曲線會發現左右導函數並不相等,導致 擬合曲線會有些呈現鋸齒狀,且在區間極值上會是尖角突出的形狀,跟曲線的圓弧有一定的差距,如圖10中一次曲線擬合圖所示。 By solving the simultaneous equations of formula (2) and formula (3), the unknown values of a and b can be obtained, and then data fitting is performed. After analyzing the fitting curve, it is found that the left and right derivative functions are not equal, resulting in The fitting curve will be somewhat jagged, and at the extreme value of the interval, it will be a shape with sharp corners, which has a certain gap with the arc of the curve, as shown in the first curve fitting diagram in Figure 10.

由於使用一次曲線時會使得擬合曲線會呈現鋸齒狀,因此再將數學模型改成使用指數函數,指數函數的優點在於其波形路徑固定。其中,函數指數公式為公式(4):y=a×e bx +c (4) Since the fitting curve will appear jagged when using the primary curve, the mathematical model is changed to use the exponential function. The advantage of the exponential function is that its waveform path is fixed. Among them, the function index formula is formula (4): y =a× e b * x + c (4)

代入圖11之P1和P2點,以及P1切線斜率m:

Figure 110129854-A0305-02-0010-1
Substitute into the points P 1 and P 2 of Figure 11, and the slope m of the tangent to P 1 :
Figure 110129854-A0305-02-0010-1

Figure 110129854-A0305-02-0010-2
Figure 110129854-A0305-02-0010-2

Figure 110129854-A0305-02-0010-3
Figure 110129854-A0305-02-0010-3

以(5)、(6)、(7)三個公式解出a、b、c三個未知函數,接著就能用數學模型進行曲線擬合。擬合出的曲線,會因為某一個點為極值時,指數函數無法進行運算,因此需要將極值進一步計算。 Using the three formulas (5), (6) and (7) to solve the three unknown functions a, b, and c, and then the mathematical model can be used for curve fitting. For the fitted curve, when a certain point is an extreme value, the exponential function cannot be operated, so the extreme value needs to be further calculated.

如圖12所示,圖中的紅色點即為取出的區間極值點,區間極值,由圖13的放大圖可以看出16.3至16.85秒時,擷取點是在曲線轉折處的區間極大值或極小值,使曲線特徵被保留。指數函數缺點在於無法用於斜率等於零的函數上,因此本實施例使用三個數學模型來解決區間極值的問題,三個數學模型可針對:(1)極值、(2)極值前一點,及(3)極值前一點的切線斜率三者之間的幾何關係分成三種情況,如下述。 As shown in Figure 12, the red point in the figure is the extracted interval extreme point, the interval extreme value. From the enlarged view of Figure 13, it can be seen that from 16.3 to 16.85 seconds, the extracted point is at the turning point of the curve. value or minimum value so that the curve characteristics are preserved. The disadvantage of the exponential function is that it cannot be used for functions with a slope equal to zero. Therefore, this embodiment uses three mathematical models to solve the problem of interval extremes. , and (3) the geometric relationship between the slope of the tangent line at the point before the extreme value is divided into three cases, as follows.

請配合參閱附件,針對(1)極值之情形,附圖1形成條件是在區間極值與區間極值前一點間不會出現反曲點,當這兩點中間不會出現反 曲點時,我們將切線延伸,並使用橢圓曲原來做擬合,如附圖2切線延伸與橢圓圓弧作曲線擬合所示。 Please refer to the appendix together. For the case of (1) extreme value, the formation condition of Figure 1 is that there will be no inflection point between the interval extreme value and the point before the interval extreme value. When making a curved point, we extend the tangent and use the elliptic curve for fitting, as shown in Figure 2, as shown in Figure 2.

附圖3和附圖5形成條件是在區間極值與區間極值前一點間會出現反曲點,差別在於附圖3兩點連線之斜率小於1,附圖5兩點連線之斜率大於1,以這兩條條件為基礎,當兩點間會出現反曲點時,又分為兩種情況,當極值與極值前一點連線的斜率小於1時,以兩個等徑圓弧作曲線擬合,如附圖4以兩個等徑圓弧作曲線擬合所示。當極值與極值前一點連線的斜率大於1時,以兩圓弧與圓弧之公切線作曲線擬合,如附圖6以兩個圓弧間內公切線作曲線擬合所示。 Fig. 3 and Fig. 5 are formed on the condition that an inflection point will appear between the interval extreme value and the point before the interval extreme value. The difference is that the slope of the line connecting the two points in Fig. 3 is less than 1, and the slope of the line connecting the two points in Fig. 5 Greater than 1, based on these two conditions, when there is an inflection point between two points, it is divided into two cases. When the slope of the line connecting the extreme value and the point before the extreme value is less than 1, two equal diameters are used. The arc is used for curve fitting, as shown in Figure 4 with two equal diameter circular arcs for curve fitting. When the slope of the line connecting the extreme value and the point before the extreme value is greater than 1, the curve fitting is performed with the common tangent between the two circular arcs and the circular arc, as shown in Figure 6, where the inner common tangent between the two circular arcs is used for curve fitting. .

當極值與極值的前一點完成接合後,需要考慮要將極值點跟指數函數在接合上,所以在極值後會在接合一個二元二次方程式來接合,如公式(8)。 When the extremum and the previous point of the extremum are completed, it is necessary to consider that the extremum point and the exponential function should be connected, so after the extremum, a binary quadratic equation will be connected to join, such as formula (8).

y=a*x 2+bx+c (8) y = a* x 2 + b * x + c (8)

代入附圖7二元二次擬合圖的P2和P3點,組成公式(9)和(10)

Figure 110129854-A0305-02-0011-4
Substitute into the P 2 and P 3 points of the binary quadratic fitting diagram of Figure 7 to form formulas (9) and (10)
Figure 110129854-A0305-02-0011-4

Figure 110129854-A0305-02-0011-5
Figure 110129854-A0305-02-0011-5

極值的斜率值為零,代入公式(8)的微分組成公式(11):2ax 2+b=0 (11) The slope value of the extreme value is zero, which is substituted into the differential of formula (8) to form formula (11): 2 a * x 2 + b =0 (11)

將公式(9)、(10)、(11)組成聯立方程式解出a、b、c三個未知值,代入數學模型上,將可以擬合出二次曲線接合接下來的指數曲線。 Combining formulas (9), (10), and (11) into a simultaneous equation to solve the three unknown values of a, b, and c, and substituting them into the mathematical model, a quadratic curve can be fitted to join the next exponential curve.

圖13、14原始點數據及考慮區間極值之減量點數據放大圖可以看出,擷取之減量數據點加上區間極值點可以充分反應出原始數據點 的變化。 Figures 13 and 14 zoom in on the original point data and the decrement point data considering the interval extreme value. It can be seen that the captured decrement data point plus the interval extreme value point can fully reflect the original data point The change.

圖15至圖18為曲線擬合模穴壓力放大圖,可以看出曲線上更加的圓滑,原本的頻率震動擬合成一條圓滑的曲線,且極值差異不大,可以說明在極值的擬合是可以使用橢圓的擬合。數據從上下震動的延伸,到一條曲線的擬合,代表擬合曲線有固定的數值,將可以使用數學計算接下來的相關性指標。 Figures 15 to 18 are the magnified graphs of the curve fitting cavity pressure. It can be seen that the curve is more smooth. The original frequency vibration is fitted to a smooth curve, and the extreme value difference is not large, which can explain the fitting at the extreme value. is a fit that can use an ellipse. The extension of the data from the up and down vibrations to the fitting of a curve means that the fitted curve has a fixed value, and the next correlation index can be calculated mathematically.

優化的擬合曲線,在射出成型的研究分析上更加的簡便,可以用擬合曲線製作出成千上百個曲線特徵,且每一個特徵都會有射出其物理意義。 The optimized fitting curve is more convenient in the research and analysis of injection molding. Thousands of curve features can be made with the fitting curve, and each feature will have its physical meaning.

圖19區間極值指標曲線擬合圖是最大值最小值的指標,可以看出在這個射出成型在模穴壓力時在第幾秒為最大的模穴壓力,也可以將極值作成表格,如表1區間極值指標表所示。表2區間斜率和區間積分指標表是區間斜率以及區間積分的指標,斜率可以看區間的曲線是上升還是下降,積分可以看在這個區間段所花費的壓力值。 Figure 19 The curve fitting graph of the extreme value index in the interval is the index of the maximum and minimum value. It can be seen that the injection molding is at the cavity pressure in the second few seconds. The maximum cavity pressure can also be made into a table, such as Table 1 shows the interval extreme value index table. Table 2. The interval slope and interval integral index table is the index of interval slope and interval integral. The slope can be seen by whether the curve of the interval is rising or falling, and the integral can be seen by the pressure value spent in this interval.

Figure 110129854-A0305-02-0012-6
Figure 110129854-A0305-02-0012-6

表2

Figure 110129854-A0305-02-0013-7
Table 2
Figure 110129854-A0305-02-0013-7

射出成型機會在機台上放置多個感測器,在射出時將相關數據擷取出來,並分析在射出成型過程中是否有機台誤差、人為誤差、環境...等不確定因素影響到射出成型的品質。射出成型會影響成品品質的其中一個要素就是模穴壓力,模穴壓力過大時會將模具撐開造成成品會出現毛邊,影響成品的平滑度,模穴壓力過小時會造成成品出現短射現象,影響成品的尺寸。 The injection molding machine places multiple sensors on the machine, and captures relevant data during injection, and analyzes whether the machine error, human error, environment... and other uncertain factors affect the injection during the injection molding process. molding quality. One of the factors that will affect the quality of the finished product in injection molding is the cavity pressure. When the cavity pressure is too large, the mold will be stretched, resulting in burrs on the finished product, which will affect the smoothness of the finished product. If the cavity pressure is too small, the finished product will have short shots. Affects the size of the finished product.

本發明是以模穴壓力擷取的數據作為主要曲線,將之經過雜訊的濾除和曲線的擬合,使的擬合曲線可以更精細的去分析模穴壓力,並具有以下功效: The present invention takes the data captured by the cavity pressure as the main curve, and filters out the noise and fits the curve, so that the fitting curve can be used to analyze the cavity pressure more precisely, and has the following effects:

1.曲線上更加的圓滑,原本的頻率震動擬合成一條圓滑的曲線,且極值差異不大,保留了特徵值。 1. The curve is more smooth, the original frequency vibration is fitted into a smooth curve, and the extreme value difference is not large, and the characteristic value is retained.

2.最大值最小值的指標,可以了解在這個射出成型在模穴壓力時在第幾秒為最大的模穴壓力,以及對照成品時觀察壓力的分佈上哪一區間,影響到成品品質。 2. The index of the maximum value and the minimum value can be used to know the maximum cavity pressure in a few seconds when the injection molding is in the cavity pressure, and which range of the pressure distribution is observed when comparing the finished product, which affects the quality of the finished product.

3.擬合曲線可以在分析其他的曲線如大柱、射出壓力...等, 可以更進一步分析曲線。 3. The fitting curve can be used to analyze other curves such as large column, injection pressure...etc. The curve can be further analyzed.

4.本案例數據曲線從兩萬筆點資料減化幾百個點資料,節省了大量的儲存空間。 4. The data curve of this case reduces the data of several hundred points from the data of 20,000 points, saving a lot of storage space.

5.擬合曲線會通過每一個擷取資料且與原始資料相比沒有失直。 5. The fitted curve will pass through each of the captured data and will not be skewed compared to the original data.

綜上所述,本發明的貢獻即為數據減量與曲線優化,目前大數據以及雲端的發展將會有很多的數據等著整理跟分析,分析的過程中,越多的數據代表著準確度越接近於正確,但是在記憶上就會浪費很多。本研究將原本3754KB的數據量,降低至30KB的數據量,並保留了曲線特徵利用數學模型進行數據的計算,計算出射出成型的相關特徵。特徵可以做進一步的大數據分析的檔案,當分析檔案可以更多量後,可以將之投入於機械化學習,為智慧化的初步模式。 To sum up, the contribution of the present invention is data reduction and curve optimization. At present, in the development of big data and cloud, there will be a lot of data waiting to be sorted and analyzed. In the process of analysis, the more data, the better the accuracy. Close to correct, but a lot of memory waste. In this study, the original data volume of 3754KB was reduced to 30KB, and the curve characteristics were retained, and the mathematical model was used to calculate the data to calculate the relevant characteristics of injection molding. The characteristics can be used for further big data analysis files. When the analysis files can be more, they can be put into mechanized learning, which is the preliminary model of intelligence.

惟以上所述者,僅為本發明之較佳實施例而已,當不能以此限定本發明實施之範圍,即大凡依本發明申請專利範圍及發明說明內容所作之簡單的等效變化與修飾,皆仍屬本發明專利涵蓋之範圍內。 However, the above are only preferred embodiments of the present invention, and should not limit the scope of the present invention, that is, any simple equivalent changes and modifications made according to the scope of the patent application of the present invention and the contents of the description of the invention, All still fall within the scope of the patent of the present invention.

11:資料減量步驟 11: Data reduction steps

12:減量點數據曲線擬合步驟 12: Steps of fitting the curve of the decrement point data

Claims (3)

一種感測資料處理方法,適用於利用一電腦處理生產製造過程中感測器所取得之龐大原始資料量,並包含以下步驟:一資料減量步驟,以傅立葉分析找出原始資料量中雜訊頻寬的週期再進行移動平均,接著以差值取點擷取有效減量點數據,其中,所述差值取點是基於Y軸感測值設定一基準值及一Y軸差值來進行分段擷取,當該基準值與後續Y軸感測值的比對結果是小於該Y軸差值時,將該後續Y軸感測值視為雜訊而忽略,當該基準值與後續Y軸感測值的比對結果是大於該Y軸差值時,將該後續Y軸感測值作為一有效減量點數據;及一減量點數據曲線擬合步驟,將減量點數據進行曲線擬合還原,曲線擬合還原必須通過所有的有效減量點數據,以將所有的有效減量點數據接合,當將所述有效減量點數據進行接合時,會判斷與下一個點數據是否存在區間極值,若否就繼續接合,若是則進行該區間極值的探討。 A sensing data processing method is suitable for using a computer to process a huge amount of raw data obtained by a sensor in a manufacturing process, and includes the following steps: a data reduction step, using Fourier analysis to find out the noise frequency in the raw data amount A moving average is then carried out for a wide period, and then the effective decrement point data is captured by the difference value points, wherein the difference value points are based on the Y-axis sensing value to set a reference value and a Y-axis difference value for segmentation Capture, when the comparison result of the reference value and the subsequent Y-axis sensing value is less than the Y-axis difference value, the subsequent Y-axis sensing value is regarded as noise and ignored, when the reference value and the subsequent Y-axis sensing value are ignored. When the comparison result of the sensed value is greater than the Y-axis difference, the subsequent Y-axis sensed value is used as a valid decrement point data; and a decrement point data curve fitting step is performed to restore the decrement point data by curve fitting , the curve fitting and restoration must pass all the valid decrement point data to join all the valid decrement point data. When the valid decrement point data is joined, it will be judged whether there is an interval extreme value with the next point data, if If not, continue to join, if so, carry out the exploration of the extreme value of the interval. 如請求項1所述的感測資料處理方法,其中,該Y軸差值是設定為射出成形模內熔膠壓力1Mpa。 The sensing data processing method according to claim 1, wherein the Y-axis difference is set to a melt pressure of 1 Mpa in the injection mold. 如請求項1所述的感測資料處理方法,其中,該區間極值的探討是判斷(a)區間極值與區間極值的前一點之間是否出現反曲點,若否,將區間極值之前一點的切線延伸,再以橢圓弧曲線擬合;若是,再判斷(b)區間極值與區間極值的前一點之 連線的斜率是否大於1;若斜率不大於1,將區間極值與區間極值的前一點以兩個等徑圓弧進行擬合;若斜率大於1,則(c)將區間極值與區間極值的前一點以兩個不等徑圓弧與該兩個不等徑圓弧之公切線進行擬合。 The sensing data processing method according to claim 1, wherein the discussion of the interval extreme value is to judge (a) whether there is an inflection point between the interval extreme value and the previous point of the interval extreme value; The tangent line of the point before the value is extended, and then fitted with an elliptic arc curve; if so, then determine the difference between the (b) interval extreme value and the previous point of the interval extreme value. Whether the slope of the connection line is greater than 1; if the slope is not greater than 1, fit the interval extreme value and the previous point of the interval extreme value with two arcs of equal diameter; if the slope is greater than 1, then (c) fit the interval extreme value to the The previous point of the interval extreme value is fitted by two unequal diameter arcs and the common tangent of the two unequal diameter arcs.
TW110129854A 2021-08-12 2021-08-12 Sensing data processing method TWI773483B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW110129854A TWI773483B (en) 2021-08-12 2021-08-12 Sensing data processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW110129854A TWI773483B (en) 2021-08-12 2021-08-12 Sensing data processing method

Publications (2)

Publication Number Publication Date
TWI773483B true TWI773483B (en) 2022-08-01
TW202307693A TW202307693A (en) 2023-02-16

Family

ID=83806873

Family Applications (1)

Application Number Title Priority Date Filing Date
TW110129854A TWI773483B (en) 2021-08-12 2021-08-12 Sensing data processing method

Country Status (1)

Country Link
TW (1) TWI773483B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI249187B (en) * 2004-01-05 2006-02-11 Taiwan Semiconductor Mfg Rapid temperature compensation module for semiconductor tool
CN105260595A (en) * 2015-04-02 2016-01-20 北京交通大学 Feature extraction method for switch action current curve and switch fault diagnosis method
TWM530126U (en) * 2016-04-20 2016-10-11 國立勤益科技大學 Apparatus for examining and processing heartbeat signal based on fitting curve
TW201732655A (en) * 2016-02-05 2017-09-16 Alibaba Group Services Ltd Mining method and device for target characteristic data

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI249187B (en) * 2004-01-05 2006-02-11 Taiwan Semiconductor Mfg Rapid temperature compensation module for semiconductor tool
CN105260595A (en) * 2015-04-02 2016-01-20 北京交通大学 Feature extraction method for switch action current curve and switch fault diagnosis method
TW201732655A (en) * 2016-02-05 2017-09-16 Alibaba Group Services Ltd Mining method and device for target characteristic data
TWM530126U (en) * 2016-04-20 2016-10-11 國立勤益科技大學 Apparatus for examining and processing heartbeat signal based on fitting curve

Also Published As

Publication number Publication date
TW202307693A (en) 2023-02-16

Similar Documents

Publication Publication Date Title
CN110992317B (en) PCB defect detection method based on semantic segmentation
JP6374911B2 (en) Apparatus and method for controlling the course of a part manufacturing process
TW201906038A (en) Semiconductor wafer analyzing system and method thereof
WO2021253793A1 (en) Cylinder apparatus analysis method, system and device, and storage medium therefor
CN111811567A (en) Equipment detection method based on curve inflection point comparison and related device
CN115060725A (en) Double-disc appearance detection method and device
TW202105317A (en) Image recognition apparatus, image recognition method, and computer program product thereof
US20210394247A1 (en) Method and system for forming a stamped component using a stamping simulation model
CN103245667A (en) Method and system for automatically detecting mechanical scratches
CN104614386A (en) Lens defects type identification method
TWI773483B (en) Sensing data processing method
CN110458809B (en) Yarn evenness detection method based on sub-pixel edge detection
CN105373019B (en) A kind of detection method and device of valve viscous degree
CN112001919B (en) Fabric defect detection method based on particle swarm algorithm and two-dimensional digital filtering
CN113255222A (en) Intelligent auxiliary debugging method and device for cavity filter
CN116026487B (en) Liquid level temperature measuring method, liquid level temperature measuring device, computer equipment and storage medium
CN100353381C (en) Image inspecting apparatus, image inspecting method, control program and computer-readable storage medium
TWM550465U (en) Semiconductor wafer analyzing system
CN115035118B (en) PCB production line defect detection method and system based on recognition model
CN103632232B (en) The detection method and equipment of a kind of product
CN107656187B (en) Differential line test information determining method and device
CN114050386B (en) Debugging method based on cavity filter scattering parameter and screw mapping extraction
CN110286663B (en) Regional cigarette physical index standardized production improving method
CN103543157B (en) Off-line strip surface image simulation dynamic collecting method and device
CN106776505B (en) Method for comparing standard cell library by calculating characteristic value