A harmonic source tracing terminal for power quality of distribution network
By using multi-module harmonic traceability terminals in the power grid, combined with data cutting and machine learning models, we can accurately identify and locate harmonic sources, solving the problem of insufficient harmonic identification efficiency in the existing technology and achieving more targeted Harmonic governance and secure data transmission.
Patent Information
- Application Number
- CN202410869032.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-01
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2044-07-01
AI Technical Summary
Existing technologies lack accuracy and efficiency when identifying and locating harmonic sources in the power grid, resulting in a lack of targeted harmonic control measures.
Using a harmonic traceability terminal including a first detection module, a second detection module, a data transmission module and an analysis module, by acquiring and cutting harmonic data, marking the direction of harmonics, and using a machine learning model to determine the direction of harmonic inflow and outflow, Ensure data transmission is secure.
It improves the ability to accurately identify and locate harmonic sources, enhances the pertinence of harmonic control measures, and ensures the security of power quality data through secure data transmission.
Smart Images

Figure CN118409133B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of power quality of power grids, and in particular relates to a harmonic tracing terminal for power quality of distribution networks. Background Art
[0002] With the massive access of power electronic equipment, the harmonic problem in the power grid has become increasingly prominent. Harmonics can have a serious impact on the safety and stability of the power grid, which is manifested in equipment overheating, increased power loss, voltage fluctuations, and reduced power quality. Existing technologies mostly use a single current value and phase angle detection to identify and locate harmonic sources. Although this method can provide harmonic information to a certain extent, its accuracy and efficiency are significantly insufficient. The limitation of a single data source makes it difficult for the detection results to reflect the actual harmonic distribution and source conditions, resulting in a lack of pertinence in the formulation and implementation of harmonic control measures. Summary of the invention
[0003] In response to the above technical problems, the present invention provides a harmonic tracing terminal for the power quality of a distribution network, comprising a first detection module, a second detection module, a data transmission module, and an analysis module. The first detection module is used to obtain first harmonic data, and the second detection module is used to obtain second harmonic data; the data transmission module is used to transmit data from the first detection module to the second detection module; the analysis module is used to analyze harmonic data and mark the harmonic direction.
[0004] The first harmonic data includes current value, phase angle, voltage and vibration. Each first detection module obtains a set of first harmonic data, and each set of harmonic data is marked by a timestamp of the start of acquisition and a timestamp of the end of acquisition.
[0005] The second harmonic data is obtained from the first harmonic data, and the first harmonic data is cut according to the set sliding window to obtain the second harmonic data; the sliding window is a specific step size on the timestamp, and the step size is adjusted by increasing time.
[0006] The data transmission module includes a data sending unit, a marking unit, a storage unit, and a security unit. The data sending unit is used to send harmonic data, and the marking unit is used to mark the data type, the data type includes the first harmonic data and the second harmonic data; the storage unit is used to store the detected harmonic data; and the security unit is used to establish a secure channel for data transmission.
[0007] Furthermore, the first detection module acquires the first harmonic data, and the first harmonic data is sent to the second detection module through the data transmission module, and the marking unit changes the data type in the storage unit to the first harmonic data; the second harmonic detection module cuts the first harmonic data according to preset parameters to obtain the second harmonic data, the marking unit modifies the data type to the second harmonic data, and the data sending unit sends the data with the data type of the second harmonic data to the analysis module.
[0008] Further, the method of obtaining the second harmonic data from the first harmonic data includes:
[0009] Step S101 : acquiring a group of first harmonic data, aligning the group of harmonic data according to the start time and end time of the acquired timestamps, and acquiring the intersection of the shortest time of the group of first harmonic data.
[0010] Step S102, parse the preset parameters, obtain the step size of the sliding window, slide the sliding window on the first harmonic data, and put the data in each window into a data tuple as independent data.
[0011] Step S103, after completing the sliding window cutting of the group of first harmonic data, each independent data is spliced in sequence, and the data at the splicing interface is put into the data tuple in sequence to finally form the second harmonic data.
[0012] Furthermore, the analysis module compares the data in the data tuple of the second harmonic data and retrieves historical data, verifies the matching degree between the current harmonic data and the historical data, determines the harmonic inflow and outflow direction, and marks the harmonic characteristics of the detected second harmonic data.
[0013] Furthermore, the step of establishing a secure channel by the security unit includes:
[0014] Step S201, the sending end confirms the data type of the current transmission data, allocates a connection port number according to the data type, and sends the data with the current port number and an 8-bit random number to the receiving end.
[0015] Step S202, the data receiving end confirms the port number information, encrypts the random number, and returns the random number ciphertext and the port number information of the receiving end to the receiving end.
[0016] Step S203, the data sending end decrypts the random number, confirms that the data is the random number sent in the previous step, confirms that the current secure channel is successfully established, and returns a status code to the receiving end.
[0017] Furthermore, the step of determining the harmonic direction through the analysis module includes obtaining a data tuple of second harmonic data, inputting the data of the data tuple into a machine learning model that processes time series data for learning in sequence, determining the target analysis domain according to the timestamp of the data tuple, and determining whether there is harmonic data in the current data tuple based on the data characteristics in the data tuple and the target analysis domain; when the second harmonic data of multiple consecutive times have harmonic characteristics, the harmonic inflow and outflow direction is determined by comparing the characteristics of the harmonic characteristics.
[0018] Compared with the prior art, the present invention has the following advantages: (1) the present invention collects power quality data of the distribution network through the first detection module and the second detection module, obtains the harmonic direction of the processed harmonic data through the analysis module, and confirms the source of the harmonic; (2) the present invention safely transmits the harmonic data through the data transmission module, thereby ensuring the security of the collection of power quality data. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 This is an example diagram of the overall structure of the present invention.
[0020] Figure 2 An exemplary step of a method for obtaining second harmonic data from first harmonic data.
[0021] Figure 3 An exemplary step for establishing a secure channel for a security unit. DETAILED DESCRIPTION
[0022] Example: Figure 1 As shown, a harmonic tracing terminal for power quality of a distribution network comprises a first detection module, a second detection module, a data transmission module and an analysis module. The first detection module is used to obtain first harmonic data, and the second detection module is used to obtain second harmonic data; the data transmission module is used to transmit data from the first detection module to the second detection module; the analysis module is used to analyze harmonic data and mark the harmonic direction.
[0023] The first harmonic data includes current value, phase angle, voltage and vibration. Each first detection module obtains a set of first harmonic data. Each set of harmonic data is marked by a timestamp of the start of acquisition and a timestamp of the end of acquisition.
[0024] The second harmonic data is derived from the first harmonic data. The first harmonic data is cut according to the set sliding window to obtain the second harmonic data; the sliding window is a specific step size on the timestamp, and the step size is adjusted by increasing time.
[0025] In this embodiment, the data transmission module includes a data sending unit, a marking unit, a storage unit, and a security unit. The data sending unit is used to send harmonic data, and the marking unit is used to mark the data type, and the data type includes first harmonic data and second harmonic data; the storage unit is used to store the detected harmonic data; the security unit is used to establish a secure channel for data transmission and perform encrypted data transmission on the secure channel.
[0026] The first detection module acquires the first harmonic data, and the first harmonic data is sent to the second detection module through the data transmission module, and the marking unit changes the data type in the storage unit to the first harmonic data; the second harmonic detection module cuts the first harmonic data according to preset parameters to obtain the second harmonic data, the marking unit modifies the data type to the second harmonic data, and the data sending unit sends the data with the data type of the second harmonic data to the analysis module.
[0027] In this embodiment, Figure 2 As shown, the method for obtaining the second harmonic data from the first harmonic data includes step S101, obtaining a group of first harmonic data, aligning the group of harmonic data according to the start time and end time of the obtained timestamp, and obtaining the intersection of the shortest time of the group of first harmonic data; that is, when in the group of data, for example, the time information of the current value data is [2,10], the numbers in the array represent the time information for starting recording, and the time information of the voltage data is [3,8], and the time information of other harmonic data in the group is [0,10], then the final harmonic data takes the data of the time information [3,8].
[0028] Step S102, parse the preset parameters, obtain the step size of the sliding window, slide the sliding window on the first harmonic data, and put the data in each window into a data tuple as independent data.
[0029] Step S103, after completing the sliding window cutting of the group of first harmonic data, each independent data is spliced in sequence, and the data at the splicing interface is put into the data tuple in sequence to finally form the second harmonic data.
[0030] The analysis module compares the data in the data tuple of the second harmonic data and retrieves the historical data, verifies the matching degree between the current harmonic data and the historical data, determines the harmonic inflow and outflow direction, and marks the harmonic characteristics of the detected second harmonic data.
[0031] In this embodiment, Figure 3 As shown, an exemplary step for establishing a secure channel for a security unit includes: step S201, the sending end confirms the data type of the currently transmitted data, allocates a connection port number according to the data type, and sends data with the current port number and an 8-bit random number to the receiving end.
[0032] Step S202, the data receiving end confirms the port number information, encrypts the random number, and returns the random number ciphertext and the port number information of the receiving end to the receiving end.
[0033] Step S203, the data sending end decrypts the random number, confirms that the data is the random number sent in the previous step, confirms that the current secure channel is successfully established, and returns a status code to the receiving end.
[0034] In this embodiment, the step of determining the harmonic direction through the analysis module includes obtaining a data tuple of second harmonic data, inputting the data of the data tuple into a machine learning model that processes time series data for learning in sequence, determining the target analysis domain according to the timestamp of the data tuple, and determining whether there is harmonic data in the current data tuple based on the data characteristics in the data tuple and the target analysis domain; when the second harmonic data of multiple consecutive times have harmonic characteristics, the harmonic inflow and outflow direction is determined by comparing the characteristics of the harmonic characteristics.
[0035] In the description of this specification, the description with reference to the terms "one embodiment", "example", "specific example", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example.
[0036] The above contents are merely examples and explanations of the present invention. Those skilled in the art may make various modifications or additions to the specific embodiments described or replace them in a similar manner. As long as they do not deviate from the invention or exceed the scope defined by the claims, they shall all fall within the protection scope of the present invention.
Claims
1. A harmonic source tracing terminal for power quality of distribution network, characterized by: A first detection module, a second detection module, a data transmission module, and an analysis module, wherein the first detection module is used to obtain first harmonic data, and the second detection module is used to obtain second harmonic data; the data transmission module is used to transmit data from the first detection module to the second detection module; and the analysis module is used to analyze harmonic data and mark harmonic directions; The first harmonic data includes current value, phase angle, voltage and vibration. Each first detection module acquires a set of first harmonic data, and each set of harmonic data is marked by a timestamp of the start of acquisition and a timestamp of the end of acquisition; The second harmonic data is obtained from the first harmonic data, and the first harmonic data is cut according to the set sliding window to obtain the second harmonic data; the sliding window is a specific step size on the timestamp, and the step size is adjusted by increasing the time; The method for obtaining second harmonic data from first harmonic data includes: step S101, obtaining a group of first harmonic data, aligning the group of harmonic data according to the start time and end time of the obtained timestamp, and obtaining the intersection of the shortest time of the group of first harmonic data; Step S102, parsing preset parameters, obtaining the step length of the sliding window, sliding the sliding window on the first harmonic data, and putting the data in each window as independent data into a data tuple; Step S103, after the sliding window cutting is completed for the group of first harmonic data, each independent data is spliced in turn, and the data at the splicing interface is put into the data tuple in turn, and finally the second harmonic data is formed; The step of determining the harmonic direction through the analysis module includes obtaining a data tuple of second harmonic data, inputting the data of the data tuple into a machine learning model for processing time series data for learning in sequence, determining a target analysis domain according to the timestamp of the data tuple, and determining whether there is harmonic data in the current data tuple according to the data characteristics in the data tuple and the target analysis domain; when the second harmonic data of multiple consecutive times have harmonic characteristics, determining the harmonic inflow and outflow direction by comparing the characteristics of the harmonic characteristics; The data transmission module includes a data sending unit, a marking unit, a storage unit, and a security unit. The data sending unit is used to send harmonic data, and the marking unit is used to mark the data type, and the data type includes the first harmonic data and the second harmonic data; the storage unit is used to store the detected harmonic data; The security unit is used to establish a secure channel for data transmission.
2. The harmonic source tracing terminal for power quality of a distribution network according to claim 1, characterized in that: The first detection module acquires the first harmonic data, and the first harmonic data is sent to the second detection module through the data transmission module, and the marking unit changes the data type in the storage unit to the first harmonic data; the second harmonic detection module cuts the first harmonic data according to preset parameters to obtain the second harmonic data, the marking unit modifies the data type to the second harmonic data, and the data sending unit sends the data with the data type of the second harmonic data to the analysis module.
3. The harmonic source tracing terminal for power quality of a distribution network according to claim 1, characterized in that: The analysis module compares the data in the data tuple of the second harmonic data and retrieves the historical data, verifies the matching degree between the current harmonic data and the historical data, determines the harmonic inflow and outflow direction, and marks the harmonic characteristics of the detected second harmonic data.
4. The harmonic source tracing terminal for power quality of a distribution network according to claim 1, characterized in that: The steps of establishing a safety channel by the safety unit include: Step S201, the sending end confirms the data type of the current transmission data, allocates a connection port number according to the data type, and sends the data with the current port number and an 8-bit random number to the receiving end; Step S202, the data receiving end confirms the port number information, encrypts the random number, and returns the random number ciphertext and the port number information of the receiving end to the receiving end; Step S203, the data sending end decrypts the random number, confirms that the data is the random number sent in the previous step, confirms that the current secure channel is successfully established, and returns a status code to the receiving end.
