Method for acquiring on-site observed quantity by oscillographic device and oscillographic device

By utilizing the communication interface of field devices and a dual-core processor, the observed quantities in the field are acquired and stored in real time, solving the problems of high cost and low efficiency of existing oscilloscope devices, and realizing efficient acquisition and storage of analog and digital quantities.

CN120801786APending Publication Date: 2025-10-17XIAN XJ POWER ELECTRONICS TECH +1

Patent Information

Application Number
CN202510628412.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-15
Publication Date
2025-10-17

AI Technical Summary

Technical Problem

Existing oscilloscopes can only acquire analog quantities of the observed quantities in the field, requiring conditioning circuits and analog-to-digital converter (ADC) circuits, which results in high debugging costs and low debugging efficiency for field equipment.

Method used

The field-observed measurements are transmitted through the communication interface of the field device and received and stored in real time through the communication interface of the oscilloscope. A dual-core processor and SD card are used to realize the real-time acquisition and storage of analog and digital quantities, reducing the dependence on conditioning circuits and analog-to-digital conversion circuits.

Benefits of technology

It reduces the cost of acquiring analog signals with oscilloscopes, improves the debugging efficiency of field equipment, and can acquire both analog and digital signals simultaneously, thus improving debugging efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120801786A_ABST
    Figure CN120801786A_ABST
Patent Text Reader

Abstract

The invention relates to a method for acquiring on-site observed quantity by an oscillographic device and the oscillographic device, and belongs to the technical field of oscilloscopes. The method specifically comprises the steps that field equipment is used for collecting field observed quantity, the collected field observed quantity is transmitted to an oscillographic device through a communication interface of the field equipment, and when the field observed quantity is analog quantity, the analog quantity is transmitted to the oscillographic device after being subjected to sampling conditioning and analog-to-digital conversion of the field equipment; dozens or even hundreds of conditioning circuits and analog-to-digital conversion circuits do not need to be additionally configured, so that the analog quantity acquisition cost of the oscillographic device is reduced, and the debugging cost of field equipment is further reduced; meanwhile, digital quantity parameters such as control parameters in the field observed quantity collected by the field equipment can be directly transmitted to the oscillographic device through a communication interface of the field equipment, so that the oscilloscope can collect analog quantity and also can collect digital quantity, and the debugging efficiency of the field equipment is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to a method for oscillograph to acquire observed quantity in the field and an oscillograph, and belongs to the technical field of oscilloscope. BACKGROUND

[0002] The power industry debugging field, especially the debugging field of high-power power electronic equipment, such as large-scale equipment for energy storage, hydrogen production, and wind power, has complex debugging conditions, long debugging period, and great difficulty. The dozens to hundreds of analog sampling quantities, control variables, and logic variables inside the controller of the debugging component of the field equipment need to be observed, recorded, and stored during debugging, which means that the data channels of the analog quantities, logic quantities, and control quantities that need to be observed for equipment debugging are dozens to hundreds or more.

[0003] A portable universal digital storage oscilloscope is disclosed in Chinese patent application with application publication number CN101013142A and application publication date August 8, 2007. The digital storage oscilloscope is configured with a large number of conditioning circuits, multiple ADC circuits, high-frequency controllers, and data processing and display functions. The oscilloscope can only collect analog quantities in the form of observed quantities in the field through the conditioning circuit and the analog-to-digital conversion ADC circuit, and is limited by the number of added conditioning circuits. The oscilloscope cannot meet the debugging needs of other quantities and cannot meet the debugging needs of hundreds of observed quantities in the field, resulting in low efficiency of debugging of field equipment (field devices).

[0004] In summary, the traditional oscilloscope has few channels and difficult access qualifications. Generally, the analog quantities in the observed quantities need to be converted into digital quantities through the addition of multiple conditioning circuits and analog-to-digital conversion ADC circuits for waveform display, which is costly. Since the oscilloscope can only collect analog quantities in the form of observed quantities in the field, only the analog quantities of the hardware part can be observed, and the efficiency of debugging of field devices is low. SUMMARY

[0005] The present application aims to provide a method for oscillograph to acquire observed quantity in the field, which solves the problem of high debugging cost and low efficiency of field devices caused by the fact that the existing oscillograph can only collect analog quantities in the form of observed quantities in the field and needs to configure corresponding conditioning circuits and analog-to-digital conversion ADC circuits when collecting analog quantities in the form of observed quantities in the field. The present application also provides an oscillograph, which solves the problem of high debugging cost and low efficiency of field devices caused by the fact that the existing oscillograph can only collect analog quantities in the form of observed quantities in the field and needs to configure corresponding conditioning circuits and analog-to-digital conversion ADC circuits when collecting analog quantities in the form of observed quantities in the field.

