JP4946711B2 - Data storage method and data display method - Google Patents

Data storage method and data display method Download PDF

Info

Publication number
JP4946711B2
JP4946711B2 JP2007206555A JP2007206555A JP4946711B2 JP 4946711 B2 JP4946711 B2 JP 4946711B2 JP 2007206555 A JP2007206555 A JP 2007206555A JP 2007206555 A JP2007206555 A JP 2007206555A JP 4946711 B2 JP4946711 B2 JP 4946711B2
Authority
JP
Japan
Prior art keywords
data
period
variable
ring buffer
display
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.)
Active
Application number
JP2007206555A
Other languages
Japanese (ja)
Other versions
JP2009042981A (en
Inventor
健一 鈴木
慶成 池内
裕介 今田
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.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial 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 Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP2007206555A priority Critical patent/JP4946711B2/en
Publication of JP2009042981A publication Critical patent/JP2009042981A/en
Application granted granted Critical
Publication of JP4946711B2 publication Critical patent/JP4946711B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Testing And Monitoring For Control Systems (AREA)

Description

本発明は、長時間のデータを記憶する方法、およびそれを表示する方法に関する。 The present invention relates to a method for storing long data, and a method of displaying it.

最近のACサーボシステムにおいては、保守機能の充実を要求されており、例えばサーボアンプの保護機能が働いたときに、直前のモータ速度やトルク指令などのモータ動作データを表示することで、エラー発生の要因解析と対策のリードタイムを短くする、といった機能が必要とされる。   Recent AC servo systems require enhanced maintenance functions. For example, when a servo amplifier protection function is activated, an error occurs by displaying motor operation data such as the previous motor speed or torque command. It is necessary to have the function of analyzing the cause of the problem and shortening the lead time of countermeasures.

しかし、一般に保護機能は複数存在するため、必要とするデータも異なり、また各データの時定数も例えば数msの変化が重要なデータもあれば、数sのオーダーでしか変化しないデータもある。   However, since there are generally a plurality of protection functions, the required data is different, and the time constant of each data is, for example, data in which a change of several ms is important, for example, and there is data that changes only in the order of a few s.

これらのデータを、固定のサンプリング周期で測定しようとすると、サンプリング周期を数sのオーダーに合わせて長くした場合、数msのオーダーの動作データを見逃してしまい、逆にサンプリング周期を数msのオーダーに合わせて短くした場合、数sのオーダーの動作データを見逃さないためには、サーボアンプに大量の記憶領域が必要となる。   When trying to measure these data at a fixed sampling period, if the sampling period is increased to the order of several s, the operation data of the order of several ms is missed, and conversely the sampling period is on the order of several ms. In order to avoid overlooking operation data on the order of several s, a large amount of storage area is required for the servo amplifier.

また、サーボアンプのセットアップを支援するソフトなどPC上のアプリケーションから、サーボアンプ内部のデータをダウンロードして表示しようとした場合に、大量の動作データを転送するには非常に長い時間がかかり、特に通信速度が遅い場合は実用に耐えないことも多い。   Also, when trying to download and display data inside the servo amplifier from an application on the PC such as software that supports the setup of the servo amplifier, it takes a very long time to transfer a large amount of operation data. When the communication speed is slow, it is often not practical.

この技術課題に対する解決手段として、トレンドデータ表示装置が挙げられる。図4に示すように、データ記憶装置側で原信号を保存するレベル0の短周期データメモリと、そこから段階的に特徴量を抽出したレベル1からレベル5までの長周期データメモリを用い、さらに、点線で表されるレベル間の関連付けを記憶することで、データ表示装置側では、全体を見渡せる長周期データをまず提示し、そのうち詳細を見たい特定時点の短周期データを、記憶した関連付けを追って順次表示する手法である(例えば、特許文献1参照)。
特開2004−30599号公報
As a solution to this technical problem, there is a trend data display device. As shown in FIG. 4, a level 0 short cycle data memory that stores the original signal on the data storage device side, and a level 1 to level 5 long cycle data memory from which feature values are extracted step by step, Further, by storing the association between levels represented by dotted lines, the data display device first presents long-period data that can be viewed over the whole, and stores the short-period data at a specific time point for which details are desired to be stored. Are sequentially displayed (see, for example, Patent Document 1).
JP 2004-30599 A

しかし、これは従来の技術課題の1つである、データ記憶装置と表示装置間の転送時間を短くするには効果的であるが、長周期データと関連付け情報を記憶するための記憶領域が余分に必要となるため、データ記憶装置側に必要とされる記憶領域は増加するという問題があった。   However, this is one of the conventional technical problems, which is effective for shortening the transfer time between the data storage device and the display device, but there is an extra storage area for storing long-period data and association information. Therefore, there is a problem that the storage area required on the data storage device side increases.

本発明は上記従来の課題を解決するものであり、従来例のように周期ごとにサンプリングされた測定データをすべて損失なしに保存する方法ではなく、記憶容量を減らすことで
、長時間のデータを保存できるデータ記憶方法と、それを表示する表示方法を提供することを目的とする。
The present invention is made to solve the conventional problems, not the method of storing the measurement data sampled every period as in the prior art without any loss, by reducing the serial憶容amount
A data storage method which can store data of long time, and to provide a display method for displaying it.

上記課題を解決するために本発明の請求項1に記載のデータ記憶方法は、周期T0の測定データを、周期2・T0、2(k−1)・T0、...、21・T0、20・T0(kは1以上の整数)のタイミングで、各々異なる複数の記憶領域へ分配して保存する。 In order to solve the above-mentioned problem, a data storage method according to claim 1 of the present invention provides measurement data having a cycle T0 of cycles 2 k · T0, 2 (k−1) · T0,. . . , 21 · T0, 20 · T0 (k is an integer equal to or greater than 1), and distributed and stored in a plurality of different storage areas.

また、請求項2に記載のデータ記憶方法は、前記記憶領域は、周期最長の2・T0については2個、その他の周期については2(n−1)個(nは1以上の整数)の大きさを持つ、リングバッファを使用するものである。 In the data storage method according to claim 2, the storage area is 2 n for the longest period 2 k · T0 and 2 (n−1) for the other periods (n is an integer of 1 or more ). ), Which uses a ring buffer.

