This invention relates generally to data acquisition systems and more particularly, to methods and apparatus for transmitting self-describing data packets to change configuration parameters on the fly.
In at least some known data acquisition systems a detailed description of all electrical hardware and data display parameters is defined prior to actual data acquisition. Typically, such configuration parameters are defined prior to data acquisition, and then remain constant for the duration of data acquisition. Configuration parameters are not typically permitted to change during data acquisition. If the system permits changes to configuration parameters on the fly, it is difficult to correlate acquired data to the set of configuration parameters used while the data was acquired. The difficulty requires significant processing overhead to accomplish. At relatively slow data rates, known processors may be able to process the acquired data and the configuration parameters in use when the data was acquired. However, for data transfer rates commonly in use and for data rates expected in the future, faster methods of correlating data with the configuration parameters in use when the data was acquired are needed. Additionally, configuration and control interfaces generally do not permit configuration parameters to be modified individually.
In one embodiment, a method for transmitting data between elements of a data acquisition system includes receiving, at a first element, a self-describing control packet including a first configuration parameter, the first configuration parameter controls first data acquisition by the first element, acquiring first data by the first element in accordance with the first configuration parameter, generating a self-describing data packet including an identifier for the first configuration parameter and the acquired first data, and interpreting the acquired first data using the identifier.
In another embodiment, a data acquisition system includes an interface element configured to receive first configuration parameter information from at least one of a user at said interface element and a software generated rule. The interface element is further configured to generate a self-describing control packet including the received first configuration parameter information, The data acquisition system further includes a first element configured to receive the self-describing control packet and to control acquisition of first data by the first element using the first configuration parameter information, and a second element configured to interpret the acquired first data using the first configuration parameter information.
In yet another embodiment, a computer program embodied on a computer readable medium for controlling data acquisition on a machine includes a code segment that controls a data acquisition system to receive, at a first element, a self-describing control packet including a first configuration parameter, the first configuration parameter controls first data acquisition by the first element. The code segment also controls the data acquisition system to acquire first data by the first element in accordance with the first configuration parameter, generate a self-describing data packet including an identifier for the first configuration parameter and the acquired first data, and interpret the acquired first data using the identifier.
In the exemplary embodiment, a configuration and control protocol is used that is flexible to allow single or multiple configuration parameters to be changed using a single configuration packet such that on-the-fly configuration changes are supported. A message can be comprised of any number of objects. In the exemplary embodiment, an individual object contains an individual configuration parameter. Because of this a single or any number of configuration parameters can be supplied to any input card 108 at any time. Additionally, to mark a beginning of a configuration sequence and an end of a configuration sequence, multiple messages are bundled together in a packet. By bundling the messages together special enter configuration and exit configuration tokens do not need to be passed from system component to component.
Configuration and control message packet 200 includes a protocol field 202 is used to identify the protocol used with the message packet. Various protocol types are configurable and future protocols may be generated without affecting existing protocols. A packet 204 includes a packet header 206 and one or more messages 208. Packet header 206 supports providing the entire configuration of any input card 108 using a single configuration packet. A message header 210 includes a message ID field that identifies the operation, a message overall length field that identifies the length of entire message, including the message header, and an operator such as a set operator, a get operator, a response, and a trap. A trap is an unsolicited event or message that informs the SBC of asynchronous events. Each object 212 included in a message 208 includes an object header 214. Object header 214 includes an object identifier (OID) and a length field that describes an overall length of object 212. Each object also includes a data field 216 that includes the individual configuration parameters.
An object header 306 includes an object identifier (OID), and an identifier that varies for a given object type. For example, for some objects the identifier indicates physical channel, for others a group ID. For some objects the identifier is not used. A cause field indicates why a sample was taken and if the data is pre-trigger or post trigger. In the case of an event notification the cause field is used by firmware to indicate to the system computer if the group has transitioned in or out of the triggered state. The cause field is used to indicate the reason why the data was collected such as due to an amplitude event, delta time event, rpm event, or some other external event. A length filed describes the overall length of the object including the header in bytes. A data field 308 includes both acquired data and all the configuration parameters that can change on-the-fly for the specific object type.
A spectral data sample information field 406 includes, for example, a number samples that describes the number of raw samples included in the object. A time stamp is generated by a high resolution, 100 microsecond (μs) resolution hardware timer that indicates when the first sample was acquired. A data type field describes the type of sampling used, for example, asynchronous, synchronous, true zoom asynchronous, or true zoom synchronous. A spectral data samples field 408 includes the acquired data described in for example, an unsigned 16 bit value.
A static data object field 408 includes the acquired data configuration. In the exemplary embodiment, the following information is included:
The above-described on-the-fly configuration method is cost-effective and highly reliable. The method permits configurations to be changed “during” data acquisition and display and also permits the data to be quickly and efficiently interpreted and individual parameters to be changed individually such that correlating configuration parameters that can change on-the-fly to specific units of data is performed using configuration information contained in each message packet. Accordingly, the on-the-fly configuration method facilitates the interpretation of acquired data in a cost-effective and reliable manner.
While the invention has been described in terms of various specific embodiments, those skilled in the art will recognize that the invention can be practiced with modification within the spirit and scope of the claims.
Number | Name | Date | Kind |
---|---|---|---|
5115432 | Haas | May 1992 | A |
5159673 | Sackmann et al. | Oct 1992 | A |
5206933 | Farrell et al. | Apr 1993 | A |
5218680 | Farrell et al. | Jun 1993 | A |
5261059 | Hedberg et al. | Nov 1993 | A |
5287537 | Newmark et al. | Feb 1994 | A |
5325492 | Bonevento et al. | Jun 1994 | A |
6085248 | Sambamurthy et al. | Jul 2000 | A |
6567846 | Garg et al. | May 2003 | B1 |
6725281 | Zintel et al. | Apr 2004 | B1 |
6763395 | Austin | Jul 2004 | B1 |
6779004 | Zintel | Aug 2004 | B1 |
6892230 | Gu et al. | May 2005 | B1 |
6892249 | Codilian et al. | May 2005 | B1 |
6910068 | Zintel et al. | Jun 2005 | B2 |
7194598 | Jacob | Mar 2007 | B2 |
7467202 | Savchuk | Dec 2008 | B2 |
20020029256 | Zintel et al. | Mar 2002 | A1 |
20020035621 | Zintel et al. | Mar 2002 | A1 |
20030040897 | Murphy et al. | Feb 2003 | A1 |
20040030822 | Rajan et al. | Feb 2004 | A1 |
20040045007 | Boland et al. | Mar 2004 | A1 |
20040260800 | Gu et al. | Dec 2004 | A1 |
20050022210 | Zintel et al. | Jan 2005 | A1 |
20050074018 | Zintel et al. | Apr 2005 | A1 |
20050097503 | Zintel et al. | May 2005 | A1 |
20050114367 | Serebrennikov | May 2005 | A1 |
20050166033 | Jacob | Jul 2005 | A1 |
20050193366 | Boland et al. | Sep 2005 | A1 |
20050240665 | Gu et al. | Oct 2005 | A1 |
20050240993 | Treadwell et al. | Oct 2005 | A1 |
20050267935 | Gandhi et al. | Dec 2005 | A1 |
20060022048 | Johnson | Feb 2006 | A1 |
20060143316 | Mills et al. | Jun 2006 | A1 |
20060168013 | Wilson et al. | Jul 2006 | A1 |
Number | Date | Country | |
---|---|---|---|
20080043821 A1 | Feb 2008 | US |