[0006] To achieve the above-mentioned purposes, the present application provides the following solutions: The application discloses a method for acquiring a field observed quantity by an oscilloscope device, and comprises the following steps. The field observed quantity is collected by a field device, and transmitted to the oscilloscope device through a communication interface of the field device; the oscilloscope device receives the field observed quantity in real time through the communication interface of the oscilloscope device; when the field observed quantity is an analog quantity, the analog quantity is transmitted to the oscilloscope device after sampling conditioning and analog-digital conversion by the field device; when the field observed quantity is a digital quantity, the digital quantity is transmitted to the oscilloscope device through the communication interface of the field device.

[0007] Further, when receiving the field observed quantity, the processor in the oscilloscope device first stores the field observed quantity in a shared address space OCM, then reads the field observed quantity from the OCM and stores the field observed quantity in a fixed interval of a DDR in sequence; if recording is not triggered, the field observed quantity is stored in the fixed interval of the DDR in a sequence-circulating-overlapping manner. Otherwise, whether the recording data is stored completely is determined in the process of storing the field observed quantity in the fixed interval of the DDR; if yes, the DDR is set to a read-only mode, the complete recording data in the DDR is written into a recording file, the reading of the recording file and the waveform display are performed by a waveform display device, and the write mode of the DDR is restored.

[0008] Further, when the complete recording data in the DDR is written into the recording file, the address of the recording data in the fixed interval of the DDR is calculated according to a recording fault starting address, and the recording data in the DDR is written into the recording file based on the calculated address; the recording fault starting address is the address of a fault trigger point.

[0009] Further, the processor is a dual-core processor, which comprises an FPGA, a CPU1 and a CPU0; the FPGA is used for storing the received field observed quantity in the shared address space OCM; The CPU1 is used for reading the field observed quantity from the OCM and storing the field observed quantity in the fixed interval of the DDR in sequence; in the case that recording is not triggered, the field observed quantity is stored in the fixed interval of the DDR in a sequence-circulating-overlapping manner; in the case that recording is triggered, whether the recording data is stored completely is determined in the process of storing the field observed quantity in the fixed interval of the DDR, and the determination result of whether the recording data is stored completely is sent to the CPU0; The CPU0 is used for receiving the determination result sent by the CPU1, setting the DDR to a read-only mode in the case that the recording data is stored completely, writing the complete recording data in the DDR into a recording file, performing the reading of the recording file and the waveform display by a waveform display device, and restoring the write mode of the DDR.

[0010] Further, the oscillograph is provided with an SD card for storing the recording wave file, so that the waveform display device reads the recording wave file from the SD card.

[0011] The oscillograph comprises a communication interface, a shared address space OCM, a processor and a DDR. The communication interface is used for receiving the field observed quantity in real time and reading the recording wave file; when the field observed quantity is an analog quantity, the analog quantity is transmitted to the oscillograph after sampling conditioning and analog-digital conversion by the field device; when the field observed quantity is a digital quantity, the digital quantity is transmitted to the oscillograph through the communication interface of the field device. The processor is used for storing the received field observed quantity into the shared address space OCM, reading the field observed quantity from the OCM and storing the field observed quantity into the fixed interval of the DDR in sequence, storing the field observed quantity into the fixed interval of the DDR in a sequence-circulating-overlapping manner without triggering the recording wave, and judging whether the recording wave data is stored completely during the process of storing the field observed quantity into the fixed interval of the DDR, writing the complete recording wave data into the recording wave file after the DDR is in a read-only mode if the recording wave data is stored completely, reading and waveform displaying the recording wave file by the waveform display device, and restoring the write mode of the DDR.

[0012] Further, the address of the recording wave data in the fixed interval of the DDR is calculated according to the recording wave fault starting address when the complete recording wave data is written into the recording wave file, and the recording wave data is written into the recording wave file based on the calculated address; the recording wave fault starting address is the address of the fault trigger point.

[0013] Further, the processor is a dual-core processor, which comprises an FPGA, a CPU1 and a CPU0; the FPGA is used for storing the received field observed quantity into the shared address space OCM. The CPU1 is used for reading the field observed quantity from the OCM and storing the field observed quantity into the fixed interval of the DDR in sequence, storing the field observed quantity into the fixed interval of the DDR in a sequence-circulating-overlapping manner without triggering the recording wave, and sending the judgment result of whether the recording wave data is stored completely to the CPU0 during the process of storing the field observed quantity into the fixed interval of the DDR when the recording wave is triggered. The CPU0 is used for receiving the judgment result sent by the CPU1, making the DDR in a read-only mode when the recording wave data is stored completely, writing the complete recording wave data into the recording wave file, reading and waveform displaying the recording wave file by the waveform display device, and restoring the write mode of the DDR.

[0014] Further, the oscilloscope device is further provided with an SD card, and the SD card is used for storing the recording wave file, so that the waveform display device reads the recording wave file from the SD card.

[0015] Further, the communication interface adopts any one or any combination of RS485 interface, optical fiber interface and network interface.