また、請求項3に記載のデータ記憶方法は、前記記憶領域全体の大きさが2(n+m)個のとき、k=2・(2−1)(n、mは1以上の整数)とするものである。 In the data storage method according to claim 3, when the size of the entire storage area is 2 (n + m), k = 2 · (2 m −1) (n and m are integers of 1 or more). To do.

さらに、請求項4に記載のデータ表示方法は、請求項1から請求項3のいずれか1項に記載のデータ記憶方法で保存した、周期最長の2・T0の2n個のデータはそのまま表示し、より短い周期については、保存した2(n−1)個と、2倍の周期のデータ後半2(n―1)個を交互に重ね合わせて2個のデータを表示し、以下これを周期T0の表示まで繰り返すことで、各周期毎に2個のデータ表示を行うことを特徴とする。 Furthermore, the data display method according to claim 4 displays the 2n pieces of data having the longest period of 2 k · T0 stored by the data storage method according to any one of claims 1 to 3 as they are. For shorter periods, 2 (n-1) stored data and 2 (n-1) latter half of the data with twice the period are alternately superimposed to display 2n data, Is repeated until the display of the period T0, so that 2n pieces of data are displayed for each period.

本発明の請求項1に記載のデータ記憶方法によれば、発生直前のデータを短い周期で記憶し、より遠い時点のデータは長い周期で記憶することで、長時間に亘るモータ動作などのデータ記憶を効果的に実現するとともに、リングバッファを使用して、これら複数の周期のデータ重複を避けることで、記憶容量の増加を抑制することができる。 According to the data storage method of the first aspect of the present invention, data such as motor operation over a long period of time is stored by storing data immediately before the occurrence in a short cycle and storing data at a longer time in a long cycle. It is possible to effectively increase the storage capacity and to suppress an increase in storage capacity by using a ring buffer and avoiding data duplication of these multiple periods.

