Yokogawa Power Analyzer Data Processing System Based on LabVIEW Platform

By using a data processing system based on the LabVIEW platform, synchronous data acquisition between the Yokogawa power analyzer and other devices was achieved, solving the data isolation problem and improving the automated testing efficiency and data integration capabilities of the experimental platform.

CN122132446APending Publication Date: 2026-06-02XIAN FASHITE AUTOMOBILE TRANSMISSION CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
XIAN FASHITE AUTOMOBILE TRANSMISSION CO LTD
Filing Date
2026-01-30
Publication Date
2026-06-02

AI Technical Summary

Technical Problem

The Yokogawa power analyzer cannot be directly connected to other devices on the test bench, resulting in physical data isolation and the inability to achieve time-synchronous acquisition of multi-dimensional data, which restricts the efficiency of automated testing on the test bench.

Method used

Based on the LabVIEW platform, a communication module, a data processing module, a data acquisition and synchronization module, and a data storage and export module are built. The network communication between the Yokogawa power analyzer and other devices is realized through the VISA-SCPI protocol. The ASCII data stream structured parsing and the unified modeling of the shared variable library are adopted to realize the centralized storage and synchronous acquisition of multi-source data.

Benefits of technology

It enables real-time synchronous acquisition of data from the Yokogawa power analyzer and other equipment, ensuring the efficiency of automated testing on the experimental platform and the time synchronization of multi-dimensional data, thereby improving data integration capabilities and joint analysis levels.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122132446A_ABST
    Figure CN122132446A_ABST
Patent Text Reader

Abstract

This invention belongs to the field of measurement and analysis technology, and relates to a data processing system for a Yokogawa power analyzer based on the LabVIEW platform. The system includes a communication module, a data processing module, a data acquisition and synchronization module, and a data storage and export module. By constructing a standardized communication interface based on VISA-SCPI, an ASCII data stream structured parsing engine, a unified modeling mechanism with a shared variable library, and a native synchronous acquisition architecture based on TDMS, this invention achieves physical homogeneity, temporal synchronization, and logical isomorphism between the raw measurement data from the Yokogawa power analyzer and the multi-source sensor data from the test bench within the LabVIEW platform. Without the need for additional hardware gateways or post-processing interpolation, it achieves microsecond-level trigger alignment and frame-level parameter binding, ensuring the time synchronization of power parameters with other physical quantities. This significantly improves the automated testing efficiency, data integration capabilities, and multi-dimensional joint analysis level of the test bench.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of measurement and analysis technology, and relates to a data processing system for Yokogawa power analyzers based on the LabVIEW platform. Background Technology

[0002] In the performance testing and R&D of power electronic converters, motor drive systems, and new energy equipment, high-precision power measurement is a crucial step in evaluating energy efficiency, verifying control strategies, and diagnosing operational status. Yokogawa power analyzers, with their wide bandwidth, high sampling rate, and multi-channel synchronous measurement, have become industry-recognized benchmark testing instruments, widely used in inverter efficiency testing, motor temperature rise testing, and power quality analysis of grid-connected inverters. Meanwhile, experimental platforms commonly utilize the LabVIEW platform to build automated measurement and control systems. Leveraging its modular I / O drivers, real-time data stream processing, and excellent support for multiple bus protocols such as PXI, USB, and GPIB, these systems achieve integrated management of sensor signal acquisition, remote equipment control, data storage, and visualization.

[0003] However, given the actual need for joint analysis of multi-source heterogeneous parameters in new energy systems, Yokogawa power analyzers, as closed-loop dedicated instruments, only support the acquisition of voltage / current signals and the calculation of derived parameters through their internal channels. They lack open data receiving interfaces and cannot directly access real-time data from other devices on the test bench. This results in Yokogawa power analyzer data not being physically isolated from the data of other devices, making it difficult to achieve time-synchronous acquisition of multi-dimensional data and restricting the automated testing efficiency of the test bench. Summary of the Invention

