Control method, system, converter, and medium for an oscilloscope system
By introducing a time synchronization server and a satellite communication link between the time synchronization server and the time synchronization satellite into the oscilloscope system, the time synchronization of the converter and the high-precision transmission of data frames are achieved, solving the problem of cross-regional monitoring and improving the monitoring accuracy and efficiency of power grid equipment.
Patent Information
- Application Number
- CN202511468996.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-15
- Publication Date
- 2026-01-09
- Estimated Expiration
- 2045-10-15
AI Technical Summary
Existing oscilloscope systems struggle to achieve high-precision synchronous monitoring across geographical regions, impacting the accurate assessment of power grid quality and equipment faults, especially when converter equipment is widely distributed.
By introducing a time synchronization server into the oscilloscope system to establish a satellite communication link with the time synchronization satellite, the time synchronization of the converter is realized, a high-precision timestamp is generated, and the sampled cluster data is combined into a timestamped data frame, which is then transmitted to the central control center through the central control switch for waveform data restoration.
It enables high-precision real-time synchronous monitoring of distributed power station converters, improving the accuracy and efficiency of monitoring and providing a powerful tool for power station-level operation and maintenance and fault diagnosis.
Smart Images

Figure CN121028647B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of oscilloscope systems, and in particular to a control method and system for an oscilloscope system, a converter and a medium. BACKGROUND
[0002] With the rapid development of renewable energy power generation systems, the characteristics of "double high" (high proportion of renewable energy, high proportion of power electronic equipment) of the power system are highlighted, the physical basis and functional form of the system have changed profoundly, and challenges have been brought to the safe and stable operation of the power grid.
[0003] Converter devices are widely used in wind farms and solar power stations to achieve efficient conversion and control of electric energy through converter devices. In the prior art, the running state of the converter device is usually monitored to determine whether the power system has failed to ensure the quality of the power grid; however, the converter devices are widely distributed, and the traditional oscilloscope is limited by geographical location and cannot achieve high-precision synchronous monitoring of the converter devices across regions, affecting the accurate judgment of the quality of the power grid and the failure of the equipment. In particular, coordinated observation of voltage and current waveforms between grid-connected converters is an indispensable part of modern management and control of power systems, which not only helps daily operation and maintenance, but also is a key link to promote the progress of new energy grid-connected technology and the intelligent upgrading of the power grid. Therefore, there is an urgent need for a new oscilloscope system that can cross geographical boundaries and achieve high-precision synchronous monitoring. SUMMARY
[0004] The embodiments of the present application provide a control method and system for an oscilloscope system, a converter and a medium, aiming to solve the problem of low monitoring efficiency of the existing oscilloscope system.
[0005] In a first aspect, the embodiments of the present application provide a control method for an oscilloscope system, which is applied to the oscilloscope system, the oscilloscope system comprising a control center, a time synchronization server and a plurality of stations, each station comprising at least one converter, the converter being communicatively connected between the control center and the control switch, the time synchronization server being communicatively connected with the converter, the time synchronization server being remotely communicatively connected with a time satellite based on a satellite communication link, the method comprising:
[0006] The time synchronization server transmits the second pulse signal and the timestamp signal from the time satellite to the corresponding converter;
[0007] The converter performs internal time synchronization according to the second pulse signal and the timestamp signal to obtain an accurate timestamp;
[0008] The converter combines the precise timestamp with sampling cluster data into a data frame with high-precision timestamp; the sampling cluster data is a data set obtained by continuously sampling the included sampling channels at a preset sampling frequency within a sampling cluster period; the converter transmits the data frame to a corresponding central control switch;
[0009] The central control switch sends the data frame to a centralized control center;
[0010] The centralized control center restores the sampling cluster data in each data frame into waveform data according to the high-precision timestamp in each data frame.
[0011] In a second aspect, the embodiments of the present application further provide a control method of an oscilloscope system, the control method being applied to a variable flow controller of a converter of the oscilloscope system, the converter being arranged in a field station, the oscilloscope system comprising a centralized control center, a time server and a plurality of field stations, the converter being communicatively connected between the centralized control center and a central control switch, the time server being communicatively connected with the converter, the time server being communicatively connected with a time-providing satellite via a satellite communication link, the variable flow controller comprising a logic operator and a microcontroller, and the method comprising:
[0012] The logic operator receives a second pulse signal and a timestamp signal from the time-providing satellite via the time server;
[0013] The logic operator performs internal time synchronization according to the second pulse signal and the timestamp signal, obtains a precise timestamp, and sends the precise timestamp to the microcontroller;
[0014] The microcontroller combines the precise timestamp with sampling cluster data into a data frame with high-precision timestamp; the sampling cluster data is a data set obtained by continuously sampling the included sampling channels at a preset sampling frequency within a sampling cluster period by a data sampling module, and is referred to as sampling cluster data; a sampling cluster period is generated by a sampling cluster period trigger module; the sampling channel is a microcontroller internal variable data or a result data of an ADC sampling module;
[0015] The microcontroller sends the data frame to the centralized control center via the central control switch, so that the centralized control center restores the sampling cluster data in the data frame into waveform data according to the high-precision timestamp in the data frame.
[0016] In a third aspect, the embodiments of the present application further provide an oscilloscope system, the oscilloscope system applying the control method of the first aspect, and the oscilloscope system comprising a centralized control center, a time server and a plurality of field stations, each field station comprising a field station power generation system and a central control switch;
[0017] The field station power generation system comprises at least one converter, the converter is connected with the central control switch, the time server is connected with the converter, and the time server is connected with the time satellite through a satellite communication link.
[0018] The central control center is connected with the central control switch.
[0019] In the fourth aspect, the embodiment of the present application further provides a converter, the converter comprises a converter controller, the converter controller comprises a memory and a processor, the memory stores a computer program, and the processor realizes the method in the second aspect when executing the computer program.
[0020] In the fifth aspect, the embodiment of the present application further provides a computer readable storage medium, the storage medium stores a computer program, the computer program comprises program instructions, and the program instructions can realize the method in the second aspect when being executed by a processor.
[0021] The application provides a control method, system, converter and medium of an oscilloscope system, the control method is applied to an oscilloscope system, the oscilloscope system comprises a centralized control center, a time synchronization server and a plurality of stations, each station comprises at least one converter, the converter is connected with the centralized control center through a central control switch, the time synchronization server is connected with the converter, the time synchronization server is connected with a time service satellite through a remote communication connection based on a satellite communication link, and the method comprises the following steps: the time synchronization server transmits a second pulse signal and a time stamp signal from the time service satellite to the corresponding converter; the converter performs internal time synchronization according to the second pulse signal and the time stamp signal, and obtains an accurate time stamp; the converter combines the accurate time stamp and sampling cluster data into a data frame with high-precision time stamp; the sampling cluster data is a data set obtained by continuously sampling the sampling channels in a sampling cluster period at a preset sampling frequency; the converter transmits the data frame to the corresponding central control switch; the central control switch sends the data frame to the centralized control center; and the centralized control center restores the sampling cluster data in each data frame into waveform data according to the high-precision time stamp in each data frame. According to the application, the time synchronization server can ensure that the converters in the plurality of stations are sampled under a unified time reference, and the data frame with high-precision time stamp is obtained, the data frame is transmitted to the centralized control center through the central control switch, and the centralized control center can restore the sampling cluster data in the data frame into waveform data based on the unified time reference, so that the running state of the converters in the distributed stations can be monitored in real time and with high precision, the accuracy and efficiency of monitoring are improved, and a powerful tool is provided for station-level operation and fault diagnosis. BRIEF DESCRIPTION OF DRAWINGS
[0022] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced. Obviously, the drawings in the following description are some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.
[0023] Figure 1 The first flowchart of the control method of the oscilloscope system provided by the embodiment of the present application;
[0024] Figure 2 The second flowchart of the control method of the oscilloscope system provided by the embodiment of the present application;
[0025] Figure 3 The schematic diagram of the oscilloscope system provided by the embodiment of the present application;
[0026] Figure 4A schematic diagram of a converter provided for an embodiment of the present application;
[0027] Figure 5 A schematic diagram of sampling cluster data provided for an embodiment of the present application;
[0028] Figure 6 A schematic block diagram of a converter controller provided for an embodiment of the present application. DETAILED DESCRIPTION
[0029] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are some but not all of the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art without creative effort are within the protection scope of the present application.
[0030] It should be understood that, when used in the specification and the appended claims, the terms "comprise" and "include" indicate the presence of the described features, integers, steps, operations, elements, and / or components, but do not exclude one or more other features, integers, steps, operations, elements, components, and / or groups thereof.
[0031] It should also be understood that the terms used in the present application specification are only for the purpose of describing particular embodiments and are not intended to limit the present application. As used in the present application specification and the appended claims, the singular forms "a", "an" and "the" are intended to include the plural forms unless the context clearly indicates otherwise.
[0032] It should be further understood that the term "and / or" used in the present application specification is intended to refer to any combination of one or more of the associated listed items and all possible combinations, and includes these combinations. The embodiments of the present application provide a control method, system, converter and medium of an oscilloscope system. The control method is applied to an oscilloscope system, which includes a central control center, a time synchronization server and a plurality of stations, each station including at least one converter, the converter being communicatively connected between the central control center and the central control switch, the time synchronization server being communicatively connected with the converter, and the time synchronization server being remotely connected with a time satellite based on a satellite communication link.
[0033] Figure 1 A first flowchart of a control method of an oscilloscope system provided for an embodiment of the present application, the method comprising steps S110-S150.
[0034] S110, the time server transmits the second pulse signal and the timestamp signal from the time satellite to the corresponding converter.
[0035] In the embodiment, the time server can be an NTP (Network Time Protocol) time server, the time satellite can be a GPS (Global Positioning System) satellite and / or a Beidou satellite navigation system and / or a GLONASS (GLOBAL NAVIGATION SATELLITE SYSTEM) and / or a QZSS (Quasi-Zenith Satellite System); the time server establishes a remote communication connection based on a satellite communication link between an antenna and the time satellite; the time server receives the second pulse signal and the timestamp signal from the time satellite, and transmits the second pulse signal and the timestamp signal to the corresponding converter, and the converter can obtain high-precision time synchronization according to the second pulse signal and the timestamp signal and other converters; wherein the second pulse signal is a 1PPS (Pulse Per Second) signal, the 1PPS signal transmission adopts a TTL 3.3V level mode, and the output is an accurate interval time of 1 second positive pulse; the timestamp signal is a TOD (Time Of Day) signal, the TOD signal transmission adopts an RS232 level mode, and the output is a time stamp communication frame of "year, month, day, hour, minute and second".
[0036] S120, the converter performs internal time synchronization according to the second pulse signal and the timestamp signal to obtain a precise timestamp.
[0037] In the embodiment, as Figure 4As shown, the converter can mix and convert the second pulse signal and the timestamp signal from electrical signals to optical signals for transmission to the logic operator of the converter through an optical fiber; the process of signal mixing and transmission can be encapsulated and implemented as a signal processing module in the converter; the logic operator restores the received optical signals to the second pulse signal and the timestamp signal; the process of optical signal restoration can be encapsulated and implemented as a signal analysis module in the converter; further, the converter can transmit the second pulse signal and the timestamp signal to the logic operator respectively, and the signal transmission mode is not limited; the logic operator converts the timestamp signal to universal time coordinated (UTC) to obtain a second field (i.e. the number of seconds from January 1, 1970, 0 o'clock); the process of UTC conversion can be encapsulated and implemented as a timestamp processing module in the converter; the logic operator also calculates the internal counter signal according to the preset timestamp calculation rule to obtain the corresponding quotient value and remainder value; the logic operator combines the second field, the quotient value and the remainder value into the precise timestamp; the quotient value and the remainder value are the millisecond field and the microsecond field in the precise timestamp respectively; the internal counter signal outputs a count value, and the internal counter can be a microsecond counter; the internal count value increases by 1 every 1 microsecond, and at the same time, at the rising edge of the second pulse, the logic operator performs a zero operation on the count value of the internal counter to obtain the millisecond field and the microsecond field in the precise timestamp; the process of obtaining the precise timestamp can be encapsulated and implemented as a high-precision timestamp generation module in the converter, so as to achieve the purpose of obtaining the microsecond-level timestamp through the high-precision timestamp generation module.
[0038] S130, the converter combines the precise timestamp and the sampling cluster data into a data frame with high-precision timestamp; the sampling cluster data is a data set obtained by continuously sampling the included sampling channels at a preset sampling frequency within a sampling cluster period; the converter transmits the data frame to the corresponding central control switch.
[0039] In the embodiment, the data frame comprises a frame header, a frame length, a frame number, a high-precision timestamp, sampling cluster data, a check word and the like; at a sampling cluster rising edge moment, the microcontroller of the converter records the sampling number and fills the sampling number into the frame number in the data frame corresponding to the sampling cluster period, at the same time, reads the high-precision timestamp in the logic operator and stores it into the high-precision timestamp field in the data frame; then, the microcontroller samples the internal variable or the result variable of the sampling channel according to the preset sampling cluster period to obtain the sampling cluster data; at the termination moment of the current sampling cluster period, the microcontroller fills the collected sampling cluster data into the sampling cluster data field in the data frame; wherein, the data frame acquisition process can be encapsulated and implemented as a data sampling module in the converter, so as to achieve the purpose of combining the precise timestamp and the sampling cluster data into a data frame with high-precision timestamp through the data sampling module.
[0040] Further, after the converter performs internal time synchronization according to the second pulse signal and the timestamp signal to obtain the precise timestamp, the converter further comprises the following steps: if the converter detects the oscilloscope starting signal, the converter combines the precise timestamp and the sampling cluster data into a data frame with high-precision timestamp.
[0041] Further, after the converter performs internal time synchronization according to the second pulse signal and the timestamp signal to obtain the precise timestamp, the converter further comprises the following steps: if the converter detects the oscilloscope starting signal, the converter combines the precise timestamp and the sampling cluster data into a data frame with high-precision timestamp.
[0042] S140, the central control switch sends the data frame to the central control center;
[0043] S150, the central control center restores the sampling cluster data in each data frame into waveform data according to the high-precision timestamp in each data frame.
[0044] In the embodiment, the central control center can determine whether the data frame is complete based on the check word in the data frame, and obtain a determination result; if the determination result is yes, the central control center performs waveform restoration operation; if the determination result is no, the central control center sends a retransmission signal to the corresponding converter according to the device address in the data frame, so that the converter retransmits the data frame, and the accuracy of data transmission is improved.
[0045] The central control center restores the sampling cluster data in each data frame into waveform data according to the high-precision timestamp and / or frame sequence number in each data frame, and further realizes high-precision real-time synchronous monitoring of the operation state of the converter of the distributed station; specifically, the central control center acquires data frames with the same high-precision timestamp or the same frame sequence number according to the high-precision timestamp and / or frame sequence number in each data frame, and restores the data frames with the same high-precision timestamp or the same frame sequence number into waveform data, so as to realize high-precision synchronous monitoring of the converter across regions, and effectively solve the problem that real-time data changes cannot be synchronously observed due to geographical boundaries between the distributed station and the converter.
[0046] In another embodiment, the central control switch sends the data frame to the master control device through the gateway.
[0047] In an embodiment, the station includes a central control switch, and after step S160, the central control center further inputs the waveform data into a preset fault warning model to obtain a corresponding feedback result, and sends the feedback result to the converter through the central control switch to control the converter to shut down or standby.
[0048] In the embodiment, the central control center inputs the waveform data into a preset fault warning model to obtain a corresponding feedback result, and sends the feedback result to the corresponding converter through the central control switch to control the converter to shut down or standby.
[0049] Before the waveform data is input into the preset fault warning model, historical waveform data is input into a pre-constructed fault warning model for model training until the model converges; specifically, the fault warning model learns through a machine learning algorithm and historical waveform data to automatically generate a fault warning rule, and then applies the fault warning rule to subsequent waveform data acquisition monitoring to obtain a feedback result which is sent to a user, and through continuous confirmation and debugging of the user, the trained fault warning model is finally obtained.
[0050] In summary, the present application has the following advantages:
[0051] 1. Low cost: only need to add low-cost time server and antenna to realize high-precision real-time synchronization monitoring of the running state of the existing distributed station converter;
[0052] 2. High performance: the timestamp of the data frame can reach the order of microseconds, realizing microsecond-level synchronization observation of the sampling channel of multiple converters;
[0053] 3. High convenience: users can observe the sampling channel of the converter between the distributed stations in the centralized control center, avoiding the inconvenience of near-end debugging and diagnosis, and reducing the maintenance cost of users;
[0054] 4. High added value: in the remote centralized control center, users can observe and record waveform data in real time, and diagnose and warn faults based on real-time data and / or historical data. In addition, the data can be analyzed in depth by means of models and / or artificial intelligence, and the equipment and power grid in the station can be comprehensively evaluated. The health status of the equipment in the station can also be predicted.
[0055] Figure 2 The second flowchart of the control method of the oscilloscope system provided by the embodiment of the present application is shown in FIG. 2. Figure 2 As shown in FIG. 2, the present application also provides a control method of an oscilloscope system, which is applied to a variable flow controller of a variable flow converter of the oscilloscope system. The variable flow converter is installed in a station. The oscilloscope system includes a centralized control center, a time server and multiple stations. The variable flow converter is connected with the centralized control center through a central control switch. The time server is connected with the variable flow converter. The time server is connected with a time satellite through a satellite communication link. The variable flow controller includes a logic operator and a microcontroller. The method includes steps S210-S240.
[0056] S210, the logic operator receives a second pulse signal and a timestamp signal from the time satellite through the time server.
[0057] In the embodiment, the time server can be an NTP (Network Time Protocol) time server, the time-providing satellite can be a GPS (Global Positioning System) satellite and / or a Beidou satellite navigation system and / or a GLONASS (GLOBAL NAVIGATION SATELLITE SYSTEM) satellite and / or a QZSS (Quasi-Zenith Satellite System); the time server establishes a remote communication connection based on a satellite communication link between an antenna and the time-providing satellite; the time server receives a second pulse signal and a timestamp signal from the time-providing satellite, and transmits the second pulse signal and the timestamp signal to the corresponding current transformer; the current transformer mixes the second pulse signal and the timestamp signal and converts the signals from electrical signals into optical signals to be transmitted to the logic operator through an optical fiber; wherein the signal mixing transmission process can be encapsulated and implemented as a signal processing module in the current transformer.
[0058] S220, the logic operator performs internal time synchronization according to the second pulse signal and the timestamp signal, obtains a precise timestamp, and sends the precise timestamp to the microcontroller.
[0059] In the embodiment, the signal processing module transmits the second pulse signal and the timestamp signal to the logic operator in the form of optical signals, and the logic operator restores the received optical signals into the second pulse signal and the timestamp signal; wherein the process of optical signal restoration can be encapsulated and implemented as a signal analysis module in the converter; the logic operator performs UTC conversion on the timestamp signal to obtain a second field (i.e. the number of seconds from January 1, 1970, 0 o'clock); wherein the process of UTC conversion can be encapsulated and implemented as a timestamp processing module in the converter; the logic operator also calculates the internal counter signal according to a preset timestamp calculation rule to obtain a corresponding quotient value and a remainder value; the logic operator combines the second field, the quotient value and the remainder value into the accurate timestamp; wherein the quotient value and the remainder value are a millisecond field and a microsecond field in the accurate timestamp respectively; the internal counter signal outputs a count value, and the internal counter can be a microsecond counter or a millisecond counter or a counter with other precision; here, the microsecond counter is taken as an example, the internal count value of the microsecond counter increases by 1 every 1 microsecond, and at the same time, the logic operator performs a zero operation on the count value of the internal counter at the rising edge of the second pulse to obtain the millisecond field and the microsecond field in the accurate timestamp; wherein the process of obtaining the accurate timestamp can be encapsulated and implemented as a high-precision timestamp generation module in the converter, so as to achieve the purpose of obtaining a microsecond-level timestamp through the high-precision timestamp generation module.
[0060] In an embodiment, step S220 includes: the logic operator performing UTC conversion on the timestamp signal to obtain a second field; the logic operator calculating an internal counter signal according to a preset timestamp calculation rule to obtain a corresponding quotient value and a remainder value; and the logic operator combining the second field, the quotient value and the remainder value into the accurate timestamp; wherein the quotient value and the remainder value are a millisecond field and a microsecond field in the accurate timestamp respectively.
[0061] In the embodiment, the logic operator converts the timestamp signal into a UTC to obtain a second field (i.e. the number of seconds from 0 time on January 1, 1970); wherein the process of UTC conversion can be encapsulated and implemented as a timestamp processing module in the converter; the logic operator calculates an internal counter signal according to a preset timestamp calculation rule to obtain a corresponding quotient value and a remainder value; the logic operator combines the second field, the quotient value and the remainder value into the accurate timestamp; wherein the quotient value and the remainder value are a millisecond field and a microsecond field in the accurate timestamp respectively; the internal counter signal outputs a count value, and the internal counter can be a microsecond counter; the microsecond counter increases the count value by 1 every 1 microsecond, and the logic operator clears the count value of the internal counter at the rising edge of the second pulse to obtain the millisecond field and the microsecond field in the accurate timestamp; wherein the process of obtaining the accurate timestamp can be encapsulated and implemented as a high-precision timestamp generation module in the converter, so that the purpose of obtaining a microsecond-level timestamp is achieved through the high-precision timestamp generation module.
[0062] The logic operator calculates an internal counter signal according to a preset timestamp calculation rule to obtain a corresponding quotient value and a remainder value, including: if the internal counter is a microsecond timer, the internal counter signal is calculated according to a microsecond calculation formula A / 1000=B…C in the timestamp calculation rule at the rising edge of the sampling cluster to obtain a corresponding quotient value and a remainder value; wherein A is a count value, B is a quotient value, and C is a remainder value.
[0063] In an embodiment, after the logic operator combines the second field, the quotient value and the remainder value into the accurate timestamp, it further includes: the logic operator clears the count value in the internal counter signal at the rising edge of the second pulse signal; wherein the count value in the internal counter signal increases by 1 every 1 microsecond.
[0064] In the embodiment, the internal counter can be a microsecond counter or a millisecond counter or a counter with other precision; here, the microsecond counter is taken as an example; the microsecond counter increases the count value by 1 every 1 microsecond, and the logic operator clears the count value of the internal counter at the rising edge of the second pulse to obtain the millisecond field and the microsecond field in the accurate timestamp.
[0065] In an embodiment, after the UTC conversion of the timestamp signal to obtain the second field, the logic operator further comprises: judging whether the count value in the internal counter signal is greater than a count value threshold; if greater, the logic operator calculates the count value threshold according to the timestamp calculation rule to obtain the corresponding quotient value and remainder value; if less than or equal to, the logic operator calculates the count value according to the timestamp calculation rule to obtain the corresponding quotient value and remainder value.
[0066] In the embodiment, considering the slight jitter of the second pulse signal itself and the error of the internal counter crystal oscillator, before the calculation of the internal counter signal according to the preset timestamp calculation rule, the logic operator further comprises: judging whether the count value in the internal counter signal is greater than a count value threshold; the count value threshold can be set to 999999; if greater, the logic operator calculates the count value threshold according to the timestamp calculation rule to obtain the corresponding quotient value and remainder value; if less than or equal to, the logic operator calculates the count value according to the timestamp calculation rule to obtain the corresponding quotient value and remainder value.
[0067] S230, the microcontroller combines the accurate timestamp with the sampling cluster data into a data frame with high-precision timestamp; the sampling cluster data is a data set obtained by continuously sampling the included sampling channels according to the preset sampling frequency by the data sampling module within a sampling cluster period; the sampling cluster period is generated by a sampling cluster period trigger module; the sampling channel is the internal variable data of the microcontroller or the result data of the ADC sampling module.
[0068] In the embodiment, the data frame comprises a frame header, a frame length, a frame sequence number, a high-precision timestamp, sampling cluster data, a check word and the like; at the rising edge moment of the sampling cluster, the microcontroller records the sampling times and fills the sampling times into the "frame sequence number" in the data frame corresponding to this sampling cluster period; at the same time, the microcontroller reads the high-precision timestamp in the logic operator and stores it in the "high-precision timestamp" field in the data frame; then, the microcontroller samples the internal variable or result variable of the included sampling channel according to the preset sampling cluster period to obtain the sampling cluster data; at the termination moment of the current sampling cluster period, the microcontroller fills the collected sampling cluster data into the "sampling cluster data" field in the data frame; wherein, the data frame acquisition process can be encapsulated and implemented as a data sampling module (for details, please refer to Figure 4 ) in the converter, so as to achieve the purpose of combining the accurate timestamp with the sampling cluster data into a data frame with high-precision timestamp through the data sampling module.
[0069] Further, after the converter performs internal time synchronization according to the second pulse signal and the timestamp signal to obtain the precise timestamp, the converter further comprises: if the converter detects the oscilloscope starting signal, the converter combines the precise timestamp and the sampling cluster data into a data frame with high-precision timestamp.
[0070] Further, after the converter performs internal time synchronization according to the second pulse signal and the timestamp signal to obtain the precise timestamp, the converter further comprises: if the converter detects the oscilloscope starting signal, the converter combines the precise timestamp and the sampling cluster data into a data frame with high-precision timestamp.
[0071] Further, the next sampling cluster period is started immediately after the current sampling cluster period ends to ensure continuous overall data flow.
[0072] In an embodiment, the microcontroller combines the precise timestamp and the sampling cluster data into a data frame with high-precision timestamp, comprising: if the converter is a multi-channel converter, the microcontroller simultaneously samples the internal variables or result variables of each sampling channel according to a preset sampling rule to obtain corresponding channel data; and the microcontroller chain-integrates each channel data to obtain corresponding sampling cluster data.
[0073] In the embodiment, the converter can be a single-channel converter or a multi-channel converter. If the converter is a multi-channel converter, the microcontroller simultaneously samples the internal variables or result variables of each sampling channel according to a sampling frequency in the sampling rule to obtain corresponding channel data; and the microcontroller chain-integrates each channel data to obtain corresponding sampling cluster data (for details, refer to Figure 5 If the converter is a single-channel converter, the microcontroller samples the internal variables or result variables of the sampling channel according to a sampling frequency in the sampling rule to obtain corresponding sampling cluster data.
[0074] Specifically, the microcontroller can perform ADC (Analog-to-Digital Converter) conversion on physical quantities (such as voltage or current) of the converter and take the conversion result as channel data / sampling cluster data; wherein the ADC conversion process of the physical quantities can be encapsulated and implemented as an ADC sampling module in the converter; the microcontroller's machine network side control module is used to implement loop calculation, IO control, PWM output control and other functions of the converter, and the microcontroller can take internal intermediate variables or result variables therein as channel data / sampling cluster data (for details, please refer to Figure 4 ).
[0075] S240, the microcontroller sends the data frame to the centralized control center through the central control switch, so that the centralized control center restores the sampling cluster data in the data frame into waveform data according to the high-precision timestamp in the data frame.
[0076] In this embodiment, the microcontroller transmits the data frame to the corresponding central control switch, and transmits it to the centralized control center through the central control switch; the centralized control center restores the sampling cluster data in each data frame into waveform data according to the high-precision timestamp and / or frame number in each data frame, thereby realizing high-precision real-time synchronous monitoring of the running state of the converter of the distributed field station; specifically, the centralized control center obtains the data frame with the same high-precision timestamp or the same frame number according to the high-precision timestamp and / or frame number in each data frame, and restores the data frame with the same high-precision timestamp or the same frame number into waveform data to realize high-precision synchronous monitoring of the converter across regions.
[0077] In another embodiment, the central control switch sends the data frame to the master control device through the gateway.
[0078] Further, the centralized control center can judge whether the data frame is complete based on the check word in the data frame to obtain a judgment result; if the judgment result is yes, the centralized control center performs waveform restoration operation; if the judgment result is no, the centralized control center sends a retransmission signal to the corresponding converter according to the device address in the data frame, so that the converter retransmits the data frame, thereby improving the accuracy of data transmission.
[0079] In summary, the embodiment of the present application can ensure sampling of the converter of each distributed station under a unified time reference through the time server, obtain a data frame with high-precision timestamp, transmit the data frame to the centralized control center through the central control switch, restore the sampling cluster data in the data frame into waveform data based on the unified time reference, thereby realizing high-precision real-time synchronous monitoring of the running state of the converter of the distributed station, improving the accuracy and efficiency of the monitoring, and providing a powerful tool for station-level operation and maintenance and fault diagnosis.
[0080] Figure 3 A schematic diagram of an oscilloscope system is provided for the embodiment of the present application. As shown in Figure 3 Corresponding to the control method (steps S110-S150) of the above oscilloscope system, the present application also provides an oscilloscope system 10, which comprises a centralized control center 11, a time server and a plurality of stations, each station comprising a station power generation system and a central control switch 12; the station power generation system comprises at least one converter, the converter is in communication connection with the central control switch 12, the time server is in communication connection with the converter, and the time server is in remote communication connection with a time-providing satellite based on a satellite communication link; the centralized control center 11 is in communication connection with the central control switch 12.
[0081] In the embodiment, the oscilloscope system 10 comprises a centralized control center 11, a time server and a plurality of stations, each station comprising a station power generation system and a central control switch 12; the station power generation system comprises at least one converter, the converter is in communication connection with the central control switch 12, and the time server is in communication connection with the converter; in the embodiment of the present application, the time server and the converter are in one-to-one correspondence (i.e. the number of time servers is equal to the number of converters); the time server is in remote communication connection with a time-providing satellite based on a satellite communication link; and the centralized control center 11 is in communication connection with the central control switch 12.
[0082] Specifically, the time server transmits the second pulse signal and the timestamp signal from the time satellite to the corresponding converter; the converter performs internal time synchronization according to the second pulse signal and the timestamp signal to obtain an accurate timestamp; the converter combines the accurate timestamp with sampling cluster data into a data frame with high-precision timestamp; the sampling cluster data is a data set obtained by continuously sampling the sampling channels in a sampling cluster period at a preset sampling frequency; the converter transmits the data frame to the corresponding central control switch 12; the central control switch 12 sends the data frame to the centralized control center 11; and the centralized control center 11 restores the sampling cluster data in each data frame into waveform data according to the high-precision timestamp in each data frame.
[0083] In summary, the present application has the following advantages:
[0084] 1. Low cost: only a low-cost time server and antenna need to be added to realize high-precision real-time synchronization monitoring of the running state of the converter of the existing distributed station;
[0085] 2. High performance: the timestamp of the data frame can reach the order of microseconds, realizing microsecond-level synchronous observation of the sampling channels of multiple converters;
[0086] 3. High convenience: the user can synchronously observe the sampling channels of the converter between the distributed stations in the centralized control center, avoiding the inconvenience of near-end debugging and diagnosis, and reducing the maintenance cost of the user;
[0087] 4. High added value: in the remote centralized control center, the user can observe and record the waveform data in real time, and diagnose / early warn the real-time data and / or historical data, can also analyze the data deeply with the aid of models and / or artificial intelligence, comprehensively evaluate the equipment in the station and the power grid, and can also predict the health state of the equipment in the station.
[0088] Please refer to Figure 6 , Figure 6 The schematic block diagram of the converter controller provided by the embodiment of the present application. Please refer to Figure 6 The converter controller 600 includes a processor 602, a memory and a network interface 605 connected through a system bus 601, wherein the memory can include a non-volatile storage medium 603 and an internal memory 604.
[0089] The non-volatile storage medium 603 can store an operating system 6031 and a computer program 6032. The computer program 6032 includes program instructions which, when executed, can cause the processor 602 to perform a control method of an oscilloscope system.
[0090] The processor 602 is configured to provide computing and control capabilities to support the operation of the entire converter controller 600.
[0091] The internal memory 604 provides an environment for the operation of the computer program 6032 in the non-volatile storage medium 603, which, when executed by the processor 602, causes the processor 602 to perform a control method of an oscilloscope system.
[0092] The network interface 605 is configured to perform network communication with other devices. Those skilled in the art can understand that, Figure 6 The structure shown in the figure is only a block diagram of part of the structure related to the scheme of the present application, and does not constitute a limitation on the converter controller 600 to which the scheme of the present application is applied. The specific converter controller 600 can include more or fewer components than those shown in the figure, or combine certain components, or have a different component arrangement.
[0093] It should be understood that, in the embodiments of the present application, the processor 602 can be a central processing unit (CPU), and the processor 602 can also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor can be a microprocessor or the processor can also be any conventional processor.
[0094] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiments of the method can be completed by instructing the relevant hardware by a computer program. The computer program includes program instructions, and the computer program can be stored in a storage medium, which is a computer readable storage medium. The program instructions are executed by at least one processor in the computer system to implement the process steps of the above-mentioned embodiments of the method.
[0095] Those skilled in the art can understand that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be realized in electronic hardware, computer software or a combination of both. In order to clearly illustrate the interchangeability of hardware and software, the components and steps of each example have been described in general terms in the above description. Whether the functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. A person skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.
[0096] In several embodiments provided by the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. For example, the apparatus embodiments described above are merely schematic. For example, the division of each unit is only a logical function division, and actual implementation can have another division manner. For example, a plurality of units or components can be combined or integrated into another system, or some features can be omitted or not executed.
[0097] The steps in the method embodiments of the present application can be adjusted, combined and deleted in sequence according to actual needs. The units in the apparatus embodiments of the present application can be combined, divided and deleted according to actual needs. In addition, each functional unit in each embodiment of the present application can be integrated in one processing unit, or each unit can exist physically, or two or more units can be integrated in one unit.
[0098] The integrated unit, if realized in the form of a software functional unit and sold or used as an independent product, can be stored in a storage medium. Based on such understanding, the technical solutions of the present application essentially or the part that contributes to the prior art, or the whole or part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes a number of instructions for making an electronic device (which can be a personal computer, terminal or network device, etc.) execute all or part of the steps of the method described in each embodiment of the present application.
[0099] The above description is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art can easily think of various equivalent modifications or replacements within the technical range disclosed by the present application, and these modifications or replacements should be covered in the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A control method of an oscilloscope system, characterized by, The control method is applied to an oscilloscope system, the oscilloscope system comprising a central control center, a time server and a plurality of stations, each station comprising at least one converter, the converter being connected to the central control center through a central control switch, the time server being connected to the converter, the time server being connected to a time satellite through a satellite communication link, the method comprising: The time server transmits a second pulse signal and a timestamp signal from the time satellite to the corresponding converter; The converter synchronizes the internal time according to the second pulse signal and the timestamp signal to obtain an accurate timestamp; The converter combines the accurate timestamp with sampling cluster data into a data frame with high-precision timestamp; the sampling cluster data is a data set obtained by continuously sampling the sampling channels contained in a sampling cluster period at a preset sampling frequency; the converter transmits the data frame to the corresponding central control switch; The central control switch sends the data frame to the central control center; The central control center restores the sampling cluster data in each data frame to waveform data according to the high-precision timestamp in each data frame.
2. The control method of an oscilloscope system according to claim 1, characterized by, After the central control center restores the sampling cluster data in each data frame to waveform data according to the high-precision timestamp in each data frame, the method further comprises: The central control center inputs the waveform data into a preset fault warning model to obtain a corresponding feedback result, and sends the feedback result to the corresponding converter to shut down or standby or change the working state to make the station run normally.
3. A control method of an oscilloscope system, characterized by, The control method is applied to a converter controller of a converter of an oscilloscope system, the converter being installed in a station, the oscilloscope system comprising a central control center, a time server and a plurality of stations, the converter being connected to the central control center through a central control switch, the time server being connected to the converter, the time server being connected to a time satellite through a satellite communication link, the converter controller comprising a logic operator and a microcontroller, the method comprising: The logic operator receives a second pulse signal and a timestamp signal from the time satellite through the time server; The logic operator synchronizes the internal time according to the second pulse signal and the timestamp signal to obtain an accurate timestamp, and sends the accurate timestamp to the microcontroller; The microcontroller combines the accurate timestamp with sampling cluster data into a data frame with high-precision timestamp; the sampling cluster data is a data set obtained by continuously sampling the sampling channels contained in a sampling cluster period at a preset sampling frequency by a data sampling module; the sampling cluster period is generated by a sampling cluster period trigger module; the sampling channel is a microcontroller internal variable data or an ADC sampling module result data; The microcontroller sends the data frame to the centralized control center through the central control switch, so that the centralized control center restores the sampling cluster data in the data frame into waveform data according to the high-precision timestamp in the data frame.
4. The control method of an oscilloscope system according to claim 3, wherein The logic operator performs internal time synchronization according to the second pulse signal and the timestamp signal, and obtains a precise timestamp, including: The logic operator performs UTC conversion on the timestamp signal, and obtains a second field; The logic operator calculates an internal counter signal according to a preset timestamp calculation rule, and obtains a corresponding quotient value and a remainder value; The logic operator combines the second field, the quotient value and the remainder value into the precise timestamp; wherein the quotient value and the remainder value are a millisecond field and a microsecond field in the precise timestamp, respectively.
5. The control method of an oscilloscope system according to claim 4, wherein After the logic operator performs UTC conversion on the timestamp signal to obtain a second field, the method further includes: determining whether a count value in the internal counter signal is greater than a count value threshold; if greater, the logic operator calculates the count value threshold according to the timestamp calculation rule to obtain a corresponding quotient value and a remainder value; if less than or equal to, the logic operator calculates the count value according to the timestamp calculation rule to obtain a corresponding quotient value and a remainder value.
6. The control method of an oscilloscope system according to claim 4, wherein After the logic operator combines the second field, the quotient value and the remainder value into the precise timestamp, the method further includes: the logic operator performs a clear operation on the count value in the internal counter signal at a rising edge of the second pulse signal; wherein the count value in the internal counter signal is increased by 1 every 1 microsecond.
7. The control method of an oscilloscope system according to claim 3, wherein The microcontroller combines the precise timestamp and the sampling cluster data into a data frame with a high-precision timestamp, including: if the converter is a multi-channel converter, the microcontroller simultaneously samples internal variables or result variables of each sampling channel according to a preset sampling rule to obtain corresponding channel data; the microcontroller performs chain integration on each channel data to obtain corresponding sampling cluster data.
8. An oscilloscope system characterized by, The oscilloscope system applies the control method of claim 1 or 2, and the oscilloscope system includes a centralized control center, a time synchronization server and a plurality of stations, each of the stations including a station power generation system and a central control switch; The station power generation system includes at least one converter, the converter is in communication connection with the central control switch, the time synchronization server is in communication connection with the converter, and the time synchronization server is in remote communication connection with a time-providing satellite based on a satellite communication link; The centralized control center is in communication connection with the central control switch.
9. A current transformer, characterized by The converter includes a converter controller, the converter controller includes a memory and a processor, the memory stores a computer program, and the processor implements the method of any one of claims 3-7 when executing the computer program.
10. A computer-readable storage medium, characterized in that, The storage medium stores a computer program, the computer program includes program instructions, and the program instructions can implement the method of any one of claims 3-7 when executed by a processor.
Citation Information
Patent Citations
High-precision timing system and method based on PCIE (Peripheral Component Interface Express) board card
CN117908630A
Time synchronization method, device, equipment and medium
CN118353565A