また、請求項2に記載のデータ記憶方法によれば、ある時点を起点として過去にさかのぼる、2の累乗ごとに周期が大きくなるような複数のサンプリング周期で測定でき、さらに同じデータ数として同じ数のモータ動作データを保存することができ、現在測定している時刻に近いほどサンプリング周期が短くデータ数は同じため解像度は高く、測定時間が広範囲にわたるほどサンプリング周期が長くデータ数は同じため粗くなり解像度は低く、測定することができる。 Further, according to the data storage method according to claim 2, dating back to the past time point Ru Ah starting, can be measured at a plurality of sampling periods as the period for each power of two is increased, the same as more same number of data Ki out to save the number of motor operation data, as the sampling period is shortened number data close to the time that is currently measuring the same for resolution is high, the number of data long sampling period as the measurement time is extensive same for It becomes coarse and the resolution is low and can be measured.

また、請求項3に記載のデータ記憶方法によれば、記憶領域を最も有効に利用する組合せが得られる。 According to the data storage method of the third aspect, a combination that makes the most effective use of the storage area can be obtained.

さらに、請求項4に記載の表示方法によれば、各周期毎に記憶領域の2倍のデータである2個のデータを復元することができる。また、各周期毎にすべてデータ数が同じなので、周期の異なる波形を切り替え表示しても、データの精度が変化しない。 Further, according to the display method of the fourth aspect, 2n data that is twice the data of the storage area can be restored for each period. In addition, since the number of data is the same for each period, the accuracy of the data does not change even if waveforms with different periods are switched and displayed.

周期T0の測定データを、周期2・T0、2(k−1)・T0、...、21・T0、20・T0(kは1以上の整数)のタイミングで、周期最長の2k・T0については2n個、その他の周期については2(n−1)個(nは1以上の整数)の大きさを持つリングバッファに、分配して保存するデータ記憶装置であり、このデータ記憶装置に保存した周期最長の2・T0の2n個のデータはそのまま表示し、より短い周期については、保存した2(n−1)個と、2倍の周期のデータ後半2(n―1)個を交互に重ね合わせて2個のデータを表示し、以下これを周期T0の表示まで繰り返すことで、各周期毎に2個のデータ表示を行うことを特徴とするデータ表示方法である。以下実施の形態につい
て説明する。
(実施の形態1)
図1は、実施の形態1におけるデータ記憶装置とデータ表示装置の動作概念の説明図、図2は、データ格納先リングバッファ選択処理のフローチャート、図3は、表示データ作成処理フローチャートである。
Measured data of period T0 is represented by periods 2 k · T0, 2 (k−1) · T0,. . . , 21 · T0, 20 · T0 (k is an integer of 1 or more), 2n for the longest period of 2k · T0, 2 (n-1) for other periods (n is an integer of 1 or more ) The data storage device distributes and stores the data in a ring buffer having a size of 2). The longest 2k data of 2 k · T0 stored in the data storage device is displayed as it is. The stored 2 (n-1) data and the second half data (2-1) of the double cycle are alternately overlapped to display 2n data, and this is repeated until the display of the cycle T0. Thus, the data display method is characterized in that 2n data is displayed for each period. Embodiments will be described below.
(Embodiment 1)
FIG. 1 is an explanatory diagram of an operation concept of the data storage device and the data display device according to the first embodiment, FIG. 2 is a flowchart of a data storage destination ring buffer selection process, and FIG. 3 is a display data creation process flowchart.

図1において、一番上に周期最短のT0毎の原信号を示しており、この32個のデータをそれぞれ、周期8T0、4T0、2T0、T0(請求項1におけるkを3とした場合)に対応する、レベル3からレベル0のリングバッファに格納する。   In FIG. 1, the original signal for each T0 with the shortest period is shown at the top, and these 32 pieces of data are respectively used in periods 8T0, 4T0, 2T0, and T0 (when k in claim 1 is 3). Store in the corresponding level 3 to level 0 ring buffer.

リングバッファは、レベル3ではデータ記録数4個(請求項2におけるnを2とした場合)、レベル2からレベル0まではデータ記録数2個となる。 The ring buffer has four data records at level 3 (when n is 2 in claim 2), and two data records from level 2 to level 0.

周期T0毎に、どのリングバッファにデータを格納するかは、データが重複しないように、周期T0毎に図2に示すフローチャートで決める。   Which ring buffer to store data for every cycle T0 is determined by the flowchart shown in FIG. 2 for each cycle T0 so that the data does not overlap.