[0004] The purpose of this invention is to provide a data processing system for Yokogawa power analyzers based on the LabVIEW platform, which can synchronously acquire data from Yokogawa power analyzers and other devices in real time, ensuring the efficiency of automated testing on the experimental platform.

[0005] To achieve the above objectives, the technical solution provided by the present invention is as follows: The Yokogawa power analyzer data processing system based on the LabVIEW platform includes: The communication module is used to establish a network communication connection between the host computer running the LabVIEW platform and the Yokogawa power analyzer based on the VISA and standard command SCPI protocols of the virtual instrument software architecture of the LabVIEW platform. The data processing module is used to receive the ASCII format data stream output by the Yokogawa power analyzer through the communication module, and process the ASCII format data stream to obtain a one-to-one corresponding parameter information array and floating-point numerical array. The data acquisition and synchronization module is used to create a project library file as a storage carrier for shared variables. It converts the parameter information array and the floating-point numerical array into shared variables that can be uniformly called by the experimental platform built on the LabVIEW platform according to the one-to-one mapping relationship between parameter information and parameter value. It extracts the variable path information of the target parameter in the parameter information array, obtains the reference handle of the preset shared variable through the variable path, and continuously writes the parameter value at the corresponding position in the floating-point numerical array into the shared variable based on the reference handle. It also synchronously stores the shared variables of the Yokogawa power analyzer and the shared variables of other devices into the project library file for centralized storage of multi-source data. The data storage and export module is used to configure collection attributes and read all shared variables in the project library file. After writing all the read shared variables into the TDMS file, it is exported to perform multi-source data reading and export.

[0006] The invention is further characterized by: The communication module uses a LAN interface to configure VISA resources based on the VXI-11 protocol and integrates the driver for the Yokogawa power analyzer. It generates a VISA resource descriptor in TCP / IP format, establishes a network communication session between the host computer and the Yokogawa power analyzer based on the VISA resource descriptor, and verifies the validity of the communication connection by sending SCPI commands to query the device identification information of the Yokogawa power analyzer.

[0007] The data processing module processes ASCII format data streams by identifying delimiters and terminators, separating parameter identifier strings and numeric strings, formatting the parameter identifier strings into parameter information arrays containing parameter numbers, names, and channels, and converting the numeric strings into floating-point numeric arrays.

[0008] The data processing module visualizes the structured parameter information array and floating-point numerical array in real time in a multi-column list box on the LabVIEW platform, arranged by serial number, parameter name, channel, value, and variable path.

[0009] The data storage and export module is configured with acquisition attributes including sampling frequency, number of acquisition points, and file storage path. It uses a timed loop structure to read real-time data of all shared variables in the project library file at a set frequency.

[0010] It also includes a configuration module, which receives system parameters input by the user on the host computer interface, converts them into SCPI commands, and then sends them to the Yokogawa power analyzer through the communication module. The system parameters include refresh rate, range, filtering method, efficiency equation, and channel parameters.

[0011] The configuration module allows for remote configuration of any channel and any parameter category through polymorphic VIs and conditional structures.

[0012] It also includes an error handling module, which is used to pass LabVIEW's built-in error cluster information in the execution branches of the communication module, data processing module, data acquisition and synchronization module, data storage and export module, and configuration module. When a communication failure or instruction execution error is detected, the error cluster information is fed back to the host computer interface for display through the LabVIEW state machine architecture, and the execution operation of the current abnormal branch is interrupted.

