Search

CN-122019545-A - Real-time acquisition and storage method for key operation parameters of frequency converter

CN122019545ACN 122019545 ACN122019545 ACN 122019545ACN-122019545-A

Abstract

The invention discloses a real-time acquisition and storage method of key operation parameters of a frequency converter, which belongs to the technical field of frequency converters and comprises the steps of acquiring, time aligning and packaging the operation parameters according to the data types at the edge side aiming at the characteristics of concurrent access, multiple data types, disordered arrival and continuous growth of a plurality of frequency converters, constructing a logic storage address at the center side based on a time interval, equipment identification and the data types, realizing the mapping and orderly writing of the logic address and a physical storage position through a storage positioning mechanism, the invention solves the technical problems of complete acquisition, stable storage and quick positioning inquiry under the conditions of high concurrence and disordered uploading of the operation data of a plurality of frequency converters, ensures the integrity of the original operation data, effectively reduces the network transmission pressure, avoids the storage confusion caused by uncertain arrival sequence of the data, and improves the storage efficiency and the inquiry efficiency of the operation data of a large-scale frequency converter.

Inventors

  • DU WEI

Assignees

  • 杜成物联(杭州)有限公司

Dates

Publication Date
20260512
Application Date
20260203

Claims (7)

  1. 1. A real-time acquisition and storage method for key operation parameters of a frequency converter is characterized by comprising the following steps: The method comprises the steps that step 1, acquisition units arranged on the side of a frequency converter acquire operation data in real time in the operation process of the frequency converter, each acquisition unit comprises an edge side storage unit, the acquisition units time-sequence the operation data according to the dimension of a single frequency converter and then store the operation data in the edge side storage units; step 2, when the acquisition unit meets the preset triggering condition, selecting at least one complete data block from the edge side storage unit as an object to be uploaded, splitting operation data contained in the selected data block according to the data type, and respectively recombining the operation data belonging to the same data type in the same data block into corresponding edge side data packets; Step 3, the monitoring center receives and analyzes the received edge side data packet, extracts meta information related to the operation data, generates a logic storage address based on the meta information, establishes a storage location mapping between the logic storage address and the data meta information, and generates a data logic location structure independent of a physical storage position; Step 4, the monitoring center writes the corresponding operation data into the database server according to the logic storage address and the storage location mapping, and updates the storage state information after the writing is completed; and 5, after the client sends a data query request to the monitoring center, the monitoring center screens and positions the logic storage address according to the storage positioning mapping, reads corresponding operation data from the database server according to the screening and positioning result, and completes quick query of the operation data of the designated frequency converter.
  2. 2. The method for real-time acquisition and storage of key operating parameters of a frequency converter as set forth in claim 1, wherein each acquisition unit is an edge node, and an edge node is responsible for acquiring operating data of the frequency converter, and the type of the operating data includes current, voltage and frequency; the acquisition unit consists of a sampling module in the frequency converter or a sensor module connected with the sampling module and a data processing module, and the edge side storage unit is a local memory of the acquisition unit.
  3. 3. The method for collecting and storing key operation parameters of a frequency converter in real time according to claim 2, wherein the step 1 is performed by: Step 1-1, in the running process of the frequency converter, the edge node continuously collects running Data of the frequency converter, and uniformly time-marks all collected running Data to form an original Data sequence Data i (t k with time consistency), which is specifically expressed as: Data i (t k )={I(t k ),U(t k ),f(t k ),...}; Wherein t k represents time, I, U, f represents current, voltage and frequency respectively, i represents the number of the frequency converter; Step 1-2, writing the original Data sequence Data i (t k ) into the edge side storage unit, wherein the writing sequence satisfies the following conditions: Data i (t 1 )→Data i (t 2 )→⋯→Data i (t n ),t 1 <t 2 <...<t n ; wherein n represents the last moment; Step 1-3, according to a preset fixed time interval, carrying out segmentation processing on continuously written operation data to generate a plurality of continuous data blocks; Step 1-4, adding corresponding Meta information to each data block, wherein the Meta information Meta i,m is specifically expressed as follows: Meta i,m ={DeviceID,DataTypeSet,T start ,T end ,SeqNo}; wherein DeviceID represents a frequency converter identification, DATATYPESET represents a set of all types of operation data contained in the data block, T start represents a data acquisition start time, T end represents a data acquisition end time, and SeqNo represents a serial number of a local generation sequence.
  4. 4. The method for collecting and storing key operation parameters of a frequency converter in real time according to claim 3, wherein said step 2 is performed by: step 2-1, when an edge node meets a preset trigger condition, selecting one or more complete data blocks from an edge side storage unit as objects to be uploaded; the preset trigger condition is that the trigger is triggered at fixed time intervals, the accumulated data quantity reaches a threshold value trigger or the local buffer capacity reaches the threshold value trigger; Step 2-2, splitting the operation data contained in each selected data block according to the type of the operation data, extracting the operation data belonging to the same data type in the same data block, and forming a corresponding data type subsequence; step 2-3, for each data type subsequence, combining meta information of the original data block, packaging and generating a corresponding edge side data packet, wherein the edge side data packet comprises an operation data sequence of a single data type, a frequency converter identifier DeviceID, a data type DataType, a data acquisition start time T start , a data acquisition end time T end and a local sequence number SeqNo; And 2-4, uploading the generated plurality of edge side data packets to a monitoring center through a network by the acquisition unit in an asynchronous mode, and enabling the edge side data packets from different frequency converters, different data types or different time intervals to arrive at the monitoring center in an disordered or concurrent mode.
  5. 5. The method for collecting and storing key operation parameters of a frequency converter in real time according to claim 2, wherein the step 3 is performed by: step 3-1, a monitoring center receives edge side data packets uploaded by a plurality of edge nodes, analyzes each edge side data packet, specifically separates operation data from meta information describing the source and time of the operation data, and marks a frequency converter, an acquisition time range and a data type corresponding to the edge side data packet; Step 3-2, the monitoring center maps the edge side data packet into a preset time interval according to the acquisition starting time contained in the edge side data packet, so that the data on the continuous time axis is logically divided into a plurality of time periods, specifically, a preset time interval length delta T is preset, the continuous time axis is discretized into a time barrel with a fixed length, and the time barrel is expressed as follows: TimeBucket=⌊T star /ΔT⌋; Wherein T star represents the data acquisition start time, and is specifically obtained from meta information, timeBucket is a time bucket; In the same time interval, for the edge side data packet which originates from the same frequency converter and belongs to the same data type, the monitoring center distributes logic segment identifiers for the edge side data packet, and the logic segment identifiers are used for describing the logic precedence relationship of the edge side data packet in the similar data, and specifically expressed as follows: Segmentid=seqid or AutoIncrement (TimeBucket, deviceID, dataType) The deviceID represents a frequency converter identifier, the DataType represents a data type, the SeqID represents a sequence number of an edge node, the segmentID represents a logic segment identifier, autoIncrement () represents an automatic increment function, and the sequential numbering rule of sequentially allocating increment logic segment identifiers to different data segments under the conditions of the same time interval, equipment identifier and data type is specific; DeviceID, dataType and SeqID are both obtained from meta information; Step 3-4, the monitoring center splices and combines the time bucket, the frequency converter identifier, the data type and the logic segment identifier to generate a unique logic storage address, wherein the logic storage address is used for describing only the logic position of the operation data in the edge side data packet under the [ time+equipment+type ] dimension, and the logic storage address is expressed as follows: LogicalAddress=<TimeBucket,DeviceID,DataType,SegmentID>; wherein LogicalAddress is a logical storage address; Step 3-5, the monitoring center correlates the generated logic storage address with the meta information of the corresponding operation data, and writes the logical storage address into a storage location mapping which is used as the index basic information of data writing and inquiring, and the storage location mapping is expressed as follows: MappingRecord={LogicalAddress,DeviceID,DataType,T start ,T end ,Fs,N} Wherein MappingRecord is a memory location map, T end is the data acquisition end time, fs is the sampling frequency, and N is the number of data points; Step 3-6, the monitoring center establishes a storage location mapping list according to the storage location mapping, and establishes a data logic location structure independent of the physical storage location; The physical storage location is a physical storage address location of a database server.
  6. 6. The method for real-time collection and storage of key operating parameters of a frequency converter according to claim 5, wherein the step 4 is performed by: step 4-1, the monitoring center uses the logic storage address and the storage location mapping as the only basis for data writing, triggers the data writing flow, specifically maps the operation data to be written into the corresponding storage partition in the database server according to the time interval identifier, the equipment identifier and the data type in the logic storage address, and correlates the logic storage structure and the physical storage structure to determine the physical storage position, and is specifically expressed as follows: PhysicalLocation=f(TimeBucket,DeviceID,DataType); Wherein PhysicalLocation denotes the association between a logical storage structure and a physical storage structure, timeBucket denotes a time bucket, deviceID denotes a frequency converter identifier, dataType denotes a data type, and f () denotes a mapping function, specifically a mapping rule for selecting a physical storage location of operation data based on a time interval identifier, a device identifier and a data type in a logical storage address; Step 4-2, after determining the physical storage position, sequentially organizing the operation data under the same logical storage address according to the logical segment identification segment ID, and sequentially writing the operation data into the corresponding storage space, wherein the sequential organization is represented as follows: WriteOrder∝SegmentID; Wherein WriteOrder represents the write sequence of the operation data in the corresponding physical storage location, the write sequence being determined according to the logical segment identification; step 4-4, after the operation of writing the operation data into the database server is completed, the monitoring center executes the integrity check operation on the written operation data, and confirms that the operation data is not lost, truncated or misplaced in the writing process; And 4-5, after the integrity check operation is passed, the monitoring center updates the state information of the corresponding logic storage address in the storage location mapping table, and the state information is used for identifying that the operation data in the logic location is written in the storage location mapping table and can be used for subsequent query and call.
  7. 7. The method for real-time collection and storage of key operating parameters of a frequency converter according to claim 6, wherein the step 5 is performed by: step 5-1, after a client sends a data query request to a monitoring center, the monitoring center extracts query conditions related to operation data of a frequency converter from the data query request, wherein the query conditions at least comprise equipment identification, data type and time range; and 5-2, converting the query condition into a corresponding logic storage address by the monitoring center according to the extracted query condition, wherein the method is specifically shown as follows: LogicalAddressSet=g(DeviceID,DataType,TimeRange); Wherein LogicalAddressSet represents a logical storage address, deviceID represents a frequency converter identifier, dataType represents a data type, TIMERANGE represents a time range, g () represents a rule for generating a logical storage address set corresponding to a query condition according to the device identifier, the data type and the time range in the query condition; Step 5-3, the monitoring center searches the corresponding storage location mapping according to the logic storage address LogicalAddressSet, and analyzes the physical storage position and the writing state information associated with the logic storage address LogicalAddressSet: PhysicalLocationSet=Map(LogicalAddressSet); Map () represents a lookup rule that maps a logical storage address to a corresponding physical storage location through a storage location mapping table; Step 5-4, after determining the physical storage location PhysicalLocationSet, the monitoring center orderly reads the corresponding operation data according to the logic storage address LogicalAddressSet and the logic segment identification segment id, and logically reorganizes the read operation data to restore the continuity of the operation data in the time dimension and the equipment dimension, wherein the logic reorganization is represented as follows: ReadOrder∝SegmentID; Wherein ReadOrder represents the logical reorganization order of the operation data in the reading process; And 5-5, the monitoring center encapsulates the operation data after logic recombination and sends the operation data to the client for display.