図2において、ステップ1では、測定開始時を0とし、周期T0毎に増加するカウント値を、原信号データに対応付ける。ステップ2からステップ4で、このカウント値を2進数で表したときの最下位ビットをビット0として、ビットnが1である最も小さなnを見つける。そして、ステップ5で、レベルnのリングバッファに原信号データを格納する。ビット0からビットk(kはレベル最大値、ここでは3)がすべて0の場合には、ステップ6で、レベルkにデータを格納する。   In FIG. 2, in step 1, the measurement start time is set to 0, and a count value that increases every period T0 is associated with the original signal data. In step 2 to step 4, the least significant bit when the count value is expressed in binary is set to bit 0, and the smallest n in which bit n is 1 is found. In step 5, the original signal data is stored in the level n ring buffer. If bit 0 to bit k (k is the maximum level value, here 3) are all 0, in step 6, data is stored in level k.

図2に示すアルゴリズムでデータを格納していくと、記憶領域にリングバッファを用いているため、短周期の古いデータは消えていくが、この過去の詳細データをあきらめた結果、32個の原信号データを記憶するのに必要な記憶領域を、10個に抑えることができる。   When data is stored using the algorithm shown in FIG. 2, since the ring buffer is used in the storage area, old data with a short period disappears. As a result of giving up the past detailed data, 32 original data are given. The storage area necessary for storing the signal data can be reduced to ten.

次に、データ表示装置について説明する。データ表示装置は、データ記憶装置の記憶データを順次読み込み、表示データを復元する。この復元処理は、図3のフローチャートに示すアルゴリズムで実現できる。   Next, the data display device will be described. The data display device sequentially reads the storage data of the data storage device and restores the display data. This restoration process can be realized by the algorithm shown in the flowchart of FIG.

まず、ステップ1からステップ2で、最長のレベルkの記憶データを読み込み、レベルkの表示データとしてそのまま格納する(データ数は2n個)。   First, in step 1 to step 2, the longest stored data of level k is read and stored as display data of level k as it is (the number of data is 2n).

次に、ステップ3からステップ5で、レベルk−1の記憶データ(データ数は2(n−1)個)を読み込み、前に作成したレベルkの表示データの後半(データ数は2(n−1)個)と交互に並べることで、レベルk−1の表示データを作成する。このステップ3からステップ5を、レベル0の表示データが作成されるまで続けることで、各々データ数2個の全レベルの表示データを復元することができる。 Next, in step 3 to step 5, the storage data of level k-1 (the number of data is 2 (n-1) ) is read, and the latter half of the display data of level k created previously (the number of data is 2 (n -1) pieces) are alternately arranged to create display data of level k-1. By continuing the steps 3 to 5 until the display data of level 0 is created, the display data of all the levels of 2 n data can be restored.

このデータ記憶装置および表示装置の効果を示すため、必要な記憶容量(表1)と、周期最長での測定時間(表2)、およびこれらの比(表3)を、nおよびkを変えながら計算した結果を表に示している。すべての表で、k=0の列は周期T0固定とした場合を示している。   In order to show the effect of the data storage device and the display device, the necessary storage capacity (Table 1), the measurement time with the longest period (Table 2), and the ratio thereof (Table 3) are changed while changing n and k. The calculated results are shown in the table. In all the tables, the column of k = 0 indicates a case where the period T0 is fixed.

表1の記憶容量は、kの段数を増やすほど増加するが、レベル間で重複するデータも増えるため、全体の記憶容量増加率は3/2、4/3、5/4、...とkが増えるほど減少
する。ここでnは各周期で表示されるデータ数2nと対応している。
The storage capacity in Table 1 increases as the number of stages k increases, but the amount of data that overlaps between levels also increases, so the overall storage capacity increase rate is 3/2, 4/3, 5/4,. . . Decreases as k increases. Here, n corresponds to the number of data 2n displayed in each cycle.

表1中で、下線で仕切られた上の部分は、k=0(周期T0固定)でn=8(記憶領域256個)の場合と、同等以下の記憶容量となるkとnの組合せを示している。   In Table 1, the upper part divided by the underline shows the combination of k and n that has a storage capacity equal to or less than the case where k = 0 (fixed period T0) and n = 8 (256 storage areas). Show.