[0013] The Yokogawa power analyzer data processing system based on the LabVIEW platform of the present invention has the following advantages: This invention achieves physical homogeneity, temporal synchronization, and logical isomorphism between the raw measurement data of the Yokogawa power analyzer and the multi-source sensor data of the test bench within the LabVIEW platform by constructing a standardized communication interface based on VISA-SCPI, an ASCII data stream structured parsing engine, a unified modeling mechanism based on a shared variable library, and a native synchronous acquisition architecture based on TDMS. It achieves microsecond-level trigger alignment and frame-level parameter binding without the need for additional hardware gateways or post-processing interpolation, ensuring the time synchronization of power parameters with other physical quantities. This significantly improves the automated testing efficiency, data integration capabilities, and multi-dimensional joint analysis level of the test bench. Attached Figure Description

[0014] Figure 1 This is a schematic diagram of the communication module in the present invention.

[0015] Figure 2 This is a schematic diagram of the process of the present invention. Detailed Implementation

[0016] The technical solutions of the present invention will now be described clearly and in detail with reference to the accompanying drawings. In the description of the embodiments of the present invention, unless otherwise stated, " / " indicates "or," for example, A / B can mean A or B. "And / or" in the text is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, and B alone. Furthermore, in the description of the embodiments of the present invention, "multiple" refers to two or more. The terms "first" and "second" are used for descriptive purposes only and should not be construed as implying or suggesting relative importance or implicitly indicating the number of indicated technical features. Therefore, a feature defined with "first" or "second" may explicitly or implicitly include one or more of that feature.

[0017] like Figure 1 , Figure 2As shown, this invention provides a Yokogawa power analyzer data processing system based on the LabVIEW platform, including a communication module, a data processing module, a data acquisition and synchronization module, and a data storage and export module. The communication module establishes a network communication connection between the host computer running the LabVIEW platform and the Yokogawa power analyzer based on the LabVIEW platform's virtual instrument software architecture VISA and standard command SCPI protocol. The data processing module receives the ASCII format data stream output by the Yokogawa power analyzer through the communication module and processes the ASCII format data stream to obtain a one-to-one corresponding parameter information array and a floating-point numerical array. The data acquisition and synchronization module creates a project library file as a storage carrier for shared variables, storing the parameters... Information arrays and floating-point numerical arrays are transformed into shared variables that can be uniformly called by experimental platforms built on the LabVIEW platform, according to the one-to-one mapping relationship between parameter information and parameter values. The variable path information of the target parameter in the parameter information array is extracted, and the reference handle of the preset shared variable is obtained through the variable path. The parameter value at the corresponding position in the floating-point numerical array is continuously written to the shared variable based on the reference handle. At the same time, the shared variables of Yokogawa power analyzer and the shared variables of other devices are stored in the project library file for centralized storage of multi-source data. The data storage and export module is used to configure the acquisition attributes and read all shared variables in the project library file. After writing all the read shared variables into the TDMS file, they are exported to perform multi-source data reading and export. This invention achieves physical homogeneity, temporal synchronization, and logical isomorphism between the raw measurement data of the Yokogawa power analyzer and the multi-source sensor data of the test bench within the LabVIEW platform by constructing a standardized communication interface based on VISA-SCPI, an ASCII data stream structured parsing engine, a unified modeling mechanism based on a shared variable library, and a native synchronous acquisition architecture based on TDMS. It achieves microsecond-level trigger alignment and frame-level parameter binding without the need for additional hardware gateways or post-processing interpolation, ensuring the time synchronization of power parameters with other physical quantities. This significantly improves the automated testing efficiency, data integration capabilities, and multi-dimensional joint analysis level of the test bench.

[0018] like Figure 1 , Figure 2 As shown, the communication module uses a LAN interface to configure VISA resources based on the VXI-11 protocol and integrates the Yokogawa power analyzer's driver to generate a TCP / IP format VISA resource descriptor. Based on this VISA resource descriptor, a network communication session is established between the host computer and the Yokogawa power analyzer. The validity of the communication connection is verified by sending SCPI commands to query the device identification information of the Yokogawa power analyzer. With the help of the VISA interface and the integrated driver, not only is the software built quickly but it also has complete independence. The experimental system can directly call this communication module to complete the communication interaction with the Yokogawa power analyzer.