[0016] The present application has the following beneficial effects: The present application is an opening application, and provides a method for obtaining a field observed quantity by an oscilloscope device. The method specifically utilizes a field device to collect the field observed quantity, and transmits the collected field observed quantity to the oscilloscope device through a communication interface of the field device. The oscilloscope device receives the field observed quantity transmitted by the field device in real time through the communication interface of the oscilloscope device. When the field observed quantity is an analog quantity, the analog quantity is transmitted to the oscilloscope device after being sampled, conditioned and converted into digital quantity by the field device, without the need of additionally configuring dozens of or even hundreds of conditioning circuits and analog-digital conversion circuits, thereby reducing the cost of the oscilloscope device for collecting the analog quantity, and further reducing the debugging cost of the field device. Meanwhile, the present application can also transmit digital quantity parameters such as control parameters in the field observed quantity collected by the field device to the oscilloscope device through the communication interface of the field device, so that the oscilloscope device can collect both analog quantity and digital quantity, thereby improving the debugging efficiency of the field device.

[0017] The present application is an open invention, which provides an oscilloscope device, which receives the field observed quantity sent by the field device in real time through the existing data acquisition, conditioning circuit, analog-to-digital conversion and communication transmission device in the field device through a communication interface, and also reads the recording wave file for the waveform display device through the communication interface, wherein, in the case of analog quantity, the analog quantity is transmitted to the oscilloscope device after being sampled, conditioned and analog-to-digital converted by the field device; in the case of digital quantity, the digital quantity is directly transmitted to the oscilloscope device through the communication interface of the field device; the received field observed quantity is also stored into the shared address space OCM through the processor, and then the field observed quantity is read from the OCM and stored into the fixed interval of DDR in sequence, in the case of no triggered recording wave, the field observed quantity is stored into the fixed interval of DDR in the form of sequential cycle covering, in the case of triggered recording wave, whether the recording wave data is stored completely is judged in the process of storing the field observed quantity into the fixed interval of DDR, if yes, the DDR is in read-only mode, the complete recording wave data is written into the recording wave file, the waveform display device reads and displays the waveform of the recording wave file, and the write mode of the DDR is restored. The device has the ability to record and store the key control parameters executed by the program in the device under test, without additional configuration of dozens of channels or even hundreds of channels of conditioning circuit and analog-to-digital conversion circuit, the converted digital quantity form of the field observed quantity is transmitted to the oscilloscope device by the field device through the existing sampling, conditioning and analog-to-digital conversion, or the digital quantity form of the field observed quantity is directly transmitted to the oscilloscope device through the communication interface of the field device, which not only can reduce the debugging cost of the field device, but also can improve the debugging efficiency of the field device. BRIEF DESCRIPTION OF DRAWINGS

[0018] Figure 1 is the implementation path block diagram of the portable debugging oscilloscope as an equipment accessory; Figure 2 is the implementation path block diagram of the field device and the oscilloscope through RS485 communication; Figure 3 is the implementation path block diagram of the field device and the oscilloscope through optical fiber communication; Figure 4 is the transmission flow chart of the field observed quantity; Figure 5 is the structure block diagram of the oscilloscope device. DETAILED DESCRIPTION

[0019] To solve the problems in the background art, the oscilloscope device of the present application utilizes the existing data acquisition, conditioning circuit, analog-to-digital conversion and communication transmission device of the field device to solve the problem that the existing oscilloscope device needs to configure corresponding conditioning circuit and analog-to-digital conversion (ADC) circuit when collecting analog form field observed quantity, resulting in high debugging cost and low debugging efficiency of the field device.

[0020] To make the purpose, technical solutions and advantages of the present application more clear and explicit, the present application is further described in detail below in combination with the drawings and embodiments.

[0021] An embodiment of a method for an oscilloscope device to acquire field observed quantity: A method for an oscilloscope device to acquire field observed quantity, comprising the following steps: The field observed quantity is collected by the field device, and the collected field observed quantity is transmitted to the oscilloscope device through the communication interface of the field device. The oscilloscope device receives the field observed quantity sent by the field device in real time through the communication interface of the oscilloscope device.

[0022] When the field observed quantity is an analog quantity, the analog quantity is transmitted to the oscilloscope device after sampling conditioning and analog-to-digital conversion by the field device; when the field observed quantity is a digital quantity, the digital quantity is transmitted to the oscilloscope device through the communication interface of the field device.

[0023] The oscilloscope device of the present application utilizes the existing functions of the field device to transmit the field observed quantity in digital form through the communication interface between the field device and the oscilloscope device. If the field observed quantity is an analog quantity, the converted digital quantity is transmitted to the oscilloscope device by utilizing the sampling conditioning and analog-to-digital conversion of the field device.

[0024] Specifically, when the field observed quantity is received, the processor in the oscilloscope device first stores the received field observed quantity in the shared address space OCM, then reads the field observed quantity from the OCM and stores the field observed quantity in the fixed interval of the DDR in sequence. If recording is not triggered, the field observed quantity is stored in the fixed interval of the DDR in the form of sequential circular coverage.