周期T0固定の場合は、データ数256個、周期T0のデータ1つしか測定できない。しかし、各周期のデータ数を半分の128個とすることで、k=2とすることができ、周期4T0、2T0、T0と3つのデータを同時に測定できる。   When the period T0 is fixed, only 256 data and one data with the period T0 can be measured. However, by setting the number of data in each period to 128, which is half, k = 2 can be obtained, and three data of periods 4T0, 2T0, and T0 can be measured simultaneously.

さらに、データ数を半分の64個まで減らすと、k=6にでき、64T0、32T0、16T0、8T0、4T0、2T0、T0と7つのデータを同時測定できる。   Further, when the number of data is reduced to 64, which is half, k = 6 can be obtained, and seven data of 64T0, 32T0, 16T0, 8T0, 4T0, 2T0, and T0 can be measured simultaneously.

一般的に、記憶容量が2(n+m)の場合を考えると、各周期のデータ数を2としたときに、k=2・(2−1)とできることが導き出せる。 In general, considering the case where the storage capacity is 2 (n + m) , it can be derived that k = 2 · (2 m −1) can be obtained when the number of data in each period is 2 n .

また、表2の周期最長での測定時間に注目すると、kの増加に対し2kのオーダーで測定時間が増えていくため、記憶容量の増加率と比べてkが大きいほど、長時間測定が可能となる。   Also, paying attention to the measurement time with the longest period in Table 2, the measurement time increases on the order of 2k with respect to the increase in k. Therefore, the longer the measurement is possible, the larger k is compared to the increase rate of the storage capacity. It becomes.

これをより明示するため、記憶容量と測定時間の比を計算して表示したのが表3で、周期T0固定では、常に記憶容量1個あたりで1周期分のデータしか測定できないが、kを増加させることでこの比が幾何級数的に増加する。   In order to make this clearer, the ratio of the storage capacity and the measurement time is calculated and displayed in Table 3. When the period T0 is fixed, only one period of data can always be measured per storage capacity. Increasing this ratio increases geometrically.

具体的に数値を当てはめてみると、周期1msで記憶容量256個の場合、周期固定では比は1倍なので256msの期間のデータが1つしか得られない。しかしk=2とすることで比は2倍となり、データ数は128個となるが、128ms(周期T0)と256ms(周期2T0)、512ms(周期4T0)の3種類のデータが得られる。   Specifically, when numerical values are applied, when the storage capacity is 256 with a period of 1 ms, since the ratio is 1 when the period is fixed, only one data for a period of 256 ms can be obtained. However, when k = 2, the ratio is doubled and the number of data is 128, but three types of data of 128 ms (cycle T0), 256 ms (cycle 2T0), and 512 ms (cycle 4T0) are obtained.

さらに、k=6とすれば、比は16倍と大幅に増加し、データ数64個で、64ms(周期T0)と128ms(周期2T0)、256ms(周期4T0)、512ms(周期8T0)と1.024s(周期16T0)、2.048s(周期32T0)、4.096s(周期64T0)という7種類のデータが得られ、確かに周期最長での測定時間は周期固定での測定時間の16倍になっている。   Further, if k = 6, the ratio is greatly increased to 16 times, and the number of data is 64, and 64 ms (period T0) and 128 ms (period 2T0), 256 ms (period 4T0), 512 ms (period 8T0) and 1 Seven types of data, .024s (cycle 16T0), 2.048s (cycle 32T0), and 4.096s (cycle 64T0) are obtained, and the measurement time with the longest period is certainly 16 times the measurement time with the fixed period. It has become.

表にはないが、さらにデータ量を半分の32個まで減らすと、k=14、比が2048倍となることから約9分、16個ではk=30、比は67108864倍で約200日に亘るデータが記録できる。   Although it is not in the table, if the data amount is further reduced to 32, which is half, k = 14, the ratio will be 2048 times, so about 9 minutes, 16 will be k = 30, the ratio will be 67108864 times, about 200 days A wide range of data can be recorded.