[0019] like Figure 2 As shown, when configuring VISA resources using the LAN interface based on the VXI-11 protocol, the device resource configuration of the Yokogawa power analyzer is completed through the standardized API of VISA in conjunction with the NI MAX tool.

[0020] Specifically, when verifying the validity of the communication connection by sending SCPI commands to query the device identification information of the Yokogawa power analyzer, the SCPI command is sent to query and verify the connection status. The basic sub-VIs that implement the functions of initialization, connection and closing of communication sessions are encapsulated. Each sub-VI corresponds to a single communication action and includes the complete logic of SCPI command sending, response receiving, error status judgment and resource management.

[0021] The data processing module processes ASCII format data streams by identifying delimiters and terminators, separating parameter identifier strings and numerical strings, formatting the parameter identifier strings into parameter information arrays containing parameter numbers, names, and channels, and converting the numerical strings into floating-point numerical arrays. This process ensures a one-to-one correspondence between parameters and values, and also gives the parsed data standardized and traceable characteristics. It can directly adapt to the writing logic of shared variables on the experimental platform, improving the accuracy of data parsing and the efficiency of subsequent data reuse.

[0022] The data processing module visualizes the structured parameter information array and floating-point numerical array in real time in a multi-column list box on the LabVIEW platform, according to the column format of serial number, parameter name, channel, value and variable path. This not only presents the one-to-one correspondence between parameters and values ​​and the variable mapping path intuitively, but also makes it easy for users to quickly check the accuracy of data parsing and locate target parameters, thus improving the intuitiveness and ease of operation of data monitoring during the testing process.

[0023] like Figure 1 , Figure 2 As shown, the data storage and export module is configured with acquisition attributes including sampling frequency, number of acquisition points, and file storage path. It uses a timed loop structure to read real-time data of all shared variables in the project library file at a set frequency. This ensures the time synchronization and parameter controllability of multi-source shared variable data acquisition, and also realizes the automation and standardization of data reading, effectively improving the accuracy and efficiency of multi-source data acquisition.

[0024] This process involves writing all read shared variables into a TDMS file and then exporting it as a CSV file.

[0025] It also includes a configuration module, which receives system parameters input by the user on the host computer interface, converts them into SCPI commands, and then sends them to the Yokogawa power analyzer through the communication module. The system parameters include refresh rate, range, filtering method, efficiency equation, and channel parameters, which not only improves the convenience and consistency of instrument settings, but also enhances the automation level of the system and its ability to quickly adapt to different test scenarios.

[0026] The configuration module enables remote configuration of any channel and any parameter category through polymorphic VIs and conditional structures, and supports one-click synchronization configuration of parameters for all channels. This not only improves the flexibility, scalability, and code reusability of configuration, but also significantly enhances the configuration efficiency and consistency in multi-channel testing scenarios.

[0027] This includes an error handling module, which transmits LabVIEW's built-in error cluster information in the execution branches of the communication module, data processing module, data acquisition and synchronization module, data storage and export module, and configuration module. When a communication failure or instruction execution error is detected, the error cluster information is fed back to the host computer interface through the LabVIEW state machine architecture, and the execution of the current abnormal branch is interrupted. This setting, by transmitting error cluster information between various functional modules and using the state machine architecture to centrally feed back and handle communication failures or instruction execution errors, realizes real-time monitoring of the system's operating status and rapid location of anomalies, effectively avoiding error accumulation and invalid operations, and significantly improving the system's stability, reliability, and maintainability.

[0028] It is understood that this invention has been described through some embodiments, and those skilled in the art will recognize that various changes or equivalent substitutions can be made to these features and embodiments without departing from the spirit and scope of this invention. Furthermore, under the teachings of this invention, these features and embodiments can be modified to adapt to specific situations and materials without departing from the spirit and scope of this invention. Therefore, this invention is not limited to the specific embodiments disclosed herein, and all embodiments falling within the scope of the claims of this invention are within the protection scope of this invention.