[0025] If recording is triggered, it is determined whether the recording data is stored completely in the process of storing the field observed quantity in the fixed interval of the DDR. If so, the DDR is set to read-only mode, the complete recording data is written into the recording file, the reading and waveform display of the recording file are performed by the waveform display device, and the write mode of the DDR is restored.

[0026] Wherein, when writing the complete recording data in the recording file, the address of the recording data in the fixed interval of the DDR is calculated according to the recording fault starting address, and the recording data is written into the recording file based on the calculated address.

[0027] Wherein, the recording fault starting address is the address of the fault trigger point, and the recording data is divided into three address intervals according to the address of the fault trigger point, the first interval is that the recording data is repeatedly and circularly written when there is no fault, the second interval is that the fault point address is recorded when there is a fault, and the data after the fault is stored in the address region after the fault point (i.e. the third interval).

[0028] As another embodiment, if the recording is triggered, it is determined whether the fixed interval is full during the process of storing the field observed quantity into the fixed interval of the DDR, if not, the write mode of the DDR is maintained; if yes, the DDR is in the read-only mode, the recording data in the fixed interval is written into the recording file, the waveform display device reads and displays the waveform of the recording file, and the write mode of the DDR is restored.

[0029] Wherein, when writing the recording data in the fixed interval into the recording file, the address of the recording data in the fixed interval of the DDR is calculated according to the recording fault starting address, and the recording data in the fixed interval is written into the recording file based on the calculated address.

[0030] Specifically, the processor is a dual-core processor, which includes an FPGA, a CPU1 and a CPU0.

[0031] Wherein, the FPGA is used to store the received field observed quantity into the shared address space OCM.

[0032] Wherein, the CPU1 is used to read the field observed quantity from the OCM and store the field observed quantity into the fixed interval of the DDR in sequence, and in the case that the recording is not triggered, the field observed quantity is stored into the fixed interval of the DDR in the form of sequential circular coverage; in the case that the recording is triggered, it is determined whether the recording data is stored completely during the process of storing the field observed quantity into the fixed interval of the DDR, and the determination result of whether the recording data is stored completely is sent to the CPU0.

[0033] Wherein, the CPU0 is used to receive the determination result of whether the recording data is stored completely sent by the CPU1, in the case that the recording data is stored completely, the DDR is in the read-only mode, the complete recording data is written into the recording file, the waveform display device reads and displays the waveform of the recording file, and the write mode of the DDR is restored.

[0034] As other implementation manners, the CPU 1 is configured to determine whether the fixed interval is full in the process of storing the field observed quantity to the fixed interval of the DDR, and send the determination result of the full fixed interval to the CPU 0.

[0035] The CPU 0 is configured to receive the determination result of the full fixed interval sent by the CPU 1, make the DDR in the read-only mode in the case of the full fixed interval, write the wave recording data in the fixed interval into the wave recording file, and make the waveform display device read and display the waveform of the wave recording file, and restore the write mode of the DDR.

[0036] Specifically, in consideration of the safety of the oscilloscope, the oscilloscope is further provided with an SD card, which is configured to store the wave recording file, so that the waveform display device reads the wave recording file from the SD card, and the influence of the virus carried by the waveform display device is controlled in a small range as much as possible.

[0037] Specifically, the communication interface is an RS485 interface, an optical fiber interface or a network interface.

[0038] An implementation manner of an oscilloscope: An oscilloscope, comprising a communication interface, a shared address space OCM, a processor and a DDR.

[0039] The communication interface is configured to receive the field observed quantity sent by the field device in real time, and also configured to make the waveform display device read the wave recording file.

[0040] When the field observed quantity is an analog quantity, the analog quantity is transmitted to the oscilloscope after sampling conditioning and analog-digital conversion by the field device; when the field observed quantity is a digital quantity, the digital quantity is transmitted to the oscilloscope through the communication interface of the field device.

[0041] The processor is configured to store the received field observed quantity into the shared address space OCM, read the field observed quantity from the OCM and store it into the fixed interval of the DDR in sequence, store the field observed quantity into the fixed interval of the DDR in the form of sequential circular covering in the case of no wave recording, determine whether the wave recording data is complete in the process of storing the field observed quantity into the fixed interval of the DDR in the case of wave recording, if complete, make the DDR in the read-only mode, write the complete wave recording data into the wave recording file, make the waveform display device read and display the waveform of the wave recording file, and restore the write mode of the DDR.

[0042] Specifically, when the complete wave recording data is written into the wave recording file, the address of the wave recording data in the fixed interval of the DDR is calculated according to the wave recording fault starting address, and the wave recording data is written into the wave recording file based on the calculated address.

[0043] Wherein, the recording wave fault starting address is the address of the fault trigger point, and according to the address of the fault trigger point, the recording wave data is divided into three address intervals, the first interval is that the recording wave data is repeatedly and circularly written when there is no fault, when the fault occurs, the fault point address (i.e. the second interval) is recorded, and the data after the fault is stored in the address region after the fault point (i.e. the third interval).