このように、本発明のデータ記憶装置およびデータ表示装置は、トリガ近辺のデータほど短い周期で測定することで、周期固定のデータ測定に対し記憶領域に対する測定時間の比を飛躍的に増加させることができる。   As described above, the data storage device and the data display device according to the present invention can dramatically increase the ratio of the measurement time to the storage area with respect to the fixed-cycle data measurement by measuring the data near the trigger with a shorter cycle. Can do.

このため、サーボシステムの保護機能動作時のように、いつ発生するか分からないが、発生時には短期間から長期間に渡る、広い期間のデータ表示が必要となる事象の記録を、最小の記憶領域で実現したい場合に適している。   For this reason, it is not possible to know when it occurs, such as when the servo system protection function is activated, but it is possible to record events that require data display over a wide period from a short period to a long period. It is suitable when you want to realize with.

なお、実施の形態1では、記憶領域サイズを重視したため、データ数を2の累乗で指定したが、3以上の整数を基数としても同様の効果は得られる。 In the first embodiment, since the storage area size is emphasized, the number of data is specified by a power of 2. However, the same effect can be obtained even if an integer of 3 or more is used as a radix.

また、周期最長での測定より、周期最短のデータを長く取りたいならば、余った記憶領域を各周期に割り当てるなどを行っても、本特許の効果を大きく減ずるものではない。   Further, if it is desired to obtain data having the shortest period longer than the measurement having the longest period, the effect of this patent is not greatly reduced even if the remaining storage area is allocated to each period.

本発明のデータ記憶方法およびデータ表示方法は、位置制御サーボにおける位置決め整定時間の測定や、速度指令に対する立上り/立下り時間の測定など、制御パラメータにより測定する時間スケールが変化する事象の測定でも、サンプリング周期を変更しながら測定を繰り返す必要が無くなるため非常に有用である。 The data storage method and the data display method of the present invention can be used for measuring an event in which a time scale measured by a control parameter changes, such as measurement of positioning settling time in a position control servo, measurement of rise / fall time with respect to a speed command, This is very useful because it is not necessary to repeat the measurement while changing the sampling period.

Claims (4)

周期TPeriod T 0 ごとにサンプリングされた測定データを、周期TThe measurement data sampled every time is converted into the period T 0 ごとにインクリメントされるカウント値と対応づけ、変数iを0クリアするステップ1と、Step 1 for associating with the count value incremented every time and clearing the variable i to 0,
変数iが最大レベルk(kは1以上の整数)かを判定するステップ2と、Step 2 for determining whether the variable i is the maximum level k (k is an integer of 1 or more);
ステップ2の判定結果が偽のとき、カウンタ値の第iビットが1であることを判定するステップ3と、Step 3 for determining that the i-th bit of the counter value is 1 when the determination result of Step 2 is false;
ステップ3の判定結果が偽のとき、変数iをインクリメントしてステップ2に移行するステップ4と、Step 4 in which the variable i is incremented and the process proceeds to Step 2 when the determination result in Step 3 is false;
ステップ3の判定結果が真のとき、i番目のリングバッファに今回の測定データを格納するステップ5と、When the determination result in step 3 is true, step 5 stores the current measurement data in the i-th ring buffer;
ステップ2の判定結果が真のとき、k番目のリングバッファに今回の測定データを格納するステップ6とからなる、When the determination result of step 2 is true, the step consists of step 6 of storing the current measurement data in the k-th ring buffer.
データ記憶方法。Data storage method.
前記k番目のリングバッファは2The kth ring buffer is 2 n 個、その他のk−1番目から0番目までのリングバッファは2, Other k-1 to 0th ring buffers are 2 (n−1)(N-1) 個(nは1以上の整数)の大きさを持つ、リングバッファを使用することを特徴とする請求項1に記載のデータ記憶方法。2. The data storage method according to claim 1, wherein a ring buffer having a size of n (n is an integer of 1 or more) is used. 前記記憶領域全体の大きさが2(n+m)個のとき、k=2・(2−1)(n、mは1以上の整数)とすることを特徴とする請求項2に記載のデータ記憶方法3. The data according to claim 2, wherein when the total size of the storage area is 2 (n + m) , k = 2 · (2 m −1) (n and m are integers of 1 or more). Memory method . 請求項1から請求項3のいずれか1項に記載のデータ記憶方法で保存した、(k+1)個のリングバッファのデータを、変数iに最大レベルkを設定するステップ1と、
i番目の記憶データ2 個をi番目の表示データにコピーするステップ2と、
変数iをデクリメントするステップ3と、
変数iが0以上か判定し、偽の場合に処理を終了するステップ4と、
ステップ4の判定が真の場合に、i番目の記憶データ2 (n−1) 個と、i+1番目の表示データの半分2 (n−1) 個を、前記カウント値の大きい方から順番に交互にコピーし、i番目の表示データ2 個を生成するステップ5と、
からなるデータ表示方法。
A step 1 of setting (k + 1) ring buffer data stored in the data storage method according to any one of claims 1 to 3 to a variable i with a maximum level k;
Step 2 for copying n pieces of i-th stored data 2 to i-th display data;
Step 3 for decrementing variable i;
Step 4 for determining whether the variable i is greater than or equal to 0 and terminating the process if false,
If the determination in step 4 is true, the i-th stored data 2 (n-1) and the i + 1-th display data half 2 (n-1) are alternately arranged in order from the largest count value. Step 5 to generate 2 n pieces of i-th display data ,
A data display method consisting of:
JP2007206555A 2007-08-08 2007-08-08 Data storage method and data display method Active JP4946711B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007206555A JP4946711B2 (en) 2007-08-08 2007-08-08 Data storage method and data display method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007206555A JP4946711B2 (en) 2007-08-08 2007-08-08 Data storage method and data display method