Claims

1. A data processing system for a Yokogawa power analyzer based on the LabVIEW platform, characterized in that: include: The communication module is used to establish a network communication connection between the host computer running the LabVIEW platform and the Yokogawa power analyzer based on the VISA and standard command SCPI protocols of the virtual instrument software architecture of the LabVIEW platform. The data processing module is used to receive the ASCII format data stream output by the Yokogawa power analyzer through the communication module, and process the ASCII format data stream to obtain a one-to-one corresponding parameter information array and floating-point numerical array. The data acquisition and synchronization module is used to create a project library file as a storage carrier for shared variables. It converts the parameter information array and the floating-point numerical array into shared variables that can be uniformly called by the experimental platform built on the LabVIEW platform according to the one-to-one mapping relationship between parameter information and parameter value. It extracts the variable path information of the target parameter in the parameter information array, obtains the reference handle of the preset shared variable through the variable path, and continuously writes the parameter value at the corresponding position in the floating-point numerical array into the shared variable based on the reference handle. It also synchronously stores the shared variables of the Yokogawa power analyzer and the shared variables of other devices into the project library file for centralized storage of multi-source data. The data storage and export module is used to configure collection attributes and read all shared variables in the project library file. After writing all the read shared variables into the TDMS file, it is exported to perform multi-source data reading and export.

2. The Yokogawa power analyzer data processing system based on the LabVIEW platform according to claim 1, characterized in that, The communication module uses a LAN interface to configure VISA resources based on the VXI-11 protocol and integrates the driver for the Yokogawa power analyzer. It generates a VISA resource descriptor in TCP / IP format, establishes a network communication session between the host computer and the Yokogawa power analyzer based on the VISA resource descriptor, and verifies the validity of the communication connection by sending SCPI commands to query the device identification information of the Yokogawa power analyzer.

3. The Yokogawa power analyzer data processing system based on the LabVIEW platform according to claim 1, characterized in that, The data processing module processes the ASCII format data stream as follows: it identifies the delimiter and terminator in the ASCII format data stream, splits the parameter identifier string and the numerical string, formats the parameter identifier string into a parameter information array containing parameter number, name, and channel, and converts the numerical string into a floating-point numerical array.

4. The Yokogawa power analyzer data processing system based on the LabVIEW platform according to claim 1, characterized in that, The data processing module visualizes the structured parameter information array and floating-point numerical array in real time in a multi-column list box on the LabVIEW platform, arranged by serial number, parameter name, channel, value, and variable path.

5. The Yokogawa power analyzer data processing system based on the LabVIEW platform according to claim 1, characterized in that, The data storage and export module is configured with acquisition attributes including sampling frequency, number of acquisition points, and file storage path. It uses a timed loop structure to read real-time data of all shared variables in the project library file at a set frequency.

6. The Yokogawa power analyzer data processing system based on the LabVIEW platform according to claim 1, characterized in that, It also includes a configuration module, which is used to receive system parameters input by the user on the host computer interface, convert them into SCPI commands, and then send them to the Yokogawa power analyzer through the communication module. The system parameters include refresh rate, range, filtering method, efficiency equation and channel parameters.

7. The Yokogawa power analyzer data processing system based on the LabVIEW platform according to claim 6, characterized in that, The configuration module remotely configures any channel and any parameter category through polymorphic VIs and conditional structures.

8. The Yokogawa power analyzer data processing system based on the LabVIEW platform according to claim 6, characterized in that, It also includes an error handling module, which is used to transmit LabVIEW's built-in error cluster information in the execution branches of the communication module, data processing module, data acquisition and synchronization module, data storage and export module, and configuration module. When a communication failure or instruction execution error is detected, the error cluster information is fed back to the host computer interface for display through the LabVIEW state machine architecture, and the execution operation of the current abnormal branch is interrupted.