[0044] As other embodiments, the processor is configured to determine whether the fixed interval is full in the process of storing the field observed quantity to the fixed interval of the DDR when the recording wave is triggered, if not full, keep the write mode of the DDR; if full, make the DDR in the read-only mode, write the recording wave data in the fixed interval into the recording wave file, and provide the waveform display device to read and display the waveform of the recording wave file, and restore the write mode of the DDR.

[0045] Wherein, when the recording wave data in the fixed interval is written into the recording wave file, the address of the recording wave data in the fixed interval of the DDR is calculated according to the recording wave fault starting address, and the recording wave data in the fixed interval is written into the recording wave file based on the calculated address.

[0046] Specifically, the processor is a dual-core processor, which includes FPGA, CPU1 and CPU0.

[0047] Wherein, the FPGA is configured to store the received field observed quantity into the shared address space OCM.

[0048] Wherein, the CPU1 is configured to read the field observed quantity from the OCM and store the field observed quantity to the fixed interval of the DDR in sequence, and in the case of no recording wave triggered, store the field observed quantity to the fixed interval of the DDR in the form of sequential circular coverage; in the case of recording wave triggered, determine whether the recording wave data is stored completely in the process of storing the field observed quantity to the fixed interval of the DDR, and send the determination result of the recording wave data stored completely to the CPU0.

[0049] Wherein, the CPU0 is configured to receive the determination result of the recording wave data stored completely sent by the CPU1, in the case of the recording wave data stored completely, make the DDR in the read-only mode, write the complete recording wave data in the DDR into the recording wave file, provide the waveform display device to read and display the waveform of the recording wave file, and restore the write mode of the DDR.

[0050] As other embodiments, the CPU1 is configured to determine whether the fixed interval is full in the process of storing the field observed quantity to the fixed interval of the DDR when the recording wave is triggered, and send the determination result of the fixed interval full to the CPU0.

[0051] The CPU0 is configured to receive the result of the determination of the fullness of the fixed interval sent by the CPU1, and in the case of fullness of the fixed interval, make the DDR in the read-only mode, and write the complete recording wave data in the fixed interval into the recording wave file, for reading and waveform display of the recording wave file by the waveform display device, and restore the write mode of the DDR.

[0052] Specifically, in consideration of the safety of the oscilloscope device, the oscilloscope device is further provided with an SD card for storing the recording wave file, so that the waveform display device reads the recording wave file from the SD card, and even if the waveform display device carries a virus, the influence is controlled as small as possible.

[0053] Specifically, the communication interface adopts any one or any combination of RS485 interface, optical fiber interface and network interface.

[0054] As a typical embodiment of the oscilloscope device, as shown in Figure 1 The observation quantities required to be observed in the debugging field include analog quantities and digital quantities, the analog quantities include analog sampling quantities such as voltage, current, temperature, etc., the digital quantities include logic variables and control variables, the logic variables include start-stop and timing of the system, and the control variables include output, given value and feedback of the control loop. The field devices used in the debugging field of the power equipment include field components 1, field components 2, …, field components N, which are all provided with common or easily expandable interfaces including high-speed RS485, optical fiber, network interface, etc. The portable debugging oscilloscope used in the debugging field of the power equipment, i.e. the oscilloscope device of the present application, is provided with a data transmission medium, basic debugging oscilloscope hardware and a communication interface for interacting with the PC background network interface and the host computer software, and the data transmission medium is, for example, a shielded twisted pair line of high-speed 485, an optical fiber, a network cable, etc.

[0055] The transmission path of the observed quantities between the field devices and the oscilloscope device is shown in Figure 2 The voltage, current and other analog signals collected by the field components 1 to N are transmitted to the corresponding controllers after being conditioned by the conditioning circuits of the respective components, the analog signals are converted into digital signals by the controllers of the field components 1 to N through control and logic processing, and then the digital signals are sent to the oscilloscope device as a debugging accessory by the controllers of the field components 1 to N through the isolated high-speed RS485, the oscilloscope device receives the data through the isolated high-speed RS485 of the oscilloscope device using the field network cable and other resources, performs reading and writing of the data, storage, and recombination of the data with information such as a flag stamp to obtain recording wave data, and the recording wave data can be analyzed and restored on the oscilloscope device or the PC host computer software, and waveform display can be performed.

[0056] The transmission path of the observed quantities between the field devices and the oscilloscope device is shown in Figure 3As shown, the analog signals such as voltage and current collected by the field components 1 to N are transmitted to the corresponding controllers after being conditioned by the conditioning circuits of the respective components, and the controllers of the field components 1 to N convert the analog signals into digital signals through control and logic processing, and then the controllers of the field components 1 to N send the digital signals to the oscilloscope device as a debugging accessory through optical fibers, which receives the data through optical fibers using field network cables and the like, reads and writes the data, stores the data, and recombines the data with information such as markers to obtain recording wave data. The optical fibers can be ST type optical fibers or HP type optical fibers.

