FR2931987A1 - Data acquiring and processing method, involves reading recorded values from reader preceding to time intervals asynchronous with periodicity of recording of values, and proceeding reading/processing cycle of recorded values - Google Patents
Data acquiring and processing method, involves reading recorded values from reader preceding to time intervals asynchronous with periodicity of recording of values, and proceeding reading/processing cycle of recorded values Download PDFInfo
- Publication number
- FR2931987A1 FR2931987A1 FR0853564A FR0853564A FR2931987A1 FR 2931987 A1 FR2931987 A1 FR 2931987A1 FR 0853564 A FR0853564 A FR 0853564A FR 0853564 A FR0853564 A FR 0853564A FR 2931987 A1 FR2931987 A1 FR 2931987A1
- Authority
- FR
- France
- Prior art keywords
- values
- reading
- recording
- processing
- recorded
- 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.)
- Granted
Links
- 238000003672 processing method Methods 0.000 title 1
- 238000000034 method Methods 0.000 claims abstract description 15
- 230000006870 function Effects 0.000 claims abstract description 8
- 230000000737 periodic effect Effects 0.000 claims abstract description 7
- 238000005070 sampling Methods 0.000 claims description 8
- 230000004913 activation Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
- 238000012800 visualization Methods 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F5/00—Methods or arrangements for data conversion without changing the order or content of the data handled
- G06F5/06—Methods or arrangements for data conversion without changing the order or content of the data handled for changing the speed of data flow, i.e. speed regularising or timing, e.g. delay lines, FIFO buffers; over- or underrun control therefor
- G06F5/10—Methods or arrangements for data conversion without changing the order or content of the data handled for changing the speed of data flow, i.e. speed regularising or timing, e.g. delay lines, FIFO buffers; over- or underrun control therefor having a sequence of storage locations each being individually accessible for both enqueue and dequeue operations, e.g. using random access memory
Abstract
Description
Procédé et système d'acquisition et de traitement de données. La présente invention concerne un procédé et système d'acquisition et de traitement de données. Il existe actuellement deux modes d'acquisition et de traitement de don- nées. Un premier mode, dit "avec déclencheur", est basé sur un enregistrement perpétuel local (dans un buffer tournant). L'enregistrement s'arrête au moment du déclenchement, et les données du buffer contiennent les derniers états qu'il suffit de venir récupérer pour les traiter. Ce mode présente un certain nombre d'in- convénients. En premier lieu, il n'est pas possible de visualiser les données "au vol", tant que le déclencheur n'est pas activé. Par ailleurs, le mode avec déclencheur nécessite plus de mémoire dans l'automate d'acquisition pour contenir toutes les données pendant toute la durée de l'enregistrement. Enfin, il est nécessaire de télécharger une grosse quantité d'information d'un seul coup après le déclenchement. Un mode sans déclencheur est basé sur une acquisition "lente" (de l'ordre de 100 ms) asynchrone. Ce mode ne permet donc pas d'enregistrer les signaux à variations rapides et ne donne pas une grande précision sur l'échelle des temps. Par ailleurs, il ne possède pas de synchronisation avec le calcul qui produit les valeurs, ce qui ne permet pas de détecter certaines variations trop rapides (di-tes "glitches"). La présente invention vise à pallier ces inconvénients. Method and system for acquiring and processing data The present invention relates to a method and system for acquiring and processing data. There are currently two modes of data acquisition and processing. A first mode, called "with trigger", is based on a local perpetual record (in a rotating buffer). The recording stops at the moment of the triggering, and the data of the buffer contains the last states which it is enough to come to recover to treat them. This mode has a number of disadvantages. Firstly, it is not possible to view the data "on the fly", as long as the trigger is not activated. In addition, the trigger mode requires more memory in the acquisition controller to hold all the data for the duration of the recording. Finally, it is necessary to download a large amount of information at once after the trigger. A mode without a trigger is based on a "slow" (as much as 100 ms) asynchronous acquisition. This mode therefore does not record the fast-changing signals and does not give a great precision on the time scale. Moreover, it does not have synchronization with the calculation which produces the values, which does not make it possible to detect certain too fast variations (di-your "glitches"). The present invention aims to overcome these disadvantages.
Plus particulièrement, l'invention a pour but de fournir un procédé et système d'acquisition et de traitement de données qui présente les avantages combinés des modes "avec déclencheur" et "sans déclencheur". A cet effet, l'invention a tout d'abord pour objet un procédé d'acquisition et de traitement de données, comprenant les étapes consistant à : - enregistrer les valeurs d'au moins une variable dans une mémoire tampon à des intervalles de temps périodiques ; - lire dans ladite mémoire tampon les valeurs enregistrées depuis la lecture précédente à des intervalles de temps déterminés par une application, asynchrones avec la périodicité de l'enregistrement ; - traiter dans le cadre de ladite application les valeurs lues ; et - poursuivre le cycle de lecture/traitement des valeurs enregistrées. Ce type d'acquisition de données réunit les avantages de l'acquisition périodique avec ceux de l'acquisition déclenchée en se basant tout comme cette dernière, sur un enregistreur local afin d'être synchronisé avec l'algorithme de traitement pour avoir un échantillon à chaque cycle. More particularly, the object of the invention is to provide a method and system for data acquisition and processing which has the combined advantages of the "with trigger" and "without trigger" modes. For this purpose, the invention firstly relates to a method for acquiring and processing data, comprising the steps of: - storing the values of at least one variable in a buffer memory at intervals of time periodicals; reading in said buffer the values recorded from the previous reading at time intervals determined by an application, asynchronous with the periodicity of the recording; - treat within the framework of said application the values read; and - continue the reading / processing cycle of the recorded values. This type of data acquisition combines the advantages of periodic acquisition with those of the acquisition triggered by basing itself, like the latter, on a local recorder in order to be synchronized with the processing algorithm to obtain a sample to each cycle.
Le principe de cette nouvelle acquisition est en effet de prélever dans l'enregistreur local toutes les valeurs qui ont été enregistrées depuis la dernière acquisition. L'enregistreur local sert donc de "zone tampon" permettant de stocker les données à chaque cycle de traitement, en attendant qu'elles soient récupérées par l'application qui ramène un paquet de données d'autant plus grand qu'il s'est écoulé de temps depuis la dernière occurrence. Dans le cas d'une application de visualisation, cette dernière a donc lieu "au fil de l'eau" des signaux. En outre, la synchronisation est totale avec les algorithmes (périodiques) de traitement. Il n'y a pas de perte de données pour les signaux très rapides Enfin, le flux de données est réparti plus uniformément dans le temps. Dans un mode de mise en oeuvre particulier, ladite mémoire tampon est du type "buffer tournant", et le procédé comprend les étapes consistant, à chaque lecture, à : - lire les emplacements de mémoire à partir d'un emplacement désigné par un pointeur de lecture ; - transférer à ladite application les valeurs lues dans lesdits emplace-ments , et - incrémenter ledit pointeur de lecture. Egalement dans un mode de réalisation particulier, ladite application est un affichage de l'évolution dans le temps des valeurs d'au moins une fonction de la-dite au moins une variable. The principle of this new acquisition is indeed to take from the local recorder all the values that have been recorded since the last acquisition. The local recorder thus serves as a "buffer zone" for storing the data at each processing cycle, while waiting for them to be retrieved by the application which brings back a data packet all the greater as it has been elapsed time since the last occurrence. In the case of a visualization application, the latter is therefore "on the water" signals. In addition, synchronization is complete with (periodic) processing algorithms. There is no data loss for very fast signals Finally, the data flow is distributed more evenly over time. In a particular mode of implementation, said buffer memory is of the "rotating buffer" type, and the method comprises the steps of, at each reading, to: read the memory locations from a location designated by a pointer reading; - Transfer to said application the values read in said locations, and - incrementing said read pointer. Also in a particular embodiment, said application is a display of the evolution over time of the values of at least one function of la-said at least one variable.
L'invention a également pour objet un système d'acquisition et de traitement de données, comprenant : - des moyens d'échantillonnage des valeurs d'au moins une variable à des intervalles de temps périodiques ; - une mémoire tampon pour enregistrer les valeurs échantillonnées au fur et à mesure de leur échantillonnage ; - des moyens de traitement de données agencés pour fonctionner à une cadence asynchrone avec la périodicité de l'échantillonnage et de l'enregistrement ; - lesdits moyens de traitement de données étant agencés pour lire dans ladite mémoire tampon les valeurs enregistrées depuis la lecture précé-dente à des intervalles de temps déterminés par le temps de traitement, et pour traiter les valeurs prélevées. Dans un mode de réalisation particulier, ladite mémoire tampon est du type "buffer tournant". Egalement dans un mode de réalisation particulier, le système comprend des moyens d'affichage, les moyens de traitement de données étant agencés pour calculer les valeurs d'au moins une fonction de ladite au moins une variable, et pour afficher sur lesdits moyens d'affichage l'évolution dans le temps des valeurs de ladite au moins une fonction. On décrira maintenant, à titre d'exemple non limitatif, un mode de réalisation particulier de l'invention, en référence au dessin schématique annexé dans lequel la figure unique est une illustration d'un procédé d'acquisition et de traite-ment de données selon l'invention. The subject of the invention is also a system for acquiring and processing data, comprising: means for sampling the values of at least one variable at periodic intervals of time; a buffer memory for recording the sampled values as and when they are sampled; data processing means arranged to operate at an asynchronous rate with the periodicity of sampling and recording; said data processing means being arranged to read in said buffer memory the values recorded since the previous reading at time intervals determined by the processing time, and to process the sampled values. In a particular embodiment, said buffer memory is of the "rotating buffer" type. Also in a particular embodiment, the system comprises display means, the data processing means being arranged to calculate the values of at least one function of said at least one variable, and to display on said means of displaying the evolution over time of the values of said at least one function. A particular embodiment of the invention will now be described, by way of nonlimiting example, with reference to the appended schematic drawing in which the single figure is an illustration of a process for acquiring and processing data. according to the invention.
On voit sur la figure le bloc 1 illustrant la partie "acquisition" du procédé de l'invention et le bloc 2 illustrant le bloc "traitement". La partie "acquisition" est en attente en 3 de son activation, qui peut être périodique ou non. Cette attente dure jusqu'à l'initialisation d'un processus 4 qui produira les données à traiter. FIG. 1 shows the block 1 illustrating the "acquisition" part of the method of the invention and the block 2 illustrating the "treatment" block. The "acquisition" part is waiting in 3 of its activation, which can be periodic or not. This wait lasts until the initialization of a process 4 that will produce the data to be processed.
Une fois le processus 4 lancé, les données sont échantillonnées en 5 et en-registrées dans un buffer tournant 6, à des intervalles de temps périodiques pré-déterminés. On voit sur la figure un pointeur de remplissage 7 pointant sur la mémoire, ici d'adresse n+4, dans laquelle est enregistrée la donnée à l'instant en cours. Bien entendu, plusieurs données peuvent être enregistrées selon l'invention, en synchronisme ou non. Le pointeur de remplissage 7 est incrémenté en 8 à chaque cycle d'échantillonnage. Le cycle d'échantillonnage est bouclé en 9. Le traitement des données consiste, dans l'exemple donné ici, à afficher sur un moniteur la courbe 10 d'évolution dans le temps des valeurs d'une de ces don-nées ou, de façon plus générale, toute(s) fonction(s) de ces données. L'activation de cet affichage s'effectue sensiblement périodiquement en 11, de façon asynchrone avec l'échantillonnage 5 des données. En 12, le système recherche combien d'échantillonnages et d'enregistrements ont été effectués de- puis la dernière lecture et ces enregistrements sont lus en 13 et affichés en 14. La lecture des enregistrements de données s'effectue par l'intermédiaire d'une liaison 15 à un serveur 16. La liaison est par exemple réalisée sous protocole Internet. La lecture porte sur les données enregistrées depuis la lecture précédente, identifiées par un pointeur de lecture 17 mis à jour en 18 après chaque lecture. Once the process 4 has started, the data is sampled at 5 and recorded in a rotating buffer 6 at pre-determined periodic time intervals. FIG. 7 shows a filling pointer pointing to the memory, here of address n + 4, in which the data is recorded at the instant in progress. Of course, several data can be recorded according to the invention, in synchronism or not. The fill pointer 7 is incremented at 8 at each sampling cycle. The sampling cycle is completed in 9. The data processing consists, in the example given here, of displaying on a monitor the curve 10 of evolution over time of the values of one of these data or, of more generally, any function (s) of these data. The activation of this display occurs substantially periodically at 11, asynchronously with the sampling of the data. At 12, the system searches how many samplings and recordings have been made since the last reading and these records are read at 13 and displayed at 14. The data records are read through a link 15 to a server 16. The link is for example carried out under Internet protocol. The reading relates to the data recorded since the previous reading, identified by a read pointer 17 updated at 18 after each reading.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
FR0853564A FR2931987B1 (en) | 2008-05-30 | 2008-05-30 | METHOD AND SYSTEM FOR ACQUIRING AND PROCESSING DATA. |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
FR0853564A FR2931987B1 (en) | 2008-05-30 | 2008-05-30 | METHOD AND SYSTEM FOR ACQUIRING AND PROCESSING DATA. |
Publications (2)
Publication Number | Publication Date |
---|---|
FR2931987A1 true FR2931987A1 (en) | 2009-12-04 |
FR2931987B1 FR2931987B1 (en) | 2012-11-16 |
Family
ID=40210727
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
FR0853564A Active FR2931987B1 (en) | 2008-05-30 | 2008-05-30 | METHOD AND SYSTEM FOR ACQUIRING AND PROCESSING DATA. |
Country Status (1)
Country | Link |
---|---|
FR (1) | FR2931987B1 (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0396669A1 (en) * | 1988-10-14 | 1990-11-14 | Digital Equipment Corp | Method and apparatus for detecting impending overflow and/or underrun of elasticity buffer. |
EP0425964A2 (en) * | 1989-10-31 | 1991-05-08 | Motorola, Inc. | Asynchronous voice reconstruction for a digital communication system |
US6956775B1 (en) * | 2003-12-31 | 2005-10-18 | Intel Corporation | Write pointer error recovery |
US20060093320A1 (en) * | 2004-10-29 | 2006-05-04 | Hallberg Bryan S | Operation modes for a personal video recorder using dynamically generated time stamps |
FR2899985A1 (en) * | 2006-04-13 | 2007-10-19 | St Microelectronics Sa | Circular buffer controlling device for memorizing data word, has delay circuit adjusted when clock signals associated with systems have same frequency, such that edges of delayed clock signal are off set with edges of clock signals |
EP1921620A1 (en) * | 2006-11-08 | 2008-05-14 | MediaTek Inc. | Systems and methods for playing back data from a circular buffer by utilizing embedded timestamp information |
-
2008
- 2008-05-30 FR FR0853564A patent/FR2931987B1/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0396669A1 (en) * | 1988-10-14 | 1990-11-14 | Digital Equipment Corp | Method and apparatus for detecting impending overflow and/or underrun of elasticity buffer. |
EP0425964A2 (en) * | 1989-10-31 | 1991-05-08 | Motorola, Inc. | Asynchronous voice reconstruction for a digital communication system |
US6956775B1 (en) * | 2003-12-31 | 2005-10-18 | Intel Corporation | Write pointer error recovery |
US20060093320A1 (en) * | 2004-10-29 | 2006-05-04 | Hallberg Bryan S | Operation modes for a personal video recorder using dynamically generated time stamps |
FR2899985A1 (en) * | 2006-04-13 | 2007-10-19 | St Microelectronics Sa | Circular buffer controlling device for memorizing data word, has delay circuit adjusted when clock signals associated with systems have same frequency, such that edges of delayed clock signal are off set with edges of clock signals |
EP1921620A1 (en) * | 2006-11-08 | 2008-05-14 | MediaTek Inc. | Systems and methods for playing back data from a circular buffer by utilizing embedded timestamp information |
Also Published As
Publication number | Publication date |
---|---|
FR2931987B1 (en) | 2012-11-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
FR2538028A1 (en) | METHOD AND APPARATUS FOR CONTROLLING THE OPERATION OF A WELL PUMP ASSEMBLY | |
FR2554256A1 (en) | APPARATUS AND METHOD FOR REGENERATING A HIGH-SPEED WORKING RANGE BUFFER | |
FR2563569A1 (en) | METHOD AND DEVICE FOR CONTROLLING THE OPERATION OF A WELL PUMPING SYSTEM | |
EP0745866A1 (en) | Method and apparatus for movement detection of a target and its applications | |
CN106331559A (en) | Method and system for intelligent video recognition on aeration of sewage reservoir | |
EP3486734A1 (en) | Chronometric monitoring | |
FR2901949A1 (en) | METHOD OF SLEEPING A DIGITAL TELEVISION DECODER AND DIGITAL DECODER WITH LOW POWER SAVING MODE | |
FR2499734A1 (en) | METHOD AND APPARATUS FOR TOMOGRAPHY CALCULATED | |
BE897048A (en) | METHOD AND DEVICE FOR PROCESSING RADIOSCOPIC IMAGES | |
FR2931987A1 (en) | Data acquiring and processing method, involves reading recorded values from reader preceding to time intervals asynchronous with periodicity of recording of values, and proceeding reading/processing cycle of recorded values | |
FR2479447A1 (en) | METHOD AND DEVICE FOR NON-CONTACT MEASUREMENT OF A DIMENSION | |
FR2536884A1 (en) | DATA TRANSFER NETWORK BETWEEN MULTIPLE PROCESSORS AND A MEMORY | |
EP2695377B1 (en) | Detection of space debris | |
EP3209206A1 (en) | Method of testing an infant and suitable device for implementing the test method | |
FR2897961A1 (en) | Video game execution managing method for displaying advertisement, involves downloading advertisement data from remote server during loading of one module, where advertisement data is associated to video game data of another module | |
EP0690623B1 (en) | Method of and device for inserting asynchronous data into a digital signal | |
EP0407295B1 (en) | Method for observing the execution of a program loaded into a computer system and apparatus for implementing said method | |
FR2968436A1 (en) | METHOD FOR DETERMINING THE MOVEMENTS OF AN OBJECT FROM A FLOW OF IMAGES | |
EP0782330A1 (en) | Block-matching motion estimation device | |
BE1029415B1 (en) | A system and method for measuring subject responses, computer program and computer readable medium | |
EP0192562A1 (en) | Method for increasing the radar repetition frequency range acceptable by a numerical image converter, and means for carrying out such a method | |
FR2812533A1 (en) | Prediction of person's mental state of tiredness uses analysis of past encephalograms to create fatigue and recovery functions for prediction of state | |
FR2519445A1 (en) | METHOD FOR TOMODENSITOMETRIC IMAGING IN DYNAMIC MODE, AND TOMODENSITOMETER IMPLEMENTING SAID METHOD | |
FR2825167A1 (en) | METHOD AND SYSTEM FOR ACCESSING A COMMON MEMORY | |
Riopel et al. | An optimized data acquisition system without Reset Anomaly for the HAWAII and HAWAII-2 Arrays |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
TP | Transmission of property | ||
PLFP | Fee payment |
Year of fee payment: 9 |
|
PLFP | Fee payment |
Year of fee payment: 10 |
|
PLFP | Fee payment |
Year of fee payment: 11 |
|
PLFP | Fee payment |
Year of fee payment: 12 |
|
PLFP | Fee payment |
Year of fee payment: 13 |
|
PLFP | Fee payment |
Year of fee payment: 14 |
|
PLFP | Fee payment |
Year of fee payment: 15 |
|
PLFP | Fee payment |
Year of fee payment: 16 |
|
PLFP | Fee payment |
Year of fee payment: 17 |