Description

Real-time acquisition and storage method for key operation parameters of frequency converter Technical Field The invention belongs to the technical field of frequency converters, and particularly relates to a real-time acquisition and storage method for key operation parameters of a frequency converter. Background The frequency converter is used as key execution equipment in an industrial automation system, and key operation parameters such as current, voltage, frequency and the like in the operation process of the frequency converter directly reflect the operation state and the working quality of the equipment. The method is used for continuously collecting, storing and analyzing key operation parameters of the frequency converter for a long time, and is an important basis for realizing equipment operation monitoring, fault diagnosis and operation optimization. In the prior art, the acquisition and storage schemes aiming at the operation data of the frequency converters mainly comprise the following implementation modes that one scheme adopts a centralized acquisition and storage structure, a monitoring center directly acquires and uniformly stores the operation data of a plurality of frequency converters in real time, and the other scheme adopts a mode of preprocessing or uploading after screening at the edge side, and only partially processed data is uploaded to a central side for storage and analysis. However, the prior art solutions described above still have significant drawbacks in practical applications: on one hand, when the centralized acquisition mode faces the scene that a large number of frequency converters run simultaneously, data transmission is unstable easily due to limited network bandwidth and data writing conflict, and high-concurrency and long-time continuous data acquisition requirements are difficult to support, and on the other hand, the mode of edge side preprocessing or screening uploading can reduce the data pressure of the center side, but the original running data is often incomplete, so that follow-up fine analysis and history tracing are affected. In addition, the prior art generally relies on the data arrival sequence or the time stamp to directly write and inquire the operation data, and when the data from different frequency converters arrive at a monitoring center in a disordered and high concurrency mode, the problems of disordered data sequence, difficulty in storage and positioning, reduced inquiry efficiency and the like easily occur, so that the efficient management and quick retrieval of the operation data of the large-scale frequency converters are difficult to realize. Disclosure of Invention The invention aims to provide a real-time acquisition and storage method for key operation parameters of a frequency converter, which solves the technical problems of complete acquisition, stable storage and quick positioning inquiry under the conditions of high concurrence and out-of-order uploading of operation data of a plurality of frequency converters. In order to achieve the above purpose, the invention adopts the following technical scheme: A real-time acquisition and storage method for key operation parameters of a frequency converter comprises the following steps: The method comprises the steps that step 1, acquisition units arranged on the side of a frequency converter acquire operation data in real time in the operation process of the frequency converter, each acquisition unit comprises an edge side storage unit, the acquisition units time-sequence the operation data according to the dimension of a single frequency converter and then store the operation data in the edge side storage units; step 2, when the acquisition unit meets the preset triggering condition, selecting at least one complete data block from the edge side storage unit as an object to be uploaded, splitting operation data contained in the selected data block according to the data type, and respectively recombining the operation data belonging to the same data type in the same data block into corresponding edge side data packets; Step 3, the monitoring center receives and analyzes the received edge side data packet, extracts meta information related to the operation data, generates a logic storage address based on the meta information, establishes a storage location mapping between the logic storage address and the data meta information, and generates a data logic location structure independent of a physical storage position; Step 4, the monitoring center writes the corresponding operation data into the database server according to the logic storage address and the storage location mapping, supports out-of-order writing and concurrent writing when writing operation is executed, and updates the storage state information after writing is completed; and 5, after the client sends a data query request to the monitoring center, the monitoring center screens and positions the logic storage address according