[0057] The transmission process of the field observed quantities is as shown in Figure 4 As shown, the oscilloscope device receives the recording wave data from the field debugging device through its communication interface, and the PL side of the oscilloscope device (portable oscilloscope) stores the recording wave data to the OCM in real time. The CPU1 of the portable oscilloscope reads the recording wave data from the OCM, and then the CPU1 stores the recording wave data to the DDR in sequence and records the data sequence number. The recording wave is triggered manually through the network interface of the oscilloscope and PC or automatically by the debugging device. If the recording wave is not triggered, the data is stored in the fixed interval of the DDR in a loop. If the recording wave is triggered, the DDR continues to store the data in the fixed interval of the DDR, and in the storage process, it is determined whether the complete recording wave data is stored. If not, the fixed interval of the DDR is kept in write mode, and the data storage continues. If the complete recording wave data is stored, the CPU1 sends the recording wave complete flag and the recording wave trigger start address to the CPU0. The CPU0 first makes the fixed interval of the DDR SDRAM in read mode, then calculates the recording wave data address interval in the SDRAM according to the fault start address, and then reorders the stored data in the DDR according to the data sending position. The CUP0 writes the reordered recording wave data to the recording wave file, the CPU0 reads the system time to name the recording wave file and updates the configuration file, the PC network interface reads the recording wave file from the SD card and displays it in the form of waveform on the host computer software, and the CPU1 continues to store the recording wave data to the DDR in sequence and records the data sequence number.

[0058] The specific structure of the oscilloscope device is as shown in Figure 5As shown, the whole adopts the mode of "core board + bottom plate", wherein the core board is the minimum system of the whole device, the core board is provided with a dual-core processor, an SD card, a FLASH, a DDR and an inter-board connector for transmitting signals with the bottom plate, the bottom plate is provided with a network port, an optical fiber, a high-speed isolated RS4851 communication interface, a PHY chip, an RTC clock circuit and a power supply interface or a power supply. Among them, the dual-core processor adopts a chip with a model of Soc-zynq7020, the Soc-zynq7020 chip interacts with the DDR through a data line, also obtains address information of the DDR through an address line, two pieces of DDR also supply the Soc-zynq7020 chip with addresses through the address line, the Soc-zynq7020 chip also connects the FLASH through an SPI bus, the Soc-zynq7020 chip and the SD card are connected through an SD bus, the SD card is mainly used for storing waveform data files, and the FLASH is mainly used for storing application programs; the PHY chip is mainly used for Ethernet communication, and the Ethernet communication hardware is generally MAC+PHY; the RTC clock circuit provides high-precision and continuous time service under low-power conditions, and ensures that the device can still maintain time information independently when it is disconnected from the network or the main power supply.

[0059] The scheme can realize triggering, recording, storage and analysis of key analog sampling quantities, logic variables and control variables of the controller in the equipment component in the power equipment debugging field, and can realize real-time sampling, recording, storage and analysis of key data in the control chip by using the internal circuit of the debugging field device component, and can effectively participate in debugging as a field device accessory, fully utilize the debugging field data information, and does not need to additionally equip analog quantity sampling conditioning and analog-digital converters, can display hundreds of data quantities with high reliability and low cost, can simultaneously complete recording, oscillography and storage of hundreds of observation quantities, has an advantage that traditional digital oscilloscopes and common small digital oscilloscopes for the purpose of simple size reduction and portability do not have, is convenient for debugging field problem analysis, program optimization and hardware reliability verification, is an important means to check whether the debugging field observation equipment hardware and program meet the expected target, can be used as an important means to diagnose and evaluate whether the equipment hardware and program are qualified, find problems and assist in analysis in major equipment development, can be applied in the fields of power industry energy storage, hydrogen production, wind power and subway at extremely low cost, can effectively promote product development and debugging and engineering debugging progress, has important practical significance, and can also be widely applied in other industrial debugging fields.

[0060] The oscilloscope device in the scheme is specifically described as follows: 1. A portable debugging oscilloscope device that can participate in commissioning as an accessory to equipment in the power industry field, which can monitor and record and draw waveforms for a large number of analog sampled quantities in the controller of the equipment components, such as voltage, current, temperature, etc., logic variables, such as system start-stop, system timing, etc., control variables, such as the output of the control loop, given, feedback, etc., with automatic trigger recording, manual recording, and large capacity storage capabilities, and can record, store, and transmit to the PC background in waveform form in real time for a large number of key control parameters in the controller of the equipment components.