Publications (2)

Publication Number Publication Date
JP2009042981A JP2009042981A (en) 2009-02-26
JP4946711B2 true JP4946711B2 (en) 2012-06-06

Family

ID=40443671

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007206555A Active JP4946711B2 (en) 2007-08-08 2007-08-08 Data storage method and data display method

Country Status (1)

Country Link
JP (1) JP4946711B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05120452A (en) * 1991-10-28 1993-05-18 Mitsubishi Heavy Ind Ltd Trend data preserving method
JP2004030599A (en) * 1998-01-19 2004-01-29 Asahi Glass Co Ltd Saving method for time-series data, time-series database system, method and system for processing time-series data, time-series data display system, and recording medium
JP2005049945A (en) * 2003-07-29 2005-02-24 Toshiba Mitsubishi-Electric Industrial System Corp Monitoring device and power converter using same

Also Published As

Publication number Publication date
JP2009042981A (en) 2009-02-26

Similar Documents

Publication Publication Date Title
RU2004121027A (en) DEVICE AND MOVEMENT METHOD FOR COMMUNICATION SYSTEM
US20110138227A1 (en) Rotational vibration test system and method
US6912483B2 (en) In-place dynamically re-sizeable persistent historical database
JP4687329B2 (en) Information terminal and battery remaining charge calculation method
JP4946711B2 (en) Data storage method and data display method
JPS61213683A (en) Monitor device for time rate of continuous event
JP4431898B2 (en) Data recording device
JP2012226621A (en) Measuring device, watt-hour meter, and writing method
JP4706956B2 (en) Information terminal and battery remaining charge calculation method
CN110799807B (en) Orthogonal encoder signal filtering method, device and system
CN207556704U (en) A kind of temperature sensor circuit
JP5115786B2 (en) Waveform display device
CN113687248B (en) Battery capacity determining method and device, electronic equipment and storage medium
JP2008145336A (en) Device of monitoring sensor detection value
CN114529215B (en) Power grid frequency calculation method and device, electronic equipment and storage medium
JP2610282B2 (en) Waveform data storage
JP5456581B2 (en) Measuring apparatus and elapsed time display method
SU622202A1 (en) Code-converting arrangement
JP3057275B2 (en) Waveform display device
JP2011196752A (en) Waveform measuring instrument, waveform display method
RU1798705C (en) Method of measurement of root-mean-square values of variable signals
JP2987953B2 (en) Waveform observation device
JP3102153B2 (en) Measuring instrument scaling
SU842957A1 (en) Storage device
CN104184975B (en) DTV STB signal processing method and device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100727

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20100806

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110713

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110719

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110916

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120207

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120220

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150316

Year of fee payment: 3

R151 Written notification of patent or utility model registration

Ref document number: 4946711

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150316

Year of fee payment: 3