[0061] Working principle: The power industry field commonly has RS485, optical fiber, network interface, etc. communication data interface, which uses the existing or reserved data interface of the equipment to transmit the required operating condition data in real time or manually to the portable debugging oscilloscope device, and the data is stored, transferred, and transported to the PC network interface of the station by the oscilloscope, and the data is restored on the PC background and displayed in the form of data waveform, or displayed in the form of data waveform on the PC background. The device as a whole is an accessory to the equipment, which not only solves the limitations of traditional digital oscilloscope measurement and access, but also is flexible and portable, and can be used immediately. The implementation path block diagram of the device as an accessory to the equipment is shown in Figure 1 .

[0062] 2. For the power equipment commissioning site needs to observe the internal analog quantity dynamic situation of the controller and the high-power electromagnetic environment interference, long-distance, high-altitude, etc. application scene signal, the traditional digital oscilloscope transmission attenuation and inconvenient use problem, it is proposed that without additional analog quantity conditioning circuit, the analog quantity sampling results in the controller of the equipment debugging component are used, the analog quantity is converted to digital quantity in the controller, and the logic controller FPGA in the controller is used for data transmission in different application scenarios, and the specific implementation details are shown in Figure 2 and Figure 3 .

[0063] Working Principle: The high-speed 485 method is used in scenarios where debugging equipment has a large number of components, the portable debugging oscilloscope needs to communicate with the debugging equipment components via a high-speed 485 network, the overall communication distance is short, and cost control is more stringent. The fiber optic method can be used in applications with higher requirements, such as long distances and high altitudes. The PL side of the portable debugging oscilloscope's mainboard logic control device FPGA uses analog isolated high-speed 485 and optical fiber to receive controller data. This portable debugging oscilloscope can achieve high-speed 485 communication at 5Mbps. It uses electrical isolation for front-end and back-end isolation, and its differential characteristics ensure low data loss. Similarly, optical fiber is a preferred low-loss signal transmission medium, leveraging its optoelectronic isolation and extremely low-loss long-distance transmission characteristics. ST fiber is primarily used in on-site cabinets with simple electromagnetic environments, while HP fiber is primarily used between multiple cabinets in complex electromagnetic environments and for longer communication distances. This device supports a maximum fiber rate of 30Mbps.

[0064] 3. The dozens to hundreds of analog sampling quantities, control variables and logic variable data inside the controller need to be observed, recorded and stored during debugging. That is, the analog quantity, logic quantity and control quantity data channels that need to be observed during equipment debugging may require dozens or even hundreds. A method based on a large first-level cache DDR and a large storage capacity SD card is proposed to meet the needs of multi-channel and multi-time length data storage and transmission transit, and the actual number of channels and storage depth required can be dynamically adjusted. The maximum number of channels that can be supported by a single high-speed 485 or single optical fiber of the portable debugging oscilloscope device is designed to be 48. The dynamic adjustment of the number of channels and storage depth can be achieved by expanding the number of high-speed isolated 485 interface machine optical fiber interfaces, adjusting the storage capacity and updating the application of the control chip ZYNQ-7020 on the mainboard of the portable debugging oscilloscope device. The application of the control chip ZYNQ-7020 is updated using the network port. The specific transmission process of the observed quantity on site is as follows: Figure 4 shown.

[0065] 4. The portable debugging oscilloscope device is the core accessory for on-site debugging. The hardware is designed in the form of "core board + baseboard" and installed in a customized shell. The main hardware block diagram of the portable debugging oscilloscope device is as follows: Figure 5As shown in the figure, the core board is the smallest system of the entire device, the first level data receiving storage is 2 pieces of DDR connected with the Soc chip in daisy chain arrangement, the 2 pieces of DDR mainly complete the data cache function, the SD card is mainly used for storing waveform data files, the FLASH is mainly used for application program storage, and the inter-board connector is mainly used for reliably transmitting signals between the core board and the bottom board. The bottom board mainly has strong expandability for functional circuit design, can expand up to 8 100 Mbps network ports, can expand more than 10 high-speed isolated 485 circuits, and can expand more than 10 HP fiber transceivers or ST fiber transceivers. Because the portable debugging oscilloscope device is used as a field debugging accessory, the application program needs to be adjusted according to the field device debugging to complete the adjustment of the sampling rate, the channel number and the storage depth, so the network port mode is used to complete the application program update of the device, that is, a computer PC can be used to complete the program configuration and the calling of the portable debugging oscilloscope device host computer software.

Claims

1. A method for obtaining an on-site observed quantity using an oscilloscope device, characterized in that: The steps include: Field equipment is used to collect field observed quantities, and the field observed quantities are transmitted to the oscilloscope device through the communication interface of the field equipment. The oscilloscope device receives the field observed quantities in real time through the communication interface of the oscilloscope device. When the field observed quantities are analog quantities, the analog quantities are transmitted to the oscilloscope device after sampling, conditioning and analog-to-digital conversion by the field equipment. When the field observed quantities are digital quantities, the digital quantities are transmitted to the oscilloscope device through the communication interface of the field equipment.

2. The method for obtaining an on-site observed quantity using an oscilloscope device according to claim 1, wherein: When receiving the field observed value, the processor in the oscilloscope device first stores it in the shared address space OCM, then reads the field observed value from the OCM, and sequentially stores the field observed value in a fixed interval of the DDR. If the recording is not triggered, the field observed value is stored in a fixed interval of the DDR in a sequential cyclic overwriting manner; Otherwise, in the process of storing the observed quantity on site in the fixed interval of DDR, it is determined whether the recorded data is stored completely. If it is complete, the DDR is put into read-only mode, and the complete recorded data is written into the recorded file for the waveform display device to read the recorded file and display the waveform, and the write mode of DDR is restored.

3. The method for obtaining an on-site observed quantity using an oscilloscope device according to claim 2, wherein: When writing the complete recorded data into the recording file, the address of the recorded data in the fixed interval of DDR is calculated according to the recording fault start address, and the recorded data is written into the recording file based on the calculated address; the recording fault start address is the address of the fault trigger point.

4. The method for obtaining an on-site observed quantity by an oscilloscope device according to claim 2 or 3, characterized in that: The processor adopts a dual-core processor, which includes an FPGA, a CPU1 and a CPU0, and the FPGA is used to store the received on-site observed values ​​into a shared address space OCM; CPU1 is used to read the field observed quantity from OCM and store the field observed quantity in a fixed interval of DDR in sequence. When wave recording is not triggered, CPU1 stores the field observed quantity in a fixed interval of DDR in a sequential cyclic overwriting manner. When wave recording is triggered, CPU1 determines whether the recorded wave data is stored completely during the process of storing the field observed quantity in the fixed interval of DDR, and sends the determination result of whether the recorded wave data is stored completely to CPU0. CPU0 is used to receive the judgment result sent by CPU1. When the recorded data is stored completely, it puts DDR in read-only mode and writes the complete recorded data into the recorded file for the waveform display device to read the recorded file and display the waveform, and restores the write mode of DDR.

5. The method for obtaining an on-site observed quantity by an oscilloscope device according to claim 2 or 3, characterized in that: The oscilloscope device is further provided with an SD card, which is used to store the wave recording file so that the waveform display device can read the wave recording file from the SD card.

6. An oscilloscope device, characterized in that: Includes communication interface, shared address space OCM, processor and DDR; The communication interface is used to receive the field observed quantity sent by the field device in real time, and is also used for the waveform display device to read the recording file; when the field observed quantity is an analog quantity, the analog quantity is transmitted to the oscilloscope device after sampling, conditioning and analog-to-digital conversion by the field device; when the field observed quantity is a digital quantity, the digital quantity is transmitted to the oscilloscope device through the communication interface of the field device; The processor is used to store the received field observed quantity in the shared address space OCM, then read the field observed quantity from the OCM and store it in sequence in a fixed interval of the DDR. When recording is not triggered, the field observed quantity is stored in the fixed interval of the DDR in a sequential cyclic overwriting manner. When recording is triggered, it is determined whether the recording data is stored completely during the process of storing the field observed quantity in the fixed interval of the DDR. If complete, the DDR is placed in read-only mode, and the complete recording data therein is written into the recording file for the waveform display device to read the recording file and display the waveform, and the write mode of the DDR is restored.

7. The oscilloscope device according to claim 6, characterized in that: When writing the complete recorded data into the recording file, the address of the recorded data in the fixed interval of DDR is calculated according to the recording fault start address, and the recorded data is written into the recording file based on the calculated address; the recording fault start address is the address of the fault trigger point.

8. The oscilloscope device according to claim 6 or 7, characterized in that: The processor adopts a dual-core processor, which includes an FPGA, a CPU1 and a CPU0, and the FPGA is used to store the received on-site observed values ​​into a shared address space OCM; CPU1 is used to read the field observed quantity from OCM and store the field observed quantity in a fixed interval of DDR in sequence. When wave recording is not triggered, CPU1 stores the field observed quantity in a fixed interval of DDR in a sequential cyclic overwriting manner. When wave recording is triggered, CPU1 determines whether the recorded wave data is stored completely during the process of storing the field observed quantity in the fixed interval of DDR, and sends the determination result of whether the recorded wave data is stored completely to CPU0. CPU0 is used to receive the judgment result sent by CPU1. When the recorded data is stored completely, it puts DDR in read-only mode and writes the complete recorded data into the recorded file for the waveform display device to read the recorded file and display the waveform, and restores the write mode of DDR.

9. The oscilloscope device according to claim 6 or 7, characterized in that: The oscilloscope device is further provided with an SD card, which is used to store the wave recording file so that the waveform display device can read the wave recording file from the SD card.

10. The oscilloscope device according to claim 6, wherein: The communication interface adopts any one or any combination of RS485 interface, optical fiber interface and network interface.

Citation Information

Patent Citations

  • Portable universal digital storage oscillograph

    CN101013142A

Cited By

  • 10kV power distribution network suspension type fault traveling wave high-frequency acquisition system and method

    CN121633724A